/* =============================================
   MAISON - Premium Lifestyle Wear
   Modern React CSS with Glassmorphism & Animations
   ============================================= */

:root {
  /* Light Theme */
  --bg-primary: #fafafa;
  --bg-secondary: #ffffff;
  --bg-tertiary: #f5f5f5;
  --text-primary: #1a1a1a;
  --text-secondary: #666666;
  --text-muted: #999999;
  --accent: #c9a96e;
  --accent-light: #e8d5b0;
  --accent-dark: #a68942;
  --border: rgba(0, 0, 0, 0.08);
  --shadow: rgba(0, 0, 0, 0.08);
  --glass-bg: rgba(255, 255, 255, 0.85);
  --glass-border: rgba(255, 255, 255, 0.2);
  --gradient-hero: linear-gradient(
    135deg,
    #1a1a1a 0%,
    #2d2d2d 50%,
    #1a1a1a 100%
  );
  --gradient-accent: linear-gradient(
    135deg,
    #c9a96e 0%,
    #e8d5b0 50%,
    #c9a96e 100%
  );
  --gradient-overlay: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.9) 0%,
    rgba(0, 0, 0, 0.3) 50%,
    transparent 100%
  );
}

[data-theme="dark"] {
  --bg-primary: #0a0a0a;
  --bg-secondary: #141414;
  --bg-tertiary: #1e1e1e;
  --text-primary: #ffffff;
  --text-secondary: #b3b3b3;
  --text-muted: #666666;
  --border: rgba(255, 255, 255, 0.08);
  --shadow: rgba(0, 0, 0, 0.4);
  --glass-bg: rgba(20, 20, 20, 0.85);
  --glass-border: rgba(255, 255, 255, 0.1);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Outfit", -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  color: var(--text-primary);
  background: var(--bg-primary);
  overflow-x: hidden;
  transition: background 0.4s ease, color 0.4s ease;
  line-height: 1.6;
}

/* =============================================
   NAVIGATION
   ============================================= */
.navbar-container {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  transition: all 0.4s ease;
}

.navbar-container.scrolled {
  box-shadow: 0 4px 30px var(--shadow);
}

/* Main Navigation Row */
.main-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 40px;
  height: 60px;
  border-bottom: 1px solid var(--border);
}

.main-nav-left {
  flex: 1;
  display: flex;
  align-items: center;
}

.menu-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  background: none;
  border: none;
  color: var(--text-primary);
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  padding: 10px 15px;
  border-radius: 8px;
  transition: all 0.3s ease;
  letter-spacing: 1px;
}

.menu-btn:hover {
  background: var(--bg-tertiary);
}

.menu-btn span {
  font-size: 12px;
  letter-spacing: 2px;
}

.logo {
  font-size: 32px;
  font-weight: 700;
  letter-spacing: 4px;
  color: var(--text-primary);
  font-family: 'Georgia', serif;
  font-style: italic;
}

.main-nav-right {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
}

.nav-icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: transparent;
  border: none;
  color: var(--text-primary);
  font-size: 18px;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
}

.nav-icon:hover {
  background: var(--bg-tertiary);
  transform: translateY(-2px);
}

.lang-btn {
  width: auto;
  padding: 0 12px;
  gap: 4px;
  border-radius: 20px;
  border: 1px solid var(--border);
}

.lang-text {
  font-size: 12px;
  font-weight: 500;
}

.cart-badge {
  position: absolute;
  top: 0;
  right: 0;
  min-width: 18px;
  height: 18px;
  background: var(--accent);
  border-radius: 50%;
  font-size: 10px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  animation: pulse 2s infinite;
}

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

.theme-toggle {
  width: 44px;
  height: 24px;
  border-radius: 12px;
  background: var(--bg-tertiary);
  border: 1px solid var(--border);
  position: relative;
  cursor: pointer;
  transition: all 0.3s ease;
}

.theme-toggle::after {
  content: "☀️";
  position: absolute;
  left: 2px;
  top: 50%;
  transform: translateY(-50%);
  width: 18px;
  height: 18px;
  background: var(--accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  transition: all 0.3s ease;
}

[data-theme="dark"] .theme-toggle::after {
  content: "🌙";
  left: calc(100% - 20px);
}

/* Secondary Navigation Row */
.secondary-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 30px;
  padding: 0 40px;
  height: 45px;
  transition: all 0.4s ease;
  overflow: hidden;
}

.secondary-nav.hidden {
  height: 0;
  opacity: 0;
  padding: 0;
}

.secondary-nav a {
  color: var(--text-primary);
  text-decoration: none;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  position: relative;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.secondary-nav a::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1.5px;
  background: var(--accent);
  transition: width 0.3s ease;
}

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

.secondary-nav a:hover {
  color: var(--accent);
}

.secondary-nav .sale-link {
  color: #e74c3c;
  font-weight: 600;
}

.secondary-nav .sale-link:hover {
  color: #c0392b;
}

.secondary-nav .sports-link {
  color: #2196f3;
  font-weight: 600;
}

.secondary-nav .sports-link:hover {
  color: #1976d2;
}

/* Mobile Menu */
.mobile-menu-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(5px);
  z-index: 2000;
  opacity: 1;
  animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 320px;
  height: 100vh;
  background: var(--bg-secondary);
  padding: 30px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  animation: slideIn 0.3s ease;
  box-shadow: 10px 0 40px rgba(0, 0, 0, 0.3);
}

@keyframes slideIn {
  from {
    transform: translateX(-100%);
  }
  to {
    transform: translateX(0);
  }
}

.mobile-menu-close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 40px;
  height: 40px;
  background: var(--bg-tertiary);
  border: 1px solid var(--border);
  border-radius: 50%;
  font-size: 24px;
  color: var(--text-primary);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.mobile-menu-close:hover {
  background: var(--accent);
  color: white;
  transform: rotate(90deg);
}

.mobile-menu a {
  color: var(--text-primary);
  text-decoration: none;
  font-size: 16px;
  font-weight: 500;
  padding: 15px 0;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 12px;
  transition: all 0.3s ease;
}

.mobile-menu a:hover {
  color: var(--accent);
  padding-left: 10px;
}

/* Legacy navbar support (keep for component compatibility) */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 0 60px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  transition: all 0.4s ease;
}

.navbar.scrolled {
  height: 70px;
  box-shadow: 0 4px 30px var(--shadow);
}

.nav-left {
  display: flex;
  gap: 40px;
}

.nav-left a {
  color: var(--text-primary);
  text-decoration: none;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
  position: relative;
  transition: all 0.3s ease;
}

.nav-left a::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 1.5px;
  background: var(--accent);
  transition: width 0.3s ease;
}

.nav-left a:hover::after {
  width: 100%;
}

.nav-left a:hover {
  color: var(--accent);
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 25px;
}

/* Responsive adjustments */
@media (max-width: 900px) {
  .main-nav {
    padding: 0 20px;
  }
  
  .secondary-nav {
    gap: 15px;
    padding: 0 20px;
    overflow-x: auto;
    justify-content: flex-start;
  }
  
  .secondary-nav a {
    font-size: 11px;
  }
  
  .lang-btn {
    display: none;
  }
}

@media (max-width: 600px) {
  .logo {
    font-size: 24px;
    letter-spacing: 2px;
  }
  
  .nav-icon {
    width: 36px;
    height: 36px;
    font-size: 16px;
  }
  
  .secondary-nav {
    display: none;
  }
  
  .menu-btn span {
    display: none;
  }
}

/* =============================================
   CURRENCY SELECTOR
   ============================================= */
.currency-selector {
  position: relative;
}

.currency-btn {
  width: auto !important;
  padding: 0 14px;
  gap: 6px;
  border-radius: 20px;
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
}

.currency-btn svg {
  flex-shrink: 0;
}

.currency-text {
  font-size: 12px;
  font-weight: 500;
  white-space: nowrap;
}

.currency-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: 12px;
  box-shadow: 0 10px 40px var(--shadow);
  overflow: hidden;
  min-width: 180px;
  z-index: 1001;
  animation: dropdownFadeIn 0.2s ease;
}

@keyframes dropdownFadeIn {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.currency-option {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 14px 18px;
  background: transparent;
  border: none;
  color: var(--text-primary);
  cursor: pointer;
  transition: all 0.2s ease;
  text-align: left;
}

.currency-option:hover {
  background: var(--bg-tertiary);
}

.currency-option.active {
  background: var(--accent);
  color: white;
}

.currency-option.active .currency-symbol {
  color: white;
  border-color: rgba(255, 255, 255, 0.3);
}

.currency-symbol {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  background: var(--bg-tertiary);
  border-radius: 50%;
  font-size: 16px;
  font-weight: 600;
  color: var(--accent);
  border: 1px solid var(--border);
}

.currency-name {
  font-size: 13px;
  font-weight: 500;
}

/* =============================================
   HERO SECTION
   ============================================= */
.hero {
  height: 100vh;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.4) saturate(0.8);
  transition: transform 8s ease;
}

.hero-bg video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.4) saturate(0.8);
}

.hero-bg iframe {
  width: 100vw;
  height: 100vh;
  object-fit: cover;
  pointer-events: none;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(1.5);
  filter: brightness(0.5) saturate(0.9);
}

/* Overlay to block YouTube end screen recommendations */
.hero-video-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

.hero:hover .hero-bg img,
.hero:hover .hero-bg video {
  transform: scale(1.05);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0.3) 0%,
    rgba(0, 0, 0, 0.1) 40%,
    rgba(0, 0, 0, 0.4) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: white;
  max-width: 900px;
  padding: 0 20px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 25px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border-radius: 50px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  margin-bottom: 30px;
  animation: fadeInUp 0.8s ease 0.2s both;
}

.hero-badge span {
  font-size: 12px;
  letter-spacing: 3px;
  text-transform: uppercase;
  font-weight: 500;
}

.hero-title {
  font-size: clamp(48px, 10vw, 100px);
  font-weight: 300;
  letter-spacing: 15px;
  text-transform: uppercase;
  margin-bottom: 25px;
  background: linear-gradient(135deg, #fff 0%, #c9a96e 50%, #fff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: fadeInUp 0.8s ease 0.4s both;
}

.hero-subtitle {
  font-size: 18px;
  letter-spacing: 4px;
  font-weight: 300;
  margin-bottom: 50px;
  opacity: 0.9;
  animation: fadeInUp 0.8s ease 0.6s both;
}

.hero-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  animation: fadeInUp 0.8s ease 0.8s both;
}

.btn {
  padding: 18px 50px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.4s ease;
  border: none;
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: var(--gradient-accent);
  color: #1a1a1a;
  box-shadow: 0 10px 30px rgba(201, 169, 110, 0.3);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 40px rgba(201, 169, 110, 0.4);
}

.btn-outline {
  background: transparent;
  color: white;
  border: 2px solid rgba(255, 255, 255, 0.5);
}

.btn-outline:hover {
  background: white;
  color: #1a1a1a;
  border-color: white;
}

.scroll-indicator {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  color: white;
  opacity: 0.7;
  animation: bounce 2s infinite;
}

.scroll-indicator span {
  font-size: 10px;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.scroll-line {
  width: 1px;
  height: 60px;
  background: linear-gradient(to bottom, white, transparent);
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes bounce {
  0%,
  100% {
    transform: translateX(-50%) translateY(0);
  }
  50% {
    transform: translateX(-50%) translateY(10px);
  }
}

/* =============================================
   COLLECTIONS SECTION
   ============================================= */
.collections {
  padding: 120px 60px;
  background: var(--bg-secondary);
}

.section-header {
  text-align: center;
  margin-bottom: 80px;
}

.section-tag {
  display: inline-block;
  font-size: 12px;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 20px;
  font-weight: 500;
}

.section-title {
  font-size: clamp(32px, 5vw, 48px);
  font-weight: 300;
  letter-spacing: 6px;
  text-transform: uppercase;
  color: var(--text-primary);
  margin-bottom: 20px;
}

.section-line {
  width: 60px;
  height: 2px;
  background: var(--gradient-accent);
  margin: 0 auto;
}

.collection-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  max-width: 1400px;
  margin: 0 auto;
}

.collection-card {
  position: relative;
  aspect-ratio: 3/4;
  overflow: hidden;
  border-radius: 20px;
  cursor: pointer;
  background: var(--bg-tertiary);
}

.collection-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--gradient-overlay);
  z-index: 1;
  opacity: 0.7;
  transition: opacity 0.4s ease;
}

.collection-card:hover::before {
  opacity: 0.9;
}

.collection-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s ease, filter 0.4s ease;
  filter: grayscale(30%);
}

.collection-card:hover img {
  transform: scale(1.1);
  filter: grayscale(0%);
}

.collection-info {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 40px 30px;
  z-index: 2;
  transform: translateY(20px);
  transition: transform 0.4s ease;
}

.collection-card:hover .collection-info {
  transform: translateY(0);
}

.collection-name {
  font-size: 28px;
  font-weight: 400;
  letter-spacing: 3px;
  color: white;
  margin-bottom: 10px;
  text-transform: uppercase;
}

.collection-desc {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.8);
  letter-spacing: 1px;
  margin-bottom: 20px;
}

.collection-count {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--accent);
  letter-spacing: 2px;
  text-transform: uppercase;
  opacity: 0;
  transform: translateY(10px);
  transition: all 0.4s ease 0.1s;
}

.collection-card:hover .collection-count {
  opacity: 1;
  transform: translateY(0);
}

/* =============================================
   ABOUT SECTION
   ============================================= */
.about {
  padding: 120px 60px;
  background: var(--bg-primary);
}

.about-wrapper {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.about-image {
  position: relative;
}

.about-image img {
  width: 100%;
  border-radius: 20px;
  filter: grayscale(30%);
  transition: filter 0.4s ease;
}

.about-image:hover img {
  filter: grayscale(0%);
}

.about-image::before {
  content: "";
  position: absolute;
  top: -20px;
  left: -20px;
  right: 20px;
  bottom: 20px;
  border: 2px solid var(--accent);
  border-radius: 20px;
  z-index: -1;
}

.about-content {
  padding: 20px 0;
}

.about-content .section-tag {
  text-align: left;
}

.about-title {
  font-size: 42px;
  font-weight: 300;
  letter-spacing: 4px;
  text-transform: uppercase;
  margin-bottom: 30px;
  color: var(--text-primary);
}

.about-text {
  font-size: 16px;
  line-height: 2;
  color: var(--text-secondary);
  margin-bottom: 40px;
}

.about-features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 40px;
  padding-top: 40px;
  border-top: 1px solid var(--border);
}

.feature-item {
  text-align: center;
}

.feature-number {
  font-size: 36px;
  font-weight: 300;
  color: var(--accent);
  margin-bottom: 10px;
}

.feature-label {
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-muted);
}

/* =============================================
   FOOTER
   ============================================= */
.footer {
  padding: 80px 60px;
  background: var(--bg-tertiary);
  border-top: 1px solid var(--border);
}

.footer-content {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 60px;
}

.footer-brand .logo {
  margin-bottom: 20px;
}

.footer-brand p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.8;
  max-width: 300px;
}

.footer-column h4 {
  font-size: 12px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--text-primary);
  margin-bottom: 25px;
  font-weight: 600;
}

.footer-column ul {
  list-style: none;
}

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

.footer-column a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 14px;
  transition: color 0.3s ease;
}

.footer-column a:hover {
  color: var(--accent);
}

.footer-social {
  display: flex;
  gap: 15px;
  margin-top: 30px;
}

.social-icon {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--bg-secondary);
  color: var(--text-primary);
  font-size: 18px;
  text-decoration: none;
  transition: all 0.3s ease;
}

.social-icon:hover {
  background: var(--accent);
  color: white;
  transform: translateY(-3px);
}

.footer-bottom {
  max-width: 1400px;
  margin: 60px auto 0;
  padding-top: 30px;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-bottom p {
  font-size: 13px;
  color: var(--text-muted);
  letter-spacing: 1px;
}

/* =============================================
   PRODUCT MODAL
   ============================================= */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(10px);
  z-index: 9999;
  opacity: 0;
  visibility: hidden;
  transition: all 0.4s ease;
  overflow-y: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 30px 20px;
}

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

.modal {
  background: var(--bg-secondary);
  max-width: 1200px;
  width: 100%;
  max-height: 90vh;
  margin: auto;
  border-radius: 24px;
  overflow: hidden;
  overflow-y: auto;
  transform: translateY(50px) scale(0.95);
  opacity: 0;
  transition: all 0.4s ease 0.1s;
}

.modal-overlay.active .modal {
  transform: translateY(0) scale(1);
  opacity: 1;
}

.modal-header {
  padding: 40px 50px;
  border-bottom: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.modal-title {
  font-size: 32px;
  font-weight: 300;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--text-primary);
}

.modal-subtitle {
  font-size: 14px;
  color: var(--text-secondary);
  letter-spacing: 1px;
  margin-top: 8px;
}

.modal-close {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--bg-tertiary);
  border: none;
  font-size: 24px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-primary);
  transition: all 0.3s ease;
}

.modal-close:hover {
  background: var(--accent);
  color: white;
  transform: rotate(90deg);
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 30px;
  padding: 50px;
}

/* =============================================
   PRODUCT CARD
   ============================================= */
.product-card {
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  transition: all 0.4s ease;
}

.product-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 50px var(--shadow);
}

.product-image {
  position: relative;
  aspect-ratio: 3/4;
  overflow: hidden;
  background: var(--bg-tertiary);
}

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

.product-card:hover .product-image img {
  transform: scale(1.1);
}

.product-badge {
  position: absolute;
  top: 15px;
  right: 15px;
  padding: 8px 16px;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(10px);
  color: white;
  font-size: 11px;
  letter-spacing: 1px;
  border-radius: 50px;
}

.product-wishlist {
  position: absolute;
  top: 15px;
  left: 15px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  border: none;
  font-size: 18px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: translateY(-10px);
  transition: all 0.3s ease;
}

.product-card:hover .product-wishlist {
  opacity: 1;
  transform: translateY(0);
}

.product-wishlist:hover {
  background: var(--accent);
  color: white;
}

.product-info {
  padding: 25px;
}

.product-name {
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 1px;
  color: var(--text-primary);
  margin-bottom: 15px;
  text-transform: uppercase;
}

.product-details {
  list-style: none;
  margin-bottom: 20px;
}

.product-details li {
  display: flex;
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
  font-size: 13px;
}

.product-details li:last-child {
  border-bottom: none;
}

.detail-label {
  color: var(--text-muted);
  text-transform: uppercase;
  font-size: 11px;
  letter-spacing: 1px;
}

.detail-value {
  color: var(--text-primary);
  font-weight: 500;
}

.product-price {
  font-size: 24px;
  font-weight: 400;
  color: var(--accent);
  margin-bottom: 20px;
}

.add-to-cart {
  width: 100%;
  padding: 16px;
  background: var(--text-primary);
  color: var(--bg-primary);
  border: 2px solid var(--text-primary);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.add-to-cart:hover {
  background: transparent;
  color: var(--text-primary);
}

/* =============================================
   CART SIDEBAR
   ============================================= */
.cart-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 3000;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

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

.cart-sidebar {
  position: fixed;
  top: 0;
  right: -450px;
  width: 450px;
  height: 100vh;
  background: var(--bg-secondary);
  z-index: 3001;
  transition: right 0.4s ease;
  display: flex;
  flex-direction: column;
}

.cart-overlay.active .cart-sidebar {
  right: 0;
}

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

.cart-title {
  font-size: 18px;
  font-weight: 500;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--text-primary);
}

.cart-items {
  flex: 1;
  overflow-y: auto;
  padding: 30px;
}

.cart-item {
  display: flex;
  gap: 20px;
  padding: 20px 0;
  border-bottom: 1px solid var(--border);
}

.cart-item-image {
  width: 80px;
  height: 100px;
  border-radius: 8px;
  overflow: hidden;
  background: var(--bg-tertiary);
}

.cart-item-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

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

.cart-item-name {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.cart-item-price {
  font-size: 16px;
  color: var(--accent);
  font-weight: 500;
}

.cart-item-qty {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 10px;
}

.qty-btn {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--bg-tertiary);
  border: none;
  cursor: pointer;
  font-size: 14px;
  color: var(--text-primary);
  transition: all 0.2s ease;
}

.qty-btn:hover {
  background: var(--accent);
  color: white;
}

.cart-item-remove {
  background: none;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  font-size: 18px;
  padding: 8px;
  border-radius: 8px;
  transition: all 0.3s ease;
}

.cart-item-remove:hover {
  color: #fff;
  background: #e74c3c;
  transform: scale(1.1);
}

.cart-empty {
  text-align: center;
  padding: 60px 20px;
  color: var(--text-muted);
}

.cart-empty-icon {
  font-size: 48px;
  margin-bottom: 20px;
}

.cart-footer {
  padding: 30px;
  border-top: 1px solid var(--border);
  background: var(--bg-tertiary);
}

.cart-total {
  display: flex;
  justify-content: space-between;
  margin-bottom: 20px;
  font-size: 18px;
}

.cart-total-label {
  color: var(--text-secondary);
}

.cart-total-price {
  font-weight: 600;
  color: var(--text-primary);
}

.checkout-btn {
  width: 100%;
  padding: 18px;
  background: var(--accent);
  color: white;
  border: none;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.checkout-btn:hover {
  background: var(--accent-dark);
  transform: translateY(-2px);
}

/* =============================================
   RESPONSIVE
   ============================================= */
@media (max-width: 1200px) {
  .footer-content {
    grid-template-columns: repeat(2, 1fr);
  }

  .about-features {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 992px) {
  .collection-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .about-wrapper {
    grid-template-columns: 1fr;
    gap: 60px;
  }

  .about-image::before {
    display: none;
  }
}

@media (max-width: 768px) {
  .navbar {
    padding: 0 20px;
  }

  .nav-left {
    display: none;
  }

  .collections,
  .about,
  .footer {
    padding: 80px 20px;
  }

  .collection-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .hero-buttons {
    flex-direction: column;
    gap: 15px;
  }

  .btn {
    width: 100%;
    max-width: 280px;
  }

  .footer-content {
    grid-template-columns: 1fr;
    gap: 40px;
  }

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

  .cart-sidebar {
    width: 100%;
    right: -100%;
  }

  .products-grid {
    grid-template-columns: 1fr;
    padding: 20px;
  }

  .modal-header {
    padding: 25px;
  }

  .about-features {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

/* =============================================
   ANIMATIONS
   ============================================= */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Toast Notifications */
.toast {
  position: fixed;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  background: var(--text-primary);
  color: var(--bg-primary);
  padding: 16px 30px;
  border-radius: 50px;
  font-size: 14px;
  font-weight: 500;
  z-index: 4000;
  opacity: 0;
  transition: all 0.4s ease;
  display: flex;
  align-items: center;
  gap: 10px;
}

.toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.toast-icon {
  font-size: 18px;
}

/* =============================================
   REGISTRATION FORM MODAL
   ============================================= */
.registration-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(10px);
  z-index: 2000;
  opacity: 0;
  visibility: hidden;
  transition: all 0.4s ease;
  overflow-y: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
}

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

.registration-modal {
  background: var(--bg-secondary);
  max-width: 600px;
  width: 100%;
  border-radius: 24px;
  overflow: hidden;
  transform: translateY(50px) scale(0.95);
  opacity: 0;
  transition: all 0.4s ease 0.1s;
}

.registration-overlay.active .registration-modal {
  transform: translateY(0) scale(1);
  opacity: 1;
}

.registration-header {
  padding: 40px 40px 30px;
  border-bottom: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  background: linear-gradient(
    135deg,
    var(--accent) 0%,
    var(--accent-dark) 100%
  );
}

.registration-title {
  font-size: 28px;
  font-weight: 500;
  letter-spacing: 2px;
  color: white;
  margin-bottom: 8px;
}

.registration-subtitle {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.85);
  letter-spacing: 1px;
}

.registration-header .modal-close {
  background: rgba(255, 255, 255, 0.2);
  color: white;
}

.registration-header .modal-close:hover {
  background: rgba(255, 255, 255, 0.3);
  color: white;
}

.registration-form {
  padding: 40px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-group.full-width {
  margin-bottom: 20px;
}

.form-group label {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--text-secondary);
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 16px 20px;
  border: 2px solid var(--border);
  border-radius: 12px;
  background: var(--bg-tertiary);
  color: var(--text-primary);
  font-size: 15px;
  font-family: inherit;
  transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent);
  background: var(--bg-secondary);
  box-shadow: 0 0 0 4px rgba(201, 169, 110, 0.1);
}

.form-group input.error,
.form-group textarea.error {
  border-color: #e74c3c;
}

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

.form-group textarea {
  resize: vertical;
  min-height: 100px;
}

.error-message {
  font-size: 12px;
  color: #e74c3c;
  display: flex;
  align-items: center;
  gap: 5px;
}

.submit-btn {
  width: 100%;
  padding: 18px;
  background: var(--gradient-accent);
  color: #1a1a1a;
  border: none;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 20px;
}

.submit-btn:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(201, 169, 110, 0.3);
}

.submit-btn:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

.spinner {
  width: 20px;
  height: 20px;
  border: 3px solid transparent;
  border-top-color: #1a1a1a;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.registration-success {
  padding: 80px 40px;
  text-align: center;
}

.success-icon {
  width: 80px;
  height: 80px;
  background: var(--gradient-accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 40px;
  color: white;
  margin: 0 auto 30px;
  animation: scaleIn 0.5s ease;
}

@keyframes scaleIn {
  from {
    transform: scale(0);
  }
  to {
    transform: scale(1);
  }
}

.registration-success h3 {
  font-size: 24px;
  font-weight: 500;
  color: var(--text-primary);
  margin-bottom: 10px;
}

.registration-success p {
  font-size: 16px;
  color: var(--text-secondary);
}

/* =============================================
   PRODUCT GALLERY
   ============================================= */
.gallery-section {
  padding: 120px 60px 80px;
  background: var(--bg-secondary);
  min-height: 100vh;
}

.gallery-header {
  margin-bottom: 50px;
}

.gallery-header .section-header {
  margin-bottom: 0;
}

.back-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  background: var(--bg-tertiary);
  border: 1px solid var(--border);
  border-radius: 50px;
  color: var(--text-primary);
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-bottom: 40px;
}

.back-btn:hover {
  background: var(--accent);
  color: white;
  border-color: var(--accent);
}

.gallery-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 30px;
  padding: 30px;
  background: var(--bg-tertiary);
  border-radius: 20px;
  border: 1px solid var(--border);
}

.search-box {
  position: relative;
  flex: 1;
  min-width: 250px;
  max-width: 400px;
}

.search-box .search-icon {
  position: absolute;
  left: 18px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 18px;
  opacity: 0.5;
}

.search-box input {
  width: 100%;
  padding: 16px 20px 16px 50px;
  border: 2px solid var(--border);
  border-radius: 50px;
  background: var(--bg-secondary);
  color: var(--text-primary);
  font-size: 14px;
  font-family: inherit;
  transition: all 0.3s ease;
}

.search-box input:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(201, 169, 110, 0.1);
}

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

.filter-buttons {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.filter-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 20px;
  background: var(--bg-secondary);
  border: 2px solid var(--border);
  border-radius: 50px;
  color: var(--text-primary);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 1px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.filter-btn:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.filter-btn.active {
  background: var(--accent);
  border-color: var(--accent);
  color: white;
}

.filter-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 24px;
  height: 24px;
  padding: 0 8px;
  background: rgba(0, 0, 0, 0.1);
  border-radius: 50px;
  font-size: 11px;
  font-weight: 600;
}

.filter-btn.active .filter-count {
  background: rgba(255, 255, 255, 0.2);
}

.sort-dropdown select {
  padding: 16px 40px 16px 20px;
  background: var(--bg-secondary);
  border: 2px solid var(--border);
  border-radius: 50px;
  color: var(--text-primary);
  font-size: 14px;
  font-family: inherit;
  cursor: pointer;
  transition: all 0.3s ease;
  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='%23999' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 15px center;
  background-size: 16px;
}

.sort-dropdown select:focus {
  outline: none;
  border-color: var(--accent);
}

.gallery-results {
  margin-bottom: 30px;
}

.gallery-results p {
  font-size: 14px;
  color: var(--text-secondary);
  letter-spacing: 1px;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 30px;
}

.gallery-card {
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: 20px;
  overflow: hidden;
  transition: all 0.4s ease;
}

.gallery-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 50px var(--shadow);
}

.gallery-card-image {
  position: relative;
  aspect-ratio: 1/1;
  overflow: hidden;
  background: var(--bg-tertiary);
}

.gallery-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.gallery-card:hover .gallery-card-image img {
  transform: scale(1.1);
}

.category-badge {
  position: absolute;
  top: 15px;
  left: 15px;
  padding: 8px 16px;
  border-radius: 50px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.category-badge.men {
  background: rgba(52, 152, 219, 0.9);
  color: white;
}

.category-badge.women {
  background: rgba(231, 76, 60, 0.9);
  color: white;
}

.category-badge.unisex {
  background: rgba(155, 89, 182, 0.9);
  color: white;
}

.quick-add {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 16px;
  background: var(--accent);
  color: white;
  border: none;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1px;
  cursor: pointer;
  transform: translateY(100%);
  transition: all 0.3s ease;
}

.gallery-card:hover .quick-add {
  transform: translateY(0);
}

.quick-add:hover {
  background: var(--accent-dark);
}

.gallery-card-info {
  padding: 25px;
}

.gallery-card-name {
  font-size: 15px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 1px;
  line-height: 1.4;
}

.gallery-card-model {
  font-size: 13px;
  color: var(--text-secondary);
  margin-bottom: 15px;
}

.gallery-card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.gallery-card-price {
  font-size: 18px;
  font-weight: 600;
  color: var(--accent);
}

.gallery-card-stock {
  font-size: 12px;
  color: var(--text-muted);
  padding: 6px 12px;
  background: var(--bg-tertiary);
  border-radius: 50px;
}

.no-results {
  text-align: center;
  padding: 80px 20px;
  color: var(--text-muted);
}

.no-results-icon {
  font-size: 64px;
  margin-bottom: 20px;
  opacity: 0.5;
}

.no-results h3 {
  font-size: 24px;
  color: var(--text-primary);
  margin-bottom: 10px;
}

.no-results p {
  font-size: 16px;
  color: var(--text-secondary);
}

/* Nav link active state */
.nav-left a.active {
  color: var(--accent);
}

.nav-left a.active::after {
  width: 100%;
}

/* =============================================
   RESPONSIVE - REGISTRATION & GALLERY
   ============================================= */
@media (max-width: 768px) {
  .registration-overlay {
    padding: 20px;
    align-items: flex-start;
  }

  .registration-modal {
    margin-top: 60px;
  }

  .registration-header {
    padding: 30px 25px 25px;
  }

  .registration-title {
    font-size: 22px;
  }

  .registration-form {
    padding: 25px;
  }

  .form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .form-group {
    margin-bottom: 20px;
  }

  .gallery-section {
    padding: 100px 20px 60px;
  }

  .gallery-controls {
    flex-direction: column;
    padding: 20px;
  }

  .search-box {
    max-width: 100%;
    width: 100%;
  }

  .filter-buttons {
    width: 100%;
    overflow-x: auto;
    padding-bottom: 10px;
    flex-wrap: nowrap;
  }

  .filter-btn {
    flex-shrink: 0;
  }

  .sort-dropdown {
    width: 100%;
  }

  .sort-dropdown select {
    width: 100%;
  }

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

/* =============================================
   GLOBAL SEARCH MODAL
   ============================================= */
.search-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.9);
  backdrop-filter: blur(10px);
  z-index: 3000;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: 100px;
}

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

.search-modal {
  background: var(--bg-secondary);
  width: 100%;
  max-width: 600px;
  border-radius: 20px;
  overflow: hidden;
  transform: translateY(-20px);
  opacity: 0;
  transition: all 0.3s ease 0.1s;
  box-shadow: 0 25px 80px rgba(0, 0, 0, 0.5);
}

.search-overlay.active .search-modal {
  transform: translateY(0);
  opacity: 1;
}

.search-header {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 20px;
  border-bottom: 1px solid var(--border);
  background: var(--bg-tertiary);
}

.search-form {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 15px;
  background: var(--bg-secondary);
  border: 2px solid var(--border);
  border-radius: 50px;
  padding: 5px 5px 5px 20px;
  transition: all 0.3s ease;
}

.search-form:focus-within {
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(201, 169, 110, 0.1);
}

.search-input-icon {
  font-size: 20px;
  opacity: 0.5;
}

.search-form input {
  flex: 1;
  background: transparent;
  border: none;
  font-size: 16px;
  color: var(--text-primary);
  outline: none;
  font-family: inherit;
}

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

.search-submit-btn {
  padding: 12px 25px;
  background: var(--accent);
  color: white;
  border: none;
  border-radius: 50px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 1px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.search-submit-btn:hover {
  background: var(--accent-dark);
}

.search-close {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  font-size: 24px;
  color: var(--text-primary);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.search-close:hover {
  background: var(--accent);
  color: white;
  border-color: var(--accent);
}

.search-suggestions,
.search-popular {
  padding: 20px;
}

.suggestions-title {
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 15px;
  font-weight: 500;
}

.suggestion-item {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 12px;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.suggestion-item:hover {
  background: var(--bg-tertiary);
}

.suggestion-item img {
  width: 50px;
  height: 50px;
  object-fit: cover;
  border-radius: 8px;
  background: var(--bg-tertiary);
}

.suggestion-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.suggestion-name {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-primary);
}

.suggestion-model {
  font-size: 12px;
  color: var(--text-secondary);
}

.popular-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.popular-tags button {
  padding: 12px 20px;
  background: var(--bg-tertiary);
  border: 1px solid var(--border);
  border-radius: 50px;
  color: var(--text-primary);
  font-size: 14px;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 8px;
}

.popular-tags button:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: white;
  transform: translateY(-2px);
}

@media (max-width: 768px) {
  .search-overlay {
    padding: 20px;
    padding-top: 80px;
  }

  .search-header {
    flex-wrap: wrap;
    gap: 10px;
  }

  .search-form {
    width: 100%;
    order: 2;
  }

  .search-close {
    order: 1;
    margin-left: auto;
  }

  .popular-tags button {
    font-size: 13px;
    padding: 10px 16px;
  }
}

/* =============================================
   FOOTER CONTACT SECTION
   ============================================= */
.contact-column {
  min-width: 280px;
}

.contact-column h4 {
  color: var(--accent);
}

.contact-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contact-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.contact-icon {
  font-size: 18px;
  width: 24px;
  text-align: center;
  flex-shrink: 0;
  margin-top: 2px;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.contact-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 2px;
}

.contact-info span,
.contact-info a {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.4;
}

.contact-info a {
  text-decoration: none;
  transition: color 0.3s ease;
}

.contact-info a:hover {
  color: var(--accent);
}

@media (max-width: 768px) {
  .footer-content {
    flex-wrap: wrap;
  }

  .contact-column {
    width: 100%;
    margin-top: 30px;
    padding-top: 30px;
    border-top: 1px solid var(--border);
  }

  .contact-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
}

@media (max-width: 480px) {
  .contact-list {
    grid-template-columns: 1fr;
  }
}

/* =============================================
   NEW ARRIVALS SECTION
   ============================================= */
.new-arrivals {
  padding: 100px 80px;
  background: var(--bg-secondary);
}

.arrivals-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  margin-top: 60px;
}

.new-arrival-card {
  background: var(--bg-primary);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
  transition: all 0.4s ease;
}

.new-arrival-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.new-arrival-image {
  position: relative;
  height: 320px;
  overflow: hidden;
}

.new-arrival-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.new-arrival-card:hover .new-arrival-image img {
  transform: scale(1.05);
}

.arrival-tag {
  position: absolute;
  top: 15px;
  left: 15px;
  padding: 6px 14px;
  border-radius: 50px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  z-index: 2;
}

.arrival-tag.new {
  background: linear-gradient(135deg, #4CAF50, #8BC34A);
  color: white;
}

.arrival-tag.hot {
  background: linear-gradient(135deg, #FF5722, #FF9800);
  color: white;
}

.arrival-tag.sale {
  background: linear-gradient(135deg, #E91E63, #9C27B0);
  color: white;
}

/* Carousel Arrows */
.carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.95);
  border: none;
  font-size: 24px;
  color: var(--text-primary);
  cursor: pointer;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
  opacity: 0;
  animation: fadeIn 0.3s ease forwards;
}

@keyframes fadeIn {
  to {
    opacity: 1;
  }
}

.carousel-arrow:hover {
  background: var(--accent);
  color: white;
  transform: translateY(-50%) scale(1.1);
}

.carousel-arrow.left {
  left: 15px;
}

.carousel-arrow.right {
  right: 15px;
}

/* Image Dots */
.image-dots {
  position: absolute;
  bottom: 70px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 3;
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: all 0.3s ease;
}

.dot.active {
  background: white;
  transform: scale(1.3);
}

.dot:hover {
  background: white;
}

/* Add to Cart Button */
.arrival-add-to-cart {
  position: absolute;
  bottom: 15px;
  left: 15px;
  right: 15px;
  padding: 14px;
  background: var(--accent);
  color: white;
  border: none;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 1px;
  cursor: pointer;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.3s ease;
  z-index: 3;
}

.new-arrival-card:hover .arrival-add-to-cart {
  opacity: 1;
  transform: translateY(0);
}

.arrival-add-to-cart:hover {
  background: var(--accent-dark);
}

/* Card Info */
.new-arrival-info {
  padding: 20px;
}

.arrival-name {
  font-size: 18px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.arrival-desc {
  font-size: 13px;
  color: var(--text-secondary);
  margin-bottom: 12px;
  line-height: 1.5;
}

.arrival-price {
  font-size: 20px;
  font-weight: 700;
  color: var(--accent);
}

/* Responsive */
@media (max-width: 1200px) {
  .arrivals-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .new-arrivals {
    padding: 60px 20px;
  }

  .arrivals-grid {
    grid-template-columns: 1fr;
    gap: 20px;
    margin-top: 40px;
  }

  .new-arrival-image {
    height: 280px;
  }

  .carousel-arrow {
    width: 36px;
    height: 36px;
    font-size: 20px;
  }
}

/* =============================================
   SIZE SELECTION MODAL
   ============================================= */
.size-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  overflow-y: auto;
  padding: 20px;
}

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

.size-modal {
  background: var(--bg-primary);
  border-radius: 20px;
  max-width: 650px;
  width: 100%;
  max-height: 90vh;
  overflow: hidden;
  position: relative;
  box-shadow: 0 30px 100px rgba(0, 0, 0, 0.3);
  animation: slideUp 0.4s ease;
  margin: auto;
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.size-modal-close {
  position: absolute;
  top: 15px;
  right: 15px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--bg-secondary);
  border: none;
  font-size: 24px;
  color: var(--text-secondary);
  cursor: pointer;
  z-index: 10;
  transition: all 0.3s ease;
}

.size-modal-close:hover {
  background: var(--accent);
  color: white;
  transform: rotate(90deg);
}

.size-modal-content {
  display: flex;
}

.size-modal-image {
  width: 45%;
  aspect-ratio: 3/4;
  overflow: hidden;
}

.size-modal-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.size-modal-info {
  width: 55%;
  padding: 40px 30px;
  display: flex;
  flex-direction: column;
}

.size-modal-title {
  font-size: 24px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 10px;
}

.size-modal-price {
  font-size: 28px;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 8px;
}

.size-modal-stock {
  font-size: 14px;
  font-weight: 500;
  color: #22c55e;
  margin-bottom: 25px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.size-modal-stock::before {
  content: "●";
  font-size: 10px;
}

.size-selection {
  flex: 1;
}

.size-label {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 15px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.size-options {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 15px;
}

.size-option {
  min-width: 50px;
  padding: 12px 20px;
  border: 2px solid var(--border);
  background: var(--bg-primary);
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-primary);
  cursor: pointer;
  transition: all 0.3s ease;
}

.size-option:hover {
  border-color: var(--accent);
  background: var(--bg-secondary);
}

.size-option.selected {
  border-color: var(--accent);
  background: var(--accent);
  color: white;
  transform: scale(1.05);
}

.size-hint {
  font-size: 13px;
  color: var(--text-muted);
  font-style: italic;
}

.size-add-btn {
  width: 100%;
  padding: 16px;
  background: var(--accent);
  color: white;
  border: none;
  border-radius: 12px;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 1px;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-top: 20px;
}

.size-add-btn:hover:not(.disabled) {
  background: var(--accent-dark);
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(201, 169, 106, 0.3);
}

.size-add-btn.disabled {
  background: var(--border);
  color: var(--text-muted);
  cursor: not-allowed;
}

@media (max-width: 600px) {
  .size-modal-content {
    flex-direction: column;
  }

  .size-modal-image {
    width: 100%;
    aspect-ratio: 16/9;
  }

  .size-modal-info {
    width: 100%;
    padding: 25px 20px;
  }

  .size-modal-title {
    font-size: 20px;
  }

  .size-modal-price {
    font-size: 24px;
    margin-bottom: 20px;
  }

  .size-option {
    padding: 10px 16px;
  }
}

/* =============================================
   CHECKOUT MODAL
   ============================================= */
.checkout-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(10px);
  z-index: 3000;
  opacity: 0;
  visibility: hidden;
  transition: all 0.4s ease;
  overflow-y: auto;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 30px 20px;
}

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

.checkout-modal {
  background: var(--bg-secondary);
  width: 100%;
  max-width: 1100px;
  border-radius: 24px;
  overflow: hidden;
  transform: translateY(50px) scale(0.95);
  opacity: 0;
  transition: all 0.4s ease 0.1s;
  position: relative;
  margin: auto;
}

.checkout-overlay.active .checkout-modal {
  transform: translateY(0) scale(1);
  opacity: 1;
}

.checkout-close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 44px;
  height: 44px;
  background: var(--bg-tertiary);
  border: 1px solid var(--border);
  border-radius: 50%;
  font-size: 28px;
  color: var(--text-primary);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  z-index: 10;
}

.checkout-close:hover {
  background: var(--accent);
  color: white;
  transform: rotate(90deg);
}

/* Progress Steps */
.checkout-progress {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 30px 40px;
  background: var(--bg-tertiary);
  border-bottom: 1px solid var(--border);
}

.progress-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  opacity: 0.4;
  transition: all 0.3s ease;
}

.progress-step.active {
  opacity: 1;
}

.progress-step.completed .step-number {
  background: var(--accent);
  color: white;
}

.step-number {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--bg-secondary);
  border: 2px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 16px;
  color: var(--text-secondary);
  transition: all 0.3s ease;
}

.progress-step.active .step-number {
  border-color: var(--accent);
  color: var(--accent);
}

.step-label {
  font-size: 12px;
  letter-spacing: 1px;
  color: var(--text-secondary);
  text-transform: uppercase;
}

.progress-line {
  width: 80px;
  height: 2px;
  background: var(--border);
  margin: 0 20px;
  margin-bottom: 28px;
}

/* Checkout Content Layout */
.checkout-content {
  display: grid;
  grid-template-columns: 1fr 380px;
  min-height: 500px;
}

.checkout-form-section {
  padding: 40px;
  overflow-y: auto;
  max-height: 600px;
}

.form-title {
  font-size: 22px;
  font-weight: 500;
  color: var(--text-primary);
  margin-bottom: 30px;
}

/* Form Styles */
.checkout-form-section .form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 20px;
}

.checkout-form-section .form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.checkout-form-section .form-group.full {
  grid-column: 1 / -1;
  margin-bottom: 20px;
}

.checkout-form-section label {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-secondary);
  letter-spacing: 0.5px;
}

.checkout-form-section input,
.checkout-form-section textarea {
  padding: 14px 16px;
  background: var(--bg-tertiary);
  border: 2px solid var(--border);
  border-radius: 12px;
  font-size: 15px;
  color: var(--text-primary);
  transition: all 0.3s ease;
  font-family: inherit;
  resize: none;
}

.checkout-form-section input:focus,
.checkout-form-section textarea:focus {
  outline: none;
  border-color: var(--accent);
  background: var(--bg-secondary);
}

.checkout-form-section input.error,
.checkout-form-section textarea.error {
  border-color: #e74c3c;
}

.checkout-form-section .error-msg {
  font-size: 12px;
  color: #e74c3c;
  margin-top: 4px;
}

/* Payment Options */
.payment-options {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.payment-error {
  background: rgba(231, 76, 60, 0.1);
  border: 1px solid rgba(231, 76, 60, 0.3);
  padding: 12px 16px;
  border-radius: 10px;
  color: #e74c3c;
  font-size: 14px;
  margin-bottom: 16px;
}

.payment-option {
  background: var(--bg-tertiary);
  border: 2px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  cursor: pointer;
  transition: all 0.3s ease;
}

.payment-option:hover {
  border-color: var(--accent-light);
}

.payment-option.selected {
  border-color: var(--accent);
  background: rgba(201, 169, 110, 0.05);
}

.payment-option-header {
  display: flex;
  align-items: center;
  padding: 18px 20px;
  gap: 15px;
}

.payment-icon {
  font-size: 24px;
}

.payment-name {
  flex: 1;
  font-size: 15px;
  font-weight: 500;
  color: var(--text-primary);
}

.payment-check {
  width: 24px;
  height: 24px;
  background: var(--accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 14px;
  font-weight: bold;
}

/* Card Form */
.card-form {
  padding: 20px;
  padding-top: 0;
  border-top: 1px solid var(--border);
  margin-top: 0;
  background: var(--bg-secondary);
}

.card-form .form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
  margin-bottom: 15px;
}

.card-form .form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.card-form .form-group.full {
  margin-bottom: 15px;
}

.card-form label {
  font-size: 12px;
  color: var(--text-muted);
}

.card-form input {
  padding: 12px 14px;
  background: var(--bg-tertiary);
  border: 1px solid var(--border);
  border-radius: 8px;
  font-size: 14px;
  color: var(--text-primary);
}

.card-form input:focus {
  outline: none;
  border-color: var(--accent);
}

.card-form input.error {
  border-color: #e74c3c;
}

.card-form .error-msg {
  font-size: 11px;
  color: #e74c3c;
}

/* PromptPay Section */
.promptpay-section {
  padding: 20px;
  border-top: 1px solid var(--border);
  background: var(--bg-secondary);
}

.qr-placeholder {
  text-align: center;
  padding: 20px;
}

.qr-code {
  width: 180px;
  height: 180px;
  background: white;
  border-radius: 16px;
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.qr-pattern {
  width: 140px;
  height: 140px;
  background: 
    repeating-linear-gradient(
      0deg,
      #333 0px, #333 10px,
      transparent 10px, transparent 20px
    ),
    repeating-linear-gradient(
      90deg,
      #333 0px, #333 10px,
      transparent 10px, transparent 20px
    );
  background-size: 20px 20px;
  opacity: 0.3;
  border-radius: 8px;
}

.qr-amount {
  font-size: 20px;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 8px;
}

.qr-hint {
  font-size: 13px;
  color: var(--text-muted);
}

/* COD Section */
.cod-section {
  padding: 20px;
  border-top: 1px solid var(--border);
  background: var(--bg-secondary);
}

.cod-info {
  font-size: 14px;
  color: var(--text-secondary);
  margin-bottom: 8px;
}

.cod-fee {
  font-size: 13px;
  color: var(--text-muted);
}

/* Order Summary */
.checkout-summary {
  background: var(--bg-tertiary);
  padding: 30px;
  border-left: 1px solid var(--border);
  display: flex;
  flex-direction: column;
}

.summary-title {
  font-size: 18px;
  font-weight: 500;
  color: var(--text-primary);
  margin-bottom: 25px;
}

.summary-items {
  flex: 1;
  overflow-y: auto;
  max-height: 250px;
  margin-bottom: 20px;
}

.summary-item {
  display: flex;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
}

.summary-item:last-child {
  border-bottom: none;
}

.summary-item-image {
  width: 60px;
  height: 60px;
  border-radius: 10px;
  overflow: hidden;
  flex-shrink: 0;
}

.summary-item-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.summary-item-info {
  flex: 1;
  min-width: 0;
}

.summary-item-name {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-primary);
  margin-bottom: 4px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.summary-item-details {
  font-size: 12px;
  color: var(--text-muted);
}

.summary-item-price {
  font-size: 14px;
  font-weight: 600;
  color: var(--accent);
  white-space: nowrap;
}

/* Summary Totals */
.summary-totals {
  padding-top: 20px;
  border-top: 1px solid var(--border);
  margin-bottom: 20px;
}

.summary-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 12px;
  font-size: 14px;
  color: var(--text-secondary);
}

.summary-row.discount {
  color: #27ae60;
}

.summary-row.total {
  font-size: 18px;
  font-weight: 600;
  color: var(--text-primary);
  padding-top: 12px;
  border-top: 1px solid var(--border);
  margin-top: 12px;
}

.summary-row.total span:last-child {
  color: var(--accent);
}

.free-shipping-badge {
  background: linear-gradient(135deg, rgba(39, 174, 96, 0.1), rgba(39, 174, 96, 0.05));
  border: 1px solid rgba(39, 174, 96, 0.3);
  padding: 12px;
  border-radius: 10px;
  text-align: center;
  font-size: 13px;
  color: #27ae60;
  margin-bottom: 20px;
}

/* Checkout Actions */
.checkout-actions {
  display: flex;
  gap: 12px;
  margin-top: auto;
}

.checkout-actions .back-btn {
  flex: 1;
  padding: 16px;
  background: transparent;
  border: 2px solid var(--border);
  border-radius: 12px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-secondary);
  cursor: pointer;
  transition: all 0.3s ease;
}

.checkout-actions .back-btn:hover {
  border-color: var(--text-primary);
  color: var(--text-primary);
}

.checkout-actions .next-btn {
  flex: 2;
  padding: 16px;
  background: var(--accent);
  border: none;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 600;
  color: white;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.checkout-actions .next-btn:hover:not(:disabled) {
  background: var(--accent-dark);
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(201, 169, 110, 0.3);
}

.checkout-actions .next-btn:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

.checkout-actions .next-btn .spinner {
  width: 18px;
  height: 18px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-top-color: white;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* Success Section */
.success-section {
  text-align: center;
  padding: 60px 40px;
}

.success-section .success-icon {
  width: 100px;
  height: 100px;
  background: linear-gradient(135deg, #27ae60, #2ecc71);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 50px;
  color: white;
  margin: 0 auto 30px;
  animation: successPop 0.5s ease;
}

@keyframes successPop {
  0% {
    transform: scale(0);
    opacity: 0;
  }
  50% {
    transform: scale(1.2);
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}

.success-title {
  font-size: 32px;
  font-weight: 500;
  color: var(--text-primary);
  margin-bottom: 15px;
}

.success-order-number {
  font-size: 16px;
  color: var(--text-secondary);
  margin-bottom: 20px;
}

.success-order-number strong {
  color: var(--accent);
  font-size: 18px;
}

.success-message {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 30px;
  line-height: 1.6;
}

.success-details {
  background: var(--bg-tertiary);
  padding: 20px;
  border-radius: 12px;
  margin-bottom: 30px;
}

.success-details p {
  font-size: 14px;
  color: var(--text-secondary);
  margin-bottom: 8px;
}

.success-details p:last-child {
  margin-bottom: 0;
}

.success-btn {
  padding: 16px 40px;
  background: var(--accent);
  border: none;
  border-radius: 50px;
  font-size: 15px;
  font-weight: 600;
  color: white;
  cursor: pointer;
  transition: all 0.3s ease;
}

.success-btn:hover {
  background: var(--accent-dark);
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(201, 169, 110, 0.3);
}

/* Responsive Checkout */
@media (max-width: 900px) {
  .checkout-content {
    grid-template-columns: 1fr;
  }

  .checkout-summary {
    border-left: none;
    border-top: 1px solid var(--border);
  }

  .checkout-form-section {
    max-height: none;
  }

  .progress-line {
    width: 40px;
    margin: 0 10px;
  }
}

@media (max-width: 600px) {
  .checkout-overlay {
    padding: 10px;
  }

  .checkout-modal {
    border-radius: 16px;
  }

  .checkout-progress {
    padding: 20px;
  }

  .step-label {
    font-size: 10px;
  }

  .step-number {
    width: 32px;
    height: 32px;
    font-size: 14px;
  }

  .progress-line {
    width: 25px;
    margin: 0 8px;
    margin-bottom: 20px;
  }

  .checkout-form-section {
    padding: 25px 20px;
  }

  .checkout-form-section .form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .checkout-form-section .form-group {
    margin-bottom: 15px;
  }

  .checkout-summary {
    padding: 20px;
  }

  .summary-items {
    max-height: 200px;
  }

  .success-section {
    padding: 40px 20px;
  }

  .success-section .success-icon {
    width: 80px;
    height: 80px;
    font-size: 40px;
  }

  .success-title {
    font-size: 26px;
  }
}

/* =============================================
   WISHLIST SIDEBAR
   ============================================= */
.wishlist-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(5px);
  z-index: 1500;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: all 0.3s ease;
}

.wishlist-overlay.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.wishlist-sidebar {
  position: fixed;
  top: 0;
  right: 0;
  width: 420px;
  max-width: 90vw;
  height: 100vh;
  background: var(--bg-secondary);
  box-shadow: -10px 0 40px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.wishlist-overlay.active .wishlist-sidebar {
  transform: translateX(0);
}

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

.wishlist-title {
  font-size: 20px;
  font-weight: 600;
  color: var(--text-primary);
}

.wishlist-items {
  flex: 1;
  overflow-y: auto;
  padding: 20px;
}

.wishlist-empty {
  text-align: center;
  padding: 60px 20px;
  color: var(--text-secondary);
}

.wishlist-empty-icon {
  font-size: 64px;
  margin-bottom: 20px;
}

.wishlist-empty p {
  font-size: 16px;
  margin-bottom: 10px;
}

.wishlist-empty-hint {
  font-size: 13px;
  color: var(--text-muted);
}

.wishlist-item {
  display: flex;
  gap: 15px;
  padding: 15px;
  background: var(--bg-tertiary);
  border-radius: 12px;
  margin-bottom: 15px;
  position: relative;
}

.wishlist-item-image {
  width: 80px;
  height: 80px;
  border-radius: 8px;
  overflow: hidden;
  flex-shrink: 0;
}

.wishlist-item-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.wishlist-item-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.wishlist-item-name {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-primary);
  margin: 0;
}

.wishlist-item-price {
  font-size: 14px;
  color: var(--accent);
  font-weight: 600;
  margin: 0;
}

.wishlist-add-cart-btn {
  margin-top: auto;
  padding: 8px 16px;
  background: var(--accent);
  color: white;
  border: none;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  width: fit-content;
}

.wishlist-add-cart-btn:hover {
  background: var(--accent-dark);
  transform: translateY(-2px);
}

.wishlist-item-remove {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 24px;
  height: 24px;
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: 50%;
  color: var(--text-muted);
  font-size: 12px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.wishlist-item-remove:hover {
  background: #e74c3c;
  border-color: #e74c3c;
  color: white;
}

/* Wishlist Badge */
.wishlist-badge {
  position: absolute;
  top: 0;
  right: 0;
  min-width: 18px;
  height: 18px;
  background: #e74c3c;
  border-radius: 50%;
  font-size: 10px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  animation: pulse 2s infinite;
}

/* Wishlist Link in Secondary Nav */
.secondary-nav .wishlist-link {
  color: #e74c3c;
  font-weight: 600;
}

.secondary-nav .wishlist-link:hover {
  color: #c0392b;
}

/* Product Wishlist Button Active State */
.product-wishlist.active {
  transform: scale(1.2);
}

@media (max-width: 500px) {
  .wishlist-sidebar {
    width: 100vw;
  }
  
  .wishlist-header {
    padding: 20px;
  }
  
  .wishlist-items {
    padding: 15px;
  }
}

/* =============================================
   AUTH MODAL
   ============================================= */
.auth-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(10px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.auth-modal {
  background: var(--bg-secondary);
  border-radius: 20px;
  width: 100%;
  max-width: 500px;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  animation: modalSlideIn 0.3s ease;
}

@keyframes modalSlideIn {
  from {
    opacity: 0;
    transform: translateY(-30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.auth-modal .modal-close {
  position: absolute;
  top: 15px;
  right: 15px;
  width: 40px;
  height: 40px;
  background: var(--bg-tertiary);
  border: none;
  border-radius: 50%;
  font-size: 24px;
  color: var(--text-secondary);
  cursor: pointer;
  z-index: 10;
  transition: all 0.3s ease;
}

.auth-modal .modal-close:hover {
  background: var(--accent);
  color: white;
}

/* Auth Menu */
.auth-menu {
  padding: 50px 40px;
  text-align: center;
}

.auth-icon {
  font-size: 64px;
  margin-bottom: 20px;
}

.auth-title {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--text-primary);
}

.auth-subtitle {
  font-size: 14px;
  color: var(--text-secondary);
  margin-bottom: 30px;
}

.auth-user-info {
  background: var(--bg-tertiary);
  padding: 20px;
  border-radius: 12px;
  margin-bottom: 25px;
}

.user-greeting {
  font-size: 18px;
  color: var(--text-primary);
  margin-bottom: 5px;
}

.user-email {
  font-size: 14px;
  color: var(--text-secondary);
}

.auth-btn {
  display: block;
  width: 100%;
  padding: 16px 30px;
  border-radius: 50px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-bottom: 15px;
}

.signin-btn {
  background: var(--accent);
  color: white;
  border: none;
}

.signin-btn:hover {
  background: var(--accent-dark);
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(201, 169, 110, 0.3);
}

.register-btn {
  background: transparent;
  color: var(--text-primary);
  border: 2px solid var(--border);
}

.register-btn:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.logout-btn {
  background: #e74c3c;
  color: white;
  border: none;
}

.logout-btn:hover {
  background: #c0392b;
}

/* Auth Login/Register Views */
.auth-login,
.auth-register {
  padding: 30px 40px 40px;
}

.auth-back {
  background: none;
  border: none;
  color: var(--text-secondary);
  font-size: 14px;
  cursor: pointer;
  margin-bottom: 20px;
  transition: color 0.3s ease;
}

.auth-back:hover {
  color: var(--accent);
}

.auth-error {
  background: rgba(231, 76, 60, 0.1);
  border: 1px solid #e74c3c;
  color: #e74c3c;
  padding: 12px 16px;
  border-radius: 8px;
  margin-bottom: 20px;
  font-size: 14px;
}

.auth-form {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.auth-form .form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.auth-form label {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-secondary);
}

.auth-form input,
.auth-form textarea {
  padding: 14px 16px;
  border: 2px solid var(--border);
  border-radius: 10px;
  font-size: 15px;
  background: var(--bg-primary);
  color: var(--text-primary);
  transition: all 0.3s ease;
}

.auth-form input:focus,
.auth-form textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(201, 169, 110, 0.1);
}

.auth-form input.error,
.auth-form textarea.error {
  border-color: #e74c3c;
}

.auth-form .field-error {
  color: #e74c3c;
  font-size: 12px;
}

.auth-form .form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
}

.form-divider {
  display: flex;
  align-items: center;
  gap: 15px;
  margin: 10px 0;
  color: var(--text-muted);
  font-size: 13px;
}

.form-divider::before,
.form-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border);
}

.auth-submit-btn {
  margin-top: 10px;
  padding: 16px 30px;
  background: var(--accent);
  color: white;
  border: none;
  border-radius: 50px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.auth-submit-btn:hover {
  background: var(--accent-dark);
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(201, 169, 110, 0.3);
}

.auth-switch {
  text-align: center;
  margin-top: 25px;
  font-size: 14px;
  color: var(--text-secondary);
}

.auth-link {
  background: none;
  border: none;
  color: var(--accent);
  font-weight: 600;
  cursor: pointer;
  text-decoration: underline;
}

.auth-link:hover {
  color: var(--accent-dark);
}

/* Auth Divider */
.auth-divider {
  display: flex;
  align-items: center;
  margin: 25px 0;
  gap: 15px;
}

.auth-divider::before,
.auth-divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--border);
}

.auth-divider span {
  color: var(--text-muted);
  font-size: 13px;
  font-weight: 500;
}

/* Google Sign-In Button */
.google-signin-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 14px 24px;
  background: white;
  border: 1px solid #e0e0e0;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 500;
  color: #333;
  cursor: pointer;
  transition: all 0.3s ease;
}

.google-signin-btn:hover {
  background: #f5f5f5;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

[data-theme="dark"] .google-signin-btn {
  background: #2d2d2d;
  border-color: #444;
  color: #fff;
}

[data-theme="dark"] .google-signin-btn:hover {
  background: #3d3d3d;
}

/* Auth Loading State */
.auth-loading {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  font-size: 18px;
  color: var(--text-secondary);
}

/* Profile Button with Icon */
.auth-btn.profile-btn,
.auth-btn.logout-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.auth-btn.profile-btn {
  background: var(--accent);
  color: white;
}

.auth-btn.profile-btn:hover {
  background: var(--accent-dark);
}

/* Profile View Styles */
.auth-profile {
  padding: 30px 40px;
  max-height: 80vh;
  overflow-y: auto;
}

.profile-header {
  text-align: center;
  margin-bottom: 30px;
  padding-bottom: 25px;
  border-bottom: 1px solid var(--border);
}

.profile-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  color: white;
  font-size: 28px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 15px;
  box-shadow: 0 8px 25px rgba(201, 169, 110, 0.3);
}

.profile-name {
  font-size: 24px;
  font-weight: 600;
  color: var(--text-primary);
  margin: 0 0 8px 0;
}

.profile-email {
  font-size: 14px;
  color: var(--text-secondary);
  margin: 0;
}

.profile-details {
  margin-bottom: 25px;
}

.profile-section-title {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin: 0 0 15px 0;
}

.profile-item {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 15px 0;
  border-bottom: 1px solid var(--border);
}

.profile-item:last-child {
  border-bottom: none;
}

.profile-label {
  font-size: 14px;
  color: var(--text-secondary);
  flex-shrink: 0;
}

.profile-value {
  font-size: 14px;
  color: var(--text-primary);
  font-weight: 500;
  text-align: right;
  word-break: break-word;
  max-width: 60%;
}

.profile-actions {
  padding-top: 20px;
  border-top: 1px solid var(--border);
}

.profile-actions .logout-btn {
  width: 100%;
  background: #e74c3c;
  color: white;
  border: none;
}

.profile-actions .logout-btn:hover {
  background: #c0392b;
}

/* Profile Tabs */
.profile-tabs {
  display: flex;
  gap: 0;
  margin-bottom: 20px;
  border-bottom: 2px solid var(--border);
}

.profile-tab {
  flex: 1;
  padding: 12px 20px;
  background: none;
  border: none;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-secondary);
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
}

.profile-tab:hover {
  color: var(--text-primary);
}

.profile-tab.active {
  color: var(--accent);
}

.profile-tab.active::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--accent);
}

/* Edit Profile Button */
.edit-profile-btn {
  margin-top: 20px;
  background: var(--bg-tertiary) !important;
  color: var(--text-primary) !important;
  border: 1px solid var(--border) !important;
}

.edit-profile-btn:hover {
  background: var(--accent) !important;
  color: white !important;
  border-color: var(--accent) !important;
}

/* Edit Profile Form */
.auth-edit-profile {
  padding: 30px 40px;
}

.auth-success {
  background: #d4edda;
  color: #155724;
  padding: 12px 20px;
  border-radius: 8px;
  margin-bottom: 20px;
  text-align: center;
  font-weight: 500;
}

/* Order History Styles */
.profile-orders {
  padding: 10px 0;
}

.orders-loading,
.orders-empty {
  text-align: center;
  padding: 40px 20px;
  color: var(--text-secondary);
}

.orders-empty-icon {
  font-size: 48px;
  margin-bottom: 15px;
}

.orders-list {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.order-card {
  background: var(--bg-tertiary);
  border-radius: 12px;
  padding: 18px;
  border: 1px solid var(--border);
}

.order-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}

.order-id {
  font-weight: 600;
  font-size: 14px;
  color: var(--text-primary);
}

.order-status {
  font-size: 12px;
  padding: 4px 12px;
  border-radius: 20px;
  font-weight: 500;
}

.order-status.status-pending {
  background: #fff3cd;
  color: #856404;
}

.order-status.status-shipped {
  background: #cce5ff;
  color: #004085;
}

.order-status.status-completed {
  background: #d4edda;
  color: #155724;
}

.order-date {
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 10px;
}

.order-items {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 12px;
}

.order-item-name {
  font-size: 12px;
  padding: 4px 10px;
  background: var(--bg-secondary);
  border-radius: 15px;
  color: var(--text-secondary);
}

.order-more {
  font-size: 12px;
  color: var(--text-muted);
}

.order-total {
  font-size: 14px;
  color: var(--text-primary);
  text-align: right;
}

.order-total strong {
  color: var(--accent);
}

/* Login Indicator */
.account-btn.logged-in {
  position: relative;
}

.login-indicator {
  position: absolute;
  bottom: 4px;
  right: 4px;
  width: 10px;
  height: 10px;
  background: #2ecc71;
  border-radius: 50%;
  border: 2px solid var(--bg-secondary);
}

@media (max-width: 500px) {
  .auth-modal {
    max-width: 100%;
    max-height: 100vh;
    border-radius: 0;
  }
  
  .auth-menu,
  .auth-login,
  .auth-register {
    padding: 30px 25px;
  }
  
  .auth-form .form-row {
    grid-template-columns: 1fr;
  }
  
  .auth-title {
    font-size: 24px;
  }
}

/* =============================================
   COLOR SELECTOR
   ============================================= */
.color-selector {
  margin: 12px 0;
  padding: 12px;
  background: var(--bg-tertiary);
  border-radius: 10px;
}

.color-label {
  display: block;
  font-size: 12px;
  font-weight: 500;
  color: var(--text-secondary);
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.color-options {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.color-option {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 3px solid transparent;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.color-option:hover {
  transform: scale(1.15);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
}

.color-option.active {
  border-color: var(--accent);
  transform: scale(1.1);
}

.color-option.active::after {
  content: '✓';
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: bold;
  color: white;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}

/* For light colors, use dark checkmark */
.color-option[style*="#FFF"],
.color-option[style*="#fff"],
.color-option[style*="FFFDD0"],
.color-option[style*="FFFAF0"],
.color-option[style*="F5F5F5"] {
  border: 2px solid var(--border);
}

.color-option[style*="#FFF"].active::after,
.color-option[style*="#fff"].active::after,
.color-option[style*="FFFDD0"].active::after,
.color-option[style*="FFFAF0"].active::after,
.color-option[style*="F5F5F5"].active::after {
  color: #333;
  text-shadow: none;
}

/* Product image transition when color changes */
.product-card .product-image img {
  transition: opacity 0.3s ease;
}

@media (max-width: 600px) {
  .color-option {
    width: 28px;
    height: 28px;
  }
  
  .color-selector {
    padding: 10px;
  }
}

/* =============================================
   GALLERY COLOR SELECTOR
   ============================================= */
.gallery-color-selector {
  margin: 10px 0;
  padding: 10px 0;
  border-top: 1px solid var(--border);
}

.gallery-color-label {
  display: block;
  font-size: 12px;
  color: var(--text-secondary);
  margin-bottom: 8px;
  font-weight: 500;
}

.gallery-color-options {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.gallery-color-option {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 2px solid var(--border);
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
}

.gallery-color-option:hover {
  transform: scale(1.15);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.gallery-color-option.active {
  border-color: var(--accent);
  box-shadow: 0 0 0 2px var(--accent);
  transform: scale(1.1);
}

/* Gallery Tag Badges */
.gallery-tag {
  position: absolute;
  top: 12px;
  right: 12px;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  z-index: 2;
}

.gallery-tag.new {
  background: linear-gradient(135deg, #4CAF50, #45a049);
  color: white;
}

.gallery-tag.hot {
  background: linear-gradient(135deg, #ff6b6b, #ee5253);
  color: white;
}

.gallery-tag.sale {
  background: linear-gradient(135deg, #f39c12, #e67e22);
  color: white;
}

/* Image transition for color change */
.gallery-card .gallery-card-image img {
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.gallery-card:hover .gallery-card-image img {
  transform: scale(1.02);
}

/* Gallery Wishlist Button */
.gallery-wishlist {
  position: absolute;
  top: 12px;
  left: 12px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.95);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  z-index: 3;
  color: var(--text-secondary);
}

.gallery-wishlist:hover {
  transform: scale(1.1);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  color: #e74c3c;
}

.gallery-wishlist.active {
  color: #e74c3c;
  background: rgba(231, 76, 60, 0.1);
}

.gallery-wishlist.active:hover {
  background: rgba(231, 76, 60, 0.2);
}

.gallery-wishlist svg {
  width: 18px;
  height: 18px;
}

/* =============================================
   MORE BUTTON & CREATORS SECTION
   ============================================= */
.more-section {
  margin-top: 40px;
  text-align: center;
}

.more-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 32px;
  background: transparent;
  border: 2px solid var(--border);
  border-radius: 50px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 2px;
  color: var(--text-primary);
  cursor: pointer;
  transition: all 0.3s ease;
}

.more-btn:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: white;
  transform: translateY(-2px);
}

.more-btn.active {
  background: var(--text-primary);
  border-color: var(--text-primary);
  color: var(--bg-primary);
}

.more-btn svg {
  transition: transform 0.3s ease;
}

.more-btn svg.rotate {
  transform: rotate(180deg);
}

/* Creators Panel */
.creators-panel {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  margin-top: 0;
}

.creators-panel.open {
  max-height: 800px;
  opacity: 1;
  margin-top: 40px;
}

.creators-header {
  text-align: center;
  margin-bottom: 40px;
}

.creators-header h3 {
  font-size: 28px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 10px;
}

.creators-header p {
  font-size: 16px;
  color: var(--text-secondary);
}

.creators-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
  max-width: 900px;
  margin: 0 auto;
}

/* Creator Card */
.creator-card {
  background: var(--bg-tertiary);
  border-radius: 20px;
  padding: 30px;
  text-align: center;
  transition: all 0.3s ease;
  border: 1px solid var(--border);
}

.creator-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.creator-image {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  overflow: hidden;
  margin: 0 auto 20px;
  border: 4px solid var(--accent);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.creator-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.creator-info {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.creator-name {
  font-size: 20px;
  font-weight: 600;
  color: var(--text-primary);
  margin: 0;
}

.creator-role {
  font-size: 14px;
  color: var(--accent);
  font-weight: 500;
  display: block;
}

.creator-description {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
  margin: 10px 0;
}

.creator-skills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  margin-top: 10px;
}

.skill-tag {
  padding: 4px 12px;
  background: var(--accent);
  color: white;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 500;
}

/* Responsive */
@media (max-width: 768px) {
  .creators-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .creator-card {
    padding: 20px;
  }
  
  .creator-image {
    width: 100px;
    height: 100px;
  }
  
  .creators-header h3 {
    font-size: 22px;
  }
}

/* =============================================
   MORE BUTTON & CREATOR PROFILE SECTION
   ============================================= */
.more-section {
  display: flex;
  justify-content: center;
  padding: 40px 0;
  margin-top: 20px;
}

.more-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 32px;
  background: transparent;
  border: 2px solid var(--border);
  border-radius: 50px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 2px;
  color: var(--text-primary);
  cursor: pointer;
  transition: all 0.3s ease;
}

.more-btn:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(200, 169, 126, 0.3);
}

.more-btn.active {
  background: var(--text-primary);
  border-color: var(--text-primary);
  color: var(--bg-primary);
}

.more-btn svg {
  transition: transform 0.3s ease;
}

.more-btn svg.rotate {
  transform: rotate(180deg);
}

/* Creator Profile Section */
.creator-profile {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.creator-profile.expanded {
  max-height: 1000px;
}

.creator-profile-inner {
  padding: 40px 60px;
  background: var(--bg-secondary);
  border-radius: 20px;
  margin: 0 auto;
  max-width: 1200px;
}

.creator-header {
  text-align: center;
  margin-bottom: 40px;
}

.creator-title {
  font-size: 28px;
  font-weight: 600;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  justify-content: center;
}

.creators-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 30px;
  margin-bottom: 40px;
}

.creator-card {
  display: flex;
  gap: 20px;
  padding: 25px;
  background: var(--bg-primary);
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.creator-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.creator-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), #e8d5b7);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: white;
}

.creator-info {
  flex: 1;
}

.creator-name {
  font-size: 18px;
  font-weight: 600;
  color: var(--text-primary);
  margin: 0 0 5px 0;
}

.creator-role {
  font-size: 14px;
  color: var(--accent);
  font-weight: 500;
  margin: 0 0 10px 0;
}

.creator-desc {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.6;
  margin: 0 0 15px 0;
}

.creator-skills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.skill-tag {
  padding: 4px 12px;
  background: var(--bg-secondary);
  border-radius: 20px;
  font-size: 11px;
  font-weight: 500;
  color: var(--text-secondary);
  border: 1px solid var(--border);
}

.project-info {
  text-align: center;
  padding: 30px;
  background: var(--bg-primary);
  border-radius: 16px;
}

.project-info h4 {
  font-size: 20px;
  font-weight: 600;
  color: var(--text-primary);
  margin: 0 0 15px 0;
}

.project-info p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.8;
  max-width: 700px;
  margin: 0 auto 20px auto;
}

.tech-stack {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}

.tech-tag {
  padding: 8px 18px;
  background: linear-gradient(135deg, var(--accent), #d4b896);
  border-radius: 25px;
  font-size: 12px;
  font-weight: 600;
  color: white;
  letter-spacing: 0.5px;
}

@media (max-width: 768px) {
  .creator-profile-inner {
    padding: 30px 20px;
  }
  
  .creators-grid {
    grid-template-columns: 1fr;
  }
  
  .creator-card {
    flex-direction: column;
    text-align: center;
  }
  
  .creator-avatar {
    margin: 0 auto;
  }
  
  .creator-skills {
    justify-content: center;
  }
}

/* =============================================
   FINAL SALE PAGE STYLES
   ============================================= */
.final-sale-page {
  padding: 140px 40px 80px;
  min-height: 100vh;
  background: var(--bg-primary);
}

.sale-page-header {
  text-align: center;
  margin-bottom: 60px;
}

.back-button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: 50px;
  color: var(--text-primary);
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  margin-bottom: 30px;
  transition: all 0.3s ease;
}

.back-button:hover {
  background: var(--accent);
  color: white;
  border-color: var(--accent);
  transform: translateX(-5px);
}

.sale-banner {
  padding: 40px;
  background: linear-gradient(135deg, #e74c3c 0%, #c0392b 50%, #e74c3c 100%);
  border-radius: 24px;
  color: white;
  position: relative;
  overflow: hidden;
}

.sale-banner::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
  animation: rotateBg 20s linear infinite;
}

@keyframes rotateBg {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.sale-badge {
  display: inline-block;
  padding: 10px 30px;
  background: rgba(255,255,255,0.2);
  border-radius: 50px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 4px;
  margin-bottom: 20px;
  animation: pulse 2s infinite;
}

.sale-title {
  font-size: clamp(28px, 5vw, 48px);
  font-weight: 700;
  margin-bottom: 15px;
  position: relative;
  z-index: 1;
}

.sale-subtitle {
  font-size: 18px;
  opacity: 0.9;
  position: relative;
  z-index: 1;
}

.sale-products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 40px;
  max-width: 1400px;
  margin: 0 auto;
}

/* Sale Product Card */
.sale-product-card {
  background: var(--bg-secondary);
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--border);
  transition: all 0.4s ease;
  cursor: pointer;
}

.sale-product-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 60px var(--shadow);
}

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

.sale-product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  transition: transform 0.6s ease;
}

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

.sale-discount-tag {
  position: absolute;
  top: 15px;
  left: 15px;
  padding: 10px 20px;
  background: linear-gradient(135deg, #e74c3c, #c0392b);
  color: white;
  font-weight: 700;
  font-size: 16px;
  border-radius: 50px;
  z-index: 10;
  animation: bounce 2s infinite;
}

.sale-add-to-cart {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  padding: 14px 40px;
  background: linear-gradient(135deg, #e74c3c, #c0392b);
  color: white;
  border: none;
  border-radius: 50px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.4s ease;
  z-index: 10;
  opacity: 0;
}

.sale-product-card:hover .sale-add-to-cart {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}

.sale-add-to-cart:hover {
  background: linear-gradient(135deg, #c0392b, #a93226);
  box-shadow: 0 10px 30px rgba(231, 76, 60, 0.4);
}

.sale-product-info {
  padding: 25px;
}

.sale-product-name {
  font-size: 18px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.sale-product-desc {
  font-size: 14px;
  color: var(--text-secondary);
  margin-bottom: 15px;
}

.sale-price-container {
  display: flex;
  align-items: center;
  gap: 15px;
}

.sale-original-price {
  font-size: 16px;
  color: var(--text-muted);
  text-decoration: line-through;
}

.sale-discounted-price {
  font-size: 22px;
  font-weight: 700;
  color: #e74c3c;
}

/* Responsive */
@media (max-width: 768px) {
  .final-sale-page {
    padding: 120px 20px 60px;
  }
  
  .sale-banner {
    padding: 30px 20px;
  }
  
  .sale-products-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  
  .sale-product-image {
    aspect-ratio: 4/5;
  }
}

/* =============================================
   PRODUCT ACTIONS (Review Button)
   ============================================= */
.product-actions {
  display: flex;
  gap: 10px;
  margin-top: 10px;
}

.product-actions .add-to-cart {
  flex: 1;
  margin-top: 0;
}

.review-btn {
  padding: 12px 16px;
  background: var(--bg-tertiary);
  border: 1px solid var(--border);
  border-radius: 8px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-secondary);
  cursor: pointer;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.review-btn:hover {
  background: var(--accent);
  color: white;
  border-color: var(--accent);
}

/* =============================================
   STAR RATING COMPONENT
   ============================================= */
.star-rating {
  display: inline-flex;
  gap: 2px;
}

.star-rating .star {
  color: #ddd;
  transition: all 0.2s ease;
  user-select: none;
}

.star-rating .star.filled {
  color: #FFD700;
  text-shadow: 0 0 10px rgba(255, 215, 0, 0.4);
}

.star-rating:not(.readonly) .star:hover {
  transform: scale(1.2);
}

/* =============================================
   REVIEW MODAL
   ============================================= */
.review-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2000;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  padding: 20px;
}

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

.review-modal {
  background: var(--bg-primary);
  border-radius: 20px;
  max-width: 550px;
  width: 100%;
  max-height: 85vh;
  overflow-y: auto;
  position: relative;
  box-shadow: 0 30px 100px rgba(0, 0, 0, 0.4);
  animation: slideUp 0.4s ease;
}

.review-modal-close {
  position: absolute;
  top: 15px;
  right: 15px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--bg-secondary);
  border: none;
  font-size: 24px;
  color: var(--text-secondary);
  cursor: pointer;
  z-index: 10;
  transition: all 0.3s ease;
}

.review-modal-close:hover {
  background: var(--accent);
  color: white;
  transform: rotate(90deg);
}

.review-modal-header {
  display: flex;
  gap: 15px;
  padding: 25px;
  border-bottom: 1px solid var(--border);
  align-items: center;
}

.review-product-image {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: 12px;
}

.review-product-info h3 {
  font-size: 18px;
  font-weight: 600;
  color: var(--text-primary);
  margin: 0;
}

.review-modal-actions {
  padding: 20px 25px;
  border-top: 1px solid var(--border);
}

.write-review-btn {
  width: 100%;
  padding: 14px;
  background: var(--accent);
  color: white;
  border: none;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.write-review-btn:hover {
  background: var(--accent-dark);
  transform: translateY(-2px);
}

/* =============================================
   PRODUCT REVIEWS DISPLAY
   ============================================= */
.product-reviews {
  padding: 25px;
}

.reviews-summary {
  margin-bottom: 20px;
  padding-bottom: 15px;
  border-bottom: 1px solid var(--border);
}

.average-rating {
  display: flex;
  align-items: center;
  gap: 10px;
}

.rating-number {
  font-size: 28px;
  font-weight: 700;
  color: var(--text-primary);
}

.review-count {
  font-size: 14px;
  color: var(--text-muted);
}

.reviews-loading {
  padding: 40px;
  text-align: center;
  color: var(--text-muted);
}

.no-reviews {
  text-align: center;
  padding: 30px;
  color: var(--text-secondary);
}

.no-reviews-hint {
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 8px;
}

.reviews-list {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.review-card {
  padding: 15px;
  background: var(--bg-secondary);
  border-radius: 12px;
  border: 1px solid var(--border);
}

.review-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 10px;
}

.reviewer-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.reviewer-name {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-primary);
}

.review-date {
  font-size: 12px;
  color: var(--text-muted);
}

.review-text {
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-secondary);
  margin: 0;
}

/* =============================================
   REVIEW FORM
   ============================================= */
.review-form {
  padding: 25px;
}

.review-form-title {
  font-size: 18px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 20px;
}

.review-error {
  padding: 12px 15px;
  background: rgba(231, 76, 60, 0.1);
  border: 1px solid rgba(231, 76, 60, 0.3);
  border-radius: 10px;
  color: #e74c3c;
  font-size: 14px;
  margin-bottom: 15px;
}

.review-rating-section {
  margin-bottom: 20px;
}

.review-rating-section label,
.review-text-section label {
  display: block;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-secondary);
  margin-bottom: 8px;
}

.review-text-section {
  margin-bottom: 15px;
}

.review-text-section textarea {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--bg-secondary);
  color: var(--text-primary);
  font-size: 14px;
  font-family: inherit;
  resize: vertical;
  transition: all 0.3s ease;
}

.review-text-section textarea:focus {
  outline: none;
  border-color: var(--accent);
}

.char-count {
  display: block;
  text-align: right;
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 5px;
}

.review-form-actions {
  display: flex;
  gap: 10px;
}

.review-cancel-btn {
  flex: 1;
  padding: 12px;
  background: var(--bg-tertiary);
  border: 1px solid var(--border);
  border-radius: 10px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-secondary);
  cursor: pointer;
  transition: all 0.3s ease;
}

.review-cancel-btn:hover {
  background: var(--bg-secondary);
}

.review-submit-btn {
  flex: 2;
  padding: 12px;
  background: var(--accent);
  color: white;
  border: none;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.review-submit-btn:hover:not(:disabled) {
  background: var(--accent-dark);
}

.review-submit-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

/* =============================================
   ADMIN PANEL STYLES
   ============================================= */
.admin-panel,
.admin-add-product,
.admin-product-list {
  padding: 10px;
}

.admin-title {
  font-size: 22px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 25px;
  text-align: center;
}

.admin-menu {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.admin-menu-btn {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 20px;
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.3s ease;
  text-align: left;
}

.admin-menu-btn:hover {
  background: var(--accent);
  color: white;
  border-color: var(--accent);
  transform: translateX(5px);
}

.admin-menu-icon {
  font-size: 28px;
}

.admin-menu-text {
  font-size: 16px;
  font-weight: 500;
}

.admin-btn {
  background: linear-gradient(135deg, #667eea, #764ba2) !important;
  color: white !important;
  border-color: transparent !important;
}

.admin-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(102, 126, 234, 0.4);
}

.admin-error {
  padding: 12px 15px;
  background: rgba(231, 76, 60, 0.1);
  border: 1px solid rgba(231, 76, 60, 0.3);
  border-radius: 10px;
  color: #e74c3c;
  font-size: 14px;
  margin-bottom: 15px;
}

.admin-success {
  padding: 12px 15px;
  background: rgba(46, 204, 113, 0.1);
  border: 1px solid rgba(46, 204, 113, 0.3);
  border-radius: 10px;
  color: #2ecc71;
  font-size: 14px;
  margin-bottom: 15px;
  text-align: center;
}

.admin-product-form {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.admin-product-form select {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--bg-secondary);
  color: var(--text-primary);
  font-size: 14px;
  cursor: pointer;
}

.admin-product-form select:focus {
  outline: none;
  border-color: var(--accent);
}

.image-preview {
  margin-top: 10px;
  border-radius: 10px;
  overflow: hidden;
  max-height: 150px;
}

.image-preview img {
  width: 100%;
  height: 150px;
  object-fit: cover;
}

.admin-submit-btn {
  width: 100%;
  padding: 15px;
  background: linear-gradient(135deg, #667eea, #764ba2);
  color: white;
  border: none;
  border-radius: 12px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-top: 10px;
}

.admin-submit-btn:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(102, 126, 234, 0.4);
}

.admin-submit-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.admin-loading,
.admin-empty {
  text-align: center;
  padding: 40px;
  color: var(--text-muted);
}

.admin-products-grid {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-height: 400px;
  overflow-y: auto;
}

.admin-product-card {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 12px;
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: 12px;
  position: relative;
}

.admin-product-card img {
  width: 60px;
  height: 60px;
  object-fit: cover;
  border-radius: 8px;
}

.admin-product-info {
  flex: 1;
}

.admin-product-info h4 {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-primary);
  margin: 0 0 4px 0;
}

.admin-product-price {
  font-size: 14px;
  font-weight: 600;
  color: var(--accent);
  margin: 0;
}

.admin-product-collection {
  font-size: 12px;
  color: var(--text-muted);
  margin: 0;
  text-transform: capitalize;
}

.admin-delete-btn {
  width: 36px;
  height: 36px;
  background: rgba(231, 76, 60, 0.1);
  border: none;
  border-radius: 8px;
  font-size: 16px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.admin-delete-btn:hover {
  background: #e74c3c;
}

/* Responsive */
@media (max-width: 600px) {
  .product-actions {
    flex-direction: column;
  }
  .review-btn {
    width: 100%;
    text-align: center;
  }
  
  .review-modal {
    max-width: 100%;
  }
  
  .review-modal-header {
    flex-direction: column;
    text-align: center;
  }
  
  .review-product-image {
    width: 100px;
    height: 100px;
  }
}

/* =============================================
   SHARE BUTTONS
   ============================================= */
.share-buttons {
  display: flex;
  gap: 8px;
}

.share-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.share-btn.facebook {
  background: #1877F2;
  color: white;
}

.share-btn.line {
  background: #00B900;
  color: white;
}

.share-btn.twitter {
  background: #000;
  color: white;
}

.share-btn.copy {
  background: var(--bg-tertiary);
  color: var(--text-primary);
  border: 1px solid var(--border);
}

.share-btn:hover {
  transform: scale(1.1);
}

.share-dropdown {
  position: absolute;
  top: 60px;
  right: 10px;
  background: var(--bg-primary);
  padding: 12px;
  border-radius: 12px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.2);
  z-index: 100;
}

/* Quick Action Buttons on Product Card */
.product-quick-actions {
  position: absolute;
  bottom: 50px;
  right: 10px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  opacity: 0;
  transform: translateX(20px);
  transition: all 0.3s ease;
}

.product-card:hover .product-quick-actions {
  opacity: 1;
  transform: translateX(0);
}

.quick-action-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--bg-primary);
  border: 1px solid var(--border);
  font-size: 16px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.quick-action-btn:hover {
  transform: scale(1.1);
  background: var(--accent);
}

.quick-action-btn.compare.active {
  background: var(--accent);
  border-color: var(--accent);
}

/* =============================================
   FLASH SALE TIMER
   ============================================= */
.flash-timer {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 15px 25px;
  background: linear-gradient(135deg, #e74c3c, #c0392b);
  border-radius: 12px;
  color: white;
}

.flash-timer.expired {
  background: var(--bg-tertiary);
  color: var(--text-muted);
}

.flash-label {
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 1px;
}

.timer-blocks {
  display: flex;
  align-items: center;
  gap: 8px;
}

.timer-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 8px 12px;
  background: rgba(0,0,0,0.3);
  border-radius: 8px;
  min-width: 50px;
}

.timer-number {
  font-size: 24px;
  font-weight: 700;
  font-family: monospace;
}

.timer-label {
  font-size: 10px;
  opacity: 0.8;
  text-transform: uppercase;
}

.timer-separator {
  font-size: 24px;
  font-weight: 700;
}

/* =============================================
   RECENTLY VIEWED
   ============================================= */
.recently-viewed {
  padding: 60px 80px;
  background: var(--bg-secondary);
}

.recent-products-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 20px;
  margin-top: 30px;
}

.recent-product-card {
  background: var(--bg-primary);
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--border);
  transition: all 0.3s ease;
  cursor: pointer;
}

.recent-product-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.recent-product-image {
  height: 120px;
  overflow: hidden;
}

.recent-product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.recent-product-info {
  padding: 12px;
}

.recent-product-info h4 {
  font-size: 12px;
  font-weight: 500;
  color: var(--text-primary);
  margin: 0 0 5px 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.recent-product-price {
  font-size: 13px;
  font-weight: 600;
  color: var(--accent);
}

@media (max-width: 1200px) {
  .recent-products-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (max-width: 768px) {
  .recently-viewed {
    padding: 40px 20px;
  }
  
  .recent-products-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
  }
}

/* =============================================
   PRODUCT COMPARE
   ============================================= */
.compare-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.85);
  backdrop-filter: blur(10px);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.compare-modal {
  background: var(--bg-primary);
  border-radius: 20px;
  max-width: 1000px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  padding: 30px;
  position: relative;
}

.compare-modal-close {
  position: absolute;
  top: 15px;
  right: 15px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--bg-secondary);
  border: none;
  font-size: 24px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.compare-modal-close:hover {
  background: var(--accent);
  color: white;
}

.compare-title {
  text-align: center;
  font-size: 24px;
  margin-bottom: 30px;
  color: var(--text-primary);
}

.compare-empty {
  text-align: center;
  padding: 60px 20px;
  color: var(--text-secondary);
}

.compare-hint {
  font-size: 14px;
  color: var(--text-muted);
  margin-top: 10px;
}

.compare-grid {
  display: grid;
  gap: 20px;
}

.compare-product {
  background: var(--bg-secondary);
  padding: 20px;
  border-radius: 12px;
  position: relative;
  text-align: center;
}

.compare-remove {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(231, 76, 60, 0.1);
  border: none;
  font-size: 18px;
  cursor: pointer;
  color: #e74c3c;
}

.compare-remove:hover {
  background: #e74c3c;
  color: white;
}

.compare-product-image {
  width: 100%;
  height: 150px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 15px;
}

.compare-product-name {
  font-size: 14px;
  font-weight: 600;
  margin: 0 0 10px 0;
  color: var(--text-primary);
}

.compare-product-price {
  font-size: 18px;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 15px;
}

.compare-specs {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.compare-spec {
  display: flex;
  flex-direction: column;
  padding: 10px;
  background: var(--bg-primary);
  border-radius: 8px;
}

.spec-label {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.spec-value {
  font-size: 13px;
  color: var(--text-primary);
  font-weight: 500;
}

.compare-clear-btn {
  display: block;
  margin: 25px auto 0;
  padding: 12px 30px;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 30px;
  color: var(--text-secondary);
  font-size: 14px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.compare-clear-btn:hover {
  background: #e74c3c;
  color: white;
  border-color: #e74c3c;
}

/* Compare Floating Button */
.compare-floating-btn {
  position: fixed;
  bottom: 30px;
  left: 30px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 15px 25px;
  background: linear-gradient(135deg, #667eea, #764ba2);
  border: none;
  border-radius: 50px;
  color: white;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 10px 40px rgba(102, 126, 234, 0.4);
  z-index: 999;
  animation: pulse 2s infinite;
  transition: all 0.3s ease;
}

.compare-floating-btn:hover {
  transform: scale(1.05);
}

.compare-icon {
  font-size: 20px;
}

.compare-count {
  background: white;
  color: #667eea;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
}

@keyframes pulse {
  0%, 100% {
    box-shadow: 0 10px 40px rgba(102, 126, 234, 0.4);
  }
  50% {
    box-shadow: 0 10px 60px rgba(102, 126, 234, 0.6);
  }
}

@media (max-width: 768px) {
  .compare-floating-btn {
    bottom: 20px;
    left: 20px;
    padding: 12px 20px;
  }
  
  .compare-text {
    display: none;
  }
  
  .compare-modal {
    padding: 20px;
  }
  
  .compare-grid {
    grid-template-columns: 1fr !important;
  }
  
  .flash-timer {
    flex-direction: column;
    gap: 10px;
    text-align: center;
  }
  
  .product-quick-actions {
    opacity: 1;
    transform: translateX(0);
  }
}

/* =============================================
   STOCK NOTIFICATION
   ============================================= */
.stock-notification-form {
  padding: 20px;
  background: var(--bg-secondary);
  border-radius: 12px;
  margin-top: 15px;
}

.stock-notification-title {
  font-size: 16px;
  font-weight: 600;
  color: var(--text-primary);
  margin: 0 0 8px 0;
}

.stock-notification-desc {
  font-size: 13px;
  color: var(--text-secondary);
  margin: 0 0 15px 0;
}

.stock-notification-input {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--bg-primary);
  color: var(--text-primary);
  font-size: 14px;
  margin-bottom: 10px;
}

.stock-notification-input:focus {
  outline: none;
  border-color: var(--accent);
}

.stock-notification-btn {
  width: 100%;
  padding: 12px;
  background: var(--accent);
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.stock-notification-btn:hover:not(:disabled) {
  transform: translateY(-2px);
}

.stock-notification-btn:disabled {
  opacity: 0.6;
}

.stock-notification-success {
  text-align: center;
  padding: 20px;
  color: #2ecc71;
  font-weight: 500;
}

.stock-notification-error {
  padding: 10px;
  background: rgba(231, 76, 60, 0.1);
  border-radius: 8px;
  color: #e74c3c;
  font-size: 13px;
  margin-bottom: 10px;
}

/* =============================================
   LOYALTY POINTS
   ============================================= */
.loyalty-points-display {
  padding: 15px;
  background: linear-gradient(135deg, #667eea, #764ba2);
  border-radius: 12px;
  color: white;
  margin-bottom: 15px;
}

.loyalty-header {
  display: flex;
  align-items: center;
  gap: 12px;
}

.loyalty-icon {
  font-size: 32px;
}

.loyalty-info {
  display: flex;
  flex-direction: column;
}

.loyalty-label {
  font-size: 12px;
  opacity: 0.9;
}

.loyalty-value {
  font-size: 22px;
  font-weight: 700;
}

.loyalty-footer {
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid rgba(255,255,255,0.2);
}

.loyalty-hint {
  font-size: 11px;
  opacity: 0.8;
}

/* =============================================
   LIVE CHAT WIDGET
   ============================================= */
.chat-widget-btn {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: linear-gradient(135deg, #667eea, #764ba2);
  border: none;
  color: white;
  font-size: 24px;
  cursor: pointer;
  box-shadow: 0 10px 40px rgba(102, 126, 234, 0.4);
  z-index: 9998;
  transition: all 0.3s ease;
  animation: pulse 2s infinite;
}

.chat-widget-btn:hover {
  transform: scale(1.1);
}

.chat-widget-btn.active {
  background: var(--bg-tertiary);
  animation: none;
}

.chat-widget-panel {
  position: fixed;
  bottom: 100px;
  right: 30px;
  width: 350px;
  height: 450px;
  background: var(--bg-primary);
  border-radius: 20px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.3);
  z-index: 9998;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  animation: slideUp 0.3s ease;
}

.chat-widget-header {
  padding: 15px 20px;
  background: linear-gradient(135deg, #667eea, #764ba2);
  color: white;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.chat-header-info {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
}

.chat-status-dot {
  width: 8px;
  height: 8px;
  background: #2ecc71;
  border-radius: 50%;
  animation: blink 2s infinite;
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

.chat-minimize {
  background: none;
  border: none;
  color: white;
  font-size: 24px;
  cursor: pointer;
  opacity: 0.8;
}

.chat-minimize:hover {
  opacity: 1;
}

.chat-messages {
  flex: 1;
  padding: 15px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.chat-welcome {
  text-align: center;
  padding: 40px 20px;
  color: var(--text-secondary);
}

.chat-welcome p {
  margin: 5px 0;
}

.chat-message {
  max-width: 80%;
  padding: 10px 15px;
  border-radius: 18px;
}

.chat-message.user {
  align-self: flex-end;
  background: var(--accent);
  color: white;
  border-bottom-right-radius: 4px;
}

.chat-message.admin {
  align-self: flex-start;
  background: var(--bg-secondary);
  color: var(--text-primary);
  border-bottom-left-radius: 4px;
}

.chat-message-content {
  font-size: 14px;
  line-height: 1.4;
}

.chat-message-time {
  font-size: 10px;
  opacity: 0.7;
  margin-top: 4px;
}

.chat-input-form {
  display: flex;
  padding: 15px;
  gap: 10px;
  border-top: 1px solid var(--border);
}

.chat-input {
  flex: 1;
  padding: 12px 15px;
  border: 1px solid var(--border);
  border-radius: 25px;
  background: var(--bg-secondary);
  color: var(--text-primary);
  font-size: 14px;
}

.chat-input:focus {
  outline: none;
  border-color: var(--accent);
}

.chat-send-btn {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  background: var(--accent);
  border: none;
  color: white;
  font-size: 18px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.chat-send-btn:hover:not(:disabled) {
  transform: scale(1.1);
}

.chat-send-btn:disabled {
  opacity: 0.6;
}

@media (max-width: 500px) {
  .chat-widget-panel {
    right: 10px;
    left: 10px;
    width: auto;
    bottom: 80px;
  
  .chat-widget-btn {
    bottom: 20px;
    right: 20px;
  }
}

/* =============================================
   AI CHATBOT
   ============================================= */
.ai-chatbot-btn {
  position: fixed;
  bottom: 30px;
  right: 110px;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: linear-gradient(135deg, #00d4aa, #00b894);
  border: none;
  font-size: 22px;
  cursor: pointer;
  box-shadow: 0 8px 30px rgba(0, 212, 170, 0.4);
  z-index: 9997;
  transition: all 0.3s ease;
}

.ai-chatbot-btn:hover {
  transform: scale(1.1);
}

.ai-chatbot-btn.active {
  background: var(--bg-tertiary);
}

.ai-chatbot-panel {
  position: fixed;
  bottom: 100px;
  right: 100px;
  width: 380px;
  height: 500px;
  background: var(--bg-primary);
  border-radius: 20px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.3);
  z-index: 9997;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  animation: slideUp 0.3s ease;
}

.ai-chatbot-header {
  padding: 15px 20px;
  background: linear-gradient(135deg, #00d4aa, #00b894);
  color: white;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.ai-header-title {
  font-weight: 600;
  font-size: 15px;
}

.ai-close-btn {
  background: none;
  border: none;
  color: white;
  font-size: 24px;
  cursor: pointer;
  opacity: 0.8;
}

.ai-close-btn:hover {
  opacity: 1;
}

.ai-chatbot-messages {
  flex: 1;
  padding: 15px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.ai-message {
  max-width: 85%;
  padding: 12px 16px;
  border-radius: 18px;
  font-size: 14px;
  line-height: 1.5;
  white-space: pre-line;
}

.ai-message.user {
  align-self: flex-end;
  background: var(--accent);
  color: white;
  border-bottom-right-radius: 4px;
}

.ai-message.bot {
  align-self: flex-start;
  background: var(--bg-secondary);
  color: var(--text-primary);
  border-bottom-left-radius: 4px;
}

.typing-dots span {
  animation: typingBounce 1.4s infinite;
  display: inline-block;
  font-size: 24px;
  line-height: 1;
}

.typing-dots span:nth-child(2) { animation-delay: 0.2s; }
.typing-dots span:nth-child(3) { animation-delay: 0.4s; }

@keyframes typingBounce {
  0%, 60%, 100% { transform: translateY(0); }
  30% { transform: translateY(-8px); }
}

.ai-chatbot-input {
  display: flex;
  padding: 15px;
  gap: 10px;
  border-top: 1px solid var(--border);
}

.ai-chatbot-input input {
  flex: 1;
  padding: 12px 18px;
  border: 1px solid var(--border);
  border-radius: 25px;
  background: var(--bg-secondary);
  color: var(--text-primary);
  font-size: 14px;
}

.ai-chatbot-input input:focus {
  outline: none;
  border-color: #00d4aa;
}

.ai-chatbot-input button {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  background: linear-gradient(135deg, #00d4aa, #00b894);
  border: none;
  color: white;
  font-size: 18px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.ai-chatbot-input button:hover {
  transform: scale(1.1);
}

/* =============================================
   3D PRODUCT VIEWER
   ============================================= */
.viewer-3d-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.9);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.viewer-3d-container {
  background: var(--bg-primary);
  border-radius: 20px;
  max-width: 600px;
  width: 100%;
  padding: 30px;
  text-align: center;
  position: relative;
}

.viewer-3d-close {
  position: absolute;
  top: 15px;
  right: 15px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--bg-secondary);
  border: none;
  font-size: 24px;
  cursor: pointer;
}

.viewer-3d-close:hover {
  background: var(--accent);
  color: white;
}

.viewer-3d-title {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 20px;
  color: var(--text-primary);
}

.viewer-3d-canvas {
  width: 100%;
  height: 350px;
  background: var(--bg-secondary);
  border-radius: 12px;
  overflow: hidden;
  cursor: grab;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  perspective: 1000px;
}

.viewer-3d-canvas:active {
  cursor: grabbing;
}

.viewer-3d-canvas img {
  max-height: 300px;
  object-fit: contain;
  transition: transform 0.1s ease;
  user-select: none;
}

.viewer-3d-indicator {
  position: absolute;
  bottom: 15px;
  right: 15px;
  padding: 5px 12px;
  background: rgba(0,0,0,0.6);
  border-radius: 20px;
  color: white;
  font-size: 12px;
  font-family: monospace;
}

.viewer-3d-controls {
  margin-top: 20px;
}

.control-btn {
  padding: 10px 25px;
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: 25px;
  color: var(--text-primary);
  font-size: 14px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.control-btn.active {
  background: var(--accent);
  color: white;
  border-color: var(--accent);
}

.control-btn:hover {
  background: var(--accent);
  color: white;
  border-color: var(--accent);
}

.viewer-3d-hint {
  margin-top: 15px;
  font-size: 13px;
  color: var(--text-muted);
}

/* =============================================
   VIRTUAL TRY-ON
   ============================================= */
.try-on-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.9);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.try-on-container {
  background: var(--bg-primary);
  border-radius: 20px;
  max-width: 500px;
  width: 100%;
  padding: 30px;
  text-align: center;
  position: relative;
}

.try-on-close {
  position: absolute;
  top: 15px;
  right: 15px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--bg-secondary);
  border: none;
  font-size: 24px;
  cursor: pointer;
}

.try-on-close:hover {
  background: var(--accent);
  color: white;
}

.try-on-title {
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 5px;
  color: var(--text-primary);
}

.try-on-product {
  font-size: 14px;
  color: var(--text-secondary);
  margin-bottom: 25px;
}

.try-on-upload-area {
  width: 100%;
  height: 280px;
  border: 2px dashed var(--border);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--bg-secondary);
}

.try-on-placeholder {
  cursor: pointer;
  text-align: center;
  color: var(--text-secondary);
  padding: 20px;
}

.upload-icon {
  font-size: 48px;
  display: block;
  margin-bottom: 15px;
}

.try-on-placeholder p {
  margin: 5px 0;
}

.upload-hint {
  font-size: 12px;
  color: var(--text-muted);
}

.try-on-preview {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.try-on-actions {
  display: flex;
  gap: 10px;
  margin-top: 20px;
}

.try-on-btn {
  flex: 1;
  padding: 14px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.try-on-btn.primary {
  background: linear-gradient(135deg, #667eea, #764ba2);
  color: white;
  border: none;
}

.try-on-btn.primary:hover:not(:disabled) {
  transform: translateY(-2px);
}

.try-on-btn.primary:disabled {
  opacity: 0.6;
}

.try-on-btn.secondary {
  background: var(--bg-secondary);
  color: var(--text-primary);
  border: 1px solid var(--border);
}

.try-on-btn.secondary:hover {
  background: var(--bg-tertiary);
}

.try-on-result-grid {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-bottom: 20px;
}

.result-item {
  text-align: center;
}

.result-item img {
  width: 120px;
  height: 150px;
  object-fit: cover;
  border-radius: 12px;
  margin-bottom: 8px;
}

.result-item span {
  font-size: 12px;
  color: var(--text-secondary);
}

.result-plus {
  font-size: 28px;
  color: var(--accent);
  font-weight: bold;
}

.try-on-preview-result {
  padding: 20px;
  background: var(--bg-secondary);
  border-radius: 12px;
  margin-bottom: 20px;
}

.try-on-preview-result p {
  margin: 5px 0;
}

.preview-note {
  font-size: 12px;
  color: var(--text-muted);
}

@media (max-width: 500px) {
  .ai-chatbot-panel {
    right: 10px;
    left: 10px;
    width: auto;
    bottom: 80px;
  }
  
  .ai-chatbot-btn {
    right: 80px;
  }
  
  .viewer-3d-canvas {
    height: 250px;
  }
  
  .try-on-upload-area {
    height: 200px;
  }
}

/* =============================================
   CHECKOUT MODAL STYLES
   ============================================= */
.checkout-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(8px);
  z-index: 3000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

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

.checkout-modal {
  background: var(--bg-secondary);
  width: 95%;
  max-width: 1000px;
  max-height: 90vh;
  border-radius: 20px;
  overflow-y: auto;
  position: relative;
  animation: checkoutSlideIn 0.3s ease;
  box-shadow: 0 25px 80px rgba(0, 0, 0, 0.4);
}

@keyframes checkoutSlideIn {
  from {
    opacity: 0;
    transform: translateY(-30px) scale(0.95);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.checkout-close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 40px;
  height: 40px;
  background: var(--bg-tertiary);
  border: 1px solid var(--border);
  border-radius: 50%;
  font-size: 24px;
  color: var(--text-primary);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  z-index: 10;
}

.checkout-close:hover {
  background: #e74c3c;
  color: white;
  transform: rotate(90deg);
}

/* Progress Steps */
.checkout-progress {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 30px 40px;
  border-bottom: 1px solid var(--border);
  background: var(--bg-tertiary);
  border-radius: 20px 20px 0 0;
}

.progress-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  opacity: 0.5;
  transition: all 0.3s ease;
}

.progress-step.active {
  opacity: 1;
}

.progress-step.completed {
  opacity: 1;
}

.progress-step.completed .step-number {
  background: #27ae60;
  color: white;
}

.step-number {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--bg-secondary);
  border: 2px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 14px;
  color: var(--text-primary);
  transition: all 0.3s ease;
}

.progress-step.active .step-number {
  background: var(--accent);
  border-color: var(--accent);
  color: white;
}

.step-label {
  font-size: 12px;
  font-weight: 500;
  color: var(--text-secondary);
}

.progress-step.active .step-label {
  color: var(--accent);
}

.progress-line {
  width: 80px;
  height: 2px;
  background: var(--border);
  margin: 0 15px;
}

/* Checkout Content */
.checkout-content {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 0;
}

@media (max-width: 768px) {
  .checkout-content {
    grid-template-columns: 1fr;
  }
}

/* Form Section */
.checkout-form-section {
  padding: 30px 40px;
  border-right: 1px solid var(--border);
}

@media (max-width: 768px) {
  .checkout-form-section {
    border-right: none;
    border-bottom: 1px solid var(--border);
  }
}

.shipping-form,
.payment-form,
.success-content {
  animation: fadeIn 0.3s ease;
}

.form-title {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 25px;
  color: var(--text-primary);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
  margin-bottom: 15px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group.full {
  grid-column: span 2;
}

.form-group label {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-secondary);
}

.form-group input,
.form-group textarea {
  padding: 12px 15px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--bg-primary);
  color: var(--text-primary);
  font-size: 14px;
  transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(201, 169, 110, 0.1);
}

.form-group input.error,
.form-group textarea.error {
  border-color: #e74c3c;
}

.error-msg {
  font-size: 12px;
  color: #e74c3c;
}

/* Payment Methods */
.payment-methods {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 25px;
}

.payment-method {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 18px 20px;
  border: 2px solid var(--border);
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.3s ease;
  background: var(--bg-primary);
}

.payment-method:hover {
  border-color: var(--accent);
}

.payment-method.active {
  border-color: var(--accent);
  background: rgba(201, 169, 110, 0.05);
}

.payment-method input {
  display: none;
}

.payment-radio {
  width: 20px;
  height: 20px;
  border: 2px solid var(--border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.payment-method.active .payment-radio {
  border-color: var(--accent);
}

.payment-method.active .payment-radio::after {
  content: '';
  width: 10px;
  height: 10px;
  background: var(--accent);
  border-radius: 50%;
}

.payment-icon {
  font-size: 24px;
}

.payment-info h4 {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 2px;
}

.payment-info span {
  font-size: 12px;
  color: var(--text-secondary);
}

.payment-error {
  color: #e74c3c;
  font-size: 13px;
  padding: 10px 15px;
  background: rgba(231, 76, 60, 0.1);
  border-radius: 8px;
  margin-bottom: 15px;
}

/* Card Details */
.card-details {
  margin-top: 15px;
  padding: 20px;
  background: var(--bg-tertiary);
  border-radius: 12px;
  animation: fadeIn 0.3s ease;
}

/* Order Summary Section */
.checkout-summary-section {
  padding: 30px;
  background: var(--bg-tertiary);
  border-radius: 0 20px 20px 0;
}

@media (max-width: 768px) {
  .checkout-summary-section {
    border-radius: 0;
  }
}

.summary-title {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 20px;
  color: var(--text-primary);
}

.summary-items {
  max-height: 200px;
  overflow-y: auto;
  margin-bottom: 20px;
}

.summary-item {
  display: flex;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
}

.summary-item:last-child {
  border-bottom: none;
}

.summary-item img {
  width: 50px;
  height: 50px;
  object-fit: cover;
  border-radius: 8px;
}

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

.summary-item-name {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.summary-item-size {
  font-size: 11px;
  color: var(--text-secondary);
}

.summary-item-price {
  font-size: 13px;
  font-weight: 600;
  color: var(--accent);
}

/* Coupon Section */
.coupon-section {
  margin-bottom: 20px;
}

.coupon-title {
  font-size: 13px;
  font-weight: 500;
  margin-bottom: 10px;
  color: var(--text-secondary);
}

.coupon-input-group {
  display: flex;
  gap: 8px;
}

.coupon-input-group input {
  flex: 1;
  padding: 10px 12px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--bg-secondary);
  color: var(--text-primary);
  font-size: 13px;
}

.coupon-input-group button {
  padding: 10px 16px;
  background: var(--accent);
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.coupon-input-group button:hover {
  background: var(--accent-dark);
}

.coupon-error {
  font-size: 12px;
  color: #e74c3c;
  margin-top: 6px;
}

.applied-coupon {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 12px;
  background: rgba(39, 174, 96, 0.1);
  border: 1px solid rgba(39, 174, 96, 0.3);
  border-radius: 8px;
}

.applied-coupon span {
  font-size: 13px;
  color: #27ae60;
  font-weight: 500;
}

.applied-coupon button {
  background: none;
  border: none;
  color: #e74c3c;
  cursor: pointer;
  font-size: 18px;
}

/* Summary Rows */
.summary-row {
  display: flex;
  justify-content: space-between;
  padding: 8px 0;
  font-size: 14px;
  color: var(--text-secondary);
}

.summary-row.discount {
  color: #27ae60;
}

.summary-row.total {
  padding-top: 15px;
  margin-top: 10px;
  border-top: 1px solid var(--border);
  font-size: 18px;
  font-weight: 700;
  color: var(--text-primary);
}

.summary-row.total .total-price {
  color: var(--accent);
}

/* Checkout Actions */
.checkout-actions {
  display: flex;
  gap: 12px;
  margin-top: 20px;
}

.checkout-btn {
  flex: 1;
  padding: 15px 20px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.checkout-btn.primary {
  background: var(--accent);
  color: white;
  border: none;
}

.checkout-btn.primary:hover:not(:disabled) {
  background: var(--accent-dark);
  transform: translateY(-2px);
}

.checkout-btn.primary:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.checkout-btn.secondary {
  background: transparent;
  color: var(--text-primary);
  border: 1px solid var(--border);
}

.checkout-btn.secondary:hover {
  background: var(--bg-tertiary);
}

/* Success Content */
.success-content {
  text-align: center;
  padding: 40px;
}

.success-icon {
  font-size: 60px;
  margin-bottom: 20px;
}

.success-content h2 {
  font-size: 24px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 10px;
}

.success-content p {
  color: var(--text-secondary);
  margin-bottom: 10px;
}

.order-number {
  font-size: 18px;
  font-weight: 600;
  color: var(--accent);
  padding: 15px 30px;
  background: rgba(201, 169, 110, 0.1);
  border-radius: 10px;
  display: inline-block;
  margin: 20px 0;
}

/* Cart Item Size Styling */
.cart-item-size {
  font-size: 12px;
  color: var(--text-secondary);
  margin: 2px 0 4px 0;
}

/* PromptPay QR Code Styling */
.promptpay-section {
  margin-top: 15px;
}

.qr-placeholder {
  text-align: center;
  padding: 20px;
  background: var(--bg-primary);
  border-radius: 12px;
  border: 2px dashed var(--border);
}

.promptpay-qr-image {
  max-width: 200px;
  width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 15px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.qr-amount {
  font-size: 16px;
  font-weight: 600;
  color: var(--accent);
  margin: 10px 0 5px;
}

.qr-hint {
  font-size: 13px;
  color: var(--text-secondary);
}

/* Payment Options Styling */
.payment-options {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.payment-option {
  padding: 18px 20px;
  border: 2px solid var(--border);
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.3s ease;
  background: var(--bg-primary);
}

.payment-option:hover {
  border-color: var(--accent);
}

.payment-option.selected {
  border-color: var(--accent);
  background: rgba(201, 169, 110, 0.05);
}

.payment-option-header {
  display: flex;
  align-items: center;
  gap: 12px;
}

.payment-icon {
  color: var(--accent);
}

.payment-name {
  flex: 1;
  font-weight: 500;
  color: var(--text-primary);
}

.payment-check {
  color: var(--accent);
  font-weight: 600;
}

.card-form {
  margin-top: 15px;
  padding-top: 15px;
  border-top: 1px solid var(--border);
}

.cod-section {
  margin-top: 15px;
  padding: 15px;
  background: var(--bg-tertiary);
  border-radius: 8px;
}

.cod-info {
  font-size: 14px;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.cod-fee {
  font-size: 13px;
  color: var(--accent);
  font-weight: 500;
}

/* =============================================
   ERROR BOUNDARY STYLES
   ============================================= */
.error-boundary {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
  padding: 20px;
}

.error-boundary-content {
  text-align: center;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(20px);
  border-radius: 24px;
  padding: 60px 40px;
  max-width: 500px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 25px 80px rgba(0, 0, 0, 0.4);
}

.error-boundary .error-icon {
  font-size: 80px;
  margin-bottom: 20px;
  animation: shake 0.5s ease-in-out;
}

@keyframes shake {
  0%, 100% { transform: translateX(0); }
  25% { transform: translateX(-10px); }
  75% { transform: translateX(10px); }
}

.error-boundary h1 {
  font-size: 28px;
  color: #fff;
  margin-bottom: 15px;
  font-weight: 600;
}

.error-boundary p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 16px;
  margin-bottom: 30px;
  line-height: 1.6;
}

.error-reload-btn {
  padding: 16px 40px;
  background: linear-gradient(135deg, #c9a96e 0%, #e8d5b0 100%);
  color: #1a1a1a;
  border: none;
  border-radius: 50px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 10px 30px rgba(201, 169, 110, 0.3);
}

.error-reload-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 40px rgba(201, 169, 110, 0.4);
}

.error-details {
  margin-top: 30px;
  text-align: left;
  background: rgba(0, 0, 0, 0.3);
  border-radius: 12px;
  padding: 15px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.error-details summary {
  color: rgba(255, 255, 255, 0.5);
  font-size: 13px;
  cursor: pointer;
  margin-bottom: 10px;
}

.error-details pre {
  color: #e74c3c;
  font-size: 12px;
  overflow-x: auto;
  white-space: pre-wrap;
  word-break: break-word;
}

/* =============================================
   COLOR PICKER STYLES
   ============================================= */
.color-picker-wrapper {
  display: flex;
  align-items: center;
  gap: 12px;
}

.color-picker-input {
  width: 50px;
  height: 40px;
  padding: 2px;
  border: 2px solid var(--border);
  border-radius: 8px;
  cursor: pointer;
  background: transparent;
}

.color-picker-input::-webkit-color-swatch-wrapper {
  padding: 0;
}

.color-picker-input::-webkit-color-swatch {
  border-radius: 6px;
  border: none;
}

.color-hex-input {
  flex: 1;
  padding: 10px 12px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--bg-primary);
  color: var(--text-primary);
  font-family: monospace;
  font-size: 14px;
}

.color-hex-input:focus {
  outline: none;
  border-color: var(--accent);
}

.color-preview {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 3px solid var(--border);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}
