@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Manrope:wght@400;500;600;700;800&family=Noto+Sans+Thai:wght@400;500;600;700&display=swap');

:root {
    color-scheme: light;
    --ink: #17251f;
    --muted: #68766e;
    --line: #e2e9e4;
    --paper: #fbfcfa;
    --surface: #fff;
    --green: #226848;
    --green-dark: #164d34;
    --green-pale: #eaf3ed;
    --orange: #e98754;
    --orange-pale: #fff1e9;
    --shadow: 0 16px 44px rgba(20, 54, 38, .09);
    font-family: 'DM Sans', 'Noto Sans Thai', sans-serif;
    background: var(--paper);
    color: var(--ink);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; min-width: 320px; background: var(--paper); }
button, input, select, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; }
img { max-width: 100%; }
.container { width: min(1180px, calc(100% - 48px)); margin-inline: auto; }
.site-header { height: 76px; display: flex; align-items: center; background: rgba(255,255,255,.92); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font: 800 21px/1 Manrope, sans-serif; letter-spacing: -.7px; }
.brand-mark { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 11px; background: var(--green); color: white; font-size: 17px; }
.brand .order { color: var(--green); }
.nav-links { display: flex; align-items: center; gap: 28px; color: #536258; font-size: 14px; font-weight: 600; }
.nav-links a:hover { color: var(--green); }
.header-actions { display: flex; align-items: center; gap: 12px; }
.language-toggle { border: 1px solid var(--line); color: var(--ink); background: white; border-radius: 999px; padding: 9px 13px; font-size: 12px; font-weight: 700; }
.button { border: 0; border-radius: 12px; padding: 13px 18px; background: var(--green); color: white; font-size: 14px; line-height: 1.2; font-weight: 700; transition: .18s ease; }
.button:hover { background: var(--green-dark); transform: translateY(-1px); }
.button:disabled { cursor: not-allowed; opacity: .45; transform: none; }
.button.secondary { background: white; border: 1px solid var(--line); color: var(--ink); }
.button.secondary:hover { border-color: #b6c7bb; background: #f8fbf8; }
.button.text-button { background: transparent; color: var(--green); padding-inline: 8px; }
.button.full { width: 100%; }
.button.large { padding: 16px 22px; border-radius: 14px; font-size: 15px; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; color: var(--green); font-size: 11px; letter-spacing: .09em; font-weight: 800; text-transform: uppercase; }
.eyebrow .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--orange); }
.pill { display: inline-flex; align-items: center; gap: 6px; border-radius: 99px; padding: 7px 11px; background: var(--green-pale); color: var(--green-dark); font-size: 11px; font-weight: 700; }
.pill.orange { background: var(--orange-pale); color: #9d4c26; }
.muted { color: var(--muted); }
.tiny { font-size: 11px; }

/* Catalog home */
.hero { position: relative; overflow: hidden; padding: 76px 0 64px; background: #edf5ef; }
.hero::before, .hero::after { content: ''; position: absolute; border-radius: 50%; pointer-events: none; }
.hero::before { width: 520px; height: 520px; right: -150px; top: -240px; border: 1px solid rgba(34,104,72,.14); box-shadow: 0 0 0 38px rgba(34,104,72,.035), 0 0 0 78px rgba(34,104,72,.025); }
.hero::after { width: 210px; height: 210px; right: 11%; bottom: -165px; background: rgba(233,135,84,.13); }
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1fr) 365px; gap: 64px; align-items: center; }
.hero h1 { max-width: 720px; margin: 18px 0; font: 800 clamp(40px, 5.7vw, 68px)/1.05 Manrope, 'Noto Sans Thai', sans-serif; letter-spacing: -2.9px; }
.hero h1 em { color: var(--green); font-style: normal; }
.hero-copy { max-width: 590px; margin: 0 0 28px; color: #54645a; font-size: 16px; line-height: 1.7; }
.search-box { display: flex; align-items: center; gap: 10px; max-width: 670px; border: 1px solid #d9e5db; border-radius: 16px; background: white; padding: 8px 8px 8px 18px; box-shadow: 0 8px 28px rgba(34,104,72,.08); }
.search-icon { color: #7c8c81; font-size: 20px; }
.search-box input { width: 100%; min-width: 0; border: 0; outline: 0; color: var(--ink); background: transparent; padding: 10px 2px; font-size: 14px; }
.hero-note { display: flex; align-items: center; gap: 8px; margin-top: 15px; color: #78867d; font-size: 11px; }
.hero-note strong { color: var(--green); }
.hero-card { position: relative; border: 1px solid rgba(255,255,255,.88); border-radius: 24px; background: white; padding: 15px; box-shadow: var(--shadow); transform: rotate(1.4deg); }
.hero-photo { height: 196px; overflow: hidden; border-radius: 16px; background: #dbe7df; }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; }
.hero-card-copy { padding: 15px 5px 4px; }
.hero-card-copy h3 { margin: 8px 0 5px; font: 700 17px/1.3 Manrope, 'Noto Sans Thai', sans-serif; }
.hero-card-copy p { margin: 0; color: var(--muted); font-size: 12px; }
.hero-price { display: flex; align-items: baseline; justify-content: space-between; margin-top: 17px; padding-top: 13px; border-top: 1px solid var(--line); }
.hero-price strong { font: 800 19px Manrope, sans-serif; }
.hero-price span { color: var(--muted); font-size: 11px; }
.floating-star { position: absolute; top: 50px; left: -36px; display: grid; place-items: center; width: 56px; height: 56px; border-radius: 18px; background: var(--orange); color: white; font-size: 23px; box-shadow: 0 9px 20px rgba(233,135,84,.3); transform: rotate(-12deg); }
.section { padding: 68px 0; }
.section.soft { background: #f3f6f2; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 24px; }
.section-heading h2 { margin: 8px 0 0; font: 800 31px/1.15 Manrope, 'Noto Sans Thai', sans-serif; letter-spacing: -1px; }
.section-heading p { margin: 8px 0 0; color: var(--muted); font-size: 13px; }
.text-link { color: var(--green); font-size: 13px; font-weight: 800; }
.filter-row { display: flex; flex-wrap: wrap; gap: 9px; margin: 18px 0 23px; }
.filter-chip { border: 1px solid var(--line); border-radius: 99px; background: white; padding: 9px 13px; color: #58675e; font-size: 11px; font-weight: 700; }
.filter-chip.active, .filter-chip:hover { border-color: #b6d2bf; background: var(--green-pale); color: var(--green-dark); }
.product-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.product-card { overflow: hidden; border: 1px solid var(--line); border-radius: 18px; background: white; transition: .2s ease; }
.product-card:hover { border-color: #b7cfc0; box-shadow: 0 12px 32px rgba(20,54,38,.08); transform: translateY(-3px); }
.product-card-media { position: relative; height: 208px; overflow: hidden; background: #e7eee8; }
.product-card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.product-card:hover .product-card-media img { transform: scale(1.04); }
.product-card-media .pill { position: absolute; left: 12px; top: 12px; }
.product-card-body { padding: 16px; }
.product-card h3 { margin: 9px 0 7px; font: 700 17px/1.35 Manrope, 'Noto Sans Thai', sans-serif; }
.product-card .location { display: flex; align-items: center; gap: 5px; color: var(--muted); font-size: 12px; }
.tag-row { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 13px; }
.tag { border-radius: 7px; padding: 5px 8px; background: #f2f5f2; color: #657168; font-size: 10px; font-weight: 600; }
.card-bottom { display: flex; align-items: end; justify-content: space-between; gap: 8px; margin-top: 17px; padding-top: 14px; border-top: 1px solid #edf0ed; }
.card-bottom .price { font: 800 18px Manrope, sans-serif; }
.card-bottom .price small { color: var(--muted); font: 500 11px 'DM Sans', sans-serif; }
.card-bottom .availability { color: var(--green); font-size: 10px; font-weight: 700; }
.demo-banner { display: flex; align-items: center; gap: 12px; border: 1px solid #f3d8c9; border-radius: 14px; padding: 13px 15px; background: #fff8f4; color: #81513a; font-size: 11px; line-height: 1.5; }
.demo-banner .icon { display: grid; flex: 0 0 auto; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--orange-pale); color: #a25731; font-weight: 900; }
.steps-strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border: 1px solid var(--line); border-radius: 18px; background: white; }
.step-item { padding: 21px 19px; border-right: 1px solid var(--line); }
.step-item:last-child { border: 0; }
.step-number { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 9px; background: var(--green-pale); color: var(--green); font-size: 12px; font-weight: 800; }
.step-item h3 { margin: 12px 0 6px; font: 700 14px Manrope, sans-serif; }
.step-item p { margin: 0; color: var(--muted); font-size: 11px; line-height: 1.5; }
.site-footer { padding: 30px 0; border-top: 1px solid var(--line); background: white; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; color: var(--muted); font-size: 11px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 18px; }

/* Product page */
.breadcrumb { display: flex; flex-wrap: wrap; gap: 8px; padding: 22px 0; color: var(--muted); font-size: 11px; }
.breadcrumb a:hover { color: var(--green); }
.product-layout { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(320px, .75fr); gap: 34px; align-items: start; }
.product-gallery { overflow: hidden; border-radius: 22px; background: #e7eee8; }
.product-gallery img { display: block; width: 100%; height: min(44vw, 460px); min-height: 300px; object-fit: cover; }
.gallery-caption { display: flex; justify-content: space-between; padding: 12px 15px; background: #fff; color: var(--muted); font-size: 10px; }
.product-main h1 { margin: 12px 0 10px; font: 800 clamp(28px, 3.2vw, 39px)/1.15 Manrope, 'Noto Sans Thai', sans-serif; letter-spacing: -1.3px; }
.product-subhead { margin: 0; color: #58675e; font-size: 14px; line-height: 1.65; }
.source-language { display: inline-flex; align-items: center; gap: 6px; margin-top: 13px; border-radius: 7px; padding: 7px 9px; background: #f2f5f2; color: #657168; font-size: 10px; }
.product-facts { display: flex; flex-wrap: wrap; gap: 10px 20px; margin: 20px 0; color: #56655c; font-size: 12px; }
.product-facts span { display: inline-flex; align-items: center; gap: 6px; }
.product-divider { height: 1px; margin: 24px 0; background: var(--line); }
.content-section h2 { margin: 0 0 12px; font: 800 19px Manrope, 'Noto Sans Thai', sans-serif; letter-spacing: -.4px; }
.content-section p, .content-section li { color: #58675e; font-size: 13px; line-height: 1.75; }
.content-section ul { display: grid; gap: 7px; margin: 0; padding-left: 20px; }
.booking-card { position: sticky; top: 22px; border: 1px solid var(--line); border-radius: 20px; background: white; padding: 21px; box-shadow: 0 10px 30px rgba(20,54,38,.06); }
.booking-price { display: flex; align-items: baseline; gap: 7px; margin: 8px 0 2px; }
.booking-price strong { font: 800 27px Manrope, sans-serif; letter-spacing: -.8px; }
.booking-price span { color: var(--muted); font-size: 12px; }
.price-note { margin: 0; color: var(--muted); font-size: 10px; }
.field { display: grid; gap: 7px; margin-top: 16px; }
.field label { color: #425148; font-size: 11px; font-weight: 800; }
.field .optional { color: #8a968f; font-size: 10px; font-weight: 500; }
.field input, .field select, .field textarea { width: 100%; min-width: 0; border: 1px solid #dce5de; border-radius: 10px; outline: none; background: white; color: var(--ink); padding: 11px 12px; font-size: 13px; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: #76a88b; box-shadow: 0 0 0 3px rgba(34,104,72,.09); }
.field textarea { min-height: 84px; resize: vertical; }
.qty-control { display: flex; align-items: center; justify-content: space-between; border: 1px solid var(--line); border-radius: 10px; padding: 6px; }
.qty-control button { width: 31px; height: 31px; border: 0; border-radius: 8px; background: #f0f5f1; color: var(--green); font-size: 17px; font-weight: 700; }
.qty-control output { font-size: 13px; font-weight: 800; }
.availability-message { display: flex; align-items: flex-start; gap: 8px; margin: 15px 0; color: #64736a; font-size: 10px; line-height: 1.5; }
.availability-message .green-dot { width: 7px; height: 7px; flex: 0 0 auto; margin-top: 3px; border-radius: 50%; background: #54a576; }
.booking-total { display: flex; justify-content: space-between; padding: 14px 0; border-top: 1px solid var(--line); color: #5e6b63; font-size: 11px; }
.booking-total strong { color: var(--ink); font-size: 13px; }
.booking-card .button { margin-top: 4px; }
.below-button { margin: 10px 0 0; text-align: center; color: var(--muted); font-size: 9px; }
.highlight-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 17px; }
.highlight { border: 1px solid var(--line); border-radius: 12px; padding: 13px; background: white; }
.highlight strong { display: block; margin-bottom: 5px; font: 700 12px Manrope, sans-serif; }
.highlight span { color: var(--muted); font-size: 10px; line-height: 1.5; }

/* Checkout flow */
#flow-root[hidden] { display: none; }
.flow-shell { min-height: calc(100vh - 76px); padding: 28px 0 70px; }
.flow-top { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 24px; }
.flow-top h1 { margin: 0; font: 800 26px Manrope, 'Noto Sans Thai', sans-serif; letter-spacing: -.8px; }
.flow-progress { display: flex; align-items: center; gap: 6px; }
.flow-progress span { width: 42px; height: 4px; border-radius: 5px; background: #e2e9e4; }
.flow-progress span.done { background: var(--green); }
.flow-grid { display: grid; grid-template-columns: minmax(0, 1fr) 330px; align-items: start; gap: 26px; }
.panel { border: 1px solid var(--line); border-radius: 18px; background: white; padding: 24px; }
.panel h2 { margin: 0 0 7px; font: 800 19px Manrope, 'Noto Sans Thai', sans-serif; letter-spacing: -.5px; }
.panel-intro { margin: 0 0 21px; color: var(--muted); font-size: 12px; line-height: 1.6; }
.panel-actions { display: flex; justify-content: space-between; gap: 10px; margin-top: 23px; }
.question-card { margin-top: 18px; padding-top: 17px; border-top: 1px solid #eef1ee; }
.question-card h3 { margin: 0; font: 700 13px Manrope, 'Noto Sans Thai', sans-serif; }
.question-card .question-index { margin-right: 7px; color: #9ba79f; font-size: 10px; }
.summary-card { border: 1px solid var(--line); border-radius: 18px; background: white; padding: 19px; }
.summary-card h2 { margin: 0 0 14px; font: 800 15px Manrope, 'Noto Sans Thai', sans-serif; }
.summary-product { display: flex; align-items: center; gap: 11px; padding-bottom: 15px; border-bottom: 1px solid var(--line); }
.summary-product img { width: 58px; height: 58px; border-radius: 10px; object-fit: cover; }
.summary-product strong { display: block; font-size: 11px; line-height: 1.45; }
.summary-product span { display: block; margin-top: 4px; color: var(--muted); font-size: 10px; }
.summary-line { display: flex; justify-content: space-between; gap: 10px; margin-top: 12px; color: #59675e; font-size: 11px; }
.summary-line.total { margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--line); color: var(--ink); font-size: 12px; font-weight: 800; }
.info-card { border-radius: 12px; padding: 13px; background: #f4f7f4; color: #536159; font-size: 10px; line-height: 1.6; }
.checkout-summary-list { display: grid; gap: 11px; margin: 17px 0 4px; }
.checkout-summary-list > div { display: flex; justify-content: space-between; gap: 18px; font-size: 11px; }
.checkout-summary-list span { color: var(--muted); }
.checkout-summary-list strong { text-align: right; }
.demo-qr { position: relative; display: grid; place-items: center; width: 222px; height: 222px; margin: 23px auto 17px; border: 10px solid white; border-radius: 8px; background-color: #f0f3f0; background-image: repeating-linear-gradient(45deg, #26342c 0 4px, transparent 4px 9px), repeating-linear-gradient(-45deg, #26342c 0 3px, transparent 3px 8px); box-shadow: 0 0 0 1px var(--line); }
.demo-qr::after { content: 'MOCK\A NOT PAYABLE'; white-space: pre; display: grid; place-items: center; width: 142px; height: 66px; border-radius: 8px; background: #fff; color: #984c2d; text-align: center; font: 900 14px/1.5 Manrope, sans-serif; letter-spacing: .04em; box-shadow: 0 3px 16px rgba(0,0,0,.16); }
.payment-amount { text-align: center; font: 800 24px Manrope, sans-serif; }
.payment-amount small { color: var(--muted); font: 500 11px 'DM Sans', sans-serif; }
.upload-box { display: grid; place-items: center; min-height: 90px; border: 1px dashed #bac9be; border-radius: 12px; background: #f8faf8; color: #5e6c63; padding: 15px; text-align: center; font-size: 11px; }
.upload-box input { max-width: 100%; margin-top: 8px; font-size: 10px; }
.status-list { display: grid; gap: 0; margin: 18px 0; }
.status-row { position: relative; display: grid; grid-template-columns: 22px 1fr; gap: 12px; padding-bottom: 18px; }
.status-row::before { content: ''; position: absolute; left: 9px; top: 20px; bottom: 0; width: 1px; background: var(--line); }
.status-row:last-child { padding-bottom: 0; }
.status-row:last-child::before { display: none; }
.status-check { z-index: 1; display: grid; place-items: center; width: 19px; height: 19px; border: 1px solid var(--line); border-radius: 50%; background: white; color: #9aa79e; font-size: 10px; }
.status-row.complete .status-check { border-color: var(--green); background: var(--green); color: white; }
.status-row strong { display: block; font-size: 12px; }
.status-row p { margin: 4px 0 0; color: var(--muted); font-size: 10px; line-height: 1.5; }
.toast { position: fixed; z-index: 100; left: 50%; bottom: 22px; transform: translate(-50%, 20px); opacity: 0; pointer-events: none; border-radius: 10px; background: #20372a; color: white; padding: 11px 15px; font-size: 11px; transition: .2s; box-shadow: var(--shadow); }
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* Accessible static storefront and mock checkout */
.content-card, .booking-panel, .checkout-card { border: 1px solid var(--line); border-radius: 18px; background: white; padding: 23px; }
.product-title { padding: 23px 0 14px; }
.product-title h1 { margin: 11px 0 8px; font: 800 clamp(28px, 4vw, 39px)/1.15 Manrope, 'Noto Sans Thai', sans-serif; letter-spacing: -1.1px; }
.product-subtitle { max-width: 720px; margin: 0; color: #53645a; font-size: 14px; line-height: 1.8; }
.source-language { margin: 10px 0 0; color: #8a968e; font-size: 10px; }
.content-card { margin-top: 17px; }
.content-card h2, .content-card h3 { margin: 0 0 10px; font: 800 18px/1.3 Manrope, 'Noto Sans Thai', sans-serif; }
.content-card h3 { font-size: 14px; }
.content-card p, .info-list { color: #5d6b62; font-size: 12px; line-height: 1.75; }
.content-card hr { margin: 18px 0; border: 0; border-top: 1px solid var(--line); }
.info-list { padding-left: 20px; }
.info-list li + li { margin-top: 5px; }
.booking-panel { position: sticky; top: 18px; box-shadow: var(--shadow); }
.booking-panel-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-bottom: 17px; border-bottom: 1px solid var(--line); }
.booking-price { margin-top: 5px; font: 800 24px Manrope, sans-serif; }
.booking-price small { color: var(--muted); font: 500 11px 'DM Sans', sans-serif; }
.field-label { display: block; margin: 17px 0 7px; color: #35483b; font-size: 11px; font-weight: 800; overflow-wrap: anywhere; }
.field-control { width: 100%; min-height: 43px; border: 1px solid #dbe4dd; border-radius: 10px; padding: 10px 12px; background: white; color: var(--ink); font-size: 12px; }
.field-control:focus { outline: 3px solid rgba(34,104,72,.16); border-color: #7aa58a; }
textarea.field-control { resize: vertical; }
.quantity-control { display: flex; align-items: center; width: 145px; height: 40px; border: 1px solid #dbe4dd; border-radius: 10px; overflow: hidden; }
.quantity-control button { width: 42px; height: 100%; border: 0; background: #f5f8f5; color: var(--green); font-size: 18px; }
.quantity-control input { width: 60px; border: 0; outline: 0; text-align: center; font-size: 13px; }
.price-summary { margin: 17px 0; padding: 14px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.price-summary > div { display: flex; justify-content: space-between; align-items: center; gap: 12px; font-size: 11px; }
.price-summary strong { text-align: right; font-size: 11px; }
.price-summary .price-total { margin-top: 12px; font-size: 12px; }
.price-summary .price-total strong { font: 800 19px Manrope, sans-serif; }
.price-summary p { margin: 10px 0 0; line-height: 1.6; }
.center { text-align: center; }
.booking-panel .center { margin-bottom: 0; line-height: 1.55; }
.detail-faq { margin: 25px 0 17px; }
.detail-faq details { padding: 13px 0; border-top: 1px solid var(--line); color: #46564b; font-size: 12px; }
.detail-faq summary { cursor: pointer; font-weight: 700; }
.detail-faq details p { margin-bottom: 0; }
.product-demo { margin: 22px 0 48px; }
.required-label, .optional-label { display: inline-block; margin-left: 4px; color: #a14f2e; font-size: 9px; font-weight: 600; }
.optional-label { color: #78857c; }
.questions-preview { margin: 19px 0; padding: 13px; border-radius: 12px; background: #f6f8f6; }
.questions-preview summary { cursor: pointer; color: #33483a; font-size: 11px; font-weight: 800; }
.questions-preview > p { color: var(--muted); font-size: 10px; line-height: 1.6; }
.questions-preview .field-label { margin-top: 14px; font-size: 10px; }
.questions-preview .field-control { background: white; }
.pickup-required { display: none; }
.questions-preview[data-pickup="true"] .pickup-required { display: inline-block; }
.checkout-header { color: var(--muted); font-size: 12px; font-weight: 700; }
.checkout-container { min-height: calc(100vh - 150px); padding-bottom: 58px; }
.checkout-progress { display: flex; justify-content: space-between; max-width: 660px; margin: 3px 0 22px; color: #9aa59d; font-size: 10px; }
.checkout-progress span { position: relative; flex: 1; padding-top: 15px; text-align: center; }
.checkout-progress span::before { content: ''; position: absolute; top: 0; left: 50%; width: 8px; height: 8px; border-radius: 50%; background: #dce5de; transform: translateX(-50%); }
.checkout-progress span::after { content: ''; position: absolute; z-index: -1; top: 3px; left: 50%; width: 100%; height: 1px; background: #e4eae5; }
.checkout-progress span:last-child::after { display: none; }
.checkout-progress span.current { color: var(--green); font-weight: 800; }
.checkout-progress span.current::before, .checkout-progress span.complete::before { background: var(--green); }
.checkout-layout { display: grid; grid-template-columns: minmax(0, 1fr) 310px; gap: 24px; align-items: start; }
.checkout-main { min-width: 0; }
.checkout-card { padding: clamp(20px, 4vw, 32px); }
.checkout-card h1, .order-detail-card h1 { margin: 13px 0 10px; font: 800 clamp(24px, 3vw, 32px)/1.2 Manrope, 'Noto Sans Thai', sans-serif; letter-spacing: -.8px; }
.checkout-card > p { font-size: 12px; line-height: 1.7; }
.checkout-card .button { margin-top: 18px; }
.back-link { display: block; margin-top: 14px; color: var(--green); text-align: center; font-size: 11px; font-weight: 700; }
.checkout-aside { display: grid; gap: 15px; }
.checkout-aside .content-card { margin: 0; }
.checkout-aside .demo-banner { align-items: start; }
.checkout-total { display: flex; justify-content: space-between; margin-top: 17px; padding-top: 14px; border-top: 1px solid var(--line); font-size: 12px; font-weight: 800; }
.checkout-total strong { font: 800 20px Manrope, sans-serif; }
.mock-warning { display: grid; gap: 5px; border: 1px solid #f2c7b0; border-radius: 12px; padding: 12px; background: #fff7f2; color: #8e4c2d; font-size: 10px; line-height: 1.5; text-align: center; }
.mock-warning strong { font-size: 13px; letter-spacing: .04em; }
.qr-placeholder { position: relative; display: grid; place-items: center; width: 204px; height: 204px; margin: 21px auto; overflow: hidden; border: 11px solid white; outline: 1px solid var(--line); background: white; }
.qr-pattern { position: absolute; inset: 0; opacity: .82; background-color: white; background-image: repeating-conic-gradient(#15231b 0% 25%, white 0% 50%); background-size: 13px 13px; }
.qr-placeholder::before, .qr-placeholder::after { content: ''; position: absolute; z-index: 1; width: 42px; height: 42px; border: 8px solid #15231b; background: white; box-shadow: 0 0 0 4px white; }
.qr-placeholder::before { top: 4px; left: 4px; }
.qr-placeholder::after { top: 4px; right: 4px; }
.qr-placeholder span { position: relative; z-index: 2; display: grid; place-items: center; width: 85px; height: 44px; background: white; color: #a14f2e; font-size: 13px; font-weight: 900; text-align: center; }
.payment-amount { display: flex; align-items: center; justify-content: space-between; margin: 17px 0; padding: 14px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); font-size: 12px; }
.payment-amount strong { font: 800 20px Manrope, sans-serif; }
.file-control { padding: 9px; }
.checkout-card .text-button { margin-top: 8px; }
.order-actions { display: grid; gap: 9px; margin-top: 19px; }
.order-page { min-height: calc(100vh - 145px); padding-top: 32px; padding-bottom: 60px; }
.order-detail-card { max-width: 760px; margin: 0 auto; }
.order-reference { margin: 17px 0; border-radius: 12px; padding: 13px 15px; background: var(--green-pale); color: var(--green-dark); font-size: 12px; }
.order-reference strong { display: block; margin-top: 4px; font: 800 17px Manrope, sans-serif; letter-spacing: .04em; }
.order-status-pill { display: inline-flex; border-radius: 99px; padding: 7px 11px; background: #fff0dd; color: #89551f; font-size: 10px; font-weight: 800; }
.order-detail-card .checkout-summary-list { margin: 20px 0; }
.app-cta { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin: 23px 0; border-radius: 14px; padding: 17px; background: #f4f7f4; }
.app-cta h2 { margin: 0 0 5px; font: 800 15px Manrope, sans-serif; }
.app-cta p { margin: 0; color: var(--muted); font-size: 11px; line-height: 1.6; }
.app-badges { display: flex; flex-direction: column; gap: 8px; flex: 0 0 auto; }
.app-badges a { border: 1px solid #dbe3dc; border-radius: 8px; padding: 8px 10px; background: white; color: var(--green); font-size: 10px; font-weight: 800; text-align: center; }
.staging-expired { border-color: #edc7b8; background: #fff4ef; color: #934d32; }
[hidden], .hidden { display: none !important; }

@media (max-width: 720px) {
    .booking-panel { position: static; order: initial; padding: 18px; }
    .product-layout > .product-main { display: block; }
    .product-layout > .product-main .product-gallery { margin-inline: -16px; }
    .product-title { padding-top: 18px; }
    .product-title h1 { font-size: 27px; }
    .product-layout { gap: 14px; }
    .checkout-layout { grid-template-columns: 1fr; }
    .checkout-aside { order: -1; }
    .checkout-aside .content-card { padding: 16px; }
    .checkout-aside .content-card h2 { font-size: 14px; }
    .checkout-aside .checkout-summary-list { display: none; }
    .checkout-aside .demo-banner { font-size: 10px; }
    .checkout-progress { gap: 2px; font-size: 9px; }
    .app-cta { align-items: start; flex-direction: column; }
    .app-badges { flex-direction: row; width: 100%; }
    .app-badges a { flex: 1; }
}

@media (max-width: 900px) {
    .hero-grid { grid-template-columns: minmax(0,1fr) 310px; gap: 30px; }
    .hero-card { padding: 12px; }
    .product-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
    .product-layout { grid-template-columns: minmax(0,1fr) 320px; gap: 22px; }
    .flow-grid { grid-template-columns: minmax(0,1fr) 285px; gap: 16px; }
}
@media (max-width: 720px) {
    .container { width: min(100% - 32px, 560px); }
    .site-header { height: 64px; }
    .brand { font-size: 18px; }
    .brand-mark { width: 31px; height: 31px; }
    .nav-links { display: none; }
    .header-actions { gap: 7px; }
    .header-actions .button { display: none; }
    .hero { padding: 48px 0 42px; }
    .hero-grid { grid-template-columns: 1fr; gap: 28px; }
    .hero h1 { max-width: 520px; font-size: clamp(39px, 11vw, 54px); letter-spacing: -2px; }
    .hero-copy { font-size: 14px; }
    .hero-card { display: none; }
    .search-box { border-radius: 13px; padding-left: 13px; }
    .search-box .button { padding: 12px 13px; }
    .section { padding: 48px 0; }
    .section-heading { align-items: start; }
    .section-heading h2 { font-size: 25px; }
    .section-heading .text-link { display: none; }
    .product-grid { grid-template-columns: 1fr; gap: 13px; }
    .product-card { display: grid; grid-template-columns: 116px minmax(0,1fr); border-radius: 14px; }
    .product-card-media { height: 100%; min-height: 168px; }
    .product-card-media .pill { left: 7px; top: 7px; padding: 5px 7px; font-size: 9px; }
    .product-card-body { min-width: 0; padding: 12px; }
    .product-card h3 { font-size: 14px; }
    .product-card .location { font-size: 10px; }
    .tag-row { display: none; }
    .card-bottom { margin-top: 12px; padding-top: 10px; }
    .card-bottom .price { font-size: 15px; }
    .card-bottom .availability { display: none; }
    .steps-strip { grid-template-columns: 1fr 1fr; }
    .step-item { padding: 16px; border-bottom: 1px solid var(--line); }
    .step-item:nth-child(2) { border-right: 0; }
    .step-item:nth-child(3), .step-item:nth-child(4) { border-bottom: 0; }
    .footer-inner { align-items: start; flex-direction: column; }
    .product-layout { grid-template-columns: 1fr; }
    .product-gallery { margin-inline: -16px; border-radius: 0; }
    .product-gallery img { height: 270px; min-height: 270px; }
    .gallery-caption { margin-top: -1px; }
    .product-main h1 { font-size: 28px; }
    .booking-card { position: static; order: -1; padding: 17px; }
    .product-layout > .product-main { display: contents; }
    .product-layout > .booking-card { grid-row: 2; }
    .product-layout > .product-main .product-gallery { grid-row: 1; }
    .product-layout > .product-main .product-copy { grid-row: 3; }
    .product-copy { grid-row: 3; }
    .product-divider { margin: 19px 0; }
    .highlight-grid { grid-template-columns: 1fr; }
    .flow-shell { min-height: calc(100vh - 64px); padding-top: 20px; }
    .flow-top { align-items: start; flex-direction: column; margin-bottom: 17px; }
    .flow-top h1 { font-size: 23px; }
    .flow-grid { grid-template-columns: 1fr; }
    .flow-grid .summary-card { order: -1; }
    .panel { padding: 19px; }
    .panel-actions .button { flex: 1; }
    .flow-progress span { width: 33px; }
}
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; }
}

@media (max-width: 720px) {
    .product-layout > .product-main { display: block; }
    .product-layout > .product-main .product-gallery { margin-inline: -16px; }
    .product-layout > .booking-panel { grid-row: auto; }
}
