/* Product pages share the approved homepage tokens, header, footer and buttons. */
.storefront{background:var(--canvas)}.storefront .site-header,.storefront .site-footer{background:white}.shop-main{max-width:1480px;margin:auto;padding-bottom:36px}.breadcrumbs{display:flex;gap:10px;align-items:center;flex-wrap:wrap;padding:19px 0;font-size:12px;color:var(--muted)}.breadcrumbs a:hover{text-decoration:underline}.catalog-heading{display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line);margin-bottom:24px;min-height:148px}.catalog-heading h1,.family-heading h1{font-size:32px;line-height:1.3;margin:12px 0 8px}.catalog-heading p,.family-heading p{font-size:14px;color:var(--muted)}.catalog-heading img{height:145px;width:110px;object-fit:contain;object-position:bottom}.catalog-heading .eyebrow{font-size:12px}.listing-layout{display:grid;grid-template-columns:225px minmax(0,1fr);gap:24px}.filter-panel{background:white;border:1px solid var(--line);border-radius:12px;padding:20px;align-self:start}.filter-panel h2{font-size:20px;margin-bottom:18px}.filter-panel form{display:grid;gap:10px}.filter-panel label{font-weight:600;font-size:14px;margin-top:8px}.storefront select,.dimension-inputs input{border:1px solid #c9ced5;border-radius:7px;padding:10px 12px;background:white;min-height:44px;max-width:100%;font:inherit;color:var(--ink)}.filter-panel .button{margin-top:10px}.filter-help{border-top:1px solid var(--line);margin-top:25px;padding-top:22px;font-size:12px;line-height:1.6}.filter-help>.icon{display:block;margin-bottom:10px}.filter-help strong{display:block}.filter-help a,.mini-guide a{text-decoration:underline;font-weight:600}.results-toolbar{display:flex;justify-content:space-between;align-items:center;gap:12px}.results-toolbar h2{font-size:22px}.results-toolbar label{display:flex;align-items:center;gap:12px;font-size:13px}#result-count{font-size:13px;color:var(--muted);margin:12px 0 18px}.product-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.product-card{border:1px solid var(--line);border-radius:12px;background:white;overflow:hidden;min-width:0;box-shadow:var(--shadow)}.product-card:hover{border-color:#cfa715}.product-card-link{display:flex;flex-direction:column;height:100%;color:inherit}.product-photo{height:200px;display:grid;place-items:center;background:#fafbfc;padding:20px}.product-photo img{width:100%;height:100%;object-fit:contain}.product-card-body{padding:18px;display:flex;flex-direction:column;flex:1}.product-code{font-size:12px;font-weight:700;letter-spacing:.5px;color:var(--muted)}.product-card h3{font-size:19px;line-height:1.4;margin:8px 0}.product-spec,.product-colors{font-size:13px;color:var(--muted);line-height:1.65}.product-price{border-top:1px solid var(--line);padding-top:14px;margin-top:14px;font-size:13px}.product-open{display:block;margin-top:auto;padding-top:18px;font-size:14px;font-weight:700}.source-note{font-size:12px;line-height:1.6;color:var(--muted);margin:12px 0}.shop-state{padding:40px 24px;background:white;border:1px dashed #b9c0c9;border-radius:12px;text-align:center;margin:12px 0}.shop-state:empty{display:none}.shop-state[data-state=loading]{background:linear-gradient(100deg,#fff,#eee,#fff);background-size:200% 100%;animation:loading-sheen 1.5s infinite}.shop-state[data-state=error]{border-color:#b55440;color:#8b2b1a}@keyframes loading-sheen{to{background-position:-200% 0}}.family-heading{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:24px}.family-heading .eyebrow{font-size:12px}.family-layout{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(360px,1fr);gap:24px}.gallery-panel,.mini-configurator,.product-details>section{border:1px solid var(--line);border-radius:14px;background:white;padding:24px;min-width:0}.gallery-panel{align-self:start}.gallery-main{width:100%;height:365px;display:grid;place-items:center;background:#f6f8fa;border-radius:9px;padding:18px;cursor:zoom-in}.gallery-main img{width:100%;height:100%;object-fit:contain}.gallery-thumbs{display:flex;gap:8px;flex-wrap:wrap;margin-top:14px}.gallery-thumbs button{padding:7px;border:1px solid var(--line);border-radius:8px;background:white;font-size:12px;min-width:90px}.gallery-thumbs button[aria-pressed=true]{border-color:#cba300;background:var(--yellow-soft)}.gallery-thumbs img{height:48px;width:70px;object-fit:contain;display:block;margin:auto auto 4px}.family-spec-highlights{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin-top:22px}.family-spec-highlights div{background:var(--canvas);border-radius:8px;padding:13px 8px;text-align:center}.family-spec-highlights strong{display:block;font-size:19px}.family-spec-highlights span{font-size:11px;color:var(--muted)}.mini-heading{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:20px}.mini-heading h2{font-size:23px}.demo-chip{background:var(--yellow-soft);padding:4px 9px;border-radius:20px;font-size:10px;font-weight:700}.mini-configurator fieldset{padding:0;border:0;margin:0 0 15px;min-width:0}.mini-configurator legend{font-weight:600;margin-bottom:12px;font-size:14px}.step-dot{display:inline-grid;place-items:center;border-radius:50%;width:23px;height:23px;background:var(--yellow);font-size:12px}.variant-options{display:flex;gap:8px;flex-wrap:wrap}.variant-option{display:flex;align-items:center;gap:7px;padding:11px;border:1px solid #c9ced5;border-radius:8px;font-size:13px;background:white;cursor:pointer}.variant-option:has(input:checked){border-color:#a88600;background:var(--yellow-soft)}.variant-option input{accent-color:#101318}.color-dot{width:15px;height:15px;border:1px solid #a1a6ad;border-radius:50%}.selected-sku{background:var(--canvas);border-radius:7px;padding:10px 13px;font-size:12px;display:flex;justify-content:space-between;gap:12px;margin-bottom:20px}.selected-sku strong{font-size:16px}.dimension-inputs{display:grid;grid-template-columns:1.25fr 1fr;gap:14px}.dimension-inputs label>span{display:block;font-size:13px;font-weight:600;margin-bottom:10px}.dimension-inputs input{width:100%;font-size:19px}.processing-note{font-size:12px;padding:11px 0;border-top:1px solid var(--line);color:var(--muted)}.selection-summary{padding:16px;border-radius:8px;background:#f8f9fb;margin-top:12px}.selection-summary>span{font-size:12px;color:var(--muted)}.selection-summary strong{display:block;font-size:20px;margin-top:5px}.selection-summary p{font-size:13px;margin-top:7px}.field-error{font-size:13px;color:var(--danger);margin:12px 0}.field-error:empty{display:none}.purchase-actions{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:17px}.purchase-actions .button{font-size:14px;padding:12px 10px;min-height:47px}.mini-guide{display:flex;align-items:center;gap:12px;border-top:1px solid var(--line);padding-top:15px;margin-top:14px;font-size:12px}.mini-guide img{width:67px;height:86px;object-fit:contain}.mini-guide strong{font-size:14px}.product-details{display:grid;grid-template-columns:1fr 1fr;gap:24px;margin-top:24px}.product-details h2{font-size:22px;margin-bottom:18px}.product-details p{font-size:14px;line-height:1.8}.product-details h2:not(:first-child){margin-top:25px}.spec-list{display:grid;grid-template-columns:1fr 1fr;font-size:14px}.spec-list dt,.spec-list dd{padding:12px;border-bottom:1px solid var(--line);margin:0}.spec-list dt{background:#fafbfc;color:var(--muted)}.document-list{display:grid;gap:8px}.document-list a{display:flex;justify-content:space-between;align-items:center;padding:12px;border:1px solid var(--line);border-radius:8px;font-size:13px;gap:8px}.document-list a:hover{background:var(--yellow-soft)}#image-dialog{width:min(1100px,95vw);padding:40px 20px 20px}#image-dialog img{max-height:75vh;width:100%;object-fit:contain}#image-dialog p{font-size:12px;margin-bottom:0}#shop-dialog-selection{white-space:pre-line;font-weight:600}.storefront .gallery-main:focus-visible,.product-card-link:focus-visible{outline:3px solid var(--ink);outline-offset:-4px}
@media(max-width:1100px){.listing-layout{grid-template-columns:190px minmax(0,1fr);gap:16px}.product-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.product-photo{height:165px}.family-layout{grid-template-columns:1fr 1fr;gap:16px}.gallery-panel,.mini-configurator,.product-details>section{padding:18px}.gallery-main{height:275px}.family-heading h1{font-size:27px}.mini-heading h2{font-size:20px}.purchase-actions{grid-template-columns:1fr}.product-details{gap:16px}.family-spec-highlights strong{font-size:16px}}
@media(max-width:800px){.family-layout{grid-template-columns:1fr}.gallery-main{height:310px}.gallery-thumbs{justify-content:center}.product-details{grid-template-columns:1fr}.family-heading{align-items:flex-start}.family-heading .text-link{font-size:12px;white-space:nowrap}.listing-layout{grid-template-columns:1fr}.filter-panel{padding:14px}.filter-panel h2{font-size:16px;margin:0 0 10px}.filter-panel form{grid-template-columns:1fr 1fr auto;align-items:end}.filter-panel label{grid-row:1;margin:0}.filter-panel select{grid-row:2}.filter-panel #clear-filters{grid-column:3;grid-row:2;margin:0}.filter-help{display:none}.product-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.product-card-body{padding:12px}.product-card h3{font-size:16px}.product-photo{height:145px;padding:10px}.purchase-actions{grid-template-columns:1fr 1fr}}
@media(max-width:600px){.shop-main{padding-bottom:24px}.catalog-heading{min-height:135px;margin-bottom:16px}.catalog-heading h1{font-size:25px}.catalog-heading p{font-size:12px}.catalog-heading img{height:120px;width:80px}.catalog-heading .eyebrow{font-size:10px}.breadcrumbs{font-size:11px;padding:14px 0}.product-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.product-photo{height:130px}.product-card h3{font-size:15px}.product-card-body{padding:12px}.product-spec,.product-colors,.product-price{font-size:11px}.product-open{font-size:12px}.filter-panel form{grid-template-columns:1fr 1fr}.filter-panel #clear-filters{grid-row:3;grid-column:1/-1;min-height:36px}.results-toolbar{align-items:flex-start;flex-direction:column}.results-toolbar label{width:100%;justify-content:space-between}.results-toolbar h2{font-size:20px}.family-heading{display:block}.family-heading h1{font-size:26px}.family-heading p{font-size:12px}.family-heading .text-link{display:block;margin-top:8px}.gallery-main{height:240px;padding:8px}.gallery-panel,.mini-configurator,.product-details>section{padding:15px}.family-spec-highlights{gap:5px}.family-spec-highlights strong{font-size:15px}.gallery-thumbs button{min-width:80px}.gallery-thumbs{gap:6px}.mini-heading h2{font-size:21px}.variant-option{padding:9px;font-size:12px}.dimension-inputs{gap:10px}.dimension-inputs label>span{font-size:12px}.purchase-actions .button{font-size:13px}.spec-list{font-size:12px}.spec-list dt,.spec-list dd{padding:11px 8px}.product-details h2{font-size:21px}.source-note{font-size:11px}}
/* Keep media inside its own frame and preserve the shared header select. */
.product-photo,.gallery-main{display:flex;align-items:center;justify-content:center;overflow:hidden;min-height:0}
.product-photo img,.gallery-main img{min-width:0;min-height:0;max-width:100%;max-height:100%}
.storefront .header-actions .language select{border:0;background:transparent;padding:0;min-height:44px;border-radius:0;font-size:var(--text-sm);font-weight:700}
@media(max-width:600px){.storefront .header-actions .language select{font-size:12px;width:47px}}
.product-details{align-items:start}
/* Review: stronger product emphasis; compact mobile shopping entry. */
#filter-toggle{display:none}.product-open{color:var(--ink);border-top:3px solid var(--yellow);margin-top:16px;padding-top:10px}.mini-configurator{border-top:5px solid var(--yellow)}.catalog-heading h1,.family-heading h1{border-left:5px solid var(--yellow);padding-left:12px}.product-photo{background:white}.product-photo img{object-fit:contain}.gallery-main{background:white}.gallery-main:disabled{cursor:default}.missing-media{display:block;text-align:center}.family-spec-highlights{margin:0 0 16px}.filter-panel form{display:flex;flex-direction:column;align-items:stretch}.filter-panel [hidden]{display:none}.product-price{line-height:1.6}
@media(max-width:800px){.catalog-heading{min-height:105px;margin-bottom:12px}.catalog-heading img{height:95px}.family-heading{margin-bottom:12px}.gallery-main{height:225px}.gallery-thumbs{margin-top:8px}.gallery-thumbs img{height:34px;width:48px}.gallery-thumbs button{min-width:64px;padding:5px}.gallery-panel{padding:12px}.gallery-panel .source-note{margin:6px 0 0}.filter-panel{padding:0;border:0;background:transparent}#filter-toggle{display:block;background:var(--yellow);border:0;border-radius:8px;padding:10px 16px;min-height:44px;font:inherit;font-weight:700}.filter-panel h2{display:none}.filter-panel form{display:none}.filter-panel.expanded form{display:flex;background:white;border:1px solid var(--line);padding:14px;border-radius:8px;margin-top:8px}.listing-layout{gap:12px}.results-toolbar{flex-direction:row;align-items:center}.results-toolbar h2{font-size:18px}.results-toolbar label{width:auto;font-size:12px;gap:6px}.results-toolbar label>span{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}#result-count{margin:6px 0 10px}.mini-heading{margin-bottom:12px}.mini-configurator{padding:16px}.family-layout{gap:12px}}
@media(max-width:600px){.breadcrumbs{padding:10px 0}.catalog-heading{min-height:98px;gap:8px}.catalog-heading h1{font-size:24px;margin:8px 0}.catalog-heading img{height:86px;width:60px}.catalog-heading p{margin-bottom:8px}.family-heading h1{font-size:24px;margin:8px 0}.family-heading p{margin:5px 0}.family-heading .text-link{margin-top:4px}.gallery-main{height:175px;padding:0}.gallery-thumbs img{height:25px;width:38px}.gallery-thumbs button{font-size:10px;min-width:55px}.gallery-panel .source-note{font-size:11px;line-height:1.4}.mini-heading h2{font-size:20px}.product-photo{height:145px;padding:8px}.product-card-body{padding:10px}.product-card h3{margin:6px 0}.selected-sku{margin-bottom:12px}.variant-option{min-height:42px}.family-layout .gallery-panel{border:0}.catalog-heading .eyebrow{padding:5px 8px}}
/* AIC industrial commerce: deliberate contrast at selection and actions. */
.storefront .shop-main{background:#fff}.storefront{background:#fff}.catalog-heading{border-bottom:3px solid var(--yellow)}.product-card{box-shadow:0 3px 10px #1111110a;border-color:#ddd}.product-code{color:#17191c}.product-open{background:#17191c;color:#fff;border-top:3px solid var(--yellow);margin:16px -18px -18px;padding:12px 18px}.product-card:hover .product-open{background:var(--yellow);color:#111}.mini-heading{background:#17191c;color:#fff;margin:-24px -24px 20px;padding:16px 24px}.mini-heading .demo-chip{color:#111}.mini-configurator{overflow:hidden}.variant-option:has(input:checked){background:var(--yellow);border:2px solid #191b1d;box-shadow:0 2px 0 #191b1d;font-weight:700}.selected-sku{background:transparent;padding:8px 0;border-bottom:1px solid var(--line);border-radius:0}.selection-summary{background:transparent;border-left:4px solid var(--yellow);border-radius:0;padding:8px 12px}.family-spec-highlights div{background:white;border-bottom:2px solid var(--yellow);border-radius:0}.product-details>section{border:0;border-top:2px solid #181a1d;border-radius:0;padding:20px 0}.gallery-panel{border:0}.purchase-actions .button{box-shadow:0 3px 0 #b39100}.purchase-actions .button-secondary{box-shadow:0 3px 0 #dadde0}.spec-list dt{background:#fafafa}
@media(max-width:1100px){.mini-heading{margin:-18px -18px 16px;padding:14px 18px}}
@media(max-width:800px){.mini-heading{margin:-16px -16px 12px;padding:12px 16px}.product-open{margin:14px -12px -12px;padding:10px 12px}}
@media(max-width:600px){.product-open{margin:12px -10px -10px;padding:10px}.mini-guide{padding-top:10px;margin-top:10px}.mini-guide img{height:64px}.product-details>section{padding:16px 0}}
.purchase-actions .secondary{box-shadow:0 3px 0 #dadde0}
/* Mapped accessories stay below the complete primary purchase area. */
.related-accessories{margin-top:28px;border-top:3px solid var(--yellow);padding-top:18px}.related-accessories[hidden]{display:none}.related-accessories h2{font-size:24px}.accessory-rail{display:grid;grid-auto-flow:column;grid-auto-columns:calc((100% - 48px)/4);gap:16px;overflow-x:auto;padding:4px 2px 14px;scroll-snap-type:x proximity}.accessory-card{border:1px solid var(--line);border-radius:10px;overflow:hidden;display:flex;flex-direction:column;background:#fff;min-width:0;scroll-snap-align:start}.accessory-photo{height:165px;padding:14px;display:flex;justify-content:center;align-items:center;background:#fff}.accessory-photo img{width:100%;height:100%;object-fit:contain}.accessory-reference{font-size:10px;color:var(--muted);padding:0 14px}.accessory-body{padding:14px;display:flex;flex-direction:column;flex:1}.accessory-body h3{font-size:18px;margin:8px 0 0;line-height:1.4}.accessory-price{font-size:13px;margin:0 0 14px}.accessory-body .button{margin-top:auto;border-bottom:3px solid var(--yellow);font-size:14px}.accessory-scroll-hint{display:none;font-size:12px;color:var(--muted)}.accessory-rail:focus-visible{outline:2px solid var(--ink);outline-offset:3px}
@media(max-width:1100px){.accessory-rail{grid-auto-columns:calc((100% - 32px)/3)}.accessory-scroll-hint{display:block}}
@media(max-width:600px){.related-accessories{margin-top:20px;padding-top:14px}.related-accessories h2{font-size:21px}.accessory-rail{grid-auto-columns:72%;gap:12px}.accessory-photo{height:150px}.accessory-body h3{font-size:17px}}
/* มติ 425 — QR ไลน์ในกล่อง «เลือกโปรไฟล์ไม่แน่ใจ?» · ซ่อนบนจอเล็ก (สแกนเครื่องเดียวกันไม่ได้) */
.help-qr{display:block;width:112px;height:112px;margin-top:8px;background:#fff;border:1px solid #e5e7eb;border-radius:6px}.help-qr svg{display:block;width:100%;height:100%}
@media(max-width:800px){.help-qr{display:none}}
