/* ============================================================
   AL FARES GOLD – Professional Theme
   Palette: Navy Blue · White · Gold Accent · Warm Gray
   ============================================================ */

/* ── GOOGLE FONTS ─────────────────────────────────────────── */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&family=Poppins:wght@400;500;600;700;800;900&display=swap');

/* ── CSS VARIABLES ──────────────────────────────────────────── */
:root {
  /* Navy palette */
  --navy: #0f2b5b;
  --navy-mid: #1e3a8a;
  --navy-light: #2563eb;
  --navy-xlight: #3b82f6;
  --navy-pale: #eff6ff;

  /* Gold accent */
  --gold: #c9960c;
  --gold-light: #f59e0b;
  --gold-pale: #fef9c3;

  /* Surfaces */
  --white: #ffffff;
  --gray-50: #f8fafc;
  --gray-100: #f1f5f9;
  --gray-200: #e2e8f0;
  --gray-400: #94a3b8;
  --gray-600: #475569;
  --gray-800: #1e293b;
  --gray-900: #0f172a;

  /* Semantic */
  --primary: var(--navy-mid);
  --primary-light: var(--navy-light);
  --primary-xlight: var(--navy-xlight);
  --dark-bg: var(--gray-50);
  --dark-surface: var(--white);
  --dark-card: var(--white);
  --dark-border: var(--gray-200);
  --text-primary: var(--gray-900);
  --text-muted: var(--gray-600);
  --accent: var(--gold-light);

  /* Misc */
  --success: #22c55e;
  --danger: #ef4444;
  --font-heading: 'Poppins', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;
  --transition: 0.3s ease;
  --radius: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --shadow-sm: 0 2px 8px rgba(15, 43, 91, 0.06);
  --shadow: 0 8px 30px rgba(15, 43, 91, 0.08);
  --shadow-lg: 0 20px 60px rgba(15, 43, 91, 0.12);
  --shadow-navy: 0 6px 25px rgba(30, 58, 138, 0.22);
}

/* ── BASE ──────────────────────────────────────────────────── */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  background: var(--dark-bg);
  color: var(--text-primary);
  line-height: 1.7;
  overflow-x: hidden;
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--navy);
}

h5,
h6 {
  font-family: var(--font-body);
  font-weight: 700;
  color: var(--navy);
}

a {
  text-decoration: none;
  transition: color var(--transition);
}

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

/* Utility aliases kept for PHP files */
.text-gold {
  color: var(--navy-light) !important;
}

.bg-gold {
  background: var(--navy-mid) !important;
}

.text-accent {
  color: var(--gold) !important;
}

/* ── TOP BAR ──────────────────────────────────────────────── */
.top-bar {
  background: var(--navy);
  color: #bfdbfe;
  font-size: 0.8rem;
  border-bottom: 2px solid var(--gold);
  position: relative;
  z-index: 1200;
}

/* ── TOP-BAR DROPDOWNS — z-index so they float above all page content ──
   Positioning is handled by Popper.js via data-bs-strategy="fixed" on the
   toggle buttons, which properly escapes overflow/stacking contexts.       */
.top-bar .dropdown-menu {
  z-index: 2000 !important;
}

.top-bar a {
  color: #e0f2fe;
}

.top-bar .years-badge {
  background: var(--gold);
  color: var(--navy);
  font-weight: 700;
  font-size: 0.72rem;
  padding: 2px 10px;
  border-radius: 20px;
  letter-spacing: 0.5px;
}

/* ── SOCIAL ICONS ─────────────────────────────────────────── */
.social-icons-top a {
  color: #93c5fd;
  font-size: 0.95rem;
  transition: all var(--transition);
}

.social-icons-top a:hover {
  color: var(--gold-light);
  transform: translateY(-2px);
}

/* ── LANGUAGE / CURRENCY TOGGLES ─────────────────────────── */
.lang-toggle,
.currency-toggle {
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
  font-size: 0.72rem;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 20px;
  transition: all var(--transition);
}

.lang-toggle:hover,
.currency-toggle:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: var(--gold);
}

/* ── GTRANSLATE – Inline button styled to match top-bar ──── */

/* Outer wrapper: compact pill button matching the top-bar style */
.gt-lang-wrapper {
  display: inline-flex !important;
  align-items: center !important;
  gap: 5px;
  /* 2px gold border — !important so GTranslate's inline styles cannot override */
  border: 2px solid #c9960c !important;
  box-shadow: 0 0 0 2px rgba(201, 150, 12, 0.30), 0 2px 10px rgba(201, 150, 12, 0.20) !important;
  border-radius: 20px;
  padding: 3px 8px 3px 10px;
  background: rgba(255, 255, 255, 0.08) !important;
  color: #fff;
  font-size: 0.72rem;
  font-weight: 600;
  cursor: pointer;
  position: relative !important;
  z-index: 1200 !important;
  overflow: visible !important;
  transition: border 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
  margin-bottom: 2px;
  align-self: center;
  max-width: 145px;
}

.gt-lang-wrapper:hover {
  background: rgba(201, 150, 12, 0.18) !important;
  border-color: #f59e0b !important;
  box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.40), 0 4px 14px rgba(201, 150, 12, 0.30) !important;
}

.gt-lang-wrapper .gt-lang-icon {
  font-size: 0.82rem;
  color: #fff;
  flex-shrink: 0;
  pointer-events: none;
}

/* Force GTranslate wrapper to sit inline — override its injected fixed/absolute */
.gtranslate_wrapper {
  display: inline-block !important;
  position: static !important;
  top: auto !important;
  right: auto !important;
  left: auto !important;
  bottom: auto !important;
  background: transparent !important;
  padding: 0 !important;
  margin: 0 !important;
  box-shadow: none !important;
  border: none !important;
  border-radius: 0 !important;
  z-index: auto !important;
  max-width: 110px;
  /* allow the native OS select panel to render above clipping ancestors */
  overflow: visible !important;
}

/* Style the <select> GTranslate injects — narrow & transparent */
.gtranslate_wrapper select,
.gtranslate_wrapper .gt-current-lang {
  appearance: none;
  -webkit-appearance: none;
  background: transparent !important;
  border: none !important;
  outline: none !important;
  color: #fff !important;
  font-family: var(--font-body) !important;
  font-size: 0.72rem !important;
  font-weight: 600 !important;
  cursor: pointer !important;
  padding: 0 16px 0 2px !important;
  /* right-pad for the custom arrow */
  margin: 0 !important;
  box-shadow: none !important;
  max-width: 108px !important;
  /* keeps the pill narrow */
  width: 100% !important;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  /* White chevron arrow */
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M0 0l5 6 5-6z' fill='%23ffffff'/%3E%3C/svg%3E") !important;
  background-repeat: no-repeat !important;
  background-position: right 0 center !important;
  background-size: 8px !important;
}

/* Dropdown option items — dark text on white for readability */
.gtranslate_wrapper select option,
.gtranslate_wrapper select option:checked,
.gtranslate_wrapper select option:hover {
  color: #1e293b !important;
  /* dark navy-gray text */
  background-color: #ffffff !important;
  background: #ffffff !important;
  font-size: 0.82rem !important;
  font-weight: 500 !important;
  padding: 4px 8px !important;
}

/* If GTranslate renders a flag + text span instead of a select */
.gtranslate_wrapper a,
.gtranslate_wrapper span,
.gtranslate_wrapper .gt-current-lang {
  color: #fff !important;
  text-decoration: none !important;
  font-size: 0.72rem !important;
  font-weight: 600 !important;
}

/* Hide any GTranslate branding / powered-by bar */
.gt-branding,
.goog-te-gadget-icon,
.goog-logo-link,
.goog-te-gadget span {
  display: none !important;
}

/* Hide Google Translate bar and widgets */
.skiptranslate {
  display: none !important;
}

.goog-te-banner-frame {
  display: none !important;
}

.goog-te-gadget-simple {
  display: none !important;
}

.goog-te-gadget {
  display: none !important;
}

/* ── NAVBAR ─────────────────────────────────────────────────── */
.gold-navbar {
  background: rgba(255, 255, 255, 0.97) !important;
  border-bottom: 3px solid var(--gold);
  backdrop-filter: blur(16px);
  padding: 0.55rem 0;
  transition: all var(--transition);
  z-index: 1100;
  box-shadow: 0 2px 15px rgba(15, 43, 91, 0.05);
}

.gold-navbar.scrolled {
  box-shadow: 0 4px 30px rgba(15, 43, 91, 0.1);
}

.brand-icon {
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, var(--navy-mid), var(--navy));
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: var(--gold-light);
  box-shadow: 0 4px 12px rgba(30, 58, 138, 0.3);
}

.brand-name {
  font-family: var(--font-body);
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--navy);
  line-height: 1;
  letter-spacing: -0.5px;
}

.brand-sub {
  font-size: 0.62rem;
  color: var(--navy-light);
  letter-spacing: 1.5px;
  text-transform: uppercase;
  font-weight: 600;
}

.navbar-nav .nav-link {
  color: var(--gray-600) !important;
  font-size: 0.875rem;
  font-weight: 600;
  padding: 0.5rem 0.7rem !important;
  border-radius: 8px;
  transition: all var(--transition);
  position: relative;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
  color: var(--navy-mid) !important;
  background: var(--navy-pale);
}

.navbar-nav .nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 50%;
  transform: translateX(-50%);
  width: 22px;
  height: 2px;
  background: var(--gold);
  border-radius: 1px;
}

/* ── BUTTONS ─────────────────────────────────────────────── */
.btn-gold {
  background: linear-gradient(135deg, var(--navy-mid), var(--navy)) !important;
  color: #fff !important;
  border: none !important;
  font-weight: 700;
  border-radius: 8px;
  padding: 0.65rem 1.6rem;
  transition: all var(--transition);
  box-shadow: var(--shadow-navy);
  display: inline-block !important;
  visibility: visible !important;
  opacity: 1 !important;
}

.btn-gold:hover {
  background: linear-gradient(135deg, var(--gold), var(--gold-light)) !important;
  color: var(--navy);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(201, 150, 12, 0.35);
}

.btn-gold.btn-lg {
  padding: 0.75rem 2rem !important;
  font-size: 1rem !important;
  min-height: 44px !important;
  display: inline-block !important;
}

.btn-gold-outline {
  border: 2px solid var(--navy-mid);
  color: var(--navy-mid);
  background: transparent;
  font-weight: 700;
  border-radius: 8px;
  padding: 0.6rem 1.5rem;
  transition: all var(--transition);
}

.btn-gold-outline:hover {
  background: var(--navy-mid);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: var(--shadow-navy);
}

.btn-accent {
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  color: var(--navy);
  font-weight: 700;
  border: none;
  border-radius: 8px;
  padding: 0.65rem 1.6rem;
  transition: all var(--transition);
  box-shadow: 0 4px 15px rgba(201, 150, 12, 0.25);
}

.btn-accent:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(201, 150, 12, 0.4);
  color: var(--navy);
}

.btn-whatsapp {
  background: linear-gradient(135deg, #25d366, #128c7e);
  color: #fff !important;
  border: none;
  font-weight: 700;
  border-radius: 8px;
  padding: 0.65rem 1.4rem;
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
  transition: all var(--transition);
}

.btn-whatsapp:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(37, 211, 102, 0.45);
  color: #fff !important;
}

/* ── HERO CAROUSEL ─────────────────────────────────────────── */
.hero-carousel {
  position: relative;
}

.hero-slide {
  min-height: 60vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.hero-slide-img {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero-slide-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, rgba(15, 43, 91, 0.88) 40%, rgba(15, 43, 91, 0.4) 100%);
}

.hero-slide .container {
  position: relative;
  z-index: 2;
}

.hero-badge {
  display: inline-block;
  background: rgba(245, 158, 11, 0.18);
  border: 1px solid var(--gold-light);
  color: var(--gold-light);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: 20px;
  margin-bottom: 1.25rem;
}

.hero-title {
  font-family: var(--font-heading);
  font-size: clamp(2.4rem, 5.5vw, 4.5rem);
  font-weight: 700;
  color: #fff;
  line-height: 1.15;
  margin-bottom: 1.5rem;
  letter-spacing: -0.5px;
}

.hero-title span {
  color: var(--gold-light);
}

.hero-sub {
  font-size: 1.1rem;
  color: #bfdbfe;
  max-width: 540px;
  margin-bottom: 2rem;
  line-height: 1.7;
}

.hero-visual-icon {
  font-size: 200px;
  color: rgba(245, 158, 11, 0.08);
  position: absolute;
  right: -30px;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
  line-height: 1;
}

.carousel-control-prev,
.carousel-control-next {
  width: 48px;
  height: 48px;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 50%;
  top: 50%;
  transform: translateY(-50%);
  margin: 0 1.5rem;
  transition: all var(--transition);
  backdrop-filter: blur(8px);
}

.carousel-control-prev:hover,
.carousel-control-next:hover {
  background: var(--gold);
  border-color: var(--gold);
}

.carousel-control-prev {
  left: 1rem;
}

.carousel-control-next {
  right: 1rem;
}

.carousel-indicators button {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  border: none;
  transition: all var(--transition);
}

.carousel-indicators button.active {
  background: var(--gold-light);
  width: 28px;
  border-radius: 5px;
}

/* ── SECTION HEADERS ──────────────────────────────────────── */
.section-badge {
  display: inline-block;
  background: rgba(201, 150, 12, 0.1);
  border: 1px solid rgba(201, 150, 12, 0.35);
  color: var(--gold);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 20px;
  margin-bottom: 0.75rem;
}

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 700;
  color: var(--navy);
  letter-spacing: -0.3px;
}

.section-sub {
  color: var(--text-muted);
  max-width: 560px;
  font-size: 1.05rem;
}

.section-divider {
  width: 56px;
  height: 4px;
  background: linear-gradient(90deg, var(--gold), var(--gold-light), transparent);
  border-radius: 2px;
  margin: 0.75rem 0 0;
}

/* ── PRODUCT CARDS ─────────────────────────────────────────── */
.gold-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all 0.4s ease;
  height: 100%;
  box-shadow: var(--shadow-sm);
}

.gold-card:hover {
  border-color: rgba(30, 58, 138, 0.25);
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.gold-card .card-img-top,
.card-img-placeholder {
  height: 240px;
  object-fit: cover;
  background: var(--gray-100);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
}

.card-img-placeholder {
  font-size: 4.5rem;
  color: var(--gray-400);
}

.gold-card .card-body {
  padding: 1.5rem;
}

.gold-card .card-title {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 0.6rem;
}

.product-purity {
  display: inline-block;
  background: var(--navy-pale);
  color: var(--navy-mid);
  font-size: 0.73rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  padding: 3px 10px;
  border-radius: 4px;
  border: 1px solid rgba(30, 58, 138, 0.2);
}

.product-price {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--navy);
}

.product-price-usd {
  font-size: 0.9rem;
  color: var(--text-muted);
  font-weight: 500;
}

.product-original-price {
  text-decoration: line-through;
  color: var(--gray-400);
  font-size: 0.88rem;
}

.dual-price-inline {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 2px;
}

.badge-discount {
  background: linear-gradient(135deg, #dc2626, #ef4444);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 3px 9px;
  border-radius: 6px;
  box-shadow: 0 2px 8px rgba(220, 38, 38, 0.25);
}

.badge-featured {
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  color: var(--navy);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 3px 9px;
  border-radius: 6px;
}

.card-hover-actions {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(15, 43, 91, 0.9) 70%, transparent);
  padding: 1.5rem 1rem 1rem;
  transform: translateY(100%);
  transition: all 0.4s ease;
}

.gold-card:hover .card-hover-actions {
  transform: translateY(0);
}

/* ── DEAL SECTION ─────────────────────────────────────────── */
.deals-section {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 100%);
}

.deal-card {
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all 0.4s ease;
  backdrop-filter: blur(8px);
}

.deal-card:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: var(--gold);
  transform: translateY(-8px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.25);
}

/* Reduced image holder with object-fit: contain to display deal products beautifully */
.deal-card .deal-img-holder {
  height: 160px; /* Reduced from 200px */
  overflow: hidden;
  background: rgba(255, 255, 255, 0.04);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  transition: background var(--transition);
}

.deal-card:hover .deal-img-holder {
  background: rgba(255, 255, 255, 0.07);
}

.deal-card .deal-img-holder img {
  width: 100%;
  height: 100%;
  object-fit: contain; /* shows the entire product beautifully without cropping */
  padding: 14px; /* padding so it sits elegantly inside the dark themed card */
  transition: transform var(--transition);
}

.deal-card:hover .deal-img-holder img {
  transform: scale(1.08);
}

.deal-card .deal-img-holder .bi-gem {
  font-size: 3.5rem;
  color: var(--gold-light);
  opacity: 0.3;
  transition: transform var(--transition), opacity var(--transition);
}

.deal-card:hover .deal-img-holder .bi-gem {
  transform: scale(1.1) rotate(15deg);
  opacity: 0.5;
}

.deal-card .card-title {
  color: #fff !important;
}

.deal-card .card-text {
  color: #bfdbfe !important;
}

.deal-savings {
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  color: var(--navy);
  font-weight: 800;
  padding: 4px 12px;
  border-radius: 6px;
  font-size: 0.85rem;
}

/* ── CATEGORIES ───────────────────────────────────────────── */
.category-card {
  background: var(--white);
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 2.5rem 1rem 2rem;
  text-align: center;
  transition: all 0.4s ease;
  cursor: pointer;
  display: block;
  color: inherit;
  box-shadow: var(--shadow-sm);
  position: relative;
  overflow: hidden;
}

.category-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--navy-pale), transparent);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.category-card:hover {
  border-color: var(--gold);
  transform: translateY(-8px);
  box-shadow: 0 15px 40px rgba(15, 43, 91, 0.1);
  color: inherit;
}

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

.category-icon {
  font-size: 2.8rem;
  color: var(--navy-mid);
  display: block;
  margin-bottom: 1rem;
  transition: all 0.4s ease;
}

.category-card:hover .category-icon {
  color: var(--gold);
  transform: scale(1.15);
}

.category-img {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: 50%;
  margin-bottom: 1rem;
  border: 3px solid var(--gray-200);
  transition: all 0.4s ease;
}

.category-card:hover .category-img {
  border-color: var(--gold);
  transform: scale(1.05);
}

.category-card h5 {
  color: var(--navy);
  font-weight: 700;
  font-size: 1rem;
  margin-bottom: 0.35rem;
}

/* ── VIDEO GALLERY ────────────────────────────────────────── */
.video-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all 0.4s ease;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
}

.video-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--navy-light);
}

.video-thumb {
  position: relative;
  overflow: hidden;
  height: 200px;
  background: var(--navy);
}

.video-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.video-card:hover .video-thumb img {
  transform: scale(1.05);
}

.video-play-btn {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(15, 43, 91, 0.45);
  transition: all 0.3s ease;
}

.video-card:hover .video-play-btn {
  background: rgba(15, 43, 91, 0.6);
}

.play-circle {
  width: 60px;
  height: 60px;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--navy-mid);
  transition: all 0.3s ease;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.video-card:hover .play-circle {
  background: var(--gold);
  color: var(--navy);
  transform: scale(1.1);
}

/* ── TESTIMONIALS ─────────────────────────────────────────── */
.testimonial-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-xl);
  padding: 2.5rem;
  height: 100%;
  position: relative;
  transition: all 0.4s ease;
  box-shadow: var(--shadow-sm);
}

.testimonial-card::before {
  content: '\201C';
  position: absolute;
  top: 1rem;
  left: 1.5rem;
  font-size: 5rem;
  line-height: 1;
  font-family: Georgia, serif;
  color: rgba(201, 150, 12, 0.15);
  pointer-events: none;
}

.testimonial-card:hover {
  border-color: var(--gold);
  box-shadow: var(--shadow-lg);
}

.testimonial-avatar-placeholder {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--navy-mid), var(--navy));
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.2rem;
  font-weight: 700;
  flex-shrink: 0;
}

.stars-display .bi-star-fill {
  color: #f59e0b !important;
}

.stars-display .bi-star {
  color: #cbd5e1 !important;
}

/* ── RATING SUMMARY ───────────────────────────────────────── */
.rating-summary-box {
  background: linear-gradient(135deg, var(--navy-pale), var(--white));
  border: 1px solid rgba(30, 58, 138, 0.15);
  border-radius: var(--radius-xl);
  padding: 2.5rem;
  text-align: center;
  box-shadow: var(--shadow);
}

.rating-number {
  font-size: 4rem;
  font-weight: 800;
  color: var(--navy);
  line-height: 1;
}

/* ── STATS SECTION ────────────────────────────────────────── */
.stats-section {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 100%);
}

.stat-box {
  text-align: center;
  padding: 2rem 1.5rem;
}

.stat-number {
  font-family: var(--font-heading);
  font-size: 3.5rem;
  font-weight: 700;
  color: var(--gold-light);
  line-height: 1;
}

.stat-label {
  color: #bfdbfe;
  font-size: 0.95rem;
  font-weight: 500;
  margin-top: 0.5rem;
}

.stat-divider {
  width: 1px;
  background: rgba(255, 255, 255, 0.15);
}

/* ── BENEFIT CARDS ────────────────────────────────────────── */
.benefit-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 2.5rem 1.5rem;
  text-align: center;
  transition: all 0.4s ease;
  box-shadow: var(--shadow-sm);
  height: 100%;
}

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

.benefit-icon-box {
  width: 72px;
  height: 72px;
  border-radius: 18px;
  background: var(--navy-pale);
  border: 1px solid rgba(30, 58, 138, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: var(--navy-mid);
  margin: 0 auto 1.25rem;
  transition: all 0.4s ease;
}

.benefit-card:hover .benefit-icon-box {
  background: var(--navy-mid);
  color: #fff;
  border-color: var(--navy-mid);
}

/* ── FORMS ────────────────────────────────────────────────── */
.form-control,
.form-select {
  background: var(--white);
  border: 1.5px solid var(--gray-200);
  color: var(--text-primary);
  border-radius: 8px;
  padding: 0.8rem 1.1rem;
  transition: all var(--transition);
  box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.02);
  display: block !important;
  width: 100% !important;
}

.form-control:focus,
.form-select:focus {
  border-color: var(--navy-light);
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.12);
  background: #fff;
  color: var(--gray-900);
}

.form-control::placeholder {
  color: var(--gray-400);
}

.form-label {
  color: var(--navy);
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 0.4rem;
}

.input-group-text {
  background: var(--gray-100);
  border: 1.5px solid var(--gray-200);
  color: var(--navy-mid);
}

/* ── INQUIRY WRAP ─────────────────────────────────────────── */
.inquiry-form-wrap {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-xl);
  padding: 2.5rem;
  box-shadow: var(--shadow);
}

/* ── PAGINATION ───────────────────────────────────────────── */
.page-link {
  background: var(--white);
  border-color: var(--gray-200);
  color: var(--navy);
  font-weight: 600;
}

.page-link:hover {
  background: var(--navy-pale);
  border-color: var(--navy-light);
  color: var(--navy-light);
}

.page-item.active .page-link {
  background: var(--navy-mid);
  border-color: var(--navy-mid);
  color: #fff;
}

/* ── BREADCRUMB ───────────────────────────────────────────── */
.gold-breadcrumb {
  background: var(--white);
  border-bottom: 1px solid var(--gray-200);
  padding: 1rem 0;
  font-size: 0.875rem;
}

.breadcrumb-item a {
  color: var(--navy-light);
  font-weight: 500;
}

.breadcrumb-item.active {
  color: var(--text-muted);
}

.breadcrumb-item+.breadcrumb-item::before {
  color: var(--gray-400);
}

/* ── PAGE HERO ────────────────────────────────────────────── */
.page-hero {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 60%, var(--navy-light) 100%);
  padding: 0.135rem 0 0.105rem;
  position: relative;
  overflow: hidden;
}

.page-hero::after {
  content: '';
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  width: 45%;
  background: radial-gradient(ellipse at right, rgba(245, 158, 11, 0.06), transparent);
}

.page-hero .breadcrumb {
  margin-bottom: 0.5rem !important;
}

.page-hero .section-badge {
  font-size: 0.75rem !important;
}

.page-hero .hero-title {
  color: #fff !important;
  font-size: 1.5rem !important;
  margin-top: 0.25rem !important;
}

.page-hero .hero-sub {
  color: #bfdbfe !important;
  font-size: 0.875rem !important;
}

.page-hero .section-badge {
  background: rgba(245, 158, 11, 0.15) !important;
  border-color: var(--gold-light) !important;
  color: var(--gold-light) !important;
}

.page-hero .breadcrumb-item a {
  color: #93c5fd;
}

.page-hero .breadcrumb-item.active {
  color: #bfdbfe;
}

.page-hero .breadcrumb-item+.breadcrumb-item::before {
  color: rgba(255, 255, 255, 0.4);
}

/* ── PRODUCT DETAIL ───────────────────────────────────────── */
.product-image-main {
  width: 100%;
  height: 460px;
  object-fit: contain;
  background: var(--gray-50);
  border-radius: var(--radius-lg);
  border: 1px solid var(--gray-200);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
}

.product-image-placeholder {
  width: 100%;
  height: 460px;
  background: linear-gradient(135deg, var(--gray-100), var(--gray-50));
  border-radius: var(--radius-lg);
  border: 1px solid var(--gray-200);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 8rem;
  color: var(--gray-400);
}

.min-order-badge {
  background: var(--navy-pale);
  border: 1px solid rgba(30, 58, 138, 0.2);
  color: var(--navy-mid);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 6px;
}

/* ── ANNIVERSARY HERO SECTION ───────────────────────────── */
.ann-hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background-size: contain;
  background-repeat: no-repeat;
  background-attachment: scroll;
  background-position: center;
  overflow: hidden;
  padding: 3rem 0;
}

.ann-hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(15, 43, 91, 0.92) 0%, rgba(7, 18, 41, 0.88) 50%, rgba(10, 26, 56, 0.9) 100%);
  z-index: 1;
}

.ann-hero-section > .container {
  position: relative;
  z-index: 2;
}

.ann-hero-logo {
  display: block;
  max-width: 100%;
  height: auto;
  object-fit: contain;
  animation: slideDown 0.8s ease-out;
}

.ann-hero-badge {
  display: block;
  max-width: 100%;
  height: auto;
  object-fit: contain;
  animation: zoomIn 0.8s ease-out;
}

.ann-hero-badge-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 140px;
  font-size: 3rem;
  color: var(--gold-light);
  opacity: 0.5;
}

.ann-hero-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(2.4rem, 5vw, 4.5rem);
  font-weight: 700;
  color: var(--gold-light);
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
}

.ann-hero-subtitle {
  font-size: clamp(1rem, 2.5vw, 1.3rem);
  color: rgba(255, 255, 255, 0.85);
  font-weight: 300;
  margin-bottom: 0;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* Prize Showcase Grid */
.ann-prize-showcase {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(201, 150, 12, 0.2);
  border-radius: 12px;
  padding: 1.5rem;
  text-align: center;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 200px;
  backdrop-filter: blur(10px);
}

.ann-prize-showcase:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(201, 150, 12, 0.4);
  transform: translateY(-8px);
  box-shadow: 0 12px 32px rgba(201, 150, 12, 0.15);
}

.ann-prize-image {
  max-width: 100%;
  max-height: 120px;
  height: auto;
  object-fit: contain;
  margin-bottom: 1rem;
}

.ann-prize-placeholder {
  font-size: 3rem;
  color: var(--gold-light);
  opacity: 0.4;
  margin-bottom: 1rem;
}

.ann-prize-label {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--white);
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Giveaway Content */
.ann-content-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(1.5rem, 4vw, 2.8rem);
  font-weight: 700;
  color: var(--gold-light);
  margin-bottom: 1.5rem;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.ann-content-description {
  font-size: clamp(1rem, 1.5vw, 1.15rem);
  color: rgba(255, 255, 255, 0.9);
  font-weight: 300;
  line-height: 1.6;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 0;
}

/* Animations */
@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes zoomIn {
  from {
    opacity: 0;
    transform: scale(0.8);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  .ann-hero-section {
    min-height: auto;
    padding: 2rem 0;
  }

  .ann-hero-logo {
    max-height: 60px;
  }

  .ann-hero-badge {
    max-height: 100px;
  }

  .ann-prize-showcase {
    min-height: 160px;
    padding: 1rem;
  }

  .ann-prize-image {
    max-height: 80px;
  }

  .ann-prize-label {
    font-size: 0.85rem;
  }
}

/* ── FOOTER ───────────────────────────────────────────────── */
.gold-footer {
  background: var(--navy);
}

.footer-top {
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding: 5rem 0 3rem;
}

.footer-heading {
  color: var(--gold-light);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}

.footer-links a {
  color: #93c5fd;
  font-size: 0.9rem;
  transition: all var(--transition);
  display: block;
  margin-bottom: 0.6rem;
}

.footer-links a:hover {
  color: var(--gold-light);
  padding-left: 6px;
}

.gold-footer p.text-muted,
.gold-footer .text-muted {
  color: #93c5fd !important;
}

.footer-bottom {
  background: var(--gray-900);
  padding: 1.5rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-bottom p {
  color: #64748b;
  font-size: 0.85rem;
}

.footer-social-icon {
  color: #93c5fd;
  font-size: 1.2rem;
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition);
}

.footer-social-icon:hover {
  color: var(--navy);
  background: var(--gold-light);
  transform: translateY(-3px);
}

.footer-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(245, 158, 11, 0.1);
  border: 1px solid rgba(245, 158, 11, 0.25);
  color: var(--gold-light);
  font-size: 0.8rem;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 8px;
  margin-bottom: 0.5rem;
}

/* ── WHATSAPP FLOAT ───────────────────────────────────────── */
.whatsapp-float {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 64px;
  height: 64px;
  background: linear-gradient(135deg, #25d366, #128c7e);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: #fff !important;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.5);
  z-index: 9999;
  transition: all var(--transition);
  animation: waPulse 2.5s ease-in-out infinite;
}

.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 8px 30px rgba(37, 211, 102, 0.6);
  color: #fff !important;
}

@keyframes waPulse {

  0%,
  100% {
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4), 0 0 0 0 rgba(37, 211, 102, 0.35);
  }

  50% {
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4), 0 0 0 16px rgba(37, 211, 102, 0);
  }
}

.wa-tooltip {
  position: absolute;
  right: 76px;
  background: var(--navy);
  color: #fff;
  font-weight: 600;
  font-size: 0.82rem;
  white-space: nowrap;
  padding: 8px 16px;
  border-radius: 8px;
  box-shadow: var(--shadow);
  opacity: 0;
  pointer-events: none;
  transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
  transform: translateX(10px);
}

.whatsapp-float:hover .wa-tooltip {
  opacity: 1;
  transform: translateX(0);
}

/* ── BACK-TO-TOP BUTTON ───────────────────────────────────── */
.back-to-top-btn {
  position: fixed;
  bottom: 28px;
  right: 100px;
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, var(--navy-mid), var(--navy));
  border: none;
  border-radius: 50%;
  color: #fff !important;
  font-size: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 9998;
  box-shadow: 0 4px 20px rgba(15, 43, 91, 0.4);
  transition: all var(--transition);
  opacity: 0;
  visibility: hidden;
  transform: scale(0);
}

.back-to-top-btn.show {
  opacity: 1;
  visibility: visible;
  transform: scale(1);
}

.back-to-top-btn:hover {
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  color: var(--navy) !important;
  transform: scale(1.1) translateY(-3px);
  box-shadow: 0 8px 30px rgba(245, 158, 11, 0.5);
}

/* ── ADMIN PANEL ──────────────────────────────────────────── */
.admin-sidebar {
  min-height: 100vh;
  background: var(--white);
  border-right: 1px solid var(--gray-200);
  width: 260px;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 100;
  overflow-y: auto;
  box-shadow: 2px 0 15px rgba(15, 43, 91, 0.04);
}

.admin-content {
  margin-left: 260px;
  min-height: 100vh;
  background: var(--gray-50);
  overflow-x: hidden;
  overflow-y: auto;
  max-width: calc(100vw - 260px);
  min-width: 0; /* Prevents overflow stretching on flex containers */
}

.admin-nav-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--text-muted);
  padding: 0.9rem 1.5rem;
  font-size: 0.875rem;
  font-weight: 600;
  border-left: 4px solid transparent;
  transition: all var(--transition);
  text-decoration: none;
}

.admin-nav-link:hover,
.admin-nav-link.active {
  color: var(--navy-mid);
  background: var(--navy-pale);
  border-left-color: var(--gold);
}

.admin-header {
  background: var(--white);
  border-bottom: 1px solid var(--gray-200);
  padding: 1.25rem 1.5rem;
  overflow: visible;
}

.admin-card {
  background: var(--white);
  border: 2px solid var(--gray-300);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
  overflow: visible;
  transition: border-color var(--transition);
}

.admin-card .table-responsive {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

/* Prevent global width:100% from breaking small inline inputs */
.form-control.form-control-sm[style*="width: 70px"],
input[type="number"][style*="width: 70px"],
input[type="number"][style*="width:70px"] {
  width: 70px !important;
  min-width: 70px !important;
}
.form-control.form-control-sm[style*="width: 100px"],
input[type="number"][style*="width: 100px"],
input[type="number"][style*="width:100px"] {
  width: 100px !important;
  min-width: 100px !important;
}

.admin-card:hover {
  border-color: var(--navy-light);
}

form {
  width: 100%;
}

.stat-mini {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 1.5rem;
  display: flex;
  align-items: center;
  gap: 1.25rem;
  transition: all var(--transition);
  box-shadow: var(--shadow-sm);
}

.stat-mini:hover {
  border-color: rgba(201, 150, 12, 0.4);
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

.stat-mini-icon {
  width: 56px;
  height: 56px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
}

.footer-heading.admin-heading {
  color: var(--navy);
}

/* Tables */
.table {
  color: var(--text-primary);
}

.table th {
  color: var(--navy);
  font-weight: 700;
  border-color: var(--gray-200) !important;
  background: var(--gray-50) !important;
  font-size: 0.8rem;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.table td {
  border-color: var(--gray-200) !important;
  vertical-align: middle;
}

.table-dark {
  --bs-table-bg: transparent;
  --bs-table-color: var(--text-primary);
}

.table-hover tbody tr:hover td {
  background: var(--navy-pale);
}

/* ── SECTION COLORS ───────────────────────────────────────── */
.section-white {
  background: var(--white);
}

.section-gray {
  background: var(--gray-50);
}

.section-navy {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 100%);
}

.section-navy * {
  color: inherit;
}

.section-navy h2,
.section-navy h3,
.section-navy .section-title {
  color: #fff !important;
}

.section-navy .section-sub,
.section-navy p {
  color: #bfdbfe !important;
}

.section-navy .section-badge {
  background: rgba(245, 158, 11, 0.15) !important;
  border-color: var(--gold-light) !important;
  color: var(--gold-light) !important;
}

/* ── SCROLLBAR ────────────────────────────────────────────── */
::-webkit-scrollbar { width: 11px; }
::-webkit-scrollbar-track { background: var(--gray-100); }
::-webkit-scrollbar-thumb { background: var(--gray-400); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--navy-light); }

/* ── VIDEO MODAL ──────────────────────────────────────────── */
#videoModal .modal-content {
  background: var(--navy);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-lg);
}
#videoModal .modal-header { border-bottom: 1px solid rgba(255, 255, 255, 0.1); }
#videoModal .modal-title { color: var(--gold-light); }
#videoModal .btn-close { filter: invert(1); }

/* ── BACK TO TOP BUTTON ──────────────────────────────────────── */
.back-to-top-btn {
  position: fixed;
  bottom: 90px;  /* sits directly above the WhatsApp float button */
  right: 28px;
  z-index: 9999;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: none;
  background: linear-gradient(135deg, var(--navy-mid), var(--navy));
  color: #fff;
  font-size: 1.4rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 4px 18px rgba(30, 58, 138, 0.35);
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity .25s ease, visibility .25s ease, transform .25s ease, background .25s ease, box-shadow .25s ease;
}
.back-to-top-btn.show { opacity: 1; visibility: visible; transform: translateY(0); }
.back-to-top-btn:hover {
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  color: var(--navy);
  box-shadow: 0 6px 22px rgba(201, 150, 12, 0.45);
  transform: translateY(-3px);
}
.admin-back-to-top { bottom: 24px; right: 24px; }

/* ── RTL ──────────────────────────────────────────────────── */
[dir="rtl"] {
  font-family: 'Segoe UI', Tahoma, var(--font-body);
}


[dir="rtl"] .footer-links a:hover {
  padding-left: 0;
  padding-right: 6px;
}

[dir="rtl"] .section-divider {
  background: linear-gradient(270deg, var(--gold), var(--gold-light), transparent);
}

[dir="rtl"] .admin-sidebar {
  left: auto;
  right: 0;
  border-right: none;
  border-left: 1px solid var(--gray-200);
}

[dir="rtl"] .admin-content {
  margin-left: 0;
  margin-right: 260px;
}

[dir="rtl"] .admin-nav-link {
  border-left: none;
  border-right: 4px solid transparent;
}

[dir="rtl"] .admin-nav-link:hover,
[dir="rtl"] .admin-nav-link.active {
  border-right-color: var(--gold);
}

[dir="rtl"] .navbar-nav .nav-link.active::after {
  left: auto;
  right: 50%;
  transform: translateX(50%);
}

[dir="rtl"] .text-start {
  text-align: right !important;
}

[dir="rtl"] .ms-auto {
  margin-right: auto !important;
  margin-left: 0 !important;
}

/* ── RESPONSIVE ───────────────────────────────────────────── */
@media (max-width: 991px) {
  .hero-slide {
    min-height: 50vh;
  }

  .admin-sidebar {
    position: relative;
    width: 100%;
    min-height: auto;
  }

  .admin-content {
    margin-left: 0 !important;
    margin-right: 0 !important;
    max-width: 100vw;
  }
}

@media (max-width: 767px) {
  .hero-title {
    font-size: 2.2rem !important;
  }

  .hero-slide {
    min-height: 40vh;
  }

  .whatsapp-float {
    bottom: 18px;
    right: 16px;
    width: 56px;
    height: 56px;
    font-size: 1.6rem;
  }

  .back-to-top-btn {
    bottom: 90px;
    right: 16px;
    width: 48px;
    height: 48px;
    font-size: 1.2rem;
  }

  .benefit-card,
  .category-card {
    padding: 1.5rem 1rem;
  }

  .deals-section .section-title {
    font-size: 1.8rem !important;
  }
}

/* ── BACK TO TOP BUTTON ──────────────────────────────────────── */
.back-to-top-btn {
  position: fixed;
  bottom: 90px;          /* stacks above the WhatsApp float (which is at bottom:30px) */
  right: 28px;
  z-index: 9999;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: none;
  background: linear-gradient(135deg, var(--navy-mid), var(--navy));
  color: #fff;
  font-size: 1.4rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 4px 18px rgba(30, 58, 138, 0.35);
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity .25s ease, visibility .25s ease, transform .25s ease, background .25s ease, box-shadow .25s ease;
}

.back-to-top-btn.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top-btn:hover {
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  color: var(--navy);
  box-shadow: 0 6px 22px rgba(201, 150, 12, 0.45);
  transform: translateY(-3px);
}

/* Admin variant – no WhatsApp button so sits lower */
.admin-back-to-top {
  bottom: 28px;
  right: 24px;
}

/* Mobile: WhatsApp sits lower, so back-to-top still above it */
@media (max-width: 767px) {
  .back-to-top-btn {
    bottom: 88px;
    right: 16px;
    width: 42px;
    height: 42px;
    font-size: 1.2rem;
  }
}

/* ============================================================
   REDESIGNED ADVERT MODAL & GIVEAWAY PAGE STYLES
   ============================================================ */
:root {
  --gold-gradient: linear-gradient(135deg, #c9960c 0%, #f59e0b 100%);
  --gold-glow: 0 0 15px rgba(245, 158, 11, 0.4);
  --navy-gradient: linear-gradient(135deg, #0f2b5b 0%, #1e3a8a 100%);
  --glass-bg: rgba(255, 255, 255, 0.08);
  --glass-border: rgba(255, 255, 255, 0.12);
}

@keyframes modalScaleIn {
  from {
    opacity: 0;
    transform: scale(0.9) translateY(20px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

.animate-scale-in {
  animation: modalScaleIn 0.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.advert-modal-content {
  background: var(--navy) !important;
  border: 2px solid var(--gold) !important;
  border-radius: var(--radius-lg) !important;
  overflow: hidden;
  color: #fff !important;
  box-shadow: var(--shadow-lg), var(--gold-glow) !important;
}

.advert-modal-split {
  display: flex;
  flex-direction: row;
  min-height: 450px;
}

.advert-modal-left {
  flex: 1.1;
  position: relative;
  background: #000;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.advert-modal-right {
  flex: 0.9;
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: linear-gradient(145deg, #0f2b5b 0%, #0a1e3f 100%);
  border-left: 1px solid var(--glass-border);
}

@media (max-width: 768px) {
  .advert-modal-split {
    flex-direction: column;
  }
  .advert-modal-left {
    height: 250px;
    flex: none;
  }
  .advert-modal-right {
    flex: none;
    padding: 1.5rem;
    border-left: none;
    border-top: 1px solid var(--glass-border);
  }
}

.advert-badge-floating {
  position: absolute;
  top: 15px;
  left: 15px;
  z-index: 10;
  background: var(--gold-gradient);
  color: var(--navy) !important;
  font-weight: 800;
  padding: 6px 14px;
  border-radius: 30px;
  font-size: 0.8rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.advert-badge-discount {
  position: absolute;
  top: 15px;
  right: 15px;
  z-index: 10;
  background: #ef4444;
  color: #fff;
  font-weight: 800;
  padding: 8px 16px;
  border-radius: 8px;
  font-size: 1.1rem;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.btn-gold-action {
  background: var(--gold-gradient);
  color: var(--navy) !important;
  font-weight: 700;
  border: none;
  transition: all var(--transition);
  box-shadow: 0 4px 15px rgba(201, 150, 12, 0.3);
}

.btn-gold-action:hover {
  background: linear-gradient(135deg, #f59e0b 0%, #c9960c 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(201, 150, 12, 0.5);
}

.advert-close-btn {
  background: rgba(255, 255, 255, 0.15) !important;
  border: 1px solid rgba(255, 255, 255, 0.2) !important;
  border-radius: 50% !important;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff !important;
  position: absolute;
  top: 15px;
  right: 15px;
  z-index: 99;
  transition: all 0.2s ease;
}

.advert-close-btn:hover {
  background: rgba(255, 255, 255, 0.3) !important;
  transform: rotate(90deg);
}

/* Giveaway Page Elements */
.giveaway-header-card {
  background: linear-gradient(135deg, var(--navy) 0%, #0a1e3f 100%);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  color: #fff;
  margin-bottom: 2rem;
  position: relative;
  overflow: hidden;
}

.giveaway-header-card h1 {
  color: #fff !important;
  font-size: 2.5rem;
}

.giveaway-header-card::after {
  content: '';
  position: absolute;
  top: -50%;
  right: -30%;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(201, 150, 12, 0.15) 0%, transparent 70%);
  pointer-events: none;
}

.giveaway-countdown-container {
  background: rgba(15, 43, 91, 0.5);
  border: 1px solid rgba(201, 150, 12, 0.3);
  border-radius: var(--radius);
  padding: 1.5rem;
  display: flex;
  justify-content: space-around;
  align-items: center;
  margin-bottom: 2rem;
  box-shadow: inset 0 0 10px rgba(0,0,0,0.2);
}

.countdown-item {
  text-align: center;
  flex: 1;
}

.countdown-item:not(:last-child) {
  border-right: 1px solid rgba(255, 255, 255, 0.1);
}

.countdown-value {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--gold-light);
  text-shadow: 0 2px 4px rgba(0,0,0,0.3);
  line-height: 1.2;
}

.countdown-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--gray-400);
  margin-top: 4px;
}

.giveaway-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  height: 100%;
}

.giveaway-sidebar-img {
  width: 100%;
  height: 320px;
  object-fit: cover;
}

.step-card {
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 1.25rem;
  transition: all var(--transition);
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  height: 100%;
}

.step-card:hover {
  border-color: var(--gold-light);
  transform: translateY(-2px);
  background: #fff;
  box-shadow: var(--shadow-sm);
}

.step-icon {
  background: var(--navy-pale);
  color: var(--navy);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  font-weight: 700;
  flex-shrink: 0;
}

.step-card:hover .step-icon {
  background: var(--gold-gradient);
  color: var(--navy);
}

.input-glow:focus {
  border-color: var(--gold-light) !important;
  box-shadow: 0 0 0 0.25rem rgba(245, 158, 11, 0.25) !important;
}

.giveaway-card-header-gradient {
  background: var(--navy-gradient) !important;
  color: #fff !important;
  border-bottom: 2px solid var(--gold) !important;
  padding: 1.25rem 1.5rem !important;
}

.winner-item {
  border-bottom: 1px dashed var(--gray-200);
  padding-bottom: 8px;
  margin-bottom: 8px;
}

.winner-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
  margin-bottom: 0;
}

.winner-badge {
  background: var(--navy-pale);
  color: var(--navy);
  font-size: 0.75rem;
  padding: 2px 8px;
  border-radius: 12px;
  font-weight: 600;
}

/* ============================================================
   30TH ANNIVERSARY SPECIAL GIVEAWAY PAGE STYLES
   ============================================================ */
.anniversary-bg {
  background: radial-gradient(circle at top, #0f2b5b 0%, #050f24 70%, #020712 100%) !important;
  color: #fff !important;
  min-height: 100vh;
}

.gold-text-glow {
  color: #f59e0b !important;
  text-shadow: 0 0 12px rgba(245, 158, 11, 0.5);
  font-family: 'Playfair Display', serif;
}

@keyframes floatParticles {
  0% { transform: translateY(0) rotate(0deg); opacity: 0; }
  20% { opacity: 0.5; }
  80% { opacity: 0.5; }
  100% { transform: translateY(-150px) rotate(360deg); opacity: 0; }
}

.particle {
  position: absolute;
  background: radial-gradient(circle, rgba(245, 158, 11, 0.7) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
  animation: floatParticles 8s infinite linear;
}

.anniversary-countdown {
  background: rgba(10, 30, 63, 0.45);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(201, 150, 12, 0.35);
  border-radius: 24px;
  padding: 2.2rem;
  box-shadow: 0 20px 50px rgba(0,0,0,0.6), inset 0 0 20px rgba(201,150,12,0.15);
}

.anniversary-countdown .countdown-item:not(:last-child) {
  border-right: 1px solid rgba(201, 150, 12, 0.25);
}

.anniversary-countdown .countdown-value {
  font-size: 3.4rem;
  color: #f59e0b;
  text-shadow: 0 0 18px rgba(245,158,11,0.65);
  font-weight: 800;
  font-family: var(--font-heading);
}

@keyframes pulseGlow {
  0% { box-shadow: 0 0 0 0 rgba(245, 158, 11, 0.6); transform: scale(1); }
  70% { box-shadow: 0 0 25px 12px rgba(245, 158, 11, 0); transform: scale(1.02); }
  100% { box-shadow: 0 0 0 0 rgba(245, 158, 11, 0); transform: scale(1); }
}

.btn-anniversary-cta {
  background: linear-gradient(135deg, #c9960c 0%, #f59e0b 50%, #d4a574 100%);
  background-size: 200% auto;
  color: #050f24 !important;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 2px;
  border: 2px solid rgba(255, 255, 255, 0.4);
  padding: 1.4rem 4rem;
  font-size: 1.35rem;
  border-radius: 50px;
  box-shadow: 0 10px 30px rgba(245, 158, 11, 0.4);
  animation: pulseGlow 2.5s infinite ease-in-out;
  transition: all 0.4s ease;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.btn-anniversary-cta:hover {
  background-position: right center;
  transform: scale(1.06) translateY(-4px) !important;
  box-shadow: 0 15px 35px rgba(245, 158, 11, 0.6);
  border-color: #ffffff;
}

@keyframes goldShine {
  0% { left: -100%; }
  100% { left: 100%; }
}

.anniversary-card {
  background: linear-gradient(145deg, rgba(15, 43, 91, 0.65) 0%, rgba(5, 15, 36, 0.9) 100%) !important;
  border: 1px solid rgba(201, 150, 12, 0.25) !important;
  border-radius: 24px !important;
  overflow: hidden;
  position: relative;
  transition: all 0.4s ease;
  height: 100%;
  box-shadow: 0 15px 35px rgba(0,0,0,0.45);
}

.anniversary-card:hover {
  transform: translateY(-10px);
  border-color: #f59e0b !important;
  box-shadow: 0 20px 45px rgba(245, 158, 11, 0.3) !important;
}

.anniversary-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 50%;
  height: 100%;
  background: linear-gradient(to right, transparent, rgba(255,255,255,0.18), transparent);
  transform: skewX(-25deg);
  transition: 0.75s;
  pointer-events: none;
}

.anniversary-card:hover::before {
  animation: goldShine 1.2s ease;
}

.anniversary-card img {
  transition: transform 0.6s ease;
}

.anniversary-card:hover img {
  transform: scale(1.06);
}

.anniversary-hero {
  position: relative;
  height: 75vh;
  min-height: 550px;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-bottom: 3px solid #c9960c;
}

@media (max-width: 768px) {
  .anniversary-hero {
    background-attachment: scroll;
    height: 55vh;
  }
}

.anniversary-hero::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, rgba(5, 15, 36, 0.25) 0%, rgba(5, 15, 36, 0.92) 100%);
  z-index: 1;
}

.anniversary-hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: #fff;
  max-width: 850px;
  padding: 0 2rem;
}

.anniversary-divider {
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(245, 158, 11, 0.5), transparent);
  margin: 3rem 0;
}

.anniversary-badge {
  background: rgba(245, 158, 11, 0.1);
  border: 1px solid rgba(245, 158, 11, 0.3);
  color: #f59e0b !important;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-size: 0.8rem;
  padding: 6px 16px;
  border-radius: 30px;
  display: inline-block;
}


