/* ============================================================
   FIXSPACE · Quick Care — เว็บไซต์ลูกค้า (ข้อมูลจำลอง)
   อ้างอิงดีไซน์แนวที่ 5 "Quick Care" จาก FIXSPACE-5-Concepts.html
   ============================================================ */
:root{
  /* สี */
  --bg:#FAF7F2;          /* พื้นหลังหลัก */
  --paper:#FFFDF9;       /* การ์ด + header */
  --ink:#253140;         /* ตัวอักษรหลัก */
  --muted:#736C65;       /* ตัวอักษรรอง */
  --accent:#A84E30;      /* ปุ่ม + ข้อความเน้น */
  --accent-hover:#923F24;
  --soft:#F2E4D8;        /* พื้นหลังสีอ่อน */
  --line:#E6DACD;        /* เส้นขอบ */
  --dark:#302A25;        /* น้ำตาลเข้ม */
  --green:#28694D;       /* สถานะสำเร็จ */
  --green-soft:#E4EFE6;
  --error:#923B2A;
  --error-soft:#FAE5DF;
  --error-line:#C0533A;
  --neutral-soft:#EDEAE5;
  --focus:#C56C47;

  /* ตัวอักษร */
  --font-th:'Noto Sans Thai',Tahoma,sans-serif;
  --font-en:Manrope,'Noto Sans Thai',sans-serif;

  /* ขนาด / ระยะห่าง */
  --max-w:1180px;
  --gutter:32px;          /* ขอบซ้าย-ขวา (ครึ่งหนึ่งของส่วนต่าง) */
  --section-y:54px;
  --radius-card:16px;
  --radius-lg:18px;
  --radius-sm:10px;
  --radius-btn:9px;
  --btn-h:46px;
  --shortcut-h:64px;

  font-family:var(--font-th);
  color:var(--ink);
  background:var(--bg);
  font-size:16px;
  line-height:1.7;
  color-scheme:light;
}

/* ---------- พื้นฐาน ---------- */
*{box-sizing:border-box}
body{margin:0;background:var(--bg)}
button,input,select,textarea{font:inherit}
button,a{touch-action:manipulation}
button{cursor:pointer}
a{color:inherit;text-decoration:none}
button:disabled{opacity:.48;cursor:not-allowed}
:focus-visible{outline:3px solid var(--focus);outline-offset:4px}
h1,h2,h3,p{margin:0}
h1{font-size:clamp(2rem,4.5vw,3.6rem);font-weight:600;line-height:1.38;letter-spacing:-1.6px}
h2{font-size:clamp(1.5rem,2.8vw,2.1rem);font-weight:600;line-height:1.5;letter-spacing:-.7px}
h3,.as-h3{font-size:1.15rem;font-weight:600;line-height:1.5;letter-spacing:0}
p{color:var(--muted)}
em{font-style:normal;color:var(--accent)}
small,.small{font-size:.8rem;color:var(--muted)}
.icon{width:20px;height:20px;vertical-align:middle;flex-shrink:0}
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.skip{position:absolute;top:-100px;left:16px;z-index:100;background:var(--dark);color:#fff;padding:12px;border-radius:var(--radius-btn)}
.skip:focus{top:10px}
#main:focus{outline:none}
[tabindex="-1"]:focus{outline:none}
.hide{display:none!important}

/* ---------- เลย์เอาต์ ---------- */
.wrap{width:min(var(--max-w),calc(100% - var(--gutter) * 2));margin:auto}
.row{display:flex;align-items:center;gap:14px;flex-wrap:wrap}
.between{justify-content:space-between}
.stack{display:grid;gap:18px}
.section{padding:var(--section-y) 0}
.section.border{border-top:1px solid var(--line)}
.section.paper{background:var(--paper)}
.eyebrow{font:700 .72rem var(--font-en);letter-spacing:2.3px;color:var(--accent);text-transform:uppercase;margin-bottom:15px}
.section-head{display:flex;justify-content:space-between;gap:20px;align-items:end;flex-wrap:wrap;margin-bottom:27px}
.section-head p{max-width:580px;font-size:.9rem;margin-top:8px}
.section-head .eyebrow{margin-bottom:9px}
.actions{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin-top:27px}
.grid2{display:grid;grid-template-columns:1fr 1fr;gap:26px}
.grid3{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:23px}
.grid4{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px}


/* ---------- Header ---------- */
.site-header{background:var(--paper);border-bottom:1px solid var(--line)}
.nav{display:flex;align-items:center;justify-content:space-between;gap:25px;min-height:90px}
.brand{font:800 1.5rem var(--font-en);display:inline-flex;align-items:center;gap:10px;letter-spacing:-1px;white-space:nowrap}
.brand em{font-weight:400;margin-left:3px}
.brand-mark{width:36px;height:36px;background:var(--accent);border-radius:11px;color:#fff;display:grid;place-items:center}
.links{display:flex;align-items:center;gap:26px}
.nav-link{font-size:.875rem;color:var(--muted);padding:9px 0;border-bottom:2px solid transparent}
.nav-link[aria-current="page"]{color:var(--accent);border-bottom-color:var(--accent)}
.nav-link:hover{color:var(--accent)}
.nav-cta{display:flex;gap:12px;align-items:center}
.nav-cta .menu-toggle{display:none}

/* ---------- ปุ่ม ---------- */
.btn{border:1px solid var(--line);background:var(--paper);color:var(--ink);border-radius:var(--radius-btn);padding:12px 19px;display:inline-flex;align-items:center;justify-content:center;gap:9px;min-height:var(--btn-h);font-size:.875rem;font-weight:500;line-height:1.5;text-align:center}
.btn:hover{border-color:var(--accent);background:var(--soft)}
.btn.primary{background:var(--accent);border-color:var(--accent);color:#FFFDF9}
.btn.primary:hover{background:var(--accent-hover)}
.btn.ghost{background:none;border-color:transparent;color:var(--accent);padding-left:0;padding-right:0}
.btn.ghost:hover{text-decoration:underline;text-underline-offset:4px}
.btn.full{width:100%}
.btn:disabled:hover{background:var(--paper);border-color:var(--line)}
.btn.primary:disabled:hover{background:var(--accent);border-color:var(--accent)}
.icon-btn{display:inline-grid;place-items:center;background:var(--paper);border:1px solid var(--line);border-radius:var(--radius-btn);width:42px;height:42px;color:var(--ink)}
.icon-btn:hover{border-color:var(--accent);background:var(--soft)}

/* ---------- ภาพ ---------- */
.photo{position:relative;overflow:hidden;border-radius:var(--radius-lg);background:#DBCBB8;min-width:0;margin:0}
.photo img{display:block;width:100%;height:100%;object-fit:cover}

/* ---------- ส่วนแรก (Quick Care) ---------- */
.quick-layout{display:grid;grid-template-columns:.9fr 1.1fr;gap:55px;align-items:start}
.quick-layout h1{font-size:clamp(2rem,4vw,3rem)}
.quick-layout p{margin:17px 0}
.quick-layout .photo{height:245px;margin-top:30px}
.inline-note{font-size:.8rem;color:var(--muted);display:flex;align-items:center;gap:8px;margin-top:23px}
.inline-note .icon{color:var(--accent);width:17px;height:17px}
.estimate-panel .btn.full{margin-top:15px}
.form-caption{font-size:.77rem;margin-top:12px}

/* ---------- แถบความมั่นใจ ---------- */
.proof-band{background:var(--paper);border-top:1px solid var(--line);border-bottom:1px solid var(--line)}
.proof{display:grid;grid-template-columns:repeat(3,1fr);gap:20px;padding:21px 0;margin:0;list-style:none}
.proof li{display:flex;align-items:center;gap:11px;font-size:.84rem}
.proof .icon{color:var(--accent)}

/* ---------- การ์ด ---------- */
.panel{background:var(--paper);border:1px solid var(--line);border-radius:var(--radius-card);padding:27px;min-width:0}
.service-card{display:flex;flex-direction:column;padding:26px 22px;background:var(--paper);border:1px solid var(--line);border-radius:14px;gap:13px;transition:transform .15s,border-color .15s}
.service-card:hover{border-color:#C59073;transform:translateY(-3px)}
.service-icon{color:var(--accent);background:var(--soft);border-radius:10px;width:44px;height:44px;display:grid;place-items:center;margin-bottom:7px}
.service-card h3{font-size:1.05rem}
.service-card p{font-size:.84rem}
.price-label{margin-top:auto;font-size:.83rem;padding-top:12px;border-top:1px solid var(--line);color:var(--accent)}
.price-label small{display:inline-flex;align-items:center;gap:4px}
.price-label .icon{width:14px;height:14px}
.price{font-family:var(--font-en);font-size:1.5rem;font-weight:700;color:var(--accent);line-height:1.4}
.price.is-text{font-family:var(--font-th);font-weight:600;font-size:1.35rem}
.badge{display:inline-flex;align-items:center;gap:5px;font-size:.75rem;background:var(--soft);color:var(--accent);padding:4px 9px;border-radius:5px;white-space:nowrap}
.badge .icon{width:13px;height:13px}
.badge.good{background:var(--green-soft);color:var(--green)}
.badge.neutral{background:var(--neutral-soft);color:#625C56}

/* ---------- ขั้นตอน / CTA ---------- */
.steps{list-style:none;padding:0;margin:0}
.step-no{font:400 2.1rem var(--font-en);color:#BDA491;margin-bottom:13px}
.steps-card p{font-size:.87rem;margin-top:8px}
.cta-band{border-radius:var(--radius-card);padding:29px 32px;background:var(--soft);display:flex;justify-content:space-between;gap:25px;align-items:center;flex-wrap:wrap}
.cta-band p{font-size:.86rem;margin-top:5px}

/* ---------- Accordion ---------- */
.faq-list details{border-bottom:1px solid var(--line);padding:20px 0}
.faq-list summary{cursor:pointer;font-size:.94rem;font-weight:500;list-style:none;display:flex;justify-content:space-between;gap:20px}
.faq-list summary::-webkit-details-marker{display:none}
.faq-list summary:after{content:'+';font-size:1.3rem;color:var(--accent);line-height:1}
.faq-list details[open] summary:after{content:'−'}
.faq-list details p{font-size:.87rem;margin:14px 0 0;max-width:850px}
.chip-row{display:flex;gap:8px;flex-wrap:wrap}
.chip{border:1px solid var(--line);background:var(--paper);border-radius:99px;padding:8px 15px;min-height:40px;font-size:.8rem;color:var(--muted)}
.chip:hover{border-color:var(--accent)}
.chip[aria-pressed="true"]{background:var(--dark);color:#fff;border-color:var(--dark)}

/* ---------- Footer ---------- */
.footer{background:var(--paper);border-top:1px solid var(--line);padding:45px 0 22px}
.footer-grid{display:grid;grid-template-columns:1.6fr 1fr 1fr;gap:36px;padding-bottom:30px}
.footer-grid .brand{margin-bottom:15px}
.footer p,.footer-links a{font-size:.83rem}
.footer h2{font-size:.9rem;letter-spacing:0;margin-bottom:14px}
.footer-links{display:grid;gap:9px;list-style:none;margin:0;padding:0}
.footer-links a:hover{color:var(--accent)}
.summary-tags{display:flex;flex-wrap:wrap;gap:8px;margin-top:15px}
.footer-bottom{display:flex;justify-content:space-between;gap:15px;flex-wrap:wrap;border-top:1px solid var(--line);padding-top:20px;font-size:.72rem;color:var(--muted)}

/* ---------- หน้าย่อย ---------- */
.breadcrumbs{font-size:.8rem;color:var(--muted);padding:25px 0}
.breadcrumbs ol{display:flex;align-items:center;gap:8px;flex-wrap:wrap;list-style:none;margin:0;padding:0}
.breadcrumbs li{display:flex;align-items:center;gap:8px}
.breadcrumbs a:hover{color:var(--accent)}
.breadcrumbs .icon{width:13px;height:13px}
.page-heading{padding:8px 0 32px}
.page-heading h1{font-size:clamp(2rem,3.3vw,2.8rem)}
.page-heading p{max-width:660px;margin-top:13px}
.detail-layout{display:grid;grid-template-columns:1.3fr .85fr;gap:35px;align-items:start}
.detail-layout .main-photo{height:390px}
.detail-body{display:grid;gap:27px}
.detail-body h2,.result-panel h2{font-size:1.4rem;margin-bottom:15px}
.detail-body p{font-size:.9rem}
.check-list{list-style:none;padding:0;margin:0;display:grid;gap:13px}
.check-list li{display:flex;gap:10px;align-items:flex-start;font-size:.88rem}
.check-list .icon{color:var(--accent);width:18px;height:18px;margin-top:4px}
.summary{position:sticky;top:20px}
.summary .price{font-size:2rem;margin:12px 0}
.summary .price.is-text{font-size:1.45rem}
.summary p{font-size:.83rem}
.keyvalue{display:flex;justify-content:space-between;gap:15px;padding:13px 0;border-bottom:1px solid var(--line);font-size:.87rem;margin:0}
.keyvalue dt{color:var(--muted)}
.keyvalue dd{margin:0;text-align:right;overflow-wrap:anywhere}
.keyvalue:last-child{border-bottom:0}
dl{margin:0}
.notice{display:flex;gap:10px;align-items:flex-start;background:var(--soft);border-radius:10px;padding:15px 17px;font-size:.81rem;color:#75422D}
.notice>.icon{width:17px;height:17px;margin-top:3px}
.notice.info{background:#EEEAE4;color:#635B54}
.notice.success{background:#E5EEE5;color:#2C6148}
.notice.error{background:var(--error-soft);color:var(--error)}
.notice .notice-body{display:grid;gap:10px}
.notice .btn{justify-self:start}
.presenter-note{font-size:.77rem;color:var(--muted);margin-top:18px}
.empty{text-align:center;padding:55px 25px;border:1px dashed #C9B9A9;border-radius:14px}
.empty>.icon{color:var(--accent);width:32px;height:32px;margin-bottom:12px}
.empty h2{font-size:1.5rem;margin:5px 0 10px}
.empty .btn{margin-top:20px}

/* ---------- ฟอร์ม ---------- */
label{display:grid;gap:7px;font-size:.84rem;margin:18px 0;color:var(--ink)}
.field{margin:18px 0;min-width:0}
.field>label{margin:0}
.optional{color:var(--muted);font-weight:400}
input:not([type=checkbox]):not([type=radio]),select,textarea{width:100%;min-width:0;border:1px solid var(--line);border-radius:var(--radius-btn);padding:12px 14px;background:var(--paper);color:var(--ink);font-size:.93rem;min-height:var(--btn-h)}
input:not([type=checkbox]):not([type=radio]):hover,select:hover,textarea:hover{border-color:#D4C2B1}
textarea{resize:vertical;min-height:95px}
input::placeholder,textarea::placeholder{color:#938A80}
[aria-invalid="true"]{border-color:var(--error-line)!important}
.field-error{display:flex;gap:6px;align-items:flex-start;color:var(--error);font-size:.8rem;margin-top:7px;line-height:1.55}
.field-error .icon{width:16px;height:16px;margin-top:2px}
.field-error[hidden]{display:none}
fieldset{border:0;padding:0;margin:18px 0 0;min-width:0}
legend{padding:0;font-size:.84rem;color:var(--ink)}
.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:0 18px;align-items:start}
.form-grid .wide{grid-column:1/-1}

/* การ์ดเลือกอาการ — ใช้ radio จริง (คีย์บอร์ดใช้ลูกศรได้) */
.radio-cards{display:grid;grid-template-columns:1fr 1fr;gap:11px;margin:10px 0 17px}
.radio-card{position:relative;margin:0;background:var(--paper);border:1px solid var(--line);border-radius:10px;padding:17px;display:flex;align-items:center;gap:12px;text-align:left;font-size:.88rem;cursor:pointer;min-height:var(--btn-h)}
.radio-card:hover{border-color:#C59073}
.radio-card input{position:absolute;opacity:0;width:1px;height:1px;margin:0}
.radio-card .icon{color:var(--accent)}
.radio-card .tick{margin-left:auto;opacity:0;width:18px;height:18px}
.radio-card:has(input:checked){border-color:var(--accent);background:var(--soft);box-shadow:inset 0 0 0 1px var(--accent)}
.radio-card:has(input:checked) .tick{opacity:1}
.radio-card:has(input:focus-visible){outline:3px solid var(--focus);outline-offset:3px}

/* ---------- นัดหมาย ---------- */
.wizard-shell{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(260px,.7fr);gap:30px;align-items:start}
.wizard-steps{display:flex;gap:10px 18px;margin:0 0 25px;padding:0;list-style:none;flex-wrap:wrap}
.wizard-step{display:flex;align-items:center;gap:8px;font-size:.8rem;color:var(--muted)}
.wizard-step .num{display:grid;place-items:center;width:28px;height:28px;border-radius:50%;background:#ECE5DC;font-family:var(--font-en);font-weight:600}
.wizard-step .num .icon{width:15px;height:15px}
.wizard-step.active{color:var(--accent);font-weight:500}
.wizard-step.active .num{background:var(--accent);color:#fff}
.wizard-step.done .num{background:#DFEADF;color:var(--green)}
.step-title{font-size:1.2rem;margin-bottom:4px;letter-spacing:0}
.form-nav{display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap;margin-top:27px}
.form-nav .btn:only-child{margin-left:auto}
.day-grid{display:grid;grid-template-columns:repeat(7,1fr);gap:7px;margin:12px 0}
.day-btn,.slot{position:relative;margin:0;border:1px solid var(--line);background:var(--paper);cursor:pointer;text-align:center;color:var(--ink)}
.day-btn{border-radius:var(--radius-btn);padding:10px 4px;display:grid;gap:3px;font-size:.76rem;line-height:1.4}
.day-btn strong{font:700 1.2rem var(--font-en)}
.day-btn input,.slot input{position:absolute;opacity:0;width:1px;height:1px;margin:0}
.day-btn:hover,.slot:hover{border-color:#C59073}
.day-btn:has(input:checked),.slot:has(input:checked){background:var(--soft);border-color:var(--accent);color:var(--accent);box-shadow:inset 0 0 0 1px var(--accent)}
.day-btn:has(input:focus-visible),.slot:has(input:focus-visible){outline:3px solid var(--focus);outline-offset:3px}
.slots{display:grid;grid-template-columns:repeat(4,1fr);gap:8px;margin:12px 0}
.slot{border-radius:8px;font-size:.8rem;padding:10px 5px;display:block;min-height:44px}
.slot:has(input:disabled){color:#8E857C;background:#F5F1EB;border-style:dashed;cursor:not-allowed}
.slot:has(input:disabled):hover{border-color:var(--line)}
.group-label{font-size:.84rem;margin-top:20px;display:block}
.consent{display:flex;align-items:flex-start;gap:9px;font-size:.82rem;margin:22px 0 0}
.consent input{margin-top:6px;accent-color:var(--accent);width:17px;height:17px;flex-shrink:0}
/* ช่องดักบอท — ย้ายออกนอกจอ (ไม่ใช้ display:none: บอทบางตัวข้ามช่องที่ซ่อนแบบนั้น) */
.hp{position:absolute;left:-10000px;top:auto;width:1px;height:1px;overflow:hidden}
/* กล่อง Cloudflare Turnstile (แสดงเมื่อร้านเปิดใช้) */
.turnstile-box{margin:18px 0 0;min-height:65px}
.turnstile-box[hidden]{display:none}
.review-block{margin-top:18px}
.review-block .row{margin-bottom:2px}
.review-block h3{font-size:.95rem}
.review-block .btn.ghost{min-height:36px;padding-top:4px;padding-bottom:4px}

/* ---------- หน้ายืนยัน / รายการของฉัน ---------- */
.success-page{max-width:770px;margin:auto}
.success-head{text-align:center;margin-bottom:28px}
.success-head h1{font-size:2.2rem}
.success-head p{margin-top:12px}
.success-mark{display:grid;place-items:center;width:64px;height:64px;border-radius:50%;background:#E3EDE4;color:var(--green);margin:0 auto 20px}
.success-mark.neutral{background:var(--neutral-soft);color:#625C56}
.success-mark .icon{width:31px;height:31px}
.reference{font:700 1.2rem var(--font-en);letter-spacing:1px}
.record{display:flex;align-items:center;justify-content:space-between;gap:22px;padding:23px 0;border-bottom:1px solid var(--line);flex-wrap:wrap}
.record:first-child{padding-top:0}
.record:last-child{border-bottom:0;padding-bottom:0}
.record h2{margin:7px 0 2px;font-size:1rem;letter-spacing:0}
.record p{font-size:.82rem}

/* ---------- ติดตามงานซ่อม ---------- */
.tracking-shell{max-width:920px;margin:auto}
.track-form{display:grid;grid-template-columns:1fr 1fr auto;gap:14px;align-items:start}
.track-form .field{margin:0}
.track-form>.btn{margin-top:31px}
.track-result{margin-top:28px}
.track-result:empty{display:none}
.sample-label{font-size:.8rem;color:var(--muted);margin-bottom:10px}
.timeline{list-style:none;padding:0;margin:25px 0 0;display:grid}
.timeline li{display:grid;grid-template-columns:30px 1fr;gap:13px;padding-bottom:25px;position:relative}
.timeline li:before{content:'';position:absolute;top:29px;bottom:0;left:13px;width:1px;background:var(--line)}
.timeline li.complete:before{background:#B7D0BD}
.timeline li:last-child{padding-bottom:0}
.timeline li:last-child:before{display:none}
.timeline .node{background:#EDE7DF;color:#8E8479;width:28px;height:28px;border-radius:50%;display:grid;place-items:center;z-index:1}
.timeline .complete .node{background:#E0ECE2;color:var(--green)}
.timeline .current .node{background:var(--accent);color:#fff;box-shadow:0 0 0 4px var(--soft)}
.timeline .node .icon{width:15px;height:15px}
.timeline strong{font-size:.93rem;font-weight:500;display:block}
.timeline .current strong{color:var(--accent);font-weight:600}
.timeline .upcoming strong{color:var(--muted)}
.timeline .when{display:flex;gap:8px;align-items:center;flex-wrap:wrap;margin-top:2px}
.step-state{font-size:.72rem;padding:1px 7px;border-radius:4px;background:var(--neutral-soft);color:#625C56}
.complete .step-state{background:var(--green-soft);color:var(--green)}
.current .step-state{background:var(--soft);color:var(--accent)}

/* ---------- ติดต่อร้าน ---------- */
.contact-layout{display:grid;grid-template-columns:1fr 1fr;gap:35px;align-items:start}
.contact-layout .photo{height:285px}

/* ---------- Dialog / Toast ---------- */
dialog{border:1px solid var(--line);background:var(--paper);color:var(--ink);padding:28px;border-radius:var(--radius-lg);width:min(570px,calc(100% - 28px));max-height:85vh;box-shadow:0 25px 80px #0003}
dialog::backdrop{background:#302A2575}
dialog .dialog-head{display:flex;justify-content:space-between;gap:20px;align-items:center;margin-bottom:16px}
dialog h2{font-size:1.4rem}
dialog p{font-size:.9rem}
.dialog-actions{display:flex;gap:12px;justify-content:flex-end;flex-wrap:wrap;margin-top:25px}
#toast{position:fixed;bottom:24px;left:50%;transform:translateX(-50%);background:var(--dark);color:#FFFDF9;border-radius:10px;padding:13px 22px;z-index:100;max-width:calc(100% - 32px);font-size:.85rem;opacity:0;pointer-events:none;transition:opacity .15s}
#toast.visible{opacity:1}
.mobile-shortcuts{display:none}

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width:1050px){
  .links{gap:17px}
  .nav{gap:16px}
  .nav-cta .btn{padding:11px}
  .grid4{grid-template-columns:repeat(2,1fr)}
}

@media (max-width:850px){
  :root{--gutter:20px}
  .nav{min-height:78px;position:relative}
  .links{display:none;position:absolute;top:78px;left:calc(var(--gutter) * -1);right:calc(var(--gutter) * -1);padding:12px 25px 18px;background:var(--paper);border-bottom:1px solid var(--line);z-index:20;box-shadow:0 20px 25px #302A2510}
  .links.open{display:grid}
  .links .nav-link{padding:12px 0}
  .nav-cta .menu-toggle{display:inline-grid}
  .menu-toggle[aria-expanded="true"]{background:var(--soft);border-color:var(--accent);color:var(--accent)}
  .nav-cta .my-list{display:none}
  .grid3{grid-template-columns:repeat(2,minmax(0,1fr))}
  .grid3.steps{grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}
  .detail-layout{grid-template-columns:1fr .85fr;gap:22px}
  .quick-layout{gap:25px}
  .radio-card{padding:14px 12px;gap:9px;font-size:.84rem}
  .radio-card .tick{display:none}
  .wizard-shell{grid-template-columns:1fr}
  .summary{position:static}
  .wizard-shell>.summary{order:-1;padding:18px 24px}
  .wizard-shell>.summary .summary-help{display:none}
  .wizard-shell>.summary .keyvalue{display:inline-flex;margin-right:25px;gap:10px;border:0;padding:7px 0}
  .footer-grid{grid-template-columns:1.2fr 1fr 1fr;gap:22px}
  .contact-layout{gap:23px}
  .track-form{grid-template-columns:1fr 1fr}
  .track-form>.btn{grid-column:1/-1;margin-top:0}
}

@media (max-width:620px){
  :root{--gutter:16px;--section-y:37px}
  .nav{min-height:74px}
  .links{top:74px}
  .brand{font-size:1.3rem}
  .brand-mark{width:32px;height:32px}
  .nav-cta .btn{font-size:.76rem;padding:9px 11px;min-height:42px}
  .nav-cta{gap:7px}
  .preview-bar{font-size:.68rem}
  .quick-layout,.contact-layout,.detail-layout,.grid2{grid-template-columns:1fr}
  h1{font-size:2.35rem;letter-spacing:-1px}
  .quick-layout h1{font-size:2.3rem}
  .quick-layout .photo{display:none}
  .actions{gap:9px;margin-top:23px}
  .btn{font-size:.83rem;padding:12px 16px}
  .proof{grid-template-columns:1fr;gap:13px;padding:19px 0}
  .section-head{margin-bottom:23px}
  .section-head p{font-size:.85rem}
  .section-head>.btn{padding:8px 0;min-height:30px}
  .grid3,.grid3.steps{grid-template-columns:1fr;gap:23px}
  .step-no{font-size:1.7rem;margin-bottom:7px}
  .grid4{gap:12px}
  .service-card{padding:19px 15px;gap:10px}
  .service-card h3{font-size:.96rem}
  .service-card p{font-size:.79rem}
  .price-label{font-size:.74rem}
  .service-icon{width:38px;height:38px}
  .panel{padding:22px}
  .cta-band{padding:24px;gap:19px}
  .cta-band h2{font-size:1.5rem}
  .footer{padding-top:33px;padding-bottom:calc(var(--shortcut-h) + 26px + env(safe-area-inset-bottom))}
  .footer-grid{grid-template-columns:1fr 1fr;gap:25px}
  .footer-grid>div:first-child{grid-column:1/-1}
  .footer-bottom{font-size:.68rem}
  .breadcrumbs{font-size:.75rem;padding:20px 0}
  .page-heading{padding:5px 0 25px}
  .page-heading h1{font-size:2rem}
  .page-heading p{font-size:.9rem}
  .detail-layout .main-photo{height:280px}
  .form-grid{grid-template-columns:1fr;gap:0}
  .radio-cards{gap:9px}
  .radio-card{padding:14px 11px;font-size:.82rem;gap:9px}
  .day-grid{grid-template-columns:repeat(4,1fr)}
  .slots{grid-template-columns:repeat(3,1fr)}
  .wizard-steps{gap:9px 12px}
  .wizard-step{font-size:.72rem;gap:6px}
  .wizard-step .num{width:25px;height:25px}
  .wizard-shell{gap:18px}
  .form-nav{gap:10px}
  .form-nav .btn{flex:1}
  .track-form{grid-template-columns:1fr}
  .track-form>.btn{grid-column:auto}
  .contact-layout .photo{height:220px}
  .success-head h1{font-size:1.8rem}
  .record .row{width:100%}
  .record .row .btn{flex:1}
  .summary .price{font-size:1.75rem}
  /* iOS ไม่ซูมเมื่อโฟกัสช่องกรอก */
  input:not([type=checkbox]):not([type=radio]),select,textarea{font-size:16px}
  .mobile-shortcuts{display:flex;position:fixed;bottom:0;left:0;right:0;z-index:12;background:var(--paper);border-top:1px solid var(--line);justify-content:space-around;padding:8px 12px max(9px,env(safe-area-inset-bottom));box-shadow:0 -5px 20px #302A2507}
  .mobile-shortcuts a{display:grid;justify-items:center;gap:3px;font-size:.69rem;color:var(--muted);min-width:64px;padding:2px 4px;border-radius:8px}
  .mobile-shortcuts a[aria-current="page"]{color:var(--accent);font-weight:500}
  .mobile-shortcuts .icon{width:19px;height:19px}
  #toast{bottom:calc(var(--shortcut-h) + 20px + env(safe-area-inset-bottom));width:max-content}
}

/* จอเล็กมาก: การ์ดอาการเหลือคอลัมน์เดียวเมื่อพื้นที่ไม่พอ */
@media (max-width:340px){
  .radio-cards{grid-template-columns:1fr}
  .day-grid{grid-template-columns:repeat(3,1fr)}
}

@media (prefers-reduced-motion:reduce){
  *,*:before,*:after{transition:none!important;scroll-behavior:auto!important}
}

@media print{
  .preview-bar,.site-header,.footer,.mobile-shortcuts,.actions,.btn,.form-nav,.breadcrumbs{display:none!important}
  .wrap{width:100%}
  .section{padding:15px 0}
  .panel{break-inside:avoid}
  body{background:#fff}
}

/* ข้อความหลายบรรทัดที่ผู้ใช้พิมพ์ */
.pre{white-space:pre-line}

/* ปุ่มระหว่างรอเซิร์ฟเวอร์ */
.spinner{width:16px;height:16px;border-radius:50%;border:2px solid currentColor;border-right-color:transparent;display:inline-block;animation:spin .7s linear infinite;flex-shrink:0}
@keyframes spin{to{transform:rotate(360deg)}}
@media (prefers-reduced-motion:reduce){.spinner{animation-duration:2s}}
.btn[aria-busy="true"]{cursor:progress}
.btn[aria-busy="true"]:disabled{opacity:.8}
.loading-line{display:flex;align-items:center;gap:9px;font-size:.84rem;color:var(--muted);padding:14px 0}

/* เมนูเพิ่มเติมที่แสดงเฉพาะในเมนูมือถือ */
.nav-link.nav-extra{display:none}
@media (max-width:850px){.links.open .nav-link.nav-extra{display:block;border-top:1px solid var(--line);margin-top:4px;padding-top:14px}}

/* สถานะติดตามงาน (กล่องสถานะปัจจุบัน) */
.status-now{display:flex;align-items:center;gap:14px;margin:18px 0 4px;padding:14px 16px;background:var(--soft);border-radius:12px}
.status-now .icon{color:var(--accent);width:26px;height:26px}
.status-now.good{background:var(--green-soft)}
.status-now.good .icon{color:var(--green)}
.status-now.bad{background:var(--error-soft)}
.status-now.bad .icon{color:var(--error)}
.status-now strong{display:block;font-size:1.1rem;color:var(--accent)}
.status-now.good strong{color:var(--green)}
.status-now.bad strong{color:var(--error)}
.status-now p{font-size:.84rem;margin:0}

/* แถบแจ้งระบบตัวอย่าง (เปิดด้วย SHOW_PREVIEW_NOTICE) */
.preview-bar{background:var(--dark);color:#F9F0E9;font-size:.75rem;padding:9px 0}
.preview-bar .wrap{display:flex;align-items:center;gap:8px}
.preview-bar .icon{width:15px;height:15px;opacity:.8}

.badge.warn{background:#FBEBD6;color:#8A5320}
.contact-actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:20px}

/* แถบประกาศจากร้าน (ตั้งในหลังบ้าน) */
.announce{background:var(--dark);color:#F9F0E9;font-size:.84rem;padding:10px 0}
.announce.warn{background:#F6E1CF;color:#6E3519}
.announce .wrap{display:flex;align-items:flex-start;gap:9px}
.announce .icon{width:17px;height:17px;margin-top:3px;flex-shrink:0}
.announce p{color:inherit;margin:0}
.announce a{text-decoration:underline;text-underline-offset:3px;font-weight:600;white-space:nowrap}
.announce a .icon{width:14px;height:14px;margin:0}
/* ข้อความหลายบรรทัดจากหลังบ้าน (คำตอบ FAQ ฯลฯ) */
.faq-list details p{white-space:pre-line}
/* วันปิดร้านในปฏิทินจอง */
.day-btn.closed{color:#8E857C;background:#F5F1EB;border-style:dashed;cursor:not-allowed}
.day-btn.closed:hover{border-color:var(--line)}

/* สไลด์รูป (ร้านอัปโหลดตั้งแต่ 2 รูป) */
.photo.slideshow{touch-action:pan-y}
.photo.slideshow .slide{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;opacity:0;transition:opacity .6s ease}
.photo.slideshow .slide.is-active{opacity:1}
.slide-dots{position:absolute;left:0;right:0;bottom:8px;display:flex;justify-content:center;gap:2px;z-index:2}
.slide-dot{width:26px;height:26px;border:0;background:none;padding:0;display:grid;place-items:center;cursor:pointer}
.slide-dot::before{content:'';width:8px;height:8px;border-radius:50%;background:#FFFDF9;opacity:.6;box-shadow:0 0 0 1px #302A2540;transition:opacity .2s,transform .2s}
.slide-dot[aria-current="true"]::before{opacity:1;transform:scale(1.3)}
.slide-dot:focus-visible{outline:2px solid #FFFDF9;outline-offset:-4px;border-radius:50%}

/* ============================================================
   งานที่เราเคยทำ — แถบรูปผลงานเลื่อนต่อเนื่อง
   ============================================================ */
.works-band{background:var(--paper);border-top:1px solid var(--line);border-bottom:1px solid var(--line);overflow:hidden}
.works-head{display:flex;justify-content:space-between;align-items:flex-end;gap:16px 24px;flex-wrap:wrap;margin-bottom:28px}
.works-head .eyebrow{margin-bottom:9px}
.works-head p{max-width:560px;font-size:.9rem;margin-top:8px}
.works-count{display:inline-flex;align-items:center;gap:7px;font:600 .8rem var(--font-en);color:var(--accent);background:var(--soft);padding:7px 13px;border-radius:99px;white-space:nowrap}
.works-count .icon{width:15px;height:15px}
.marquee{position:relative;overflow:hidden;padding:8px 0 14px}
.marquee.is-animated{-webkit-mask-image:linear-gradient(90deg,transparent,#000 6%,#000 94%,transparent);mask-image:linear-gradient(90deg,transparent,#000 6%,#000 94%,transparent)}
.marquee-track{display:flex;width:max-content}
.marquee.is-animated .marquee-track{animation:works-scroll var(--dur,40s) linear infinite}
.marquee.is-animated:hover .marquee-track,.marquee.is-animated:focus-within .marquee-track{animation-play-state:paused}
.marquee:not(.is-animated) .marquee-track{margin:0 auto;padding:0 var(--gutter)}
.marquee-group{display:flex;gap:18px;margin:0;padding:0 18px 0 0;list-style:none}
.marquee:not(.is-animated) .marquee-group{padding:0}
@keyframes works-scroll{to{transform:translateX(-50%)}}
.work-card{position:relative;display:block;width:260px;height:330px;padding:0;border:0;border-radius:18px;overflow:hidden;background:#DBCBB8;cursor:zoom-in;box-shadow:0 10px 26px #302A2514}
.work-card img{display:block;width:100%;height:100%;object-fit:cover;transition:transform .6s ease}
.work-card:hover img,.work-card:focus-visible img{transform:scale(1.06)}
.work-card::after{content:'';position:absolute;inset:auto 0 0 0;height:45%;background:linear-gradient(to top,#302A2566,transparent);pointer-events:none}
.work-card:focus-visible{outline:3px solid var(--focus);outline-offset:3px}
.work-cap{position:absolute;left:10px;right:10px;bottom:10px;z-index:1;display:flex;align-items:center;gap:8px;padding:9px 12px;border-radius:12px;background:#FFFDF9EB;color:var(--ink);font-size:.8rem;line-height:1.45;text-align:left;-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px)}
.work-cap .icon{width:16px;height:16px;color:var(--green)}
.work-full{display:block;width:100%;max-height:calc(85vh - 190px);min-height:180px;object-fit:contain;border-radius:12px;background:#F5F1EB}
.work-nav{align-items:center}
.work-nav .small{margin-right:auto}
@media (max-width:620px){
  .work-card{width:210px;height:268px;border-radius:16px}
  .marquee-group{gap:12px;padding-right:12px}
  .works-head{margin-bottom:20px}
}
@media (prefers-reduced-motion:reduce){
  .marquee.is-animated{overflow-x:auto;scroll-snap-type:x mandatory;-webkit-mask-image:none;mask-image:none}
  .marquee.is-animated .marquee-track{animation:none;padding:0 var(--gutter)}
  .marquee-group [aria-hidden="true"],.marquee-group[aria-hidden="true"]{display:none}
  .marquee-group li{scroll-snap-align:start}
}
