/* ==========================================================================
   DABLEW DECOR (dablewdecor.com) - Core Stylesheet
   Modern Minimalist Aesthetic, High Performance & SEO Optimized
   ========================================================================== */

/* --------------------------------------------------------------------------
   CSS Variables & Design Tokens
   -------------------------------------------------------------------------- */
:root {
  /* Colors - Light Theme (Default clean warm palette) */
  --bg-primary: #F8F9FB;
  --bg-secondary: #FFFFFF;
  --bg-tertiary: #EEF1F6;
  --bg-card: #FFFFFF;
  --bg-accent-subtle: #F5EFE6;
  --border-subtle: #E2E8F0;
  --border-hover: #CBD5E1;

  --text-primary: #0F172A;
  --text-secondary: #475569;
  --text-muted: #94A3B8;
  --text-inverse: #FFFFFF;

  --accent-gold: #C5A059;
  --accent-gold-light: #E5C788;
  --accent-gold-dark: #9A7836;
  --accent-amber: #E29578;
  --accent-teal: #0D9488;
  --accent-success: #10B981;
  --accent-error: #EF4444;

  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.08), 0 2px 4px -2px rgba(0, 0, 0, 0.04);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.08), 0 4px 6px -4px rgba(0, 0, 0, 0.03);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.04);

  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-full: 9999px;

  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-serif: "Playfair Display", Georgia, serif;
  --transition-fast: 0.18s ease;
  --transition-normal: 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  --max-w-content: 1240px;
  --header-height: 76px;
}

[data-theme="dark"] {
  --bg-primary: #0C0F15;
  --bg-secondary: #131720;
  --bg-tertiary: #1A202C;
  --bg-card: #141822;
  --bg-accent-subtle: #201D18;
  --border-subtle: #242C3D;
  --border-hover: #3E4B66;

  --text-primary: #F8FAFC;
  --text-secondary: #94A3B8;
  --text-muted: #64748B;
  --text-inverse: #0F172A;

  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.5);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.5);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.6);
}

/* --------------------------------------------------------------------------
   Reset & Base Styles
   -------------------------------------------------------------------------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
  transition: background-color var(--transition-normal), color var(--transition-normal);
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition-fast);
}

button, input, select, textarea {
  font: inherit;
  color: inherit;
  border: none;
  background: none;
}

button {
  cursor: pointer;
}

ul, ol {
  list-style: none;
}

/* Accessibility Skip Link */
.skip-link {
  position: absolute;
  top: -100px;
  left: 20px;
  background: var(--accent-gold);
  color: #000;
  padding: 12px 20px;
  font-weight: 700;
  z-index: 99999;
  border-radius: var(--radius-sm);
  transition: top 0.2s ease;
}
.skip-link:focus {
  top: 15px;
}

:focus-visible {
  outline: 2px solid var(--accent-gold);
  outline-offset: 3px;
}

/* --------------------------------------------------------------------------
   Layout Containers
   -------------------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--max-w-content);
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
}

.section-py {
  padding-top: 80px;
  padding-bottom: 80px;
}

@media (max-width: 768px) {
  .section-py {
    padding-top: 50px;
    padding-bottom: 50px;
  }
}

/* --------------------------------------------------------------------------
   Top Announcement Bar
   -------------------------------------------------------------------------- */
.top-bar {
  background: linear-gradient(90deg, #131720 0%, #202736 100%);
  color: #E2E8F0;
  font-size: 0.8125rem;
  padding: 8px 16px;
  text-align: center;
  font-weight: 500;
  letter-spacing: 0.5px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.top-bar-badge {
  background: var(--accent-gold);
  color: #0F172A;
  font-size: 0.6875rem;
  font-weight: 800;
  padding: 2px 8px;
  border-radius: var(--radius-full);
  text-transform: uppercase;
}

/* --------------------------------------------------------------------------
   Site Header & Sticky Navigation
   -------------------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: rgba(248, 249, 251, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border-subtle);
  transition: all var(--transition-normal);
}

[data-theme="dark"] .site-header {
  background-color: rgba(12, 15, 21, 0.92);
}

.site-header.scrolled {
  box-shadow: var(--shadow-md);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-height);
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-logo img {
  height: 42px;
  width: auto;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-link {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--text-secondary);
  position: relative;
  padding: 6px 0;
}

.nav-link:hover, .nav-link.active {
  color: var(--text-primary);
}

.nav-link.active::after, .nav-link:hover::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: var(--accent-gold);
  border-radius: 2px;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.btn-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-tertiary);
  color: var(--text-primary);
  transition: all var(--transition-fast);
  position: relative;
}

.btn-icon:hover {
  background: var(--border-subtle);
  transform: translateY(-1px);
}

.cart-count {
  position: absolute;
  top: -4px;
  right: -4px;
  background: var(--accent-gold);
  color: #0F172A;
  font-size: 0.6875rem;
  font-weight: 800;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hamburger-btn {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  padding: 8px;
}

.hamburger-btn span {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--text-primary);
  border-radius: 2px;
  transition: all var(--transition-fast);
}

/* --------------------------------------------------------------------------
   Buttons & CTAs
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 26px;
  border-radius: var(--radius-md);
  font-size: 0.9375rem;
  font-weight: 600;
  transition: all var(--transition-fast);
  white-space: nowrap;
}

.btn-primary {
  background: var(--accent-gold);
  color: #0F172A;
  border: 1px solid var(--accent-gold);
  box-shadow: 0 4px 14px rgba(197, 160, 89, 0.25);
}

.btn-primary:hover {
  background: var(--accent-gold-light);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(197, 160, 89, 0.35);
}

.btn-secondary {
  background: var(--bg-card);
  color: var(--text-primary);
  border: 1px solid var(--border-subtle);
}

.btn-secondary:hover {
  border-color: var(--accent-gold);
  background: var(--bg-tertiary);
  transform: translateY(-2px);
}

.btn-dark {
  background: #11151C;
  color: #FFFFFF;
  border: 1px solid #232B3B;
}

.btn-dark:hover {
  background: #1F2737;
  color: var(--accent-gold-light);
}

.btn-sm {
  padding: 8px 16px;
  font-size: 0.8125rem;
}

.btn-lg {
  padding: 16px 36px;
  font-size: 1.0625rem;
  border-radius: var(--radius-lg);
}

/* --------------------------------------------------------------------------
   Typography & Headers
   -------------------------------------------------------------------------- */
h1, h2, h3, h4, h5, h6 {
  color: var(--text-primary);
  line-height: 1.25;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--accent-gold);
  margin-bottom: 12px;
}

.section-title {
  font-size: 2.25rem;
  margin-bottom: 16px;
}

.section-subtitle {
  font-size: 1.125rem;
  color: var(--text-secondary);
  max-width: 680px;
}

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

.text-center .section-subtitle {
  margin-left: auto;
  margin-right: auto;
}

/* --------------------------------------------------------------------------
   Hero Section
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  overflow: hidden;
  padding: 80px 0 100px;
  background: radial-gradient(circle at 80% 20%, rgba(197, 160, 89, 0.08) 0%, transparent 60%);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 48px;
}

.hero-headline {
  font-size: 3.5rem;
  line-height: 1.1;
  font-weight: 800;
  margin-bottom: 24px;
}

.hero-headline .highlight {
  color: var(--accent-gold);
  background: linear-gradient(120deg, var(--accent-gold), var(--accent-gold-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

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

.hero-cta-group {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.hero-social-proof {
  display: flex;
  align-items: center;
  gap: 20px;
  padding-top: 24px;
  border-top: 1px solid var(--border-subtle);
}

.proof-avatars {
  display: flex;
  align-items: center;
}

.proof-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 2px solid var(--bg-card);
  background: var(--bg-tertiary);
  margin-left: -10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
}

.proof-avatar:first-child {
  margin-left: 0;
}

.proof-text {
  font-size: 0.875rem;
  color: var(--text-secondary);
}

.proof-text strong {
  color: var(--text-primary);
}

.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
}

.hero-card-glow {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--border-subtle);
  background: var(--bg-card);
}

.floating-badge {
  position: absolute;
  bottom: 24px;
  left: -20px;
  background: var(--bg-card);
  padding: 14px 20px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  gap: 12px;
  animation: float 4s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

/* --------------------------------------------------------------------------
   Feature Value Propositions
   -------------------------------------------------------------------------- */
.features-strip {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  padding: 36px 0;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.feature-box {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.feature-icon-wrapper {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  border-radius: var(--radius-md);
  background: var(--bg-accent-subtle);
  color: var(--accent-gold);
  display: flex;
  align-items: center;
  justify-content: center;
}

.feature-title {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 4px;
}

.feature-desc {
  font-size: 0.8125rem;
  color: var(--text-secondary);
  line-height: 1.4;
}

/* --------------------------------------------------------------------------
   Category Grid
   -------------------------------------------------------------------------- */
.categories-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 40px;
}

.category-card {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  overflow: hidden;
  padding: 32px;
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 280px;
}

.category-card:hover {
  transform: translateY(-6px);
  border-color: var(--accent-gold);
  box-shadow: var(--shadow-lg);
}

.category-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(10, 14, 20, 0.85) 100%);
  z-index: 1;
}

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

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

.category-content {
  position: relative;
  z-index: 2;
  color: #FFFFFF;
}

.category-title {
  font-size: 1.35rem;
  margin-bottom: 6px;
  color: #FFFFFF;
}

.category-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--accent-gold-light);
}

/* --------------------------------------------------------------------------
   Product Grid & Filter System
   -------------------------------------------------------------------------- */
.filter-tabs {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin: 36px 0 44px;
  flex-wrap: wrap;
}

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

.filter-tab:hover, .filter-tab.active {
  background: var(--accent-gold);
  color: #0F172A;
  border-color: var(--accent-gold);
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.product-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all var(--transition-normal);
  position: relative;
}

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

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

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

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

.product-badges {
  position: absolute;
  top: 14px;
  left: 14px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  z-index: 2;
}

.badge {
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  letter-spacing: 0.5px;
}

.badge-gold {
  background: var(--accent-gold);
  color: #0F172A;
}

.badge-green {
  background: var(--accent-success);
  color: #FFFFFF;
}

.product-quick-actions {
  position: absolute;
  right: 14px;
  top: 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  z-index: 2;
  opacity: 0;
  transform: translateX(10px);
  transition: all var(--transition-fast);
}

.product-card:hover .product-quick-actions {
  opacity: 1;
  transform: translateX(0);
}

.product-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

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

.product-category {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--accent-gold);
  letter-spacing: 1px;
}

.product-rating {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-secondary);
}

.star-icon {
  color: #F59E0B;
}

.product-title {
  font-size: 1.125rem;
  margin-bottom: 8px;
}

.product-title a:hover {
  color: var(--accent-gold);
}

.product-desc {
  font-size: 0.875rem;
  color: var(--text-secondary);
  margin-bottom: 18px;
  line-height: 1.5;
}

.product-footer {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  border-top: 1px solid var(--border-subtle);
}

.product-price {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--text-primary);
}

.product-price .old-price {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-muted);
  text-decoration: line-through;
  margin-left: 6px;
}

/* --------------------------------------------------------------------------
   Philosophy / Narrative Section
   -------------------------------------------------------------------------- */
.philosophy-section {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

.philosophy-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 64px;
}

.philosophy-points {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-top: 32px;
}

.point-item {
  display: flex;
  gap: 16px;
}

.point-number {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--accent-gold);
  line-height: 1;
}

/* --------------------------------------------------------------------------
   Lookbook / Interactive Room Visualizer
   -------------------------------------------------------------------------- */
.lookbook-container {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--border-subtle);
  background: #11151C;
}

.lookbook-pin {
  cursor: pointer;
  transition: transform 0.2s ease;
}

.lookbook-pin:hover {
  transform: scale(1.3);
}

.lookbook-tooltip {
  position: absolute;
  background: var(--bg-card);
  color: var(--text-primary);
  border: 1px solid var(--border-subtle);
  padding: 12px 16px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  font-size: 0.8125rem;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.2s ease;
  z-index: 10;
  max-width: 200px;
}

/* --------------------------------------------------------------------------
   Customer Reviews & Social Proof
   -------------------------------------------------------------------------- */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 48px;
}

.review-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 32px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.review-stars {
  display: flex;
  gap: 4px;
  color: #F59E0B;
  margin-bottom: 14px;
}

.review-quote {
  font-size: 0.9375rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 24px;
  font-style: italic;
}

.review-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.author-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--bg-accent-subtle);
  color: var(--accent-gold);
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

.author-name {
  font-size: 0.9375rem;
  font-weight: 700;
}

.author-location {
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* --------------------------------------------------------------------------
   SEO FAQ Accordion Section
   -------------------------------------------------------------------------- */
.faq-list {
  max-width: 800px;
  margin: 40px auto 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color var(--transition-fast);
}

.faq-item.active {
  border-color: var(--accent-gold);
}

.faq-question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 24px;
  text-align: left;
  font-size: 1.0625rem;
  font-weight: 600;
}

.faq-icon {
  transition: transform var(--transition-fast);
  color: var(--accent-gold);
}

.faq-item.active .faq-icon {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  padding: 0 24px;
}

.faq-item.active .faq-answer {
  max-height: 400px;
  padding-bottom: 20px;
}

.faq-answer p {
  color: var(--text-secondary);
  font-size: 0.9375rem;
  line-height: 1.6;
}

/* --------------------------------------------------------------------------
   Newsletter / Lead Capture Section
   -------------------------------------------------------------------------- */
.newsletter-card {
  background: linear-gradient(135deg, #131722 0%, #1D2333 100%);
  color: #FFFFFF;
  border-radius: var(--radius-lg);
  padding: 64px 48px;
  text-align: center;
  border: 1px solid rgba(197, 160, 89, 0.25);
  box-shadow: var(--shadow-xl);
}

.newsletter-card h2 {
  color: #FFFFFF;
  font-size: 2.25rem;
  margin-bottom: 12px;
}

.newsletter-card p {
  color: #94A3B8;
  max-width: 580px;
  margin: 0 auto 32px;
  font-size: 1.0625rem;
}

.newsletter-form {
  display: flex;
  max-width: 480px;
  margin: 0 auto;
  gap: 10px;
}

.newsletter-input {
  flex-grow: 1;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  padding: 14px 20px;
  border-radius: var(--radius-md);
  color: #FFFFFF;
}

.newsletter-input:focus {
  border-color: var(--accent-gold);
  background: rgba(255, 255, 255, 0.12);
}

/* --------------------------------------------------------------------------
   Slide-Out Cart Drawer & Modals
   -------------------------------------------------------------------------- */
.drawer-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
  z-index: 2000;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-normal);
}

.drawer-backdrop.active {
  opacity: 1;
  visibility: visible;
}

.cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  max-width: 420px;
  background: var(--bg-card);
  box-shadow: var(--shadow-xl);
  z-index: 2001;
  transform: translateX(100%);
  transition: transform var(--transition-normal);
  display: flex;
  flex-direction: column;
}

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

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

.drawer-title {
  font-size: 1.25rem;
}

.drawer-body {
  padding: 24px;
  overflow-y: auto;
  flex-grow: 1;
}

.cart-items {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

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

.cart-item-img {
  width: 70px;
  height: 70px;
  border-radius: var(--radius-md);
  background: var(--bg-tertiary);
  object-fit: cover;
}

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

.cart-item-title {
  font-size: 0.9375rem;
  font-weight: 700;
  margin-bottom: 4px;
}

.cart-item-price {
  font-size: 0.875rem;
  color: var(--accent-gold);
  font-weight: 700;
  margin-bottom: 8px;
}

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

.qty-btn {
  width: 26px;
  height: 26px;
  border-radius: var(--radius-sm);
  background: var(--bg-tertiary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
}

.drawer-footer {
  padding: 24px;
  border-top: 1px solid var(--border-subtle);
  background: var(--bg-secondary);
}

.cart-subtotal {
  display: flex;
  justify-content: space-between;
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: 16px;
}

/* Quick View Modal */
.modal-wrapper {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  z-index: 2100;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-normal);
}

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

.modal-content {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  max-width: 800px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: var(--shadow-xl);
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  transform: translateY(20px);
  transition: transform var(--transition-normal);
}

.modal-wrapper.active .modal-content {
  transform: translateY(0);
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 10;
}

/* Toast Notification */
.toast-container {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.toast {
  background: #11151C;
  color: #FFFFFF;
  border: 1px solid var(--accent-gold);
  border-radius: var(--radius-md);
  padding: 12px 20px;
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.875rem;
  animation: slideInRight 0.3s ease;
}

@keyframes slideInRight {
  from { transform: translateX(100%); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}

/* --------------------------------------------------------------------------
   Site Footer
   -------------------------------------------------------------------------- */
.site-footer {
  background: #0E121A;
  color: #E2E8F0;
  border-top: 1px solid #1E2536;
  margin-top: auto;
}

.footer-top {
  padding: 70px 0 40px;
}

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

.footer-about p {
  color: #94A3B8;
  font-size: 0.9375rem;
  line-height: 1.6;
  margin: 16px 0 24px;
  max-width: 320px;
}

.footer-heading {
  color: #FFFFFF;
  font-size: 1rem;
  margin-bottom: 20px;
  font-weight: 700;
  letter-spacing: 0.5px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-link {
  color: #94A3B8;
  font-size: 0.875rem;
}

.footer-link:hover {
  color: var(--accent-gold-light);
}

.footer-bottom {
  border-top: 1px solid #1B2232;
  padding: 24px 0;
  font-size: 0.8125rem;
  color: #64748B;
}

.footer-bottom-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

/* --------------------------------------------------------------------------
   Inner Page Styles (About, Blog, Contact, Legal)
   -------------------------------------------------------------------------- */
.page-header {
  padding: 60px 0 40px;
  background: var(--bg-secondary);
  border-bottom: 1px solid var(--border-subtle);
  text-align: center;
}

.page-header h1 {
  font-size: 2.75rem;
  margin-bottom: 12px;
}

.breadcrumbs {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  font-size: 0.875rem;
  color: var(--text-muted);
}

.breadcrumbs a:hover {
  color: var(--accent-gold);
}

/* Contact form */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 48px;
}

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

.form-label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 6px;
}

.form-control {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  background: var(--bg-card);
  color: var(--text-primary);
  transition: border-color var(--transition-fast);
}

.form-control:focus {
  border-color: var(--accent-gold);
}

/* Blog Cards */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

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

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

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

.blog-date {
  font-size: 0.75rem;
  color: var(--accent-gold);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.blog-card-title {
  font-size: 1.25rem;
  margin: 8px 0 12px;
}

.blog-card-excerpt {
  font-size: 0.875rem;
  color: var(--text-secondary);
  margin-bottom: 16px;
}

/* --------------------------------------------------------------------------
   Responsive Media Queries
   -------------------------------------------------------------------------- */
@media (max-width: 1024px) {
  .hero-headline {
    font-size: 2.75rem;
  }
  .products-grid, .categories-grid, .reviews-grid, .blog-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .philosophy-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }
  .hero-headline {
    font-size: 2.25rem;
  }
  .products-grid, .categories-grid, .reviews-grid, .blog-grid {
    grid-template-columns: 1fr;
  }
  .features-grid {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .contact-grid {
    grid-template-columns: 1fr;
  }
  .modal-content {
    grid-template-columns: 1fr;
  }

  .nav-links {
    position: fixed;
    top: var(--header-height);
    left: 0;
    right: 0;
    background: var(--bg-card);
    border-bottom: 1px solid var(--border-subtle);
    flex-direction: column;
    padding: 24px;
    gap: 18px;
    display: none;
    box-shadow: var(--shadow-lg);
  }

  .nav-links.open {
    display: flex;
  }

  .hamburger-btn {
    display: flex;
  }
}

/* Print styles */
@media print {
  .site-header, .site-footer, .cart-drawer, .btn, .newsletter-section, .ad-slot-wrapper {
    display: none !important;
  }
  body {
    background: #FFFFFF;
    color: #000000;
  }
}

/* --------------------------------------------------------------------------
   Google Ad Manager & Sponsored Placements
   -------------------------------------------------------------------------- */
.ad-slot-wrapper {
  margin: 36px auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  width: 100%;
  max-width: 100%;
  overflow: hidden;
}

.ad-label {
  font-size: 0.6875rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 6px;
  display: block;
  font-weight: 600;
}

.ad-container {
  display: flex;
  justify-content: center;
  align-items: center;
  background: var(--bg-card);
  border: 1px dashed var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 8px;
  transition: border-color var(--transition-fast);
  max-width: 100%;
  overflow-x: auto;
}

.ad-container:hover {
  border-color: var(--border-hover);
}

.ad-slot-wrapper.ad-slot-hero {
  margin-top: 24px;
  margin-bottom: 32px;
}

.ad-slot-wrapper.ad-slot-feature {
  padding: 36px 0;
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  margin: 48px 0;
}

