/* ============================================================
   LUMIREVA v2 – Editorial fashion storefront
   Ivory / ink / rose-gold · Cormorant + Inter + Cairo/Amiri
   ============================================================ */
:root {
  --bg: #f6f1ea;
  --bg-2: #efe7dc;
  --panel: #fdfbf7;
  --ink: #17120f;
  --ink-2: #3c332d;
  --muted: #8d7f74;
  --line: #e2d8cb;
  --accent: #b76e79;
  --accent-2: #9a525e;
  --gold: #c2a46b;
  --wa: #25d366;
  --r: 4px;
  --r-lg: 14px;
  --shadow: 0 18px 50px rgba(23, 18, 15, .10);
  --serif: 'Cormorant Garamond', 'Amiri', Georgia, serif;
  --sans: 'Inter', 'Cairo', sans-serif;
  --ease: cubic-bezier(.22, 1, .36, 1);
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body { font-family: var(--sans); background: var(--bg); color: var(--ink); overflow-x: hidden; font-size: 16px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
[dir="rtl"] body { font-family: 'Cairo', var(--sans); }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; }
.container { width: min(1280px, 92%); margin: 0 auto; }
h1, h2, h3 { font-family: var(--serif); font-weight: 500; color: var(--ink); line-height: 1.05; }
[dir="rtl"] h1, [dir="rtl"] h2, [dir="rtl"] h3 { font-family: 'Amiri', 'Cairo', serif; }
.center { text-align: center; margin-top: 2.6rem; }

/* film grain */
.grain { position: fixed; inset: -50%; width: 200%; height: 200%; pointer-events: none; z-index: 9999; opacity: .05; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='120' height='120' filter='url(%23n)' opacity='0.6'/%3E%3C/svg%3E"); animation: grain 7s steps(10) infinite; }
@keyframes grain { 0%,100%{transform:translate(0,0)} 20%{transform:translate(-3%,2%)} 40%{transform:translate(2%,-3%)} 60%{transform:translate(-2%,-2%)} 80%{transform:translate(3%,3%)} }

/* custom cursor (desktop) */
.cursor { position: fixed; top: 0; left: 0; width: 10px; height: 10px; border-radius: 50%; background: var(--accent); pointer-events: none; z-index: 9998; transform: translate(-50%, -50%); transition: width .25s, height .25s, opacity .25s, background .25s; opacity: 0; mix-blend-mode: multiply; }
.cursor.on { opacity: .85; }
.cursor.grow { width: 52px; height: 52px; background: rgba(183, 110, 121, .25); }
@media (hover: none), (max-width: 900px) { .cursor { display: none; } }

/* preloader */
.preloader { position: fixed; inset: 0; z-index: 10000; background: var(--bg); display: grid; place-items: center; transition: opacity .6s var(--ease), visibility .6s; }
.preloader.done { opacity: 0; visibility: hidden; }
.pre-inner { display: flex; flex-direction: column; align-items: center; gap: 1.1rem; }
.pre-inner img { height: 84px; width: auto; border-radius: 10px; animation: preFloat 1.6s ease-in-out infinite; }
@keyframes preFloat { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-8px)} }
.pre-bar { width: 150px; height: 2px; background: var(--line); overflow: hidden; border-radius: 2px; }
.pre-bar i { display: block; height: 100%; width: 40%; background: var(--accent); animation: preBar 1.1s var(--ease) infinite; }
@keyframes preBar { 0%{transform:translateX(-120%)} 100%{transform:translateX(320%)} }
[dir="rtl"] .pre-bar i { animation-name: preBarR; }
@keyframes preBarR { 0%{transform:translateX(120%)} 100%{transform:translateX(-320%)} }

/* ---------- top bar + header ---------- */
.top-bar { background: var(--ink); color: #efe6da; font-size: .76rem; letter-spacing: .4px; padding: .5rem 0; position: relative; z-index: 60; }
.top-bar-in { text-align: center; }
.site-header { position: sticky; top: 0; z-index: 90; background: rgba(246, 241, 234, .82); backdrop-filter: blur(16px); border-bottom: 1px solid var(--line); transition: transform .45s var(--ease), box-shadow .3s; }
.site-header.hidden { transform: translateY(-110%); }
.site-header.scrolled { box-shadow: 0 8px 30px rgba(23,18,15,.07); }
.header-in { display: flex; align-items: center; gap: 2rem; padding: .7rem 0; }
.logo img { height: 54px; width: auto; border-radius: 8px; }
.main-nav { display: flex; gap: 1.9rem; margin-inline-start: auto; }
.main-nav a { font-size: .8rem; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; position: relative; padding: .35rem 0; color: var(--ink-2); }
.main-nav a::after { content: ''; position: absolute; inset-inline-start: 0; bottom: 0; width: 100%; height: 1px; background: var(--ink); transform: scaleX(0); transform-origin: var(--to, left); transition: transform .4s var(--ease); }
[dir="rtl"] .main-nav a::after { --to: right; }
.main-nav a:hover::after { transform: scaleX(1); }
.header-actions { display: flex; align-items: center; gap: 1rem; }
.burger { display: none; background: none; border: 0; cursor: pointer; flex-direction: column; gap: 6px; padding: 6px 2px; z-index: 99; }
.burger span { width: 26px; height: 1.6px; background: var(--ink); transition: transform .35s var(--ease); }
.burger.open span:first-child { transform: translateY(4px) rotate(45deg); }
.burger.open span:last-child { transform: translateY(-3.6px) rotate(-45deg); }

.lang-switch { position: relative; }
.lang-btn { background: none; border: 1px solid var(--line); border-radius: 50px; padding: .45rem .95rem; font-weight: 600; font-size: .75rem; letter-spacing: .1em; cursor: pointer; color: var(--ink); transition: all .3s; }
.lang-btn:hover { border-color: var(--ink); }
.lang-menu { position: absolute; top: 120%; inset-inline-end: 0; background: var(--panel); border: 1px solid var(--line); border-radius: var(--r-lg); padding: .4rem; display: none; min-width: 150px; z-index: 99; box-shadow: var(--shadow); }
.lang-menu.open { display: block; }
.lang-menu a { display: block; padding: .55rem .85rem; border-radius: 8px; font-size: .86rem; }
.lang-menu a:hover, .lang-menu a.active { background: var(--bg-2); color: var(--accent-2); }
.cart-btn { position: relative; display: grid; place-items: center; width: 42px; height: 42px; border: 1px solid var(--line); border-radius: 50%; color: var(--ink); transition: all .3s; background: none; }
.cart-btn:hover { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.cart-count { position: absolute; top: -5px; inset-inline-end: -5px; background: var(--accent); color: #fff; font-size: .64rem; font-weight: 700; min-width: 18px; height: 18px; border-radius: 50%; display: grid; place-items: center; }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .55rem; padding: .95rem 2.1rem; border-radius: 50px; font-weight: 500; font-size: .83rem; letter-spacing: .12em; text-transform: uppercase; border: 1px solid transparent; cursor: pointer; transition: all .4s var(--ease); position: relative; overflow: hidden; }
.btn-primary { background: var(--ink); color: var(--bg); }
.btn-primary:hover { background: var(--accent-2); transform: translateY(-2px); box-shadow: 0 14px 30px rgba(154, 82, 94, .3); }
.btn-ghost { background: none; color: var(--ink); border-color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: var(--bg); transform: translateY(-2px); }
.btn-wa { background: var(--wa); color: #fff; }
.btn-wa:hover { transform: translateY(-2px); box-shadow: 0 12px 26px rgba(37, 211, 102, .35); }
.btn-sm { padding: .6rem 1.3rem; font-size: .72rem; }
.btn-big { width: 100%; padding: 1.1rem; font-size: .9rem; }
.btn[disabled] { opacity: .45; pointer-events: none; }
.pulse { animation: pulse 2.4s infinite; }
@keyframes pulse { 0%,100% { box-shadow: 0 0 0 0 rgba(23,18,15,.25); } 50% { box-shadow: 0 0 0 10px rgba(23,18,15,0); } }

/* ---------- hero ---------- */
.hero { position: relative; min-height: calc(100svh - 110px); display: flex; align-items: center; overflow: hidden; }
#hero3d { position: absolute; inset: 0; z-index: 1; }
.hero::before { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse at 70% 30%, rgba(183,110,121,.14), transparent 55%), radial-gradient(ellipse at 20% 80%, rgba(194,164,107,.12), transparent 50%); z-index: 0; }
.hero-in { position: relative; z-index: 2; width: 100%; padding: 4.5rem 0 5.5rem; }
.hero-kicker { display: inline-flex; align-items: center; gap: .6rem; font-size: .74rem; letter-spacing: .22em; text-transform: uppercase; color: var(--accent-2); margin-bottom: 1.6rem; }
.hero-kicker::before { content: ''; width: 34px; height: 1px; background: var(--accent-2); }
.hero-title { font-size: clamp(3.2rem, 11vw, 9rem); line-height: .92; letter-spacing: -.01em; }
.hero-title .l2 { display: block; font-style: italic; font-weight: 400; color: var(--accent-2); padding-inline-start: .8em; }
.hero-title .word { display: inline-block; overflow: hidden; vertical-align: top; }
.hero-title .word > span { display: inline-block; transform: translateY(110%); }
.hero-sub { max-width: 420px; color: var(--muted); font-size: 1.02rem; margin: 2rem 0 2.4rem; }
.hero-btns { display: flex; gap: 1rem; flex-wrap: wrap; }
.hero-img-card { position: absolute; z-index: 2; inset-inline-end: 4%; bottom: 8%; width: min(300px, 30vw); aspect-ratio: 3/4; border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow); transform: rotate(3deg); }
.hero-img-card img { width: 100%; height: 100%; object-fit: cover; }
.hero-scroll { position: absolute; bottom: 2rem; inset-inline-start: 50%; transform: translateX(-50%); z-index: 3; font-size: .7rem; letter-spacing: .25em; text-transform: uppercase; color: var(--muted); display: flex; flex-direction: column; align-items: center; gap: .5rem; }
.hero-scroll::after { content: ''; width: 1px; height: 38px; background: linear-gradient(var(--muted), transparent); animation: scrollLine 1.8s var(--ease) infinite; }
@keyframes scrollLine { 0%{transform:scaleY(0);transform-origin:top} 45%{transform:scaleY(1);transform-origin:top} 55%{transform:scaleY(1);transform-origin:bottom} 100%{transform:scaleY(0);transform-origin:bottom} }

/* ---------- marquee ---------- */
.marquee { background: var(--ink); color: var(--bg); overflow: hidden; padding: .95rem 0; border-block: 1px solid var(--ink); }
.marquee-track { display: flex; gap: 3rem; white-space: nowrap; width: max-content; animation: marquee 26s linear infinite; }
.marquee-track span { font-family: var(--serif); font-style: italic; font-size: 1.05rem; letter-spacing: .06em; display: inline-flex; align-items: center; gap: 3rem; }
.marquee-track span::after { content: '✦'; color: var(--accent); font-style: normal; }
@keyframes marquee { to { transform: translateX(-50%); } }
[dir="rtl"] .marquee-track { animation-name: marqueeR; }
@keyframes marqueeR { to { transform: translateX(50%); } }

/* ---------- sections ---------- */
.section { padding: 6.5rem 0; position: relative; }
.section-alt { background: var(--panel); border-block: 1px solid var(--line); }
.sec-head { display: flex; align-items: baseline; justify-content: space-between; gap: 1.5rem; margin-bottom: 3rem; flex-wrap: wrap; }
.sec-label { font-size: .72rem; letter-spacing: .25em; text-transform: uppercase; color: var(--muted); display: flex; align-items: center; gap: .7rem; margin-bottom: .9rem; }
.sec-label i { font-style: normal; color: var(--accent); }
.sec-title { font-size: clamp(2.1rem, 4.6vw, 3.6rem); }
.sec-title em { font-style: italic; color: var(--accent-2); font-weight: 400; }
.sec-link { font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; border-bottom: 1px solid var(--ink); padding-bottom: .25rem; transition: all .3s; white-space: nowrap; }
.sec-link:hover { color: var(--accent-2); border-color: var(--accent-2); }
.page-head { padding: 4.5rem 0 3rem; border-bottom: 1px solid var(--line); background: var(--panel); }
.page-head h1 { font-size: clamp(2.6rem, 6vw, 4.6rem); }
.page-head p { color: var(--muted); margin-top: .8rem; max-width: 520px; }

/* ---------- collections ---------- */
.coll-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
.coll-card { position: relative; border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 3/4; display: block; }
.coll-card img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease); }
.coll-card:hover img { transform: scale(1.06); }
.coll-card::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, rgba(23,18,15,.55), transparent 55%); }
.coll-info { position: absolute; bottom: 1.4rem; inset-inline: 1.4rem; z-index: 2; color: #fff; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.coll-info h3 { color: #fff; font-size: 1.55rem; font-style: italic; font-weight: 400; }
.coll-info .arr { width: 40px; height: 40px; border: 1px solid rgba(255,255,255,.5); border-radius: 50%; display: grid; place-items: center; font-size: 1rem; transition: all .35s; }
.coll-card:hover .arr { background: #fff; color: var(--ink); transform: rotate(-45deg); }
[dir="rtl"] .coll-card:hover .arr { transform: rotate(225deg); }

/* ---------- product cards ---------- */
.product-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 2rem 1.4rem; }
.product-card { position: relative; }
.pc-img { position: relative; display: block; aspect-ratio: 3/4; border-radius: var(--r-lg); overflow: hidden; background: var(--bg-2); }
.pc-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease), filter .5s; }
.product-card:hover .pc-img img { transform: scale(1.05); }
.pc-badge { position: absolute; top: 14px; inset-inline-start: 14px; background: var(--ink); color: var(--bg); font-size: .68rem; font-weight: 600; letter-spacing: .08em; padding: .35rem .75rem; border-radius: 50px; z-index: 2; }
.pc-quick { position: absolute; inset-inline: 12px; bottom: 12px; z-index: 2; transform: translateY(130%); opacity: 0; transition: all .45s var(--ease); }
.product-card:hover .pc-quick { transform: none; opacity: 1; }
.pc-quick .btn { width: 100%; backdrop-filter: blur(8px); background: rgba(23,18,15,.85); color: var(--bg); }
.pc-body { padding: 1rem .2rem 0; display: flex; flex-direction: column; gap: .3rem; }
.pc-body h3 { font-family: var(--sans); font-size: .95rem; font-weight: 500; letter-spacing: .01em; }
.pc-body h3 a:hover { color: var(--accent-2); }
.pc-price { display: flex; align-items: baseline; gap: .7rem; }
.price { font-family: var(--serif); font-size: 1.15rem; font-weight: 600; color: var(--ink); }
.old-price { color: #b4a79a; text-decoration: line-through; font-size: .85rem; }
@media (hover: none) { .pc-quick { position: static; transform: none; opacity: 1; margin-top: .7rem; } .pc-quick .btn { background: var(--ink); } }

/* ---------- editorial / about split ---------- */
.edito { display: grid; grid-template-columns: 1.05fr .95fr; gap: 4rem; align-items: center; }
.edito-imgs { position: relative; height: 560px; }
.edito-imgs .im1, .edito-imgs .im2 { position: absolute; border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow); }
.edito-imgs .im1 { width: 68%; aspect-ratio: 3/4; top: 0; inset-inline-start: 0; }
.edito-imgs .im2 { width: 48%; aspect-ratio: 3/4; bottom: 0; inset-inline-end: 0; border: 6px solid var(--bg); }
.edito-imgs img { width: 100%; height: 100%; object-fit: cover; }
.edito-txt .sec-title { margin-bottom: 1.6rem; }
.edito-txt p { color: var(--ink-2); font-size: 1.04rem; line-height: 1.85; margin-bottom: 1.2rem; max-width: 480px; }
.edito-txt .btn { margin-top: .8rem; }

/* ---------- lookbook ---------- */
.lookbook { overflow: hidden; }
.look-track { display: flex; gap: 1.4rem; width: max-content; padding-inline: 4vw; }
.look-item { width: clamp(240px, 26vw, 360px); aspect-ratio: 3/4; border-radius: var(--r-lg); overflow: hidden; flex-shrink: 0; position: relative; }
.look-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.look-item:hover img { transform: scale(1.06); }
.look-item span { position: absolute; bottom: 1rem; inset-inline-start: 1rem; color: #fff; font-family: var(--serif); font-style: italic; font-size: 1.1rem; text-shadow: 0 2px 14px rgba(0,0,0,.4); }
@media (max-width: 900px) { .lookbook-wrap { overflow-x: auto; scrollbar-width: none; } .lookbook-wrap::-webkit-scrollbar { display: none; } }

/* ---------- CTA band ---------- */
.cta-band { position: relative; padding: 7rem 0; text-align: center; color: #fff; overflow: hidden; }
.cta-band .bg { position: absolute; inset: 0; }
.cta-band .bg img { width: 100%; height: 120%; object-fit: cover; }
.cta-band::after { content: ''; position: absolute; inset: 0; background: rgba(23, 18, 15, .68); }
.cta-inner { position: relative; z-index: 2; }
.cta-inner h2 { color: #fff; font-size: clamp(2.2rem, 5vw, 3.8rem); font-style: italic; font-weight: 400; max-width: 760px; margin: 0 auto 1rem; }
.cta-inner p { opacity: .85; letter-spacing: .15em; text-transform: uppercase; font-size: .78rem; margin-bottom: 2.2rem; }
.cta-inner .btn-primary { background: var(--bg); color: var(--ink); }
.cta-inner .btn-primary:hover { background: var(--accent); color: #fff; }

/* ---------- filter chips ---------- */
.filter-bar { display: flex; gap: .6rem; flex-wrap: wrap; margin-bottom: 2.4rem; }
.chip { background: none; border: 1px solid var(--line); border-radius: 50px; padding: .55rem 1.3rem; font-size: .8rem; letter-spacing: .06em; transition: all .3s; }
.chip:hover, .chip.active { background: var(--ink); border-color: var(--ink); color: var(--bg); }

/* ---------- product page ---------- */
.breadcrumb { font-size: .75rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: 2rem; }
.breadcrumb a:hover { color: var(--accent-2); }
.product-layout { display: grid; grid-template-columns: 1.05fr .95fr; gap: 4rem; align-items: start; }
.p-gallery { position: sticky; top: 110px; }
.p-main-img { border-radius: var(--r-lg); overflow: hidden; background: var(--bg-2); position: relative; aspect-ratio: 3/4; }
.p-main-img img { width: 100%; height: 100%; object-fit: cover; }
.p-thumbs { display: flex; gap: .7rem; margin-top: .9rem; flex-wrap: wrap; }
.p-thumbs img { width: 76px; height: 95px; object-fit: cover; border-radius: 8px; cursor: pointer; border: 1.5px solid transparent; transition: all .25s; opacity: .75; }
.p-thumbs img.active, .p-thumbs img:hover { border-color: var(--ink); opacity: 1; }
.p-info h1 { font-size: clamp(1.9rem, 3.4vw, 3rem); margin-bottom: 1rem; }
.p-price { display: flex; align-items: center; gap: .9rem; margin-bottom: .7rem; }
.p-price .price { font-size: 1.9rem; }
.promo-tag { background: var(--accent); color: #fff; font-size: .68rem; font-weight: 700; letter-spacing: .1em; padding: .3rem .7rem; border-radius: 4px; }
.p-stock { font-size: .85rem; margin-bottom: 1.6rem; font-weight: 500; letter-spacing: .04em; }
.p-stock.ok { color: #2e7d4f; } .p-stock.ko { color: #b3382c; }
.opt-group { margin-bottom: 1.5rem; }
.opt-group > label { display: block; font-weight: 600; margin-bottom: .7rem; font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; }
.opt-group small { color: var(--muted); font-weight: 400; text-transform: none; letter-spacing: 0; }
.swatches { display: flex; gap: .8rem; flex-wrap: wrap; }
.swatch input { display: none; }
.swatch { display: flex; flex-direction: column; align-items: center; gap: .35rem; cursor: pointer; }
.swatch span { width: 36px; height: 36px; border-radius: 50%; border: 2px solid var(--panel); box-shadow: 0 0 0 1px var(--line); transition: all .25s; }
.swatch input:checked + span { box-shadow: 0 0 0 2px var(--ink); transform: scale(1.12); }
.swatch em { font-style: normal; font-size: .7rem; color: var(--muted); }
.size-btns { display: flex; gap: .6rem; flex-wrap: wrap; }
.size-btn input { display: none; }
.size-btn span { display: inline-block; min-width: 52px; text-align: center; padding: .65rem .9rem; border: 1px solid var(--line); border-radius: var(--r); font-weight: 500; font-size: .88rem; cursor: pointer; transition: all .25s; background: var(--panel); }
.size-btn input:checked + span { background: var(--ink); border-color: var(--ink); color: var(--bg); }
.qty-ctrl { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 50px; overflow: hidden; background: var(--panel); }
.qty-ctrl button { width: 44px; height: 46px; border: 0; background: none; font-size: 1.15rem; cursor: pointer; color: var(--ink); transition: background .2s; }
.qty-ctrl button:hover { background: var(--bg-2); }
.qty-ctrl input { width: 48px; text-align: center; border: 0; font-weight: 600; font-size: 1rem; background: none; }
.p-form .btn + .btn { margin-top: .7rem; }
.cod-note { text-align: center; color: var(--muted); font-size: .82rem; margin-top: 1rem; }
.p-acc { margin-top: 2.4rem; border-top: 1px solid var(--line); }
.p-acc details { border-bottom: 1px solid var(--line); }
.p-acc summary { padding: 1.1rem 0; cursor: pointer; font-weight: 600; font-size: .85rem; letter-spacing: .12em; text-transform: uppercase; list-style: none; display: flex; justify-content: space-between; align-items: center; }
.p-acc summary::-webkit-details-marker { display: none; }
.p-acc summary::after { content: '+'; font-size: 1.25rem; font-weight: 400; transition: transform .3s; }
.p-acc details[open] summary::after { transform: rotate(45deg); }
.p-acc .acc-body { padding: 0 0 1.2rem; color: var(--ink-2); line-height: 1.8; font-size: .95rem; }
.alert { background: #f9e5e2; color: #a33326; padding: .85rem 1.1rem; border-radius: var(--r); margin-bottom: 1.2rem; font-size: .9rem; }
/* v2.1 product page */
.p-cat { font-size: .72rem; letter-spacing: .22em; text-transform: uppercase; color: var(--accent-2); margin-bottom: .6rem; }
.you-save { background: #e4f2e9; color: #226140; font-size: .72rem; font-weight: 700; padding: .3rem .7rem; border-radius: 4px; letter-spacing: .04em; }
.stock-urgency { color: #b3621c; margin-inline-start: .8rem; }
.qo-box { background: var(--panel); border: 1.5px solid var(--ink); border-radius: var(--r-lg); padding: 1.5rem 1.4rem 1.2rem; margin: 1.6rem 0 1rem; position: relative; }
.qo-box::before { content: '✦'; position: absolute; top: -13px; inset-inline-start: 22px; background: var(--ink); color: var(--bg); width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; font-size: .8rem; }
.qo-head { margin-bottom: 1.1rem; }
.qo-head strong { display: block; font-size: 1rem; margin-bottom: .2rem; }
.qo-head span { color: var(--muted); font-size: .84rem; }
.qo-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.qo-totals { border-top: 1px dashed var(--line); margin: .4rem 0 1.1rem; padding-top: .9rem; display: flex; flex-direction: column; gap: .45rem; font-size: .92rem; }
.qo-totals > div { display: flex; justify-content: space-between; }
.qo-total { font-family: var(--serif); font-weight: 600; font-size: 1.25rem; border-top: 1px solid var(--line); padding-top: .6rem; }
.cart-mini-form { text-align: center; margin-top: .9rem; }
.link-cart { background: none; border: 0; cursor: pointer; font-size: .85rem; letter-spacing: .06em; color: var(--ink-2); border-bottom: 1px solid var(--line); padding-bottom: .2rem; transition: all .25s; }
.link-cart:hover { color: var(--accent-2); border-color: var(--accent-2); }
.trust-chips { display: grid; grid-template-columns: repeat(3, 1fr); gap: .7rem; margin-top: 1.6rem; }
.t-chip { display: flex; gap: .6rem; align-items: flex-start; background: var(--panel); border: 1px solid var(--line); border-radius: var(--r-lg); padding: .85rem .9rem; }
.t-chip i { font-style: normal; font-size: 1.15rem; }
.t-chip strong { display: block; font-size: .76rem; letter-spacing: .02em; }
.t-chip span { font-size: .7rem; color: var(--muted); line-height: 1.4; display: block; }
.related { margin-top: 5rem; border-top: 1px solid var(--line); padding-top: 3.5rem; }
#zoomWrap { cursor: zoom-in; }
#zoomWrap img { transition: transform .25s ease-out; will-change: transform; }
.sticky-buy { display: none; position: fixed; bottom: 0; inset-inline: 0; background: rgba(253, 251, 247, .96); backdrop-filter: blur(12px); border-top: 1px solid var(--line); padding: .7rem 1rem calc(.7rem + env(safe-area-inset-bottom)); z-index: 94; align-items: center; gap: 1rem; transform: translateY(110%); transition: transform .4s var(--ease); }
.sticky-buy.show { transform: none; }
.sb-info { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.sb-info strong { font-size: .82rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sb-info .price { font-size: 1rem; }
.sticky-buy .btn { padding: .75rem 1.5rem; flex-shrink: 0; }
@media (max-width: 900px) { .sticky-buy { display: flex; } }
@media (max-width: 560px) { .qo-row { grid-template-columns: 1fr; gap: 0; } .trust-chips { grid-template-columns: 1fr; } .related { margin-top: 3rem; padding-top: 2.4rem; } }
.alert.ok { background: #e4f2e9; color: #226140; }

/* ---------- cart / checkout ---------- */
.cart-layout { display: grid; grid-template-columns: 1.2fr .8fr; gap: 2.6rem; align-items: start; }
.cart-items { display: flex; flex-direction: column; gap: 1rem; }
.cart-row { display: flex; align-items: center; gap: 1.1rem; background: var(--panel); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 1rem 1.2rem; }
.cart-row img { width: 72px; height: 90px; object-fit: cover; border-radius: 8px; }
.cr-info { flex: 1; display: flex; flex-direction: column; gap: .2rem; }
.cr-info small { color: var(--muted); }
.cr-qty select { padding: .45rem .6rem; border: 1px solid var(--line); border-radius: 8px; font-weight: 600; background: var(--panel); }
.cr-line { font-family: var(--serif); font-weight: 600; font-size: 1.1rem; min-width: 86px; text-align: end; }
.cr-del { background: none; border: 1px solid var(--line); width: 32px; height: 32px; border-radius: 50%; font-size: 1rem; cursor: pointer; color: var(--muted); transition: all .25s; }
.cr-del:hover { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.empty-cart { text-align: center; padding: 4rem 0; }
.empty-cart p { font-family: var(--serif); font-style: italic; font-size: 1.5rem; margin-bottom: 1.6rem; color: var(--muted); }
.checkout-box { background: var(--panel); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 2rem; position: sticky; top: 110px; }
.checkout-box h2 { font-size: 1.7rem; margin-bottom: .3rem; }
.co-sub { color: var(--muted); font-size: .88rem; margin-bottom: 1.5rem; }
.field { margin-bottom: 1.1rem; }
.field label { display: block; font-weight: 600; font-size: .74rem; letter-spacing: .12em; text-transform: uppercase; margin-bottom: .45rem; }
.field input, .field select, .field textarea { width: 100%; padding: .85rem 1rem; border: 1px solid var(--line); border-radius: var(--r); font-size: .95rem; font-family: inherit; background: var(--bg); transition: border .25s; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--ink); }
.hp { position: absolute; left: -9999px; opacity: 0; height: 0; }
.totals { border-top: 1px dashed var(--line); margin: 1.3rem 0; padding-top: 1.1rem; display: flex; flex-direction: column; gap: .55rem; font-size: .93rem; }
.totals > div { display: flex; justify-content: space-between; }
.t-total { font-family: var(--serif); font-weight: 600; font-size: 1.3rem; border-top: 1px solid var(--line); padding-top: .7rem; }

/* ---------- success ---------- */
.success-box { text-align: center; max-width: 580px; padding: 2.5rem 0; }
.success-ico { font-size: 3rem; margin-bottom: 1rem; }
.success-box h1 { margin-bottom: .8rem; font-style: italic; font-weight: 400; }
.success-box p { color: var(--muted); margin-bottom: 1.6rem; }
.success-ref { background: var(--panel); border: 1px solid var(--line); display: inline-block; padding: .8rem 1.6rem; border-radius: var(--r); margin-bottom: 1.8rem; letter-spacing: .05em; }
.center-btns { justify-content: center; display: flex; gap: 1rem; flex-wrap: wrap; }

/* ---------- about page ---------- */
.about-hero { padding: 6rem 0 4rem; text-align: center; background: var(--panel); border-bottom: 1px solid var(--line); }
.about-hero h1 { font-size: clamp(2.8rem, 7vw, 5.5rem); font-style: italic; font-weight: 400; }
.about-hero p { color: var(--muted); letter-spacing: .18em; text-transform: uppercase; font-size: .78rem; margin-top: 1.2rem; }
.values-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; margin-top: 3rem; }
.value-card { background: var(--panel); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 2.2rem 1.8rem; transition: all .4s var(--ease); }
.value-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.value-card .num { font-family: var(--serif); font-style: italic; font-size: 2rem; color: var(--accent); display: block; margin-bottom: .9rem; }
.value-card h3 { font-family: var(--sans); font-size: 1.05rem; font-weight: 600; margin-bottom: .5rem; }
.value-card p { color: var(--muted); font-size: .92rem; }

/* ---------- contact ---------- */
.contact-layout { display: grid; grid-template-columns: .9fr 1.1fr; gap: 3rem; align-items: start; }
.contact-cards { display: flex; flex-direction: column; gap: 1rem; }
.contact-card { background: var(--panel); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 1.5rem 1.6rem; display: flex; gap: 1.1rem; align-items: flex-start; transition: all .3s; }
.contact-card:hover { box-shadow: var(--shadow); }
.contact-card .ico { font-size: 1.4rem; }
.contact-card strong { display: block; margin-bottom: .2rem; }
.contact-card span, .contact-card a.v { color: var(--muted); font-size: .92rem; }
.contact-form { background: var(--panel); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 2.2rem; }

/* ---------- FAQ ---------- */
.faq-list { max-width: 820px; margin: 0 auto; }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary { padding: 1.5rem 0; cursor: pointer; font-family: var(--serif); font-size: 1.35rem; font-weight: 500; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 1rem; transition: color .3s; }
.faq-list summary:hover { color: var(--accent-2); }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: '+'; font-size: 1.6rem; font-weight: 300; transition: transform .3s; flex-shrink: 0; }
.faq-list details[open] summary::after { transform: rotate(45deg); }
.faq-list .faq-a { padding: 0 0 1.6rem; color: var(--ink-2); line-height: 1.85; max-width: 700px; }

/* ---------- footer ---------- */
.site-footer { background: var(--ink); color: #cfc3b6; margin-top: 5rem; padding-top: 3.5rem; overflow: hidden; }
.f-big { font-family: var(--serif); font-size: clamp(3.5rem, 13vw, 11rem); line-height: 1; color: rgba(246,241,234,.07); text-align: center; letter-spacing: .05em; user-select: none; margin-bottom: 2rem; white-space: nowrap; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 2.6rem; padding-bottom: 2.5rem; border-bottom: 1px solid rgba(255,255,255,.1); }
.f-logo { height: 58px; width: auto; border-radius: 8px; margin-bottom: 1rem; }
.f-col p { font-size: .9rem; line-height: 1.75; opacity: .8; max-width: 320px; }
.f-col .f-about { font-size: .82rem; margin-top: .6rem; opacity: .55; }
.f-col h4 { color: #fff; margin-bottom: 1.1rem; font-size: .78rem; letter-spacing: .2em; text-transform: uppercase; font-weight: 600; }
.f-col a, .f-col span { display: block; font-size: .92rem; margin-bottom: .6rem; opacity: .8; transition: all .25s; width: fit-content; }
.f-col a:hover { opacity: 1; color: var(--accent); }
.f-social { display: flex; gap: 1.2rem; margin-top: 1.1rem; }
.f-social a { font-size: .82rem; letter-spacing: .08em; text-transform: uppercase; border-bottom: 1px solid rgba(255,255,255,.3); padding-bottom: .2rem; }
.f-bottom { text-align: center; padding: 1.4rem 0; font-size: .78rem; opacity: .6; }

/* ---------- WhatsApp float + chatbot ---------- */
.wa-float { position: fixed; bottom: 22px; inset-inline-end: 22px; width: 56px; height: 56px; background: var(--wa); border-radius: 50%; display: grid; place-items: center; box-shadow: 0 12px 30px rgba(37, 211, 102, .4); z-index: 95; transition: transform .3s; }
.wa-float:hover { transform: scale(1.1); }
.bot-launcher { position: fixed; bottom: 22px; inset-inline-start: 22px; width: 56px; height: 56px; background: var(--ink); border-radius: 50%; display: grid; place-items: center; cursor: pointer; box-shadow: 0 12px 30px rgba(23,18,15,.35); z-index: 95; transition: transform .3s; }
.bot-launcher:hover { transform: scale(1.1); }
.bot-panel { position: fixed; bottom: 90px; inset-inline-start: 22px; width: 350px; max-width: calc(100vw - 44px); height: 470px; max-height: 70vh; background: var(--panel); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow); z-index: 96; display: none; flex-direction: column; overflow: hidden; }
.bot-panel.open { display: flex; animation: botIn .35s var(--ease); }
@keyframes botIn { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
.bot-head { display: flex; align-items: center; gap: .8rem; background: var(--ink); color: #fff; padding: 1rem; }
.bot-avatar { width: 38px; height: 38px; background: var(--accent); border-radius: 50%; display: grid; place-items: center; font-size: 1.1rem; }
.bot-title { font-weight: 600; font-size: .92rem; }
.bot-status { font-size: .72rem; opacity: .85; display: flex; align-items: center; gap: .35rem; }
.bot-status .dot { width: 7px; height: 7px; background: #6dffa6; border-radius: 50%; }
.bot-close { margin-inline-start: auto; background: none; border: 0; color: #fff; font-size: 1.5rem; cursor: pointer; line-height: 1; }
.bot-body { flex: 1; overflow-y: auto; padding: 1rem; display: flex; flex-direction: column; gap: .6rem; background: var(--bg); }
.bot-msg { max-width: 86%; padding: .7rem .95rem; border-radius: 14px; font-size: .87rem; line-height: 1.55; animation: botIn .25s; }
.bot-msg.bot { background: var(--panel); border: 1px solid var(--line); border-start-start-radius: 4px; align-self: flex-start; }
.bot-msg.user { background: var(--ink); color: var(--bg); border-start-end-radius: 4px; align-self: flex-end; }
.bot-quick { display: flex; flex-wrap: wrap; gap: .45rem; align-self: flex-start; }
.bot-quick button, .bot-quick a { background: none; border: 1px solid var(--ink); color: var(--ink); border-radius: 50px; padding: .45rem .95rem; font-size: .78rem; font-weight: 500; cursor: pointer; transition: all .25s; }
.bot-quick button:hover, .bot-quick a:hover { background: var(--ink); color: var(--bg); }
.bot-input { display: flex; gap: .5rem; padding: .7rem; border-top: 1px solid var(--line); background: var(--panel); }
.bot-input input { flex: 1; border: 1px solid var(--line); border-radius: 50px; padding: .6rem 1rem; font-size: .87rem; font-family: inherit; background: var(--bg); }
.bot-input input:focus { outline: none; border-color: var(--ink); }
.bot-input button { width: 42px; height: 42px; border-radius: 50%; border: 0; background: var(--ink); color: #fff; cursor: pointer; }

/* ---------- animations ---------- */
@media (max-width: 900px) { #hero3d { display: none; } }
@media (prefers-reduced-motion: reduce) {
  [data-anim] { opacity: 1 !important; transform: none !important; }
  .marquee-track { animation-duration: 90s; }
  .grain { animation: none; }
}

/* ---------- responsive ---------- */
@media (max-width: 1060px) {
  .edito { grid-template-columns: 1fr; gap: 3rem; }
  .edito-imgs { height: 440px; max-width: 520px; }
}
@media (max-width: 900px) {
  .section { padding: 4rem 0; }
  .hero { min-height: auto; }
  .hero-in { padding: 3.5rem 0 4.5rem; }
  .hero-img-card { display: none; }
  .hero-scroll { display: none; }
  .product-layout, .cart-layout, .contact-layout { grid-template-columns: 1fr; gap: 2.4rem; }
  .p-gallery, .checkout-box { position: static; }
  .coll-grid { grid-template-columns: 1fr; }
  .coll-card { aspect-ratio: 16/10; }
  .values-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .main-nav { position: fixed; inset: 0; background: var(--bg); flex-direction: column; justify-content: center; align-items: center; gap: 2rem; transform: translateY(-102%); transition: transform .5s var(--ease); z-index: 95; margin: 0; }
  .main-nav a { font-family: var(--serif); font-size: 1.9rem; text-transform: none; letter-spacing: 0; }
  .main-nav.open { transform: none; }
  .burger { display: flex; }
}
@media (max-width: 560px) {
  .product-grid { grid-template-columns: repeat(2, 1fr); gap: 1.4rem .8rem; }
  .pc-body h3 { font-size: .83rem; }
  .price { font-size: 1rem; }
  .logo img { height: 44px; }
  .cart-row { flex-wrap: wrap; }
  .checkout-box, .contact-form { padding: 1.5rem 1.2rem; }
  .hero-title { font-size: clamp(2.9rem, 15vw, 4.2rem); }
  .btn { padding: .85rem 1.6rem; }
  .wa-float, .bot-launcher { width: 50px; height: 50px; bottom: 16px; }
  .wa-float { inset-inline-end: 16px; } .bot-launcher { inset-inline-start: 16px; }
  .bot-panel { bottom: 76px; }
}
