/**
 * MG Fashion - Master Stylesheet
 * Women's Wear & Saree Showroom
 * Luxury Fashion Theme: Deep Wine (#5C101D) / Royal Maroon (#380610) / Warm Gold (#D4AF37) / Ivory (#FAF7F2)
 */

@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@600;700;800;900&family=Cormorant+Garamond:ital,wght@0,500;0,600;0,700;1,400;1,600&family=Playfair+Display:ital,wght@0,500;0,600;0,700;0,800;1,400;1,600&family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

:root {
  /* MG Fashion Primary Jewel Palette: Deep Wine / Burgundy */
  --rst-crimson-primary: #5c101d;
  --rst-crimson-hover: #450b15;
  --rst-crimson-dark: #380610;
  --rst-crimson-light: #fbf3f5;
  --rst-crimson-border: #edd5da;

  /* Primary Aliases for Compatibility */
  --rst-blue-primary: #5c101d;
  --rst-blue-hover: #450b15;
  --rst-primary: #5c101d;

  /* Deep Velvet Obsidian & Dark Maroon Surfaces */
  --rst-navy-dark: #140e12;
  --rst-navy-surface: #1f151b;
  --rst-navy-card: #2d1822;

  /* Luxury Gold Accent System */
  --rst-gold-accent: #d4af37;
  --rst-gold-primary: #c59b27;
  --rst-gold-hover: #aa811a;
  --rst-gold-light: #fdf8eb;
  --rst-gold-border: #ebd9a8;
  --rst-cyan-accent: #d4af37;
  --rst-cyan-glow: rgba(212, 175, 55, 0.25);

  /* Utility Colors */
  --rst-whatsapp: #25d366;
  --rst-whatsapp-hover: #1ebd56;
  --rst-success: #15803d;
  --rst-warning: #d97706;
  --rst-danger: #be123c;

  /* Warm Ivory Showroom Surfaces & Borders */
  --rst-body-bg: #faf7f2;
  --rst-card-bg: #ffffff;
  --rst-border: #eedfcb;
  --rst-border-subtle: #f6ede2;
  --rst-text-main: #1f1518;
  --rst-text-muted: #6e5e65;

  /* Premium Typography */
  --rst-font-heading: 'Playfair Display', 'Cormorant Garamond', Georgia, serif;
  --rst-font-brand: 'Cinzel', 'Playfair Display', Georgia, serif;
  --rst-font-sans: 'Plus Jakarta Sans', 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --rst-font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;

  /* Radii & Shadows */
  --rst-radius-sm: 8px;
  --rst-radius-md: 14px;
  --rst-radius-lg: 20px;
  --rst-shadow-sm: 0 2px 6px rgba(20, 14, 18, 0.04), 0 1px 3px rgba(20, 14, 18, 0.02);
  --rst-shadow-md: 0 6px 18px -2px rgba(20, 14, 18, 0.07), 0 3px 8px -1px rgba(20, 14, 18, 0.03);
  --rst-shadow-lg: 0 16px 36px -6px rgba(20, 14, 18, 0.12), 0 6px 14px -2px rgba(20, 14, 18, 0.05);
  --rst-shadow-gold: 0 4px 18px rgba(197, 155, 39, 0.25);
  --rst-transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Base & Global Styles */
body {
  font-family: var(--rst-font-sans);
  background-color: var(--rst-body-bg);
  color: var(--rst-text-main);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, .font-heading {
  font-family: var(--rst-font-heading);
  letter-spacing: -0.01em;
}

a {
  color: var(--rst-crimson-primary);
  text-decoration: none;
  transition: var(--rst-transition);
}
a:hover {
  color: var(--rst-crimson-hover);
}

img {
  max-width: 100%;
  height: auto;
}

/* ==========================================================
   Scrolling Flash Announcement Ticker (Top Bar)
   ========================================================== */
.flash-ticker-bar {
  background: linear-gradient(90deg, #14080d 0%, #290812 50%, #14080d 100%) !important;
  color: #fcf8f9 !important;
  display: flex !important;
  align-items: center !important;
  overflow: hidden !important;
  height: 38px !important;
  position: relative !important;
  z-index: 1030 !important;
  border-bottom: 1px solid rgba(212, 175, 55, 0.4) !important;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.25) !important;
  font-size: 0.8125rem !important;
}

.ticker-badge {
  background: linear-gradient(135deg, #c59b27 0%, #aa811a 100%) !important;
  color: #14080d !important;
  font-weight: 800 !important;
  font-size: 0.72rem !important;
  letter-spacing: 0.8px !important;
  padding: 0 16px !important;
  height: 100% !important;
  display: flex !important;
  align-items: center !important;
  gap: 7px !important;
  flex-shrink: 0 !important;
  z-index: 3 !important;
  box-shadow: 3px 0 12px rgba(0, 0, 0, 0.4) !important;
  text-transform: uppercase !important;
}

.flash-bolt-icon {
  animation: boltPulse 1.2s ease-in-out infinite !important;
  color: #14080d !important;
}

@keyframes boltPulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(1.25); }
}

.ticker-track-wrap {
  flex-grow: 1 !important;
  overflow: hidden !important;
  white-space: nowrap !important;
  position: relative !important;
  height: 100% !important;
  display: flex !important;
  align-items: center !important;
}

.ticker-track {
  display: inline-block !important;
  white-space: nowrap !important;
  padding-left: 100% !important;
  animation-name: scrollRightToLeft !important;
  animation-timing-function: linear !important;
  animation-iteration-count: infinite !important;
  will-change: transform !important;
}

.ticker-track:hover {
  animation-play-state: paused !important;
}

.ticker-content {
  display: inline-block !important;
  font-weight: 500 !important;
  color: #fbeee4 !important;
  letter-spacing: 0.3px !important;
}

.ticker-link {
  color: #ffffff !important;
  text-decoration: none !important;
  cursor: pointer !important;
  transition: color var(--rst-transition) !important;
}

.ticker-link:hover {
  color: var(--rst-gold-accent) !important;
  text-decoration: underline !important;
}

@keyframes scrollRightToLeft {
  0% { transform: translateX(0%); }
  100% { transform: translateX(-100%); }
}

@media (max-width: 576px) {
  .flash-ticker-bar {
    height: 34px !important;
    font-size: 0.75rem !important;
  }
  .ticker-badge {
    padding: 0 10px !important;
    font-size: 0.65rem !important;
  }
}

/* ==========================================================
   Top Announcement & Showroom Contact Bar
   ========================================================== */
.top-bar {
  background-color: var(--rst-navy-dark);
  color: #d1c3c9;
  font-size: 0.8125rem;
  padding: 6px 0;
  border-bottom: 1px solid rgba(212, 175, 55, 0.2);
}

.top-bar a {
  color: #f7eff3;
  text-decoration: none;
  transition: all 0.15s ease;
}

.top-bar a:hover {
  color: var(--rst-gold-accent);
}

.top-bar-pill {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(212, 175, 55, 0.25);
  border-radius: 20px;
  padding: 3px 12px;
  font-size: 0.775rem;
  letter-spacing: 0.2px;
  transition: all 0.2s ease;
}

.top-bar-pill:hover {
  background: rgba(92, 16, 29, 0.65);
  border-color: var(--rst-gold-accent);
  color: #ffffff !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

/* Customer Account Dropdown Menu */
.top-bar .dropdown-menu,
.user-account-menu {
  background-color: #ffffff !important;
  border: 1px solid rgba(197, 155, 39, 0.3) !important;
  border-radius: 12px !important;
  box-shadow: 0 14px 34px rgba(20, 14, 18, 0.18) !important;
  min-width: 220px !important;
  padding: 6px !important;
  z-index: 1065 !important;
  margin-top: 8px !important;
  animation: dropdownFadeIn 0.15s ease-out;
}

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

.user-account-header {
  background-color: #fdf8eb !important;
  border-bottom: 1px solid #eedca6 !important;
  border-radius: 8px 8px 0 0 !important;
  padding: 8px 12px !important;
  margin-bottom: 4px !important;
}

.user-account-header .text-dark {
  color: #140e12 !important;
  font-weight: 700 !important;
  font-size: 0.8125rem !important;
}

.top-bar .dropdown-menu .dropdown-item,
.user-account-menu .dropdown-item {
  color: #1f1518 !important;
  font-weight: 600 !important;
  font-size: 0.825rem !important;
  padding: 8px 12px !important;
  border-radius: 8px !important;
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
  text-decoration: none !important;
  transition: all 0.15s ease !important;
}

.top-bar .dropdown-menu .dropdown-item:hover,
.user-account-menu .dropdown-item:hover {
  background-color: var(--rst-crimson-light) !important;
  color: var(--rst-crimson-primary) !important;
}

.top-bar .dropdown-menu .dropdown-item:hover i,
.user-account-menu .dropdown-item:hover i {
  color: var(--rst-gold-accent) !important;
  transform: translateX(2px) !important;
}

/* ==========================================================
   Master Fixed Header Wrapper
   ========================================================== */
.site-header-master-wrapper {
  position: sticky !important;
  top: 0 !important;
  z-index: 1040 !important;
  width: 100% !important;
  box-shadow: 0 4px 20px rgba(20, 14, 18, 0.08) !important;
}

.site-header {
  background-color: #ffffff;
  border-bottom: 1px solid rgba(212, 175, 55, 0.25);
  position: relative;
  z-index: 1041;
  transition: var(--rst-transition);
}

.brand-logo-img {
  height: 52px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.05));
}

.nav-link {
  font-weight: 600;
  font-size: 0.9375rem;
  color: #2e2429 !important;
  padding: 0.6rem 0.95rem !important;
  border-radius: var(--rst-radius-sm);
  transition: var(--rst-transition);
  position: relative;
  letter-spacing: 0.2px;
}

.nav-link:hover,
.nav-link.active {
  color: var(--rst-crimson-primary) !important;
  background-color: var(--rst-crimson-light);
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 20%;
  right: 20%;
  height: 2px;
  background: var(--rst-gold-accent);
  border-radius: 2px;
}

/* WhatsApp Nav Button */
.btn-whatsapp {
  background-color: var(--rst-whatsapp);
  color: #ffffff !important;
  font-weight: 600;
  border-radius: 999px;
  padding: 0.5rem 1.15rem;
  border: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  box-shadow: 0 2px 10px rgba(37, 211, 102, 0.28);
  transition: var(--rst-transition);
}
.btn-whatsapp:hover {
  background-color: var(--rst-whatsapp-hover);
  color: #ffffff !important;
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(37, 211, 102, 0.4);
}

/* Header Cart Button */
.header-cart-badge {
  background: linear-gradient(135deg, #c59b27 0%, #aa811a 100%) !important;
  color: #14080d !important;
  font-weight: 800 !important;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

/* ==========================================================
   Hero Section & Fashion Carousel
   ========================================================== */
.hero-carousel {
  background: linear-gradient(135deg, #14080d 0%, #2b0811 50%, #440d1a 100%);
}

.hero-slide-item {
  min-height: 520px;
  background-size: cover;
  background-position: center;
  position: relative;
  display: flex;
  align-items: center;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(20, 8, 13, 0.94) 0%, rgba(20, 8, 13, 0.8) 45%, rgba(20, 8, 13, 0.35) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  color: #ffffff;
  max-width: 680px;
  padding: 3.5rem 0;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1rem;
  border-radius: 999px;
  background: rgba(212, 175, 55, 0.15);
  border: 1px solid rgba(212, 175, 55, 0.5);
  color: #f7e2a9;
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
}

.hero-title {
  font-family: var(--rst-font-heading);
  font-size: 3.25rem;
  font-weight: 700;
  line-height: 1.15;
  color: #ffffff;
  margin-bottom: 1.25rem;
}

.hero-desc {
  font-size: 1.15rem;
  color: #f3e6ec;
  line-height: 1.65;
  margin-bottom: 2.25rem;
  font-weight: 400;
}

/* ==========================================================
   Curated Search Strip
   ========================================================== */
.popular-search-tag {
  background: rgba(255, 255, 255, 0.12);
  color: #fceceb !important;
  border: 1px solid rgba(212, 175, 55, 0.35);
  text-decoration: none !important;
  border-radius: 50rem;
  padding: 0.24rem 0.95rem;
  font-size: 0.8125rem;
  font-weight: 500;
  transition: all 0.2s ease;
  display: inline-block;
}

.popular-search-tag:hover {
  background: var(--rst-gold-accent) !important;
  color: #14080d !important;
  border-color: var(--rst-gold-accent) !important;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(212, 175, 55, 0.4);
}

/* ==========================================================
   Section Headings & Accents
   ========================================================== */
.section-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--rst-crimson-primary);
  background-color: var(--rst-crimson-light);
  padding: 0.3rem 0.85rem;
  border-radius: 999px;
  margin-bottom: 0.5rem;
  border: 1px solid var(--rst-crimson-border);
}

.section-title {
  font-family: var(--rst-font-heading);
  font-size: 2.25rem;
  font-weight: 700;
  color: var(--rst-crimson-dark);
  letter-spacing: -0.01em;
}

.section-subtitle {
  color: var(--rst-text-muted);
  font-size: 1.05rem;
  font-weight: 400;
}

/* ==========================================================
   Featured Category Cards
   ========================================================== */
.category-card {
  background: var(--rst-card-bg);
  border: 1px solid var(--rst-border);
  border-radius: var(--rst-radius-md);
  padding: 1.5rem 1rem;
  text-align: center;
  transition: var(--rst-transition);
  display: flex;
  flex-direction: column;
  align-items: center;
  height: 100%;
  position: relative;
  overflow: hidden;
}

.category-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--rst-crimson-primary), var(--rst-gold-accent));
  opacity: 0;
  transition: var(--rst-transition);
}

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

.category-card:hover::before {
  opacity: 1;
}

.category-img-wrap {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  background: #fcf7ed;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  overflow: hidden;
  border: 2px solid var(--rst-border);
  transition: var(--rst-transition);
  box-shadow: inset 0 0 10px rgba(197, 155, 39, 0.1);
}

.category-card:hover .category-img-wrap {
  transform: scale(1.08);
  border-color: var(--rst-gold-accent);
}

.category-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.category-card-name {
  font-family: var(--rst-font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--rst-navy-dark);
  margin-bottom: 0.25rem;
}

.category-card-count {
  font-size: 0.8125rem;
  color: var(--rst-gold-hover);
  font-weight: 600;
}

/* ==========================================================
   Fashion Product Cards (Storefront)
   ========================================================== */
.product-card {
  background: var(--rst-card-bg);
  border: 1px solid var(--rst-border);
  border-radius: var(--rst-radius-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
  transition: var(--rst-transition);
  position: relative;
  box-shadow: var(--rst-shadow-sm);
}

.product-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--rst-shadow-lg);
  border-color: var(--rst-gold-border);
}

.product-thumb-wrap {
  position: relative;
  background-color: #faf5f0;
  padding: 1rem;
  text-align: center;
  overflow: hidden;
  aspect-ratio: 4 / 5;
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-thumb-wrap img {
  max-height: 100%;
  width: auto;
  object-fit: contain;
  transition: transform 0.45s ease;
}

.product-card:hover .product-thumb-wrap img {
  transform: scale(1.07);
}

/* Badges */
.badge-discount {
  position: absolute;
  top: 10px;
  left: 10px;
  background: linear-gradient(135deg, #5c101d 0%, #781530 100%);
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 800;
  padding: 0.25rem 0.65rem;
  border-radius: 6px;
  box-shadow: 0 2px 8px rgba(92, 16, 29, 0.35);
  z-index: 2;
  letter-spacing: 0.5px;
}

.badge-offer {
  position: absolute;
  top: 10px;
  right: 10px;
  background: linear-gradient(135deg, #c59b27 0%, #aa811a 100%);
  color: #14080d;
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
  padding: 0.25rem 0.65rem;
  border-radius: 6px;
  letter-spacing: 0.06em;
  z-index: 2;
  box-shadow: 0 2px 8px rgba(197, 155, 39, 0.35);
}

.product-details-wrap {
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.product-category-brand {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--rst-gold-hover);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.4rem;
}

.product-name {
  font-family: var(--rst-font-heading);
  font-size: 1.075rem;
  font-weight: 700;
  color: var(--rst-navy-dark);
  line-height: 1.4;
  margin-bottom: 0.5rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  height: 3rem;
}

.product-name a {
  color: inherit;
}
.product-name a:hover {
  color: var(--rst-crimson-primary);
}

.product-sku-tag {
  font-family: var(--rst-font-mono);
  font-size: 0.68rem;
  color: var(--rst-text-muted);
  background: #fdf8eb;
  border: 1px solid #eedca6;
  padding: 0.15rem 0.5rem;
  border-radius: 4px;
  display: inline-block;
  margin-bottom: 0.75rem;
  width: fit-content;
}

/* Price Box */
.product-price-box {
  margin-top: auto;
  padding-top: 0.75rem;
  border-top: 1px dashed var(--rst-border);
}

.price-current {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--rst-crimson-dark);
}

.price-mrp {
  font-size: 0.875rem;
  color: #9f8d95;
  text-decoration: line-through;
  margin-left: 0.5rem;
}

.price-savings {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--rst-success);
  margin-top: 0.2rem;
}

/* Product Card Actions */
.product-actions-exchange,
.product-actions-standard {
  display: flex !important;
  align-items: center;
  gap: 0.4rem;
  margin-top: 0.75rem;
  width: 100%;
}

.btn-quick-cart,
.btn-exchange-add-cart,
.btn-standard-add-cart {
  flex: 1 1 50%;
  min-width: 0;
  height: 38px !important;
  padding: 0 0.5rem !important;
  border: none;
  border-radius: 999px !important;
  background: linear-gradient(135deg, var(--rst-crimson-primary) 0%, var(--rst-crimson-hover) 100%);
  color: #ffffff !important;
  font-size: 0.74rem !important;
  font-weight: 700;
  letter-spacing: 0.3px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 2px 8px rgba(92, 16, 29, 0.25);
}

.btn-quick-cart:hover,
.btn-exchange-add-cart:hover,
.btn-standard-add-cart:hover {
  background: linear-gradient(135deg, var(--rst-crimson-hover) 0%, #290812 100%);
  transform: translateY(-1px);
  color: #ffffff !important;
  box-shadow: 0 4px 14px rgba(92, 16, 29, 0.38);
}

.btn-quick-buy,
.btn-exchange-buy-now,
.btn-standard-buy-now {
  flex: 1 1 50%;
  min-width: 0;
  height: 38px !important;
  padding: 0 0.5rem !important;
  border: none;
  border-radius: 999px !important;
  background: linear-gradient(135deg, #c59b27 0%, #aa811a 100%);
  color: #14080d !important;
  font-size: 0.74rem !important;
  font-weight: 800;
  letter-spacing: 0.3px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 2px 8px rgba(197, 155, 39, 0.25);
}

.btn-quick-buy:hover,
.btn-exchange-buy-now:hover,
.btn-standard-buy-now:hover {
  background: linear-gradient(135deg, #d4af37 0%, #c59b27 100%);
  transform: translateY(-1px);
  color: #14080d !important;
  box-shadow: 0 4px 14px rgba(197, 155, 39, 0.4);
}

/* Buttons */
.btn-primary {
  background-color: var(--rst-crimson-primary) !important;
  border-color: var(--rst-crimson-primary) !important;
  color: #ffffff !important;
  box-shadow: 0 2px 8px rgba(92, 16, 29, 0.25);
  font-weight: 600;
  transition: var(--rst-transition);
}

.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active {
  background-color: var(--rst-crimson-hover) !important;
  border-color: var(--rst-crimson-hover) !important;
  color: #ffffff !important;
  box-shadow: 0 4px 14px rgba(92, 16, 29, 0.35);
}

.btn-outline-primary {
  color: var(--rst-crimson-primary) !important;
  border-color: var(--rst-crimson-primary) !important;
  background-color: transparent !important;
  font-weight: 600;
}

.btn-outline-primary:hover,
.btn-outline-primary:focus {
  background-color: var(--rst-crimson-primary) !important;
  border-color: var(--rst-crimson-primary) !important;
  color: #ffffff !important;
}

/* Card Floating WhatsApp */
.card-thumb-wa-btn {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #25d366;
  color: #ffffff !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  box-shadow: 0 2px 8px rgba(37, 211, 102, 0.45);
  z-index: 5;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  text-decoration: none;
}

.card-thumb-wa-btn:hover {
  transform: scale(1.12);
  box-shadow: 0 4px 14px rgba(37, 211, 102, 0.65);
}

/* ==========================================================
   Why Choose MG Fashion Cards
   ========================================================== */
.feature-card {
  background: #ffffff;
  border: 1px solid var(--rst-border);
  border-radius: var(--rst-radius-md);
  padding: 2.25rem 1.5rem;
  height: 100%;
  transition: var(--rst-transition);
  position: relative;
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--rst-shadow-lg);
  border-color: var(--rst-gold-border);
}

.feature-icon-wrap {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #fdf8eb;
  color: var(--rst-crimson-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1.25rem;
  transition: var(--rst-transition);
  border: 2px solid var(--rst-gold-border);
}

.feature-card:hover .feature-icon-wrap {
  background: linear-gradient(135deg, var(--rst-crimson-primary) 0%, var(--rst-crimson-hover) 100%);
  color: var(--rst-gold-accent);
  border-color: var(--rst-gold-accent);
}

.feature-title {
  font-family: var(--rst-font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--rst-navy-dark);
  margin-bottom: 0.5rem;
}

.feature-desc {
  font-size: 0.9rem;
  color: var(--rst-text-muted);
  line-height: 1.65;
}

/* ==========================================================
   Product Detail View
   ========================================================== */
.product-gallery-main {
  background: #ffffff;
  border: 1px solid var(--rst-border);
  border-radius: var(--rst-radius-md);
  padding: 2rem;
  text-align: center;
  aspect-ratio: 4 / 5;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}

.product-gallery-main img {
  max-height: 100%;
  max-width: 100%;
  object-fit: contain;
}

.gallery-thumbs-list {
  display: flex;
  gap: 0.75rem;
  overflow-x: auto;
  padding-bottom: 0.5rem;
}

.gallery-thumb-item {
  width: 76px;
  height: 76px;
  border-radius: var(--rst-radius-sm);
  border: 2px solid var(--rst-border);
  padding: 4px;
  background: #ffffff;
  cursor: pointer;
  flex-shrink: 0;
  transition: var(--rst-transition);
}

.gallery-thumb-item.active,
.gallery-thumb-item:hover {
  border-color: var(--rst-gold-accent);
}

.gallery-thumb-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.spec-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  border: 1px solid var(--rst-border);
  border-radius: var(--rst-radius-sm);
  overflow: hidden;
}

.spec-table th,
.spec-table td {
  padding: 0.85rem 1.15rem;
  font-size: 0.9rem;
  border-bottom: 1px solid var(--rst-border);
}

.spec-table th {
  background-color: #fdf8eb;
  color: #4a3b2c;
  font-weight: 700;
  width: 35%;
}

/* ==========================================================
   Site Footer
   ========================================================== */
.site-footer {
  background: linear-gradient(180deg, #160a0f 0%, #0d0508 100%);
  color: #cfbfc6;
  padding: 4.5rem 0 2rem;
  border-top: 1px solid rgba(212, 175, 55, 0.3);
}

.footer-logo {
  height: 52px;
  margin-bottom: 1.25rem;
}

.footer-heading {
  font-family: var(--rst-font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  color: #fdf8eb;
  letter-spacing: 0.04em;
  margin-bottom: 1.25rem;
  position: relative;
  padding-bottom: 0.6rem;
}

.footer-heading::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 36px;
  height: 2px;
  background: var(--rst-gold-accent);
  border-radius: 2px;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 0.7rem;
}

.footer-links a {
  color: #d1c3c9;
  font-size: 0.875rem;
  transition: var(--rst-transition);
}

.footer-links a:hover {
  color: var(--rst-gold-accent);
  padding-left: 4px;
}

.footer-contact-item {
  display: flex;
  gap: 0.75rem;
  margin-bottom: 1rem;
  font-size: 0.875rem;
  color: #d1c3c9;
}

.footer-contact-item i {
  color: var(--rst-gold-accent);
  margin-top: 4px;
}

.footer-social-links {
  display: flex;
  gap: 0.65rem;
  margin-top: 1.25rem;
}

.footer-social-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(212, 175, 55, 0.3);
  color: #fdf8eb;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  transition: var(--rst-transition);
}

.footer-social-btn:hover {
  background: var(--rst-crimson-primary);
  border-color: var(--rst-gold-accent);
  color: var(--rst-gold-accent);
  transform: translateY(-2px);
}

.footer-bottom {
  padding-top: 2rem;
  margin-top: 3.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.8125rem;
  color: #9f8c95;
}

/* ==========================================================
   Floating WhatsApp Button
   ========================================================== */
.floating-whatsapp {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 1040;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background-color: var(--rst-whatsapp);
  color: #ffffff !important;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
  box-shadow: 0 4px 18px rgba(37, 211, 102, 0.45);
  transition: var(--rst-transition);
}

.floating-whatsapp:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 24px rgba(37, 211, 102, 0.6);
}

/* ==========================================================
   Mobile Responsive Navigation & Bottom Bar
   ========================================================== */
@media (max-width: 991.98px) {
  body {
    padding-bottom: 64px;
  }
  .brand-logo-img {
    height: 44px;
  }
  .hero-title {
    font-size: 2.2rem;
  }
  .floating-whatsapp {
    bottom: 74px !important;
    right: 14px !important;
    width: 48px !important;
    height: 48px !important;
    font-size: 24px !important;
  }
}

.mobile-bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #ffffff;
  border-top: 1px solid var(--rst-border);
  box-shadow: 0 -4px 18px rgba(20, 14, 18, 0.08);
  z-index: 1030;
  padding: 6px 0 calc(6px + env(safe-area-inset-bottom, 0px));
}

.mobile-bottom-nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-around;
  max-width: 540px;
  margin: 0 auto;
}

.mobile-nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  color: #645a60;
  font-size: 0.6875rem;
  font-weight: 600;
  gap: 2px;
  padding: 4px 8px;
  position: relative;
  transition: all 0.2s ease;
  min-width: 52px;
  border: none;
  background: transparent;
}

.mobile-nav-item i {
  font-size: 1.15rem;
}

.mobile-nav-item.active,
.mobile-nav-item:hover {
  color: var(--rst-crimson-primary);
}

.mobile-nav-badge {
  position: absolute;
  top: 1px;
  right: calc(50% - 15px);
  font-size: 0.58rem;
  padding: 0.18em 0.42em;
  font-weight: 700;
  background: var(--rst-crimson-primary) !important;
  color: #ffffff;
  border: 1px solid #ffffff;
}

/* ==========================================================
   Checkout, Cart & Gateway Styles
   ========================================================== */
.checkout-processing-overlay {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  background: rgba(20, 14, 18, 0.85);
  backdrop-filter: blur(6px);
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}

.checkout-processing-overlay .overlay-card {
  max-width: 480px;
  width: 100%;
  background: #ffffff;
  border-radius: 1.25rem;
  border: 1px solid var(--rst-gold-border);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.35);
  animation: overlayFadeIn 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes overlayFadeIn {
  from { opacity: 0; transform: scale(0.95); }
  to { opacity: 1; transform: scale(1); }
}

@media print {
  body * { visibility: hidden; }
  #printableOrderNote, #printableOrderNote * { visibility: visible; }
  #printableOrderNote {
    position: absolute;
    left: 0; top: 0; width: 100% !important;
    margin: 0 !important; padding: 24px !important;
    border: none !important; box-shadow: none !important;
    background: #ffffff !important;
  }
  .no-print, .site-header, .site-footer, .mobile-bottom-nav, .floating-whatsapp {
    display: none !important;
  }
}
