/* ==========================================================================
   GOVINDRAJ WATCH & MEN ACCESSORIES SHOP - COMPONENTS STYLESHEET (components.css)
   Includes Navbar, Mega Menu, Hero, Product Cards, Modals, QuickView, Footer
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. HEADER & STICKY NAVIGATION
   -------------------------------------------------------------------------- */
.top-bar {
  background: var(--bg-secondary);
  font-size: 0.85rem;
  padding: 8px 0;
  border-bottom: 1px solid var(--border-color);
  color: var(--text-secondary);
}

.top-bar-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.top-bar-info {
  display: flex;
  gap: 20px;
}

.top-bar-info span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.top-bar-actions {
  display: flex;
  align-items: center;
  gap: 15px;
}

.header {
  position: sticky;
  top: 0;
  z-index: 1000;
  transition: all 0.4s ease;
}

.header.scrolled {
  background: var(--bg-glass);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  border-bottom: 1px solid var(--glass-border);
}

.navbar {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 12px 0;
  gap: 12px;
  width: 100%;
}

.brand-header-center {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  margin: 0 auto;
}

.brand-logo-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--badge-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  color: #fff;
  box-shadow: 0 4px 15px rgba(var(--primary-rgb), 0.4);
}

.brand-title {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--text-primary);
  line-height: 1.1;
  letter-spacing: 0.5px;
}

.brand-subtitle {
  font-size: 0.75rem;
  color: var(--primary-color);
  letter-spacing: 2px;
  text-transform: uppercase;
  font-weight: 700;
}

.nav-menu {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px 20px;
  border-top: 1px solid var(--border-color);
  padding-top: 10px;
  width: 100%;
}

.nav-link {
  color: var(--text-primary);
  font-weight: 600;
  font-size: 0.92rem;
  padding: 6px 10px;
  position: relative;
  transition: color 0.3s ease;
  white-space: nowrap;
}

.nav-link:hover, .nav-link.active {
  color: var(--primary-color);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary-color);
  transition: width 0.3s ease;
}

.nav-link:hover::after, .nav-link.active::after {
  width: 100%;
}

/* Nav Actions (Search, Wishlist, Language, Theme) */
.nav-actions {
  display: flex;
  align-items: center;
  gap: 15px;
}

.icon-btn {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--bg-glass);
  border: 1px solid var(--border-color);
  color: var(--text-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  position: relative;
  transition: all 0.3s ease;
}

.icon-btn:hover {
  background: var(--primary-color);
  color: #000;
  transform: translateY(-2px);
}

.badge-count {
  position: absolute;
  top: -4px;
  right: -4px;
  background: var(--primary-color);
  color: #000;
  font-size: 0.7rem;
  font-weight: 800;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Language Selector Dropdown */
.lang-selector {
  position: relative;
}

.lang-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border-radius: 20px;
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  color: var(--text-primary);
  font-weight: 600;
  font-size: 0.85rem;
}

.lang-dropdown {
  position: absolute;
  top: 110%;
  right: 0;
  width: 140px;
  background: var(--bg-glass);
  backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  border-radius: 12px;
  padding: 8px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.5);
  display: none;
  z-index: 100;
}

.lang-dropdown.active {
  display: block;
}

.lang-option {
  padding: 8px 12px;
  border-radius: 8px;
  color: var(--text-primary);
  cursor: pointer;
  font-size: 0.88rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.lang-option:hover {
  background: var(--primary-color);
  color: #000;
}

/* Mobile Toggle */
.mobile-toggle {
  display: none;
  font-size: 1.5rem;
  color: var(--text-primary);
  background: none;
}

/* --------------------------------------------------------------------------
   2. HERO SECTION
   -------------------------------------------------------------------------- */
.hero {
  min-height: 85vh;
  display: flex;
  align-items: center;
  background: var(--gradient-hero);
  position: relative;
  overflow: hidden;
  padding: 60px 0;
}

.hero-glow {
  position: absolute;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(var(--primary-rgb), 0.25) 0%, rgba(0,0,0,0) 70%);
  top: -100px;
  right: -100px;
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  border-radius: 30px;
  background: var(--glass-border);
  border: 1px solid var(--primary-color);
  color: var(--primary-color);
  font-weight: 700;
  font-size: 0.85rem;
  margin-bottom: 20px;
}

.hero-title {
  font-size: 3.6rem;
  line-height: 1.15;
  margin-bottom: 20px;
  color: var(--text-primary);
}

.hero-desc {
  font-size: 1.15rem;
  color: var(--text-secondary);
  margin-bottom: 35px;
  max-width: 540px;
}

.hero-btns {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}

.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
}

.hero-img-card {
  position: relative;
  width: 100%;
  max-width: 480px;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--shadow-glow);
  border: 2px solid var(--glass-border);
}

.hero-img-card img {
  width: 100%;
  height: 480px;
  object-fit: cover;
  transition: transform 0.8s ease;
}

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

.hero-floating-badge {
  position: absolute;
  bottom: 25px;
  left: 25px;
  padding: 15px 25px;
  background: var(--bg-glass);
  backdrop-filter: blur(15px);
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  display: flex;
  align-items: center;
  gap: 15px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.hero-floating-badge i {
  font-size: 28px;
  color: var(--primary-color);
}

.hero-floating-badge h4 {
  font-size: 1rem;
  color: var(--text-primary);
}

.hero-floating-badge p {
  font-size: 0.8rem;
  color: var(--text-secondary);
}

/* --------------------------------------------------------------------------
   3. CATEGORY CARDS MARQUEE & GRID
   -------------------------------------------------------------------------- */
.categories-marquee-wrapper {
  overflow: hidden;
  position: relative;
  width: 100%;
  padding: 10px 0;
}

.categories-marquee-track {
  display: flex;
  gap: 25px;
  width: max-content;
  animation: categoriesScrollRightToLeft 30s linear infinite;
}

.categories-marquee-wrapper:hover .categories-marquee-track {
  animation-play-state: paused;
}

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

.categories-marquee-track .category-card {
  width: 290px;
  flex-shrink: 0;
}

.categories-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 25px;
}

.category-card {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  height: 320px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 25px;
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  transition: all 0.4s ease;
  text-decoration: none;
}

.category-card img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
  transition: transform 0.6s ease;
  opacity: 0.7;
}

.category-card-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to top, rgba(0,0,0,0.95) 0%, rgba(0,0,0,0.2) 60%, rgba(0,0,0,0) 100%);
  z-index: 2;
}

.category-card-content {
  position: relative;
  z-index: 3;
}

.category-card-title {
  font-size: 1.4rem;
  color: #fff;
  margin-bottom: 5px;
}

.category-card-count {
  font-size: 0.85rem;
  color: var(--primary-color);
  font-weight: 600;
}

.category-card:hover {
  transform: translateY(-8px);
  border-color: var(--primary-color);
  box-shadow: var(--shadow-glow);
}

.category-card:hover img {
  transform: scale(1.1);
  opacity: 0.85;
}

/* --------------------------------------------------------------------------
   4. PRODUCT CARDS & GRID
   -------------------------------------------------------------------------- */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
  gap: 30px;
}

.product-card {
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 20px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  position: relative;
}

.product-card:hover {
  border-color: var(--primary-color);
  transform: translateY(-8px);
  box-shadow: var(--shadow-glow);
}

.product-img-wrapper {
  position: relative;
  width: 100%;
  height: 260px;
  background: rgba(0, 0, 0, 0.2);
  overflow: hidden;
}

.product-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.product-card:hover .product-img-wrapper img {
  transform: scale(1.08);
}

.product-badge {
  position: absolute;
  top: 15px;
  left: 15px;
  z-index: 2;
}

.wishlist-btn {
  position: absolute;
  top: 15px;
  right: 15px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.2);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  z-index: 2;
  transition: all 0.3s ease;
}

.wishlist-btn:hover, .wishlist-btn.active {
  background: #e11d48;
  color: #fff;
  border-color: #e11d48;
}

.quickview-btn {
  position: absolute;
  bottom: -50px;
  left: 50%;
  transform: translateX(-50%);
  padding: 8px 18px;
  border-radius: 20px;
  background: var(--bg-glass);
  backdrop-filter: blur(10px);
  border: 1px solid var(--primary-color);
  color: var(--text-primary);
  font-size: 0.8rem;
  font-weight: 600;
  z-index: 2;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.product-card:hover .quickview-btn {
  bottom: 15px;
}

.quickview-btn:hover {
  background: var(--primary-color);
  color: #000;
}

.product-info {
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.product-brand {
  font-size: 0.75rem;
  color: var(--primary-color);
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 1px;
  margin-bottom: 6px;
}

.product-name {
  font-size: 1.1rem;
  color: var(--text-primary);
  font-weight: 600;
  margin-bottom: 10px;
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  height: 2.6em;
}

.product-price-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  margin-top: auto;
}

.product-price {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--text-primary);
}

.product-price-old {
  font-size: 0.9rem;
  color: var(--text-muted);
  text-decoration: line-through;
}

/* --------------------------------------------------------------------------
   5. FILTERS & SEARCH BAR
   -------------------------------------------------------------------------- */
.filter-bar {
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 20px;
  padding: 20px;
  margin-bottom: 40px;
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  align-items: center;
  justify-content: space-between;
}

.search-box {
  position: relative;
  flex-grow: 1;
  min-width: 260px;
}

.search-box input {
  width: 100%;
  padding: 12px 20px 12px 45px;
  border-radius: 30px;
  background: var(--bg-primary);
  border: 1px solid var(--border-color);
  color: var(--text-primary);
  font-size: 0.9rem;
}

.search-box input:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 15px rgba(var(--primary-rgb), 0.2);
}

.search-box i {
  position: absolute;
  left: 18px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
  font-size: 1.1rem;
}

.filter-group {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
}

.filter-select {
  padding: 10px 18px;
  border-radius: 20px;
  background: var(--bg-primary);
  border: 1px solid var(--border-color);
  color: var(--text-primary);
  font-size: 0.88rem;
  font-weight: 500;
  cursor: pointer;
}

.filter-select:focus {
  border-color: var(--primary-color);
}

/* --------------------------------------------------------------------------
   6. OWNER SPOTLIGHT SECTION
   -------------------------------------------------------------------------- */
.owner-card {
  background: var(--card-bg);
  border: 1px solid var(--glass-border);
  border-radius: 24px;
  padding: 40px;
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 40px;
  align-items: center;
  box-shadow: var(--shadow-glow);
  position: relative;
  overflow: hidden;
}

.owner-photo-frame {
  position: relative;
  width: 100%;
  height: 350px;
  border-radius: 20px;
  overflow: hidden;
  border: 3px solid var(--primary-color);
  box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.owner-photo-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.owner-badge {
  position: absolute;
  top: 15px;
  right: 15px;
  background: var(--badge-bg);
  color: #000;
  font-weight: 800;
  font-size: 0.75rem;
  padding: 6px 14px;
  border-radius: 20px;
}

.owner-bio h3 {
  font-size: 2.2rem;
  color: var(--text-primary);
  margin-bottom: 5px;
}

.owner-title {
  color: var(--primary-color);
  font-weight: 700;
  font-size: 1.05rem;
  margin-bottom: 20px;
  display: block;
}

.owner-message {
  color: var(--text-secondary);
  font-size: 1.05rem;
  line-height: 1.7;
  margin-bottom: 30px;
}

.owner-stats {
  display: flex;
  gap: 30px;
}

.stat-item h4 {
  font-size: 2rem;
  color: var(--primary-color);
  font-weight: 800;
}

.stat-item p {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* --------------------------------------------------------------------------
   7. MODALS (Theme Selector & Quick View)
   -------------------------------------------------------------------------- */
.modal-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(12px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.modal-backdrop.active {
  opacity: 1;
  visibility: visible;
}

.modal-container {
  background: var(--bg-secondary);
  border: 1px solid var(--glass-border);
  border-radius: 24px;
  width: 100%;
  max-width: 800px;
  max-height: 90vh;
  overflow-y: auto;
  padding: 35px;
  position: relative;
  box-shadow: 0 20px 50px rgba(0,0,0,0.8);
}

.modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  color: var(--text-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  cursor: pointer;
}

.modal-close:hover {
  background: var(--primary-color);
  color: #000;
}

/* 20 Theme Selector Grid */
.themes-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 15px;
  margin-top: 25px;
}

.theme-card {
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 14px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 12px;
  transition: all 0.3s ease;
}

.theme-card:hover, .theme-card.active {
  border-color: var(--primary-color);
  box-shadow: 0 0 15px rgba(var(--primary-rgb), 0.3);
  transform: translateY(-2px);
}

.theme-color-dot {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  flex-shrink: 0;
  box-shadow: 0 0 8px rgba(0,0,0,0.4);
}

.theme-name {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-primary);
}

/* Quick View Layout */
.quickview-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
}

.quickview-img {
  width: 100%;
  height: 350px;
  border-radius: 16px;
  object-fit: cover;
}

/* --------------------------------------------------------------------------
   8. FOOTER
   -------------------------------------------------------------------------- */
.footer {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-color);
  padding-top: 70px;
  padding-bottom: 30px;
  color: var(--text-secondary);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 40px;
  margin-bottom: 50px;
}

.footer-col h4 {
  color: var(--text-primary);
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 20px;
  position: relative;
}

.footer-col p {
  color: var(--text-secondary);
  line-height: 1.6;
}

.footer-col h4::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 35px;
  height: 2px;
  background: var(--primary-color);
}

.footer-links li {
  margin-bottom: 12px;
}

.footer-links a {
  color: var(--text-secondary);
  font-weight: 500;
  font-size: 0.95rem;
  transition: all 0.3s ease;
}

.footer-links a:hover {
  color: var(--primary-color);
  padding-left: 5px;
}

.footer-contact li {
  display: flex;
  gap: 12px;
  margin-bottom: 15px;
  font-size: 0.95rem;
  color: var(--text-secondary);
}

.footer-contact i {
  color: var(--primary-color);
  font-size: 1.1rem;
  margin-top: 3px;
}

/* EXACT REQUIRED FOOTER CREDIT BAR */
.footer-credits-bar {
  border-top: 1px solid var(--border-color);
  padding-top: 25px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  font-size: 0.9rem;
}

.credit-box {
  background: var(--card-bg);
  border: 1px solid var(--glass-border);
  padding: 10px 20px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.credit-box strong {
  color: var(--primary-color);
}

/* --------------------------------------------------------------------------
   9. RESPONSIVE BREAKPOINTS
   -------------------------------------------------------------------------- */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero-desc {
    margin: 0 auto 35px;
  }
  .hero-btns {
    justify-content: center;
  }
  .owner-card {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .owner-photo-frame {
    margin: 0 auto;
    max-width: 300px;
  }
  .owner-stats {
    justify-content: center;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .mobile-toggle {
    display: block;
  }
  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 320px;
    height: 100vh;
    background: var(--bg-secondary);
    border-left: 1px solid var(--glass-border);
    flex-direction: column;
    padding: 80px 30px;
    transition: right 0.4s ease;
    z-index: 999;
  }
  .nav-menu.active {
    right: 0;
  }
  .hero-title {
    font-size: 2.4rem;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .quickview-layout {
    grid-template-columns: 1fr;
  }
}

/* --------------------------------------------------------------------------
   BRAND SHOWCASE & MARQUEE STYLES (RIGHT TO LEFT CONTINUOUS SCROLL)
   -------------------------------------------------------------------------- */
.brands-marquee-wrapper {
  overflow: hidden;
  position: relative;
  width: 100%;
  padding: 10px 0;
}

.brands-marquee-track {
  display: flex;
  gap: 25px;
  width: max-content;
  animation: brandsScrollRightToLeft 25s linear infinite;
}

.brands-marquee-wrapper:hover .brands-marquee-track {
  animation-play-state: paused;
}

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

.brands-marquee {
  display: flex;
  gap: 30px;
  overflow-x: auto;
  padding: 20px 0;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.brands-marquee::-webkit-scrollbar { display: none; }

.brand-badge-card {
  flex: 0 0 auto;
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  padding: 16px 28px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  transition: all 0.3s ease;
  cursor: pointer;
}
.brand-badge-card:hover {
  border-color: var(--primary-color);
  transform: translateY(-4px);
  box-shadow: var(--shadow-glow);
}
.brand-badge-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(var(--primary-rgb), 0.15);
  color: var(--primary-color);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: bold;
}
.brand-badge-name {
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--text-primary);
}
.brand-badge-sub {
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* --------------------------------------------------------------------------
   INTERACTIVE WATCH & GIFT FINDER QUIZ
   -------------------------------------------------------------------------- */
.quiz-container {
  background: var(--card-bg);
  border: 1px solid var(--glass-border);
  border-radius: 24px;
  padding: 35px;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-glow);
}
.quiz-header {
  text-align: center;
  margin-bottom: 25px;
}
.quiz-progress {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 30px;
}
.quiz-step-dot {
  width: 35px;
  height: 6px;
  border-radius: 4px;
  background: rgba(255,255,255,0.15);
  transition: all 0.3s ease;
}
.quiz-step-dot.active {
  background: var(--primary-color);
  width: 50px;
  box-shadow: 0 0 10px var(--primary-color);
}
.quiz-options-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 16px;
}
.quiz-option-btn {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 22px 18px;
  text-align: center;
  color: var(--text-primary);
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}
.quiz-option-btn i {
  font-size: 28px;
  color: var(--primary-color);
}
.quiz-option-btn:hover {
  background: rgba(var(--primary-rgb), 0.12);
  border-color: var(--primary-color);
  transform: translateY(-3px);
}
.quiz-results-wrapper {
  margin-top: 30px;
  display: none;
}
.quiz-results-wrapper.active {
  display: block;
  animation: fadeIn 0.5s ease;
}

/* --------------------------------------------------------------------------
   MULTI-FACET BRAND FILTER TOOLBAR
   -------------------------------------------------------------------------- */
.filter-toolbar {
  background: var(--card-bg);
  border: 1px solid var(--glass-border);
  border-radius: 20px;
  padding: 20px 25px;
  margin-bottom: 30px;
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  align-items: center;
  justify-content: space-between;
}
.filter-group {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.filter-pill {
  padding: 8px 18px;
  border-radius: 30px;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border-color);
  color: var(--text-secondary);
  font-size: 0.88rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
}
.filter-pill:hover, .filter-pill.active {
  background: var(--badge-bg);
  color: #000;
  border-color: transparent;
  font-weight: 700;
  box-shadow: 0 4px 12px rgba(var(--primary-rgb), 0.3);
}

/* --------------------------------------------------------------------------
   WATCH CARE & BATTERY SERVICE CARDS
   -------------------------------------------------------------------------- */
.service-card {
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 20px;
  padding: 30px;
  transition: all 0.3s ease;
  position: relative;
}
.service-card:hover {
  border-color: var(--primary-color);
  transform: translateY(-5px);
  box-shadow: var(--shadow-glow);
}
.service-icon-box {
  width: 60px;
  height: 60px;
  border-radius: 16px;
  background: rgba(var(--primary-rgb), 0.15);
  color: var(--primary-color);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
  margin-bottom: 20px;
}

/* --------------------------------------------------------------------------
   MOBILE RESPONSIVE NAVIGATION OVERLAY & OVERLAP FIX
   -------------------------------------------------------------------------- */
@media (max-width: 991px) {
  .navbar {
    padding: 10px 0;
    gap: 8px;
  }

  .brand-header-center {
    display: flex;
    flex-direction: column;
  /* Fix Top Bar text overlap on mobile */
  .top-bar-content {
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 6px !important;
    text-align: center !important;
  }

  .top-bar-info {
    flex-direction: column !important;
    align-items: center !important;
    gap: 4px !important;
  }

  .top-bar-info span, .top-bar-actions {
    font-size: 0.78rem !important;
    justify-content: center !important;
  }

  .brand-header-center {
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    position: relative;
    width: 100%;
    gap: 8px !important;
  }

  .brand-logo {
    margin: 0 auto !important;
    text-align: center !important;
  }

  .brand-title {
    font-size: 1.05rem !important;
    line-height: 1.2 !important;
    text-align: center !important;
  }

  .brand-subtitle {
    font-size: 0.65rem !important;
    letter-spacing: 1px !important;
  }

  .nav-actions {
    position: static !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 12px !important;
    margin-top: 5px !important;
    width: 100% !important;
  }

  .mobile-toggle {
    display: flex !important;
    align-items: center;
    justify-content: center;
    position: fixed;
    top: 15px;
    right: 15px;
    z-index: 1000000;
    background: var(--primary-color);
    color: #ffffff;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
    font-size: 24px;
    cursor: pointer;
    border: 2px solid #ffffff;
  }

  /* 100% Full-Screen Static Non-Overlapping Mobile Overlay Menu */
  .nav-menu {
    display: none !important;
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    background: var(--bg-primary, #ffffff) !important;
    z-index: 999999 !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: flex-start !important;
    padding: 85px 20px 40px !important;
    overflow-y: auto !important;
    gap: 8px !important;
    border: none !important;
    margin: 0 !important;
    box-sizing: border-box !important;
    list-style: none !important;
  }

  .nav-menu.active {
    display: flex !important;
  }

  .nav-menu li {
    width: 100% !important;
    max-width: 340px !important;
    margin: 0 auto !important;
    padding: 0 !important;
    list-style: none !important;
    display: block !important;
  }

  .nav-menu .nav-link {
    display: block !important;
    font-size: 1.05rem !important;
    font-weight: 700 !important;
    padding: 12px 20px !important;
    width: 100% !important;
    box-sizing: border-box !important;
    text-align: center !important;
    border-radius: 12px !important;
    background: var(--bg-secondary, rgba(99, 102, 241, 0.08)) !important;
    border: 1px solid var(--border-color) !important;
    color: var(--text-primary) !important;
    margin: 0 !important;
    line-height: 1.4 !important;
  }
  
  .nav-menu .nav-link.active, .nav-menu .nav-link:hover {
    background: var(--primary-color) !important;
    color: #ffffff !important;
    border-color: transparent !important;
  }
}

/* --------------------------------------------------------------------------
   CART DRAWER & CHECKOUT MODAL STYLES
   -------------------------------------------------------------------------- */
.cart-drawer-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(8px);
  z-index: 10000;
  display: flex;
  justify-content: flex-end;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.cart-drawer-backdrop.active {
  opacity: 1;
  pointer-events: auto;
}

.cart-drawer-panel {
  width: 100%;
  max-width: 420px;
  height: 100%;
  background: var(--bg-primary);
  border-left: 1px solid var(--glass-border);
  box-shadow: -10px 0 30px rgba(0, 0, 0, 0.3);
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.cart-drawer-backdrop.active .cart-drawer-panel {
  transform: translateX(0);
}

.cart-drawer-header {
  padding: 20px 25px;
  border-bottom: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.cart-drawer-header h3 {
  font-size: 1.3rem;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 10px;
}

.cart-close-btn {
  background: none;
  border: none;
  font-size: 24px;
  color: var(--text-muted);
  cursor: pointer;
  transition: color 0.2s ease;
}

.cart-close-btn:hover {
  color: var(--primary-color);
}

.cart-drawer-body {
  flex: 1;
  overflow-y: auto;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.cart-item-card {
  display: flex;
  align-items: center;
  gap: 15px;
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  padding: 12px 15px;
  border-radius: 14px;
}

.cart-item-img {
  width: 60px;
  height: 60px;
  object-fit: cover;
  border-radius: 10px;
}

.cart-item-info {
  flex: 1;
}

.cart-item-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 4px;

  display: -webkit-box;
  -webkit-line-clamp: 1;
  line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.cart-item-price {
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--primary-color);
  margin-bottom: 8px;
}

.cart-qty-controls {
  display: inline-flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid var(--border-color);
  border-radius: 20px;
  overflow: hidden;
}

.cart-qty-controls button {
  width: 26px;
  height: 26px;
  background: none;
  border: none;
  color: var(--text-primary);
  font-weight: 700;
  cursor: pointer;
}

.cart-qty-controls span {
  padding: 0 10px;
  font-size: 0.85rem;
  font-weight: 700;
}

.cart-item-remove {
  background: none;
  border: none;
  color: #ef4444;
  font-size: 20px;
  cursor: pointer;
  padding: 5px;
  opacity: 0.7;
  transition: opacity 0.2s ease;
}

.cart-item-remove:hover {
  opacity: 1;
}

.cart-drawer-footer {
  padding: 20px 25px;
  border-top: 1px solid var(--border-color);
  background: var(--bg-secondary);
}

.cart-summary-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 15px;
  font-size: 1.1rem;
  font-weight: 700;
}

.cart-toast-pill {
  position: fixed;
  bottom: 25px;
  right: 25px;
  background: var(--bg-glass);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--primary-color);
  padding: 10px 18px;
  border-radius: 40px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
  display: flex;
  align-items: center;
  gap: 15px;
  z-index: 9999;
  opacity: 0;
  transform: translateY(30px);
  pointer-events: none;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.cart-toast-pill.active {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

