/* ============================================================
   DeshiCraft — Premium Yellow Theme
   ============================================================ */

:root {
  /* Brand Colors */
  --sv-gold: #f4b400;
  --sv-gold-light: #ffd54f;
  --sv-gold-dark: #ffc107;
  --sv-gold-pale: #ffecb3;
  --sv-gold-glow: rgba(244, 180, 0, 0.25);

  /* Neutrals */
  --sv-white: #ffffff;
  --sv-dark: #1f2937;
  --sv-dark-soft: #374151;
  --sv-gray: #6b7280;
  --sv-gray-light: #f8f9fa;
  --sv-gray-border: #e5e7eb;

  /* Semantic */
  --sv-success: #10b981;
  --sv-danger: #ef4444;
  --sv-info: #3b82f6;

  /* Typography */
  --sv-font: "Manrope", "Inter", system-ui, -apple-system, sans-serif;
  --sv-font-heading: "Poppins", "Manrope", sans-serif;

  /* Spacing & Radius */
  --sv-radius-sm: 8px;
  --sv-radius: 14px;
  --sv-radius-lg: 20px;
  --sv-radius-xl: 28px;

  /* Shadows */
  --sv-shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.06);
  --sv-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
  --sv-shadow-lg: 0 12px 40px rgba(0, 0, 0, 0.12);
  --sv-shadow-gold: 0 8px 30px rgba(244, 180, 0, 0.3);

  /* Transitions */
  --sv-ease: cubic-bezier(0.4, 0, 0.2, 1);
  --sv-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* Dark Mode */
[data-bs-theme="dark"] {
  --sv-white: #1a1a2e;
  --sv-dark: #f0f0f0;
  --sv-dark-soft: #d1d5db;
  --sv-gray: #9ca3af;
  --sv-gray-light: #111827;
  --sv-gray-border: #374151;
  --sv-shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.3);
  --sv-shadow: 0 4px 16px rgba(0, 0, 0, 0.4);
  --sv-shadow-lg: 0 12px 40px rgba(0, 0, 0, 0.5);
}

/* ============================================================ Base
*/
* {
  box-sizing: border-box;
}

body {
  font-family: var(--sv-font);
  color: var(--sv-dark);
  background: var(--sv-gray-light);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--sv-font-heading);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--sv-dark);
}

a {
  color: var(--sv-gold-dark);
  text-decoration: none;
  transition: color 0.2s var(--sv-ease);
}
a:hover {
  color: var(--sv-gold);
}

.site-main {
  min-height: 70vh;
}

/* ============================================================ Buttons
*/
.btn {
  font-family: var(--sv-font-heading);
  font-weight: 600;
  border-radius: var(--sv-radius-sm);
  padding: 0.625rem 1.5rem;
  transition: all 0.25s var(--sv-ease);
  position: relative;
  overflow: hidden;
  border: none;
}

.btn-lg {
  padding: 0.875rem 2.25rem;
  font-size: 1rem;
  border-radius: var(--sv-radius);
}
.btn-sm {
  padding: 0.4rem 1rem;
  font-size: 0.8125rem;
}

.btn-primary {
  background: linear-gradient(135deg, var(--sv-gold), var(--sv-gold-dark));
  color: var(--sv-dark) !important;
  box-shadow: 0 4px 14px var(--sv-gold-glow);
}
.btn-primary:hover {
  background: linear-gradient(135deg, var(--sv-gold-dark), var(--sv-gold));
  transform: translateY(-2px);
  box-shadow: 0 8px 25px var(--sv-gold-glow);
}

.btn-outline-primary {
  border: 2px solid var(--sv-gold);
  color: var(--sv-gold-dark);
  background: transparent;
}
.btn-outline-primary:hover {
  background: var(--sv-gold);
  color: var(--sv-dark) !important;
  transform: translateY(-2px);
}

.btn-dark {
  background: var(--sv-dark);
  color: var(--sv-white);
}
.btn-dark:hover {
  background: var(--sv-dark-soft);
  transform: translateY(-2px);
}

.btn-light {
  background: var(--sv-white);
  border: 1px solid var(--sv-gray-border);
}
.btn-light:hover {
  background: var(--sv-gray-light);
}

/* Ripple */
.ripple {
  position: relative;
  overflow: hidden;
}
.ripple-wave {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  transform: scale(0);
  animation: ripple-anim 0.6s var(--sv-ease);
  pointer-events: none;
}
@keyframes ripple-anim {
  to {
    transform: scale(4);
    opacity: 0;
  }
}

/* ============================================================ Cards
*/
.card {
  border: none;
  border-radius: var(--sv-radius);
  box-shadow: var(--sv-shadow-sm);
  background: var(--sv-white);
  transition:
    box-shadow 0.3s var(--sv-ease),
    transform 0.3s var(--sv-ease);
}

/* ============================================================ Badges
*/
.badge {
  font-weight: 600;
  border-radius: var(--sv-radius-sm);
  padding: 0.4em 0.8em;
  font-size: 0.7rem;
}
.badge.bg-danger {
  background: var(--sv-danger) !important;
}
.badge.bg-success {
  background: var(--sv-success) !important;
}
.badge.bg-warning {
  background: var(--sv-gold) !important;
  color: var(--sv-dark) !important;
}
.badge.bg-primary {
  background: var(--sv-gold-dark) !important;
  color: var(--sv-dark) !important;
}

/* ============================================================ Header
*/
.site-header {
  background: var(--sv-white);
  box-shadow: var(--sv-shadow-sm);
  position: sticky;
  top: 0;
  z-index: 1030;
  transition: box-shadow 0.3s var(--sv-ease);
}
.site-header.scrolled {
  box-shadow: var(--sv-shadow);
}

.top-bar {
  background: var(--sv-dark);
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.8125rem;
  padding: 8px 0;
}
.top-bar a {
  color: rgba(255, 255, 255, 0.85);
}
.top-bar a:hover {
  color: var(--sv-gold-light);
}

.navbar-brand {
  font-family: var(--sv-font-heading);
  font-weight: 800;
  font-size: 1.5rem;
  color: var(--sv-dark) !important;
  display: flex;
  align-items: center;
  gap: 8px;
}
.navbar-brand .brand-icon {
  width: 38px;
  height: 38px;
  background: linear-gradient(135deg, var(--sv-gold), var(--sv-gold-dark));
  border-radius: var(--sv-radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--sv-dark);
  font-size: 1.2rem;
  box-shadow: var(--sv-shadow-gold);
}

.nav-link {
  font-family: var(--sv-font-heading);
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--sv-dark-soft) !important;
  padding: 0.5rem 1rem !important;
  border-radius: var(--sv-radius-sm);
  transition: all 0.2s var(--sv-ease);
}
.nav-link:hover,
.nav-link.active {
  color: var(--sv-gold-dark) !important;
  background: var(--sv-gold-pale);
}

/* Mega Menu */
.mega-menu {
  position: absolute;
  top: 100%;
  left: 0;
  /* width: 100%; */
  background: var(--sv-white);
  box-shadow: var(--sv-shadow-lg);
  border-radius: 0 0 var(--sv-radius-lg) var(--sv-radius-lg);
  padding: 2rem;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.3s var(--sv-ease);
  z-index: 1000;
}
.nav-item.mega:hover .mega-menu,
.nav-item.mega .mega-menu.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.mega-menu-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.5rem;
}
.mega-category-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 1rem;
  border-radius: var(--sv-radius);
  transition: all 0.2s var(--sv-ease);
  cursor: pointer;
}
.mega-category-item:hover {
  background: var(--sv-gold-pale);
  transform: translateY(-4px);
}
.mega-category-item .icon {
  width: 56px;
  height: 56px;
  border-radius: var(--sv-radius);
  background: linear-gradient(
    135deg,
    var(--sv-gold-pale),
    var(--sv-gold-light)
  );
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.5rem;
  font-size: 1.5rem;
  color: var(--sv-gold-dark);
}
@media (max-width: 991px) {
  .mega-menu {
    position: static;
    width: auto;
    box-shadow: none;
    padding: 1rem;
  }
  .mega-menu-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Search Bar */
.search-wrapper {
  position: relative;
  flex: 1;
  max-width: 520px;
}
.search-bar {
  background: var(--sv-gray-light);
  border: 2px solid transparent;
  border-radius: var(--sv-radius);
  padding: 0.75rem 1.25rem 0.75rem 3rem;
  font-size: 0.9rem;
  width: 100%;
  transition: all 0.25s var(--sv-ease);
  color: var(--sv-dark);
}
.search-bar:focus {
  outline: none;
  border-color: var(--sv-gold);
  background: var(--sv-white);
  box-shadow: 0 0 0 4px var(--sv-gold-glow);
}
.search-wrapper .search-icon {
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--sv-gray);
  font-size: 1.1rem;
  pointer-events: none;
}
.search-suggestions {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  background: var(--sv-white);
  border-radius: var(--sv-radius);
  box-shadow: var(--sv-shadow-lg);
  max-height: 400px;
  overflow-y: auto;
  z-index: 999;
}
.search-suggestions .suggestion-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--sv-gray-border);
  transition: background 0.15s var(--sv-ease);
  color: var(--sv-dark);
  text-decoration: none;
}
.search-suggestions .suggestion-item:hover {
  background: var(--sv-gold-pale);
}
.search-suggestions .suggestion-item:last-child {
  border-bottom: none;
}

/* Icon nav actions */
.nav-action {
  width: 44px;
  height: 44px;
  border-radius: var(--sv-radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--sv-dark-soft);
  position: relative;
  transition: all 0.2s var(--sv-ease);
  background: transparent;
  border: none;
  font-size: 1.3rem;
}
.nav-action:hover {
  background: var(--sv-gold-pale);
  color: var(--sv-gold-dark);
}
.nav-action .count-badge {
  position: absolute;
  top: 2px;
  right: 2px;
  background: var(--sv-gold);
  color: var(--sv-dark);
  font-size: 0.65rem;
  font-weight: 700;
  min-width: 18px;
  height: 18px;
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 4px;
}

/* Dark mode toggle */
.theme-toggle {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 2px solid var(--sv-gray-border);
  background: var(--sv-white);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.25s var(--sv-ease);
  color: var(--sv-gold-dark);
  font-size: 1.2rem;
}
.theme-toggle:hover {
  border-color: var(--sv-gold);
  transform: rotate(15deg);
}

/* Mobile menu */
.mobile-menu {
  position: fixed;
  top: 0;
  left: -100%;
  width: 85%;
  max-width: 360px;
  height: 100vh;
  background: var(--sv-white);
  box-shadow: var(--sv-shadow-lg);
  z-index: 2000;
  transition: left 0.35s var(--sv-ease);
  overflow-y: auto;
  padding: 1.5rem;
}
.mobile-menu.open {
  left: 0;
}
.mobile-menu-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1999;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s var(--sv-ease);
}
.mobile-menu-overlay.show {
  opacity: 1;
  visibility: visible;
}

/* ============================================================ Hero Slider
*/
.hero-slider {
  border-radius: 0;
  overflow: hidden;
}
.hero-slide {
  position: relative;
  height: 480px;
  overflow: hidden;
  border-radius: 0;
}
.hero-slide img {
  width: 100%;
  height: 100%;
  /* object-fit: cover; */
  animation: hero-zoom 8s ease-out forwards;
}
@keyframes hero-zoom {
  from {
    transform: scale(1.1);
  }
  to {
    transform: scale(1);
  }
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(31, 41, 55, 0.85) 0%,
    rgba(31, 41, 55, 0.3) 60%,
    transparent 100%
  );
  display: flex;
  align-items: center;
}
.hero-content {
  max-width: 560px;
  padding-left: 1rem;
}
.hero-content h2 {
  font-size: 3rem;
  font-weight: 800;
  color: var(--sv-white);
  margin-bottom: 1rem;
  line-height: 1.15;
  animation: fadeInUp 0.8s var(--sv-ease) both;
}
.hero-content p {
  font-size: 1.25rem;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 2rem;
  animation: fadeInUp 0.8s var(--sv-ease) 0.15s both;
}
.hero-content .btn {
  animation: fadeInUp 0.8s var(--sv-ease) 0.3s both;
}
@media (max-width: 768px) {
  .hero-slide {
    height: 340px;
  }
  .hero-content h2 {
    font-size: 1.75rem;
  }
  .hero-content p {
    font-size: 1rem;
  }
}

/* Swiper pagination */
.swiper-pagination-bullet {
  background: var(--sv-white);
  opacity: 0.6;
  width: 10px;
  height: 10px;
  transition: all 0.2s var(--sv-ease);
}
.swiper-pagination-bullet-active {
  background: var(--sv-gold);
  opacity: 1;
  width: 28px;
  border-radius: 5px;
}
.swiper-button-next,
.swiper-button-prev {
  color: var(--sv-gold) !important;
}

/* ============================================================ Section Headings
*/
.section-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 2rem;
  flex-wrap: wrap;
  gap: 1rem;
}
.section-heading h3 {
  font-size: 1.75rem;
  font-weight: 800;
  margin: 0;
  position: relative;
  padding-left: 1rem;
}
.section-heading h3::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 4px;
  height: 28px;
  background: linear-gradient(180deg, var(--sv-gold), var(--sv-gold-dark));
  border-radius: 2px;
}
.section-heading .view-all {
  font-family: var(--sv-font-heading);
  font-weight: 600;
  font-size: 0.875rem;
  color: var(--sv-gold-dark);
  display: flex;
  align-items: center;
  gap: 6px;
  transition: gap 0.2s var(--sv-ease);
}
.section-heading .view-all:hover {
  gap: 12px;
}

/* ============================================================ Category Cards
*/
.category-card {
  background: var(--sv-white);
  border-radius: var(--sv-radius-lg);
  padding: 1.5rem 1rem;
  text-align: center;
  transition: all 0.3s var(--sv-spring);
  border: 1px solid var(--sv-gray-border);
  position: relative;
  overflow: hidden;
}
.category-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--sv-gold), var(--sv-gold-dark));
  transform: scaleX(0);
  transition: transform 0.3s var(--sv-ease);
}
.category-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--sv-shadow-lg);
  border-color: var(--sv-gold-light);
}
.category-card:hover::before {
  transform: scaleX(1);
}
.category-card .cat-icon {
  width: 72px;
  height: 72px;
  margin: 0 auto 1rem;
  border-radius: 50%;
  background: linear-gradient(
    135deg,
    var(--sv-gold-pale),
    var(--sv-gold-light)
  );
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: var(--sv-gold-dark);
  transition: transform 0.3s var(--sv-spring);
}
.category-card:hover .cat-icon {
  transform: scale(1.1) rotate(-5deg);
}
.category-card h6 {
  font-weight: 700;
  margin: 0;
  font-size: 0.95rem;
}

/* ============================================================ Product Cards
*/
.product-card {
  background: var(--sv-white);
  border-radius: var(--sv-radius-lg);
  overflow: hidden;
  border: 1px solid var(--sv-gray-border);
  transition: all 0.35s var(--sv-ease);
  height: 100%;
  display: flex;
  flex-direction: column;
}
.product-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--sv-shadow-lg);
  border-color: var(--sv-gold-light);
}
.product-img-wrap {
  position: relative;
  aspect-ratio: 1;
  overflow: hidden;
  background: var(--sv-gray-light);
}
.product-img-wrap .product-img,
.product-img-wrap .product-img-alt {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition:
    opacity 0.4s var(--sv-ease),
    transform 0.5s var(--sv-ease);
}
.product-img-wrap .product-img-alt {
  opacity: 0;
}
.product-card:hover .product-img-alt {
  opacity: 1;
}
.product-card:hover .product-img {
  opacity: 1;
  transform: scale(1.05);
}
.product-card:hover .product-img-alt {
  transform: scale(1.05);
}

/* Badges on product card */
.product-badges {
  position: absolute;
  top: 12px;
  left: 12px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  z-index: 2;
}
.product-badges .badge {
  font-size: 0.7rem;
  padding: 0.35em 0.7em;
}
.discount-badge {
  background: linear-gradient(135deg, var(--sv-danger), #dc2626);
  color: var(--sv-white);
}
.new-badge {
  background: linear-gradient(135deg, var(--sv-success), #059669);
  color: var(--sv-white);
}
.stock-badge {
  background: linear-gradient(135deg, var(--sv-gold), var(--sv-gold-dark));
  color: var(--sv-dark);
}

/* Product action buttons (overlay) */
.product-actions {
  position: absolute;
  right: 12px;
  top: 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  z-index: 2;
  opacity: 0;
  transform: translateX(20px);
  transition: all 0.3s var(--sv-spring);
}
.product-card:hover .product-actions {
  opacity: 1;
  transform: translateX(0);
}
.product-action-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  color: var(--sv-dark);
  box-shadow: var(--sv-shadow-sm);
  cursor: pointer;
  transition: all 0.2s var(--sv-ease);
}
.product-action-btn:hover {
  background: var(--sv-gold);
  color: var(--sv-dark);
  transform: scale(1.1);
}
.product-action-btn.active {
  background: var(--sv-gold);
  color: var(--sv-dark);
}

/* Quick view bar at bottom of image */
.quick-view-bar {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(31, 41, 55, 0.9);
  backdrop-filter: blur(10px);
  color: var(--sv-white);
  text-align: center;
  padding: 10px;
  font-size: 0.85rem;
  font-weight: 600;
  transform: translateY(100%);
  transition: transform 0.3s var(--sv-ease);
  cursor: pointer;
}
.product-card:hover .quick-view-bar {
  transform: translateY(0);
}
.quick-view-bar:hover {
  background: var(--sv-gold);
  color: var(--sv-dark);
}

/* Product info */
.product-info {
  padding: 1rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.product-brand {
  font-size: 0.75rem;
  color: var(--sv-gray);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 4px;
}
.product-name {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--sv-dark);
  margin-bottom: 0.5rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  line-height: 1.4;
}
.product-name a {
  color: inherit;
}
.product-name a:hover {
  color: var(--sv-gold-dark);
}

.rating-row {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-bottom: 0.75rem;
}
.rating-stars {
  color: var(--sv-gold);
  font-size: 0.85rem;
}
.rating-count {
  font-size: 0.75rem;
  color: var(--sv-gray);
}

.price-row {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 0.75rem;
}
.price-current {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--sv-dark);
  font-family: var(--sv-font-heading);
}
.price-old {
  font-size: 0.85rem;
  color: var(--sv-gray);
  text-decoration: line-through;
}

.product-buttons {
  display: flex;
  gap: 8px;
  margin-top: auto;
}
.product-buttons .btn {
  flex: 1;
  font-size: 0.8125rem;
  padding: 0.5rem 0.75rem;
}

/* ============================================================ Promo Banner
*/
.promo-banner {
  border-radius: var(--sv-radius-xl);
  overflow: hidden;
  position: relative;
  background: linear-gradient(135deg, var(--sv-dark), var(--sv-dark-soft));
  padding: 3rem;
  display: flex;
  align-items: center;
  min-height: 200px;
}
.promo-banner img {
  border-radius: var(--sv-radius-xl);
}
.promo-banner-content {
  position: relative;
  z-index: 2;
}
.promo-banner h3 {
  color: var(--sv-gold-light);
  font-size: 2rem;
  margin-bottom: 0.5rem;
}
.promo-banner p {
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 1.5rem;
}

/* ============================================================ Stat Cards (animated counters)
*/
.stat-card {
  background: var(--sv-white);
  border-radius: var(--sv-radius-lg);
  padding: 1.5rem;
  border: 1px solid var(--sv-gray-border);
  transition: all 0.3s var(--sv-ease);
  display: flex;
  align-items: center;
  gap: 1rem;
}
.stat-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--sv-shadow);
  border-color: var(--sv-gold-light);
}
.stat-card .stat-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--sv-radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  flex-shrink: 0;
}
.stat-card .stat-value {
  font-size: 1.75rem;
  font-weight: 800;
  font-family: var(--sv-font-heading);
  line-height: 1;
}
.stat-card .stat-label {
  font-size: 0.8125rem;
  color: var(--sv-gray);
  margin-top: 4px;
}

/* ============================================================ Newsletter
*/
.newsletter-section {
  background: linear-gradient(
    135deg,
    var(--sv-gold-pale),
    var(--sv-gold-light)
  );
  border-radius: var(--sv-radius-xl);
  padding: 3rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.newsletter-section h3 {
  font-size: 2rem;
  margin-bottom: 0.5rem;
}
.newsletter-section p {
  color: var(--sv-dark-soft);
  margin-bottom: 1.5rem;
}
.newsletter-form {
  display: flex;
  gap: 8px;
  max-width: 480px;
  margin: 0 auto;
}
.newsletter-form input {
  flex: 1;
  padding: 0.875rem 1.25rem;
  border: none;
  border-radius: var(--sv-radius);
  font-size: 0.9rem;
  background: var(--sv-white);
  box-shadow: var(--sv-shadow-sm);
}
.newsletter-form input:focus {
  outline: 2px solid var(--sv-gold);
}

/* ============================================================ Footer
*/
.site-footer {
  background: var(--sv-dark);
  color: rgba(255, 255, 255, 0.7);
  padding: 4rem 0 2rem;
  margin-top: 4rem;
}
.site-footer h5,
.site-footer h6 {
  color: var(--sv-white);
  margin-bottom: 1.25rem;
}
.site-footer a {
  color: rgba(255, 255, 255, 0.7);
}
.site-footer a:hover {
  color: var(--sv-gold-light);
}
.site-footer .footer-brand {
  font-family: var(--sv-font-heading);
  font-weight: 800;
  font-size: 1.5rem;
  color: var(--sv-white);
}
.site-footer .social-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.7);
  transition: all 0.25s var(--sv-ease);
}
.site-footer .social-btn:hover {
  background: var(--sv-gold);
  border-color: var(--sv-gold);
  color: var(--sv-dark);
  transform: translateY(-3px);
}
.footer-divider {
  border-color: rgba(255, 255, 255, 0.1);
}

/* ============================================================ Floating Buttons
*/
.fab {
  position: fixed;
  right: 24px;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  box-shadow: var(--sv-shadow-lg);
  transition: all 0.3s var(--sv-spring);
  border: none;
  cursor: pointer;
  font-size: 1.4rem;
}
.fab-whatsapp {
  bottom: 88px;
  background: #25d366;
  color: var(--sv-white);
}
.fab-whatsapp:hover {
  transform: scale(1.1);
}
.fab-top {
  bottom: 24px;
  background: var(--sv-gold);
  color: var(--sv-dark);
  opacity: 0;
  pointer-events: none;
}
.fab-top.visible {
  opacity: 1;
  pointer-events: auto;
}
.fab-top:hover {
  transform: scale(1.1);
}

/* ============================================================ Toast
*/
.toast-container {
  position: fixed;
  top: 100px;
  right: 24px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.sv-toast {
  background: var(--sv-white);
  border-radius: var(--sv-radius);
  box-shadow: var(--sv-shadow-lg);
  padding: 1rem 1.25rem;
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 320px;
  max-width: 420px;
  animation: slideInRight 0.4s var(--sv-spring) both;
  border-left: 4px solid var(--sv-gold);
}
.sv-toast.toast-success {
  border-left-color: var(--sv-success);
}
.sv-toast.toast-error {
  border-left-color: var(--sv-danger);
}
.sv-toast.toast-warning {
  border-left-color: var(--sv-gold);
}
.sv-toast.removing {
  animation: slideOutRight 0.3s var(--sv-ease) forwards;
}
.sv-toast .toast-icon {
  font-size: 1.3rem;
  flex-shrink: 0;
}
.sv-toast .toast-msg {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--sv-dark);
}
@keyframes slideInRight {
  from {
    transform: translateX(120%);
  }
  to {
    transform: translateX(0);
  }
}
@keyframes slideOutRight {
  to {
    transform: translateX(120%);
    opacity: 0;
  }
}

/* ============================================================ Skeletons
*/
.skeleton {
  background: linear-gradient(
    90deg,
    var(--sv-gray-light) 25%,
    var(--sv-gray-border) 50%,
    var(--sv-gray-light) 75%
  );
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
  border-radius: var(--sv-radius-sm);
}
@keyframes shimmer {
  0% {
    background-position: 200% 0;
  }
  100% {
    background-position: -200% 0;
  }
}
.skeleton-card {
  border-radius: var(--sv-radius-lg);
  overflow: hidden;
  border: 1px solid var(--sv-gray-border);
}
.skeleton-img {
  aspect-ratio: 1;
}
.skeleton-line {
  height: 12px;
  margin: 8px 12px;
}
.skeleton-line.short {
  width: 60%;
}

/* ============================================================ Empty States
*/
.empty-state {
  text-align: center;
  padding: 4rem 1rem;
}
.empty-state .empty-icon {
  width: 100px;
  height: 100px;
  margin: 0 auto 1.5rem;
  border-radius: 50%;
  background: linear-gradient(
    135deg,
    var(--sv-gold-pale),
    var(--sv-gold-light)
  );
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  color: var(--sv-gold-dark);
}
.empty-state h4 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}
.empty-state p {
  color: var(--sv-gray);
  margin-bottom: 2rem;
}

/* ============================================================ Forms
*/
.form-control,
.form-select {
  border-radius: var(--sv-radius-sm);
  border: 1.5px solid var(--sv-gray-border);
  padding: 0.625rem 1rem;
  font-size: 0.9rem;
  transition: all 0.2s var(--sv-ease);
  background: var(--sv-white);
  color: var(--sv-dark);
}
.form-control:focus,
.form-select:focus {
  border-color: var(--sv-gold);
  box-shadow: 0 0 0 4px var(--sv-gold-glow);
  outline: none;
}
.form-label {
  font-weight: 600;
  font-size: 0.85rem;
  margin-bottom: 0.4rem;
  color: var(--sv-dark-soft);
}
.input-group .btn {
  border-radius: var(--sv-radius-sm);
}

/* ============================================================ Auth Pages
*/
.auth-page {
  min-height: calc(100vh - 80px);
  display: flex;
  align-items: center;
  background: linear-gradient(
    135deg,
    var(--sv-gray-light),
    var(--sv-gold-pale)
  );
  padding: 2rem 1rem;
}
.auth-card {
  background: var(--sv-white);
  border-radius: var(--sv-radius-xl);
  box-shadow: var(--sv-shadow-lg);
  padding: 3rem;
  max-width: 480px;
  width: 100%;
  margin: 0 auto;
  position: relative;
  overflow: hidden;
}
.auth-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 6px;
  background: linear-gradient(
    90deg,
    var(--sv-gold),
    var(--sv-gold-dark),
    var(--sv-gold-light)
  );
}
.auth-card h3 {
  font-size: 1.75rem;
  text-align: center;
  margin-bottom: 0.5rem;
}
.auth-card .auth-subtitle {
  text-align: center;
  color: var(--sv-gray);
  margin-bottom: 2rem;
  font-size: 0.9rem;
}
.auth-card .btn-primary {
  width: 100%;
  padding: 0.875rem;
  font-size: 1rem;
}

/* ============================================================ Checkout
*/
.checkout-card {
  background: var(--sv-white);
  border-radius: var(--sv-radius-lg);
  border: 1px solid var(--sv-gray-border);
  padding: 2rem;
}
.checkout-card h5 {
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 2px solid var(--sv-gold-pale);
}
.payment-option {
  border: 2px solid var(--sv-gray-border);
  border-radius: var(--sv-radius);
  padding: 1rem;
  cursor: pointer;
  transition: all 0.25s var(--sv-ease);
  display: flex;
  align-items: center;
  gap: 12px;
}
.payment-option:hover {
  border-color: var(--sv-gold-light);
}
.payment-option.selected {
  border-color: var(--sv-gold);
  background: var(--sv-gold-pale);
}
.payment-option input {
  display: none;
}

/* ============================================================ Dashboard sidebar
*/
.account-sidebar {
  background: var(--sv-white);
  border-radius: var(--sv-radius-lg);
  border: 1px solid var(--sv-gray-border);
  padding: 1.5rem;
  position: sticky;
  top: 100px;
}
.account-sidebar .user-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  margin: 0 auto 1rem;
  background: linear-gradient(135deg, var(--sv-gold), var(--sv-gold-dark));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: var(--sv-dark);
  font-weight: 700;
}
.account-sidebar .nav-link {
  border-radius: var(--sv-radius-sm);
  padding: 0.75rem 1rem !important;
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--sv-dark-soft) !important;
  font-weight: 600;
}
.account-sidebar .nav-link:hover {
  background: var(--sv-gold-pale);
}
.account-sidebar .nav-link.active {
  background: linear-gradient(135deg, var(--sv-gold), var(--sv-gold-dark));
  color: var(--sv-dark) !important;
}

/* ============================================================ Animations
*/
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(0.9);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}
@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.animate-fadeInUp {
  animation: fadeInUp 0.6s var(--sv-ease) both;
}
.animate-fadeIn {
  animation: fadeIn 0.5s var(--sv-ease) both;
}
.animate-scaleIn {
  animation: scaleIn 0.4s var(--sv-spring) both;
}
.animate-slideInLeft {
  animation: slideInLeft 0.5s var(--sv-ease) both;
}

.delay-1 {
  animation-delay: 0.1s;
}
.delay-2 {
  animation-delay: 0.2s;
}
.delay-3 {
  animation-delay: 0.3s;
}
.delay-4 {
  animation-delay: 0.4s;
}
.delay-5 {
  animation-delay: 0.5s;
}

/* Scroll reveal - fallback: if JS fails, content still shows after 3s */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.7s var(--sv-ease);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
@keyframes reveal-fallback {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.reveal {
  animation: reveal-fallback 0s 3s forwards;
}
.reveal.visible {
  animation: none;
}

/* Page transition */
.page-enter {
  animation: fadeIn 0.4s var(--sv-ease) both;
}

/* ============================================================ Breadcrumb
*/
.breadcrumb {
  background: transparent;
  padding: 0;
  margin-bottom: 1.5rem;
  font-size: 0.85rem;
}
.breadcrumb a {
  color: var(--sv-gray);
}
.breadcrumb a:hover {
  color: var(--sv-gold-dark);
}
.breadcrumb-item.active {
  color: var(--sv-dark);
}

/* ============================================================ Pagination
*/
.pagination .page-link {
  border: none;
  border-radius: var(--sv-radius-sm) !important;
  margin: 0 3px;
  color: var(--sv-dark-soft);
  font-weight: 600;
  padding: 0.5rem 0.875rem;
  transition: all 0.2s var(--sv-ease);
}
.pagination .page-link:hover {
  background: var(--sv-gold-pale);
  color: var(--sv-gold-dark);
}
.pagination .active .page-link {
  background: var(--sv-gold);
  color: var(--sv-dark) !important;
  border-color: var(--sv-gold);
}

/* ============================================================ Filter Sidebar
*/
.filter-card {
  background: var(--sv-white);
  border-radius: var(--sv-radius-lg);
  border: 1px solid var(--sv-gray-border);
  padding: 1.5rem;
  position: sticky;
  top: 100px;
}
.filter-card h5 {
  font-size: 1rem;
  margin-bottom: 1.25rem;
}

/* ============================================================ Tabs
*/
.nav-tabs {
  border-bottom: 2px solid var(--sv-gray-border);
  gap: 4px;
}
.nav-tabs .nav-link {
  border: none;
  border-bottom: 3px solid transparent;
  border-radius: 0;
  padding: 0.75rem 1.25rem !important;
  font-weight: 600;
  color: var(--sv-gray) !important;
  background: none !important;
  transition: all 0.2s var(--sv-ease);
}
.nav-tabs .nav-link:hover {
  color: var(--sv-gold-dark) !important;
}
.nav-tabs .nav-link.active {
  color: var(--sv-gold-dark) !important;
  border-bottom-color: var(--sv-gold);
  background: none;
}

/* ============================================================ Misc
*/
.glass {
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.3);
}
[data-bs-theme="dark"] .glass {
  background: rgba(26, 26, 46, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.scrollbar-thin::-webkit-scrollbar {
  width: 6px;
}
.scrollbar-thin::-webkit-scrollbar-track {
  background: transparent;
}
.scrollbar-thin::-webkit-scrollbar-thumb {
  background: var(--sv-gold-light);
  border-radius: 3px;
}

.divider-text {
  text-align: center;
  position: relative;
  margin: 1.5rem 0;
}
.divider-text::before,
.divider-text::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 40%;
  height: 1px;
  background: var(--sv-gray-border);
}
.divider-text::before {
  left: 0;
}
.divider-text::after {
  right: 0;
}
.divider-text span {
  background: var(--sv-white);
  padding: 0 1rem;
  color: var(--sv-gray);
  font-size: 0.85rem;
  position: relative;
  z-index: 1;
}

[data-bs-theme="dark"] .divider-text span {
  background: var(--sv-white);
}

/* Flash sale countdown */
.countdown-timer {
  display: flex;
  gap: 8px;
  align-items: center;
}
.countdown-box {
  background: var(--sv-dark);
  color: var(--sv-gold-light);
  border-radius: var(--sv-radius-sm);
  padding: 6px 10px;
  font-weight: 700;
  font-size: 0.85rem;
  font-family: var(--sv-font-heading);
  min-width: 44px;
  text-align: center;
}

/* Instagram gallery */
.insta-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 8px;
}
.insta-grid img {
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: var(--sv-radius-sm);
  transition: all 0.3s var(--sv-ease);
}
.insta-grid a {
  position: relative;
  display: block;
  overflow: hidden;
}
.insta-grid a::after {
  content: "\F544";
  font-family: "bootstrap-icons";
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(244, 180, 0, 0.8);
  color: var(--sv-dark);
  font-size: 1.5rem;
  opacity: 0;
  transition: opacity 0.3s var(--sv-ease);
}
.insta-grid a:hover::after {
  opacity: 1;
}
.insta-grid a:hover img {
  transform: scale(1.1);
}
@media (max-width: 768px) {
  .insta-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Loading overlay */
.loading-overlay {
  position: fixed;
  inset: 0;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(4px);
  z-index: 9998;
  display: none;
  align-items: center;
  justify-content: center;
}
.loading-overlay.show {
  display: flex;
}
.spinner-gold {
  width: 48px;
  height: 48px;
  border: 4px solid var(--sv-gold-pale);
  border-top-color: var(--sv-gold);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* Smooth scroll */
html {
  scroll-behavior: smooth;
}

/* Selection */
::selection {
  background: var(--sv-gold);
  color: var(--sv-dark);
}

/* Focus visible */
:focus-visible {
  outline: 2px solid var(--sv-gold);
  outline-offset: 2px;
}

/* //////////promo banner sh////////// */

.promo-banner {
  position: relative;
  min-height: 350px;
  overflow: hidden;
  border-radius: 18px;

  display: flex;
  align-items: center;
  justify-content: center;
}

/* Background image */
.promo-banner-image {
  position: absolute;
  top: 0;
  left: 0;

  width: 100%;
  height: 100%;

  object-fit: cover;
  object-position: center;

  z-index: 1;
}

/* Dark overlay for readable text */
.promo-banner-overlay {
  position: absolute;
  inset: 0;

  background: rgba(0, 0, 0, 0.45);

  z-index: 2;
}

/* Text content */
.promo-banner-content {
  position: relative;
  z-index: 3;

  max-width: 700px;
  padding: 50px 30px;

  text-align: center;
  color: #ffffff;
}

.promo-banner-content h3 {
  margin-bottom: 15px;

  font-size: 42px;
  font-weight: 800;

  color: #ffffff;
}

.promo-banner-content p {
  max-width: 600px;
  margin: 0 auto 25px;

  font-size: 18px;
  line-height: 1.7;

  color: #ffffff;
}

/* Mobile */
@media (max-width: 768px) {
  .promo-banner {
    min-height: 300px;
  }

  .promo-banner-content h3 {
    font-size: 32px;
  }

  .promo-banner-content p {
    font-size: 15px;
  }
}
