/* Bk studio — ครีมอบอุ่น · ชมพูกุหลาบ · น้ำตาลโกโก้ (แบบอ้างอิง design/comps/แบบอ้างอิง.png) */
:root {
  --paper: #fbf7f2;
  --ink: #3d2c24;
  --accent: #9b5c5f;
  --blush: #f4e6e1;
  --blush-2: #ecd5cf;
  --cream: #f6efe6;
  --cocoa: #5a4036;
  --muted: #7a645a;
  --line: #e7d9d0;
  --white: #fffdfb;
  --font: 'IBM Plex Sans Thai', 'Noto Sans Thai', system-ui, sans-serif;
  --radius: 18px;
  --shadow: 0 1px 2px rgba(61, 44, 36, .05), 0 8px 24px -12px rgba(61, 44, 36, .18);
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font-family: var(--font); font-size: 16px; line-height: 1.7;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { line-height: 1.35; margin: 0; font-weight: 600; letter-spacing: -.005em; text-wrap: balance; }
p { margin: 0; }
button, input, select, textarea { font: inherit; color: inherit; }
svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.6; flex: none; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
[hidden] { display: none !important; }

.wrap { width: min(1200px, 100% - 32px); margin-inline: auto; }
.wrap.narrow { width: min(860px, 100% - 32px); }
.skip { position: absolute; left: -999px; top: 8px; z-index: 99; background: var(--ink); color: #fff; padding: 8px 14px; border-radius: 8px; }
.skip:focus { left: 8px; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px; color: var(--accent);
  font-size: 14px; font-weight: 600; letter-spacing: .06em;
}
.eyebrow::before { content: ''; width: 28px; height: 1px; background: currentColor; }

/* ---------- ปุ่ม ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 10px 26px; border-radius: 999px; border: 1px solid var(--accent);
  background: var(--accent); color: #fff; font-weight: 600; text-decoration: none; cursor: pointer;
  transition: background .2s, color .2s, transform .2s var(--ease), box-shadow .2s;
}
.btn:hover { background: #874d50; box-shadow: 0 8px 20px -10px rgba(155, 92, 95, .7); transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn svg { width: 18px; height: 18px; }
.btn .i-arrow { width: 16px; height: 16px; stroke-width: 2; }
.btn-ghost { background: transparent; color: var(--accent); }
.btn-ghost:hover { background: var(--accent); color: #fff; }
.btn-light { background: #fff; color: var(--accent); border-color: #fff; }
.btn-light:hover { background: var(--blush); color: var(--accent); }
.btn-wide { width: 100%; }
.btn-sm { min-height: 38px; padding: 6px 14px; font-size: 14px; }
.btn[disabled], .btn.is-disabled { background: #cfc2bb; border-color: #cfc2bb; color: #fff; cursor: not-allowed; box-shadow: none; transform: none; }
.i-arrow { width: 16px; height: 16px; stroke-width: 2; }

/* ---------- แถบบนสุด + หัวเว็บ ---------- */
.topbar { background: var(--cocoa); color: #f6ebe4; font-size: 13.5px; }
.topbar .wrap { display: flex; justify-content: center; align-items: center; gap: 10px 22px; flex-wrap: wrap; padding: 7px 0; }
.topbar span, .topbar a { display: inline-flex; align-items: center; gap: 7px; text-decoration: none; }
.topbar svg { width: 16px; height: 16px; }
.topbar i { width: 1px; height: 14px; background: rgba(255, 255, 255, .3); }
@media (max-width: 640px) { .topbar i, .topbar span:nth-child(3), .topbar a { display: none; } }

.nav { position: sticky; top: 0; z-index: 40; background: rgba(251, 247, 242, .97); border-bottom: 1px solid var(--line); }
.nav .wrap { display: flex; align-items: center; gap: 16px; min-height: 72px; }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; margin-right: auto; }
.logo img { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; }
.logo b { display: block; font-size: 20px; font-weight: 600; letter-spacing: .01em; line-height: 1.2; }
.logo small { display: block; font-size: 12.5px; color: var(--muted); line-height: 1.3; }
.menu { display: flex; align-items: center; gap: 4px; }
.menu a { position: relative; padding: 8px 10px; font-size: 15px; text-decoration: none; color: var(--ink); border-radius: 8px; white-space: nowrap; }
.menu a::after { content: ''; position: absolute; left: 10px; right: 10px; bottom: 2px; height: 1.5px; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform .25s var(--ease); }
.menu a:hover::after, .menu a[aria-current="page"]::after { transform: scaleX(1); }
.menu a[aria-current="page"] { color: var(--accent); font-weight: 600; }
.nav-tools { display: flex; align-items: center; gap: 6px; }
.cart-btn { position: relative; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; color: var(--ink); text-decoration: none; }
.cart-btn:hover { background: var(--blush); }
.cart-count { position: absolute; top: 3px; right: 1px; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 10px; background: var(--accent); color: #fff; font-size: 12px; line-height: 20px; text-align: center; font-weight: 600; }
.nav-toggle { display: none; width: 46px; height: 46px; border: 0; background: transparent; border-radius: 50%; cursor: pointer; padding: 0 12px; flex-direction: column; justify-content: center; gap: 5px; }
.nav-toggle span { display: block; height: 1.5px; background: var(--ink); transition: transform .25s var(--ease), opacity .2s; }

@media (max-width: 1080px) {
  .nav-toggle { display: flex; position: relative; z-index: 60; }
  .menu {
    position: fixed; inset: 0; z-index: 50; background: var(--paper);
    flex-direction: column; align-items: stretch; justify-content: flex-start; gap: 0;
    padding: 96px 24px 32px; overflow-y: auto;
    opacity: 0; visibility: hidden; transition: opacity .25s, visibility .25s;
  }
  .menu a { font-size: 20px; padding: 14px 4px; border-bottom: 1px solid var(--line); border-radius: 0; }
  .menu a::after { display: none; }
  .menu a.nav-cat { font-size: 17px; padding-left: 20px; color: var(--muted); }
  body.nav-open { overflow: hidden; }
  body.nav-open .menu { opacity: 1; visibility: visible; }
  body.nav-open .nav-toggle span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
  body.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
  body.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }
  body.nav-open .cart-btn { position: relative; z-index: 60; }
}
@media (max-width: 420px) { .logo small { display: none; } .logo img { width: 44px; height: 44px; } }

/* ---------- แบนเนอร์ ---------- */
.hero { position: relative; overflow: hidden; }
.hero-track { display: flex; }
.hero-slide { position: relative; flex: 0 0 100%; }
.hero-full .hero-slide { min-height: min(70vh, 640px); display: grid; align-items: end; }
.hero-full picture, .hero-full picture img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 30%; }
.hero-full .hero-slide::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(61, 44, 36, 0) 35%, rgba(61, 44, 36, .55)); }
.hero-full .hero-body { position: relative; z-index: 1; color: #fff; padding: 48px 24px; max-width: 720px; }
.hero-full .hero-body .eyebrow { color: #fff; }
.hero-compact .hero-slide { min-height: 260px; display: grid; align-items: center; }
.hero-compact picture, .hero-compact picture img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-compact .hero-slide::after { content: ''; position: absolute; inset: 0; background: rgba(251, 247, 242, .72); }
.hero-compact .hero-body { position: relative; z-index: 1; width: min(1200px, 100% - 32px); margin: auto; padding: 40px 0; }

.hero-split { background: linear-gradient(105deg, var(--cream) 0%, var(--blush) 55%, #ead3cd 100%); }
.hero-split .hero-inner { width: min(1200px, 100%); margin: auto; display: grid; grid-template-columns: 1fr; }
.hero-split .hero-body { padding: 36px 20px 28px; display: grid; gap: 16px; align-content: center; }
.hero-split .hero-pic { position: relative; height: min(62vh, 560px); }
.hero-split .hero-pic img { width: 100%; height: 100%; object-fit: cover; object-position: center 25%; }
.hero h1, .hero h2 { font-size: clamp(32px, 7vw, 60px); font-weight: 600; line-height: 1.3; letter-spacing: -.01em; }
.hero-body > p { font-size: clamp(16px, 2vw, 19px); color: var(--muted); max-width: 34em; }
.hero-full .hero-body > p { color: rgba(255, 255, 255, .92); }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 22px; margin-top: 6px; }
.hero-phone { display: inline-flex; align-items: center; gap: 8px; color: var(--ink); text-decoration: none; font-weight: 500; }
.hero-phone svg { width: 18px; height: 18px; color: var(--accent); }
.hero-dots { position: absolute; left: 0; right: 0; bottom: 14px; display: flex; justify-content: center; gap: 4px; z-index: 2; }
.hero-dots button { width: 32px; height: 32px; border: 0; background: transparent; cursor: pointer; display: grid; place-items: center; }
.hero-dots button::before { content: ''; width: 9px; height: 9px; border-radius: 50%; border: 1.5px solid var(--accent); background: transparent; transition: background .2s; }
.hero-dots button[aria-current="true"]::before { background: var(--accent); }
@media (min-width: 720px) {
  .hero-split .hero-inner { grid-template-columns: 1.05fr .95fr; min-height: 560px; }
  .hero-split .hero-body { padding: 56px 40px 56px 32px; }
  .hero-split .hero-pic { height: auto; min-height: 560px; }
  .hero-split .hero-pic picture, .hero-split .hero-pic img { position: absolute; inset: 0; width: 100%; height: 100%; }
}
@media (min-width: 1200px) { .hero-split .hero-body { padding-left: 0; } }

.page-head { background: linear-gradient(105deg, var(--cream), var(--blush)); padding: 40px 0 34px; border-bottom: 1px solid var(--line); }
.page-head h1 { font-size: clamp(28px, 5vw, 44px); }
.page-head p { color: var(--muted); margin-top: 6px; }
.order-no { color: var(--accent); letter-spacing: .02em; }

/* ---------- ส่วนทั่วไป ---------- */
.sec { padding: 56px 0; }
@media (min-width: 900px) { .sec { padding: 84px 0; } }
.sec-head { margin-bottom: 28px; max-width: 46em; }
.sec-head.center { text-align: center; margin-inline: auto; }
.sec-head h2 { font-size: clamp(26px, 4vw, 40px); }
.sec-head.center h2 { display: flex; align-items: center; justify-content: center; gap: 18px; }
.sec-head.center h2::before, .sec-head.center h2::after { content: ''; flex: 0 1 80px; height: 1px; background: var(--blush-2); }
@media (max-width: 640px) { .sec-head.center h2::before, .sec-head.center h2::after { display: none; } }
.sec-head p { color: var(--muted); margin-top: 10px; font-size: 17px; }
.sec-more { text-align: center; margin-top: 32px; }

/* แถบจุดเด่นใต้แบนเนอร์ */
.trust { padding: 0; background: var(--white); border-bottom: 1px solid var(--line); }
.trust-row { display: grid; grid-template-columns: repeat(2, 1fr); }
.trust .feature { display: flex; align-items: center; gap: 12px; padding: 18px 10px; }
.trust .feature + .feature { border-left: 1px solid var(--line); }
.trust .feature:nth-child(3) { border-left: 0; }
.trust .feature:nth-child(n+3) { border-top: 1px solid var(--line); }
.trust .feature-icon { color: var(--accent); }
.trust .feature-icon svg { width: 28px; height: 28px; }
.trust h3 { font-size: 15px; font-weight: 600; }
.trust p { font-size: 14px; color: var(--muted); line-height: 1.5; }
@media (min-width: 860px) {
  .trust-row { grid-template-columns: repeat(var(--cols, 4), 1fr); }
  .trust .feature { justify-content: center; padding: 22px 16px; }
  .trust .feature:nth-child(n) { border-top: 0; border-left: 1px solid var(--line); }
  .trust .feature:first-child { border-left: 0; }
}

/* ขั้นตอนสั่งซื้อ */
.steps-sec { background: var(--white); }
.steps { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; counter-reset: s; }
.steps .feature { display: grid; justify-items: start; gap: 12px; padding: 20px 16px; border-radius: var(--radius); background: var(--paper); }
.steps .feature-icon { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: var(--blush); color: var(--accent); }
.steps .feature-icon svg { width: 26px; height: 26px; }
.step-no { display: block; font-size: 13px; font-weight: 700; color: var(--accent); letter-spacing: .08em; }
.steps h3 { font-size: 17px; }
.steps p { font-size: 14.5px; color: var(--muted); line-height: 1.6; margin-top: 4px; }
@media (min-width: 860px) { .steps { grid-template-columns: repeat(var(--cols, 4), 1fr); gap: 20px; } .steps .feature { padding: 28px 22px; } }

/* การ์ดหมวด */
.cats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin-bottom: 40px; }
.cat { display: grid; background: var(--white); border-radius: var(--radius); overflow: hidden; text-decoration: none; box-shadow: var(--shadow); transition: transform .2s var(--ease), box-shadow .2s; }
.cat:hover { transform: translateY(-3px); box-shadow: 0 2px 4px rgba(61, 44, 36, .06), 0 18px 32px -16px rgba(61, 44, 36, .3); }
.cat-pic { aspect-ratio: 4 / 3; overflow: hidden; background: var(--blush); }
.cat-pic img { width: 100%; height: 100%; object-fit: cover; object-position: center 25%; transition: transform .6s var(--ease); }
.cat:hover .cat-pic img { transform: scale(1.04); }
.cat-name { padding: 14px 14px 0; font-size: 17px; font-weight: 600; }
.cat-desc { padding: 2px 14px 0; font-size: 14px; color: var(--muted); line-height: 1.5; }
.cat-more { display: inline-flex; align-items: center; gap: 4px; padding: 8px 14px 16px; font-size: 14px; color: var(--accent); font-weight: 600; }
@media (min-width: 640px) { .cats { grid-template-columns: repeat(3, 1fr); gap: 16px; } }
@media (min-width: 1024px) { .cats { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); } }

/* การ์ด — บทความใช้รูปตามสัดส่วนจริง · สินค้าใช้กรอบ 3:4 (ดูด้านล่าง) */
.cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; align-items: start; }
/* จอใหญ่: คอลัมน์กว้างคงที่ ถ้าสินค้าน้อยจะอยู่กลางหน้า ไม่ชิดซ้ายโหวง */
@media (min-width: 768px) { .cards { grid-template-columns: repeat(auto-fit, minmax(200px, 260px)); justify-content: center; gap: 20px; } }
@media (min-width: 1100px) { .cards { grid-template-columns: repeat(auto-fit, minmax(240px, 276px)); gap: 24px; } }
.card { display: grid; gap: 0; background: transparent; transition: transform .2s var(--ease); }
.card:hover { transform: translateY(-3px); }
.card-pic { display: block; border-radius: var(--radius); overflow: hidden; background: var(--blush); }
.card-pic img { width: 100%; height: auto; transition: transform .6s var(--ease); }
.card:hover .card-pic img { transform: scale(1.03); }
/* การ์ดสินค้า: กรอบ 3:4 เท่ากันทุกใบ ไม่ว่าลูกค้าอัปรูปสัดส่วนไหน (รูปชุดจัดกลาง เน้นช่วงบน เห็นหน้า) */
.card[data-cat] .card-pic, .a-embed .card-pic { aspect-ratio: 3 / 4; }
.card[data-cat] .card-pic img, .a-embed .card-pic img { height: 100%; object-fit: cover; object-position: center 20%; }
.card-body { display: grid; gap: 4px; padding: 12px 2px 4px; }
.card-cat { font-size: 12.5px; color: var(--accent); font-weight: 600; letter-spacing: .04em; }
.card h3, .card h4, .card h2 { font-size: 16px; font-weight: 600; line-height: 1.45; }
.card h3 a, .card h2 a { text-decoration: none; }
.card-body p { font-size: 14px; color: var(--muted); line-height: 1.55; }
.card-price { font-size: 17px; font-weight: 700; color: var(--accent); display: flex; gap: 8px; align-items: baseline; flex-wrap: wrap; }
.card-price s { font-size: 14px; color: var(--muted); font-weight: 400; }
.card-sold { display: inline-block; font-size: 14px; font-weight: 600; color: var(--muted); background: var(--cream); border-radius: 999px; padding: 2px 12px; justify-self: start; }
.card-link { display: inline-flex; align-items: center; gap: 4px; font-size: 14px; font-weight: 600; color: var(--ink); text-decoration: none; margin-top: 4px; min-height: 32px; }
.card-link:hover { color: var(--accent); }

/* สินค้าเด่น */
.spot-sec { padding-top: 0; }
.spot { display: grid; background: linear-gradient(110deg, var(--white), var(--blush)); border-radius: 24px; overflow: hidden; box-shadow: var(--shadow); }
.spot-pic img { width: 100%; height: auto; }
.spot-body { display: grid; gap: 12px; align-content: center; padding: 28px 22px 32px; }
.spot-body h2 { font-size: clamp(26px, 4vw, 40px); }
.spot-price { display: inline-flex; gap: 10px; align-items: baseline; justify-self: start; background: var(--accent); color: #fff; font-weight: 700; font-size: 22px; padding: 4px 20px; border-radius: 999px; }
.spot-price s { font-size: 15px; opacity: .75; font-weight: 400; }
.spot-body p { color: var(--muted); }
.spot-opt { font-weight: 600; color: var(--ink) !important; }
.spot-body .btn { justify-self: start; margin-top: 6px; }
.spot-detail { display: none; }
@media (max-width: 719px) { .spot-pic { max-width: 540px; margin-inline: auto; } }
@media (min-width: 720px) {
  .spot { grid-template-columns: 1fr 1fr; align-items: center; }
  .spot-pic { align-self: stretch; }
  .spot-pic img { height: 100%; max-height: 620px; object-fit: cover; object-position: center 20%; }
  .spot-body { padding: 32px; }
}
@media (min-width: 900px) {
  .spot { grid-template-columns: 1fr 1fr .62fr; }
  .spot-body { padding: 40px; }
  .spot-detail { display: block; padding: 24px 24px 24px 0; }
  .spot-detail img { border-radius: 16px; box-shadow: var(--shadow); }
}

/* ลุคบุ๊ก — masonry ตามสัดส่วนจริง */
.look-sec { background: var(--white); }
.gal { columns: 2; column-gap: 10px; }
.gal figure { margin: 0 0 10px; break-inside: avoid; }
.gal a { display: block; border-radius: 14px; overflow: hidden; }
.gal img { width: 100%; height: auto; transition: transform .6s var(--ease); }
.gal a:hover img { transform: scale(1.03); }
.gal figcaption { padding: 6px 2px 0; font-size: 14px; }
.gal figcaption b { display: block; font-weight: 600; }
.gal figcaption span { color: var(--muted); font-size: 13.5px; }
@media (min-width: 480px) { .gal { columns: 3; } }
@media (min-width: 1024px) { .gal { columns: var(--cols, 4); column-gap: 18px; } .gal figure { margin-bottom: 18px; } }

/* เกี่ยวกับร้าน */
.about { display: grid; gap: 28px; align-items: center; }
.about-pic img { width: 100%; border-radius: 24px; }
.about-text { display: grid; gap: 14px; }
.about-text h2 { font-size: clamp(26px, 4vw, 40px); }
.about-text p { color: var(--muted); font-size: 17px; }
.about-text .btn { justify-self: start; }
@media (min-width: 860px) {
  .about { grid-template-columns: .9fr 1.1fr; gap: 64px; }
  .about.pic-right .about-pic { order: 2; }
}

/* ตารางราคา */
.price-sec { background: var(--cream); }
.price-table { background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; }
.pt-row { display: grid; grid-template-columns: 1fr auto; gap: 12px; align-items: center; padding: 14px 18px; border-top: 1px solid var(--line); }
.pt-head { background: var(--blush); border-top: 0; font-weight: 600; font-size: 15px; padding: 12px 18px; }
.row-item { display: flex; gap: 12px; align-items: center; }
.pt-thumb { width: 56px; flex: none; border-radius: 10px; overflow: hidden; }
.row-item b { display: block; font-weight: 600; }
.row-item b a { text-decoration: none; }
.row-item small { display: block; color: var(--muted); font-size: 13.5px; line-height: 1.5; }
.pt-price { text-align: right; font-weight: 700; color: var(--accent); font-size: 17px; display: grid; justify-items: end; }

/* คำถามที่พบบ่อย */
.faq { display: grid; gap: 10px; }
.faq details { background: var(--white); border: 1px solid var(--line); border-radius: 14px; padding: 0 18px; transition: border-color .2s; }
.faq details[open] { border-color: var(--blush-2); }
.faq summary { list-style: none; cursor: pointer; padding: 16px 30px 16px 0; font-weight: 600; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ''; position: absolute; right: 4px; top: 50%; width: 9px; height: 9px; border-right: 1.6px solid var(--accent); border-bottom: 1.6px solid var(--accent); transform: translateY(-70%) rotate(45deg); transition: transform .25s var(--ease); }
.faq details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq-a { padding: 0 0 18px; color: var(--muted); }

/* แถบชวนติดต่อ */
.cta-band { padding: 48px 0; position: relative; overflow: hidden; }
.cta-dark { background: linear-gradient(100deg, var(--cocoa), #7a5249 70%, #9b6d64); color: #fff; }
.cta-soft { background: var(--blush); }
.cta-band .wrap { display: grid; gap: 22px; align-items: center; position: relative; }
.cta-band h2 { font-size: clamp(24px, 3.6vw, 36px); max-width: 18em; }
.cta-side { display: flex; flex-wrap: wrap; gap: 14px 26px; align-items: center; }
.cta-phone { display: inline-flex; gap: 8px; align-items: center; text-decoration: none; font-weight: 500; }
.cta-dark::after { content: ''; position: absolute; right: -40px; top: -40px; width: 260px; height: 260px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .15); }
@media (min-width: 860px) { .cta-band .wrap { grid-template-columns: 1fr auto; } }

/* เสียงลูกค้า */
.quotes { display: grid; gap: 16px; }
@media (min-width: 768px) { .quotes { grid-template-columns: repeat(3, 1fr); } }
.quote { margin: 0; background: var(--white); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); display: grid; gap: 16px; }
.quote p { font-size: 16.5px; }
.quote figcaption { display: flex; gap: 12px; align-items: center; font-size: 14px; }
.quote figcaption img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; }
.quote figcaption span span { display: block; color: var(--muted); }

/* ติดต่อ */
.contact-sec { background: var(--white); }
.contact { display: grid; gap: 28px; }
@media (min-width: 860px) { .contact { grid-template-columns: .9fr 1.1fr; gap: 56px; } }
.contact-info > p { color: var(--muted); margin-bottom: 16px; font-size: 17px; }
.contact-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.contact-list li { display: flex; gap: 12px; align-items: center; }
.contact-list svg { color: var(--accent); }
.contact-list a { text-decoration: none; font-weight: 500; }
.contact-list a:hover { color: var(--accent); }
.hours { list-style: none; padding: 16px 0 0; margin: 18px 0 0; border-top: 1px solid var(--line); display: grid; gap: 6px; }
.hours li { display: flex; justify-content: space-between; gap: 16px; max-width: 320px; }
.closed { color: var(--accent); }
.map, .map-wrap iframe { width: 100%; height: 320px; border: 0; border-radius: var(--radius); }
.map-wrap { margin-top: 24px; }

/* ฟอร์ม */
.lead, .track-form { display: grid; gap: 14px; background: var(--paper); border-radius: var(--radius); padding: 22px; }
.lead h3 { font-size: 20px; }
label { font-size: 15px; font-weight: 500; }
input, select, textarea {
  width: 100%; font-size: 16px; padding: 12px 14px; border: 1px solid #d9c8be; border-radius: 12px; background: #fff; color: var(--ink);
  transition: border-color .2s, box-shadow .2s;
}
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(155, 92, 95, .16); }
textarea { min-height: 110px; resize: vertical; }
.lead > div, .field { display: grid; gap: 6px; }
.lead .btn, .track-form .btn { justify-self: start; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.msg { font-size: 15px; min-height: 1.2em; }
.msg.ok { color: #2f7a4f; }
.msg.bad, .err { color: #b13b3b; }
.err { font-size: 14px; }
.hint { color: var(--muted); font-size: 13.5px; }

/* ---------- ท้ายเว็บ ---------- */
.foot { background: var(--cocoa); color: #f1e4dc; padding: 48px 0 calc(28px + env(safe-area-inset-bottom)); }
.foot .wrap { display: grid; gap: 28px; }
.foot-brand { display: flex; gap: 14px; align-items: flex-start; }
.foot-brand img { width: 60px; height: 60px; border-radius: 50%; }
.foot-brand b { font-size: 20px; }
.foot-brand p { color: #d9c5ba; font-size: 14.5px; }
.foot-col { display: grid; gap: 6px; align-content: start; font-size: 15px; }
.foot-col b { font-size: 16px; margin-bottom: 4px; color: #fff; }
.foot-col a { text-decoration: none; color: #e6d6cc; }
.foot-col a:hover { color: #fff; }
.foot .social { display: flex; gap: 8px; margin-top: 6px; }
.foot .social a { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .3); }
.copy { color: #c8b3a8; font-size: 13.5px; border-top: 1px solid rgba(255, 255, 255, .15); padding-top: 18px; }
@media (min-width: 860px) { .foot .wrap { grid-template-columns: 1.4fr 1fr 1fr; } .copy { grid-column: 1 / -1; } }

.float-contact { position: fixed; left: 12px; right: 12px; bottom: calc(10px + env(safe-area-inset-bottom)); z-index: 30; display: flex; gap: 8px; }
.float-contact .btn { flex: 1; min-height: 50px; box-shadow: var(--shadow); }
.float-contact .btn-ghost { background: #fff; }
@media (min-width: 860px) { .float-contact { display: none; } }
@media (max-width: 859px) { body:has(.float-contact) .foot { padding-bottom: 96px; } }

.toast {
  position: fixed; left: 50%; bottom: 24px; z-index: 70; transform: translate(-50%, 20px); opacity: 0; pointer-events: none;
  background: var(--ink); color: #fff; padding: 12px 18px; border-radius: 12px; font-size: 15px; max-width: calc(100% - 32px);
  transition: opacity .25s, transform .25s var(--ease);
}
.toast.show { opacity: 1; transform: translate(-50%, 0); pointer-events: auto; }
.toast a { color: #f4cfcf; font-weight: 600; margin-left: 6px; }

dialog.light { border: 0; padding: 0; background: transparent; max-width: 94vw; max-height: 94vh; }
dialog.light::backdrop { background: rgba(30, 20, 16, .82); }
dialog.light img { max-width: 94vw; max-height: 90vh; width: auto; border-radius: 12px; }
dialog.light button { position: absolute; top: 8px; right: 8px; width: 44px; height: 44px; border-radius: 50%; border: 0; background: #fff; font-size: 26px; cursor: pointer; }

/* ---------- หน้ารวมสินค้า ---------- */
.cat-tools { display: grid; gap: 14px; margin-bottom: 24px; }
.chips { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 4px; scrollbar-width: none; }
.chip { flex: none; min-height: 42px; padding: 6px 16px; border-radius: 999px; border: 1px solid var(--line); background: var(--white); cursor: pointer; font-size: 15px; transition: all .2s; }
.chip small { color: var(--muted); margin-left: 2px; }
.chip[aria-pressed="true"] { background: var(--accent); border-color: var(--accent); color: #fff; }
.chip[aria-pressed="true"] small { color: #f7dede; }
.sort { display: flex; gap: 10px; align-items: center; justify-self: start; }
.sort span { white-space: nowrap; color: var(--muted); font-size: 15px; }
.sort select { width: auto; padding: 8px 12px; }
.empty { text-align: center; color: var(--muted); padding: 40px 0; }
@media (min-width: 760px) { .cat-tools { grid-template-columns: 1fr auto; align-items: center; } }

/* ---------- หน้าสินค้า ---------- */
.crumbs { font-size: 14px; color: var(--muted); margin-bottom: 18px; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--accent); }
.pdp { padding-top: 24px; }
.pdp-grid { display: grid; gap: 28px; grid-template-columns: minmax(0, 1fr); }
.pdp-main a { display: block; border-radius: var(--radius); overflow: hidden; background: var(--blush); }
.pdp-main img { width: 100%; height: auto; }
.pdp-thumbs { display: flex; gap: 8px; margin-top: 10px; overflow-x: auto; }
.pdp-thumbs button { flex: none; width: 68px; padding: 0; border: 2px solid transparent; border-radius: 10px; overflow: hidden; background: none; cursor: pointer; opacity: .7; }
.pdp-thumbs button[aria-current="true"] { border-color: var(--accent); opacity: 1; }
.pdp-info { display: grid; gap: 14px; align-content: start; }
.pdp-info h1 { font-size: clamp(28px, 4vw, 40px); }
.pdp-price { display: flex; gap: 10px; align-items: baseline; font-size: 26px; font-weight: 700; color: var(--accent); }
.pdp-price s { font-size: 17px; color: var(--muted); font-weight: 400; }
.pdp-short { color: var(--muted); font-size: 17px; }
.pdp-sku { color: var(--muted); font-size: 14px; }
.buy { display: grid; gap: 14px; padding: 18px; background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); }
.opts { border: 0; padding: 0; margin: 0; }
.opts legend { font-weight: 600; margin-bottom: 8px; }
.opt-list { display: flex; flex-wrap: wrap; gap: 8px; }
.opt input { position: absolute; opacity: 0; pointer-events: none; }
.opt span { display: inline-flex; align-items: center; gap: 6px; min-width: 56px; min-height: 46px; justify-content: center; padding: 6px 16px; border: 1px solid #d9c8be; border-radius: 12px; cursor: pointer; font-weight: 600; transition: all .15s; background: #fff; }
.opt input:checked + span { border-color: var(--accent); background: var(--accent); color: #fff; }
.opt input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
.opt.is-out span { color: #b9aaa2; text-decoration: line-through; cursor: not-allowed; background: var(--cream); }
.opt small { font-size: 12px; text-decoration: none; }
.buy-row { display: grid; grid-template-columns: auto 1fr; gap: 10px; }
.qty { display: inline-flex; align-items: center; border: 1px solid #d9c8be; border-radius: 999px; background: #fff; }
.qty button { width: 42px; height: 46px; border: 0; background: none; font-size: 20px; cursor: pointer; color: var(--accent); }
.qty input { width: 44px; border: 0; padding: 0; text-align: center; -moz-appearance: textfield; background: none; box-shadow: none !important; }
.qty input::-webkit-outer-spin-button, .qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.stock-note { font-size: 14.5px; color: var(--muted); }
.stock-note.err { color: #b13b3b; }
.pdp-perks { list-style: none; padding: 0; margin: 4px 0 0; display: grid; gap: 10px; font-size: 15px; }
.pdp-perks li { display: flex; gap: 10px; align-items: flex-start; }
.pdp-perks svg { color: var(--accent); margin-top: 2px; }
.pdp-desc { border-top: 1px solid var(--line); padding-top: 18px; }
.pdp-desc h2 { font-size: 20px; margin-bottom: 8px; }
.prose p + p { margin-top: 12px; }
.prose p { color: var(--muted); }
@media (min-width: 900px) {
  .pdp-grid { grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: start; }
  .pdp-gallery { position: sticky; top: 96px; }
}

/* ---------- ตะกร้า / สั่งซื้อ / ชำระเงิน ---------- */
.shop-sec { padding-top: 32px; }
.cart-grid { display: grid; gap: 24px; align-items: start; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 900px) { .cart-grid { grid-template-columns: 1fr 380px; gap: 40px; } .summary { position: sticky; top: 96px; } }
.cart-lines { display: grid; gap: 12px; }
.line { display: grid; grid-template-columns: 88px 1fr; gap: 14px; padding: 14px; background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); }
.line.has-err { outline: 1.5px solid #e2b4b4; }
.line-pic { border-radius: 12px; overflow: hidden; align-self: start; }
.line-info { display: grid; gap: 4px; align-content: start; }
.line-info h3 { font-size: 16px; }
.line-info h3 a { text-decoration: none; }
.line-info p { font-size: 14px; color: var(--muted); }
.line-info .qty { justify-self: start; margin-top: 6px; }
.line-info .qty button { height: 38px; width: 38px; }
.line-end { grid-column: 2; display: flex; justify-content: space-between; align-items: center; }
.line-end b { font-size: 17px; color: var(--accent); }
.link-btn { border: 0; background: none; color: var(--muted); text-decoration: underline; cursor: pointer; min-height: 40px; padding: 0 6px; }
@media (min-width: 640px) { .line { grid-template-columns: 110px 1fr auto; } .line-end { grid-column: auto; flex-direction: column; align-items: flex-end; justify-content: space-between; } }
.empty-cart { text-align: center; padding: 48px 16px; background: var(--white); border-radius: var(--radius); display: grid; gap: 16px; justify-items: center; }
.loading { color: var(--muted); }
.summary { display: grid; gap: 14px; background: var(--white); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow); }
.summary h2 { font-size: 20px; }
.sum { margin: 0; display: grid; gap: 8px; }
.sum div { display: flex; justify-content: space-between; gap: 16px; }
.sum dt { color: var(--muted); }
.sum dd { margin: 0; font-weight: 500; text-align: right; }
.sum .total { border-top: 1px solid var(--line); padding-top: 12px; margin-top: 4px; font-size: 19px; }
.sum .total dt { color: var(--ink); font-weight: 600; }
.sum .total dd { color: var(--accent); font-weight: 700; }
.free-bar { display: grid; gap: 8px; background: var(--blush); padding: 12px 14px; border-radius: 12px; font-size: 15px; }
.free-bar span { height: 6px; border-radius: 3px; background: #fff; overflow: hidden; }
.free-bar i { display: block; height: 100%; background: var(--accent); border-radius: 3px; transition: width .4s var(--ease); }
.link-back { text-align: center; color: var(--muted); font-size: 15px; }
.checkout fieldset { border: 0; padding: 20px; margin: 0 0 16px; background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); display: grid; gap: 14px; }
.checkout legend { float: left; width: 100%; font-size: 19px; font-weight: 600; margin-bottom: 4px; }
.pay-opts { display: grid; gap: 10px; }
.pay { display: flex; gap: 12px; align-items: flex-start; padding: 14px; border: 1px solid #d9c8be; border-radius: 14px; cursor: pointer; }
.pay:has(input:checked) { border-color: var(--accent); background: #fdf6f4; }
.pay input { width: 20px; height: 20px; margin-top: 3px; accent-color: var(--accent); flex: none; }
.pay b { display: block; }
.pay small { color: var(--muted); font-size: 14px; }
.coupon { display: grid; grid-template-columns: 1fr auto; gap: 8px; }
.mini-lines { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.mini-lines li { display: grid; grid-template-columns: 1fr auto auto; gap: 10px; font-size: 15px; align-items: start; }
.mini-lines small { display: block; color: var(--muted); font-size: 13.5px; }
.mini-lines span:nth-child(2) { color: var(--muted); }
.status-pill { display: inline-block; padding: 6px 16px; border-radius: 999px; background: var(--blush); color: var(--accent); font-weight: 600; margin-bottom: 16px; }
.status-pill.s-paid, .status-pill.s-shipping, .status-pill.s-shipped, .status-pill.s-done { background: #e6f2ea; color: #2f7a4f; }
.status-pill.s-cancelled, .status-pill.s-refunded { background: #f3e3e3; color: #a33; }
.pay-box { display: grid; gap: 14px; background: var(--white); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow); margin-bottom: 16px; }
.pay-box h2 { font-size: 20px; }
.pay-amount { font-size: 36px; font-weight: 700; color: var(--accent); line-height: 1.2; }
.pay-until, .pay-note { color: var(--muted); font-size: 15px; }
.qr { width: 220px; max-width: 100%; aspect-ratio: 1; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 6px; }
.qr svg { width: 100%; height: 100%; }
.qr-name { font-size: 14px; color: var(--muted); }
.duitnow { margin: 0; display: grid; gap: 10px; justify-items: start; }
.duitnow a { display: block; width: 260px; max-width: 100%; }
.duitnow img { display: block; width: 100%; height: auto; border-radius: 12px; border: 1px solid var(--line); }
.duitnow figcaption { font-size: 14px; color: var(--muted); }
.accounts { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.accounts li { display: grid; gap: 2px; padding: 14px; border: 1px solid var(--line); border-radius: 14px; }
.accounts .bank { font-size: 14px; color: var(--muted); }
.acc-no { font-size: 22px; letter-spacing: .04em; }
.accounts .btn { justify-self: start; margin-top: 6px; }
.slip-form { display: grid; gap: 12px; border-top: 1px solid var(--line); padding-top: 16px; }
.slip-drop { position: relative; display: grid; place-items: center; gap: 10px; min-height: 120px; padding: 16px; border: 1.5px dashed #cdb3a8; border-radius: 14px; background: var(--paper); cursor: pointer; text-align: center; }
.slip-drop input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.slip-drop span { display: inline-flex; gap: 8px; align-items: center; color: var(--accent); font-weight: 600; }
.slip-drop img { max-height: 260px; width: auto; border-radius: 8px; }
.ship-to { border-top: 1px solid var(--line); padding-top: 12px; font-size: 15px; }
.ship-to p { color: var(--muted); }
.help { font-size: 14px; color: var(--muted); }
.track-card { margin-top: 20px; background: var(--white); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow); display: grid; gap: 16px; }
.track-card h2 { font-size: 22px; }
.tracking b { color: var(--accent); font-size: 18px; letter-spacing: .03em; }
.timeline { list-style: none; margin: 0; padding: 0 0 0 18px; border-left: 2px solid var(--blush-2); display: grid; gap: 14px; }
.timeline li { position: relative; display: grid; }
.timeline li::before { content: ''; position: absolute; left: -25px; top: 7px; width: 12px; height: 12px; border-radius: 50%; background: var(--accent); }
.timeline span { color: var(--muted); font-size: 14px; }

/* ---------- บทความ ---------- */
.a-wrap h1 { font-size: clamp(28px, 5vw, 42px); margin-bottom: 8px; }
.a-meta { color: var(--muted); font-size: 14px; }
.a-cover img, .a-fig img { border-radius: var(--radius); }
.a-lead { font-size: 19px; margin: 16px 0; }
.a-toc { background: var(--cream); padding: 16px 20px; border-radius: 14px; margin: 16px 0; }
.a-body h2 { margin: 28px 0 10px; font-size: 26px; }
.a-embed, .a-cta { margin-top: 32px; }

/* ---------- พื้นที่กดบนมือถืออย่างน้อย 44px ---------- */
.skip { min-height: 44px; display: inline-flex; align-items: center; }
.hero-phone, .cta-phone, .card-link, .contact-list a, .foot-col a, .crumbs a, .link-back, .pdp-perks a, .help a, .ship-to a { min-height: 44px; display: inline-flex; align-items: center; }
.card h3 a, .row-item b a { display: inline-flex; align-items: center; min-height: 44px; }
.pt-price .card-link { justify-content: flex-end; }

.chip { min-height: 44px; }
.qty button { width: 44px; }
.crumbs a { min-width: 44px; justify-content: center; }
.foot .social a { width: 44px; height: 44px; min-height: 44px; justify-content: center; }
.opt { position: relative; }
.buy-row { grid-template-columns: auto minmax(0, 1fr); }
.buy-row .btn { padding-inline: 14px; }
/* รูปต้นฉบับกว้างราว 1,100px — จอแท็บเล็ตไม่ขยายรูปเกินที่ไฟล์รับได้ */
@media (max-width: 899px) { .pdp-gallery, .about-pic { max-width: 540px; margin-inline: auto; width: 100%; } }

/* ตัวหนังสือไทยไม่เล็กกว่า 14px และระยะบรรทัดอย่างน้อย 1.4 (สระบน-ล่างไม่ชนกัน) */
h1, h2, h3, h4, .hero h1, .hero h2 { line-height: 1.4; }
.logo b { line-height: 1.4; }
.logo small, .card-cat, .step-no, .topbar, .gal figcaption span, .row-item small, .hint, .copy, .mini-lines small, .opt small { font-size: 14px; line-height: 1.5; }
.cart-count { font-size: 13px; min-width: 22px; height: 22px; line-height: 22px; }
.pay-amount { line-height: 1.4; }

/* ---------- อนิเมชันตอนเลื่อนถึง (เคารพ reduced motion) ---------- */
.js-reveal .reveal { opacity: 0; transform: translateY(20px); transition: opacity .55s var(--ease), transform .55s var(--ease); }
.js-reveal .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; scroll-behavior: auto !important; }
}

/* =====================================================================
   ตกแต่งจัดเต็ม (รอบเจ้าของสั่งแก้ 2026-11-03)
   ภาพพื้นหลัง/ลายดอกไม้สร้างโดยฟ็อก → public/img/deco/ (ไม่ใช่รูปสินค้า)
   ฟอนต์ Cormorant ใช้เฉพาะตัวเลข/ชื่อแบรนด์ภาษาอังกฤษ ข้อความไทยยังเป็น IBM Plex Sans Thai
   ===================================================================== */
:root {
  --serif: 'Cormorant Garamond', 'IBM Plex Sans Thai', serif;
  --rose-gold: #c9a08f;
  --orn: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 140 20' fill='none' stroke='black' stroke-width='1.2' stroke-linecap='round'%3E%3Cpath d='M6 10h38c7 0 9-7 15-7M134 10H96c-7 0-9-7-15-7M44 10c7 0 9 7 15 7M96 10c-7 0-9 7-15 7'/%3E%3Cpath d='M70 2l6 8-6 8-6-8z' fill='black'/%3E%3Ccircle cx='4' cy='10' r='2' fill='black'/%3E%3Ccircle cx='136' cy='10' r='2' fill='black'/%3E%3C/svg%3E");
}

/* พื้นทั้งเว็บ: ลายดามัสก์จางๆ แบบวอลเปเปอร์บูติก */
body { background: var(--paper) url(/img/deco/damask.webp) repeat; background-size: 480px; }

/* ชื่อแบรนด์ตัวมีเชิง เข้ากับโลโก้ */
.logo b, .foot-brand b { font-family: var(--serif); font-style: italic; font-weight: 600; font-size: 25px; letter-spacing: .01em; line-height: 1.2; }
.topbar { background: linear-gradient(90deg, #4a342b, var(--cocoa) 50%, #4a342b); }

/* ลายประดับเหนือหัวข้อทุกส่วน แทนเส้นตรงเดิม */
.sec-head.center h2::before, .sec-head.center h2::after { display: none; }
.sec-head.center::before {
  content: ''; display: block; width: 132px; height: 19px; margin: 0 auto 14px;
  background: var(--accent); opacity: .75; -webkit-mask: var(--orn) center / contain no-repeat; mask: var(--orn) center / contain no-repeat;
}
.sec-head h2 { color: var(--cocoa); }

/* ส่วนที่มีดอกไม้ประดับมุม — ภาพบนพื้นขาว ผสมแบบ multiply ให้กลืนพื้นครีม */
.deco { position: relative; overflow: hidden; }
.deco > .wrap { position: relative; z-index: 1; }
.deco::before, .deco::after {
  content: ''; position: absolute; z-index: 0; pointer-events: none;
  width: clamp(200px, 30vw, 420px); aspect-ratio: 3 / 2;
  background: url(/img/deco/roses-branch.webp) center / contain no-repeat; mix-blend-mode: multiply; opacity: .9;
}
.deco::before { top: -10px; right: -60px; transform: rotate(-8deg); }
.deco::after { bottom: -30px; left: -80px; transform: scaleX(-1) rotate(-10deg); opacity: .75; }
.deco-one::after { display: none; }
@media (max-width: 720px) { .deco::before, .deco::after { width: 190px; opacity: .55; } .deco::before { top: -30px; right: -70px; } }

/* ---------- แบนเนอร์ ---------- */
.hero-split { background: var(--cream) url(/img/deco/hero-wash.webp) center / cover no-repeat; }
.hero-split .hero-body { position: relative; }
.hero-split h1, .hero-split h2 { color: var(--cocoa); }
.hero-split .eyebrow { font-size: 15px; }
@media (min-width: 720px) {
  .hero-split .hero-pic::after {
    content: ''; position: absolute; inset: 0; pointer-events: none;
    background: linear-gradient(90deg, rgba(246, 239, 230, .85), rgba(246, 239, 230, 0) 18%);
  }
  .hero-split .hero-inner, .hero-split .hero-pic { min-height: 600px; }
}

/* แถบจุดเด่น ลอยเป็นการ์ดทับขอบแบนเนอร์ */
.trust { background: transparent; border-bottom: 0; position: relative; z-index: 2; }
.trust-row {
  margin-top: -34px; background: var(--white); border-radius: 22px;
  box-shadow: 0 2px 4px rgba(61, 44, 36, .05), 0 24px 48px -24px rgba(61, 44, 36, .35);
  outline: 1px solid rgba(201, 160, 143, .35); outline-offset: -7px;
}
.trust .feature-icon { display: grid; place-items: center; width: 50px; height: 50px; border-radius: 50%; background: var(--blush); flex: none; }
.trust .feature-icon svg { width: 24px; height: 24px; }
@media (max-width: 859px) {
  .trust-row { margin-top: -18px; }
  .trust .feature { flex-direction: column; text-align: center; gap: 8px; padding: 16px 8px; }
  .trust .feature-icon { width: 42px; height: 42px; }
}

/* ---------- การ์ดหมวด: โค้งซุ้มประตูแบบบูติก ---------- */
.cat { background: rgba(255, 253, 251, .9); padding: 10px 10px 4px; box-shadow: none; outline: 1px solid var(--line); outline-offset: -1px; }
.cat:hover { box-shadow: 0 18px 36px -20px rgba(61, 44, 36, .35); outline-color: var(--blush-2); }
.cat-pic { aspect-ratio: 3 / 4; border-radius: 999px 999px 14px 14px; }
.cat-name { padding: 14px 6px 0; font-size: 18px; text-align: center; }
.cat-desc { padding: 2px 6px 0; text-align: center; }
.cat-more { justify-content: center; padding: 8px 6px 14px; }

/* การ์ดสินค้า */
.card-body { text-align: center; justify-items: center; }
.card-cat { letter-spacing: .1em; }
.card-price { justify-content: center; }

/* ---------- ขั้นตอนสั่งซื้อ: พื้นผ้าทูลชมพู ---------- */
.steps-sec { background: linear-gradient(rgba(251, 247, 242, .8), rgba(251, 247, 242, .86)), url(/img/deco/tulle-blush.webp) center / cover no-repeat; }
.steps .feature {
  background: rgba(255, 253, 251, .92); position: relative; overflow: hidden;
  box-shadow: 0 1px 2px rgba(61, 44, 36, .04), 0 16px 32px -22px rgba(61, 44, 36, .35);
}
.steps .feature-icon { background: var(--blush); box-shadow: 0 0 0 6px var(--white), 0 0 0 7px var(--blush-2); }
.steps .step-no {
  position: absolute; top: 8px; right: 14px; font-family: var(--serif); font-style: italic; font-weight: 500;
  font-size: 54px; line-height: 1; color: var(--blush-2); letter-spacing: 0;
}
.steps h3 { color: var(--cocoa); }

/* ---------- สินค้าเด่น ---------- */
.spot {
  background: linear-gradient(110deg, rgba(255, 253, 251, .94), rgba(244, 230, 225, .88)), url(/img/deco/tulle-blush.webp) center / cover;
}
.spot-body h2 { color: var(--cocoa); }
.spot-price { box-shadow: 0 10px 22px -12px rgba(155, 92, 95, .8); }

/* ---------- ลุคบุ๊ก ---------- */
.look-sec { background: linear-gradient(180deg, var(--blush) 0%, rgba(244, 230, 225, .55) 100%); }
.gal figcaption { text-align: center; }
/* เรียงแบบแถวเต็ม (justified) — กว้างตามสัดส่วนไฟล์จริง ไม่ครอป ไม่เหลือช่องโหว่ใต้คอลัมน์ */
.gal { columns: auto !important; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.gal figure { margin: 0 !important; flex: var(--ar) 1 calc(var(--ar) * 200px); max-width: calc(var(--ar) * 300px); }
@media (min-width: 768px) { .gal { gap: 18px; } .gal figure { flex-basis: calc(var(--ar) * 260px); max-width: calc(var(--ar) * 380px); } }
@media (min-width: 1024px) { .gal figure { flex-basis: calc(var(--ar) * 330px); max-width: calc(var(--ar) * 420px); } }

/* ---------- เกี่ยวกับร้าน: ทรงซุ้มโค้ง + เส้นกรอบเหลื่อม ---------- */
.about-sec .about { isolation: isolate; }
.about-pic { position: relative; }
.about-pic::before {
  content: ''; position: absolute; inset: -14px 14px 14px -14px; z-index: -1;
  border: 1px solid var(--rose-gold); border-radius: 999px 999px 30px 30px;
}
.about-pic img { border-radius: 999px 999px 24px 24px; }
.about-text h2 { color: var(--cocoa); }

/* ---------- ตารางราคา ---------- */
.price-sec { background: var(--cream) url(/img/deco/damask.webp) repeat; background-size: 420px; }
.price-table { outline: 1px solid rgba(201, 160, 143, .35); outline-offset: -6px; }
.pt-head { background: linear-gradient(90deg, var(--blush), var(--blush-2)); }

/* ---------- คำถามที่พบบ่อย ---------- */
.faq details { background: rgba(255, 253, 251, .94); }
.faq details[open] { box-shadow: 0 14px 28px -20px rgba(61, 44, 36, .35); }

/* ---------- แถบชวนติดต่อ: ผ้าซาตินโกโก้ ---------- */
.cta-dark {
  background: linear-gradient(100deg, rgba(52, 36, 29, .86), rgba(90, 64, 54, .62) 70%, rgba(155, 109, 100, .55)), url(/img/deco/satin-cocoa.webp) center / cover;
}
.cta-dark::before { content: ''; position: absolute; left: -60px; bottom: -90px; width: 220px; height: 220px; border-radius: 50%; border: 1px solid rgba(201, 160, 143, .35); }
.cta-dark::after { border-color: rgba(201, 160, 143, .35); }
.cta-band { padding: 64px 0; }

/* ---------- ติดต่อ ---------- */
.contact-sec { background: rgba(255, 253, 251, .7); }
.lead { background: var(--white); box-shadow: 0 1px 2px rgba(61, 44, 36, .04), 0 22px 44px -26px rgba(61, 44, 36, .4); outline: 1px solid rgba(201, 160, 143, .3); outline-offset: -8px; }

/* ---------- หัวหน้าย่อย ---------- */
.page-head { background: var(--cream) url(/img/deco/hero-wash.webp) center / cover no-repeat; border-bottom: 0; padding: 52px 0 44px; }
.page-head h1 { color: var(--cocoa); }

/* ---------- ท้ายเว็บ: ผ้าซาติน + ขอบหยัก ---------- */
.foot {
  position: relative; margin-top: 14px;
  background: linear-gradient(rgba(58, 41, 34, .93), rgba(58, 41, 34, .95)), url(/img/deco/satin-cocoa.webp) center / cover;
}
.foot::before {
  content: ''; position: absolute; left: 0; right: 0; top: -13px; height: 14px;
  background: radial-gradient(circle at 50% 100%, #3a2922 12.5px, transparent 13.5px) 0 0 / 26px 14px repeat-x;
}
.foot-brand img { box-shadow: 0 0 0 4px rgba(255, 255, 255, .08), 0 0 0 5px rgba(201, 160, 143, .5); }
