/* ======================================================
   JAISWAL FASHION — Component Styles
   Reusable UI components: navbar, footer, buttons,
   cards, forms, modals, toasts, etc.
   ====================================================== */

/* ==================== NAVBAR ==================== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: var(--z-navbar);
  background: rgba(27, 42, 74, 0.96); color: #fff;
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  transition: all var(--ease-base);
  padding: var(--sp-3) 0;
}

.navbar.scrolled {
  background: rgba(27, 42, 74, 0.99);
  border-bottom-color: rgba(212, 168, 83, 0.15);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.4), 0 0 40px rgba(212, 168, 83, 0.03);
  padding: var(--sp-2) 0;
}

.navbar.hidden {
  transform: translateY(-100%);
}

.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-8);
}

/* Brand */
.navbar-brand {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  text-decoration: none;
  flex-shrink: 0;
}

.brand-logo {
  width: 42px;
  height: 42px;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: var(--fs-lg);
  color: var(--bg-primary);
  flex-shrink: 0;
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--fs-base);
  letter-spacing: 0.05em;
  color: var(--text-white);
}

.brand-location {
  font-size: var(--fs-xs);
  color: var(--text-secondary);
  letter-spacing: 0.02em;
}

/* Nav Links */
.navbar-links {
  display: flex;
  align-items: center;
  gap: var(--sp-1);
  list-style: none;
}

.navbar-links a {
  padding: var(--sp-2) var(--sp-4);
  font-size: var(--fs-sm);
  font-weight: 500;
  color: var(--text-secondary);
  border-radius: var(--radius-md);
  transition: all var(--ease-fast);
  position: relative;
  white-space: nowrap;
}

.navbar-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background: var(--gold);
  border-radius: 1px;
  transition: width var(--ease-base);
}

.navbar-links a:hover {
  color: var(--text-white);
}

.navbar-links a:hover::after,
.navbar-links a.active::after {
  width: 20px;
}

.navbar-links a.active {
  color: var(--text-white);
}

/* Nav Actions */
.navbar-actions {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
}

.nav-icon-btn {
  position: relative;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-lg);
  color: var(--gold);
  transition: all var(--ease-fast);
}

.nav-icon-btn:hover {
  color: var(--gold-dark);
  background: var(--gold-subtle);
  transform: scale(1.1);
}

.icon-badge {
  position: absolute;
  top: 2px;
  right: 2px;
  width: 18px;
  height: 18px;
  background: var(--gold);
  color: #faf8f4;
  font-size: 10px;
  font-weight: 700;
  border-radius: var(--radius-pill);
  display: flex;
  align-items: center;
  justify-content: center;
}

/* User Dropdown */
.user-dropdown-container {
  position: relative;
  display: inline-block;
}

.user-dropdown-menu {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  width: 240px;
  background: var(--bg-secondary);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: var(--sp-2) 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all var(--ease-base);
  z-index: 100;
}

.user-dropdown-container:hover .user-dropdown-menu,
.user-dropdown-menu.active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.user-dropdown-header {
  padding: var(--sp-3) var(--sp-4);
  border-bottom: 1px solid var(--border-subtle);
  margin-bottom: var(--sp-2);
}

.user-dropdown-header .user-name {
  font-weight: 600;
  color: var(--text-white);
  font-size: var(--fs-sm);
}

.user-dropdown-header .user-email {
  font-size: var(--fs-xs);
  color: var(--text-secondary);
  margin-top: 2px;
}

.user-dropdown-item {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  padding: var(--sp-3) var(--sp-4);
  color: var(--text-secondary);
  text-decoration: none;
  font-size: var(--fs-sm);
  transition: all var(--ease-fast);
}

.user-dropdown-item:hover {
  background: var(--bg-glass-strong);
  color: var(--gold);
}

.user-dropdown-item svg {
  width: 18px;
  height: 18px;
}

/* Hamburger */
.navbar-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: var(--sp-2);
  cursor: pointer;
  background: none;
  border: none;
}

.navbar-hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: #ffffff;
  border-radius: 2px;
  transition: all var(--ease-base);
}

.navbar-hamburger.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.navbar-hamburger.open span:nth-child(2) {
  opacity: 0;
}

.navbar-hamburger.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile Nav Overlay */
.mobile-nav-overlay {
  display: none;
}

@media (max-width: 900px) {
  .navbar-hamburger {
    display: flex;
  }

  .desktop-nav-links {
    display: none;
  }

  .mobile-nav-overlay {
    display: flex;
    position: fixed;
    top: 60px;
    right: var(--sp-3);
    width: auto;
    min-width: 260px;
    max-width: 320px;
    background: #0F1B30;
    backdrop-filter: blur(20px);
    flex-direction: column;
    justify-content: flex-start;
    gap: var(--sp-1);
    padding: var(--sp-3);
    border-radius: var(--radius-xl);
    border: 1px solid rgba(212, 168, 83, 0.15);
    box-shadow: 0 12px 40px rgba(0,0,0,0.4);
    overflow-y: auto;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all var(--ease-base);
    z-index: var(--z-modal);
  }

  .mobile-nav-overlay.open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .mobile-nav-overlay a {
    font-size: var(--fs-base);
    font-weight: 600;
    padding: var(--sp-2) var(--sp-4);
    color: rgba(255, 255, 255, 0.85) !important;
    border-radius: var(--radius-md);
    transition: all 0.2s ease;
    white-space: nowrap;
  }

  .mobile-nav-overlay a:hover,
  .mobile-nav-overlay a.active {
    color: #D4A853 !important;
    background: rgba(212, 168, 83, 0.1) !important;
  }

  .mobile-nav-overlay a::after {
    display: none;
  }

  /* Keep action buttons visible on mobile */
  .navbar-actions {
    gap: var(--sp-1);
  }

  .nav-icon-btn {
    width: 36px;
    height: 36px;
  }

  /* Desktop-only elements hidden on mobile */
  .desktop-only {
    display: none !important;
  }
}

/* ==================== FOOTER ==================== */
.footer {
  background: linear-gradient(180deg, var(--bg-tertiary) 0%, #e8e0d5 100%);
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: var(--sp-20) 0 var(--sp-8);
  margin-top: var(--sp-20);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: var(--sp-12);
  margin-bottom: var(--sp-12);
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  margin-bottom: var(--sp-4);
}

.footer-logo h3 {
  font-family: var(--font-display);
  font-size: var(--fs-lg);
  font-weight: 700;
  color: #ffffff;
}

.footer-logo p {
  font-size: var(--fs-xs);
  color: var(--text-muted);
}

.footer-desc {
  font-size: var(--fs-sm);
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: var(--sp-6);
}

.footer-social {
  display: flex;
  gap: var(--sp-3);
}

.social-link {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-lg);
  background: var(--bg-glass);
  border: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  transition: all var(--ease-fast);
}

.social-link:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--bg-primary);
  transform: translateY(-2px);
}

.footer-links-col h4 {
  font-family: var(--font-display);
  font-size: var(--fs-base);
  font-weight: 600;
  margin-bottom: var(--sp-5);
  color: #ffffff;
}

.footer-links-col ul {
  list-style: none;
}

.footer-links-col li {
  margin-bottom: var(--sp-3);
}

.footer-links-col a {
  font-size: var(--fs-sm);
  color: var(--text-secondary);
  transition: color var(--ease-fast);
}

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

.footer-contact li {
  font-size: var(--fs-sm);
  color: var(--text-secondary);
  line-height: 1.8;
}

.footer-bottom {
  border-top: 1px solid var(--border-subtle);
  padding-top: var(--sp-6);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--sp-4);
}

.footer-bottom p {
  font-size: var(--fs-sm);
  color: var(--text-muted);
}

.footer-bottom-links {
  display: flex;
  gap: var(--sp-6);
}

.footer-bottom-links a {
  font-size: var(--fs-sm);
  color: var(--text-muted);
  transition: color var(--ease-fast);
}

.footer-bottom-links a:hover {
  color: var(--gold-light);
}

@media (max-width: 900px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--sp-8);
  }
}

@media (max-width: 600px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr 1fr;
    gap: var(--sp-4);
  }
  .footer-grid > div:first-child {
    grid-column: 1 / -1;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}

/* ==================== BUTTONS ==================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-2);
  padding: var(--sp-3) var(--sp-6);
  font-family: var(--font-body);
  font-size: var(--fs-sm);
  font-weight: 600;
  border-radius: var(--radius-lg);
  border: none;
  cursor: pointer;
  transition: all var(--ease-base);
  text-decoration: none;
  white-space: nowrap;
  line-height: 1.4;
}

.btn-primary {
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: var(--bg-primary);
  box-shadow: var(--shadow-glow-sm);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-glow);
  filter: brightness(1.1);
}

.btn-secondary {
  background: var(--bg-glass-strong);
  color: var(--text-white);
  border: 1px solid var(--border-light);
}

.btn-secondary:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-medium);
  transform: translateY(-1px);
}

.btn-outline {
  background: transparent;
  color: var(--gold);
  border: 1px solid var(--border-gold);
}

.btn-outline:hover {
  background: var(--gold-subtle);
  border-color: var(--gold);
  transform: translateY(-1px);
}

.btn-ghost {
  background: transparent;
  color: var(--text-secondary);
  padding: var(--sp-2) var(--sp-4);
}

.btn-ghost:hover {
  color: var(--text-white);
  background: var(--bg-glass);
}

.btn-lg {
  padding: var(--sp-4) var(--sp-8);
  font-size: var(--fs-base);
  border-radius: var(--radius-xl);
}

.btn-xl {
  padding: var(--sp-5) var(--sp-10);
  font-size: var(--fs-lg);
  border-radius: var(--radius-xl);
}

.btn-sm {
  padding: var(--sp-2) var(--sp-4);
  font-size: var(--fs-xs);
}

.btn-icon {
  width: 44px;
  height: 44px;
  padding: 0;
  border-radius: var(--radius-lg);
}

.btn-danger {
  background: rgba(239, 68, 68, 0.15);
  color: var(--error);
  border: 1px solid rgba(239, 68, 68, 0.3);
}

.btn-danger:hover {
  background: rgba(239, 68, 68, 0.25);
}

.btn-success {
  background: linear-gradient(135deg, #ef4444, #dc2626);
  color: white;
  box-shadow: 0 4px 15px rgba(239, 68, 68, 0.25);
}

.btn-success:hover {
  filter: brightness(1.1);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(239, 68, 68, 0.35);
}

/* ==================== PRODUCT CARDS ==================== */
.product-card {
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  overflow: hidden;
  cursor: pointer;
  transition: all var(--ease-base);
}

.product-card:hover {
  border-color: rgba(27, 42, 74, 0.3);
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg), 0 0 40px rgba(27, 42, 74, 0.06);
}

.product-card-image {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
}

.product-image-bg {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform var(--ease-slow);
}

.product-card:hover .product-image-bg {
  transform: scale(1.05);
}

.product-emoji {
  font-size: 4rem;
  filter: drop-shadow(0 4px 8px rgba(0,0,0,0.3));
  transition: transform var(--ease-spring);
}

/* Actual product images (from API) */
.product-image-actual {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  transition: transform var(--ease-slow);
  background: var(--bg-card);
  padding: 8px;
}

.product-card:hover .product-emoji {
  transform: scale(1.15) rotate(-5deg);
}

.product-badge {
  position: absolute;
  top: var(--sp-3);
  left: var(--sp-3);
  padding: var(--sp-1) var(--sp-3);
  background: var(--gold);
  color: var(--bg-primary);
  font-size: var(--fs-xs);
  font-weight: 700;
  border-radius: var(--radius-md);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.product-fav-btn {
  position: absolute;
  top: var(--sp-3);
  right: var(--sp-3);
  width: 36px;
  height: 36px;
  border-radius: var(--radius-pill);
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  cursor: pointer;
  color: var(--text-white);
  transition: all var(--ease-fast);
}

.product-fav-btn:hover {
  background: rgba(0, 0, 0, 0.7);
  transform: scale(1.1);
}

.product-fav-btn.active {
  color: #ef4444;
  animation: heartBeat 0.6s ease;
}

.product-discount-tag {
  position: absolute;
  bottom: var(--sp-3);
  left: var(--sp-3);
  padding: var(--sp-1) var(--sp-2);
  background: rgba(34, 197, 94, 0.9);
  color: white;
  font-size: var(--fs-xs);
  font-weight: 700;
  border-radius: var(--radius-sm);
}

.product-card-body {
  padding: var(--sp-4);
}

.product-card-category {
  font-size: var(--fs-xs);
  color: #2A3F6F;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 600;
  margin-bottom: var(--sp-1);
}

.product-card-name {
  font-family: var(--font-display);
  font-size: var(--fs-base);
  font-weight: 600;
  color: #1a1f2e;
  margin-bottom: var(--sp-2);
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.product-card-rating {
  display: flex;
  align-items: center;
  gap: var(--sp-1);
  margin-bottom: var(--sp-2);
}

.star {
  font-size: var(--fs-sm);
}

.star.full {
  color: #D4A853;
}

.star.half {
  color: #D4A853;
  opacity: 0.6;
}

.star.empty {
  color: var(--text-muted);
}

.rating-count {
  font-size: var(--fs-xs);
  color: var(--text-muted);
}

.product-card-colors {
  display: flex;
  gap: var(--sp-1);
  margin-bottom: var(--sp-3);
}

.color-dot {
  width: 16px;
  height: 16px;
  border-radius: var(--radius-pill);
  border: 2px solid var(--border-light);
  transition: transform var(--ease-fast);
}

.color-dot:hover {
  transform: scale(1.3);
}

.product-card-price {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
}

.current-price {
  font-family: var(--font-display);
  font-size: var(--fs-xl);
  font-weight: 700;
  color: #1B2A4A;
}

.original-price {
  font-size: var(--fs-sm);
  color: var(--text-muted);
  text-decoration: line-through;
}

/* ==================== FORM INPUTS ==================== */
.form-group {
  margin-bottom: var(--sp-5);
}

.form-label {
  display: block;
  font-size: var(--fs-sm);
  font-weight: 500;
  color: var(--text-secondary);
  margin-bottom: var(--sp-2);
}

.form-input {
  width: 100%;
  padding: var(--sp-3) var(--sp-4);
  background: var(--bg-input);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  color: var(--text-white);
  font-size: var(--fs-base);
  transition: all var(--ease-fast);
}

.form-input:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px var(--gold-subtle);
  background: rgba(27, 42, 74, 0.06);
}

.form-input::placeholder {
  color: var(--text-muted);
}

textarea.form-input {
  resize: vertical;
  min-height: 120px;
}

.form-select {
  width: 100%;
  padding: var(--sp-3) var(--sp-4);
  background: var(--bg-input);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  color: var(--text-white);
  font-size: var(--fs-base);
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%23a0a0a0' viewBox='0 0 16 16'%3E%3Cpath d='M8 11L3 6h10l-5 5z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
}

.form-select option {
  background: var(--bg-secondary);
  color: var(--text-white);
}

/* ==================== TOAST NOTIFICATIONS ==================== */
.toast-notification {
  position: fixed;
  bottom: 30px;
  right: 30px;
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  padding: var(--sp-4) var(--sp-5);
  background: var(--bg-tertiary);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-xl);
  z-index: var(--z-toast);
  transform: translateY(20px);
  opacity: 0;
  transition: all var(--ease-base);
  max-width: 380px;
}

.toast-notification.toast-visible {
  transform: translateY(0);
  opacity: 1;
}

.toast-icon {
  width: 28px;
  height: 28px;
  border-radius: var(--radius-pill);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--fs-sm);
  font-weight: 700;
  flex-shrink: 0;
}

.toast-success .toast-icon {
  background: rgba(34, 197, 94, 0.15);
  color: var(--success);
}

.toast-error .toast-icon {
  background: rgba(239, 68, 68, 0.15);
  color: var(--error);
}

.toast-warning .toast-icon {
  background: rgba(245, 158, 11, 0.15);
  color: var(--warning);
}

.toast-info .toast-icon {
  background: rgba(59, 130, 246, 0.15);
  color: var(--info);
}

.toast-message {
  font-size: var(--fs-sm);
  color: var(--text-light);
  flex: 1;
}

.toast-close {
  background: none;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  font-size: var(--fs-base);
  padding: var(--sp-1);
  transition: color var(--ease-fast);
}

.toast-close:hover {
  color: var(--text-white);
}

/* ==================== MODAL ==================== */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(4px);
  z-index: var(--z-modal-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--sp-6);
  opacity: 0;
  visibility: hidden;
  transition: all var(--ease-base);
}

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

.modal-content {
  background: var(--bg-secondary);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-2xl);
  padding: var(--sp-8);
  max-width: 500px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  transform: scale(0.95);
  transition: transform var(--ease-base);
}

.modal-overlay.active .modal-content {
  transform: scale(1);
}

.modal-close {
  position: absolute;
  top: var(--sp-4);
  right: var(--sp-4);
  width: 36px;
  height: 36px;
  border-radius: var(--radius-pill);
  background: var(--bg-glass);
  border: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--text-secondary);
  transition: all var(--ease-fast);
}

.modal-close:hover {
  background: var(--bg-glass-strong);
  color: var(--text-white);
}

/* ==================== BREADCRUMBS ==================== */
.breadcrumbs {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  padding: var(--sp-4) 0;
  font-size: var(--fs-sm);
  color: var(--text-muted);
}

.breadcrumbs a {
  color: var(--text-secondary);
  transition: color var(--ease-fast);
}

.breadcrumbs a:hover {
  color: var(--gold-light);
}

.breadcrumbs span.separator {
  color: var(--text-muted);
}

.breadcrumbs span.current {
  color: var(--text-white);
}

/* ==================== LOADING SPINNER ==================== */
.spinner {
  width: 40px;
  height: 40px;
  border: 3px solid var(--border-subtle);
  border-top-color: var(--gold);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

.loading-screen {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 400px;
  gap: var(--sp-4);
}

.loading-screen p {
  color: var(--text-secondary);
  font-size: var(--fs-sm);
}

/* ==================== EMPTY STATE ==================== */
.empty-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 400px;
  text-align: center;
  padding: var(--sp-12);
}

.empty-state-icon {
  font-size: 4rem;
  margin-bottom: var(--sp-6);
  opacity: 0.6;
}

.empty-state-title {
  font-family: var(--font-display);
  font-size: var(--fs-2xl);
  font-weight: 700;
  margin-bottom: var(--sp-3);
}

.empty-state-text {
  color: var(--text-secondary);
  font-size: var(--fs-base);
  margin-bottom: var(--sp-6);
  max-width: 400px;
}

/* ==================== PAGE HERO ==================== */
.page-hero {
  padding: calc(80px + var(--sp-16)) 0 var(--sp-12);
  background: var(--bg-secondary);
  border-bottom: 1px solid var(--border-subtle);
  text-align: center;
}

.page-hero-title {
  font-family: var(--font-display);
  font-size: var(--fs-5xl);
  font-weight: 800;
  margin-bottom: var(--sp-3);
}

.page-hero-subtitle {
  font-size: var(--fs-lg);
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto;
}

/* Page content offset for fixed navbar */
.page-content {
  padding-top: 80px;
}

/* ==================== QUANTITY CONTROL ==================== */
.qty-control {
  display: flex;
  align-items: center;
  gap: 0;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.qty-btn {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-glass);
  border: none;
  cursor: pointer;
  color: var(--text-white);
  font-size: var(--fs-lg);
  transition: background var(--ease-fast);
}

.qty-btn:hover {
  background: var(--bg-glass-strong);
}

.qty-value {
  width: 40px;
  text-align: center;
  font-weight: 600;
  font-size: var(--fs-base);
  background: transparent;
  color: var(--text-white);
}

/* ==================== TAGS / CHIPS ==================== */
.tag {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-1);
  padding: var(--sp-1) var(--sp-3);
  background: var(--bg-glass);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-pill);
  font-size: var(--fs-xs);
  color: var(--text-secondary);
  cursor: pointer;
  transition: all var(--ease-fast);
}

.tag:hover,
.tag.active {
  background: var(--gold-subtle);
  border-color: var(--border-gold);
  color: var(--gold-light);
}

/* ==================== DIVIDER ==================== */
.divider {
  width: 100%;
  height: 1px;
  background: var(--border-subtle);
  margin: var(--sp-6) 0;
}

/* ==================== PRODUCT IMAGE PLACEHOLDER ==================== */
.product-image-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.product-image-overlay {
  position: absolute;
  inset: 0;
}

.product-image-category {
  font-size: 5rem;
  z-index: 1;
  filter: drop-shadow(0 8px 16px rgba(0,0,0,0.3));
}

/* ======================================================
   Splash Screen
   ====================================================== */
.splash-screen {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background-color: var(--bg-primary);
  z-index: 9999;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  transition: opacity 0.8s ease-in-out, visibility 0.8s ease-in-out;
}

.splash-screen.fade-out {
  opacity: 0;
  visibility: hidden;
}

.splash-content {
  text-align: center;
  animation: pulse 2s infinite ease-in-out;
}

.splash-svg {
  width: 150px;
  height: auto;
  filter: drop-shadow(0 0 15px rgba(255, 69, 0, 0.5));
}

.splash-title {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--text-white);
  letter-spacing: 2px;
  margin-top: var(--sp-2);
  margin-bottom: var(--sp-1);
}

.splash-subtitle {
  color: var(--text-secondary);
  font-size: var(--fs-xs);
  letter-spacing: 2px;
  text-transform: uppercase;
}

.splash-loader {
  width: 200px;
  height: 2px;
  background: rgba(255, 255, 255, 0.1);
  margin: var(--sp-6) auto 0;
  position: relative;
  overflow: hidden;
  border-radius: 2px;
}

.splash-loader::after {
  content: '';
  position: absolute;
  top: 0; left: 0; height: 100%; width: 0;
  background: var(--gold);
  animation: loadProgress 2s ease-in-out forwards;
}

@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}

@keyframes loadProgress {
  0% { width: 0; }
  50% { width: 70%; }
  100% { width: 100%; }
}

/* Updated Brand Logo */
.brand-logo-container {
  width: 46px;
  height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.brand-logo-svg {
  width: 100%;
  height: 100%;
  max-width: 100%;
}

/* ==================== FLOATING BUTTONS ==================== */
.floating-whatsapp {
  position: fixed;
  bottom: 20px;
  left: 20px;
  width: 45px;
  height: 45px;
  background-color: #25d366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 10px rgba(0,0,0,0.3);
  z-index: 1000;
  transition: transform 0.3s ease;
}

.floating-whatsapp:hover {
  transform: scale(1.1);
}

.scroll-to-top {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 50px;
  height: 50px;
  background-color: var(--gold);
  color: var(--bg-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 10px rgba(0,0,0,0.3);
  z-index: 1000;
  transition: transform 0.3s ease, background-color 0.3s ease;
}

.scroll-to-top:hover {
  transform: translateY(-5px);
  background-color: var(--gold-dark);
}

/* ==================== NAVY THEME OVERRIDES ==================== */
.navbar {
  background: rgba(27, 42, 74, 0.96) !important;
  border-bottom: 1px solid rgba(212, 168, 83, 0.15) !important;
}
.navbar.scrolled {
  background: rgba(15, 27, 48, 0.99) !important;
  border-bottom-color: rgba(212, 168, 83, 0.25) !important;
  box-shadow: 0 4px 30px rgba(0,0,0,0.3), 0 0 40px rgba(212,168,83,0.04) !important;
}
.brand-name { color: #fff !important; }
.brand-location { color: rgba(255,255,255,0.55) !important; }
.brand-logo {
  background: linear-gradient(135deg, #D4A853, #B8892E) !important;
  color: #fff !important;
}
.desktop-nav-links a { color: rgba(255,255,255,0.65) !important; }
.desktop-nav-links a:hover, .desktop-nav-links a.active { color: #fff !important; }
.desktop-nav-links a::after { background: #D4A853 !important; }
.nav-icon-btn { color: rgba(255,255,255,0.75) !important; }
.nav-icon-btn:hover { color: #D4A853 !important; background: rgba(212,168,83,0.12) !important; }
.icon-badge { background: #D4A853 !important; color: #0F1B30 !important; }
.hamburger span { background: #ffffff !important; }
.hamburger:hover span { background: #D4A853 !important; }
.user-dropdown-menu { background: #1B2A4A !important; border-color: rgba(212,168,83,0.2) !important; }
.user-dropdown-header { border-bottom-color: rgba(212,168,83,0.15) !important; }
.user-name { color: #fff !important; }
.user-email { color: rgba(255,255,255,0.55) !important; }
.dropdown-item { color: rgba(255,255,255,0.75) !important; }
.dropdown-item:hover { background: rgba(212,168,83,0.1) !important; color: #D4A853 !important; }
.dropdown-divider { background: rgba(212,168,83,0.15) !important; }
.mobile-nav { background: #0F1B30 !important; border-top-color: rgba(212,168,83,0.15) !important; }
.mobile-nav-link { color: rgba(255,255,255,0.75) !important; border-bottom-color: rgba(212,168,83,0.08) !important; }
.mobile-nav-link:hover, .mobile-nav-link.active { color: #D4A853 !important; background: rgba(212,168,83,0.08) !important; }
.mobile-nav-actions { border-top-color: rgba(212,168,83,0.15) !important; }

/* Buttons */
.btn-primary {
  background: linear-gradient(135deg, #1B2A4A, #0F1B30) !important;
  color: #fff !important;
  box-shadow: 0 4px 14px rgba(27, 42, 74, 0.35) !important;
}
.btn-primary:hover {
  background: linear-gradient(135deg, #2A3F6F, #1B2A4A) !important;
  box-shadow: 0 6px 20px rgba(27, 42, 74, 0.45) !important;
}
.btn-outline {
  border-color: rgba(27, 42, 74, 0.3) !important;
  color: #1B2A4A !important;
}
.btn-outline:hover {
  background: rgba(27, 42, 74, 0.06) !important;
  border-color: #1B2A4A !important;
}
.btn-success {
  background: linear-gradient(135deg, #ef4444, #dc2626) !important;
  color: #fff !important;
}

/* Splash */
.splash-screen { background: linear-gradient(135deg, #0F1B30 0%, #1B2A4A 60%, #0F1B30 100%) !important; }
.splash-title { color: #fff !important; }
.splash-title .text-gold { color: #D4A853 !important; }
.splash-loader { border-color: rgba(212,168,83,0.2) !important; border-top-color: #D4A853 !important; }

/* Footer */
.footer { background: #0F1B30 !important; border-top-color: rgba(212,168,83,0.15) !important; }
.footer-brand .brand-name { color: #fff !important; }
.footer-desc { color: rgba(255,255,255,0.55) !important; }
.footer-heading { color: #D4A853 !important; }
.footer-link { color: rgba(255,255,255,0.6) !important; }
.footer-link:hover { color: #D4A853 !important; }
.footer-bottom { border-top-color: rgba(212,168,83,0.1) !important; color: rgba(255,255,255,0.4) !important; }

/* Product cards */
.product-card {
  background: #fff !important;
  border-color: var(--border-subtle) !important;
}
.product-card:hover {
  border-color: rgba(212,168,83,0.4) !important;
  box-shadow: 0 8px 30px rgba(27,42,74,0.10) !important;
}
.product-price { color: #1B2A4A !important; }
.product-original-price { color: var(--text-muted) !important; }
.product-discount { background: #fff8ee !important; color: #B8892E !important; }
.product-rating .star-filled { color: #D4A853 !important; }
.product-badge-new { background: #1B2A4A !important; color: #fff !important; }
.product-badge-hot { background: #E8342A !important; color: #fff !important; }
.btn-add-cart {
  background: #1B2A4A !important;
  color: #fff !important;
}
.btn-add-cart:hover { background: #2A3F6F !important; }
.btn-buy-now { background: #E8342A !important; color: #fff !important; }
.btn-buy-now:hover { background: #C82820 !important; }
.wishlist-btn:hover { color: #E8342A !important; background: #fff5f5 !important; }

/* Toasts */
.toast { background: #1B2A4A !important; border-color: rgba(212,168,83,0.2) !important; color: #fff !important; }
.toast-success { border-left-color: #27ae60 !important; }
.toast-error { border-left-color: #E8342A !important; }
.toast-info { border-left-color: #D4A853 !important; }

/* Section badge in bulk CTA */
.bulk-cta-section .section-badge {
  background: rgba(212,168,83,0.15) !important;
  border-color: rgba(212,168,83,0.3) !important;
  color: #D4A853 !important;
}
