:root {
  /* Colors */
  --bg-body: #050505;
  --bg-card: #121212;
  --bg-card-hover: #1E1E1E;
  --bg-section: #0A0A0A;
  
  --primary-red: #C62828;
  --primary-green: #2E7D32;
  --primary-gold: #FBC02D;
  
  --text-main: #FAFAFA;
  --text-muted: #A1A1AA;
  --text-inverse: #050505;
  
  --border-light: #27272A;
  --border-hover: #3F3F46;
  
  /* Spacing */
  --spacing-xs: 4px;
  --spacing-sm: 8px;
  --spacing-md: 16px;
  --spacing-lg: 24px;
  --spacing-xl: 32px;
  --spacing-xxl: 64px;
  
  /* Layout */
  --container-width: 1280px;
  --header-height: 80px;
  
  /* Shadows */
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.5), 0 2px 4px -1px rgba(0, 0, 0, 0.3);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.7), 0 4px 6px -2px rgba(0, 0, 0, 0.5);
  --shadow-glow-red: 0 0 20px rgba(198, 40, 40, 0.3);
  
  /* Radius */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;
}

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

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

h1, h2, h3, h4, h5, h6 {
  font-family: 'Playfair Display', 'Times New Roman', serif;
  font-weight: 700;
  line-height: 1.2;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s;
}

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

/* Utilities */
.container {
  width: 100%;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 var(--spacing-lg);
}

.flex { display: flex; }
.items-center { align-items: center; }
.justify-between { justify-content: space-between; }
.justify-center { justify-content: center; }
.flex-col { flex-direction: column; }
.grid { display: grid; }
.gap-md { gap: var(--spacing-md); }
.gap-lg { gap: var(--spacing-lg); }

.text-center { text-align: center; }
.text-right { text-align: right; }
.text-uppercase { text-transform: uppercase; }

.text-red { color: var(--primary-red); }
.text-green { color: var(--primary-green); }
.text-gold { color: var(--primary-gold); }
.text-muted { color: var(--text-muted); }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  font-weight: 600;
  border-radius: var(--radius-sm);
  transition: all 0.2s;
  cursor: pointer;
  border: 1px solid transparent;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-size: 0.9rem;
}

.btn-primary {
  background-color: var(--text-main);
  color: var(--bg-body);
}

.btn-primary:hover {
  background-color: #E4E4E7;
  transform: translateY(-2px);
}

.btn-red {
  background: var(--primary-red);
  color: white;
  box-shadow: var(--shadow-glow-red);
}

.btn-red:hover {
  background: #B71C1C;
  transform: translateY(-2px);
}

.btn-outline {
  border-color: var(--border-hover);
  background: transparent;
  color: var(--text-main);
}

.btn-outline:hover {
  border-color: var(--text-main);
}

/* Header */
.top-bar {
  background-color: var(--primary-green);
  color: white;
  text-align: center;
  padding: 8px;
  font-size: 0.85rem;
  font-weight: 500;
}

.header {
  height: var(--header-height);
  background: rgba(5, 5, 5, 0.8);
  backdrop-filter: blur(12px);
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 1px solid var(--border-light);
}

.nav-link {
  font-size: 0.95rem;
  font-weight: 500;
  margin: 0 12px;
}
.nav-link:hover { color: var(--primary-red); }

.logo {
  font-family: 'Playfair Display', serif;
  font-size: 1.8rem;
  font-weight: 700;
  letter-spacing: -1px;
}

/* Icons */
.icon-btn {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: background 0.2s;
}
.icon-btn:hover { background: var(--bg-card-hover); }

/* Hero */
.hero {
  height: 85vh;
  width: 100%;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #1a0505;
  overflow: hidden;
}

/* Placeholder for Hero Image */
.hero-bg {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background: radial-gradient(circle at center, rgba(0,0,0,0.4), #050505),
              linear-gradient(45deg, #2c0b0e 0%, #0f172a 100%);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 800px;
}

.hero-tag {
  color: var(--primary-gold);
  font-weight: 600;
  letter-spacing: 2px;
  margin-bottom: 16px;
  display: block;
}

.hero-title {
  font-size: 4rem;
  margin-bottom: 24px;
  background: linear-gradient(to right, #fff, #e2e8f0);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: 1.5rem;
  color: var(--text-muted);
  margin-bottom: 32px;
  font-style: italic;
  font-family: 'Playfair Display', serif;
}

/* Features Bar */
.features-bar {
  background: var(--text-main);
  color: var(--bg-body);
  padding: 32px 0;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 8px;
}
.feature-icon {
  width: 32px;
  height: 32px;
  background: var(--bg-body); /* dark icon on light bg */
  border-radius: 50%;
  margin-bottom: 8px;
}

/* Sections */
.section {
  padding: var(--spacing-xxl) 0;
}

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: var(--spacing-xl);
  border-bottom: 1px solid var(--border-light);
  padding-bottom: 16px;
}

.section-title {
  font-size: 2rem;
  letter-spacing: -0.5px;
}

/* Product Cards */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: var(--spacing-lg);
}

.product-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: transform 0.3s, box-shadow 0.3s;
  position: relative;
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--border-hover);
}

.product-image-container {
  height: 380px;
  background: #27272a;
  position: relative;
  overflow: hidden;
}

/* Simple placeholder pattern for images */
.placeholder-pattern {
  width: 100%;
  height: 100%;
  background-image: repeating-linear-gradient(
    45deg,
    rgba(255,255,255,0.03) 0px,
    rgba(255,255,255,0.03) 10px,
    transparent 10px,
    transparent 20px
  );
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.1);
  font-size: 3rem;
}

.wishlist-btn {
  position: absolute;
  top: 12px;
  right: 12px;
  background: rgba(255,255,255,0.9);
  color: black;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: transform 0.2s;
}
.wishlist-btn:hover { transform: scale(1.1); color: var(--primary-red); }

.product-details {
  padding: 16px;
}

.product-title {
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  margin-bottom: 8px;
  font-size: 1rem;
  color: var(--text-main);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.product-price {
  font-weight: 700;
  color: var(--text-muted);
}

/* Category Banners */
.category-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--spacing-lg);
  height: 400px;
}

.category-card {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  padding: 24px;
  background-color: #1c1c1c;
  cursor: pointer;
}

.category-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
  z-index: 1;
}

.category-title {
  position: relative;
  z-index: 2;
  font-size: 2rem;
  color: white;
  text-shadow: 0 2px 4px rgba(0,0,0,0.5);
}

/* Exclusive Section */
.exclusive-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 500px;
}

.exclusive-content {
  background: #1a2e1a; /* Dark green */
  padding: 64px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
}

.exclusive-image {
  background: #2a2a2a;
  position: relative;
}

/* Testimonials */
.testimonials-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--spacing-lg);
}

.testimonial-card {
  background: #FDF4F5; /* Very light pink/beige as per ref */
  color: #18181b;
  padding: 32px;
  border-radius: var(--radius-lg);
  display: flex;
  gap: 24px;
  align-items: center;
}

.testimonial-avatar {
  width: 100px;
  height: 120px;
  background: #ccc;
  border-radius: 12px;
  flex-shrink: 0;
}

.testimonial-text {
  flex: 1;
}
.stars { color: var(--primary-gold); margin-bottom: 8px; }

/* Newsletter */
.newsletter {
  background: url('./.documents/pattern.png'), linear-gradient(135deg, #3f0909, #1a0505);
  padding: 80px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.newsletter h2 { font-size: 3rem; margin-bottom: 24px; }
.newsletter-form {
  display: flex;
  justify-content: center;
  gap: 8px;
  max-width: 500px;
  margin: 0 auto;
}
.form-input {
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  border: 1px solid white;
  background: white;
  flex: 1;
}

/* Footer */
.footer {
  background: black;
  border-top: 1px solid #1f1f1f;
  padding: 64px 0 32px;
  color: #71717a;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}
.footer-logo { color: white; margin-bottom: 16px; display: block; }
.footer-title { color: white; margin-bottom: 20px; font-weight: 600; text-transform: uppercase; font-size: 0.9rem; }
.footer-links { list-style: none; }
.footer-links li { margin-bottom: 12px; }
.footer-links a:hover { color: white; }
.footer-copyright {
  border-top: 1px solid #1f1f1f;
  padding-top: 24px;
  font-size: 0.8rem;
  text-align: center;
}

/* Pagination Buttons */
.btn-nav-arrow {
  border: 1px solid #333;
}
.btn-nav-arrow.active {
  background: #333;
  color: white;
}

/* Breadcrumbs */
.breadcrumb {
  padding: 16px 0;
  color: var(--text-muted);
  font-size: 0.9rem;
}
.breadcrumb a {
  color: var(--text-muted);
}
.breadcrumb a:hover {
  color: var(--text-main);
}
.breadcrumb-current {
  color: var(--text-main);
  font-weight: 500;
}

/* Collection Page */
.page-header {
  padding: 40px 0;
  border-bottom: 1px solid var(--border-light);
  margin-bottom: 40px;
}
.page-title {
  font-size: 3rem;
  margin-bottom: 16px;
}
.page-desc {
  color: var(--text-muted);
  max-width: 600px;
}

.collection-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 40px;
  align-items: start;
}

.filter-sidebar {
  position: sticky;
  top: 100px;
}

.filter-group {
  margin-bottom: 32px;
  border-bottom: 1px solid var(--border-light);
  padding-bottom: 24px;
}
.filter-group:last-child { border-bottom: none; }

.filter-title {
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  margin-bottom: 16px;
  display: flex;
  justify-content: space-between;
  cursor: pointer;
}

.filter-list {
  list-style: none;
}
.filter-item {
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text-muted);
  font-size: 0.95rem;
  cursor: pointer;
}
.filter-item:hover { color: var(--text-main); }

.checkbox-custom {
  width: 18px;
  height: 18px;
  border: 1px solid var(--border-hover);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
}
.filter-item input:checked + .checkbox-custom {
  background: var(--text-main);
  border-color: var(--text-main);
}
.checkbox-custom::after {
  content: '✓';
  font-size: 12px;
  color: black;
  display: none;
}
.filter-item input:checked + .checkbox-custom::after {
  display: block;
}

.sort-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
}

.sort-select {
  background: transparent;
  color: var(--text-main);
  border: 1px solid var(--border-hover);
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  cursor: pointer;
}

/* Product Detail Page */
.product-layout {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 64px;
  padding-top: 24px;
}

.gallery-container {
  display: flex;
  gap: 16px;
}
.gallery-thumbs {
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 80px;
}
.gallery-thumb {
  width: 80px;
  height: 100px;
  background: var(--bg-card);
  border: 1px solid transparent;
  cursor: pointer;
  overflow: hidden;
}
.gallery-thumb.active {
  border-color: var(--text-main);
}
.gallery-main {
  flex: 1;
  height: 600px;
  background: var(--bg-card);
  position: relative;
  overflow: hidden;
}

.pdp-info {
  position: sticky;
  top: 100px;
}

.pdp-brand {
  color: var(--primary-gold);
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 0.9rem;
  margin-bottom: 12px;
  font-weight: 600;
}

.pdp-title {
  font-size: 2.5rem;
  margin-bottom: 16px;
  line-height: 1.2;
}

.pdp-price {
  font-size: 1.5rem;
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.price-original {
  text-decoration: line-through;
  color: var(--text-muted);
  font-size: 1.2rem;
}
.price-discount {
  color: var(--primary-red);
  font-size: 1rem;
  border: 1px solid var(--primary-red);
  padding: 2px 8px;
  border-radius: 4px;
}

.variant-label {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 8px;
  display: block;
}

.color-swatches {
  display: flex;
  gap: 12px;
  margin-bottom: 24px;
}
.color-swatch {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 2px solid transparent;
  cursor: pointer;
  position: relative;
}
.color-swatch.active {
  border-color: var(--text-main);
  transform: scale(1.1);
}

.pdp-actions {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 16px;
  margin: 32px 0;
}

.quantity-btn {
  background: transparent;
  border: 1px solid var(--border-hover);
  color: var(--text-main);
  width: 40px;
  height: 48px;
  cursor: pointer;
}
.quantity-input {
  background: transparent;
  border: 1px solid var(--border-hover);
  border-left: none;
  border-right: none;
  color: var(--text-main);
  width: 50px;
  height: 48px;
  text-align: center;
}

.pdp-meta {
  margin-top: 40px;
  border-top: 1px solid var(--border-light);
}

.meta-item {
  border-bottom: 1px solid var(--border-light);
  padding: 20px 0;
}
.meta-header {
  display: flex;
  justify-content: space-between;
  cursor: pointer;
  font-weight: 500;
}
.meta-content {
  padding-top: 16px;
  color: var(--text-muted);
  font-size: 0.95rem;
  display: none; /* simple toggle simulation later */
}
.meta-item.open .meta-content { display: block; }

/* Mobile Responsiveness */
@media (max-width: 1024px) {
  .hero-title { font-size: 3rem; }
  .category-grid { grid-template-columns: 1fr; height: auto; }
  .category-card { height: 250px; }
  .exclusive-section { grid-template-columns: 1fr; }
  .testimonials-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .nav-links { display: none; } /* Hide for now */
  .features-bar .container .flex { flex-wrap: wrap; justify-content: center; gap: 24px; }
  .feature-item { width: 45%; }
  .footer-grid { grid-template-columns: 1fr; }
  
  .collection-layout { grid-template-columns: 1fr; }
  .filter-sidebar { display: none; /* Hide sidebar on mobile for now */ }
  .product-layout { grid-template-columns: 1fr; gap: 32px; }
  .gallery-container { flex-direction: column-reverse; }
  .gallery-thumbs { flex-direction: row; width: 100%; overflow-x: auto; }
  .gallery-thumb { min-width: 80px; }
  .gallery-main { height: 400px; }
  .pdp-title { font-size: 2rem; }
}

