/* Bride Dream Events — brand stylesheet */
:root {
  --cream: #fbf5ec;
  --cream-2: #f4eadd;
  --paper: #fffaf3;
  --ink: #161210;
  --ink-2: #3b3330;
  --muted: #7a6d67;
  --rose: #a9716a;
  --rose-deep: #8c5952;
  --rose-soft: #e9d3cc;
  --espresso: #1d1715;
  --espresso-2: #2a211e;
  --line: rgba(169, 113, 106, .35);
  --radius: 18px;
  --shadow: 0 20px 50px -24px rgba(40, 22, 18, .35);
  --f-display: "Cormorant Garamond", "Times New Roman", serif;
  --f-caps: "Cinzel", "Cormorant Garamond", serif;
  --f-body: "Jost", system-ui, -apple-system, "Segoe UI", sans-serif;
  --wrap: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
}
html[lang="ar"] {
  --f-display: "Amiri", "Cormorant Garamond", serif;
  --f-caps: "Amiri", serif;
  --f-body: "Tajawal", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--f-body);
  font-size: 17px;
  line-height: 1.7;
  font-weight: 400;
  overflow-x: hidden;
}
html[lang="ar"] body { font-size: 18px; line-height: 1.85; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
:focus-visible { outline: 2px solid var(--rose); outline-offset: 3px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }

/* ---------- type ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 14px;
  font-family: var(--f-caps); font-size: 13px; letter-spacing: .32em; text-transform: uppercase;
  color: var(--rose);
}
html[lang="ar"] .eyebrow { letter-spacing: 0; font-size: 16px; }
.eyebrow::before { content: ""; width: 38px; height: 1px; background: currentColor; }
.eyebrow.center::after { content: ""; width: 38px; height: 1px; background: currentColor; }
h1, h2, h3 { font-family: var(--f-display); font-weight: 500; line-height: 1.08; margin: 0; letter-spacing: -.005em; }
html[lang="ar"] h1, html[lang="ar"] h2, html[lang="ar"] h3 { line-height: 1.35; font-weight: 700; }
h2 { font-size: clamp(34px, 5vw, 58px); }
h2 em, h1 em { font-style: italic; color: var(--rose); }
html[lang="ar"] h2 em, html[lang="ar"] h1 em { font-style: normal; }
.lead { font-size: clamp(17px, 1.6vw, 19px); color: var(--ink-2); max-width: 60ch; }
.section-head { display: grid; gap: 18px; margin-bottom: clamp(36px, 5vw, 60px); }
.section-head.center { text-align: center; justify-items: center; }
.section-head.center .lead { margin-inline: auto; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 15px 28px; border-radius: 999px; border: 1px solid transparent;
  font-family: var(--f-body); font-size: 14px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase;
  transition: background .25s, color .25s, border-color .25s, transform .25s;
  white-space: nowrap;
}
html[lang="ar"] .btn { letter-spacing: 0; font-size: 16px; font-weight: 700; }
.btn:hover { transform: translateY(-2px); }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn-rose { background: var(--rose); color: #fff; }
.btn-rose:hover { background: var(--rose-deep); }
.btn-ghost { border-color: currentColor; background: transparent; }
.btn-ghost:hover { background: rgba(255,255,255,.08); }
.btn-ink { background: var(--ink); color: var(--cream); }
.btn-ink:hover { background: var(--rose-deep); }
.btn-line { border-color: var(--line); color: var(--ink); background: transparent; }
.btn-line:hover { border-color: var(--rose); color: var(--rose-deep); }

/* ---------- header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  transition: background .35s, box-shadow .35s, padding .35s;
  padding-block: 18px;
}
.site-header.solid, .site-header.always-solid {
  background: rgba(251, 245, 236, .94);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 var(--line);
  padding-block: 10px;
}
.nav { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand img { height: 52px; width: auto; transition: height .35s; }
.site-header.solid .brand img, .site-header.always-solid .brand img { height: 44px; }
.brand .brand-light { display: block; }
.brand .brand-dark { display: none; }
.site-header.solid .brand-light, .site-header.always-solid .brand-light { display: none; }
.site-header.solid .brand-dark, .site-header.always-solid .brand-dark { display: block; }
.brand-name { font-family: var(--f-caps); font-size: 15px; letter-spacing: .22em; line-height: 1.2; color: #fff; }
.brand-name small { display: block; font-size: 10px; letter-spacing: .5em; color: var(--rose-soft); }
.site-header.solid .brand-name, .site-header.always-solid .brand-name { color: var(--ink); }
.site-header.solid .brand-name small, .site-header.always-solid .brand-name small { color: var(--rose); }

.menu { display: flex; align-items: center; gap: clamp(14px, 2.2vw, 30px); list-style: none; margin: 0; padding: 0; }
.menu a { white-space: nowrap;
  font-size: 13px; letter-spacing: .16em; text-transform: uppercase; color: rgba(255,255,255,.88);
  position: relative; padding-block: 6px;
}
html[lang="ar"] .menu a { letter-spacing: 0; font-size: 16px; }
.menu a::after { content: ""; position: absolute; inset-inline: 0; bottom: 0; height: 1px; background: var(--rose); transform: scaleX(0); transition: transform .3s; }
.menu a:hover::after, .menu a.active::after { transform: scaleX(1); }
.site-header.solid .menu a, .site-header.always-solid .menu a { color: var(--ink); }
.nav-actions { display: flex; align-items: center; gap: 10px; }
.lang-btn {
  border: 1px solid rgba(255,255,255,.5); background: transparent; color: #fff;
  border-radius: 999px; padding: 7px 14px; font-size: 14px; font-family: "Tajawal", var(--f-body);
}
.site-header.solid .lang-btn, .site-header.always-solid .lang-btn { color: var(--ink); border-color: var(--line); }
.nav-cta { padding: 11px 20px; font-size: 12px; }
.burger { display: none; width: 44px; height: 44px; border: 0; background: transparent; padding: 10px; color: #fff; }
.site-header.solid .burger, .site-header.always-solid .burger { color: var(--ink); }
.burger span { display: block; height: 1.5px; background: currentColor; margin: 6px 0; transition: transform .3s, opacity .3s; }

@media (max-width: 1100px) {
  .burger { display: block; }
  .nav-cta { display: none; }
  .menu {
    position: fixed; inset: 0; background: var(--espresso); flex-direction: column; justify-content: center; gap: 26px;
    opacity: 0; pointer-events: none; transition: opacity .35s;
  }
  .menu a, .site-header.solid .menu a, .site-header.always-solid .menu a { color: var(--cream); font-size: 20px; font-family: var(--f-display); letter-spacing: .08em; }
  body.menu-open .menu { opacity: 1; pointer-events: auto; }
  body.menu-open .site-header { backdrop-filter: none; -webkit-backdrop-filter: none; }
  body.menu-open .burger { color: var(--cream); position: relative; z-index: 2; }
  body.menu-open .burger span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
  body.menu-open .burger span:nth-child(2) { opacity: 0; }
  body.menu-open .burger span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }
  .lang-btn { position: relative; z-index: 2; }
  body.menu-open .lang-btn { color: var(--cream); border-color: rgba(255,255,255,.4); }
}
@media (max-width: 1260px) {
  .brand-name { display: none; }
}

/* ---------- hero ---------- */
.hero {
  position: relative; min-height: 100svh; display: grid; align-items: end;
  color: var(--cream); overflow: hidden; isolation: isolate;
}
.hero-media { position: absolute; inset: 0; z-index: -2; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.06); animation: slowzoom 18s ease-out forwards; }
.hero-media img + img { position: absolute; inset: 0; opacity: 0; transition: opacity 1.6s; }
.hero-media img.on { opacity: 1; }
@keyframes slowzoom { to { transform: scale(1); } }
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(180deg, rgba(20,14,12,.55) 0%, rgba(20,14,12,.15) 35%, rgba(20,14,12,.55) 70%, rgba(20,14,12,.92) 100%);
}
.hero-inner { padding-block: 140px clamp(48px, 8vh, 90px); display: grid; gap: 26px; }
.hero h1 { font-size: clamp(44px, 8vw, 104px); font-weight: 400; max-width: 13ch; }
html[lang="ar"] .hero h1 { font-size: clamp(40px, 7vw, 86px); }
.hero h1 em { color: var(--rose-soft); }
.hero .lead { color: rgba(251,245,236,.86); max-width: 52ch; }
.hero .eyebrow { color: var(--rose-soft); }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 6px; }
.hero-stats {
  margin-top: clamp(28px, 5vh, 56px); border-top: 1px solid rgba(255,255,255,.18);
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; padding-top: 24px;
}
.hero-stats b { display: block; font-family: var(--f-display); font-weight: 500; font-size: clamp(30px, 3.6vw, 44px); line-height: 1; color: #fff; }
.hero-stats span { font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: rgba(251,245,236,.7); }
html[lang="ar"] .hero-stats span { letter-spacing: 0; font-size: 15px; }
@media (max-width: 700px) { .hero-stats { grid-template-columns: repeat(2, 1fr); } }

/* ---------- sections ---------- */
section { position: relative; }
.pad { padding-block: clamp(80px, 11vw, 140px); }
.bg-paper { background: var(--paper); }
.bg-cream2 { background: var(--cream-2); }
.bg-dark { background: var(--espresso); color: var(--cream); }
.bg-dark .lead { color: rgba(251,245,236,.75); }
.bg-dark h2 em { color: var(--rose-soft); }

/* double frame — echoes the logo border */
.frame { position: relative; border: 1px solid var(--rose); border-radius: var(--radius); padding: 10px; }
.frame::before { content: ""; position: absolute; inset: 5px; border: 2.5px solid var(--rose); border-radius: calc(var(--radius) - 4px); pointer-events: none; opacity: .55; }
.frame > img { border-radius: calc(var(--radius) - 8px); width: 100%; height: 100%; object-fit: cover; }

/* about */
.about-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(36px, 6vw, 90px); align-items: center; }
.about-visual { position: relative; }
.about-visual .frame { aspect-ratio: 4 / 5; }
.about-visual .badge {
  position: absolute; inset-inline-end: -18px; bottom: 34px; width: 150px; aspect-ratio: 1; border-radius: 50%;
  background: var(--cream); display: grid; place-items: center; box-shadow: var(--shadow); border: 1px solid var(--line); padding: 20px;
}
.about-visual .badge img { width: 74%; }
.about-text p { color: var(--ink-2); margin: 0 0 18px; }
.about-text .since { font-family: var(--f-display); font-size: clamp(64px, 9vw, 120px); line-height: .9; color: var(--rose); font-weight: 400; display: block; margin: 18px 0 6px; }
.signature { margin-top: 28px; display: flex; align-items: center; gap: 16px; font-family: var(--f-display); font-style: italic; font-size: 22px; color: var(--rose-deep); }
.signature::before { content: ""; width: 50px; height: 1px; background: var(--rose); }
@media (max-width: 880px) {
  .about-grid { grid-template-columns: 1fr; }
  .about-visual { max-width: 520px; }
  .about-visual .badge { inset-inline-end: 8px; width: 120px; }
}

/* services */
.services-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); }
.services-list li {
  display: flex; align-items: baseline; gap: 18px; padding: 22px 6px; border-bottom: 1px solid var(--line);
  font-family: var(--f-display); font-size: clamp(21px, 2vw, 25px); transition: color .25s, padding .25s;
}
.services-list li:hover { color: var(--rose-deep); padding-inline-start: 14px; }
.services-list li small { font-family: var(--f-caps); font-size: 12px; color: var(--rose); letter-spacing: .1em; min-width: 26px; }
@media (min-width: 701px) { .services-list li:not(:nth-child(3n+1)) { border-inline-start: 1px solid var(--line); padding-inline-start: 24px; } .services-list li:not(:nth-child(3n+1)):hover { padding-inline-start: 34px; } }
@media (max-width: 1000px) and (min-width: 701px) { .services-list { grid-template-columns: repeat(2, 1fr); } .services-list li { border-inline-start: 0 !important; padding-inline-start: 6px !important; } }
@media (max-width: 700px) { .services-list { grid-template-columns: 1fr; } }

.tech-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: clamp(50px, 7vw, 80px); }
.tech-card {
  background: var(--espresso-2); border: 1px solid rgba(233,211,204,.14); border-radius: var(--radius); padding: 30px 26px;
  transition: transform .3s, border-color .3s;
}
.tech-card:hover { transform: translateY(-6px); border-color: rgba(233,211,204,.4); }
.tech-card .ico { width: 52px; height: 52px; border-radius: 50%; border: 1px solid var(--rose); display: grid; place-items: center; color: var(--rose-soft); margin-bottom: 22px; }
.tech-card .ico svg { width: 24px; height: 24px; }
.tech-card h3 { font-size: 26px; margin-bottom: 14px; color: #fff; }
.tech-card ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.tech-card li { font-size: 15px; color: rgba(251,245,236,.72); padding-inline-start: 18px; position: relative; line-height: 1.55; }
.tech-card li::before { content: ""; position: absolute; inset-inline-start: 0; top: .7em; width: 8px; height: 1px; background: var(--rose); }
@media (max-width: 1100px) { .tech-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .tech-grid { grid-template-columns: 1fr; } }

/* portfolio */
.masonry { columns: 3 300px; column-gap: 16px; }
.masonry figure { margin: 0 0 16px; break-inside: avoid; border-radius: 14px; overflow: hidden; position: relative; cursor: zoom-in; background: var(--cream-2); }
.masonry img { width: 100%; height: auto; transition: transform .8s cubic-bezier(.2,.7,.2,1), filter .5s; }
.masonry figure:hover img { transform: scale(1.04); }
.masonry figure::after { content: ""; position: absolute; inset: 0; background: linear-gradient(transparent 60%, rgba(20,14,12,.35)); opacity: 0; transition: opacity .4s; }
.masonry figure:hover::after { opacity: 1; }

/* 3D designs */
.designs-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.designs-grid button { border: 0; padding: 0; border-radius: 12px; overflow: hidden; aspect-ratio: 4 / 3; background: #000; cursor: zoom-in; position: relative; }
.designs-grid img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s cubic-bezier(.2,.7,.2,1), opacity .4s; opacity: .92; }
.designs-grid button:hover img { transform: scale(1.05); opacity: 1; }
.designs-grid .hidden-item { display: none; }
.designs-grid.show-all .hidden-item { display: block; }
.designs-more { text-align: center; margin-top: 36px; }
@media (max-width: 800px) { .designs-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; } }

/* furniture teaser */
.cat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.cat-card {
  position: relative; display: block; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 3.3; background: var(--cream-2);
  isolation: isolate; box-shadow: var(--shadow);
}
.cat-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .9s cubic-bezier(.2,.7,.2,1); }
.cat-card::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, transparent 40%, rgba(20,14,12,.82)); }
.cat-card:hover img { transform: scale(1.06); }
.cat-card .cat-txt { position: absolute; inset-inline: 22px; bottom: 20px; color: #fff; display: flex; justify-content: space-between; align-items: flex-end; gap: 10px; }
.cat-card h3 { font-size: 27px; }
.cat-card span { font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: var(--rose-soft); white-space: nowrap; }
html[lang="ar"] .cat-card span { letter-spacing: 0; font-size: 15px; }
.cat-card .arrow { width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(255,255,255,.5); display: grid; place-items: center; flex: none; transition: background .3s; }
.cat-card:hover .arrow { background: var(--rose); border-color: var(--rose); }
.cat-card .arrow svg { width: 16px; }
html[dir="rtl"] .arrow svg, html[dir="rtl"] .flip-rtl { transform: scaleX(-1); }
@media (max-width: 900px) { .cat-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .cat-grid { grid-template-columns: 1fr; } }
.catalog-cta { display: flex; justify-content: center; margin-top: 44px; }

/* mission */
.mvv { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper); }
.mvv article { padding: clamp(30px, 4vw, 48px); }
.mvv article + article { border-inline-start: 1px solid var(--line); }
.mvv .ico { width: 58px; height: 58px; color: var(--rose); margin-bottom: 22px; }
.mvv h3 { font-size: 32px; margin-bottom: 12px; }
.mvv p { margin: 0; color: var(--ink-2); }
@media (max-width: 860px) { .mvv { grid-template-columns: 1fr; } .mvv article + article { border-inline-start: 0; border-top: 1px solid var(--line); } }

/* process */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; counter-reset: step; }
.step { border-top: 1px solid var(--rose); padding-top: 22px; }
.step::before { counter-increment: step; content: "0" counter(step); font-family: var(--f-display); font-size: 46px; color: var(--rose); line-height: 1; display: block; margin-bottom: 14px; }
.step h3 { font-size: 26px; margin-bottom: 8px; }
.step p { margin: 0; color: var(--ink-2); font-size: 16px; }
@media (max-width: 900px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; } }

/* warehouse band */
.band { position: relative; overflow: hidden; isolation: isolate; color: var(--cream); text-align: center; }
.band img.bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.band::after { content: ""; position: absolute; inset: 0; background: rgba(24,17,15,.72); z-index: -1; }
.band .inner { display: grid; justify-items: center; gap: 22px; padding-block: clamp(90px, 12vw, 150px); }
.band h2 { max-width: 18ch; }
.band .lead { color: rgba(251,245,236,.82); margin-inline: auto; }

/* contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(30px, 5vw, 70px); align-items: start; }
.contact-info { display: grid; gap: 26px; }
.info-row { display: flex; gap: 18px; align-items: flex-start; }
.info-row .ico { width: 48px; height: 48px; border-radius: 50%; background: var(--paper); border: 1px solid var(--line); display: grid; place-items: center; color: var(--rose); flex: none; }
.info-row .ico svg { width: 20px; height: 20px; }
.info-row h4 { margin: 0 0 2px; font-family: var(--f-caps); font-size: 12px; letter-spacing: .24em; color: var(--rose); text-transform: uppercase; font-weight: 500; }
html[lang="ar"] .info-row h4 { letter-spacing: 0; font-size: 15px; }
.info-row p, .info-row a { margin: 0; font-size: 17px; }
.info-row a:hover { color: var(--rose-deep); }
.ltr { direction: ltr; unicode-bidi: embed; display: inline-block; }
.map { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); aspect-ratio: 16 / 10; background: var(--cream-2); }
.map iframe { width: 100%; height: 100%; border: 0; filter: grayscale(.4) sepia(.15); }

.form { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(24px, 4vw, 44px); box-shadow: var(--shadow); display: grid; gap: 18px; }
.form h3 { font-size: 32px; }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: grid; gap: 6px; }
.field label { font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }
html[lang="ar"] .field label { letter-spacing: 0; font-size: 15px; }
.field input, .field select, .field textarea {
  width: 100%; border: 0; border-bottom: 1px solid var(--line); background: transparent; padding: 10px 2px; font: inherit; font-size: 17px; color: var(--ink); border-radius: 0;
}
.field textarea { resize: vertical; min-height: 96px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-bottom-color: var(--rose); }
.form .note { font-size: 14px; color: var(--muted); margin: 0; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .form .row { grid-template-columns: 1fr; } }

/* footer */
.site-footer { background: var(--espresso); color: rgba(251,245,236,.75); padding-block: 70px 30px; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; }
.foot-grid img { height: 120px; width: auto; margin-bottom: 18px; }
.foot-grid h4 { font-family: var(--f-caps); color: var(--rose-soft); font-weight: 500; letter-spacing: .24em; font-size: 13px; text-transform: uppercase; margin: 0 0 16px; }
html[lang="ar"] .foot-grid h4 { letter-spacing: 0; font-size: 16px; }
.foot-grid ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.foot-grid a:hover { color: #fff; }
.socials { display: flex; gap: 10px; margin-top: 18px; }
.socials a { width: 42px; height: 42px; border-radius: 50%; border: 1px solid rgba(233,211,204,.3); display: grid; place-items: center; transition: background .3s, border-color .3s; }
.socials a:hover { background: var(--rose); border-color: var(--rose); color: #fff; }
.socials svg { width: 18px; height: 18px; }
.foot-bottom { border-top: 1px solid rgba(233,211,204,.15); margin-top: 50px; padding-top: 24px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; font-size: 14px; }
@media (max-width: 800px) { .foot-grid { grid-template-columns: 1fr; } }

/* floating whatsapp */
.wa-float {
  position: fixed; inset-inline-end: 20px; bottom: 20px; z-index: 60; width: 58px; height: 58px; border-radius: 50%;
  background: #25d366; color: #fff; display: grid; place-items: center; box-shadow: 0 12px 30px -8px rgba(0,0,0,.4);
  transition: transform .3s;
}
.wa-float:hover { transform: scale(1.08); }
.wa-float svg { width: 30px; height: 30px; }

/* lightbox */
.lightbox { position: fixed; inset: 0; z-index: 100; background: rgba(14,10,9,.94); display: none; align-items: center; justify-content: center; padding: 60px 16px; }
.lightbox.open { display: flex; }
.lightbox img { max-width: min(1200px, 100%); max-height: 100%; object-fit: contain; border-radius: 8px; }
.lb-btn { position: absolute; width: 50px; height: 50px; border-radius: 50%; border: 1px solid rgba(255,255,255,.3); background: rgba(0,0,0,.3); color: #fff; display: grid; place-items: center; }
.lb-btn svg { width: 22px; }
.lb-close { top: 14px; inset-inline-end: 14px; }
.lb-prev { inset-inline-start: 14px; top: 50%; transform: translateY(-50%); }
.lb-next { inset-inline-end: 14px; top: 50%; transform: translateY(-50%); }
html[dir="rtl"] .lb-prev svg, html[dir="rtl"] .lb-next svg { transform: scaleX(-1); }
.lb-count { position: absolute; bottom: 18px; left: 0; right: 0; text-align: center; color: rgba(255,255,255,.6); font-size: 14px; letter-spacing: .2em; }

/* reveal */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 1s cubic-bezier(.2,.7,.2,1), transform 1s cubic-bezier(.2,.7,.2,1); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero-media img { animation: none; transform: none; }
  html { scroll-behavior: auto; }
}

/* ================= catalog page ================= */
.page-hero { background: var(--espresso); color: var(--cream); padding-block: 150px 70px; position: relative; overflow: hidden; isolation: isolate; }
.page-hero img.bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .35; z-index: -1; }
.page-hero h1 { font-size: clamp(44px, 7vw, 86px); font-weight: 400; }
.page-hero h1 em { color: var(--rose-soft); }
.page-hero .lead { color: rgba(251,245,236,.8); margin-top: 16px; }
.page-hero .eyebrow { color: var(--rose-soft); }

.cat-toolbar { position: sticky; top: 64px; z-index: 30; background: rgba(251,245,236,.96); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.cat-toolbar .wrap { display: flex; gap: 14px; align-items: center; padding-block: 12px; }
.chips { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; flex: 1; padding-block: 2px; }
.chips::-webkit-scrollbar { display: none; }
.chip { border: 1px solid var(--line); background: transparent; border-radius: 999px; padding: 8px 16px; font-size: 14px; white-space: nowrap; color: var(--ink-2); transition: all .2s; }
.chip b { font-weight: 500; color: var(--rose); margin-inline-start: 4px; font-size: 12px; }
.chip.active { background: var(--ink); color: var(--cream); border-color: var(--ink); }
.chip.active b { color: var(--rose-soft); }
.search { position: relative; flex: 0 0 240px; }
.search input { width: 100%; border: 1px solid var(--line); background: var(--paper); border-radius: 999px; padding: 9px 16px 9px 38px; font: inherit; font-size: 15px; }
html[dir="rtl"] .search input { padding: 9px 38px 9px 16px; }
.search svg { position: absolute; inset-inline-start: 13px; top: 50%; transform: translateY(-50%); width: 16px; color: var(--muted); }
@media (max-width: 760px) { .cat-toolbar .wrap { flex-direction: column; align-items: stretch; gap: 10px; } .search { flex: none; } }

.cat-section { padding-block: 50px 10px; scroll-margin-top: 140px; }
.cat-section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; border-bottom: 1px solid var(--line); padding-bottom: 14px; margin-bottom: 26px; }
.cat-section-head h2 { font-size: clamp(30px, 4vw, 44px); }
.cat-section-head span { color: var(--muted); font-size: 14px; letter-spacing: .12em; text-transform: uppercase; }
html[lang="ar"] .cat-section-head span { letter-spacing: 0; }
.products { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 20px; }
.product { background: var(--paper); border: 1px solid rgba(169,113,106,.2); border-radius: 16px; overflow: hidden; display: flex; flex-direction: column; transition: transform .3s, box-shadow .3s; }
.product:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.product .ph { border: 0; padding: 0; background: linear-gradient(180deg, #f4f2ef, #e9e6e2); aspect-ratio: 1 / .82; position: relative; overflow: hidden; display: block; width: 100%; cursor: zoom-in; }
.product .ph img { width: 100%; height: 100%; object-fit: contain; transition: transform .6s; }
.product:hover .ph img { transform: scale(1.04); }
.product .more-ph { position: absolute; top: 10px; inset-inline-end: 10px; background: rgba(22,18,16,.7); color: #fff; font-size: 12px; border-radius: 999px; padding: 3px 9px; }
.product .body { padding: 16px 18px 18px; display: grid; gap: 6px; flex: 1; align-content: start; }
.product .code { font-family: var(--f-caps); font-size: 11px; letter-spacing: .24em; color: var(--rose); }
.product h3 { font-family: var(--f-display); font-size: 22px; font-weight: 600; line-height: 1.15; }
.product .meta { display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: 13.5px; color: var(--muted); }
.product .meta span { direction: ltr; }
.product .add { margin-top: 10px; border: 1px solid var(--line); background: transparent; border-radius: 999px; padding: 9px 14px; font-size: 13px; letter-spacing: .1em; text-transform: uppercase; display: flex; align-items: center; justify-content: center; gap: 8px; transition: all .2s; }
html[lang="ar"] .product .add { letter-spacing: 0; font-size: 15px; }
.product .add:hover { border-color: var(--rose); color: var(--rose-deep); }
.product .add.added { background: var(--rose); border-color: var(--rose); color: #fff; }
.product .add svg { width: 15px; height: 15px; }
@media (max-width: 600px) {
  .products { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .product .body { padding: 12px 12px 14px; gap: 4px; }
  .product h3 { font-size: 18px; }
  .product .meta { font-size: 12px; }
  .product .code { font-size: 10px; letter-spacing: .16em; }
  .product .add { font-size: 11px; letter-spacing: .04em; padding: 8px 6px; gap: 5px; }
  html[lang="ar"] .product .add { font-size: 13px; }
  .product .more-ph { font-size: 11px; top: 6px; inset-inline-end: 6px; }
}
body.has-quote .wa-float { bottom: 88px; }
.empty { text-align: center; color: var(--muted); padding: 80px 0; display: none; }

/* quote bar + drawer */
.quote-bar {
  position: fixed; bottom: 18px; left: 50%; transform: translate(-50%, 140%); z-index: 55;
  background: var(--ink); color: var(--cream); border-radius: 999px; padding: 10px 10px 10px 24px; display: flex; align-items: center; gap: 16px;
  box-shadow: 0 18px 40px -12px rgba(0,0,0,.5); transition: transform .4s cubic-bezier(.2,.7,.2,1); max-width: calc(100% - 110px);
}
html[dir="rtl"] .quote-bar { padding: 10px 24px 10px 10px; }
.quote-bar.show { transform: translate(-50%, 0); }
.quote-bar .btn { padding: 11px 18px; font-size: 12px; }
.quote-bar .count { font-size: 15px; white-space: nowrap; }
.drawer-back { position: fixed; inset: 0; background: rgba(14,10,9,.5); z-index: 90; opacity: 0; pointer-events: none; transition: opacity .3s; }
.drawer { position: fixed; top: 0; bottom: 0; inset-inline-end: 0; width: min(440px, 100%); background: var(--cream); z-index: 91; transform: translateX(105%); transition: transform .4s cubic-bezier(.2,.7,.2,1); display: flex; flex-direction: column; }
html[dir="rtl"] .drawer { transform: translateX(-105%); }
body.drawer-open .drawer { transform: none; }
body.drawer-open .drawer-back { opacity: 1; pointer-events: auto; }
.drawer header { display: flex; justify-content: space-between; align-items: center; padding: 22px 24px; border-bottom: 1px solid var(--line); }
.drawer header h3 { font-size: 30px; }
.drawer .x { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); background: transparent; display: grid; place-items: center; }
.drawer .x svg { width: 18px; }
.drawer .list { flex: 1; overflow-y: auto; padding: 10px 24px; }
.q-item { display: grid; grid-template-columns: 64px 1fr auto; gap: 14px; align-items: center; padding: 12px 0; border-bottom: 1px solid rgba(169,113,106,.2); }
.q-item img { width: 64px; height: 64px; object-fit: cover; border-radius: 10px; }
.q-item .t { font-size: 15px; line-height: 1.3; }
.q-item .t small { display: block; color: var(--rose); font-size: 11px; letter-spacing: .2em; font-family: var(--f-caps); }
.qty { display: flex; align-items: center; border: 1px solid var(--line); border-radius: 999px; }
.qty button { width: 30px; height: 30px; border: 0; background: transparent; font-size: 17px; }
.qty input { width: 46px; border: 0; background: transparent; text-align: center; font: inherit; font-size: 15px; -moz-appearance: textfield; }
.qty input::-webkit-outer-spin-button, .qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.q-remove { grid-column: 3; justify-self: end; border: 0; background: none; color: var(--muted); font-size: 12px; text-decoration: underline; padding: 0; }
.drawer footer { padding: 18px 24px 24px; border-top: 1px solid var(--line); display: grid; gap: 12px; background: var(--paper); }
.drawer footer .row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.drawer .field input { font-size: 15px; padding: 7px 2px; }
.drawer .q-empty { color: var(--muted); text-align: center; padding: 50px 10px; }

/* product modal */
.pmodal { position: fixed; inset: 0; z-index: 100; background: rgba(14,10,9,.86); display: none; align-items: center; justify-content: center; padding: 16px; }
.pmodal.open { display: flex; }
.pmodal .card { background: var(--cream); border-radius: 20px; overflow: hidden; width: min(980px, 100%); max-height: calc(100svh - 32px); display: grid; grid-template-columns: 1.3fr 1fr; position: relative; }
.pmodal .gal { background: #efeae4; display: grid; grid-template-rows: 1fr auto; min-height: 0; }
.pmodal .gal .main { width: 100%; height: 100%; object-fit: contain; min-height: 0; max-height: 70svh; }
.pmodal .thumbs { display: flex; gap: 8px; padding: 10px; }
.pmodal .thumbs button { width: 64px; height: 52px; border: 2px solid transparent; border-radius: 8px; overflow: hidden; padding: 0; background: none; }
.pmodal .thumbs button.on { border-color: var(--rose); }
.pmodal .thumbs img { width: 100%; height: 100%; object-fit: cover; }
.pmodal .info { padding: 34px 30px; display: grid; gap: 12px; align-content: start; overflow-y: auto; }
.pmodal .info h3 { font-size: 34px; }
.pmodal dl { display: grid; grid-template-columns: auto 1fr; gap: 8px 18px; margin: 8px 0 10px; font-size: 15px; }
.pmodal dt { color: var(--muted); }
.pmodal dd { margin: 0; direction: ltr; text-align: start; }
html[dir="rtl"] .pmodal dd { text-align: right; }
.pmodal .x { position: absolute; top: 12px; inset-inline-end: 12px; width: 42px; height: 42px; border-radius: 50%; background: rgba(251,245,236,.9); border: 1px solid var(--line); display: grid; place-items: center; z-index: 2; }
.pmodal .x svg { width: 18px; }
@media (max-width: 760px) {
  .pmodal .card { grid-template-columns: 1fr; overflow-y: auto; }
  .pmodal .gal .main { max-height: 46svh; }
  .pmodal .info { padding: 22px 20px 26px; }
}
.toast { position: fixed; top: 86px; left: 50%; transform: translate(-50%, -20px); background: var(--ink); color: var(--cream); padding: 10px 20px; border-radius: 999px; font-size: 14px; opacity: 0; transition: all .3s; z-index: 120; pointer-events: none; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }
