/* ===== CSS VARIABLES ===== */
:root {
  --bg-primary: #050505;
  --bg-secondary: #0f172a;
  --bg-card: rgba(15, 23, 42, 0.6);
  --bg-glass: rgba(15, 23, 42, 0.4);
  --accent-blue: #2563eb;
  --accent-blue-light: #3b82f6;
  --accent-red: #ef4444;
  --accent-red-light: #f87171;
  --text-primary: #f9fafb;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  --border: rgba(148, 163, 184, 0.1);
  --border-glow: rgba(37, 99, 235, 0.3);
  --glow-blue: 0 0 20px rgba(37, 99, 235, 0.3);
  --glow-red: 0 0 20px rgba(239, 68, 68, 0.3);
  --radius: 12px;
  --radius-lg: 20px;
  --radius-full: 50px;
  --sidebar-width: 80px;
  --sidebar-expanded: 240px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-fast: 0.15s ease;
}

/* ===== RESET ===== */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
}

ul { list-style: none; }

img {
  max-width: 100%;
  height: auto;
  display: block;
}

button {
  cursor: pointer;
  border: none;
  font-family: inherit;
  font-size: inherit;
}

select, input, textarea {
  font-family: inherit;
  font-size: inherit;
}

/* ===== SIDEBAR ===== */
.sidebar {
  position: fixed;
  left: 0;
  top: 0;
  bottom: 0;
  width: var(--sidebar-width);
  background: rgba(5, 5, 5, 0.95);
  backdrop-filter: blur(20px);
  border-right: 1px solid var(--border);
  z-index: 1000;
  display: flex;
  flex-direction: column;
  transition: width var(--transition);
  overflow: hidden;
}

.sidebar:hover {
  width: var(--sidebar-expanded);
}

.sidebar:hover .logo-text,
.sidebar:hover .nav-label {
  opacity: 1;
  transform: translateX(0);
}

.sidebar-logo {
  display: flex;
  align-items: center;
  padding: 24px 22px;
  gap: 14px;
  border-bottom: 1px solid var(--border);
  min-height: 80px;
}

.logo-icon {
  font-size: 28px;
  flex-shrink: 0;
  width: 36px;
  text-align: center;
}

.logo-text {
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
  opacity: 0;
  transform: translateX(-10px);
  transition: all var(--transition);
  background: linear-gradient(135deg, var(--accent-blue), var(--accent-blue-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.sidebar-menu {
  flex: 1;
  padding: 16px 0;
}

.sidebar-menu li a {
  display: flex;
  align-items: center;
  padding: 14px 22px;
  gap: 14px;
  color: var(--text-secondary);
  transition: all var(--transition);
  position: relative;
}

.sidebar-menu li a:hover {
  color: var(--text-primary);
  background: rgba(37, 99, 235, 0.08);
}

.sidebar-menu li.active a {
  color: var(--accent-blue-light);
  background: rgba(37, 99, 235, 0.12);
}

.sidebar-menu li.active a::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  bottom: 8px;
  width: 3px;
  background: linear-gradient(135deg, var(--accent-blue), var(--accent-blue-light));
  border-radius: 0 4px 4px 0;
}

.nav-icon {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  margin-left: 7px;
  transition: filter var(--transition);
}

.sidebar-menu li a:hover .nav-icon {
  filter: drop-shadow(0 0 6px rgba(37, 99, 235, 0.5));
}

.sidebar-menu li.active a .nav-icon {
  filter: drop-shadow(0 0 8px rgba(37, 99, 235, 0.6));
}

.nav-label {
  white-space: nowrap;
  font-size: 14px;
  font-weight: 500;
  opacity: 0;
  transform: translateX(-10px);
  transition: all var(--transition);
}

.cart-link {
  position: relative;
}

.cart-badge {
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  background: linear-gradient(135deg, var(--accent-red), var(--accent-red-light));
  color: white;
  font-size: 11px;
  font-weight: 700;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity var(--transition);
}

.sidebar:hover .cart-badge {
  opacity: 1;
}

.sidebar-footer {
  padding: 8px 0 16px;
  border-top: 1px solid var(--border);
}

.sidebar-footer a {
  display: flex;
  align-items: center;
  padding: 14px 22px;
  gap: 14px;
  color: var(--text-muted);
  transition: all var(--transition);
}

.sidebar-footer a:hover {
  color: var(--text-primary);
}

/* ===== MAIN CONTENT ===== */
.main-content {
  margin-left: var(--sidebar-width);
  min-height: 100vh;
  transition: margin-left var(--transition);
}

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

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

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

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(5, 5, 5, 0.85) 0%,
    rgba(15, 23, 42, 0.7) 50%,
    rgba(5, 5, 5, 0.9) 100%
  );
}

.hero-light-beams {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 20% 0%, rgba(37, 99, 235, 0.15) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 20%, rgba(239, 68, 68, 0.1) 0%, transparent 40%),
    radial-gradient(ellipse at 50% 100%, rgba(37, 99, 235, 0.08) 0%, transparent 50%);
  animation: beamPulse 8s ease-in-out infinite alternate;
}

@keyframes beamPulse {
  0% { opacity: 0.7; }
  100% { opacity: 1; }
}

.hero-particles {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 60px 60px 60px 80px;
  max-width: 800px;
  animation: fadeInUp 1s ease forwards;
}

.hero-badge {
  display: inline-block;
  padding: 8px 20px;
  background: rgba(37, 99, 235, 0.15);
  border: 1px solid rgba(37, 99, 235, 0.3);
  border-radius: var(--radius-full);
  font-size: 13px;
  font-weight: 600;
  color: var(--accent-blue-light);
  margin-bottom: 24px;
  backdrop-filter: blur(10px);
}

.hero-title {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 20px;
}

.hero-title-line {
  display: block;
  color: var(--text-primary);
}

.hero-title-accent {
  display: block;
  background: linear-gradient(135deg, var(--accent-blue), var(--accent-blue-light), var(--accent-red-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: 1.15rem;
  color: var(--text-secondary);
  margin-bottom: 36px;
  max-width: 560px;
  line-height: 1.7;
}

.hero-cta {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

.hero-stats {
  display: flex;
  gap: 48px;
}

.hero-stat {
  display: flex;
  flex-direction: column;
}

.stat-number {
  font-size: 1.8rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--accent-blue-light), #60a5fa);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stat-label {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 500;
}

/* ===== BUTTONS ===== */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  background: linear-gradient(135deg, var(--accent-blue), var(--accent-blue-light));
  color: white;
  font-weight: 600;
  font-size: 14px;
  border-radius: var(--radius-full);
  border: none;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}

.btn-primary::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--accent-blue-light), #60a5fa);
  opacity: 0;
  transition: opacity var(--transition);
}

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

.btn-primary:hover::before {
  opacity: 1;
}

.btn-primary:active {
  transform: translateY(0);
}

.btn-primary span, .btn-primary svg {
  position: relative;
  z-index: 1;
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  background: transparent;
  color: var(--text-primary);
  font-weight: 600;
  font-size: 14px;
  border-radius: var(--radius-full);
  border: 1px solid var(--border);
  transition: all var(--transition);
}

.btn-secondary:hover {
  border-color: var(--accent-blue-light);
  background: rgba(37, 99, 235, 0.08);
  box-shadow: var(--glow-blue);
  transform: translateY(-2px);
}

.btn-secondary:active {
  transform: translateY(0);
}

.btn-accent {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  background: linear-gradient(135deg, var(--accent-red), var(--accent-red-light));
  color: white;
  font-weight: 600;
  font-size: 14px;
  border-radius: var(--radius-full);
  border: none;
  transition: all var(--transition);
}

.btn-accent:hover {
  transform: translateY(-2px);
  box-shadow: var(--glow-red);
}

.btn-accent:active {
  transform: translateY(0);
}

.btn-lg {
  padding: 16px 36px;
  font-size: 15px;
}

.btn-sm {
  display: inline-flex;
  align-items: center;
  padding: 8px 20px;
  background: linear-gradient(135deg, var(--accent-blue), var(--accent-blue-light));
  color: white;
  font-weight: 600;
  font-size: 13px;
  border-radius: var(--radius-full);
  transition: all var(--transition);
}

.btn-sm:hover {
  transform: translateY(-2px);
  box-shadow: var(--glow-blue);
}

.btn-full {
  width: 100%;
  justify-content: center;
}

.btn-add-cart {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  background: rgba(37, 99, 235, 0.15);
  color: var(--accent-blue-light);
  font-weight: 600;
  font-size: 13px;
  border-radius: var(--radius-full);
  border: 1px solid rgba(37, 99, 235, 0.3);
  transition: all var(--transition);
}

.btn-add-cart:hover {
  background: linear-gradient(135deg, var(--accent-blue), var(--accent-blue-light));
  color: white;
  border-color: transparent;
  box-shadow: var(--glow-blue);
}

/* ===== SECTIONS ===== */
.section {
  padding: 80px 40px;
}

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

.section-tag {
  display: inline-block;
  padding: 6px 16px;
  background: rgba(37, 99, 235, 0.1);
  border: 1px solid rgba(37, 99, 235, 0.2);
  border-radius: var(--radius-full);
  font-size: 12px;
  font-weight: 600;
  color: var(--accent-blue-light);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 16px;
}

.section-title {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 800;
  margin-bottom: 12px;
}

.section-subtitle {
  color: var(--text-secondary);
  font-size: 1.05rem;
  max-width: 560px;
  margin: 0 auto;
}

.section-cta {
  text-align: center;
  margin-top: 48px;
}

/* ===== PRODUCT CARDS ===== */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 28px;
}

.product-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--transition);
  animation: fadeInUp 0.6s ease forwards;
}

.product-card:hover {
  transform: translateY(-6px);
  border-color: var(--border-glow);
  box-shadow: var(--glow-blue), 0 20px 40px rgba(0,0,0,0.3);
}

.product-card-img {
  position: relative;
  height: 260px;
  overflow: hidden;
}

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

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

.product-card-overlay {
  position: absolute;
  inset: 0;
  background: rgba(5, 5, 5, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity var(--transition);
}

.product-card:hover .product-card-overlay {
  opacity: 1;
}

.product-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 4px 12px;
  background: linear-gradient(135deg, var(--accent-blue), var(--accent-blue-light));
  color: white;
  font-size: 11px;
  font-weight: 700;
  border-radius: var(--radius-full);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  z-index: 2;
}

.product-badge-new {
  background: linear-gradient(135deg, #10b981, #34d399);
}

.product-badge-sale {
  background: linear-gradient(135deg, var(--accent-red), var(--accent-red-light));
}

.product-card-body {
  padding: 20px;
}

.product-card-title {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 6px;
}

.product-card-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 16px;
  line-height: 1.5;
}

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

.product-price {
  font-size: 1.2rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--accent-blue-light), #60a5fa);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ===== COLLECTIONS GRID ===== */
.collections-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 24px;
}

.collection-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  min-height: 280px;
  display: block;
  transition: all var(--transition);
}

.collection-card-lg {
  grid-column: 1 / -1;
  min-height: 360px;
}

.collection-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  inset: 0;
  transition: transform 0.6s ease;
}

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

.collection-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(5,5,5,0.9) 0%, rgba(5,5,5,0.2) 60%);
}

.collection-card-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 32px;
  z-index: 2;
}

.collection-card-content h3 {
  font-size: 1.6rem;
  font-weight: 800;
  margin-bottom: 4px;
}

.collection-card-content p {
  color: var(--text-secondary);
  margin-bottom: 12px;
  font-size: 0.95rem;
}

.collection-link {
  color: var(--accent-blue-light);
  font-weight: 600;
  font-size: 0.9rem;
  transition: color var(--transition);
}

.collection-card:hover .collection-link {
  color: #60a5fa;
}

/* ===== COLLECTIONS SHOWCASE ===== */
.collections-showcase {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 28px;
}

.collection-showcase-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--transition);
}

.collection-showcase-card:hover {
  border-color: var(--border-glow);
  box-shadow: var(--glow-blue);
  transform: translateY(-4px);
}

.collection-showcase-card img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  transition: transform 0.5s ease;
}

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

.collection-showcase-info {
  padding: 24px;
}

.collection-showcase-info h3 {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 4px;
}

.collection-showcase-info p {
  color: var(--accent-blue-light);
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 16px;
}

/* ===== FEATURES ===== */
.features-section {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 32px;
}

.feature-card {
  text-align: center;
  padding: 32px 24px;
  background: var(--bg-glass);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(10px);
  transition: all var(--transition);
}

.feature-card:hover {
  border-color: var(--border-glow);
  box-shadow: var(--glow-blue);
  transform: translateY(-4px);
}

.feature-icon {
  font-size: 2.5rem;
  margin-bottom: 16px;
}

.feature-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.feature-card p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ===== NEWSLETTER ===== */
.newsletter-section {
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.1), rgba(239, 68, 68, 0.05));
  border-top: 1px solid var(--border);
}

.newsletter-inner {
  max-width: 600px;
  margin: 0 auto;
  text-align: center;
}

.newsletter-inner h2 {
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 12px;
}

.newsletter-inner p {
  color: var(--text-secondary);
  margin-bottom: 28px;
}

.newsletter-form {
  display: flex;
  gap: 12px;
}

.newsletter-form input {
  flex: 1;
  padding: 14px 20px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-full);
  color: var(--text-primary);
  font-size: 14px;
  outline: none;
  transition: border-color var(--transition);
}

.newsletter-form input:focus {
  border-color: var(--accent-blue);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}

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

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

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

.footer-col h4 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 20px;
}

.footer-col p {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.7;
}

.footer-col ul li {
  margin-bottom: 10px;
}

.footer-col ul li a {
  color: var(--text-muted);
  font-size: 0.9rem;
  transition: color var(--transition);
}

.footer-col ul li a:hover {
  color: var(--accent-blue-light);
}

.social-links {
  display: flex;
  gap: 12px;
  margin-top: 16px;
  flex-wrap: wrap;
}

.social-links a {
  padding: 8px 14px;
  background: rgba(37, 99, 235, 0.1);
  border: 1px solid rgba(37, 99, 235, 0.2);
  border-radius: var(--radius);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--accent-blue-light);
  transition: all var(--transition);
}

.social-links a:hover {
  background: rgba(37, 99, 235, 0.2);
  box-shadow: var(--glow-blue);
}

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

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

.payment-icons {
  display: flex;
  gap: 12px;
}

.payment-icons span {
  padding: 4px 12px;
  background: var(--bg-glass);
  border: 1px solid var(--border);
  border-radius: 6px;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-muted);
}

/* ===== PAGE HERO ===== */
.page-hero {
  background: linear-gradient(135deg, var(--bg-secondary), var(--bg-primary));
  padding: 100px 40px 60px;
  border-bottom: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 30% 50%, rgba(37, 99, 235, 0.08) 0%, transparent 50%),
    radial-gradient(ellipse at 70% 50%, rgba(239, 68, 68, 0.05) 0%, transparent 50%);
}

.page-hero-content {
  position: relative;
  max-width: 700px;
}

.page-hero-content h1 {
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 900;
  margin-bottom: 12px;
}

.page-hero-content p {
  font-size: 1.1rem;
  color: var(--text-secondary);
  margin-bottom: 16px;
}

.page-title {
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 32px;
}

.breadcrumb {
  display: flex;
  gap: 8px;
  align-items: center;
  font-size: 0.88rem;
  color: var(--text-muted);
}

.breadcrumb a {
  color: var(--accent-blue-light);
  transition: color var(--transition);
}

.breadcrumb a:hover {
  color: #60a5fa;
}

/* ===== SHOP TOOLBAR ===== */
.shop-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 32px;
  flex-wrap: wrap;
  gap: 16px;
}

.shop-filters {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.filter-btn {
  padding: 8px 20px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-full);
  color: var(--text-secondary);
  font-size: 13px;
  font-weight: 600;
  transition: all var(--transition);
}

.filter-btn:hover,
.filter-btn.active {
  background: linear-gradient(135deg, var(--accent-blue), var(--accent-blue-light));
  color: white;
  border-color: transparent;
}

.shop-sort select {
  padding: 10px 16px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--text-primary);
  font-size: 13px;
  outline: none;
  cursor: pointer;
}

.shop-sort select option {
  background: var(--bg-secondary);
}

/* ===== PRODUCT DETAIL ===== */
.product-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.product-detail-main-img {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--bg-card);
  border: 1px solid var(--border);
}

.product-detail-main-img img {
  width: 100%;
  height: 500px;
  object-fit: cover;
}

.product-detail-thumbs {
  display: flex;
  gap: 12px;
  margin-top: 16px;
}

.thumb {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: var(--radius);
  border: 2px solid var(--border);
  cursor: pointer;
  opacity: 0.6;
  transition: all var(--transition);
}

.thumb:hover,
.thumb.active {
  opacity: 1;
  border-color: var(--accent-blue);
  box-shadow: var(--glow-blue);
}

.product-detail-badge {
  display: inline-block;
  padding: 6px 14px;
  background: rgba(37, 99, 235, 0.1);
  border: 1px solid rgba(37, 99, 235, 0.2);
  border-radius: var(--radius-full);
  font-size: 12px;
  font-weight: 600;
  color: var(--accent-blue-light);
  margin-bottom: 16px;
}

.product-detail-info h1 {
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 8px;
}

.product-detail-rating {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
}

.stars {
  color: #f59e0b;
  font-size: 1.1rem;
}

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

.product-detail-price {
  font-size: 2rem;
  font-weight: 900;
  background: linear-gradient(135deg, var(--accent-blue-light), #60a5fa);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 20px;
}

.product-detail-desc {
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 28px;
}

.product-detail-features {
  margin-bottom: 28px;
}

.product-detail-features h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.product-detail-features ul li {
  color: var(--text-secondary);
  font-size: 0.92rem;
  padding: 4px 0;
}

.product-detail-options {
  margin-bottom: 28px;
}

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

.option-group label {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  margin-bottom: 10px;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.size-buttons {
  display: flex;
  gap: 8px;
}

.size-btn {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--text-secondary);
  font-weight: 600;
  font-size: 14px;
  transition: all var(--transition);
}

.size-btn:hover,
.size-btn.active {
  background: linear-gradient(135deg, var(--accent-blue), var(--accent-blue-light));
  color: white;
  border-color: transparent;
}

.qty-selector {
  display: inline-flex;
  align-items: center;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.qty-selector button {
  width: 44px;
  height: 44px;
  background: transparent;
  color: var(--text-primary);
  font-size: 18px;
  font-weight: 600;
  transition: background var(--transition);
}

.qty-selector button:hover {
  background: rgba(37, 99, 235, 0.15);
}

.qty-selector span {
  width: 50px;
  text-align: center;
  font-weight: 700;
  font-size: 1rem;
}

.product-detail-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 28px;
}

.product-detail-meta {
  padding: 20px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.product-detail-meta p {
  color: var(--text-secondary);
  font-size: 0.88rem;
  padding: 4px 0;
}

/* ===== CART PANEL ===== */
.cart-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  z-index: 2000;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition);
}

.cart-overlay.active {
  opacity: 1;
  pointer-events: all;
}

.cart-panel {
  position: fixed;
  right: 0;
  top: 0;
  bottom: 0;
  width: 400px;
  max-width: 90vw;
  background: var(--bg-secondary);
  border-left: 1px solid var(--border);
  z-index: 2001;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform var(--transition);
}

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

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

.cart-panel-header h3 {
  font-size: 1.2rem;
  font-weight: 700;
}

.cart-close {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-card);
  border-radius: 50%;
  color: var(--text-primary);
  font-size: 1.3rem;
  transition: background var(--transition);
}

.cart-close:hover {
  background: rgba(239, 68, 68, 0.2);
}

.cart-panel-items {
  flex: 1;
  overflow-y: auto;
  padding: 16px 24px;
}

.cart-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  gap: 16px;
  color: var(--text-muted);
  text-align: center;
}

.cart-panel-footer {
  padding: 20px 24px;
  border-top: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

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

.cart-panel-item {
  display: flex;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
  align-items: center;
}

.cart-panel-item img {
  width: 64px;
  height: 64px;
  border-radius: var(--radius);
  object-fit: cover;
}

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

.cart-panel-item-info h4 {
  font-size: 0.92rem;
  font-weight: 600;
  margin-bottom: 4px;
}

.cart-panel-item-info p {
  font-size: 0.85rem;
  color: var(--accent-blue-light);
  font-weight: 600;
}

.cart-panel-item-qty {
  display: flex;
  align-items: center;
  gap: 8px;
}

.cart-panel-item-qty button {
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-card);
  border-radius: 6px;
  color: var(--text-primary);
  font-size: 14px;
  border: 1px solid var(--border);
  transition: background var(--transition);
}

.cart-panel-item-qty button:hover {
  background: rgba(37, 99, 235, 0.15);
}

.cart-panel-item-remove {
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  color: var(--text-muted);
  font-size: 16px;
  transition: color var(--transition);
}

.cart-panel-item-remove:hover {
  color: var(--accent-red);
}

/* ===== CART PAGE ===== */
.cart-page-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 400px;
  gap: 20px;
  text-align: center;
}

.cart-page-empty h2 {
  font-size: 1.5rem;
  font-weight: 700;
}

.cart-page-empty p {
  color: var(--text-muted);
}

.cart-page-content {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 40px;
  align-items: start;
}

.cart-item-row {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 16px;
  transition: border-color var(--transition);
}

.cart-item-row:hover {
  border-color: var(--border-glow);
}

.cart-item-row img {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: var(--radius);
}

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

.cart-item-info h4 {
  font-weight: 600;
  margin-bottom: 4px;
}

.cart-item-price {
  color: var(--text-muted);
  font-size: 0.9rem;
}

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

.cart-item-qty button {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--text-primary);
  font-size: 16px;
  font-weight: 600;
  transition: all var(--transition);
}

.cart-item-qty button:hover {
  background: rgba(37, 99, 235, 0.15);
  border-color: var(--accent-blue);
}

.cart-item-qty span {
  font-weight: 700;
  min-width: 24px;
  text-align: center;
}

.cart-item-total {
  font-weight: 700;
  font-size: 1rem;
  min-width: 70px;
  text-align: right;
  color: var(--accent-blue-light);
}

.cart-item-remove {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  color: var(--text-muted);
  font-size: 16px;
  border-radius: 8px;
  transition: all var(--transition);
}

.cart-item-remove:hover {
  background: rgba(239, 68, 68, 0.15);
  color: var(--accent-red);
}

.cart-summary-card {
  position: sticky;
  top: 20px;
  padding: 32px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(10px);
}

.cart-summary-card h3 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 20px;
}

.summary-row {
  display: flex;
  justify-content: space-between;
  padding: 10px 0;
  font-size: 0.95rem;
  color: var(--text-secondary);
  border-bottom: 1px solid var(--border);
}

.summary-row.total {
  color: var(--text-primary);
  font-weight: 800;
  font-size: 1.15rem;
  border-bottom: none;
  padding-top: 16px;
  margin-bottom: 20px;
}

.cart-security {
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}

.cart-security p {
  color: var(--text-muted);
  font-size: 0.82rem;
  padding: 3px 0;
}

/* ===== BLOG ===== */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 32px;
}

.blog-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--transition);
}

.blog-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-glow);
  box-shadow: var(--glow-blue);
}

.blog-card-img {
  height: 220px;
  overflow: hidden;
}

.blog-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

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

.blog-card-body {
  padding: 24px;
}

.blog-tag {
  display: inline-block;
  padding: 4px 12px;
  background: rgba(37, 99, 235, 0.1);
  border: 1px solid rgba(37, 99, 235, 0.2);
  border-radius: var(--radius-full);
  font-size: 11px;
  font-weight: 600;
  color: var(--accent-blue-light);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 14px;
}

.blog-card-body h2 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 10px;
  line-height: 1.4;
}

.blog-card-body h2 a {
  transition: color var(--transition);
}

.blog-card-body h2 a:hover {
  color: var(--accent-blue-light);
}

.blog-card-body > p {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.7;
  margin-bottom: 16px;
}

.blog-meta {
  display: flex;
  gap: 16px;
  font-size: 0.82rem;
  color: var(--text-muted);
}

/* ===== CONTACT ===== */
.contact-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 60px;
  align-items: start;
}

.contact-form-wrap h2 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 28px;
}

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

.form-group label {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--text-secondary);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 14px 18px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--text-primary);
  outline: none;
  transition: border-color var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--accent-blue);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}

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

.form-group select option {
  background: var(--bg-secondary);
}

.form-group textarea {
  resize: vertical;
}

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

.contact-info-card {
  padding: 24px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: border-color var(--transition);
}

.contact-info-card:hover {
  border-color: var(--border-glow);
}

.contact-info-card h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.contact-info-card p {
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.6;
}

.contact-info-card a {
  color: var(--accent-blue-light);
  transition: color var(--transition);
}

.contact-info-card a:hover {
  color: #60a5fa;
}

/* ===== ABOUT ===== */
.about-content {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 60px;
  align-items: start;
}

.about-text h2 {
  font-size: 1.6rem;
  font-weight: 800;
  margin-bottom: 16px;
  margin-top: 36px;
}

.about-text h2:first-child {
  margin-top: 0;
}

.about-text p {
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 12px;
}

.about-features {
  margin-top: 12px;
}

.about-features li {
  color: var(--text-secondary);
  line-height: 1.8;
  padding: 6px 0;
}

.about-features li strong {
  color: var(--text-primary);
}

.about-image img {
  border-radius: var(--radius-lg);
  width: 100%;
  height: auto;
  position: sticky;
  top: 20px;
}

/* ===== LEGAL ===== */
.legal-content {
  max-width: 800px;
}

.legal-text h2 {
  font-size: 1.3rem;
  font-weight: 700;
  margin-top: 36px;
  margin-bottom: 12px;
}

.legal-text p {
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 12px;
}

.legal-text a {
  color: var(--accent-blue-light);
}

.legal-text a:hover {
  text-decoration: underline;
}

.legal-text em {
  color: var(--text-muted);
}

/* ===== TOAST ===== */
.toast {
  position: fixed;
  bottom: 100px;
  right: 30px;
  background: var(--bg-secondary);
  border: 1px solid rgba(37, 99, 235, 0.3);
  border-radius: var(--radius);
  padding: 14px 24px;
  display: flex;
  align-items: center;
  gap: 10px;
  z-index: 3000;
  transform: translateY(20px);
  opacity: 0;
  pointer-events: none;
  transition: all var(--transition);
  box-shadow: var(--glow-blue), 0 10px 30px rgba(0,0,0,0.3);
}

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

.toast-icon {
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #10b981, #34d399);
  color: white;
  border-radius: 50%;
  font-size: 12px;
  font-weight: 700;
}

.toast-msg {
  font-size: 0.9rem;
  font-weight: 600;
}

/* ===== MOBILE NAV ===== */
.mobile-nav {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(5, 5, 5, 0.95);
  backdrop-filter: blur(20px);
  border-top: 1px solid var(--border);
  z-index: 1500;
  padding: 8px 0;
}

.mobile-nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 8px;
  color: var(--text-muted);
  font-size: 10px;
  font-weight: 600;
  transition: color var(--transition);
  position: relative;
}

.mobile-nav-item.active {
  color: var(--accent-blue-light);
}

.cart-badge-mobile {
  position: absolute;
  top: 2px;
  right: calc(50% - 20px);
  background: linear-gradient(135deg, var(--accent-red), var(--accent-red-light));
  color: white;
  font-size: 9px;
  font-weight: 700;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

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

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

.product-card:nth-child(1) { animation-delay: 0s; }
.product-card:nth-child(2) { animation-delay: 0.1s; }
.product-card:nth-child(3) { animation-delay: 0.2s; }
.product-card:nth-child(4) { animation-delay: 0.3s; }
.product-card:nth-child(5) { animation-delay: 0.4s; }
.product-card:nth-child(6) { animation-delay: 0.5s; }
.product-card:nth-child(7) { animation-delay: 0.6s; }
.product-card:nth-child(8) { animation-delay: 0.7s; }

/* ===== PARTICLE ===== */
.particle {
  position: absolute;
  width: 3px;
  height: 3px;
  background: rgba(37, 99, 235, 0.5);
  border-radius: 50%;
  pointer-events: none;
  animation: particleFloat linear infinite;
}

@keyframes particleFloat {
  0% {
    transform: translateY(100vh) translateX(0);
    opacity: 0;
  }
  10% { opacity: 1; }
  90% { opacity: 1; }
  100% {
    transform: translateY(-100px) translateX(100px);
    opacity: 0;
  }
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .product-detail {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .cart-page-content {
    grid-template-columns: 1fr;
  }

  .about-content {
    grid-template-columns: 1fr;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .hero-content {
    padding: 40px 40px 40px 60px;
  }

  .hero-stats {
    gap: 32px;
  }
}

@media (max-width: 768px) {
  .sidebar {
    display: none;
  }

  .main-content {
    margin-left: 0;
  }

  .mobile-nav {
    display: flex;
    justify-content: space-around;
  }

  .hero-content {
    padding: 30px 20px;
  }

  .hero-title {
    font-size: 2rem;
  }

  .hero-subtitle {
    font-size: 0.95rem;
  }

  .hero-cta {
    flex-direction: column;
  }

  .hero-stats {
    gap: 24px;
    flex-wrap: wrap;
  }

  .section {
    padding: 50px 20px;
  }

  .page-hero {
    padding: 80px 20px 40px;
  }

  .products-grid {
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 16px;
  }

  .product-card-img {
    height: 180px;
  }

  .collections-grid {
    grid-template-columns: 1fr;
  }

  .collection-card-lg {
    min-height: 240px;
  }

  .collections-showcase {
    grid-template-columns: 1fr;
  }

  .blog-grid {
    grid-template-columns: 1fr;
  }

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

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

  .newsletter-form {
    flex-direction: column;
  }

  .cart-item-row {
    flex-wrap: wrap;
    gap: 12px;
  }

  .cart-item-total {
    min-width: unset;
  }

  body {
    padding-bottom: 70px;
  }

  .toast {
    bottom: 80px;
    right: 16px;
    left: 16px;
  }

  .product-detail-main-img img {
    height: 320px;
  }

  .product-detail-actions {
    position: sticky;
    bottom: 70px;
    background: var(--bg-primary);
    padding: 16px 0;
    z-index: 10;
  }

  .shop-toolbar {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 480px) {
  .products-grid {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }

  .product-card-body {
    padding: 14px;
  }

  .product-card-desc {
    display: none;
  }

  .product-card-img {
    height: 160px;
  }

  .btn-add-cart {
    padding: 6px 12px;
    font-size: 11px;
  }

  .hero-stats {
    display: none;
  }
}