/* KosetFlowers — Minimal luxury + Editorial
   ครีม #F7F1E8 · ชมพูอ่อน #E8B8C3 · ชมพูหม่นของลูกค้า #C89B9C (แถบบน/ส่วนพื้นสี/ท้ายเว็บ — รอบแก้ 1)
   ชมพูหม่นเข้ม #9A6467 (ปุ่ม/ตัวเน้น ตัวขาวอ่านออก) · น้ำตาลเข้ม #3B302E (ตัวหนังสือ)
   ฟอนต์ Anuphan ฟอนต์เดียวทั้งเว็บ · มือถือก่อน */

:root {
  --paper: #F7F1E8;
  --ink: #3B302E;
  --accent: #9A6467;
  --pink: #C89B9C;
  --pink-light: #D9B8B8;
  --rose: #B98587;
  --blush: #E8B8C3;
  --blush-soft: #F6E3E6;
  --blush-mist: #FBF0F0;
  --white: #FFFFFF;
  --muted: #6E5F5B;
  --line: #EADBD3;
  --leaf: #7FAE4E;
  --radius: 18px;
  --font: 'Anuphan', 'Noto Sans Thai', system-ui, sans-serif;
  --shadow-sm: 0 1px 2px rgba(59, 48, 46, .05), 0 4px 14px rgba(59, 48, 46, .06);
  --shadow-md: 0 2px 4px rgba(59, 48, 46, .05), 0 14px 34px rgba(154, 100, 103, .14);
  --ease: cubic-bezier(.22, .61, .36, 1);
  --wrap: 1200px;
  --gut: clamp(16px, 4vw, 32px);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0; font-family: var(--font); font-size: 17px; line-height: 1.7; color: var(--ink);
  background: var(--paper); -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img, video, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { margin: 0; line-height: 1.45; font-weight: 600; letter-spacing: -.005em; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
button { font: inherit; color: inherit; cursor: pointer; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gut); }
.skip { position: absolute; left: 8px; top: 8px; z-index: 100; background: var(--ink); color: var(--paper); padding: 8px 14px; border-radius: 8px; translate: 0 -300%; }
.skip:focus { translate: 0 0; }
svg { fill: none; stroke: currentColor; stroke-width: 1.6; }
.line-logo { stroke: none; width: 20px; height: 20px; flex: none; border-radius: 5px; }

/* ---------- ปุ่ม ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 12px 26px; border-radius: 999px; border: 1.5px solid var(--accent);
  background: var(--accent); color: var(--white); font-weight: 600; font-size: 16px; line-height: 1.45;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), background .2s;
  box-shadow: 0 6px 18px rgba(154, 100, 103, .22); white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(154, 100, 103, .3); background: #8A5659; }
.btn:active { transform: translateY(0) scale(.98); }
.btn svg:not(.line-logo) { width: 18px; height: 18px; }
.btn .line-logo { background: var(--white); border-radius: 6px; }
.btn-lg { min-height: 54px; padding: 14px 30px; font-size: 17px; }
.btn-sm { min-height: 44px; padding: 8px 18px; font-size: 15px; }
.btn-block { width: 100%; }
.btn-ghost { background: transparent; color: var(--accent); box-shadow: none; }
.btn-ghost:hover { background: var(--blush-mist); box-shadow: none; }
.btn-light { background: var(--paper); color: var(--accent); border-color: var(--paper); }
.btn-light:hover { background: var(--white); }

/* ---------- ลวดลายเล็ก ---------- */
.sprig {
  display: block; width: 92px; height: 18px; margin-bottom: 10px;
  background: center / contain no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 92 18' fill='none' stroke='%23B76E79' stroke-width='1.2' stroke-linecap='round'%3E%3Cpath d='M2 9h30M60 9h30'/%3E%3Cpath d='M46 15c-5-3-7-7-5-10 2-2 4-1 5 1 1-2 3-3 5-1 2 3 0 7-5 10z' fill='%23E8B8C3'/%3E%3Cpath d='M38 9c-2-3-1-5 2-5M54 9c2-3 1-5-2-5'/%3E%3C/svg%3E");
}
.sec-head.center .sprig, .cta-inner .sprig { margin-inline: auto; }
.sprig.light { filter: brightness(1.6) saturate(.6); }

/* ---------- แถบบน + หัวเว็บ ---------- */
.topbar { display: none; background: var(--pink); color: var(--ink); font-size: 14px; }
.topbar-in { display: flex; justify-content: space-between; align-items: center; min-height: 38px; gap: 20px; }
.topbar span, .topbar a { display: inline-flex; align-items: center; gap: 7px; }
.topbar svg { width: 15px; height: 15px; }
.topbar-r { display: flex; gap: 22px; }
.topbar a:hover { color: var(--white); }
.topbar-social { gap: 12px !important; }

/* ห้าม backdrop-filter / transform บนหัวเว็บ — เมนูมือถืออยู่นอกหัวเว็บอยู่แล้ว */
.nav { position: sticky; top: 0; z-index: 40; background: rgba(247, 241, 232, .97); border-bottom: 1px solid transparent; transition: box-shadow .25s, border-color .25s; }
.nav.scrolled { box-shadow: 0 6px 24px rgba(59, 48, 46, .07); border-color: var(--line); }
.nav-in { display: flex; align-items: center; gap: 18px; min-height: 68px; }
.logo { display: flex; align-items: center; gap: 10px; flex: none; }
.logo img { height: 44px; width: auto; mix-blend-mode: multiply; }
.logo-name { font-weight: 600; font-size: 17px; letter-spacing: .01em; }
.nav-links { display: none; }
.nav-act { margin-left: auto; display: flex; align-items: center; gap: 8px; }
@media (max-width: 419px) {
  .logo-name { display: none; }
}
.nav-cta { display: none; }
.lang { display: inline-flex; padding: 3px; border-radius: 999px; background: var(--white); border: 1px solid var(--line); font-size: 14px; font-weight: 600; }
.lang a { display: grid; place-items: center; min-height: 44px; min-width: 44px; padding: 0 10px; border-radius: 999px; color: var(--muted); }
.nav .lang { padding: 0; }
.lang a[aria-current] { background: var(--blush-soft); color: var(--accent); }
.menu-btn { width: 46px; height: 46px; border: 1px solid var(--line); border-radius: 50%; background: var(--white); display: grid; place-content: center; gap: 5px; padding: 0; }
.menu-btn span { display: block; width: 18px; height: 1.6px; background: var(--ink); border-radius: 2px; }

/* เมนูมือถือเต็มจอ */
.menu { position: fixed; inset: 0; z-index: 60; background: var(--paper); display: flex; flex-direction: column; padding: 14px var(--gut) calc(24px + env(safe-area-inset-bottom)); overflow-y: auto; }
.menu[hidden] { display: none; }
.menu::before { content: ''; position: absolute; inset: auto -20% -10% auto; width: 70vw; height: 70vw; border-radius: 50%; background: radial-gradient(circle, var(--blush-soft), transparent 70%); pointer-events: none; }
.menu-top { display: flex; justify-content: space-between; align-items: center; min-height: 56px; }
.menu-close { width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line); background: var(--white); display: grid; place-items: center; }
.menu-close svg { width: 20px; height: 20px; }
.menu-links { display: flex; flex-direction: column; margin: 18px 0 auto; position: relative; }
.menu-links a { padding: 13px 4px; font-size: 21px; font-weight: 500; border-bottom: 1px solid var(--line); display: flex; justify-content: space-between; }
.menu-links a[aria-current] { color: var(--accent); }
.menu-links a[aria-current]::after { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--blush); align-self: center; }
.menu-foot { display: grid; gap: 10px; margin-top: 24px; position: relative; }
.menu-foot .lang { justify-self: start; margin-bottom: 4px; }
body.nav-open { overflow: hidden; }

/* ---------- แบนเนอร์หน้าแรก ---------- */
.hero { position: relative; overflow: hidden; background: var(--blush-mist); }
.hero-track { display: flex; transition: transform .7s var(--ease); }
/* มือถือ: รูปบน (ไม่เกิน 56vh) ข้อความล่างบนพื้นครีม อ่านง่ายไม่ทับดอกไม้ · จอใหญ่: รูปเต็มจอ ข้อความทับฝั่งซ้าย */
.hero-slide { position: relative; flex: 0 0 100%; display: flex; flex-direction: column; background: var(--blush-mist); }
.hero-slide picture { display: block; height: min(56vh, 480px); overflow: hidden; }
.hero-slide picture img { width: 100%; height: 100%; object-fit: cover; object-position: center 35%; }
.hero-slide[data-i="1"] picture img { object-position: center 40%; }
.hero-slide[data-i="2"] picture img { object-position: center 30%; }
.hero-veil { display: none; }
.hero-body { position: relative; z-index: 1; padding-block: 22px 70px; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 600; letter-spacing: .04em; color: var(--accent); margin-bottom: 10px; }
.eyebrow::before { content: ''; width: 26px; height: 1.5px; background: var(--rose); }
.hero-title { font-size: clamp(32px, 8.4vw, 64px); line-height: 1.4; font-weight: 600; max-width: 13em; }
.tt-a { display: block; color: var(--accent); font-weight: 500; }
.tt-b { display: block; }
.hero-sub { margin-top: 14px; font-size: clamp(16px, 2vw, 19px); color: var(--muted); max-width: 32em; }
.hero-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; margin-top: 24px; }
.hero-phone { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font-weight: 600; color: var(--ink); }
.hero-phone svg { width: 18px; height: 18px; color: var(--accent); }
.hero-nav { position: absolute; z-index: 2; right: var(--gut); bottom: 18px; display: flex; align-items: center; gap: 10px; }
.hero-arrow { width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(154, 100, 103, .25); background: rgba(255, 255, 255, .85); display: none; place-items: center; transition: background .2s; }
.hero-arrow:hover { background: var(--white); }
.hero-arrow svg { width: 18px; height: 18px; stroke-width: 2; color: var(--accent); }
.hero-dots { display: flex; gap: 0; }
.hero-dots button { width: 44px; height: 44px; border: 0; padding: 0; background: none; display: grid; place-items: center; }
.hero-dots button::before { content: ''; width: 8px; height: 8px; border-radius: 999px; background: rgba(154, 100, 103, .35); transition: width .3s var(--ease), background .3s; }
.hero-dots button[aria-current="true"]::before { width: 22px; background: var(--accent); }

/* ---------- แถบจุดเด่น ---------- */
.trust { background: var(--white); border-bottom: 1px solid var(--line); }
.trust-intro { text-align: center; padding-top: 18px; color: var(--muted); }
.trust-row { list-style: none; margin: 0 auto; display: grid; grid-template-columns: repeat(2, 1fr); gap: 4px 12px; padding-block: 18px; }
.trust-row li { display: flex; align-items: center; gap: 10px; padding: 8px 0; }
.trust-icon { width: 40px; height: 40px; flex: none; border-radius: 50%; background: var(--blush-soft); color: var(--accent); display: grid; place-items: center; }
.trust-icon svg { width: 20px; height: 20px; }
.trust-row b { display: block; font-size: 14.5px; font-weight: 600; line-height: 1.4; }
.trust-row small { display: block; font-size: 14px; color: var(--muted); line-height: 1.4; }

/* ---------- ส่วนทั่วไป ---------- */
.sec { padding-block: clamp(56px, 9vw, 104px); position: relative; }
.sec-head { max-width: 640px; margin-bottom: clamp(28px, 4vw, 44px); }
.sec-head.center { text-align: center; margin-inline: auto; }
.sec-head h2 { font-size: clamp(27px, 4.4vw, 42px); color: var(--ink); }
.sec-head p { margin-top: 10px; color: var(--muted); font-size: 17px; }
.sec-head.light h2 { color: var(--ink); }
.sec-head.light p { color: var(--ink); }

/* ---------- หมวดสินค้า (ซุ้มโค้ง) ---------- */
.products-sec.is-home { background:
  radial-gradient(60% 50% at 0% 0%, rgba(232, 184, 195, .28), transparent 70%),
  radial-gradient(50% 40% at 100% 100%, rgba(232, 184, 195, .22), transparent 70%), var(--paper); }
.cats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px 10px; margin-bottom: clamp(48px, 7vw, 80px); }
.cat { display: flex; flex-direction: column; align-items: center; text-align: center; padding: 8px 8px 14px; border-radius: 160px 160px 20px 20px; background: var(--white); box-shadow: var(--shadow-sm); transition: transform .25s var(--ease), box-shadow .25s var(--ease); }
.cat:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.cat-arch { width: 100%; aspect-ratio: 4 / 5; border-radius: 160px 160px 14px 14px; overflow: hidden; background: var(--blush-soft); }
.cat-arch img { width: 100%; height: 100%; object-fit: cover; object-position: center 40%; transition: transform .6s var(--ease); }
.cat:hover .cat-arch img { transform: scale(1.04); }
.cat b { margin-top: 12px; font-size: 16px; font-weight: 600; line-height: 1.45; }
.cat small { margin-top: 2px; font-size: 14px; color: var(--muted); line-height: 1.45; }

.subhead { display: flex; align-items: center; gap: 16px; margin-bottom: 22px; }
.subhead h3 { font-size: clamp(21px, 3vw, 27px); flex: none; }
.subhead .rule { flex: 1; height: 1px; background: linear-gradient(90deg, var(--rose), transparent); opacity: .5; }

/* การ์ดสินค้า — รูปตามสัดส่วนจริง ไม่ครอป ไม่มีกรอบรอบรูป เรียงแบบ masonry */
.pgrid { --cols: 2; --gap: 10px; columns: var(--cols); column-gap: var(--gap); }
/* สคริปต์หน้าเว็บจัดการ์ดลงคอลัมน์ทีละชิ้นจากซ้ายไปขวา (ลำดับตามที่ลากเรียงในหลังบ้าน)
   สินค้าน้อยกว่าจำนวนคอลัมน์ → การ์ดขนาดเท่าเดิมจัดกึ่งกลาง ไม่ยืดเต็มจอ · ไม่มีสคริปต์ = ใช้ columns ด้านบน */
.pgrid.is-masonry { columns: auto; display: flex; justify-content: center; align-items: flex-start; gap: var(--gap); }
.pgrid.is-masonry > .pcol { flex: 0 0 calc((100% - (var(--cols) - 1) * var(--gap)) / var(--cols)); min-width: 0; display: flex; flex-direction: column; }
.pcard { break-inside: avoid; margin-bottom: 14px; display: flex; flex-direction: column; transition: transform .25s var(--ease); }
.pcard-pic { position: relative; border-radius: 16px; overflow: hidden; background: var(--blush-soft); }
.promo-tag { position: absolute; top: 10px; left: 10px; padding: 4px 10px; border-radius: 999px; background: var(--accent); color: #fff; font-size: 14px; font-weight: 600; line-height: 1.4; box-shadow: 0 4px 12px -6px rgba(59, 48, 46, .5); }
.price.is-promo s { margin-right: 2px; }
.pcard-pic img { width: 100%; height: 100%; object-fit: contain; transition: transform .6s var(--ease); }
.pcard:hover .pcard-pic img { transform: scale(1.03); }
.pcard-body { padding: 12px 4px 4px; display: flex; flex-direction: column; gap: 4px; }
.pcard-cat { font-size: 14px; font-weight: 600; color: var(--rose); letter-spacing: .02em; }
.pcard h3, .pcard h4, .pcard h2 { font-size: 16.5px; font-weight: 600; line-height: 1.4; }
.pcard p { font-size: 14.5px; color: var(--muted); line-height: 1.55; }
.pcard-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; margin-top: 6px; }
.price { font-weight: 700; color: var(--accent); font-size: 16px; }
.price s { color: var(--muted); font-weight: 400; font-size: 14px; }
.btn-mini { display: inline-flex; align-items: center; gap: 7px; min-height: 44px; padding: 6px 14px 6px 8px; border-radius: 999px; font-size: 14px; font-weight: 600; color: var(--accent); background: var(--blush-mist); border: 1px solid #EFCFD5; transition: background .2s, transform .2s var(--ease); }
.btn-mini:hover { background: var(--blush-soft); transform: translateY(-1px); }
.btn-mini .line-logo { width: 22px; height: 22px; }

.rows { display: grid; gap: 14px; }
.row-item { display: grid; grid-template-columns: 96px 1fr; gap: 14px; align-items: center; background: var(--white); border-radius: 16px; padding: 10px; }
.row-pic { border-radius: 12px; overflow: hidden; }
.row-cta { grid-column: 1 / -1; display: flex; justify-content: space-between; align-items: center; }

/* ---------- หัวหน้าหมวด (หน้ารอง) ---------- */
.pagehead { position: relative; overflow: hidden; background:
  radial-gradient(70% 90% at 100% 50%, rgba(232, 184, 195, .5), transparent 70%),
  radial-gradient(40% 60% at 0% 0%, rgba(247, 241, 232, 1), transparent), var(--blush-mist); }
.pagehead::after { content: ''; position: absolute; inset: auto 0 0; height: 1px; background: var(--line); }
.pagehead-grid { display: grid; gap: 8px; align-items: center; padding-block: 28px 36px; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: 14px; color: var(--muted); margin-bottom: 12px; }
.crumbs { align-items: center; }
.crumbs a { color: var(--accent); display: inline-flex; align-items: center; min-height: 44px; min-width: 44px; }
.pagehead h1 { font-size: clamp(32px, 6.2vw, 54px); line-height: 1.4; }
.pagehead-lead { margin-top: 12px; color: var(--muted); font-size: 17px; max-width: 34em; }
.pagehead .btn { margin-top: 22px; }
.pagehead-art { position: relative; order: -1; justify-self: center; width: min(62vw, 300px); aspect-ratio: 1; }
.arch-bg { position: absolute; inset: 6%; border-radius: 50%; background: var(--white); box-shadow: 0 20px 50px rgba(154, 100, 103, .16); }
.arch-bg::before { content: ''; position: absolute; inset: -14px; border-radius: 50%; border: 1px dashed rgba(183, 110, 121, .45); }
.pagehead-art picture, .pagehead-art img { position: relative; width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.pagehead-art.is-photo { aspect-ratio: 4 / 5; width: min(58vw, 260px); }
.pagehead-art.is-photo .arch-bg { inset: 0; border-radius: 999px 999px 24px 24px; }
.pagehead-art.is-photo .arch-bg::before { border-radius: 999px 999px 32px 32px; }
.pagehead-art.is-photo picture { display: block; border-radius: 999px 999px 24px 24px; overflow: hidden; }
.pagehead-art.is-photo img { object-fit: cover; object-position: center 30%; mix-blend-mode: normal; }
.pagehead-more { display: grid; gap: 16px; padding-bottom: 32px; }

/* ---------- เกี่ยวกับเรา ---------- */
.about-sec { background: var(--paper) url('/img/bg-petals.webp') center / cover no-repeat; }
.about { display: grid; gap: 34px; align-items: center; }
.about-pic { position: relative; margin: 0 auto; width: min(100%, 420px); }
.arch { border-radius: 999px 999px 24px 24px; overflow: hidden; box-shadow: var(--shadow-md); background: var(--blush-soft); }
.arch img { width: 100%; height: 100%; object-fit: cover; }
.about-badge { position: absolute; right: -6px; bottom: 26px; width: 78px; height: 78px; border-radius: 50%; background: var(--white) center / 46px no-repeat url('/favicon.svg'); box-shadow: var(--shadow-md); }
.about-text h2 { font-size: clamp(27px, 4.4vw, 42px); margin-bottom: 16px; }
.about-body { color: var(--muted); font-size: 17.5px; display: grid; gap: 14px; }
.about-text .btn { margin-top: 26px; }

/* ---------- ขั้นตอน ---------- */
.steps-sec { background: linear-gradient(180deg, var(--blush-soft), var(--blush-mist)); overflow: hidden; }
.steps-sec::before, .steps-sec::after { content: ''; position: absolute; width: 320px; height: 320px; border-radius: 50%; background: radial-gradient(circle, rgba(232, 184, 195, .55), transparent 70%); pointer-events: none; }
.steps-sec::before { left: -120px; top: -120px; }
.steps-sec::after { right: -140px; bottom: -160px; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; position: relative; }
.step { position: relative; display: grid; grid-template-columns: 56px 1fr; grid-template-rows: auto auto; column-gap: 16px; align-items: center; background: rgba(255, 255, 255, .78); border-radius: 20px; padding: 18px; box-shadow: var(--shadow-sm); }
.step-no { position: absolute; right: 18px; top: 12px; font-size: 30px; font-weight: 300; color: var(--blush); line-height: 1; letter-spacing: .02em; }
.step-icon { grid-row: span 2; width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; background: var(--white); border: 1px solid #F0D3D9; color: var(--accent); }
.step-icon svg { width: 26px; height: 26px; }
.step h3 { font-size: 17px; font-weight: 600; padding-right: 40px; }
.step p { font-size: 15px; color: var(--muted); line-height: 1.55; }

/* ---------- บรรยากาศร้าน + คลิป ---------- */
.gallery-sec { background: linear-gradient(180deg, var(--pink-light), var(--pink)); color: var(--ink); overflow: hidden; }
.gallery-sec::before { content: ''; position: absolute; inset: 0; background: radial-gradient(50% 40% at 0% 0%, rgba(255, 255, 255, .28), transparent 70%), radial-gradient(45% 35% at 100% 100%, rgba(255, 255, 255, .18), transparent 70%); pointer-events: none; }
.gallery-sec .wrap { position: relative; }
.gal-wrap { display: grid; gap: 12px; }
.gal-video { margin: 0; }
.vid { border-radius: 20px; overflow: hidden; background: #2A2120; box-shadow: 0 20px 50px rgba(59, 48, 46, .22); }
.vid video { width: 100%; height: 100%; object-fit: contain; }
.gal-video figcaption, .gal-item figcaption { margin-top: 8px; font-size: 14.5px; color: var(--ink); line-height: 1.5; }
.gal-video figcaption b, .gal-item figcaption b { display: block; color: var(--ink); font-weight: 600; font-size: 15.5px; }
.gal { columns: 2; column-gap: 10px; }
.gal-item { break-inside: avoid; margin: 0 0 12px; }
.gal-item a { display: block; border-radius: 16px; overflow: hidden; }
.gal-item img { width: 100%; height: 100%; object-fit: contain; transition: transform .6s var(--ease); }
.gal-item a:hover img { transform: scale(1.04); }

/* ---------- รีวิว ---------- */
.quotes-sec { background: var(--white); }
.quotes { display: grid; gap: 14px; }
.quote { margin: 0; position: relative; padding: 26px 22px 22px; border-radius: 22px; background: var(--blush-mist); display: flex; flex-direction: column; gap: 16px; }
.quote-mark { width: 34px; height: 34px; fill: var(--blush); stroke: none; }
.quote blockquote { margin: 0; font-size: 17px; line-height: 1.7; }
.quote figcaption { display: flex; align-items: center; gap: 12px; margin-top: auto; }
.quote figcaption img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; }
.quote-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--rose); }
.quote b { display: block; font-size: 15.5px; font-weight: 600; }
.quote small { display: block; font-size: 14px; color: var(--muted); }

/* ---------- คำถามที่พบบ่อย ---------- */
.faq-sec { background: var(--paper); }
.faq-grid { display: grid; gap: 8px; }
.faq-side .sec-head { margin-bottom: 18px; }
.faq-side .btn { margin-bottom: 18px; }
.faq { display: grid; gap: 10px; }
.faq details { background: var(--white); border-radius: 16px; border: 1px solid var(--line); transition: border-color .2s, box-shadow .2s; }
.faq details[open] { border-color: #EFCFD5; box-shadow: var(--shadow-sm); }
.faq summary { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 14px; padding: 16px 18px; font-weight: 600; font-size: 16.5px; cursor: pointer; min-height: 56px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary i { position: relative; width: 28px; height: 28px; flex: none; border-radius: 50%; background: var(--blush-soft); }
.faq summary i::before, .faq summary i::after { content: ''; position: absolute; left: 50%; top: 50%; width: 11px; height: 1.6px; background: var(--accent); translate: -50% -50%; transition: rotate .25s var(--ease); }
.faq summary i::after { rotate: 90deg; }
.faq details[open] summary i::after { rotate: 0deg; }
.faq-a { padding: 0 18px 18px; color: var(--muted); font-size: 16px; }
.prose { max-width: 720px; margin-inline: auto; display: grid; gap: 14px; }
.prose.wide { max-width: none; }
.prose h2 { font-size: clamp(25px, 4vw, 36px); }
.prose p { color: var(--muted); }

/* ---------- แถบชวนสั่ง ---------- */
.cta-band { position: relative; padding-block: clamp(64px, 9vw, 104px); text-align: center; overflow: hidden; }
.cta-dark { background: var(--pink); color: var(--ink); }
.cta-dark::before { content: ''; position: absolute; inset: 0; background: radial-gradient(55% 90% at 100% 50%, rgba(255, 255, 255, .3), transparent 70%), radial-gradient(40% 70% at 0% 100%, rgba(232, 184, 195, .45), transparent 70%); }
.cta-dark .sprig.light { filter: brightness(.7); }
.cta-soft { background: radial-gradient(60% 80% at 50% 0%, var(--blush-soft), transparent 70%), var(--blush-mist); }
.cta-inner { position: relative; display: grid; justify-items: center; gap: 22px; }
.cta-band h2 { font-size: clamp(26px, 4.6vw, 42px); max-width: 18em; line-height: 1.45; }
.cta-btns { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.cta-btns .btn-map svg { width: 20px; height: 20px; }
.cta-soft .btn-map { background: var(--white); }
.cta-dark .btn-map { color: var(--ink); border-color: var(--ink); }
.cta-dark .btn-map:hover { background: rgba(255, 255, 255, .35); }

/* ---------- ติดต่อ ---------- */
.contact-sec { background: var(--blush-mist); }
.contact { display: grid; gap: 16px; }
.contact-card, .lead, .map-box { background: var(--white); border-radius: 22px; padding: 22px; box-shadow: var(--shadow-sm); }
.contact-note { color: var(--muted); margin-bottom: 14px; }
.contact-list { list-style: none; margin: 0 0 18px; padding: 0; display: grid; gap: 14px; }
.contact-list li { display: grid; grid-template-columns: 42px 1fr; gap: 12px; align-items: center; }
.contact-list small { display: block; font-size: 14px; color: var(--muted); line-height: 1.45; }
.contact-list a, .contact-list span span { font-weight: 600; font-size: 16px; word-break: break-word; line-height: 1.5; }
.contact-list a { display: inline-flex; align-items: center; min-height: 44px; margin-block: -12px; }
.contact-list span span { font-weight: 500; }
.ci { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: var(--blush-soft); color: var(--accent); }
.ci svg { width: 20px; height: 20px; }
.ci-line { background: none; }
.ci-line .line-logo { width: 38px; height: 38px; border-radius: 10px; }
.social { display: flex; align-items: center; gap: 8px; margin-top: 18px; }
.social small { font-size: 14px; color: var(--muted); margin-right: 6px; }
.social a { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--blush-mist); color: var(--accent); transition: background .2s; }
.social a:hover { background: var(--blush-soft); }
.social svg { width: 20px; height: 20px; }
.hours-box { margin-top: 20px; padding-top: 18px; border-top: 1px dashed var(--line); }
.hours-box h3 { display: flex; align-items: center; gap: 8px; font-size: 16px; margin-bottom: 8px; }
.hours-box h3 svg { width: 18px; height: 18px; color: var(--accent); }
.hours { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.hours li { display: flex; justify-content: space-between; gap: 12px; font-size: 15.5px; }
.closed { color: var(--accent); }
.contact-side { display: grid; gap: 16px; align-content: start; }
.lead { display: grid; gap: 14px; }
.lead h3 { font-size: 20px; }
.f-row { display: grid; gap: 14px; }
.lead label { display: block; font-size: 14.5px; font-weight: 600; margin-bottom: 6px; }
.lead input, .lead textarea { width: 100%; font: inherit; font-size: 16px; padding: 12px 14px; border-radius: 12px; border: 1px solid var(--line); background: var(--paper); color: var(--ink); transition: border-color .2s, box-shadow .2s; }
.lead input:focus, .lead textarea:focus { outline: none; border-color: var(--rose); box-shadow: 0 0 0 3px rgba(232, 184, 195, .45); background: var(--white); }
.lead textarea { resize: vertical; min-height: 110px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.msg { font-size: 15px; min-height: 1.2em; }
.msg.ok { color: #2F7A47; }
.msg.bad { color: #B03A3A; }
.map-box { padding: 8px; }
.map { width: 100%; height: 280px; border: 0; border-radius: 16px; display: block; }
.map-link { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 4px 10px; font-weight: 600; color: var(--accent); font-size: 15px; }
.map-link svg { width: 18px; height: 18px; }

/* ---------- ท้ายเว็บ ---------- */
.foot { background: var(--pink); color: var(--ink); padding: 56px 0 calc(96px + env(safe-area-inset-bottom)); font-size: 15px; }
.foot-grid { display: grid; gap: 32px; }
.foot-logo { display: inline-block; background: var(--paper); border-radius: 16px; padding: 8px 14px; margin-bottom: 12px; }
.foot-logo img { height: 46px; width: auto; mix-blend-mode: multiply; }
.foot-name { display: block; color: var(--ink); font-size: 18px; font-weight: 600; }
.foot-brand p { margin-top: 6px; color: var(--ink); max-width: 26em; }
.foot .social a { background: rgba(255, 255, 255, .45); color: var(--accent); }
.foot .social a:hover { background: var(--white); }
.foot-nav, .foot-contact { display: grid; gap: 0; align-content: start; }
.foot-nav a { display: flex; align-items: center; min-height: 44px; }
.foot-contact a, .foot-contact span { min-height: 44px; padding-block: 10px; }
.foot-nav b, .foot-contact b { color: var(--ink); font-size: 16px; margin-bottom: 4px; }
.foot-nav a:hover, .foot-contact a:hover { color: var(--white); }
.foot-contact a, .foot-contact span { display: flex; gap: 10px; align-items: flex-start; line-height: 1.55; }
.foot-contact svg { width: 18px; height: 18px; flex: none; margin-top: 3px; color: var(--ink); }
.foot-copy { display: block; margin-top: 40px; padding-top: 20px; border-top: 1px solid rgba(59, 48, 46, .18); color: var(--ink); font-size: 14px; }

/* ปุ่มลอยมือถือ: ไลน์ + โทร */
.float-contact { position: fixed; z-index: 30; left: 0; right: 0; bottom: 0; display: grid; grid-template-columns: 1.4fr 1fr; gap: 8px; padding: 8px 10px calc(8px + env(safe-area-inset-bottom)); background: rgba(247, 241, 232, .96); border-top: 1px solid var(--line); }
.float-contact a { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; max-height: 52px; border-radius: 999px; font-weight: 600; font-size: 15.5px; }
.fc-line { background: #06C755; color: var(--white); }
.fc-line .line-logo { width: 24px; height: 24px; }
.fc-line .line-logo rect { fill: #fff; }
.fc-line .line-logo path { fill: #06C755; }
.fc-call { background: var(--white); color: var(--accent); border: 1.5px solid var(--accent); }
.fc-call svg { width: 18px; height: 18px; }
body.nav-open .float-contact { display: none; }

/* ดูรูปขนาดเต็ม */
dialog.light { border: 0; padding: 0; background: transparent; max-width: 94vw; max-height: 92vh; }
dialog.light::backdrop { background: rgba(31, 24, 23, .86); }
dialog.light img { max-width: 94vw; max-height: 88vh; width: auto; border-radius: 12px; }
dialog.light button { position: fixed; top: 14px; right: 14px; width: 46px; height: 46px; border-radius: 50%; border: 0; background: var(--paper); font-size: 26px; line-height: 1; }

/* บทความ (ใช้เมื่อเปิดของเสริมบทความ) */
.a-wrap { max-width: 760px; }
.a-wrap h1 { font-size: clamp(28px, 5vw, 42px); margin-bottom: 8px; }
.a-meta { color: var(--muted); font-size: 14px; }
.a-body { display: grid; gap: 14px; margin-top: 20px; }

/* ---------- ค่อยๆ ปรากฏ (เล่นครั้งเดียว) ---------- */
.js-reveal .reveal { opacity: 0; translate: 0 20px; transition: opacity .55s var(--ease), translate .55s var(--ease); transition-delay: calc(var(--d, 0) * 70ms); }
.js-reveal .reveal.in { opacity: 1; translate: 0 0; }

/* ===================== จอใหญ่ขึ้น ===================== */
@media (min-width: 480px) {
  .pgrid { --gap: 14px; }
  .gal { column-gap: 14px; }
  .f-row { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 720px) {
  .topbar { display: block; }
  .nav-cta { display: inline-flex; }
  .hero-slide { min-height: min(78vh, 680px); flex-direction: row; align-items: center; }
  .hero-slide picture { position: absolute; inset: 0; height: auto; }
  .hero-slide picture img { object-position: 72% center; }
  .hero-veil { display: block; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(247, 241, 232, .96) 0%, rgba(247, 241, 232, .86) 34%, rgba(247, 241, 232, .25) 58%, rgba(247, 241, 232, 0) 72%); }
  .hero-body { padding-block: 72px 96px; }
  .hero-slide.is-portrait { background:
    radial-gradient(60% 80% at 0% 100%, rgba(232, 184, 195, .45), transparent 70%), var(--blush-mist); }
  .hero-slide.is-portrait picture { left: 56%; border-radius: 0 0 0 220px; overflow: hidden; }
  .hero-slide.is-portrait .hero-veil { display: none; }
  .hero-slide.is-portrait .hero-body > * { max-width: 50%; }
  .hero-arrow { display: grid; }
  .trust-row { grid-template-columns: repeat(var(--cols, 4), 1fr); }
  .trust-row li + li { border-left: 1px solid var(--line); padding-left: 16px; }
  .cats { grid-template-columns: repeat(3, 1fr); gap: 18px; }
  .pgrid { --cols: 3; }
  .gal { columns: 3; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .quotes { grid-template-columns: repeat(3, 1fr); }
  .pagehead-grid { grid-template-columns: 1.2fr .8fr; gap: 40px; padding-block: 48px; }
  .pagehead-art { order: 0; width: min(100%, 340px); }
  .pagehead-more { grid-template-columns: repeat(2, 1fr); }
  .about { grid-template-columns: 1fr 1.1fr; gap: 64px; }
  .about.pic-right .about-pic { order: 2; }
  .foot-grid { grid-template-columns: 1.3fr 1fr 1.3fr; }
  .contact { grid-template-columns: .9fr 1.1fr; gap: 20px; align-items: start; }
  .faq-grid { grid-template-columns: .8fr 1.2fr; gap: 48px; align-items: start; }
  .faq-side { position: sticky; top: 100px; }
}
@media (min-width: 1024px) {
  body { font-size: 17.5px; }
  .float-contact { display: none; }
  .foot { padding-bottom: 40px; }
  .cats { grid-template-columns: repeat(5, 1fr); }
  .pgrid { --cols: 4; --gap: 20px; }
  .pcard { margin-bottom: 24px; }
  .steps { grid-template-columns: repeat(var(--cols, 4), 1fr); gap: 18px; }
  .step { grid-template-columns: 1fr; grid-template-rows: auto; text-align: left; padding: 24px 22px; gap: 8px; }
  .step-icon { grid-row: auto; margin-bottom: 8px; }
  .step:not(:last-child)::after { content: ''; position: absolute; right: -14px; top: 50%; width: 10px; height: 10px; border-top: 1.5px solid var(--rose); border-right: 1.5px solid var(--rose); rotate: 45deg; translate: 0 -50%; opacity: .7; }
  .gal-wrap.has-video { grid-template-columns: 1.15fr 1fr; gap: 20px; align-items: start; }
  .gal-wrap.has-video .gal { columns: 2; }
  .gal-wrap.has-video .gal-video { position: sticky; top: 100px; }
  .menu-btn { display: none; }
  .nav-links { display: flex; gap: 2px; margin-left: 18px; }
  .nav-links a { position: relative; padding: 8px 9px; font-size: 15px; font-weight: 500; white-space: nowrap; border-radius: 8px; transition: color .2s; }
  .nav-links a:hover { color: var(--accent); }
  .nav-links a[aria-current]::after { content: ''; position: absolute; left: 9px; right: 9px; bottom: 2px; height: 2px; border-radius: 2px; background: var(--blush); }
  .nav-links a[aria-current] { color: var(--accent); }
}
@media (min-width: 1024px) and (max-width: 1439px) {
  .logo-name { display: none; }
  .nav-links { margin-left: 10px; }
}
@media (min-width: 1024px) and (max-width: 1239px) {
  .logo-name { display: none; }
  .nav-links a { padding: 8px 6px; font-size: 14.5px; }
  .nav-cta span { display: none; }
  .nav-cta { padding: 8px 12px; }
}
/* เมนูภาษาอังกฤษยาวกว่าไทย — ย่อปุ่มสั่งเหลือแต่โลโก้ไลน์จนกว่าจอจะกว้างพอ */
@media (min-width: 1024px) and (max-width: 1599px) {
  html[lang="en"] .logo-name, html[lang="en"] .nav-cta span { display: none; }
  html[lang="en"] .nav-cta { padding: 8px 12px; }
  html[lang="en"] .nav-links a { padding: 8px 6px; font-size: 14.5px; }
}
@media (min-width: 1240px) {
  :root { --wrap: 1240px; }
  .nav-links { margin-inline: auto; }
  .nav-act { margin-left: 0; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; scroll-behavior: auto !important; }
}
