:root {
  --ui-ink: #08090a;
  --ui-carbon: #101214;
  --ui-panel: #151719;
  --ui-track: #272a2e;
  --ui-text: #f4f3ef;
  --ui-muted: #a7a9ae;
  --ui-gold: #c9a24b;
  --ui-red: #c53931;
  --ui-steel: #c59a3c;
  --ui-line: rgba(255, 255, 255, 0.12);
  --ui-accent: var(--ui-gold);
  --ui-accent-rgb: 201, 162, 75;
}

html { scroll-behavior: smooth; }

body.ui26 {
  background: var(--ui-ink) !important;
  color: var(--ui-text);
  font-family: "Anuphan", sans-serif;
  -webkit-font-smoothing: antialiased;
}

body.ui26-brand-scp {
  --ui-accent: var(--ui-red);
  --ui-accent-rgb: 197, 57, 49;
}

body.ui26-brand-ironseal {
  --ui-accent: var(--ui-steel);
  --ui-accent-rgb: 197, 154, 60;
}

body.ui26 *, body.ui26 *::before, body.ui26 *::after { box-sizing: border-box; }

body.ui26 a, body.ui26 button, body.ui26 summary { -webkit-tap-highlight-color: transparent; }

body.ui26 :focus-visible {
  outline: 2px solid var(--ui-accent) !important;
  outline-offset: 4px;
}

body.ui26 .ui26-nav {
  height: 74px !important;
  padding: 0 clamp(22px, 5vw, 72px) !important;
  background: rgba(8, 9, 10, 0.94) !important;
  border-bottom: 1px solid var(--ui-line) !important;
  backdrop-filter: blur(18px) saturate(120%) !important;
}

body.ui26 .ui26-nav::after {
  content: "";
  position: absolute;
  left: clamp(22px, 5vw, 72px);
  right: clamp(22px, 5vw, 72px);
  bottom: -1px;
  height: 1px;
  background: linear-gradient(90deg, var(--ui-accent), transparent 26%);
  pointer-events: none;
}

body.ui26-product .ui26-nav > div:first-child > a:first-child {
  min-width: 104px;
}

body.ui26-product .ui26-nav .navbrands img {
  filter: saturate(.88) contrast(1.06);
  transition: opacity .2s ease, transform .2s ease;
}

body.ui26-product .ui26-nav .navbrands a:hover img { transform: translateY(-2px); }

body.ui26-product .ui26-hero {
  min-height: max(760px, 100svh) !important;
  display: grid !important;
  grid-template-columns: minmax(0, 1.42fr) minmax(260px, .58fr) !important;
  align-items: end !important;
  gap: clamp(34px, 5vw, 88px) !important;
  padding: 128px clamp(24px, 5vw, 72px) 72px !important;
  text-align: left !important;
  isolation: isolate;
}

body.ui26-product .ui26-hero::after {
  content: "";
  position: absolute;
  inset: 74px 0 auto;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(var(--ui-accent-rgb), .52), transparent);
  z-index: 3;
  pointer-events: none;
}

body.ui26-product .ui26-hero-media img {
  object-position: center 48% !important;
  filter: saturate(.72) contrast(1.08) brightness(.78);
  transform: scale(1.02);
}

body.ui26-product .ui26-hero-copy {
  position: relative !important;
  z-index: 4 !important;
  max-width: 820px !important;
  margin: 0 !important;
  padding: clamp(24px, 3vw, 42px) clamp(24px, 3.2vw, 48px) !important;
  text-align: left !important;
  border: 1px solid rgba(255,255,255,.13);
  border-left: 3px solid var(--ui-accent);
  background: linear-gradient(110deg, rgba(8,9,10,.94), rgba(8,9,10,.77));
  box-shadow: 0 28px 90px rgba(0,0,0,.36);
  animation: none !important;
}

body.ui26-product .ui26-hero-copy::before {
  content: attr(data-index);
  position: absolute;
  top: 14px;
  right: 18px;
  color: rgba(var(--ui-accent-rgb), .3);
  font: 700 12px/1 "Saira", sans-serif;
  letter-spacing: .18em;
}

body.ui26-product .ui26-hero-copy > img {
  width: auto !important;
  height: clamp(78px, 9vw, 118px) !important;
  max-width: min(440px, 76%) !important;
  object-fit: contain;
  object-position: left center;
  margin: 0 0 22px !important;
}

body.ui26-product .ui26-hero-copy h1 {
  max-width: 720px;
  margin-left: 0 !important;
  margin-right: 0 !important;
  font-size: clamp(38px, 5.5vw, 72px) !important;
  line-height: 1.03 !important;
  letter-spacing: -.025em !important;
  text-align: left !important;
}

body.ui26-product .ui26-hero-copy p {
  margin-left: 0 !important;
  margin-right: 0 !important;
  max-width: 650px !important;
  text-align: left !important;
}

body.ui26-product .ui26-hero-copy > div:last-child,
body.ui26-product .ui26-hero-copy > div:has(> a) {
  justify-content: flex-start !important;
}

/* The technical rail now carries these facts; keeping the older badge and
   counter rows in the hero would duplicate information and push the CTA down. */
body.ui26-brand-glanzend .ui26-hero-copy > div:nth-child(7),
body.ui26-brand-glanzend .ui26-hero-copy > div:nth-child(8) {
  display: none !important;
}

.ui26-spec-rail {
  position: relative;
  z-index: 4;
  align-self: end;
  width: 100%;
  max-width: 360px;
  justify-self: end;
  border-top: 1px solid var(--ui-accent);
  background: rgba(8,9,10,.86);
}

.ui26-spec-head {
  padding: 18px 20px 14px;
  border-bottom: 1px solid var(--ui-line);
  color: var(--ui-accent);
  font: 600 11px/1.2 "Saira", sans-serif;
  letter-spacing: .22em;
  text-transform: uppercase;
}

.ui26-spec-row {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 14px;
  align-items: center;
  min-height: 68px;
  padding: 13px 20px;
  border-bottom: 1px solid rgba(255,255,255,.09);
}

.ui26-spec-row:last-child { border-bottom: 0; }

.ui26-spec-no {
  color: rgba(var(--ui-accent-rgb), .72);
  font: 700 12px/1 "Saira", sans-serif;
  letter-spacing: .1em;
}

.ui26-spec-row strong {
  display: block;
  color: var(--ui-text);
  font: 600 15px/1.3 "Anuphan", sans-serif;
}

.ui26-spec-row span:last-child {
  display: block;
  margin-top: 3px;
  color: var(--ui-muted);
  font: 400 11px/1.35 "Saira", sans-serif;
  letter-spacing: .08em;
}

body.ui26-product section {
  position: relative;
}

body.ui26-product section[id] { scroll-margin-top: 88px; }

body.ui26-product section h2 {
  letter-spacing: -.02em !important;
}

/* Shared brand footer for the SCP and Iron Seal product pages.  The previous
   temporary logo strip let the three wide source images dominate the footer;
   this keeps the current brand primary and SCP Group visibly responsible. */
body.ui26-product .ui26-brand-footer {
  padding: clamp(54px, 6vw, 76px) clamp(24px, 5vw, 72px) 36px;
  border-top: 1px solid rgba(255,255,255,.1);
  background: #0d0d0f;
}

.ui26-brand-footer-grid {
  width: min(1400px, 100%);
  margin: 0 auto 44px;
  display: grid;
  grid-template-columns: minmax(240px, 1.35fr) repeat(3, minmax(150px, 1fr));
  gap: 36px clamp(30px, 5vw, 72px);
  align-items: start;
}

.ui26-brand-footer-intro { min-width: 0; }

.ui26-brand-footer-intro > a:first-child {
  display: inline-flex;
  max-width: 100%;
}

.ui26-brand-footer-logo {
  display: block;
  width: auto !important;
  height: 42px !important;
  max-width: min(210px, 100%) !important;
  object-fit: contain;
  object-position: left center;
}

.ui26-brand-footer-owner {
  margin: 16px 0;
  color: #7c7e85;
  font: 600 10px/1.5 "Saira", sans-serif;
  letter-spacing: .22em;
}

.ui26-brand-footer-owner a {
  color: var(--ui-accent);
  white-space: nowrap;
}

.ui26-brand-footer-intro p {
  max-width: 310px;
  margin: 0;
  color: #8b8d94;
  font: 400 14px/1.75 "Anuphan", sans-serif;
}

.ui26-brand-footer-column {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 0;
}

body.ui26-product .ui26-brand-footer-column h2 {
  margin: 0 0 6px;
  color: #fff;
  font: 600 13px/1.4 "Anuphan", sans-serif;
  letter-spacing: .08em !important;
}

.ui26-brand-footer-column a {
  width: fit-content;
  max-width: 100%;
  color: #9aa0a8;
  font: 400 14px/1.5 "Anuphan", sans-serif;
  text-decoration: none;
  transition: color .2s ease;
}

.ui26-brand-footer-column a:hover { color: var(--ui-accent); }

.ui26-brand-footer-bottom {
  width: min(1400px, 100%);
  margin: 0 auto;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,.07);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px 24px;
  color: #6b6d74;
  font: 400 12px/1.5 "Saira", sans-serif;
  letter-spacing: .05em;
}

@media (max-width: 980px) {
  .ui26-brand-footer-grid {
    grid-template-columns: minmax(240px, 1.4fr) repeat(2, minmax(150px, 1fr));
  }

  .ui26-brand-footer-column:last-child { grid-column: 2 / -1; }
}

@media (max-width: 700px) {
  body.ui26-product .ui26-brand-footer { padding: 48px 24px 88px; }

  .ui26-brand-footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 34px 24px;
  }

  .ui26-brand-footer-intro { grid-column: 1 / -1; }
  .ui26-brand-footer-column:last-child { grid-column: 1 / -1; }
  .ui26-brand-footer-bottom { display: grid; }
}

@media (max-width: 430px) {
  .ui26-brand-footer-grid { grid-template-columns: 1fr; }
  .ui26-brand-footer-intro,
  .ui26-brand-footer-column:last-child { grid-column: auto; }
}

body.ui26-product .rgrid > *,
body.ui26-product details,
body.ui26-product section[id="contact"] > div {
  border-radius: 2px !important;
}

body.ui26-product .rgrid > * {
  border-color: rgba(255,255,255,.11) !important;
  background-color: var(--ui-carbon) !important;
}

body.ui26-product .rgrid > *:hover {
  border-color: rgba(var(--ui-accent-rgb), .46) !important;
}

body.ui26-brand-glanzend .ui26-product-showcase {
  width: min(1400px, 100%);
  padding-top: clamp(78px, 8vw, 112px) !important;
  padding-bottom: clamp(78px, 8vw, 112px) !important;
}

body.ui26-brand-glanzend .ui26-product-showcase-head {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) minmax(300px, .58fr);
  gap: 16px clamp(36px, 7vw, 110px);
  align-items: end;
  max-width: none !important;
  margin: 0 0 42px !important;
  padding-bottom: 32px;
  text-align: left !important;
  border-bottom: 1px solid rgba(255,255,255,.12);
}

body.ui26-brand-glanzend .ui26-product-showcase-head > div:first-child {
  grid-column: 1 / -1;
  margin-bottom: 0 !important;
}

body.ui26-brand-glanzend .ui26-product-showcase-head h2 {
  grid-column: 1;
  margin: 0 !important;
  max-width: 760px;
  font-size: clamp(38px, 4.8vw, 66px) !important;
  line-height: 1.02 !important;
  text-align: left !important;
  text-wrap: balance;
}

body.ui26-brand-glanzend .ui26-product-showcase-head > p {
  grid-column: 2;
  margin: 0 !important;
  padding-left: 22px;
  text-align: left;
  border-left: 1px solid rgba(var(--ui-accent-rgb), .68);
}

body.ui26-brand-glanzend .ui26-product-featured {
  display: grid !important;
  grid-template-columns: minmax(360px, .9fr) minmax(0, 1.1fr) !important;
  gap: 0 !important;
  margin-bottom: 18px !important;
  overflow: hidden;
  border: 1px solid rgba(var(--ui-accent-rgb), .46) !important;
  border-radius: 2px !important;
  background: #0c0d0e !important;
  box-shadow: 0 34px 100px rgba(0,0,0,.34) !important;
}

body.ui26-brand-glanzend .ui26-product-featured > div:first-child {
  position: relative;
  min-height: 470px !important;
  isolation: isolate;
  background:
    radial-gradient(circle at 50% 44%, rgba(247, 244, 229, .24) 0, rgba(247, 244, 229, .1) 28%, transparent 62%),
    linear-gradient(145deg, rgba(var(--ui-accent-rgb), .1), transparent 46%),
    #090a0a !important;
  border-right: 1px solid rgba(255,255,255,.1);
}

body.ui26-brand-glanzend .ui26-product-featured > div:first-child::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: min(330px, 70%);
  aspect-ratio: 1;
  border: 1px solid rgba(var(--ui-accent-rgb), .26);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  box-shadow:
    0 0 0 34px rgba(var(--ui-accent-rgb), .025),
    0 0 0 82px rgba(var(--ui-accent-rgb), .018);
  z-index: -1;
}

body.ui26-brand-glanzend .ui26-product-featured > div:first-child::after {
  content: "MOLECULAR COATING / GLZ-RB";
  position: absolute;
  left: 26px;
  bottom: 22px;
  color: rgba(255,255,255,.38);
  font: 600 9px/1 "Saira", sans-serif;
  letter-spacing: .2em;
}

body.ui26-brand-glanzend .ui26-product-featured > div:first-child > img {
  padding: 34px !important;
  filter: brightness(1.05) contrast(1.04) drop-shadow(0 26px 26px rgba(0,0,0,.58));
}

body.ui26-brand-glanzend .ui26-product-featured > div:last-child {
  padding: clamp(34px, 4vw, 58px) !important;
  background:
    linear-gradient(110deg, rgba(var(--ui-accent-rgb), .055), transparent 48%),
    #101112;
}

body.ui26-brand-glanzend .ui26-product-card-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 18px !important;
}

body.ui26-brand-glanzend .ui26-product-card {
  --product-tone: #c9a24b;
  min-width: 0;
  overflow: hidden;
  border-radius: 2px !important;
  background: #101214 !important;
  transition: transform .28s ease, border-color .28s ease;
}

body.ui26-brand-glanzend .ui26-product-card.is-crystal { --product-tone: #8faecf; }
body.ui26-brand-glanzend .ui26-product-card.is-refresh { --product-tone: #c58a67; }
body.ui26-brand-glanzend .ui26-product-card.is-graphene { --product-tone: #c9a24b; }
body.ui26-brand-glanzend .ui26-product-card.is-interior { --product-tone: #83a38d; }

body.ui26-brand-glanzend .ui26-product-card:hover {
  transform: translateY(-5px);
  border-color: var(--product-tone) !important;
}

body.ui26-brand-glanzend .ui26-product-card > div:first-child {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 10 !important;
  background:
    radial-gradient(circle at 50% 45%, rgba(247, 244, 229, .18) 0, rgba(247, 244, 229, .07) 30%, transparent 64%),
    linear-gradient(145deg, color-mix(in srgb, var(--product-tone) 10%, transparent), transparent 45%),
    #090a0b !important;
  border-bottom: 1px solid rgba(255,255,255,.1);
}

body.ui26-brand-glanzend .ui26-product-card > div:first-child::after {
  content: "";
  position: absolute;
  left: 22px;
  right: 22px;
  bottom: 14px;
  height: 1px;
  background: linear-gradient(90deg, var(--product-tone), transparent);
  opacity: .52;
}

body.ui26-brand-glanzend .ui26-product-card > div:first-child > img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 10px !important;
  filter: brightness(1.06) contrast(1.04) drop-shadow(0 20px 24px rgba(0,0,0,.58));
}

body.ui26-brand-glanzend .ui26-product-card.is-refresh > div:first-child > img {
  object-fit: contain;
  object-position: 50% 50%;
  padding: 10px !important;
  filter: brightness(1.06) contrast(1.04) drop-shadow(0 20px 24px rgba(0,0,0,.58));
}

body.ui26-brand-glanzend .ui26-product-card > div:first-child > span {
  color: var(--product-tone) !important;
  background: rgba(8,9,10,.78) !important;
  border: 1px solid color-mix(in srgb, var(--product-tone) 55%, transparent) !important;
}

body.ui26-brand-glanzend .ui26-product-card > div:last-child {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  padding: 28px !important;
}

body.ui26-brand-glanzend .ui26-product-card > div:last-child > div:first-child {
  color: var(--product-tone) !important;
}

body.ui26-brand-glanzend .ui26-product-card-copy > div:first-child {
  margin-bottom: 6px;
  color: var(--product-tone);
  font: 600 12px/1.3 "Saira", sans-serif;
  letter-spacing: .16em;
}

body.ui26-brand-glanzend .ui26-product-card-copy h3 {
  margin: 0 0 4px;
  color: #fff;
  font: 700 24px/1.1 "Anuphan", sans-serif;
}

body.ui26-brand-glanzend .ui26-product-card-copy > h3 + div {
  margin-bottom: 14px;
  color: var(--ui-gold);
  font: 500 15px/1.45 "Anuphan", sans-serif;
}

body.ui26-brand-glanzend .ui26-product-card-copy > p {
  flex: 1 1 auto;
  margin: 0 0 18px;
  color: #a4a6ac;
  font: 400 14.5px/1.65 "Anuphan", sans-serif;
}

body.ui26-brand-glanzend .ui26-product-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
}

body.ui26-brand-glanzend .ui26-product-tags span {
  padding: 5px 11px;
  color: #c8cace;
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.08);
  font: 400 12px/1.35 "Saira", sans-serif;
}

body.ui26-brand-glanzend .ui26-product-card-copy > a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  margin-top: 4px;
  color: var(--product-tone);
  border: 1px solid color-mix(in srgb, var(--product-tone) 72%, transparent);
  font: 600 14px/1.3 "Anuphan", sans-serif;
}

body.ui26-brand-glanzend .ui26-product-card > div:last-child > a {
  min-height: 48px;
  color: var(--product-tone) !important;
  border-color: color-mix(in srgb, var(--product-tone) 72%, transparent) !important;
  background: transparent !important;
}

body.ui26-brand-glanzend .ui26-product-card > div:last-child > a:hover {
  color: #090a0b !important;
  background: var(--product-tone) !important;
}

@media (max-width: 900px) {
  body.ui26-brand-glanzend .ui26-product-showcase-head {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  body.ui26-brand-glanzend .ui26-product-showcase-head > div:first-child,
  body.ui26-brand-glanzend .ui26-product-showcase-head h2,
  body.ui26-brand-glanzend .ui26-product-showcase-head > p { grid-column: 1; }
  body.ui26-brand-glanzend .ui26-product-showcase-head > p { max-width: 660px; }
  body.ui26-brand-glanzend .ui26-product-featured {
    grid-template-columns: 1fr !important;
  }
  body.ui26-brand-glanzend .ui26-product-featured > div:first-child {
    min-height: 390px !important;
    border-right: 0;
    border-bottom: 1px solid rgba(255,255,255,.1);
  }
  body.ui26-brand-glanzend .ui26-product-card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 700px) {
  body.ui26-brand-glanzend .ui26-product-card-grid {
    grid-template-columns: 1fr !important;
  }
  body.ui26-brand-glanzend .ui26-product-card > div:first-child {
    aspect-ratio: 4 / 3 !important;
  }
}

@media (max-width: 560px) {
  body.ui26-brand-glanzend .ui26-product-showcase-head h2 {
    font-size: clamp(36px, 11vw, 48px) !important;
  }
  body.ui26-brand-glanzend .ui26-product-featured > div:first-child {
    min-height: 330px !important;
  }
  body.ui26-brand-glanzend .ui26-product-featured > div:first-child > img {
    padding: 38px !important;
  }
  body.ui26-brand-glanzend .ui26-product-featured > div:last-child,
  body.ui26-brand-glanzend .ui26-product-card > div:last-child {
    padding: 24px !important;
  }
}

.ui26-table-wrap {
  max-width: 100%;
  overflow-x: auto;
  border: 1px solid rgba(255,255,255,.11);
  scrollbar-color: var(--ui-accent) var(--ui-carbon);
}

.ui26-table-wrap table { min-width: 760px; }

.ui26-material-visual {
  position: relative;
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  min-height: 230px;
  overflow: hidden;
  background: #0b0c0d;
  border: 0;
}

.ui26-material-visual::before,
.ui26-material-visual::after {
  content: "";
  position: absolute;
  width: 70%;
  aspect-ratio: 2.5 / 1;
  border: 1px solid rgba(var(--ui-accent-rgb), .6);
  transform: skewX(-26deg) rotate(-8deg);
}

.ui26-material-visual::before {
  background: linear-gradient(135deg, rgba(255,255,255,.2), rgba(var(--ui-accent-rgb),.04));
  box-shadow: 0 22px 48px rgba(0,0,0,.55);
}

.ui26-material-visual::after {
  translate: 0 22px;
  opacity: .34;
}

.ui26-real-work {
  position: relative;
  z-index: 2;
  padding: clamp(70px, 8vw, 112px) clamp(22px, 5vw, 72px);
  overflow: hidden;
  color: var(--ui-text);
  background:
    linear-gradient(90deg, rgba(var(--ui-accent-rgb), .08), transparent 1px) 0 0 / 25% 100%,
    #0b0c0d;
  border-top: 1px solid rgba(255,255,255,.1);
  border-bottom: 1px solid rgba(255,255,255,.1);
}

.ui26-work-shell {
  width: min(1400px, 100%);
  margin: 0 auto;
}

.ui26-work-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(290px, .62fr);
  gap: clamp(34px, 7vw, 108px);
  align-items: end;
  margin-bottom: clamp(34px, 4vw, 56px);
}

.ui26-work-eyebrow {
  margin: 0 0 16px;
  color: var(--ui-accent);
  font: 700 11px/1.3 "Saira", sans-serif;
  letter-spacing: .24em;
  text-transform: uppercase;
}

.ui26-work-head h2 {
  max-width: 820px;
  margin: 0;
  color: #fff;
  font: 700 clamp(38px, 5.4vw, 76px)/.98 "Saira Condensed", "Anuphan", sans-serif;
  letter-spacing: -.025em;
  word-break: keep-all;
  overflow-wrap: break-word;
  text-wrap: balance;
}

.ui26-work-intro {
  padding-left: 24px;
  border-left: 1px solid rgba(var(--ui-accent-rgb), .68);
}

.ui26-work-intro p {
  max-width: 540px;
  margin: 0;
  color: var(--ui-muted);
  font: 400 15px/1.8 "Anuphan", sans-serif;
}

.ui26-work-cta {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 46px;
  margin-top: 22px;
  padding: 0 18px;
  color: var(--ui-text) !important;
  border: 1px solid rgba(255,255,255,.2);
  font: 600 13px/1 "Anuphan", sans-serif;
}

.ui26-work-cta:hover { border-color: var(--ui-accent); }

.ui26-work-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  grid-template-rows: repeat(2, minmax(210px, 1fr));
  gap: 12px;
  min-height: 540px;
}

.ui26-work-card {
  position: relative;
  min-width: 0;
  min-height: 0;
  margin: 0;
  overflow: hidden;
  background: var(--ui-carbon);
  border: 1px solid rgba(255,255,255,.13);
  isolation: isolate;
}

.ui26-work-card-1 { grid-column: 1 / 6; grid-row: 1 / 3; }
.ui26-work-card-2 { grid-column: 6 / 10; grid-row: 1; }
.ui26-work-card-3 { grid-column: 10 / 13; grid-row: 1; }
.ui26-work-card-4 { grid-column: 6 / 9; grid-row: 2; }
.ui26-work-card-5 { grid-column: 9 / 13; grid-row: 2; }

.ui26-work-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, transparent 42%, rgba(5,6,7,.93));
  pointer-events: none;
}

.ui26-work-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(.82) contrast(1.05);
  transform: scale(1.002);
  transition: transform .65s cubic-bezier(.2,.72,.2,1), filter .3s ease;
}

.ui26-work-card:hover img {
  filter: saturate(.98) contrast(1.04);
  transform: scale(1.035);
}

.ui26-work-card figcaption {
  position: absolute;
  left: clamp(16px, 2vw, 26px);
  right: clamp(16px, 2vw, 26px);
  bottom: clamp(15px, 2vw, 24px);
  z-index: 2;
}

.ui26-work-card figcaption span {
  display: block;
  margin-bottom: 7px;
  color: var(--ui-accent);
  font: 700 10px/1 "Saira", sans-serif;
  letter-spacing: .16em;
}

.ui26-work-card figcaption strong {
  display: block;
  color: #fff;
  font: 600 clamp(15px, 1.5vw, 20px)/1.3 "Anuphan", sans-serif;
  word-break: keep-all;
  overflow-wrap: break-word;
}

.ui26-work-source {
  margin: 16px 0 0;
  color: #777a80;
  font: 400 11px/1.6 "Anuphan", sans-serif;
}

.ui26-extra-service {
  padding: 24px 22px;
  background: #111114;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 2px;
}

.ui26-extra-service-line {
  display: block;
  width: 36px;
  height: 2px;
  margin-bottom: 16px;
  background: var(--service-accent, var(--ui-gold));
}

.ui26-extra-service h3 {
  margin: 0 0 9px;
  color: #fff;
  font: 700 18px/1.3 "Anuphan", sans-serif;
}

.ui26-extra-service p {
  margin: 0 0 14px;
  color: #a4a6ac;
  font: 400 14.5px/1.65 "Anuphan", sans-serif;
}

.ui26-extra-service a {
  color: var(--service-accent, var(--ui-gold));
  font: 600 12.5px/1.4 "Anuphan", sans-serif;
}

.ui26-real-work.is-pair .ui26-work-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-template-rows: minmax(360px, 50vw);
  max-height: 650px;
  min-height: 420px;
}

.ui26-real-work.is-pair .ui26-work-card-1,
.ui26-real-work.is-pair .ui26-work-card-2 {
  grid-column: auto;
  grid-row: auto;
}

.ui26-real-work.is-pair .ui26-work-card figcaption strong {
  font-size: clamp(17px, 2vw, 25px);
}

@media (max-width: 980px) {
  .ui26-work-head { grid-template-columns: 1fr; gap: 24px; }
  .ui26-work-intro { max-width: 680px; }
  .ui26-work-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: repeat(3, minmax(240px, 38vw));
    min-height: 0;
  }
  .ui26-work-card-1 { grid-column: 1 / 3; grid-row: 1; }
  .ui26-work-card-2,
  .ui26-work-card-3,
  .ui26-work-card-4,
  .ui26-work-card-5 { grid-column: auto; grid-row: auto; }
}

@media (max-width: 640px) {
  .ui26-real-work { padding: 62px 18px; }
  .ui26-work-head h2 { font-size: clamp(38px, 12vw, 52px); line-height: 1.02; }
  .ui26-work-intro { padding-left: 16px; }
  .ui26-work-grid,
  .ui26-real-work.is-pair .ui26-work-grid {
    grid-template-columns: 1fr;
    grid-template-rows: none;
    max-height: none;
    min-height: 0;
  }
  .ui26-work-card,
  .ui26-work-card-1,
  .ui26-real-work.is-pair .ui26-work-card-1,
  .ui26-real-work.is-pair .ui26-work-card-2 {
    grid-column: 1;
    grid-row: auto;
    aspect-ratio: 4 / 3;
  }
  .ui26-work-card figcaption strong,
  .ui26-real-work.is-pair .ui26-work-card figcaption strong { font-size: 16px; }
}

.ui26-material-visual.is-matte::before {
  background: linear-gradient(135deg, #292a2b, #08090a);
}

.ui26-material-label {
  position: relative;
  z-index: 2;
  color: #fff;
  font: 700 13px/1 "Saira", sans-serif;
  letter-spacing: .2em;
}

body.ui26-locator {
  --ui-accent: var(--ui-gold);
  --ui-accent-rgb: 201, 162, 75;
}

body.ui26-locator nav {
  min-height: 74px !important;
  padding: 0 clamp(22px, 5vw, 72px) !important;
  background: rgba(8,9,10,.96) !important;
  border-bottom: 1px solid var(--ui-line) !important;
}

body.ui26-locator header {
  padding: 116px 5vw 34px !important;
  text-align: left !important;
}

body.ui26-locator header > div {
  max-width: 1180px !important;
  margin: 0 auto !important;
  padding-left: clamp(0px, 4vw, 56px);
  border-left: 3px solid var(--ui-accent);
}

body.ui26-locator header h1 {
  max-width: 780px;
  font-size: clamp(38px, 5.5vw, 68px) !important;
  letter-spacing: -.025em;
}

.ui26-locator-title-main,
.ui26-locator-title-count {
  display: inline-block;
  white-space: nowrap;
}

body.ui26-locator header p {
  max-width: 720px !important;
  margin: 14px 0 0 !important;
}

body.ui26-locator .pgrid {
  gap: clamp(24px, 4vw, 60px) !important;
  padding-top: 34px;
}

body.ui26-locator .map3d,
body.ui26-locator .panel-card,
body.ui26-locator #shopModal > div {
  border-radius: 2px !important;
}

body.ui26-locator #side {
  border-left: 1px solid rgba(var(--ui-accent-rgb), .3);
  background: linear-gradient(180deg, rgba(201,162,75,.04), transparent 36%);
}

body.ui26-partner {
  --ui-accent: var(--pa, var(--ui-gold));
}

body.ui26-partner .ui26-nav {
  position: sticky !important;
  top: 0 !important;
}

body.ui26-partner .ui26-hero {
  min-height: 570px;
  display: grid !important;
  align-items: center !important;
  padding-top: clamp(68px, 7vw, 108px) !important;
  padding-bottom: clamp(56px, 6vw, 88px) !important;
  background:
    linear-gradient(90deg, rgba(8,9,10,.96) 0%, rgba(8,9,10,.82) 48%, rgba(8,9,10,.34) 100%),
    radial-gradient(circle at 86% 40%, rgba(201,162,75,.12), transparent 30%) !important;
}

body.ui26-partner .ui26-hero-copy {
  position: relative !important;
  z-index: 4 !important;
  max-width: 700px !important;
  padding-left: clamp(0px, 2vw, 26px);
  border-left: 3px solid var(--pa, var(--ui-accent));
}

body.ui26-partner .ui26-hero-copy h1 {
  font-size: clamp(34px, 4.8vw, 60px) !important;
  line-height: 1.02 !important;
  letter-spacing: -.025em;
}

body.ui26-partner .ui26-hero-copy h1 > span:nth-child(2) {
  display: block;
  width: fit-content;
  max-width: 100%;
  white-space: nowrap;
  font-size: .78em;
}

body.ui26-partner .pcols { gap: clamp(28px, 6vw, 88px) !important; }

body.ui26-partner .pgrid3 > * {
  border-radius: 2px !important;
  min-height: 210px;
  background: linear-gradient(145deg, #151719, #0e0f10) !important;
}

body.ui26-partner section h2 { letter-spacing: -.015em; }

body.ui26-partner section > div > div[style*="border-radius: 10px"] {
  border-radius: 2px !important;
}

.ui26-ppf-visual {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 240px;
  overflow: hidden;
  background: #090a0b;
}

.ui26-ppf-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 52%, rgba(5,6,7,.82));
  pointer-events: none;
}

.ui26-ppf-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(.82) contrast(1.05);
  transition: transform .6s cubic-bezier(.2,.72,.2,1), filter .25s ease;
}

.ui26-ppf-visual.is-detail img { object-position: 48% 42%; }

.ui26-ppf-visual:hover img {
  transform: scale(1.035);
  filter: saturate(1) contrast(1.04);
}

.ui26-ppf-visual span {
  position: absolute;
  right: 18px;
  bottom: 16px;
  z-index: 2;
  color: #fff;
  font: 700 10px/1 "Saira", sans-serif;
  letter-spacing: .2em;
}

body.ui26-product .ui26-content-section {
  position: relative;
  background-color: #0b0c0d !important;
  border-top: 1px solid rgba(255,255,255,.09) !important;
  border-bottom-color: rgba(255,255,255,.07) !important;
}

body.ui26-product .ui26-content-section.is-alt {
  background-color: #0e0f11 !important;
}

body.ui26-product .ui26-content-section::before {
  content: "";
  position: absolute;
  top: -1px;
  left: clamp(22px, 5vw, 72px);
  width: min(180px, 28vw);
  height: 1px;
  background: linear-gradient(90deg, var(--ui-accent), transparent);
  pointer-events: none;
}

body.ui26-product .ui26-section-heading {
  text-align: left !important;
}

body.ui26-product .ui26-section-heading h2 {
  max-width: 900px;
  margin-left: 0 !important;
  margin-right: 0 !important;
  font-size: clamp(34px, 4.2vw, 58px) !important;
  line-height: 1.04 !important;
  text-align: left !important;
  word-break: keep-all;
  overflow-wrap: break-word;
  text-wrap: balance;
}

body.ui26-product .ui26-section-heading > p {
  max-width: 720px;
  margin-left: 0 !important;
  margin-right: 0 !important;
  text-align: left !important;
}

body.ui26-product .ui26-data-section {
  background-image:
    linear-gradient(rgba(255,255,255,.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.018) 1px, transparent 1px) !important;
  background-size: 72px 72px !important;
}

.ui26-data-hint {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 9px;
  max-width: 1400px;
  margin: 0 0 14px auto;
  color: var(--ui-muted);
  font: 500 11px/1.5 "Anuphan", sans-serif;
}

.ui26-data-hint span:first-child {
  color: var(--ui-accent);
  font: 700 16px/1 "Saira", sans-serif;
}

.ui26-data-scroll {
  position: relative;
  max-width: 100%;
  overflow-x: auto !important;
  overscroll-behavior-inline: contain;
  border: 1px solid rgba(255,255,255,.14) !important;
  border-radius: 2px !important;
  background: #0b0c0d !important;
  box-shadow: 0 28px 80px rgba(0,0,0,.28);
  scrollbar-width: thin;
  scrollbar-color: var(--ui-accent) #17191b;
}

.ui26-data-scroll::-webkit-scrollbar { height: 8px; }
.ui26-data-scroll::-webkit-scrollbar-track { background: #17191b; }
.ui26-data-scroll::-webkit-scrollbar-thumb { background: var(--ui-accent); }

.ui26-data-scroll table {
  border-collapse: separate !important;
  border-spacing: 0 !important;
}

.ui26-data-scroll table tr > *:first-child {
  position: sticky;
  left: 0;
  z-index: 3;
  background: #121416 !important;
  box-shadow: 1px 0 rgba(255,255,255,.1);
}

.ui26-data-scroll table tr:nth-child(even) > *:not(:first-child) {
  background-color: rgba(255,255,255,.018) !important;
}

.ui26-data-scroll > div > div > div:first-child {
  position: sticky !important;
  left: 0;
  z-index: 4;
  background-color: #121416 !important;
  box-shadow: 1px 0 rgba(255,255,255,.1);
}

body.ui26-product .ui26-faq-section details {
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.11) !important;
  border-left: 2px solid rgba(var(--ui-accent-rgb), .58) !important;
  border-radius: 2px !important;
  background: #101214 !important;
}

body.ui26-product .ui26-faq-section details + details { margin-top: 10px; }

body.ui26-product .ui26-faq-section summary {
  position: relative;
  min-height: 64px;
  padding-right: 54px !important;
  color: #fff;
  cursor: pointer;
}

body.ui26-product .ui26-faq-section summary::after {
  content: "+";
  position: absolute;
  right: 22px;
  top: 50%;
  color: var(--ui-accent);
  font: 400 24px/1 "Saira", sans-serif;
  transform: translateY(-50%);
}

body.ui26-product .ui26-faq-section details[open] summary::after { content: "−"; }

body.ui26-product .ui26-process-section .rgrid > *,
body.ui26-product .ui26-evidence-section .rgrid > * {
  position: relative;
  border-top: 2px solid rgba(var(--ui-accent-rgb), .5) !important;
}

body.ui26-product .ui26-contact-section > div {
  border-radius: 2px !important;
  border-color: rgba(var(--ui-accent-rgb), .34) !important;
  background:
    linear-gradient(120deg, rgba(var(--ui-accent-rgb), .08), transparent 46%),
    #101214 !important;
}

body.ui26-product .ui26-dealer-section > div {
  border-left: 2px solid rgba(var(--ui-accent-rgb), .62);
}

body.ui26-partner .ui26-partner-content {
  position: relative;
  background-color: #0b0c0d !important;
  border-top: 1px solid rgba(255,255,255,.09) !important;
  border-bottom-color: rgba(255,255,255,.07) !important;
}

body.ui26-partner .ui26-partner-content.is-alt {
  background-color: #0e0f11 !important;
}

body.ui26-partner .ui26-partner-content::before {
  content: "";
  position: absolute;
  top: -1px;
  left: clamp(22px, 5vw, 72px);
  width: min(150px, 25vw);
  height: 1px;
  background: linear-gradient(90deg, var(--pa, var(--ui-accent)), transparent);
}

body.ui26-partner .ui26-partner-heading {
  text-align: left !important;
}

body.ui26-partner .ui26-partner-heading h2 {
  max-width: 820px;
  margin-left: 0 !important;
  margin-right: 0 !important;
  font-size: clamp(30px, 3.6vw, 48px) !important;
  line-height: 1.06 !important;
  text-align: left !important;
  word-break: keep-all;
  overflow-wrap: break-word;
}

body.ui26-partner .ui26-partner-card {
  position: relative;
  overflow: hidden;
  min-height: 230px !important;
  border: 1px solid rgba(255,255,255,.11) !important;
  border-top: 2px solid rgba(var(--ui-accent-rgb), .5) !important;
  border-radius: 2px !important;
  background: #101214 !important;
  transition: transform .25s ease, border-color .25s ease;
}

body.ui26-partner .ui26-partner-card:hover {
  transform: translateY(-4px);
  border-color: rgba(var(--ui-accent-rgb), .58) !important;
}

body.ui26-partner .ui26-partner-content.is-brands a {
  min-height: 82px;
  border-radius: 2px !important;
  background: #101214 !important;
  border-color: rgba(255,255,255,.11) !important;
}

body.ui26-partner .ui26-partner-content.is-updates > div > div {
  border-radius: 2px !important;
  border-left: 2px solid var(--pa, var(--ui-accent)) !important;
  background: #101214 !important;
}

body.ui26-partner .ui26-partner-content.is-location .pcols > div {
  padding: clamp(24px, 3vw, 36px);
  border-top: 1px solid rgba(var(--ui-accent-rgb), .44);
  background: #101214;
}

body.ui26-partner .ui26-partner-content.is-nearby .pgrid3 > * {
  min-height: 250px;
}

.ui26-mobile-actions {
  display: none;
}

body.ui26-404 main,
body.ui26-404 .wrap {
  max-width: 900px;
  margin: 0 auto;
}

body.ui26-404 {
  background:
    linear-gradient(rgba(255,255,255,.022) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.022) 1px, transparent 1px),
    radial-gradient(circle at 50% 18%, rgba(201,162,75,.13), transparent 34%),
    #08090a !important;
  background-size: 72px 72px, 72px 72px, auto, auto !important;
}

body.ui26-404 > div {
  position: relative;
  width: min(760px, 100%);
  padding: clamp(42px, 7vw, 72px);
  border: 1px solid rgba(255,255,255,.13);
  border-top: 2px solid var(--ui-gold);
  background: rgba(8,9,10,.88);
  box-shadow: 0 34px 110px rgba(0,0,0,.42);
}

body.ui26-404 a.btn { border-radius: 2px !important; }

@media (max-width: 980px) {
  body.ui26-product .ui26-nav { height: 66px !important; }

  body.ui26-product .ui26-hero {
    min-height: auto !important;
    grid-template-columns: 1fr !important;
    align-content: end !important;
    gap: 22px !important;
    padding: 118px 5vw 48px !important;
  }

  body.ui26-product .ui26-hero-copy { max-width: 760px !important; }
  .ui26-spec-rail { max-width: 760px; justify-self: start; }
  .ui26-spec-row { grid-template-columns: 42px 1fr; }

  body.ui26-locator header { padding-top: 104px !important; }
  body.ui26-locator header > div { padding-left: 28px; }
}

@media (max-width: 720px) {
  body.ui26 { padding-bottom: 66px; }

  body.ui26 .ui26-nav {
    height: 64px !important;
    min-height: 64px !important;
    padding: 0 18px !important;
  }

  body.ui26-product .ui26-nav .navbrands { gap: 9px !important; }
  body.ui26-product .ui26-nav .navbrands img { max-width: 68px; max-height: 22px; }
  body.ui26-product .ui26-nav > div:last-child { display: none !important; }
  body.ui26-product .ui26-nav > a:last-child { display: none !important; }

  body.ui26-product .ui26-hero {
    padding: 96px 16px 32px !important;
    gap: 16px !important;
  }

  body.ui26-product .ui26-hero-copy {
    padding: 24px 20px !important;
    border-left-width: 2px;
  }

  body.ui26-product .ui26-hero-copy > img {
    height: 70px !important;
    max-width: 72% !important;
  }

  body.ui26-product .ui26-hero-copy h1 {
    font-size: clamp(34px, 10.8vw, 48px) !important;
    line-height: 1.05 !important;
  }

  body.ui26-product .ui26-hero-copy h1 span[style*="white-space"] {
    white-space: normal !important;
  }

  body.ui26-product .ui26-hero-copy p { font-size: 15px !important; }
  body.ui26-product .ui26-hero-copy a { min-height: 48px; }
  body.ui26-product .ui26-hero-copy > div:has(> a) { gap: 10px !important; }

  .ui26-spec-head { padding: 15px 17px 12px; }
  .ui26-spec-row { min-height: 58px; padding: 10px 17px; }

  body.ui26-product section { padding-left: 18px !important; padding-right: 18px !important; }
  body.ui26-product .rgrid > * { min-width: 0; }

  body.ui26-locator { padding-bottom: 0; }
  body.ui26-locator nav { min-height: 64px !important; padding: 0 18px !important; }
  body.ui26-locator nav > div { gap: 16px !important; }
  body.ui26-locator header { padding: 92px 18px 20px !important; }
  body.ui26-locator header > div { padding-left: 18px; }
  body.ui26-locator header h1 { font-size: clamp(34px, 10vw, 46px) !important; }
  .ui26-locator-title-main,
  .ui26-locator-title-count { display: block; width: fit-content; }
  body.ui26-locator .wrap { padding-left: 18px !important; padding-right: 18px !important; }
  body.ui26-locator .pgrid { padding-top: 18px; }

  body.ui26-partner .ui26-nav > a:first-child span:last-child { display: none; }
  body.ui26-partner .ui26-hero {
    min-height: 0;
    padding: 54px 18px 46px !important;
    background: radial-gradient(circle at 88% 22%, rgba(201,162,75,.13), transparent 32%), #08090a !important;
  }

  body.ui26-partner .ui26-hero-copy {
    padding-left: 16px;
    padding-right: 0;
  }

  body.ui26-partner .ui26-hero-copy h1 { font-size: clamp(33px, 10vw, 46px) !important; }
  body.ui26-partner .ui26-hero-copy h1 > span:nth-child(2) {
    font-size: .68em;
    letter-spacing: -.035em;
  }
  body.ui26-partner .ui26-hero #provMap { opacity: .16 !important; width: 76vw !important; right: -18vw !important; }
  body.ui26-partner section { padding-left: 18px !important; padding-right: 18px !important; }
  body.ui26-partner .pgrid3 > * { min-height: 0; }

  body.ui26-product .ui26-section-heading h2,
  body.ui26-partner .ui26-partner-heading h2 {
    font-size: clamp(32px, 9.6vw, 44px) !important;
    line-height: 1.06 !important;
  }

  .ui26-data-hint {
    justify-content: flex-start;
    margin-bottom: 12px;
  }

  .ui26-data-scroll {
    width: 100%;
    box-shadow: none;
  }

  .ui26-data-scroll table { min-width: 880px; }

  .ui26-ppf-visual { min-height: 260px; }

  body.ui26-partner .ui26-partner-content.is-location .pcols > div {
    padding: 22px 18px;
  }

  .ui26-mobile-actions {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 250;
    display: grid;
    grid-template-columns: 1fr 1fr;
    height: 66px;
    padding-bottom: env(safe-area-inset-bottom);
    background: #090a0b;
    border-top: 1px solid rgba(255,255,255,.16);
  }

  .ui26-mobile-actions a {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: #fff;
    font: 600 14px/1 "Anuphan", sans-serif;
    border-right: 1px solid rgba(255,255,255,.12);
  }

  .ui26-mobile-actions a:first-child {
    color: #090a0b;
    background: var(--pa, var(--ui-gold));
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  body.ui26 *, body.ui26 *::before, body.ui26 *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}

/* ============================================================
   SCP Film — เกรดฟิล์มกันรอย (คารูเซล + แกลลอรี่ + สเปกชีท)
   ดีไซน์: ไม่ใช้เส้นตีกรอบ แยกชั้นด้วยน้ำหนักสีพื้นแทน
   โครงเป็น HTML จริง + CSS scroll-snap → ไม่มี JS ก็ยังปัดดูได้ครบทุกใบ
   assets/js/scp-film-carousel.js เพิ่มแค่ปุ่มลูกศรกับจุดบอกตำแหน่ง
   assets/js/scp-film.js ทำเฉพาะ modal
   ============================================================ */
.scp-film-carousel{--scp-gap:26px;--scp-per:3;position:relative;max-width:1300px;margin:0 auto}

.scp-film-track{
  display:grid;grid-auto-flow:column;
  grid-auto-columns:calc((100% - (var(--scp-per) - 1) * var(--scp-gap)) / var(--scp-per));
  gap:var(--scp-gap);
  overflow-x:auto;overscroll-behavior-x:contain;
  scroll-snap-type:x mandatory;scroll-behavior:smooth;
  scrollbar-width:none;-ms-overflow-style:none;
  padding-bottom:4px;
}
.scp-film-track::-webkit-scrollbar{display:none}
.scp-film-track>*{scroll-snap-align:start}
@media(prefers-reduced-motion:reduce){.scp-film-track{scroll-behavior:auto}}
@media(max-width:1024px){.scp-film-carousel{--scp-per:2;--scp-gap:20px}}
@media(max-width:680px){.scp-film-carousel{--scp-per:1;--scp-gap:16px}}

/* ---------- การ์ด: ไม่มีขอบ ยกระดับด้วยสีพื้นและเงา ---------- */
.scp-film-card{
  display:flex;flex-direction:column;
  background:#131417;border:0;border-radius:18px;overflow:hidden;
  transition:background .35s ease,transform .35s ease,box-shadow .35s ease;
}
@media(hover:hover){
  .scp-film-card:hover{background:#17181c;transform:translateY(-5px);box-shadow:0 26px 64px rgba(0,0,0,.55)}
  .scp-film-card:hover .scp-film-media img{transform:scale(1.045)}
}
@media(prefers-reduced-motion:reduce){
  .scp-film-card,.scp-film-card:hover{transform:none;transition:background .2s ease}
  .scp-film-media img,.scp-film-card:hover .scp-film-media img{transform:none}
}

.scp-film-media{position:relative;aspect-ratio:3/2;overflow:hidden;background:#0a0a0b}
.scp-film-media img{transition:transform .55s cubic-bezier(.2,.7,.3,1)}
.scp-film-media[data-scp-film-gallery]{cursor:pointer}
.scp-film-media[data-scp-film-gallery]:focus-visible{outline:2px solid var(--ui-red,#c53931);outline-offset:-3px}
.scp-film-media::after{
  content:"";position:absolute;inset:auto 0 0 0;height:38%;pointer-events:none;
  background:linear-gradient(180deg,transparent,rgba(10,10,12,.55));
}

/* ป้ายมุม: ทรงแคปซูล ตัวเล็ก โปร่งแสง ไม่ใช่บล็อกสีทึบ */
.scp-film-badge{
  position:absolute;top:16px;left:16px;z-index:2;
  display:inline-flex;align-items:center;gap:7px;
  padding:6px 13px 6px 11px;border-radius:999px;
  background:rgba(10,10,12,.6);backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px);
  font-family:Saira,sans-serif;font-size:10.5px;font-weight:600;letter-spacing:.15em;color:#f4f3ef;
}
.scp-film-badge::before{content:"";width:6px;height:6px;border-radius:50%;background:#8f95a3;flex:none}
.scp-film-badge--gloss::before{background:#c53931}
.scp-film-badge--top::before{background:#c9a24b}
.scp-film-badge--matte::before{background:#8f95a3}

/* ---------- เนื้อการ์ด: เพิ่มที่ว่าง ลดเส้น ---------- */
.scp-film-body{display:flex;flex-direction:column;flex:1;padding:30px 30px 32px}
.scp-film-name{font-family:Anuphan,sans-serif;font-weight:700;font-size:27px;line-height:1.2;letter-spacing:-.012em;color:#fff;margin:0 0 7px}
.scp-film-base{font-family:Saira,sans-serif;font-size:11.5px;font-weight:600;letter-spacing:.16em;color:#7f838c;margin:0 0 16px;text-transform:uppercase}
.scp-film-desc{font-size:15px;color:#9ba0a8;line-height:1.72;margin:0 0 22px}

/* ชิปสเปก: แคปซูลพื้นจางๆ ไม่มีขอบ */
.scp-film-chips{display:flex;flex-wrap:wrap;gap:9px;list-style:none;margin:0 0 24px;padding:0}
.scp-film-chips li{
  padding:7px 15px;border:0;border-radius:999px;
  background:rgba(255,255,255,.055);
  font-family:Saira,sans-serif;font-size:12.5px;font-weight:500;letter-spacing:.02em;color:#c3c6cc;
}

/* ---------- ปุ่ม: แคปซูล ไม่มีขอบ แดงเฉพาะปุ่มหลัก ---------- */
.scp-film-actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:auto}
.scp-film-btn{
  display:inline-flex;align-items:center;justify-content:center;gap:7px;
  min-height:46px;padding:12px 22px;border:0;border-radius:999px;
  background:rgba(255,255,255,.07);color:#e8e8ea;
  font-family:Anuphan,sans-serif;font-size:14.5px;font-weight:500;
  cursor:pointer;text-decoration:none;
  transition:background .22s ease,color .22s ease,transform .22s ease;
}
.scp-film-btn:hover:not([disabled]){background:rgba(255,255,255,.13)}
.scp-film-btn:active:not([disabled]){transform:translateY(1px)}
.scp-film-btn:focus-visible{outline:2px solid var(--ui-red,#c53931);outline-offset:3px}
.scp-film-btn[disabled]{opacity:.4;cursor:not-allowed}
.scp-film-btn-primary{background:#c53931;color:#fff}
.scp-film-btn-primary:hover:not([disabled]){background:#d8463d}
.scp-film-count{opacity:.72;font-size:13px}

/* ---------- ปุ่มลูกศร + จุดบอกตำแหน่ง (โผล่เมื่อ JS พร้อม) ---------- */
.scp-film-stage{position:relative}
.scp-film-nav{
  position:absolute;top:50%;transform:translateY(-50%);z-index:5;
  width:52px;height:52px;display:none;align-items:center;justify-content:center;
  border:0;border-radius:50%;cursor:pointer;
  background:rgba(14,15,18,.72);backdrop-filter:blur(14px);-webkit-backdrop-filter:blur(14px);
  box-shadow:0 10px 34px rgba(0,0,0,.5);
  color:#f4f3ef;transition:background .22s ease,opacity .22s ease,transform .22s ease;
}
.scp-film-carousel.is-ready .scp-film-nav{display:flex}
.scp-film-nav:hover:not([disabled]){background:rgba(28,30,35,.92)}
.scp-film-nav:active:not([disabled]){transform:translateY(-50%) scale(.94)}
.scp-film-nav:focus-visible{outline:2px solid var(--ui-red,#c53931);outline-offset:3px}
.scp-film-nav[disabled]{opacity:0;pointer-events:none}
.scp-film-nav svg{width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:2.1;stroke-linecap:round;stroke-linejoin:round}
.scp-film-nav-prev{left:-14px}
.scp-film-nav-next{right:-14px}
@media(max-width:900px){.scp-film-carousel.is-ready .scp-film-nav{display:none}}

.scp-film-dots{display:none;justify-content:center;gap:8px;margin-top:14px;padding:6px 0}
.scp-film-carousel.is-ready .scp-film-dots{display:flex}
/* ปุ่มจุด: พื้นที่กดสูง 24px ตามเกณฑ์ WCAG 2.2 SC 2.5.8
   แต่ขีดที่ "มองเห็น" ยังหนา 4px เท่าเดิม โดยวาดด้วย ::after
   (ถ้าทำปุ่มสูง 4px ตรงๆ พื้นที่กดจะเล็กเกินจนกดพลาดบนมือถือ) */
.scp-film-dot{
  width:26px;height:24px;padding:0;border:0;cursor:pointer;
  background:none;display:grid;place-items:center;
  transition:width .25s ease;
}
.scp-film-dot::after{
  content:"";display:block;width:100%;height:4px;border-radius:999px;
  background:rgba(255,255,255,.16);transition:background .25s ease;
}
.scp-film-dot[aria-current="true"]{width:40px}
.scp-film-dot[aria-current="true"]::after{background:#c53931}
.scp-film-dot:focus-visible{outline:2px solid var(--ui-red,#c53931);outline-offset:3px;border-radius:4px}

/* ---------- Modal: ไม่มีขอบ มุมโค้งเท่าการ์ด ---------- */
.scp-film-modal{position:fixed;inset:0;z-index:1000;display:flex;align-items:center;justify-content:center;padding:20px;background:rgba(4,4,6,.86);backdrop-filter:blur(6px);-webkit-backdrop-filter:blur(6px)}
.scp-film-modal[hidden]{display:none}
.scp-film-dialog{position:relative;width:100%;max-width:900px;max-height:86vh;overflow-y:auto;background:#131417;border:0;border-radius:18px;padding:30px 32px 34px;box-shadow:0 40px 120px rgba(0,0,0,.7)}
.scp-film-dialog h3{font-family:Anuphan,sans-serif;font-weight:700;font-size:25px;color:#fff;margin:0 52px 20px 0}
.scp-film-close{position:absolute;top:16px;right:16px;width:46px;height:46px;display:flex;align-items:center;justify-content:center;border:0;border-radius:50%;background:rgba(255,255,255,.07);color:#e8e8ea;font-size:20px;line-height:1;cursor:pointer;transition:background .22s ease}
.scp-film-close:hover{background:rgba(255,255,255,.14)}
.scp-film-close:focus-visible{outline:2px solid var(--ui-red,#c53931);outline-offset:3px}

.scp-film-gallery{display:grid;grid-template-columns:repeat(auto-fill,minmax(230px,1fr));gap:14px}
.scp-film-gallery figure{margin:0}
.scp-film-gallery img{width:100%;height:auto;display:block;border-radius:10px}

.scp-film-spec{display:grid;grid-template-columns:auto 1fr;gap:10px 20px;margin:0 0 22px}
.scp-film-spec dt{font-size:13.5px;color:#8b8e96}
.scp-film-spec dd{margin:0;font-size:14.5px;color:#e8e8ea}
.scp-film-subhead{font-family:Anuphan,sans-serif;font-weight:700;font-size:16px;color:#fff;margin:0 0 8px}
.scp-film-featlist{margin:0 0 18px;padding-left:20px;color:#b9bcc3;font-size:14.5px;line-height:1.8}
.scp-film-note{font-size:13.5px;color:#8b8e96;line-height:1.7;margin:0 0 8px}
.scp-film-note a{color:#c53931}

/* เครดิตแหล่งภาพงานจริงใต้คารูเซล */
.scp-film-credit{max-width:1300px;margin:26px auto 0;text-align:center;font-size:12.5px;color:#71747b;line-height:1.7}

/* ============================================================
   เก็บกวาดเส้นตกแต่งบนหน้า product — ให้หน้าสะอาดขึ้น
   หลักคิด: แยกชั้นด้วยน้ำหนักสีพื้น ไม่ใช่เส้นตีกรอบ
   ============================================================ */
body.ui26-product .ui26-hero-copy{
  border:0 !important;
  background:linear-gradient(100deg,rgba(6,7,8,.95) 0%,rgba(6,7,8,.86) 46%,rgba(6,7,8,0) 100%) !important;
  box-shadow:none !important;
  padding-left:0 !important;
  max-width:860px !important;
}
body.ui26-product .ui26-hero-copy::before{content:none !important}

body.ui26-product .ui26-content-section{
  border-top:0 !important;
  border-bottom:0 !important;
}
body.ui26-product .ui26-content-section::before{content:none !important}

/* ============================================================
   Iron Seal — สไลเดอร์เปรียบเทียบก่อน/หลังพ่นกันสนิม
   โครงเป็น HTML จริง + CSS ตั้งค่าเริ่มต้น 50% → ไม่มี JS ก็ยังเห็นภาพเทียบ 50/50
   assets/js/ironseal-compare.js เพิ่มแค่ความสามารถลากเปลี่ยนสัดส่วน
   ============================================================ */
.isc-root{--pos:50%;position:relative;aspect-ratio:3/2;overflow:hidden;background:#0a0a0b;touch-action:pan-y;user-select:none;-webkit-user-select:none}
.isc-root img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;display:block;pointer-events:none;-webkit-user-drag:none}

/* ภาพ "หลัง" อยู่ล่างสุดเต็มกรอบ · ภาพ "ก่อน" ทับอยู่บนแล้วถูกตัดตามตำแหน่งเส้นแบ่ง */
.isc-after{z-index:1}
.isc-before{z-index:2;clip-path:inset(0 calc(100% - var(--pos)) 0 0)}

/* ป้ายกำกับ: อยู่ล่างเพื่อไม่ทับป้ายที่ช่างเบิร์นมาในภาพ (มุมซ้ายบน) */
.isc-tag{position:absolute;bottom:12px;z-index:3;padding:5px 12px;border-radius:2px;font-family:Saira,sans-serif;font-size:11px;font-weight:600;letter-spacing:.12em;pointer-events:none}
.isc-tag-before{left:12px;background:rgba(10,10,11,.82);color:#fff}
.isc-tag-after{right:12px;background:rgb(201,154,58);color:#0a0a0b}

/* เส้นแบ่ง + ปุ่มลาก */
.isc-handle{position:absolute;top:0;bottom:0;z-index:4;left:var(--pos);width:44px;margin-left:-22px;padding:0;border:0;background:transparent;cursor:ew-resize;touch-action:none}
.isc-handle[hidden]{display:none}
.isc-handle::before{content:"";position:absolute;top:0;bottom:0;left:50%;width:2px;margin-left:-1px;background:rgba(255,255,255,.9);box-shadow:0 0 0 1px rgba(0,0,0,.35)}
.isc-handle::after{content:"";position:absolute;top:50%;left:50%;width:40px;height:40px;margin:-20px 0 0 -20px;border-radius:50%;background:rgba(255,255,255,.94);box-shadow:0 2px 10px rgba(0,0,0,.45);
  background-image:linear-gradient(90deg,transparent 13px,#0a0a0b 13px,#0a0a0b 15px,transparent 15px,transparent 25px,#0a0a0b 25px,#0a0a0b 27px,transparent 27px)}
.isc-handle:focus-visible{outline:none}
.isc-handle:focus-visible::after{box-shadow:0 0 0 3px rgb(201,154,58),0 2px 10px rgba(0,0,0,.45)}
.isc-root.is-dragging .isc-handle::after{transform:scale(1.06)}

/* คำใบ้วิธีใช้ — HTML ใส่ hidden ไว้ JS ถอดให้เมื่อพร้อมใช้งานจริง
   (ใช้ hidden แทนตัวเลือกพี่น้อง เพราะคำใบ้อยู่คนละ parent กับ .isc-root) */
.isc-hint{margin:10px 0 0;font-size:12.5px;color:#8b8e96;line-height:1.6}
.isc-hint[hidden]{display:none}

.isc-credit{margin:6px 0 0;font-size:12px;color:#7c7e85;line-height:1.6}

@media(prefers-reduced-motion:reduce){
  .isc-root.is-dragging .isc-handle::after{transform:none}
}

/* ============================================================
   เก็บกวาดเส้นตกแต่งทั้งเว็บ (2026-08-26)
   ------------------------------------------------------------
   หลักคิด
   1. แถบสีเน้น (ทอง/แดง) และเส้นไล่สี = ของตกแต่งล้วน ไม่ได้บอกอะไร → เอาออกหมด
   2. เส้นที่ทำหน้าที่แบ่งโซนจริง (แถบเมนู ฟุตเตอร์ แถบปุ่มมือถือ) → เก็บไว้
      แต่ลดน้ำหนักให้เงียบลง จากที่เคยเป็น "ขีด" ให้เหลือแค่ "รอยต่อ"
   3. ความต่างของโซนให้ทำด้วยน้ำหนักสีพื้นแทนการตีเส้น
   วางไว้ท้ายไฟล์เพื่อให้ทับกฎเดิมได้โดยไม่ต้องแก้ของเก่า (ย้อนกลับง่าย)
   ============================================================ */

/* ---------- 1) แถบสีเน้นแนวตั้ง: ตกแต่งล้วน ---------- */
body.ui26-locator header > div,
body.ui26-partner .ui26-hero-copy,
body.ui26-product .ui26-faq-section details,
body.ui26-product .ui26-dealer-section > div,
body.ui26-partner .ui26-partner-content.is-updates > div > div {
  border-left: 0 !important;
}

/* ---------- 2) แถบสีเน้นแนวนอน: ตกแต่งล้วน ---------- */
.ui26-spec-rail,
body.ui26-partner .ui26-partner-content.is-location .pcols > div,
body.ui26-partner .ui26-partner-content {
  border-top: 0 !important;
}

/* ---------- 3) เส้นไล่สีบางๆ ที่วางประดับ ---------- */
body.ui26 .ui26-nav::after,
body.ui26-product .ui26-hero::after,
body.ui26-brand-glanzend .ui26-product-card > div:first-child::after,
body.ui26-partner .ui26-partner-content::before {
  content: none !important;
}

/* ---------- 4) เส้นแบ่งโซนที่ยังต้องมี: ลดน้ำหนักให้เงียบ ---------- */
body.ui26 .ui26-nav {
  border-bottom-color: rgba(255, 255, 255, .06) !important;
}
body.ui26-product .ui26-brand-footer,
.ui26-brand-footer-bottom,
.ui26-real-work {
  border-top-color: rgba(255, 255, 255, .05) !important;
}
body.ui26-brand-glanzend .ui26-product-card > div:first-child {
  border-bottom-color: rgba(255, 255, 255, .06) !important;
}
/* แถบปุ่มลอยล่างจอมือถือ ต้องยังแยกตัวจากเนื้อหาที่เลื่อนผ่านใต้มัน */
.ui26-mobile-actions {
  border-top-color: rgba(255, 255, 255, .1) !important;
}

/* ---------- 5) การ์ดสาขา: จัดให้เข้าชุดกับการ์ดฟิล์มเกรดใหม่ ----------
   เดิมเป็นกล่องขอบ 1px + แถบสีเน้นบนหัว + มุม 2px
   ใหม่: ไม่มีขอบ ยกระดับด้วยสีพื้น มุมโค้งเท่ากับการ์ดฟิล์ม (18px)      */
body.ui26-partner .ui26-partner-card {
  border: 0 !important;
  border-radius: 18px !important;
  background: #131417 !important;
}
body.ui26-partner .ui26-partner-card:hover {
  border-color: transparent !important;
  background: #17181c !important;
}
body.ui26-partner .ui26-partner-content.is-brands a {
  border: 0 !important;
  border-radius: 18px !important;
  background: #131417 !important;
}


/* ---------- 6) ขีดตกแต่งสั้น 2px บนหัวการ์ด — เอาออกทั้งเว็บ ----------
   เป็นแถบสีแบรนด์กว้าง 36px สูง 2px ที่วางไว้เหนือหัวข้อการ์ด และแถบไล่สีบนสุด
   ของการ์ดผู้บริหาร ทั้งคู่ไม่ได้สื่อข้อมูลอะไร (ชื่อแบรนด์เขียนเป็นตัวอักษรอยู่แล้ว)
   จึงเอาออกให้เข้าชุดกับการ์ดที่ไม่มีเส้นตีกรอบ                                */
div[style*="height: 2px"],
.ui26-extra-service-line {
  display: none !important;
}

/* ป้ายมุมของเกรดฟิล์มสำหรับงานหลังคา/ซันรูฟ */
.scp-film-badge--roof::before { background: #8f95a3 }

/* ---------- 7) การ์ดในกริดทั่วไป: จัดชุดกับการ์ดใหม่ ----------
   เดิมเป็นกล่องขอบ 1px มุม 2px + บางส่วนมีแถบสีเน้นบนหัว
   ใหม่: ไม่มีขอบ ยกระดับด้วยสีพื้น มุมโค้งเท่าการ์ดเกรดฟิล์ม (18px)   */
body.ui26-product .rgrid > *,
body.ui26-product details,
body.ui26-product section[id="contact"] > div,
body.ui26-product .ui26-contact-section > div {
  border: 0 !important;
  border-radius: 18px !important;
  background-color: #131417 !important;
}
body.ui26-product .rgrid > *:hover {
  border-color: transparent !important;
  background-color: #17181c !important;
}
/* แถบสีเน้นบนหัวการ์ดในส่วนขั้นตอน/หลักฐาน — ตกแต่งล้วน */
body.ui26-product .ui26-process-section .rgrid > *,
body.ui26-product .ui26-evidence-section .rgrid > * {
  border-top: 0 !important;
}

/* ============================================================
   หน้าสาขาพาร์ทเนอร์ — ดีไซน์ 2026
   ------------------------------------------------------------
   คงโครงสร้าง HTML เดิมทั้งหมด แก้ด้วย CSS ล้วน
   จึงมีผลกับหน้าสาขาทั้ง 5 แห่งพร้อมกัน และย้อนกลับได้ด้วยการลบบล็อกนี้

   ปัญหาที่วัดได้จากของเดิม
     h1 60px · h2 48px (มีอันหนึ่ง 76px) · ตัวพิมพ์ใหญ่สีทอง 17 จุดในหน้าเดียว
     -> อ่านแล้วรู้สึก "ตะโกน" ไม่ใช่ "หรู"

   หลักที่ยึด
     1. ของหรูพูดเบา — ลดขนาดหัวเรื่อง เพิ่มที่ว่าง ใช้สีเน้นเท่าที่จำเป็น
     2. ลำดับสายตาต้องชัด — หัวเรื่องใหญ่สุดหนึ่งจุด ที่เหลือลดหลั่น
     3. เทคนิคใหม่ต้องไม่ใช้ JS และต้องพังแล้วยังอ่านได้ (CSP: script-src 'self')
   ============================================================ */

/* ---------- ตัวแปรเฉพาะหน้าสาขา ---------- */
body.ui26-partner {
  --pa-ink: #0a0b0c;
  --pa-surface: #131417;
  --pa-surface-hi: #17181c;
  --pa-text: #f4f3ef;
  --pa-muted: #9a9da4;
  --pa-faint: #6f727a;
  --pa-accent: var(--pa, #c9a24b);
  /* จังหวะระยะห่าง ใช้ชุดเดียวทั้งหน้า ไม่ตั้งค่ามั่ว */
  --pa-gap-s: clamp(12px, 1.2vw, 18px);
  --pa-gap-m: clamp(20px, 2vw, 32px);
  --pa-gap-l: clamp(48px, 6vw, 96px);
}

/* ============================================================
   1) วินัยตัวอักษร — จุดที่เปลี่ยนความรู้สึกมากที่สุด
   ============================================================ */

/* ชื่อร้านเป็นพระเอก บรรทัดรองลดลงเป็นคำอธิบาย */
body.ui26-partner .ui26-hero-copy h1 {
  font-size: clamp(30px, 3.4vw, 44px) !important;
  line-height: 1.08 !important;
  letter-spacing: -.022em !important;
  text-wrap: balance;
  margin-bottom: var(--pa-gap-s) !important;
}
body.ui26-partner .ui26-hero-copy h1 > span:first-child {
  display: block;
  font-size: 1em !important;
}
body.ui26-partner .ui26-hero-copy h1 > span:nth-child(n+2) {
  display: block;
  font-size: .40em !important;
  font-weight: 400 !important;
  letter-spacing: .005em !important;
  line-height: 1.45 !important;
  color: var(--pa-muted) !important;
  margin-top: 6px;
  white-space: normal !important;
}

/* หัวข้อ section: จาก 48px เหลือระดับที่อ่านสบาย */
body.ui26-partner .ui26-partner-heading h2,
body.ui26-partner .ui26-work-head h2,
body.ui26-partner h2 {
  font-size: clamp(21px, 2.1vw, 29px) !important;
  line-height: 1.22 !important;
  letter-spacing: -.016em !important;
  text-wrap: balance;
}
body.ui26-partner p { text-wrap: pretty; }

/* ============================================================
   2) วินัยสีเน้น — จากทอง 17 จุด เหลือเท่าที่มีความหมาย
   ป้ายตัวพิมพ์ใหญ่เปลี่ยนเป็นสีเทาจาง ทำหน้าที่ "บอกหมวด" ไม่ใช่ "ตะโกน"
   ============================================================ */
body.ui26-partner .ui26-partner-heading > div:first-child,
body.ui26-partner .ui26-work-eyebrow {
  color: var(--pa-faint) !important;
  font-size: 10px !important;
  font-weight: 600 !important;
  letter-spacing: .24em !important;
  margin-bottom: 12px !important;
}
/* ป้ายเล็กในการ์ด/กล่องข้อมูล ให้เงียบลงเช่นกัน */
body.ui26-partner .ui26-partner-card > div:first-child,
body.ui26-partner .pcols > div > div:first-child {
  color: var(--pa-faint) !important;
}

/* ============================================================
   3) พื้นผิว — ไม่ตีกรอบ แยกชั้นด้วยน้ำหนักสี (เข้าชุดกับการ์ดเกรดฟิล์ม)
   ============================================================ */
body.ui26-partner .ui26-partner-content {
  padding-block: var(--pa-gap-l) !important;
  border: 0 !important;
}
/* หมายเหตุ: เคยใส่ content-visibility:auto เพื่อความลื่น แต่ถอดออกแล้ว
   เพราะมันจองพื้นที่เผื่อไว้ล่วงหน้าต่อ section ทำให้ความสูงหน้าพองผิดจริง
   (วัดได้ 5.5 -> 7.3 จอ) แถบเลื่อนกับลิงก์ข้ามหัวข้อจะเพี้ยนตาม
   หน้ายาวแค่ 5 จอ ไม่ได้ต้องการการช่วยเรื่องนี้อยู่แล้ว */
body.ui26-partner .ui26-partner-card,
body.ui26-partner .ui26-work-card {
  border: 0 !important;
  border-radius: 18px !important;
  background: var(--pa-surface) !important;
  transition: background .35s ease, transform .35s ease, box-shadow .35s ease;
}
@media (hover: hover) {
  body.ui26-partner .ui26-partner-card:hover,
  body.ui26-partner .ui26-work-card:hover {
    background: var(--pa-surface-hi) !important;
    transform: translateY(-4px);
    box-shadow: 0 24px 60px rgb(0 0 0 / .5);
  }
}

/* ป้ายสถานะ (Flagship) — ที่เดียวที่ยังใช้สีเน้นเต็มที่ */
body.ui26-partner .ui26-hero-copy [class*="badge"],
body.ui26-partner .ui26-hero-copy span:has(+ h1) {
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

/* ============================================================
   4) แถบความคืบหน้าการอ่าน — ขับด้วยการเลื่อนล้วน ไม่มี JS
   ============================================================ */
@supports (animation-timeline: scroll()) {
  body.ui26-partner::before {
    content: "";
    position: fixed;
    inset: 0 auto auto 0;
    z-index: 999;
    width: 100%;
    height: 2px;
    transform-origin: 0 50%;
    transform: scaleX(0);
    background: linear-gradient(90deg,
      var(--pa-accent),
      color-mix(in oklab, var(--pa-accent) 40%, transparent));
    animation: pa-progress linear both;
    animation-timeline: scroll(root block);
    pointer-events: none;
  }
  @keyframes pa-progress { to { transform: scaleX(1) } }
}

/* ============================================================
   5) เนื้อหาค่อยๆ ปรากฏตอนเลื่อนถึง — ขับด้วยการเลื่อนล้วน
   ห่อด้วย @supports + prefers-reduced-motion
   ถ้าเบราว์เซอร์ไม่รองรับ หรือผู้ใช้ปิดแอนิเมชัน จะเห็นเนื้อหาปกติทันที
   ============================================================ */
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    body.ui26-partner .ui26-partner-heading,
    body.ui26-partner .ui26-partner-card,
    body.ui26-partner .ui26-work-card,
    body.ui26-partner .pcols > div {
      animation: pa-rise linear both;
      animation-timeline: view();
      animation-range: entry 2% cover 20%;
    }
    /* การ์ดในแถวเดียวกันเหลื่อมกันเล็กน้อย ให้ดูมีชีวิต ไม่ใช่ขึ้นพรวดพร้อมกัน */
    body.ui26-partner .ui26-partner-card:nth-child(2n) { animation-range: entry 4% cover 22% }
    body.ui26-partner .ui26-partner-card:nth-child(3n) { animation-range: entry 6% cover 24% }
  }
}
@keyframes pa-rise {
  from { opacity: 0; transform: translateY(20px) }
  to   { opacity: 1; transform: none }
}

/* ============================================================
   6) เปลี่ยนหน้าแบบต่อเนื่อง (cross-document view transitions) — ถอดออกแล้ว
   ------------------------------------------------------------
   เคยใส่ `@view-transition { navigation: auto }` ไว้ตรงนี้
   ถอดออกเพราะ **ทำให้เกิด console error ทุกครั้งที่เปลี่ยนหน้า**
       Uncaught (in promise) AbortError: Transition was skipped
   ทดสอบแล้วเกิดแม้โหลดหน้าเดียวแบบสะอาด ไม่ใช่เพราะสั่งเปลี่ยนหน้ารัว

   สาเหตุที่น่าจะเป็น: เบราว์เซอร์ข้ามทรานซิชันเมื่อหน้าปลายทางเรนเดอร์ครั้งแรกช้าเกิน
   ซึ่งเว็บนี้โหลดฟอนต์จาก Google Fonts แบบ render-blocking อยู่

   เป็น error ที่ไม่ทำให้อะไรพัง แต่กติกาโปรเจกต์คือ console ต้องสะอาด
   และมันจะไปกลบ error จริงในอนาคต — ของสวยงามชิ้นเดียวไม่คุ้มกับการเสียตรงนั้น
   ถ้าวันหน้าแก้เรื่องฟอนต์ให้ไม่บล็อกการเรนเดอร์แล้ว ค่อยเปิดกลับมาได้
   ============================================================ */

/* ============================================================
   7) การ์ดปรับตัวตามพื้นที่ของตัวเอง ไม่ใช่ตามขนาดจอ
   ============================================================ */
body.ui26-partner .pcols,
body.ui26-partner .ui26-work-grid { container-type: inline-size }
@container (max-width: 420px) {
  body.ui26-partner .ui26-partner-card { padding: 22px 20px !important }
}

/* ============================================================
   8) มือถือ — ลดขนาดหัวเรื่องและระยะห่างให้พอดีจอเล็ก
   ============================================================ */
@media (max-width: 640px) {
  body.ui26-partner .ui26-hero-copy h1 { font-size: clamp(26px, 7.4vw, 34px) !important }
  body.ui26-partner .ui26-hero-copy h1 > span:nth-child(n+2) { font-size: .46em !important }
  body.ui26-partner .ui26-partner-content { padding-inline: 22px !important }
}

/* ============================================================
   9) หน้าสาขา — ปรับโครงให้ติดต่อได้เร็วขึ้นและตัดที่ว่างเปล่า
   ------------------------------------------------------------
   ที่มา: วัดแล้วส่วน "ที่ตั้งและการติดต่อ" อยู่ลึกลงไป 3,148px
   และหน้าสาขา **ไม่มีแถบปุ่มลอยล่างจอ** ทั้งที่หน้าอื่นในเว็บมี
   -> คนที่เปิดหน้าร้านเพื่อหาทางไป ต้องเลื่อนผ่าน 4 section ก่อน
   ============================================================ */

/* ---------- แถบติดต่อลอยล่างจอ (มือถือ) ใช้คลาสเดียวกับหน้าอื่นในเว็บ ---------- */
body.ui26-partner .mcta { display: none }

@media (max-width: 768px) {
  body.ui26-partner .mcta {
    display: flex;
    position: fixed;
    left: 0; right: 0; bottom: 0;
    z-index: 200;
    box-shadow: 0 -10px 30px rgb(0 0 0 / .55);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding-bottom: env(safe-area-inset-bottom, 0);   /* กันชนขอบจอ iPhone */
  }
  body.ui26-partner .mcta > a {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    flex: 1;
    min-height: 56px;                                  /* เป้าแตะใหญ่กว่าเกณฑ์ WCAG มาก */
    padding: 9px 6px;
    font-family: Saira, sans-serif;
    font-size: 12.5px;
    font-weight: 600;
    letter-spacing: .04em;
    text-decoration: none;
  }
  body.ui26-partner .mcta > a > span { font-size: 15px; line-height: 1 }
  /* ปุ่มหลัก: ไล่สีทองแบบเดียวกับแถบของหน้าอื่น */
  body.ui26-partner .mcta .mcta-go {
    color: #0a0a0b;
    font-weight: 700;
    background: linear-gradient(135deg, #f3d98b, #c9a24b 60%, #b8862f);
  }
  body.ui26-partner .mcta .mcta-chat,
  body.ui26-partner .mcta .mcta-near {
    color: #e8cc7a;
    background: rgb(201 162 75 / .12);
    border-left: 1px solid rgb(0 0 0 / .35);
  }
  body.ui26-partner .mcta > a:active { filter: brightness(.92) }
  body.ui26-partner .mcta > a:focus-visible { outline: 2px solid #f4f3ef; outline-offset: -3px }
  /* กันแถบบังเนื้อหาท้ายหน้า */
  body.ui26-partner { padding-bottom: 68px }
}

/* ---------- ย่อ section ที่กินที่ว่างเกินความจำเป็น ----------
   วัดจากของจริง: แบรนด์ 298px สำหรับโลโก้ 3 อัน (ไม่มีหัวข้อด้วยซ้ำ)
                  อัปเดตล่าสุด 356px สำหรับ 9 คำกับลิงก์เดียว
   ทั้งคู่ไม่ได้มีเนื้อหามากพอจะเป็น section เต็มความสูง                       */
body.ui26-partner .ui26-partner-content.is-brands,
body.ui26-partner .ui26-partner-content.is-updates {
  padding-block: clamp(28px, 3.2vw, 46px) !important;
}
body.ui26-partner .ui26-partner-content.is-updates .ui26-partner-heading {
  margin-bottom: 14px !important;
}

/* กล่องโลโก้แบรนด์บนมือถือ: เดิมสูงรวม 274px เพราะแต่ละกล่องมีระยะในเยอะ
   ลดระยะในลงให้เตี้ยลง แต่ยังคงเรียงแนวตั้ง (ถ้าดันเป็นแถวเดียวโลโก้จะเหลือกว้าง
   อันละ ~100px ซึ่งเล็กจนอ่านชื่อแบรนด์ไม่ออก) */
@media (max-width: 640px) {
  body.ui26-partner .is-brands > div > div:last-child { gap: 10px !important }
  body.ui26-partner .is-brands > div > div:last-child > a {
    min-height: 0 !important;
    padding: 14px 16px !important;
  }
  body.ui26-partner .is-brands > div > div:last-child img {
    max-height: 26px !important;
    width: auto !important;
  }
}
