/* ============================================================
   BASMA BY SARAH — CORE STYLESHEET (built from scratch)
   ============================================================ */
@import url('https://fonts.googleapis.com/css2?family=Tajawal:wght@300;400;500;700;900&family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,500&family=Rakkas&family=Cormorant+Garamond:ital,wght@0,400;0,600;1,500&display=swap');

:root{
  --cream:        #F6F1E9;
  --cream-deep:   #EFE6D6;
  --ink:          #231F1C;
  --gold:         #B68A4E;
  --gold-soft:    #D9B98A;
  --emerald:      #1F3D34;
  --emerald-soft: #2F5648;
  --near-black:   #14110F;
  --near-black-2: #1B1815;
  --line:         rgba(35,31,28,0.12);
  --line-dark:    rgba(217,185,138,0.16);
}

*{ box-sizing: border-box; margin: 0; padding: 0; }
html{ overflow-x: hidden; }
body{
  background: var(--cream);
  color: var(--ink);
  font-family: 'Tajawal', sans-serif;
  line-height: 1.7;
  overflow-x: hidden;
  max-width: 100vw;
}
a{ color: inherit; text-decoration: none; }
img{ max-width: 100%; display: block; }
ul{ list-style: none; }

h1, h2, h3, h4{
  font-family: 'Playfair Display', serif;
  color: var(--emerald);
}
h1{ font-size: clamp(28px, 5vw, 52px); line-height: 1.25; }
h2{ font-size: clamp(24px, 3.5vw, 38px); line-height: 1.3; }
h3{ font-size: clamp(18px, 2.5vw, 24px); }

.container{ max-width: 1180px; margin: 0 auto; padding: 0 24px; }

/* ============================================================
   HEADER
   ============================================================ */
.site-header{
  background: rgba(255,255,255,0.98);
  color: var(--ink);
  border-bottom: 1px solid rgba(35,31,28,0.08);
  position: fixed; top: 38px; left: 0; right: 0;
  width: 100%; z-index: 50;
  transition: background .35s ease, backdrop-filter .35s ease, box-shadow .35s ease;
}
.site-header.scrolled{
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 4px 24px rgba(0,0,0,0.08);
  border-bottom-color: rgba(35,31,28,0.06);
}

/* ── TOP ROW: currency | logo | icons ── */
.header-top{
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 14px 30px;
  max-width: 1400px; margin: 0 auto;
  border-bottom: 1px solid rgba(217,185,138,0.08);
}
.header-top-left{ display:flex; align-items:center; gap:12px; }
.header-top-right{
  display:flex; align-items:center; gap:18px;
  justify-content:flex-end; color:var(--ink);
}
.header-top-right a{ color:var(--ink); transition:color .25s; }
.header-top-right a:hover{ color:var(--gold); }

/* ── LOGO (center) ── */
.logo{ text-align:center; }
.logo a{ display:block; line-height:1; }
.logo .ar{
  display:block; font-family:'Rakkas',serif;
  font-size:32px; color:var(--emerald); letter-spacing:.5px;
}
.logo .eng{
  display:flex; align-items:center; justify-content:center; gap:10px;
  margin-top:5px; font-family:'Cormorant Garamond',serif;
  font-style:italic; font-size:12px; letter-spacing:3px; color:var(--gold);
}
.logo .eng::before, .logo .eng::after{ content:""; width:18px; height:1px; background:var(--gold); }

/* ── MAIN NAV (bottom row) ── */
.main-nav{
  border-top: none;
}
.main-nav ul{
  display:flex; align-items:center; justify-content:center; gap:0;
  padding:0 30px; max-width:1400px; margin:0 auto;
}
.main-nav ul li a{
  display:block; padding:12px 16px;
  font-size:11.5px; font-weight:600; letter-spacing:1.5px;
  text-transform:uppercase; color:rgba(35,31,28,0.7);
  transition:color .25s; white-space:nowrap;
}
.main-nav ul li a:hover{ color:var(--emerald); }
.main-nav ul li a.active{ color:var(--emerald); }

/* Lang switch */
.lang-switch{
  display:flex; align-items:center; gap:4px;
  font-size:12px; font-weight:600; letter-spacing:1px;
  color:rgba(35,31,28,0.4);
}
.lang-switch a{ color:rgba(35,31,28,0.4); transition:color .25s; }
.lang-switch a.active{ color:var(--emerald); font-weight:700; }
.lang-switch a:hover{ color:var(--emerald); }
.lang-switch span{ font-size:10px; }

/* Cart count */
.cart-count{
  position:absolute; top:-7px; left:-8px;
  background:var(--emerald); color:#fff;
  font-size:9px; font-weight:700; border-radius:50%;
  width:15px; height:15px; display:flex; align-items:center; justify-content:center;
}
.cart-count.cart-empty{ display:none; }
.mobile-toggle{ display:none; background:none; border:none; color:var(--ink); font-size:22px; cursor:pointer; }

@media (max-width:1024px){
  .main-nav ul{ gap:0; }
  .main-nav ul li a{ padding:11px 10px; font-size:10.5px; }
}
@media (max-width:768px){
  .main-nav{ display:none; }
  .mobile-toggle{ display:block; }
  .header-top{ padding:12px 16px; }
}

/* ── COUNTRY SWITCHER ── */
.country-switch{ position:relative; }
.country-trigger{
  display:flex; align-items:center; gap:5px;
  background:rgba(35,31,28,0.05); border:1px solid rgba(35,31,28,0.12);
  border-radius:20px; padding:5px 12px;
  color:var(--ink); font-family:'Tajawal'; font-size:12px;
  cursor:pointer; transition:.25s;
}
.country-trigger:hover{ background:rgba(35,31,28,0.08); border-color:var(--emerald); }
.country-menu{
  position:absolute; top:calc(100% + 10px); left:0;
  background:#fff; border:1px solid rgba(35,31,28,0.1);
  border-radius:8px; min-width:220px; overflow:hidden;
  box-shadow:0 12px 30px rgba(0,0,0,0.12);
  display:none; z-index:200;
}
.country-menu.open{ display:block; animation:dropDown .2s ease; }
@keyframes dropDown{ from{opacity:0;transform:translateY(-8px)} to{opacity:1;transform:translateY(0)} }
.country-menu a{
  display:flex; align-items:center; gap:10px;
  padding:12px 16px; font-size:13.5px; color:rgba(35,31,28,0.7);
  transition:.2s; text-decoration:none;
}
.country-menu a:hover{ background:rgba(35,31,28,0.04); color:var(--ink); }
.country-menu a.active{ color:var(--emerald); background:rgba(31,61,52,0.06); }
.c-currency{ margin-right:auto; font-size:11px; letter-spacing:1px; color:rgba(35,31,28,0.35); }
.price-usd{ font-size:.85em; color:rgba(35,31,28,0.5); margin-right:4px; }

/* ============================================================
   BUTTONS (shared across the site)
   ============================================================ */
.btn{
  display: inline-block; padding: 14px 32px; border-radius: 2px;
  font-weight: 700; font-size: 14px; letter-spacing: .3px;
  transition: transform .25s, background .25s, color .25s;
}
.btn-gold{ background: var(--gold); color: var(--near-black); }
.btn-gold:hover{ background: var(--gold-soft); transform: translateY(-2px); }
.btn-emerald{ background: var(--emerald); color: var(--cream); }
.btn-emerald:hover{ background: var(--emerald-soft); transform: translateY(-2px); }
.btn-line{ border: 1px solid var(--line-dark); color: var(--cream); }
.btn-line:hover{ border-color: var(--gold-soft); color: var(--gold-soft); }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer{
  background: var(--near-black);
  color: var(--cream);
  padding: 70px 0 30px;
  margin-top: 80px;
}
.footer-grid{
  display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px;
  margin-bottom: 50px;
}
.footer-grid h4{
  font-family: 'Tajawal', sans-serif;
  font-size: 13px; letter-spacing: 2px; text-transform: uppercase;
  color: var(--gold-soft); margin-bottom: 18px;
}
.footer-logo{
  margin-bottom: 14px;
}
.footer-logo .ar{
  display: block;
  font-family: 'Rakkas', serif;
  font-size: 32px;
  color: var(--cream);
  line-height: 1;
}
.footer-logo .eng{
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 6px;
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 12px;
  letter-spacing: 3px;
  color: var(--gold-soft);
}
.footer-logo .eng::before{
  content: "";
  width: 16px; height: 1px;
  background: var(--gold-soft);
}
.footer-grid p{ font-size: 13.5px; color: rgba(246,241,233,0.55); max-width: 260px; }
.footer-grid li{ margin-bottom: 10px; font-size: 13.5px; color: rgba(246,241,233,0.7); }
.footer-grid a:hover{ color: var(--gold-soft); }
.footer-bottom{
  border-top: 1px solid var(--line-dark);
  padding-top: 24px; text-align: center;
  font-size: 12px; color: rgba(246,241,233,0.4);
}

@media (max-width: 860px){
  .footer-grid{ grid-template-columns: 1fr 1fr; }
}

/* ============================================================
   HOMEPAGE — HERO
   ============================================================ */
.hero{
  position: relative;
  min-height: 80vh;
  background: var(--near-black);
  color: var(--cream);
  display: flex; align-items: center; justify-content: center;
  text-align: center; overflow: hidden; padding: 60px 24px;
}
.hero-video{
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0.35;
  z-index: 0;
}
.hero::before{
  content: "";
  position: absolute; inset: 0;
  z-index: 1;
  background:
    radial-gradient(circle at 20% 20%, rgba(182,138,78,0.16), transparent 45%),
    radial-gradient(circle at 80% 80%, rgba(31,61,52,0.45), transparent 50%),
    linear-gradient(180deg, rgba(20,17,15,0.55), rgba(20,17,15,0.75));
}
.hero-content{ position: relative; z-index: 2; max-width: 720px; }
.hero .eyebrow{
  font-size: 12px; letter-spacing: 5px; color: var(--gold-soft);
  font-weight: 700; display: inline-block; margin-bottom: 24px;
}
.hero h1{ color: var(--cream); margin-bottom: 20px; }
.hero h1 span{ color: var(--gold-soft); }
.hero p{ font-size: 17px; color: rgba(246,241,233,0.65); max-width: 460px; margin: 0 auto 38px; }
.hero .cta-row{ display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ============================================================
   SECTION RHYTHM
   ============================================================ */
.section{ padding: 90px 0; }
.section-head{ text-align: center; margin-bottom: 50px; }
.section-head .tag{ font-size: 11px; letter-spacing: 3px; color: var(--gold); font-weight: 700; display: block; margin-bottom: 10px; }
.section-head p{ color: rgba(35,31,28,0.6); max-width: 480px; margin: 14px auto 0; font-size: 15px; }

/* ============================================================
   CATEGORY GRID
   ============================================================ */
.cat-grid{ display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.cat-card{
  position: relative; aspect-ratio: 3/4; border-radius: 4px; overflow: hidden;
  background: linear-gradient(160deg, var(--cream-deep), var(--cream));
  background-size: cover; background-position: center;
  border: 1px solid var(--line);
  display: flex; align-items: flex-end; padding: 22px;
  transition: transform .35s ease, border-color .35s;
}
.cat-card::before{
  content: ""; position: absolute; inset: 0;
  background-image: repeating-linear-gradient(135deg, rgba(182,138,78,0.07) 0 1px, transparent 1px 18px);
}
.cat-card.has-image::before{
  background-image: linear-gradient(180deg, rgba(20,17,15,0.05) 30%, rgba(20,17,15,0.85) 100%);
}
.cat-card.has-image h3,
.cat-card.has-image .desc{ color: var(--cream); }
.cat-card.has-image .num{ color: var(--gold-soft); }
.cat-card:hover{ transform: translateY(-6px); border-color: var(--gold); }
.cat-card .num{ position: absolute; top: 18px; right: 20px; font-family: 'Cormorant Garamond', serif; font-size: 14px; color: var(--gold); }
.cat-card .body{ width: 100%; position: relative; z-index: 1; }
.cat-card h3{ font-size: 18px; font-weight: 700; color: var(--emerald); margin-bottom: 4px; font-family: 'Tajawal'; }
.cat-card .desc{ font-size: 12.5px; color: rgba(35,31,28,0.55); }

/* ============================================================
   PREMIUM BANNER
   ============================================================ */
.premium{
  background: var(--emerald); color: var(--cream);
  border-radius: 6px; overflow: hidden;
  display: grid; grid-template-columns: 1fr 1fr; align-items: center;
}
.premium-text{ padding: 64px 56px; }
.premium-text .tag{ color: var(--gold-soft); font-size: 12px; letter-spacing: 3px; font-weight: 700; }
.premium-text h2{ color: var(--cream); margin: 16px 0 18px; }
.premium-text p{ color: rgba(246,241,233,0.75); font-size: 15px; margin-bottom: 30px; max-width: 380px; }
.premium-visual{
  height: 100%; min-height: 360px;
  background: radial-gradient(circle at 30% 30%, rgba(217,185,138,0.35), transparent 55%),
    repeating-linear-gradient(135deg, rgba(246,241,233,0.04) 0 2px, transparent 2px 22px);
  display: flex; align-items: center; justify-content: center;
}
.bottle{ width: 90px; height: 160px; border: 1px solid var(--gold-soft); border-radius: 6px 6px 16px 16px; position: relative; background: rgba(246,241,233,0.06); }
.bottle::before{ content: ""; position: absolute; top: -22px; left: 50%; transform: translateX(-50%); width: 26px; height: 24px; background: var(--gold-soft); border-radius: 3px 3px 0 0; }

/* ============================================================
   GEMSTONE FINDER — video background
   ============================================================ */
.gemstone-section-wrap{
  position: relative;
  overflow: hidden;
  padding: 0 !important;
}
.gemstone-video-bg{
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  z-index: 0;
  filter: saturate(1.2) brightness(0.7);
}
.gemstone-video-overlay{
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(165deg,
    rgba(42,24,64,0.82) 0%,
    rgba(26,10,50,0.75) 50%,
    rgba(13,43,31,0.6) 100%);
}
.gemstone-section{
  position: relative; z-index: 2;
  background: transparent;
  color: var(--cream);
  padding: 100px 24px;
  text-align: center;
}
.gemstone-section::before{ display: none; }
.gemstone-section .eyebrow, .gemstone-section h2, .gemstone-section > p{ position: relative; z-index: 2; }
.gemstone-section .eyebrow{ color: #D8B4FE; font-size: 12px; letter-spacing: 4px; font-weight: 700; }
.gemstone-section h2{ color: var(--cream); margin: 14px 0 8px; }
.gemstone-section > p{ color: rgba(246,241,233,0.7); max-width: 440px; margin: 0 auto; }

.zodiac-pills{
  position: relative; z-index: 2;
  display: flex; flex-wrap: wrap; justify-content: center; gap: 10px;
  max-width: 600px; margin: 40px auto 0;
}
.zodiac-pills button{
  font-family: 'Tajawal'; font-size: 13px; color: var(--cream);
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(216,180,254,0.4);
  padding: 10px 18px; border-radius: 30px; cursor: pointer;
  transition: .25s;
}
.zodiac-pills button:hover, .zodiac-pills button.active{
  background: #D8B4FE; color: #2A1840; border-color: #D8B4FE;
}
.gemstone-birthdate{
  position: relative; z-index: 2;
  display: flex; justify-content: center;
  margin-top: 32px;
}
.birth-picker{
  display: flex; flex-direction: column; align-items: center; gap: 18px;
}
.birth-picker-label{
  font-size: 11px; letter-spacing: 3px; color: rgba(216,180,254,0.6);
  text-transform: uppercase;
}
.birth-picker-selects{
  display: flex; align-items: center; gap: 16px;
}
.birth-select-wrap{
  position: relative;
}
.birth-select-wrap select{
  appearance: none; -webkit-appearance: none;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(216,180,254,0.35);
  border-radius: 30px;
  padding: 13px 44px 13px 24px;
  color: var(--cream);
  font-family: 'Tajawal'; font-size: 14px;
  cursor: pointer; min-width: 140px; text-align: center;
  transition: border-color .25s, background .25s;
  outline: none;
}
.birth-select-wrap select:focus,
.birth-select-wrap select:hover{
  border-color: rgba(216,180,254,0.8);
  background: rgba(255,255,255,0.1);
}
.birth-select-wrap select option{ background: #2A1840; color: #fff; }
.select-arrow{
  position: absolute; left: 16px; top: 50%; transform: translateY(-50%);
  color: rgba(216,180,254,0.6); font-size: 16px; pointer-events: none;
  font-style: normal;
}
.birth-picker-divider{
  color: rgba(216,180,254,0.4); font-size: 14px;
}
.gemstone-birthdate button{
  background: linear-gradient(135deg, #D8B4FE, #C084FC);
  color: #2A1840; border: none;
  padding: 14px 36px; border-radius: 30px;
  font-weight: 700; font-size: 14px;
  font-family: 'Tajawal'; cursor: pointer;
  transition: opacity .25s, transform .25s;
  letter-spacing: .5px;
}
.gemstone-birthdate button:hover{ opacity: .9; transform: translateY(-1px); }
.gemstone-results{ position: relative; z-index: 2; margin-top: 40px; }
.gemstone-results-grid{
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; max-width: 900px; margin: 0 auto;
}
.gemstone-result-card{
  background: var(--cream); border-radius: 4px; padding: 14px; text-align: center; color: var(--ink);
}
.gemstone-result-card img{ width: 100%; border-radius: 3px; margin-bottom: 8px; aspect-ratio: 1; object-fit: cover; }
.gemstone-result-card h4{ font-size: 13px; font-family: 'Tajawal'; color: var(--ink); margin-bottom: 4px; }
.gemstone-result-card span{ color: #7C3AED; font-size: 12px; font-weight: 700; }

/* ============================================================
   TRUST STRIP
   ============================================================ */
.trust{
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 30px;
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 40px 0;
}
.trust-item{ text-align: center; flex: 1; min-width: 150px; }
.trust-item .t-num{ font-family: 'Cormorant Garamond', serif; font-size: 30px; color: var(--gold); }
.trust-item .t-label{ font-size: 13px; color: rgba(35,31,28,0.6); margin-top: 4px; }

@media (max-width: 980px){
  .cat-grid{ grid-template-columns: repeat(2, 1fr); }
  .premium{ grid-template-columns: 1fr; }
  .gemstone-results-grid{ grid-template-columns: repeat(2, 1fr); }
}

/* ============================================================
   SHOP PAGE — tabs + product grid
   ============================================================ */
.shop-tabs{
  display: flex; flex-wrap: wrap; gap: 10px; justify-content: center;
  margin-bottom: 50px;
}
.shop-tabs a{
  padding: 10px 22px; border: 1px solid var(--line); border-radius: 30px;
  font-size: 13.5px; color: var(--ink); transition: .25s;
}
.shop-tabs a:hover, .shop-tabs a.active{
  background: var(--emerald); color: var(--cream); border-color: var(--emerald);
}
.shop-empty{
  text-align: center; padding: 60px 0; color: rgba(35,31,28,0.5); font-size: 15px;
}
.products-grid{
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px;
}
.product-card{
  background: var(--near-black-2);
  border: 1px solid var(--line-dark);
  border-radius: 4px; overflow: hidden;
  display: block; padding-bottom: 16px;
  transition: transform .3s, border-color .3s;
}
.product-card:hover{ transform: translateY(-5px); border-color: var(--gold); }
.product-image{
  background: var(--near-black);
  aspect-ratio: 1; display: flex; align-items: center; justify-content: center;
  padding: 16px;
}
.product-image img{ width: 100%; height: 100%; object-fit: contain; }
.product-card h4{
  font-family: 'Tajawal'; color: var(--cream); font-size: 14px;
  padding: 14px 14px 6px; font-weight: 500;
}
.product-card .price{
  display: block; padding: 0 14px; color: var(--gold-soft); font-weight: 700; font-size: 13.5px;
}
.product-card .price s{ color: rgba(246,241,233,0.4); font-weight: 400; margin-left: 6px; }

@media (max-width: 980px){
  .products-grid{ grid-template-columns: repeat(2, 1fr); }
}

/* ============================================================
   PREMIUM PRODUCT PAGE — "بصمة سارة" exclusive layout
   ============================================================ */
.premium-product{
  display: grid; grid-template-columns: 1fr 1fr;
  min-height: 90vh;
  background: var(--near-black);
}
.premium-product-media{
  position: relative;
  background:
    radial-gradient(circle at 30% 30%, rgba(217,185,138,0.18), transparent 55%),
    linear-gradient(160deg, var(--near-black-2), var(--near-black));
  display: flex; align-items: center; justify-content: center;
  padding: 60px;
}
.premium-product-media img{
  max-height: 70vh; width: auto; object-fit: contain;
  filter: drop-shadow(0 30px 60px rgba(0,0,0,0.5));
}
.premium-product-info{
  display: flex; flex-direction: column; justify-content: center;
  padding: 80px 70px;
  color: var(--cream);
}
.premium-product-info .eyebrow{
  font-size: 12px; letter-spacing: 4px; color: var(--gold-soft); font-weight: 700;
}
.edition-badge{
  display: inline-block; margin-top: 14px;
  border: 1px solid var(--gold-soft); border-radius: 30px;
  padding: 6px 16px; font-size: 12px; color: var(--gold-soft);
  width: fit-content;
}
.premium-product-info h1{
  color: var(--cream); margin: 18px 0 10px; font-size: clamp(32px, 4vw, 48px);
}
.premium-price{
  font-family: 'Cormorant Garamond', serif; font-size: 28px; color: var(--gold-soft);
}
.premium-price s{ color: rgba(246,241,233,0.4); font-size: 18px; margin-left: 8px; }
.limited-stock{
  margin-top: 12px; font-size: 13px; color: #E8A87C;
  border-right: 2px solid #E8A87C; padding-right: 10px;
}
.premium-story{
  margin-top: 40px; padding-top: 30px; border-top: 1px solid var(--line-dark);
}
.story-tag{
  display: block; font-size: 11px; letter-spacing: 3px; color: var(--gold-soft);
  font-weight: 700; margin-bottom: 12px;
}
.premium-story p{
  font-family: 'Cormorant Garamond', serif; font-style: italic; font-size: 18px;
  line-height: 1.8; color: rgba(246,241,233,0.8);
}
.premium-desc{
  margin-top: 20px; font-size: 14px; color: rgba(246,241,233,0.6); line-height: 1.8;
}

@media (max-width: 860px){
  .premium-product{ grid-template-columns: 1fr; }
  .premium-product-info{ padding: 50px 30px; }
}

/* ============================================================
   STANDARD PRODUCT PAGE
   ============================================================ */
.standard-product{
  display: grid; grid-template-columns: 1fr 1fr; gap: 50px;
}
.standard-product-media{
  background: var(--near-black-2); border-radius: 4px;
  display: flex; align-items: center; justify-content: center;
  padding: 40px; aspect-ratio: 1;
}
.standard-product-media img{ max-width: 100%; max-height: 100%; object-fit: contain; }
.standard-product-info h1{ margin-bottom: 14px; }
.standard-price{
  font-family: 'Cormorant Garamond', serif; font-size: 24px; color: var(--gold);
  margin-bottom: 16px;
}
.standard-price s{ color: rgba(35,31,28,0.4); font-size: 16px; margin-left: 8px; }
.standard-desc{ color: rgba(35,31,28,0.65); line-height: 1.8; font-size: 15px; }

@media (max-width: 860px){
  .standard-product{ grid-template-columns: 1fr; }
}

/* ============================================================
   CART PAGE
   ============================================================ */
.cart-layout{
  display: grid; grid-template-columns: 1fr 360px; gap: 32px; align-items: start;
}

/* Gift unlock bar */
.gift-bar{
  display: flex; align-items: center; gap: 16px;
  padding: 18px 22px; border-radius: 6px; margin-bottom: 24px;
  background: var(--near-black-2);
  border: 1px solid var(--line-dark);
  transition: .4s;
}
.gift-bar.unlocked{
  background: linear-gradient(135deg, rgba(182,138,78,0.15), rgba(31,61,52,0.2));
  border-color: var(--gold);
  box-shadow: 0 0 30px rgba(182,138,78,0.12);
}
.gift-bar-icon{ font-size: 28px; flex-shrink: 0; }
.gift-bar-text{ flex: 1; }
.gift-bar-text strong{ display: block; color: var(--cream); font-size: 14px; margin-bottom: 3px; }
.gift-bar-text span{ font-size: 12px; color: rgba(246,241,233,0.5); }
.gift-badge{
  background: var(--gold); color: var(--near-black);
  padding: 6px 14px; border-radius: 20px; font-size: 12px; font-weight: 700;
  white-space: nowrap;
}
.gift-progress-wrap{ display: flex; align-items: center; gap: 10px; }
.gift-progress-bar{
  width: 120px; height: 3px; background: rgba(246,241,233,0.1); border-radius: 2px;
}
.gift-progress-fill{
  height: 100%; background: var(--gold); border-radius: 2px;
  transition: width .5s ease;
}
.gift-progress-wrap span{ font-size: 11px; color: var(--gold-soft); }

/* Cart item */
.cart-item{
  display: flex; align-items: center; gap: 18px;
  padding: 20px 0; border-bottom: 1px solid var(--line);
}
.cart-item:last-child{ border-bottom: none; }
.cart-item-img{
  width: 90px; height: 90px; flex-shrink: 0;
  background: var(--near-black-2); border-radius: 4px; overflow: hidden;
}
.cart-item-img img{ width: 100%; height: 100%; object-fit: contain; padding: 8px; }
.cart-item-info{ flex: 1; }
.cart-item-info h3{ font-size: 15px; color: var(--ink); margin-bottom: 5px; }
.premium-tag{ font-size: 11px; color: var(--gold); letter-spacing: 1px; }
.cart-item-price{ margin-top: 6px; font-size: 13px; color: rgba(35,31,28,0.55); }
.cart-item-actions{ display: flex; align-items: center; gap: 14px; }
.cart-item-total{ font-size: 15px; font-weight: 700; color: var(--emerald); min-width: 80px; text-align: left; }

/* Qty control */
.qty-control{
  display: flex; align-items: center;
  border: 1px solid var(--line); border-radius: 4px; overflow: hidden;
}
.qty-control button{
  width: 32px; height: 34px; background: var(--cream-deep); border: none;
  cursor: pointer; font-size: 16px; color: var(--ink); transition: .2s;
}
.qty-control button:hover{ background: var(--emerald); color: var(--cream); }
.qty-control input{
  width: 40px; height: 34px; text-align: center; border: none;
  border-left: 1px solid var(--line); border-right: 1px solid var(--line);
  font-family: 'Tajawal'; font-size: 14px; background: var(--cream);
}

.remove-btn{ font-size: 14px; color: rgba(35,31,28,0.3); transition: .2s; }
.remove-btn:hover{ color: #E53E3E; }

/* Summary */
.cart-summary{
  background: var(--cream-deep); border: 1px solid var(--line);
  border-radius: 6px; padding: 28px;
  position: sticky; top: 100px;
}
.cart-summary h2{ font-size: 18px; margin-bottom: 22px; }
.summary-row{
  display: flex; justify-content: space-between;
  font-size: 14px; color: rgba(35,31,28,0.65); margin-bottom: 12px;
}
.gift-row{ color: var(--emerald); font-weight: 600; }
.summary-divider{ border: none; border-top: 1px solid var(--line); margin: 16px 0; }
.summary-total{
  display: flex; justify-content: space-between;
  font-size: 17px; font-weight: 700; color: var(--ink);
}

@media (max-width: 860px){
  .cart-layout{ grid-template-columns: 1fr; }
  .cart-summary{ position: static; }
  .gift-progress-wrap{ flex-direction: column; align-items: flex-start; }
  .gift-progress-bar{ width: 100%; }
}
.category-hero{
  height: 45vh; background-size: cover; background-position: center;
  position: relative; display: flex; align-items: flex-end;
}
.category-hero-overlay{
  width: 100%; padding: 50px;
  background: linear-gradient(0deg, rgba(20,17,15,0.85), transparent);
  color: var(--cream);
}
.category-hero-overlay h1{ color: var(--cream); margin-bottom: 6px; }
.category-hero-overlay p{ color: rgba(246,241,233,0.7); font-size: 15px; }

/* ============================================================
   PREMIUM HERO — بصمة سارة
   ============================================================ */
.premium-hero{
  min-height: 70vh;
  background: var(--near-black);
  display: flex; align-items: center; justify-content: center;
  text-align: center; padding: 80px 24px;
  position: relative; overflow: hidden;
}
.premium-hero::before{
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(circle at 20% 20%, rgba(182,138,78,0.14), transparent 45%),
    radial-gradient(circle at 80% 80%, rgba(217,185,138,0.08), transparent 50%);
}
.premium-hero-content{ position: relative; z-index: 2; max-width: 600px; }
.premium-hero-content .eyebrow{ color: var(--gold-soft); font-size: 12px; letter-spacing: 5px; font-weight: 700; }
.premium-hero-content h1{ color: var(--cream); font-size: clamp(42px, 6vw, 70px); margin: 18px 0; }
.premium-hero-content > p{ color: rgba(246,241,233,0.65); font-size: 16px; }
.premium-hero-line{ width: 60px; height: 1px; background: var(--gold); margin: 28px auto; }
.premium-hero-sub{ font-family: 'Cormorant Garamond', serif; font-style: italic; font-size: 18px; color: var(--gold-soft); }

/* ============================================================
   PREMIUM GRID — product cards on بصمة سارة page
   ============================================================ */
.premium-grid{
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 2px; padding: 60px 0;
}
.premium-card{
  position: relative; display: block; overflow: hidden;
  background: var(--near-black-2);
  transition: transform .4s;
}
.premium-card:hover{ transform: scale(1.015); z-index: 2; }
.premium-card-media{
  aspect-ratio: 4/5; position: relative;
  background: var(--near-black);
  display: flex; align-items: center; justify-content: center; padding: 30px;
}
.premium-card-media img{ width: 100%; height: 100%; object-fit: contain; }
.premium-card-edition{
  position: absolute; bottom: 14px; right: 14px;
  border: 1px solid var(--gold-soft); border-radius: 20px;
  padding: 5px 12px; font-size: 11px; color: var(--gold-soft);
  background: rgba(20,17,15,0.6);
}
.premium-card-info{ padding: 24px; }
.premium-card-info h3{ color: var(--cream); font-size: 18px; margin-bottom: 8px; }
.premium-card-story{ font-size: 13px; color: rgba(246,241,233,0.55); line-height: 1.7; margin-bottom: 12px; }
.premium-card-price{ color: var(--gold-soft); font-size: 16px; font-weight: 700; }

@media (max-width: 860px){
  .premium-grid{ grid-template-columns: 1fr; }
}
