/* Hallmark · macrostructure: Catalogue · tone: modern-minimal · theme: studied-DNA (source: https://www.overwrist.com/) · nav: N11 · footer: Ft1 */
/* Hallmark · pre-emit critique: P4 H4 E4 S5 R5 V4 */
@import url('tokens.css');

* { box-sizing: border-box; }
html, body { margin: 0; overflow-x: clip; }
html { scroll-behavior: smooth; }
body { font-family: var(--font-body); font-size: var(--text-md); line-height: 1.8; background: var(--color-paper); color: var(--color-ink); }
body.modal-open { overflow-y: hidden; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
button, a, summary { -webkit-tap-highlight-color: var(--color-transparent); }
button { cursor: pointer; color: inherit; }
button, .button { transition: background var(--dur-short) var(--ease-out), color var(--dur-short) var(--ease-out), opacity var(--dur-short) var(--ease-out); }
button:disabled { cursor: default; opacity: .45; }
a:hover { color: var(--color-accent); }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 2px solid var(--color-accent); outline-offset: 5px; }
.site-header a:focus-visible, .site-header button:focus-visible, .site-footer a:focus-visible { outline-color: var(--color-gold); }
img { max-width: 100%; display: block; object-fit: cover; }
svg { stroke: currentColor; stroke-width: 1.4; }
h1, h2 { font-family: var(--font-display); font-weight: 400; font-style: normal; line-height: 1.5; letter-spacing: -.035em; overflow-wrap: anywhere; min-width: 0; margin: 0 0 var(--space-md); }
h1 { font-size: var(--text-display); }
h2 { font-size: clamp(1.8rem, 2.8vw, 2.8rem); }
h3 { font-size: var(--text-lg); font-weight: 500; margin: 0 0 var(--space-sm); line-height: 1.6; }
p { margin: 0 0 var(--space-md); }
address { font-style: normal; }
.wrap { width: min(1320px, calc(100% - 96px)); margin-inline: auto; }
main > section:not(.wrap), main > div:not(.wrap) { width: min(1320px, calc(100% - 96px)); margin-inline: auto; }
main > section > * { min-width: 0; }
.section-space { margin-block: var(--space-3xl); }
.muted, .small { color: var(--color-muted); }
.small, .image-note, .price-note { font-size: var(--text-sm); }
.large-copy, .lead { font-size: clamp(1.125rem, 1.5vw, 1.45rem); line-height: 1.85; }
.text-link { display: inline-flex; gap: var(--space-md); align-items: center; min-height: 44px; border-bottom: var(--rule-hair) solid var(--color-rule); white-space: nowrap; font-size: var(--text-md); }
.text-link span { color: var(--color-accent); }
.button { display: inline-flex; min-height: 50px; padding: 12px 24px; align-items: center; justify-content: center; gap: var(--space-lg); white-space: nowrap; border: var(--rule-hair) solid var(--color-ink); font-weight: 500; font-size: var(--text-md); border-radius: var(--radius-sm); }
.dark { background: var(--color-ink); color: var(--color-paper); }
.dark:hover { background: var(--color-accent); color: var(--color-paper); }
.light { background: var(--color-paper); color: var(--color-ink); border-color: var(--color-paper); }
.light:hover { background: var(--color-paper-2); color: var(--color-ink); }
.outline { background: var(--color-transparent); }
.outline:hover { background: var(--color-paper-2); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; clip-path: inset(50%); overflow: hidden; white-space: nowrap; }

/* เมนูทุกหน้าใช้ลิงก์ไปยังไฟล์จริง ไม่มีเมนูสามขีด */
.site-header { position: sticky; top: 0; z-index: 30; background: var(--color-dark); color: var(--color-light); transition: transform var(--dur-long) var(--ease-out), opacity var(--dur-long) var(--ease-out); }
.site-header.is-hidden { transform: translateY(-100%); opacity: 0; pointer-events: none; }
.site-header:focus-within { transform: none; opacity: 1; pointer-events: auto; }
.header-inner { min-height: 100px; display: flex; align-items: center; justify-content: space-between; gap: var(--space-lg); }
.brand { display: flex; align-items: center; gap: 12px; white-space: nowrap; }
.brand svg { width: 44px; height: 44px; color: var(--color-gold); }
.brand > span { font-family: var(--font-display); font-size: 28px; line-height: 1.25; }
.brand small { font-family: var(--font-body); font-size: 11px; letter-spacing: .05em; display: block; margin-top: 6px; color: var(--color-light-muted); }
.site-header nav { display: flex; align-items: center; gap: clamp(16px, 2vw, 32px); }
.site-header nav a { font-size: 14px; min-height: 44px; display: flex; align-items: center; white-space: nowrap; position: relative; }
.site-header a:hover { color: var(--color-gold); }
.site-header nav a[aria-current] { color: var(--color-gold); }
.site-header nav a[aria-current]::after { content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 1px; background: var(--color-gold); }
.cart-trigger { display: flex; align-items: center; gap: 10px; padding: 8px 0 8px 20px; min-height: 44px; border: 0; border-left: 1px solid var(--color-dark-rule); background: var(--color-transparent); font-size: 14px; }
.cart-trigger:hover { color: var(--color-gold); }
.cart-trigger svg { width: 22px; height: 26px; }
.cart-count { font-size: 12px; color: var(--color-dark); background: var(--color-gold); border-radius: 50%; width: 20px; height: 20px; display: grid; place-items: center; }

/* ส่วนต้อนรับ: ภาพใหญ่สี่ภาพ เปลี่ยนด้วยปุ่ม ไม่หมุนอัตโนมัติ */
.hero { margin-top: var(--space-md); }
.hero-stage { position: relative; height: min(740px, 79vw); min-height: 650px; background: var(--color-dark); color: var(--color-light); overflow: hidden; }
.slides, .hero-slide, .hero-shade { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-slide { opacity: 0; transition: opacity 500ms var(--ease-in-out); object-position: 65% 52%; }
.hero-slide.is-active { opacity: 1; }
.hero-shade { background: linear-gradient(90deg, var(--color-shade), var(--color-transparent) 90%); }
.hero-copy { position: relative; z-index: 1; padding: clamp(32px, 4.4vw, 64px); max-width: 760px; }
.hero-location { font-size: var(--text-sm); color: var(--color-light-muted); margin-bottom: var(--space-md); }
.hero h1 { font-size: clamp(2.4rem, 4.5vw, 4.4rem); margin-bottom: var(--space-sm); line-height: 1.4; color: var(--color-light); }
.hero h1 span, .intro-lines span { display: block; }
.intro-lines { font-size: 15px; line-height: 1.9; color: var(--color-light-muted); margin-bottom: var(--space-lg); }
.hero-controls { position: absolute; z-index: 2; left: 56px; right: 44px; bottom: 28px; display: flex; align-items: center; justify-content: space-between; gap: var(--space-sm); }
.slide-count { font-size: 13px; color: var(--color-light-muted); }
.slide-buttons { display: flex; gap: 8px; }
.slide-dot { width: 44px; height: 44px; background: var(--color-overlay); color: var(--color-light); border: 1px solid var(--color-light-muted); font-size: 12px; }
.slide-dot.selected, .slide-dot:hover { background: var(--color-paper); color: var(--color-ink); }
.image-note { color: var(--color-muted); text-align: right; margin-top: 8px; }
.about-intro, .prose-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 80px; }
.about-intro .large-copy { margin-top: 0; }
.why-section { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); align-items: center; gap: 80px; }
.why-photo img { height: 640px; width: 100%; }
.why-copy > p { margin-top: -8px; }
.reasons { margin: var(--space-lg) 0; }
.reasons > div { padding: 20px 0; border-bottom: 1px solid var(--color-rule); }
.reasons dt { font-size: var(--text-lg); font-weight: 500; margin-bottom: 8px; }
.reasons dd { margin: 0; color: var(--color-muted); }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: var(--space-lg); margin-bottom: var(--space-lg); }
.section-head h2 { margin-bottom: 0; }
.price-note { color: var(--color-muted); padding: 12px 0; }
.product-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-xl) var(--space-lg); }
.product-photo { background: var(--color-paper-2); overflow: hidden; }
.product-photo img { width: 100%; height: 360px; transition: transform var(--dur-long) var(--ease-out); }
.product:hover .product-photo img { transform: scale(1.02); }
.product-meta { padding-top: 20px; }
.product-meta > .muted { font-size: 12px; }
.product h3 { font-size: 21px; margin: 8px 0; }
.product-meta > p { color: var(--color-muted); font-size: 14px; line-height: 1.7; min-height: 48px; margin-bottom: 16px; }
.product-bottom { display: flex; align-items: center; justify-content: space-between; gap: 12px; border-top: 1px solid var(--color-rule); padding-top: 12px; }
.price { font-size: 19px; margin: 0; font-variant-numeric: tabular-nums; white-space: nowrap; }
.price small { font-size: 12px; }
.add-button { background: var(--color-transparent); border: 0; border-bottom: 1px solid var(--color-rule); font-size: 13px; min-height: 44px; padding: 8px 0; white-space: nowrap; }
.add-button span { margin-left: 4px; }
.add-button:hover { color: var(--color-accent); }
.promo { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); background: var(--color-paper-2); align-items: center; }
.promo > div { padding: var(--space-xl); }
.promo > img { width: 100%; height: 540px; }
.promo .small { margin: 16px 0 0; }
.article-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-lg); }
.article-grid img { height: 300px; width: 100%; }
details { border-bottom: 1px solid var(--color-rule); }
summary { list-style: none; cursor: pointer; min-height: 64px; padding: 20px 32px 20px 0; font-size: 19px; position: relative; line-height: 1.6; }
summary::-webkit-details-marker { display: none; }
summary::after { content: '＋'; position: absolute; right: 0; top: 20px; font-size: 18px; }
details[open] summary::after { content: '−'; }
details > p { padding-right: 24px; color: var(--color-muted); }
.policy-teaser { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 80px; padding-block: 48px; border-block: 1px solid var(--color-rule); }
.reviews { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 80px; }
.quote-mark { font-family: var(--font-display); font-size: 80px; color: var(--color-accent); display: block; height: 55px; line-height: 1.2; }
.review-empty > p { margin-top: 12px; }
.review-empty > p:not(.large-copy) { color: var(--color-muted); }
.terms-teaser { display: flex; justify-content: space-between; gap: var(--space-xl); align-items: center; padding: 48px 0; border-block: 1px solid var(--color-rule); }
.terms-teaser h2 { font-size: 25px; }
.terms-teaser p { max-width: 75ch; color: var(--color-muted); margin: 0; }
.contact-band { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 80px; }
.contact-details { padding-top: 44px; }
.contact-details > a { display: block; width: fit-content; min-height: 44px; }
.contact-details .text-link { display: flex; }
.contact-details address { max-width: 340px; margin: 0 0 20px; }
.site-footer { background: var(--color-dark); color: var(--color-light-muted); padding: var(--space-2xl) 0 24px; }
.footer-main { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 80px; padding-bottom: 32px; }
.footer-brand { font-family: var(--font-display); color: var(--color-light); font-size: 48px; line-height: 1.3; }
.footer-main p { margin-top: 12px; margin-bottom: 8px; font-size: 14px; }
.footer-main a:not(.footer-brand) { font-size: 14px; display: inline-block; min-height: 44px; line-height: 44px; white-space: nowrap; }
.site-footer a:hover { color: var(--color-gold); }
.footer-bottom { display: flex; justify-content: space-between; gap: var(--space-md); align-items: center; border-top: 1px solid var(--color-dark-rule); padding-top: 20px; font-size: 12px; }
.footer-bottom p { margin: 0; }
.footer-bottom > div { display: flex; gap: 24px; }
.footer-bottom a { min-height: 44px; display: flex; align-items: center; white-space: nowrap; }
.page-heading { padding-top: 72px; padding-bottom: 48px; }
.page-heading h1 { font-size: clamp(2rem, 4vw, 4rem); }
.page-heading .lead { max-width: 850px; margin: 0; color: var(--color-muted); }
.wide-photo { margin-block: 0; }
.wide-photo img { height: 580px; width: 100%; object-position: center 57%; }
figcaption { color: var(--color-muted); font-size: 12px; margin-top: 8px; }
.workflow { padding-block: 48px; border-block: 1px solid var(--color-rule); }
.workflow-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-xl); margin-top: 48px; }
.workflow-grid span { color: var(--color-accent); font-size: 13px; }
.workflow-grid h3 { margin-top: 12px; }
.workflow-grid p { color: var(--color-muted); }
.terms { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr); gap: 80px; scroll-margin-top: 130px; }
.legal-content h2, .legal-content h3 { font-family: var(--font-body); font-weight: 500; font-size: 21px; margin: 0 0 16px; }
.legal-content p { color: var(--color-muted); margin-bottom: 40px; }
.legal-content a { text-decoration: underline; }
.catalog-toolbar { display: flex; align-items: center; justify-content: space-between; border-block: 1px solid var(--color-rule); padding: 16px 0; gap: 20px; }
.filters { display: flex; flex-wrap: wrap; gap: 12px; }
.filter { padding: 8px 20px; border: 1px solid var(--color-rule); background: var(--color-transparent); white-space: nowrap; min-height: 44px; }
.filter.active, .filter:hover { background: var(--color-ink); color: var(--color-paper); border-color: var(--color-ink); }
.result-count { margin: 0; font-size: 14px; white-space: nowrap; }
.catalog .product-grid { margin-top: 20px; }
.product[hidden] { display: none; }
.faq { max-width: 960px; }
.contact-main { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); gap: var(--space-2xl); }
.contact-main address { margin-bottom: 24px; }
.contact-rows > a { display: grid; grid-template-columns: 65px minmax(0, 1fr) 12px; align-items: center; gap: 16px; padding: 18px 0; border-block-end: 1px solid var(--color-rule); }
.contact-rows span:first-child { font-size: 13px; color: var(--color-muted); }
.contact-rows strong { font-size: 17px; font-weight: 500; overflow-wrap: anywhere; }
.contact-rows { margin-bottom: 24px; }
.map-box iframe { border: 0; display: block; width: 100%; height: 430px; background: var(--color-paper-2); }
.map-box p { margin: 12px 0; }
.visit-note { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); gap: var(--space-2xl); padding-top: var(--space-xl); border-top: 1px solid var(--color-rule); }
.visit-note ul { padding-left: 20px; color: var(--color-muted); }
.visit-note li { margin-block: 12px; }
.legal-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 80px; margin-bottom: var(--space-3xl); }
.legal-layout aside h2 { font-size: 24px; }
.legal-layout aside p { font-size: 14px; }

/* ตะกร้าเก็บรายการในอุปกรณ์ และเปิดอีเมลให้ตรวจสอบก่อนส่ง */
.cart-drawer { inset: 0 0 0 auto; margin: 0; width: min(100%, 500px); height: 100dvh; max-height: 100dvh; max-width: 100%; border: 0; padding: 32px; background: var(--color-paper); color: var(--color-ink); overflow-y: auto; }
.cart-drawer::backdrop { background: var(--color-overlay); }
.cart-drawer[open] { display: flex; flex-direction: column; }
.cart-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 20px; }
.cart-top h2 { font-size: 28px; margin-bottom: 16px; }
.cart-top .muted { font-size: 13px; }
.icon-button { width: 44px; height: 44px; border: 1px solid var(--color-rule); background: var(--color-transparent); }
.icon-button:hover { background: var(--color-paper-2); }
.cart-items { flex: 1; }
.empty-cart { padding: 60px 0; text-align: center; }
.empty-cart p { font-family: var(--font-display); font-size: 25px; }
.cart-item { display: grid; grid-template-columns: 76px minmax(0, 1fr); gap: 16px; border-block-end: 1px solid var(--color-rule); padding: 20px 0; }
.cart-item img { width: 76px; height: 96px; }
.cart-item h3 { font-size: 17px; margin-bottom: 4px; }
.cart-item p { font-size: 14px; margin: 0 0 8px; }
.cart-item-controls { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.quantity-control { display: flex; align-items: center; border: 1px solid var(--color-rule); }
.quantity-control button { width: 44px; height: 44px; border: 0; background: var(--color-transparent); }
.quantity-control button:hover { background: var(--color-paper-2); }
.quantity-control span { min-width: 24px; text-align: center; }
.remove-item { background: var(--color-transparent); border: 0; text-decoration: underline; min-height: 44px; font-size: 13px; }
.cart-bottom { padding-top: 24px; }
.cart-total { display: flex; justify-content: space-between; margin-bottom: 12px; }
.total-amount { font-size: 22px; font-weight: 500; }
.cart-bottom .button { width: 100%; gap: 8px; font-size: 14px; margin-bottom: 12px; }
.cart-bottom .text-link { display: flex; width: fit-content; margin-inline: auto; }
.cart-status { text-align: center; margin-bottom: 8px; }
.plain-button { display: block; margin: 12px auto 0; border: 0; background: var(--color-transparent); font-size: 13px; color: var(--color-muted); min-height: 44px; text-decoration: underline; }
.email-cart[aria-disabled=true] { opacity: .45; pointer-events: none; }

@media (max-width: 1100px) {
    .wrap, main > section:not(.wrap), main > div:not(.wrap) { width: calc(100% - 64px); }
    .header-inner { gap: 20px; }
    .site-header nav { gap: 16px; }
    .site-header nav a { font-size: 13px; }
    .cart-label { display: none; }
    .hero-stage { min-height: 650px; }
    .hero-copy { padding: 44px; }
    .hero-controls { left: 44px; }
    .why-section, .about-intro, .prose-split, .policy-teaser, .reviews, .contact-band { gap: 48px; }
    .product-grid { gap: 24px; }
    .product-photo img { height: 300px; }
    .product-bottom { align-items: flex-start; flex-direction: column; gap: 0; }
    .product h3 { font-size: 19px; }
    .promo > div { padding: 32px; }
    .contact-main { gap: 32px; }
}
@media (max-width: 900px) {
    .header-inner { min-height: 132px; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 0 20px; padding-top: 14px; }
    .brand svg { width: 36px; height: 36px; }
    .brand > span { font-size: 25px; }
    .brand small { font-size: 10px; }
    .site-header nav { grid-row: 2; grid-column: 1 / -1; display: flex; overflow-x: auto; gap: 24px; padding: 10px 0; width: 100%; scrollbar-width: none; }
    .site-header nav::-webkit-scrollbar { display: none; }
    .site-header nav a { font-size: 14px; flex-shrink: 0; min-height: 40px; }
    .cart-trigger { grid-row: 1; grid-column: 2; }
    .why-section, .about-intro, .prose-split, .policy-teaser, .reviews, .contact-band, .contact-main, .visit-note, .legal-layout, .terms { grid-template-columns: minmax(0, 1fr); gap: 32px; }
    .why-photo img { height: 500px; }
    .why-copy { max-width: 700px; }
    .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .services .product:last-child { display: none; }
    .product-bottom { flex-direction: row; align-items: center; }
    .promo { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
    .promo h2 { font-size: 26px; }
    .promo > img { height: 500px; }
    .contact-details { padding-top: 0; }
    .terms-teaser { flex-direction: column; align-items: flex-start; gap: 24px; }
    .section-head { flex-direction: column; align-items: flex-start; gap: 16px; }
    .footer-main { gap: 40px; }
    .footer-separator { display: none; }
    .footer-main a:not(.footer-brand) { display: block; }
    .footer-bottom { flex-direction: column; align-items: flex-start; gap: 8px; }
    .workflow-grid { gap: 24px; }
    .legal-layout aside { border-bottom: 1px solid var(--color-rule); padding-bottom: 20px; }
}
@media (max-width: 600px) {
    .wrap, main > section:not(.wrap), main > div:not(.wrap) { width: calc(100% - 40px); }
    .section-space { margin-block: 64px; }
    h1 { font-size: 34px; }
    h2 { font-size: 29px; }
    .header-inner { min-height: 130px; }
    .site-header nav { gap: 24px; }
    .hero { margin-top: 16px; }
    .hero-stage { min-height: 690px; height: 690px; }
    .hero-slide { object-position: 61% center; }
    .hero-shade { background: linear-gradient(90deg, var(--color-shade), var(--color-overlay)); }
    .hero-copy { padding: 28px 24px; }
    .hero h1 { font-size: clamp(1.8rem, 6.7vw, 2.5rem); line-height: 1.5; margin-bottom: 20px; }
    .hero-location { font-size: 11px; margin-bottom: 24px; }
    .intro-lines { font-size: 13px; line-height: 2; margin-bottom: 28px; }
    .hero-controls { left: 24px; right: 24px; bottom: 24px; align-items: flex-end; flex-direction: column; gap: 8px; }
    .slide-count { font-size: 11px; }
    .slide-dot { width: 44px; height: 44px; }
    .image-note { text-align: left; font-size: 11px; }
    .why-photo img { height: 400px; }
    .reasons > div { padding-block: 20px; }
    .product-grid { grid-template-columns: minmax(0, 1fr); gap: 36px; }
    .product-photo img { height: 360px; }
    .services .product:last-child { display: block; }
    .product h3 { font-size: 22px; }
    .product-meta > p { min-height: 0; }
    .product-bottom { flex-direction: row; }
    .promo { grid-template-columns: minmax(0, 1fr); }
    .promo > div { padding: 32px 24px; }
    .promo > img { height: 350px; }
    .article-grid { grid-template-columns: minmax(0, 1fr); gap: 32px; }
    .article-grid img { height: 240px; }
    summary { font-size: 18px; }
    .policy-teaser { padding-block: 32px; }
    .page-heading { padding-top: 40px; padding-bottom: 32px; }
    .page-heading h1 { font-size: 30px; }
    .page-heading .lead { font-size: 16px; }
    .page-heading br { display: none; }
    .page-heading h1 br { display: block; }
    .wide-photo img { height: 380px; }
    .catalog-toolbar { flex-direction: column; align-items: flex-start; gap: 8px; }
    .filters { gap: 8px; }
    .filter { font-size: 13px; padding: 8px 12px; }
    .price-note { font-size: 12px; }
    .workflow-grid { grid-template-columns: minmax(0, 1fr); gap: 16px; margin-top: 32px; }
    .workflow-grid article { border-bottom: 1px solid var(--color-rule); padding-bottom: 16px; }
    .contact-rows > a { grid-template-columns: 50px minmax(0, 1fr) 12px; gap: 12px; }
    .contact-rows strong { font-size: 15px; }
    .map-box iframe { height: 360px; }
    .footer-main { grid-template-columns: minmax(0, 1fr); gap: 24px; }
    .footer-brand { font-size: 42px; }
    .footer-bottom > div { flex-wrap: wrap; gap: 4px 24px; }
    .footer-bottom a { font-size: 12px; }
    .site-footer { padding-top: 40px; }
    .cart-drawer { padding: 24px 20px; }
    .cart-bottom .button { padding-inline: 12px; font-size: 13px; }
}
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation: none !important; transition: opacity 100ms linear !important; }
    .product:hover .product-photo img { transform: none; }
}

@keyframes drawer-in {
    from { transform: translateX(100%); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}
.cart-drawer[open] { animation: drawer-in var(--dur-long) var(--ease-out); }
@media (prefers-reduced-motion: reduce) {
    .cart-drawer[open] { animation: none; }
}
button:active:not(:disabled), .button:active { opacity: .75; }

/* ดีไซน์หน้าร้านขาว–ดำ: แถบติดต่อ ช่องค้นหา และหมวดบริการแบบภาพ */
h1, h2 { font-family: var(--font-display); font-weight: 500; letter-spacing: -.015em; }
h2 { font-size: clamp(1.6rem, 2.3vw, 2rem); line-height: 1.5; }
.wrap, main > section:not(.wrap), main > div:not(.wrap) { width: min(1200px, calc(100% - 80px)); }
.section-space { margin-block: 72px; }
.button { min-height: 46px; border-radius: 0; font-size: 14px; }
.text-link { font-weight: 500; font-size: 14px; }
.site-header { background: var(--color-paper); color: var(--color-ink); border-bottom: 1px solid var(--color-rule); }
.contact-topbar { background: var(--color-dark); color: var(--color-light); font-size: 12px; }
.contact-topbar > div { display: flex; justify-content: space-between; align-items: center; min-height: 36px; gap: 20px; }
.contact-topbar > div > div { display: flex; gap: 24px; }
.contact-topbar a { min-height: 36px; display: inline-flex; align-items: center; white-space: nowrap; }
.contact-topbar > div > span { color: var(--color-light-muted); font-size: 11px; }
.header-inner { display: grid; grid-template-columns: 200px minmax(0, 1fr) auto auto; min-height: 100px; gap: 32px; padding-block: 20px; }
.brand { gap: 12px; }
.brand svg { width: 44px; height: 44px; color: var(--color-ink); }
.brand > span { font-family: var(--font-display); font-size: 36px; font-weight: 500; line-height: 1; }
.brand small { color: var(--color-muted); font-size: 11px; font-weight: 400; margin-top: 10px; letter-spacing: .08em; }
.header-search { display: flex; border: 1px solid var(--color-rule); height: 44px; min-width: 0; }
.header-search:focus-within { outline: 2px solid var(--color-ink); outline-offset: 2px; }
.header-search input { display: block; width: 100%; min-width: 0; border: 0; outline: none; font-family: var(--font-body); font-size: 14px; background: var(--color-paper); color: var(--color-ink); padding: 10px 16px; }
.header-search input::placeholder { color: var(--color-muted); opacity: 1; }
.header-search button { border: 0; background: var(--color-paper); width: 44px; min-width: 44px; height: 42px; padding: 10px; }
.header-search button:hover { background: var(--color-paper-2); }
.header-search svg { width: 22px; height: 22px; }
.cart-trigger { grid-row: auto; grid-column: auto; border: 0; padding: 8px 0; gap: 8px; }
.cart-trigger svg { width: 24px; height: 26px; }
.cart-label { display: block; font-size: 13px; }
.cart-count { color: var(--color-light); background: var(--color-ink); }
.header-contact { padding: 10px 20px; min-height: 42px; gap: 16px; }
.nav-shell { display: flex; align-items: center; justify-content: space-between; gap: 20px; border-top: 1px solid var(--color-rule); }
.site-header nav { display: flex; width: auto; padding: 0; overflow: visible; gap: 0; }
.site-header nav a { font-size: 14px; min-height: 54px; padding: 0 26px; font-weight: 500; position: relative; }
.site-header nav a:first-child { padding-left: 0; }
.site-header nav a + a::before { content: ''; width: 1px; height: 14px; background: var(--color-rule); position: absolute; left: 0; }
.site-header nav a[aria-current] { color: var(--color-ink); }
.site-header nav a[aria-current]::after { background: var(--color-ink); left: 26px; right: 26px; height: 2px; }
.site-header nav a[aria-current]:first-child::after { left: 0; }
.site-header a:hover { color: var(--color-muted); }
.site-header .header-contact:hover { color: var(--color-light); }
.site-header a:focus-visible, .site-header button:focus-visible { outline-color: var(--color-ink); }
.contact-topbar a:focus-visible { outline-color: var(--color-light); }
.nav-note { color: var(--color-muted); font-size: 12px; white-space: nowrap; }
.hero { margin-top: 24px; }
.hero-stage { min-height: 0; height: 470px; }
.hero-slide { object-position: center 55%; }
.hero-shade { background: linear-gradient(90deg, var(--color-shade), var(--color-transparent) 75%); }
.banner-caption { position: absolute; inset: 80px auto auto 56px; z-index: 2; }
.banner-caption > span { display: block; font-family: var(--font-display); font-size: 18px; letter-spacing: .1em; margin-bottom: 16px; }
.banner-caption > p { font-family: var(--font-display); font-size: clamp(28px, 3vw, 42px); line-height: 1.5; font-weight: 400; }
.banner-caption .button { margin-top: 4px; }
.hero-controls { left: 56px; right: 32px; bottom: 24px; }
.slide-dot { width: 36px; height: 36px; border-color: var(--color-light-muted); }
.hero-copy { padding: 44px 0 0; max-width: none; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 60px; color: var(--color-ink); align-items: center; }
.hero h1 { color: var(--color-ink); font-size: clamp(28px, 3vw, 40px); line-height: 1.55; margin: 0; font-weight: 500; }
.hero-location { color: var(--color-muted); margin-bottom: 12px; font-size: 12px; }
.intro-lines { color: var(--color-muted); font-size: 15px; line-height: 1.9; margin: 0; }
.image-note { font-size: 11px; }
.about-intro { padding-top: 48px; border-top: 1px solid var(--color-rule); }
.about-intro, .prose-split, .why-section, .policy-teaser, .reviews { gap: 60px; }
.large-copy { font-size: 20px; }
.why-photo img { height: 540px; }
.why-section { background: var(--color-paper-2); }
.why-copy { padding: 32px 40px 32px 0; }
.reasons { margin-block: 24px; }
.reasons dt { font-size: 18px; }
.reasons dd { font-size: 14px; }
.section-head { align-items: center; padding-bottom: 16px; border-bottom: 1px solid var(--color-rule); margin-bottom: 28px; }
.section-head h2 { font-size: 27px; }
.section-head h2 br { display: none; }
.section-head .text-link { border: 0; }
.category-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.category-tile { display: block; min-width: 0; }
.category-tile img { aspect-ratio: 1; width: 100%; height: auto; background: var(--color-paper-2); transition: opacity var(--dur-short) var(--ease-out); }
.category-tile:hover img { opacity: .85; }
.category-tile > span { display: flex; align-items: center; justify-content: space-between; gap: 8px; font-weight: 500; padding: 16px 0; font-size: 16px; white-space: nowrap; }
.category-tile b { font-weight: 400; }
.product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px 28px; }
.services .product:last-child { display: block; }
.product-photo img { aspect-ratio: 1; height: auto; width: 100%; }
.product-meta { text-align: center; padding-top: 16px; }
.product-meta > .muted { font-size: 11px; }
.product h3 { font-size: 20px; font-family: var(--font-display); font-weight: 500; }
.product-meta > p { font-size: 13px; padding-inline: 12px; min-height: 44px; }
.product-bottom { flex-direction: row; align-items: center; padding-top: 12px; }
.price { font-size: 19px; font-weight: 500; }
.add-button { border: 1px solid var(--color-ink); min-height: 40px; padding: 6px 14px; font-size: 12px; }
.add-button:hover { background: var(--color-ink); color: var(--color-light); }
.price-note { margin-bottom: 20px; font-size: 12px; }
.promo { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.promo > div { padding: 40px; }
.promo > img { height: 470px; }
.article-grid img { height: 300px; }
.policy-teaser h2 br, .reviews h2 br { display: none; }
.terms-teaser h2 { font-size: 24px; }
.page-heading { padding-top: 48px; padding-bottom: 40px; }
.page-heading h1 { font-size: clamp(28px, 3.5vw, 42px); line-height: 1.5; }
.page-heading .lead { font-size: 18px; }
.page-heading > .muted { font-size: 13px; }
.wide-photo img { height: 480px; }
.catalog-toolbar { border-color: var(--color-rule); }
.filter { border: 0; font-size: 14px; padding: 8px 20px; }
.filter.active { font-weight: 500; }
.search-empty { text-align: center; background: var(--color-paper-2); padding: 64px 24px; margin-block: 32px; }
.search-empty[hidden] { display: none; }
.search-empty h2 { font-size: 24px; }
.site-footer { padding-top: 48px; }
.footer-brand { font-family: var(--font-display); font-weight: 500; font-size: 42px; }
.cart-drawer h2 { font-weight: 500; }

@media (max-width: 1100px) {
    .wrap, main > section:not(.wrap), main > div:not(.wrap) { width: calc(100% - 64px); }
    .header-inner { grid-template-columns: 170px minmax(0, 1fr) auto; gap: 24px; }
    .header-contact { display: none; }
    .site-header nav a { padding-inline: 22px; }
    .nav-note { display: none; }
    .hero-stage { height: 440px; }
    .hero-copy { gap: 40px; }
    .why-copy { padding: 32px 24px 32px 0; }
    .about-intro, .prose-split, .why-section, .policy-teaser, .reviews { gap: 40px; }
    .category-tile > span { font-size: 14px; }
    .product-bottom { flex-wrap: wrap; gap: 12px; justify-content: center; }
}
@media (max-width: 800px) {
    .header-inner { grid-template-columns: 160px minmax(0, 1fr) auto; min-height: 90px; padding-top: 16px; gap: 16px; }
    .brand > span { font-size: 30px; }
    .brand small { font-size: 10px; }
    .brand svg { width: 36px; height: 36px; }
    .cart-label { display: none; }
    .site-header nav { overflow-x: auto; scrollbar-width: thin; gap: 0; width: 100%; padding-block: 0; grid-column: auto; grid-row: auto; }
    .site-header nav a { min-height: 50px; padding: 0 20px; font-size: 13px; }
    .cart-trigger { grid-row: auto; grid-column: auto; }
    .contact-topbar > div > span { display: none; }
    .hero-stage { height: 400px; }
    .banner-caption { top: 64px; left: 36px; }
    .banner-caption > p { font-size: 32px; }
    .hero-controls { left: 36px; right: 24px; }
    .hero-copy { grid-template-columns: minmax(0, 1fr); gap: 24px; }
    .hero h1 { font-size: 34px; }
    .hero h1 span { display: inline; }
    .hero h1 span + span::before { content: ' '; }
    .intro-lines { font-size: 14px; }
    .category-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 24px; }
    .why-section { grid-template-columns: minmax(0, 1fr); gap: 0; }
    .why-photo img { height: 400px; }
    .why-copy { padding: 32px; }
    .section-head { flex-direction: row; align-items: center; }
    .section-head h2 { font-size: 24px; }
    .promo > div { padding: 28px; }
    .promo h2 { font-size: 25px; }
    .promo > img { height: 450px; }
}
@media (max-width: 600px) {
    .wrap, main > section:not(.wrap), main > div:not(.wrap) { width: calc(100% - 40px); }
    .section-space { margin-block: 48px; }
    h2 { font-size: 25px; }
    .contact-topbar > div { min-height: 32px; }
    .contact-topbar > div > div { gap: 16px; width: 100%; justify-content: space-between; }
    .contact-topbar a { min-height: 32px; font-size: 10px; }
    .header-inner { min-height: 132px; grid-template-columns: minmax(0, 1fr) auto; gap: 16px; padding-block: 16px; }
    .brand > span { font-size: 29px; }
    .brand small { font-size: 9px; margin-top: 8px; }
    .cart-trigger { grid-column: 2; grid-row: 1; }
    .header-search { grid-column: 1 / -1; grid-row: 2; height: 40px; }
    .header-search input { font-size: 12px; padding: 8px 12px; }
    .header-search button { height: 38px; }
    .site-header nav a { font-size: 12px; min-height: 46px; padding-inline: 16px; }
    .site-header nav a[aria-current]::after { left: 16px; right: 16px; }
    .hero { margin-top: 16px; }
    .hero-stage { min-height: 0; height: 390px; }
    .hero-slide { object-position: 62% center; }
    .hero-shade { background: linear-gradient(90deg, var(--color-shade), var(--color-transparent)); }
    .banner-caption { top: 48px; left: 24px; right: 24px; }
    .banner-caption > span { font-size: 14px; margin-bottom: 12px; }
    .banner-caption > p { font-size: 26px; }
    .banner-caption .button { padding: 10px 16px; font-size: 12px; min-height: 44px; }
    .hero-controls { left: 24px; right: 24px; bottom: 20px; flex-direction: row; align-items: center; gap: 8px; }
    .slide-buttons { gap: 4px; }
    .slide-dot { width: 32px; height: 44px; font-size: 10px; }
    .slide-count { font-size: 10px; }
    .hero-copy { padding: 28px 0 0; gap: 20px; }
    .hero h1 { font-size: 28px; line-height: 1.5; }
    .hero h1 span { display: block; }
    .hero h1 span + span::before { content: none; }
    .hero-location { font-size: 11px; margin-bottom: 12px; }
    .intro-lines { font-size: 13px; line-height: 1.9; }
    .image-note { font-size: 10px; }
    .about-intro { padding-top: 32px; gap: 20px; }
    .large-copy { font-size: 18px; }
    .why-photo img { height: 330px; }
    .why-copy { padding: 28px 24px; }
    .category-grid { gap: 12px; }
    .category-tile > span { padding-block: 12px; font-size: 12px; gap: 4px; }
    .category-tile b { display: none; }
    .section-head { flex-direction: column; align-items: flex-start; gap: 4px; padding-bottom: 12px; margin-bottom: 20px; }
    .section-head h2 { font-size: 25px; }
    .product-grid { grid-template-columns: minmax(0, 1fr); gap: 32px; }
    .product h3 { font-size: 21px; }
    .product-bottom { justify-content: space-between; }
    .product-meta > p { padding-inline: 0; min-height: 0; }
    .product-photo img { height: auto; }
    .promo { grid-template-columns: minmax(0, 1fr); }
    .promo > div { padding: 32px 24px; }
    .promo > img { height: 340px; }
    .page-heading { padding-top: 32px; padding-bottom: 28px; }
    .page-heading h1 { font-size: 28px; }
    .page-heading .lead { font-size: 16px; }
    .wide-photo img { height: 340px; }
    .article-grid img { height: 240px; }
    .filters { gap: 4px; }
    .filter { font-size: 12px; padding-inline: 12px; }
    .footer-brand { font-size: 36px; }
    .search-empty { padding: 40px 20px; }
}
.result-count { white-space: normal; overflow-wrap: anywhere; max-width: 100%; }
