/* Gift Curated - Main Stylesheet */
/* Complementary styles to Tailwind CSS utility classes */

/* ========================================
   CUSTOM PROPERTIES
   ======================================== */
:root {
  --color-cream: #FDF6EE;
  --color-cream-dark: #F5ECDF;
  --color-sage: #8B9E7E;
  --color-sage-light: #A8B89C;
  --color-sage-dark: #6B7E5E;
  --color-blush: #E8C4B8;
  --color-blush-light: #F2DDD5;
  --color-blush-dark: #D4A494;
  --color-terracotta: #C17C5A;
  --color-terracotta-dark: #A56840;
  --color-oak: #B8A080;
  --color-oak-light: #D4C4A8;
  --color-charcoal: #3D3D3D;
  --color-charcoal-light: #5A5A5A;

  --font-sans: 'Inter', system-ui, -apple-system, sans-serif;
  --font-serif: 'Merriweather', Georgia, 'Times New Roman', serif;

  --transition-base: 0.3s ease;
  --transition-slow: 0.5s ease;
  --shadow-soft: 0 4px 20px rgba(61, 61, 61, 0.06);
  --shadow-medium: 0 8px 30px rgba(61, 61, 61, 0.1);
  --shadow-heavy: 0 12px 40px rgba(61, 61, 61, 0.15);
  --radius-sm: 0.5rem;
  --radius-md: 0.75rem;
  --radius-lg: 1rem;
  --radius-xl: 1.25rem;
  --radius-2xl: 1.5rem;
  --radius-full: 9999px;
}

/* ========================================
   BASE / RESET ADDITIONS
   ======================================== */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-sans);
  color: var(--color-charcoal);
  background-color: var(--color-cream);
  line-height: 1.6;
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}

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

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

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

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

/* ========================================
   TYPOGRAPHY
   ======================================== */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-serif);
  color: var(--color-charcoal);
  line-height: 1.25;
  margin-top: 0;
}

h1 {
  font-weight: 700;
  letter-spacing: -0.02em;
}

h2 {
  font-weight: 700;
  letter-spacing: -0.015em;
}

h3 {
  font-weight: 600;
}

p {
  margin-top: 0;
  line-height: 1.7;
}

.text-balance {
  text-wrap: balance;
}

/* ========================================
   SELECTION
   ======================================== */
::selection {
  background-color: var(--color-blush);
  color: var(--color-charcoal);
}

::-moz-selection {
  background-color: var(--color-blush);
  color: var(--color-charcoal);
}

/* ========================================
   FOCUS STYLES (Accessibility)
   ======================================== */
:focus-visible {
  outline: 2px solid var(--color-terracotta);
  outline-offset: 2px;
  border-radius: 4px;
}

button:focus-visible,
a:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 2px solid var(--color-terracotta);
  outline-offset: 2px;
}

/* ========================================
   SCROLLBAR
   ======================================== */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--color-cream);
}

::-webkit-scrollbar-thumb {
  background: var(--color-oak-light);
  border-radius: var(--radius-full);
}

::-webkit-scrollbar-thumb:hover {
  background: var(--color-oak);
}

/* Firefox */
* {
  scrollbar-width: thin;
  scrollbar-color: var(--color-oak-light) var(--color-cream);
}

/* ========================================
   ANNOUNCEMENT BAR
   ======================================== */
.announcement-bar {
  background-color: var(--color-sage);
  color: #ffffff;
  text-align: center;
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
  font-weight: 500;
}

/* ========================================
   HEADER
   ======================================== */
.site-header {
  background-color: rgba(253, 246, 238, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid rgba(212, 196, 168, 0.3);
  transition: box-shadow var(--transition-base);
}

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

.header-nav-link {
  position: relative;
  font-weight: 500;
  color: var(--color-charcoal-light);
  transition: color var(--transition-base);
  padding-bottom: 4px;
}

.header-nav-link:hover,
.header-nav-link.active {
  color: var(--color-terracotta);
}

.header-nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background-color: var(--color-terracotta);
  border-radius: 1px;
}

/* ========================================
   HERO SECTION
   ======================================== */
.hero-section {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, var(--color-cream), rgba(242, 221, 213, 0.2), var(--color-cream-dark));
}

.hero-badge {
  display: inline-block;
  background-color: rgba(139, 158, 126, 0.1);
  color: var(--color-sage-dark);
  padding: 0.375rem 1rem;
  border-radius: var(--radius-full);
  font-size: 0.875rem;
  font-weight: 500;
}

.hero-image-glow {
  position: absolute;
  inset: -1rem;
  background: linear-gradient(135deg, rgba(232, 196, 184, 0.3), rgba(139, 158, 126, 0.1), rgba(193, 124, 90, 0.1));
  border-radius: var(--radius-2xl);
  filter: blur(40px);
}

/* ========================================
   BUTTONS
   ======================================== */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.875rem 2rem;
  background-color: var(--color-terracotta);
  color: #ffffff;
  font-weight: 600;
  border-radius: var(--radius-full);
  transition: all var(--transition-base);
  box-shadow: 0 4px 15px rgba(193, 124, 90, 0.25);
}

.btn-primary:hover {
  background-color: var(--color-terracotta-dark);
  box-shadow: 0 6px 20px rgba(193, 124, 90, 0.3);
  transform: translateY(-1px);
}

.btn-primary:active {
  transform: translateY(0);
  box-shadow: 0 2px 10px rgba(193, 124, 90, 0.2);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.875rem 2rem;
  background-color: rgba(255, 255, 255, 0.8);
  color: var(--color-charcoal);
  font-weight: 600;
  border-radius: var(--radius-full);
  border: 1px solid rgba(212, 196, 168, 0.5);
  transition: all var(--transition-base);
}

.btn-secondary:hover {
  background-color: #ffffff;
  box-shadow: var(--shadow-soft);
}

.btn-dark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.875rem 2rem;
  background-color: var(--color-charcoal);
  color: #ffffff;
  font-weight: 600;
  border-radius: var(--radius-full);
  transition: all var(--transition-base);
  box-shadow: var(--shadow-soft);
}

.btn-dark:hover {
  background-color: var(--color-charcoal-light);
  box-shadow: var(--shadow-medium);
  transform: translateY(-1px);
}

.btn-sage {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.875rem 2rem;
  background-color: var(--color-sage);
  color: #ffffff;
  font-weight: 600;
  border-radius: var(--radius-full);
  transition: all var(--transition-base);
}

.btn-sage:hover {
  background-color: var(--color-sage-dark);
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  background-color: transparent;
  color: var(--color-terracotta);
  font-weight: 600;
  border-radius: var(--radius-full);
  border: 2px solid var(--color-terracotta);
  transition: all var(--transition-base);
}

.btn-outline:hover {
  background-color: var(--color-terracotta);
  color: #ffffff;
}

.btn-sm {
  padding: 0.5rem 1.25rem;
  font-size: 0.875rem;
}

.btn-lg {
  padding: 1rem 2.5rem;
  font-size: 1.125rem;
}

/* Add to Cart Button */
.btn-add-cart {
  padding: 0.5rem;
  background-color: rgba(193, 124, 90, 0.1);
  color: var(--color-terracotta);
  border-radius: var(--radius-md);
  transition: all 0.2s ease;
}

.btn-add-cart:hover {
  background-color: var(--color-terracotta);
  color: #ffffff;
}

/* ========================================
   PRODUCT CARDS
   ======================================== */
.product-card {
  background-color: var(--color-cream);
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid rgba(212, 196, 168, 0.2);
  transition: all var(--transition-base);
}

.product-card:hover {
  box-shadow: 0 12px 30px rgba(61, 61, 61, 0.05);
  transform: translateY(-4px);
}

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

.product-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

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

.product-badge {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  padding: 0.25rem 0.625rem;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 700;
  color: #ffffff;
  z-index: 2;
}

.product-badge-bestseller {
  background-color: var(--color-terracotta);
}

.product-badge-new {
  background-color: var(--color-charcoal);
}

.product-badge-personalise {
  background-color: var(--color-sage);
}

.product-badge-sale {
  background-color: #dc2626;
}

.product-wishlist-btn {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  padding: 0.5rem;
  background-color: rgba(255, 255, 255, 0.9);
  border-radius: var(--radius-full);
  opacity: 0;
  transition: opacity var(--transition-base), background-color var(--transition-base);
  z-index: 2;
}

.product-card:hover .product-wishlist-btn {
  opacity: 1;
}

.product-wishlist-btn:hover {
  background-color: #ffffff;
}

.product-wishlist-btn.active {
  opacity: 1;
}

.product-wishlist-btn.active .iconify {
  color: #dc2626;
}

.product-quick-view {
  position: absolute;
  bottom: 0.75rem;
  left: 0.75rem;
  right: 0.75rem;
  padding: 0.625rem;
  background-color: rgba(61, 61, 61, 0.9);
  color: #ffffff;
  font-size: 0.875rem;
  font-weight: 600;
  text-align: center;
  border-radius: var(--radius-md);
  opacity: 0;
  transform: translateY(8px);
  transition: all var(--transition-base);
  z-index: 2;
}

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

.product-quick-view:hover {
  background-color: var(--color-charcoal);
}

.product-card-body {
  padding: 1rem;
}

.product-category {
  font-size: 0.75rem;
  color: var(--color-sage-dark);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.25rem;
}

.product-title {
  font-family: var(--font-sans);
  font-weight: 600;
  color: var(--color-charcoal);
  font-size: 0.9375rem;
  margin-bottom: 0.5rem;
  transition: color var(--transition-base);
  line-height: 1.4;
}

.product-card:hover .product-title {
  color: var(--color-terracotta);
}

.product-price {
  font-weight: 700;
  color: var(--color-terracotta);
  font-size: 1.125rem;
}

.product-price-was {
  font-weight: 400;
  color: var(--color-charcoal-light);
  font-size: 0.875rem;
  text-decoration: line-through;
  margin-left: 0.5rem;
}

/* ========================================
   CATEGORY CARDS
   ======================================== */
.category-card {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-xl);
  aspect-ratio: 4 / 5;
  transition: all var(--transition-base);
}

.category-card:hover {
  box-shadow: var(--shadow-medium);
}

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

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

.category-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(61, 61, 61, 0.7), rgba(61, 61, 61, 0.2), transparent);
}

.category-card-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1rem;
}

.category-card-title {
  font-family: var(--font-serif);
  font-weight: 700;
  color: #ffffff;
  font-size: 1.125rem;
  margin-bottom: 0;
}

.category-card-link {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.875rem;
  display: flex;
  align-items: center;
  gap: 0.25rem;
  margin-top: 0.25rem;
  transition: color var(--transition-base);
}

.category-card:hover .category-card-link {
  color: #ffffff;
}

/* ========================================
   BENEFIT / FEATURE CARDS
   ======================================== */
.benefit-card {
  background-color: var(--color-cream);
  border-radius: var(--radius-xl);
  padding: 1.5rem;
  text-align: center;
  border: 1px solid rgba(212, 196, 168, 0.2);
  transition: all var(--transition-base);
}

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

.benefit-icon {
  width: 3.5rem;
  height: 3.5rem;
  border-radius: var(--radius-xl);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
}

.benefit-icon-sage {
  background-color: rgba(139, 158, 126, 0.15);
  color: var(--color-sage-dark);
}

.benefit-icon-blush {
  background-color: rgba(242, 221, 213, 0.5);
  color: var(--color-terracotta);
}

/* ========================================
   STEP / HOW IT WORKS
   ======================================== */
.step-number {
  width: 4rem;
  height: 4rem;
  background-color: var(--color-terracotta);
  color: #ffffff;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem;
  font-size: 1.25rem;
  font-weight: 700;
  box-shadow: 0 4px 15px rgba(193, 124, 90, 0.2);
}

.step-connector {
  position: absolute;
  top: 2rem;
  left: 60%;
  width: 80%;
  border-top: 2px dashed var(--color-oak-light);
}

/* ========================================
   REVIEW CARDS
   ======================================== */
.review-card {
  background-color: #ffffff;
  border-radius: var(--radius-xl);
  padding: 1.5rem;
  border: 1px solid rgba(212, 196, 168, 0.2);
  box-shadow: 0 2px 8px rgba(61, 61, 61, 0.03);
  height: 100%;
  display: flex;
  flex-direction: column;
}

.review-stars {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  margin-bottom: 0.75rem;
  color: #fbbf24;
}

.review-text {
  color: var(--color-charcoal-light);
  line-height: 1.7;
  flex: 1;
  margin-bottom: 1rem;
}

.review-author {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.review-avatar {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.875rem;
}

.review-avatar-blush {
  background-color: var(--color-blush-light);
  color: var(--color-terracotta);
}

.review-avatar-sage {
  background-color: rgba(139, 158, 126, 0.15);
  color: var(--color-sage-dark);
}

/* ========================================
   REVIEW CAROUSEL
   ======================================== */
.carousel-container {
  position: relative;
  overflow: hidden;
}

.carousel-track {
  display: flex;
  transition: transform var(--transition-slow);
}

.carousel-btn {
  padding: 0.75rem;
  background-color: #ffffff;
  border-radius: var(--radius-full);
  border: 1px solid rgba(212, 196, 168, 0.3);
  box-shadow: 0 2px 8px rgba(61, 61, 61, 0.05);
  transition: background-color var(--transition-base);
}

.carousel-btn:hover {
  background-color: var(--color-cream-dark);
}

.carousel-dot {
  width: 0.625rem;
  height: 0.625rem;
  border-radius: var(--radius-full);
  transition: background-color var(--transition-base);
}

.carousel-dot.active {
  background-color: var(--color-terracotta);
}

.carousel-dot.inactive {
  background-color: var(--color-oak-light);
}

/* ========================================
   INSPIRATION CARDS
   ======================================== */
.inspiration-card {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-2xl);
  aspect-ratio: 3 / 2;
  transition: all var(--transition-base);
}

.inspiration-card:hover {
  box-shadow: var(--shadow-heavy);
}

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

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

.inspiration-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(61, 61, 61, 0.8), rgba(61, 61, 61, 0.3), transparent);
}

.inspiration-badge {
  display: inline-block;
  background-color: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-full);
  margin-bottom: 0.5rem;
}

/* ========================================
   FAQ ACCORDION
   ======================================== */
.faq-item {
  background-color: #ffffff;
  border-radius: var(--radius-xl);
  border: 1px solid rgba(212, 196, 168, 0.2);
  overflow: hidden;
  transition: box-shadow var(--transition-base);
}

.faq-item:has(.faq-content:not(.hidden)) {
  box-shadow: var(--shadow-soft);
}

.faq-toggle {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem;
  text-align: left;
  transition: background-color var(--transition-base);
}

.faq-toggle:hover {
  background-color: rgba(245, 236, 223, 0.3);
}

.faq-toggle[aria-expanded="true"] .faq-chevron {
  transform: rotate(180deg);
}

.faq-chevron {
  flex-shrink: 0;
  transition: transform var(--transition-base);
}

.faq-content {
  padding: 0 1.25rem 1.25rem;
}

.faq-content p {
  color: var(--color-charcoal-light);
  line-height: 1.7;
}

/* ========================================
   NEWSLETTER SECTION
   ======================================== */
.newsletter-section {
  background: linear-gradient(135deg, var(--color-sage-dark), var(--color-sage), var(--color-sage-light));
  position: relative;
  overflow: hidden;
}

.newsletter-glow-1 {
  position: absolute;
  top: 2.5rem;
  left: 2.5rem;
  width: 10rem;
  height: 10rem;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-full);
  filter: blur(60px);
}

.newsletter-glow-2 {
  position: absolute;
  bottom: 2.5rem;
  right: 2.5rem;
  width: 15rem;
  height: 15rem;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-full);
  filter: blur(60px);
}

.newsletter-input {
  flex: 1;
  padding: 0.875rem 1.25rem;
  border-radius: var(--radius-full);
  background-color: #ffffff;
  color: var(--color-charcoal);
  border: none;
  font-size: 0.875rem;
}

.newsletter-input::placeholder {
  color: var(--color-charcoal-light);
}

.newsletter-input:focus {
  outline: none;
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.5);
}

/* ========================================
   DISCLAIMER BOX
   ======================================== */
.disclaimer-box {
  background-color: #ffffff;
  border-radius: var(--radius-xl);
  padding: 1.5rem;
  border: 1px solid rgba(212, 196, 168, 0.3);
  max-width: 56rem;
  margin: 0 auto;
}

/* ========================================
   TRUST BAR
   ======================================== */
.trust-bar {
  background-color: #ffffff;
  border-top: 1px solid rgba(212, 196, 168, 0.2);
  border-bottom: 1px solid rgba(212, 196, 168, 0.2);
}

.trust-item {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 0.75rem;
}

/* ========================================
   SECTION BADGES
   ======================================== */
.section-badge {
  display: inline-block;
  padding: 0.375rem 1rem;
  border-radius: var(--radius-full);
  font-size: 0.875rem;
  font-weight: 500;
  margin-bottom: 1rem;
}

.section-badge-sage {
  background-color: rgba(139, 158, 126, 0.1);
  color: var(--color-sage-dark);
}

.section-badge-blush {
  background-color: rgba(242, 221, 213, 0.5);
  color: var(--color-terracotta-dark);
}

.section-badge-terracotta {
  background-color: rgba(193, 124, 90, 0.1);
  color: var(--color-terracotta-dark);
}

/* ========================================
   FORMS
   ======================================== */
.form-input {
  width: 100%;
  padding: 0.75rem 1rem;
  background-color: #ffffff;
  border: 1px solid rgba(212, 196, 168, 0.4);
  border-radius: var(--radius-lg);
  color: var(--color-charcoal);
  font-size: 0.9375rem;
  transition: border-color var(--transition-base), box-shadow var(--transition-base);
}

.form-input:focus {
  outline: none;
  border-color: var(--color-terracotta);
  box-shadow: 0 0 0 3px rgba(193, 124, 90, 0.1);
}

.form-input::placeholder {
  color: var(--color-charcoal-light);
  opacity: 0.7;
}

.form-input:invalid:not(:placeholder-shown) {
  border-color: #dc2626;
}

.form-label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-charcoal);
  margin-bottom: 0.375rem;
}

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

.form-checkbox {
  width: 1.125rem;
  height: 1.125rem;
  border: 2px solid var(--color-oak-light);
  border-radius: 4px;
  accent-color: var(--color-terracotta);
  cursor: pointer;
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-error {
  color: #dc2626;
  font-size: 0.8125rem;
  margin-top: 0.25rem;
}

.form-success {
  background-color: rgba(139, 158, 126, 0.1);
  border: 1px solid var(--color-sage);
  border-radius: var(--radius-lg);
  padding: 1rem 1.25rem;
  color: var(--color-sage-dark);
  font-weight: 500;
}

/* ========================================
   MODALS
   ======================================== */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background-color: rgba(61, 61, 61, 0.6);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 200;
}

.modal-content {
  background-color: #ffffff;
  border-radius: var(--radius-2xl);
  box-shadow: var(--shadow-heavy);
  max-width: 42rem;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
}

.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem;
  border-bottom: 1px solid rgba(212, 196, 168, 0.2);
}

/* ========================================
   COOKIE CONSENT
   ======================================== */
.cookie-banner {
  position: fixed;
  bottom: 0;
  right: 0;
  left: 0;
  z-index: 150;
}

@media (min-width: 640px) {
  .cookie-banner {
    bottom: 1rem;
    right: 1rem;
    left: auto;
    max-width: 28rem;
  }
}

.cookie-banner-inner {
  background-color: #ffffff;
  border-radius: var(--radius-2xl) var(--radius-2xl) 0 0;
  box-shadow: var(--shadow-heavy);
  border: 1px solid rgba(212, 196, 168, 0.2);
  padding: 1.5rem;
}

@media (min-width: 640px) {
  .cookie-banner-inner {
    border-radius: var(--radius-2xl);
  }
}

.cookie-toggle-track {
  width: 3rem;
  height: 1.5rem;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  padding: 0 2px;
  transition: background-color var(--transition-base);
  cursor: pointer;
}

.cookie-toggle-track[data-enabled="false"] {
  background-color: #d1d5db;
}

.cookie-toggle-track[data-enabled="true"] {
  background-color: var(--color-sage);
}

.cookie-toggle-thumb {
  width: 1.25rem;
  height: 1.25rem;
  background-color: #ffffff;
  border-radius: var(--radius-full);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.15);
  transition: transform var(--transition-base);
}

.cookie-toggle-track[data-enabled="true"] .cookie-toggle-thumb {
  transform: translateX(1.5rem);
}

/* ========================================
   FOOTER
   ======================================== */
.site-footer {
  background-color: var(--color-charcoal);
  color: rgba(255, 255, 255, 0.8);
}

.footer-heading {
  font-weight: 600;
  color: #ffffff;
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 1rem;
}

.footer-link {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.875rem;
  transition: color var(--transition-base);
  display: block;
  padding: 0.3125rem 0;
}

.footer-link:hover {
  color: #ffffff;
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.875rem;
  margin-bottom: 0.5rem;
}

.footer-contact-icon {
  color: var(--color-sage-light);
  flex-shrink: 0;
  margin-top: 2px;
}

.payment-icons {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.secure-badge {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background-color: rgba(255, 255, 255, 0.1);
  padding: 0.5rem 1rem;
  border-radius: var(--radius-full);
}

/* ========================================
   PAGE-SPECIFIC: BREADCRUMBS
   ======================================== */
.breadcrumbs {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: var(--color-charcoal-light);
  flex-wrap: wrap;
}

.breadcrumbs a {
  color: var(--color-charcoal-light);
  transition: color var(--transition-base);
}

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

.breadcrumbs .separator {
  color: var(--color-oak-light);
}

.breadcrumbs .current {
  color: var(--color-charcoal);
  font-weight: 500;
}

/* ========================================
   PAGE-SPECIFIC: PRODUCT GRID
   ======================================== */
.product-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

@media (min-width: 640px) {
  .product-grid {
    gap: 1.5rem;
  }
}

@media (min-width: 768px) {
  .product-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 1024px) {
  .product-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* ========================================
   PAGE-SPECIFIC: FILTER SIDEBAR
   ======================================== */
.filter-section {
  margin-bottom: 1.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid rgba(212, 196, 168, 0.2);
}

.filter-section:last-child {
  border-bottom: none;
}

.filter-title {
  font-weight: 600;
  font-size: 0.875rem;
  color: var(--color-charcoal);
  margin-bottom: 0.75rem;
}

.filter-option {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.375rem 0;
  font-size: 0.875rem;
  color: var(--color-charcoal-light);
  cursor: pointer;
  transition: color var(--transition-base);
}

.filter-option:hover {
  color: var(--color-charcoal);
}

.filter-count {
  margin-left: auto;
  font-size: 0.75rem;
  color: var(--color-oak);
}

/* ========================================
   PAGE-SPECIFIC: LEGAL PAGES
   ======================================== */
.legal-content {
  max-width: 48rem;
  margin: 0 auto;
}

.legal-content h2 {
  font-size: 1.5rem;
  margin-top: 2.5rem;
  margin-bottom: 0.75rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid rgba(212, 196, 168, 0.3);
}

.legal-content h3 {
  font-size: 1.125rem;
  margin-top: 1.75rem;
  margin-bottom: 0.5rem;
  color: var(--color-charcoal);
}

.legal-content p {
  color: var(--color-charcoal-light);
  margin-bottom: 1rem;
  line-height: 1.8;
}

.legal-content ul,
.legal-content ol {
  color: var(--color-charcoal-light);
  padding-left: 1.5rem;
  margin-bottom: 1rem;
}

.legal-content li {
  margin-bottom: 0.5rem;
  line-height: 1.7;
}

.legal-content a {
  color: var(--color-terracotta);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.legal-content a:hover {
  color: var(--color-terracotta-dark);
}

.legal-meta {
  background-color: var(--color-cream-dark);
  border-radius: var(--radius-lg);
  padding: 1rem 1.25rem;
  margin-bottom: 2rem;
  font-size: 0.875rem;
  color: var(--color-charcoal-light);
}

.legal-toc {
  background-color: #ffffff;
  border: 1px solid rgba(212, 196, 168, 0.2);
  border-radius: var(--radius-xl);
  padding: 1.5rem;
  margin-bottom: 2rem;
}

.legal-toc-title {
  font-weight: 600;
  color: var(--color-charcoal);
  margin-bottom: 0.75rem;
  font-size: 0.9375rem;
}

.legal-toc ol {
  padding-left: 1.25rem;
  margin: 0;
}

.legal-toc li {
  margin-bottom: 0.375rem;
  font-size: 0.875rem;
}

.legal-toc a {
  color: var(--color-terracotta);
  text-decoration: none;
}

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

/* ========================================
   PAGE-SPECIFIC: CONTACT PAGE
   ======================================== */
.contact-card {
  background-color: #ffffff;
  border-radius: var(--radius-xl);
  padding: 2rem;
  border: 1px solid rgba(212, 196, 168, 0.2);
  text-align: center;
  transition: box-shadow var(--transition-base);
}

.contact-card:hover {
  box-shadow: var(--shadow-soft);
}

.contact-icon-wrapper {
  width: 4rem;
  height: 4rem;
  border-radius: var(--radius-xl);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
}

/* ========================================
   PAGE-SPECIFIC: ABOUT PAGE
   ======================================== */
.about-image {
  border-radius: var(--radius-2xl);
  overflow: hidden;
  box-shadow: var(--shadow-medium);
}

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

.about-stat {
  text-align: center;
  padding: 1.5rem;
}

.about-stat-number {
  font-family: var(--font-serif);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--color-terracotta);
  line-height: 1;
  margin-bottom: 0.25rem;
}

.about-stat-label {
  font-size: 0.875rem;
  color: var(--color-charcoal-light);
}

/* ========================================
   QUANTITY SELECTOR
   ======================================== */
.qty-selector {
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(212, 196, 168, 0.3);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.qty-btn {
  padding: 0.5rem 0.75rem;
  transition: background-color var(--transition-base);
  font-weight: 500;
}

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

.qty-value {
  padding: 0.5rem 0.75rem;
  font-weight: 500;
  min-width: 2rem;
  text-align: center;
}

/* ========================================
   PRICE RANGE SLIDER (simple)
   ======================================== */
input[type="range"] {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 4px;
  background: var(--color-oak-light);
  border-radius: 2px;
  outline: none;
}

input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--color-terracotta);
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(193, 124, 90, 0.3);
}

input[type="range"]::-moz-range-thumb {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--color-terracotta);
  cursor: pointer;
  border: none;
  box-shadow: 0 2px 6px rgba(193, 124, 90, 0.3);
}

/* ========================================
   LOADING / SKELETON
   ======================================== */
.skeleton {
  background: linear-gradient(90deg, var(--color-cream-dark) 25%, var(--color-cream) 50%, var(--color-cream-dark) 75%);
  background-size: 200% 100%;
  animation: skeleton-loading 1.5s infinite;
  border-radius: var(--radius-md);
}

@keyframes skeleton-loading {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* ========================================
   ANIMATIONS
   ======================================== */
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

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

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

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

@keyframes pulse-soft {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.7; }
}

.animate-fade-in {
  animation: fadeIn 0.5s ease-in forwards;
}

.animate-slide-up {
  animation: slideUp 0.6s ease-out forwards;
}

.animate-slide-down {
  animation: slideDown 0.3s ease-out forwards;
}

.animate-scale-in {
  animation: scaleIn 0.3s ease-out forwards;
}

/* Scroll reveal support */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* ========================================
   UTILITY CLASSES
   ======================================== */
.container-main {
  max-width: 80rem;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1rem;
  padding-right: 1rem;
}

@media (min-width: 640px) {
  .container-main {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }
}

@media (min-width: 1024px) {
  .container-main {
    padding-left: 2.5rem;
    padding-right: 2.5rem;
  }
}

.section-padding {
  padding-top: 4rem;
  padding-bottom: 4rem;
}

@media (min-width: 640px) {
  .section-padding {
    padding-top: 5rem;
    padding-bottom: 5rem;
  }
}

.text-gradient {
  background: linear-gradient(135deg, var(--color-terracotta), var(--color-terracotta-dark));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.bg-pattern {
  background-image: radial-gradient(circle at 1px 1px, rgba(212, 196, 168, 0.15) 1px, transparent 0);
  background-size: 24px 24px;
}

.line-clamp-2 {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.line-clamp-3 {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ========================================
   PAGE TRANSITION
   ======================================== */
.page-enter {
  animation: fadeIn 0.4s ease-in;
}

/* ========================================
   STICKY ADD TO CART BAR (product pages)
   ======================================== */
.sticky-add-to-cart {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: #ffffff;
  border-top: 1px solid rgba(212, 196, 168, 0.3);
  box-shadow: 0 -4px 20px rgba(61, 61, 61, 0.08);
  padding: 0.75rem 1rem;
  z-index: 40;
  transform: translateY(100%);
  transition: transform var(--transition-base);
}

.sticky-add-to-cart.visible {
  transform: translateY(0);
}

/* ========================================
   PRINT STYLES
   ======================================== */
@media print {
  .site-header,
  .site-footer,
  .cookie-banner,
  .sticky-add-to-cart,
  .newsletter-section {
    display: none !important;
  }

  body {
    background: #ffffff;
    color: #000000;
    font-size: 12pt;
  }

  a {
    text-decoration: underline;
    color: #000000;
  }

  .legal-content {
    max-width: 100%;
  }
}

/* ========================================
   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;
  }

  .product-card:hover {
    transform: none;
  }

  .benefit-card:hover {
    transform: none;
  }

  .category-card img,
  .inspiration-card img,
  .product-card-image img {
    transition: none;
  }

  .carousel-track {
    transition: none;
  }
}