/* MINITANKZ — public site styles (mobile first). Tokens sampled from the design reference. */
:root {
  --red: #cd001e;
  --red-band: #cf1e0c;
  --price: #e70001;
  --orange: #ff9d3c;
  --orange-cta: #fc6e00;
  --orange-cta-2: #ff8f1f;
  --line-green: #13a538;
  --line-green-2: #0f8a2c;
  --cream: #fff2e2;
  --cream-2: #fff7ee;
  --footer-green: #044d15;
  --ink: #26221e;
  --ink-2: #4a4440;
  --muted: #8b8580;
  --rule: #e6e2de;
  --strip: #eef0f2;
  --row-a: #f6f7f9;
  --white: #fff;
  --yellow: #fcbf0c;
  --radius: 14px;
  --shadow: 0 2px 10px rgba(60, 30, 0, .12);
  --font: "Kanit", "Sukhumvit Set", "Leelawadee UI", "Tahoma", sans-serif;
  --wrap: 1200px;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; font-family: var(--font); font-weight: 400; color: var(--ink); background: var(--cream); line-height: 1.45; overflow-x: hidden; }
img { max-width: 100%; display: block; height: auto; }
a { color: inherit; }
button { font: inherit; cursor: pointer; }
h1, h2, h3 { margin: 0; font-weight: 600; line-height: 1.25; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 16px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: -999px; top: 0; background: #000; color: #fff; padding: 8px 12px; z-index: 100; }
.skip-link:focus { left: 8px; }
.ic { flex: none; display: inline-block; vertical-align: middle; }
:focus-visible { outline: 3px solid #1a73e8; outline-offset: 2px; }

/* ------------------------------------------------ header */
.site-header { position: sticky; top: 0; z-index: 40; }
.flashbar { background: var(--red); color: var(--on-red, #fff); }
.flash-badge-img { height: 32px; width: auto; display: block; }
.flashbar__in { display: flex; align-items: center; justify-content: space-between; gap: 8px; height: 44px; }
.flash-badge { display: inline-flex; align-items: center; background: #fff; color: #111; border: 2px solid var(--orange-cta); border-radius: 999px; padding: 0 12px 0 4px; height: 30px; font-weight: 800; font-style: italic; font-size: 17px; letter-spacing: -.3px; }
.flash-badge__bolt { color: var(--orange-cta); margin-right: 2px; transform: scale(1.25); }
.flashbar__right { display: inline-flex; align-items: center; gap: 8px; min-width: 0; }
.flashbar__label { font-size: 15px; white-space: nowrap; }
.countdown-box { background: #141414; color: #fff; border-radius: 6px; padding: 4px 9px; font-size: 13px; font-weight: 600; font-variant-numeric: tabular-nums; white-space: nowrap; }
.topnav { background: var(--orange); color: var(--on-orange, #fff); }
.topnav__in { display: flex; align-items: center; gap: 8px; height: 50px; }
.brand img { width: 60px; height: 44px; object-fit: contain; }
.topnav__phone { display: inline-flex; align-items: center; gap: 4px; font-weight: 700; font-size: 18px; color: #fff; text-decoration: none; letter-spacing: -.2px; text-shadow: 0 1px 0 rgba(0,0,0,.25); -webkit-text-stroke: .4px #222; white-space: nowrap; }
.phone-dot { display: inline-grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: #fff; color: #333; border: 2px solid #333; -webkit-text-stroke: 0; }
.order-btn { margin-left: auto; display: inline-flex; align-items: center; gap: 6px; background: linear-gradient(var(--line-green), var(--line-green-2)); color: var(--on-green, #fff); text-decoration: none; border-radius: 999px; padding: 4px 4px 4px 12px; font-weight: 600; font-size: 15px; white-space: nowrap; box-shadow: 0 2px 0 rgba(0,0,0,.15); }
.order-btn__line { display: inline-grid; place-items: center; min-width: 30px; height: 30px; border-radius: 50%; background: #fff; color: var(--line-green); font-size: 9px; font-weight: 800; }
.catnav { display: none; }

/* ------------------------------------------------ hero / carousels */
.hero, .pdp__gallery { position: relative; background: #ddd; }
.hero__track, .gal__track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; scroll-behavior: smooth; }
.hero__track::-webkit-scrollbar, .gal__track::-webkit-scrollbar { display: none; }
.hero__slide, .gal__slide { flex: 0 0 100%; scroll-snap-align: start; }
.hero__slide { position: relative; }
.hero__slide img { width: 100%; aspect-ratio: 1600 / 860; object-fit: cover; }
.hero__text { position: absolute; left: 0; right: 0; top: 0; padding: 10px 16px 0; color: #fff; text-shadow: 0 2px 6px rgba(0,0,0,.55); pointer-events: none; }
.hero__title { margin: 0; font-size: clamp(13px, 3.6vw, 30px); font-weight: 500; text-align: center; line-height: 1.3; }
.hero__subtitle { margin: 2px 0 0; font-size: clamp(18px, 5.4vw, 44px); font-weight: 700; text-align: right; }
.blurfill { position: relative; overflow: hidden; }
.hero__nav { position: absolute; top: 50%; transform: translateY(-50%); background: none; border: 0; color: #fff; padding: 6px; filter: drop-shadow(0 1px 2px rgba(0,0,0,.5)); }
.hero__nav--prev { left: 2px; } .hero__nav--next { right: 2px; }
.media-pills { position: absolute; left: 0; right: 0; bottom: 10px; display: flex; justify-content: center; gap: 12px; pointer-events: none; }
.pill { pointer-events: auto; display: inline-flex; align-items: center; gap: 6px; height: 32px; padding: 0 16px; border-radius: 999px; border: 0; font-size: 14px; color: #fff; }
.pill--video { background: var(--orange-cta-2); }
.pill--count { background: rgba(40, 40, 40, .72); }

/* ------------------------------------------------ trust strip */
.trust { background: var(--strip); }
.trust__in { display: flex; align-items: center; justify-content: space-between; height: 48px; font-size: 15px; font-weight: 500; }
.trust__item { display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; }
.trust__sep { width: 1px; height: 18px; background: #9a9a9a; }

/* ------------------------------------------------ category + cards */
.catsec__banner img { width: 100%; aspect-ratio: 538 / 210; object-fit: cover; }
.catsec__title { padding-top: 20px; font-size: 22px; }
.pgrid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; padding: 16px 0 22px; }
.pcard { background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); padding: 6px 6px 12px; display: flex; flex-direction: column; min-width: 0; }
.pcard__link { text-decoration: none; color: inherit; display: block; }
.pcard__media { display: grid; grid-template-columns: 1fr; gap: 2px; }
.pcard__media.has-badges { grid-template-columns: minmax(0, 1fr) 21%; }
.pcard__img { aspect-ratio: 5 / 4; display: grid; place-items: center; overflow: hidden; border-radius: 8px; }
.pcard__img img { width: 100%; height: 100%; object-fit: contain; transition: opacity .18s ease; }
.pcard__img img.is-swapping { opacity: .35; }
.pcard__badges { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 2px; justify-content: flex-start; }
.pcard__badges img { width: 100%; height: auto; aspect-ratio: 1; object-fit: contain; mix-blend-mode: multiply; }
.pcard__name { font-weight: 400; font-size: 14px; line-height: 1.6; margin: 6px 2px 0; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 3.2em; }
.pcard__link:hover .pcard__name { color: var(--price); }
.pcard__pricerow { display: flex; align-items: flex-end; justify-content: space-between; gap: 4px; margin: 4px 2px 0; }
.price-normal { font-size: 11.5px; color: var(--muted); }
.price-normal s { text-decoration-thickness: 1px; }
.price-sale { color: var(--price); font-weight: 700; font-size: 23px; line-height: 1.1; letter-spacing: -.4px; }
.speed { display: grid; justify-items: center; line-height: 1; color: #111; font-size: 8px; }
.speed .ic { width: 26px; height: 26px; }
.speed__label { font-size: 8px; font-weight: 600; }
.speed__val { font-size: 11px; font-weight: 700; }
.speed__unit { font-size: 6.5px; }
.swatches { margin: 10px 2px 0; padding: 0 0 10px; display: flex; flex-wrap: wrap; gap: 6px; border-bottom: 1px solid var(--rule); }
.swatch { width: 32px; height: 32px; border-radius: 50%; padding: 2px; border: 1px solid #cfcfcf; background: #fff; cursor: pointer; transition: transform .12s, border-color .12s; }
.swatch:hover { transform: scale(1.08); }
.swatch.is-active { border: 2px solid #234b2e; box-shadow: 0 0 0 2px #fff inset; }
.swatch img, .swatch__dot { width: 100%; height: 100%; border-radius: 50%; display: block; object-fit: cover; }
.swatch__dot { box-shadow: inset 0 0 0 1px rgba(0,0,0,.12); }
.pcard__surf { margin: 10px 2px 0; }
.pcard__surf-title { font-weight: 600; font-size: 13.5px; }
.surfaces { list-style: none; margin: 6px 0 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 3px; max-width: 230px; }
.surfaces li { display: grid; justify-items: center; font-size: 7px; color: #444; text-align: center; line-height: 1.2; min-width: 0; }
.surfaces img { width: 100%; max-width: 40px; height: auto; }

/* ------------------------------------------------ blocks */
.block { padding: 26px 0; }
.block--white { background: #fff; }
.block--grey { background: #f2f2f2; }
.sec-head { margin-bottom: 14px; }
.sec-head__bar { display: block; width: 32px; height: 3px; background: var(--orange-cta-2); border-radius: 2px; margin-bottom: 8px; }
.sec-head__kicker { display: block; color: var(--orange-cta); font-size: 12px; font-weight: 600; }
.sec-head h1, .sec-head h2 { font-size: 26px; font-weight: 700; color: #1d1b33; }
.sec-head p { margin: 2px 0 0; color: #666; font-size: 14px; }
.sec-head--center { text-align: center; }
.sec-head--center .sec-head__bar { margin-left: auto; margin-right: auto; }
.mosaic { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.mosaic__item { margin: 0; position: relative; border-radius: 10px; overflow: hidden; background: #eee; aspect-ratio: 240 / 112; }
.mosaic__item img { width: 100%; height: 100%; object-fit: cover; }
.mosaic__item--wide { grid-column: 1 / -1; aspect-ratio: 490 / 165; }
.mosaic--show { grid-template-columns: repeat(3, 1fr); }
.mosaic--show .mosaic__item { aspect-ratio: 160 / 118; }
.mosaic--show .mosaic__item--wide { aspect-ratio: 490 / 185; }
.mosaic--cust .mosaic__item { aspect-ratio: 240 / 163; }
.mosaic__more { position: absolute; right: 8px; bottom: 8px; background: rgba(0,0,0,.55); color: #fff; font-size: 12px; text-decoration: none; padding: 3px 9px; border-radius: 6px; }
.btn-orange { margin-top: 14px; display: flex; align-items: center; justify-content: center; gap: 22px; min-height: 64px; border-radius: 12px; color: var(--on-accent, #fff); text-decoration: none; font-weight: 600; font-size: 28px; background: linear-gradient(180deg, var(--orange-cta-2), var(--orange-cta)); box-shadow: 0 4px 12px rgba(0, 0, 0, .18); }
.btn-orange__ic { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 10px; background: rgba(255,255,255,.22); }
.btn-orange--slim { min-height: 44px; font-size: 18px; gap: 12px; margin-top: 8px; }
.btn-outline { margin-top: 14px; display: flex; align-items: center; justify-content: center; gap: 16px; min-height: 52px; border-radius: 12px; border: 2px solid var(--orange-cta-2); color: var(--ink); background: #fff; text-decoration: none; font-weight: 600; font-size: 20px; }
.btn-outline .ic { color: var(--orange-cta); }
.empty-note { padding: 24px 16px; color: var(--muted); }

/* ------------------------------------------------ location */
.location { background: #fff; padding: 12px 0 14px; }
.location .wrap { position: relative; }
.location__map { height: 62px; border-radius: 10px; background-size: cover; background-position: center; }
.location__card { position: relative; margin-top: -14px; background: #fff; border-radius: 10px; box-shadow: var(--shadow); padding: 10px 14px; }
.location__pin { position: absolute; top: -40px; left: 50%; transform: translateX(-50%); color: var(--orange-cta); }
.location__kicker { color: var(--orange-cta); font-size: 11px; font-weight: 600; }
.location__name { font-size: 20px; font-weight: 700; }
.location__row { display: flex; gap: 8px; align-items: flex-start; margin: 6px 0 0; font-size: 13px; color: #333; }
.location__row .ic { color: var(--orange-cta); }
.location__row small { color: #888; font-size: 10px; }

/* ------------------------------------------------ footer */
.site-footer { background: #fff; }
.footer-brand { background: var(--footer-green); display: grid; place-items: center; padding: 14px 0; }
.footer-brand img { width: 262px; height: auto; }
.footer-body { padding-top: 16px; padding-bottom: 18px; }
.accordion details { border-top: 1.5px solid #111; }
.accordion details:last-child { border-bottom: 1.5px solid #111; }
.accordion summary { list-style: none; display: flex; justify-content: space-between; align-items: center; padding: 10px 20px; font-size: 18px; font-weight: 500; cursor: pointer; }
.accordion summary::-webkit-details-marker { display: none; }
.accordion details[open] .acc-plus { transform: rotate(45deg); }
.acc-plus { transition: transform .2s; font-size: 18px; }
.acc-body { padding: 0 20px 12px; font-size: 15px; color: #444; }
.acc-body a { color: var(--orange-cta); }
.footer-contact { margin-top: 12px; padding: 0 20px; font-size: 18px; font-weight: 300; }
.footer-contact p { margin: 0 0 4px; }
.footer-contact a { text-decoration: none; }
.socials { list-style: none; padding: 0 20px; margin: 10px 0 0; display: flex; gap: 6px; flex-wrap: nowrap; justify-content: space-between; max-width: 420px; }
.socials a, .socials__nolink { display: block; border-radius: 30%; }   /* 2.9.1 rounded-square icons */
.socials a:hover img { transform: scale(1.08); }
.socials img { transition: transform .15s; }
.socials img { width: clamp(34px, 10.5vw, 44px); height: auto; aspect-ratio: 1; display: block; filter: drop-shadow(0 1px 2.5px rgba(0,0,0,.18)); }   /* shape comes from the picture itself; soft shadow keeps the white YouTube / Messenger icons visible on white */
.footer-legal { border-top: 1px solid var(--rule); color: #888; font-size: 12px; padding: 10px 0; text-align: center; }

/* ------------------------------------------------ product page */
.page-product main { background: var(--cream); }
.pdp { padding-bottom: 8px; }
.pdp__gallery { margin: 0 -16px; }
.gal__slide img { width: 100%; aspect-ratio: 536 / 520; object-fit: contain; background: #fff; }
.gal__slide--empty { aspect-ratio: 1; display: grid; place-items: center; color: #888; background: #f4f4f4; }
.circle-btn { position: absolute; top: 18px; width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: rgba(90, 90, 90, .6); color: #fff; border: 0; text-decoration: none; }
.circle-btn--left { left: 18px; } .circle-btn--right { right: 18px; }
.share-toast { position: absolute; right: 16px; top: 70px; background: #222; color: #fff; padding: 6px 12px; border-radius: 8px; font-size: 13px; }
.fsband { margin: 0 -16px; display: flex; align-items: center; gap: 8px; background: var(--red-band); color: #fff; padding: 8px 16px; min-height: 76px; }
.fsband__bolt { color: #ffcc00; }
.fsband__text { display: grid; line-height: 1.15; }
.fsband__text strong { font-size: 24px; font-weight: 600; }
.fsband__text span { font-size: 16px; font-variant-numeric: tabular-nums; }
.fsband__save { margin-left: auto; align-self: stretch; background: var(--yellow); color: var(--red-band); display: grid; place-items: center; align-content: center; padding: 4px 12px 14px; clip-path: polygon(0 0, 100% 0, 100% 100%, 50% 82%, 0 100%); line-height: 1.05; }
.fsband__save span { font-size: 20px; }
.fsband__save b { font-size: 22px; font-weight: 500; }
.pdp__price { padding: 14px 0 6px; }
.pdp__normal { color: #8f8a86; font-size: 19px; }
.pdp__sale { color: var(--price); font-weight: 700; font-size: 46px; line-height: 1.05; letter-spacing: -1px; }
.pdp__name { font-weight: 400; font-size: 18px; margin-top: 8px; line-height: 1.6; }
.pdp__colors { border: 0; padding: 0; margin: 10px 0 0; }
.pdp__colors legend { font-size: 14px; color: #555; padding: 0; margin-bottom: 6px; }
.pdp__swatches { display: flex; flex-wrap: wrap; gap: 8px; }
.pswatch { position: relative; width: 64px; height: 64px; border-radius: 50%; padding: 3px; border: 1px solid #bbb; background: #fff; cursor: pointer; }
.pswatch input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.pswatch img, .pswatch > span:not(.sr-only) { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; display: block; }
.pswatch:has(input:checked) { border: 3px solid #1d4d2d; }
.pswatch:has(input:focus-visible) { outline: 3px solid #1a73e8; outline-offset: 2px; }
.pdp__cta { display: flex; gap: 10px; margin-top: 16px; flex-wrap: wrap; }
.btn-order { flex: 1 1 200px; display: grid; place-items: center; min-height: 48px; border-radius: 12px; background: linear-gradient(#1fb33e, var(--line-green-2)); color: #fff; font-weight: 600; font-size: 18px; text-decoration: none; }
.btn-call { flex: 1 1 160px; display: inline-flex; justify-content: center; align-items: center; gap: 8px; min-height: 48px; border-radius: 12px; border: 2px solid var(--orange-cta-2); background: #fff; color: var(--ink); text-decoration: none; font-weight: 600; font-size: 18px; }
.spec { margin: 14px -16px 0; padding: 12px 16px 14px; border-top: 8px solid #f3eee9; }
.spec h2 { font-size: 20px; font-weight: 400; margin-bottom: 10px; }
.spec__table { width: 100%; border-collapse: collapse; background: #fff; font-size: 16px; }
.spec__table th, .spec__table td { text-align: left; vertical-align: top; padding: 13px 18px; font-weight: 400; }
.spec__table th { width: 48%; }
.spec__table tr:nth-child(odd) { background: var(--row-a); }
.spec__table--cert th { font-weight: 600; width: 30%; }
.spec__table--cert td.spec__icon { width: 56px; padding: 8px 8px 8px 14px; }
.spec__table--cert td.spec__icon img { width: 34px; height: auto; }
.desc { padding-top: 20px; padding-bottom: 16px; border-top: 8px solid #f3eee9; }
.desc h2 { font-size: 20px; font-weight: 400; margin-bottom: 12px; }
.desc__body { position: relative; max-height: 420px; overflow: hidden; }
.desc__body.is-open { max-height: none; }
.desc__body:not(.is-open)::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 60px; background: linear-gradient(rgba(255,242,226,0), var(--cream)); }
.desc__text { white-space: pre-line; font-size: 17px; }
.desc__text.rt { white-space: normal; }
.desc__text--muted { color: #777; }
/* 3.6.0 product FAQ (FAQPage) */
.faq__item { border-bottom: 1px solid #eadfd3; }
.faq__item summary { cursor: pointer; list-style: none; padding: 12px 28px 12px 0; font-size: 17px; position: relative; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after { content: "+"; position: absolute; right: 4px; top: 10px; font-size: 22px; color: #999; }
.faq__item[open] summary::after { content: "–"; }
.faq__a { padding: 0 0 14px; color: #555; font-size: 16px; white-space: pre-line; }
.desc h3 { font-size: 16px; font-weight: 400; color: #777; margin: 14px 0 4px; }
.desc__more { display: flex; margin: 10px auto 0; align-items: center; gap: 8px; background: none; border: 0; color: var(--orange-cta); font-size: 17px; }
.desc__more[aria-expanded="true"] .ic { transform: rotate(180deg); }
.related { padding-top: 18px; border-top: 1px solid #ddd; }
.related h2 { font-size: 22px; font-weight: 400; }

/* ------------------------------------------------ gallery page */
.gallery-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.gallery-grid figure { margin: 0; border-radius: 10px; overflow: hidden; background: #eee; }
.gallery-grid img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.gallery-grid figcaption { padding: 6px 8px; font-size: 13px; }
.error-page { text-align: center; padding: 40px 0; }
.error-page h1 { font-size: 64px; color: var(--price); }

/* ------------------------------------------------ video modal */
.vmodal { position: fixed; inset: 0; z-index: 90; display: grid; place-items: center; }
.vmodal[hidden] { display: none; }
.vmodal__backdrop { position: absolute; inset: 0; background: rgba(0,0,0,.8); }
.vmodal__box { position: relative; width: min(960px, 94vw); }
.vmodal__frame { aspect-ratio: 16/9; background: #000; }
.vmodal__frame iframe, .vmodal__frame video { width: 100%; height: 100%; border: 0; display: block; }
.vmodal__close { position: absolute; top: -44px; right: 0; background: none; border: 0; color: #fff; }

/* ------------------------------------------------ small phones */
@media (max-width: 400px) {
  .wrap { padding: 0 12px; }
  .flashbar__label { font-size: 13px; }
  .flash-badge-img { height: 26px; }
  .countdown-box { font-size: 11.5px; padding: 3px 6px; }
  .topnav__phone { font-size: 15px; }
  .order-btn { font-size: 12.5px; padding-left: 9px; }
  .order-btn__line { min-width: 26px; height: 26px; }
  .trust__in { font-size: 13px; }
  .trust .ic { width: 22px; height: 22px; }
  .pgrid { gap: 9px; }
  .price-sale { font-size: 20px; }
  .pcard__name { font-size: 13px; }
  .swatch { width: 29px; height: 29px; }
  .btn-orange { font-size: 24px; }
  .pdp__gallery, .fsband, .spec { margin-left: -12px; margin-right: -12px; }
  .pswatch { width: 56px; height: 56px; }
}
@media (max-width: 350px) {
  .topnav__phone { display: none; }
  .flashbar__label { display: none; }
}

/* ------------------------------------------------ tablet */
@media (min-width: 700px) {
  :where(html:not(.layout-phone)) .pgrid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
  :where(html:not(.layout-phone)) .gallery-grid { grid-template-columns: repeat(3, 1fr); }
  :where(html:not(.layout-phone)) .price-sale { font-size: 26px; }
  :where(html:not(.layout-phone)) .pcard__name { font-size: 15px; }
  :where(html:not(.layout-phone)) .surfaces li { font-size: 8px; }
}

/* ------------------------------------------------ desktop */
@media (min-width: 1024px) {
  :where(html:not(.layout-phone)) .flashbar__in { height: 46px; }
  :where(html:not(.layout-phone)) .flashbar__label { font-size: 17px; }
  :where(html:not(.layout-phone)) .countdown-box { font-size: 15px; }
  :where(html:not(.layout-phone)) .topnav__in { height: 64px; gap: 22px; }
  :where(html:not(.layout-phone)) .brand img { width: 76px; height: 56px; }
  :where(html:not(.layout-phone)) .topnav__phone { font-size: 24px; }
  :where(html:not(.layout-phone)) .phone-dot { width: 28px; height: 28px; }
  :where(html:not(.layout-phone)) .order-btn { font-size: 18px; padding-left: 18px; }
  :where(html:not(.layout-phone)) .order-btn__line { min-width: 36px; height: 36px; font-size: 10px; }
  :where(html:not(.layout-phone)) .catnav { display: block; background: #fff; border-bottom: 1px solid var(--rule); }
  :where(html:not(.layout-phone)) .catnav__in { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; }
  :where(html:not(.layout-phone)) .catnav a { flex: none; padding: 10px 14px; text-decoration: none; font-weight: 500; font-size: 15px; color: var(--ink-2); border-bottom: 3px solid transparent; }
  :where(html:not(.layout-phone)) .catnav a:hover { color: var(--price); border-bottom-color: var(--price); }
  :where(html:not(.layout-phone)) .site-header { position: sticky; }
  :where(html:not(.layout-phone)) .hero { max-width: var(--wrap); margin: 16px auto 0; border-radius: 16px; overflow: hidden; }
  :where(html:not(.layout-phone)) .blurfill::before { content: ""; position: absolute; inset: -30px; background: var(--bg) center / cover no-repeat; filter: blur(24px) brightness(.85); transform: scale(1.1); }
  :where(html:not(.layout-phone)) .blurfill > img, :where(html:not(.layout-phone)) .blurfill > a { position: relative; }
  :where(html:not(.layout-phone)) .hero__slide img { aspect-ratio: auto; height: 480px; width: 100%; object-fit: contain; }
  :where(html:not(.layout-phone)) .hero__text { max-width: 860px; left: 50%; transform: translateX(-50%); padding-top: 18px; }
  :where(html:not(.layout-phone)) .hero__nav { background: rgba(0,0,0,.25); border-radius: 50%; padding: 10px; }
  :where(html:not(.layout-phone)) .hero__nav--prev { left: 14px; }
  :where(html:not(.layout-phone)) .hero__nav--next { right: 14px; }
  :where(html:not(.layout-phone)) .trust { background: transparent; }
  :where(html:not(.layout-phone)) .trust__in { max-width: 820px; height: 60px; font-size: 18px; }
  /* desktop layout "stack" (default) = the mobile structure: full-width banner on top, products below */
  :where(html:not(.layout-phone)) .catsec__body { max-width: var(--wrap); margin: 0 auto; padding: 28px 16px 0; }
  :where(html:not(.layout-phone)) .catsec__banner { border-radius: 16px; }
  :where(html:not(.layout-phone)) .catsec__banner img { aspect-ratio: 538 / 210; height: auto; width: 100%; object-fit: cover; }
  :where(html:not(.layout-phone)) .catsec__banner::before { display: none; }
  :where(html:not(.layout-phone)) .catsec__products { padding: 0; }
  :where(html:not(.layout-phone)) .catsec__products .pgrid { padding: 20px 0 8px; }
  /* desktop layout "side": banner left (real shape, sticky, no blur), products right */
  :where(html.layout-side) .catsec__body { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 24px; padding-bottom: 8px; align-items: start; }
  :where(html.layout-side) .catsec__banner { position: sticky; top: 150px; }
  :where(html.layout-side) .catsec__title { grid-column: 1 / -1; padding: 0; }
  :where(html.layout-side) .catsec__products .pgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); padding: 0; }
  :where(html.layout-side) .catsec > .trust { display: none; }
  :where(html:not(.layout-phone)) .pgrid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
  :where(html:not(.layout-phone)) .pcard { padding: 10px 10px 16px; transition: transform .15s, box-shadow .15s; }
  :where(html:not(.layout-phone)) .pcard:hover { transform: translateY(-3px); box-shadow: 0 8px 22px rgba(60, 30, 0, .16); }
  :where(html:not(.layout-phone)) .block { padding: 48px 0; }
  :where(html:not(.layout-phone)) .sec-head h1, :where(html:not(.layout-phone)) .sec-head h2 { font-size: 34px; }
  :where(html:not(.layout-phone)) .sec-head p { font-size: 16px; }
  :where(html:not(.layout-phone)) .mosaic--after { grid-template-columns: repeat(4, 1fr); grid-auto-rows: 170px; }
  :where(html:not(.layout-phone)) .mosaic--after .mosaic__item { aspect-ratio: auto; }
  :where(html:not(.layout-phone)) .mosaic--after .mosaic__item--wide { grid-column: span 2; grid-row: span 2; aspect-ratio: auto; }
  :where(html:not(.layout-phone)) .mosaic--show { grid-template-columns: 2fr 1fr; grid-template-rows: repeat(3, 150px); }
  :where(html:not(.layout-phone)) .mosaic--show .mosaic__item { aspect-ratio: auto; }
  :where(html:not(.layout-phone)) .mosaic--show .mosaic__item--wide { grid-column: 1; grid-row: 1 / span 3; aspect-ratio: auto; }
  :where(html:not(.layout-phone)) .mosaic--cust { grid-template-columns: repeat(4, 1fr); }
  :where(html:not(.layout-phone)) .btn-orange, :where(html:not(.layout-phone)) .btn-outline { max-width: 520px; margin-left: auto; margin-right: auto; }
  :where(html:not(.layout-phone)) .location { padding: 40px 0; }
  :where(html:not(.layout-phone)) .location .wrap { display: grid; grid-template-columns: 1.3fr 1fr; gap: 0 24px; align-items: center; }
  :where(html:not(.layout-phone)) .location__map { height: 220px; grid-row: span 2; }
  :where(html:not(.layout-phone)) .location__card { margin-top: 0; }
  :where(html:not(.layout-phone)) .location__pin { display: none; }
  :where(html:not(.layout-phone)) .location .btn-orange { margin: 12px 0 0; max-width: none; }
  :where(html:not(.layout-phone)) .footer-body { display: grid; grid-template-columns: 1.2fr 1fr; gap: 0 40px; align-items: start; }
  :where(html:not(.layout-phone)) .socials { grid-column: 2; }
  :where(html:not(.layout-phone)) .footer-contact { grid-row: 1; grid-column: 2; margin-top: 0; }
  :where(html:not(.layout-phone)) /* product page: two columns */
  .pdp { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 32px; padding-top: 24px; align-items: start; }
  :where(html:not(.layout-phone)) .pdp__gallery { margin: 0; border-radius: 16px; overflow: hidden; position: sticky; top: 160px; }
  :where(html:not(.layout-phone)) .fsband { margin: 0; border-radius: 12px; overflow: hidden; }
  :where(html:not(.layout-phone)) .spec { margin: 16px 0 0; border-top: 0; padding: 0; }
  :where(html:not(.layout-phone)) .pdp__sale { font-size: 56px; }
  :where(html:not(.layout-phone)) .pdp__name { font-size: 22px; }
  :where(html:not(.layout-phone)) .desc, :where(html:not(.layout-phone)) .related { margin-top: 32px; }
  :where(html:not(.layout-phone)) .desc { border-top: 1px solid #ddd; }
  :where(html:not(.layout-phone)) .gallery-grid { grid-template-columns: repeat(4, 1fr); }
}
@media (prefers-reduced-motion: reduce) {
  html, .hero__track, .gal__track { scroll-behavior: auto; }
  .pcard { transition: none; }
}

/* ---------------- V2: product page badges, button colours from theme ---------------- */
/* badges fill the row evenly (5 badges = 5 equal columns, never 4 + 1) */
.pdp__badges { list-style: none; margin: 10px 0 0; padding: 0; display: grid; grid-template-columns: repeat(var(--n, 5), minmax(0, 1fr)); gap: 6px; }
.pdp__badges li { width: auto; background: #fff; border-radius: 10px; box-shadow: 0 1px 4px rgba(0,0,0,.08); padding: 4px; aspect-ratio: 1; display: grid; place-items: center; }
.pdp__badges img { width: 100%; height: auto; display: block; }
.btn-order { color: var(--on-green, #fff) !important; background: linear-gradient(var(--line-green), var(--line-green-2)) !important; }
.fsband { color: var(--on-red, #fff); }
.desc__more, .acc-body a, .sec-head__kicker, .location__kicker, .location__row .ic, .btn-outline .ic, .location__pin { color: var(--orange-cta); }
.sec-head__bar { background: var(--orange-cta); }
.btn-outline { border-color: var(--orange-cta); }
@media (min-width: 1024px) {
  :where(html:not(.layout-phone)) .pdp__badges { max-width: 560px; }
}

/* ------------------------------------------------ V2.1 sub pages: reviews / parts / showroom */
.pagehead { background: #fff; border-bottom: 1px solid var(--rule); }
.pagehead__in { position: relative; display: flex; align-items: center; min-height: 78px; padding-top: 8px; padding-bottom: 8px; }
.pagehead__back { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: #6f6f6f; color: #fff; }
.pagehead__back:hover { background: #4f4f4f; }
.pagehead__text { flex: 1; text-align: center; padding: 0 44px 0 52px; }
.pagehead__kicker { display: block; color: var(--orange-cta); font-size: 12px; font-weight: 600; }
.pagehead h1, .pagehead__title { font-size: clamp(20px, 6vw, 28px); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-weight: 700; color: #111; letter-spacing: -.3px; }
.pagehead p { margin: 0; color: #666; font-size: 15px; }
.block--page { background: #f2f2f2; padding: 10px 0 18px; }
.block--cream { background: var(--cream); }
.panel { background: #fff; border-radius: 16px; padding: 18px 14px 16px; }
.panel .sec-head h2 { font-size: 30px; }

.filters { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 4px 0 12px; }
.filters__btn { min-height: 40px; border-radius: 999px; border: 1px solid #ddd; background: #fff; color: #333; font-weight: 500; font-size: 15px; }
.filters__btn small { color: #999; font-size: 12px; }
.filters__btn.is-active { background: linear-gradient(180deg, var(--orange-cta-2), var(--orange-cta)); color: var(--on-accent, #fff); border-color: transparent; }
.filters__btn.is-active small { color: inherit; opacity: .8; }

.mgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.media { margin: 0; position: relative; border-radius: 10px; overflow: hidden; background: #e8e8e8; aspect-ratio: 1 / 1; }
.mgrid .media { aspect-ratio: 175 / 160; }
.media__hit { display: block; width: 100%; height: 100%; position: relative; color: #fff; }
.media img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.media__hit:hover img { transform: scale(1.04); }
.media__play { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); display: grid; place-items: center; width: 54px; height: 54px; border-radius: 50%; background: rgba(255,255,255,.92); color: #333; box-shadow: 0 2px 10px rgba(0,0,0,.25); }
.media__play .ic { margin-left: 3px; }
.media__tag { position: absolute; left: 8px; bottom: 8px; display: inline-flex; align-items: center; gap: 4px; background: rgba(0,0,0,.6); color: #fff; font-size: 12px; padding: 2px 8px; border-radius: 6px; }
.media__zoom { position: absolute; right: 8px; bottom: 8px; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 6px; background: rgba(0,0,0,.5); color: #fff; }
.media[hidden] { display: none; }

.linecta { margin-top: 16px; background: #fff3e6; border-radius: 14px; padding: 14px; }
.linecta__top { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; }
.linecta__ic { flex: none; color: var(--orange-cta); }
.linecta__top strong { display: block; font-size: 19px; font-weight: 700; color: #111; line-height: 1.2; }
.linecta__top span { display: block; font-size: 13px; color: #555; }
.linecta__btn { display: flex; align-items: center; justify-content: center; gap: 14px; min-height: 52px; border-radius: 10px; background: linear-gradient(var(--line-green), var(--line-green-2)); color: var(--on-green, #fff); text-decoration: none; font-weight: 600; font-size: 20px; position: relative; }
.linecta__btn > .ic:last-child { position: absolute; right: 14px; }
.linecta__line { display: inline-grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: #fff; color: var(--line-green); font-size: 10px; font-weight: 800; }

/* parts */
.parts-top { background: #fff; padding: 6px 0 12px; }
.parts-top__head { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; }
.parts-top__head h2 { font-size: 18px; font-weight: 700; }
.parts-top__hint { font-size: 12px; color: #888; white-space: nowrap; }
.models { display: flex; gap: 8px; overflow-x: auto; padding: 8px 2px 10px; scroll-snap-type: x mandatory; scrollbar-width: thin; }
.model { flex: none; width: 104px; scroll-snap-align: start; position: relative; display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 6px 4px 4px; border: 1.5px solid #e2e2e2; border-radius: 10px; background: #fff; text-decoration: none; color: #333; }
.model__img { display: block; width: 92px; height: 64px; }
.model__img img { width: 100%; height: 100%; object-fit: contain; }
.model__name { font-size: 11.5px; font-weight: 600; text-align: center; line-height: 1.2; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.model.is-active { border-color: var(--orange-cta); background: #fff6ec; }
.model.is-active .model__name { color: var(--orange-cta); }
.model__check { position: absolute; top: -6px; right: -6px; display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: var(--orange-cta); color: #fff; border: 2px solid #fff; }
.psearch { display: flex; align-items: center; gap: 8px; border: 1px solid #ddd; border-radius: 10px; padding: 0 12px; height: 44px; color: #777; background: #fff; }
.psearch input { flex: 1; min-width: 0; border: 0; outline: 0; font: inherit; font-size: 15px; background: transparent; color: var(--ink); }
.sec-title { display: flex; align-items: center; gap: 8px; margin-bottom: 12px; }
.sec-title__bar { flex: none; width: 5px; height: 22px; border-radius: 3px; background: var(--orange-cta); }
.sec-title h2 { font-size: 21px; font-weight: 700; }
.partgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.partcard { background: #fff; border-radius: 6px; box-shadow: 0 3px 8px rgba(0,0,0,.14); overflow: hidden; }
.partcard[hidden] { display: none; }
.partcard__link { display: flex; flex-direction: column; height: 100%; text-decoration: none; color: inherit; }
.partcard__img { aspect-ratio: 1 / 1; background: #fff; display: grid; place-items: center; overflow: hidden; }
.partcard__img img { width: 100%; height: 100%; object-fit: cover; }
.partcard__body { padding: 8px 10px 12px; display: flex; flex-direction: column; gap: 2px; flex: 1; }
.partcard__name { font-size: 14px; font-weight: 400; line-height: 1.35; color: #222; min-height: 2.7em; }
.partcard__code { font-size: 11.5px; color: #888; }
.partcard__body .price-normal { margin-top: auto; }
.partcard__body .price-sale { font-size: 26px; }
.partcard__ask { margin-top: auto; color: var(--orange-cta); font-weight: 600; }
.partcard__link:hover .partcard__name { color: var(--price); }

/* showroom */
.stabs { position: sticky; top: 94px; z-index: 5; display: flex; gap: 4px; overflow-x: auto; background: #fff; border-bottom: 1px solid var(--rule); margin: 0 0 8px; padding: 0; max-width: 100%; scrollbar-width: none; }
.stabs__a { flex: none; padding: 10px 12px; text-decoration: none; color: #555; font-weight: 500; border-bottom: 3px solid transparent; }
.stabs__a.is-active, .stabs__a:hover { color: var(--orange-cta); border-bottom-color: var(--orange-cta); }
.srsec { padding: 12px 0 6px; scroll-margin-top: 150px; }
.srsec__head { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; }
.srsec__head h3 { font-size: 20px; font-weight: 700; }
.srsec__all { margin-left: auto; display: inline-flex; align-items: center; gap: 2px; color: var(--orange-cta); font-size: 13px; text-decoration: none; font-weight: 500; }
.srgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.srgrid .media { aspect-ratio: 4 / 3; }
.srgrid .media--big { grid-column: 1 / -1; aspect-ratio: 16 / 9; }

.gallery-grid .gtile { margin: 0; position: relative; border-radius: 10px; overflow: hidden; background: #eee; }
.gallery-grid .gtile .media__hit { aspect-ratio: 4 / 3; }
.gallery-grid .gtile img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: auto; }
.gallery-grid .gtile figcaption { padding: 6px 8px; font-size: 13px; background: #fff; }
.mosaic__item.media .media__hit { height: 100%; }
.acc-body a { display: block; margin-top: 4px; }
.vmodal__frame img { width: 100%; max-height: 82vh; object-fit: contain; display: block; background: #000; }

@media (min-width: 720px) {
  :where(html:not(.layout-phone)) .mgrid { grid-template-columns: repeat(3, 1fr); }
  :where(html:not(.layout-phone)) .partgrid { grid-template-columns: repeat(3, 1fr); }
  :where(html:not(.layout-phone)) .srgrid { grid-template-columns: 2fr 1fr; grid-template-rows: 1fr 1fr; }
  :where(html:not(.layout-phone)) .srgrid .media--big { grid-column: 1; grid-row: 1 / span 2; aspect-ratio: auto; }
  :where(html:not(.layout-phone)) .srgrid .media { aspect-ratio: 4 / 3; }
  :where(html:not(.layout-phone)) .linecta { display: flex; align-items: center; gap: 16px; }
  :where(html:not(.layout-phone)) .linecta__top { flex: 1; margin: 0; }
  :where(html:not(.layout-phone)) .linecta__btn { flex: 0 0 360px; }
}
@media (min-width: 1024px) {
  :where(html:not(.layout-phone)) .mgrid, :where(html:not(.layout-phone)) .partgrid { grid-template-columns: repeat(4, 1fr); }
  :where(html:not(.layout-phone)) .stabs { top: 140px; }
  :where(html:not(.layout-phone)) .panel { padding: 24px; }
}
.vmodal__frame--img { aspect-ratio: auto; background: transparent; }
.vmodal__frame--tall { aspect-ratio: 9 / 16; max-height: 86vh; width: min(420px, 94vw); margin: 0 auto; }

/* ------------------------------------------------ product card 1:1 with the design (V2.1.2)
   Sizes are in cqw (% of the card's inner width) so the card keeps the design proportions on every screen.
   Reference: design card 240 px wide, inner 228 px. Fallback px values above stay for old browsers. */
.pcard { container-type: inline-size; padding: 6px 6px 12px; }
.pcard__media { position: relative; }
.pcard__media.has-badges { display: block; padding-right: 18cqw; }
.pcard__img { aspect-ratio: 1 / 1; border-radius: 6px; }
.pcard__img img { object-fit: contain; transform: none; }
/* badge column is pinned to the photo height: 5 equal slots, every icon the same size on every card */
.pcard__badges { position: absolute; top: 0; right: 0; bottom: 0; width: 16.5cqw; display: grid; grid-template-rows: repeat(5, 1fr); gap: 0; padding: 0; }
.pcard__badges li { display: flex; align-items: center; justify-content: center; min-height: 0; }
.pcard__badges img { width: 100%; height: 100%; max-height: 100%; aspect-ratio: auto; object-fit: contain; }
.pcard__name { font-size: 6.9cqw; line-height: 1.62; color: #444; margin: 1.2cqw 1cqw 0; min-height: 3.36em; }
.pcard__pricerow { margin: 1.6cqw 1cqw 0; align-items: center; }
.pcard__prices { min-width: 0; }
.pcard .price-normal { font-size: 6cqw; color: #9a9a9a; }
.pcard .price-sale { font-size: 15cqw; line-height: 1.12; letter-spacing: -.02em; }
.speed-img { flex: none; width: 21cqw; height: auto; mix-blend-mode: multiply; margin-right: -1cqw; }
.pcard .speed .ic { width: 11cqw; height: 11cqw; }
.pcard .speed__label { font-size: 3.6cqw; } .pcard .speed__val { font-size: 5cqw; } .pcard .speed__unit { font-size: 2.8cqw; }
.pcard .swatches { margin: 1.4cqw 0 0; padding: 0 0 3cqw; gap: 1.75cqw; border-bottom: 1px solid #e3e3e3; }
.pcard .swatch { width: 17.1cqw; height: 17.1cqw; padding: .5cqw; border: .9cqw solid #bdbdbd; }
.pcard .swatch.is-active { border: 1.3cqw solid #1f3d2a; box-shadow: none; }
.pcard__surf { margin: 2.6cqw 1cqw 0; }
.pcard__surf-title { font-size: 7.4cqw; font-weight: 700; color: #222; }
.pcard .surfaces { max-width: none; gap: 2cqw; margin-top: 2cqw; }
.pcard .surfaces img { max-width: none; width: 100%; }
.pcard .surfaces li { font-size: max(7px, 3.2cqw); color: #333; }
@media (min-width: 1024px) {
  :where(html:not(.layout-phone)) .pcard { padding: 8px 8px 14px; }
}

/* parts card 1:1 with the design (cut-out part on white, name, ราคาปกติ, sale price) */
.partgrid { gap: 10px; }
.partcard { container-type: inline-size; border-radius: 6px; box-shadow: 0 3px 7px rgba(0,0,0,.16); }
.partcard__img { aspect-ratio: 1 / 1; background: #fff; padding: 0; }
.partcard__img img { object-fit: contain; width: 100%; height: 100%; }
.partcard__body { padding: 1cqw 4cqw 5cqw; gap: .6cqw; }
.partcard__name { font-size: 7.6cqw; line-height: 1.55; color: #333; min-height: 3.1em; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.partcard__code { font-size: 5.6cqw; }
.partcard .price-normal { font-size: 6cqw; color: #9a9a9a; margin-top: 1cqw; }
.partcard__body .price-sale { font-size: 14.5cqw; line-height: 1.1; letter-spacing: -.02em; }
.partcard__ask { font-size: 8cqw; }
.kw { display: inline-block; max-width: 100%; white-space: nowrap; overflow: hidden; vertical-align: top; }

/* desktop layout "phone": the whole site as the mobile design, centred (1:1 with the phone version) */
@media (min-width: 600px) {
  html.layout-phone { background: #e7e0d8; }
  html.layout-phone body { max-width: 540px; margin: 0 auto; min-height: 100vh; box-shadow: 0 0 40px rgba(0, 0, 0, .14); }
  html.layout-phone .vmodal__box { width: min(960px, 94vw); }
}

/* ------------------------------------------------ rich text (product description / features) */
.rt { white-space: normal; overflow-wrap: anywhere; }
.rt > :first-child { margin-top: 0; }
.rt p { margin: 0 0 .8em; }
.rt h2 { font-size: 1.35em; font-weight: 700; margin: 1.1em 0 .45em; }
.rt h3 { font-size: 1.18em; font-weight: 600; margin: 1em 0 .4em; color: inherit; }
.rt h4 { font-size: 1.05em; font-weight: 600; margin: .9em 0 .35em; }
.rt ul, .rt ol { margin: 0 0 .9em; padding-left: 1.4em; }
.rt li { margin: .2em 0; }
.rt a { color: #1b5fd1; text-decoration: underline; }
.rt blockquote { margin: 1em 0; padding: .7em 1em; border-left: 4px solid #fc6e00; background: #fff6ec; border-radius: 0 10px 10px 0; }
.rt hr { border: 0; border-top: 2px solid #eadfd3; margin: 1.2em 0; }
.rt figure { margin: 1em auto; }
.rt figure img, .rt > img { width: 100%; height: auto; border-radius: 10px; display: block; }
.rt figure.size-25 { width: 25%; } .rt figure.size-50 { width: 50%; } .rt figure.size-75 { width: 75%; } .rt figure.size-100 { width: 100%; }
.rt figure.align-left { margin-left: 0; margin-right: auto; } .rt figure.align-right { margin-right: 0; margin-left: auto; }
.rt figcaption { font-size: .85em; color: #777; text-align: center; margin-top: .4em; }
.rt .rt-video { position: relative; aspect-ratio: 16 / 9; margin: 1em 0; border-radius: 12px; overflow: hidden; background: #000; }
.rt .rt-video--tall { aspect-ratio: 9 / 16; max-width: 360px; margin-left: auto; margin-right: auto; }
.rt .rt-video iframe, .rt .rt-video video { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.rt .rt-scroll { overflow-x: auto; margin: 1em 0; -webkit-overflow-scrolling: touch; }
.rt table { width: 100%; border-collapse: collapse; margin: 0; font-size: .95em; min-width: 320px; }
.rt th, .rt td { border: 1px solid #e3d6c8; padding: .5em .7em; text-align: left; vertical-align: top; }
.rt th { background: #fff1e3; font-weight: 600; }
.rt tbody tr:nth-child(even) td { background: #fffaf5; }

/* ------------------------------------------------ image buttons in the header (owner's button pictures) */
.topnav__phone--img { padding: 0; text-shadow: none; -webkit-text-stroke: 0; min-width: 0; }
.topnav__phone--img img { height: 30px; width: auto; display: block; }
.order-btn--img { padding: 0; background: none !important; box-shadow: none; border-radius: 999px; flex: none; }
.order-btn--img img { height: 38px; width: auto; display: block; }
.order-btn--img:hover img, .topnav__phone--img:hover img { filter: brightness(1.06); }
@media (max-width: 380px) { .topnav__phone--img img { height: 24px; } .order-btn--img img { height: 32px; } }
@media (min-width: 1024px) { :where(html:not(.layout-phone)) .topnav__phone--img img { height: 40px; } :where(html:not(.layout-phone)) .order-btn--img img { height: 48px; } }

/* ------------------------------------------------ big LINE order button under the product (owner's design) */
.lineorder { margin-top: 16px; display: grid; gap: 8px; }
.lineorder__btn { display: flex; align-items: center; gap: 14px; min-height: 76px; padding: 10px 14px 10px 16px; border-radius: 14px; background: #03981b; color: #fff; text-decoration: none; box-shadow: 0 4px 0 #027214, 0 6px 16px rgba(3, 152, 27, .28); transition: transform .12s, box-shadow .12s; }
.lineorder__btn:hover { transform: translateY(-1px); }
.lineorder__btn:active { transform: translateY(2px); box-shadow: 0 2px 0 #027214; }
.lineorder__logo { flex: none; width: 52px; height: auto; }
.lineorder__bar { flex: none; width: 2px; align-self: stretch; margin: 6px 0; background: rgba(255, 255, 255, .85); border-radius: 2px; }
.lineorder__text { flex: 1; min-width: 0; display: grid; line-height: 1.2; }
.lineorder__text b { font-size: clamp(21px, 6.4vw, 28px); font-weight: 700; letter-spacing: -.2px; white-space: nowrap; }
.lineorder__text small { font-size: clamp(11px, 3.3vw, 15px); font-weight: 500; opacity: .97; margin-top: 3px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lineorder__chev { flex: none; display: grid; place-items: center; }
.lineorder__call { display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 44px; color: #0b2f6b; font-weight: 700; font-size: 24px; text-decoration: none; letter-spacing: .2px; }
.lineorder__call .ic { color: #0b2f6b; }
.lineorder__call:hover span { text-decoration: underline; }
@media (max-width: 440px) { .lineorder__btn { gap: 10px; padding-left: 12px; padding-right: 8px; } .lineorder__logo { width: 44px; } .lineorder__text small { font-size: clamp(11px, 3.15vw, 14px); } .lineorder__call { font-size: 20px; } }

/* ------------------------------------------------ video slides (product gallery + homepage banner) */
.slide-video { position: relative; display: block; width: 100%; padding: 0; border: 0; background: #111; cursor: pointer; color: #fff; }
.slide-video img { width: 100%; display: block; object-fit: cover; }
.gal__slide--video .slide-video img, .gal__slide--video .slide-video__blank { aspect-ratio: 536 / 520; }
.slide-video--hero img, .slide-video--hero .slide-video__blank { aspect-ratio: 1600 / 860; }
.slide-video__blank { display: block; width: 100%; background: radial-gradient(circle at 50% 40%, #3a3a3a, #111); }
.slide-video__play { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); display: grid; place-items: center; width: 78px; height: 78px; border-radius: 50%; background: rgba(255, 255, 255, .92); color: #222; box-shadow: 0 6px 24px rgba(0, 0, 0, .35); transition: transform .15s; }
.slide-video__play .ic { margin-left: 5px; }
.slide-video:hover .slide-video__play { transform: translate(-50%, -50%) scale(1.07); }
.slide-video__tag { position: absolute; left: 12px; top: 12px; display: inline-flex; align-items: center; gap: 5px; padding: 3px 10px; border-radius: 999px; background: var(--orange-cta-2); color: #fff; font-size: 13px; font-weight: 600; }
.gal__slide--video .slide-video__tag { top: auto; bottom: 56px; }
.gal__slide--video, .hero__slide--video { position: relative; }
.slide-player { position: relative; width: 100%; background: #000; }
.gal__slide--video .slide-player { aspect-ratio: 536 / 520; }
.hero__slide--video .slide-player { aspect-ratio: 1600 / 860; }
.slide-player iframe, .slide-player video { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.slide-player--tall iframe { left: 50%; width: min(100%, 56.25vh); transform: translateX(-50%); }
.slide-player__close { position: absolute; bottom: 12px; right: 12px; z-index: 3; width: 36px; height: 36px; border-radius: 50%; border: 0; background: rgba(0,0,0,.6); color: #fff; font-size: 24px; line-height: 1; cursor: pointer; }
.gal__slide.is-playing ~ * , .hero__slide.is-playing ~ * { }
.has-playing .media-pills, .has-playing .hero__text { opacity: 0; pointer-events: none; }
.has-playing .circle-btn { z-index: 4; }
.hero__slide--video .hero__text { pointer-events: none; }
@media (min-width: 1024px) {
  :where(html:not(.layout-phone)) .slide-video--hero img, :where(html:not(.layout-phone)) .slide-video--hero .slide-video__blank,
  :where(html:not(.layout-phone)) .hero__slide--video .slide-player { aspect-ratio: auto; height: 480px; }
}
.slide-video[hidden] { display: none !important; }
.gal__slide .slide-video img, .slide-video img { background: #111; }

/* ------------------------------------------------ Flash Sale bar (V2.5 design: mobile stacked, PC one row) */
.flashbar { background: linear-gradient(180deg, #d2001f 0%, #b8001a 100%); color: #fff; position: relative; z-index: 41; }
.flashbar__in { display: grid; grid-template-columns: 1fr; justify-items: center; gap: 2px; height: auto; padding-top: 8px; padding-bottom: 10px; }
.flashbar__title { display: inline-flex; align-items: center; gap: 4px; line-height: 1; }
.flashbar__bolt { width: 26px; height: 36px; transform: skewX(-8deg); filter: drop-shadow(0 1px 0 rgba(0,0,0,.25)); }
.flashbar__name { font-family: "Kanit", sans-serif; font-style: italic; font-weight: 800; font-size: clamp(29px, 9.5vw, 40px); letter-spacing: -.5px; text-shadow: 0 2px 0 rgba(0,0,0,.22); }
.flashbar__sep { display: none; }
.flashbar__label { display: block !important; font-size: 18px; font-weight: 600; line-height: 1.1; margin-top: -2px; white-space: nowrap; }
.cd { display: flex; align-items: center; gap: 6px; margin-top: 6px; }
.cd__box { display: grid; justify-items: center; min-width: clamp(56px, 19.5vw, 92px); padding: 6px 6px 5px; border-radius: 10px; background: #141418; box-shadow: inset 0 -2px 0 rgba(255,255,255,.06), 0 2px 6px rgba(0,0,0,.25); line-height: 1; }
.cd__box b { font-size: clamp(28px, 10vw, 44px); font-weight: 700; font-variant-numeric: tabular-nums; letter-spacing: -.5px; }
.cd__box small { font-size: clamp(11px, 3.6vw, 15px); font-weight: 600; margin-top: 3px; }
.cd__colon { font-style: normal; font-weight: 700; font-size: 22px; opacity: .9; }
.cd.is-expired .cd__box, .cd.is-expired .cd__colon { display: none; }
.cd__done { font-weight: 700; font-size: 18px; padding: 8px 14px; background: #141418; border-radius: 10px; }

/* PC: one row  ⚡ FLASH SALE | ส่วนลดจะหมดใน [02]:[14]:[32]:[53] */
@media (min-width: 760px) {
  :where(html:not(.layout-phone)) .flashbar__in { display: flex; justify-content: center; align-items: center; gap: 16px; padding-top: 6px; padding-bottom: 6px; }
  :where(html:not(.layout-phone)) .flashbar__name { font-size: 32px; }
  :where(html:not(.layout-phone)) .flashbar__sep { display: block; width: 2px; height: 30px; background: rgba(255,255,255,.85); border-radius: 2px; }
  :where(html:not(.layout-phone)) .flashbar__label { font-size: 21px; margin: 0; }
  :where(html:not(.layout-phone)) .cd { margin: 0; gap: 5px; }
  :where(html:not(.layout-phone)) .cd__box { min-width: 50px; padding: 3px 6px; border-radius: 8px; }
  :where(html:not(.layout-phone)) .cd__box b { font-size: 26px; }
  :where(html:not(.layout-phone)) .cd__box small { font-size: 11px; margin-top: 1px; }
  :where(html:not(.layout-phone)) .cd__colon { font-size: 18px; }
}
/* the menu bar stays pinned; the tall flash bar scrolls away */
.site-header { position: sticky; top: 0; }
.stabs { top: 50px; }
@media (min-width: 1024px) {
  :where(html:not(.layout-phone)) .stabs { top: 108px; }
  :where(html:not(.layout-phone)) .pdp__gallery { top: 124px; }
  :where(html.layout-side) .catsec__banner { top: 124px; }
}

/* ------------------------------------------------ trust cards — DESKTOP ONLY (mobile strip unchanged) */
@media (min-width: 1024px) {
  :where(html:not(.layout-phone)) .trust { background: transparent; }
  :where(html:not(.layout-phone)) .trust__in { max-width: var(--wrap); height: auto; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; padding-top: 22px; padding-bottom: 6px; font-size: inherit; container-type: inline-size; }
  :where(html:not(.layout-phone)) .trust__sep { display: none; }
  :where(html:not(.layout-phone)) .trust__item { display: flex; align-items: center; gap: 1.6cqw; min-width: 0; padding: 1.3cqw 1.6cqw; background: #fff; border: 2px solid #ffd3a8; border-radius: 18px; box-shadow: 0 6px 14px rgba(252, 110, 0, .12); white-space: nowrap; }
  :where(html:not(.layout-phone)) .trust__ic { flex: none; display: grid; place-items: center; width: 6.4cqw; height: 6.4cqw; border-radius: 14px; background: #fff1e0; color: var(--orange-cta); }
  :where(html:not(.layout-phone)) .trust__ic .ic { width: 64%; height: 64%; stroke-width: 1.7; }
  :where(html:not(.layout-phone)) .trust__txt { font-size: 2.7cqw; font-weight: 700; color: #2b2b2b; letter-spacing: -.3px; white-space: nowrap; }
  :where(html:not(.layout-phone)) .trust__hl { color: var(--orange-cta); }
  /* desktop: the big cards appear once (under the banner), not again after every category */
  :where(html:not(.layout-phone)) .catsec > .trust { display: none; }
}

/* ------------------------------------------------ MINITANKZ CARE (homepage: after-sales · showroom · reviews) */
.care { --care-green: #143f22; background: #fff; }
.care__intro { background: #f8f0e4; padding: 14px 0 12px; text-align: center; }
.care__kicker { display: flex; align-items: center; justify-content: center; gap: 12px; }
.care__kicker::before, .care__kicker::after { content: ""; width: 44px; height: 2px; background: var(--orange-cta); border-radius: 2px; }
.care__kicker span { display: inline-block; padding: 3px 16px; border-radius: 999px; background: linear-gradient(180deg, #ff8a1f, var(--orange-cta)); color: #fff; font-weight: 700; font-size: 14px; letter-spacing: .3px; }
.care__title { margin-top: 4px; font-size: clamp(26px, 7.4vw, 44px); font-weight: 700; color: var(--care-green); line-height: 1.2; }
.care__lead { margin: 2px 0 0; font-size: clamp(12px, 3.3vw, 18px); font-weight: 500; color: #333; }
.care__block { padding: 12px 0 14px; }
.care__block--reviews { background: #f4f4f4; }
.care__head { text-align: center; margin-bottom: 10px; }
.care__h { font-size: clamp(18px, 5.3vw, 30px); font-weight: 700; color: var(--care-green); line-height: 1.2; }
.care__h--lines { display: flex; align-items: center; justify-content: center; gap: 10px; white-space: nowrap; }
.care__h--lines > span { min-width: 0; }
.care__h--lines::before, .care__h--lines::after { content: ""; flex: 0 1 34px; height: 2px; background: var(--orange-cta); border-radius: 2px; }
.care__sub { margin: 2px 0 0; font-size: clamp(12px, 3.4vw, 16px); font-weight: 500; color: #333; }
.care__grid4 { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.care .care__ph { border-radius: 10px; aspect-ratio: 1 / 1; box-shadow: 0 2px 6px rgba(0,0,0,.12); }
.care__grid4--reviews .care__ph { aspect-ratio: 196 / 158; }
.care__ph .media__zoom { display: none; }
.care__cta { display: flex; align-items: center; justify-content: center; gap: 18px; margin-top: 10px; min-height: 44px; border-radius: 10px; background: linear-gradient(180deg, #ff8a1f, var(--orange-cta)); color: #fff; text-decoration: none; font-size: clamp(18px, 5vw, 24px); font-weight: 600; box-shadow: 0 3px 8px rgba(252, 110, 0, .3); }
.care__cta:hover { filter: brightness(1.05); }
.care__cards { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.care__card { display: flex; flex-direction: column; border-radius: 10px; overflow: hidden; background: #fbf3df; text-decoration: none; color: #1d1d1d; box-shadow: 0 2px 6px rgba(0,0,0,.12); }
.care__cardimg { position: relative; display: block; aspect-ratio: 196 / 172; background: #e8e2d8; overflow: hidden; }
.care__cardimg img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.care__card:hover .care__cardimg img { transform: scale(1.04); }
.care__cardlabel { display: flex; align-items: center; justify-content: center; gap: 8px; padding: 6px 4px; font-size: clamp(14px, 3.9vw, 18px); font-weight: 600; }
.care__cardlabel .ic { color: #1d1d1d; }
.care__more { display: flex; align-items: center; justify-content: center; gap: 14px; width: min(80%, 340px); margin: 12px auto 0; min-height: 34px; border: 2px solid var(--orange-cta); border-radius: 12px; background: #fff; color: var(--orange-cta); text-decoration: none; font-size: clamp(15px, 4.2vw, 19px); font-weight: 600; }
.care__more:hover { background: #fff6ec; }
.care__more .ic { color: var(--orange-cta); }
.care__moreplay { display: inline-grid; place-items: center; width: 24px; height: 24px; border: 2px solid var(--orange-cta); border-radius: 50%; }
.care__moreplay .ic { margin-left: 2px; }

/* desktop (1024px+): after-sales = photos left · text + button right; showroom + reviews = 4 in a row */
@media (min-width: 1024px) {
  :where(html:not(.layout-phone)) .care__intro { padding: 28px 0 26px; }
  :where(html:not(.layout-phone)) .care__kicker::before, :where(html:not(.layout-phone)) .care__kicker::after { width: 110px; }
  :where(html:not(.layout-phone)) .care__kicker span { font-size: 22px; padding: 6px 34px; }
  :where(html:not(.layout-phone)) .care__title { font-size: 58px; margin-top: 6px; }
  :where(html:not(.layout-phone)) .care__lead { font-size: 22px; }
  :where(html:not(.layout-phone)) .care__block { padding: 40px 0; }
  :where(html:not(.layout-phone)) .care__block--after { border-bottom: 1px solid #f0e8de; }
  :where(html:not(.layout-phone)) .care__after { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); grid-template-areas: "photos head" "photos cta"; column-gap: 40px; align-content: center; max-width: 1060px; }
  :where(html:not(.layout-phone)) .care__after .care__grid4 { grid-area: photos; gap: 16px; }
  :where(html:not(.layout-phone)) .care__head--after { grid-area: head; align-self: end; text-align: left; margin: 0; }
  :where(html:not(.layout-phone)) .care__h--lines-m { display: block; }
  :where(html:not(.layout-phone)) .care__h--lines-m::before, :where(html:not(.layout-phone)) .care__h--lines-m::after { display: none; }
  :where(html:not(.layout-phone)) .care__head--after .care__h { font-size: 44px; }
  :where(html:not(.layout-phone)) .care__head--after .care__sub { font-size: 20px; margin-top: 14px; }
  :where(html:not(.layout-phone)) .care__cta { grid-area: cta; align-self: start; margin-top: 36px; min-height: 78px; font-size: 34px; border-radius: 14px; gap: 26px; }
  :where(html:not(.layout-phone)) .care__h { font-size: 46px; }
  :where(html:not(.layout-phone)) .care__h--lines { gap: 34px; }
  :where(html:not(.layout-phone)) .care__h--lines::before, :where(html:not(.layout-phone)) .care__h--lines::after { flex-basis: 84px; height: 3px; }
  :where(html:not(.layout-phone)) .care__sub { font-size: 21px; }
  :where(html:not(.layout-phone)) .care__head { margin-bottom: 26px; }
  :where(html:not(.layout-phone)) .care__cards, :where(html:not(.layout-phone)) .care__grid4--reviews { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; max-width: 1060px; margin: 0 auto; }
  :where(html:not(.layout-phone)) .care__cardimg { aspect-ratio: 250 / 240; }
  :where(html:not(.layout-phone)) .care__cardlabel { font-size: 24px; padding: 10px 6px; gap: 12px; }
  :where(html:not(.layout-phone)) .care__cardlabel .ic { width: 26px; height: 26px; }
  :where(html:not(.layout-phone)) .care__grid4--reviews .care__ph { aspect-ratio: 236 / 204; }
  :where(html:not(.layout-phone)) .care__more { width: 380px; min-height: 50px; font-size: 24px; margin-top: 34px; border-radius: 14px; }
}
.care__cta > .ic:first-child { width: 1.25em; height: 1.25em; }

/* header image buttons: always keep their real proportions (never squeezed); shrink together when space is short */
.topnav__in { min-width: 0; }
.topnav__phone--img { flex: 0 1 auto; min-width: 0; display: flex; align-items: center; }
.topnav__phone--img img { width: auto; height: auto; max-width: 100%; max-height: 30px; object-fit: contain; }
.order-btn--img { flex: 0 1 auto; min-width: 0; display: flex; align-items: center; }
.order-btn--img img { width: auto; height: auto; max-width: 100%; max-height: 38px; object-fit: contain; }
.brand { flex: none; }
.brand img { object-fit: contain; }
@media (max-width: 380px) { .topnav__phone--img img { max-height: 24px; } .order-btn--img img { max-height: 32px; } }
/* PC: phone number sits on the right, next to the order button */
@media (min-width: 1024px) {
  :where(html:not(.layout-phone)) .topnav__phone { margin-left: auto; }
  :where(html:not(.layout-phone)) .order-btn { margin-left: 0; }
  :where(html:not(.layout-phone)) .topnav__in { gap: 18px; }
  :where(html:not(.layout-phone)) .topnav__phone--img img { max-height: 40px; }
  :where(html:not(.layout-phone)) .order-btn--img img { max-height: 48px; }
}
/* safety net: any picture given a fixed box keeps its proportions */
img[width][height] { object-fit: contain; }
.pcard__img img, .gal__slide img, .partcard__img img, .media img, .care__cardimg img, .catsec__banner img,
.mosaic__item img, .slide-video img, .gtile img { object-fit: var(--fit, cover); }
.pcard__img img, .gal__slide img, .partcard__img img { --fit: contain; }

/* ------------------------------------------------ LINE help boxes (parts / showroom / reviews) — V2.7 design */
.linecta { display: block; margin-top: 16px; padding: 14px; background: #fff; border-radius: 16px; box-shadow: 0 0 0 6px #fdf3e6, 0 6px 16px rgba(120, 70, 0, .12); }
.linecta__top { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.linecta__ic { flex: none; display: grid; place-items: center; width: 52px; height: 52px; border-radius: 12px; background: #fff0de; color: var(--orange-cta); }
.linecta__ic .ic { width: 30px; height: 30px; }
.linecta__top strong { display: block; font-size: clamp(18px, 5.2vw, 24px); font-weight: 700; color: #143f22; line-height: 1.2; }
.linecta__top span { display: block; margin-top: 2px; font-size: clamp(12.5px, 3.5vw, 16px); color: #444; }
.linecta__btn { position: relative; display: flex; align-items: center; justify-content: center; gap: 12px; min-height: 54px; padding: 0 44px 0 14px; border-radius: 12px; background: linear-gradient(180deg, #1fb43c, #0f8f2a); color: #fff; text-decoration: none; font-weight: 700; font-size: clamp(17px, 5vw, 23px); box-shadow: 0 3px 0 #0b7322; }
.linecta__btn:hover { filter: brightness(1.05); }
.linecta__line { flex: none; width: 40px; height: auto; background: none; border-radius: 0; }
.linecta__label { white-space: nowrap; }
.linecta__btn > .ic:last-child { position: absolute; right: 14px; }
@media (min-width: 720px) {
  .linecta { display: flex; align-items: center; gap: 18px; padding: 16px 18px; }
  .linecta__top { flex: 1; margin: 0; }
  .linecta__ic { width: 64px; height: 64px; }
  .linecta__ic .ic { width: 38px; height: 38px; }
  .linecta__btn { flex: 0 0 auto; min-width: 360px; }
}

/* footer: 3 rows are links to the pages */
.accordion--links .acc-link { display: flex; justify-content: space-between; align-items: center; padding: 10px 20px; font-size: 18px; font-weight: 500; color: inherit; text-decoration: none; border-top: 1.5px solid #111; }
.accordion--links .acc-link:last-child { border-bottom: 1.5px solid #111; }
.accordion--links .acc-link:hover { color: var(--orange-cta); }

/* company box: live Google map + "เปิดแผนที่" button */
.location__map--live { position: relative; height: 200px; overflow: hidden; background: #e8e2d8; }
.location__map--live iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.location__map--live + .location__card { margin-top: 10px; }
.mapbtn { display: flex; align-items: center; justify-content: center; gap: 16px; margin-top: 12px; min-height: 58px; border-radius: 14px; background: linear-gradient(90deg, #ff7a12, #f25a00); color: #fff; text-decoration: none; font-size: clamp(20px, 6vw, 28px); font-weight: 700; box-shadow: 0 4px 12px rgba(242, 90, 0, .3); }
.mapbtn:hover { filter: brightness(1.05); }
.mapbtn__ic { display: grid; place-items: center; width: 44px; height: 40px; border-radius: 10px; background: rgba(255, 255, 255, .2); }
@media (min-width: 1024px) {
  :where(html:not(.layout-phone)) .location__map--live { height: 280px; grid-row: span 2; }
  :where(html:not(.layout-phone)) .location__map--live + .location__card { margin-top: 0; }
  :where(html:not(.layout-phone)) .location .mapbtn { margin: 12px 0 0; }
}
.linecta__top .linecta__ic { display: grid; color: var(--orange-cta); margin: 0; }
.linecta__top > div > span { display: block; }
.location__map--live ~ .location__card .location__pin { display: none; }

/* owner's button pictures (LINE help boxes + map) */
.ctaimg { display: block; margin-top: 16px; border-radius: 14px; box-shadow: 0 0 0 6px #fdf3e6, 0 6px 16px rgba(120, 70, 0, .12); transition: transform .12s; }
.ctaimg:hover { transform: translateY(-1px); }
.ctaimg img { display: block; width: 100%; height: auto; }
@media (min-width: 720px) { .ctaimg { max-width: 960px; margin-left: auto; margin-right: auto; } }
.mapbtn--img { display: block; min-height: 0; padding: 0; background: none; box-shadow: none; border-radius: 0; }
.mapbtn--img img { display: block; width: 100%; height: auto; filter: drop-shadow(0 4px 10px rgba(242, 90, 0, .28)); }

/* product page Flash Sale band = same look as the top bar (+ SAVE ribbon in the corner) */
.fsband--tiles { position: relative; display: block; min-height: 0; padding: 0; z-index: auto; }
.fsband--tiles .flashbar__in { padding-left: 16px; padding-right: 16px; }
.fsband--tiles .fsband__save { position: absolute; top: 0; right: 10px; bottom: auto; height: auto; padding: 4px 9px 12px; }
.fsband--tiles .fsband__save span { font-size: 13px; } .fsband--tiles .fsband__save b { font-size: 17px; }
@media (max-width: 420px) { .fsband--tiles .flashbar__title { margin-right: 54px; } }
@media (min-width: 760px) {
  :where(html:not(.layout-phone)) .fsband--tiles .flashbar__in { display: grid; justify-content: center; justify-items: center; gap: 2px; padding-top: 10px; padding-bottom: 12px; }
  :where(html:not(.layout-phone)) .fsband--tiles .flashbar__sep { display: none; }
  :where(html:not(.layout-phone)) .fsband--tiles .flashbar__label { margin-top: -2px; }
  :where(html:not(.layout-phone)) .fsband--tiles .cd { margin-top: 6px; }
}

/* LINE box: picture button inside the HTML card */
.linecta__imgbtn { display: block; border-radius: 12px; transition: transform .12s; }
.linecta__imgbtn:hover { transform: translateY(-1px); }
.linecta__imgbtn img { display: block; width: 100%; height: auto; filter: drop-shadow(0 3px 5px rgba(15, 143, 42, .30)); }
.linecta__imgbtn:hover img { filter: drop-shadow(0 4px 7px rgba(15, 143, 42, .36)) brightness(1.04); }
@media (min-width: 720px) { .linecta__imgbtn { flex: 0 0 auto; width: min(420px, 46%); } }

/* ---- 2.7.4 LINE order button per owner's design: big title, special price in large yellow ---- */
.lineorder__btn { background: linear-gradient(#10a51e, #0b9617); border-radius: 18px; min-height: 0; padding: clamp(12px, 3.4vw, 18px) clamp(10px, 3vw, 18px) clamp(12px, 3.4vw, 18px) clamp(14px, 4vw, 22px); gap: clamp(10px, 3vw, 16px); box-shadow: 0 5px 0 #08700f, 0 8px 18px rgba(3, 152, 27, .26); }
.lineorder__btn:active { box-shadow: 0 2px 0 #08700f; }
.lineorder__logo { width: clamp(46px, 13.5vw, 64px); }
.lineorder__bar { width: 3px; margin: 2px 0; background: #fff; }
.lineorder__text { gap: 2px; }
.lineorder__text b { font-size: clamp(25px, 7.6vw, 36px); font-weight: 800; line-height: 1.1; letter-spacing: -.3px; }
.lineorder__text small { font-size: clamp(13px, 3.9vw, 18px); font-weight: 600; margin-top: 0; overflow: visible; display: flex; align-items: baseline; gap: .3em; white-space: nowrap; }
.lineorder__price { font-style: normal; color: #ffe347; font-weight: 800; font-size: 1.42em; line-height: 1; letter-spacing: -.2px; }
.lineorder__chev .ic { width: clamp(26px, 7.5vw, 36px); height: auto; }
@media (max-width: 440px) { .lineorder__logo { width: clamp(40px, 12.5vw, 54px); } .lineorder__text small { font-size: clamp(12px, 3.7vw, 16px); } }
@media (max-width: 340px) { .lineorder__text small { font-size: 11.5px; } .lineorder__text b { font-size: 22px; } }

/* ---- 2.7.4 every gallery picture and the product cover are square (1:1), phone + desktop ---- */
.gal__slide img, .gal__slide--video .slide-video img, .gal__slide--video .slide-video__blank, .gal__slide--video .slide-player { aspect-ratio: 1 / 1; }
.mgrid .media, .care__grid4--reviews .care__ph, .care__cardimg, .srgrid .media, .srgrid .media--big, .gallery-grid .gtile .media__hit, .gallery-grid img { aspect-ratio: 1 / 1; }
@media (min-width: 720px) {
  :where(html:not(.layout-phone)) .srgrid { grid-template-rows: auto auto; align-items: start; }
  :where(html:not(.layout-phone)) .srgrid .media--big { aspect-ratio: 1 / 1; }
}
/* long prices (6+ digits) on narrow phones: the words after the price move to a second line instead of widening the page */
.lineorder__btn { min-width: 0; }
.lineorder__text small { flex-wrap: wrap; row-gap: 0; white-space: normal; }
.lineorder__text b { white-space: normal; }
/* 2.7.5: title + price line always on ONE line; site.js shrinks the font only when a line would not fit */
.lineorder__text b, .lineorder__text small { white-space: nowrap; flex-wrap: nowrap; overflow: hidden; }
/* 2.7.6: smaller title; Thai upper marks (ั่ ื้) never clipped — clip only sideways, leave room above */
.lineorder__text b { font-size: clamp(21px, 6.4vw, 31px); line-height: 1.32; padding-top: .06em; }
.lineorder__text small { line-height: 1.35; }
.lineorder__text b, .lineorder__text small { overflow: visible; overflow-x: clip; }
.lineorder__text { gap: 0; }
/* 2.7.7 parts cards are display only: no pointer, no hover colour */
/* 3.1.0 the card is a link again (opens the part's sale page) */
.partcard__link { cursor: pointer; }

/* 2.7.9 videos uploaded from the computer without a cover: first frame fills the tile/slide like a picture */
.slide-video__frame, .media__frame { display: block; width: 100%; height: 100%; object-fit: cover; background: #111; pointer-events: none; }
.slide-video .slide-video__frame { aspect-ratio: 1 / 1; }
.slide-video--hero .slide-video__frame { aspect-ratio: 1600 / 860; }
.media .media__frame, .gtile .media__frame { position: absolute; inset: 0; }
.gallery-grid .gtile .media__hit { position: relative; display: block; }
.media__hit { position: relative; }
/* 2.7.9 close (×) moves to the top-right corner while a video plays, so it never covers the player's own
   controls (progress bar / fullscreen at the bottom); the share button steps aside meanwhile */
.slide-player__close { top: 12px; bottom: auto; right: 12px; z-index: 6; }
.has-playing .circle-btn--right { opacity: 0; pointer-events: none; }

/* ---- 2.8.0 photos | video switch on the product gallery (same colours as the old pills, joined like a toggle) ---- */
.mseg { pointer-events: auto; position: relative; display: inline-grid; grid-template-columns: 1fr 1fr; align-items: center; height: 34px; padding: 3px; border-radius: 999px; background: rgba(40, 40, 40, .72); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); box-shadow: 0 2px 8px rgba(0, 0, 0, .18); }
.mseg__thumb { position: absolute; top: 3px; bottom: 3px; left: 3px; width: calc(50% - 3px); border-radius: 999px; background: #fff; box-shadow: 0 1px 4px rgba(0, 0, 0, .25);
  transition: transform .32s cubic-bezier(.3, .7, .2, 1), background-color .25s; }
.mseg.is-video .mseg__thumb { transform: translateX(100%); background: var(--orange-cta-2); }
.mseg__btn { position: relative; z-index: 1; display: inline-flex; align-items: center; justify-content: center; gap: 6px; height: 28px; min-width: 96px; padding: 0 14px; border: 0; border-radius: 999px; background: none; color: #fff; font: inherit; font-size: 14px; font-weight: 600; white-space: nowrap; cursor: pointer; transition: color .25s; -webkit-tap-highlight-color: transparent; }
.mseg__btn .ic { flex: none; }
.mseg:not(.is-video) .mseg__btn--photo { color: #222; }
.mseg__btn--video { color: rgba(255, 255, 255, .92); }
.mseg__btn:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
@media (prefers-reduced-motion: reduce) { .mseg__thumb, .mseg__btn { transition: none; } }
.mseg:not(.is-video) .mseg__btn--video .ic { color: var(--orange-cta-2); }     /* keeps the old orange "video" cue while on photos */

/* 2.8.1 while a video plays nothing of ours sits on the video: the player's own controls (fullscreen, sound,
   progress, ±10s) are free. Back/share buttons hide, the close button lives in a bar UNDER the video. */
.slide-player { --bar: 44px; }
.slide-player iframe, .slide-player video { inset: 0 0 var(--bar) 0; height: calc(100% - var(--bar)); object-fit: contain; }
.slide-player--tall iframe { height: calc(100% - var(--bar)); }
.slide-player__close { position: absolute; top: auto; left: 0; right: 0; bottom: 0; z-index: 6; width: auto; height: var(--bar); border-radius: 0;
  display: flex; align-items: center; justify-content: center; gap: 8px; background: #161616; border-top: 1px solid rgba(255, 255, 255, .12);
  color: #fff; font: inherit; font-size: 15px; font-weight: 600; letter-spacing: .1px; }
.slide-player__close:hover, .slide-player__close:focus-visible { background: #262626; }
.slide-player__x { font-size: 24px; line-height: 1; margin-top: -2px; }
.has-playing .circle-btn, .has-playing .circle-btn--right { opacity: 0; pointer-events: none; }

/* 2.8.2 part that fits several / all models */
.partcard__fit { display: inline-flex; align-items: center; gap: 1.2cqw; align-self: flex-start; margin-top: .8cqw; padding: .6cqw 3cqw; border-radius: 999px;
  background: #e8f7ec; color: #0f7a2c; font-size: 5.4cqw; font-weight: 600; line-height: 1.5; }
.partcard__fit .ic { width: 1em; height: 1em; }

/* 2.9.0 parts card photo slider (counter 1/N top-right, dots bottom-centre, swipe / drag) */
.pslide { position: relative; display: block; }
.pslide__track { display: flex; width: 100%; height: 100%; overflow-x: auto; overflow-y: hidden; scroll-snap-type: x mandatory; scrollbar-width: none;
  overscroll-behavior-x: contain; -webkit-overflow-scrolling: touch; cursor: grab; touch-action: pan-x pan-y; }
.pslide__track::-webkit-scrollbar { display: none; }
.pslide__track.is-drag { scroll-snap-type: none; cursor: grabbing; user-select: none; }
.pslide__item { flex: 0 0 100%; height: 100%; scroll-snap-align: start; display: grid; place-items: center; }
.pslide__item img { width: 100%; height: 100%; object-fit: contain; pointer-events: none; -webkit-user-drag: none; }
.pslide__count { position: absolute; top: 4cqw; right: 4cqw; background: rgba(0,0,0,.09); color: #555; font-size: max(10px, 5.4cqw); line-height: 1;
  padding: 1.6cqw 3.4cqw; border-radius: 99px; pointer-events: none; font-variant-numeric: tabular-nums; }
.pslide__dots { position: absolute; left: 0; right: 0; bottom: 3.5cqw; display: flex; justify-content: center; gap: 2cqw; }
.pslide__dot { width: max(6px, 3cqw); height: max(6px, 3cqw); border-radius: 99px; border: 0; padding: 0; background: #cfcfcf; cursor: pointer; transition: width .25s, background .25s; }
.pslide__dot.is-on { width: max(16px, 8cqw); background: var(--orange-cta, #ff6a00); }
/* the dots need a slightly bigger touch area without changing their look */
.pslide__dot { position: relative; }
.pslide__dot::after { content: ""; position: absolute; inset: -8px -3px; }

/* 2.9.0 product card: swipe the photo to change colour */
.pcard__img { touch-action: pan-y; }
.pcard__img img { -webkit-user-drag: none; user-select: none; }
@keyframes pcard-in-right { from { transform: translateX(18%); opacity: .2; } to { transform: none; opacity: 1; } }
@keyframes pcard-in-left { from { transform: translateX(-18%); opacity: .2; } to { transform: none; opacity: 1; } }
.pcard__img img.slide-from-right { animation: pcard-in-right .28s ease-out; }
.pcard__img img.slide-from-left { animation: pcard-in-left .28s ease-out; }
@media (prefers-reduced-motion: reduce) { .pcard__img img.slide-from-right, .pcard__img img.slide-from-left { animation: none; } }

/* 2.9.2 play functions: one column per item (pictures keep the 5-column size), labels on one line */
.pcard .surfaces--fn { grid-template-columns: repeat(var(--n, 5), minmax(0, 1fr)); gap: 1.4cqw; }
.pcard .surfaces--fn img { width: calc(100% * var(--n, 5) / 5); max-width: 100%; }
.surfaces--fn [data-fit-line] { display: block; white-space: nowrap; max-width: 100%; line-height: 1.25; }

/* ------------------------------------------------ 2.9.4 product thumbnail strip (raised tiles, hover lift) */
.pstrip { --g: 5px; padding: 8px 0 4px; }
.pstrip__in { display: grid; gap: var(--g); grid-auto-flow: row;
  grid-template-columns: repeat(var(--cols, 6), calc((100% - 5 * var(--g)) / 6));
  overflow-x: auto; overscroll-behavior-x: contain; scrollbar-width: none; padding-top: 2px; padding-bottom: 6px; }   /* room for the lift + shadow */
.pstrip__in::-webkit-scrollbar { display: none; }
.pstrip__item { position: relative; display: block; aspect-ratio: 1 / 1; border-radius: 9px; overflow: hidden;
  background: linear-gradient(155deg, #fdfdfd 0%, #efefef 52%, #dfdfdf 100%);
  box-shadow: inset 0 1px 0 #fff, inset 0 -2px 3px rgba(0,0,0,.05), 0 2px 0 #d0ccc6, 0 4px 9px rgba(70,35,0,.16);
  transition: transform .18s ease, box-shadow .18s ease; -webkit-tap-highlight-color: transparent; }
.pstrip__item img { width: 100%; height: 100%; object-fit: contain; padding: 6%; mix-blend-mode: multiply; transition: transform .2s ease; }
@media (hover: hover) {
  .pstrip__item:hover { transform: translateY(-3px);
    box-shadow: inset 0 1px 0 #fff, 0 3px 0 #d0ccc6, 0 10px 16px rgba(70,35,0,.22), 0 0 0 2px var(--orange-cta); }
  .pstrip__item:hover img { transform: scale(1.07); }
}
.pstrip__item:active { transform: translateY(1px); box-shadow: inset 0 2px 5px rgba(0,0,0,.16), 0 1px 0 #d0ccc6; }
.pstrip__item:focus-visible { outline: 3px solid var(--orange-cta); outline-offset: 2px; }

/* compact row under the pinned header (phones): appears once the big strip has scrolled away, laid over the page */
.pstrip--compact { --g: 3px; position: absolute; left: 0; right: 0; top: 100%; padding: 4px 0 1px;
  background: rgba(255, 250, 244, .97); box-shadow: 0 6px 12px rgba(0,0,0,.12);
  opacity: 0; visibility: hidden; transform: translateY(-6px); transition: opacity .2s, transform .2s, visibility 0s .2s; }
/* 3.1.0 about 7½ tiles across (bigger, the row slides sideways to the lit one) */
.pstrip--compact { --g: 5px; }
.pstrip--compact .pstrip__in { grid-template-columns: repeat(var(--n), calc((100% - 7 * var(--g)) / 7.5)); padding: 3px 8px 5px; scroll-padding: 0 8px; }
.pstrip--compact .pstrip__item { border-radius: 6px; box-shadow: inset 0 1px 0 #fff, 0 1px 0 #d0ccc6, 0 2px 4px rgba(70,35,0,.16); }
.pstrip--compact .pstrip__item img { padding: 4%; }
/* 3.1.0 the product / category on screen */
.pstrip--compact .pstrip__item.is-current { background: #fff; transform: translateY(-1px);
  box-shadow: 0 0 0 2px var(--orange-cta), 0 3px 7px rgba(70,35,0,.22); }
html.pstrip-on .pstrip--compact { opacity: 1; visibility: visible; transform: none; transition: opacity .2s, transform .2s; }
.site-header { isolation: isolate; }
@media (prefers-reduced-motion: reduce) { .pstrip__item, .pstrip__item img, .pstrip--compact { transition: none; } }

/* desktop: one row of 12 (wider = scroll), no compact row (the text menu is already pinned) */
@media (min-width: 1024px) {
  :where(html:not(.layout-phone)) .pstrip { --g: 10px; padding: 14px 0 0; }
  :where(html:not(.layout-phone)) .pstrip__in { grid-template-columns: repeat(var(--n), calc((100% - 11 * var(--g)) / 12)); justify-content: center; padding-top: 4px; padding-bottom: 10px; }
  :where(html:not(.layout-phone)) .pstrip__item { border-radius: 12px; }
  :where(html:not(.layout-phone)) .pstrip--compact { display: none; }
}

/* ------------------------------------------------ 2.9.5 slide dots (banner + product page): orange bar = on screen */
.sdots { position: absolute; left: 0; right: 0; bottom: 12px; z-index: 3; display: flex; justify-content: center; align-items: center; gap: 7px; pointer-events: none; }
.sdots__dot { pointer-events: auto; position: relative; width: 9px; height: 9px; padding: 0; border: 0; border-radius: 99px; background: #c9c9c9; cursor: pointer;
  box-shadow: 0 1px 2px rgba(0,0,0,.35); transition: width .25s ease, background .25s ease; }
.sdots__dot.is-on { width: 26px; background: var(--orange-cta, #fc6e00); }
.sdots__dot::after { content: ""; position: absolute; inset: -9px -4px; }      /* bigger touch area, same look */
.sdots__dot:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
.has-playing .sdots { opacity: 0; pointer-events: none; }
.has-playing .sdots__dot { pointer-events: none; }
.media-pills--corner { left: auto; right: 12px; justify-content: flex-end; }
@media (prefers-reduced-motion: reduce) { .sdots__dot { transition: none; } }

/* 2.9.5 product card photo slider (one photo per colour) */
.pcard__img.pslide { display: block; position: relative; touch-action: auto; }
.pcard .pslide__dots { bottom: 2.5cqw; }
.pcard .pslide__dot { width: max(6px, 2.6cqw); height: max(6px, 2.6cqw); }
.pcard .pslide__dot.is-on { width: max(14px, 7cqw); }

/* 2.9.6 desktop banner: every slide is the same box (banner ratio 1600x860, max 75% of the screen height) and the
   picture / video / video cover fills it — a video slide (e.g. a computer video without a cover) can no longer make
   the banner taller than the pictures (that left a blurred band under every picture) */
@media (min-width: 1024px) {
  :where(html:not(.layout-phone)) .hero__slide { aspect-ratio: 1600 / 860; max-height: 75vh; overflow: hidden; }
  :where(html:not(.layout-phone)) .hero__slide > a { display: block; height: 100%; }
  :where(html:not(.layout-phone)) .hero__slide img { height: 100%; width: 100%; aspect-ratio: auto; object-fit: contain; }
  :where(html:not(.layout-phone)) .slide-video--hero,
  :where(html:not(.layout-phone)) .slide-video--hero img,
  :where(html:not(.layout-phone)) .slide-video--hero .slide-video__blank,
  :where(html:not(.layout-phone)) .slide-video--hero .slide-video__frame,
  :where(html:not(.layout-phone)) .hero__slide--video .slide-player { height: 100%; aspect-ratio: auto; }
  :where(html:not(.layout-phone)) .slide-video--hero img, :where(html:not(.layout-phone)) .slide-video--hero .slide-video__frame { object-fit: cover; }
}
/* 2.9.7 product page: dots sit just above the รูปถ่าย | วิดีโอ switch */
.sdots--above { bottom: 56px; }

/* 2.9.8 DRIVE HARD slogan next to the logo — desktop only (from 1200px, where it fits next to the phone + order buttons) */
.topnav__slogan { display: none; }
@media (min-width: 1200px) {
  :where(html:not(.layout-phone)) .topnav__slogan { display: block; flex: 0 1 auto; min-width: 0; width: auto; height: auto; max-height: 46px; max-width: 100%;
    object-fit: contain; object-position: left center; margin-right: auto; }
}

/* ------------------------------------------------ 2.9.9 parts page: model list left (pinned) + every model's parts right */
.pcat { padding: 8px 0 24px; }
.pcat__in { display: grid; grid-template-columns: 24% minmax(0, 1fr); gap: 8px; align-items: start; padding-left: 8px; padding-right: 8px; }
.pcat__side { position: sticky; top: var(--pcat-top, 110px); max-height: calc(100vh - var(--pcat-top, 110px) - 8px); overflow-y: auto;
  overscroll-behavior-y: auto; scrollbar-width: none; background: #fff; border-radius: 10px; box-shadow: 0 2px 8px rgba(70,35,0,.08); }
/* 2.11.4 at the top/end of the model list a swipe moves the page (no blank "bounce" above the first model on iPhone) */
.pcat__side::-webkit-scrollbar { display: none; }
.pcat__side .model { width: auto; flex: none; display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 8px 4px 7px;
  border: 0; border-bottom: 1px solid #f0ebe4; border-radius: 0; background: #fff; color: #555; text-decoration: none; position: relative; scroll-snap-align: none; }
.pcat__side .model:last-child { border-bottom: 0; }
.pcat__side .model__img { width: 100%; max-width: 64px; aspect-ratio: 1 / 1; display: grid; place-items: center; }
.pcat__side .model__img img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.pcat__side .model__name { font-size: 11.5px; line-height: 1.3; text-align: center; color: inherit; }
.pcat__side .model.is-active { background: #fff4ea; color: var(--orange-cta); font-weight: 600; }
.pcat__side .model.is-active::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: var(--orange-cta); border-radius: 0 3px 3px 0; }
.pcat__main { min-width: 0; display: grid; gap: 10px; }
.pcat__main .psearch { height: 40px; }
.pcat__sections { display: grid; gap: 10px; }
.pcat__sec { background: #fff; border-radius: 12px; padding: 12px 8px 14px; box-shadow: 0 2px 8px rgba(70,35,0,.08); scroll-margin-top: var(--pcat-top, 110px); }
.pcat__sec[hidden] { display: none; }
.pcat__title { margin: 0 0 12px; text-align: center; font-size: 16px; font-weight: 700; color: #222; }
.pcat__title::after { content: ""; display: block; width: 46%; max-width: 140px; height: 2px; margin: 8px auto 0; background: #d6cfc6; border-radius: 2px; }
.pcat__none { margin: 4px 0; font-size: 13px; }
.pcat__all { text-align: center; margin: 12px 0 0; }
.pcat .partgrid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
.pcat .partcard { box-shadow: 0 1px 4px rgba(0,0,0,.12); }
.pcat .partcard__name { font-size: max(10.5px, 7.6cqw); min-height: 2.6em; line-height: 1.3; }
.pcat .partcard__code, .pcat .partcard__fit { font-size: max(9px, 5.6cqw); }
.pcat .partcard .price-normal { font-size: max(9px, 6cqw); }
.pcat .partcard__body .price-sale { font-size: max(13px, 14.5cqw); }
.pcat .linecta { margin-top: 4px; }
@media (min-width: 700px) {
  .pcat__in { grid-template-columns: 180px minmax(0, 1fr); gap: 16px; padding-left: 16px; padding-right: 16px; }
  .pcat__sec { padding: 18px 16px 20px; }
  .pcat__title { font-size: 20px; }
  .pcat .partgrid { gap: 12px; }
}
@media (min-width: 1024px) {
  :where(html:not(.layout-phone)) .pcat__in { grid-template-columns: 220px minmax(0, 1fr); gap: 20px; }
  :where(html:not(.layout-phone)) .pcat .partgrid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
  :where(html:not(.layout-phone)) .pcat__side .model { flex-direction: row; justify-content: flex-start; gap: 10px; padding: 8px 12px; }
  :where(html:not(.layout-phone)) .pcat__side .model__img { width: 56px; flex: none; }
  :where(html:not(.layout-phone)) .pcat__side .model__name { text-align: left; font-size: 14px; }
  :where(html:not(.layout-phone)) .pcat__side .model:hover { background: #fffaf4; }
}
/* 2.10.0 model list = products: names up to 3 lines, never cut to one line */
.pcat__side .model__name { white-space: normal; overflow: hidden; text-overflow: clip; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; word-break: break-word; max-width: 100%; }

/* ------------------------------------------------ 2.11.0 เลือกรถไฟฟ้าที่คุณชอบ (owner's design): phone 2 rows of 6, desktop 1 row */
.ctiles { padding: 14px 0 10px; }
.ctiles__title { display: flex; align-items: center; justify-content: center; gap: 8px; margin: 0 0 12px; font-size: clamp(19px, 5.6vw, 38px);
  font-weight: 800; font-style: italic; letter-spacing: -.01em; color: #151515; text-align: center; line-height: 1.2; }
.ctiles__title--img { display: block; margin: 2px auto 12px; max-width: 980px; }
.ctiles__title--img picture, .ctiles__title--img img { display: block; width: 100%; height: auto; }
.ctiles__line { flex: 1 1 0; max-width: 150px; height: 2px; background: var(--orange-cta); border-radius: 2px; }
.ctiles__marks { color: var(--orange-cta); font-weight: 900; letter-spacing: -.12em; margin-right: .1em; }
.ctiles__grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 6px; }
.ctile { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 6% 4% 7%; background: #fff; border-radius: 10px; text-decoration: none; color: #1d1d1d;
  box-shadow: 0 1px 0 rgba(255,255,255,.9) inset, 0 2px 0 #ece6de, 0 4px 10px rgba(70,35,0,.14); transition: transform .18s ease, box-shadow .18s ease;
  container-type: inline-size; -webkit-tap-highlight-color: transparent; }
.ctile__img { width: 100%; aspect-ratio: 1 / 1; display: grid; place-items: center; }
.ctile__img img { width: 100%; height: 100%; object-fit: contain; transition: transform .2s ease; }
.ctile__label { font-size: max(9.5px, 12.5cqw); font-weight: 600; line-height: 1.2; text-align: center; min-height: 2.4em; display: flex; align-items: center; justify-content: center; }
@media (hover: hover) {
  .ctile:hover { transform: translateY(-3px); box-shadow: 0 3px 0 #ece6de, 0 12px 18px rgba(70,35,0,.2), 0 0 0 2px var(--orange-cta); }
  .ctile:hover .ctile__img img { transform: scale(1.06); }
}
.ctile:active { transform: translateY(1px); box-shadow: inset 0 2px 5px rgba(0,0,0,.12), 0 1px 0 #ece6de; }
.ctile:focus-visible { outline: 3px solid var(--orange-cta); outline-offset: 2px; }
@media (min-width: 700px) { .ctiles__grid { gap: 10px; } .ctile { border-radius: 14px; } }
@media (min-width: 1024px) {
  :where(html:not(.layout-phone)) .ctiles { padding: 22px 0 6px; }
  /* 3.1.0 owner: 2 rows of 6 on desktop too (was 1 row of 12) — kept to a comfortable width */
  :where(html:not(.layout-phone)) .ctiles__grid { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 14px; max-width: 1080px; margin: 0 auto; }
  :where(html:not(.layout-phone)) .ctile__label { font-size: max(12px, 10cqw); }
}
/* the card that the tile pointed at lights up for a moment */
@keyframes card-found { 0% { box-shadow: 0 0 0 0 rgba(252,110,0,.0); } 25% { box-shadow: 0 0 0 4px rgba(252,110,0,.85); } 100% { box-shadow: 0 0 0 0 rgba(252,110,0,0); } }
[data-card].is-found { animation: card-found 2.2s ease-out; border-radius: 12px; }
@media (prefers-reduced-motion: reduce) { .ctile, .ctile__img img { transition: none; } [data-card].is-found { animation: none; outline: 3px solid var(--orange-cta); } }
.ctile__txt { display: block; width: 100%; white-space: normal; overflow-wrap: anywhere; }   /* words wrap at the spaces the owner typed */
.ctile__txt .kw { white-space: nowrap; }
@media (max-width: 360px) { .ctiles__grid { gap: 4px; } .ctile { padding: 5% 2% 6%; border-radius: 8px; } .ctile__label { font-size: max(7.5px, 12cqw); } }
.ctile__label { width: 100%; }                       /* 2.11.1 the name area is the tile's width (font fits inside) */
.ctile__txt .kw.kw--split { white-space: normal; overflow: visible; }

/* ------------------------------------------------ 2.12.0 articles (บทความ) — editorial / news layout, mobile first */
.anews { background: #fff; padding: 4px 0 28px; }
.atabs { display: flex; flex-direction: column; gap: 10px; padding: 10px 0 12px; border-bottom: 2px solid var(--ink); margin-bottom: 14px; }
.atabs__list { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; margin: 0 calc(-1 * var(--gut, 16px)); padding: 0 var(--gut, 16px); scroll-padding-inline: var(--gut, 16px); -webkit-overflow-scrolling: touch; }
.atabs__list::-webkit-scrollbar { display: none; }
.atabs__a { flex: none; padding: 7px 12px; border-radius: 999px; font-size: 14px; font-weight: 500; color: var(--ink-2); text-decoration: none; background: #f3f1ef; white-space: nowrap; }
.atabs__a.is-on { background: var(--ink); color: #fff; }
.asearch { display: flex; align-items: center; height: 40px; border: 1px solid var(--rule); border-radius: 999px; padding: 0 4px 0 14px; background: #fff; }
.asearch input { flex: 1; min-width: 0; border: 0; outline: 0; font: inherit; font-size: 15px; background: none; }
.asearch button { width: 34px; height: 34px; border: 0; border-radius: 50%; background: var(--orange-cta); color: #fff; display: grid; place-items: center; cursor: pointer; }
.acat { display: inline-block; font-size: 12.5px; font-weight: 600; color: var(--orange-cta); text-decoration: none; letter-spacing: .01em; margin-bottom: 2px; }
.acat:hover { text-decoration: underline; }
.ameta { display: block; font-size: 12.5px; color: var(--muted); margin-top: 4px; }
.ahead { display: flex; align-items: center; gap: 10px; margin: 0 0 6px; font-size: 20px; font-weight: 700; color: var(--ink); }
.ahead span { position: relative; padding-left: 12px; }
.ahead span::before { content: ""; position: absolute; left: 0; top: .18em; bottom: .18em; width: 4px; border-radius: 2px; background: var(--orange-cta); }
.acard__img { position: relative; display: block; width: 100%; aspect-ratio: 2 / 1; overflow: hidden; background: #f1efed; border-radius: 10px; }
.acard__img img, .acard__img img[width][height] { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; display: block; transition: transform .35s ease; }
a:hover .acard__img img, a:focus-visible .acard__img img { transform: scale(1.04); }
.acard__title a, .arow__title a, .alead__title a, .apicks__t { color: var(--ink); text-decoration: none; }
.acard__title a:hover, .arow__title a:hover, .alead__title a:hover, .apicks__t:hover { color: var(--orange-cta); }
/* lead story */
.alead__media { display: block; }
.alead__media .acard__img { border-radius: 12px; }
.alead__body { padding: 10px 0 4px; }
.alead__title { margin: 0; font-size: 22px; line-height: 1.3; font-weight: 700; }
.alead__ex { margin: 6px 0 0; color: var(--ink-2); font-size: 15px; line-height: 1.5; }
/* compact row (text + small picture) */
.arow { display: grid; grid-template-columns: minmax(0, 1fr) 108px; gap: 12px; padding: 12px 0; border-top: 1px solid var(--rule); align-items: start; }
.arow__title { margin: 0; font-size: 15.5px; line-height: 1.35; font-weight: 600; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.arow__ex { margin: 4px 0 0; font-size: 13.5px; color: var(--ink-2); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.arow__media .acard__img { aspect-ratio: 4 / 3; border-radius: 8px; }
/* card (picture on top) */
.acard__body { padding-top: 8px; }
.acard__title { margin: 0; font-size: 15.5px; line-height: 1.35; font-weight: 600; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
/* hub sections */
.atop { margin-bottom: 18px; }
.atop__side .arow:first-child { border-top: 1px solid var(--rule); }
.amid { display: grid; gap: 22px; margin: 6px 0 22px; }
.apicks { list-style: none; margin: 0; padding: 0; counter-reset: none; }
.apicks li { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 8px; padding: 12px 0; border-top: 1px solid var(--rule); align-items: start; }
.apicks__no { font-size: 34px; line-height: 1; font-weight: 800; font-style: italic; color: var(--orange-cta); }
.apicks__t { display: block; font-size: 15px; font-weight: 600; line-height: 1.35; }
.ablock { margin: 8px 0 24px; }
.ablock__head { display: flex; align-items: center; justify-content: space-between; gap: 10px; border-bottom: 1px solid var(--rule); padding-bottom: 6px; margin-bottom: 12px; }
.ablock__head .ahead { margin: 0; }
.amore { font-size: 14px; font-weight: 500; color: var(--ink-2); text-decoration: none; white-space: nowrap; }
.amore:hover { color: var(--orange-cta); }
.agrid--row { display: grid; grid-auto-flow: column; grid-auto-columns: 72%; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
  margin: 0 calc(-1 * var(--gut, 16px)); padding: 0 var(--gut, 16px) 4px; scroll-padding-inline: var(--gut, 16px); }
.anews .wrap { --gut: 16px; }
@media (max-width: 400px) { .anews .wrap { --gut: 12px; } }
.agrid--row::-webkit-scrollbar { display: none; }
.agrid--row > * { scroll-snap-align: start; }
.agrid--list { display: grid; grid-template-columns: 1fr; gap: 18px; }
.alist__head { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; margin-bottom: 12px; flex-wrap: wrap; }
.apager { display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; margin: 22px 0 6px; }
.apager a { min-width: 40px; height: 40px; padding: 0 12px; display: grid; place-items: center; border: 1px solid var(--rule); border-radius: 999px; color: var(--ink); text-decoration: none; font-weight: 500; }
.apager a.is-on { background: var(--ink); color: #fff; border-color: var(--ink); }
.aempty { padding: 30px 0; text-align: center; color: var(--muted); }
/* article page */
.apost { display: grid; gap: 26px; }
.acrumb { display: flex; gap: 6px; font-size: 13px; color: var(--muted); margin: 10px 0 8px; }
.acrumb a { color: var(--orange-cta); text-decoration: none; font-weight: 600; }
.apost__title { margin: 0; font-size: 26px; line-height: 1.28; font-weight: 700; color: var(--ink); }
.apost__ex { margin: 10px 0 0; font-size: 17px; line-height: 1.55; color: var(--ink-2); }
.apost__meta { margin: 10px 0 14px; }
.apost__cover { margin: 0 0 18px; }
.apost__cover img, .apost__cover img[width][height] { width: 100%; height: auto; aspect-ratio: auto; object-fit: cover; border-radius: 12px; display: block; background: #f1efed; }
.apost__body { font-size: 17px; line-height: 1.75; color: var(--ink); }
.apost__body h2 { font-size: 21px; line-height: 1.35; margin: 1.3em 0 .5em; }
.apost__body li { margin: .35em 0; }
.aprod { display: grid; grid-template-columns: 104px minmax(0, 1fr); gap: 14px; align-items: center; margin: 22px 0 6px; padding: 14px; border-radius: 14px; background: var(--cream-2); border: 1px solid #f3dfc6; }
.aprod__img img { width: 100%; height: auto; aspect-ratio: 1; object-fit: contain; background: #fff; border-radius: 10px; display: block; }
.aprod__kicker { display: block; font-size: 12px; font-weight: 600; color: var(--orange-cta); }
.aprod__name { display: block; font-weight: 600; color: var(--ink); text-decoration: none; line-height: 1.35; margin: 2px 0 4px; }
.aprod__price { display: block; font-size: 14px; color: var(--muted); }
.aprod__price b { font-size: 20px; color: var(--price); font-weight: 700; }
.aprod__btn { display: inline-flex; align-items: center; gap: 4px; margin-top: 8px; padding: 7px 16px; border-radius: 999px; background: var(--orange-cta); color: #fff; font-weight: 600; text-decoration: none; font-size: 14px; }
.acats { display: flex; flex-wrap: wrap; gap: 6px; }
.acats a { padding: 6px 12px; border-radius: 999px; background: #f3f1ef; color: var(--ink-2); text-decoration: none; font-size: 14px; }
@media (min-width: 700px) {
  .agrid--list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .agrid--row { grid-auto-columns: 42%; }
}
@media (min-width: 1024px) {
  :where(html:not(.layout-phone)) .anews { padding-bottom: 40px; }
  :where(html:not(.layout-phone)) .atabs { flex-direction: row; align-items: center; justify-content: space-between; }
  :where(html:not(.layout-phone)) .atabs__list { margin: 0; padding: 0; flex-wrap: wrap; }
  :where(html:not(.layout-phone)) .asearch { width: 280px; flex: none; }
  :where(html:not(.layout-phone)) .atop { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: 28px; align-items: start; }
  :where(html:not(.layout-phone)) .atop__side .arow:first-child { border-top: 0; padding-top: 0; }
  :where(html:not(.layout-phone)) .alead__title { font-size: 30px; }
  :where(html:not(.layout-phone)) .alead__ex { font-size: 16px; }
  :where(html:not(.layout-phone)) .amid { grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: 28px; }
  :where(html:not(.layout-phone)) .amid .arow { grid-template-columns: minmax(0, 1fr) 200px; gap: 18px; }
  :where(html:not(.layout-phone)) .amid .arow__title { font-size: 18px; }
  :where(html:not(.layout-phone)) .agrid--row { grid-auto-flow: row; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-columns: auto; overflow: visible; margin: 0; padding: 0; gap: 20px; }
  :where(html:not(.layout-phone)) .agrid--list { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 26px 20px; }
  :where(html:not(.layout-phone)) .apost { grid-template-columns: minmax(0, 1fr) 320px; gap: 40px; align-items: start; }
  :where(html:not(.layout-phone)) .apost__main { max-width: 760px; }
  :where(html:not(.layout-phone)) .apost__title { font-size: 36px; }
  :where(html:not(.layout-phone)) .apost__side { position: sticky; top: 130px; }
  :where(html:not(.layout-phone)) .aprod { grid-template-columns: 150px minmax(0, 1fr); }
}
.acard__img--product { background: #fff; border: 1px solid var(--rule); }
.acard__img--product img, .acard__img--product img[width][height] { object-fit: contain; padding: 6%; }
.apost__cover--product img, .apost__cover--product img[width][height] { object-fit: contain; background: #fff; border: 1px solid var(--rule); padding: 3%; max-height: 460px; }

/* ------------------------------------------------ 2.13.4 article page: by-line · share · views · credit · references · tags · author box */
.abyline { margin: 14px 0 10px; color: var(--muted); font-size: 15px; line-height: 1.5; }
.abyline p { margin: 0; }
.abyline a { color: var(--ink-2); text-decoration: none; font-weight: 500; }
.abyline a:hover { color: var(--orange-cta); }
.abyline__date { display: block; font-size: 14px; }
.ashare { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 4px 0 18px; }
.ashare--bottom { margin: 22px 0 0; padding-top: 18px; border-top: 1px solid var(--rule); }
.ashare__btns { display: flex; gap: 8px; flex-wrap: wrap; }
.ashare__b { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; border: 0; padding: 0; cursor: pointer; overflow: hidden; color: #fff; text-decoration: none; transition: transform .12s; }
.ashare__b:hover { transform: translateY(-2px); }
.ashare__b img { width: 40px; height: 40px; display: block; }
.ashare__b--x { background: #111; }
.ashare__b--mail { background: #e5322d; }
.ashare__b--link { background: #c9c9cc; }
.ashare__b--link.is-done { background: #1fa34a; }
.ashare__views { display: grid; justify-items: center; color: var(--ink); line-height: 1; }
.ashare__views b { color: #e0262b; font-size: 22px; font-weight: 700; margin-top: 2px; }
.aviews { display: inline-flex; align-items: center; gap: 3px; margin-left: 8px; color: var(--muted); }
.aviews svg { flex: none; }
.acredit { margin: 22px 0 0; color: var(--muted); font-size: 15px; }
.acredit b, .arefs > b, .atags > b { color: var(--ink-2); font-weight: 700; }
.arefs { margin: 14px 0 0; color: var(--muted); font-size: 15px; }
.arefs ul { margin: 6px 0 0; padding-left: 22px; }
.arefs li { margin: 6px 0; overflow-wrap: anywhere; }
.arefs a { color: var(--ink-2); text-decoration: underline; text-decoration-color: #e0262b; text-underline-offset: 3px; }
.arefs a:hover { color: var(--orange-cta); }
.atags { display: grid; grid-template-columns: auto 1fr; gap: 8px; align-items: baseline; margin: 18px 0 0; font-size: 15px; }
.atags span { display: flex; flex-wrap: wrap; gap: 6px 14px; }
.atags a { color: var(--ink); text-decoration: none; }
.atags a:hover { color: var(--orange-cta); text-decoration: underline; }
.aauthor { display: grid; grid-template-columns: 88px minmax(0, 1fr); gap: 16px; align-items: center; margin: 22px 0 0; padding: 18px 0 4px; border-top: 2px solid var(--ink); }
.aauthor--head { border-top: 0; padding-top: 0; margin: 0 0 18px; }
.aauthor__img { width: 88px; height: 88px; border-radius: 50%; object-fit: cover; display: block; background: #f1efed; }
.aauthor__img--letter { display: grid; place-items: center; font-size: 36px; font-weight: 700; color: #fff; background: var(--orange-cta); }
.aauthor__t h2 { margin: 0 0 4px; font-size: 17px; font-weight: 800; letter-spacing: .02em; color: var(--ink); }
.aauthor__name { margin: 0; font-size: 20px; font-weight: 700; color: var(--ink); }
.aauthor__name a { color: inherit; text-decoration: none; }
.aauthor__name a:hover { color: var(--orange-cta); }
.aauthor__role { margin: 2px 0 0; color: var(--ink-2); font-size: 15px; }
.aauthor__bio { margin: 6px 0 0; color: var(--muted); font-size: 14.5px; line-height: 1.55; }
.aauthor__more { display: inline-block; margin-top: 6px; font-size: 14px; font-weight: 600; color: var(--orange-cta); text-decoration: none; }
@media (min-width: 1024px) {
  :where(html:not(.layout-phone)) .aauthor { grid-template-columns: 112px minmax(0, 1fr); gap: 20px; }
  :where(html:not(.layout-phone)) .aauthor:not(.aauthor--head) .aauthor__img { width: 112px; height: 112px; }
}

/* 3.0.0 branches (สาขาของเรา) on /showroom */
.brgrid { display: grid; grid-template-columns: 1fr; gap: 12px; }
@media (min-width: 700px) { .brgrid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .brgrid { grid-template-columns: repeat(3, 1fr); } }
.brcard { background: #fff; border: 1px solid rgba(0, 0, 0, .08); border-top: 4px solid var(--orange-cta); border-radius: 14px; padding: 14px 16px; box-shadow: 0 4px 14px rgba(0, 0, 0, .06); min-width: 0; }
.brcard__name { font-size: 18px; font-weight: 700; margin: 0 0 6px; }
.brcard__row { display: flex; gap: 6px; align-items: flex-start; margin: 4px 0; font-size: 15px; overflow-wrap: anywhere; }
.brcard__row svg { flex: none; margin-top: 3px; color: var(--orange-cta); }
.brcard__note { margin: 6px 0 0; font-size: 14px; opacity: .8; }
.brcard__btns { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.brcard__btn { display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 0 14px; border-radius: 999px; border: 1px solid rgba(0, 0, 0, .14); font-weight: 600; font-size: 14px; text-decoration: none; color: inherit; background: #fff; }
.brcard__btn--line { background: var(--line-green); border-color: transparent; color: var(--on-green); }

/* ------------------------------------------------ 3.1.0 back to top (bottom right, phones + desktop)
   3.1.1 owner's design: white circle, dark grey chevron with round ends, soft grey shadow */
.totop { position: fixed; right: max(14px, env(safe-area-inset-right)); bottom: calc(18px + env(safe-area-inset-bottom)); z-index: 60;
  width: 48px; height: 48px; border: 1px solid #ececec; border-radius: 50%; display: grid; place-items: center; cursor: pointer; padding: 0;
  background: #fff; color: #333;
  box-shadow: 0 4px 14px rgba(0,0,0,.16), 0 1px 3px rgba(0,0,0,.10);
  opacity: 0; visibility: hidden; transform: translateY(10px); transition: opacity .2s, transform .2s, box-shadow .2s, visibility 0s .2s;
  -webkit-tap-highlight-color: transparent; }
.totop svg { width: 76%; height: 76%; stroke-width: 2.3; }
.totop.is-on { opacity: 1; visibility: visible; transform: none; transition: opacity .2s, transform .2s, box-shadow .2s; }
.totop:active { transform: scale(.94); box-shadow: 0 2px 6px rgba(0,0,0,.16); }
.totop:focus-visible { outline: 3px solid var(--orange-cta); outline-offset: 3px; }
@media (hover: hover) { .totop:hover { box-shadow: 0 6px 20px rgba(0,0,0,.22), 0 1px 3px rgba(0,0,0,.10); color: #111; } }
@media (min-width: 1024px) { .totop { width: 56px; height: 56px; right: 24px; bottom: 24px; } }
@media (prefers-reduced-motion: reduce) { .totop { transition: none; } }

/* ------------------------------------------------ 3.1.0 /showroom โชว์รูม · การผลิต · โกดัง: equal 1:1 squares, 3 in a row
   (phone + desktop; was one big picture + two small, whose edges did not line up on desktop) */
.srgrid, :where(html:not(.layout-phone)) .srgrid { grid-template-columns: repeat(3, minmax(0, 1fr)); grid-template-rows: none; gap: 6px; align-items: stretch; }
.srgrid .media, .srgrid .media--big,
:where(html:not(.layout-phone)) .srgrid .media, :where(html:not(.layout-phone)) .srgrid .media--big { grid-column: auto; grid-row: auto; aspect-ratio: 1 / 1; }
@media (min-width: 720px) { :where(html:not(.layout-phone)) .srgrid { gap: 12px; } }

/* ------------------------------------------------ 3.1.0 spare part sale page (/parts/<id>) — product page blocks + these */
.pdp__ask { font-size: 26px; font-weight: 700; color: var(--price); }
.ppart__code { margin: 4px 0 0; color: #666; font-size: 14px; }
.ppart__code b { color: #222; font-weight: 600; }
.ppart__fit { margin: 12px 0 4px; }
.ppart__fitlabel { display: inline-flex; align-items: center; gap: 6px; margin: 0 0 8px; padding: 4px 10px; border-radius: 999px;
  background: #e9f7ee; color: #18794e; font-size: 14px; font-weight: 600; }
.ppart__models { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(92px, 1fr)); gap: 8px; }
.ppart__model { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 6px 4px 8px; border-radius: 10px; background: #fff;
  border: 1px solid #ece6de; text-decoration: none; color: #1d1d1d; text-align: center; height: 100%; }
.ppart__mimg { width: 64px; aspect-ratio: 1 / 1; display: grid; place-items: center; }
.ppart__mimg img { width: 100%; height: 100%; object-fit: contain; }
.ppart__mname { font-size: 12px; font-weight: 600; line-height: 1.25; }
@media (hover: hover) { .ppart__model:hover { border-color: var(--orange-cta); box-shadow: 0 0 0 1px var(--orange-cta); } }
.ppart__model:focus-visible { outline: 3px solid var(--orange-cta); outline-offset: 2px; }
.page-part .lineorder { margin-top: 14px; }
.page-part .related .partgrid { margin-top: 10px; }
.ppart__all { text-align: center; margin: 14px 0 4px; }
.ppart__all a { display: inline-flex; align-items: center; gap: 2px; color: var(--orange-cta); font-weight: 600; text-decoration: none; }
@media (max-width: 719px) {
  .srgrid .media__zoom { width: 24px; height: 24px; right: 5px; bottom: 5px; border-radius: 6px; }
  .srgrid .media__zoom svg { width: 13px; height: 13px; }
  .srgrid .media__play { width: 40px; height: 40px; }
  .srgrid .media__play svg { width: 22px; height: 22px; }
}

/* ------------------------------------------------ 3.2.0 category page + breadcrumb (SEO) */
.catpage__head { padding-top: 14px; }
.catpage__title { font-size: clamp(22px, 5.4vw, 32px); font-weight: 700; line-height: 1.3; margin: 0; }
.catpage__desc { margin: 6px 0 0; color: #4a4540; font-size: 15px; line-height: 1.6; max-width: 70ch; }
.catpage__count { margin: 4px 0 10px; color: #8a817a; font-size: 13px; }
.crumbs { padding-top: 10px; padding-bottom: 4px; font-size: 13px; }
.crumbs ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 2px 6px; color: #8a817a; }
.crumbs li:not(:last-child)::after { content: "›"; margin-left: 6px; color: #b5aca4; }
.crumbs a { color: #6b625b; text-decoration: none; }
.crumbs a:hover { color: var(--orange-cta); text-decoration: underline; }
.crumbs [aria-current] { color: #2b2622; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 60vw; display: inline-block; vertical-align: bottom; }
.catpage__count a { color: var(--orange-cta); }
.catpage__subs { display: flex; flex-wrap: wrap; gap: 8px; margin: 2px 0 12px; }
.catpage__subs a { padding: 6px 14px; border-radius: 999px; background: #fff; border: 1px solid #e6ddd3; color: #2b2622; text-decoration: none; font-size: 14px; font-weight: 600; }
.catpage__subs a:hover { border-color: var(--orange-cta); color: var(--orange-cta); }

/* ---------------- 4.5.0 product facts (stars · shipping · returns · compare) + customer reviews ---------------- */
.stars { --v: 0; display: inline-block; font-size: 17px; line-height: 1; letter-spacing: 1px; position: relative; vertical-align: -2px; }
.stars::before { content: "★★★★★"; color: #ddd6cf; }
.stars::after { content: "★★★★★"; color: #f5a400; position: absolute; left: 0; top: 0; overflow: hidden; white-space: nowrap; width: calc(var(--v) / 5 * 100%); }
.pdp__facts { list-style: none; margin: 14px 0 0; padding: 12px 14px; display: grid; gap: 8px; background: var(--cream-2); border: 1px solid #f0e2d1; border-radius: 12px; font-size: 15px; color: var(--ink-2); }
.pdp__facts li { display: flex; align-items: center; gap: 8px; min-width: 0; }
.pdp__facts svg { flex: none; color: var(--orange-cta); }
.pdp__facts a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.pdp__stars { display: inline-flex; align-items: center; gap: 6px; text-decoration: none !important; }
.reviews h2 small { color: var(--muted); font-size: 16px; }
.rv-sum { display: grid; grid-template-columns: auto 1fr; gap: 18px 28px; align-items: center; padding: 14px 0 18px; }
.rv-sum__avg { display: grid; justify-items: center; gap: 4px; min-width: 110px; }
.rv-sum__avg b { font-size: 40px; font-weight: 600; line-height: 1; }
.rv-sum__avg small { color: var(--muted); }
.rv-sum__bars { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; font-size: 14px; }
.rv-sum__bars li { display: grid; grid-template-columns: 38px 1fr 28px; gap: 8px; align-items: center; }
.rv-sum__bars i { height: 8px; background: #eee6dd; border-radius: 99px; overflow: hidden; }
.rv-sum__bars i b { display: block; height: 100%; background: #f5a400; }
.rv-sum__bars em { font-style: normal; color: var(--muted); text-align: right; }
.rv-list { list-style: none; margin: 0; padding: 0; }
.rv { padding: 14px 0; border-top: 1px solid #eadfd3; }
.rv__head { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; }
.rv__head time { color: var(--muted); font-size: 13px; margin-left: auto; }
.rv__text { margin: 6px 0 0; white-space: pre-line; overflow-wrap: anywhere; }
.rv__reply { margin: 8px 0 0; padding: 8px 12px; background: var(--cream-2); border-radius: 10px; font-size: 15px; color: var(--ink-2); }
.rv-empty { color: var(--muted); margin: 4px 0 10px; }
.rv-note { padding: 10px 14px; border-radius: 10px; margin: 10px 0; }
.rv-note.is-ok { background: #e8f6ec; color: #0f6b2a; } .rv-note.is-err { background: #fdecec; color: #a3141f; }
.rv-form { margin-top: 10px; border: 1px solid #eadfd3; border-radius: 12px; background: #fff; }
.rv-form summary { cursor: pointer; padding: 12px 16px; font-weight: 600; color: var(--orange-cta); list-style: none; }
.rv-form summary::-webkit-details-marker { display: none; }
.rv-form form { display: grid; gap: 12px; padding: 0 16px 16px; }
.rv-rate { border: 0; margin: 0; padding: 0; display: inline-flex; flex-direction: row-reverse; justify-content: flex-end; gap: 2px; }
.rv-rate legend { float: left; width: 100%; margin-bottom: 4px; font-size: 14px; color: var(--ink-2); }
.rv-rate input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.rv-rate label { font-size: 32px; line-height: 1; color: #ddd6cf; cursor: pointer; padding: 0 2px; }
.rv-rate label:hover, .rv-rate label:hover ~ label, .rv-rate input:checked ~ label { color: #f5a400; }
.rv-rate input:focus-visible + label { outline: 2px solid var(--orange-cta); border-radius: 4px; }
.rv-f { display: grid; gap: 4px; font-size: 14px; color: var(--ink-2); }
.rv-f input, .rv-f textarea { font: inherit; font-size: 16px; padding: 10px 12px; border: 1px solid #d9cfc4; border-radius: 10px; width: 100%; box-sizing: border-box; }
.rv-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.rv-send { justify-self: start; border: 0; border-radius: 999px; background: var(--orange-cta); color: #fff; font: inherit; font-weight: 600; padding: 10px 26px; cursor: pointer; }
.rv-small { color: var(--muted); }
@media (max-width: 560px) { .rv-sum { grid-template-columns: 1fr; } }

/* ---------------- 4.5.0 /compare ---------------- */
.cmp { padding-top: 22px; padding-bottom: 36px; }
.cmp h1 { font-size: 26px; font-weight: 600; margin: 0 0 6px; }
.cmp__intro { color: var(--ink-2); margin: 0 0 16px; max-width: 760px; }
.cmp__tools { display: flex; align-items: center; gap: 8px; margin: 0 0 10px; font-size: 14px; color: var(--ink-2); }
.cmp__scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; border: 1px solid var(--rule); border-radius: 14px; background: #fff; }
.cmp table { border-collapse: separate; border-spacing: 0; width: 100%; min-width: calc(150px + var(--n) * 190px); font-size: 15px; }
.cmp th, .cmp td { padding: 10px 12px; text-align: left; vertical-align: top; border-bottom: 1px solid #f0ebe6; }
.cmp tbody th { position: sticky; left: 0; background: #faf8f6; width: 150px; min-width: 130px; font-weight: 600; color: var(--ink-2); z-index: 1; }
.cmp thead th { background: #fff; vertical-align: bottom; }
.cmp thead th:first-child { position: sticky; left: 0; z-index: 2; }
.cmp__p { display: grid; gap: 6px; text-decoration: none; color: inherit; }
.cmp__p img { width: 100%; max-width: 170px; aspect-ratio: 1; object-fit: contain; background: var(--row-a); border-radius: 10px; }
.cmp__p b { font-weight: 600; line-height: 1.35; }
.cmp__p:hover b { text-decoration: underline; }
.cmp tr.is-price td { color: var(--price); font-weight: 600; font-size: 17px; }
.cmp tr.is-same td { color: var(--muted); }
.cmp.hide-same tr.is-same { display: none; }
.cmp__cta { display: inline-block; margin-top: 4px; border-radius: 999px; background: var(--line-green); color: #fff; padding: 6px 14px; font-size: 14px; text-decoration: none; }
.reviews { scroll-margin-top: 180px; }
.rv-sum { max-width: 640px; }
.cmp table { table-layout: fixed; }
.cmp thead th:first-child, .cmp tbody th { width: 150px; }

/* ------------------------------------------------ 4.5.2 product pictures: tap to enlarge · long-press / button to save */
.gal__zoom { display: block; cursor: zoom-in; -webkit-tap-highlight-color: transparent; }
.gal__zoom:focus-visible { outline: 3px solid var(--orange-cta); outline-offset: -3px; }
.gal__slide img, .pv__slide img { -webkit-touch-callout: default; -webkit-user-select: auto; user-select: auto; }
.gal__save { position: absolute; right: 12px; top: 74px; z-index: 4; display: inline-flex; align-items: center; gap: 6px; height: 34px; padding: 0 14px;
  border-radius: 999px; background: rgba(20, 20, 20, .72); color: #fff; font-size: 14px; font-weight: 600; text-decoration: none;
  -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); box-shadow: 0 2px 8px rgba(0, 0, 0, .25); }
.gal__save:active { transform: scale(.97); }
.has-playing .gal__slide--video.is-playing .gal__save { top: 14px; }   /* share button is hidden while a video plays */
html.pv-open, html.pv-open body { overflow: hidden; }
.pv { position: fixed; inset: 0; z-index: 120; background: #000; color: #fff; display: flex; flex-direction: column; }
.pv[hidden] { display: none; }
.pv__top { position: absolute; left: 0; right: 0; top: 0; z-index: 2; display: flex; align-items: center; justify-content: space-between;
  padding: max(10px, env(safe-area-inset-top)) 12px 10px 16px; background: linear-gradient(rgba(0,0,0,.6), rgba(0,0,0,0)); pointer-events: none; }
.pv__count { font-size: 15px; font-variant-numeric: tabular-nums; letter-spacing: .5px; }
.pv__close { pointer-events: auto; display: grid; place-items: center; width: 44px; height: 44px; border: 0; border-radius: 50%; background: rgba(255,255,255,.14); color: #fff; cursor: pointer; }
.pv__track { flex: 1; display: flex; overflow-x: auto; overflow-y: hidden; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior: contain; }
.pv__track::-webkit-scrollbar { display: none; }
.pv__slide { flex: 0 0 100%; margin: 0; scroll-snap-align: center; scroll-snap-stop: always; display: grid; place-items: center; padding: 56px 0 84px; }
.pv__slide img { max-width: 100%; max-height: calc(100vh - 150px); max-height: calc(100dvh - 150px); width: auto; height: auto; object-fit: contain; display: block; }
.pv__slide { min-height: 0; overflow: hidden; }
.pv__nav { position: absolute; top: 50%; transform: translateY(-50%); z-index: 2; display: none; place-items: center; width: 52px; height: 52px; border: 0; border-radius: 50%;
  background: rgba(255,255,255,.14); color: #fff; cursor: pointer; }
.pv__nav--prev { left: 14px; } .pv__nav--next { right: 14px; }
@media (hover: hover) and (pointer: fine) { .pv__nav { display: grid; } .pv__nav:hover, .pv__close:hover { background: rgba(255,255,255,.26); } }
.pv__bar { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; display: flex; flex-direction: column; align-items: center; gap: 6px;
  padding: 12px 16px max(14px, env(safe-area-inset-bottom)); background: linear-gradient(rgba(0,0,0,0), rgba(0,0,0,.65)); }
.pv__save { display: inline-flex; align-items: center; gap: 8px; height: 44px; padding: 0 22px; border-radius: 999px; background: #fff; color: #111; font-size: 16px; font-weight: 600; text-decoration: none; }
.pv__save:active { transform: scale(.97); }
.pv__hint { font-size: 12.5px; color: rgba(255,255,255,.75); }
@media (prefers-reduced-motion: reduce) { .pv__track { scroll-behavior: auto; } }

/* 4.5.2 description on a white panel (owner request) + save button under uploaded videos */
.desc--item .desc__panel { background: #fff; border-radius: 14px; padding: 16px 16px 10px; box-shadow: 0 1px 3px rgba(80, 50, 20, .06); }
.desc--item .desc__body:not(.is-open)::after { background: linear-gradient(rgba(255,255,255,0), #fff); }
.desc--item .desc__more { margin-top: 6px; padding: 6px 12px; }
.rt-save, .rt a.rt-save { display: inline-flex; align-items: center; gap: 6px; margin: -.4em 0 1em; padding: 6px 14px; border-radius: 999px; border: 1px solid #e3d6c8;
  background: #fff; color: #333; font-size: 14px; font-weight: 600; text-decoration: none; }
.rt a.rt-save:hover, .rt-save:hover { border-color: var(--orange-cta); color: var(--orange-cta); }
