:root {
  --teal: #1B5E4B;
  --teal-light: #2D7A60;
  --teal-pale: #E8F4EF;
  --gold: #C9A84C;
  --gold-light: #E8C96B;
  --rose: #B76E79;
  --ivory: #FAF8F5;
  --ivory-dark: #F0EDE8;
  --charcoal: #2C2C2C;
  --mid: #6B6B6B;
  --light: #A8A8A8;
  --dark: #0F172A;
  --white: #FFFFFF;
  --shadow: 0 4px 24px rgba(27,94,75,0.10);
  --shadow-lg: 0 12px 48px rgba(27,94,75,0.16);
  --radius: 12px;
  --radius-lg: 20px;
  --transition: all 0.35s cubic-bezier(0.4,0,0.2,1);
}

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

body {
  font-family: 'Inter', sans-serif;
  background: var(--ivory);
  color: var(--charcoal);
  overflow-x: hidden;
  padding-top: 104px;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; }

.container { max-width: 1200px; margin: 0 auto; }

/* ===== TOP MARQUEE ===== */
.marquee-bar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1001;
  background: var(--teal);
  padding: 10px 0;
  overflow: hidden;
}
.marquee-track {
  display: flex; gap: 60px;
  animation: marquee 60s linear infinite;
  white-space: nowrap;
  width: max-content; min-width: 100%;
  will-change: transform;
}
@keyframes marquee { from{transform:translateX(0)} to{transform:translateX(-50%)} }
.marquee-item {
  display: flex; align-items: center; gap: 10px;
  font-size: 13.5px; font-weight: 700;
  color: rgba(255,255,255,0.95);
  letter-spacing: 0.5px;
  flex-shrink: 0;
}
.marquee-item i { color: var(--gold); font-style: normal; }
.marquee-item a { color: inherit; }
.marquee-item a:hover { color: var(--gold-light); }

/* ===== NAV ===== */
nav {
  position: fixed; top: 36px; left: 0; right: 0; z-index: 1000;
  background: rgba(250,248,245,0.95);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(201,168,76,0.15);
  padding: 0 32px;
  height: 68px;
  display: flex; align-items: center; justify-content: space-between;
  gap: 20px;
  transition: var(--transition);
}
nav.scrolled {
  box-shadow: 0 2px 20px rgba(27,94,75,0.10);
}
.nav-logo { display: flex; align-items: center; gap: 12px; cursor: pointer; text-decoration: none; flex-shrink: 0; }
.nav-logo-img { width: 44px; height: 44px; border-radius: 50%; object-fit: contain; }
.nav-logo-text { line-height: 1.2; }
.nav-logo-text span:first-child { display: block; font-family: 'Amiri', serif; font-size: 16px; color: var(--teal); font-weight: 700; }
.nav-logo-text span:last-child { display: block; font-family: 'Playfair Display', serif; font-size: 12.5px; color: var(--gold); letter-spacing: 1px; }
.nav-links { display: flex; align-items: center; gap: 30px; list-style: none; }
.nav-links a {
  text-decoration: none; font-size: 13.5px; font-weight: 500;
  color: var(--charcoal); position: relative; transition: var(--transition);
  text-transform: uppercase; letter-spacing: 0.5px;
}
.nav-links a::after {
  content: ''; position: absolute; bottom: -4px; left: 0; right: 0;
  height: 2px; background: var(--gold);
  transform: scaleX(0); transition: var(--transition); transform-origin: center;
}
.nav-links a:hover, .nav-links a.active { color: var(--teal); }
.nav-links a:hover::after, .nav-links a.active::after { transform: scaleX(1); }
.nav-actions { display: flex; align-items: center; gap: 14px; }
.nav-search {
  width: 36px; height: 36px; border: 1.5px solid var(--ivory-dark);
  border-radius: 50%; background: transparent; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: var(--transition); color: var(--charcoal); text-decoration: none;
}
.nav-search:hover { border-color: var(--teal); color: var(--teal); background: var(--teal-pale); }
.nav-lang {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 8px 14px; border: 1.5px solid var(--ivory-dark);
  border-radius: 22px; background: var(--white);
  font-size: 13px; font-weight: 600; color: var(--charcoal);
  text-decoration: none; transition: var(--transition); white-space: nowrap;
}
.nav-lang:hover { border-color: var(--teal); color: var(--teal); background: var(--teal-pale); }
.nav-lang .globe { font-size: 14px; }
.mobile-lang {
  display: flex; align-items: center; gap: 10px;
  padding: 13px 16px; font-size: 15px; font-weight: 500;
  color: var(--charcoal); text-decoration: none; border-radius: 8px;
}
.mobile-lang::before { content: "🌐"; }
.mobile-lang .sep { color: var(--light); font-weight: 400; }
.mobile-lang .lang-en { color: var(--charcoal); }
.mobile-lang .lang-ar { color: var(--teal); font-weight: 700; }
.cart-btn {
  display: flex; align-items: center; gap: 8px;
  background: var(--teal); color: var(--white);
  border: none; cursor: pointer; padding: 10px 20px;
  border-radius: 24px; font-size: 14px; font-weight: 500;
  transition: var(--transition); font-family: 'Inter', sans-serif;
  position: relative; text-decoration: none;
}
.cart-btn:hover { background: var(--teal-light); transform: translateY(-1px); box-shadow: var(--shadow); }
.cart-badge {
  background: var(--gold); color: var(--white);
  font-size: 10px; font-weight: 700; width: 18px; height: 18px;
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  position: absolute; top: -4px; right: -4px;
}
.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 8px; border: none; background: transparent; }
.hamburger span { display: block; width: 22px; height: 2px; background: var(--charcoal); border-radius: 2px; transition: var(--transition); }
.hamburger.open span { background: var(--teal); }
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu {
  position: fixed; top: 96px; left: 0; right: 0; z-index: 999;
  background: var(--white); border-bottom: 1px solid var(--ivory-dark);
  padding: 20px; gap: 6px;
  box-shadow: var(--shadow-lg);
  display: flex; flex-direction: column;
  opacity: 0; visibility: hidden;
  transform: translateY(-14px);
  max-height: calc(100vh - 130px); overflow-y: auto;
  transition: opacity 0.3s ease, transform 0.3s cubic-bezier(0.22,0.8,0.3,1), visibility 0.3s;
}
.mobile-menu.open { opacity: 1; visibility: visible; transform: translateY(0); }
body.menu-open { overflow: hidden; }
.mobile-menu a { padding: 13px 16px; font-size: 15px; font-weight: 500; color: var(--charcoal); text-decoration: none; border-radius: 8px; transition: var(--transition); display: flex; align-items: center; gap: 10px; }
.mobile-menu a:active { background: var(--teal-pale); color: var(--teal); }
.mobile-menu a:hover { background: var(--teal-pale); color: var(--teal); }

/* ===== HERO SLIDER ===== */
.hero {
  position: relative; min-height: calc(100vh - 130px);
  overflow: hidden;
}
.hero-slider { position: absolute; inset: 0; }
.hero-slide {
  position: absolute; inset: 0; opacity: 0;
  transition: opacity 0.9s ease;
}
.hero-slide.active { opacity: 1; }
.hero-slide img { width: 100%; height: 100%; object-fit: cover; }
.hero-slide::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(13,61,43,0.88) 0%, rgba(13,61,43,0.45) 45%, rgba(15,23,42,0.25) 100%);
}
.hero-content {
  position: relative; z-index: 3;
  max-width: 1200px; margin: 0 auto; padding: 80px 32px;
  min-height: calc(100vh - 130px);
  display: flex; flex-direction: column; justify-content: center;
}

/* ===== HERO ===== */
@media (max-width: 768px) {
  .hero-content { min-height: calc(100vh - 180px); }
}
.hero-tag {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(201,168,76,0.15); border: 1px solid rgba(201,168,76,0.4);
  color: var(--gold-light); padding: 6px 16px; border-radius: 20px;
  font-size: 12px; font-weight: 500; letter-spacing: 1.5px; text-transform: uppercase;
  margin-bottom: 24px; width: fit-content;
}
.hero-tag::before { content: '✦'; font-size: 10px; }
.hero-h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(38px, 5vw, 66px); font-weight: 700;
  color: var(--white); line-height: 1.1; margin-bottom: 8px;
}
.hero-h1-ar { font-family: 'Amiri', serif; font-size: clamp(26px, 3.5vw, 46px); color: var(--gold-light); display: block; margin-bottom: 20px; }
.hero-desc { color: rgba(255,255,255,0.78); font-size: 17px; line-height: 1.7; max-width: 480px; margin-bottom: 36px; }
.hero-ctas { display: flex; gap: 16px; flex-wrap: wrap; }
.btn-primary {
  background: var(--gold); color: var(--charcoal);
  border: none; cursor: pointer; padding: 16px 36px;
  border-radius: 32px; font-size: 15px; font-weight: 600;
  transition: var(--transition); font-family: 'Inter', sans-serif;
  letter-spacing: 0.3px; display: inline-block; text-align: center;
}
.btn-primary:hover { background: var(--gold-light); transform: translateY(-2px); box-shadow: 0 8px 32px rgba(201,168,76,0.35); }
.btn-outline {
  background: transparent; color: var(--white);
  border: 1.5px solid rgba(255,255,255,0.35); cursor: pointer;
  padding: 16px 36px; border-radius: 32px; font-size: 15px; font-weight: 500;
  transition: var(--transition); font-family: 'Inter', sans-serif; display: inline-block;
}
.btn-outline:hover { border-color: var(--white); background: rgba(255,255,255,0.08); }
.hero-stats { display: flex; gap: 40px; margin-top: 48px; }
.hero-stat strong { display: block; font-family: 'Playfair Display', serif; font-size: 28px; color: var(--white); }
.hero-stat span { font-size: 12px; color: rgba(255,255,255,0.55); text-transform: uppercase; letter-spacing: 1px; }
.hero-arrow {
  position: absolute; top: 50%; transform: translateY(-50%);
  z-index: 4; width: 46px; height: 46px; border-radius: 50%;
  background: rgba(255,255,255,0.12); border: 1px solid rgba(255,255,255,0.3);
  color: var(--white); font-size: 18px; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: var(--transition);
}
.hero-arrow:hover { background: var(--gold); border-color: var(--gold); }
.hero-arrow.prev { left: 24px; }
.hero-arrow.next { right: 24px; }
.hero-dots { position: absolute; bottom: 28px; left: 50%; transform: translateX(-50%); z-index: 4; display: flex; gap: 10px; }
.hero-dot { width: 10px; height: 10px; border-radius: 50%; background: rgba(255,255,255,0.35); border: none; cursor: pointer; transition: var(--transition); }
.hero-dot.active { background: var(--gold); width: 26px; border-radius: 9px; }

@keyframes fadeUp { from{opacity:0;transform:translateY(24px)} to{opacity:1;transform:translateY(0)} }

/* ===== SECTIONS ===== */
section { padding: 96px 32px; }
.section-eyebrow {
  font-size: 12px; letter-spacing: 2px; text-transform: uppercase;
  color: var(--gold); font-weight: 600; margin-bottom: 12px;
  display: flex; align-items: center; gap: 10px;
}
.section-eyebrow::before { content:''; width: 28px; height: 2px; background: var(--gold); border-radius: 2px; }
.section-h2 {
  font-family: 'Playfair Display', serif; font-size: clamp(28px, 4vw, 44px);
  font-weight: 700; color: var(--charcoal); line-height: 1.15; margin-bottom: 16px;
}
.section-sub { color: var(--mid); font-size: 16px; line-height: 1.7; max-width: 520px; }
.section-header { margin-bottom: 56px; }
.section-header.center { text-align: center; }
.section-header.center .section-eyebrow { justify-content: center; }
.section-header.center .section-eyebrow::before { display: none; }
.section-header.center .section-sub { margin: 0 auto; }
.section-header.split { display: flex; justify-content: space-between; align-items: flex-end; }

/* ===== CATEGORIES ===== */
.categories-bg { background: var(--white); }
.cat-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; }
.cat-card {
  border-radius: var(--radius-lg); overflow: hidden; cursor: pointer;
  position: relative; min-height: 320px;
  background-size: cover; background-position: center;
  transition: var(--transition);
}
.cat-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.cat-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(13,36,27,0.92) 0%, rgba(15,23,42,0.15) 55%);
  padding: 20px; display: flex; flex-direction: column; justify-content: flex-end;
}
.cat-name { font-family: 'Playfair Display', serif; font-size: 19px; font-weight: 700; color: var(--white); margin-bottom: 6px; }
.cat-count { font-size: 12.5px; color: rgba(255,255,255,0.7); margin-bottom: 12px; }
.cat-shop {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--gold); color: var(--charcoal);
  padding: 8px 16px; border-radius: 20px; font-size: 12px; font-weight: 600;
  width: fit-content; transition: var(--transition);
}
.cat-card:hover .cat-shop { background: var(--white); }

/* ===== PRODUCTS ===== */
.product-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.product-card {
  background: var(--white); border-radius: var(--radius-lg);
  overflow: hidden; cursor: pointer; transition: var(--transition); position: relative;
}
.product-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.product-img {
  aspect-ratio: 3/4; position: relative; overflow: hidden; background: var(--ivory-dark);
}
.product-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.product-card:hover .product-img img { transform: scale(1.06); }
.product-badge {
  position: absolute; top: 14px; inset-inline-start: 14px; inset-inline-end: auto; z-index: 2;
  display: inline-flex; align-items: center; line-height: 1;
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 100%);
  color: var(--white);
  font-size: 10px; font-weight: 800; padding: 7px 14px 7px 18px; border-radius: 3px 12px 12px 3px;
  letter-spacing: 0.7px; text-transform: uppercase;
  clip-path: polygon(10px 0, 100% 0, 100% 100%, 10px 100%, 0 50%);
  box-shadow: 0 4px 14px rgba(0,0,0,0.22);
  animation: badge-in 0.6s cubic-bezier(0.34,1.56,0.64,1) both;
  transform-origin: top left;
  overflow: hidden;
}
.product-badge::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(105deg, transparent 35%, rgba(255,255,255,0.5) 50%, transparent 65%);
  background-size: 220% 100%;
  animation: badge-shimmer 3.4s ease-in-out infinite;
}
[dir="rtl"] .product-badge {
  padding: 7px 18px 7px 14px; border-radius: 12px 3px 3px 12px;
  clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 50%, calc(100% - 10px) 100%, 0 100%);
}
.product-badge::after {
  content: ''; position: absolute; top: 0; left: -60%; height: 100%; width: 60%;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,0.7), transparent);
  animation: badge-shine 2.8s ease-in-out infinite;
}
.product-badge.new { background: linear-gradient(135deg, var(--teal) 0%, var(--teal-light) 100%); }
.product-badge.sale {
  background: linear-gradient(135deg, #E2546A 0%, var(--rose) 100%);
  animation: badge-in 0.6s cubic-bezier(0.34,1.56,0.64,1) both, badge-sale-pulse 2.2s ease-in-out 1.1s infinite;
}
.product-badge.oos { background: linear-gradient(135deg, #2C2C2C 0%, #4A4A4A 100%); }
.product-badge:not(.new):not(.sale):not(.oos) { animation: badge-in 0.6s cubic-bezier(0.34,1.56,0.64,1) both, badge-glow 3s ease-in-out 1.2s infinite; }
@keyframes badge-in {
  0%   { opacity: 0; transform: scale(0.4) rotate(-12deg); }
  55%  { opacity: 1; transform: scale(1.18) rotate(4deg); }
  80%  { transform: scale(0.94) rotate(-2deg); }
  100% { opacity: 1; transform: scale(1) rotate(0deg); }
}
@keyframes badge-shine {
  0%, 58% { left: -60%; }
  62%     { left: 120%; }
  100%    { left: 120%; }
}
@keyframes badge-shimmer {
  0%, 64% { background-position: 200% 0; }
  82%     { background-position: -90% 0; }
  100%    { background-position: -90% 0; }
}
@keyframes badge-glow {
  0%, 100% { box-shadow: 0 4px 14px rgba(201,168,76,0.35), 0 0 0 0 rgba(201,168,76,0.45); }
  50%      { box-shadow: 0 4px 20px rgba(201,168,76,0.55), 0 0 0 6px rgba(201,168,76,0); }
}
@keyframes badge-sale-pulse {
  0%, 100% { box-shadow: 0 4px 18px rgba(226,84,106,0.45); transform: scale(1); }
  50%      { box-shadow: 0 6px 26px rgba(226,84,106,0.75); transform: scale(1.06); }
}
.product-card:nth-child(1) .product-badge::after { animation-delay: 0.0s; }
.product-card:nth-child(2) .product-badge::after { animation-delay: 0.3s; }
.product-card:nth-child(3) .product-badge::after { animation-delay: 0.6s; }
.product-card:nth-child(4) .product-badge::after { animation-delay: 0.9s; }
.product-card:nth-child(5) .product-badge::after { animation-delay: 1.2s; }
.product-card:nth-child(6) .product-badge::after { animation-delay: 1.5s; }
.product-card:nth-child(7) .product-badge::after { animation-delay: 1.8s; }
.product-card:nth-child(8) .product-badge::after { animation-delay: 2.1s; }
.product-card:nth-child(1) .product-badge:not(.new):not(.sale):not(.oos) { animation-delay: 0.0s, 1.2s; }
.product-card:nth-child(2) .product-badge:not(.new):not(.sale):not(.oos) { animation-delay: 0.0s, 1.5s; }
.product-card:nth-child(3) .product-badge:not(.new):not(.sale):not(.oos) { animation-delay: 0.0s, 1.8s; }
.product-card:nth-child(4) .product-badge:not(.new):not(.sale):not(.oos) { animation-delay: 0.0s, 2.1s; }
.product-card:nth-child(5) .product-badge:not(.new):not(.sale):not(.oos) { animation-delay: 0.0s, 2.4s; }
.product-card:nth-child(6) .product-badge:not(.new):not(.sale):not(.oos) { animation-delay: 0.0s, 2.7s; }
.product-card:nth-child(7) .product-badge:not(.new):not(.sale):not(.oos) { animation-delay: 0.0s, 3.0s; }
.product-card:nth-child(8) .product-badge:not(.new):not(.sale):not(.oos) { animation-delay: 0.0s, 3.3s; }
.add-cart-btn.disabled {
  background: var(--light); color: var(--white); cursor: not-allowed;
}
.add-cart-btn.disabled:hover { transform: none; box-shadow: none; background: var(--light); }
.quick-add.disabled { display: none; }
.product-card.is-oos .product-img::after {
  content: ''; position: absolute; inset: 0; background: rgba(250,248,245,0.35); z-index: 1;
}
.pd-oos-badge {
  display: inline-block; background: var(--charcoal); color: var(--white);
  font-size: 11px; font-weight: 700; letter-spacing: .5px; text-transform: uppercase;
  padding: 4px 12px; border-radius: 12px; margin-bottom: 10px;
}
.qty-control.disabled .qty-btn { opacity: .4; cursor: not-allowed; }
.btn-add-cart[disabled] {
  background: var(--light) !important; cursor: not-allowed !important;
  transform: none !important; box-shadow: none !important;
}
.product-wish {
  position: absolute; top: 12px; right: 12px; z-index: 2;
  width: 34px; height: 34px; background: var(--white);
  border: none; cursor: pointer; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 16px; box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  transition: var(--transition); opacity: 0;
}
.product-card:hover .product-wish { opacity: 1; }
.product-wish:hover { transform: scale(1.1); }
.product-wish.wished, .product-wish[data-wished="1"], .wish-badge-filled { color: var(--rose); }
.product-info { padding: 16px; }
.product-name { font-weight: 600; font-size: 15px; color: var(--charcoal); margin-bottom: 4px; line-height: 1.3; }
.product-sub { font-size: 12px; color: var(--light); margin-bottom: 12px; }
.product-footer { display: flex; align-items: center; justify-content: space-between; }
.product-price { font-family: 'Playfair Display', serif; font-size: 18px; font-weight: 700; color: var(--teal); }
.product-price-old { font-size: 13px; color: var(--light); text-decoration: line-through; margin-left: 6px; }
.add-cart-btn {
  width: 36px; height: 36px; background: var(--teal);
  border: none; cursor: pointer; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--white); font-size: 18px; transition: var(--transition);
  touch-action: manipulation;
}
.add-cart-btn:hover { background: var(--gold); transform: rotate(90deg); }
.product-stars { color: var(--gold); font-size: 11px; margin-bottom: 6px; }

/* ===== FEATURES STRIP ===== */
.features-strip { background: var(--teal); padding: 56px 32px; }
.features-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; max-width: 1200px; margin: 0 auto; }
.feature-item { text-align: center; }
.feature-icon {
  width: 56px; height: 56px; background: rgba(255,255,255,0.12);
  border-radius: 16px; display: flex; align-items: center; justify-content: center;
  font-size: 24px; margin: 0 auto 16px; transition: var(--transition);
}
.feature-item:hover .feature-icon { background: rgba(201,168,76,0.25); }
.feature-title { font-size: 15px; font-weight: 600; color: var(--white); margin-bottom: 6px; }
.feature-desc { font-size: 13px; color: rgba(255,255,255,0.6); line-height: 1.5; }

/* ===== BRANDS ===== */
.brands-section { background: var(--ivory-dark); padding: 64px 32px; }
.brands-row { display: flex; align-items: center; justify-content: center; gap: 20px; flex-wrap: wrap; max-width: 1200px; margin: 0 auto; }
.brand-pill {
  padding: 14px 28px; background: var(--white); border-radius: 40px;
  font-family: 'Playfair Display', serif; font-size: 15px; font-weight: 600;
  color: var(--mid); transition: var(--transition); cursor: pointer;
  border: 1.5px solid transparent;
}
.brand-pill:hover { color: var(--teal); border-color: var(--teal); transform: translateY(-2px); box-shadow: var(--shadow); }

/* ===== NEWSLETTER ===== */
.newsletter-section {
  background: linear-gradient(135deg, #0D3D2B 0%, #1B5E4B 100%);
  padding: 96px 32px; text-align: center; position: relative; overflow: hidden;
}
.newsletter-section::before {
  content: ''; position: absolute; inset: 0;
  background-image: repeating-linear-gradient(60deg, rgba(201,168,76,0.04) 0, rgba(201,168,76,0.04) 1px, transparent 0, transparent 50%),
    repeating-linear-gradient(-60deg, rgba(201,168,76,0.04) 0, rgba(201,168,76,0.04) 1px, transparent 0, transparent 50%);
  background-size: 40px 40px;
}
.newsletter-section h2 { font-family: 'Playfair Display', serif; font-size: clamp(28px, 4vw, 44px); color: var(--white); margin-bottom: 12px; position: relative; z-index: 1; }
.newsletter-section p { color: rgba(255,255,255,0.65); font-size: 16px; margin-bottom: 36px; position: relative; z-index: 1; }
.newsletter-form { display: flex; gap: 12px; max-width: 480px; margin: 0 auto; position: relative; z-index: 1; }
.newsletter-form input {
  flex: 1; padding: 16px 24px; border-radius: 32px; border: none;
  background: rgba(255,255,255,0.12); color: var(--white); font-size: 14px;
  font-family: 'Inter', sans-serif; outline: none; transition: var(--transition);
  border: 1.5px solid transparent;
}
.newsletter-form input::placeholder { color: rgba(255,255,255,0.45); }
.newsletter-form input:focus { background: rgba(255,255,255,0.18); border-color: var(--gold); }
.newsletter-form button {
  background: var(--gold); color: var(--charcoal); border: none; cursor: pointer;
  padding: 16px 28px; border-radius: 32px; font-size: 14px; font-weight: 600;
  transition: var(--transition); font-family: 'Inter', sans-serif; white-space: nowrap;
}
.newsletter-form button:hover { background: var(--gold-light); transform: translateY(-1px); }

/* ===== FOOTER ===== */
footer { background: #0D1F18; color: rgba(255,255,255,0.7); padding: 72px 32px 32px; }
.footer-grid { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px; margin-bottom: 56px; }
.footer-brand h3 { font-family: 'Playfair Display', serif; font-size: 22px; color: var(--white); margin-bottom: 8px; }
.footer-brand .ar { font-family: 'Amiri', serif; font-size: 18px; color: var(--gold); display: block; margin-bottom: 16px; }
.footer-brand p { font-size: 14px; line-height: 1.7; max-width: 280px; }
.footer-social { display: flex; gap: 10px; margin-top: 24px; }
.social-btn {
  width: 38px; height: 38px; border-radius: 50%; background: rgba(255,255,255,0.08);
  border: none; cursor: pointer; display: flex; align-items: center; justify-content: center;
  font-size: 16px; transition: var(--transition); color: rgba(255,255,255,0.6); text-decoration: none;
}
.social-btn:hover { background: var(--teal); color: var(--white); transform: translateY(-2px); }
.footer-col h4 { font-size: 13px; font-weight: 600; color: var(--white); letter-spacing: 1px; text-transform: uppercase; margin-bottom: 20px; }
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 12px; }
.footer-col ul li a { color: rgba(255,255,255,0.55); text-decoration: none; font-size: 14px; transition: var(--transition); }
.footer-col ul li a:hover { color: var(--gold); }
.footer-bottom-line { max-width: 1200px; margin: 0 auto; padding-top: 32px; border-top: 1px solid rgba(255,255,255,0.08); display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px; }
.footer-bottom-line p { font-size: 13px; }
.payment-icons { display: flex; gap: 8px; }
.pay-icon { background: rgba(255,255,255,0.08); padding: 6px 10px; border-radius: 6px; font-size: 12px; color: rgba(255,255,255,0.6); }

/* ===== PAGE HERO ===== */
.page-hero {
  background: linear-gradient(135deg, var(--teal) 0%, var(--teal-light) 100%);
  padding: 88px 32px 56px; text-align: center; position: relative; overflow: hidden;
}
.page-hero::before {
  content: ''; position: absolute; inset: 0;
  background-image: repeating-linear-gradient(60deg, rgba(201,168,76,0.05) 0, rgba(201,168,76,0.05) 1px, transparent 0, transparent 50%);
  background-size: 40px 40px;
}
.page-hero h1 { font-family: 'Playfair Display', serif; font-size: clamp(28px, 4vw, 48px); color: var(--white); margin-bottom: 8px; position: relative; z-index: 1; }
.page-hero p { color: rgba(255,255,255,0.65); font-size: 16px; position: relative; z-index: 1; }

/* ===== SHOP ===== */
.shop-layout { max-width: 1200px; margin: 0 auto; padding: 48px 32px 64px; display: grid; grid-template-columns: 260px 1fr; gap: 48px; }
.filter-sticky { position: sticky; top: 100px; }
.filter-section { margin-bottom: 36px; }
.filter-title { font-size: 13px; font-weight: 700; color: var(--charcoal); letter-spacing: 1px; text-transform: uppercase; margin-bottom: 16px; padding-bottom: 10px; border-bottom: 1px solid var(--ivory-dark); }
.filter-option { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; cursor: pointer; }
.filter-option input[type=checkbox] { accent-color: var(--teal); width: 16px; height: 16px; cursor: pointer; }
.filter-option label { font-size: 14px; color: var(--mid); cursor: pointer; flex: 1; }
.filter-option span { font-size: 12px; color: var(--light); }
.filter-cat-item { display: block; padding: 9px 12px; border-radius: 8px; margin-bottom: 4px; font-size: 14px; color: var(--mid); cursor: pointer; transition: var(--transition); }
.filter-cat-item:hover { background: var(--teal-pale); color: var(--teal); }
.filter-cat-item.active { background: var(--teal); color: var(--white); font-weight: 600; }
.color-swatches { display: flex; flex-wrap: wrap; gap: 8px; }
.swatch { width: 28px; height: 28px; border-radius: 50%; cursor: pointer; border: 2px solid transparent; transition: var(--transition); }
.swatch:hover, .swatch.active { border-color: var(--teal); transform: scale(1.1); }
.price-inputs { display: flex; gap: 10px; align-items: center; }
.price-input { width: 90px; padding: 8px 12px; border: 1.5px solid var(--ivory-dark); border-radius: 8px; font-size: 13px; font-family: 'Inter', sans-serif; color: var(--charcoal); outline: none; background: var(--white); }
.price-input:focus { border-color: var(--teal); }
.shop-toolbar { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; margin-bottom: 28px; }
.shop-result-count { font-size: 14px; color: var(--mid); }
.shop-sort { padding: 10px 16px; border: 1.5px solid var(--ivory-dark); border-radius: 8px; font-size: 14px; color: var(--charcoal); background: var(--white); outline: none; cursor: pointer; font-family: 'Inter', sans-serif; }
.shop-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.shop-empty { text-align: center; padding: 80px 20px; grid-column: 1 / -1; }
.shop-empty .cart-empty-icon { font-size: 64px; margin-bottom: 16px; }

/* ===== PRODUCT DETAIL ===== */
.product-detail-layout { max-width: 1200px; margin: 0 auto; padding: 48px 32px 64px; display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.gallery-main {
  aspect-ratio: 3/4; border-radius: var(--radius-lg); overflow: hidden;
  background: var(--ivory-dark); position: relative;
}
.gallery-main img { width: 100%; height: 100%; object-fit: cover; cursor: zoom-in; }
.gallery-thumbs { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 16px; }
.gallery-thumb {
  width: 84px; height: 84px; border-radius: 10px; overflow: hidden;
  border: 2px solid transparent; cursor: pointer; transition: var(--transition);
}
.gallery-thumb img { width: 100%; height: 100%; object-fit: cover; }
.gallery-thumb:hover { border-color: var(--teal); }
.gallery-thumb.active { border-color: var(--teal); }
.pd-breadcrumb { font-size: 13px; color: var(--light); margin-bottom: 16px; }
.pd-breadcrumb a { color: var(--teal); text-decoration: none; cursor: pointer; }
.pd-name { font-family: 'Playfair Display', serif; font-size: 32px; font-weight: 700; color: var(--charcoal); margin-bottom: 8px; line-height: 1.2; text-transform: capitalize; }
.pd-sub { font-size: 14px; color: var(--mid); margin-bottom: 16px; }
.pd-rating { display: flex; align-items: center; gap: 8px; margin-bottom: 20px; }
.pd-stars { color: var(--gold); font-size: 14px; }
.pd-rating-count { font-size: 13px; color: var(--mid); }
.pd-price-row { display: flex; align-items: baseline; gap: 12px; margin-bottom: 24px; }
.pd-price { font-family: 'Playfair Display', serif; font-size: 36px; font-weight: 700; color: var(--teal); }
.pd-price-old { font-size: 18px; color: var(--light); text-decoration: line-through; }
.pd-divider { height: 1px; background: var(--ivory-dark); margin: 24px 0; }
.option-label { font-size: 13px; font-weight: 600; color: var(--charcoal); margin-bottom: 10px; letter-spacing: 0.5px; }
.color-options { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 24px; }
.variant-btn {
  display: flex; align-items: center; gap: 10px; padding: 8px 12px 8px 8px; border-radius: 10px;
  border: 1.5px solid var(--ivory-dark); background: var(--white); cursor: pointer;
  transition: var(--transition); font-family: 'Inter', sans-serif; max-width: 100%;
}
.variant-btn:hover { border-color: var(--teal); }
.variant-btn.active { border-color: var(--teal); background: var(--teal-pale); box-shadow: 0 0 0 1px var(--teal); }
.variant-thumb { width: 40px; height: 40px; border-radius: 8px; overflow: hidden; flex-shrink: 0; }
.variant-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.variant-name { font-size: 13px; font-weight: 600; color: var(--charcoal); }
.variant-price { font-size: 12px; color: var(--teal); font-weight: 600; margin-left: 4px; }
.color-btn {
  width: 34px; height: 34px; border-radius: 50%; cursor: pointer; position: relative;
  background-size: cover; background-position: center; transition: var(--transition);
}
.color-btn.active::after {
  content: '✓'; position: absolute; inset: 0; border: 2px solid var(--teal);
  border-radius: 50%; color: var(--white); display: flex; align-items: center; justify-content: center;
  font-size: 14px; background: rgba(27,94,75,0.35);
}
.height-options { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 24px; }
.height-btn {
  padding: 10px 18px; border-radius: 8px; border: 1.5px solid var(--ivory-dark);
  background: var(--white); cursor: pointer; font-size: 13px; font-weight: 500; color: var(--mid);
  transition: var(--transition); font-family: 'Inter', sans-serif;
}
.height-btn:hover, .height-btn.active { border-color: var(--teal); color: var(--teal); background: var(--teal-pale); }
.qty-row { display: flex; align-items: center; gap: 16px; margin-bottom: 24px; }
.qty-control { display: flex; align-items: center; border: 1.5px solid var(--ivory-dark); border-radius: 10px; overflow: hidden; }
.qty-btn { width: 40px; height: 44px; border: none; background: transparent; cursor: pointer; font-size: 18px; color: var(--charcoal); transition: var(--transition); }
.qty-btn:hover { background: var(--teal-pale); color: var(--teal); }
.qty-num { width: 48px; text-align: center; font-size: 15px; font-weight: 600; color: var(--charcoal); }
.pd-ctas { display: flex; gap: 12px; }
.btn-add-cart {
  flex: 1; padding: 16px; border-radius: 12px; background: var(--teal); color: var(--white);
  border: none; cursor: pointer; font-size: 15px; font-weight: 600; font-family: 'Inter', sans-serif;
  transition: var(--transition);
}
.btn-add-cart:hover { background: var(--teal-light); transform: translateY(-2px); box-shadow: var(--shadow); }
.btn-wishlist {
  width: 52px; height: 52px; border-radius: 12px; border: 1.5px solid var(--ivory-dark);
  background: var(--white); cursor: pointer; font-size: 20px; transition: var(--transition);
  display: flex; align-items: center; justify-content: center;
}
.btn-wishlist:hover { border-color: #E53935; background: #FFF5F5; }
.pd-features { margin-top: 24px; display: flex; flex-direction: column; gap: 10px; }
.pd-feature { display: flex; align-items: center; gap: 10px; font-size: 13px; color: var(--mid); }
.pd-feature::before { content: '✓'; color: var(--teal); font-weight: 700; }
.pd-meta { margin-top: 16px; font-size: 13px; color: var(--light); }
.related-title { font-family: 'Playfair Display', serif; font-size: 26px; font-weight: 700; margin-bottom: 28px; }

/* ===== CART ===== */
.cart-layout { max-width: 1100px; margin: 0 auto; padding: 48px 32px 64px; display: grid; grid-template-columns: 1fr 360px; gap: 40px; }
.cart-item {
  display: grid; grid-template-columns: 80px 1fr auto; gap: 20px; align-items: center;
  padding: 20px 0; border-bottom: 1px solid var(--ivory-dark); animation: fadeUp 0.4s ease both;
}
.cart-item-img { width: 80px; height: 92px; border-radius: 10px; overflow: hidden; }
.cart-item-img img { width: 100%; height: 100%; object-fit: cover; }
.cart-item-name { font-weight: 600; font-size: 15px; color: var(--charcoal); margin-bottom: 4px; text-transform: capitalize; cursor: pointer; }
.cart-item-meta { font-size: 13px; color: var(--mid); margin-bottom: 12px; }
.cart-item-qty { display: flex; align-items: center; gap: 8px; }
.cart-qty-btn { width: 28px; height: 28px; border-radius: 6px; border: 1.5px solid var(--ivory-dark); background: var(--white); cursor: pointer; font-size: 14px; color: var(--charcoal); transition: var(--transition); }
.cart-qty-btn:hover { border-color: var(--teal); color: var(--teal); }
.cart-qty-num { font-size: 14px; font-weight: 600; width: 24px; text-align: center; }
.cart-item-right { text-align: right; }
.cart-item-price { font-family: 'Playfair Display', serif; font-size: 18px; font-weight: 700; color: var(--teal); margin-bottom: 8px; }
.cart-item-remove { font-size: 12px; color: var(--light); cursor: pointer; background: none; border: none; transition: var(--transition); }
.cart-item-remove:hover { color: #E53935; }
.cart-summary {
  background: var(--white); border-radius: var(--radius-lg); padding: 28px;
  position: sticky; top: 100px; height: fit-content; box-shadow: var(--shadow);
}
.cart-summary h3 { font-family: 'Playfair Display', serif; font-size: 20px; font-weight: 700; color: var(--charcoal); margin-bottom: 24px; }
.summary-row { display: flex; justify-content: space-between; font-size: 14px; color: var(--mid); margin-bottom: 14px; }
.summary-row.total { color: var(--charcoal); font-weight: 700; font-size: 16px; padding-top: 14px; border-top: 1px solid var(--ivory-dark); }
.coupon-row { margin: 20px 0; }
.coupon-input { width: 100%; padding: 12px 16px; border: 1.5px solid var(--ivory-dark); border-radius: 10px; font-size: 13px; font-family: 'Inter', sans-serif; outline: none; margin-bottom: 8px; transition: var(--transition); }
.coupon-input:focus { border-color: var(--teal); }
.coupon-btn { width: 100%; padding: 12px; border-radius: 10px; border: 1.5px solid var(--teal); background: transparent; color: var(--teal); font-size: 13px; font-weight: 600; cursor: pointer; transition: var(--transition); font-family: 'Inter', sans-serif; }
.coupon-btn:hover { background: var(--teal-pale); }
.checkout-btn-big { width: 100%; padding: 16px; border-radius: 12px; background: var(--teal); color: var(--white); border: none; cursor: pointer; font-size: 16px; font-weight: 600; font-family: 'Inter', sans-serif; transition: var(--transition); margin-top: 20px; display: block; text-align: center; }
.checkout-btn-big:hover { background: var(--teal-light); transform: translateY(-2px); box-shadow: var(--shadow); }
.continue-link { display: block; width: 100%; padding: 12px; margin-top: 10px; background: transparent; border: none; color: var(--mid); font-size: 13px; cursor: pointer; text-align: center; font-family: 'Inter', sans-serif; }
.continue-link:hover { color: var(--teal); }
.cart-empty { text-align: center; padding: 80px 32px; }
.cart-empty-icon { font-size: 80px; margin-bottom: 24px; }
.cart-empty h2 { font-family: 'Playfair Display', serif; font-size: 28px; color: var(--charcoal); margin-bottom: 12px; }
.cart-empty p { color: var(--mid); margin-bottom: 32px; }

/* ===== CHECKOUT ===== */
.checkout-layout { max-width: 1100px; margin: 0 auto; padding: 48px 32px 64px; display: grid; grid-template-columns: 1fr 380px; gap: 40px; }
.checkout-step-indicator { display: flex; align-items: center; margin-bottom: 40px; }
.step-item { display: flex; align-items: center; }
.step-circle { width: 32px; height: 32px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 700; }
.step-circle.done { background: var(--teal); color: var(--white); }
.step-circle.current { background: var(--gold); color: var(--white); }
.step-circle.upcoming { background: var(--ivory-dark); color: var(--light); }
.step-label { font-size: 12px; font-weight: 600; margin-left: 8px; }
.step-label.done, .step-label.current { color: var(--teal); }
.step-label.upcoming { color: var(--light); }
.step-line { flex: 1; height: 2px; background: var(--ivory-dark); margin: 0 12px; }
.step-line.done { background: var(--teal); }
.checkout-section { background: var(--white); border-radius: var(--radius-lg); padding: 28px; margin-bottom: 20px; box-shadow: var(--shadow); }
.checkout-section h3 { font-family: 'Playfair Display', serif; font-size: 18px; font-weight: 700; color: var(--charcoal); margin-bottom: 20px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 16px; }
.form-field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; }
.form-field label { font-size: 12px; font-weight: 600; color: var(--charcoal); letter-spacing: 0.5px; }
.form-field input, .form-field select, .form-field textarea {
  padding: 13px 16px; border: 1.5px solid var(--ivory-dark); border-radius: 10px;
  font-size: 14px; font-family: 'Inter', sans-serif; color: var(--charcoal); background: var(--white);
  outline: none; transition: var(--transition);
}
.form-field input:focus, .form-field select:focus, .form-field textarea:focus { border-color: var(--teal); box-shadow: 0 0 0 3px rgba(27,94,75,0.08); }
.payment-methods { display: flex; flex-direction: column; gap: 12px; }
.payment-method {
  display: flex; align-items: center; gap: 14px; padding: 16px; border-radius: 12px;
  border: 1.5px solid var(--ivory-dark); cursor: pointer; transition: var(--transition);
}
.payment-method a, a.payment-method { text-decoration: none; color: inherit; }
.payment-method.selected { border-color: var(--teal); background: var(--teal-pale); }
.payment-method:hover { border-color: var(--teal); }
.payment-method input[type=radio] { accent-color: var(--teal); width: 16px; height: 16px; }
.payment-method-icon { font-size: 24px; }
.payment-method-label { font-size: 14px; font-weight: 600; color: var(--charcoal); }
.payment-method-sub { font-size: 12px; color: var(--mid); }
.btn-place-order { width: 100%; padding: 18px; border-radius: 12px; background: var(--teal); color: var(--white); border: none; cursor: pointer; font-size: 16px; font-weight: 700; font-family: 'Inter', sans-serif; transition: background 0.15s, transform 0.15s; margin-top: 8px; }
.btn-place-order:hover:not(:disabled) { background: var(--teal-light); transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.btn-place-order:disabled { opacity: 0.6; cursor: wait; }
.checkout-order-summary { background: var(--white); border-radius: var(--radius-lg); padding: 28px; position: sticky; top: 100px; height: fit-content; box-shadow: var(--shadow); }
.co-item { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.co-item-img { width: 52px; height: 52px; border-radius: 8px; overflow: hidden; flex-shrink: 0; }
.co-item-img img { width: 100%; height: 100%; object-fit: cover; }
.co-item-name { font-size: 13px; font-weight: 600; color: var(--charcoal); text-transform: capitalize; }
.co-item-qty { font-size: 12px; color: var(--mid); }
.co-item-price { font-size: 14px; font-weight: 700; color: var(--teal); }

/* ===== CONTACT ===== */
.contact-layout { max-width: 1100px; margin: 0 auto; padding: 48px 32px 64px; display: grid; grid-template-columns: 1fr 1.2fr; gap: 64px; align-items: start; }
.contact-info h2 { font-family: 'Playfair Display', serif; font-size: 40px; font-weight: 700; color: var(--charcoal); margin-bottom: 16px; }
.contact-info > p { color: var(--mid); font-size: 16px; line-height: 1.7; margin-bottom: 40px; }
.contact-cards { display: flex; flex-direction: column; gap: 16px; }
.contact-card { display: flex; align-items: flex-start; gap: 16px; padding: 20px; background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); transition: var(--transition); }
.contact-card:hover { transform: translateX(4px); box-shadow: var(--shadow-lg); }
.contact-card-icon { width: 48px; height: 48px; border-radius: 12px; background: var(--teal-pale); display: flex; align-items: center; justify-content: center; font-size: 22px; flex-shrink: 0; }
.contact-card-info h4 { font-size: 14px; font-weight: 700; color: var(--charcoal); margin-bottom: 4px; }
.contact-card-info p { font-size: 14px; color: var(--mid); margin: 0; }
.contact-form { background: var(--white); border-radius: var(--radius-lg); padding: 40px; box-shadow: var(--shadow-lg); }
.contact-form h3 { font-family: 'Playfair Display', serif; font-size: 24px; font-weight: 700; color: var(--charcoal); margin-bottom: 28px; }
.contact-form textarea { height: 140px; resize: vertical; }
.btn-send { width: 100%; padding: 16px; border-radius: 12px; background: var(--teal); color: var(--white); border: none; cursor: pointer; font-size: 15px; font-weight: 600; font-family: 'Inter', sans-serif; transition: var(--transition); }
.btn-send:hover { background: var(--teal-light); transform: translateY(-2px); box-shadow: var(--shadow); }
.map-placeholder { background: linear-gradient(135deg, var(--teal-pale), var(--ivory-dark)); border-radius: var(--radius-lg); height: 180px; display: flex; align-items: center; justify-content: center; margin-top: 24px; font-size: 40px; }
.social-links { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 24px; }
.social-link {
  display: flex; align-items: center; gap: 8px; padding: 10px 20px; border-radius: 24px;
  border: 1.5px solid var(--ivory-dark); font-size: 13px; font-weight: 500; color: var(--charcoal);
  text-decoration: none; transition: var(--transition); cursor: pointer; background: var(--white);
}
.social-link:hover { border-color: var(--teal); color: var(--teal); background: var(--teal-pale); }

/* ===== ABOUT ===== */
.about-banner-img { border-radius: var(--radius-lg); overflow: hidden; position: relative; aspect-ratio: 21/9; }
.about-banner-img img { width: 100%; height: 100%; object-fit: cover; }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.about-img-wrap { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); }
.about-img-wrap img { width: 100%; object-fit: cover; aspect-ratio: 3/4; }
.about-text h3 { font-family: 'Playfair Display', serif; font-size: 30px; color: var(--charcoal); margin-bottom: 16px; }
.about-text p { color: var(--mid); line-height: 1.8; margin-bottom: 16px; }
.values-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.value-card { background: var(--white); padding: 28px; border-radius: var(--radius-lg); text-align: center; box-shadow: var(--shadow); transition: var(--transition); }
.value-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.value-icon { font-size: 40px; margin-bottom: 16px; }
.value-card h4 { font-family: 'Playfair Display', serif; font-size: 18px; color: var(--charcoal); margin-bottom: 8px; }
.value-card p { font-size: 13.5px; color: var(--mid); line-height: 1.6; }

/* ===== FLY TO CART ===== */
.fly-cart {
  position: fixed; z-index: 99999; pointer-events: none;
  border-radius: 14px; overflow: hidden;
  background: var(--white);
  box-shadow: 0 10px 40px rgba(0,0,0,0.28);
  will-change: transform, opacity;
  backface-visibility: hidden;
}
.fly-cart img { width: 100%; height: 100%; object-fit: cover; display: block; border-radius: 12px; }
.fly-cart::after {
  content: '';
  position: absolute;
  inset: -12px;
  border-radius: 18px;
  background: radial-gradient(rgba(201,168,76,0.28), rgba(27,94,75,0.12) 55%, transparent 72%);
  pointer-events: none;
}

/* ===== TOAST ===== */
.toast {
  position: fixed; bottom: 32px; right: 32px; z-index: 9999;
  background: var(--teal); color: var(--white); padding: 14px 24px;
  border-radius: 12px; font-size: 14px; font-weight: 500;
  box-shadow: var(--shadow-lg); transform: translateY(100px); opacity: 0;
  transition: var(--transition); display: flex; align-items: center; gap: 10px; max-width: 90vw;
}
.toast.show { transform: translateY(0); opacity: 1; }

/* ===== PAGE FADE ===== */
.page-fade { animation: fadeUp 0.6s ease both; }

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .cat-grid { grid-template-columns: repeat(3, 1fr); }
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .shop-layout { grid-template-columns: 1fr; }
  .filter-sticky { position: static; }
  .shop-grid { grid-template-columns: repeat(2, 1fr); }
  .product-detail-layout { grid-template-columns: 1fr; }
  .cart-layout { grid-template-columns: 1fr; }
  .checkout-layout { grid-template-columns: 1fr; }
  .contact-layout { grid-template-columns: 1fr; }
  .about-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .values-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-stats { justify-content: center; }
  .hero-arrow.prev { left: 12px; }
  .hero-arrow.next { right: 12px; }
}

@media (max-width: 768px) {
  nav { padding: 0 12px; height: 60px; gap: 8px; }
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .nav-logo { gap: 8px; min-width: 0; }
  .nav-logo-img { width: 34px; height: 34px; }
  .nav-logo-text span:first-child { font-size: 13px; }
  .nav-logo-text span:last-child { display: none; }
  .nav-logo-text { white-space: nowrap; }
  .nav-actions { margin-left: auto; gap: 8px; }
  .nav-search, .nav-account { display: none; }
  .cart-btn { padding: 8px 14px; font-size: 13px; gap: 6px; white-space: nowrap; flex-shrink: 0; }

  .marquee-bar { padding: 8px 0; }
  .marquee-item { font-size: 12px; gap: 8px; }

  section { padding: 56px 18px; }
  .section-header { margin-bottom: 36px; }
  .container { padding: 0; }

  .product-grid, .shop-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .product-info { padding: 12px; }
  .product-name { font-size: 13px; }
  .product-price { font-size: 15px; }
  .product-sub { font-size: 11px; }
  .product-badge { font-size: 9px; padding: 3px 8px; }

  .cat-grid { grid-template-columns: repeat(1, 1fr); gap: 12px; }
  .cat-card { min-height: 200px; }
  .cat-overlay { padding: 14px; }
  .cat-name { font-size: 15px; }
  .cat-count { font-size: 11px; }

  .features-strip { padding: 44px 18px; }
  .features-grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }
  .feature-icon { width: 48px; height: 48px; font-size: 20px; }

  .shop-layout, .product-detail-layout, .cart-layout, .checkout-layout, .contact-layout, .about-grid { padding: 32px 18px 48px; }
  .shop-toolbar { gap: 12px; }
  .shop-sort { width: 100%; padding: 12px 16px; }
  .shop-result-count { width: 100%; }

  .product-detail-layout { gap: 32px; }
  .gallery-thumb { width: 64px; height: 64px; }
  .pd-name { font-size: 24px; }
  .pd-price { font-size: 28px; }
  .pd-ctas { flex-direction: column; }
  .btn-add-cart { padding: 15px 16px; }
  .btn-wishlist { width: 100%; height: 50px; }
  .variant-btn { max-width: none; flex: 1; }
  .color-options { gap: 8px; }

  .cart-summary { position: static; }
  .checkout-order-summary { position: static; }
  .form-row { grid-template-columns: 1fr; }

  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .values-grid { grid-template-columns: 1fr; }
  .brand-pill { padding: 12px 22px; font-size: 13px; }

  .newsletter-section { padding: 64px 18px; }
  .newsletter-form { flex-direction: column; }
  .newsletter-form button { width: 100%; }

  .hero { min-height: 78vh; }
  .hero-content { min-height: 78vh; padding: 60px 24px; }
  .hero-h1 { font-size: clamp(30px, 10vw, 44px); }
  .hero-desc { font-size: 15.5px; margin-bottom: 28px; }
  .hero-ctas { flex-direction: column; align-items: stretch; max-width: 320px; }
  .btn-primary, .btn-outline { width: 100%; text-align: center; }
  .hero-stats { gap: 24px; margin-top: 36px; }
  .hero-stat strong { font-size: 22px; }
  .hero-arrow { width: 38px; height: 38px; font-size: 15px; }
  .hero-dots { bottom: 16px; }

  .toast { left: 16px; right: 16px; bottom: 16px; justify-content: center; }
}

@media (max-width: 420px) {
  .product-grid, .shop-grid { gap: 10px; }
  .product-name { font-size: 12px; }
  .product-price { font-size: 14px; }
  .add-cart-btn { width: 32px; height: 32px; font-size: 16px; }
  .cat-card { min-height: 200px; }
  .btn-primary, .btn-outline { padding: 14px 24px; font-size: 14px; }
  .hero-content { padding: 48px 20px; }
  .contact-form { padding: 24px 18px; }
}

/* ===== SCROLL REVEAL ===== */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.65s ease, transform 0.65s cubic-bezier(0.22,0.8,0.3,1); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .product-badge,
  .product-badge::before,
  .product-badge::after { animation: none !important; }
  .product-badge { clip-path: none; border-radius: 12px; padding: 7px 13px; }
  [dir="rtl"] .product-badge { clip-path: none; border-radius: 12px; padding: 7px 13px; }
}
/* ===== FLOATING ACTION BUTTONS (WhatsApp + Cart) ===== */
.wa-float,
.cart-float {
  position: fixed;
  bottom: calc(20px + env(safe-area-inset-bottom, 0px));
  z-index: 2147483000;
  display: flex;
  align-items: center;
  gap: 10px;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  color: #fff;
  text-decoration: none;
  overflow: hidden;
  transition: width 0.35s cubic-bezier(0.4,0,0.2,1), transform 0.3s ease, box-shadow 0.3s ease;
}
.wa-float {
  right: calc(16px + env(safe-area-inset-right, 0px));
  background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
  box-shadow: 0 8px 28px rgba(37,211,102,0.45);
}
.cart-float {
  left: calc(16px + env(safe-area-inset-left, 0px));
  background: linear-gradient(135deg, #1B5E4B 0%, #2D7A60 100%);
  box-shadow: 0 8px 28px rgba(27,94,75,0.45);
}
.wa-float:hover,
.cart-float:hover {
  width: 172px;
  border-radius: 34px;
  transform: translateY(-3px);
}
.wa-float:hover { box-shadow: 0 12px 36px rgba(37,211,102,0.55); }
.cart-float:hover { box-shadow: 0 12px 36px rgba(27,94,75,0.55); }
.wa-float-icon,
.cart-float-icon {
  flex: 0 0 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
}
.wa-float-icon svg,
.cart-float-icon svg { width: 32px; height: 32px; }
.wa-float-tip,
.cart-float-tip {
  white-space: nowrap;
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: 0.3px;
  opacity: 0;
  transform: translateX(-6px);
  transition: opacity 0.25s ease 0.1s, transform 0.25s ease 0.1s;
}
.cart-float-tip { transform: translateX(6px); }
.wa-float:hover .wa-float-tip,
.cart-float:hover .cart-float-tip { opacity: 1; transform: none; }
.wa-float::before,
.cart-float::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  animation: wa-pulse 2s infinite;
  z-index: -1;
}
.wa-float::before { background: rgba(37,211,102,0.5); }
.cart-float::before { background: rgba(27,94,75,0.5); }
@keyframes wa-pulse {
  0%   { transform: scale(1); opacity: 0.6; }
  70%  { transform: scale(1.55); opacity: 0; }
  100% { transform: scale(1.55); opacity: 0; }
}
.wa-float:hover::before,
.cart-float:hover::before { animation-play-state: paused; }

.cart-float-badge {
  position: absolute;
  top: 2px;
  right: 2px;
  min-width: 20px;
  height: 20px;
  padding: 0 5px;
  border-radius: 999px;
  background: var(--gold);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 700;
  border: 2px solid #fff;
  box-sizing: content-box;
}

#page-main[data-page="cart"] ~ .cart-float,
#page-main[data-page="checkout"] ~ .cart-float,
#page-main[data-page="processing"] ~ .cart-float { display: none; }

/* ===== ADD-TO-CART CELEBRATION ===== */
.cart-float.bounce { animation: cart-bounce 560ms cubic-bezier(0.34,1.56,0.64,1); }
@keyframes cart-bounce {
  0%   { transform: scale(1); }
  35%  { transform: scale(1.22) rotate(-6deg); }
  60%  { transform: scale(0.92) rotate(3deg); }
  100% { transform: scale(1); }
}
.cart-float-badge.badge-pop { animation: badge-pop 600ms cubic-bezier(0.34,1.56,0.64,1); }
@keyframes badge-pop {
  0%   { transform: scale(1); }
  45%  { transform: scale(1.9); }
  75%  { transform: scale(0.8); }
  100% { transform: scale(1); }
}
.fa-pop {
  position: fixed;
  z-index: 2147483002;
  pointer-events: none;
  color: var(--gold);
  font-weight: 800;
  font-size: 19px;
  text-shadow: 0 1px 6px rgba(0,0,0,0.3);
  animation: fa-pop 950ms ease-out forwards;
}
@keyframes fa-pop {
  0%   { opacity: 1; transform: translate(-50%, -50%) scale(0.5); }
  100% { opacity: 0; transform: translate(-50%, -180%) scale(1.4); }
}
.fly-ring {
  position: fixed;
  width: 64px;
  height: 64px;
  margin: -32px 0 0 -32px;
  border: 3px solid rgba(201,168,76,0.9);
  border-radius: 50%;
  pointer-events: none;
  z-index: 2147483001;
  animation: fly-ring 520ms ease-out forwards;
}
@keyframes fly-ring {
  0%   { transform: scale(0.2); opacity: 1; }
  100% { transform: scale(2); opacity: 0; }
}
.f-confetti {
  position: fixed;
  z-index: 2147483002;
  pointer-events: none;
  width: 8px;
  height: 11px;
  border-radius: 2px;
  animation: f-conf 750ms cubic-bezier(0.2,0.8,0.3,1) forwards;
}
@keyframes f-conf {
  0%   { opacity: 1; transform: translate(0,0) rotate(0deg) scale(1); }
  100% { opacity: 0; transform: translate(var(--dx), var(--dy)) rotate(var(--rot)) scale(0.4); }
}
.fly-source { animation: press 320ms ease; }
@keyframes press {
  0%   { transform: scale(1); }
  40%  { transform: scale(0.85); }
  100% { transform: scale(1); }
}

@media (max-width: 480px) {
  .wa-float,
  .cart-float {
    width: 54px; height: 54px;
    bottom: calc(24px + env(safe-area-inset-bottom, 0px));
  }
  .wa-float { right: calc(16px + env(safe-area-inset-right, 0px)); }
  .cart-float { left: calc(16px + env(safe-area-inset-left, 0px)); }
  .wa-float-icon,
  .cart-float-icon { flex-basis: 54px; font-size: 29px; }
  .wa-float-icon svg,
  .cart-float-icon svg { width: 29px; height: 29px; }
  .wa-float:hover,
  .cart-float:hover { width: 160px; }
  .cart-float-badge { top: 0; right: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .wa-float::before { animation: none; }
  .wa-float { transition: none; }
}

/* ---------- ORDER PROCESSING (loading page) ---------- */
.processing-page { min-height: 62vh; display: flex; align-items: center; justify-content: center; padding: 60px 20px; }
.processing-box { text-align: center; max-width: 420px; }
.processing-spinner { width: 96px; height: 96px; margin: 0 auto 26px; position: relative; display: flex; align-items: center; justify-content: center; }
.processing-spinner-ring {
  position: absolute; inset: 0; border-radius: 50%;
  border: 4px solid var(--ivory-dark);
  border-top-color: var(--teal);
  animation: processing-spin 0.9s linear infinite;
}
.processing-spinner::after {
  content: ''; position: absolute; inset: 10px; border-radius: 50%;
  border: 3px solid var(--ivory-dark);
  border-bottom-color: var(--teal-light);
  animation: processing-spin 1.3s linear infinite reverse;
}
.processing-spinner-icon { font-size: 30px; }
@keyframes processing-spin { to { transform: rotate(360deg); } }
.processing-box h1 { font-family: 'Playfair Display', serif; font-size: 26px; font-weight: 700; color: var(--charcoal); margin-bottom: 10px; }
.processing-box p { color: #6b6b6b; font-size: 14.5px; line-height: 1.6; }
.processing-dots { display: flex; gap: 7px; justify-content: center; margin-top: 22px; }
.processing-dots span {
  width: 8px; height: 8px; border-radius: 50%; background: var(--teal);
  animation: processing-bounce 1.1s infinite ease-in-out;
}
.processing-dots span:nth-child(2) { animation-delay: 0.15s; }
.processing-dots span:nth-child(3) { animation-delay: 0.3s; }
@keyframes processing-bounce { 0%, 80%, 100% { transform: translateY(0); opacity: 0.35; } 40% { transform: translateY(-9px); opacity: 1; } }

/* ---------- WAMAD PAYMENT PAGE ---------- */
.wamad-wrap { max-width: 620px; margin: 0 auto; padding: 48px 20px 70px; }
.wamad-card { background: var(--white); border: 1px solid var(--ivory-dark); border-radius: 16px; overflow: hidden; box-shadow: 0 6px 28px rgba(28,38,34,0.06); }
.wamad-head {
  background: linear-gradient(135deg, var(--teal) 0%, var(--teal-light) 100%);
  color: var(--white); padding: 30px 28px 26px; text-align: center;
}
.wamad-badge {
  display: inline-block; background: rgba(255,255,255,0.16); border: 1px solid rgba(255,255,255,0.28);
  padding: 5px 14px; border-radius: 999px; font-size: 12.5px; font-weight: 600; letter-spacing: 0.4px; margin-bottom: 14px;
}
.wamad-head h1 { font-family: 'Playfair Display', serif; font-size: 24px; font-weight: 700; margin-bottom: 6px; }
.wamad-order { font-size: 13.5px; opacity: 0.85; margin-bottom: 18px; }
.wamad-amount { background: rgba(255,255,255,0.14); border: 1px dashed rgba(255,255,255,0.4); border-radius: 12px; padding: 14px; display: flex; flex-direction: column; gap: 2px; }
.wamad-amount-label { font-size: 11.5px; text-transform: uppercase; letter-spacing: 1px; opacity: 0.8; }
.wamad-amount-value { font-size: 30px; font-weight: 700; }
.wamad-body { padding: 26px 28px 20px; }
.wamad-body h3 { font-size: 14px; color: var(--charcoal); margin: 20px 0 10px; display: flex; align-items: center; gap: 8px; }
.wamad-body h3:first-child { margin-top: 0; }
.wamad-number {
  display: flex; align-items: center; justify-content: space-between; gap: 14px;
  background: var(--teal-pale); border: 1.5px dashed var(--teal); border-radius: 12px; padding: 14px 16px;
}
.wamad-number strong { font-size: 22px; color: var(--teal); letter-spacing: 1px; display: block; margin-top: 2px; }
.wamad-number-hint { font-size: 11.5px; color: var(--teal); opacity: 0.75; }
.wamad-copy {
  background: var(--white); color: var(--teal); font-weight: 600; font-size: 13px;
  border: 1.5px solid var(--teal); border-radius: 8px; padding: 8px 14px; cursor: pointer; transition: var(--transition); white-space: nowrap;
}
.wamad-copy:hover { background: var(--teal); color: var(--white); }
.wamad-step-text { color: #6b6b6b; font-size: 13.5px; line-height: 1.6; margin: 0 0 16px; }
.wamad-confirm-btn {
  display: block; text-align: center; background: var(--teal); color: var(--white) !important;
  padding: 14px 18px; border-radius: 10px; font-weight: 600; text-decoration: none;
  transition: var(--transition);
}
.wamad-confirm-btn:hover { background: var(--teal-light); transform: translateY(-1px); }
.wamad-note { text-align: center; color: #9a9a9a; font-size: 12.5px; margin-top: 18px; }
.wamad-foot {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 16px 28px; border-top: 1px solid var(--ivory-dark); background: var(--ivory);
}
.wamad-text-link { color: var(--teal); font-weight: 500; font-size: 13.5px; text-decoration: none; }
.wamad-text-link:hover { text-decoration: underline; }
.wamad-btn { background: var(--white); border: 1.5px solid var(--teal); color: var(--teal) !important; padding: 10px 18px; border-radius: 9px; font-weight: 600; font-size: 13.5px; text-decoration: none; transition: var(--transition); }
.wamad-btn:hover { background: var(--teal); color: var(--white) !important; }
@media (max-width: 480px) {
  .wamad-body, .wamad-head { padding-left: 20px; padding-right: 20px; }
  .wamad-foot { flex-direction: column-reverse; }
  .wamad-btn { width: 100%; text-align: center; }
}

/* ============ RTL (Arabic) ============ */
html[dir="rtl"] body {
  font-family: 'Tajawal', 'Amiri', 'Inter', sans-serif;
  line-height: 1.85;
}
html[dir="rtl"] .nav-logo-text span:first-child { font-family: 'Amiri', 'Tajawal', serif; }
html[dir="rtl"] .hero-h1-ar { font-family: 'Amiri', serif; }
html[dir="rtl"] .hero-h1-en { font-family: 'Playfair Display', serif; }
html[dir="rtl"] h1, html[dir="rtl"] h2, html[dir="rtl"] .section-h2,
html[dir="rtl"] .hero-h1, html[dir="rtl"] .pd-name, html[dir="rtl"] .pd-price,
html[dir="rtl"] .product-price, html[dir="rtl"] h3, html[dir="rtl"] h4,
html[dir="rtl"] .cat-name, html[dir="rtl"] .related-title, html[dir="rtl"] .page-hero h1 {
  font-family: 'Amiri', 'Tajawal', serif;
  letter-spacing: 0;
}
html[dir="rtl"] .hero-arrow.prev { left: auto; right: 24px; }
html[dir="rtl"] .hero-arrow.next { right: auto; left: 24px; }
html[dir="rtl"] .cart-badge { right: auto; left: -4px; }
html[dir="rtl"] .wa-float { right: auto; left: 24px; }
html[dir="rtl"] .cart-float { right: auto; left: 90px; }
html[dir="rtl"] table th, html[dir="rtl"] table td { text-align: right !important; }
html[dir="rtl"] .cart-item-name, html[dir="rtl"] .product-name { text-transform: none; }
@media (max-width: 480px) {
  html[dir="rtl"] .wa-float { right: auto; left: 16px; }
  html[dir="rtl"] .cart-float { right: auto; left: 82px; }
}
@media (prefers-reduced-motion: reduce) {
  html[dir="rtl"] * { animation: none !important; transition: none !important; }
}

/* ============ CUSTOMER STATS ============ */
.stats-band {
  background: linear-gradient(135deg, var(--teal), #0e3d31);
  padding: 48px 20px;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  max-width: 1060px;
  margin: 0 auto;
  text-align: center;
}
.stat-num {
  font-family: 'Playfair Display', serif;
  font-size: 46px;
  font-weight: 700;
  color: var(--gold-light);
  line-height: 1.1;
}
.stat-label {
  margin-top: 8px;
  font-size: 13.5px;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: rgba(255,255,255,.85);
  font-weight: 500;
}

/* ============ FAQ ============ */
.faq-section { padding: 76px 0 80px; background: var(--ivory); }
.faq-list {
  max-width: 760px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.faq-item {
  background: var(--white);
  border: 1px solid var(--ivory-dark);
  border-radius: 14px;
  overflow: hidden;
  transition: var(--transition);
}
.faq-item[open] { border-color: var(--teal); box-shadow: var(--shadow); }
.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 18px 22px;
  font-family: 'Playfair Display', serif;
  font-size: 16.5px;
  font-weight: 700;
  color: var(--charcoal);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  position: relative;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  flex-shrink: 0;
  width: 30px;
  height: 30px;
  border: 1.5px solid var(--teal-pale);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: 400;
  color: var(--teal);
  background: var(--teal-pale);
  transition: var(--transition);
}
.faq-item[open] summary::after { transform: rotate(45deg); background: var(--teal); color: var(--white); border-color: var(--teal); }
.faq-item p {
  padding: 0 22px 18px;
  font-size: 14px;
  line-height: 1.8;
  color: var(--mid);
}

@media (max-width: 768px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 26px 16px; }
  .stat-num { font-size: 38px; }
  .faq-section { padding: 52px 18px 56px; }
  .faq-item summary { font-size: 15.5px; padding: 15px 16px; }
  .faq-item p { padding: 0 16px 16px; }
}

/* ============ PREMIUM LAYER ============ */
/* Scroll-reveal */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity .8s cubic-bezier(.22,1,.36,1), transform .8s cubic-bezier(.22,1,.36,1); will-change: opacity, transform; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
}

/* Sale discount badge (moved up with badge base styles) */
/* Quick-add slide-up button */
.quick-add {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 3;
  width: 100%; padding: 13px 12px; border: none; cursor: pointer;
  background: linear-gradient(90deg, var(--teal), var(--teal-light));
  color: var(--white); font-family: inherit; font-size: 13.5px; font-weight: 600;
  display: flex; align-items: center; justify-content: center; gap: 7px;
  transform: translateY(102%); transition: transform .38s cubic-bezier(.22,1,.36,1), background .3s ease;
  touch-action: manipulation;
}
.product-card:hover .quick-add, .quick-add:focus-visible { transform: translateY(0); }
.quick-add:hover { background: linear-gradient(90deg, var(--gold), #DAB95F); color: var(--charcoal); }
.quick-add.added { background: #15803d; color: var(--white); }

/* Add-cart success pulse */
.add-cart-btn { position: relative; }
.add-cart-btn.added { background: #15803d; animation: cart-pulse .55s ease; }
.add-cart-btn.added::after {
  content: "✓"; position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  font-size: 16px; color: var(--white);
}
@keyframes cart-pulse {
  0% { box-shadow: 0 0 0 0 rgba(21,128,61,.45); }
  70% { box-shadow: 0 0 0 14px rgba(21,128,61,0); }
  100% { box-shadow: 0 0 0 0 rgba(21,128,61,0); }
}

/* Floating cart bump */
.cart-btn.bump, .cart-float.bump { animation: cart-bump .6s cubic-bezier(.36,.07,.19,.97); }
@keyframes cart-bump {
  0%, 100% { transform: scale(1); }
  25% { transform: scale(1.14); }
  55% { transform: scale(0.94); }
  80% { transform: scale(1.06); }
}

/* Stagger helper for reveal children */
.reveal[style*="--d"] { transition-delay: var(--d); }

/* Premium hover accents */
.product-card .product-footer .product-price { transition: var(--transition); }
.product-card:hover .product-footer .product-price { color: var(--gold); }
.product-name { transition: var(--transition); }
.product-card:hover .product-name { color: var(--teal); }

/* Contact page - icon pop + hover shimmer on cards */
.contact-card { position: relative; overflow: hidden; }
.contact-card::after {
  content: ""; position: absolute; top: 0; left: -120%; width: 60%; height: 100%;
  background: linear-gradient(105deg, transparent, rgba(255,255,255,.55), transparent);
  transition: left .8s ease;
}
.contact-card:hover::after { left: 160%; }
.contact-card-icon { transition: transform .4s cubic-bezier(.22,1,.36,1), background .3s ease; }
.contact-card:hover .contact-card-icon { transform: scale(1.14) rotate(-4deg); background: var(--gold); }

/* About - value card icon pop */
.value-card { position: relative; overflow: hidden; }
.value-icon { transition: transform .4s cubic-bezier(.34,1.56,.64,1); display: inline-block; }
.value-card:hover .value-icon { transform: scale(1.18) rotate(6deg); }
.value-card::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  background: radial-gradient(420px circle at var(--mx,50%) var(--my,50%), rgba(27,94,75,.08), transparent 45%);
  opacity: 0; transition: opacity .35s ease;
}
.value-card:hover::before { opacity: 1; }

/* Feature icon in strip */
.feature-icon { transition: transform .4s cubic-bezier(.34,1.56,.64,1), background .3s ease; }
.feature-item:hover .feature-icon { transform: translateY(-4px) scale(1.08); }

/* Section header ribbon accent for about/contact */
.section-eyebrow { position: relative; }
.section-eyebrow::after {
  content: ""; position: absolute; bottom: -6px; left: 0; height: 2px; width: 34px;
  background: var(--gold); border-radius: 2px;
}

@media (max-width: 768px) {
  .quick-add { display: none; }
  .section-eyebrow::after { width: 26px; }
}

/* Product-page add-to-cart success state */
.btn-add-cart.added { background: #15803d !important; animation: cart-pulse .55s ease; }
.btn-add-cart.added::after {
  content: "✓"; position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  font-size: 16px; color: var(--white); font-weight: 700;
}
.btn-add-cart { position: relative; }

/* ==================== MOBILE-FIRST UX LAYER ==================== */
/* Global touch support: kill tap highlight & ghost hover on touch. */
* { -webkit-tap-highlight-color: transparent; }
a, button, input, select, textarea, label { touch-action: manipulation; }

/* Prevent grid children from blowing out the viewport (min-width auto). */
.shop-main, .cart-items, .cart-summary, .checkout-form,
.checkout-order-summary, .product-detail-info {
  min-width: 0;
}
input, select, textarea { max-width: 100%; }
.form-field input, .form-field select, .form-field textarea { width: 100%; min-width: 0; }

/* Mobile-only filter drawer chrome is hidden on desktop */
.nfilters-btn, .filter-close, .filter-backdrop { display: none !important; }

/* Mobile menu search box */
.mm-search {
  display: flex; align-items: center; gap: 8px;
  border: 1.5px solid var(--ivory-dark); border-radius: 12px;
  padding: 4px 4px 4px 14px; margin-bottom: 10px;
}
.mm-search input {
  flex: 1; min-width: 0; border: none; outline: none; background: none;
  font-size: 15px; font-family: inherit; color: var(--charcoal);
  height: 44px;
}
.mm-search button {
  border: none; background: var(--teal); color: var(--white);
  width: 44px; height: 44px; border-radius: 10px; cursor: pointer; font-size: 16px;
  flex-shrink: 0;
}

@media (max-width: 1024px) {
  .section-h2 { font-size: clamp(24px, 5vw, 34px); }
}

@media (max-width: 768px) {
  /* ---- Header ---- */
  nav { padding: 0 12px; height: 62px; }
  .nav-logo-img { width: 36px; height: 36px; }
  .nav-actions { gap: 6px; }
  .cart-btn { height: 42px; padding: 0 16px; gap: 7px; }

  /* ---- Page hero (compact) ---- */
  .page-hero { padding: 64px 18px 40px; }
  .page-hero h1 { font-size: clamp(24px, 7vw, 34px); }
  .page-hero p { font-size: 14px; }

  /* ---- Sections ---- */
  section { padding: 48px 16px; }
  .section-header { margin-bottom: 28px; }
  .section-eyebrow { font-size: 11px; letter-spacing: 1.5px; }
  .section-sub { font-size: 14.5px; }

  /* ---- Product grids: 2 neat columns ---- */
  .product-grid, .shop-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .product-card { border-radius: 14px; }
  .product-img { aspect-ratio: 4/5; }
  .product-card:hover { transform: none; box-shadow: none; }
  .product-card:active { transform: scale(0.985); }
  .product-info { padding: 10px 10px 12px; }
  .product-name { font-size: 12.5px; line-height: 1.3; }
  .product-price { font-size: 15px; }
  .product-price-old { font-size: 11.5px; }
  .product-stars { margin-bottom: 4px; }
  .product-sub { font-size: 10.5px; }

  /* product cards tap targets 44px */
  .add-cart-btn { width: 42px; height: 42px; font-size: 20px; }
  .product-wish { width: 38px; height: 38px; top: 8px; inset-inline-end: 8px; font-size: 16px; }
  .quick-add { display: none; }

  /* ---- Category cards: horizontal swipe on mobile ---- */
  .cat-grid {
    display: grid; grid-template-columns: 1fr; gap: 12px;
  }
  .cat-card { min-height: 150px; }

  /* ---- Hero ---- */
  .hero { min-height: 84vh; }
  .hero-content { min-height: 84vh; padding: 56px 22px; }
  .hero-h1 { font-size: clamp(28px, 9vw, 40px); }
  .hero-desc { font-size: 14.5px; margin-bottom: 24px; }
  .hero-stats { gap: 20px; margin-top: 28px; }
  .hero-stat strong { font-size: 20px; }
  .hero-ctas { max-width: 100%; }
  /* full-width touch-friendly hero buttons */
  .hero-ctas .btn-primary, .hero-ctas .btn-outline { width: 100%; padding: 15px 24px; font-size: 14px; }
  .hero-dots { bottom: 36px; }
  .hero-dot { width: 12px; height: 12px; padding: 8px; background-clip: padding-box; border-radius: 50%; }

  /* ---- Shop: filterdrawer ---- */
  .shop-layout { padding: 28px 16px 48px; gap: 24px; }
  .shop-toolbar { gap: 10px; margin-bottom: 20px; }
  .shop-result-count { font-size: 12.5px; }
  .shop-sort { padding: 11px 14px; font-size: 13.5px; border-radius: 10px; width: 100%; }
  .nfilters-btn {
    display: flex !important; align-items: center; justify-content: center; gap: 8px;
    flex: 1; padding: 12px 14px; border-radius: 10px; border: 1.5px solid var(--teal);
    background: var(--white); color: var(--teal); font-weight: 600; font-size: 13.5px;
    cursor: pointer; font-family: inherit;
  }
  .nfilters-btn i { font-style: normal; }
  .filter-sidebar {
    position: fixed; top: 0; bottom: 0; inset-inline-start: 0; z-index: 1490;
    width: min(320px, 88vw); background: var(--white);
    transform: translateX(-102%); transition: transform 0.32s cubic-bezier(0.22,0.8,0.3,1);
    overflow-y: auto; padding: 22px 20px; box-shadow: var(--shadow-lg);
    scrollbar-width: thin;
  }
  html[dir="rtl"] .filter-sidebar { transform: translateX(102%); }
  .filter-sidebar.open { transform: translateX(0); }
  .filter-backdrop { display: block !important;
    position: fixed; inset: 0; background: rgba(12,20,14,0.5); z-index: 1489;
    opacity: 0; visibility: hidden; transition: opacity 0.25s ease, visibility 0.25s;
  }
  .filter-backdrop.show { opacity: 1; visibility: visible; }
  .filter-close {
    display: flex !important; align-items: center; justify-content: space-between;
    margin-bottom: 12px; font-size: 15px; font-weight: 700;
    border: none; background: none; padding: 0; width: 100%;
    color: var(--charcoal); font-family: inherit; cursor: pointer; flex-shrink: 0;
  }
  .filter-close span:last-child {
    display: flex; align-items: center; justify-content: center;
    background: var(--ivory-dark); width: 34px; height: 34px;
    border-radius: 9px; font-size: 15px; color: var(--charcoal);
  }
  .filter-cat-item { font-size: 14.5px; padding: 12px 12px; }
  .filter-option { margin-bottom: 12px; }
  .filter-option label { font-size: 14.5px; }
  .filter-title { font-size: 12.5px; }
  .swatch { width: 34px; height: 34px; }
  .price-input { flex: 1; width: auto; padding: 11px 12px; font-size: 14px; }
  .filter-section { margin-bottom: 30px; }
  .filter-sidebar .btn-primary { width: 100%; padding: 14px; }

  /* ---- Product detail ---- */
  .product-detail-layout { padding: 24px 16px 40px; gap: 26px; }
  .gallery-main { aspect-ratio: 4/5; border-radius: 16px; }
  .gallery-thumb { width: 60px; height: 60px; }
  .pd-name { font-size: 22px; line-height: 1.25; }
  .pd-price { font-size: 24px; }
  .pd-price-old { font-size: 16px; }
  .pd-sub { font-size: 13px; }
  .pd-features { gap: 10px; }
  .pd-feature { font-size: 12.5px; padding: 11px 13px; }
  .pd-ctas { position: sticky; bottom: 68px; z-index: 20; gap: 10px; }
  .btn-add-cart { padding: 16px 20px; font-size: 15.5px; border-radius: 12px; min-height: 54px; }
  .btn-wishlist { width: 54px; height: 54px; flex-shrink: 0; border-radius: 12px; font-size: 20px; }
  .variant-btn { padding: 10px 12px; border-radius: 10px; }
  .variant-thumb { width: 40px; height: 40px; }
  .variant-name { font-size: 12.5px; }
  .qty-control { border-radius: 11px; }
  .qty-btn { width: 44px; height: 48px; }

  /* ---- Cart ---- */
  .cart-layout { padding: 28px 16px 48px; gap: 24px; }
  .cart-summary { padding: 22px 18px; border-radius: 16px; }
  .checkout-btn-big { padding: 16px; font-size: 15.5px; border-radius: 12px; min-height: 52px; }
  .coupon-row { flex-direction: column; gap: 10px; }
  .coupon-input { width: 100%; padding: 13px 14px; font-size: 14px; }
  .coupon-btn { width: 100%; padding: 13px; }

  /* ---- Checkout ---- */
  .checkout-layout { padding: 28px 16px 48px; gap: 24px; }
  .checkout-section { padding: 20px 16px; border-radius: 16px; }
  .checkout-section h3 { font-size: 16px; margin-bottom: 16px; }
  .form-field label { font-size: 11.5px; }
  .form-field input, .form-field select, .form-field textarea { padding: 13px 14px; font-size: 15px; }
  .checkout-step-indicator { margin-bottom: 26px; }
  .step-circle { width: 30px; height: 30px; font-size: 12px; flex-shrink: 0; }
  .step-label { font-size: 11px; margin-inline-start: 6px; white-space: normal; line-height: 1.2; }
  .step-item { display: flex; align-items: center; min-width: 0; }
  .checkout-order-summary { padding: 20px 16px; border-radius: 16px; }
  .payment-method { padding: 15px; }
  .btn-place-order { padding: 17px; font-size: 15.5px; min-height: 54px; border-radius: 12px; }

  /* ---- Contact / About ---- */
  .contact-layout, .about-grid { padding: 28px 16px 48px; gap: 32px; }
  .contact-form { padding: 24px 16px; }
  .contact-info h2 { font-size: 30px; }
  .contact-card { padding: 16px; }
  .about-text h3 { font-size: 24px; margin-top: 6px; }
  .values-grid { gap: 12px; }
  .value-card { padding: 20px 14px; }
  .value-icon { font-size: 32px; margin-bottom: 10px; }
  .value-card h4 { font-size: 15.5px; }

  /* ---- Features / Stats / Brands ---- */
  .features-grid { grid-template-columns: repeat(2, 1fr); gap: 26px 16px; }
  .feature-title { font-size: 13.5px; }
  .feature-desc { font-size: 12px; }
  .stat-num { font-size: 32px; }
  .stats-grid { gap: 24px 14px; }
  .brands-section { padding: 44px 16px; }
  .brands-row { gap: 12px; }
  .brand-pill { padding: 12px 18px; font-size: 13px; border-radius: 32px; }

  /* ---- FAQ / Newsletter ---- */
  .faq-list { gap: 10px; }
  .faq-section { padding: 48px 16px 52px; }
  .newsletter-section { padding: 48px 16px; }
  .newsletter-form input { font-size: 14.5px; padding: 14px 16px; }
  .newsletter-form button { padding: 14px; }

  /* ---- Footer ---- */
  .footer-grid { gap: 32px; padding: 0 16px; }
  .footer-bottom-line { padding: 24px 16px 32px; flex-direction: column; text-align: center; }

  /* ---- Floating buttons won't overlap sticky CTAs ---- */
  .wa-float, .cart-float { bottom: calc(12px + env(safe-area-inset-bottom, 0px)); }
}

@media (max-width: 420px) {
  .product-grid, .shop-grid { gap: 10px; }
  .product-name { font-size: 11.5px; }
  .product-price { font-size: 14px; }
  .product-stars { font-size: 10px; }
  .page-hero h1 { font-size: 24px; }
  .hero-h1 { font-size: 28px; }
  .pd-name { font-size: 20px; }
  .pd-ctas { flex-direction: column; }
  .btn-wishlist { width: 100%; height: 48px; }
}

/* Sticky mobile "Add to Cart" bar on product detail */
.mobile-cta-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 1200;
  display: none; align-items: center; gap: 12px;
  background: var(--white); border-top: 1px solid var(--ivory-dark);
  padding: 10px 16px calc(10px + env(safe-area-inset-bottom, 0px));
  box-shadow: 0 -4px 24px rgba(27,94,75,0.10);
}
@media (max-width: 768px) {
  .mobile-cta-bar { display: flex; }
  body.has-mobile-bar { padding-bottom: 76px; }
  .mobile-cta-bar .m-bar-thumb { width: 46px; height: 46px; border-radius: 10px; overflow: hidden; flex-shrink: 0; }
  .mobile-cta-bar .m-bar-thumb img { width: 100%; height: 100%; object-fit: cover; }
  .mobile-cta-bar .m-bar-meta { flex: 1; min-width: 0; }
  .mobile-cta-bar .m-bar-name { font-size: 12.5px; font-weight: 600; color: var(--charcoal); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .mobile-cta-bar .m-bar-price { font-size: 16px; font-weight: 700; color: var(--teal); }
  .mobile-cta-bar .m-bar-price-old { font-size: 12px; color: var(--light); text-decoration: line-through; margin-inline-start: 6px; }
  .mobile-cta-bar .m-bar-add {
    flex-shrink: 0; min-height: 50px; padding: 0 22px; border: none; border-radius: 12px;
    background: linear-gradient(135deg, var(--teal), var(--teal-light)); color: var(--white);
    font-weight: 700; font-size: 14px; cursor: pointer; font-family: inherit;
    display: flex; align-items: center; gap: 6px;
  }
  .mobile-cta-bar .m-bar-add:active { transform: scale(0.97); }
  .mobile-cta-bar .m-bar-add[disabled] { background: var(--light); cursor: not-allowed; }
  .product-detail-layout { padding-bottom: 130px; }
}
