/* Trang sản phẩm, tìm kiếm, cửa hàng (/cua-hang), hướng dẫn (/huong-dan), 404: ui-design/shop-design/pages.css (bản sửa 15), sau site.css.
   Không JS: ảnh và phiên bản chọn bằng ô radio ẩn (CSS :has), phóng to bằng ô tick; khối hiện theo lựa chọn bật bằng <style> trong trang. */
/* Revision 10: detail, search and store support pages. */
.extra-main{padding-bottom:64px}
.extra-main .breadcrumb{padding-block:24px;gap:10px;font-size:12px}
.eyebrow{font-size:11px;letter-spacing:1.5px;font-weight:600;color:var(--green);text-transform:uppercase;margin-bottom:16px}
.detail-crumb>span:last-child{color:var(--muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:45%}
.detail-hero{display:grid;grid-template-columns:minmax(0,1.12fr) minmax(0,1fr);gap:64px;margin:12px 0 72px;align-items:start}
.detail-gallery{min-width:0}
.gallery-stage{position:relative;background:var(--tile);border-radius:12px;aspect-ratio:1.15;overflow:hidden;display:flex;align-items:center;justify-content:center}
.gallery-stage>img{width:100%;height:100%;object-fit:contain;mix-blend-mode:multiply;padding:32px;transition:transform .2s}
.gallery-stage:has(.zoom-toggle:checked){overflow:auto;align-items:flex-start;justify-content:flex-start}
.gallery-stage:has(.zoom-toggle:checked)>img{min-width:160%;min-height:160%;max-width:none;object-fit:contain;padding:0}
.gallery-count{position:absolute;left:20px;bottom:18px;font-size:12px;color:var(--muted);background:#ffffffde;padding:5px 10px;border-radius:20px}
.gallery-zoom{position:absolute;right:16px;bottom:16px;display:flex;align-items:center;gap:8px;min-height:40px;border:1px solid var(--line);background:white;border-radius:24px;padding:7px 14px;font-size:12px}
.gallery-thumbnails{display:flex;align-items:center;gap:10px;margin-top:14px}
.gallery-thumbnails label{width:76px;height:76px;border:1px solid var(--line);border-radius:7px;padding:6px}
.gallery-thumbnails label:has(:checked){border:2px solid var(--green);background:var(--green-soft)}
.gallery-thumbnails img{width:100%;height:100%;object-fit:contain;mix-blend-mode:multiply}
.gallery-thumbnails>span{margin-left:auto;font-size:12px;color:var(--muted)}
.detail-summary{padding-top:12px}
.detail-summary h1{font-size:36px;line-height:1.25;letter-spacing:-1.2px;font-weight:600;max-width:600px}
.detail-pricing{margin:24px 0}
.detail-pricing strong{font-size:30px;font-weight:600;letter-spacing:-.8px}
.detail-pricing del{font-size:16px;color:var(--muted);margin-left:14px}
.detail-pricing>p:last-child{margin-top:7px;font-size:13px;color:var(--muted)}
.detail-pricing .stock-unavailable{color:#9e482a!important}
.variant-field{border:0;padding:0;margin:0 0 24px}
.variant-field legend{font-size:14px;font-weight:600;margin-bottom:12px}
.variant-field legend span{color:var(--muted);font-size:12px;font-weight:400;margin-left:10px}
.variant-list{display:flex;flex-wrap:wrap;gap:8px}
.variant-list label{border:1px solid #ccd6d0;border-radius:6px;padding:10px 13px;font-size:13px;min-height:44px;text-align:left}
.variant-list label:has(:checked){background:var(--green-soft);border-color:var(--green);color:var(--green);box-shadow:inset 0 0 0 1px var(--green)}
.variant-sku{font-size:11px;color:var(--muted);margin-top:10px}
.detail-short{font-size:14px;color:var(--muted);line-height:1.8;border-top:1px solid var(--line);padding-top:18px;margin-bottom:24px}
.detail-actions{display:flex;gap:12px}
.detail-actions .button{flex:1;min-height:50px;font-size:15px}
.detail-actions img{background:white;border-radius:4px;padding:3px}
.inquiry-copy{margin:12px 0 20px}
.text-action{display:inline-flex;align-items:center;gap:8px;color:var(--green);font-weight:500;font-size:14px;min-height:44px;padding:0}
.text-action:hover{text-decoration:underline}
.inquiry-copy .text-action{font-size:12px;font-weight:400}
.inquiry-copy svg{width:14px}
.inquiry-copy p{font-size:12px;color:var(--green)}
.inquiry-copy textarea{width:100%;min-height:90px;font:inherit;font-size:13px;padding:12px;border:1px solid var(--line)}
.detail-store{display:flex;gap:12px;align-items:center;background:var(--tile);border-radius:8px;padding:16px}
.detail-store>svg{color:var(--green)}
.detail-store>svg:last-child{margin-left:auto;width:16px}
.detail-store strong{display:block;font-size:14px;font-weight:500}
.detail-store small{display:block;font-size:12px;color:var(--muted);margin-top:4px}
.detail-note{font-size:12px;color:var(--muted);margin-top:12px}
.product-information{display:grid;grid-template-columns:1fr 1fr;gap:64px;border-top:1px solid var(--line);padding-top:40px;margin-bottom:48px}
.product-information h2,.section-heading h2,.product-help h2,.reading-section h2{font-size:26px;letter-spacing:-.7px;font-weight:600}
.product-description{font-size:15px;line-height:1.9;color:var(--muted);margin:20px 0 16px}
.product-information h3{font-size:18px;font-weight:600;margin-bottom:16px}
.spec-table{margin:0}
.spec-table>div{display:grid;grid-template-columns:130px 1fr;gap:24px;padding:14px 0;border-bottom:1px solid var(--line);font-size:13px;line-height:1.8}
.spec-table dt{color:var(--muted)}
.spec-table dd{margin:0;white-space:pre-line;overflow-wrap:anywhere}
.product-help{max-width:850px;margin:0 auto 64px}
.product-help h2{margin-bottom:16px}
.product-help details,.help-answers details{border-bottom:1px solid var(--line)}
.product-help summary,.help-answers summary{list-style:none;cursor:pointer;padding:18px 32px 18px 0;position:relative;font-size:15px;font-weight:500}
.product-help summary::after,.help-answers summary::after{content:'+';position:absolute;right:0;font-size:20px;color:var(--green)}
.product-help details[open] summary::after,.help-answers details[open] summary::after{content:'−'}
.product-help details p,.help-answers details p{font-size:14px;color:var(--muted);line-height:1.8;padding-bottom:18px}
.section-heading{display:flex;align-items:center;justify-content:space-between;gap:24px;margin-bottom:24px}
.related-products{border-top:1px solid var(--line);padding-top:32px}
.not-found{max-width:680px;margin:80px auto 100px;text-align:center}
.not-found h1,.information-heading h1,.visit-hero h1{font-size:48px;font-weight:600;line-height:1.2;letter-spacing:-1.7px}
.not-found p:not(.eyebrow){color:var(--muted);margin:24px auto;max-width:480px}
.not-found>div{display:flex;justify-content:center;gap:12px}
.search-page-head{margin:20px 0 32px}
.search-page-head h1{font-size:36px;letter-spacing:-1px}
.search-page-head>p:last-child{color:var(--muted);font-size:14px}
.search-suggestions{grid-column:1/-1;display:flex;flex-wrap:wrap;gap:12px}
.search-suggestions a{border:1px solid var(--line);border-radius:8px;padding:14px 18px;font-size:14px}
.search-empty .text-action{margin-left:24px}
.search-empty>span{margin-bottom:16px}
.visit-hero{display:grid;grid-template-columns:1fr 1.1fr;align-items:center;gap:64px;margin:24px 0 48px}
.visit-hero>img{width:100%;height:490px;object-fit:cover;border-radius:12px}
.lead{font-size:17px;line-height:1.8;color:var(--muted);margin-top:24px;max-width:620px}
.visit-contact{border-top:1px solid var(--line);padding-top:20px;margin:24px 0;font-size:15px;line-height:1.9}
.visit-contact p+p{margin-top:12px;color:var(--green)}
.contact-options{display:grid;grid-template-columns:1fr 1fr;gap:24px}
.contact-options>a{display:flex;align-items:flex-start;gap:18px;border:1px solid var(--line);border-radius:10px;padding:24px}
.contact-options>a>svg{margin-top:5px}
.contact-options>a>span:last-child{margin-left:auto}
.contact-options small{color:var(--muted);display:block;font-size:12px}
.contact-options strong{display:block;margin:4px 0 8px;font-size:22px}
.contact-options p{font-size:14px;color:var(--muted)}
.reading-section{margin-top:64px}
.advice-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:32px;margin:32px 0 20px}
.advice-grid span{color:var(--green);font-size:13px}
.advice-grid h3{font-size:18px;margin:10px 0}
.advice-grid p{font-size:14px;color:var(--muted);line-height:1.8}
.information-heading{margin:24px 0 48px}
.help-layout{display:grid;grid-template-columns:260px minmax(0,1fr);gap:64px}
.help-nav{display:flex;flex-direction:column;gap:6px;align-self:start;position:sticky;top:170px}
.help-nav a{font-size:14px;padding:12px 16px;border-left:2px solid var(--line);color:var(--muted)}
.help-nav a:hover{border-color:var(--green);color:var(--green)}
.help-answers section{margin-bottom:40px;scroll-margin-top:170px}
.help-answers h2{font-size:24px;font-weight:600;letter-spacing:-.5px;margin-bottom:8px}
.help-contact{display:flex;align-items:center;gap:16px;border-radius:10px;background:var(--green-soft);padding:28px;margin-top:24px}
.help-contact>div{margin-right:auto}
.help-contact h2{font-size:22px}
.help-contact p{font-size:14px;color:var(--muted);margin-top:6px}

@media (max-width:1000px){.detail-hero,.product-information,.visit-hero{gap:32px}
.detail-summary h1{font-size:30px}
.help-layout{gap:32px;grid-template-columns:200px 1fr}
}

@media (max-width:767px){
.extra-main{padding-bottom:32px}
.extra-main .breadcrumb{padding-block:16px;font-size:11px}
.detail-crumb>span:last-child,.detail-crumb>svg:last-of-type{display:none}
.detail-hero{display:flex;flex-direction:column;gap:24px;margin:0 0 32px}
.detail-gallery{width:100%}
.gallery-stage{aspect-ratio:1.2;border-radius:8px}
.gallery-stage>img{padding:20px}
.gallery-count{left:12px;bottom:12px;font-size:11px}
.gallery-zoom{right:10px;bottom:10px;min-height:36px;font-size:11px;padding:6px 10px}
.gallery-zoom svg{width:16px}
.gallery-thumbnails{gap:8px;margin-top:10px}
.gallery-thumbnails label{width:56px;height:56px}
.gallery-thumbnails>span{font-size:11px}
.detail-summary{padding:0;width:100%}
.eyebrow{font-size:10px;letter-spacing:1.2px;margin-bottom:10px}
.detail-summary h1{font-size:25px;letter-spacing:-.7px;line-height:1.35}
.detail-pricing{margin:16px 0 20px}
.detail-pricing strong{font-size:26px}
.detail-pricing>p:last-child{font-size:12px}
.variant-field{margin-bottom:20px}
.variant-list{gap:8px}
.variant-list label{font-size:12px;padding:10px 12px}
.detail-actions{gap:10px}
.detail-actions .button{font-size:14px;padding:10px 12px;min-height:48px;gap:8px}
.detail-store{padding:14px 12px;gap:10px}
.detail-store strong{font-size:13px}
.detail-store small{font-size:11px}
.detail-note{font-size:11px;line-height:1.8}
.inquiry-copy{margin:8px 0 16px}
.product-information{display:flex;flex-direction:column;gap:28px;padding-top:28px;margin-bottom:28px}
.product-information h2,.product-help h2,.section-heading h2,.reading-section h2{font-size:22px}
.product-description{font-size:14px;margin:14px 0 8px}
.spec-table>div{grid-template-columns:100px minmax(0,1fr);gap:14px;font-size:12px;padding:12px 0}
.product-information h3{font-size:17px}
.product-help{margin-bottom:32px}
.product-help summary,.help-answers summary{font-size:14px;padding-block:16px}
.product-help details p,.help-answers details p{font-size:13px}
.section-heading{display:block;margin-bottom:20px}
.section-heading .text-action{font-size:13px;margin-top:4px}
.related-products{padding-top:24px}
.not-found{margin:48px auto 60px}
.not-found h1,.information-heading h1,.visit-hero h1{font-size:34px;letter-spacing:-1px}
.not-found p:not(.eyebrow){font-size:14px;line-height:1.8}
.not-found>div{flex-direction:column;align-items:center}
.not-found .button{padding:10px 20px}
.search-page-head{margin:8px 0 24px}
.search-page-head h1{font-size:28px}
.search-suggestions{gap:8px}
.search-suggestions a{font-size:13px;padding:12px}
.search-empty .text-action{margin-left:0;display:flex;justify-content:center}
.visit-hero{display:flex;flex-direction:column-reverse;gap:24px;margin:0 0 28px}
.visit-hero>img{height:210px;border-radius:8px}
.lead{font-size:14px;line-height:1.9;margin-top:16px}
.visit-contact{font-size:14px;padding-top:16px;margin:20px 0}
.visit-hero .button{border-radius:24px}
.contact-options{grid-template-columns:1fr;gap:12px}
.contact-options>a{padding:18px 16px;gap:14px}
.contact-options strong{font-size:20px}
.contact-options p{font-size:12px}
.reading-section{margin-top:36px}
.advice-grid{grid-template-columns:1fr;gap:24px;margin:24px 0 12px}
.advice-grid article{padding-left:38px;position:relative}
.advice-grid span{position:absolute;left:0;top:4px}
.advice-grid h3{font-size:16px;margin:0 0 6px}
.advice-grid p{font-size:13px}
.information-heading{margin:8px 0 24px}
.help-layout{display:block}
.help-nav{position:static;flex-direction:row;overflow:auto;gap:8px;padding-bottom:12px;margin-bottom:20px}
.help-nav a{white-space:nowrap;border:1px solid var(--line);border-radius:24px;padding:10px 14px;font-size:12px}
.help-answers h2{font-size:21px}
.help-answers section{scroll-margin-top:88px;margin-bottom:28px}
.help-contact{padding:20px;gap:10px;flex-wrap:wrap}
.help-contact>div{flex-basis:100%;margin:0 0 6px}
.help-contact h2{font-size:20px}
.help-contact .button{padding:10px 16px;font-size:13px}
}

@media(prefers-reduced-motion:reduce){.gallery-stage>img{transition:none}
}

/* Revision 11: a personal support desk, with compact disclosures on phones. */
.custom-size-button{margin-top:8px;padding:12px 18px;border-radius:8px;font-size:13px;max-width:100%;line-height:1.6}
.custom-size-button>svg{flex-shrink:0}
.custom-size-button>svg:last-child{width:16px}

.product-help{max-width:none;display:grid;grid-template-columns:.9fr 1.2fr;border:1px solid #d9e3dc;border-radius:16px;overflow:hidden;background:#f5f8f5;margin:0 0 64px}
.support-intro{background:#e8efe9;padding:36px}
.support-intro h2{font-size:32px;line-height:1.22;letter-spacing:-1px}
.support-intro>p:not(.eyebrow){font-size:14px;line-height:1.8;color:var(--muted);max-width:330px}
.support-call{display:flex;align-items:center;gap:12px;margin-top:24px;color:var(--green);width:fit-content}
.support-call small{display:block;font-size:11px;margin-bottom:3px}
.support-call strong{font-size:20px}
.support-call>svg:last-child{width:16px;margin-left:12px}
.support-content{padding:32px 36px;background:#fbfcfa}
.support-content h3{font-size:18px;margin-bottom:10px}
.support-content summary{display:flex;gap:16px;align-items:center;min-height:90px;padding-right:26px;font-size:15px}
.support-content summary::after{top:32px}
.support-content summary small{display:block;font-size:12px;font-weight:400;color:var(--muted);margin-top:6px}
.support-number{font-size:12px;color:var(--green);border:1px solid #c8d8cc;border-radius:50%;width:32px;height:32px;display:grid;place-items:center;flex-shrink:0}
.support-content details p{padding-left:48px}
.support-content>.text-action{margin-top:12px;font-size:13px}
.search-page-head .search-summary{margin-top:16px;color:var(--muted)}
.search-edit{font-size:13px}

@media (max-width:767px){.custom-size-button{padding:10px 12px;font-size:12px;gap:8px}
.product-help{grid-template-columns:1fr;border-radius:12px;margin-bottom:32px}
.support-intro{padding:24px}
.support-intro h2{font-size:26px;margin-bottom:10px}
.support-intro h2 br{display:none}
.support-intro>p:not(.eyebrow){font-size:13px}
.support-call{margin-top:16px}
.support-call strong{font-size:19px}
.support-content{padding:20px 24px}
.support-content h3{font-size:16px}
.support-content summary{font-size:13px;gap:10px;min-height:80px}
.support-content summary small{font-size:11px;line-height:1.6}
.support-content details p{padding-left:0;font-size:13px}
.support-number{width:27px;height:27px;font-size:10px}
}

/* Revision 12: contact actions belong to the store hero, each spanning its copy column. */
.visit-hero{grid-template-columns:minmax(0,1fr) minmax(0,1.08fr);gap:56px;align-items:stretch}
.visit-copy{min-width:0;align-self:center}
.visit-hero>img{height:100%;min-height:620px;max-height:800px;object-position:center;border-radius:14px}
.visit-copy .lead{font-size:15px;line-height:1.8;margin-top:20px}
.visit-copy .visit-contact{margin:20px 0 18px;padding-top:18px;font-size:14px}
.visit-copy>.button{min-height:44px;padding:10px 16px;border-radius:8px;font-size:13px}
.visit-copy .contact-options{grid-template-columns:1fr;gap:10px;margin-top:24px;width:100%;padding-top:24px;border-top:1px solid var(--line)}
.visit-copy .contact-options>a{width:100%;align-items:center;gap:16px;padding:16px 20px;border-radius:10px;background:#f3f6f3;border-color:#dce5de;transition:background .18s,border-color .18s}
.visit-copy .contact-options>a:hover{background:#e9f0eb;border-color:#a9bfb0}
.visit-copy .contact-options>a>span:first-child,.visit-copy .contact-options>a>img{width:36px;flex:0 0 36px;justify-content:center;color:var(--green)}
.visit-copy .contact-options>a>span:last-child{font-size:18px;color:var(--green)}
.visit-copy .contact-options small{font-size:11px}
.visit-copy .contact-options strong{font-size:20px;line-height:1.4;letter-spacing:-.35px;margin:3px 0 0}
.visit-copy .contact-options img{height:24px;object-fit:contain}

@media (max-width:1100px){.visit-hero{gap:36px}
.visit-hero h1{font-size:42px}
.visit-hero>img{min-height:600px}
}

@media (max-width:767px){.visit-hero{gap:24px}
.visit-hero>img{height:210px;min-height:0;max-height:none;aspect-ratio:auto;border-radius:10px}
.visit-copy{width:100%}
.visit-hero h1{font-size:34px}
.visit-copy .lead{font-size:14px;margin-top:16px}
.visit-copy .contact-options{margin-top:20px;padding-top:20px;gap:8px}
.visit-copy .contact-options>a{padding:14px 16px;gap:12px}
.visit-copy .contact-options strong{font-size:19px}
.visit-copy .contact-options small{font-size:11px}
.visit-copy .contact-options>a>span:first-child,.visit-copy .contact-options>a>img{width:30px;flex-basis:30px}
}

/* Revision 13: paired contact actions and a distinct price accent. */
.visit-copy .contact-options{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}

.visit-copy .contact-options>a{padding:16px;gap:10px;flex-wrap:wrap;min-width:0}

.visit-copy .contact-options>a>span:last-child{display:none}

.visit-copy .contact-options strong{font-size:18px;white-space:nowrap}

.detail-pricing strong{color:var(--red,#9e2a2b)}

@media (max-width:767px){.visit-copy .contact-options>a{padding:13px 11px;gap:8px}
.visit-copy .contact-options strong{font-size:14px}
.visit-copy .contact-options small{font-size:10px}
.visit-copy .contact-options>a>svg,.visit-copy .contact-options>a>.zalo-wordmark{width:24px;height:24px}
.visit-copy .contact-options>a{display:flex;flex-direction:column;align-items:flex-start}
}



/* ===== Bản production ===== */
.gallery-stage>img,.gallery-count{display:none}
.gallery-thumbnails input,.variant-list input,.zoom-toggle{position:absolute;width:1px;height:1px;opacity:0;pointer-events:none}
.gallery-thumbnails label,.variant-list label,.gallery-zoom{cursor:pointer}
.gallery-thumbnails label:has(:focus-visible),.variant-list label:has(:focus-visible),.gallery-zoom:has(+ .zoom-toggle:focus-visible){outline:2px solid var(--green);outline-offset:2px}
.gallery-zoom .zoom-out,.gallery-stage:has(.zoom-toggle:checked) .gallery-zoom .zoom-in{display:none}
.gallery-stage:has(.zoom-toggle:checked) .gallery-zoom .zoom-out{display:inline}
.gallery-zoom{z-index:2}
.variant-pane{display:none}
.copy-feedback:empty{display:none}
.detail-pricing .stock-ok{color:var(--green)}
.only-phone{display:none}
@media (max-width:767px){.only-wide{display:none}.only-phone{display:inline-flex}}
.search-empty .zalo-app-icon{width:22px;height:22px}
.contact-options .zalo-app-icon{width:32px;height:32px}
@media (max-width:767px){.detail-crumb>[data-icon]:nth-last-child(2){display:none}}
