/* ==========================================================================
   Hazara Dry Fruit — Design tokens
   ========================================================================== */
@import url('https://fonts.googleapis.com/css2?family=Fraunces:ital,opsz,wght@0,9..144,400;0,9..144,600;0,9..144,700;1,9..144,500&family=Inter:wght@400;500;600;700&display=swap');

:root {
  /* Color — updated to match new logo: deep forest green + rich gold */
  --walnut: #2C1F14;          /* deeper, slightly cooler brown-green */
  --cream: #FAF3E6;            /* unchanged — keeps the warm light feel */
  --cream-dim: #F1E7D6;        /* unchanged */
  --amber: #C9A84C;            /* logo gold */
  --amber-dark: #A8882E;       /* darker logo gold */
  --olive: #163D27;            /* logo forest green — used in badges, accents */
  --ink: #1E1810;              /* slightly deeper ink, still warm */
  --white: #FFFFFF;

  /* Type */
  --font-display: 'Fraunces', serif;
  --font-body: 'Inter', sans-serif;

  /* Layout */
  --max-width: 1200px;
  --radius: 14px;
  --space-1: 0.5rem;
  --space-2: 1rem;
  --space-3: 1.5rem;
  --space-4: 2.5rem;
  --space-5: 4rem;
  --space-6: 6rem;
}

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

:focus-visible {
  outline: 3px solid var(--amber);
  outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

.container {
  max-width: var(--max-width);
  margin-inline: auto;
  padding-inline: var(--space-3);
}

h1, h2, h3 { font-family: var(--font-display); color: var(--walnut); line-height: 1.15; }
h1 { font-size: clamp(2.2rem, 5vw + 1rem, 4rem); font-weight: 600; }
h2 { font-size: clamp(1.6rem, 3vw + 1rem, 2.4rem); font-weight: 600; }
h3 { font-size: clamp(1.1rem, 1.5vw + 0.8rem, 1.4rem); font-weight: 600; }
p.lede { font-size: clamp(1rem, 1vw + 0.9rem, 1.2rem); color: #5A4E44; max-width: 55ch; }

.eyebrow {
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--amber-dark);
}

/* ==========================================================================
   Header / Nav
   ========================================================================== */
/* Make header relative so the mobile dropdown positions under it */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(250, 243, 230, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(62, 42, 31, 0.08);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: var(--space-2);
}
.brand {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.1rem, 4vw, 1.4rem);
  color: var(--walnut);
  display: flex;
  align-items: center;
  gap: 0.4rem;
  white-space: nowrap;
  flex-shrink: 0;
}
.brand span { color: var(--amber); }
.brand-logo {
  height: 36px;
  width: auto;
  object-fit: contain;
  flex-shrink: 0;
}
.brand-text {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  white-space: nowrap;
}
.brand-text span { color: var(--amber); }

/* Footer brand — slightly smaller */
.footer-brand {
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  margin-bottom: 0.5rem;
}
.brand-logo-footer { height: 28px; }

/* On very small screens, hide text, show logo only */
@media (max-width: 360px) {
  .brand-text { display: none; }
  .brand-logo { height: 32px; }
}
.nav-links {
  display: none;
  gap: var(--space-4);
  font-weight: 500;
}
.nav-links a { position: relative; }
.nav-links a:hover { color: var(--amber-dark); }
.nav-actions { display: flex; align-items: center; gap: var(--space-2); }
@media (min-width: 860px) { .nav-actions { gap: var(--space-3); } }

.cart-btn {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-weight: 600;
  padding: 0.5rem 0.9rem;
  border-radius: 999px;
  background: var(--walnut);
  color: var(--cream);
}
.cart-count {
  background: var(--amber);
  color: var(--white);
  font-size: 0.75rem;
  min-width: 1.2rem;
  height: 1.2rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.nav-toggle { display: block; font-size: 1.6rem; background: none; color: var(--walnut); }

/* Mobile nav open state */
.nav-links.open {
  display: flex;
  flex-direction: column;
  gap: 0;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: rgba(250, 243, 230, 0.98);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(62, 42, 31, 0.1);
  padding: var(--space-2) var(--space-3) var(--space-3);
  z-index: 40;
}
.nav-links.open li a {
  display: block;
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--cream-dim);
  font-size: 1.05rem;
}

/* Make header position:relative so the dropdown positions correctly */
.nav { position: relative; }

@media (min-width: 860px) {
  .nav-links { display: flex; flex-direction: row; position: static; background: none; border: none; padding: 0; }
  .nav-links.open { flex-direction: row; position: static; background: none; border: none; padding: 0; }
  .nav-links.open li a { border: none; padding: 0; font-size: inherit; }
  .nav-toggle { display: none; }
}

/* ==========================================================================
   Hero — mobile: full-bleed image with text overlay
             desktop: side-by-side
   ========================================================================== */

/* The section is the positioning context */
.hero {
  position: relative;
  overflow: hidden;
}

/* Image/video fills the whole hero on mobile */
.hero-visual {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-visual video,
.hero-visual img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-fallback-img { z-index: 0; }
.hero-visual video { z-index: 1; }

/* Filters applied to both the fallback image and video poster
   to tone the shop image into a background feel:
   - brightness down slightly
   - desaturate so colours don't fight the text
   - sepia adds the warm walnut/amber tone matching the palette   */
.hero-visual img,
.hero-visual video {
  filter: brightness(0.72) saturate(0.6) sepia(0.35);
}

/* Dark gradient so text is readable over the image */
.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(
    to bottom,
    rgba(30, 18, 10, 0.55) 0%,
    rgba(30, 18, 10, 0.72) 60%,
    rgba(30, 18, 10, 0.85) 100%
  );
}

/* Text sits above overlay */
.hero-inner {
  position: relative;
  z-index: 3;
  padding-block: var(--space-6);
  min-height: 88vw; /* tall enough on mobile to feel immersive */
  display: flex;
  align-items: flex-end; /* text anchors to bottom on mobile */
}

.hero-copy {
  max-width: 46ch;
  color: var(--white);
}
.hero-copy h1 {
  color: var(--white);
  margin-bottom: var(--space-2);
  text-shadow: 0 2px 12px rgba(0,0,0,0.3);
}
.hero-sub {
  font-size: clamp(0.95rem, 1vw + 0.85rem, 1.15rem);
  color: rgba(255,255,255,0.85);
  max-width: 48ch;
}
.hero-actions { display: flex; gap: var(--space-2); margin-top: var(--space-3); flex-wrap: wrap; }

/* Badge — bottom-right corner on mobile */
.quality-badge {
  position: absolute;
  bottom: var(--space-3);
  right: var(--space-3);
  z-index: 4;
  width: 90px;
  height: 90px;
  background: var(--olive);
  color: var(--cream);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-family: var(--font-display);
  font-size: 0.65rem;
  line-height: 1.3;
  padding: 0.75rem;
  box-shadow: 0 8px 24px rgba(0,0,0,0.3);
  border: 2px solid rgba(255,255,255,0.3);
}

/* Desktop: restore side-by-side, image only on right */
@media (min-width: 900px) {
  .hero { background: var(--cream); }

  .hero-visual {
    position: absolute;
    inset: 0 0 0 50%; /* right half — LTR default */
    clip-path: polygon(4% 0, 100% 0, 100% 100%, 0% 100%);
  }
  .hero-overlay { display: none; }

  .hero-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    min-height: 0;
    padding-block: var(--space-6);
  }

  .hero-copy { color: var(--ink); }
  .hero-copy h1 { color: var(--walnut); text-shadow: none; }
  .hero-sub { color: #5A4E44; }

  .quality-badge {
    position: absolute;
    bottom: var(--space-4);
    right: var(--space-4);
    width: 110px;
    height: 110px;
    font-size: 0.72rem;
  }

  /* RTL (Urdu): flip image to left half, text sits on right */
  html[dir="rtl"] .hero-visual {
    inset: 0 50% 0 0; /* left half */
    clip-path: polygon(0 0, 96% 0, 100% 100%, 0% 100%);
  }
  html[dir="rtl"] .hero-inner {
    direction: rtl;
  }
  html[dir="rtl"] .quality-badge {
    right: auto;
    left: var(--space-4);
  }
}

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 1.6rem;
  border-radius: 999px;
  font-weight: 600;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.btn-primary { background: var(--amber); color: var(--white); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 10px 24px -8px rgba(201,168,76,0.55); }
.btn-secondary { background: transparent; color: var(--walnut); border: 1.5px solid var(--walnut); }
.btn-secondary:hover { background: var(--walnut); color: var(--cream); }

/* ==========================================================================
   Category strip
   ========================================================================== */
.categories {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-2);
}
@media (min-width: 700px) { .categories { grid-template-columns: repeat(6, 1fr); gap: var(--space-2); } }

.category-card {
  position: relative;
  aspect-ratio: 1 / 1;
  border-radius: 10px;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  /* no transform transition — just opacity on hover */
}
.category-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* no scale transition */
}
.category-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(43,38,34,0.72), transparent 60%);
}
.category-card span {
  position: relative;
  z-index: 1;
  color: var(--white);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.78rem;
  padding: 0.5rem 0.6rem;
  transition: color 0.15s;
}
.category-card:hover span { color: var(--amber); }

/* ==========================================================================
   Product grid + card
   ========================================================================== */
.section { padding-block: var(--space-5); }
.section-title {
  margin-bottom: var(--space-4);
  font-size: clamp(1.4rem, 2.5vw + 0.8rem, 2rem);
}

/* Category filter pills */
.filter-bar {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-bottom: var(--space-4);
}
.filter-pill {
  padding: 0.45rem 1.1rem;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 600;
  border: 1.5px solid var(--cream-dim);
  background: var(--white);
  color: var(--ink);
  cursor: pointer;
  transition: background 0.18s, color 0.18s, border-color 0.18s;
}
.filter-pill:hover,
.filter-pill.active {
  background: var(--walnut);
  color: var(--cream);
  border-color: var(--walnut);
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-2);
}
@media (min-width: 560px)  { .product-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 860px)  { .product-grid { grid-template-columns: repeat(4, 1fr); } }
@media (min-width: 1100px) { .product-grid { grid-template-columns: repeat(5, 1fr); gap: var(--space-2); } }

/* Card — no transform transition, text only */
.product-card {
  background: var(--white);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 1px 4px rgba(43,38,34,0.07);
  display: flex;
  flex-direction: column;
}
.product-card:hover {
  box-shadow: 0 6px 16px -6px rgba(43,38,34,0.16);
}

/* ==========================================================================
   Product image frame — circular, gold ring, inspired by Elixir Provenance
   ========================================================================== */
.product-media {
  position: relative;
  aspect-ratio: 1 / 1;
  overflow: visible; /* allow decorative rings to bleed */
  background: linear-gradient(145deg, #2A1A10 0%, #1a0f06 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Decorative outer rings */
.product-media-ring1,
.product-media-ring2 {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
}
.product-media-ring1 {
  inset: 8%;
  border: 1px solid rgba(184,118,62,0.12);
}
.product-media-ring2 {
  inset: 3%;
  border: 1px solid rgba(184,118,62,0.06);
}

/* Gold gradient border container */
.product-media-circle {
  position: relative;
  width: 72%;
  height: 72%;
  border-radius: 50%;
  padding: 2px;
  background: linear-gradient(135deg, #C9A84C 0%, #E8C96A 40%, #A8882E 70%, #C9A84C 100%);
  box-shadow: 0 8px 24px rgba(0,0,0,0.5), 0 0 0 3px rgba(26,15,6,0.8);
  z-index: 2;
  flex-shrink: 0;
}
.product-media-circle-inner {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  overflow: hidden;
  background: #2A1A10;
  border: 2px solid #1a0f06;
}
.product-media-circle-inner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 50%;
}

/* Brand label — very small, top center */
.product-media-brand {
  position: absolute;
  top: 0.3rem;
  left: 0;
  right: 0;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.3rem;
}
.product-media-brand::before,
.product-media-brand::after {
  content: '';
  height: 1px;
  width: 14px;
  background: rgba(184,118,62,0.35);
}
.product-media-brand-name {
  font-family: var(--font-display);
  font-size: 0.42rem;
  font-weight: 700;
  color: rgba(250,243,230,0.55);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  white-space: nowrap;
}
.product-media-brand-name span { color: rgba(184,118,62,0.8); }

/* Quality seal — bottom right, small rotating badge */
.product-media-seal {
  position: absolute;
  bottom: 0.3rem;
  right: 0.3rem;
  z-index: 4;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--olive);
  border: 1px solid rgba(184,118,62,0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  box-shadow: 0 2px 6px rgba(0,0,0,0.35);
}
.product-media-seal span {
  font-family: var(--font-display);
  font-size: 0.19rem;
  line-height: 1.35;
  color: rgba(250,243,230,0.85);
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

/* Tags — bottom left, italic pill style like Elixir */
.product-media .product-tags {
  position: absolute;
  bottom: 0.4rem;
  left: 0.4rem;
  right: auto;
  top: auto;
  z-index: 4;
  margin: 0;
  gap: 0.2rem;
  flex-direction: column;
  align-items: flex-start;
}
.product-media .tag {
  font-size: 0.44rem;
  padding: 0.12rem 0.4rem;
  font-style: italic;
  letter-spacing: 0.05em;
  background: transparent;
  border: 1px solid rgba(184,118,62,0.4);
  color: rgba(212,168,83,0.9);
}
.product-media .tag-bestseller {
  background: transparent;
  border-color: rgba(184,118,62,0.5);
  color: rgba(212,168,83,1);
}
.product-media .tag-premium {
  background: transparent;
  border-color: rgba(74,93,58,0.6);
  color: rgba(150,180,120,0.9);
}

/* Card body — tight, clean */
.product-body {
  padding: 0.55rem 0.65rem 0.7rem;
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 0.1rem;
}
.product-body .eyebrow {
  font-size: 0.62rem;
  letter-spacing: 0.08em;
  opacity: 0.6;
  margin-bottom: 0;
}
.product-body h3 {
  font-size: 0.82rem;
  font-weight: 600;
  line-height: 1.2;
  color: var(--walnut);
}
/* Text transitions only */
.product-body h3 a { color: inherit; transition: color 0.15s; }
.product-body h3 a:hover { color: var(--amber-dark); }

.product-price {
  color: var(--amber-dark);
  font-weight: 700;
  font-size: 0.82rem;
  margin-top: 0.15rem;
}

.product-price {
  color: var(--amber-dark);
  font-weight: 700;
  font-size: 1rem;
  margin-top: 0.1rem;
}

/* Add to cart — compact stacked layout */
.product-actions {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  margin-top: 0.5rem;
}
.qty-stepper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border: 1px solid var(--cream-dim);
  border-radius: 999px;
  background: var(--cream);
  width: 100%;
}
.qty-stepper button {
  width: 28px;
  height: 28px;
  font-size: 1rem;
  font-weight: 700;
  color: var(--walnut);
  line-height: 1;
}
.qty-stepper span {
  flex: 1;
  text-align: center;
  font-weight: 600;
  font-size: 0.8rem;
}

/* New quantity selector styles */
.qty-selector {
  width: 100%;
}
.qty-selector select {
  width: 100%;
  padding: 0.5rem 0.75rem;
  border: 1px solid var(--cream-dim);
  border-radius: 999px;
  background: var(--cream);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--walnut);
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23704832' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6,9 12,15 18,9'%3e%3c/polyline%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 0.5rem center;
  background-size: 1rem;
  padding-right: 2rem;
}
.qty-selector select:focus {
  outline: 2px solid var(--amber);
  outline-offset: 2px;
}
.qty-selector select:hover {
  border-color: var(--amber);
}

.add-btn {
  width: 100%;
  background: var(--walnut);
  color: var(--cream);
  padding: 0.45rem 0.75rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 600;
  text-align: center;
  transition: background 0.18s;
}
.add-btn:hover { background: var(--amber-dark); }

/* Cart quantity display */
.cart-qty-display {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--walnut-light);
  margin-top: 0.25rem;
}

/* Product tag badges — consistent colour for any tag value */
.product-tags {
  display: flex;
  gap: 0.3rem;
  flex-wrap: wrap;
}
.tag {
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  color: var(--white);
}
.tag-bestseller { background: var(--amber); }
.tag-premium    { background: var(--olive); }
.tag:not(.tag-bestseller):not(.tag-premium) { background: var(--walnut); }

/* ==========================================================================
   Scroll-reveal animation — text/hero sections only, not image grids
   ========================================================================== */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-group > * {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}
.reveal-group.visible > * { opacity: 1; transform: translateY(0); }
.reveal-group.visible > *:nth-child(1) { transition-delay: 0s; }
.reveal-group.visible > *:nth-child(2) { transition-delay: 0.08s; }
.reveal-group.visible > *:nth-child(3) { transition-delay: 0.16s; }
.reveal-group.visible > *:nth-child(4) { transition-delay: 0.24s; }
.reveal-group.visible > *:nth-child(5) { transition-delay: 0.32s; }
.reveal-group.visible > *:nth-child(6) { transition-delay: 0.40s; }

/* ==========================================================================
   About section
   ========================================================================== */
.about-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-5);
  align-items: center;
  padding-block: var(--space-6);
}
@media (min-width: 860px) {
  .about-grid { grid-template-columns: 1fr 1fr; }
}
.about-copy > * + * { margin-top: var(--space-3); }
.about-copy h2 { margin-top: var(--space-2); }
.about-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-3);
  margin-top: var(--space-4);
}
.about-stat strong {
  display: block;
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--amber-dark);
  line-height: 1;
}
.about-sub {
  font-size: clamp(0.95rem, 1vw + 0.85rem, 1.1rem);
  color: #5A4E44;
  max-width: 50ch;
}
.about-image {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: var(--radius);
  overflow: hidden;
}
.about-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.about-image-badge {
  position: absolute;
  bottom: var(--space-3);
  right: var(--space-3);
  background: var(--walnut);
  color: var(--cream);
  font-family: var(--font-display);
  font-size: 0.8rem;
  padding: 0.6rem 1rem;
  border-radius: 999px;
  border: 2px solid var(--amber);
}

/* ==========================================================================
   Trust strip
   ========================================================================== */
.trust-strip {
  background: var(--walnut);
  color: var(--cream);
  padding-block: var(--space-3);
}
.trust-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-2) var(--space-5);
  font-size: 0.88rem;
  font-weight: 500;
  text-align: center;
}
.trust-strip strong { display: block; font-family: var(--font-display); font-size: 1.3rem; color: var(--amber); }

/* ==========================================================================
   Footer
   ========================================================================== */
footer.site-footer {
  background: var(--ink);
  color: var(--cream-dim);
  padding-block: var(--space-5) var(--space-3);
  font-size: 0.9rem;
}
.footer-inner {
  display: grid;
  gap: var(--space-4);
  grid-template-columns: 1fr;
  margin-bottom: var(--space-4);
}
@media (min-width: 700px) { .footer-inner { grid-template-columns: 2fr 1fr 1fr; } }
.footer-inner p { color: var(--cream-dim); margin-bottom: var(--space-2); font-weight: 600; font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.08em; }
.footer-inner ul li { margin-bottom: 0.5rem; }
.footer-inner ul li a:hover { color: var(--amber); }
.footer-inner .brand { font-size: 1.2rem; display: block; margin-bottom: 0.5rem; }
.footer-inner .brand span { color: var(--amber); }
.footer-bottom { border-top: 1px solid rgba(250,243,230,0.1); padding-top: var(--space-2); text-align: center; opacity: 0.5; font-size: 0.8rem; }

/* ==========================================================================
   Cart drawer
   ========================================================================== */
.cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  height: 100%;
  width: min(100%, 380px);
  background: var(--cream);
  box-shadow: -12px 0 40px rgba(0,0,0,0.2);
  transform: translateX(100%);
  transition: transform 0.35s ease;
  z-index: 100;
  display: flex;
  flex-direction: column;
}
.cart-drawer.open { transform: translateX(0); }
.cart-drawer-head { display: flex; justify-content: space-between; align-items: center; padding: var(--space-3); border-bottom: 1px solid var(--cream-dim); }
.cart-drawer-items { flex: 1; overflow-y: auto; padding: var(--space-3); display: flex; flex-direction: column; gap: var(--space-2); }

.cart-delivery-notice {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.7rem 1rem;
  background: rgba(76, 175, 80, 0.1);
  border: 1px solid rgba(76, 175, 80, 0.2);
  border-radius: 8px;
  font-size: 0.85rem;
  font-weight: 500;
  color: #2E7D32;
  margin-bottom: 0.5rem;
}

.delivery-icon {
  flex-shrink: 0;
  color: #4CAF50;
}

[dir="rtl"] .cart-delivery-notice {
  flex-direction: row-reverse;
}
.cart-item { display: flex; gap: var(--space-2); align-items: center; }
.cart-item img { width: 56px; height: 56px; object-fit: cover; border-radius: 8px; }
.cart-item-info { flex: 1; }
.cart-item-info h4 { font-size: 0.9rem; font-weight: 600; }
.remove-item { color: var(--amber-dark); font-size: 0.8rem; text-decoration: underline; }
.cart-drawer-foot { padding: var(--space-3); border-top: 1px solid var(--cream-dim); }
.cart-total { display: flex; justify-content: space-between; font-weight: 700; margin-bottom: var(--space-2); }

.checkout-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: 100%;
  padding: 0.9rem;
  background: var(--walnut);
  color: var(--cream);
  border: none;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.2s ease;
}

.checkout-btn:hover {
  background: var(--amber-dark);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

.checkout-icon {
  flex-shrink: 0;
}

[dir="rtl"] .checkout-btn {
  flex-direction: row-reverse;
}
/* ==========================================================================
   Image tint — warm amber overlay on all product/category images
   A subtle mix-blend-mode:multiply layer ties every photo to the site palette
   without hiding the image. The pseudo-element sits above img but below text.
   ========================================================================== */

/* Product card image tint removed — template handles visual treatment */

/* Category card already has a gradient overlay — add tint behind it */
.category-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(62, 42, 31, 0.22); /* walnut tint */
  mix-blend-mode: multiply;
  z-index: 1;
  pointer-events: none;
}
/* Keep the text-gradient above the tint */
.category-card::after { z-index: 2; }
.category-card span { z-index: 3; }

/* About image tint */
.about-image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(74, 93, 58, 0.15); /* olive tint — slightly cooler for variety */
  mix-blend-mode: multiply;
  pointer-events: none;
  border-radius: inherit;
}

/* ==========================================================================
   Cart drawer checkout button (plain, no WA branding)
   ========================================================================== */
.checkout-btn {
  width: 100%;
  background: var(--walnut);
  color: var(--cream);
  padding: 0.9rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s;
}
.checkout-btn:hover { background: var(--amber-dark); }

/* Keep old .whatsapp-btn in case referenced elsewhere */
.whatsapp-btn {
  width: 100%;
  background: var(--walnut);
  color: var(--white);
  padding: 0.9rem;
  border-radius: 999px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}
.whatsapp-btn:hover { background: var(--amber-dark); }

.overlay {
  position: fixed;
  inset: 0;
  background: rgba(43,38,34,0.4);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  z-index: 90;
}
.overlay.open { opacity: 1; pointer-events: auto; }

.empty-cart { text-align: center; padding: var(--space-4); color: #8a7a6c; }

/* ==========================================================================
   Social links (footer)
   ========================================================================== */
.social-links {
  display: flex;
  gap: 0.6rem;
  margin-top: var(--space-2);
}
.social-link {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(250,243,230,0.1);
  border: 1px solid rgba(250,243,230,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--cream-dim);
  transition: background 0.18s, color 0.18s, transform 0.18s;
}
.social-link:hover {
  background: var(--amber);
  color: var(--white);
  border-color: var(--amber);
  transform: translateY(-2px);
}

/* ==========================================================================
   Fixed WhatsApp button (bottom-right)
   ========================================================================== */
.wa-float {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 80;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: #25D366;
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 20px rgba(37,211,102,0.45);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.wa-float:hover {
  transform: translateY(-3px) scale(1.06);
  box-shadow: 0 10px 28px rgba(37,211,102,0.55);
}
/* Keep it above cart drawer on mobile */
@media (max-width: 860px) {
  .wa-float { bottom: 1.2rem; right: 1.2rem; width: 48px; height: 48px; }
}
/* Flip to left side in RTL */
html[dir="rtl"] .wa-float { right: auto; left: 1.5rem; }

/* ==========================================================================
   Hero social links
   ========================================================================== */
.hero-socials {
  display: flex;
  gap: 0.75rem;
  margin-top: var(--space-3);
  flex-wrap: wrap;
}
.hero-social-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.45rem 1rem;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  /* Mobile: on dark overlay — white ghost style */
  color: rgba(255,255,255,0.85);
  border: 1.5px solid rgba(255,255,255,0.3);
  background: rgba(255,255,255,0.08);
  backdrop-filter: blur(4px);
  transition: background 0.2s, border-color 0.2s, color 0.2s, transform 0.2s;
}
.hero-social-link:hover {
  background: rgba(255,255,255,0.18);
  border-color: rgba(255,255,255,0.6);
  color: var(--white);
  transform: translateY(-2px);
}
.hero-social-link svg { flex-shrink: 0; }

/* Desktop: sitting on cream background — flip to walnut/amber */
@media (min-width: 900px) {
  .hero-social-link {
    color: var(--walnut);
    border-color: var(--cream-dim);
    background: transparent;
  }
  .hero-social-link:hover {
    background: var(--walnut);
    border-color: var(--walnut);
    color: var(--cream);
    transform: translateY(-2px);
  }
}

/* Hide social link text on mobile, icon only */
.hero-social-link span { display: none; }
.hero-social-link { padding: 0.5rem; width: 36px; height: 36px; justify-content: center; }

@media (min-width: 900px) {
  .hero-social-link span { display: inline; }
  .hero-social-link { padding: 0.45rem 1rem; width: auto; height: auto; }
}

/* ==========================================================================
   Pagination — numbered, Google style
   ========================================================================== */
.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.3rem;
  padding-block: var(--space-4);
  flex-wrap: wrap;
}
.pg-btn {
  min-width: 36px;
  height: 36px;
  padding: 0 0.6rem;
  border-radius: 6px;
  font-weight: 600;
  font-size: 0.85rem;
  border: 1.5px solid transparent;
  background: transparent;
  color: var(--walnut);
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s, color 0.15s;
}
.pg-btn:hover {
  background: var(--cream-dim);
  border-color: var(--cream-dim);
}
.pg-btn.pg-active {
  background: var(--walnut);
  color: var(--cream);
  border-color: var(--walnut);
}
.pg-arrow {
  font-size: 1rem;
  color: var(--amber-dark);
}
.pg-ellipsis {
  min-width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  color: #8a7a6c;
  cursor: default;
}
.page-loading { color: #8a7a6c; font-size: 0.9rem; }

/* ==========================================================================
   Filter panel
   ========================================================================== */
.filter-panel {
  margin-bottom: var(--space-3);
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}
.filter-row {
  display: flex;
  gap: 0.4rem;
  flex-wrap: wrap;
}

/* Filters toggle button */
.filter-advanced-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.4rem 1rem;
  border-radius: 999px;
  border: 1.5px solid var(--cream-dim);
  background: var(--white);
  color: var(--ink);
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  transition: border-color 0.15s, background 0.15s;
  align-self: flex-start;
}
.filter-advanced-toggle:hover,
.filter-advanced-toggle.active {
  border-color: var(--walnut);
  background: var(--walnut);
  color: var(--cream);
}
.filter-active-count {
  background: var(--amber);
  color: var(--white);
  font-size: 0.65rem;
  font-weight: 700;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* Drawer */
.filter-drawer {
  background: var(--white);
  border: 1px solid var(--cream-dim);
  border-radius: 12px;
  padding: 1rem 1.25rem 1.25rem;
}
.filter-groups {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}
@media (min-width: 600px) { .filter-groups { grid-template-columns: 1fr 1fr; } }
@media (min-width: 900px) { .filter-groups { grid-template-columns: repeat(4, 1fr); } }

.filter-group-label {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--amber-dark);
  margin-bottom: 0.5rem;
}
.filter-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}
.filter-chip {
  padding: 0.3rem 0.75rem;
  border-radius: 999px;
  border: 1.5px solid var(--cream-dim);
  background: var(--cream);
  color: var(--ink);
  font-size: 0.75rem;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
}
.filter-chip:hover { border-color: var(--walnut); }
.filter-chip.active {
  background: var(--walnut);
  color: var(--cream);
  border-color: var(--walnut);
}

/* Price range */
.price-range-wrap {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.price-sliders {
  position: relative;
  flex: 1;
  height: 20px;
  display: flex;
  align-items: center;
}
.price-sliders input[type="range"] {
  position: absolute;
  width: 100%;
  pointer-events: none;
  appearance: none;
  height: 4px;
  background: transparent;
}
.price-sliders input[type="range"]::-webkit-slider-thumb {
  pointer-events: all;
  appearance: none;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--walnut);
  cursor: pointer;
  border: 2px solid var(--cream);
  box-shadow: 0 1px 4px rgba(0,0,0,0.2);
}
.price-sliders input[type="range"]::-moz-range-thumb {
  pointer-events: all;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--walnut);
  cursor: pointer;
  border: 2px solid var(--cream);
}
/* Track fill */
.price-sliders::before {
  content: '';
  position: absolute;
  height: 3px;
  width: 100%;
  background: var(--cream-dim);
  border-radius: 999px;
}
.price-val {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--amber-dark);
  white-space: nowrap;
  min-width: 52px;
}

/* Reset */
.filter-reset {
  margin-top: 0.85rem;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--amber-dark);
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 0;
}
.filter-reset:hover { color: var(--walnut); }

/* ==========================================================================
   Filter select dropdowns
   ========================================================================== */
.filter-select {
  width: 100%;
  padding: 0.5rem 0.75rem;
  border: 1.5px solid var(--cream-dim);
  border-radius: var(--radius);
  background: var(--white);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 500;
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%233E2A1F' stroke-width='2.5'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.75rem center;
  padding-right: 2rem;
  transition: border-color 0.15s;
}
.filter-select:focus {
  outline: none;
  border-color: var(--amber);
}
.filter-select:hover { border-color: var(--walnut); }

.filter-group-full {
  grid-column: 1 / -1;
}

/* ==========================================================================
   Skeleton loading cards
   ========================================================================== */
@keyframes shimmer {
  0%   { background-position: -600px 0; }
  100% { background-position:  600px 0; }
}
.skeleton {
  background: linear-gradient(90deg, var(--cream-dim) 25%, #ede3d4 50%, var(--cream-dim) 75%);
  background-size: 600px 100%;
  animation: shimmer 1.4s infinite linear;
  border-radius: 6px;
}
.product-card-skeleton {
  background: var(--white);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 1px 4px rgba(43,38,34,0.07);
}
.product-card-skeleton .sk-media {
  aspect-ratio: 1/1;
  width: 100%;
}
.product-card-skeleton .sk-body {
  padding: 0.55rem 0.65rem 0.9rem;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}
.product-card-skeleton .sk-line {
  height: 10px;
  border-radius: 4px;
}
.product-card-skeleton .sk-line-short { width: 45%; }
.product-card-skeleton .sk-line-med   { width: 70%; }
.product-card-skeleton .sk-line-full  { width: 100%; height: 28px; border-radius: 999px; margin-top: 0.3rem; }

/* ==========================================================================
   Loading screen
   ========================================================================== */
#loading-screen {
  position: fixed;
  inset: 0;
  z-index: 998;
  background-color: #0D2A1A;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  padding-bottom: 14vh;
  opacity: 1;
  transition: opacity 0.6s ease;
}

/* Mobile image — portrait, centred strip */
#loading-screen::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: min(100%, 480px);
  background-image: url('../images/load.png');
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
  z-index: 0;
}

/* Desktop image — full width landscape, shown at 520px+ */
@media (min-width: 520px) {
  #loading-screen::before {
    width: 100%;
    background-image: url('../images/LoadFullScreen.png');
    background-position: center center;
    background-size: cover;
    transform: none;
    left: 0;
  }
  /* Subtle vignette on edges so bar text reads cleanly */
  #loading-screen::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom,
      transparent 0%,
      transparent 55%,
      rgba(10,30,18,0.7) 85%,
      rgba(8,24,14,0.92) 100%
    );
    z-index: 1;
    pointer-events: none;
  }
}
#loading-screen .ls-bar-wrap,
#loading-screen .ls-icons {
  position: relative;
  z-index: 2;
}
#loading-screen.ls-fade {
  opacity: 0;
  pointer-events: none;
}

/* Progress bar */
.ls-bar-wrap {
  width: min(72%, 320px);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
}
.ls-bar-track {
  width: 100%;
  height: 4px;
  background: rgba(250,243,230,0.2);
  border-radius: 999px;
  overflow: hidden;
}
.ls-bar-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #C9A84C, #E8C96A, #C9A84C);
  background-size: 200% 100%;
  border-radius: 999px;
  animation: ls-shimmer 1.5s linear infinite;
  transition: width 0.4s ease;
}
@keyframes ls-shimmer {
  0%   { background-position: 100% 0; }
  100% { background-position: -100% 0; }
}

/* Loading text — typewriter dots */
.ls-text {
  font-family: 'Fraunces', serif;
  font-size: clamp(0.75rem, 2vw, 0.9rem);
  color: rgba(250,243,230,0.75);
  letter-spacing: 0.08em;
  font-style: italic;
}
.ls-text::after {
  content: '';
  animation: ls-dots 1.4s steps(4, end) infinite;
}
@keyframes ls-dots {
  0%   { content: ''; }
  25%  { content: '.'; }
  50%  { content: '..'; }
  75%  { content: '...'; }
  100% { content: ''; }
}

/* Icons row */
.ls-icons {
  display: flex;
  gap: 1.2rem;
  margin-top: 1.2rem;
  font-size: 1.3rem;
}
.ls-icon {
  opacity: 0;
  animation: ls-icon-pop 0.5s ease forwards;
  animation-iteration-count: infinite;
  animation-duration: 2.5s;
}
@keyframes ls-icon-pop {
  0%,100% { opacity: 0.3; transform: translateY(0); }
  50%      { opacity: 1;   transform: translateY(-5px); }
}

/* ==========================================================================
   Shop info popup
   ========================================================================== */
#shop-popup {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}
.sp-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(43,38,34,0.55);
  backdrop-filter: blur(3px);
}
.sp-card {
  position: relative;
  background: var(--cream);
  border-radius: 16px;
  overflow: hidden;
  width: min(100%, 360px);
  box-shadow: 0 24px 60px rgba(0,0,0,0.3);
  animation: sp-in 0.35s cubic-bezier(0.34,1.56,0.64,1) both;
}
@keyframes sp-in {
  from { opacity: 0; transform: scale(0.88) translateY(20px); }
  to   { opacity: 1; transform: scale(1) translateY(0); }
}
.sp-close {
  position: absolute;
  top: 0.6rem;
  right: 0.7rem;
  z-index: 2;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(43,38,34,0.55);
  color: var(--cream);
  font-size: 1.1rem;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border: none;
}
.sp-img {
  width: 100%;
  height: 140px;
  object-fit: cover;
  display: block;
  filter: brightness(0.75) saturate(0.7) sepia(0.25);
}
.sp-body {
  padding: 0.9rem 1rem 1.1rem;
}
.sp-title {
  font-family: var(--font-display);
  font-size: 1rem;
  color: var(--walnut);
  margin-bottom: 0.15rem;
}
.sp-sub {
  font-size: 0.72rem;
  color: #8a7a6c;
  margin-bottom: 0.75rem;
  letter-spacing: 0.04em;
  font-weight: 600;
  text-transform: uppercase;
}

.sp-description {
  font-size: 0.85rem;
  line-height: 1.5;
  color: #5a4e44;
  margin-bottom: 1rem;
  padding: 0.8rem;
  background: rgba(184, 118, 62, 0.08);
  border-radius: 6px;
  border-left: 3px solid var(--amber);
}
.sp-rows {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
.sp-row {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.65rem 0.8rem;
  border-radius: 8px;
  background: var(--cream-dim);
  font-size: 0.85rem;
  color: var(--ink);
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.2s ease;
  border: 1px solid transparent;
}
.sp-row:hover { 
  background: #e8ddd0; 
  color: var(--walnut); 
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.sp-icon { 
  font-size: 0.9rem; 
  flex-shrink: 0; 
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 6px;
  background: rgba(184, 118, 62, 0.1);
  transition: all 0.2s ease;
}

.sp-icon-whatsapp {
  background: rgba(37, 211, 102, 0.15);
  color: #25D366;
}

.sp-icon-map {
  background: rgba(234, 67, 53, 0.15);
  color: #EA4335;
}

.sp-row:hover .sp-icon {
  transform: scale(1.1);
}

.sp-row:hover .sp-icon-whatsapp {
  background: rgba(37, 211, 102, 0.25);
}

.sp-row:hover .sp-icon-map {
  background: rgba(234, 67, 53, 0.25);
}

.sp-text {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}

.sp-label {
  font-weight: 600;
  color: var(--walnut);
  font-size: 0.9rem;
}

.sp-number, .sp-address {
  font-size: 0.8rem;
  color: #6b5b4f;
  font-weight: 400;
}

.sp-row-whatsapp {
  border: 1px solid rgba(37, 211, 102, 0.2);
}

.sp-row-whatsapp:hover {
  background: rgba(37, 211, 102, 0.08);
  border-color: rgba(37, 211, 102, 0.3);
}

.sp-row-map {
  background: var(--walnut);
  color: var(--cream);
  justify-content: center;
  font-weight: 600;
  margin-top: 0.2rem;
  border: 1px solid var(--walnut);
}

.sp-row-map .sp-label {
  color: var(--cream);
}

.sp-row-map .sp-address {
  color: rgba(250, 243, 230, 0.8);
}

.sp-row-map .sp-icon-map {
  background: rgba(255, 255, 255, 0.2);
  color: var(--cream);
}

.sp-row-map:hover { 
  background: var(--amber-dark); 
  color: var(--white);
  border-color: var(--amber-dark);
}

/* RTL support for popup when in Urdu */
[dir="rtl"] .sp-row {
  text-align: right;
}

[dir="rtl"] .sp-text {
  align-items: flex-end;
  text-align: right;
}

[dir="rtl"] .sp-label,
[dir="rtl"] .sp-number,
[dir="rtl"] .sp-address {
  direction: ltr;
  text-align: left;
}

/* Keep phone numbers and addresses in LTR format even in RTL mode */
.sp-number,
.sp-address {
  direction: ltr;
  text-align: left;
}

/* Ensure consistent layout for contact information */
[dir="rtl"] .sp-row {
  flex-direction: row-reverse;
}

[dir="rtl"] .sp-text {
  align-items: flex-start;
}

.sp-icon-phone {
  background: rgba(33, 150, 243, 0.15);
  color: #2196F3;
}

.sp-icon-email {
  background: rgba(76, 175, 80, 0.15);
  color: #4CAF50;
}

.sp-row:hover .sp-icon-phone {
  background: rgba(33, 150, 243, 0.25);
}

.sp-row:hover .sp-icon-email {
  background: rgba(76, 175, 80, 0.25);
}

.sp-row-phone {
  border: 1px solid rgba(33, 150, 243, 0.2);
}

.sp-row-phone:hover {
  background: rgba(33, 150, 243, 0.08);
  border-color: rgba(33, 150, 243, 0.3);
}

.sp-row-email {
  border: 1px solid rgba(76, 175, 80, 0.2);
}

.sp-row-email:hover {
  background: rgba(76, 175, 80, 0.08);
  border-color: rgba(76, 175, 80, 0.3);
}

/* Keep phone numbers and emails in LTR format always */
.sp-number,
.sp-email {
  direction: ltr !important;
  text-align: left !important;
  unicode-bidi: bidi-override;
}

/* RTL adjustments for phone and email */
[dir="rtl"] .sp-number,
[dir="rtl"] .sp-email {
  direction: ltr !important;
  text-align: left !important;
}

.sp-row-map:hover .sp-icon-map {
  background: rgba(255, 255, 255, 0.3);
}

/* ==========================================================================
   Product Discount Styling
   ========================================================================== */

/* Discount badge on product card */
.discount-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: linear-gradient(135deg, #e53e3e, #c53030);
  color: white;
  padding: 0.4rem 0.7rem;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  box-shadow: 0 4px 12px rgba(229, 62, 62, 0.3);
  z-index: 5;
  animation: pulse-glow 2s ease-in-out infinite alternate;
}

@keyframes pulse-glow {
  0% { 
    box-shadow: 0 4px 12px rgba(229, 62, 62, 0.3);
    transform: scale(1);
  }
  100% { 
    box-shadow: 0 6px 20px rgba(229, 62, 62, 0.5);
    transform: scale(1.02);
  }
}

/* Discount price container */
.product-price-discount {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  margin-bottom: 0.8rem;
}

/* Original price (crossed out) */
.original-price {
  font-size: 0.85rem;
  color: #999;
  text-decoration: line-through;
  text-decoration-color: #e53e3e;
  text-decoration-thickness: 2px;
  font-weight: 500;
}

/* Discounted price (highlighted) */
.discounted-price {
  font-size: 1.1rem;
  color: #2d8f3f;
  font-weight: 700;
  letter-spacing: -0.02em;
}

/* Savings amount */
.savings {
  font-size: 0.8rem;
  color: #e53e3e;
  font-weight: 600;
  background: rgba(229, 62, 62, 0.1);
  padding: 0.2rem 0.5rem;
  border-radius: 12px;
  width: fit-content;
  border: 1px solid rgba(229, 62, 62, 0.2);
}

/* Product card with discount gets subtle enhancement */
.product-card.has-discount {
  border: 2px solid rgba(229, 62, 62, 0.1);
  background: linear-gradient(135deg, #ffffff, #fff8f8);
}

.product-card.has-discount:hover {
  border-color: rgba(229, 62, 62, 0.2);
  box-shadow: 0 12px 40px rgba(229, 62, 62, 0.1);
}

/* Enhanced animation for discount cards */
.product-card.has-discount .product-media-circle {
  position: relative;
}

.product-card.has-discount .product-media-circle::before {
  content: '';
  position: absolute;
  inset: -3px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(229, 62, 62, 0.2), rgba(197, 48, 48, 0.1));
  z-index: 1;
  animation: discount-ring-pulse 3s ease-in-out infinite;
}

@keyframes discount-ring-pulse {
  0%, 100% { 
    opacity: 0.3;
    transform: scale(1);
  }
  50% { 
    opacity: 0.6;
    transform: scale(1.03);
  }
}

/* RTL support for discount elements */
[dir="rtl"] .discount-badge {
  right: auto;
  left: 1rem;
}

[dir="rtl"] .product-price-discount {
  align-items: flex-end;
  text-align: right;
}

[dir="rtl"] .savings {
  align-self: flex-end;
}

/* Mobile responsiveness for discount elements */
@media (max-width: 640px) {
  .discount-badge {
    top: 0.7rem;
    right: 0.7rem;
    padding: 0.3rem 0.5rem;
    font-size: 0.7rem;
  }
  
  [dir="rtl"] .discount-badge {
    right: auto;
    left: 0.7rem;
  }
  
  .product-price-discount {
    gap: 0.2rem;
  }
  
  .original-price {
    font-size: 0.8rem;
  }
  
  .discounted-price {
    font-size: 1rem;
  }
  
  .savings {
    font-size: 0.75rem;
    padding: 0.15rem 0.4rem;
  }
}

/* Special treatment for discount cards in grid view */
@media (min-width: 860px) {
  .product-card.has-discount:hover .discount-badge {
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(229, 62, 62, 0.4);
  }
}

/* ==========================================================================
   Cart Discount Styling
   ========================================================================== */

/* Cart item with discount */
.cart-item-discount {
  border-left: 3px solid #e53e3e;
  background: linear-gradient(90deg, rgba(229, 62, 62, 0.05), transparent);
}

/* Cart item discount price container */
.cart-item-price-discount {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.2rem;
  margin-bottom: 0.3rem;
}

/* Cart original price (crossed out) */
.cart-original-price {
  font-size: 0.8rem;
  color: #999;
  text-decoration: line-through;
  text-decoration-color: #e53e3e;
  text-decoration-thickness: 1px;
}

/* Cart discounted price */
.cart-discounted-price {
  font-size: 0.9rem;
  color: #2d8f3f;
  font-weight: 700;
}

/* Cart savings */
.cart-savings {
  font-size: 0.7rem;
  color: #e53e3e;
  font-weight: 600;
  background: rgba(229, 62, 62, 0.1);
  padding: 0.1rem 0.4rem;
  border-radius: 8px;
  border: 1px solid rgba(229, 62, 62, 0.2);
}

/* RTL support for cart discount */
[dir="rtl"] .cart-item-price-discount {
  align-items: flex-start;
  text-align: left;
}

[dir="rtl"] .cart-item-discount {
  border-left: none;
  border-right: 3px solid #e53e3e;
  background: linear-gradient(270deg, rgba(229, 62, 62, 0.05), transparent);
}
/* ==========================================================================
   Product Detail Page Discount Styling
   ========================================================================== */

/* Detail page discount container */
.detail-price-discount {
  position: relative;
  margin-bottom: var(--space-3);
  padding: 1.2rem;
  background: linear-gradient(135deg, #fff8f8, #ffffff);
  border: 2px solid rgba(229, 62, 62, 0.1);
  border-radius: 12px;
}

/* Detail discount badge */
.detail-discount-badge {
  position: absolute;
  top: -10px;
  left: 1rem;
  background: linear-gradient(135deg, #e53e3e, #c53030);
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  box-shadow: 0 6px 20px rgba(229, 62, 62, 0.3);
}

/* Detail original price */
.detail-original-price {
  font-size: 1.2rem;
  color: #999;
  text-decoration: line-through;
  text-decoration-color: #e53e3e;
  text-decoration-thickness: 2px;
  margin-bottom: 0.5rem;
  font-weight: 500;
}

/* Detail discounted price */
.detail-discounted-price {
  font-size: 2rem;
  font-weight: 700;
  color: #2d8f3f;
  margin-bottom: 0.8rem;
  letter-spacing: -0.02em;
}

/* Detail savings */
.detail-savings {
  font-size: 1rem;
  color: #e53e3e;
  font-weight: 600;
  background: rgba(229, 62, 62, 0.1);
  padding: 0.5rem 1rem;
  border-radius: 25px;
  width: fit-content;
  border: 1px solid rgba(229, 62, 62, 0.2);
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}

.detail-savings::before {
  content: '💰';
  font-size: 0.9rem;
}

/* RTL support for detail page discount */
[dir="rtl"] .detail-discount-badge {
  left: auto;
  right: 1rem;
}

[dir="rtl"] .detail-price-discount {
  text-align: right;
}

[dir="rtl"] .detail-savings {
  margin-left: auto;
  margin-right: 0;
}

/* Mobile responsiveness for detail discount */
@media (max-width: 640px) {
  .detail-price-discount {
    padding: 1rem;
    margin-bottom: var(--space-2);
  }
  
  .detail-discount-badge {
    top: -8px;
    left: 0.8rem;
    padding: 0.4rem 0.8rem;
    font-size: 0.8rem;
  }
  
  [dir="rtl"] .detail-discount-badge {
    left: auto;
    right: 0.8rem;
  }
  
  .detail-original-price {
    font-size: 1.1rem;
  }
  
  .detail-discounted-price {
    font-size: 1.7rem;
  }
  
  .detail-savings {
    font-size: 0.9rem;
    padding: 0.4rem 0.8rem;
  }
}
/* ==========================================================================
   Discounts & Offers Section - Compact & Premium
   ========================================================================== */

/* Discounts section header - more compact */
.discounts-header {
  text-align: center;
  margin-bottom: 1.5rem;
}

.discounts-header .section-title {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  margin-bottom: 0.5rem;
  background: linear-gradient(135deg, #e53e3e, #ff6b6b);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-size: 1.4rem;
}

.discounts-icon {
  font-size: 1.6rem;
  animation: flame-dance 2s ease-in-out infinite alternate;
}

@keyframes flame-dance {
  0% { transform: scale(1) rotate(-1deg); }
  100% { transform: scale(1.02) rotate(1deg); }
}

.discounts-badge {
  background: linear-gradient(135deg, #e53e3e, #c53030);
  color: white;
  padding: 0.2rem 0.5rem;
  border-radius: 12px;
  font-size: 0.7rem;
  font-weight: 700;
  min-width: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(229, 62, 62, 0.3);
}

.discounts-subtitle {
  color: #8a7a6c;
  font-style: italic;
  font-size: 0.85rem;
  max-width: 40ch;
  margin: 0 auto;
}

/* Horizontal scroll container - enhanced with custom indicators */
.discounts-scroll-container {
  position: relative;
  overflow: hidden;
  margin: 0 -1rem;
  padding: 0 1rem;
}

.discounts-grid {
  display: flex;
  gap: 0.8rem;
  overflow-x: auto;
  scroll-behavior: smooth;
  padding: 0.5rem 0 1rem;
  /* Hide default scrollbar */
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.discounts-grid::-webkit-scrollbar {
  display: none;
}

/* Custom scroll indicators */
.scroll-indicator-left,
.scroll-indicator-right {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, #e53e3e, #ff6b6b);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: all 0.3s ease;
  box-shadow: 0 4px 20px rgba(229, 62, 62, 0.3);
  opacity: 0;
  pointer-events: none;
}

.scroll-indicator-left.visible,
.scroll-indicator-right.visible {
  opacity: 1;
  pointer-events: all;
}

.scroll-indicator-left {
  left: -10px;
  background: linear-gradient(135deg, #e53e3e, #c53030);
}

.scroll-indicator-right {
  right: -10px;
  background: linear-gradient(135deg, #ff4757, #e53e3e);
}

.scroll-indicator-left:hover,
.scroll-indicator-right:hover {
  transform: translateY(-50%) scale(1.1);
  box-shadow: 0 6px 30px rgba(229, 62, 62, 0.5);
}

.scroll-indicator-left svg,
.scroll-indicator-right svg {
  width: 18px;
  height: 18px;
  fill: white;
}

/* Animated dots progress indicator */
.scroll-progress-dots {
  display: flex;
  justify-content: center;
  gap: 0.4rem;
  margin-top: 0.8rem;
  padding: 0 1rem;
}

.progress-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(229, 62, 62, 0.2);
  transition: all 0.3s ease;
  cursor: pointer;
}

.progress-dot.active {
  background: linear-gradient(135deg, #e53e3e, #ff6b6b);
  transform: scale(1.3);
  box-shadow: 0 2px 8px rgba(229, 62, 62, 0.4);
}

.progress-dot:hover {
  background: rgba(229, 62, 62, 0.5);
  transform: scale(1.2);
}

/* Elegant fade edges */
.discounts-scroll-container::before,
.discounts-scroll-container::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 30px;
  z-index: 5;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.discounts-scroll-container::before {
  left: 0;
  background: linear-gradient(90deg, var(--cream) 0%, rgba(250, 243, 230, 0.8) 70%, transparent 100%);
  opacity: 0;
}

.discounts-scroll-container::after {
  right: 0;
  background: linear-gradient(270deg, var(--cream) 0%, rgba(250, 243, 230, 0.8) 70%, transparent 100%);
}

.discounts-scroll-container.has-scroll-left::before {
  opacity: 1;
}

.discounts-scroll-container.has-scroll-right::after {
  opacity: 1;
}

/* Pulsing "more items" indicator */
.more-items-indicator {
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  align-items: center;
  gap: 0.3rem;
  background: rgba(229, 62, 62, 0.9);
  color: white;
  padding: 0.3rem 0.6rem;
  border-radius: 15px;
  font-size: 0.7rem;
  font-weight: 600;
  z-index: 8;
  animation: pulse-indicator 2s ease-in-out infinite;
  opacity: 0;
  pointer-events: none;
  transition: all 0.3s ease;
}

.more-items-indicator.visible {
  opacity: 1;
}

.more-items-indicator::before {
  content: '👉';
  font-size: 0.8rem;
}

@keyframes pulse-indicator {
  0%, 100% {
    transform: translateY(-50%) scale(1);
  }
  50% {
    transform: translateY(-50%) scale(1.05);
  }
}

/* Enhanced floating animation for individual cards - keep this */
.discounts-grid .product-card {
  animation: discount-float 6s ease-in-out infinite;
  animation-delay: calc(var(--card-index, 0) * 0.3s);
  animation-fill-mode: both;
}

@keyframes discount-float {
  0%, 100% {
    transform: translateY(0px) rotate(0deg);
  }
  33% {
    transform: translateY(-2px) rotate(0.5deg);
  }
  66% {
    transform: translateY(-1px) rotate(-0.3deg);
  }
}

/* Enhanced discount badge animation - keep this */
.discounts-grid .discount-badge {
  animation: badge-pulse 3s ease-in-out infinite;
  animation-delay: calc(var(--card-index, 0) * 0.2s);
}

@keyframes badge-pulse {
  0%, 100% {
    transform: scale(1) rotate(0deg);
    box-shadow: 0 4px 12px rgba(229, 62, 62, 0.3);
  }
  50% {
    transform: scale(1.05) rotate(1deg);
    box-shadow: 0 6px 20px rgba(229, 62, 62, 0.5);
  }
}

/* Subtle shimmer effect on hover - keep this */
.discounts-grid .product-card:hover {
  animation: none; /* Stop floating on hover */
}

.discounts-grid .product-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
  transition: left 0.5s ease;
  pointer-events: none;
}

.discounts-grid .product-card:hover::after {
  left: 100%;
}

.discounts-grid::-webkit-scrollbar {
  height: 4px;
}

.discounts-grid::-webkit-scrollbar-track {
  background: rgba(184, 118, 62, 0.1);
  border-radius: 2px;
}

.discounts-grid::-webkit-scrollbar-thumb {
  background: rgba(184, 118, 62, 0.4);
  border-radius: 2px;
}

/* Discount product cards - much smaller and sleeker */
.discounts-grid .product-card {
  flex: 0 0 auto;
  width: 140px;
  border: 1px solid rgba(229, 62, 62, 0.2);
  background: linear-gradient(135deg, #ffffff, #fefefe);
  transition: all 0.2s ease;
  position: relative;
  border-radius: 12px;
  overflow: hidden;
}

.discounts-grid .product-card::before {
  content: '';
  position: absolute;
  inset: -1px;
  background: linear-gradient(135deg, rgba(229, 62, 62, 0.3), rgba(197, 48, 48, 0.1));
  border-radius: inherit;
  z-index: -1;
  opacity: 0;
  transition: opacity 0.2s ease;
}

.discounts-grid .product-card:hover::before {
  opacity: 1;
}

.discounts-grid .product-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(229, 62, 62, 0.15);
}

/* Smaller media for discount cards */
.discounts-grid .product-media {
  aspect-ratio: 1;
  position: relative;
  overflow: hidden;
}

.discounts-grid .product-media-circle {
  width: 70px;
  height: 70px;
  margin: 0.5rem auto;
}

.discounts-grid .product-media-brand {
  font-size: 0.6rem;
}

.discounts-grid .product-media-seal {
  width: 30px;
  height: 30px;
  font-size: 0.5rem;
  bottom: 0.3rem;
  left: 0.3rem;
}

/* Compact product body */
.discounts-grid .product-body {
  padding: 0.6rem;
}

.discounts-grid .eyebrow {
  font-size: 0.65rem;
  margin-bottom: 0.2rem;
}

.discounts-grid h3 {
  font-size: 0.8rem;
  margin-bottom: 0.4rem;
  line-height: 1.2;
}

.discounts-grid .product-price-discount {
  gap: 0.15rem;
  margin-bottom: 0.5rem;
}

.discounts-grid .original-price {
  font-size: 0.7rem;
}

.discounts-grid .discounted-price {
  font-size: 0.85rem;
  font-weight: 700;
}

.discounts-grid .savings {
  font-size: 0.65rem;
  padding: 0.15rem 0.4rem;
  border-radius: 8px;
}

/* Compact actions */
.discounts-grid .product-actions {
  gap: 0.4rem;
  margin-top: 0.5rem;
}

.discounts-grid .qty-selector {
  min-width: 80px;
}

.discounts-grid .qty-selector select {
  font-size: 0.7rem;
  padding: 0.25rem 0.5rem;
  padding-right: 1.5rem;
  background-size: 0.8rem;
  background-position: right 0.25rem center;
}

.discounts-grid .qty-stepper {
  min-width: 60px;
}

.discounts-grid .qty-stepper button {
  width: 20px;
  height: 20px;
  font-size: 0.8rem;
}

.discounts-grid .qty-stepper span {
  font-size: 0.8rem;
  min-width: 20px;
}

.discounts-grid .add-btn {
  font-size: 0.7rem;
  padding: 0.4rem 0.6rem;
  border-radius: 6px;
}

/* Enhanced discount badge for horizontal section */
.discounts-grid .discount-badge {
  top: 0.4rem;
  right: 0.4rem;
  font-size: 0.65rem;
  padding: 0.3rem 0.5rem;
  border-radius: 12px;
}

/* Mobile - even more compact */
@media (max-width: 559px) {
  .discounts-grid {
    gap: 0.6rem;
    padding: 0.3rem 0 0.8rem;
  }
  
  .discounts-grid .product-card {
    width: 120px;
  }
  
  .discounts-grid .product-media-circle {
    width: 60px;
    height: 60px;
    margin: 0.3rem auto;
  }
  
  .discounts-grid .product-body {
    padding: 0.5rem;
  }
  
  .discounts-grid h3 {
    font-size: 0.75rem;
  }
  
  .discounts-grid .discounted-price {
    font-size: 0.8rem;
  }
  
  .discounts-header .section-title {
    font-size: 1.2rem;
    gap: 0.4rem;
  }
  
  .discounts-icon {
    font-size: 1.4rem;
  }
  
  .discounts-subtitle {
    font-size: 0.8rem;
  }
}

/* Tablet and desktop - slightly larger but still compact */
@media (min-width: 560px) {
  .discounts-grid .product-card {
    width: 160px;
  }
}

@media (min-width: 860px) {
  .discounts-grid .product-card {
    width: 170px;
  }
  
  .discounts-grid {
    gap: 1rem;
  }
}

/* Remove fade indicators for cleaner look */
.discounts-scroll-container::before,
.discounts-scroll-container::after {
  display: none;
}

/* RTL support for discounts section */
[dir="rtl"] .discounts-header .section-title {
  flex-direction: row-reverse;
}