:root {
  --ink: #1d1b18;
  --ink-2: #4d473f;
  --muted: #7d7568;
  --cream: #f7f2e9;
  --sand: #ebe1d0;
  --line: #ddd2bf;
  --wood: #b98652;
  --wood-deep: #8a5f36;
  --leaf: #5c7a4a;
  --sun: #e2a13b;
  --white: #fffdf9;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(40, 28, 12, .10);
  --font-head: 'Outfit', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: var(--font-body); color: var(--ink); background: var(--cream); line-height: 1.55; -webkit-font-smoothing: antialiased; }
img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { font-family: var(--font-head); font-weight: 600; line-height: 1.1; margin: 0 0 .5em; letter-spacing: -.01em; }
h1 { font-size: clamp(2.4rem, 5.4vw, 4.4rem); }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.7rem); }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1em; }
button { font: inherit; cursor: pointer; }
.wrap { width: min(1200px, 92vw); margin-inline: auto; }
.eyebrow { font-family: var(--font-head); text-transform: uppercase; letter-spacing: .18em; font-size: .78rem; color: var(--wood-deep); font-weight: 600; margin-bottom: 1rem; display: block; }
.lead { font-size: 1.1rem; color: var(--ink-2); max-width: 56ch; }
section { padding: clamp(3.5rem, 8vw, 6.5rem) 0; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; padding: .85rem 1.5rem; border-radius: 999px; border: 1.5px solid var(--ink); background: var(--ink); color: var(--white); font-family: var(--font-head); font-weight: 500; font-size: .98rem; transition: transform .15s, background .15s, color .15s; }
.btn:hover { transform: translateY(-1px); background: #000; }
.btn.ghost { background: transparent; color: var(--ink); }
.btn.ghost:hover { background: var(--ink); color: var(--white); }
.btn.light { background: var(--white); color: var(--ink); border-color: var(--white); }
.btn.light.ghost { background: transparent; color: var(--white); }
.btn.light.ghost:hover { background: var(--white); color: var(--ink); }
.btn.wood { background: var(--wood); border-color: var(--wood); }
.btn.wood:hover { background: var(--wood-deep); border-color: var(--wood-deep); }
.btn.block { width: 100%; }
.btn.sm { padding: .55rem 1rem; font-size: .88rem; }

/* Header */
.announce { background: var(--ink); color: var(--sand); text-align: center; font-size: .82rem; padding: .5rem 1rem; letter-spacing: .03em; }
.site-header { position: sticky; top: 0; z-index: 40; background: rgba(247, 242, 233, .92); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; gap: 2rem; height: 68px; }
.logo { display: flex; flex-direction: column; gap: 3px; color: var(--ink); }
.logo svg { height: 26px; width: auto; }
.logo small { font-family: var(--font-head); font-size: .6rem; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.nav { display: flex; gap: 1.6rem; margin-inline-start: auto; font-family: var(--font-head); font-size: .97rem; }
.nav a { padding: .3rem 0; border-bottom: 2px solid transparent; }
.nav a:hover, .nav a.active { border-color: var(--wood); }
.nav a.cta { color: var(--wood-deep); font-weight: 600; }
.icon-btn { position: relative; background: none; border: 0; padding: .4rem; color: var(--ink); display: grid; place-items: center; }
.icon-btn svg { width: 24px; height: 24px; }
.cart-count { position: absolute; top: -2px; inset-inline-end: -6px; background: var(--wood); color: #fff; font-size: .68rem; font-weight: 700; min-width: 18px; height: 18px; border-radius: 9px; display: grid; place-items: center; padding: 0 4px; }
.cart-count:empty { display: none; }
.menu-btn { display: none; }
.lang-btn { background: none; border: 1.5px solid var(--line); border-radius: 999px; padding: .32rem .85rem; font-size: .86rem; color: var(--ink); font-family: var(--font-body); white-space: nowrap; }
.lang-btn:hover { border-color: var(--ink); }
.lang-btn[lang=ar] { font-family: 'IBM Plex Sans Arabic', 'Segoe UI', Tahoma, sans-serif; }

/* Hero */
.hero { background: var(--ink); color: var(--white); padding: 0; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; min-height: min(78vh, 720px); }
.hero-copy { padding: clamp(2.5rem, 6vw, 5.5rem) clamp(1.5rem, 5vw, 5rem); display: flex; flex-direction: column; justify-content: center; }
.hero-copy .eyebrow { color: var(--sun); }
.hero-copy p { color: #d9d0c1; font-size: 1.12rem; max-width: 48ch; }
.hero-copy .note { font-size: .85rem; color: #a59c8c; margin-top: 1.4rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1rem; }
.hero-img { background: url('../img/raiz-brand.jpg') center/cover no-repeat; min-height: 340px; }

/* Cards & grids */
.grid { display: grid; gap: 1.4rem; }
.g-3 { grid-template-columns: repeat(3, 1fr); }
.g-4 { grid-template-columns: repeat(4, 1fr); }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 2rem; margin-bottom: 2.2rem; flex-wrap: wrap; }
.section-head h2 { margin: 0; }

.cat-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.4rem; display: flex; flex-direction: column; transition: transform .2s, box-shadow .2s; }
.cat-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.cat-card .art { background: var(--sand); border-radius: 10px; aspect-ratio: 4/3; display: grid; place-items: center; padding: 1.2rem; margin-bottom: 1.1rem; }
.cat-card .art, .p-card .art { position: relative; }
.cat-card .art svg, .p-card .art svg { position: absolute; inset: 1.3rem; width: calc(100% - 2.6rem); height: calc(100% - 2.6rem); }
.cat-card p { color: var(--ink-2); font-size: .94rem; flex: 1; }
.cat-card .more { font-family: var(--font-head); font-weight: 500; color: var(--wood-deep); }

.p-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; cursor: pointer; transition: transform .2s, box-shadow .2s; text-align: left; padding: 0; color: inherit; }
.p-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.p-card .art { background: var(--sand); aspect-ratio: 1/1; padding: 1.6rem; position: relative; display: grid; place-items: center; }
.badge { position: absolute; top: .8rem; inset-inline-start: .8rem; background: var(--ink); color: var(--white); font-size: .7rem; letter-spacing: .08em; text-transform: uppercase; padding: .25rem .6rem; border-radius: 999px; font-family: var(--font-head); }
.p-card .body { padding: 1rem 1.1rem 1.2rem; display: flex; flex-direction: column; gap: .2rem; flex: 1; }
.p-card h3 { font-size: 1.02rem; margin: 0; }
.p-card .cat { font-size: .74rem; text-transform: uppercase; letter-spacing: .12em; color: var(--muted); }
.price { font-family: var(--font-head); font-weight: 600; margin-top: auto; padding-top: .5rem; }
.price small { font-weight: 400; color: var(--muted); }

/* Steps */
.steps { background: var(--white); border-block: 1px solid var(--line); }
.step { padding: 1.6rem; border-radius: var(--radius); background: var(--cream); }
.step .n { font-family: var(--font-head); font-size: 2.6rem; font-weight: 600; color: var(--wood); line-height: 1; margin-bottom: .8rem; }
.step p { color: var(--ink-2); margin: 0; }

/* Customizer teaser */
.teaser { background: linear-gradient(120deg, #2a251f, #1d1b18 60%); color: var(--white); border-radius: 22px; display: grid; grid-template-columns: 1fr 1fr; overflow: hidden; }
.teaser .copy { padding: clamp(2rem, 5vw, 4rem); }
.teaser .copy p { color: #d0c6b6; }
.teaser .eyebrow { color: var(--sun); }
.teaser .visual { display: grid; place-items: center; padding: 2rem; background: radial-gradient(circle at 50% 60%, #4a3d2c, transparent 70%); }
.teaser .visual svg { width: min(420px, 90%); filter: drop-shadow(0 20px 30px rgba(0,0,0,.4)); }
.teaser ul { list-style: none; padding: 0; margin: 0 0 1.6rem; display: grid; gap: .45rem; color: #e6dccb; }
.teaser li::before { content: '—'; color: var(--sun); margin-inline-end: .6rem; }

/* Why */
.why { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.4rem; }
.why div { border-top: 2px solid var(--ink); padding-top: 1.1rem; }
.why p { color: var(--ink-2); font-size: .95rem; margin: 0; }

/* FAQ */
.faq { max-width: 820px; }
.faq details { border-bottom: 1px solid var(--line); padding: 1.1rem 0; }
.faq summary { font-family: var(--font-head); font-size: 1.1rem; font-weight: 500; cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 1rem; }
.faq summary::after { content: '+'; color: var(--wood); font-size: 1.4rem; line-height: 1; }
.faq details[open] summary::after { content: '–'; }
.faq details p { margin: .8rem 0 0; color: var(--ink-2); }

/* Footer */
.site-footer { background: var(--ink); color: #cfc6b7; padding: 4rem 0 2rem; margin-top: 2rem; }
.site-footer .cols { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.3fr; gap: 2.5rem; }
.site-footer h4 { color: var(--white); font-size: .85rem; text-transform: uppercase; letter-spacing: .14em; margin-bottom: 1rem; }
.site-footer a { display: block; padding: .2rem 0; font-size: .94rem; }
.site-footer a:hover { color: var(--white); }
.site-footer .logo { color: var(--white); margin-bottom: 1rem; }
.site-footer .logo svg { height: 34px; }
.site-footer .logo small { color: #a59c8c; }
.newsletter { display: flex; gap: .5rem; margin-top: .8rem; }
.newsletter input { flex: 1; min-width: 0; padding: .75rem 1rem; border-radius: 999px; border: 1px solid #4d473f; background: transparent; color: var(--white); font: inherit; }
.legal { border-top: 1px solid #3a352e; margin-top: 3rem; padding-top: 1.4rem; font-size: .82rem; color: #8f8778; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1rem; }

/* Shop */
.page-head { padding: 3.5rem 0 1.5rem; }
.page-head p { color: var(--ink-2); max-width: 60ch; }
.filters { display: flex; gap: .5rem; flex-wrap: wrap; margin-bottom: 2rem; }
.chip { padding: .5rem 1.1rem; border-radius: 999px; border: 1.5px solid var(--line); background: var(--white); font-family: var(--font-head); font-size: .92rem; color: var(--ink); }
.chip.active, .chip:hover { border-color: var(--ink); }
.chip.active { background: var(--ink); color: var(--white); }

/* Product dialog */
dialog.product { border: 0; padding: 0; border-radius: 20px; width: min(920px, 94vw); background: var(--white); color: var(--ink); box-shadow: 0 30px 80px rgba(0,0,0,.35); }
dialog::backdrop { background: rgba(20, 16, 10, .55); backdrop-filter: blur(3px); }
.pd { display: grid; grid-template-columns: 1fr 1.1fr; }
.pd .art { background: var(--sand); padding: 2.4rem; display: grid; place-items: center; min-height: 320px; }
.pd .art svg { width: 100%; max-height: 380px; }
.pd .info { padding: 2rem 2rem 1.8rem; position: relative; }
.pd .close { position: absolute; top: .8rem; inset-inline-end: .8rem; background: var(--cream); border: 0; width: 36px; height: 36px; border-radius: 50%; font-size: 1.2rem; }
.pd h2 { font-size: 1.6rem; padding-inline-end: 2rem; }
.pd .desc { color: var(--ink-2); }
.pd ul { padding-left: 1.1rem; color: var(--ink-2); font-size: .93rem; margin: 0 0 1rem; }
.opt { margin-bottom: 1rem; }
.opt label { display: block; font-size: .76rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: .4rem; }
.opt .choices { display: flex; flex-wrap: wrap; gap: .4rem; }
.pd .buy { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-top: 1.4rem; padding-top: 1.2rem; border-top: 1px solid var(--line); }
.pd .buy .price { font-size: 1.5rem; margin: 0; padding: 0; }

/* Cart drawer */
.drawer { position: fixed; inset: 0 0 0 auto; width: min(420px, 100vw); background: var(--white); z-index: 60; transform: translateX(105%); transition: transform .3s ease; display: flex; flex-direction: column; box-shadow: -20px 0 60px rgba(0,0,0,.2); }
.drawer.open { transform: none; }
.scrim { position: fixed; inset: 0; background: rgba(20,16,10,.45); z-index: 55; opacity: 0; pointer-events: none; transition: opacity .3s; }
.scrim.open { opacity: 1; pointer-events: auto; }
.drawer header { display: flex; justify-content: space-between; align-items: center; padding: 1.2rem 1.4rem; border-bottom: 1px solid var(--line); }
.drawer header h3 { margin: 0; font-size: 1.3rem; }
.drawer .items { flex: 1; overflow: auto; padding: .6rem 1.4rem; }
.drawer .empty { color: var(--muted); text-align: center; padding: 3rem 0; }
.c-item { display: grid; grid-template-columns: 64px 1fr auto; gap: .9rem; padding: 1rem 0; border-bottom: 1px solid var(--line); align-items: start; }
.c-item .thumb { background: var(--sand); border-radius: 8px; padding: 6px; aspect-ratio: 1; display: grid; place-items: center; }
.c-item .thumb svg { width: 100%; height: 100%; }
.c-item h4 { font-size: .96rem; margin: 0 0 .15rem; }
.c-item .detail { font-size: .8rem; color: var(--muted); line-height: 1.4; }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 999px; margin-top: .5rem; }
.qty button { background: none; border: 0; width: 28px; height: 28px; }
.qty span { min-width: 20px; text-align: center; font-size: .88rem; }
.c-item .rm { background: none; border: 0; color: var(--muted); font-size: .78rem; text-decoration: underline; padding: 0; margin-top: .4rem; display: block; margin-inline-start: auto; }
.c-item .lp { font-family: var(--font-head); font-weight: 600; font-size: .95rem; text-align: end; white-space: nowrap; }
.drawer footer { padding: 1.2rem 1.4rem 1.5rem; border-top: 1px solid var(--line); background: var(--cream); }
.drawer .total { display: flex; justify-content: space-between; font-family: var(--font-head); font-size: 1.25rem; font-weight: 600; margin-bottom: .3rem; }
.drawer .fine { font-size: .78rem; color: var(--muted); margin-bottom: 1rem; }
.toast { position: fixed; left: 50%; bottom: 28px; transform: translate(-50%, 80px); background: var(--ink); color: var(--white); padding: .8rem 1.3rem; border-radius: 999px; z-index: 80; transition: transform .3s; font-size: .93rem; }
.toast.show { transform: translate(-50%, 0); }

/* Customizer */
.cz { display: grid; grid-template-columns: 1fr 400px; height: calc(100vh - 68px); min-height: 560px; }
.cz-stage { position: relative; background: #cfe0ea; overflow: hidden; }
.cz-stage canvas { display: block; width: 100%; height: 100%; touch-action: none; }
.cz-top { position: absolute; top: 14px; left: 14px; right: 14px; display: flex; justify-content: space-between; gap: .6rem; pointer-events: none; flex-wrap: wrap; }
.cz-top > * { pointer-events: auto; }
.pill-group { display: inline-flex; background: rgba(255,253,249,.92); border-radius: 999px; padding: 4px; box-shadow: 0 4px 14px rgba(0,0,0,.12); }
.pill-group button { border: 0; background: none; padding: .42rem .9rem; border-radius: 999px; font-family: var(--font-head); font-size: .85rem; color: var(--ink); }
.pill-group button.active { background: var(--ink); color: var(--white); }
.cz-dims { position: absolute; left: 14px; bottom: 14px; background: rgba(29,27,24,.82); color: var(--white); padding: .5rem .95rem; border-radius: 999px; font-family: var(--font-head); font-size: .9rem; }
.cz-hint { position: absolute; right: 14px; bottom: 14px; color: rgba(29,27,24,.6); font-size: .78rem; background: rgba(255,253,249,.7); padding: .3rem .7rem; border-radius: 999px; }
.cz-fail { position: absolute; inset: 0; display: none; place-items: center; padding: 2rem; text-align: center; color: var(--ink-2); }
.cz-panel { background: var(--white); border-inline-start: 1px solid var(--line); display: flex; flex-direction: column; min-height: 0; }
.cz-scroll { overflow-y: auto; padding: 1.4rem 1.4rem .6rem; flex: 1; }
.cz-scroll h1 { font-size: 1.6rem; margin-bottom: .2rem; }
.cz-scroll > p { color: var(--muted); font-size: .9rem; }
.ctl { padding: 1.05rem 0; border-top: 1px solid var(--line); }
.ctl > label, .ctl > .lbl { display: flex; justify-content: space-between; font-family: var(--font-head); font-weight: 600; font-size: .93rem; margin-bottom: .6rem; }
.ctl output { font-weight: 500; color: var(--wood-deep); }
.seg { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 4px; background: var(--cream); border-radius: 10px; padding: 4px; }
.seg button { border: 0; background: none; padding: .5rem .3rem; border-radius: 7px; font-size: .84rem; color: var(--ink-2); }
.seg button.active { background: var(--white); color: var(--ink); font-weight: 600; box-shadow: 0 1px 4px rgba(0,0,0,.12); }
.seg button:disabled { opacity: .35; cursor: not-allowed; }
.swatches { display: flex; gap: .55rem; flex-wrap: wrap; }
.swatches button { width: 36px; height: 36px; border-radius: 50%; border: 2px solid var(--white); outline: 1.5px solid var(--line); padding: 0; }
.swatches button.active { outline: 2.5px solid var(--ink); }
.slider-row { display: grid; gap: .7rem; }
.slider-row .row { display: grid; grid-template-columns: 62px 1fr 52px; align-items: center; gap: .6rem; font-size: .86rem; color: var(--ink-2); }
.slider-row output { text-align: end; font-family: var(--font-head); }
input[type=range] { width: 100%; accent-color: var(--wood); }
.toggle { display: flex; align-items: center; justify-content: space-between; padding: .35rem 0; font-size: .92rem; }
.toggle input { width: 40px; height: 22px; appearance: none; background: var(--line); border-radius: 11px; position: relative; cursor: pointer; transition: background .2s; margin: 0; }
.toggle input::after { content: ''; position: absolute; top: 2px; left: 2px; width: 18px; height: 18px; border-radius: 50%; background: #fff; transition: transform .2s; }
.toggle input:checked { background: var(--wood); }
.toggle input:checked::after { transform: translateX(18px); }
.sub { margin-top: .7rem; }
.sub[hidden] { display: none; }
.parts { font-size: .86rem; width: 100%; border-collapse: collapse; }
.parts td { padding: .28rem 0; border-bottom: 1px dashed var(--line); }
.parts td:nth-child(2) { text-align: center; color: var(--muted); width: 50px; }
.parts td:last-child { text-align: end; font-family: var(--font-head); white-space: nowrap; }
.cz-buy { padding: 1rem 1.4rem 1.2rem; border-top: 1px solid var(--line); background: var(--cream); }
.cz-buy .total { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: .7rem; }
.cz-buy .total b { font-family: var(--font-head); font-size: 1.6rem; }
.cz-buy .total span { font-size: .82rem; color: var(--muted); }
.cz-buy .acts { display: grid; grid-template-columns: 1fr auto; gap: .5rem; }

/* Responsive */
@media (max-width: 980px) {
  .g-4 { grid-template-columns: repeat(2, 1fr); }
  .g-3, .why { grid-template-columns: 1fr 1fr; }
  .hero-grid, .teaser { grid-template-columns: 1fr; }
  .hero-img { order: -1; min-height: 46vw; }
  .site-footer .cols { grid-template-columns: 1fr 1fr; }
  .nav { display: none; position: absolute; top: 68px; left: 0; right: 0; background: var(--cream); flex-direction: column; padding: 1rem 4vw 1.4rem; border-bottom: 1px solid var(--line); gap: .6rem; }
  .nav.open { display: flex; }
  .menu-btn { display: grid; }
  .lang-btn { margin-inline-start: auto; }
  .cz { grid-template-columns: 1fr; height: auto; }
  .cz-stage { height: 56vh; min-height: 340px; position: sticky; top: 68px; z-index: 5; }
  .cz-panel { border-inline-start: 0; }
  .cz-scroll { overflow: visible; }
  .cz-buy { position: sticky; bottom: 0; }
  .cz-hint { display: none; }
}
@media (max-width: 620px) {
  .g-3, .why, .site-footer .cols { grid-template-columns: 1fr; }
  .pd { grid-template-columns: 1fr; }
  .pd .art { min-height: 200px; padding: 1.4rem; }
  .pd .art svg { max-height: 200px; }
}

/* Arabic (right-to-left) */
html[lang=ar] { --font-head: 'IBM Plex Sans Arabic', 'Segoe UI', Tahoma, sans-serif; --font-body: 'IBM Plex Sans Arabic', 'Segoe UI', Tahoma, sans-serif; }
html[lang=ar] * { letter-spacing: 0 !important; }
html[lang=ar] h1, html[lang=ar] h2, html[lang=ar] h3, html[lang=ar] h4 { line-height: 1.35; }
html[lang=ar] .eyebrow { font-size: .9rem; }
html[lang=ar] .logo small { font-size: .68rem; }
html[dir=rtl] .drawer { inset: 0 auto 0 0; transform: translateX(-105%); box-shadow: 20px 0 60px rgba(0,0,0,.2); }
html[dir=rtl] .drawer.open { transform: none; }
html[dir=rtl] .toggle input:checked::after { transform: translateX(18px); }

/* ===== Offer banner, preview ribbon, floating WhatsApp ===== */
.announce.offer { background: var(--wood-deep); color: #fff; display: flex; gap: .9rem; justify-content: center; align-items: center; flex-wrap: wrap; font-size: .9rem; }
.announce.offer span { background: rgba(255,255,255,.18); padding: .1rem .6rem; border-radius: 999px; font-size: .78rem; }
.announce.offer a { text-decoration: underline; }
.announce.preview { background: #7a2e1d; color: #fff; }
.announce.preview a { text-decoration: underline; }
.wa-float { position: fixed; bottom: 22px; inset-inline-end: 22px; z-index: 45; width: 56px; height: 56px; border-radius: 50%; background: #25d366; color: #fff; display: grid; place-items: center; box-shadow: 0 8px 22px rgba(0,0,0,.25); transition: transform .15s; }
.wa-float:hover { transform: scale(1.07); }
.wa-float svg { width: 30px; height: 30px; }
.cz ~ .wa-float { bottom: 58px; inset-inline-end: 418px; }
.link-btn { background: none; border: 0; padding: .3rem 0; color: var(--ink-2); text-decoration: underline; font-size: .86rem; }
.btn.wa { background: #1fa855; border-color: #1fa855; }
.btn.wa svg { width: 20px; height: 20px; }
.btn.disabled { opacity: .4; pointer-events: none; }
a.p-card { display: flex; }
.p-card .art.photo, .pp-art.photo { padding: 0; }
.p-card .art.photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

/* ===== Forms ===== */
.form { display: grid; gap: .9rem; }
.form label { display: grid; gap: .3rem; font-size: .84rem; font-weight: 600; color: var(--ink-2); }
.form input:not([type=radio]), .form select, .form textarea { font: inherit; font-weight: 400; padding: .7rem .8rem; border: 1.5px solid var(--line); border-radius: 10px; background: #fff; color: var(--ink); width: 100%; }
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--wood); }
.form h3 { margin: 1rem 0 0; }
.form .err { color: #a3301b; font-size: .9rem; margin: 0; }
.form .fine, .confirm .fine, .co-sum .fine { font-size: .8rem; color: var(--muted); margin: 0; }
.pick { display: flex !important; grid-template-columns: none; gap: .8rem; align-items: flex-start; padding: .85rem 1rem; border: 1.5px solid var(--line); border-radius: 12px; background: #fff; cursor: pointer; font-weight: 400 !important; }
.pick:has(input:checked) { border-color: var(--wood); background: #fbf6ee; }
.pick input { margin-top: .25rem; accent-color: var(--wood); }
.pick b { display: block; color: var(--ink); font-size: .95rem; }
.pick span { font-size: .84rem; color: var(--muted); }
.design-chip { display: flex; gap: .8rem; align-items: center; background: var(--cream); border-radius: 12px; padding: .6rem; }
.design-chip img { width: 96px; height: 72px; object-fit: cover; border-radius: 8px; }
.design-chip div { display: grid; gap: .1rem; font-size: .8rem; color: var(--ink-2); }
.design-chip b { font-family: var(--font-head); color: var(--ink); font-size: .9rem; }
.design-chip .p { font-family: var(--font-head); font-weight: 600; color: var(--ink); }
.done { display: grid; gap: .7rem; }
.done h3 { margin: 0; font-size: 1.3rem; }
.done p { margin: 0; color: var(--ink-2); }
dialog.quote { width: min(480px, 94vw); }
.q-body { padding: 1.8rem; position: relative; }
.q-body .close { position: absolute; top: .8rem; inset-inline-end: .8rem; background: var(--cream); border: 0; width: 36px; height: 36px; border-radius: 50%; font-size: 1.1rem; }
.q-body h2 { font-size: 1.5rem; padding-inline-end: 2rem; }

/* ===== Cart additions ===== */
.drawer .sum, .co-sum .sum { display: flex; justify-content: space-between; font-size: .92rem; color: var(--ink-2); padding: .15rem 0; }
.sum.off { color: var(--leaf); }
.sum.due { font-weight: 600; color: var(--ink); border-top: 1px dashed var(--line); margin-top: .5rem; padding-top: .6rem; }
.sum i { color: var(--muted); }
.c-item .thumb.photo, .s-item .thumb.photo { padding: 0; overflow: hidden; }
.thumb.photo img { width: 100%; height: 100%; object-fit: cover; }
.c-item .view { display: block; font-size: .78rem; color: var(--wood-deep); text-decoration: underline; margin-top: .2rem; }
.drawer footer .link-btn { display: block; margin: .6rem auto 0; }
.sg-title { font-size: .76rem; text-transform: uppercase; letter-spacing: .12em; color: var(--muted); margin: 1.2rem 0 .5rem; font-family: var(--font-body); }
.sg { display: grid; grid-template-columns: 52px 1fr auto; gap: .7rem; align-items: center; background: var(--cream); border-radius: 10px; padding: .5rem; margin-bottom: .5rem; }
.sg .thumb { background: var(--sand); border-radius: 8px; aspect-ratio: 1; padding: 4px; display: grid; place-items: center; overflow: hidden; }
.sg .thumb svg, .sg .thumb img { width: 100%; height: 100%; object-fit: cover; }
.sg b { display: block; font-size: .86rem; font-family: var(--font-head); font-weight: 500; }
.sg span { font-size: .82rem; color: var(--ink-2); }

/* ===== Product page ===== */
.crumbs { display: flex; gap: .5rem; flex-wrap: wrap; font-size: .84rem; color: var(--muted); padding: 1.4rem 0 1rem; }
.crumbs a:hover { color: var(--ink); text-decoration: underline; }
.crumbs b { font-weight: 500; color: var(--ink-2); }
.pp { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(1.5rem, 4vw, 3.5rem); align-items: start; }
.pp-art { background: var(--sand); border-radius: 20px; aspect-ratio: 1; display: grid; place-items: center; padding: 3rem; position: sticky; top: 90px; overflow: hidden; }
.pp-art svg { width: 100%; height: 100%; }
.pp-art.photo img { width: 100%; height: 100%; object-fit: cover; }
.pp-info h1 { font-size: clamp(1.8rem, 3.2vw, 2.6rem); }
.pp-info h3 { font-size: 1rem; margin: 1.4rem 0 .5rem; }
.ticks { list-style: none; padding: 0; margin: 0 0 1.2rem; display: grid; gap: .45rem; color: var(--ink-2); }
.ticks li { padding-inline-start: 1.6rem; position: relative; }
.ticks li::before { content: '✓'; position: absolute; inset-inline-start: 0; color: var(--leaf); font-weight: 700; }
.pp .buy { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-top: 1.4rem; padding-top: 1.2rem; border-top: 1px solid var(--line); }
.pp .buy .price { font-size: 1.8rem; margin: 0; padding: 0; }
.offer-note { background: #fbf1e2; border-radius: 10px; padding: .6rem .9rem; font-size: .88rem; margin: 1rem 0 0; display: flex; gap: .6rem; flex-wrap: wrap; justify-content: space-between; color: var(--wood-deep); }
.pp-links { display: flex; gap: .5rem; flex-wrap: wrap; margin-top: 1rem; }
.facts { list-style: none; padding: 1rem 0 0; margin: 1.2rem 0 0; border-top: 1px solid var(--line); font-size: .88rem; color: var(--ink-2); display: grid; gap: .3rem; }
.facts a { text-decoration: underline; }
.related { padding: 4rem 0 3rem; }

/* ===== Checkout ===== */
.co { display: grid; grid-template-columns: 1.2fr 1fr; gap: clamp(1.5rem, 4vw, 3.5rem); align-items: start; padding-bottom: 4rem; }
.co-sum { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.4rem; position: sticky; top: 90px; }
.co-sum h3 { margin-bottom: .8rem; }
.co-sum .total { display: flex; justify-content: space-between; font-family: var(--font-head); font-size: 1.3rem; font-weight: 600; border-top: 1px solid var(--line); margin-top: .6rem; padding-top: .7rem; }
.s-item { display: grid; grid-template-columns: 48px 1fr auto auto; gap: .7rem; align-items: center; padding: .5rem 0; border-bottom: 1px solid var(--line); font-size: .86rem; }
.s-item:last-of-type { margin-bottom: .7rem; }
.s-item .thumb { background: var(--sand); border-radius: 8px; aspect-ratio: 1; padding: 4px; display: grid; place-items: center; }
.s-item .thumb svg { width: 100%; height: 100%; }
.s-item b { display: block; font-family: var(--font-head); font-weight: 500; }
.s-item span { color: var(--muted); font-size: .78rem; }
.s-item .q { color: var(--muted); }
.s-item .lp { font-family: var(--font-head); font-weight: 600; white-space: nowrap; }
.confirm { max-width: 640px; padding: 4rem 0 5rem; }
.confirm h1 { font-size: clamp(2rem, 4vw, 3rem); }
.confirm .acts { display: flex; gap: .6rem; flex-wrap: wrap; margin: 1.6rem 0 1rem; }
.confirm > p > a { text-decoration: underline; color: var(--ink-2); }

/* ===== Contact, about, policies ===== */
.card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.6rem; }
.contact { display: grid; grid-template-columns: 1fr 1fr; gap: 1.6rem; align-items: start; padding-bottom: 4rem; }
.contact .row { display: grid; grid-template-columns: 130px 1fr; gap: 1rem; padding: .7rem 0; border-top: 1px solid var(--line); font-size: .95rem; }
.contact .row span { color: var(--muted); font-size: .84rem; }
.contact .row a { text-decoration: underline; }
.map { margin-top: 1.2rem; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); aspect-ratio: 16/10; }
.map iframe { width: 100%; height: 100%; border: 0; display: block; }
.about { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(1.5rem, 4vw, 4rem); align-items: start; padding-bottom: 5rem; }
.about-img { background: url('../img/raiz-brand.jpg') center/cover; border-radius: 20px; aspect-ratio: 1; }
.prose h2 { font-size: 1.5rem; margin-top: 1.6rem; }
.prose h2:first-child { margin-top: 0; }
.prose p { color: var(--ink-2); }
.prose-page { max-width: 900px; padding-bottom: 4rem; }
.policy { padding: 2.2rem 0; border-top: 1px solid var(--line); scroll-margin-top: 80px; }
.policy h2 { font-size: 1.6rem; }
.policy p { color: var(--ink-2); max-width: 70ch; }
.policy a { text-decoration: underline; }
.table-wrap { overflow-x: auto; margin: 1rem 0; border: 1px solid var(--line); border-radius: 12px; background: var(--white); }
.table { width: 100%; border-collapse: collapse; font-size: .93rem; min-width: 520px; }
.table th { text-align: start; font-family: var(--font-head); font-weight: 600; background: var(--sand); padding: .7rem 1rem; }
.table td { padding: .65rem 1rem; border-top: 1px solid var(--line); }
.table td:not(:first-child) { font-family: var(--font-head); white-space: nowrap; }

/* ===== Gallery ===== */
.gallery { columns: 3 280px; column-gap: 1rem; }
.g-item { display: block; width: 100%; padding: 0; border: 0; background: none; margin-bottom: 1rem; border-radius: 14px; overflow: hidden; position: relative; break-inside: avoid; text-align: start; }
.g-item img { width: 100%; display: block; transition: transform .3s; }
.g-item:hover img { transform: scale(1.03); }
.g-item span { position: absolute; inset: auto 0 0 0; padding: 1.6rem .9rem .7rem; background: linear-gradient(transparent, rgba(0,0,0,.65)); color: #fff; display: grid; font-size: .9rem; }
.g-item i { font-style: normal; font-size: .78rem; opacity: .85; }
.empty-gallery { background: var(--white); border: 1.5px dashed var(--line); border-radius: var(--radius); padding: 2.5rem; text-align: center; color: var(--ink-2); }
.empty-gallery p { margin: 0; }
dialog.lightbox { border: 0; padding: 0; background: transparent; max-width: 94vw; max-height: 94vh; }
.lightbox img { max-width: 94vw; max-height: 84vh; border-radius: 12px; }
.lightbox p { color: #fff; text-align: center; margin: .6rem 0 0; }
.lightbox .close { position: absolute; top: .6rem; inset-inline-end: .6rem; background: rgba(0,0,0,.55); color: #fff; border: 0; width: 36px; height: 36px; border-radius: 50%; }

/* ===== Builder buttons ===== */
.cz-buy .acts { grid-template-columns: 1fr 1fr; }
.cz-buy .acts2 { display: flex; justify-content: center; gap: 1.4rem; margin-top: .4rem; }

@media (max-width: 980px) {
  .pp, .co, .contact, .about { grid-template-columns: 1fr; }
  .pp-art, .co-sum { position: static; }
  .pp-art { aspect-ratio: 4/3; padding: 2rem; }
  .cz ~ .wa-float { inset-inline-end: 14px; bottom: 150px; width: 48px; height: 48px; }
}
html[dir=rtl] .cz-dims { direction: rtl; }

.cz-buy .acts .btn { padding: .75rem .5rem; font-size: .9rem; }

[hidden] { display: none !important; }
