

/* ============================================
   CSS Variables (Design System)
   ============================================ */
:root {
  /* Core Colors */
  --background: hsl(220, 25%, 97%);
  --foreground: hsl(220, 40%, 13%);
  
  /* Cards & Surfaces */
  --card: hsl(0, 0%, 100%);
  --card-foreground: hsl(220, 40%, 13%);
  
  /* Primary: Deep Navy Blue */
  --primary: hsl(220, 45%, 18%);
  --primary-foreground: hsl(45, 60%, 70%);
  
  /* Secondary */
  --secondary: hsl(220, 20%, 92%);
  --secondary-foreground: hsl(220, 40%, 20%);
  
  /* Gold Accent */
  --accent: hsl(45, 80%, 55%);
  --accent-foreground: hsl(220, 45%, 15%);
  
  /* Muted */
  --muted: hsl(220, 15%, 90%);
  --muted-foreground: hsl(220, 15%, 45%);
  
  /* Borders */
  --border: hsl(220, 20%, 88%);
  
  /* Gold Palette */
  --gold: hsl(45, 80%, 55%);
  --gold-light: hsl(45, 70%, 75%);
  --gold-dark: hsl(40, 75%, 40%);
  --gold-shimmer: hsl(45, 90%, 65%);
  
  /* Navy Palette */
  --navy: hsl(220, 45%, 18%);
  --navy-light: hsl(220, 35%, 30%);
  --navy-dark: hsl(220, 50%, 10%);
  
  /* Spacing */
  --radius: 0.75rem;
  --radius-sm: 0.5rem;
  --radius-lg: 1rem;
}

/* Dark Mode */
.dark {
  --background: hsl(220, 45%, 8%);
  --foreground: hsl(45, 20%, 92%);
  --card: hsl(220, 40%, 12%);
  --card-foreground: hsl(45, 20%, 92%);
  --primary: hsl(45, 80%, 55%);
  --primary-foreground: hsl(220, 45%, 10%);
  --secondary: hsl(220, 35%, 18%);
  --secondary-foreground: hsl(45, 30%, 85%);
  --muted: hsl(220, 30%, 18%);
  --muted-foreground: hsl(220, 15%, 60%);
  --border: hsl(220, 30%, 20%);
}

/* ============================================
   Reset & Base Styles
   ============================================ */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  direction: rtl;
  scroll-behavior: smooth;
}

body {
  font-family: 'Vazirmatn', 'Vazir', system-ui, sans-serif;
  background-color: var(--background);
  color: var(--foreground);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

ul, ol {
  list-style: none;
}

/* ============================================
   Typography
   ============================================ */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.3;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }

@media (max-width: 768px) {
  h1 { font-size: 1.75rem; }
  h2 { font-size: 1.5rem; }
  h3 { font-size: 1.25rem; }
}

/* ============================================
   Layout Utilities
   ============================================ */
.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1rem;
}

@media (min-width: 640px) {
  .container { padding: 0 1.5rem; }
}

@media (min-width: 1024px) {
  .container { padding: 0 2rem; }
}

.flex { display: flex; }
.flex-col { flex-direction: column; }
.items-center { align-items: center; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.gap-2 { gap: 0.5rem; }
.gap-4 { gap: 1rem; }
.gap-6 { gap: 1.5rem; }
.gap-8 { gap: 2rem; }

.grid { display: grid; }
.grid-cols-1 { grid-template-columns: repeat(2, 1fr); }
.grid-cols-2 { grid-template-columns: repeat(2, 1fr); }
.grid-cols-3 { grid-template-columns: repeat(3, 1fr); }
.grid-cols-4 { grid-template-columns: repeat(4, 1fr); }

@media (min-width: 640px) {
  .sm\:grid-cols-2 { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 768px) {
  .md\:grid-cols-3 { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 1024px) {
  .lg\:grid-cols-4 { grid-template-columns: repeat(4, 1fr); }
}

/* ============================================
   Header
   ============================================ */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--card);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 1px
1px 3px rgba(0,0,0,0.05);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 4.5rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.logo-icon {
  width: 2.5rem;
  height: 2.5rem;
  background: linear-gradient(135deg, var(--gold-dark), var(--gold), var(--gold-light));
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  color: var(--primary);
}

.logo-text {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--primary);
}
/* دسکتاپ */
.nav {
  display: flex;
  gap: 2rem;
}

.nav-toggle {
  display: none;
}

/* موبایل */
@media (max-width: 759px) {

  /* فقط دکمه‌ها و منو مخفی */
  .nav {
    display: none !important;
  }

  .nav-toggle {
    display: none !important;
  }
}

/* ============================================
   Buttons
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.625rem 1.25rem;
  font-size: 0.875rem;
  font-weight: 500;
  border-radius: var(--radius);
  border: none;
  cursor: pointer;
  transition: all 0.2s;
}

.btn-primary {
  background: var(--primary);
  color: var(--primary-foreground);
}

.btn-primary:hover {
  background: var(--navy-light);
}

.btn-gold {
  background: linear-gradient(135deg, var(--gold-dark), var(--gold), var(--gold-light));
  color: var(--primary);
  font-weight: 600;
}

.btn-gold:hover {
  box-shadow: 0 4px 15px hsla(45, 80%, 55%, 0.4);
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--foreground);
}

.btn-outline:hover {
  background: var(--secondary);
  border-color: var(--gold);
}

.btn-ghost {
  background: transparent;
  color: var(--muted-foreground);
}

.btn-ghost:hover {
  background: var(--secondary);
  color: var(--foreground);
}

.btn-sm {
  padding: 0.5rem 0.875rem;
  font-size: 0.75rem;
}

.btn-lg {
  padding: 0.875rem 2rem;
  font-size: 1rem;
}
/* دکمه‌های طلایی */
.btn-goldo {
  background: linear-gradient(135deg, #d4af37, #f7e27c);
  color: #000 !important;
  padding: 1px 1px;
  border-radius: 20px;
  font-weight: 600;
  margin-right: 6px;
  transition: 0.3s;
}

.btn-goldo:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 10px rgba(212,175,55,0.4);
}
/* ============================================
   Hero Section
   ============================================ */
.hero {
  background: linear-gradient(180deg, var(--navy), var(--navy-dark));
  color: white;
  padding: 4rem 0 6rem;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23d4af37' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  opacity: 0.5;
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: hsla(45, 80%, 55%, 0.1);
  border: 1px solid hsla(45, 80%, 55%, 0.3);
  padding: 0.5rem 1rem;
  border-radius: 9999px;
  font-size: 0.875rem;
  color: var(--gold);
  margin-bottom: 1.5rem;
}

.hero h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

@media (min-width: 768px) {
  .hero h1 { font-size: 3.5rem; }
}

.hero-title-gold {
  background: linear-gradient(135deg, var(--gold-dark), var(--gold), var(--gold-light), var(--gold), var(--gold-dark));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero p {
  font-size: 1.125rem;
  color: hsla(0, 0%, 100%, 0.8);
  margin-bottom: 2rem;
}

.hero-features {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem;
  margin-top: 3rem;
}

.hero-feature {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: hsla(0, 0%, 100%, 0.05);
  border: 1px solid hsla(0, 0%, 100%, 0.1);
  padding: 0.75rem 1.25rem;
  border-radius: var(--radius);
}

.hero-feature-icon {
  width: 2.5rem;
  height: 2.5rem;
  background: linear-gradient(135deg, var(--gold-dark), var(--gold));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
}

.hero-wave {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
}

/* ============================================
   Gold Price Bar
   ============================================ */
.gold-price-bar {
  background: var(--card);
  border-bottom: 1px solid var(--border);
  padding: 0.75rem 0;
  
}

.gold-price-bar-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
  text-align: center;
}

.gold-price-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  
}

.gold-price-label {
  color: var(--muted-foreground);
}

.gold-price-value {
  font-weight: 600;
  color: var(--gold-dark);
}

/* ============================================
   Cards
   ============================================ */
.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: all 0.3s ease;
   
}
#products-grid {
  padding: 0 1rem; /* فاصله از چپ و راست */
}

.card:hover {
  border-color: hsla(45, 80%, 55%, 0.3);
  box-shadow: 
    0 20px 25px -5px hsla(220, 45%, 18%, 0.1),
    0 8px 10px -6px hsla(220, 45%, 18%, 0.1),
    0 0 0 1px hsla(45, 80%, 55%, 0.2);
  transform: translateY(-4px);
}

.card-image {
  position: relative;
  aspect-ratio: 1;
  overflow: hidden;
  background: var(--secondary);
}

.card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.card:hover .card-image img {
  transform: scale(1.1);
}

.card-badges {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.badge {
  display: inline-flex;
  padding: 0.25rem 0.625rem;
  font-size: 0.75rem;
  font-weight: 500;
  border-radius: 9999px;
}

.badge-new {
  background: var(--primary);
  color: var(--gold);
}

.badge-discount {
  background: hsl(0, 84%, 60%);
  color: white;
}

.card-actions {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1rem;
  background: linear-gradient(to top, hsla(0, 0%, 0%, 0.6), transparent);
  opacity: 0;
  transform: translateY(1rem);
  transition: all 0.3s ease;
}

.card:hover .card-actions {
  opacity: 1;
  transform: translateY(0);
}

.card-content {
  padding: 1rem;
}

.card-title {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
  color: var(--foreground);
}

.card-category {
  font-size: 0.75rem;
  color: var(--muted-foreground);
  margin-bottom: 0.75rem;
}

.card-price {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.card-price-current {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--gold-dark);
}

.card-price-original {
  font-size: 0.875rem;
  color: var(--muted-foreground);
  text-decoration: line-through;
}

.card-weight {
  font-size: 0.75rem;
  color: var(--muted-foreground);
  margin-top: 0.5rem;
}

/* ============================================
   Sections
   ============================================ */
.section {
  padding: 2rem 0;
}

.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-title {
  font-size: 1.75rem;
  color: var(--foreground);
  margin-bottom: 0.5rem;
}

.section-title-gold {
  background: linear-gradient(135deg, var(--gold-dark), var(--gold), var(--gold-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-description {
  color: var(--muted-foreground);
  max-width: 600px;
  margin: 0 auto;
}

/* ============================================
   Category Page Header
   ============================================ */
.category-header {
  background: linear-gradient(135deg, var(--navy), var(--navy-light));
  padding: 3rem 0;
  color: white;
text-align: center;
}

.category-header h1 {
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

.category-header p {
  color: hsla(0, 0%, 100%, 0.7);
}

.filter-bar {
  background: var(--card);
  border-bottom: 1px solid var(--border);
  padding: 1rem 0;
}

.filter-bar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

/* ============================================
   Footer
   ============================================ */
.footer {
  background: linear-gradient(180deg, var(--navy), var(--navy-dark));
  color: white;
  padding: 4rem 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-bottom: 3rem;
}

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.footer-section h4 {
  font-size: 1rem;
  margin-bottom: 1rem;
  color: var(--gold);
}

.footer-section p,
.footer-section a {
  color: hsla(0, 0%, 100%, 0.7);
  font-size: 0.875rem;
  line-height: 2;
}

.footer-section a:hover {
  color: var(--gold);
}

.footer-bottom {
  border-top: 1px solid hsla(0, 0%, 100%, 0.1);
  padding-top: 2rem;
  text-align: center;
  color: hsla(0, 0%, 100%, 0.5);
  font-size: 0.875rem;
}

/* ============================================
   Form Elements
   ============================================ */
.input,
.select {
  width: 100%;
  padding: 0.625rem 1rem;
  font-size: 0.875rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--card);
  color: var(--foreground);
  transition: border-color 0.2s, box-shadow 0.2s;
}

.input:focus,
.select:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px hsla(45, 80%, 55%, 0.1);
}

.select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23666' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: left 0.75rem center;
  background-size: 1rem;
  padding-left: 2.5rem;
}

/* ============================================
   Utilities
   ============================================ */
.text-center { text-align: center; }
.text-gold { color: var(--gold); }
.text-muted { color: var(--muted-foreground); }

.gold-shimmer {
  background: linear-gradient(110deg, var(--gold), var(--gold-light), var(--gold-shimmer), var(--gold-light), var(--gold));
  background-size: 200% 100%;
  animation: shimmer 3s ease-in-out infinite;
}

@keyframes shimmer {
  0%, 100% { background-position: 200% 0; }
  50% { background-position: -200% 0; }
}

.animate-fade-in {
  animation: fadeIn 0.5s ease-out;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Scrollbar */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

::-webkit-scrollbar-track {
  background: var(--secondary);
}

::-webkit-scrollbar-thumb {
  background: var(--muted-foreground);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--gold);
}







/* کانتینر اسکرول افقی */
.products-scroll {
  display: flex;               /* همه کارت‌ها در یک ردیف */
  flex-wrap: nowrap;           /* بدون رفتن به خط بعد */
  gap: 1.5rem;                 /* فاصله بین کارت‌ها */
  overflow-x: auto;            /* فعال کردن اسکرول افقی */
  overflow-y: hidden;          /* مخفی کردن اسکرول عمودی */
  scroll-snap-type: x mandatory; /* کارت‌ها هنگام اسکرول بچسبند */
  -webkit-overflow-scrolling: touch; /* اسکرول نرم در iOS */
  padding-bottom: 1rem;
}

/* اندازه کارت‌ها ثابت */
.products-scroll .card {
  flex: 0 0 260px;           /* کارت ثابت 260px */
  max-width: 260px;
  scroll-snap-align: start;   /* اسکرول کارت به کارت */
}

/* اسکرول‌بار زیبا (اختیاری) */
.products-scroll::-webkit-scrollbar {
  height: 6px;
}
.products-scroll::-webkit-scrollbar-track {
  background: transparent;
}
.products-scroll::-webkit-scrollbar-thumb {
  background: hsla(45, 80%, 55%, 0.4);
  border-radius: 999px;
}

/* واکنش‌گرا برای موبایل 
@media (max-width: 640px) {
  .products-scroll .card {
    flex: 0 0 200px;         
    max-width: 200px;
  }
}
#products-grid {
    display: flex !important;
    grid-template-columns: none !important;
}

*/

.mobile-bottom-nav {
  display: none;
}

@media (max-width: 768px) {
  .mobile-bottom-nav {
    display: flex;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 65px;
    background: #fff;
    border-top: 1px solid #eee;
    justify-content: space-around;
    align-items: center;
    z-index: 999;
    padding-bottom: env(safe-area-inset-bottom);
  }

  .mb-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    font-size: 13px;
    color: #444;
  }

  .mb-item span {
    font-size: 11px;
    margin-top: 3px;
  }
}
.mb-icon {
  width: 22px;
  height: 22px;
  margin-bottom: 4px;
}



* ==========================================
   سبد خرید - استایل‌ها
   ========================================== */

/* Breadcrumb */
.breadcrumb-section {
    background: var(--navy-900);
    padding: 1rem 0;
    border-bottom: 1px solid var(--gold-500/20);
}

.breadcrumb {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.9rem;
}

.breadcrumb a {
    color: var(--gold-400);
    text-decoration: none;
    transition: color 0.2s;
}

.breadcrumb a:hover {
    color: var(--gold-300);
}

.breadcrumb .separator {
    color: var(--navy-500);
}

.breadcrumb .current {
    color: var(--navy-300);
}

/* Cart Section */
.cart-section {
    padding: 3rem 0;
    min-height: 60vh;
}

.cart-header {
    text-align: center;
    margin-bottom: 3rem;
}

.cart-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--gold-400);
    margin-bottom: 0.5rem;
}

.cart-subtitle {
    color: var(--navy-300);
    font-size: 1rem;
}

/* Cart Layout */
.cart-layout {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 2rem;
    align-items: start;
}

@media (max-width: 1024px) {
    .cart-layout {
        grid-template-columns: 1fr;
    }
}

/* Cart Items Container */
.cart-items-container {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

/* Cart Item */
.cart-item {
    display: grid;
    grid-template-columns: 120px 1fr auto;
    gap: 1.5rem;
    padding: 1.5rem;
    background: linear-gradient(135deg, var(--navy-800) 0%, var(--navy-900) 100%);
    border: 1px solid var(--gold-500/20);
    border-radius: 16px;
    transition: all 0.3s ease;
    animation: slideIn 0.3s ease;
}

.cart-item:hover {
    border-color: var(--gold-500/40);
    box-shadow: 0 8px 32px rgba(212, 175, 55, 0.1);
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideOut {
    from {
        opacity: 1;
        transform: translateX(0);
    }
    to {
        opacity: 0;
        transform: translateX(20px);
    }
}

@media (max-width: 640px) {
    .cart-item {
        grid-template-columns: 80px 1fr;
        gap: 1rem;
    }
    
    .cart-item-price-section {
        grid-column: 1 / -1;
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding-top: 1rem;
        border-top: 1px solid var(--gold-500/10);
    }
}

/* Cart Item Image */
.cart-item-image {
    width: 120px;
    height: 120px;
    border-radius: 12px;
    overflow: hidden;
    background: var(--navy-700);
}

.cart-item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.cart-item:hover .cart-item-image img {
    transform: scale(1.05);
}

@media (max-width: 640px) {
    .cart-item-image {
        width: 80px;
        height: 80px;
    }
}

/* Cart Item Details */
.cart-item-details {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.cart-item-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--foreground);
    margin: 0;
}

.cart-item-meta {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.meta-item {
    display: flex;
    gap: 0.5rem;
    font-size: 0.9rem;
}

.meta-label {
    color: var(--navy-400);
}

.meta-value {
    color: var(--gold-400);
    font-weight: 500;
}

/* Quantity Controls */
.cart-item-quantity {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 0.5rem;
}

.qty-btn {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--navy-700);
    border: 1px solid var(--gold-500/30);
    border-radius: 8px;
    color: var(--gold-400);
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.2s ease;
}

.qty-btn:hover {
    background: var(--gold-500);
    color: var(--navy-900);
    border-color: var(--gold-500);
}

.qty-input {
    width: 50px;
    height: 36px;
    text-align: center;
    background: var(--navy-800);
    border: 1px
solid var(--gold-500/30);
    border-radius: 8px;
    color: var(--foreground);
    font-size: 1rem;
    font-weight: 500;
}

.qty-input:focus {
    outline: none;
    border-color: var(--gold-500);
}

/* Remove number input arrows */
.qty-input::-webkit-outer-spin-button,
.qty-input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.qty-input[type=number] {
    -moz-appearance: textfield;
}

/* Cart Item Price Section */
.cart-item-price-section {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1rem;
}

.cart-item-price {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--gold-400);
    white-space: nowrap;
}

.cart-item-remove {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: transparent;
    border: 1px solid var(--destructive/50);
    border-radius: 8px;
    color: var(--destructive);
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.2s ease;
}

.cart-item-remove:hover {
    background: var(--destructive);
    color: white;
    border-color: var(--destructive);
}

.remove-icon {
    font-size: 1rem;
}

/* Empty Cart State */
.empty-cart {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 4rem 2rem;
    background: linear-gradient(135deg, var(--navy-800) 0%, var(--navy-900) 100%);
    border: 2px dashed var(--gold-500/30);
    border-radius: 16px;
    text-align: center;
}

.empty-cart-icon {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    opacity: 0.5;
}

.empty-cart-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--foreground);
    margin-bottom: 0.5rem;
}

.empty-cart-text {
    color: var(--navy-300);
    margin-bottom: 2rem;
}

/* Cart Summary */
.cart-summary {
    position: sticky;
    top: 100px;
}

.summary-card {
    background: linear-gradient(135deg, var(--navy-800) 0%, var(--navy-900) 100%);
    border: 1px solid var(--gold-500/30);
    border-radius: 16px;
    padding: 1.5rem;
}

.summary-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--gold-400);
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--gold-500/20);
}

.summary-rows {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.summary-label {
    color: var(--navy-300);
    font-size: 0.95rem;
}

.summary-value {
    color: var(--foreground);
    font-weight: 500;
}

.discount-row .discount-value {
    color: var(--green-500, #22c55e);
}

.summary-divider {
    height: 1px;
    background: var(--gold-500/20);
    margin: 1.5rem 0;
}

/* Discount Section */
.discount-section {
    margin-bottom: 0.5rem;
}

.discount-label {
    display: block;
    font-size: 0.9rem;
    color: var(--navy-300);
    margin-bottom: 0.75rem;
}

.discount-input-group {
    display: flex;
    gap: 0.5rem;
}

.discount-input {
    flex: 1;
    padding: 0.75rem 1rem;
    background: var(--navy-700);
    border: 1px solid var(--gold-500/30);
    border-radius: 8px;
    color: var(--foreground);
    font-size: 0.9rem;
}

.discount-input:focus {
    outline: none;
    border-color: var(--gold-500);
}

.discount-input::placeholder {
    color: var(--navy-400);
}

.discount-btn {
    white-space: nowrap;
    padding: 0.75rem 1rem;
}

/* Summary Total */
.summary-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
    margin-bottom: 1rem;
}

.total-label {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--foreground);
}

.total-value {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--gold-400);
}

/* Checkout Button */
.checkout-btn {
    width: 100%;
    padding: 1rem;
    font-size: 1.1rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
}

.btn-arrow {
    font-size: 1.2rem;
    transition: transform 0.
2s;
}

.checkout-btn:hover .btn-arrow {
    transform: translateX(-4px);
}

/* Summary Notes */
.summary-notes {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--gold-500/20);
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.note-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.85rem;
    color: var(--navy-300);
}

.note-icon {
    color: var(--green-500, #22c55e);
    font-weight: bold;
}

/* Continue Shopping */
.continue-shopping {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    margin-top: 1rem;
    padding: 1rem;
    color: var(--gold-400);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s;
}

.continue-shopping:hover {
    color: var(--gold-300);
}

.continue-icon {
    transition: transform 0.2s;
}

.continue-shopping:hover .continue-icon {
    transform: translateX(4px);
}

/* Cart Badge */
.cart-badge {
    position: absolute;
    top: -8px;
    right: -8px;
    width: 22px;
    height: 22px;
    background: var(--destructive);
    color: white;
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-gold {
    position: relative;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .cart-section {
        padding: 2rem 0;
    }
    
    .cart-title {
        font-size: 1.5rem;
    }
    
    .summary-card {
        padding: 1.25rem;
    }
    
    .total-value {
        font-size: 1.2rem;
    }
}