/* Maison Nour — v3 store. Fashion-editorial: white, ink, one sand accent. Bodoni Moda + Jost. */
:root {
  --bg: #ffffff; --surface: #f5f3ef; --ink: #141414; --muted: #6f6b66; --line: #e6e2dc; --accent: #b89b7a;
  --font-display: "Bodoni Moda", "Didot", Georgia, serif; --font-body: "Jost", "Helvetica Neue", Arial, sans-serif;
  --hdr: 64px; --wrap: 1280px; --gutter: clamp(16px, 4vw, 56px);
}
* { box-sizing: border-box; margin: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--font-body); font-weight: 300; background: var(--bg); color: var(--ink); line-height: 1.55; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
h1, h2, h3 { font-family: var(--font-display); font-weight: 400; line-height: 1.08; letter-spacing: -.005em; }
.wrap { width: min(var(--wrap), 100% - 2 * var(--gutter)); margin-inline: auto; }
.lbl { font-size: .68rem; letter-spacing: .22em; text-transform: uppercase; font-weight: 500; }
.lbl--accent { color: var(--accent); }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 15px 28px; font-size: .74rem; letter-spacing: .2em; text-transform: uppercase; font-weight: 500; border: 1px solid var(--ink); background: var(--ink); color: #fff; transition: background .2s, color .2s; }
.btn:hover { background: #fff; color: var(--ink); }
.btn--ghost { background: transparent; color: var(--ink); }
.btn--ghost:hover { background: var(--ink); color: #fff; }
.btn--wide { width: 100%; }
.ulink { border-bottom: 1px solid var(--ink); padding-bottom: 2px; font-size: .74rem; letter-spacing: .18em; text-transform: uppercase; font-weight: 500; }

/* banner */
.site-banner { background: var(--ink); color: #d9d4cc; text-align: center; padding: .55rem 1rem; font-size: .76rem; letter-spacing: .02em; }
.site-banner a { color: #fff; border-bottom: 1px solid rgba(255,255,255,.4); }

/* header */
.hdr { position: sticky; top: 0; z-index: 60; background: rgba(255,255,255,.94); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.hdr__in { height: var(--hdr); display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; }
.hdr__nav { display: flex; gap: 30px; }
.hdr__nav a, .hdr__bag, .hdr__menu { font-size: .72rem; letter-spacing: .2em; text-transform: uppercase; font-weight: 500; }
.hdr__nav a { position: relative; padding: 4px 0; }
.hdr__nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 1px; background: var(--ink); transform: scaleX(0); transition: transform .3s; transform-origin: left; }
.hdr__nav a:hover::after, .hdr__nav a.is-current::after { transform: scaleX(1); }
.hdr__logo { font-family: var(--font-display); font-size: 1.55rem; letter-spacing: .04em; text-align: center; white-space: nowrap; }
.hdr__right { display: flex; justify-content: flex-end; align-items: center; gap: 22px; }
.hdr__bag b { font-weight: 500; margin-left: 4px; }
.hdr__bag b::before { content: "("; } .hdr__bag b::after { content: ")"; }
.hdr__menu { display: none; }
.mnav { display: none; position: fixed; inset: var(--hdr) 0 0; background: #fff; z-index: 55; padding: 30px var(--gutter); flex-direction: column; gap: 22px; }
.mnav a { font-family: var(--font-display); font-size: 1.9rem; }
.mnav.on { display: flex; }
@media (max-width: 860px) { .hdr__nav { display: none; } .hdr__menu { display: inline-block; } .hdr__logo { font-size: 1.35rem; } .hdr__right { gap: 12px; } }

/* home */
.hero { position: relative; height: min(88vh, 820px); min-height: 520px; overflow: hidden; background: var(--surface); }
.hero img { width: 100%; height: 100%; object-fit: cover; }
.hero__txt { position: absolute; left: var(--gutter); right: var(--gutter); bottom: clamp(32px, 6vw, 72px); color: #fff; }
.hero__txt .lbl { margin-bottom: 14px; opacity: .9; }
.hero__txt h1 { font-size: clamp(2.6rem, 7vw, 6.2rem); max-width: 12ch; text-shadow: 0 2px 30px rgba(0,0,0,.25); }
.hero__txt .btn { margin-top: 26px; background: #fff; color: var(--ink); border-color: #fff; }
.hero__txt .btn:hover { background: transparent; color: #fff; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,0) 40%, rgba(0,0,0,.45)); pointer-events: none; }
.hero__txt { z-index: 1; }
.sec { padding-block: clamp(56px, 8vw, 110px); }
.sec__head { display: flex; align-items: baseline; justify-content: space-between; gap: 20px; margin-bottom: clamp(22px, 3vw, 40px); }
.sec__head h2 { font-size: clamp(1.8rem, 3.4vw, 2.8rem); }
.row { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(14px, 2vw, 28px); }
@media (max-width: 900px) { .row { grid-template-columns: repeat(2, 1fr); } }
.story { display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(28px, 5vw, 90px); align-items: center; background: var(--surface); padding: clamp(28px, 4vw, 64px); }
.story img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.story h2 { font-size: clamp(1.9rem, 3.4vw, 3rem); margin: 12px 0 18px; }
.story p { color: var(--muted); max-width: 44ch; font-size: 1.02rem; }
.story .ulink { display: inline-block; margin-top: 26px; }
@media (max-width: 800px) { .story { grid-template-columns: 1fr; } }
.tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(10px, 1.5vw, 20px); }
.tile { position: relative; display: block; aspect-ratio: 3 / 4; overflow: hidden; background: var(--surface); }
.tile img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s ease; }
.tile:hover img { transform: scale(1.04); }
.tile span { position: absolute; left: 18px; bottom: 16px; color: #fff; font-family: var(--font-display); font-size: 1.5rem; text-shadow: 0 1px 18px rgba(0,0,0,.4); }
@media (max-width: 800px) { .tiles { grid-template-columns: repeat(2, 1fr); } }
.promise { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); display: grid; grid-template-columns: repeat(3, 1fr); }
.promise div { padding: 28px clamp(16px, 2.5vw, 36px); border-left: 1px solid var(--line); }
.promise div:first-child { border-left: 0; }
.promise b { display: block; font-weight: 500; margin-bottom: 4px; }
.promise span { color: var(--muted); font-size: .92rem; }
@media (max-width: 800px) { .promise { grid-template-columns: 1fr; } .promise div { border-left: 0; border-top: 1px solid var(--line); } .promise div:first-child { border-top: 0; } }

/* product card */
.card { display: block; }
.card__img { position: relative; aspect-ratio: 3 / 4; overflow: hidden; background: var(--surface); }
.card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s ease, opacity .3s; }
.card:hover .card__img img { transform: scale(1.03); }
.card__tag { position: absolute; top: 12px; left: 12px; font-size: .62rem; letter-spacing: .2em; text-transform: uppercase; font-weight: 500; background: #fff; padding: 5px 8px; }
.card__tag--out { background: var(--ink); color: #fff; }
.card.is-out .card__img img { opacity: .55; }
.card__meta { padding: 12px 0 0; display: flex; justify-content: space-between; gap: 12px; align-items: baseline; }
.card__name { font-size: .96rem; font-weight: 400; }
.card__price { font-size: .92rem; font-weight: 400; white-space: nowrap; }
.card__cat { display: block; font-size: .66rem; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); margin-top: 2px; }

/* shop */
.shop { display: grid; grid-template-columns: 220px 1fr; gap: clamp(28px, 4vw, 64px); padding-block: clamp(28px, 4vw, 56px) clamp(56px, 8vw, 110px); }
.shop__head { grid-column: 1 / -1; display: flex; align-items: end; justify-content: space-between; gap: 20px; border-bottom: 1px solid var(--line); padding-bottom: 18px; }
.shop__head h1 { font-size: clamp(2.2rem, 4vw, 3.4rem); }
.shop__head p { color: var(--muted); }
.shop__count { color: var(--muted); font-size: .84rem; }
.side { position: sticky; top: calc(var(--hdr) + 24px); align-self: start; }
.side h4 { font-size: .68rem; letter-spacing: .22em; text-transform: uppercase; font-weight: 500; margin: 0 0 12px; }
.side ul { list-style: none; padding: 0; margin: 0 0 30px; }
.side li a { display: flex; justify-content: space-between; padding: 7px 0; font-size: .96rem; color: var(--muted); }
.side li a.is-active, .side li a:hover { color: var(--ink); }
.side li a span { font-size: .78rem; }
.side select, .tools select { font: inherit; font-size: .9rem; padding: 8px 10px; border: 1px solid var(--line); background: #fff; width: 100%; }
.tools { display: none; gap: 10px; align-items: center; margin-bottom: 16px; }
.chips { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; flex: 1; }
.chips::-webkit-scrollbar { display: none; }
.chips a { flex: none; font-size: .7rem; letter-spacing: .16em; text-transform: uppercase; padding: 9px 13px; border: 1px solid var(--line); }
.chips a.is-active { background: var(--ink); color: #fff; border-color: var(--ink); }
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(18px, 2.5vw, 36px) clamp(12px, 2vw, 24px); }
.grid__empty { grid-column: 1 / -1; color: var(--muted); padding: 40px 0; }
@media (max-width: 900px) { .shop { grid-template-columns: 1fr; } .side { display: none; } .tools { display: flex; } .tools select { width: auto; } .grid { grid-template-columns: repeat(2, 1fr); } }

/* product */
.crumb { padding: 18px 0 0; font-size: .7rem; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.crumb a:hover { color: var(--ink); }
.pdp { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(28px, 5vw, 90px); padding-block: 22px clamp(56px, 8vw, 110px); }
.pdp__img { aspect-ratio: 3 / 4; background: var(--surface); overflow: hidden; }
.pdp__img img { width: 100%; height: 100%; object-fit: cover; }
.pdp__info { position: sticky; top: calc(var(--hdr) + 24px); align-self: start; }
.pdp__info h1 { font-size: clamp(2rem, 3.6vw, 3.1rem); margin: 6px 0 10px; }
.pdp__price { font-size: 1.25rem; margin-bottom: 20px; }
.pdp__desc { color: var(--muted); max-width: 48ch; margin-bottom: 26px; font-size: 1.02rem; }
.sizes { margin-bottom: 22px; }
.sizes .lbl { display: flex; justify-content: space-between; margin-bottom: 10px; color: var(--muted); }
.sizes__opts { display: flex; flex-wrap: wrap; gap: 8px; }
.sizes__opts button { min-width: 48px; padding: 11px 14px; border: 1px solid var(--line); font-size: .86rem; font-weight: 400; }
.sizes__opts button.is-on { border-color: var(--ink); background: var(--ink); color: #fff; }
.pdp__actions { display: grid; gap: 10px; margin-bottom: 26px; }
.pdp__soldout { padding: 14px; border: 1px solid var(--line); text-align: center; font-size: .74rem; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.acc { border-top: 1px solid var(--line); }
.acc details { border-bottom: 1px solid var(--line); }
.acc summary { list-style: none; cursor: pointer; padding: 15px 0; font-size: .72rem; letter-spacing: .2em; text-transform: uppercase; font-weight: 500; display: flex; justify-content: space-between; }
.acc summary::-webkit-details-marker { display: none; }
.acc summary::after { content: "+"; font-weight: 300; }
.acc details[open] summary::after { content: "–"; }
.acc .acc__b { padding: 0 0 16px; color: var(--muted); font-size: .94rem; }
.acc ul { margin: 0; padding-left: 18px; }
.related h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); margin-bottom: 26px; }
@media (max-width: 800px) { .pdp { grid-template-columns: 1fr; } .pdp__info { position: static; } }

/* about + visit */
.page { padding-block: clamp(40px, 6vw, 90px) clamp(56px, 8vw, 110px); }
.about__intro { max-width: 900px; margin-bottom: clamp(30px, 5vw, 70px); }
.about__intro h1 { font-size: clamp(2.6rem, 6vw, 5.4rem); margin-top: 12px; }
.about__row { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 90px); align-items: center; margin-bottom: clamp(28px, 4vw, 56px); }
.about__row p { color: var(--muted); font-size: 1.06rem; margin-bottom: 18px; max-width: 48ch; }
.about__row img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.about__row .btn { margin-top: 8px; }
.about__wide { width: 100%; aspect-ratio: 21 / 9; object-fit: cover; margin-bottom: clamp(28px, 4vw, 56px); }
@media (max-width: 800px) { .about__row { grid-template-columns: 1fr; } .about__row--rev img { order: 2; } .about__wide { aspect-ratio: 4 / 3; } }
.visit { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 90px); align-items: center; }
.visit h1 { font-size: clamp(2.4rem, 5vw, 4.4rem); margin: 12px 0 14px; }
.visit__rows { display: grid; gap: 16px; margin: 26px 0; }
.visit__rows b { display: block; font-size: .66rem; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); font-weight: 500; margin-bottom: 2px; }
.visit img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.visit .btns { display: flex; gap: 10px; flex-wrap: wrap; }
.policies { margin-top: clamp(40px, 6vw, 80px); display: grid; grid-template-columns: 1fr 1fr; gap: 24px; border-top: 1px solid var(--line); padding-top: 30px; }
.policies h3 { font-family: var(--font-body); font-size: .7rem; letter-spacing: .2em; text-transform: uppercase; font-weight: 500; margin-bottom: 8px; }
.policies p { color: var(--muted); max-width: 46ch; }
@media (max-width: 800px) { .visit, .policies { grid-template-columns: 1fr; } }

/* footer */
.ftr { border-top: 1px solid var(--line); margin-top: 20px; padding: clamp(36px, 5vw, 64px) 0 28px; }
.ftr__cols { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 28px; }
.ftr h4 { font-size: .66rem; letter-spacing: .22em; text-transform: uppercase; font-weight: 500; margin-bottom: 12px; }
.ftr ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 7px; font-size: .92rem; color: var(--muted); }
.ftr ul a:hover { color: var(--ink); }
.ftr__brand { font-family: var(--font-display); font-size: 1.5rem; margin-bottom: 8px; }
.ftr__tag { color: var(--muted); max-width: 30ch; font-size: .92rem; }
.ftr__bot { margin-top: 36px; padding-top: 18px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-size: .76rem; color: var(--muted); }
.ftr__bot a { color: var(--ink); }
@media (max-width: 800px) { .ftr__cols { grid-template-columns: 1fr 1fr; } }

/* bag drawer */
.bag-veil { position: fixed; inset: 0; background: rgba(20,20,20,.35); z-index: 80; opacity: 0; pointer-events: none; transition: opacity .3s; }
.bag { position: fixed; top: 0; right: 0; bottom: 0; width: min(440px, 100%); background: #fff; z-index: 81; transform: translateX(100%); transition: transform .35s cubic-bezier(.2,.8,.2,1); display: flex; flex-direction: column; }
body.bag-open .bag { transform: none; } body.bag-open .bag-veil { opacity: 1; pointer-events: auto; }
.bag__head { display: flex; justify-content: space-between; align-items: center; padding: 20px 24px; border-bottom: 1px solid var(--line); }
.bag__head h3 { font-size: 1.4rem; }
.bag__head button { font-size: 1.4rem; }
.bag__list { flex: 1; overflow: auto; padding: 8px 24px; }
.bag__item { display: grid; grid-template-columns: 72px 1fr auto; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--line); align-items: center; }
.bag__item img { width: 72px; aspect-ratio: 3 / 4; object-fit: cover; background: var(--surface); }
.bag__item b { font-weight: 400; display: block; }
.bag__item small { color: var(--muted); display: block; }
.bag__qty { display: inline-flex; align-items: center; border: 1px solid var(--line); margin-top: 8px; }
.bag__qty button { width: 28px; height: 28px; }
.bag__qty span { width: 28px; text-align: center; font-size: .9rem; }
.bag__rm { font-size: .68rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-left: 12px; }
.bag__empty { color: var(--muted); padding: 40px 0; text-align: center; }
.bag__foot { padding: 18px 24px 24px; border-top: 1px solid var(--line); }
.bag__tot { display: flex; justify-content: space-between; margin-bottom: 14px; font-size: 1.05rem; }
.bag__note { font-size: .78rem; color: var(--muted); margin-top: 10px; text-align: center; }
.toast { position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 20px); background: var(--ink); color: #fff; padding: 12px 18px; font-size: .84rem; z-index: 90; opacity: 0; transition: opacity .3s, transform .3s; pointer-events: none; }
.toast.on { opacity: 1; transform: translate(-50%, 0); }

/* WhatsApp demo sheet + demo pills */
.wa-demo { position: fixed; inset: 0; z-index: 200; background: rgba(0,0,0,.45); display: grid; place-items: end center; padding: 16px; opacity: 0; transition: opacity .25s; }
.wa-demo.on { opacity: 1; }
.wa-demo__card { width: min(440px, 100%); background: #efe7dd; border-radius: 18px; padding: 14px; transform: translateY(20px); transition: transform .3s cubic-bezier(.2,.8,.2,1); font-family: -apple-system, "Segoe UI", Roboto, sans-serif; color: #111; font-weight: 400; }
.wa-demo.on .wa-demo__card { transform: none; }
.wa-demo__head { display: flex; align-items: center; gap: 8px; background: #075e54; color: #fff; margin: -14px -14px 12px; padding: 12px 14px; border-radius: 18px 18px 0 0; font-size: .95rem; }
.wa-demo__dot { width: 28px; height: 28px; border-radius: 50%; background: #25d366; flex: none; }
.wa-demo__tag { margin-left: auto; font-size: .66rem; letter-spacing: .1em; text-transform: uppercase; background: rgba(255,255,255,.2); padding: 3px 7px; border-radius: 4px; }
.wa-demo__head button { color: #fff; font-size: 1.4rem; line-height: 1; margin-left: 4px; }
.wa-demo__note { font-size: .8rem; color: #555; margin: 0 0 10px; }
.wa-demo__bubble { background: #dcf8c6; border-radius: 10px 0 10px 10px; padding: 10px 12px; margin-left: 40px; font-size: .92rem; white-space: pre-line; box-shadow: 0 1px 1px rgba(0,0,0,.1); }
.wa-demo__bubble i { display: block; font-style: normal; font-size: .66rem; color: #777; text-align: right; margin-top: 4px; }
.wa-demo__foot { font-size: .72rem; color: #777; margin: 12px 0 0; text-align: center; }
.demo-pills { position: fixed; left: 14px; bottom: 14px; z-index: 70; display: flex; flex-direction: column; gap: 8px; align-items: flex-start; }
.demo-pill { display: inline-flex; align-items: center; gap: 6px; font-size: .74rem; letter-spacing: .12em; text-transform: uppercase; font-weight: 500; padding: 11px 16px; border: 1px solid var(--ink); background: #fff; color: var(--ink); box-shadow: 0 10px 30px rgba(0,0,0,.12); }
.demo-pill--edit { background: var(--ink); color: #fff; }
.demo-pill--reset { font-size: .66rem; }
.is-preview .demo-pills, .is-preview .site-banner { display: none !important; }
