/* ============================================
   Bigreams Luxury Theme — Frontend CSS
   Brown/Gold palette · Cormorant Garamond + DM Sans
   Desktop Responsive + Proper Spacing
   ============================================ */
/* ---------- CSS Variables ---------- */
:root {
  --brown-deep: #2C1A0E;
  --brown-rich: #5C3317;
  --brown-warm: #8B5A2B;
  --brown-light: #C4956A;
  --cream: #FAF6F0;
  --cream-dark: #F0E8DC;
  --gold: #C9A84C;
  --gold-light: #E8C87A;
  --charcoal: #1A1A1A;
  --text-body: #3D2B1F;
  --text-muted: #7A6458;
  --white: #FFFFFF;
  --border: #DDD0C4;
  --success: #3D7A45;
  --radius: 6px;
  --radius-lg: 10px;
  --shadow-soft: 0 4px 24px rgba(44,26,14,0.10);
  --shadow-card: 0 2px 12px rgba(44,26,14,0.08);
  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-price: 'Playfair Display', Georgia, serif;
  --font-body: 'DM Sans', sans-serif;
  --container-max: 1280px;
  --container-pad: 24px;
}
/* ---------- Reset & Base ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; overflow-x: hidden; width: 100%; }
body {
  font-family: var(--font-body);
  background: var(--cream);
  color: var(--text-body);
  font-size: 15px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  overflow-x: hidden;
  width: 100%;
}
a { color: var(--brown-warm); text-decoration: none; transition: color 0.15s; }
a:hover { color: var(--brown-rich); }
img { max-width: 100%; height: auto; }
/* ═══ CONTAINER ══════════════════════════════ */
/* ═══ ANNOUNCEMENT BAR ══════════════════════════════ */
.announcement {
  background: var(--gold);
  color: var(--brown-deep);
  text-align: center;
  padding: 10px 24px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.5px;
}
.announcement span { margin: 0 12px; opacity: 0.6; }
/* ═══ HEADER ══════════════════════════════════ */
.logo {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: 3px;
  text-transform: uppercase;
  text-decoration: none;
  flex-shrink: 0;
}
.logo span { color: var(--white); }
.header-nav {
  display: flex;
  align-items: center;
  gap: 20px;
  flex: 1;
  min-width: 0;
  overflow: hidden;
}
.header-nav a {
  color: var(--cream);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.5px;
  text-decoration: none;
  transition: color 0.15s;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.header-nav a:hover { color: var(--gold-light); }
.header-right {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-shrink: 0;
  max-width: 460px;
}
.cart-icon {
  color: var(--cream);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.5px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  text-decoration: none;
  transition: color 0.15s;
  white-space: nowrap;
}
.cart-icon:hover { color: var(--gold-light); }
.cart-badge {
  background: var(--gold);
  color: var(--brown-deep);
  border-radius: 50%;
  width: 18px; height: 18px;
  font-size: 10px;
  font-weight: 700;
  display: flex; align-items: center; justify-content: center;
}
.currency-switcher {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}
.currency-select {
  background: rgba(255,255,255,0.08);
  color: var(--cream);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: var(--radius);
  padding: 4px 8px;
  font-size: 12px;
  font-weight: 600;
  font-family: var(--font-body);
  letter-spacing: 0.5px;
  cursor: pointer;
  outline: none;
  appearance: auto;
  transition: border-color 0.15s, background 0.15s;
}
.currency-select:hover {
  border-color: var(--gold);
  background: rgba(201,168,76,0.1);
}
.currency-select:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 2px rgba(201,168,76,0.15);
}
.currency-select option {
  background: var(--brown-rich);
  color: var(--cream);
}
.header-search input {
  background: transparent;
  border: none;
  color: var(--cream);
  padding: 6px 12px;
  font-size: 12px;
  width: 160px;
  outline: none;
  font-family: var(--font-body);
}
.header-search input::placeholder { color: rgba(255,255,255,0.5); }
.header-search button {
  background: var(--brown-rich);
  border: none;
  color: var(--cream);
  padding: 6px 10px;
  cursor: pointer;
  font-size: 12px;
}
.header-auth {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.header-auth a {
  color: var(--cream);
  font-size: 12px;
  font-weight: 500;
  text-decoration: none;
  letter-spacing: 0.3px;
  white-space: nowrap;
}
.header-auth a:hover { color: var(--gold-light); }
.mobile-menu-btn {
  display: none;
  background: transparent;
  border: 1px solid rgba(255,255,255,0.3);
  color: var(--cream);
  padding: 6px 10px;
  border-radius: var(--radius);
  cursor: pointer;
  font-size: 18px;
}
/* ═══ BREADCRUMB ══════════════════════════════════ */
.breadcrumb {
  padding: 12px var(--container-pad);
  font-size: 11px;
  color: var(--text-muted);
  letter-spacing: 0.3px;
  background: transparent;
  max-width: var(--container-max);
  margin: 0 auto;
}
.breadcrumb a { color: var(--text-muted); text-decoration: none; }
.breadcrumb a:hover { color: var(--brown-warm); }
.breadcrumb .sep { margin: 0 6px; }
.breadcrumb-item { display: inline; }
.breadcrumb-item + .breadcrumb-item::before {
  content: '\203A';
  margin: 0 6px;
  color: var(--text-muted);
}
.breadcrumb-item a { color: var(--text-muted); }
.breadcrumb-item a:hover { color: var(--brown-warm); }
/* ═══ WATCHERS BADGE ══════════════════════════════ */
.watchers-bar {
  background: #FFF8EE;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 8px var(--container-pad);
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--brown-rich);
  font-weight: 500;
}
.watchers-dot {
  width: 8px; height: 8px;
  background: #E74C3C;
  border-radius: 50%;
  animation: pulse 1.5s infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.3); }
}
/* ═══ HERO SECTION ══════════════════════════════════ */
.hero-section {
  background: linear-gradient(135deg, var(--brown-deep) 0%, var(--brown-rich) 100%);
  color: var(--white);
  padding: 70px var(--container-pad);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.hero-section::before {
  content: '';
  position: absolute;
  top: -50%; right: -20%;
  width: 60%; height: 200%;
  background: rgba(255,255,255,0.04);
  transform: rotate(-15deg);
  border-radius: 50%;
}
.hero-section h1 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 2.5rem;
  margin-bottom: 16px;
  position: relative;
  color: var(--cream);
}
.hero-section p {
  font-size: 1.15rem;
  opacity: 0.9;
  margin-bottom: 24px;
  position: relative;
  color: var(--cream);
}
.hero-section .btn {
  position: relative;
  padding: 14px 36px;
  font-weight: 600;
  font-size: 15px;
  border-radius: var(--radius);
  font-family: var(--font-body);
  letter-spacing: 0.8px;
  text-transform: uppercase;
  cursor: pointer;
  border: none;
  display: inline-block;
  text-align: center;
  text-decoration: none;
  transition: background 0.2s, transform 0.1s;
}
.hero-btn-primary {
  background: var(--gold);
  color: var(--brown-deep);
}
.hero-btn-primary:hover { background: var(--gold-light); transform: translateY(-1px); }
.hero-btn-outline {
  background: transparent;
  color: var(--cream);
  border: 2px solid var(--cream);
}
.hero-btn-outline:hover { background: var(--cream); color: var(--brown-deep); }
/* ═══ SECTION HEADINGS ══════════════════════════════ */
.section-label {
  font-size: 10px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 700;
  margin-bottom: 6px;
}
.section-title {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  color: var(--brown-deep);
  margin-bottom: 16px;
  line-height: 1.2;
}
.section { padding: 24px var(--container-pad); border-top: 1px solid var(--border); }
/* ═══ PRODUCT CARDS ══════════════════════════════════ */
.product-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: box-shadow 0.2s, transform 0.2s;
  position: relative;
}
.product-card:hover {
  box-shadow: var(--shadow-card);
  transform: translateY(-3px);
}
.product-card .card-img-top {
  height: 240px;
  object-fit: cover;
  width: 100%;
  transition: transform 0.3s;
  background: var(--cream-dark);
  display: block;
}
.product-card:hover .card-img-top { transform: scale(1.03); }
.product-card .card-body { padding: 14px 16px; }
.product-card .card-title {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--brown-deep);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  line-height: 1.4;
}
.product-card .card-footer {
  padding: 10px 16px;
  background: var(--cream);
  border-top: 1px solid var(--border);
}
.product-card .card-title a { color: var(--brown-deep); text-decoration: none; }
.product-card .card-title a:hover { color: var(--brown-warm); }
/* Product Price */
.product-price {
  color: var(--brown-rich);
  font-weight: 700;
  font-size: 1.15rem;
  font-family: var(--font-price);
}
/* Badges on Product */
.sale-badge {
  position: absolute;
  top: 12px; right: 12px;
  background: var(--brown-rich);
  color: var(--white);
  padding: 4px 10px;
  border-radius: var(--radius);
  font-size: 11px;
  font-weight: 700;
  z-index: 5;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}
.new-badge {
  position: absolute;
  top: 12px; left: 12px;
  background: var(--gold);
  color: var(--brown-deep);
  padding: 4px 10px;
  border-radius: var(--radius);
  font-size: 11px;
  font-weight: 700;
  z-index: 5;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}
.discount-badge {
  position: absolute;
  top: 16px; left: 16px;
  background: var(--brown-rich);
  color: var(--white);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  padding: 5px 10px;
  text-transform: uppercase;
}
/* ═══ BUTTONS ══════════════════════════════════ */
.btn-primary {
  padding: 14px 24px;
  background: var(--brown-rich);
  color: var(--white);
  border: none;
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.8px;
  cursor: pointer;
  transition: background 0.2s, transform 0.1s;
  text-transform: uppercase;
  margin-bottom: 10px;
  display: inline-block;
  text-align: center;
  text-decoration: none;
  position: relative;
  overflow: hidden;
  max-width: 400px;
  width: 100%;
}
.btn-primary:active { transform: scale(0.99); }
.btn-primary:hover { background: var(--brown-deep); color: var(--white); }
.btn-wc {
  background: var(--brown-rich);
  color: var(--white);
  border: none;
  padding: 10px 20px;
  font-weight: 600;
  border-radius: var(--radius);
  transition: background 0.2s, transform 0.1s;
  font-size: 14px;
  font-family: var(--font-body);
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.btn-wc:hover {
  background: var(--brown-deep);
  color: var(--white);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(92,51,23,0.3);
}
.btn-outline-wc {
  color: var(--brown-rich);
  border: 2px solid var(--brown-rich);
  background: transparent;
  padding: 9px 20px;
  font-weight: 600;
  border-radius: var(--radius);
  transition: all 0.2s;
  font-size: 14px;
  font-family: var(--font-body);
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.btn-outline-wc:hover {
  background: var(--brown-rich);
  color: var(--white);
}
.btn-gold {
  padding: 14px 24px;
  background: var(--gold);
  color: var(--brown-deep);
  border: none;
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.5px;
  cursor: pointer;
  transition: all 0.2s;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  text-decoration: none;
  max-width: 400px;
  width: 100%;
}
.btn-gold:hover { background: var(--gold-light); color: var(--brown-deep); }
.btn-whatsapp {
  padding: 14px 24px;
  background: transparent;
  color: #25D366;
  border: 1.5px solid #25D366;
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-decoration: none;
  letter-spacing: 0.3px;
  max-width: 400px;
  width: 100%;
}
.btn-whatsapp:hover { background: #25D366; color: var(--white); }
.whatsapp-icon { font-size: 18px; }
/* Wishlist Heart Button */
.btn-wishlist {
  padding: 14px 24px;
  background: transparent;
  border: 2px solid var(--border);
  border-radius: var(--radius);
  font-size: 22px;
  cursor: pointer;
  transition: all 0.2s;
  color: var(--text-muted);
  margin-bottom: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-body);
  max-width: 400px;
  width: 100%;
}
.btn-wishlist:hover {
  border-color: var(--gold);
  color: var(--gold);
  background: rgba(201, 168, 76, 0.06);
}
.btn-wishlist.active {
  border-color: var(--gold);
  color: var(--gold);
  background: rgba(201, 168, 76, 0.08);
}
.product-hero {
  background: var(--white);
  max-width: var(--container-max);
  margin: 0 auto;
}
/* ═══ PRODUCT HERO (Detail Page) ══════════════════════════════════ */
/* Gallery */
.gallery-wrap { position: relative; }
.main-image-slot {
  width: 100%;
  aspect-ratio: 4/3;
  overflow: hidden;
  background: var(--cream-dark);
  position: relative;
}
.main-image-slot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}
.fabric-origin-badge {
  position: absolute;
  bottom: 16px; right: 16px;
  background: rgba(44,26,14,0.85);
  color: var(--gold-light);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 1px;
  padding: 5px 10px;
  text-transform: uppercase;
  backdrop-filter: blur(4px);
}
.thumb-row {
  display: flex;
  gap: 8px;
  padding: 10px 16px;
  overflow-x: auto;
  scrollbar-width: none;
}
.thumb-row::-webkit-scrollbar { display: none; }
.thumb {
  flex: 0 0 64px;
  height: 64px;
  border-radius: var(--radius);
  overflow: hidden;
  border: 2px solid transparent;
  cursor: pointer;
  transition: border-color 0.2s;
}
.thumb.active { border-color: var(--brown-warm); }
.thumb img { width: 100%; height: 100%; object-fit: cover; }
.product-info { padding: 24px var(--container-pad) 0; }
/* Info Section */
.rating-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
  flex-wrap: wrap;
}
.stars { color: var(--gold); font-size: 14px; letter-spacing: 1px; }
.rating-text { font-size: 12px; color: var(--text-muted); }
.rating-link { font-size: 12px; color: var(--brown-warm); text-decoration: none; font-weight: 500; }
.rating-link:hover { color: var(--brown-rich); }
.verified-badge {
  font-size: 10px;
  background: #E8F5E9;
  color: var(--success);
  padding: 2px 7px;
  border-radius: 20px;
  font-weight: 600;
  letter-spacing: 0.3px;
}
.product-title {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 700;
  line-height: 1.2;
  color: var(--brown-deep);
  margin-bottom: 4px;
}
.product-subtitle {
  font-size: 13px;
  color: var(--text-muted);
  letter-spacing: 0.5px;
  margin-bottom: 16px;
  text-transform: uppercase;
  font-weight: 500;
}
/* Price */
.price-block { display: flex; align-items: baseline; gap: 10px; margin-bottom: 6px; flex-wrap: wrap; }
.price-current {
  font-family: var(--font-price);
  font-size: 30px;
  font-weight: 700;
  color: var(--brown-rich);
}
.price-per { font-size: 13px; color: var(--text-muted); }
.price-original { font-size: 16px; color: var(--text-muted); text-decoration: line-through; }
.price-note { font-size: 11px; color: var(--text-muted); margin-bottom: 16px; }
.price-save {
  font-size: 12px;
  background: #FEF3CD;
  color: #856404;
  padding: 2px 8px;
  border-radius: 20px;
  font-weight: 600;
}
/* Qty + CTA */
.purchase-block { margin-bottom: 16px; }
.qty-label {
  font-size: 12px;
  font-weight: 600;
  color: var(--brown-deep);
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-bottom: 8px;
}
.qty-row { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.qty-control {
  display: flex;
  align-items: center;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}
.qty-btn {
  width: 40px; height: 44px;
  background: var(--cream-dark);
  border: none;
  font-size: 18px;
  color: var(--brown-deep);
  cursor: pointer;
  font-family: var(--font-display);
  transition: background 0.15s;
  display: flex; align-items: center; justify-content: center;
}
.qty-btn:active { background: var(--border); }
.qty-input {
  width: 52px; height: 44px;
  border: none;
  text-align: center;
  font-size: 16px;
  font-weight: 600;
  font-family: var(--font-display);
  color: var(--brown-deep);
  background: var(--white);
  outline: none;
}
.qty-total {
  font-size: 13px;
  color: var(--text-muted);
}
.qty-total strong { color: var(--brown-rich); font-family: var(--font-display); font-size: 15px; }
/* Trust strip */
.trust-strip {
  display: flex;
  gap: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  margin: 16px 0;
}
.trust-item {
  flex: 1;
  padding: 10px 6px;
  text-align: center;
  background: var(--white);
  border-right: 1px solid var(--border);
  font-size: 10px;
  color: var(--text-muted);
  font-weight: 500;
  letter-spacing: 0.2px;
  line-height: 1.4;
}
.trust-item:last-child { border-right: none; }
.trust-icon { font-size: 18px; display: block; margin-bottom: 3px; }
/* Delivery info */
.delivery-info {
  background: #F0FAF0;
  border: 1px solid #C3E6C8;
  border-radius: var(--radius);
  padding: 12px 14px;
  font-size: 13px;
  color: #2D6A35;
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
}
.delivery-info .icon { font-size: 20px; flex-shrink: 0; }
/* Scarcity */
.scarcity-bar {
  background: #FFF5F5;
  border: 1px solid #FECACA;
  border-radius: var(--radius);
  padding: 10px 14px;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: #991B1B;
  font-weight: 600;
}
.scarcity-icon { font-size: 16px; }
/* ═══ PINNED REVIEW ══════════════════════════════════ */
.pinned-review {
  background: linear-gradient(135deg, #2C1A0E 0%, #5C3317 100%);
  border-radius: var(--radius);
  padding: 18px;
  color: var(--white);
  position: relative;
  overflow: hidden;
  margin: 20px var(--container-pad) 0;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
}
.pinned-review::before {
  content: '\201C';
  position: absolute;
  top: -10px; right: 16px;
  font-family: var(--font-display);
  font-size: 100px;
  color: rgba(201,168,76,0.2);
  line-height: 1;
}
.pinned-label {
  font-size: 9px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold-light);
  font-weight: 700;
  margin-bottom: 8px;
}
.pinned-stars { color: var(--gold); font-size: 13px; margin-bottom: 8px; }
.pinned-text {
  font-family: var(--font-display);
  font-size: 16px;
  font-style: italic;
  line-height: 1.5;
  margin-bottom: 10px;
  color: var(--cream);
}
.pinned-author {
  font-size: 11px;
  color: var(--gold-light);
  font-weight: 500;
}
.pinned-location { color: rgba(255,255,255,0.5); }
/* ═══ SPECS GRID ════════════════════════════════════ */
.specs-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.spec-card {
  background: var(--cream-dark);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 12px 14px;
}
.spec-label { font-size: 10px; color: var(--text-muted); letter-spacing: 0.5px; text-transform: uppercase; margin-bottom: 4px; font-weight: 600; }
.spec-value { font-size: 15px; font-weight: 700; color: var(--brown-deep); font-family: var(--font-display); }
.spec-note { font-size: 10px; color: var(--text-muted); margin-top: 2px; }
.composition-bar {
  margin: 16px 0 8px;
  background: var(--cream-dark);
  border-radius: 20px;
  overflow: hidden;
  height: 10px;
  border: 1px solid var(--border);
}
.composition-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--brown-warm) 0%, var(--gold) 100%);
  width: 70%;
  border-radius: 20px 0 0 20px;
}
.composition-legend { display: flex; gap: 16px; font-size: 11px; }
.legend-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  display: inline-block;
  margin-right: 4px;
  vertical-align: middle;
}
/* ═══ WHY LIST ═══════════════════════════════ */
.why-list { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.why-item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 14px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  border-left: 3px solid var(--gold);
}
.why-icon { font-size: 22px; flex-shrink: 0; margin-top: 1px; }
.why-title { font-size: 13px; font-weight: 700; color: var(--brown-deep); margin-bottom: 3px; }
.why-desc { font-size: 12px; color: var(--text-muted); line-height: 1.5; }
/* ═══ JOURNEY STEPS ══════════════════════════ */
.journey-steps { display: flex; flex-direction: column; gap: 0; position: relative; }
.journey-steps::before {
  content: '';
  position: absolute;
  left: 22px; top: 28px; bottom: 28px;
  width: 2px;
  background: linear-gradient(to bottom, var(--gold), var(--brown-light));
}
.journey-step {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 16px 0;
}
.step-num {
  width: 44px; height: 44px;
  background: var(--brown-deep);
  color: var(--gold);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  flex-shrink: 0;
  z-index: 1;
  border: 2px solid var(--gold);
}
.step-title { font-size: 14px; font-weight: 700; color: var(--brown-deep); margin-bottom: 3px; }
.step-desc { font-size: 12px; color: var(--text-muted); line-height: 1.5; }
/* ═══ SOCIAL PROOF / STATS ══════════════════════════════════ */
.stats-row {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 12px;
  margin-bottom: 20px;
}
.stat-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px 12px;
  text-align: center;
}
.stat-num {
  font-family: var(--font-price);
  font-size: 26px;
  font-weight: 700;
  color: var(--brown-rich);
  line-height: 1;
  margin-bottom: 4px;
}
.stat-label { font-size: 10px; color: var(--text-muted); letter-spacing: 0.3px; line-height: 1.3; }
/* ═══ REVIEWS ══════════════════════════════════ */
.reviews-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}
.overall-rating { display: flex; align-items: center; gap: 10px; }
.big-rating {
  font-family: var(--font-price);
  font-size: 40px;
  font-weight: 700;
  color: var(--brown-deep);
  line-height: 1;
}
.rating-bars { margin-bottom: 16px; }
.rating-bar-row { display: flex; align-items: center; gap: 8px; margin-bottom: 5px; font-size: 11px; color: var(--text-muted); }
.rating-bar-row .label { width: 28px; text-align: right; }
.bar-outer { flex: 1; height: 6px; background: var(--cream-dark); border-radius: 3px; overflow: hidden; }
.bar-inner { height: 100%; background: var(--gold); border-radius: 3px; }
.bar-count { width: 16px; }
.review-top { display: flex; align-items: flex-start; justify-content: space-between; margin-bottom: 8px; }
.reviewer-name { font-size: 13px; font-weight: 700; color: var(--brown-deep); }
.review-stars { color: var(--gold); font-size: 12px; }
.review-date { font-size: 10px; color: var(--text-muted); margin-top: 1px; }
.review-text { font-size: 13px; color: var(--text-body); line-height: 1.5; }
.review-location { font-size: 11px; color: var(--text-muted); margin-top: 6px; display: flex; align-items: center; gap: 4px; }
.verified-tag {
  font-size: 10px;
  color: var(--success);
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 3px;
  margin-top: 8px;
}
/* Review Bottom Row (verified + helpful) */
.review-bottom-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 4px;
}
/* Helpful Button */
.helpful-btn {
  background: var(--cream-dark);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 4px 12px;
  font-size: 11px;
  font-weight: 600;
  color: var(--text-muted);
  cursor: pointer;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  gap: 4px;
}
.helpful-btn:hover {
  background: var(--gold);
  color: var(--brown-deep);
  border-color: var(--gold);
}
.helpful-btn.voted {
  background: var(--gold);
  color: var(--brown-deep);
  border-color: var(--gold);
  cursor: default;
}
.helpful-btn:disabled {
  cursor: default;
  opacity: 0.8;
}
/* ═══ REVIEW FORM ══════════════════════════════════ */
.review-form {
  max-width: 560px;
}
.review-form-group {
  margin-bottom: 18px;
}
.review-form-label {
  display: block;
  font-size: 12px;
  font-weight: 700;
  color: var(--brown-deep);
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-bottom: 8px;
}
/* Star Selector */
.star-selector {
  display: flex;
  gap: 6px;
  margin-bottom: 4px;
}
.star-btn {
  font-size: 28px;
  color: var(--border);
  cursor: pointer;
  transition: color 0.15s, transform 0.15s;
  user-select: none;
  line-height: 1;
}
.star-btn:hover {
  transform: scale(1.15);
}
.star-btn.active {
  color: var(--gold);
}
.rating-text-hint {
  font-size: 11px;
  color: var(--text-muted);
  font-weight: 500;
  letter-spacing: 0.3px;
}
/* Review Textarea */
.review-textarea {
  width: 100%;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 12px 14px;
  font-size: 14px;
  font-family: var(--font-body);
  color: var(--text-body);
  resize: vertical;
  min-height: 100px;
  transition: border-color 0.15s, box-shadow 0.15s;
  background: var(--white);
}
.review-textarea:focus {
  border-color: var(--brown-warm);
  box-shadow: 0 0 0 3px rgba(139,90,43,0.1);
  outline: none;
}
.review-textarea::placeholder {
  color: var(--text-muted);
  font-size: 13px;
}
.review-char-count {
  text-align: right;
  font-size: 11px;
  color: var(--text-muted);
  margin-top: 4px;
}
/* Review Disclaimer */
.review-disclaimer {
  font-size: 11px;
  color: var(--text-muted);
  margin-top: 10px;
  font-style: italic;
}
/* Review Login Prompt */
.review-login-prompt {
  background: var(--cream-dark);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px 24px;
  text-align: center;
  font-size: 14px;
  color: var(--text-body);
}
.review-login-prompt a {
  color: var(--brown-rich);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.review-login-prompt a:hover {
  color: var(--gold);
}
/* ═══ FAQ ════════════════════════════════════════════ */
.faq-item {
  border-bottom: 1px solid var(--border);
  padding: 14px 0;
}
.faq-item:last-child { border-bottom: none; }
.faq-q {
  font-size: 13px;
  font-weight: 600;
  color: var(--brown-deep);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  user-select: none;
}
.faq-chevron {
  font-size: 18px;
  transition: transform 0.25s;
  flex-shrink: 0;
  color: var(--gold);
  font-family: var(--font-display);
}
.faq-a {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.6;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
  padding-top: 0;
}
.faq-item.open .faq-chevron { transform: rotate(45deg); }
.faq-item.open .faq-a { max-height: 200px; padding-top: 10px; }
/* ═══ RELATED PRODUCTS ═══════════════════════════════ */
.related-scroll {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  padding: 4px 0 8px;
  scrollbar-width: none;
}
.related-scroll::-webkit-scrollbar { display: none; }
.related-card {
  flex: 0 0 150px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--white);
  text-decoration: none;
  color: var(--text-body);
  transition: box-shadow 0.2s;
}
.related-card:hover { box-shadow: var(--shadow-card); }
.related-img { width: 100%; aspect-ratio: 1; object-fit: cover; background: var(--cream-dark); display: block; }
.related-info { padding: 10px; }
.related-name { font-size: 11px; font-weight: 600; color: var(--brown-deep); margin-bottom: 4px; line-height: 1.3; }
.related-price { font-size: 12px; font-weight: 700; color: var(--brown-rich); font-family: var(--font-price); }
.related-old { text-decoration: line-through; color: var(--text-muted); font-size: 10px; margin-left: 4px; }
/* ═══ UPSELL / BUNDLE ═══════════════════════════════ */
.upsell-card {
  background: linear-gradient(135deg, var(--brown-deep) 0%, #3D1F0A 100%);
  border-radius: var(--radius);
  padding: 20px;
  color: var(--white);
}
.upsell-badge {
  display: inline-block;
  background: var(--gold);
  color: var(--brown-deep);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: 20px;
  margin-bottom: 12px;
}
.upsell-title {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 8px;
  line-height: 1.2;
}
.upsell-desc { font-size: 13px; color: rgba(255,255,255,0.75); margin-bottom: 16px; line-height: 1.5; }
.upsell-pricing { margin-bottom: 16px; }
.upsell-price-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  font-size: 13px;
  color: rgba(255,255,255,0.8);
}
.upsell-price-row:last-child { border-bottom: none; }
.upsell-price-row .price { color: var(--gold-light); font-weight: 600; font-family: var(--font-price); font-size: 15px; }
/* ═══ STICKY BUY BAR ═════════════════════════════════ */
.sticky-buy {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  background: var(--white);
  border-top: 2px solid var(--border);
  padding: 12px var(--container-pad);
  z-index: 200;
  box-shadow: 0 -4px 20px rgba(0,0,0,0.1);
  display: flex;
  gap: 10px;
  align-items: center;
  transform: translateY(100%);
  transition: transform 0.3s ease;
}
.sticky-buy.visible { transform: translateY(0); }
.sticky-info { flex: 1; min-width: 0; }
.sticky-name { font-size: 12px; font-weight: 600; color: var(--brown-deep); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sticky-price { font-size: 14px; font-weight: 700; color: var(--brown-rich); font-family: var(--font-price); }
.sticky-btn {
  flex-shrink: 0;
  padding: 12px 20px;
  background: var(--brown-rich);
  color: var(--white);
  border: none;
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  letter-spacing: 0.5px;
  white-space: nowrap;
}
.sticky-btn:hover { background: var(--brown-deep); }
/* ═══ CART PAGE ══════════════════════════════════ */
.cart-page {
  padding: 24px var(--container-pad);
  max-width: var(--container-max);
  margin: 0 auto;
}
.cart-page h3 {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 700;
  color: var(--brown-deep);
  margin-bottom: 20px;
}
.cart-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.cart-table th {
  background: var(--cream-dark);
  color: var(--brown-deep);
  font-weight: 600;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 12px;
  text-align: left;
  border-bottom: 2px solid var(--border);
}
.cart-table td {
  padding: 12px;
  border-bottom: 1px solid var(--border);
  vertical-align: middle;
}
.cart-table .product-info {
  display: flex;
  align-items: center;
  gap: 12px;
}
.cart-table .product-info img {
  width: 60px; height: 60px;
  object-fit: cover;
  border-radius: var(--radius);
  border: 1px solid var(--border);
}
.cart-table .product-info a {
  font-weight: 600;
  color: var(--brown-deep);
}
.cart-table .product-info a:hover { color: var(--brown-warm); }
.cart-summary {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow-card);
}
.cart-summary h5 {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--brown-deep);
  margin-bottom: 16px;
  font-size: 18px;
}
.cart-summary .summary-row {
  display: flex;
  justify-content: space-between;
  padding: 8px 0;
  border-bottom: 1px solid var(--border);
  font-size: 14px;
}
.cart-summary .summary-row.total {
  border-bottom: none;
  border-top: 2px solid var(--brown-deep);
  padding-top: 12px;
  margin-top: 4px;
  font-weight: 700;
  font-size: 16px;
  font-family: var(--font-price);
  color: var(--brown-rich);
}
.quantity-input {
  width: 60px;
  text-align: center;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 4px;
  font-family: var(--font-display);
  font-weight: 600;
}
/* ═══ CHECKOUT ══════════════════════════════════ */
.checkout-form .form-label {
  font-weight: 500;
  font-size: 13px;
  color: var(--text-body);
  margin-bottom: 4px;
}
.checkout-form .form-control,
.checkout-form .form-select {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 10px 14px;
  font-size: 14px;
  font-family: var(--font-body);
  transition: border-color 0.15s, box-shadow 0.15s;
}
.checkout-form .form-control:focus,
.checkout-form .form-select:focus {
  border-color: var(--brown-warm);
  box-shadow: 0 0 0 3px rgba(139,90,43,0.1);
  outline: none;
}
/* ═══ FOOTER ═════════════════════════════════════════ */
.footer {
  background: var(--brown-deep);
  color: rgba(255,255,255,0.7);
  padding: 28px var(--container-pad) 100px;
  margin-top: 32px;
  font-size: 12px;
  line-height: 1.8;
}
.footer a { color: rgba(255,255,255,0.6); }
.footer a:hover { color: var(--gold-light); }
.footer .container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0;
}
.footer-logo {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: 3px;
  margin-bottom: 8px;
  text-decoration: none;
  text-transform: uppercase;
}
.footer-logo span { color: var(--white); }
.footer-tagline { font-size: 12px; color: rgba(255,255,255,0.5); margin-bottom: 16px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 8px 16px; margin-bottom: 16px; }
.footer-links a { color: rgba(255,255,255,0.6); text-decoration: none; font-size: 11px; }
.footer-links a:hover { color: var(--gold-light); }
.footer-copy { font-size: 11px; color: rgba(255,255,255,0.3); }
.footer h5, .footer h6 { color: var(--gold-light); }
.footer hr { border-color: rgba(255,255,255,0.1); }
/* ═══ WHATSAPP FLOAT ══════════════════════════════════ */
.wa-float {
  position: fixed;
  bottom: 80px; right: 20px;
  width: 52px; height: 52px;
  background: #25D366;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 26px;
  z-index: 150;
  box-shadow: 0 4px 16px rgba(37,211,102,0.4);
  text-decoration: none;
  animation: bounce-in 0.5s ease both;
  animation-delay: 1s;
  transform: scale(0);
  color: #fff;
}
@keyframes bounce-in {
  0% { transform: scale(0); }
  70% { transform: scale(1.1); }
  100% { transform: scale(1); }
}
/* Divider */
.divider { height: 1px; background: var(--border); margin: 0 var(--container-pad); }
/* Description text */
.desc-text {
  font-size: 14px;
  color: var(--text-body);
  line-height: 1.7;
  margin-bottom: 16px;
}
/* Star Rating */
.star-rating { color: var(--gold); font-size: 14px; }
.star-rating .empty { color: var(--border); }
/* ═══ PAGINATION ══════════════════════════════════ */
.page-link {
  color: var(--brown-rich);
  border-color: var(--border);
  font-size: 13px;
}
.page-link:hover {
  background: var(--cream-dark);
  border-color: var(--brown-warm);
  color: var(--brown-deep);
}
.page-item.active .page-link {
  background: var(--brown-rich);
  border-color: var(--brown-rich);
  color: #fff;
}
/* ═══ AUTH PAGES ══════════════════════════════════ */
.auth-page {
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--brown-deep) 0%, var(--brown-rich) 100%);
}
.auth-card .subtitle { font-size: 13px; color: var(--text-muted); margin-bottom: 24px; }
.auth-card label { display: block; font-size: 12px; font-weight: 600; color: var(--brown-deep); margin-bottom: 4px; text-transform: uppercase; letter-spacing: 0.5px; }
.auth-card input[type="text"],
.auth-card input[type="email"],
.auth-card input[type="password"],
.auth-card input[type="tel"] {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 14px;
  font-family: var(--font-body);
  transition: border-color 0.15s, box-shadow 0.15s;
}
.auth-card input:focus {
  border-color: var(--brown-warm);
  box-shadow: 0 0 0 3px rgba(139,90,43,0.1);
  outline: none;
}
.auth-card .btn-auth {
  width: 100%;
  padding: 12px;
  background: var(--brown-rich);
  color: var(--white);
  border: none;
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.5px;
  cursor: pointer;
  text-transform: uppercase;
  transition: background 0.2s;
}
.auth-card .btn-auth:hover { background: var(--brown-deep); }
.auth-card .auth-links {
  text-align: center;
  margin-top: 16px;
  font-size: 13px;
}
.auth-card .auth-links a { color: var(--brown-warm); font-weight: 500; }
/* ═══ ADMIN LOGIN CARD ══════════════════════════════════ */
.login-card {
  max-width: 400px;
  width: 100%;
  padding: 32px;
  background: var(--white);
  border-radius: 12px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}
.login-card h2,
.login-card h3 {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--brown-deep);
  text-align: center;
  margin-bottom: 24px;
}
.login-card .form-group {
  margin-bottom: 16px;
}
.login-card label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: var(--brown-deep);
  margin-bottom: 4px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.login-card input[type="text"],
.login-card input[type="email"],
.login-card input[type="password"] {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 14px;
  font-family: var(--font-body);
  transition: border-color 0.15s, box-shadow 0.15s;
}
.login-card input:focus {
  border-color: var(--brown-warm);
  box-shadow: 0 0 0 3px rgba(139,90,43,0.1);
  outline: none;
}
.login-card .btn-auth,
.login-card button[type="submit"] {
  width: 100%;
  padding: 12px;
  background: var(--brown-rich);
  color: var(--white);
  border: none;
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.5px;
  cursor: pointer;
  text-transform: uppercase;
  transition: background 0.2s;
}
.login-card .btn-auth:hover,
.login-card button[type="submit"]:hover {
  background: var(--brown-deep);
}

/* ═══ SHOP SIDEBAR ══════════════════════════════ */
/* ═══ ACCOUNT PAGES ══════════════════════════════ */
.account-page {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 24px var(--container-pad);
}
.account-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  margin-bottom: 16px;
}
.account-card h5 {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--brown-deep);
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border);
}
/* ═══ WISHLIST PAGE ══════════════════════════════ */
.wishlist-page {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 24px var(--container-pad);
}
/* ═══ ORDER TRACKING ══════════════════════════════ */
.track-order-page {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 24px var(--container-pad);
}

/* ═══ CUSTOMER LOGIN / REGISTER CARD CENTERING ══════════════════════════════════ */
/* Fix for pages using: .container > .row.justify-content-center > .col-11.col-md-5 > .card */
.container > .row.justify-content-center > [class*="col-"] > .card {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
  border: 1px solid var(--border);
  overflow: hidden;
}
.container > .row.justify-content-center > .col-11 {
  max-width: 460px;
  flex: 0 0 90%;
}
@media (min-width: 769px) {
  .container > .row.justify-content-center > .col-md-5 {
    max-width: 460px;
    flex: 0 0 41.6667%;
  }
  .container > .row.justify-content-center > .col-md-6 {
    max-width: 520px;
    flex: 0 0 50%;
  }
}
@media (max-width: 768px) {
  .container > .row.justify-content-center > [class*="col-"] {
    flex: 0 0 92% !important;
    max-width: 92% !important;
    padding: 0 !important;
  }
  .container > .row.justify-content-center > [class*="col-"] > .card {
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-soft);
  }
}
@media (max-width: 480px) {
  .container > .row.justify-content-center > [class*="col-"] {
    flex: 0 0 96% !important;
    max-width: 96% !important;
  }
}
/* ═══ RESPONSIVE ══════════════════════════════════ */
@media (min-width: 769px) {
  /* Desktop: constrain product hero width */
  .product-hero {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    max-width: var(--container-max);
    margin: 0 auto;
  }
  .product-hero .gallery-wrap { position: sticky; top: 70px; }
  .product-info { padding: 24px 32px 0; }

  /* Desktop: make Add to Cart and WhatsApp buttons proper width */
  .btn-primary, .btn-whatsapp, .btn-gold, .btn-wishlist {
    max-width: 360px;
  }

  /* Desktop: header content constrained to container max-width */
  .site-header {
    padding-left: max(var(--container-pad), calc((100% - var(--container-max)) / 2 + var(--container-pad)));
    padding-right: max(var(--container-pad), calc((100% - var(--container-max)) / 2 + var(--container-pad)));
  }

  /* Desktop: header nav can shrink, header-right limited */
  .header-nav {
    flex: 1;
    min-width: 0;
    overflow: hidden;
  }
  .header-right {
    flex-shrink: 0;
    max-width: 460px;
  }
}
@media (max-width: 768px) {
  :root {
    --container-pad: 16px;
  }
  .container {
    padding-left: 16px !important;
    padding-right: 16px !important;
  }

  .site-header {
    padding: 12px 16px;
    flex-wrap: wrap;
    gap: 8px;
  }
  .header-nav { display: none; }
  .header-search { display: none; }
  .header-auth a { margin-left: 0; }

  .hero-section { padding: 40px 16px; }
  .hero-section h1 { font-size: 1.8rem; }

  .product-title { font-size: 22px; }
  .price-current { font-size: 24px; }

  /* Mobile: buttons full width */
  .btn-primary, .btn-whatsapp, .btn-gold, .btn-wishlist {
    max-width: 100%;
  }

  .cart-table { font-size: 12px; }
  .cart-table th, .cart-table td { padding: 8px; }

  .specs-grid { grid-template-columns: 1fr; }
  .stats-row { grid-template-columns: 1fr; }
  .trust-strip { flex-wrap: wrap; }
  .trust-item { min-width: 45%; }

  .mobile-menu-btn { display: block; }
}
@media (max-width: 576px) {
  .logo { font-size: 20px; letter-spacing: 2px; }
  .section-title { font-size: 18px; }
}
/* ══════════════════════════════════════════════════════════════
   NEW FEATURES CSS — Flash Sale, Social Share, Stock Notify,
   Q&A, Newsletter, Footer Grid, Estimated Delivery
   ══════════════════════════════════════════════════════════════ */
/* ═══ FLASH SALE BAR ══════════════════════════════════ */
@keyframes flashGlow {
  0%, 100% { box-shadow: 0 2px 12px rgba(153,27,27,0.3); }
  50% { box-shadow: 0 2px 24px rgba(153,27,27,0.6); }
}
/* ═══ SOCIAL SHARE ══════════════════════════════════ */
.share-buttons {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.share-btn {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 6px 14px;
  border-radius: var(--radius);
  font-size: 12px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  border: 1px solid var(--border);
  transition: all 0.2s;
  background: var(--white);
  color: var(--text-body);
}
.share-btn:hover { transform: translateY(-1px); box-shadow: var(--shadow-card); }
.share-whatsapp:hover { background: #25D366; color: #fff; border-color: #25D366; }
.share-facebook:hover { background: #1877F2; color: #fff; border-color: #1877F2; }
.share-twitter:hover { background: #1DA1F2; color: #fff; border-color: #1DA1F2; }
.share-copy:hover { background: var(--brown-rich); color: #fff; border-color: var(--brown-rich); }
/* ═══ ESTIMATED DELIVERY ══════════════════════════════════ */
.est-delivery {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #FFF8EE;
  border: 1px solid #F5DEB3;
  border-radius: var(--radius);
  padding: 10px 14px;
  font-size: 13px;
  color: var(--brown-rich);
  margin-bottom: 12px;
}
/* ═══ STOCK NOTIFICATION ══════════════════════════════════ */
.stock-notify-section {
  background: #FFF5F5;
  border: 1px solid #FECACA;
  border-radius: var(--radius);
  padding: 16px;
  margin-bottom: 16px;
}
.stock-notify-form {
  display: flex;
  gap: 8px;
}
.stock-notify-input {
  flex: 1;
  padding: 8px 12px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 13px;
  font-family: var(--font-body);
  outline: none;
}
.stock-notify-input:focus {
  border-color: var(--brown-warm);
  box-shadow: 0 0 0 2px rgba(139,90,43,0.1);
}
.stock-notify-btn {
  padding: 8px 16px;
  background: var(--brown-rich);
  color: var(--white);
  border: none;
  border-radius: var(--radius);
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s;
  white-space: nowrap;
}
.stock-notify-btn:hover { background: var(--brown-deep); }
/* ═══ PRODUCT Q&A ══════════════════════════════════ */
.qa-item:last-child { border-bottom: none; }
.qa-question, .qa-answer {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 13px;
  line-height: 1.5;
}
.qa-question { margin-bottom: 6px; }
.qa-answer { padding-left: 4px; color: var(--text-muted); }
.qa-q-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px; height: 22px;
  background: var(--brown-rich);
  color: var(--white);
  border-radius: 50%;
  font-size: 11px;
  font-weight: 700;
  flex-shrink: 0;
}
.qa-a-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px; height: 22px;
  background: var(--gold);
  color: var(--brown-deep);
  border-radius: 50%;
  font-size: 11px;
  font-weight: 700;
  flex-shrink: 0;
}
.qa-author {
  font-size: 11px;
  color: var(--text-muted);
  margin-left: auto;
  white-space: nowrap;
}
.qa-form textarea {
  margin-bottom: 8px;
}
/* ═══ FOOTER GRID ══════════════════════════════════ */
/* ═══ NEWSLETTER ══════════════════════════════════ */
/* ═══ SHOP SIDEBAR ══════════════════════════════════ */
.shop-sidebar .form-label {
  font-size: 12px;
  font-weight: 600;
  color: var(--brown-deep);
  margin-bottom: 4px;
  display: block;
}
.shop-sidebar .form-select:focus,
.shop-sidebar .form-control:focus {
  border-color: var(--brown-warm);
  box-shadow: 0 0 0 2px rgba(139,90,43,0.1);
}
/* ═══ RESPONSIVE ══════════════════════════════════ */
@media (max-width: 992px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .flash-sale-content { flex-direction: column; text-align: center; }
}
@media (max-width: 768px) {
  .footer-grid { grid-template-columns: 1fr; gap: 16px; }
  .newsletter-form { max-width: 100%; }
  .flash-sale-info { justify-content: center; }
  .share-buttons { justify-content: center; }
  .stock-notify-form { flex-direction: column; }
}
/* ═══ QUICK VIEW MODAL ══════════════════════════════ */
@keyframes qvSlideIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
@media(max-width:768px) { .qv-content { flex-direction: column; } }
@media(max-width:768px) { .qv-main-img { border-radius: var(--radius-lg) var(--radius-lg) 0 0; } }
.qv-thumbs::-webkit-scrollbar { display: none; }
@media(max-width:768px) { .qv-info { max-height: none; } }
/* Quick View Button on Product Cards */
/* ═══ MEGA MENU ══════════════════════════════════ */
.mega-featured {
  background: var(--cream);
}
@media (max-width: 768px) {
  .mega-dropdown {
    position: static;
    transform: none;
    min-width: 100%;
    border-radius: 0;
    box-shadow: none;
  }
  .mega-dropdown-inner {
    flex-direction: column;
  }
  .mega-col + .mega-col {
    border-left: none;
    border-top: 1px solid var(--border);
  }
}
/* ============================================
   DEPLOY FIXES — Better Forms, Search, Filters, Categories
   ============================================ */
/* ---- Category Grid (multi-column, NOT full-width) ---- */
.category-card:hover {
  box-shadow: var(--shadow-card);
  transform: translateY(-3px);
}
@media (max-width: 992px) {
  .category-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 576px) {
  .category-grid { grid-template-columns: repeat(2, 1fr); }
}
/* ---- Improved Search Bar ---- */
.header-search {
  display: flex;
  align-items: center;
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: 24px;
  overflow: hidden;
  flex-shrink: 0;
  background: rgba(255,255,255,0.06);
}
.header-search-input {
  background: transparent;
  border: none;
  color: var(--cream);
  padding: 8px 16px;
  font-size: 13px;
  width: 200px;
  outline: none;
  font-family: var(--font-body);
}
.header-search-input::placeholder { color: rgba(255,255,255,0.45); }
.header-search-btn {
  background: var(--brown-rich);
  border: none;
  color: var(--cream);
  padding: 8px 14px;
  cursor: pointer;
  font-size: 13px;
  border-radius: 0 24px 24px 0;
  transition: background 0.15s;
}
.header-search-btn:hover { background: var(--gold); color: var(--brown-deep); }
/* ---- Better Shop Sidebar ---- */
/* ---- Better Form Inputs ---- */
.form-control, .form-select {
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 10px 14px;
  font-size: 14px;
  font-family: var(--font-body);
  color: var(--text-body);
  transition: border-color 0.15s, box-shadow 0.15s;
  background: var(--white);
}
.form-control:focus, .form-select:focus {
  border-color: var(--brown-warm);
  box-shadow: 0 0 0 3px rgba(139,90,43,0.1);
  outline: none;
}
.form-control::placeholder { color: var(--text-muted); font-size: 13px; }
.form-control:invalid, .form-control.is-invalid {
  border-color: #991B1B;
  box-shadow: 0 0 0 3px rgba(153,27,27,0.1);
}
/* ---- NO full-width buttons ---- */
.btn-primary, .btn-wc, .btn-gold, .btn-whatsapp, .btn-wishlist {
  width: auto !important;
  max-width: none !important;
  display: inline-block !important;
}
.card-footer .btn-wc {
  display: inline-block !important;
  width: auto !important;
  padding: 8px 16px !important;
}
/* Keep cart/checkout full-width buttons for those specific contexts */
.cart-summary .btn-primary,
.checkout-form .btn-primary,
.hero-section .btn {
  width: 100% !important;
  max-width: 400px !important;
}
/* ---- Breadcrumbs on all pages ---- */
.breadcrumb a { color: var(--text-muted); text-decoration: none; transition: color 0.15s; }
.breadcrumb a:hover { color: var(--brown-warm); }
.breadcrumb .sep { margin: 0 6px; opacity: 0.5; }
/* ---- Better Login/Register Forms ---- */
.auth-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-soft);
  max-width: 440px;
  margin: 0 auto;
}
.auth-card h3 {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 700;
  color: var(--brown-deep);
  text-align: center;
  margin-bottom: 24px;
}
.auth-card .form-group {
  margin-bottom: 16px;
}
.auth-card .btn-wc {
  display: block;
  width: 100%;
  max-width: 400px;
  padding: 12px 24px;
  font-size: 14px;
  margin: 0 auto;
}
/* ---- Footer Grid ---- */
@media (max-width: 768px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
}
/* ---- Section spacing fixes ---- */
/* ---- Quick View button ---- */
/* ═══ MEGA MENU ══════════════════════════════════ */
.mega-nav { position: relative; }
.mega-item { position: relative; }
.mega-trigger { display: flex; align-items: center; gap: 4px; }
.mega-arrow { font-size: 10px; transition: transform 0.2s; }
.mega-item:hover .mega-arrow { transform: rotate(180deg); }
.mega-dropdown {
  display: none;
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  z-index: 200;
  min-width: 420px;
  padding-top: 12px;
}
.mega-item:hover .mega-dropdown { display: block; }
.mega-dropdown-inner {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: 0 16px 48px rgba(44,26,14,0.18);
  display: flex;
  gap: 0;
  overflow: hidden;
}
.mega-col {
  flex: 1;
  padding: 20px 24px;
  min-width: 180px;
}
.mega-col + .mega-col { border-left: 1px solid var(--border); }
.mega-heading {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border);
}
.mega-link {
  display: block;
  font-size: 13px;
  color: var(--text-body);
  padding: 6px 0;
  text-decoration: none;
  transition: color 0.15s, padding-left 0.15s;
}
.mega-link:hover { color: var(--brown-rich); padding-left: 6px; }
.mega-viewall { color: var(--brown-warm) !important; font-weight: 600; margin-top: 8px; }
@media (max-width: 768px) {
  .mega-dropdown { display: none !important; }
}
/* ═══ FLASH SALE BAR ══════════════════════════════════ */
.flash-sale-info { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.flash-sale-badge {
  background: var(--gold);
  color: var(--brown-deep);
  padding: 4px 12px;
  border-radius: var(--radius);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
}
.flash-sale-title { font-weight: 600; font-size: 15px; }
.flash-sale-discount { color: var(--gold-light); font-weight: 700; font-size: 18px; }
.flash-sale-timer { display: flex; align-items: center; gap: 6px; }
.timer-block { text-align: center; }
.timer-num {
  background: rgba(255,255,255,0.15);
  border-radius: 4px;
  padding: 4px 8px;
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  display: block;
  min-width: 36px;
}
.timer-label { font-size: 9px; text-transform: uppercase; letter-spacing: 0.5px; opacity: 0.7; }
.timer-sep { font-size: 20px; font-weight: 700; opacity: 0.6; }
.flash-sale-btn {
  background: var(--gold);
  color: var(--brown-deep);
  padding: 8px 20px;
  border-radius: var(--radius);
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  transition: background 0.2s;
}
.flash-sale-btn:hover { background: var(--gold-light); }
/* ═══ QUICK VIEW MODAL ══════════════════════════════════ */
.qv-overlay {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,0.6);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.qv-modal {
  background: var(--white);
  border-radius: var(--radius-lg);
  max-width: 800px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  box-shadow: 0 24px 64px rgba(0,0,0,0.3);
}
.qv-close {
  position: absolute;
  top: 12px; right: 12px;
  background: var(--cream-dark);
  border: none;
  width: 36px; height: 36px;
  border-radius: 50%;
  font-size: 20px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  transition: background 0.2s;
}
.qv-close:hover { background: var(--border); }
.qv-content { display: flex; gap: 0; }
.qv-gallery { flex: 1; min-width: 0; padding: 20px; }
.qv-main-img {
  width: 100%;
  aspect-ratio: 4/3;
  background: var(--cream-dark);
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 8px;
}
.qv-main-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.qv-thumbs { display: flex; gap: 6px; overflow-x: auto; }
.qv-thumb {
  flex: 0 0 52px;
  height: 52px;
  border-radius: 4px;
  overflow: hidden;
  border: 2px solid transparent;
  cursor: pointer;
  transition: border-color 0.15s;
}
.qv-thumb.active { border-color: var(--brown-warm); }
.qv-thumb img { width: 100%; height: 100%; object-fit: cover; }
.qv-info { flex: 1; min-width: 0; padding: 24px; }
@media (max-width: 768px) {
  .qv-content { flex-direction: column; }
  .qv-gallery { padding: 16px; }
}
/* ═══ QUICK VIEW BUTTON ON CARDS ══════════════════════════════════ */
.qv-btn:hover { background: var(--white); box-shadow: var(--shadow-card); }
/* ═══ NEWSLETTER FORM ══════════════════════════════════ */
.footer-heading {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
}
.footer-col a:hover { color: var(--gold-light); }
.newsletter-input {
  flex: 1;
  border: 1px solid rgba(255,255,255,0.2);
  border-right: none;
  border-radius: var(--radius) 0 0 var(--radius);
  padding: 10px 14px;
  font-size: 13px;
  background: rgba(255,255,255,0.08);
  color: var(--white);
  outline: none;
  font-family: var(--font-body);
}
.newsletter-input::placeholder { color: rgba(255,255,255,0.4); }
.newsletter-input:focus { border-color: var(--gold); background: rgba(255,255,255,0.12); }
.newsletter-btn {
  background: var(--gold);
  color: var(--brown-deep);
  border: none;
  padding: 10px 20px;
  font-size: 13px;
  font-weight: 700;
  border-radius: 0 var(--radius) var(--radius) 0;
  cursor: pointer;
  font-family: var(--font-body);
  letter-spacing: 0.5px;
  text-transform: uppercase;
  transition: background 0.2s;
}
.newsletter-btn:hover { background: var(--gold-light); }
@media (max-width: 768px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 20px; }
}
@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; gap: 16px; }
}
/* ═══ PRODUCT BADGES (Hot/Bestseller) ══════════════════════════════════ */
.hot-badge {
  position: absolute;
  top: 12px; left: 12px;
  background: #DC2626;
  color: var(--white);
  padding: 4px 10px;
  border-radius: var(--radius);
  font-size: 11px;
  font-weight: 700;
  z-index: 5;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}
.bestseller-badge {
  position: absolute;
  top: 12px; left: 12px;
  background: var(--success);
  color: var(--white);
  padding: 4px 10px;
  border-radius: var(--radius);
  font-size: 11px;
  font-weight: 700;
  z-index: 5;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}
/* ═══ IMPROVED CATEGORY CARDS ══════════════════════════════════ */
/* category-icon and category-name now defined with category-card above */
/* ═══ PAYMENT OPTIONS (Checkout) ══════════════════════════════════ */
.payment-options {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 16px;
}
.payment-option {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border: 2px solid var(--border);
  border-radius: var(--radius);
  cursor: pointer;
  transition: border-color 0.15s, background 0.15s;
  background: var(--white);
}
.payment-option:hover {
  border-color: var(--brown-warm);
  background: var(--cream);
}
.payment-option:has(input:checked) {
  border-color: var(--brown-rich);
  background: rgba(92,51,23,0.04);
}
.payment-option input[type="radio"] {
  accent-color: var(--brown-rich);
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}
.payment-icon {
  font-size: 24px;
  flex-shrink: 0;
}
.payment-details {
  flex: 1;
}
.payment-name {
  font-weight: 600;
  font-size: 14px;
  color: var(--brown-deep);
}
.payment-desc {
  font-size: 11px;
  color: var(--text-muted);
  margin-top: 2px;
}
/* ══════════════════════════════════════════════════════════════════
   BOOTSTRAP OVERRIDES — Ensure custom theme takes precedence
   ══════════════════════════════════════════════════════════════════ */
/* Override Bootstrap card defaults with our theme */
/* Keep product card images properly contained - NOT full-width page */
.card-img-top {
  width: 100%;
  height: auto;
  max-height: 240px;
  object-fit: cover;
  display: block;
}
/* Bootstrap row should use flex, not block */
/* Ensure Bootstrap container doesn't override our custom container */
/* Override Bootstrap btn-primary to match our theme */
.btn-primary:hover, .btn-primary:focus {
  background: var(--brown-deep);
  border-color: var(--brown-deep);
  color: var(--white);
}
.btn-secondary {
  background: var(--text-muted);
  border-color: var(--text-muted);
  color: var(--white);
}
/* Form controls use our theme */
.form-control {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 10px 14px;
  font-size: 14px;
  font-family: var(--font-body);
  color: var(--text-body);
  background: var(--white);
  transition: border-color 0.15s;
}
.form-control:focus {
  border-color: var(--brown-warm);
  box-shadow: 0 0 0 3px rgba(139,90,43,0.12);
  outline: none;
}
.form-select {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 10px 14px;
  font-size: 14px;
  font-family: var(--font-body);
  color: var(--text-body);
  background: var(--white);
}
.form-select:focus {
  border-color: var(--brown-warm);
  box-shadow: 0 0 0 3px rgba(139,90,43,0.12);
}
/* Pagination theme override */
.pagination .page-link {
  color: var(--brown-rich);
  border-color: var(--border);
  font-size: 13px;
}
.pagination .page-item.active .page-link {
  background: var(--brown-rich);
  border-color: var(--brown-rich);
  color: var(--white);
}
/* Ensure Bootstrap text-muted matches our theme */
.text-muted {
  color: var(--text-muted) !important;
}
/* Badge override */
.badge {
  font-family: var(--font-body);
  font-weight: 600;
  letter-spacing: 0.3px;
}
/* List group override */
.list-group-item {
  border-color: var(--border);
  color: var(--text-body);
}
/* Table override */
.table {
  color: var(--text-body);
  border-color: var(--border);
}
/* Alert override */
.alert {
  border-radius: var(--radius);
  font-size: 14px;
}
/* Nav override */
.nav-link {
  color: var(--text-muted);
  font-family: var(--font-body);
  font-size: 13px;
}
.nav-link:hover, .nav-link.active {
  color: var(--brown-rich);
}
/* Category page image fix - ensure images in category grid are contained */
.product-card img.card-img-top {
  width: 100%;
  max-height: 240px;
  object-fit: cover;
  display: block;
}
/* Fix: prevent any image inside a grid column from going full-page width */
.row .col-6 img,
.row .col-md-3 img,
.row .col-md-4 img {
  max-width: 100%;
  height: auto;
}
/* Footer link colors */
.footer a {
  color: rgba(255,255,255,0.7);
  text-decoration: none;
  font-size: 13px;
  transition: color 0.15s;
}
.footer a:hover {
  color: var(--gold-light);
}
/* ══════════════════════════════════════════════════════════════════
   SITE-WIDE SPACING / MARGIN / PADDING FIX
   Ensures NO element touches edges, proper gaps everywhere
   ══════════════════════════════════════════════════════════════════ */
/* ── Global Container: proper horizontal breathing room ── */
.container {
  max-width: var(--container-max) !important;
  margin-left: auto !important;
  margin-right: auto !important;
  padding-left: var(--container-pad) !important;
  padding-right: var(--container-pad) !important;
  width: 100%;
}
@media (min-width: 769px) {
  .container {
    padding-left: var(--container-pad) !important;
    padding-right: var(--container-pad) !important;
  }
}
/* ── Main content area: vertical breathing room ── */
main {
  padding-top: 0;
  padding-bottom: 24px;
}
/* ── PRODUCT PAGE: Proper spacing everywhere ── */
/* Product hero: proper padding within container */
@media (min-width: 769px) {
  .product-hero {
    gap: 24px;
    padding: 24px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-soft);
  }
  .product-hero .gallery-wrap {
    border-radius: var(--radius);
    overflow: hidden;
  }
}
/* Product info: proper padding and margins */
.product-info {
  padding: 20px 16px 24px !important;
}
@media (min-width: 769px) {
  .product-info {
    padding: 0 16px 24px !important;
  }
}
/* Product title spacing */
.product-title {
  margin-bottom: 8px;
  margin-top: 8px;
}
/* Price block spacing */
.price-block {
  margin-top: 12px;
  margin-bottom: 8px;
}
.price-note {
  margin-bottom: 20px;
}
/* Purchase block: proper gap between elements */
.purchase-block {
  margin-top: 20px;
  margin-bottom: 24px;
}
.qty-row {
  margin-bottom: 16px;
}
/* Trust strip: proper margin */
.trust-strip {
  margin: 20px 0;
}
/* Delivery info: proper margin */
.delivery-info {
  margin-top: 12px;
  margin-bottom: 20px;
}
/* Social share: proper spacing */
.social-share-section {
  margin: 20px 0;
  padding: 16px 0;
}
/* Sections on product page: proper vertical spacing */
.section {
  padding: 28px 24px;
  border-top: 1px solid var(--border);
}
@media (min-width: 769px) {
  .section {
    padding: 32px;
  }
}
/* Specs grid: proper gap */
.specs-grid {
  gap: 12px;
}
/* ── CATEGORY PAGE: Proper grid and spacing ── */
.category-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
/* ── HOMEPAGE: Section spacing ── */
.hero-section {
  padding: 60px 24px;
}
@media (min-width: 769px) {
  .hero-section {
    padding: 80px 32px;
  }
}
/* Featured/On Sale/New Arrivals sections: proper gap */
.product-card .card-footer {
  padding: 12px 16px;
}
/* ── SHOP PAGE: Sidebar and grid spacing ── */
.shop-sidebar h6 {
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border);
}
/* ── FORMS: Proper spacing site-wide ── */
.form-group {
  margin-bottom: 16px;
}
.form-control,
.form-select {
  padding: 10px 14px;
  margin-bottom: 4px;
}
.form-label {
  margin-bottom: 6px;
}
.form-actions {
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}
/* ── CART PAGE: Proper spacing ── */
.cart-table th,
.cart-table td {
  padding: 12px 8px;
}
@media (min-width: 769px) {
  .cart-table th,
  .cart-table td {
    padding: 14px 16px;
  }
}
/* ── CHECKOUT: Proper spacing ── */
.checkout-form {
  padding: 24px;
}
@media (min-width: 769px) {
  .checkout-form {
    padding: 32px;
  }
}
/* ── CARDS: Proper internal spacing ── */
.card {
  margin-bottom: 0;
}
.card-body {
  padding: 16px;
}
.card-footer {
  padding: 12px 16px;
}
/* ── BUTTONS: Proper padding, NOT full-width unless in specific contexts ── */
.btn-wc {
  padding: 10px 20px;
  font-size: 13px;
}
.btn-primary {
  padding: 14px 24px;
  margin-bottom: 10px;
}
.btn-outline-wc {
  padding: 9px 20px;
}
/* ── FOOTER: Proper spacing ── */
.footer {
  padding: 40px 0 20px;
}
.footer-grid {
  gap: 32px;
  margin-bottom: 32px;
}
.footer-col {
  gap: 8px;
}
.footer-col a {
  display: block;
  padding: 4px 0;
}
.footer-newsletter {
  padding-top: 24px;
  margin-top: 16px;
}
/* ── HEADER: Proper spacing ── */
.site-header {
  background: var(--brown-deep);
  padding: 14px var(--container-pad);
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 12px rgba(0,0,0,0.3);
  max-width: 100%;
  gap: 16px;
  overflow: hidden;
}
/* ── BREADCRUMB: Proper spacing ── */
.breadcrumb {
  padding: 12px 0;
  margin-bottom: 8px;
}
/* ── PAGINATION: Proper spacing ── */
.pagination {
  margin-top: 24px;
  margin-bottom: 16px;
}
/* ── SEARCH PAGE: Proper spacing ── */
.search-results {
  padding: 24px 0;
}
/* ── WISHLIST: Proper spacing ── */
.wishlist-card {
  padding: 16px;
  margin-bottom: 12px;
}
/* ── REVIEW CARDS: Proper spacing ── */
.review-card {
  padding: 16px;
  margin-bottom: 12px;
}
/* ── ACCOUNT PAGES: Proper spacing ── */
.profile-card {
  padding: 24px;
}
.dash-section {
  padding: 24px;
  margin-bottom: 20px;
}
/* ── PAGE (static pages): Proper spacing ── */
.page-content {
  padding: 32px 24px;
}
@media (min-width: 769px) {
  .page-content {
    padding: 40px 32px;
  }
}
/* ── GENERAL: No element should touch viewport edges ── */
main > .container {
  padding-top: 24px;
  padding-bottom: 24px;
}
/* ── RELATED PRODUCTS SCROLL: Proper spacing ── */
.related-scroll {
  gap: 16px;
  padding: 4px 0;
}
/* ── Q&A SECTION: Proper spacing ── */
.qa-form {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}
.qa-item {
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
}
/* ── FLASH SALE: Proper spacing ── */
.flash-sale-bar {
  padding: 12px 0;
}
.flash-sale-content {
  padding: 0 24px;
}
/* ── NEWSLETTER: Proper spacing ── */
.newsletter-form {
  gap: 8px;
}
/* ── ANNOUNCEMENT BAR: Proper spacing ── */
.announcement {
  padding: 10px 24px;
}
/* ── PREVENT ANY IMAGE FROM GOING FULL-PAGE WIDTH ── */
img {
  max-width: 100%;
  height: auto;
}
/* ── ROW GUTTER: Ensure Bootstrap rows have proper gutters ── */
.row {
  --bs-gutter-x: 1.5rem;
  --bs-gutter-y: 0;
}
.g-3 {
  --bs-gutter-x: 1rem;
  --bs-gutter-y: 1rem;
}
/* ── PRODUCT DETAIL: Make product page content constrained to container ── */
@media (min-width: 769px) {
  .product-hero {
    max-width: var(--container-max);
    margin-left: auto;
    margin-right: auto;
  }
  
  /* Sections below product hero should be within container */
  .section {
    max-width: var(--container-max);
    margin-left: auto;
    margin-right: auto;
    padding-left: 0;
    padding-right: 0;
  }
}
/* ── ENSURE PROPER MARGIN ON PRODUCT HERO WRAPPER ── */
main > .product-hero {
  margin-top: 0;
  margin-bottom: 0;
}
/* ── FIXED: Product sections need container-level padding ── */
main > nav.breadcrumb {
  padding-left: 24px;
  padding-right: 24px;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
}
@media (min-width: 769px) {
  main > nav.breadcrumb {
    padding-left: 32px;
    padding-right: 32px;
  }
}
/* ── FIXED: Watchers bar needs proper margins ── */
@media (min-width: 769px) {
  .watchers-bar {
    padding: 8px 32px;
  }
}
/* ── FIXED: Pinned review needs proper margins ── */
.pinned-review {
  margin: 20px 16px 0;
}
@media (min-width: 769px) {
  .pinned-review {
    margin: 24px auto;
    max-width: var(--container-max);
  }
}
/* ── STICKY BUY BAR: Proper padding ── */
.sticky-buy {
  padding: 12px 24px;
}
@media (min-width: 769px) {
  .sticky-buy {
    padding: 12px 32px;
  }
}
/* ── WHOLE SITE: Row columns should never touch edges ── */
.row > [class*="col-"] {
  padding-left: 12px;
  padding-right: 12px;
}
@media (min-width: 769px) {
  .row > [class*="col-"] {
    padding-left: 16px;
    padding-right: 16px;
  }
}
/* ── SHOP SIDEBAR: Proper gap between sidebar items ── */
.shop-sidebar .form-select,
.shop-sidebar .form-control {
  margin-bottom: 12px;
}
/* ── ADDRESS / PROFILE FORMS: Proper spacing ── */
.address-form-grid,
.profile-form-grid,
.password-form-grid {
  gap: 12px;
  margin-bottom: 16px;
}
/* ═══ PRODUCT HERO: Proper containment within container ═══ */
.product-hero {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
  margin: 16px auto !important;
}
@media (min-width: 769px) {
  .product-hero {
    padding: 0;
    gap: 0;
  }
  .product-hero .gallery-wrap {
    border-radius: 0;
  }
}
@media (max-width: 768px) {
  .product-hero {
    margin: 8px 0 !important;
    border-radius: 0;
  }
}
/* ── WATCHERS BAR: Proper spacing ── */
.watchers-bar {
  margin: 8px 0 0;
}
/* ── BREADCRUMB CONTAINER: Proper spacing ── */
main > .container:first-child {
  padding-top: 12px !important;
}
/* ═══ FINAL SPACING TWEAKS ══════════════════════════════════ */
/* Section labels and titles: proper margin from container edge */
.section-label,
.section-title {
  padding-left: 0;
}
/* Category grid cards: ensure consistent sizing */
.category-card {
  min-height: 100px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 20px 12px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  text-decoration: none;
  text-align: center;
  transition: box-shadow 0.2s, transform 0.2s, border-color 0.2s;
  cursor: pointer;
}

.category-card:hover {
  box-shadow: var(--shadow-card);
  transform: translateY(-3px);
  border-color: var(--gold);
}

.category-icon {
  width: 48px;
  height: 48px;
  background: var(--cream-dark);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin-bottom: 8px;
}

.category-name {
  font-size: 13px;
  font-weight: 600;
  color: var(--brown-deep);
  line-height: 1.3;
}
/* Shop page: consistent grid gaps */
.shop-sidebar {
  padding: 20px 16px;
}
@media (min-width: 769px) {
  .shop-sidebar {
    padding: 20px 24px;
  }
}
/* Product card: ensure consistent height in grids */
.product-card {
  display: flex;
  flex-direction: column;
  height: 100%;
}
.product-card .card-body {
  flex: 1;
}
/* Shop page product grid: proper gutter */
.shop-products-grid,
.row > .col-md-9 > .row {
  --bs-gutter-x: 1.5rem;
  --bs-gutter-y: 1.5rem;
}
/* Ensure all page containers have proper top padding */
main > .container:first-child,
main > div.container {
  padding-top: 24px;
}
/* Checkout and payment: proper spacing */
.checkout-form,
.payment-options {
  padding: 24px;
}
@media (min-width: 769px) {
  .checkout-form,
  .payment-options {
    padding: 32px;
  }
}
/* Track order: proper spacing */
.track-order-form {
  padding: 32px 24px;
}
/* Order success: proper spacing */
.order-success-content {
  padding: 40px 24px;
}
/* Compare page: proper spacing */
.compare-table-wrap {
  padding: 24px 0;
}
/* Refund form: proper spacing */
.refund-page {
  padding: 24px 0;
}
/* Footer social icons: proper spacing */
.footer-social {
  gap: 12px;
  margin-top: 16px;
}
.footer-social-icon {
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  font-size: 16px;
  transition: background 0.2s;
}
.footer-social-icon:hover {
  background: rgba(255,255,255,0.2);
}
/* Quick View button: proper positioning */
.qv-btn {
  z-index: 5;
  opacity: 0;
  transition: opacity 0.2s;
}
.product-card:hover .qv-btn {
  opacity: 1;
}
/* Flash sale: proper container spacing */
.flash-sale-bar .container {
  padding-left: 24px !important;
  padding-right: 24px !important;
}
@media (min-width: 769px) {
  .flash-sale-bar .container {
    padding-left: 32px;
    padding-right: 32px;
  }
}
/* ── ENSURE NO ELEMENT IN THE CMS GOES FULL-WIDTH EDGE-TO-EDGE ── */
/* This is a site-wide rule to prevent the issue from recurring */
main > *:not(.hero-section):not(.announcement):not(.site-header) {
  max-width: 100%;
  padding-left: 0;
  padding-right: 0;
}
/* ══════════════════════════════════════════════════════════════════
   COMPREHENSIVE MOBILE RESPONSIVE OVERRIDES
   Fixes all 12 identified mobile issues without touching desktop styles
   Uses @media (max-width: 768px) for tablets/phones
   Uses @media (max-width: 480px) for small phones
   ══════════════════════════════════════════════════════════════════ */
/* ═══ 1. GLOBAL OVERFLOW PREVENTION ══════════════════════════════ */
@media (max-width: 768px) {
  html, body {
    overflow-x: hidden;
    width: 100%;
  }

  /* Prevent any child from causing horizontal scroll */
  .container,
  main,
  .site-header,
  .footer,
  .announcement,
  .hero-section,
  .watchers-bar,
  .flash-sale-bar,
  .section,
  .product-hero,
  .cart-page,
  .checkout-form,
  .account-page,
  .wishlist-page,
  .track-order-page {
    max-width: 100vw;
    overflow-x: hidden;
  }

  /* Tables inside containers should not overflow */
  .cart-table {
    display: block;
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
}
/* ═══ 2. ANNOUNCEMENT BAR ════════════════════════════════════════ */
@media (max-width: 768px) {
  .announcement {
    padding: 8px 12px;
    font-size: 10px;
    letter-spacing: 0.3px;
    line-height: 1.4;
    white-space: normal;
    overflow-wrap: break-word;
    word-break: break-word;
  }
  .announcement span {
    margin: 0 4px;
    opacity: 0.4;
  }
}
@media (max-width: 480px) {
  .announcement {
    font-size: 9px;
    padding: 6px 8px;
  }
  /* Hide separator pipes on very small screens to save space */
  .announcement span {
    display: none;
  }
}
/* ═══ 3. HEADER — MOBILE LAYOUT ══════════════════════════════════ */
@media (max-width: 768px) {
  .site-header {
    flex-wrap: wrap;
    padding: 10px 12px;
    gap: 8px;
    align-items: center;
    overflow: visible !important;
    position: relative;
  }

  /* Logo stays left */
  .logo {
    font-size: 20px;
    letter-spacing: 2px;
  }

  /* Desktop nav is hidden on mobile — controlled by JS toggle */
  .header-nav {
    display: none;
  }

  /* Search hidden in header row on mobile (shown in mobile menu) */
  .header-right .header-search {
    display: none;
  }

  /* Auth links hidden in header row on mobile (shown in mobile menu) */
  .header-right .header-auth {
    display: none;
  }

  /* Header right: cart icon + menu button side by side */
  .header-right {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-left: auto;
  }

  .cart-icon {
    font-size: 12px;
    gap: 4px;
  }

  .cart-badge {
    width: 16px;
    height: 16px;
    font-size: 9px;
  }

  .mobile-menu-btn {
    display: flex !important;
    align-items: center;
    justify-content: center;
    padding: 8px 12px;
    font-size: 22px;
    min-width: 44px;
    min-height: 44px;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
    z-index: 1001;
  }

  /* ── MOBILE MENU PANEL (slide-down) ── */
  /* When .show-mobile is toggled on .header-nav */
  .header-nav.show-mobile {
    display: flex !important;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    width: 100%;
    background: var(--brown-deep);
    padding: 0;
    z-index: 9999;
    border-top: 2px solid var(--gold);
    box-shadow: 0 12px 32px rgba(0,0,0,0.4);
    max-height: 85vh;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    animation: mobileMenuSlide 0.25s ease;
  }

  @keyframes mobileMenuSlide {
    from { opacity: 0; transform: translateY(-8px); }
    to { opacity: 1; transform: translateY(0); }
  }

  .header-nav.show-mobile a {
    display: block;
    padding: 14px 20px;
    color: var(--cream);
    font-size: 14px;
    font-weight: 500;
    border-bottom: 1px solid rgba(255,255,255,0.06);
    white-space: normal;
    letter-spacing: 0.3px;
  }
  .header-nav.show-mobile a:hover {
    background: rgba(255,255,255,0.06);
    color: var(--gold-light);
  }

  /* Mobile search bar inside menu */
  .header-nav.show-mobile .mobile-search-wrap,
  .header-nav.show-mobile .header-search {
    display: flex !important;
    margin: 12px 16px 8px;
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 24px;
    overflow: hidden;
    background: rgba(255,255,255,0.06);
  }
  .header-nav.show-mobile .header-search input {
    flex: 1;
    width: auto;
    padding: 10px 16px;
    font-size: 13px;
    color: var(--cream);
    background: transparent;
    border: none;
    outline: none;
  }
  .header-nav.show-mobile .header-search input::placeholder {
    color: rgba(255,255,255,0.45);
  }
  .header-nav.show-mobile .header-search button {
    padding: 10px 14px;
    background: var(--brown-rich);
    border: none;
    color: var(--cream);
    cursor: pointer;
    border-radius: 0 24px 24px 0;
  }

  /* Mobile auth links inside menu */
  .header-nav.show-mobile .mobile-auth-wrap,
  .header-nav.show-mobile .header-auth {
    display: flex !important;
    gap: 0;
    border-top: 1px solid rgba(255,255,255,0.08);
    margin-top: 4px;
  }
  .header-nav.show-mobile .header-auth a {
    flex: 1;
    text-align: center;
    padding: 14px 16px;
    font-size: 13px;
    font-weight: 600;
    color: var(--gold-light);
  }

  /* ── MEGA MENU → ACCORDION STYLE ── */
  .header-nav.show-mobile .mega-item {
    position: static;
    border-bottom: 1px solid rgba(255,255,255,0.06);
  }

  .header-nav.show-mobile .mega-trigger {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 8px !important;
    padding: 14px 20px !important;
    font-size: 14px !important;
    color: var(--cream) !important;
    cursor: pointer;
  }

  .header-nav.show-mobile .mega-arrow {
    font-size: 12px;
    transition: transform 0.25s;
  }

  .header-nav.show-mobile .mega-item.mega-open .mega-arrow {
    transform: rotate(180deg);
  }

  .header-nav.show-mobile .mega-dropdown {
    display: none !important;
    position: static !important;
    transform: none !important;
    min-width: 100% !important;
    padding: 0 !important;
    opacity: 1 !important;
    visibility: visible !important;
    box-shadow: none !important;
    border-radius: 0 !important;
    background: rgba(0,0,0,0.15) !important;
  }

  .header-nav.show-mobile .mega-item.mega-open .mega-dropdown {
    display: block !important;
  }

  .header-nav.show-mobile .mega-dropdown-inner {
    flex-direction: column;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    border-radius: 0 !important;
    overflow: visible;
  }

  .header-nav.show-mobile .mega-col {
    padding: 8px 20px 12px !important;
    min-width: auto !important;
  }

  .header-nav.show-mobile .mega-col + .mega-col {
    border-left: none !important;
    border-top: 1px solid rgba(255,255,255,0.06) !important;
  }

  .header-nav.show-mobile .mega-heading {
    color: var(--gold) !important;
    font-size: 9px !important;
    letter-spacing: 2px !important;
    margin-bottom: 8px !important;
    padding-bottom: 6px !important;
    border-bottom: 1px solid rgba(255,255,255,0.08) !important;
  }

  .header-nav.show-mobile .mega-link {
    display: block !important;
    font-size: 13px !important;
    color: rgba(255,255,255,0.7) !important;
    padding: 8px 0 !important;
    text-decoration: none !important;
  }

  .header-nav.show-mobile .mega-link:hover {
    color: var(--gold-light) !important;
    padding-left: 4px !important;
  }
}
/* ═══ 4. HERO SECTION ═══════════════════════════════════════════ */
@media (max-width: 768px) {
  .hero-section {
    padding: 40px 16px;
  }
  .hero-section h1 {
    font-size: 1.7rem;
    margin-bottom: 12px;
  }
  .hero-section p {
    font-size: 0.95rem;
    margin-bottom: 20px;
  }
  .hero-section .btn {
    padding: 12px 24px;
    font-size: 13px;
  }
}
@media (max-width: 480px) {
  .hero-section {
    padding: 32px 12px;
  }
  .hero-section h1 {
    font-size: 1.4rem;
  }
  .hero-section .btn {
    padding: 10px 18px;
    font-size: 12px;
    width: 100%;
    max-width: 260px;
  }
}
/* ═══ 5. FLASH SALE BAR ═════════════════════════════════════════ */
@media (max-width: 768px) {
  .flash-sale-content {
    flex-direction: column;
    text-align: center;
    gap: 10px;
    padding: 0 12px;
  }
  .flash-sale-info {
    flex-direction: column;
    align-items: center;
    gap: 6px;
  }
  .flash-sale-timer {
    justify-content: center;
  }
  .timer-num {
    font-size: 16px;
    padding: 3px 6px;
    min-width: 30px;
  }
  .flash-sale-btn {
    width: 100%;
    max-width: 260px;
    text-align: center;
    margin: 0 auto;
  }
}
/* ═══ 6. PRODUCT CARDS ═══════════════════════════════════════════ */
@media (max-width: 768px) {
  .product-card .card-img-top {
    height: 180px;
  }
  .product-card .card-body {
    padding: 10px 12px;
  }
  .product-card .card-title {
    font-size: 12px;
    margin-bottom: 4px;
  }
  .product-price {
    font-size: 1rem;
  }
  .product-card .card-footer {
    padding: 8px 12px;
  }

  /* Quick view button always visible on mobile (no hover) */
  .qv-btn {
    opacity: 1 !important;
  }
}
@media (max-width: 480px) {
  .product-card .card-img-top {
    height: 150px;
  }
}
/* ═══ 7. CATEGORY GRID ═══════════════════════════════════════════ */
@media (max-width: 768px) {
  .category-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }
  .category-card {
    padding: 16px 10px;
  }
  .category-icon {
    font-size: 24px;
    width: 36px;
    height: 36px;
  }
  .category-name {
    font-size: 12px;
  }
}
/* ═══ 8. PRODUCT DETAIL PAGE ═════════════════════════════════════ */
@media (max-width: 768px) {
  /* Stack gallery and info vertically */
  .product-hero {
    display: flex !important;
    flex-direction: column !important;
    margin: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
  }

  .product-hero .gallery-wrap {
    position: static !important;
  }

  .product-info {
    padding: 16px 12px 24px !important;
  }

  .product-title {
    font-size: 20px;
  }

  .price-current {
    font-size: 24px;
  }

  .qty-row {
    flex-wrap: wrap;
    gap: 8px;
  }

  .qty-total {
    width: 100%;
  }

  /* Buttons full width on mobile product page */
  .product-info .btn-primary,
  .product-info .btn-whatsapp,
  .product-info .btn-gold,
  .product-info .btn-wishlist {
    width: 100% !important;
    max-width: 100% !important;
    display: flex !important;
    justify-content: center;
  }

  /* Specs grid single column */
  .specs-grid {
    grid-template-columns: 1fr;
  }

  /* Stats row */
  .stats-row {
    grid-template-columns: 1fr;
    gap: 8px;
  }
  .stat-card {
    padding: 12px 8px;
  }
  .stat-num {
    font-size: 20px;
  }

  /* Trust strip: wrap into 2x2 */
  .trust-strip {
    flex-wrap: wrap;
  }
  .trust-item {
    min-width: 45%;
    flex: 1 1 45%;
    border-bottom: 1px solid var(--border);
  }
  .trust-item:nth-child(odd) {
    border-right: 1px solid var(--border);
  }
  .trust-item:last-child,
  .trust-item:nth-last-child(2):nth-child(odd) {
    border-bottom: none;
  }

  /* Composition legend */
  .composition-legend {
    flex-wrap: wrap;
    gap: 8px;
  }

  /* Section padding */
  .section {
    padding: 20px 12px;
  }

  /* Pinned review */
  .pinned-review {
    margin: 16px 8px 0;
    padding: 14px;
  }
  .pinned-review::before {
    font-size: 60px;
  }

  /* Review section */
  .reviews-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
  .overall-rating {
    flex-wrap: wrap;
  }
  .big-rating {
    font-size: 32px;
  }

  /* Review form */
  .review-form {
    max-width: 100%;
  }
}
@media (max-width: 480px) {
  .product-title {
    font-size: 18px;
  }
  .price-current {
    font-size: 20px;
  }
  .section-title {
    font-size: 18px;
  }
}
/* ═══ 9. SHOP PAGE ═══════════════════════════════════════════════ */
@media (max-width: 768px) {
  /* Make sidebar stack above product grid */
  .row {
    --bs-gutter-x: 12px;
    --bs-gutter-y: 12px;
  }

  /* Sidebar: full width on mobile, collapsible */
  .col-md-3 {
    flex: 0 0 100%;
    max-width: 100%;
    margin-bottom: 8px;
  }

  .col-md-9 {
    flex: 0 0 100%;
    max-width: 100%;
  }

  .shop-sidebar {
    padding: 14px;
  }

  .shop-sidebar h6 {
    font-size: 14px;
    margin-bottom: 8px;
  }

  /* Shop sidebar: make it collapsible on mobile */
  .shop-sidebar .form-select,
  .shop-sidebar .form-control {
    padding: 8px 10px;
    font-size: 13px;
  }

  /* Product grid: 2 columns on mobile */
  .col-md-4 {
    flex: 0 0 50%;
    max-width: 50%;
  }

  /* Pagination */
  .pagination .page-link {
    padding: 6px 10px;
    font-size: 12px;
  }
}
@media (max-width: 480px) {
  .col-md-4 {
    flex: 0 0 50%;
    max-width: 50%;
  }
  /* Ensure product cards in 2-col don't overflow */
  .col-6 {
    padding-left: 6px;
    padding-right: 6px;
  }
}
/* ═══ 10. CART PAGE — CARD-BASED LAYOUT ═════════════════════════ */
@media (max-width: 768px) {
  .cart-page {
    padding: 16px 8px;
  }

  .cart-page h3 {
    font-size: 20px;
    margin-bottom: 16px;
  }

  /* Hide the table header on mobile */
  .cart-table thead {
    display: none;
  }

  /* Transform table rows into card layout */
  .cart-table,
  .cart-table tbody,
  .cart-table tr,
  .cart-table td {
    display: block;
    width: 100%;
  }

  .cart-table tr {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    margin-bottom: 12px;
    padding: 12px;
    box-shadow: var(--shadow-card);
    position: relative;
  }

  .cart-table td {
    padding: 6px 0;
    border-bottom: none;
    text-align: left;
  }

  /* Product info cell: full width */
  .cart-table td:first-child {
    padding-bottom: 8px;
    border-bottom: 1px solid var(--border);
    margin-bottom: 8px;
  }

  /* Price / Qty / Total row: inline flex */
  .cart-table td:nth-child(2),
  .cart-table td:nth-child(3),
  .cart-table td:nth-child(4) {
    display: inline-block;
    width: auto;
    padding-right: 12px;
    font-size: 13px;
    vertical-align: middle;
  }

  .cart-table td:nth-child(2)::before {
    content: 'Price: ';
    font-size: 11px;
    color: var(--text-muted);
  }

  .cart-table td:nth-child(3)::before {
    content: 'Qty: ';
    font-size: 11px;
    color: var(--text-muted);
  }

  .cart-table td:nth-child(4)::before {
    content: 'Total: ';
    font-size: 11px;
    color: var(--text-muted);
  }

  /* Remove button */
  .cart-table td:last-child {
    position: absolute;
    top: 12px;
    right: 12px;
  }

  .cart-table .d-flex {
    gap: 8px;
  }

  .cart-table .d-flex img {
    width: 50px;
    height: 50px;
  }

  /* Quantity input */
  .quantity-input {
    width: 48px;
    padding: 4px;
    font-size: 12px;
  }

  /* Cart summary */
  .cart-summary {
    padding: 16px;
    margin-top: 12px;
  }

  .cart-summary h5 {
    font-size: 16px;
    margin-bottom: 12px;
  }

  .cart-summary .summary-row {
    font-size: 13px;
    padding: 6px 0;
  }
}
@media (max-width: 480px) {
  .cart-table tr {
    padding: 10px;
  }
  .cart-table .d-flex img {
    width: 40px;
    height: 40px;
  }
}
/* ═══ 11. CHECKOUT PAGE ═══════════════════════════════════════════ */
@media (max-width: 768px) {
  .checkout-form {
    padding: 16px 12px;
  }

  .checkout-form .form-control,
  .checkout-form .form-select {
    font-size: 16px; /* Prevent iOS zoom on focus */
    padding: 12px 14px;
  }

  .checkout-form .form-label {
    font-size: 12px;
  }

  /* Payment options stack */
  .payment-options {
    gap: 6px;
  }

  .payment-option {
    padding: 10px 12px;
    gap: 8px;
  }

  .payment-icon {
    font-size: 20px;
  }

  .payment-name {
    font-size: 13px;
  }

  .payment-desc {
    font-size: 10px;
  }
}
/* ═══ 12. FOOTER GRID ═════════════════════════════════════════════ */
@media (max-width: 768px) {
  .footer {
    padding: 24px 16px 80px;
    margin-top: 24px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 20px;
    margin-bottom: 20px;
  }

  .footer-heading {
    font-size: 11px;
    margin-bottom: 10px;
  }

  .footer-col a {
    font-size: 13px;
    padding: 4px 0;
  }

  .footer-social {
    gap: 8px;
    margin-top: 8px;
  }

  .footer-social-icon {
    width: 32px;
    height: 32px;
    font-size: 14px;
  }

  /* Newsletter form stacks */
  .footer-newsletter {
    padding: 16px 12px;
  }

  .newsletter-form {
    flex-direction: column;
    gap: 8px;
    max-width: 100%;
  }

  .newsletter-input {
    border-right: 1px solid rgba(255,255,255,0.2);
    border-radius: var(--radius);
    padding: 12px 14px;
  }

  .newsletter-btn {
    border-radius: var(--radius);
    padding: 12px 20px;
    width: 100%;
  }

  /* Footer bottom row */
  .footer-copy {
    font-size: 10px;
  }
}
/* ═══ 13. LOGIN / REGISTER PAGES ══════════════════════════════════ */
@media (max-width: 768px) {
  .auth-card {
    padding: 24px 16px;
    margin: 12px 8px;
    max-width: 100%;
    border-radius: var(--radius-lg);
  }

  .auth-card h3 {
    font-size: 20px;
    margin-bottom: 16px;
  }

  .auth-card input[type="text"],
  .auth-card input[type="email"],
  .auth-card input[type="password"],
  .auth-card input[type="tel"] {
    font-size: 16px; /* Prevent iOS zoom */
    padding: 12px 14px;
  }

  /* Login/register card forms */
  .card[style*="padding:32px"],
  .card[style*="padding: 32px"] {
    padding: 20px 14px !important;
  }

  /* Make the row>col structure on register full width */
  .row .col-md-6 {
    flex: 0 0 100%;
    max-width: 100%;
  }

  .auth-card .btn-wc,
  .auth-card .btn-auth {
    font-size: 16px; /* Prevent iOS zoom */
    padding: 14px 24px;
  }
}
@media (max-width: 480px) {
  .auth-card {
    padding: 20px 12px;
    margin: 8px 4px;
  }
}
/* ═══ 14. QUICK VIEW MODAL ════════════════════════════════════════ */
@media (max-width: 768px) {
  .qv-overlay {
    padding: 8px;
    align-items: flex-end; /* Modal slides up from bottom */
  }

  .qv-modal {
    max-height: 92vh;
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
    max-width: 100%;
  }

  .qv-content {
    flex-direction: column;
  }

  .qv-gallery {
    padding: 12px;
  }

  .qv-main-img {
    aspect-ratio: 4/3;
    border-radius: var(--radius);
  }

  .qv-info {
    padding: 16px;
    max-height: none;
  }

  .qv-info h3 {
    font-size: 18px !important;
  }

  .qv-close {
    top: 8px;
    right: 8px;
    width: 32px;
    height: 32px;
    font-size: 18px;
  }
}
@media (max-width: 480px) {
  .qv-overlay {
    padding: 0;
  }
  .qv-modal {
    max-height: 95vh;
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  }
}
/* ═══ 15. TRUST STRIP / STATS (horizontal overflow fix) ═══════════ */
@media (max-width: 768px) {
  .trust-strip {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    flex-wrap: nowrap;
  }

  .trust-item {
    flex: 0 0 auto;
    min-width: 80px;
    padding: 8px 4px;
    font-size: 9px;
  }

  .trust-icon {
    font-size: 16px;
  }

  .stats-row {
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }

  .stat-card {
    padding: 12px 8px;
  }

  .stat-num {
    font-size: 20px;
  }
}
@media (max-width: 480px) {
  .stats-row {
    grid-template-columns: 1fr;
  }
}
/* ═══ 16. STICKY BUY BAR ══════════════════════════════════════════ */
@media (max-width: 768px) {
  .sticky-buy {
    padding: 10px 12px;
    gap: 8px;
  }

  .sticky-info {
    min-width: 0;
  }

  .sticky-name {
    font-size: 11px;
  }

  .sticky-price {
    font-size: 13px;
  }

  .sticky-btn {
    padding: 10px 14px;
    font-size: 12px;
  }
}
/* ═══ 17. WHATSAPP FLOAT ══════════════════════════════════════════ */
@media (max-width: 768px) {
  .wa-float {
    bottom: 70px;
    right: 12px;
    width: 46px;
    height: 46px;
    font-size: 22px;
  }
}
/* ═══ 18. BREADCRUMB ══════════════════════════════════════════════ */
@media (max-width: 768px) {
  .breadcrumb {
    padding: 10px 0;
    font-size: 10px;
    overflow-x: auto;
    white-space: nowrap;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .breadcrumb::-webkit-scrollbar {
    display: none;
  }
}
/* ═══ 19. WATCHERS BAR ════════════════════════════════════════════ */
@media (max-width: 768px) {
  .watchers-bar {
    padding: 6px 12px;
    font-size: 11px;
    gap: 6px;
  }
}
/* ═══ 20. ACCOUNT PAGES ═══════════════════════════════════════════ */
@media (max-width: 768px) {
  .account-page {
    padding: 16px 8px;
  }

  .account-card {
    padding: 16px;
    margin-bottom: 12px;
  }

  .account-card h5 {
    font-size: 16px;
    margin-bottom: 12px;
    padding-bottom: 8px;
  }
}
/* ═══ 21. WISHLIST PAGE ═══════════════════════════════════════════ */
@media (max-width: 768px) {
  .wishlist-page {
    padding: 16px 8px;
  }

  .wishlist-card {
    padding: 12px;
    margin-bottom: 8px;
  }
}
/* ═══ 22. SEARCH PAGE ═════════════════════════════════════════════ */
@media (max-width: 768px) {
  .search-results {
    padding: 16px 0;
  }
}
/* ═══ 23. SOCIAL SHARE ═════════════════════════════════════════════ */
@media (max-width: 768px) {
  .share-buttons {
    flex-wrap: wrap;
    gap: 6px;
  }
  .share-btn {
    padding: 6px 10px;
    font-size: 11px;
  }
}
/* ═══ 24. STOCK NOTIFICATION ══════════════════════════════════════ */
@media (max-width: 768px) {
  .stock-notify-form {
    flex-direction: column;
    gap: 8px;
  }
  .stock-notify-btn {
    width: 100%;
  }
}
/* ═══ 25. ORDER TRACKING PAGE ═════════════════════════════════════ */
@media (max-width: 768px) {
  .track-order-page {
    padding: 16px 8px;
  }
}
/* ═══ 26. GENERAL FORM IMPROVEMENTS (iOS zoom prevention) ════════ */
@media (max-width: 768px) {
  input[type="text"],
  input[type="email"],
  input[type="password"],
  input[type="tel"],
  input[type="search"],
  input[type="number"],
  select,
  textarea {
    font-size: 16px !important; /* Prevents iOS auto-zoom on input focus */
  }

  /* Ensure all form controls don't overflow */
  .form-control,
  .form-select {
    max-width: 100%;
  }
}
/* ═══ 27. ORDER SUCCESS / PAYMENT PAGE ═════════════════════════════ */
@media (max-width: 768px) {
  .order-success,
  .payment-page {
    padding: 24px 12px;
  }
}
/* ═══ 28. PAGE CONTENT (static pages like About, Contact) ════════ */
@media (max-width: 768px) {
  .page-content {
    padding: 20px 12px;
  }
}
/* ═══ 29. UPSSELL CARD ════════════════════════════════════════════ */
@media (max-width: 768px) {
  .upsell-card {
    padding: 16px;
  }
  .upsell-title {
    font-size: 18px;
  }
  .upsell-price-row {
    font-size: 12px;
  }
  .upsell-price-row .price {
    font-size: 13px;
  }
}
/* ═══ 30. MISC — REMOVE DESKTOP HOVER EFFECTS ON MOBILE ══════════ */
@media (max-width: 768px) {
  /* Disable hover transforms on mobile (causes sticky states) */
  .product-card:hover {
    transform: none;
    box-shadow: var(--shadow-card);
  }
  .product-card:hover .card-img-top {
    transform: none;
  }
  .category-card:hover {
    transform: none;
  }

  /* Touch-friendly: bigger tap targets for nav links */
  .header-nav a,
  .footer-col a,
  .breadcrumb a {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
  }

  /* Ensure no horizontal scroll from any element */
  * {
    max-width: 100vw;
  }

  /* Row gutter adjustment */
  .row {
    --bs-gutter-x: 12px;
  }
  .row > [class*="col-"] {
    padding-left: 6px;
    padding-right: 6px;
  }

  /* ── Price font: ensure Playfair Display on mobile ── */
  .product-price {
    font-family: var(--font-price);
    font-size: 1rem;
  }
  .price-current {
    font-family: var(--font-price);
    font-size: 24px;
  }
  .price-original {
    font-size: 14px;
  }
  .related-price {
    font-family: var(--font-price);
  }
  .upsell-price-row .price {
    font-family: var(--font-price);
  }
  .sticky-price {
    font-family: var(--font-price);
  }
  .cart-summary .summary-row.total {
    font-family: var(--font-price);
  }
  .stat-num {
    font-family: var(--font-price);
  }
  .big-rating {
    font-family: var(--font-price);
  }

  /* ── Mobile section spacing ── */
  .section {
    padding: 20px 12px;
  }

  /* ── Hero section tighter spacing ── */
  .hero-section {
    padding: 36px 16px;
  }
  .hero-section h1 {
    font-size: 1.6rem;
    line-height: 1.2;
    margin-bottom: 10px;
  }
  .hero-section p {
    font-size: 0.9rem;
    margin-bottom: 16px;
  }

  /* ── Product detail: smaller gap after price ── */
  .price-block {
    margin-top: 8px;
    margin-bottom: 6px;
  }

  /* ── Footer: single column on mobile ── */
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  /* ── Flash sale: stack vertically ── */
  .flash-sale-content {
    flex-direction: column;
    text-align: center;
  }
  .flash-sale-info {
    flex-direction: column;
    align-items: center;
  }

  /* ── Forms: full width on mobile ── */
  .auth-card,
  .checkout-form {
    padding: 16px 12px;
    margin: 8px;
  }

  /* ── Category grid: 2 columns ── */
  .category-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }
  .category-card {
    padding: 14px 8px;
  }
  .category-icon {
    font-size: 22px;
  }
  .category-name {
    font-size: 11px;
  }
}
@media (max-width: 480px) {
  .row {
    --bs-gutter-x: 8px;
  }
  .row > [class*="col-"] {
    padding-left: 4px;
    padding-right: 4px;
  }

  /* ── Extra small phone price adjustments ── */
  .price-current {
    font-size: 20px;
  }
  .product-price {
    font-size: 0.9rem;
  }
  .stat-num {
    font-size: 18px;
  }
  .big-rating {
    font-size: 28px;
  }
  .sticky-price {
    font-size: 12px;
  }
  .cart-summary .summary-row.total {
    font-size: 14px;
  }

  /* ── Hero extra compact ── */
  .hero-section {
    padding: 28px 12px;
  }
  .hero-section h1 {
    font-size: 1.3rem;
  }

  /* ── Product cards even tighter ── */
  .product-card .card-img-top {
    height: 140px;
  }
  .product-card .card-body {
    padding: 8px 10px;
  }
  .product-card .card-title {
    font-size: 11px;
  }

  /* ── Section title ── */
  .section-title {
    font-size: 17px;
  }

  /* ── Category grid tighter ── */
  .category-card {
    padding: 10px 6px;
  }
  .category-name {
    font-size: 10px;
  }
}
/* ═══ MOBILE MENU OVERLAY ══════════════════════════════════════════ */
.mobile-menu-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0,0,0,0.55);
  z-index: 99;
  backdrop-filter: blur(3px);
  transition: opacity 0.25s;
}
.mobile-menu-overlay.active {
  display: block;
  animation: overlayFadeIn 0.2s ease;
}
@keyframes overlayFadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
/* ═══ SMALL MOBILE (<=480px) ══════════════════════════════════ */
@media (max-width: 480px) {
  :root {
    --container-pad: 12px;
  }
  .container {
    padding-left: 12px !important;
    padding-right: 12px !important;
  }
  .logo {
    font-size: 18px;
    letter-spacing: 1.5px;
  }
  .section-title {
    font-size: 18px;
  }
  .site-header {
    padding: 8px 10px;
  }
}

/* ══════════════════════════════════════════════════════════════════
   COMPREHENSIVE LAYOUT FIX — June 2026
   Fixes: Category grid, Product grid, Container spacing,
   Login/Signup forms, Desktop/Tablet/Mobile responsiveness
   ══════════════════════════════════════════════════════════════════ */

/* ── CATEGORY GRID: Tablet breakpoints ── */
@media (max-width: 992px) {
  .category-grid {
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 12px !important;
  }
}

/* ── CATEGORY GRID: Mobile ── */
@media (max-width: 768px) {
  .category-grid {
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 10px !important;
  }
  .category-card {
    padding: 14px 8px !important;
  }
  .category-icon {
    width: 40px !important;
    height: 40px !important;
    font-size: 20px !important;
  }
  .category-name {
    font-size: 11px !important;
  }
}

@media (max-width: 480px) {
  .category-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 8px !important;
  }
  .category-card {
    padding: 12px 6px !important;
  }
  .category-icon {
    width: 36px !important;
    height: 36px !important;
    font-size: 18px !important;
    margin-bottom: 6px !important;
  }
  .category-name {
    font-size: 10px !important;
  }
}

/* ── PRODUCT GRID: Ensure Bootstrap grid works properly ── */
.container .row {
  --bs-gutter-x: 1.5rem;
  --bs-gutter-y: 0;
}

.container .row > [class*="col-"] {
  padding-left: calc(var(--bs-gutter-x) / 2);
  padding-right: calc(var(--bs-gutter-x) / 2);
}

/* Desktop: 4 columns */
@media (min-width: 769px) {
  .row > .col-md-3 {
    flex: 0 0 25% !important;
    max-width: 25% !important;
  }
  .row > .col-md-4 {
    flex: 0 0 33.333% !important;
    max-width: 33.333% !important;
  }
}

/* Tablet: product grid adjustments */
@media (min-width: 769px) and (max-width: 1024px) {
  .col-md-3 {
    flex: 0 0 25% !important;
    max-width: 25% !important;
  }
}

/* Mobile: 2-column product grid */
@media (max-width: 768px) {
  .row > .col-6 {
    flex: 0 0 50% !important;
    max-width: 50% !important;
    padding-left: 6px !important;
    padding-right: 6px !important;
  }
  .product-card .card-img-top {
    height: 160px !important;
  }
  .product-card .card-body {
    padding: 8px 10px !important;
  }
  .product-card .card-title {
    font-size: 12px !important;
  }
  .product-price {
    font-size: 14px !important;
  }
  .product-card .card-footer {
    padding: 8px 10px !important;
  }
  .product-card .card-footer .btn-wc {
    padding: 6px 10px !important;
    font-size: 10px !important;
  }
}

@media (max-width: 480px) {
  .row > .col-6 {
    padding-left: 4px !important;
    padding-right: 4px !important;
  }
  .product-card .card-img-top {
    height: 130px !important;
  }
  .product-card .card-body {
    padding: 6px 8px !important;
  }
  .product-card .card-title {
    font-size: 11px !important;
    margin-bottom: 4px !important;
  }
  .product-price {
    font-size: 13px !important;
  }
}

/* ── LOGIN/SIGNUP FORM: Proper sizing ── */
.container > .row.justify-content-center > .col-11 {
  max-width: 460px;
  flex: 0 0 90%;
}

.container > .row.justify-content-center > .col-md-5 {
  max-width: 460px;
}

.container > .row.justify-content-center > .col-md-6 {
  max-width: 520px;
}

.container > .row.justify-content-center > [class*="col-"] > .card .form-control {
  padding: 10px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 14px;
  width: 100%;
}

.container > .row.justify-content-center > [class*="col-"] > .card .form-control:focus {
  border-color: var(--brown-warm);
  box-shadow: 0 0 0 3px rgba(139, 90, 43, 0.12);
  outline: none;
}

.container > .row.justify-content-center > [class*="col-"] > .card .form-label {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-body);
  margin-bottom: 6px;
}

@media (max-width: 768px) {
  .container > .row.justify-content-center > [class*="col-"] {
    flex: 0 0 92% !important;
    max-width: 92% !important;
    padding: 0 !important;
  }
  .container > .row.justify-content-center > [class*="col-"] > .card {
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-soft);
    padding: 24px 20px !important;
  }
}

@media (max-width: 480px) {
  .container > .row.justify-content-center > [class*="col-"] {
    flex: 0 0 95% !important;
    max-width: 95% !important;
  }
  .container > .row.justify-content-center > [class*="col-"] > .card {
    padding: 20px 16px !important;
  }
}

/* ── HOMEPAGE SECTIONS: Proper spacing ── */
.hero-section {
  padding: 60px var(--container-pad);
  text-align: center;
}

@media (min-width: 769px) {
  .hero-section {
    padding: 80px 32px;
  }
}

/* ── FOOTER: Proper responsive grid ── */
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 24px;
}

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

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

/* ── GLOBAL: Prevent edge-to-edge elements ── */
main > *:not(.hero-section):not(.announcement):not(.site-header):not(.flash-sale-bar) {
  max-width: 100%;
}

/* ══════════════════════════════════════════════════════════════════
   FOOTER COMPREHENSIVE FIX — June 2026
   Fixes: Footer layout, social icons, newsletter form,
   footer grid, bottom bar — Desktop / Tablet / Mobile
   ══════════════════════════════════════════════════════════════════ */

/* ── FOOTER BASE ── */
.footer {
  background: var(--brown-deep);
  color: rgba(255,255,255,0.7);
  padding: 48px 0 24px;
  margin-top: 32px;
  font-size: 13px;
  line-height: 1.7;
}

.footer .container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-pad);
}

/* ── FOOTER GRID: 4-column on desktop ── */
.footer-grid {
  display: grid !important;
  grid-template-columns: 2fr 1fr 1fr 1fr !important;
  gap: 32px !important;
  margin-bottom: 32px !important;
}

/* ── FOOTER COLUMNS ── */
.footer-col {
  display: flex !important;
  flex-direction: column !important;
  gap: 4px !important;
}

.footer-col a {
  display: block !important;
  padding: 3px 0 !important;
  color: rgba(255,255,255,0.6) !important;
  text-decoration: none !important;
  font-size: 13px !important;
  transition: color 0.15s !important;
  line-height: 1.8 !important;
}

.footer-col a:hover {
  color: var(--gold-light) !important;
}

/* ── FOOTER LOGO ── */
.footer-logo {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: 3px;
  margin-bottom: 8px;
  text-decoration: none;
  text-transform: uppercase;
}

.footer-logo span {
  color: var(--white);
}

.footer-tagline {
  font-size: 13px;
  color: rgba(255,255,255,0.5);
  margin-bottom: 16px;
  line-height: 1.5;
}

/* ── FOOTER HEADING ── */
.footer-heading {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 14px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

/* ── FOOTER SOCIAL ICONS ── */






/* ── FOOTER NEWSLETTER ── */
.footer-newsletter {
  padding-top: 28px !important;
  margin-top: 8px !important;
  border-top: 1px solid rgba(255,255,255,0.08) !important;
}

.footer-newsletter .footer-heading {
  margin-bottom: 6px;
  border-bottom: none;
  padding-bottom: 0;
}

.footer-newsletter p {
  font-size: 12px !important;
  color: rgba(255,255,255,0.45) !important;
  margin-bottom: 14px !important;
  line-height: 1.5 !important;
}

/* ── NEWSLETTER FORM ── */
.newsletter-form {
  display: flex !important;
  align-items: stretch !important;
  gap: 0 !important;
  max-width: 440px !important;
}

.newsletter-input {
  flex: 1 !important;
  border: 1px solid rgba(255,255,255,0.2) !important;
  border-right: none !important;
  border-radius: var(--radius) 0 0 var(--radius) !important;
  padding: 11px 16px !important;
  font-size: 13px !important;
  background: rgba(255,255,255,0.08) !important;
  color: var(--white) !important;
  outline: none !important;
  font-family: var(--font-body) !important;
  min-width: 0 !important;
}

.newsletter-input::placeholder {
  color: rgba(255,255,255,0.4) !important;
}

.newsletter-input:focus {
  border-color: var(--gold) !important;
  background: rgba(255,255,255,0.12) !important;
}

.newsletter-btn {
  background: var(--gold) !important;
  color: var(--brown-deep) !important;
  border: none !important;
  padding: 11px 22px !important;
  font-size: 12px !important;
  font-weight: 700 !important;
  border-radius: 0 var(--radius) var(--radius) 0 !important;
  cursor: pointer !important;
  font-family: var(--font-body) !important;
  letter-spacing: 0.8px !important;
  text-transform: uppercase !important;
  transition: background 0.2s !important;
  white-space: nowrap !important;
}

.newsletter-btn:hover {
  background: var(--gold-light) !important;
}

/* ── FOOTER BOTTOM BAR ── */
.footer-bottom-bar {
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
  flex-wrap: wrap !important;
  gap: 12px !important;
  padding-top: 20px !important;
  border-top: 1px solid rgba(255,255,255,0.1) !important;
  margin-top: 20px !important;
}

.footer-copy {
  font-size: 12px !important;
  color: rgba(255,255,255,0.35) !important;
  line-height: 1.5 !important;
}

.footer-badges {
  display: flex !important;
  align-items: center !important;
  gap: 16px !important;
  font-size: 11px !important;
  color: rgba(255,255,255,0.3) !important;
  flex-wrap: wrap !important;
}

.footer-badges span {
  display: inline-flex !important;
  align-items: center !important;
  gap: 4px !important;
  white-space: nowrap !important;
}

/* ══════════════════════════════════════════════════════════════════
   FOOTER TABLET (max-width: 992px)
   ══════════════════════════════════════════════════════════════════ */
@media (max-width: 992px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr !important;
    gap: 24px !important;
  }
}

/* ══════════════════════════════════════════════════════════════════
   FOOTER MOBILE (max-width: 768px)
   ══════════════════════════════════════════════════════════════════ */
@media (max-width: 768px) {
  .footer {
    padding: 32px 0 20px !important;
    font-size: 13px !important;
  }

  .footer .container {
    padding: 0 16px !important;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr !important;
    gap: 20px 16px !important;
    margin-bottom: 24px !important;
  }

  .footer-logo {
    font-size: 22px !important;
    letter-spacing: 2px !important;
  }

  .footer-tagline {
    font-size: 12px !important;
    margin-bottom: 12px !important;
  }

  .footer-heading {
    font-size: 11px !important;
    margin-bottom: 10px !important;
    padding-bottom: 6px !important;
  }

  .footer-col a {
    font-size: 13px !important;
    padding: 2px 0 !important;
    line-height: 1.7 !important;
  }

  .footer-social {
    gap: 8px !important;
    margin-top: 12px !important;
  }

  .footer-social-icon {
    width: 36px !important;
    height: 36px !important;
    font-size: 16px !important;
  }

  .footer-newsletter {
    padding-top: 20px !important;
    margin-top: 4px !important;
    border-top: 1px solid rgba(255,255,255,0.08) !important;
  }

  .newsletter-form {
    display: flex !important;
    flex-direction: row !important;
    gap: 0 !important;
    max-width: 100% !important;
  }

  .newsletter-input {
    border-right: none !important;
    border-radius: var(--radius) 0 0 var(--radius) !important;
    padding: 11px 14px !important;
    font-size: 13px !important;
  }

  .newsletter-btn {
    border-radius: 0 var(--radius) var(--radius) 0 !important;
    padding: 11px 16px !important;
    font-size: 11px !important;
  }

  .footer-bottom-bar {
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
    gap: 10px !important;
    padding-top: 16px !important;
  }

  .footer-badges {
    justify-content: center !important;
    gap: 12px !important;
  }
}

/* ══════════════════════════════════════════════════════════════════
   FOOTER SMALL MOBILE (max-width: 480px)
   ══════════════════════════════════════════════════════════════════ */
@media (max-width: 480px) {
  .footer {
    padding: 28px 0 16px !important;
  }

  .footer .container {
    padding: 0 12px !important;
  }

  .footer-grid {
    grid-template-columns: 1fr !important;
    gap: 18px !important;
    margin-bottom: 20px !important;
  }

  .footer-logo {
    font-size: 20px !important;
  }

  .footer-heading {
    font-size: 10px !important;
    letter-spacing: 1.2px !important;
  }

  .footer-col a {
    font-size: 12px !important;
    padding: 3px 0 !important;
  }

  .footer-social {
    gap: 8px !important;
  }

  .footer-social-icon {
    width: 34px !important;
    height: 34px !important;
    font-size: 15px !important;
  }

  .newsletter-form {
    flex-direction: column !important;
    gap: 8px !important;
  }

  .newsletter-input {
    border-right: 1px solid rgba(255,255,255,0.2) !important;
    border-radius: var(--radius) !important;
    padding: 12px 14px !important;
    width: 100% !important;
  }

  .newsletter-btn {
    border-radius: var(--radius) !important;
    padding: 12px 20px !important;
    width: 100% !important;
    font-size: 12px !important;
  }

  .footer-badges {
    flex-direction: column !important;
    gap: 6px !important;
    font-size: 10px !important;
  }
}

/* ══════════════════════════════════════════════════════════════════
   FOOTER FIX v2 — June 2026 — SVG Icons + Mobile Layout
   This section REPLACES all previous footer-related CSS.
   Search for "footer" in this file to find old sections to clean up.
   ══════════════════════════════════════════════════════════════════ */

/* ── FOOTER BASE ── */
.footer {
  background: var(--brown-deep) !important;
  color: rgba(255,255,255,0.7) !important;
  padding: 48px 0 24px !important;
  margin-top: 32px !important;
  font-size: 13px !important;
  line-height: 1.7 !important;
}

.footer .container {
  max-width: var(--container-max) !important;
  margin: 0 auto !important;
  padding: 0 24px !important;
}

/* ── FOOTER GRID ── */
.footer-grid {
  display: grid !important;
  grid-template-columns: 2fr 1fr 1fr 1fr !important;
  gap: 32px !important;
  margin-bottom: 36px !important;
}

/* ── FOOTER COLUMNS ── */
.footer-col {
  display: flex !important;
  flex-direction: column !important;
  gap: 2px !important;
}

.footer-col a {
  display: block !important;
  padding: 4px 0 !important;
  color: rgba(255,255,255,0.6) !important;
  text-decoration: none !important;
  font-size: 13px !important;
  transition: color 0.15s !important;
  line-height: 1.6 !important;
}

.footer-col a:hover {
  color: var(--gold-light) !important;
}

.footer-heading {
  font-size: 11px !important;
  font-weight: 700 !important;
  letter-spacing: 1.5px !important;
  text-transform: uppercase !important;
  color: var(--gold) !important;
  margin-bottom: 12px !important;
  padding-bottom: 8px !important;
  border-bottom: 1px solid rgba(255,255,255,0.08) !important;
}

/* ── BRAND COLUMN ── */
.footer-logo {
  font-family: var(--font-display) !important;
  font-size: 24px !important;
  font-weight: 700 !important;
  color: var(--gold) !important;
  letter-spacing: 3px !important;
  margin-bottom: 6px !important;
  text-transform: uppercase !important;
}

.footer-logo span { color: var(--white) !important; }

.footer-tagline {
  font-size: 12px !important;
  color: rgba(255,255,255,0.45) !important;
  margin-bottom: 16px !important;
  line-height: 1.5 !important;
}

/* ── SOCIAL ICONS (SVG) ── */
.footer-social {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 10px !important;
  margin-top: 12px !important;
}

.footer-social-icon {
  width: 38px !important;
  height: 38px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  border-radius: 50% !important;
  background: rgba(255,255,255,0.08) !important;
  color: rgba(255,255,255,0.7) !important;
  text-decoration: none !important;
  transition: background 0.2s, color 0.2s, transform 0.15s !important;
  border: 1px solid rgba(255,255,255,0.06) !important;
}

.footer-social-icon svg {
  width: 18px !important;
  height: 18px !important;
  fill: currentColor !important;
  display: block !important;
}

.footer-social-icon:hover {
  background: var(--gold) !important;
  color: var(--brown-deep) !important;
  border-color: var(--gold) !important;
  transform: translateY(-2px) !important;
}

/* ── FOOTER NEWSLETTER ── */
.footer-newsletter {
  padding-top: 28px !important;
  margin-top: 8px !important;
  border-top: 1px solid rgba(255,255,255,0.08) !important;
}

.footer-newsletter .footer-heading {
  margin-bottom: 6px !important;
  border-bottom: none !important;
  padding-bottom: 0 !important;
}

.footer-newsletter p {
  font-size: 12px !important;
  color: rgba(255,255,255,0.45) !important;
  margin-bottom: 10px !important;
}

.newsletter-form {
  display: flex !important;
  gap: 0 !important;
  max-width: 440px !important;
}

.newsletter-input {
  flex: 1 !important;
  border: 1px solid rgba(255,255,255,0.2) !important;
  border-right: none !important;
  border-radius: var(--radius) 0 0 var(--radius) !important;
  padding: 10px 14px !important;
  font-size: 13px !important;
  background: rgba(255,255,255,0.06) !important;
  color: var(--white) !important;
  outline: none !important;
  font-family: var(--font-body) !important;
  min-width: 0 !important;
}

.newsletter-input::placeholder { color: rgba(255,255,255,0.35) !important; }
.newsletter-input:focus { border-color: var(--gold) !important; background: rgba(255,255,255,0.1) !important; }

.newsletter-btn {
  background: var(--gold) !important;
  color: var(--brown-deep) !important;
  border: none !important;
  padding: 10px 20px !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  border-radius: 0 var(--radius) var(--radius) 0 !important;
  cursor: pointer !important;
  font-family: var(--font-body) !important;
  letter-spacing: 0.5px !important;
  text-transform: uppercase !important;
  transition: background 0.2s !important;
  white-space: nowrap !important;
  flex-shrink: 0 !important;
}

.newsletter-btn:hover { background: var(--gold-light) !important; }

/* ── FOOTER BOTTOM BAR ── */
.footer-bottom-bar {
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
  flex-wrap: wrap !important;
  gap: 12px !important;
  padding-top: 20px !important;
  border-top: 1px solid rgba(255,255,255,0.08) !important;
  margin-top: 20px !important;
}

.footer-copy {
  font-size: 11px !important;
  color: rgba(255,255,255,0.3) !important;
  line-height: 1.5 !important;
}

/* ── TRUST BADGES (SVG) ── */
.footer-badges {
  display: flex !important;
  align-items: center !important;
  gap: 18px !important;
  flex-wrap: wrap !important;
}

.footer-badge-item {
  display: inline-flex !important;
  align-items: center !important;
  gap: 5px !important;
  font-size: 11px !important;
  color: rgba(255,255,255,0.4) !important;
  white-space: nowrap !important;
  letter-spacing: 0.2px !important;
}

.footer-badge-item svg {
  width: 14px !important;
  height: 14px !important;
  fill: rgba(255,255,255,0.35) !important;
  flex-shrink: 0 !important;
}

/* ── WHATSAPP FLOAT (SVG) ── */
.wa-float {
  position: fixed !important;
  bottom: 80px !important;
  right: 20px !important;
  width: 52px !important;
  height: 52px !important;
  background: #25D366 !important;
  border-radius: 50% !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  color: #fff !important;
  z-index: 150 !important;
  box-shadow: 0 4px 16px rgba(37,211,102,0.4) !important;
  text-decoration: none !important;
  animation: bounce-in 0.5s ease both !important;
  animation-delay: 1s !important;
  transform: scale(0) !important;
}

.wa-float svg {
  width: 28px !important;
  height: 28px !important;
  fill: #fff !important;
}

/* ═══ FOOTER TABLET (max-width: 992px) ═══ */
@media (max-width: 992px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr !important;
    gap: 24px !important;
  }
}

/* ═══ FOOTER MOBILE (max-width: 768px) ═══ */
@media (max-width: 768px) {
  .footer {
    padding: 32px 0 20px !important;
    margin-top: 24px !important;
  }

  .footer .container {
    padding: 0 16px !important;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr !important;
    gap: 24px 16px !important;
    margin-bottom: 24px !important;
  }

  .footer-logo {
    font-size: 22px !important;
    letter-spacing: 2px !important;
  }

  .footer-tagline {
    font-size: 11px !important;
    margin-bottom: 12px !important;
  }

  .footer-heading {
    font-size: 10px !important;
    margin-bottom: 10px !important;
    padding-bottom: 6px !important;
  }

  .footer-col a {
    font-size: 13px !important;
    padding: 3px 0 !important;
  }

  .footer-social {
    gap: 8px !important;
    margin-top: 10px !important;
  }

  .footer-social-icon {
    width: 36px !important;
    height: 36px !important;
  }

  .footer-social-icon svg {
    width: 16px !important;
    height: 16px !important;
  }

  .footer-newsletter {
    padding-top: 20px !important;
    margin-top: 4px !important;
  }

  .newsletter-form {
    display: flex !important;
    flex-direction: row !important;
    gap: 0 !important;
    max-width: 100% !important;
  }

  .newsletter-input {
    border-right: none !important;
    border-radius: var(--radius) 0 0 var(--radius) !important;
    padding: 12px 14px !important;
    font-size: 14px !important;
  }

  .newsletter-btn {
    border-radius: 0 var(--radius) var(--radius) 0 !important;
    padding: 12px 16px !important;
    white-space: nowrap !important;
  }

  .footer-bottom-bar {
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
    gap: 10px !important;
    padding-top: 16px !important;
  }

  .footer-badges {
    justify-content: center !important;
    gap: 14px !important;
  }

  .footer-badge-item {
    font-size: 10px !important;
    gap: 4px !important;
  }

  .footer-badge-item svg {
    width: 13px !important;
    height: 13px !important;
  }
}

/* ═══ FOOTER SMALL MOBILE (max-width: 480px) ═══ */
@media (max-width: 480px) {
  .footer {
    padding: 28px 0 16px !important;
  }

  .footer .container {
    padding: 0 12px !important;
  }

  .footer-grid {
    grid-template-columns: 1fr !important;
    gap: 18px !important;
    margin-bottom: 20px !important;
  }

  .footer-logo {
    font-size: 20px !important;
  }

  .footer-heading {
    font-size: 10px !important;
    letter-spacing: 1.2px !important;
  }

  .footer-col a {
    font-size: 12px !important;
    padding: 3px 0 !important;
  }

  .footer-social {
    gap: 8px !important;
  }

  .footer-social-icon {
    width: 34px !important;
    height: 34px !important;
  }

  .footer-social-icon svg {
    width: 15px !important;
    height: 15px !important;
  }

  .newsletter-form {
    flex-direction: column !important;
    gap: 8px !important;
  }

  .newsletter-input {
    border-right: 1px solid rgba(255,255,255,0.2) !important;
    border-radius: var(--radius) !important;
    padding: 12px 14px !important;
    width: 100% !important;
  }

  .newsletter-btn {
    border-radius: var(--radius) !important;
    padding: 12px 20px !important;
    width: 100% !important;
  }

  .footer-badges {
    flex-direction: column !important;
    gap: 8px !important;
    align-items: center !important;
  }

  .footer-badge-item {
    font-size: 11px !important;
    gap: 5px !important;
  }
}

/* ═══════════════════════════════════════════════════════════════
   FOOTER + HEADER FIX v3 — June 2026
   Fixes: Social icons (perfect circles + centered),
   Newsletter form (mobile layout), Duplicate search bar
   ═══════════════════════════════════════════════════════════════ */

/* ── FOOTER SOCIAL ICONS: Perfect circles, properly centered ── */
.footer-social {
  display: flex !important;
  justify-content: flex-start !important;
  align-items: center !important;
  flex-wrap: wrap !important;
  gap: 10px !important;
  margin-top: 14px !important;
}

.footer-social-icon {
  width: 40px !important;
  height: 40px !important;
  min-width: 40px !important;
  min-height: 40px !important;
  max-width: 40px !important;
  max-height: 40px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  border-radius: 50% !important;
  background: rgba(255,255,255,0.08) !important;
  color: rgba(255,255,255,0.7) !important;
  text-decoration: none !important;
  transition: background 0.2s, color 0.2s, transform 0.15s !important;
  border: 1px solid rgba(255,255,255,0.06) !important;
  padding: 0 !important;
  line-height: 40px !important;
  flex-shrink: 0 !important;
  aspect-ratio: 1 / 1 !important;
}

.footer-social-icon svg {
  width: 18px !important;
  height: 18px !important;
  fill: currentColor !important;
  display: block !important;
  margin: auto !important;
  flex-shrink: 0 !important;
}

.footer-social-icon:hover {
  background: var(--gold) !important;
  color: var(--brown-deep) !important;
  border-color: var(--gold) !important;
  transform: translateY(-2px) !important;
}

/* ── FOOTER NEWSLETTER: Proper form layout ── */
.footer-newsletter {
  padding-top: 28px !important;
  margin-top: 8px !important;
  border-top: 1px solid rgba(255,255,255,0.08) !important;
  width: 100% !important;
}

.footer-newsletter .footer-heading {
  margin-bottom: 6px !important;
  border-bottom: none !important;
  padding-bottom: 0 !important;
}

.footer-newsletter p {
  font-size: 12px !important;
  color: rgba(255,255,255,0.45) !important;
  margin-bottom: 12px !important;
  line-height: 1.5 !important;
}

.newsletter-form {
  display: flex !important;
  flex-direction: row !important;
  gap: 0 !important;
  max-width: 440px !important;
  width: 100% !important;
}

.newsletter-input {
  flex: 1 !important;
  min-width: 0 !important;
  border: 1px solid rgba(255,255,255,0.2) !important;
  border-right: none !important;
  border-radius: var(--radius) 0 0 var(--radius) !important;
  padding: 11px 14px !important;
  font-size: 13px !important;
  background: rgba(255,255,255,0.06) !important;
  color: var(--white) !important;
  outline: none !important;
  font-family: var(--font-body) !important;
  height: 44px !important;
  box-sizing: border-box !important;
}

.newsletter-input::placeholder {
  color: rgba(255,255,255,0.35) !important;
}

.newsletter-input:focus {
  border-color: var(--gold) !important;
  background: rgba(255,255,255,0.1) !important;
}

.newsletter-btn {
  background: var(--gold) !important;
  color: var(--brown-deep) !important;
  border: none !important;
  padding: 11px 20px !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  border-radius: 0 var(--radius) var(--radius) 0 !important;
  cursor: pointer !important;
  font-family: var(--font-body) !important;
  letter-spacing: 0.5px !important;
  text-transform: uppercase !important;
  transition: background 0.2s !important;
  white-space: nowrap !important;
  flex-shrink: 0 !important;
  height: 44px !important;
  box-sizing: border-box !important;
}

.newsletter-btn:hover {
  background: var(--gold-light) !important;
}

/* ── HEADER: Search + Auth visibility across viewports ── */
/* Desktop: show header-search and header-auth in header-right, hide mobile clones in nav */
@media (min-width: 769px) {
  .header-right .header-search {
    display: flex !important;
  }
  .header-right .header-auth {
    display: flex !important;
  }
  .header-nav .mobile-search-wrap {
    display: none !important;
  }
  .header-nav .mobile-auth-wrap {
    display: none !important;
  }
}

/* Mobile: hide header-search and header-auth from header-right (they show in mobile menu via clone) */
@media (max-width: 768px) {
  .header-right > .header-search {
    display: none !important;
  }
  .header-right > .header-auth {
    display: none !important;
  }
  /* Mobile menu: show cloned search and auth */
  .header-nav.show-mobile .mobile-search-wrap,
  .header-nav.show-mobile .mobile-search-wrap .header-search {
    display: flex !important;
  }
  .header-nav.show-mobile .mobile-auth-wrap,
  .header-nav.show-mobile .mobile-auth-wrap .header-auth {
    display: flex !important;
  }
}

/* ── FOOTER TABLET (max-width: 992px) ── */
@media (max-width: 992px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr !important;
    gap: 24px !important;
  }
}

/* ── FOOTER MOBILE (max-width: 768px) ── */
@media (max-width: 768px) {
  .footer {
    padding: 32px 0 20px !important;
    margin-top: 24px !important;
  }

  .footer .container {
    padding: 0 16px !important;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr !important;
    gap: 24px 16px !important;
    margin-bottom: 24px !important;
  }

  .footer-logo {
    font-size: 22px !important;
    letter-spacing: 2px !important;
  }

  .footer-tagline {
    font-size: 11px !important;
    margin-bottom: 12px !important;
  }

  .footer-heading {
    font-size: 10px !important;
    margin-bottom: 10px !important;
    padding-bottom: 6px !important;
  }

  .footer-col a {
    font-size: 13px !important;
    padding: 3px 0 !important;
  }

  /* Social icons: perfect circles + centered on mobile */
  .footer-social {
    justify-content: center !important;
    gap: 10px !important;
    margin-top: 12px !important;
  }

  .footer-social-icon {
    width: 38px !important;
    height: 38px !important;
    min-width: 38px !important;
    min-height: 38px !important;
    max-width: 38px !important;
    max-height: 38px !important;
    line-height: 38px !important;
  }

  .footer-social-icon svg {
    width: 16px !important;
    height: 16px !important;
  }

  /* Newsletter form: horizontal on mobile (768px) */
  .footer-newsletter {
    padding-top: 20px !important;
    margin-top: 4px !important;
  }

  .newsletter-form {
    display: flex !important;
    flex-direction: row !important;
    gap: 0 !important;
    max-width: 100% !important;
    width: 100% !important;
  }

  .newsletter-input {
    border-right: none !important;
    border-radius: var(--radius) 0 0 var(--radius) !important;
    padding: 12px 14px !important;
    font-size: 14px !important;
    flex: 1 !important;
    min-width: 0 !important;
    height: 46px !important;
  }

  .newsletter-btn {
    border-radius: 0 var(--radius) var(--radius) 0 !important;
    padding: 12px 16px !important;
    white-space: nowrap !important;
    height: 46px !important;
  }

  .footer-bottom-bar {
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
    gap: 10px !important;
    padding-top: 16px !important;
  }

  .footer-badges {
    justify-content: center !important;
    gap: 14px !important;
    flex-wrap: wrap !important;
  }

  .footer-badge-item {
    font-size: 10px !important;
    gap: 4px !important;
  }

  .footer-badge-item svg {
    width: 13px !important;
    height: 13px !important;
  }
}

/* ── FOOTER SMALL MOBILE (max-width: 480px) ── */
@media (max-width: 480px) {
  .footer {
    padding: 28px 0 16px !important;
  }

  .footer .container {
    padding: 0 12px !important;
  }

  .footer-grid {
    grid-template-columns: 1fr !important;
    gap: 18px !important;
    margin-bottom: 20px !important;
  }

  .footer-logo {
    font-size: 20px !important;
  }

  .footer-heading {
    font-size: 10px !important;
    letter-spacing: 1.2px !important;
  }

  .footer-col a {
    font-size: 12px !important;
    padding: 3px 0 !important;
  }

  /* Social icons: center + perfect circles on small mobile */
  .footer-social {
    justify-content: center !important;
    gap: 10px !important;
  }

  .footer-social-icon {
    width: 36px !important;
    height: 36px !important;
    min-width: 36px !important;
    min-height: 36px !important;
    max-width: 36px !important;
    max-height: 36px !important;
    line-height: 36px !important;
  }

  .footer-social-icon svg {
    width: 15px !important;
    height: 15px !important;
  }

  /* Newsletter form: STACK vertically on small mobile */
  .newsletter-form {
    flex-direction: column !important;
    gap: 8px !important;
    width: 100% !important;
  }

  .newsletter-input {
    border-right: 1px solid rgba(255,255,255,0.2) !important;
    border-radius: var(--radius) !important;
    padding: 13px 14px !important;
    width: 100% !important;
    height: 48px !important;
  }

  .newsletter-btn {
    border-radius: var(--radius) !important;
    padding: 13px 20px !important;
    width: 100% !important;
    height: 48px !important;
  }

  .footer-badges {
    flex-direction: column !important;
    gap: 8px !important;
    align-items: center !important;
  }

  .footer-badge-item {
    font-size: 11px !important;
    gap: 5px !important;
  }
}


/* ═══════════════════════════════════════════════════════════════
   FOOTER SOCIAL ICONS — PERFECT CENTERING v4 (June 2026)
   Ensures SVG logo is perfectly centered in circular background
   ═══════════════════════════════════════════════════════════════ */

.footer-social {
  display: flex !important;
  justify-content: flex-start !important;
  align-items: center !important;
  flex-wrap: wrap !important;
  gap: 10px !important;
  margin-top: 14px !important;
}

.footer-social-icon {
  width: 40px !important;
  height: 40px !important;
  min-width: 40px !important;
  min-height: 40px !important;
  max-width: 40px !important;
  max-height: 40px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  border-radius: 50% !important;
  background: rgba(255,255,255,0.08) !important;
  color: rgba(255,255,255,0.7) !important;
  text-decoration: none !important;
  transition: background 0.2s, color 0.2s, transform 0.15s !important;
  border: 1px solid rgba(255,255,255,0.06) !important;
  padding: 0 !important;
  margin: 0 !important;
  flex-shrink: 0 !important;
  aspect-ratio: 1 / 1 !important;
  box-sizing: border-box !important;
  /* Force perfectly circular shape */
  overflow: hidden !important;
  position: relative !important;
}

.footer-social-icon svg {
  width: 20px !important;
  height: 20px !important;
  fill: currentColor !important;
  display: block !important;
  margin: 0 auto !important;
  padding: 0 !important;
  flex-shrink: 0 !important;
  /* Perfect centering */
  position: absolute !important;
  top: 50% !important;
  left: 50% !important;
  transform: translate(-50%, -50%) !important;
}

.footer-social-icon:hover {
  background: var(--gold) !important;
  color: var(--brown-deep) !important;
  border-color: var(--gold) !important;
  transform: translateY(-2px) !important;
}

.footer-social-icon:hover svg {
  transform: translate(-50%, -50%) !important;
}

/* Mobile: center the social icons row */
@media (max-width: 768px) {
  .footer-social {
    justify-content: center !important;
    gap: 10px !important;
    margin-top: 12px !important;
  }
  .footer-social-icon {
    width: 38px !important;
    height: 38px !important;
    min-width: 38px !important;
    min-height: 38px !important;
    max-width: 38px !important;
    max-height: 38px !important;
  }
  .footer-social-icon svg {
    width: 18px !important;
    height: 18px !important;
  }
}

@media (max-width: 480px) {
  .footer-social {
    justify-content: center !important;
    gap: 10px !important;
  }
  .footer-social-icon {
    width: 36px !important;
    height: 36px !important;
    min-width: 36px !important;
    min-height: 36px !important;
    max-width: 36px !important;
    max-height: 36px !important;
  }
  .footer-social-icon svg {
    width: 17px !important;
    height: 17px !important;
  }
}
