/* ── RESET & ROOT ── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --bg: #F0F5FF;
  --glass: rgba(255,255,255,0.28);
  --glass-strong: rgba(255,255,255,0.50);
  --glass-border: rgba(255,255,255,0.48);
  --glass-shadow: 0 8px 40px rgba(80,100,140,0.10);
  --glass-shadow-hover: 0 20px 64px rgba(80,100,140,0.18);
  --text: #2D3E4F;
  --text-muted: #6B7F94;
  --accent-sage: #C6DDB8;
  --accent-lavender: #D9C9F0;
  --accent-blush: #F0C9D9;
  --accent-gold: #E8C98A;
  --deep-rose: #C4547A;
  --radius: 22px;
  --serif: 'Cormorant Garamond', serif;
  --sans: 'DM Sans', sans-serif;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  font-weight: 300;
  color: var(--text);
  background: var(--bg);
  overflow-x: hidden;
  min-height: 100vh;
}

/* shared icon tweaks */
.icon-btn i {
  font-size: 16px;
}

.top-bar-center i {
  margin-right: 6px;
}

/* Bootstrap overrides used by navbar */
.btn { font-family: var(--sans) !important; }
.btn:focus,
.btn:focus-visible {
  box-shadow: none !important;
  outline: none !important;
}
.navbar { padding: 0 !important; }
.navbar-toggler {
  border: none !important;
  padding: 6px 8px;
}
.navbar-toggler:focus { box-shadow: none !important; }
.navbar-collapse { flex-basis: auto; }
.row { --bs-gutter-x: 1.5rem; }

/* ── TOP BAR ── */
  .top-bar {
    position: relative; z-index: 300;
    background: rgba(255,255,255,0.18);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255,255,255,0.30);
    padding: 9px 0;
    font-size: 11.5px; font-weight: 400;
    letter-spacing: 0.03em; color: var(--text-muted);
  }
  .top-bar-center { font-weight: 500; color: var(--text); }
  .top-bar-center span { color: var(--text-muted); font-weight: 300; }
  .top-bar a { text-decoration: none; color: var(--text-muted); transition: color .2s; font-size: 11.5px; }
  .top-bar a:hover { color: var(--text); }

  /* ── HEADER / NAV ── */
  .site-header {
    position: sticky; top: 0; z-index: 500;
    background: rgba(240,245,255,0.02);
    backdrop-filter: blur(22px); -webkit-backdrop-filter: blur(22px);
    border-bottom: 1px solid rgba(255,255,255,0.42);
    box-shadow: 0 2px 20px rgba(80,100,140,0.07);
    transition: background .3s, box-shadow .3s;
  }
  .site-header .navbar { min-height: 72px; }

  .logo { display: flex; align-items: center; gap: 11px; text-decoration: none; flex-shrink: 0; }
  .logo-icon img{
    width: 55px; height: 55px;
    display: flex; align-items: center; justify-content: center;
  }
  .logo-text { font-family: var(--serif); font-size: 1.35rem; font-weight: 500; color: var(--text); line-height: 1; }
  .logo-text em { display: block; font-style: italic; font-weight: 300; font-size: 9.5px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--text-muted); margin-top: 2px; }

  /* Nav links — override Bootstrap */
  .nav-menu .nav-link {
    color: var(--text-muted) !important;
    font-family: var(--sans);
    font-size: 12.5px; font-weight: 400; letter-spacing: 0.04em;
    padding: 8px 13px !important; border-radius: 50px;
    transition: all .2s;
  }
  .nav-menu .nav-link:hover { color: var(--text) !important; background: rgba(255,255,255,0.48); }
  .nav-menu .nav-link.active { color: var(--text) !important; font-weight: 800; background: rgb(163, 233, 176); }

  /* MOBILE NAV PANEL */
.navbar-collapse.show,
.navbar-collapse.collapsing {
  background: rgba(240,245,255,0.92);
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
  border-top: 1px solid rgba(255,255,255,0.42);
  padding: 12px 0 16px;
  margin-top: 4px;
  border-radius: 0 0 20px 20px;

  /*allow scrolling if mobile view */
  max-height: 80vh;
  overflow-y: auto;
}

/* TOGGLER ICON */
.navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='%232D3E4F' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") !important;
}

/* DROPDOWN ARROW */
.nav-menu .dropdown-toggle::after {
  margin-left: 6px;
  vertical-align: middle;
}

/* MEGA MENU */
.dropdown-menu.mega-menu {
  width: 100%;
  left: 0;
  right: 0;
  margin-top: 10px;
  padding: 28px 32px;

  
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(50px);
  -webkit-backdrop-filter: blur(50px);

  border: 1px solid rgba(255,255,255,0.35) !important;
  border-radius: 24px;

  box-shadow:
    0 20px 50px rgba(80,100,140,0.12),
    inset 0 1px 0 rgba(255,255,255,0.3);

  overflow: hidden;
}

/* GLASS SHINE */
.dropdown-menu.mega-menu::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 24px;
  background: linear-gradient(
    135deg,
    rgba(255,255,255,0.22),
    rgba(255,255,255,0.05)
  );
  pointer-events: none;
}

/* TITLE */
.mega-title {
  font-family: var(--serif);
  font-size: 1.35rem;
  font-weight: 400;
  color: var(--text);
  margin-bottom: 14px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(255,255,255,0.25);
}

/* LINKS */
.dropdown-menu.mega-menu .dropdown-item {
  padding: 8px 0;
  font-size: 13px;
  font-weight: 300;
  color: var(--text-muted);
  background: transparent !important;
  transition: all .2s;
}

/* HOVER */
.dropdown-menu.mega-menu .dropdown-item:hover {
  color: var(--text);
  background: rgba(255,255,255,0.25) !important;
  padding-left: 6px;
}

/* ✅ MOBILE DROPDOWN SCROLL FIX */
@media (max-width: 991.98px) {
  .dropdown-menu.mega-menu {
    position: static !important;
    transform: none !important;
    width: 100%;
    max-height: 60vh;
    overflow-y: auto; 
    margin-top: 8px;
    padding: 18px 20px;
    border-radius: 18px;

    background: rgba(255,255,255,0.14) !important;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);

    box-shadow: none;
  }

  .mega-title {
    font-size: 1.1rem;
    margin-top: 8px;
  }
}

  .header-icons { display: flex; gap: 6px; align-items: center; }
  .icon-btn {
    width: 38px; height: 38px;
    background: var(--glass); border: 1px solid var(--glass-border); border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 15px; cursor: pointer; text-decoration: none;
    transition: all .22s; color: var(--text); position: relative;
  }
  .icon-btn:hover { background: rgba(255,255,255,0.58); transform: translateY(-2px); box-shadow: 0 6px 20px rgba(80,100,140,0.12); }
  .cart-badge {
    position: absolute; top: -3px; right: -3px;
    width: 16px; height: 16px; background: var(--deep-rose);
    color: white; border-radius: 50%; font-size: 9px;
    display: flex; align-items: center; justify-content: center;
    font-weight: 700; border: 2px solid var(--bg);
  }

  /* ── FOOTER ── */
  footer { position: relative; z-index: 1; background: rgba(240,245,255,0.58); backdrop-filter: blur(18px); border-top: 1px solid rgba(255,255,255,0.42); padding: 64px 0 32px; }
  .footer-brand p { font-size: 13px; color: var(--text-muted); line-height: 1.72; margin: 14px 0 20px; font-weight: 300; }
  .social-icons { display: flex; gap: 8px; }
  .social-btn { width: 36px; height: 36px; background: rgba(255,255,255,0.48); border: 1px solid rgba(255,255,255,0.58); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 14px; cursor: pointer; text-decoration: none; color: var(--text); transition: all .2s; }
  .social-btn:hover { background: rgba(255,255,255,0.72); transform: translateY(-2px); }
  .footer-col h5 { font-size: 11px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--text); margin-bottom: 18px; }
  .footer-col ul { list-style: none; padding: 0; }
  .footer-col ul li { margin-bottom: 10px; }
  .footer-col ul li a { font-size: 13px; color: var(--text-muted); text-decoration: none; font-weight: 300; transition: color .2s; }
  .footer-col ul li a:hover { color: var(--text); }
  .footer-bottom { display: flex; align-items: center; justify-content: space-between; padding-top: 24px; border-top: 1px solid rgba(255,255,255,0.32); flex-wrap: wrap; gap: 12px; margin-top: 52px; }
  .footer-bottom p { font-size: 12px; color: var(--text-muted); font-weight: 300; margin: 0; }
  .payment-icons { display: flex; gap: 8px; }
  .payment-icon { padding: 5px 10px; font-size: 11px; font-weight: 600; color: var(--text-muted); background: rgba(255,255,255,0.48); border: 1px solid rgba(255,255,255,0.58); border-radius: 6px; }
  .footer-legal { display: flex; gap: 18px; }
  .footer-legal a { font-size: 12px; color: var(--text-muted); text-decoration: none; font-weight: 300; transition: color .2s; }
  .footer-legal a:hover { color: var(--text); }

  /* ── RESPONSIVE EXTRAS ── */
  @media (max-width: 991px) {
    .hero-visual { display: none; }
    .hero { min-height: auto; padding: 120px 0 60px; }
  }
  @media (max-width: 767px) {
    section { padding: 60px 0; }
    .promo-inner { grid-template-columns: 1fr; padding: 40px 28px; }
    .promo-deco { display: none; }
    .newsletter-card { padding: 40px 24px; }
    .newsletter-form { flex-direction: column; }
    .story-img { height: 260px; }
    .hero-stats { gap: 24px; flex-wrap: wrap; }
  }