/* ═══════════════════════════════════════════════════════════════
   REESH COLLECTION — Shared Stylesheet
   Imperial Lopaz Theme
═══════════════════════════════════════════════════════════════ */

/* ── CUSTOM PROPERTIES ── */
:root {
  --cream:       #FFF8E7;
  --soft-gold:   #FFD77A;
  --cta-gold:    #E6A520;
  --brown:       #7A4A00;
  --brown-light: #9E6B1A;
  --brown-dark:  #4A2C00;
  --text:        #3A2800;
  --text-muted:  #9A7A50;
  --white:       #FFFFFF;
  --border:      rgba(122,74,0,0.14);
  --shadow-sm:   0 2px 12px rgba(122,74,0,0.08);
  --shadow-md:   0 6px 28px rgba(122,74,0,0.13);
  --shadow-lg:   0 16px 56px rgba(122,74,0,0.16);
  --radius:      4px;
  --serif:       'Cormorant Garamond', Georgia, serif;
  --sans:        'Nunito Sans', system-ui, sans-serif;
  --transition:  0.22s ease;
}

/* ── RESET ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--sans); background: var(--cream); color: var(--text); line-height: 1.6; -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; font-family: var(--sans); }
input, select, textarea { font-family: var(--sans); }

/* ── ANNOUNCEMENT BAR ── */
.announce-bar {
  background: var(--brown-dark);
  color: var(--soft-gold);
  text-align: center;
  padding: 9px 20px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.4px;
  position: relative;
}
.announce-bar .sep { opacity: 0.45; margin: 0 14px; }
.announce-close {
  position: absolute; right: 16px; top: 50%; transform: translateY(-50%);
  background: none; border: none; color: var(--soft-gold); font-size: 16px;
  opacity: 0.6; cursor: pointer; line-height: 1;
}
.announce-close:hover { opacity: 1; }

/* ── NAVBAR ── */
.navbar {
  background: var(--cream);
  border-bottom: 1px solid var(--border);
  padding: 0 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  position: sticky;
  top: 0;
  z-index: 200;
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--transition);
}
.navbar.scrolled { box-shadow: 0 4px 20px rgba(122,74,0,0.12); }

.nav-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
}
.nav-logo-img {
  height: 120px;
  width: auto;
  display: block;
  object-fit: contain;
  /* Logo has white bg — keep it clean on the cream navbar */
}

.nav-logo .brand-name {
  font-family: var(--serif);
  font-size: 26px; font-weight: 700;
  color: var(--brown-dark);
  letter-spacing: 2.5px;
  text-transform: uppercase;
  padding-left: 15px;
}
.nav-logo .brand-tag {
  font-size: 9px; color: var(--cta-gold);
  letter-spacing: 1.2px; text-transform: uppercase;
  font-weight: 600; margin-top: 2px;
}

.nav-links { display: flex; gap: 30px; }
.nav-links a {
  font-size: 12.5px; font-weight: 700;
  color: var(--brown);
  letter-spacing: 0.6px; text-transform: uppercase;
  transition: color var(--transition);
  padding-bottom: 2px;
  border-bottom: 2px solid transparent;
}
.nav-links a:hover, .nav-links a.active {
  color: var(--cta-gold);
  border-bottom-color: var(--cta-gold);
}

.nav-right { display: flex; align-items: center; gap: 14px; }

.btn-lang {
  background: none;
  border: 1px solid var(--cta-gold);
  color: var(--brown);
  padding: 5px 11px;
  border-radius: 3px;
  font-size: 11px; font-weight: 700;
  letter-spacing: 0.5px;
  transition: all var(--transition);
}
.btn-lang:hover { background: var(--cta-gold); color: var(--brown-dark); }

.btn-cart {
  background: var(--brown-dark);
  color: var(--soft-gold);
  border: none;
  border-radius: 6px;
  padding: 9px 18px;
  font-size: 13px; font-weight: 700;
  display: flex; align-items: center; gap: 8px;
  transition: background var(--transition);
  text-decoration: none;
}
.btn-cart:hover { background: var(--brown); }
.cart-count {
  background: var(--cta-gold);
  color: var(--brown-dark);
  width: 18px; height: 18px;
  border-radius: 50%;
  font-size: 10px; font-weight: 900;
  display: flex; align-items: center; justify-content: center;
}

/* Mobile hamburger */
.nav-toggle {
  display: none;
  flex-direction: column; gap: 5px;
  background: none; border: none; padding: 4px;
}
.nav-toggle span {
  display: block; width: 22px; height: 2px;
  background: var(--brown-dark);
  transition: all var(--transition);
  border-radius: 2px;
}

/* ── MOBILE NAV DRAWER ── */
.mobile-nav {
  display: none;
  position: fixed; inset: 0; z-index: 300;
}
.mobile-nav.open { display: flex; }
.mobile-nav-overlay {
  position: absolute; inset: 0;
  background: rgba(0,0,0,0.45);
}
.mobile-nav-drawer {
  position: absolute; top: 0; right: 0;
  width: 280px; height: 100%;
  background: var(--cream);
  padding: 32px 28px;
  display: flex; flex-direction: column; gap: 0;
  box-shadow: -8px 0 40px rgba(0,0,0,0.2);
}
.mobile-nav-close {
  align-self: flex-end;
  background: none; border: none;
  font-size: 24px; color: var(--brown);
  margin-bottom: 28px;
}
.mobile-nav-drawer a {
  display: block;
  font-size: 16px; font-weight: 700;
  color: var(--brown-dark);
  text-transform: uppercase; letter-spacing: 1px;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
  transition: color var(--transition);
}
.mobile-nav-drawer a:hover { color: var(--cta-gold); }
.mobile-cart-link {
  margin-top: 24px;
  display: flex; align-items: center; gap: 10px;
  background: var(--brown-dark);
  color: var(--soft-gold) !important;
  padding: 12px 16px !important;
  border-radius: 6px;
  border-bottom: none !important;
}

/* ── FOOTER ── */
.site-footer {
  background: #1A0D00;
  color: rgba(255,215,122,0.7);
  padding: 60px 40px 28px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 44px;
  margin-bottom: 44px;
}
.footer-brand .f-brand-name {
  font-family: var(--serif);
  font-size: 28px; font-weight: 700;
  color: var(--soft-gold);
  letter-spacing: 2px; text-transform: uppercase;
  margin-bottom: 12px;
}
.footer-brand p {
  font-size: 12.5px; line-height: 1.75;
  opacity: 0.7; margin-bottom: 20px;
  max-width: 260px;
}
.payment-pills { display: flex; flex-wrap: wrap; gap: 7px; }
.payment-pill {
  background: rgba(255,215,122,0.08);
  border: 1px solid rgba(255,215,122,0.18);
  color: var(--soft-gold);
  padding: 4px 11px; border-radius: 3px;
  font-size: 10px; font-weight: 700; letter-spacing: 0.5px;
}
.footer-col h5 {
  font-size: 10.5px; font-weight: 700;
  letter-spacing: 2px; text-transform: uppercase;
  color: var(--soft-gold); margin-bottom: 18px;
}
.footer-col li { margin-bottom: 9px; }
.footer-col a {
  font-size: 12.5px;
  color: rgba(255,215,122,0.6);
  transition: color var(--transition);
}
.footer-col a:hover { color: var(--soft-gold); }
.footer-bottom {
  border-top: 1px solid rgba(255,215,122,0.1);
  padding-top: 22px;
  display: flex; align-items: center; justify-content: space-between;
  font-size: 11px; color: rgba(255,215,122,0.38);
  flex-wrap: wrap; gap: 10px;
}

/* ── SHARED COMPONENTS ── */
.container { max-width: 1200px; margin: 0 auto; padding: 0 40px; }
.container-sm { max-width: 860px; margin: 0 auto; padding: 0 40px; }

.section-eyebrow {
  font-size: 10px; font-weight: 700;
  letter-spacing: 2.5px; text-transform: uppercase;
  color: var(--cta-gold); margin-bottom: 10px;
}
.section-title {
  font-family: var(--serif);
  font-size: 40px; font-weight: 300;
  color: var(--brown-dark); line-height: 1.1;
  margin-bottom: 16px;
}
.section-title strong { font-weight: 700; }

.gold-divider {
  width: 56px; height: 2px;
  background: linear-gradient(90deg, transparent, var(--cta-gold), transparent);
  margin: 18px auto;
}

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 24px; border: none; border-radius: var(--radius);
  font-size: 12.5px; font-weight: 700;
  letter-spacing: 0.8px; text-transform: uppercase;
  transition: all var(--transition); cursor: pointer;
}
.btn-primary { background: var(--brown-dark); color: var(--soft-gold); }
.btn-primary:hover { background: var(--brown); }
.btn-gold { background: var(--cta-gold); color: var(--brown-dark); }
.btn-gold:hover { background: var(--soft-gold); }
.btn-outline {
  background: none;
  border: 1.5px solid var(--brown-dark);
  color: var(--brown-dark);
}
.btn-outline:hover { background: var(--brown-dark); color: var(--soft-gold); }
.btn-full { width: 100%; }
.btn-lg { padding: 16px 32px; font-size: 14px; }

/* Breadcrumb */
.breadcrumb {
  font-size: 12px; color: var(--text-muted);
  padding: 14px 0; display: flex; align-items: center; gap: 6px; flex-wrap: wrap;
}
.breadcrumb a { color: var(--text-muted); transition: color var(--transition); }
.breadcrumb a:hover { color: var(--cta-gold); }
.breadcrumb .sep { opacity: 0.5; }
.breadcrumb .current { color: var(--brown); font-weight: 600; }

/* Stars */
.stars { color: var(--cta-gold); letter-spacing: 2px; font-size: 13px; }
.stars-sm { font-size: 11px; letter-spacing: 1px; }

/* Badge */
.badge {
  display: inline-block;
  padding: 3px 9px; border-radius: 2px;
  font-size: 9.5px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase;
}
.badge-dark { background: var(--brown-dark); color: var(--soft-gold); }
.badge-gold { background: var(--cta-gold); color: var(--brown-dark); }
.badge-light { background: rgba(230,165,32,0.15); color: var(--brown); }

/* ── PRODUCT CARD ── */
.product-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--transition), transform var(--transition);
}
.product-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}
.product-card-img {
  position: relative;
  aspect-ratio: 3/4;
  overflow: hidden;
  background: #eee;
}
.product-card-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.product-card:hover .product-card-img img { transform: scale(1.04); }
.product-card-badges {
  position: absolute; top: 10px; left: 10px;
  display: flex; flex-direction: column; gap: 5px;
}
.stock-low {
  position: absolute; top: 10px; right: 10px;
}
.quick-add-btn {
  position: absolute; bottom: 10px; left: 50%;
  transform: translateX(-50%) translateY(8px);
  opacity: 0; white-space: nowrap;
  background: var(--brown-dark); color: var(--soft-gold);
  border: none; padding: 8px 16px;
  font-size: 11px; font-weight: 700;
  border-radius: var(--radius);
  transition: all 0.22s;
  cursor: pointer;
}
.product-card:hover .quick-add-btn {
  opacity: 1; transform: translateX(-50%) translateY(0);
}
.product-card-info { padding: 14px 16px 18px; }
.product-card-sku { font-size: 9.5px; color: var(--text-muted); letter-spacing: 1px; margin-bottom: 4px; }
.product-card-name {
  font-family: var(--serif);
  font-size: 19px; font-weight: 600;
  color: var(--brown-dark); margin-bottom: 8px; line-height: 1.2;
}
.size-dots { display: flex; gap: 4px; margin-bottom: 10px; }
.size-dot {
  width: 27px; height: 27px;
  border: 1px solid var(--border);
  border-radius: 2px;
  font-size: 9.5px; font-weight: 700; color: var(--brown);
  display: flex; align-items: center; justify-content: center;
}
.size-dot.out { opacity: 0.3; text-decoration: line-through; }
.product-card-footer {
  display: flex; align-items: center; justify-content: space-between;
}
.product-price {
  font-family: var(--serif);
  font-size: 22px; font-weight: 700; color: var(--brown-dark);
}
.product-price .currency { font-size: 14px; font-weight: 400; }

/* ── FORM ELEMENTS ── */
.form-label {
  display: block;
  font-size: 10.5px; font-weight: 700;
  letter-spacing: 1px; text-transform: uppercase;
  color: var(--brown); margin-bottom: 7px;
}
.form-input, .form-select, .form-textarea {
  width: 100%;
  padding: 11px 14px;
  border: 1.5px solid rgba(122,74,0,0.22);
  border-radius: var(--radius);
  font-size: 13.5px;
  color: var(--text);
  background: var(--white);
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
}
.form-input:focus, .form-select:focus, .form-textarea:focus {
  border-color: var(--cta-gold);
  box-shadow: 0 0 0 3px rgba(230,165,32,0.12);
}
.form-group { margin-bottom: 16px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }

/* ── PAGE HERO ── */
.page-hero {
  background: linear-gradient(135deg, var(--brown-dark) 0%, #3A1C00 100%);
  padding: 32px 40px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute; inset: 0;
  background-image: radial-gradient(ellipse at 30% 50%, rgba(255,215,122,0.07) 0%, transparent 60%);
}
.page-hero-title {
  font-family: var(--serif);
  font-size: 52px; font-weight: 700;
  color: var(--soft-gold);
  letter-spacing: 1px; position: relative;
}
.page-hero-sub {
  font-size: 14px; color: rgba(255,215,122,0.6);
  margin-top: 8px; letter-spacing: 0.3px; position: relative;
}

/* ── TRUST STRIP ── */
.trust-strip {
  background: var(--brown-dark);
  padding: 22px 40px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.trust-item {
  display: flex; align-items: center; gap: 12px;
  color: var(--soft-gold);
}
.trust-icon {
  width: 38px; height: 38px;
  border: 1px solid rgba(255,215,122,0.28);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 16px; flex-shrink: 0;
}
.trust-item h4 { font-size: 12px; font-weight: 700; margin-bottom: 2px; }
.trust-item p { font-size: 10.5px; opacity: 0.6; line-height: 1.3; }

/* ── ISLAMIC QUOTE SECTION ── */
.quote-section {
  background: linear-gradient(135deg, var(--brown-dark) 0%, #3A1C00 100%);
  padding: 72px 40px;
  text-align: center;
  position: relative; overflow: hidden;
}
.quote-section::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 25% 50%, rgba(255,215,122,0.06) 0%, transparent 60%),
              radial-gradient(ellipse at 75% 50%, rgba(255,215,122,0.04) 0%, transparent 60%);
}
.quote-ornament { font-size: 36px; color: var(--soft-gold); opacity: 0.28; margin-bottom: 20px; }
.quote-text {
  font-family: var(--serif);
  font-size: 26px; font-style: italic; font-weight: 300;
  color: var(--soft-gold);
  max-width: 640px; margin: 0 auto 14px;
  line-height: 1.55; position: relative;
}
.quote-source {
  font-size: 11.5px; color: rgba(255,215,122,0.45);
  letter-spacing: 2px; text-transform: uppercase;
  position: relative;
}
.brand-mission-text {
  font-size: 13px; color: rgba(255,215,122,0.65);
  max-width: 480px; margin: 26px auto 0;
  line-height: 1.75; position: relative;
}
.sadaqah-note {
  display: inline-flex; align-items: center; gap: 9px;
  background: rgba(255,215,122,0.09);
  border: 1px solid rgba(255,215,122,0.2);
  color: var(--soft-gold);
  padding: 9px 22px; border-radius: 2px;
  font-size: 11.5px; font-weight: 600; letter-spacing: 0.4px;
  margin-top: 22px; position: relative;
}

/* ── POLICIES SHARED ── */
.policy-content {
  max-width: 760px; margin: 0 auto;
  padding: 60px 40px;
}
.policy-content h1 {
  font-family: var(--serif);
  font-size: 44px; font-weight: 700;
  color: var(--brown-dark); margin-bottom: 6px;
}
.policy-meta {
  font-size: 12px; color: var(--text-muted);
  margin-bottom: 36px; padding-bottom: 20px;
  border-bottom: 1px solid var(--border);
}
.policy-content h2 {
  font-family: var(--serif);
  font-size: 24px; font-weight: 600;
  color: var(--brown-dark);
  margin: 32px 0 12px;
}
.policy-content p {
  font-size: 14.5px; line-height: 1.8;
  color: var(--text); margin-bottom: 14px;
}
.policy-content ul {
  list-style: none; margin-bottom: 16px;
}
.policy-content ul li {
  font-size: 14.5px; line-height: 1.8;
  color: var(--text);
  padding: 5px 0 5px 20px;
  position: relative;
}
.policy-content ul li::before {
  content: '•';
  color: var(--cta-gold);
  position: absolute; left: 0;
  font-weight: 700;
}

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}

@media (max-width: 768px) {
  .navbar { padding: 0 20px; }
  .nav-links { display: none; }
  .nav-toggle { display: flex; }
  .container { padding: 0 20px; }
  .container-sm { padding: 0 20px; }
  .trust-strip { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
  .site-footer { padding: 44px 20px 20px; }
  .page-hero { padding: 44px 20px; }
  .page-hero-title { font-size: 38px; }
  .form-row { grid-template-columns: 1fr; }
  .policy-content { padding: 40px 20px; }
}

@media (max-width: 480px) {
  .trust-strip { grid-template-columns: 1fr; padding: 20px; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; gap: 6px; }
  .nav-logo-img { height: 44px; }
  .btn-cart .cart-label { display: none; }
}
