/* CSS Custom Properties - Design Tokens */
:root {
  /* Colors */
  --cream-base: #F8F7F3;
  --deep-navy: #12355B;
  --sage-green: #7A9E9F;
  --warm-beige: #D6B88E;
  --rich-brown: #735A40;
  --white: #FFFFFF;
  --indigo-wash-light: rgba(18, 53, 91, 0.08);
  --indigo-wash-medium: rgba(18, 53, 91, 0.15);

  /* Typography */
  --font-heading-primary: 'Lora', Georgia, 'Times New Roman', serif;
  --font-heading-secondary: 'Crimson Text', Georgia, serif;
  --font-body-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-body-secondary: 'Source Sans Pro', 'Segoe UI', Roboto, sans-serif;

  /* Font Sizes */
  --hero-display: 4.5rem; /* 72px */
  --heading-xl: 3.5rem; /* 56px */
  --heading-lg: 2.5rem; /* 40px */
  --heading-md: 2rem; /* 32px */
  --heading-sm: 1.5rem; /* 24px */
  --body-lg: 1.25rem; /* 20px */
  --body-base: 1rem; /* 16px */
  --body-sm: 0.875rem; /* 14px */
  --label: 0.75rem; /* 12px */

  /* Spacing */
  --space-xs: 0.5rem; /* 8px */
  --space-sm: 0.75rem; /* 12px */
  --space-md: 1rem; /* 16px */
  --space-lg: 1.5rem; /* 24px */
  --space-xl: 2rem; /* 32px */
  --space-2xl: 3rem; /* 48px */
  --space-3xl: 4rem; /* 64px */
  --space-4xl: 6rem; /* 96px */
  --space-5xl: 8rem; /* 128px */

  /* Border Radius */
  --radius-sm: 0.5rem; /* 8px */
  --radius-md: 0.75rem; /* 12px */
  --radius-lg: 1rem; /* 16px */
  --radius-full: 999px;

  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(18, 53, 91, 0.08);
  --shadow-card: 0 4px 16px rgba(18, 53, 91, 0.12);
  --shadow-card-hover: 0 8px 24px rgba(18, 53, 91, 0.16);
  --shadow-modal: 0 16px 48px rgba(18, 53, 91, 0.24);

  /* Animation */
  --duration-fast: 200ms;
  --duration-base: 350ms;
  --duration-slow: 400ms;
  --duration-patient: 600ms;
  --ease-out: cubic-bezier(0, 0, 0.2, 1);
  --ease-in-out: cubic-bezier(0.4, 0, 0.2, 1);

  /* Container */
  --container-max-width: 1280px;
}

/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body-primary);
  font-size: var(--body-base);
  line-height: 1.7;
  color: var(--deep-navy);
  background-color: var(--cream-base);
  overflow-x: hidden;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading-secondary);
  font-weight: 600;
  line-height: 1.2;
  margin-bottom: var(--space-md);
}

h1 { font-size: var(--hero-display); }
h2 { font-size: var(--heading-xl); }
h3 { font-size: var(--heading-lg); }
h4 { font-size: var(--heading-md); }
h5 { font-size: var(--heading-sm); }
h6 { font-size: var(--body-lg); }

p {
  margin-bottom: var(--space-md);
  line-height: 1.6;
}

a {
  color: var(--deep-navy);
  text-decoration: none;
  transition: all var(--duration-base) var(--ease-out);
}

a:hover {
  color: var(--sage-green);
}

/* Container */
.container {
  max-width: var(--container-max-width);
  margin: 0 auto;
  padding: 0 var(--space-xl);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-md) var(--space-xl);
  font-family: var(--font-body-primary);
  font-size: var(--body-base);
  font-weight: 500;
  text-decoration: none;
  border: none;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all var(--duration-base) var(--ease-out);
  min-height: 44px;
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background-color: var(--deep-navy);
  color: var(--cream-base);
  box-shadow: var(--shadow-card);
}

.btn-primary:hover {
  background-color: var(--deep-navy);
  transform: translateY(-2px);
  box-shadow: var(--shadow-card-hover);
  color: var(--cream-base);
}

.btn-secondary {
  background-color: transparent;
  color: var(--deep-navy);
  border: 2px solid var(--deep-navy);
}

.btn-secondary:hover {
  background-color: var(--deep-navy);
  color: var(--cream-base);
  transform: translateY(-2px);
}

/* Navigation */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background-color: var(--white);
  box-shadow: var(--shadow-sm);
  z-index: 1000;
  transition: all var(--duration-base) var(--ease-out);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: var(--container-max-width);
  margin: 0 auto;
  padding: 0 var(--space-xl);
  height: 80px;
}

.nav-logo .logo-text {
  font-family: var(--font-heading-primary);
  font-size: var(--heading-md);
  font-weight: 600;
  color: var(--deep-navy);
  margin: 0;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: var(--space-2xl);
}

.nav-item {
  position: relative;
}

.nav-link {
  font-family: var(--font-body-primary);
  font-size: var(--body-base);
  font-weight: 500;
  color: var(--deep-navy);
  padding: var(--space-sm) 0;
  position: relative;
  text-decoration: none;
}

.nav-link:hover,
.nav-link.active {
  color: var(--sage-green);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--sage-green);
  transition: width var(--duration-base) var(--ease-out);
}

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

/* Dropdown */
.dropdown-content {
  position: absolute;
  top: 100%;
  left: 0;
  background-color: var(--white);
  box-shadow: var(--shadow-card);
  border-radius: var(--radius-md);
  padding: var(--space-md);
  min-width: 200px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all var(--duration-base) var(--ease-out);
}

.dropdown:hover .dropdown-content {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-content a {
  display: block;
  padding: var(--space-sm);
  color: var(--deep-navy);
  border-radius: var(--radius-sm);
  transition: all var(--duration-base) var(--ease-out);
}

.dropdown-content a:hover {
  background-color: var(--cream-base);
  color: var(--sage-green);
}

.nav-utility {
  display: flex;
  align-items: center;
  gap: var(--space-lg);
}

.search-btn,
.cart-btn {
  position: relative;
  background: none;
  border: none;
  color: var(--deep-navy);
  cursor: pointer;
  padding: var(--space-sm);
  border-radius: var(--radius-sm);
  transition: all var(--duration-base) var(--ease-out);
}

.search-btn:hover,
.cart-btn:hover {
  background-color: var(--cream-base);
  color: var(--sage-green);
}

.cart-count {
  position: absolute;
  top: -4px;
  right: -4px;
  background-color: var(--warm-beige);
  color: var(--deep-navy);
  font-size: var(--label);
  font-weight: 600;
  padding: 2px 6px;
  border-radius: var(--radius-full);
  min-width: 18px;
  text-align: center;
}

.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  background: none;
  border: none;
  cursor: pointer;
  padding: var(--space-sm);
}

.mobile-menu-toggle span {
  width: 24px;
  height: 2px;
  background-color: var(--deep-navy);
  margin: 3px 0;
  transition: var(--duration-base) var(--ease-out);
}

/* Hero Section */
.hero {
  position: relative;
  min-height: 600px;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, var(--cream-base) 0%, var(--indigo-wash-light) 100%);
  padding-top: 80px;
  overflow: hidden;
}

.hero-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4xl);
  align-items: center;
  max-width: var(--container-max-width);
  margin: 0 auto;
  padding: 0 var(--space-xl);
  position: relative;
  z-index: 2;
}

.hero-content {
  max-width: 600px;
}

.hero-title {
  font-family: var(--font-heading-primary);
  font-size: var(--hero-display);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--deep-navy);
  margin-bottom: var(--space-xl);
}

.hero-subtitle {
  font-size: var(--body-lg);
  line-height: 1.6;
  color: var(--rich-brown);
  margin-bottom: var(--space-2xl);
}

.hero-actions {
  display: flex;
  gap: var(--space-lg);
  flex-wrap: wrap;
}

.hero-image {
  position: relative;
}

.hero-img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
}

.hero-overlay {
  position: absolute;
  bottom: -20px;
  right: -20px;
  width: 60%;
  height: 60%;
  background: var(--indigo-wash-light);
  border-radius: 50%;
  opacity: 0.3;
  z-index: 1;
}

/* Section Titles */
.section-title {
  font-family: var(--font-heading-primary);
  font-size: var(--heading-lg);
  font-weight: 600;
  color: var(--deep-navy);
  margin-bottom: var(--space-md);
}

.section-subtitle {
  font-size: var(--body-lg);
  color: var(--rich-brown);
  margin-bottom: var(--space-3xl);
}

.section-title.centered,
.section-subtitle.centered {
  text-align: center;
}

.section-description {
  font-size: var(--body-lg);
  line-height: 1.6;
  color: var(--rich-brown);
  margin-bottom: var(--space-lg);
}

/* Stats Section */
.stats {
  background-color: var(--white);
  padding: var(--space-4xl) 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--space-2xl);
  text-align: center;
}

.stat-item {
  padding: var(--space-xl);
}

.stat-number {
  font-family: var(--font-heading-primary);
  font-size: var(--hero-display);
  font-weight: 600;
  color: var(--sage-green);
  line-height: 1;
  margin-bottom: var(--space-sm);
}

.stat-label {
  font-size: var(--body-lg);
  color: var(--rich-brown);
  font-weight: 500;
}

/* Heritage Story Section */
.heritage-story {
  padding: var(--space-5xl) 0;
}

.heritage-content {
  display: grid;
  grid-template-columns: 7fr 5fr;
  gap: var(--space-4xl);
  align-items: center;
}

.heritage-img {
  width: 100%;
  height: 500px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
}

.link-inline {
  color: var(--sage-green);
  font-weight: 500;
  text-decoration: none;
  position: relative;
}

.link-inline::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--sage-green);
  transition: width var(--duration-base) var(--ease-out);
}

.link-inline:hover::after {
  width: 100%;
}

/* Thread-line Divider */
.thread-divider {
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.thread-line {
  width: 100%;
  max-width: var(--container-max-width);
  height: 1px;
  background: linear-gradient(to right, transparent 0%, var(--deep-navy) 15%, var(--deep-navy) 85%, transparent 100%);
  opacity: 0.15;
}

.thread-nodes {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  gap: 120px;
  width: 100%;
  max-width: var(--container-max-width);
  justify-content: center;
  pointer-events: none;
}

.node {
  width: 8px;
  height: 8px;
  background-color: var(--sage-green);
  border-radius: 50%;
  opacity: 0.6;
}

/* Featured Collections */
.featured-collections {
  padding: var(--space-5xl) 0;
  background-color: var(--white);
}

.collections-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: var(--space-2xl);
}

.collection-card {
  background-color: var(--cream-base);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: all var(--duration-base) var(--ease-out);
}

.collection-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card-hover);
}

.collection-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
}

.collection-content {
  padding: var(--space-2xl);
}

.collection-title {
  font-family: var(--font-heading-primary);
  font-size: var(--heading-md);
  font-weight: 600;
  color: var(--deep-navy);
  margin-bottom: var(--space-md);
}

.collection-description {
  color: var(--rich-brown);
  margin-bottom: var(--space-lg);
}

.collection-link {
  color: var(--sage-green);
  font-weight: 500;
  text-decoration: none;
  position: relative;
}

.collection-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--sage-green);
  transition: width var(--duration-base) var(--ease-out);
}

.collection-link:hover::after {
  width: 100%;
}

/* Craft Advantages */
.craft-advantages {
  padding: var(--space-5xl) 0;
}

.advantages-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--space-2xl);
}

.advantage-card {
  background-color: var(--white);
  border: 1px solid rgba(18, 53, 91, 0.1);
  border-radius: var(--radius-md);
  padding: var(--space-2xl);
  text-align: center;
  transition: all var(--duration-base) var(--ease-out);
}

.advantage-card:nth-child(even) {
  background-color: var(--cream-base);
}

.advantage-card:hover {
  box-shadow: var(--shadow-sm);
  border-color: var(--sage-green);
}

.advantage-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  margin: 0 auto var(--space-lg);
  color: var(--sage-green);
}

.advantage-title {
  font-size: var(--heading-sm);
  font-weight: 600;
  color: var(--deep-navy);
  margin-bottom: var(--space-md);
}

.advantage-description {
  color: var(--rich-brown);
  max-width: 280px;
  margin: 0 auto;
}

/* Popular Items */
.popular-items {
  padding: var(--space-5xl) 0;
  background-color: var(--white);
}

.items-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--space-2xl);
}

.product-card {
  background-color: var(--white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: all var(--duration-base) var(--ease-out);
}

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

.product-image {
  position: relative;
  aspect-ratio: 1;
  overflow: hidden;
}

.product-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--duration-base) var(--ease-out);
}

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

.product-badge {
  position: absolute;
  top: var(--space-sm);
  left: var(--space-sm);
  padding: var(--space-xs) var(--space-sm);
  font-size: var(--label);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-radius: var(--radius-sm);
  z-index: 2;
}

.product-badge.new {
  background-color: var(--warm-beige);
  color: var(--deep-navy);
}

.product-badge.handwoven {
  background-color: var(--sage-green);
  color: var(--white);
}

.product-badge.classic {
  background-color: var(--indigo-wash-medium);
  color: var(--deep-navy);
}

.product-overlay {
  position: absolute;
  inset: 0;
  background-color: rgba(18, 53, 91, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity var(--duration-base) var(--ease-out);
}

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

.quick-view-btn {
  background-color: var(--white);
  color: var(--deep-navy);
  border: none;
  padding: var(--space-sm) var(--space-lg);
  border-radius: var(--radius-sm);
  font-weight: 500;
  cursor: pointer;
  transition: all var(--duration-base) var(--ease-out);
}

.quick-view-btn:hover {
  background-color: var(--sage-green);
  color: var(--white);
}

.product-info {
  padding: var(--space-lg);
}

.product-title {
  font-size: var(--heading-sm);
  font-weight: 600;
  color: var(--deep-navy);
  margin-bottom: var(--space-xs);
}

.product-technique {
  font-size: var(--body-sm);
  color: var(--rich-brown);
  margin-bottom: var(--space-sm);
}

.product-price {
  font-family: var(--font-heading-primary);
  font-size: var(--heading-md);
  font-weight: 600;
  color: var(--deep-navy);
  margin-bottom: var(--space-xs);
}

.product-note {
  font-size: var(--body-sm);
  color: var(--rich-brown);
  font-style: italic;
  margin: 0;
}

/* Reviews */
.reviews {
  padding: var(--space-5xl) 0;
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: var(--space-2xl);
}

.review-card {
  background-color: var(--white);
  border-radius: var(--radius-lg);
  padding: var(--space-2xl);
  box-shadow: var(--shadow-card);
}

.review-text {
  font-size: var(--body-lg);
  line-height: 1.6;
  color: var(--rich-brown);
  margin-bottom: var(--space-lg);
  font-style: italic;
}

.review-author {
  border-top: 1px solid rgba(18, 53, 91, 0.1);
  padding-top: var(--space-lg);
}

.author-name {
  font-size: var(--body-lg);
  font-weight: 600;
  color: var(--deep-navy);
  margin-bottom: var(--space-xs);
}

.author-location {
  font-size: var(--body-sm);
  color: var(--rich-brown);
  margin: 0;
}

/* Latest Items */
.latest-items {
  padding: var(--space-5xl) 0;
  background-color: var(--white);
}

.latest-scroll {
  display: flex;
  gap: var(--space-xl);
  overflow-x: auto;
  padding: var(--space-lg) 0;
  scroll-snap-type: x mandatory;
}

.latest-item {
  flex: 0 0 280px;
  text-align: center;
  scroll-snap-align: start;
}

.latest-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: var(--radius-md);
  margin-bottom: var(--space-md);
}

.latest-title {
  font-size: var(--heading-sm);
  font-weight: 600;
  color: var(--deep-navy);
  margin-bottom: var(--space-xs);
}

.latest-category {
  font-size: var(--body-sm);
  color: var(--sage-green);
  font-weight: 500;
  margin: 0;
}

/* Categories Overview */
.categories-overview {
  padding: var(--space-5xl) 0;
}

.categories-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--space-2xl);
}

.category-card {
  background-color: var(--white);
  border-radius: var(--radius-lg);
  padding: var(--space-2xl);
  text-align: center;
  box-shadow: var(--shadow-card);
  transition: all var(--duration-base) var(--ease-out);
}

.category-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card-hover);
}

.category-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  margin: 0 auto var(--space-lg);
  color: var(--sage-green);
}

.category-title {
  font-size: var(--heading-sm);
  font-weight: 600;
  color: var(--deep-navy);
  margin-bottom: var(--space-md);
}

.category-description {
  color: var(--rich-brown);
  margin-bottom: var(--space-lg);
}

.category-link {
  color: var(--sage-green);
  font-weight: 500;
  text-decoration: none;
  position: relative;
}

.category-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--sage-green);
  transition: width var(--duration-base) var(--ease-out);
}

.category-link:hover::after {
  width: 100%;
}

/* Newsletter */
.newsletter {
  padding: var(--space-5xl) 0;
  background: linear-gradient(135deg, var(--cream-base) 0%, var(--indigo-wash-light) 100%);
}

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

.newsletter-title {
  font-family: var(--font-heading-primary);
  font-size: var(--heading-lg);
  font-weight: 600;
  color: var(--deep-navy);
  margin-bottom: var(--space-lg);
}

.newsletter-description {
  font-size: var(--body-lg);
  color: var(--rich-brown);
  margin-bottom: var(--space-2xl);
}

.newsletter-form {
  display: flex;
  gap: var(--space-md);
  margin-bottom: var(--space-lg);
}

.newsletter-input {
  flex: 1;
  padding: var(--space-md) var(--space-lg);
  font-size: var(--body-base);
  border: 2px solid rgba(18, 53, 91, 0.1);
  border-radius: var(--radius-md);
  background-color: var(--white);
  transition: border-color var(--duration-base) var(--ease-out);
}

.newsletter-input:focus {
  outline: none;
  border-color: var(--sage-green);
}

.newsletter-btn {
  padding: var(--space-md) var(--space-xl);
  background-color: var(--sage-green);
  color: var(--white);
  border: none;
  border-radius: var(--radius-md);
  font-weight: 500;
  cursor: pointer;
  transition: all var(--duration-base) var(--ease-out);
  white-space: nowrap;
}

.newsletter-btn:hover {
  background-color: var(--deep-navy);
  transform: translateY(-2px);
}

.newsletter-note {
  font-size: var(--body-sm);
  color: var(--rich-brown);
  margin: 0;
}

/* Footer */
.footer {
  background-color: var(--deep-navy);
  color: var(--cream-base);
  padding: var(--space-5xl) 0 var(--space-2xl);
}

.footer-content {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--space-3xl);
  margin-bottom: var(--space-3xl);
}

.footer-title {
  font-family: var(--font-heading-primary);
  font-size: var(--heading-md);
  font-weight: 600;
  color: var(--warm-beige);
  margin-bottom: var(--space-lg);
}

.footer-description {
  color: var(--cream-base);
  line-height: 1.6;
  margin-bottom: var(--space-lg);
}

.footer-contact {
  color: var(--cream-base);
}

.footer-contact p {
  margin-bottom: var(--space-sm);
}

.footer-contact a {
  color: var(--warm-beige);
}

.footer-contact a:hover {
  color: var(--sage-green);
}

.footer-heading {
  font-size: var(--body-lg);
  font-weight: 600;
  color: var(--warm-beige);
  margin-bottom: var(--space-lg);
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: var(--space-sm);
}

.footer-links a {
  color: var(--cream-base);
  transition: color var(--duration-base) var(--ease-out);
}

.footer-links a:hover {
  color: var(--sage-green);
}

.footer-bottom {
  border-top: 1px solid rgba(248, 247, 243, 0.2);
  padding-top: var(--space-xl);
  text-align: center;
  color: var(--cream-base);
}

.footer-bottom p {
  margin: 0;
  font-size: var(--body-sm);
}

/* Cookie Banner */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: var(--deep-navy);
  color: var(--cream-base);
  padding: var(--space-lg);
  transform: translateY(100%);
  transition: transform var(--duration-base) var(--ease-out);
  z-index: 2000;
}

.cookie-banner.show {
  transform: translateY(0);
}

.cookie-content {
  max-width: var(--container-max-width);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-xl);
}

.cookie-text {
  flex: 1;
  margin: 0;
  font-size: var(--body-sm);
  line-height: 1.5;
}

.cookie-actions {
  display: flex;
  gap: var(--space-md);
  flex-shrink: 0;
}

.cookie-btn {
  padding: var(--space-sm) var(--space-lg);
  font-size: var(--body-sm);
  font-weight: 500;
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all var(--duration-base) var(--ease-out);
}

.cookie-btn.accept {
  background-color: var(--sage-green);
  color: var(--white);
}

.cookie-btn.accept:hover {
  background-color: var(--deep-navy);
  color: var(--sage-green);
}

.cookie-btn.decline {
  background-color: transparent;
  color: var(--cream-base);
  border: 1px solid var(--cream-base);
}

.cookie-btn.decline:hover {
  background-color: var(--cream-base);
  color: var(--deep-navy);
}

/* Responsive Design */
@media (max-width: 1023px) {
  .hero-container {
    grid-template-columns: 1fr;
    gap: var(--space-2xl);
    text-align: center;
  }
  
  .hero-title {
    font-size: var(--heading-xl);
  }
  
  .heritage-content {
    grid-template-columns: 1fr;
    gap: var(--space-2xl);
  }
  
  .collections-grid {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  }
  
  .footer-content {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-2xl);
  }
  
  .cookie-content {
    flex-direction: column;
    gap: var(--space-lg);
  }
}

@media (max-width: 767px) {
  :root {
    --hero-display: 2.25rem; /* 36px */
    --heading-xl: 2rem; /* 32px */
    --heading-lg: 1.75rem; /* 28px */
    --heading-md: 1.5rem; /* 24px */
  }
  
  .container {
    padding: 0 var(--space-lg);
  }
  
  .nav-menu {
    display: none;
  }
  
  .mobile-menu-toggle {
    display: flex;
  }
  
  .hero {
    min-height: 500px;
    padding-top: 80px;
  }
  
  .hero-actions {
    flex-direction: column;
    align-items: center;
  }
  
  .hero-actions .btn {
    width: 100%;
    max-width: 280px;
  }
  
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-lg);
  }
  
  .collections-grid {
    grid-template-columns: 1fr;
  }
  
  .advantages-grid {
    grid-template-columns: 1fr;
  }
  
  .items-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--space-lg);
  }
  
  .reviews-grid {
    grid-template-columns: 1fr;
  }
  
  .categories-grid {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
  }
  
  .newsletter-form {
    flex-direction: column;
  }
  
  .footer-content {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
    text-align: center;
  }
  
  .footer-contact {
    text-align: left;
  }
  
  .cookie-content {
    text-align: center;
  }
  
  .cookie-actions {
    justify-content: center;
  }
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* High Contrast Mode */
@media (prefers-contrast: high) {
  :root {
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
    --shadow-card: 0 4px 16px rgba(0, 0, 0, 0.3);
    --shadow-card-hover: 0 8px 24px rgba(0, 0, 0, 0.3);
    --shadow-modal: 0 16px 48px rgba(0, 0, 0, 0.3);
  }
}
