/* เนรมิตพวงหรีด · หน้าบ้าน ดราฟต์ v2 (09.11.26) · layout after Shopfront design G (still-life, lots of air), brand burgundy kept for actions.
   Thai rules (Owen): one Thai+Latin family per element (Noto Sans Thai), never letter-space or italicise Thai. v1 kept in ../_v1 noto (09.11.26)/ */
:root {
  --white: #ffffff; --greige: #f3f0eb; --sand: #ddd5c8; --ink: #48282e;   /* 12.11.26 Owen HARD RULE no near-black text on florist/wreath sites: deep wine-brown (was #241a1b) */ --mid: #7a706b; --line: #e6e0d7;
  --wine: #5a1f2e; --wine-d: #3d141f; --gold: #b0895a;
  --font: "Noto Sans Thai", system-ui, sans-serif;
  --pad: 20px; --max: 1320px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--white); color: var(--ink); font: 300 16px/1.75 var(--font); -webkit-font-smoothing: antialiased; padding-bottom: 70px; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { background: none; border: 0; padding: 0; cursor: pointer; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { font-family: var(--font); color: var(--ink); }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--pad); }
.ln { display: block; }
.lab { display: block; font-size: 13px; font-weight: 400; color: var(--mid); }
.h2 { font-weight: 200; font-size: 30px; line-height: 1.4; }
.lede { color: var(--mid); font-size: 15px; margin-top: 10px; }
.muted { color: var(--mid); }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 50px; padding: 0 32px; background: var(--wine); color: #fff; font-weight: 400; font-size: 15px; border: 1px solid var(--wine); transition: background .25s; cursor: pointer; }
.btn:hover { background: var(--wine-d); }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn--ghost:hover { background: var(--ink); color: #fff; }
.tlink { display: inline-block; font-weight: 400; font-size: 14.5px; border-bottom: 1px solid currentColor; padding-bottom: 1px; line-height: 1.5; }
.sec { padding: 68px 0; }
.sec--greige { background: var(--greige); }
.sec-head { text-align: center; margin-bottom: 34px; }
.sec-head .h2 { margin-top: 8px; }

/* placeholders: what the shop still has to give us */
span.ph { border-bottom: 1px dashed var(--gold); color: var(--mid); padding: 0 1px; }
span.ph::after { content: "รอข้อมูล"; font: 500 10.5px/1 var(--font); color: #fff; background: var(--gold); padding: 3px 7px 2px; margin-left: 6px; vertical-align: 2px; white-space: nowrap; }
.ph-box { border: 1px dashed var(--gold); padding: 18px 20px; color: var(--mid); background: rgba(255,255,255,.6); font-size: 15px; }
.ph-box b { color: var(--ink); font-weight: 500; }
.tag-sample { display: inline-block; background: rgba(255,255,255,.9); font: 400 11.5px/1.5 var(--font); color: var(--ink); padding: 2px 8px; }

/* announcement + header */
.announce .more { display: none; }
.announce { background: var(--wine-d); color: #efe6dc; text-align: center; font-size: 12.5px; line-height: 1.45; padding: 8px var(--pad); }
.hd { position: sticky; top: 0; z-index: 40; background: rgba(255,255,255,.96); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.hd .bar { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; height: 60px; }
.hd .left { display: flex; align-items: center; gap: 26px; }
.hd .right { display: flex; justify-content: flex-end; align-items: center; gap: 24px; }
.menu-btn { display: flex; align-items: center; gap: 10px; height: 44px; min-width: 44px; font-size: 14.5px; font-weight: 400; }
.menu-btn i { display: block; width: 20px; height: 9px; border-top: 1px solid var(--ink); border-bottom: 1px solid var(--ink); }
.menu-btn span, .nav-l, .nav-r, .line-link .th { display: none; }
.brand { display: flex; flex-direction: column; align-items: center; line-height: 1.2; text-align: center; }
.brand img { height: 46px; width: auto; display: block; } /* 10.11.26 Eye logo: 46/66 so "พวงหรีด" reads on a phone */
.brand b { font-weight: 400; font-size: 19px; color: var(--ink); }
.brand small { display: none; font-size: 11.5px; color: var(--mid); margin-top: 2px; }
.line-link { display: flex; align-items: center; gap: 7px; height: 44px; font-size: 14px; font-weight: 400; }
.line-link svg { width: 19px; height: 19px; }
.nav-l, .nav-r { gap: 26px; }
.nav-l a, .nav-r a { font-size: 14.5px; font-weight: 400; color: #3d3533; }
.nav-l a:hover, .nav-r a:hover, .nav-l a[aria-current], .nav-r a[aria-current] { color: var(--ink); text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 1px; }

/* drawer */
.drawer { position: fixed; inset: 0; z-index: 60; visibility: hidden; }
.drawer.open { visibility: visible; }
.drawer .shade { position: absolute; inset: 0; background: rgba(72,40,46,.3); opacity: 0; transition: opacity .3s; }
.drawer.open .shade { opacity: 1; }
.drawer .panel { position: absolute; top: 0; bottom: 0; left: 0; width: min(86vw, 380px); background: var(--white); padding: 18px 28px 32px; transform: translateX(-100%); transition: transform .35s cubic-bezier(.2,.7,.2,1); display: flex; flex-direction: column; }
.drawer.open .panel { transform: none; }
.drawer .ph-top { display: flex; justify-content: space-between; align-items: center; height: 44px; margin-bottom: 22px; }
.drawer .ph-top b { font-weight: 400; font-size: 18px; }
.x { width: 44px; height: 44px; display: grid; place-items: center; font-size: 24px; font-weight: 200; border: 0; background: none; cursor: pointer; }
.drawer nav a { display: block; padding: 15px 0; border-bottom: 1px solid var(--line); font-size: 19px; font-weight: 300; }
.drawer .foot { margin-top: auto; color: var(--mid); font-size: 14px; }
.drawer .foot .btn { width: 100%; margin-bottom: 14px; }

/* hero: the wall carries the words, the wreath stands below */
/* mobile: words on a light wall, the whole wreath stands small at the bottom (same feel as desktop) */
.hero { position: relative; overflow: hidden; text-align: center; isolation: isolate; background: #c9bfb1; min-height: max(500px, calc(100svh - 92px - 70px)); }
.hero .sub, .hero .note { display: none; }
.hero-txt { position: relative; z-index: 3; padding: 44px var(--pad) 0; }
.hero h1 { font-weight: 200; font-size: 34px; line-height: 1.35; margin: 0 0 24px; }
.hero .sub { color: var(--ink); font-size: 15.5px; margin: 0 0 24px; }
.hero .lab { color: var(--ink); }
.hero-pic { position: absolute; inset: 0; margin: 0; z-index: 1; }
/* phone: the portrait photo is sized by the hero's HEIGHT (not width), so on any phone the wreath stays small with empty wall under the button;
   its sides fade into the photo's own edge columns, stretched and blurred (same trick as desktop) */
.hero-pic img { position: absolute; left: 50%; top: 0; height: 100%; width: auto; max-width: none; transform: translateX(-50%); z-index: 1;
  -webkit-mask-image: linear-gradient(to right, transparent 0, #000 12%, #000 88%, transparent 100%); mask-image: linear-gradient(to right, transparent 0, #000 12%, #000 88%, transparent 100%); }
@media (max-width: 899px) {
  .hero-pic::before, .hero-pic::after { content: ""; position: absolute; top: 0; bottom: 0; width: calc(50% + 20px); background-image: url(/media/hero-port-a.jpg); background-size: 9000% 100%; background-repeat: no-repeat; filter: blur(10px); }
  .hero-pic::before { left: -20px; background-position: 0 0; }
  .hero-pic::after { right: -20px; background-position: 100% 0; }
  .hero-txt { padding-top: 36px; }
}
.hero .note { position: absolute; z-index: 3; left: var(--pad); right: var(--pad); bottom: 16px; font-size: 12px; color: var(--ink); }

/* product grid with tabs */
.tabs { display: flex; justify-content: flex-start; gap: 2px; margin: 0 auto 30px; border-bottom: 1px solid var(--line); max-width: 640px; overflow-x: auto; overflow-y: hidden; scrollbar-width: none; }
.tabs::-webkit-scrollbar { display: none; }
.tabs .chip { position: relative; flex: none; padding: 10px 12px 12px; font-size: 15px; font-weight: 300; color: var(--mid); white-space: nowrap; border: 0; background: none; min-height: 44px; }
.tabs .chip sup { font-size: 11px; margin-left: 2px; vertical-align: 4px; }
.tabs .chip::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: -1px; height: 1px; background: var(--ink); transform: scaleX(0); transition: transform .3s; }
.tabs .chip[aria-pressed="true"] { color: var(--ink); font-weight: 400; background: none; }
.tabs .chip[aria-pressed="true"]::after { transform: none; }
.grid { display: grid; grid-template-columns: 1fr 1fr; gap: 34px 14px; }
.card { display: flex; flex-direction: column; cursor: pointer; animation: fade .45s ease both; }
@keyframes fade { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.card__ph { position: relative; display: block; background: var(--greige); overflow: hidden; }
.card__ph img { width: 100%; aspect-ratio: 4 / 5; object-fit: contain; mix-blend-mode: multiply; transition: transform .8s cubic-bezier(.2,.7,.2,1); }
.card:hover .card__ph img { transform: scale(1.035); }
.card__ph .tag-sample { position: absolute; z-index: 2; top: 10px; left: 10px; }
.card__cat { font-size: 12px; color: var(--mid); margin-top: 13px; }
.card h3 { font-size: 16px; font-weight: 400; line-height: 1.5; margin-top: 2px; }
.card p { font-size: 13.5px; color: var(--mid); line-height: 1.55; margin: 3px 0 12px; }
.card__foot { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; margin-top: auto; padding-top: 10px; border-top: 1px solid var(--line); }
.card .price { font-size: 15px; font-weight: 400; }
.card .price small { font-size: 12.5px; color: var(--mid); font-weight: 300; }
.card__go { font-size: 13.5px; font-weight: 400; border-bottom: 1px solid var(--ink); line-height: 1.4; padding: 4px 0 1px; white-space: nowrap; }
.grid-foot { text-align: center; margin-top: 44px; color: var(--mid); font-size: 15px; }
.grid-foot .tlink { color: var(--ink); margin-left: 6px; }
.count { text-align: center; color: var(--mid); font-size: 13.5px; margin: -14px 0 26px; }
.empty { text-align: center; padding: 40px 0; color: var(--mid); }

/* category squares (greige band) */
.cats { display: grid; grid-template-columns: 1fr 1fr; gap: 26px 14px; }
.cat { display: block; }
.cat .pic { overflow: hidden; background: var(--sand); }
.cat img { width: 100%; aspect-ratio: 1 / 1; object-fit: contain; mix-blend-mode: multiply; transition: transform .8s cubic-bezier(.2,.7,.2,1); }
.cat:hover img { transform: scale(1.035); }
.cat b { display: block; font-weight: 400; font-size: 16px; line-height: 1.5; margin-top: 12px; }
.cat span { display: block; font-size: 13.5px; color: var(--mid); }
.cat:last-child:nth-child(odd) { grid-column: 1 / -1; justify-self: center; width: calc(50% - 7px); }

/* about split */
.about { display: grid; gap: 34px; }
.about .pic img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; background: var(--greige); }
.about .pic figcaption { font-size: 12px; color: var(--mid); margin-top: 8px; }
.about .txt .h2 { margin: 8px 0 18px; }
.about .txt p { color: #3f3735; font-size: 16px; }
.about .txt p + p { margin-top: 12px; }
.facts { list-style: none; padding: 0; margin: 28px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); }
.facts li { padding: 14px 10px 0 0; font-size: 13.5px; color: var(--mid); line-height: 1.5; }
.facts span { display: block; }
.facts b { display: block; font-weight: 300; font-size: 19px; color: var(--ink); margin-bottom: 2px; }

/* numbered "what we take care of" */
.svc { list-style: none; margin: 0; padding: 0; display: grid; }
.svc li { border-top: 1px solid var(--line); padding: 22px 0 24px; }
.svc li:last-child { border-bottom: 1px solid var(--line); }
.svc .n { font-size: 12.5px; color: var(--mid); }
.svc h3 { font-weight: 300; font-size: 22px; line-height: 1.45; margin: 4px 0 6px; }
.svc p { color: var(--mid); font-size: 15px; }

/* how to order */
.steps { list-style: none; margin: 0; padding: 0; display: grid; }
.steps li { display: grid; grid-template-columns: 54px 1fr; align-items: baseline; padding: 20px 0; border-top: 1px solid var(--sand); }
.steps li:last-child { border-bottom: 1px solid var(--sand); }
.steps .n { font-size: 30px; font-weight: 200; line-height: 1; color: var(--ink); }
.steps h3 { font-weight: 400; font-size: 18px; line-height: 1.5; }
.steps p { color: var(--mid); font-size: 15px; margin-top: 3px; }
.cta { text-align: center; margin-top: 34px; }
.cta small { display: block; margin-top: 12px; color: var(--mid); font-size: 13.5px; }

/* delivery + info rows */
.deliv { display: grid; gap: 26px; }
.deliv .txt p { color: #3f3735; margin-top: 14px; }
.rates { list-style: none; margin: 0; padding: 0; }
.rates li { display: flex; justify-content: space-between; align-items: baseline; gap: 14px; padding: 13px 0; border-bottom: 1px solid var(--line); font-size: 15.5px; }
.rates li:first-child { border-top: 1px solid var(--ink); }
.rates li > span:last-child { text-align: right; }
.rates-note { font-size: 13.5px; color: var(--mid); margin-top: 12px; }

/* sash (name ribbon) preview */
.rb { display: grid; gap: 20px; align-items: center; }
.rb .f { margin-bottom: 16px; }
label { display: block; font-weight: 400; font-size: 15px; margin: 0 0 6px; }
label i { font-style: normal; color: var(--wine); }
.rb .chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 12px; }
.chip { border: 1px solid var(--line); background: var(--white); padding: 7px 14px; font-size: 14px; min-height: 40px; cursor: pointer; }
.chip[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
input.in, select.in, textarea.in { width: 100%; min-height: 48px; border: 1px solid #d6cdc1; border-radius: 0; background: #fff; padding: 10px 14px; font-size: 16px; font-weight: 300; }
input[type=date].in { -webkit-appearance: none; appearance: none; display: block; text-align: left; line-height: 26px; }
input[type=date].in::-webkit-date-and-time-value { text-align: left; }
.in:focus { outline: 1px solid var(--ink); outline-offset: 0; border-color: var(--ink); }
.sash-wrap { padding-bottom: 30px; }
.sash { position: relative; margin: 0 auto; max-width: 420px; padding: 36px 26px; text-align: center; background: var(--white); border: 1px solid var(--sand); }
.sash::before { content: ""; position: absolute; inset: 7px; border: 1px solid var(--line); pointer-events: none; }
.sash .l1 { font-weight: 300; font-size: clamp(23px, 3vw, 30px); line-height: 1.45; color: var(--ink); word-break: break-word; }
.sash .l2 { margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--sand); font-weight: 400; font-size: 17px; line-height: 1.5; word-break: break-word; }
.sash .note { position: absolute; left: 0; right: 0; bottom: -30px; font-size: 12.5px; color: var(--mid); }

/* inner page head */
.page-head { padding: 52px 0 34px; text-align: center; }
.page-head h1 { font-weight: 200; font-size: 34px; line-height: 1.35; margin-top: 8px; }
.page-head p { color: var(--mid); max-width: 34em; margin: 10px auto 0; font-size: 15px; }

/* faq */
.faq { max-width: 760px; margin: 0 auto; }
.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-child { border-top: 1px solid var(--ink); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 16px; padding: 18px 0; font-size: 17px; font-weight: 400; line-height: 1.5; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-weight: 200; font-size: 22px; line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin: 0 0 18px; color: var(--mid); font-size: 15.5px; }

/* product sheet */
.sheet { position: fixed; inset: 0; z-index: 70; display: none; }
.sheet.open { display: block; }
.sheet__bg { position: absolute; inset: 0; background: rgba(72,40,46,.45); }
.sheet__box { position: absolute; right: 0; top: 0; bottom: 0; width: min(560px, 100%); background: var(--white); overflow-y: auto; -webkit-overflow-scrolling: touch; }
.sheet__bar { position: sticky; top: 0; z-index: 2; display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 8px var(--pad); background: rgba(255,255,255,.97); border-bottom: 1px solid var(--line); }
.sheet__bar b { font-weight: 400; font-size: 15.5px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.sheet .gal { display: flex; overflow-x: auto; overflow-y: hidden; scroll-snap-type: x mandatory; scrollbar-width: none; background: var(--greige); }
.sheet .gal::-webkit-scrollbar { display: none; }
.sheet .gal img { flex: 0 0 100%; aspect-ratio: 4 / 5; object-fit: contain; mix-blend-mode: multiply; scroll-snap-align: start; }
.sheet__in { padding: 22px var(--pad) 34px; }
.sheet__in h2 { font-weight: 300; font-size: 26px; line-height: 1.4; }
.sheet__in .price { font-size: 19px; font-weight: 400; margin: 6px 0 2px; }
.sheet__in .desc { white-space: pre-line; color: var(--mid); font-size: 15px; margin: 12px 0 0; }
.form { margin-top: 26px; border-top: 1px solid var(--ink); padding-top: 22px; }
.form h3 { font-weight: 400; font-size: 19px; margin-bottom: 4px; }
.form > p { margin: 0 0 18px; font-size: 14.5px; color: var(--mid); }
.form .f { margin-bottom: 14px; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (max-width: 420px) { .row2 { grid-template-columns: 1fr; gap: 0; } }
.err { color: #a3263a; font-size: 14px; margin: 4px 0 0; }
.send { position: sticky; bottom: 0; padding: 12px 0 calc(12px + env(safe-area-inset-bottom)); background: linear-gradient(180deg, rgba(255,255,255,0), #fff 26%); }
.send .btn { width: 100%; }

/* modal */
.modal { position: fixed; inset: 0; z-index: 80; display: none; align-items: center; justify-content: center; padding: var(--pad); background: rgba(72,40,46,.5); }
.modal.open { display: flex; }
.modal__box { background: var(--white); width: min(460px, 100%); max-height: 88vh; overflow-y: auto; padding: 26px 22px; }
.modal__box h3 { font-weight: 400; font-size: 20px; margin-bottom: 8px; }
.modal__box pre { white-space: pre-wrap; font: 300 14px/1.65 var(--font); background: var(--greige); padding: 12px 14px; margin: 14px 0 18px; }
.modal__box .btn { width: 100%; }

/* contact */
.contact { max-width: 720px; margin: 0 auto; }
.contact .rates li { font-size: 16px; }
.contact .acts { display: grid; gap: 10px; margin-top: 26px; }

/* footer */
footer.ft { background: var(--greige); padding: 56px 0 30px; border-top: 1px solid var(--line); }
.f-grid { display: grid; gap: 30px; }
.f-brand b { font-weight: 400; font-size: 21px; }
.f-brand .foot-lines { color: var(--mid); font-size: 15px; margin-top: 12px; }
.f-brand .foot-lines p { margin: 0 0 2px; }
.f-col h4 { margin: 0 0 8px; font-weight: 400; font-size: 13px; color: var(--mid); }
.f-col a, .f-col span.r { display: block; font-size: 15px; line-height: 2.1; }
.f-col a:hover { text-decoration: underline; text-underline-offset: 3px; }
.f-base { margin-top: 40px; padding-top: 18px; border-top: 1px solid var(--sand); color: var(--mid); font-size: 13px; }

/* mobile sticky order bar */
.mbar { position: fixed; z-index: 35; left: 0; right: 0; bottom: 0; padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); background: rgba(255,255,255,.95); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border-top: 1px solid var(--line); display: flex; }
.mbar .btn { width: 100%; min-height: 48px; }

/* ---------- tablet / desktop ---------- */
@media (min-width: 700px) {
  :root { --pad: 40px; }
  .grid { grid-template-columns: repeat(3, 1fr); gap: 46px 22px; }
  .cats { grid-template-columns: repeat(3, 1fr); gap: 22px; }
  .cat:last-child:nth-child(odd) { grid-column: auto; width: auto; }
  .svc { grid-template-columns: repeat(3, 1fr); gap: 34px; }
  .svc li, .svc li:last-child { border-bottom: 0; padding: 26px 0 0; }
  .rb { grid-template-columns: 1fr 1fr; gap: 56px; }
}
@media (min-width: 900px) {
  :root { --pad: 56px; }
  body { padding-bottom: 0; }
  .mbar { display: none; }
  .hd .bar { height: 78px; }
  .announce .more { display: inline; }
  .menu-btn { display: none; }
  .nav-l, .nav-r, .line-link .th { display: flex; }
  .brand small { display: block; }
  .brand b { font-size: 21px; }
  .line-link { border: 1px solid var(--ink); padding: 0 16px; height: 40px; }
  .line-link:hover { background: var(--ink); color: #fff; }
  .sec { padding: 112px 0; }
  .sec-head { margin-bottom: 46px; }
  .h2 { font-size: 40px; }
  .lede { font-size: 16px; }
  .hero { min-height: 0; background: #b3a99b; height: clamp(700px, calc(100vh - 106px), 900px); }
  .hero .sub { display: block; }
  .hero .note { display: block; }
  .brand img { height: 66px; }
  .hero-txt { position: absolute; left: 0; right: 0; top: 0; padding-top: 46px; }
  .hero h1 { font-size: 54px; margin: 18px 0 8px; }
  .hero .sub { font-size: 17px; margin-bottom: 26px; }
  /* the photo stands under the words; its sides and top fade into the same wall colour */
  .hero-pic { position: absolute; left: 0; right: 0; top: 250px; bottom: 0; margin: 0; }
  .hero-pic img { position: absolute; left: 50%; top: 0; right: auto; bottom: auto; height: 100%; width: auto; max-width: none; aspect-ratio: auto; object-fit: fill; transform: translateX(-50%);
    -webkit-mask-image: linear-gradient(to right, transparent 0, #000 14%, #000 86%, transparent 100%), linear-gradient(to bottom, transparent 0, #000 140px);
    -webkit-mask-composite: source-in;
    mask-image: linear-gradient(to right, transparent 0, #000 14%, #000 86%, transparent 100%), linear-gradient(to bottom, transparent 0, #000 140px);
    mask-composite: intersect; z-index: 1; }
  /* the wall runs on past the photo: its outer columns, stretched and blurred (same trick as design G) */
  .hero-pic::before, .hero-pic::after { content: ""; position: absolute; top: 0; bottom: 0; width: calc(50% + 30px); background-image: url(/media/hero-grand.jpg); background-size: 9000% 100%; background-repeat: no-repeat; filter: blur(12px);
    -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 140px); mask-image: linear-gradient(to bottom, transparent 0, #000 140px); }
  .hero-pic::before { left: -30px; background-position: 0 0;
    -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 140px), linear-gradient(to right, #000 55%, transparent 100%); -webkit-mask-composite: source-in;
    mask-image: linear-gradient(to bottom, transparent 0, #000 140px), linear-gradient(to right, #000 55%, transparent 100%); mask-composite: intersect; }
  .hero-pic::after { right: -30px; background-position: 100% 0;
    -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 140px), linear-gradient(to left, #000 55%, transparent 100%); -webkit-mask-composite: source-in;
    mask-image: linear-gradient(to bottom, transparent 0, #000 140px), linear-gradient(to left, #000 55%, transparent 100%); mask-composite: intersect; }
  .hero .note { bottom: 22px; text-align: right; }
  .grid { grid-template-columns: repeat(4, 1fr); gap: 56px 26px; }
  .tabs { margin-bottom: 44px; justify-content: center; }
  .tabs .chip { font-size: 16px; padding: 10px 20px 13px; }
  .tabs .chip::after { left: 20px; right: 20px; }
  .about { grid-template-columns: 6fr 1fr 5fr; align-items: center; gap: 0; }
  .about .pic { grid-column: 1; }
  .about .txt { grid-column: 3; max-width: 470px; }
  .about .txt p { font-size: 17px; }
  .steps { grid-template-columns: repeat(4, 1fr); gap: 40px; }
  .steps li, .steps li:last-child { display: block; border-bottom: 0; padding: 26px 0 0; }
  .steps .n { display: block; font-size: 44px; margin-bottom: 20px; }
  .cta { margin-top: 56px; }
  .deliv { grid-template-columns: 5fr 1fr 6fr; gap: 0; align-items: start; }
  .deliv .txt { grid-column: 1; }
  .deliv .table { grid-column: 3; }
  .page-head { padding: 84px 0 50px; }
  .page-head h1 { font-size: 46px; }
  .f-grid { grid-template-columns: 2fr 1fr 1.2fr; gap: 40px; }
  .contact .acts { grid-template-columns: 1fr 1fr; }
}
@media (prefers-reduced-motion: reduce) { * { animation: none !important; transition: none !important; } html { scroll-behavior: auto; } }

/* 11.11.26 Owen HARD RULE: anything that opens LINE is LINE green with the LINE logo */
.btn[data-shopline], .btn[data-line] { background: #06C755; border-color: #06C755; color: #fff; }
.btn[data-shopline]:hover, .btn[data-line]:hover { background: #05a648; border-color: #05a648; color: #fff; }
.line-link { background: #06C755; color: #fff; padding: 0 14px; height: 40px; gap: 8px; }
.line-link:hover { background: #05a648; }
.lnw { display: inline-block; flex: none; width: 22px; height: 20px; }
.tline { display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px; background: #06C755; color: #fff; font-size: 14px; }
.tline:hover { background: #05a648; }
.tline .lnw { width: 18px; height: 16px; }

/* 12.11.26 Owen: headings bold and wine (logo weight); the home hero keeps its thin ink style */
.page-head h1, .h2 { color: var(--wine); font-weight: 600; }
/* home hero h1 (Owen 12.11.26, option 4 made 30% lighter): deep wine, weight 270 = 300 - 30% of the step back to the old 200 */
.hero h1 { color: var(--wine-d); font-weight: 270; }
/* phone: the photo grows from the bottom so the wreath top sits 220px under the hero top (64px under the button) on every phone;
   hero height unchanged, so the next section never peeks in. Wreath stays whole. */
@media (max-width: 899px) {
  .hero-pic img, .hero-pic::before, .hero-pic::after { top: auto; bottom: 0; height: max(100%, calc((100% - 220px) * 1.838)); }
}
/* nav turns wine once the page scrolls (site.js adds .nav-wine), cream logo, white links */
.hd { transition: background-color .25s, border-color .25s; }
body.nav-wine .hd { background: var(--wine); border-bottom-color: var(--wine); }
body.nav-wine .nav-l a, body.nav-wine .nav-r a, body.nav-wine .menu-btn { color: #fff; }
body.nav-wine .menu-btn i { border-color: #fff; }
body.nav-wine .bag-btn { background: transparent; border-color: #fff; color: #fff; }
body.nav-wine .bag-btn span { background: #fff; color: var(--wine); }
/* catalogue page numbers */
.pager { display: flex; justify-content: center; flex-wrap: wrap; gap: 6px; margin: 30px 0 0; }
.pager[hidden] { display: none; }
.pager button { min-width: 36px; height: 36px; padding: 0 6px; border: 1px solid var(--line); background: #fff; color: var(--ink); font: 400 14.5px/1 var(--font); cursor: pointer; }
.pager button[aria-current] { background: var(--wine); border-color: var(--wine); color: #fff; }
@media (min-width: 700px) { .pager { gap: 8px; margin-top: 40px; } .pager button { min-width: 44px; height: 44px; font-size: 15px; } }

/* 12.11.26 Eye: Facebook next to LINE (FB blue + white f) */
.btn--fb, #fb-go { background: #1877F2 !important; border-color: #1877F2 !important; color: #fff !important; display: inline-flex; align-items: center; justify-content: center; gap: 8px; }
.btn--fb:hover, #fb-go:hover { background: #166fe5 !important; border-color: #166fe5 !important; }
.fbw { width: 19px; height: 19px; flex: none; }
#fb-go { display: flex; width: 100%; }
.cta-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.cta-row .btn { min-width: 220px; }
@media (max-width: 899px) { .mbar { display: flex; gap: 8px; } }
.mbar .btn { flex: 1; }
.mbar .mfb { flex: 0 0 48px; width: 48px; padding: 0; }
.mbar .mfb .fbw { width: 22px; height: 22px; }
.drawer .foot .btn[data-shopline] { margin-bottom: 8px; }
.drawer .foot .btn--fb { width: 100%; margin-bottom: 14px; }
.contact .acts .wide { grid-column: 1 / -1; }

/* ---------- KANTIMA master design (12.11.26 night) ---------- */
/* "Shop" wipes out to /shop/ (the Shop page wipes in with the same panels) */
.nr-wipe { position: fixed; inset: 0; z-index: 200; display: grid; grid-template-columns: repeat(5, 1fr); pointer-events: none; }
.nr-wipe i { background: var(--greige); border-right: 1px solid rgba(72,40,46,.08); transform: scaleY(0); transform-origin: top; transition: transform .38s cubic-bezier(.65,0,.35,1); }
.nr-wipe i:nth-child(2) { transition-delay: .04s; } .nr-wipe i:nth-child(3) { transition-delay: .08s; } .nr-wipe i:nth-child(4) { transition-delay: .12s; } .nr-wipe i:nth-child(5) { transition-delay: .16s; }
.nr-wipe.on i { transform: scaleY(1); }
.nr-wipe b { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); font: 600 clamp(40px, 6vw, 68px)/1 var(--font); color: var(--wine); opacity: 0; transition: opacity .25s .25s; }
.nr-wipe.on b { opacity: 1; }
@media (prefers-reduced-motion: reduce) { .nr-wipe { display: none; } }
/* home Best seller (only the items the shop marked ขายดี) */
.best-all { margin: 22px 0 0; text-align: center; }
.tabs[hidden] { display: none; }
/* 13.11.26 close-out: hero and about use Eye's own wreath photos (no AI), shown WHOLE (contain, never cropped, CLAUDE.md rule 14).
   Her photos have a black studio background, so each sits in a black frame on the greige wall, like a framed picture. */
.hero--real { display: flex; flex-direction: column; }
.hero--real .hero-txt { flex: none; }
.hero--real .hero-pic { position: relative; inset: auto; flex: 1; display: flex; align-items: center; justify-content: center; padding: 26px var(--pad) 30px; }
.hero--real .hero-pic::before, .hero--real .hero-pic::after { content: none; }
.hero--real .hero-pic img { position: static; transform: none; width: 100%; max-width: 440px; height: auto; max-height: none; aspect-ratio: 1036 / 976; object-fit: contain;
  background: #010101; border-radius: 6px; box-shadow: 0 18px 40px -18px rgba(72, 40, 46, .55); -webkit-mask-image: none; mask-image: none; }
@media (min-width: 900px) {
  .hero--real .hero-txt { position: relative; padding-top: 46px; }
  .hero--real .hero-pic { position: relative; top: auto; bottom: auto; padding: 8px var(--pad) 44px; min-height: 0; }
  .hero--real .hero-pic img { width: auto; height: 100%; max-height: 620px; max-width: 100%; }
}
.about .pic--real img { aspect-ratio: 781 / 1000; object-fit: contain; background: #020308; border-radius: 4px; }
/* 13.11.26 page editor: when the shop replaces the cover / about photo in "แก้หน้าเว็บ", the worker adds hero--own / pic--own.
   The shop's photo is shown WHOLE (contain, CLAUDE.md rule 14), no AI side fill, sized by its own proportions. */
.hero--own { display: flex; flex-direction: column; }
.hero--own .hero-txt { flex: none; }
.hero--own .hero-pic { position: relative; inset: auto; flex: 1; min-height: 0; display: flex; align-items: center; justify-content: center; padding: 22px var(--pad) 30px; }
.hero--own .hero-pic::before, .hero--own .hero-pic::after { content: none; }
.hero--own .hero-pic img { position: static; transform: none; width: auto; max-width: 100%; height: auto; max-height: min(58svh, 520px); object-fit: contain;
  border-radius: 6px; box-shadow: 0 18px 40px -18px rgba(72, 40, 46, .5); -webkit-mask-image: none; mask-image: none; }
@media (min-width: 900px) {
  .hero--own .hero-txt { position: relative; padding-top: 46px; }
  .hero--own .hero-pic { top: auto; bottom: auto; padding: 8px var(--pad) 44px; }
  .hero--own .hero-pic img { max-height: 100%; }
}
.about .pic--own img { aspect-ratio: auto; height: auto; object-fit: contain; background: transparent; }
/* 13.11.26 page editor: rows waiting for the shop's data (เวลาตอบแชท, ค่าส่ง, ชำระเงิน …) stay hidden until filled in แก้หน้าเว็บ */
[data-miss-host]:not(.is-filled) { display: none !important; }
.sec-head[hidden] { display: none !important; }
/* 13.11.26 Owen (row-alignment check): with only 2-3 categories the tiles sit centred instead of leaving an empty column on the right */
@media (min-width: 700px) { .cats { grid-template-columns: repeat(auto-fit, minmax(220px, 340px)); justify-content: center; } }
