/* ============================================================
   VELORA — Fashion Store
   Identity: #111111 / #FFFFFF / #C6A875 on #F7F7F5
   Modern. Minimal. Premium.
   ============================================================ */

:root {
  --black: #111111;
  --ink: #1a1a1a;
  --white: #ffffff;
  --gold: #c6a875;
  --gold-soft: #d9c49a;
  --gold-deep: #a8895a;
  --bg: #f7f7f5;
  --text: #222222;
  --muted: #7a7a76;
  --line: #e6e4de;
  --line-dark: #2a2a2a;
  --danger: #c0392b;
  --success: #1e7e4d;
  --radius: 14px;
  --radius-sm: 9px;
  --shadow: 0 18px 45px rgba(17, 17, 17, 0.10);
  --shadow-sm: 0 6px 18px rgba(17, 17, 17, 0.08);
  --font-display: "Playfair Display", "Cairo", serif;
  --font-body: "Inter", "Cairo", system-ui, sans-serif;
  --header-h: 68px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: hidden;
}

[dir="rtl"] body, [dir="rtl"] { font-family: "Cairo", var(--font-body); }

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
input, select, textarea { font-family: inherit; font-size: 1rem; color: var(--text); }
ul { list-style: none; }

::selection { background: var(--gold); color: var(--black); }

h1, h2, h3, .display { font-family: var(--font-display); font-weight: 600; line-height: 1.2; }
[dir="rtl"] h1, [dir="rtl"] h2, [dir="rtl"] h3, [dir="rtl"] .display { font-family: "Cairo", var(--font-display); font-weight: 700; }

/* ---------- Splash ---------- */
#splash {
  position: fixed; inset: 0; z-index: 200;
  background: var(--black);
  display: flex; align-items: center; justify-content: center;
  transition: opacity 0.55s var(--ease), visibility 0.55s;
}
#splash.hide { opacity: 0; visibility: hidden; }
.splash-inner { text-align: center; }
.splash-logo { width: 120px; margin: 0 auto 22px; filter: drop-shadow(0 6px 20px rgba(198,168,117,.35)); }
.splash-bar { width: 160px; height: 2px; background: #2c2c2c; margin: 0 auto; overflow: hidden; border-radius: 2px; }
.splash-bar span { display: block; height: 100%; width: 40%; background: var(--gold); animation: splashslide 1s infinite var(--ease); }
@keyframes splashslide { 0% { transform: translateX(-110%);} 100% { transform: translateX(420%);} }

/* ---------- Layout helpers ---------- */
.container { width: min(1200px, 92%); margin-inline: auto; }
.section { padding: 72px 0; }
.section.dark { background: var(--black); color: var(--white); }
.section-head { text-align: center; margin-bottom: 44px; }
.section-head .eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: .78rem; letter-spacing: .32em; text-transform: uppercase;
  color: var(--gold-deep); font-weight: 600;
}
.section-head .eyebrow::before, .section-head .eyebrow::after {
  content: ""; width: 34px; height: 1px; background: var(--gold);
}
.section-head h2 { font-size: clamp(1.7rem, 4vw, 2.5rem); margin-top: 10px; }
.section.dark .section-head h2 { color: var(--white); }
.section-head p { color: var(--muted); max-width: 560px; margin: 10px auto 0; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 30px; border-radius: 999px;
  font-weight: 600; font-size: .92rem; letter-spacing: .04em;
  transition: transform .25s var(--ease), box-shadow .25s, background .25s, color .25s;
  border: 1px solid transparent; user-select: none; white-space: nowrap;
}
.btn:active { transform: scale(.97); }
.btn-gold { background: var(--gold); color: var(--black); }
.btn-gold:hover { background: var(--gold-soft); box-shadow: 0 10px 26px rgba(198,168,117,.35); transform: translateY(-2px); }
.btn-dark { background: var(--black); color: var(--white); }
.btn-dark:hover { background: var(--ink); transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.btn-outline { border-color: var(--black); color: var(--black); background: transparent; }
.btn-outline:hover { background: var(--black); color: var(--white); }
.btn-outline-light { border-color: rgba(255,255,255,.5); color: var(--white); background: transparent; }
.btn-outline-light:hover { border-color: var(--gold); color: var(--gold); }
.btn-ghost { color: var(--muted); padding: 10px 14px; }
.btn-ghost:hover { color: var(--black); }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .45; pointer-events: none; }
.btn svg { width: 16px; height: 16px; flex-shrink: 0; }
.btn-sm { padding: 9px 18px; font-size: .82rem; }
.btn-sm svg { width: 14px; height: 14px; }

/* ---------- Announcement bar ---------- */
.announce {
  background: var(--black); color: var(--gold-soft);
  font-size: .78rem; letter-spacing: .18em; text-transform: uppercase;
  overflow: hidden; white-space: nowrap; padding: 9px 0; position: relative;
}
.announce-track { display: inline-flex; gap: 64px; animation: marquee 26s linear infinite; will-change: transform; }
[dir="rtl"] .announce-track { animation-name: marquee-rtl; }
.announce-track span { display: inline-flex; align-items: center; gap: 10px; }
.announce-track i { width: 5px; height: 5px; background: var(--gold); border-radius: 50%; display: inline-block; }
@keyframes marquee { from { transform: translateX(0);} to { transform: translateX(-50%);} }
@keyframes marquee-rtl { from { transform: translateX(0);} to { transform: translateX(50%);} }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 90;
  background: rgba(17,17,17,.92); backdrop-filter: blur(14px);
  color: var(--white);
  border-bottom: 1px solid rgba(198,168,117,.18);
}
.navbar { height: var(--header-h); display: flex; align-items: center; gap: 20px; }
.brand { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.brand img { height: 40px; width: auto; }
.brand-text { font-family: var(--font-display); font-size: 1.35rem; letter-spacing: .18em; color: var(--white); }
.brand-text small { display: block; font-family: var(--font-body); font-size: .52rem; letter-spacing: .42em; color: var(--gold); margin-top: -3px; }
.nav-links { display: flex; align-items: center; gap: 20px; margin-inline-start: auto; }
.nav-links a {
  font-size: .82rem; font-weight: 500; letter-spacing: .05em; color: #d8d6d1;
  padding: 6px 2px; position: relative; transition: color .2s; white-space: nowrap;
}
.nav-links a::after {
  content: ""; position: absolute; bottom: 0; inset-inline-start: 0;
  width: 0; height: 1.5px; background: var(--gold); transition: width .3s var(--ease);
}
.nav-links a:hover, .nav-links a.active { color: var(--gold-soft); }
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }
.nav-actions { display: flex; align-items: center; gap: 4px; margin-inline-start: 8px; }
.icon-btn {
  position: relative; width: 42px; height: 42px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  color: #e8e6e1; transition: background .2s, color .2s;
}
.icon-btn:hover { background: rgba(198,168,117,.14); color: var(--gold-soft); }
.icon-btn svg { width: 21px; height: 21px; }
.count-badge {
  position: absolute; top: 3px; inset-inline-end: 2px;
  min-width: 17px; height: 17px; padding: 0 4px; border-radius: 999px;
  background: var(--gold); color: var(--black);
  font-size: .64rem; font-weight: 700; display: flex; align-items: center; justify-content: center;
}
.lang-toggle {
  font-size: .78rem; font-weight: 700; letter-spacing: .08em;
  border: 1px solid rgba(255,255,255,.28); border-radius: 999px; padding: 6px 13px;
  color: var(--gold-soft); transition: all .2s; margin-inline-start: 6px;
}
.lang-toggle:hover { border-color: var(--gold); background: rgba(198,168,117,.12); }
.nav-burger { display: none; }

/* Mobile nav drawer */
.mobile-nav {
  position: fixed; inset: 0; z-index: 120; visibility: hidden;
}
.mobile-nav.open { visibility: visible; }
.mobile-nav .scrim { position: absolute; inset: 0; background: rgba(0,0,0,.55); opacity: 0; transition: opacity .3s; }
.mobile-nav.open .scrim { opacity: 1; }
.mobile-nav .panel {
  position: absolute; top: 0; bottom: 0; inset-inline-start: 0;
  width: min(320px, 84vw); background: var(--black); color: var(--white);
  padding: 26px; transform: translateX(-102%); transition: transform .38s var(--ease);
  display: flex; flex-direction: column; gap: 4px; overflow-y: auto;
}
[dir="rtl"] .mobile-nav .panel { transform: translateX(102%); }
.mobile-nav.open .panel { transform: translateX(0); }
.mobile-nav .panel a.mlink {
  padding: 13px 6px; font-size: 1rem; border-bottom: 1px solid var(--line-dark);
  display: flex; justify-content: space-between; align-items: center; color: #ddd;
}
.mobile-nav .panel a.mlink:hover { color: var(--gold-soft); }
.mobile-nav .mhead { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }

/* ---------- Hero ---------- */
.hero { position: relative; background: var(--black); overflow: hidden; }
.hero-media { position: relative; }
.hero-media img { width: 100%; height: min(74vh, 620px); object-fit: cover; object-position: center; opacity: .92; display: block; }
.hero-cta {
  position: absolute; inset-inline: 0; bottom: 7%;
  display: flex; justify-content: center; gap: 14px; flex-wrap: wrap; padding: 0 16px;
}
.hero-scroll {
  position: absolute; bottom: 14px; inset-inline-start: 50%; transform: translateX(-50%);
  color: rgba(255,255,255,.65); font-size: .7rem; letter-spacing: .3em; text-transform: uppercase;
  display: none;
}
.hero::after {
  content: ""; position: absolute; inset: auto 0 0 0; height: 90px;
  background: linear-gradient(to top, rgba(17,17,17,.85), transparent); pointer-events: none;
}

/* ---------- Category cards ---------- */
.cat-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 26px; }
.cat-card {
  position: relative; border-radius: var(--radius); overflow: hidden;
  aspect-ratio: 16/10; background: var(--black); box-shadow: var(--shadow-sm);
  transition: transform .4s var(--ease), box-shadow .4s;
}
.cat-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.cat-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.cat-card:hover img { transform: scale(1.05); }
.cat-card .cat-label {
  position: absolute; inset-inline-start: 22px; bottom: 20px;
  background: rgba(17,17,17,.78); backdrop-filter: blur(6px);
  color: var(--white); padding: 12px 22px; border-radius: 999px;
  display: flex; align-items: center; gap: 12px; font-weight: 600; letter-spacing: .04em;
  border: 1px solid rgba(198,168,117,.35);
}
.cat-card .cat-label svg { width: 16px; height: 16px; color: var(--gold); }
.chip-row { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-top: 34px; }
.chip {
  padding: 10px 22px; border-radius: 999px; border: 1px solid var(--line);
  background: var(--white); font-size: .85rem; font-weight: 500;
  transition: all .25s var(--ease);
}
.chip:hover, .chip.active { background: var(--black); color: var(--gold-soft); border-color: var(--black); }

/* ---------- Product grid & cards ---------- */
.product-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 26px;
}
.pcard {
  background: var(--white); border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--line); position: relative;
  transition: transform .35s var(--ease), box-shadow .35s;
  display: flex; flex-direction: column;
}
.pcard:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.pcard-media { position: relative; aspect-ratio: 4/4.6; overflow: hidden; background: #161616; }
.pcard-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.pcard:hover .pcard-media img { transform: scale(1.06); }
.pcard-badges { position: absolute; top: 12px; inset-inline-start: 12px; display: flex; flex-direction: column; gap: 6px; z-index: 2; }
.badge {
  font-size: .64rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  padding: 5px 11px; border-radius: 999px;
}
.badge.new { background: var(--black); color: var(--gold-soft); }
.badge.sale { background: var(--gold); color: var(--black); }
.badge.out { background: #eee; color: #888; }
.pcard-quick {
  position: absolute; top: 12px; inset-inline-end: 12px; z-index: 2;
  display: flex; flex-direction: column; gap: 8px;
  opacity: 0; transform: translateY(-6px); transition: all .3s var(--ease);
}
.pcard:hover .pcard-quick { opacity: 1; transform: translateY(0); }
.quick-btn {
  width: 38px; height: 38px; border-radius: 50%; background: var(--white);
  display: flex; align-items: center; justify-content: center; box-shadow: var(--shadow-sm);
  transition: all .2s;
}
.quick-btn:hover { background: var(--black); color: var(--gold-soft); }
.quick-btn.active { background: var(--gold); color: var(--black); }
.quick-btn svg { width: 17px; height: 17px; }
.btn-ghost svg { width: 15px; height: 15px; }
.pcard-body { padding: 18px 18px 20px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.pcard-cat { font-size: .68rem; letter-spacing: .2em; text-transform: uppercase; color: var(--gold-deep); font-weight: 600; }
.pcard-name { font-size: 1.02rem; font-weight: 600; }
.pcard-name a:hover { color: var(--gold-deep); }
.pcard-rating { display: flex; align-items: center; gap: 6px; font-size: .76rem; color: var(--muted); }
.stars { color: var(--gold); letter-spacing: 1px; font-size: .8rem; }
.pcard-price { margin-top: auto; display: flex; align-items: baseline; gap: 10px; padding-top: 8px; }
.price { font-weight: 700; font-size: 1.05rem; }
.price.old { color: var(--muted); text-decoration: line-through; font-weight: 400; font-size: .85rem; }
.price.now { color: var(--black); }
.price.now.sale { color: var(--gold-deep); }
.pcard .add-row { margin-top: 10px; }

/* Placeholder image slot */
.ph-img {
  width: 100%; height: 100%; display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 12px;
  background:
    radial-gradient(120% 90% at 50% 0%, #232323 0%, #141414 60%, #0e0e0e 100%);
  color: var(--gold); text-align: center; padding: 18px;
}
.ph-img img.ph-mark { width: 74px; opacity: .95; filter: drop-shadow(0 4px 14px rgba(198,168,117,.3)); }
.ph-img .ph-name { font-family: var(--font-display); font-size: 1rem; color: #e9e6df; letter-spacing: .04em; }
.ph-img .ph-cat { font-size: .62rem; letter-spacing: .34em; text-transform: uppercase; color: var(--gold-deep); }
.ph-img .ph-hint { font-size: .66rem; color: #8f8c85; border: 1px dashed #3d3a33; padding: 5px 12px; border-radius: 999px; margin-top: 4px; }

/* Edit-mode controls */
.edit-fab {
  position: fixed; bottom: 22px; inset-inline-end: 22px; z-index: 110;
  display: flex; align-items: center; gap: 10px;
  background: var(--black); color: var(--gold-soft);
  border: 1px solid rgba(198,168,117,.4);
  padding: 13px 22px; border-radius: 999px; font-weight: 600; font-size: .85rem;
  box-shadow: var(--shadow); transition: all .25s var(--ease);
}
.edit-fab:hover { transform: translateY(-3px); }
.edit-fab.on { background: var(--gold); color: var(--black); }
.edit-fab svg { width: 17px; height: 17px; }
body.editing .pcard, body.editing .banner-slot { outline: 2px dashed var(--gold); outline-offset: 3px; }
.pcard-edit {
  position: absolute; bottom: 12px; inset-inline-end: 12px; z-index: 3;
  display: none; gap: 8px;
}
body.editing .pcard-edit { display: flex; }
.mini-btn {
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--gold); color: var(--black);
  display: flex; align-items: center; justify-content: center; box-shadow: var(--shadow-sm);
  font-size: .8rem; font-weight: 700;
}
.mini-btn.danger { background: var(--danger); color: #fff; }
.mini-btn svg { width: 16px; height: 16px; }
.edit-banner-btn svg { width: 14px; height: 14px; }
.edit-banner-btn {
  display: none; position: absolute; top: 14px; inset-inline-end: 14px; z-index: 5;
  background: rgba(17,17,17,.85); color: var(--gold-soft); border: 1px solid var(--gold);
  padding: 9px 18px; border-radius: 999px; font-size: .8rem; font-weight: 600;
}
body.editing .edit-banner-btn { display: inline-flex; align-items: center; gap: 8px; }
.banner-slot { position: relative; }

/* ---------- Promo banner ---------- */
.promo-band { position: relative; background: var(--black); overflow: hidden; }
.promo-band img { width: 100%; max-height: 560px; object-fit: cover; display: block; }
.promo-band .promo-cta { position: absolute; inset-inline: 0; bottom: 8%; display: flex; justify-content: center; }

/* ---------- Feature band (why choose us) ---------- */
.feat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.feat-card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 34px 24px; text-align: center; transition: all .3s var(--ease);
}
.feat-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-sm); border-color: var(--gold); }
.feat-ico {
  width: 58px; height: 58px; margin: 0 auto 16px; border-radius: 50%;
  background: var(--black); color: var(--gold);
  display: flex; align-items: center; justify-content: center;
}
.feat-ico svg { width: 25px; height: 25px; }
.feat-card h3 { font-size: 1.05rem; margin-bottom: 6px; }
.feat-card p { font-size: .85rem; color: var(--muted); }
.dark .feat-card { background: #181818; border-color: var(--line-dark); }
.dark .feat-card h3 { color: var(--white); }
.dark .feat-card p { color: #9a978f; }
.dark .feat-card:hover { border-color: var(--gold); }

/* ---------- Reviews ---------- */
.review-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.review-card {
  background: var(--white); border-radius: var(--radius); border: 1px solid var(--line);
  padding: 28px; position: relative;
}
.review-card .quote { font-family: var(--font-display); font-size: 2.6rem; color: var(--gold); line-height: 1; }
.review-card p { font-size: .92rem; margin: 10px 0 18px; color: #454540; }
.review-who { display: flex; align-items: center; gap: 12px; }
.review-who .avatar {
  width: 44px; height: 44px; border-radius: 50%; background: var(--black); color: var(--gold);
  display: flex; align-items: center; justify-content: center; font-family: var(--font-display); font-size: 1.1rem;
}
.review-who b { font-size: .9rem; display: block; }
.review-who span { font-size: .75rem; color: var(--muted); }

/* ---------- Newsletter ---------- */
.newsletter { background: var(--black); color: var(--white); border-radius: var(--radius); padding: 60px 7%; text-align: center; position: relative; overflow: hidden; }
.newsletter::before, .newsletter::after {
  content: ""; position: absolute; width: 220px; height: 220px; border-radius: 50%;
  border: 1px solid rgba(198,168,117,.25);
}
.newsletter::before { top: -90px; inset-inline-start: -70px; }
.newsletter::after { bottom: -110px; inset-inline-end: -60px; }
.newsletter h2 { color: var(--white); font-size: clamp(1.5rem, 3.4vw, 2.2rem); }
.newsletter p { color: #a5a29b; max-width: 480px; margin: 12px auto 26px; font-size: .95rem; }
.news-form { display: flex; gap: 10px; max-width: 480px; margin: 0 auto; }
.news-form input {
  flex: 1; background: #1d1d1d; border: 1px solid var(--line-dark); color: var(--white);
  border-radius: 999px; padding: 14px 22px; outline: none; transition: border .2s;
}
.news-form input:focus { border-color: var(--gold); }

/* ---------- Footer ---------- */
.site-footer { background: var(--black); color: #b8b5ae; padding: 66px 0 0; margin-top: 0; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.3fr; gap: 40px; padding-bottom: 46px; }
.footer-brand img { height: 46px; margin-bottom: 14px; }
.footer-brand p { font-size: .85rem; max-width: 280px; }
.socials { display: flex; gap: 10px; margin-top: 18px; }
.socials a {
  width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--line-dark);
  display: flex; align-items: center; justify-content: center; color: #cfccc4; transition: all .25s;
}
.socials a:hover { background: var(--gold); color: var(--black); border-color: var(--gold); }
.socials svg { width: 16px; height: 16px; }
.footer-col h4 { color: var(--white); font-family: var(--font-body); font-size: .82rem; letter-spacing: .2em; text-transform: uppercase; margin-bottom: 18px; }
.footer-col a, .footer-col li { display: block; font-size: .88rem; padding: 5px 0; transition: color .2s; }
.footer-col a:hover { color: var(--gold-soft); }
.footer-contact li { display: flex; gap: 10px; align-items: flex-start; font-size: .86rem; padding: 6px 0; }
.footer-contact svg { width: 15px; height: 15px; color: var(--gold); flex-shrink: 0; margin-top: 4px; }
.footer-bottom {
  border-top: 1px solid var(--line-dark); padding: 20px 0; font-size: .78rem;
  display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; color: #8b887f;
}

/* ---------- Page hero (inner pages) ---------- */
.page-hero { background: var(--black); color: var(--white); padding: 58px 0; text-align: center; position: relative; overflow: hidden; }
.page-hero::after { content: ""; position: absolute; inset: 0; background: radial-gradient(60% 120% at 50% 0%, rgba(198,168,117,.14), transparent 70%); }
.page-hero h1 { font-size: clamp(1.8rem, 4.5vw, 2.7rem); position: relative; }
.page-hero .crumbs { font-size: .78rem; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-soft); margin-top: 10px; position: relative; }
.page-hero .crumbs a:hover { text-decoration: underline; }

/* ---------- Shop toolbar ---------- */
.shop-layout { display: grid; grid-template-columns: 250px 1fr; gap: 36px; align-items: start; }
.filters {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 24px; position: sticky; top: calc(var(--header-h) + 18px);
}
.filters h3 { font-size: .8rem; letter-spacing: .2em; text-transform: uppercase; margin-bottom: 14px; color: var(--gold-deep); font-family: var(--font-body); font-weight: 700; }
.filters .fgroup { margin-bottom: 26px; }
.fcheck { display: flex; align-items: center; gap: 10px; padding: 5px 0; font-size: .9rem; cursor: pointer; }
.fcheck input { accent-color: var(--gold-deep); width: 16px; height: 16px; }
.shop-topbar { display: flex; align-items: center; gap: 14px; margin-bottom: 24px; flex-wrap: wrap; }
.search-box { position: relative; flex: 1; min-width: 200px; }
.search-box input {
  width: 100%; padding: 13px 20px; padding-inline-start: 46px;
  border: 1px solid var(--line); border-radius: 999px; background: var(--white); outline: none; transition: border .2s, box-shadow .2s;
}
.search-box input:focus { border-color: var(--gold); box-shadow: 0 0 0 4px rgba(198,168,117,.15); }
.search-box svg { position: absolute; top: 50%; inset-inline-start: 17px; transform: translateY(-50%); width: 17px; height: 17px; color: var(--muted); }
.sort-select {
  padding: 13px 18px; border-radius: 999px; border: 1px solid var(--line); background: var(--white);
  outline: none; font-size: .88rem; cursor: pointer;
}
.results-count { font-size: .82rem; color: var(--muted); }
.filters-toggle { display: none; }

/* ---------- Empty states ---------- */
.empty-state { text-align: center; padding: 80px 20px; }
.empty-state .eico {
  width: 86px; height: 86px; border-radius: 50%; background: var(--white); border: 1px solid var(--line);
  display: flex; align-items: center; justify-content: center; margin: 0 auto 20px; color: var(--gold-deep);
}
.empty-state .eico svg { width: 36px; height: 36px; }
.empty-state h3 { font-size: 1.4rem; margin-bottom: 8px; }
.empty-state p { color: var(--muted); margin-bottom: 24px; }

/* ---------- Product details ---------- */
.pd-layout { display: grid; grid-template-columns: 1.05fr 1fr; gap: 52px; align-items: start; }
.pd-gallery { border-radius: var(--radius); overflow: hidden; background: #161616; aspect-ratio: 4/4.4; position: relative; }
.pd-gallery img { width: 100%; height: 100%; object-fit: cover; }
.pd-info .pd-cat { font-size: .72rem; letter-spacing: .26em; text-transform: uppercase; color: var(--gold-deep); font-weight: 700; }
.pd-info h1 { font-size: clamp(1.6rem, 3.4vw, 2.3rem); margin: 8px 0 12px; }
.pd-price-row { display: flex; align-items: baseline; gap: 14px; margin: 14px 0; }
.pd-price-row .price.now { font-size: 1.7rem; }
.pd-price-row .price.old { font-size: 1.05rem; }
.save-tag { background: var(--gold); color: var(--black); font-size: .7rem; font-weight: 700; padding: 4px 12px; border-radius: 999px; letter-spacing: .06em; }
.pd-desc { color: #4c4c46; font-size: .95rem; margin-bottom: 22px; }
.pd-meta { font-size: .82rem; color: var(--muted); display: grid; gap: 6px; margin-bottom: 22px; }
.pd-meta b { color: var(--text); font-weight: 600; }
.opt-label { font-size: .8rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; margin: 18px 0 10px; }
.opt-row { display: flex; flex-wrap: wrap; gap: 10px; }
.size-pill {
  min-width: 46px; padding: 10px 14px; border-radius: var(--radius-sm); border: 1px solid var(--line);
  background: var(--white); font-size: .86rem; font-weight: 600; text-align: center; transition: all .2s;
}
.size-pill:hover { border-color: var(--black); }
.size-pill.sel { background: var(--black); color: var(--gold-soft); border-color: var(--black); }
.color-dot { width: 34px; height: 34px; border-radius: 50%; border: 2px solid var(--white); box-shadow: 0 0 0 1px var(--line); transition: all .2s; }
.color-dot.sel { box-shadow: 0 0 0 2.5px var(--gold-deep); }
.qty-row { display: flex; align-items: center; gap: 16px; margin: 26px 0; flex-wrap: wrap; }
.qty-ctrl { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 999px; background: var(--white); }
.qty-ctrl button { width: 42px; height: 44px; font-size: 1.15rem; color: var(--text); }
.qty-ctrl button:hover { color: var(--gold-deep); }
.qty-ctrl button svg { width: 13px; height: 13px; }
.qty-ctrl span { min-width: 36px; text-align: center; font-weight: 600; }
.stock-line { font-size: .82rem; font-weight: 600; }
.stock-line.in { color: var(--success); }
.stock-line.out { color: var(--danger); }
.pd-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.pd-section { margin-top: 60px; }
.review-item { border-bottom: 1px solid var(--line); padding: 18px 0; }
.review-item .rhead { display: flex; justify-content: space-between; align-items: center; margin-bottom: 4px; flex-wrap: wrap; gap: 6px; }
.review-item b { font-size: .92rem; }
.review-item .rdate { font-size: .75rem; color: var(--muted); }
.review-item p { font-size: .9rem; color: #4c4c46; }
.review-form { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; margin-top: 26px; }
.review-form h3 { margin-bottom: 14px; font-size: 1.15rem; }

/* ---------- Forms ---------- */
.field { margin-bottom: 16px; }
.field label { display: block; font-size: .8rem; font-weight: 600; letter-spacing: .05em; margin-bottom: 7px; }
.field input, .field select, .field textarea {
  width: 100%; padding: 13px 16px; border: 1px solid var(--line); border-radius: var(--radius-sm);
  background: var(--white); outline: none; transition: border .2s, box-shadow .2s;
}
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--gold); box-shadow: 0 0 0 4px rgba(198,168,117,.15); }
.field .hint { font-size: .74rem; color: var(--muted); margin-top: 5px; }
.field-error { border-color: var(--danger) !important; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }

/* ---------- Cart ---------- */
.cart-layout { display: grid; grid-template-columns: 1.6fr 1fr; gap: 36px; align-items: start; }
.cart-line {
  display: grid; grid-template-columns: 92px 1fr auto; gap: 18px; align-items: center;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 16px; margin-bottom: 14px;
}
.cart-line .cl-img { width: 92px; height: 104px; border-radius: var(--radius-sm); overflow: hidden; background: #161616; }
.cart-line .cl-img img { width: 100%; height: 100%; object-fit: cover; }
.cart-line h4 { font-size: .98rem; margin-bottom: 3px; }
.cart-line .cl-meta { font-size: .78rem; color: var(--muted); }
.cart-line .cl-price { font-weight: 700; margin-top: 6px; }
.cl-side { display: flex; flex-direction: column; align-items: flex-end; gap: 10px; }
.link-remove { font-size: .76rem; color: var(--muted); text-decoration: underline; }
.link-remove:hover { color: var(--danger); }
.summary-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; position: sticky; top: calc(var(--header-h) + 18px); }
.summary-card h3 { font-size: 1.2rem; margin-bottom: 18px; }
.sum-row { display: flex; justify-content: space-between; font-size: .9rem; padding: 7px 0; }
.sum-row.total { border-top: 1px solid var(--line); margin-top: 12px; padding-top: 16px; font-size: 1.1rem; font-weight: 700; }
.sum-row .free { color: var(--success); font-weight: 600; }
.sum-row .disc { color: var(--gold-deep); font-weight: 600; }
.coupon-row { display: flex; gap: 8px; margin: 14px 0; }
.coupon-row input { flex: 1; padding: 11px 14px; border: 1px solid var(--line); border-radius: var(--radius-sm); outline: none; text-transform: uppercase; letter-spacing: .08em; font-size: .85rem; }
.progress-ship { margin: 12px 0 4px; }
.progress-ship .bar { height: 6px; background: var(--line); border-radius: 999px; overflow: hidden; margin-top: 8px; }
.progress-ship .bar span { display: block; height: 100%; background: var(--gold); border-radius: 999px; transition: width .5s var(--ease); }
.progress-ship p { font-size: .78rem; color: var(--muted); }

/* ---------- Checkout ---------- */
.checkout-layout { display: grid; grid-template-columns: 1.5fr 1fr; gap: 36px; align-items: start; }
.pay-opt {
  display: flex; gap: 14px; align-items: flex-start; border: 1px solid var(--line); border-radius: var(--radius-sm);
  padding: 16px; margin-bottom: 12px; cursor: pointer; background: var(--white); transition: all .2s;
}
.pay-opt:hover { border-color: var(--gold); }
.pay-opt.sel { border-color: var(--gold-deep); box-shadow: 0 0 0 3px rgba(198,168,117,.18); }
.pay-opt input { margin-top: 4px; accent-color: var(--gold-deep); }
.pay-opt b { font-size: .94rem; display: block; }
.pay-opt span { font-size: .8rem; color: var(--muted); }
.demo-tag { font-size: .62rem; background: #f3ecdd; color: var(--gold-deep); border-radius: 999px; padding: 3px 10px; font-weight: 700; letter-spacing: .06em; margin-inline-start: 8px; }
.panel-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; }
.mini-line { display: flex; gap: 12px; align-items: center; padding: 8px 0; font-size: .86rem; }
.mini-line .ml-img { width: 46px; height: 52px; border-radius: 8px; overflow: hidden; background: #161616; flex-shrink: 0; }
.mini-line .ml-img img { width: 100%; height: 100%; object-fit: cover; }
.mini-line .ml-qty { margin-inline-start: auto; color: var(--muted); font-size: .8rem; white-space: nowrap; }

/* ---------- Order confirmation ---------- */
.confirm-wrap { max-width: 640px; margin: 0 auto; text-align: center; }
.confirm-check {
  width: 92px; height: 92px; border-radius: 50%; background: var(--black); color: var(--gold);
  display: flex; align-items: center; justify-content: center; margin: 0 auto 24px;
  animation: pop .5s var(--ease);
}
.confirm-check svg { width: 42px; height: 42px; }
@keyframes pop { 0% { transform: scale(.4); opacity: 0;} 100% { transform: scale(1); opacity: 1;} }
.order-num { display: inline-block; background: #f3ecdd; color: var(--gold-deep); border-radius: 999px; padding: 8px 22px; font-weight: 700; letter-spacing: .06em; margin: 14px 0 26px; }

/* ---------- Admin ---------- */
.admin-tabs { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 28px; }
.admin-tab { padding: 10px 20px; border-radius: 999px; border: 1px solid var(--line); background: var(--white); font-size: .85rem; font-weight: 600; }
.admin-tab.active { background: var(--black); color: var(--gold-soft); border-color: var(--black); }
.stat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-bottom: 32px; }
.stat-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.stat-card .num { font-family: var(--font-display); font-size: 2rem; }
.stat-card .lbl { font-size: .76rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.admin-table { width: 100%; border-collapse: collapse; background: var(--white); border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); }
.admin-table th { text-align: start; font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); padding: 14px 16px; border-bottom: 1px solid var(--line); }
.admin-table td { padding: 13px 16px; border-bottom: 1px solid var(--line); font-size: .88rem; vertical-align: middle; }
.admin-table tr:last-child td { border-bottom: none; }
.admin-table .t-img { width: 46px; height: 52px; border-radius: 8px; overflow: hidden; background: #161616; }
.admin-table .t-img img { width: 100%; height: 100%; object-fit: cover; }
.row-actions { display: flex; gap: 8px; }
.table-wrap { overflow-x: auto; }

/* ---------- Modal ---------- */
.modal-scrim {
  position: fixed; inset: 0; z-index: 150; background: rgba(10,10,10,.6); backdrop-filter: blur(4px);
  display: flex; align-items: center; justify-content: center; padding: 20px;
  opacity: 0; visibility: hidden; transition: all .3s;
}
.modal-scrim.open { opacity: 1; visibility: visible; }
.modal {
  background: var(--bg); border-radius: var(--radius); width: min(560px, 100%);
  max-height: 88vh; overflow-y: auto; padding: 30px; transform: translateY(18px); transition: transform .35s var(--ease);
}
.modal-scrim.open .modal { transform: translateY(0); }
.modal-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; }
.modal-head h3 { font-size: 1.3rem; }
.img-drop {
  border: 2px dashed var(--line); border-radius: var(--radius-sm); padding: 26px; text-align: center;
  color: var(--muted); font-size: .85rem; cursor: pointer; transition: all .2s; background: var(--white);
}
.img-drop:hover { border-color: var(--gold); color: var(--gold-deep); }
.img-drop img { max-height: 150px; margin: 0 auto 10px; border-radius: 8px; }

/* ---------- Toasts ---------- */
#toast-root { position: fixed; bottom: 24px; inset-inline-start: 50%; transform: translateX(-50%); z-index: 180; display: flex; flex-direction: column; gap: 10px; align-items: center; pointer-events: none; }
[dir="rtl"] #toast-root { transform: translateX(50%); }
.toast {
  background: var(--black); color: var(--white); padding: 13px 24px; border-radius: 999px;
  font-size: .86rem; display: flex; align-items: center; gap: 10px; box-shadow: var(--shadow);
  animation: toastin .35s var(--ease); border: 1px solid rgba(198,168,117,.3); max-width: 90vw;
}
.toast.success svg { color: var(--gold); }
.toast.error { border-color: rgba(192,57,43,.6); }
.toast.error svg { color: #e74c3c; }
.toast svg { width: 16px; height: 16px; flex-shrink: 0; }
@keyframes toastin { from { transform: translateY(16px); opacity: 0;} to { transform: translateY(0); opacity: 1;} }
.toast.out { animation: toastout .3s var(--ease) forwards; }
@keyframes toastout { to { transform: translateY(10px); opacity: 0; } }

/* ---------- Skeleton loading ---------- */
.skel-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 26px; }
.skel-card { border-radius: var(--radius); overflow: hidden; background: var(--white); border: 1px solid var(--line); }
.skel { background: linear-gradient(100deg, #eee 40%, #f7f7f5 50%, #eee 60%); background-size: 200% 100%; animation: shimmer 1.2s infinite; }
@keyframes shimmer { to { background-position: -200% 0; } }
.skel-media { aspect-ratio: 4/4.6; }
.skel-line { height: 13px; border-radius: 6px; margin: 12px 16px; }
.route-fade { animation: routefade .4s var(--ease); }
@keyframes routefade { from { opacity: 0; transform: translateY(10px);} to { opacity: 1; transform: translateY(0);} }

/* ---------- Misc ---------- */
.divider-gold { width: 64px; height: 2px; background: var(--gold); margin: 0 auto; }
.text-gold { color: var(--gold-deep); }
.map-embed { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); }
.map-embed iframe { width: 100%; height: 320px; border: 0; display: block; }
.info-list { display: grid; gap: 14px; }
.info-list li { display: flex; gap: 14px; align-items: flex-start; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 16px 18px; font-size: .9rem; }
.info-list svg { width: 18px; height: 18px; color: var(--gold-deep); flex-shrink: 0; margin-top: 3px; }
.accordion { border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); overflow: hidden; }
.acc-item + .acc-item { border-top: 1px solid var(--line); }
.acc-head { width: 100%; display: flex; justify-content: space-between; align-items: center; padding: 20px 22px; font-weight: 600; font-size: .95rem; text-align: start; gap: 12px; }
.acc-head svg { width: 16px; height: 16px; flex-shrink: 0; transition: transform .3s; color: var(--gold-deep); }
.acc-item.open .acc-head svg { transform: rotate(45deg); }
.acc-body { max-height: 0; overflow: hidden; transition: max-height .4s var(--ease); }
.acc-body p { padding: 0 22px 20px; font-size: .9rem; color: #4c4c46; }
.policy-body { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 40px; max-width: 820px; margin: 0 auto; }
.policy-body h3 { margin: 26px 0 10px; font-size: 1.15rem; }
.policy-body h3:first-child { margin-top: 0; }
.policy-body p, .policy-body li { font-size: .92rem; color: #4c4c46; }
.policy-body ul { padding-inline-start: 22px; list-style: disc; }
.policy-body table { width: 100%; border-collapse: collapse; margin: 14px 0; font-size: .88rem; }
.policy-body th, .policy-body td { border: 1px solid var(--line); padding: 10px 14px; text-align: start; }
.policy-body th { background: #faf9f6; }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
.about-img { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.notfound-wrap { text-align: center; padding: 90px 20px; }
.notfound-wrap .big { font-family: var(--font-display); font-size: clamp(4rem, 14vw, 8rem); color: var(--black); line-height: 1; }
.notfound-wrap .big span { color: var(--gold); }
.wa-float {
  position: fixed; bottom: 22px; inset-inline-start: 22px; z-index: 105;
  width: 54px; height: 54px; border-radius: 50%; background: #111; color: #25d366;
  display: flex; align-items: center; justify-content: center; border: 1px solid rgba(198,168,117,.4);
  box-shadow: var(--shadow); transition: transform .25s var(--ease);
}
.wa-float:hover { transform: translateY(-4px) scale(1.05); }
.wa-float svg { width: 26px; height: 26px; }
.back-to-top {
  position: fixed; bottom: 88px; inset-inline-start: 26px; z-index: 104;
  width: 42px; height: 42px; border-radius: 50%; background: var(--white); border: 1px solid var(--line);
  display: none; align-items: center; justify-content: center; box-shadow: var(--shadow-sm); color: var(--black);
}
.back-to-top.show { display: flex; }

/* ---------- Responsive ---------- */
@media (max-width: 1020px) {
  .feat-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .review-grid { grid-template-columns: 1fr 1fr; }
  .shop-layout { grid-template-columns: 1fr; }
  .filters { position: fixed; inset: 0; z-index: 130; border-radius: 0; overflow-y: auto; transform: translateY(102%); transition: transform .35s var(--ease); top: 0; }
  .filters.open { transform: translateY(0); }
  .filters-toggle { display: inline-flex; }
  .stat-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 860px) {
  .nav-links { display: none; }
  .nav-burger { display: inline-flex; }
  .pd-layout, .cart-layout, .checkout-layout, .two-col { grid-template-columns: 1fr; }
  .cat-grid { grid-template-columns: 1fr; }
  .summary-card, .filters { position: static; }
  .filters { position: fixed; }
  .section { padding: 54px 0; }
  .navbar { gap: 10px; }
  .brand img { height: 32px; }
  .nav-actions a[data-focus-search] { display: none; }
  .hero-media img { height: auto; min-height: 200px; object-fit: contain; }
  .hero-cta { position: static; padding: 16px 16px 30px; background: var(--black); }
  .hero::after { display: none; }
}
@media (max-width: 640px) {
  .brand img { height: 28px; }
  .lang-toggle { padding: 5px 10px; font-size: .72rem; }
  .icon-btn { width: 38px; height: 38px; }
  .review-grid { grid-template-columns: 1fr; }
  .feat-grid { grid-template-columns: 1fr 1fr; gap: 14px; }
  .feat-card { padding: 24px 14px; }
  .news-form { flex-direction: column; }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
  .form-row { grid-template-columns: 1fr; }
  .product-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .pcard-body { padding: 12px 12px 14px; }
  .pcard-name { font-size: .88rem; }
  .pcard-quick { opacity: 1; transform: none; }
  .quick-btn { width: 33px; height: 33px; }
  .cart-line { grid-template-columns: 74px 1fr; }
  .cl-side { grid-column: 1 / -1; flex-direction: row; justify-content: space-between; align-items: center; }
  .stat-grid { grid-template-columns: 1fr 1fr; }
  .edit-fab { bottom: 16px; inset-inline-end: 16px; padding: 12px 18px; }
  .wa-float { bottom: 16px; inset-inline-start: 16px; width: 50px; height: 50px; }
  .hero-cta .btn { padding: 12px 22px; font-size: .84rem; }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}


/* VELORA 2 name badge */
.v2-badge{display:inline-block;background:#c6a875;color:#111;font:700 .62rem/1 Inter,system-ui,sans-serif;letter-spacing:.05em;padding:4px 7px;border-radius:8px;margin-left:8px;vertical-align:super}
.brand{position:relative}
