@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;600;700&family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400&display=swap');

/* ==========================================
   DESIGN SYSTEM & VARIABLES - HERITAGE APOTHECARY
   ========================================== */
:root {
  --bg-primary: #f7f4eb;       /* Warm linen / cream */
  --bg-secondary: #efebe0;     /* Soft warm clay/cream */
  --bg-card: #ffffff;          /* Clean white cards */
  --bg-input: #fdfdfb;
  --border-color: #d6cfbe;      /* Soft parchment border */
  --border-focus: #1b3b2b;      /* Deep forest green */
  
  --text-primary: #1d2721;      /* Rich dark olive-black */
  --text-secondary: #4a544e;    /* Olive slate gray */
  --text-muted: #8a948e;        /* Faded green-gray */
  
  --gold-primary: #b58252;      /* Warm brass / copper */
  --gold-hover: #9e6e41;
  --gold-dark: #80532c;
  --gold-glow: rgba(181, 130, 82, 0.12);
  
  --danger: #a63a50;            /* Warm wine red */
  --success: #2e6f40;           /* Deep botanical green */
  
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body: 'Montserrat', sans-serif;
  
  --header-height: 80px;
  --max-width: 1200px;
  --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  --border-radius: 4px;         /* Slightly sharper corner for heritage feel */
  --shadow: 0 8px 30px rgba(29, 39, 33, 0.05); /* Soft natural shadow */
  --glass: rgba(247, 244, 235, 0.92);
}

/* ==========================================
   RESET & BASE STYLES
   ========================================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  background-color: var(--bg-primary);
  color: var(--text-primary);
  font-family: var(--font-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition);
}

button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
  background: none;
  border: none;
  outline: none;
}

button {
  cursor: pointer;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

ul {
  list-style: none;
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
  width: 100%;
}

.section-padding {
  padding: 80px 0;
}

/* ==========================================
   TYPOGRAPHY
   ========================================== */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: 0.2px;
  line-height: 1.3;
}

h1 {
  font-size: 3rem;
  margin-bottom: 16px;
}

h2 {
  font-size: 2.2rem;
  margin-bottom: 24px;
  position: relative;
  display: inline-block;
}

h2.centered {
  display: block;
  text-align: center;
  margin-bottom: 40px;
}

h2.centered::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 2px;
  background: var(--gold-primary);
}

p {
  color: var(--text-secondary);
  margin-bottom: 16px;
  font-weight: 400;
}

.text-gold {
  color: var(--gold-primary);
}

/* ==========================================
   HEADER & NAVIGATION
   ========================================== */
header {
  background-color: var(--glass);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-color);
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  z-index: 100;
  transition: var(--transition);
}

header.scrolled {
  height: 70px;
  background-color: var(--bg-primary);
  box-shadow: 0 5px 15px rgba(29, 39, 33, 0.05);
}

header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 100%;
}

.logo-container {
  display: flex;
  align-items: center;
  width: 200px;
  height: 45px;
}

.logo-container img {
  height: 100%;
  width: auto;
}

nav {
  display: flex;
  gap: 32px;
}

nav a {
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-weight: 600;
  padding: 8px 0;
  position: relative;
  color: var(--text-primary);
}

nav a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--gold-primary);
  transition: var(--transition);
}

nav a:hover, nav a.active {
  color: var(--gold-primary);
}

nav a:hover::after, nav a.active::after {
  width: 100%;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 20px;
}

.header-btn {
  background: none;
  border: none;
  font-size: 1.25rem;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  position: relative;
  transition: var(--transition);
}

.header-btn:hover {
  background-color: var(--bg-secondary);
  color: var(--gold-primary);
}

.cart-icon-badge {
  position: absolute;
  top: 4px;
  right: 4px;
  background-color: var(--border-focus); /* Deep green badge */
  color: var(--bg-primary);
  font-size: 0.65rem;
  font-weight: 700;
  min-width: 16px;
  height: 16px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 4px;
}

/* ==========================================
   BUTTONS
   ========================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  border-radius: var(--border-radius);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background-color: var(--border-focus); /* Deep forest green */
  color: var(--bg-primary);
  box-shadow: 0 4px 10px rgba(27, 59, 43, 0.15);
}

.btn-primary:hover {
  background-color: #122a1e;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(27, 59, 43, 0.25);
}

.btn-secondary {
  border: 1px solid var(--border-color);
  color: var(--text-primary);
  background-color: transparent;
}

.btn-secondary:hover {
  border-color: var(--border-focus);
  color: var(--border-focus);
  background-color: rgba(27, 59, 43, 0.03);
}

.btn-text {
  padding: 8px 0;
  color: var(--border-focus);
  letter-spacing: 1px;
  font-weight: 600;
}

.btn-text:hover {
  color: var(--gold-primary);
}

.btn-text svg {
  margin-left: 6px;
  transition: var(--transition);
}

.btn-text:hover svg {
  transform: translateX(4px);
}

/* ==========================================
   HERO BANNER
   ========================================== */
.hero {
  height: 100vh;
  min-height: 600px;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, rgba(27, 59, 43, 0.95) 30%, rgba(27, 59, 43, 0.75) 100%), 
              url('../images/products/billion-dopp-kit.webp') no-repeat center center;
  background-size: cover;
  background-attachment: fixed;
  padding-top: var(--header-height);
  color: #ffffff; /* Explicit light text inside dark hero */
}

.hero-content {
  max-width: 600px;
  z-index: 10;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 1s cubic-bezier(0.25, 1, 0.5, 1) forwards;
}

.hero-subtitle {
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 4px;
  color: var(--gold-primary);
  margin-bottom: 16px;
  font-weight: 600;
}

.hero-content h1 {
  line-height: 1.15;
  margin-bottom: 24px;
  font-size: 3.5rem;
  color: #ffffff;
}

.hero-description {
  font-size: 1.1rem;
  margin-bottom: 36px;
  color: #d1ded6; /* light sage */
}

.hero-actions-container {
  display: flex;
  gap: 16px;
}

.hero .btn-primary {
  background-color: var(--gold-primary);
  color: #121212;
  box-shadow: 0 4px 10px rgba(181, 130, 82, 0.2);
}

.hero .btn-primary:hover {
  background-color: var(--gold-hover);
  box-shadow: 0 6px 20px rgba(181, 130, 82, 0.4);
}

.hero .btn-secondary {
  border-color: rgba(255,255,255,0.4);
  color: #ffffff;
}

.hero .btn-secondary:hover {
  border-color: var(--gold-primary);
  color: var(--gold-primary);
  background-color: rgba(255,255,255,0.05);
}

/* ==========================================
   FEATURED CATEGORIES
   ========================================== */
.categories-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 40px;
}

.category-card {
  height: 380px;
  position: relative;
  border-radius: var(--border-radius);
  overflow: hidden;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow);
  background-color: var(--bg-card);
}

.category-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s cubic-bezier(0.25, 1, 0.5, 1);
}

.category-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to top, rgba(29, 39, 33, 0.9) 15%, rgba(29, 39, 33, 0.2) 60%, rgba(29, 39, 33, 0) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 30px 24px;
  z-index: 2;
  transition: var(--transition);
}

.category-card h3 {
  font-size: 1.5rem;
  color: #ffffff;
  margin-bottom: 6px;
  transition: var(--transition);
}

.category-link-text {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--gold-primary);
  font-weight: 600;
  display: flex;
  align-items: center;
  opacity: 0;
  transform: translateY(10px);
  transition: var(--transition);
}

.category-card:hover img {
  transform: scale(1.08);
}

.category-card:hover .category-overlay {
  background: linear-gradient(to top, rgba(29, 39, 33, 0.95) 25%, rgba(29, 39, 33, 0.3) 70%, rgba(29, 39, 33, 0) 100%);
}

.category-card:hover h3 {
  color: var(--gold-primary);
  transform: translateY(-5px);
}

.category-card:hover .category-link-text {
  opacity: 1;
  transform: translateY(0);
}

/* ==========================================
   PRODUCT CARDS
   ========================================== */
.products-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}

.product-card {
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  overflow: hidden;
  transition: var(--transition);
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.product-image-container {
  height: 250px;
  background-color: #FAF8F5;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--border-color);
}

.product-image-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.product-tag {
  position: absolute;
  top: 12px;
  left: 12px;
  background-color: var(--border-focus); /* green tag */
  color: var(--bg-primary);
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  padding: 4px 8px;
  border-radius: 2px;
  z-index: 10;
  letter-spacing: 1px;
}

.product-quick-add {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: var(--border-focus);
  color: var(--bg-primary);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 12px;
  text-align: center;
  transform: translateY(100%);
  transition: var(--transition);
  z-index: 5;
}

.product-card:hover .product-quick-add {
  transform: translateY(0);
}

.product-card:hover .product-image-container img {
  transform: scale(1.05);
}

.product-card:hover {
  transform: translateY(-5px);
  border-color: var(--border-focus);
  box-shadow: 0 8px 30px rgba(27, 59, 43, 0.08);
}

.product-info {
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.product-category {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--text-muted);
  margin-bottom: 6px;
  font-weight: 500;
}

.product-title {
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 8px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  height: 2.8em;
  transition: var(--transition);
}

.product-title:hover {
  color: var(--border-focus);
}

.product-rating {
  display: flex;
  gap: 2px;
  color: var(--gold-primary);
  font-size: 0.75rem;
  margin-bottom: 12px;
}

.product-rating span {
  color: var(--text-muted);
  font-size: 0.7rem;
  margin-left: 6px;
}

.product-price {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--border-focus); /* Green color for prices */
  margin-top: auto;
}

/* ==========================================
   BRAND PROMISE / BENEFITS
   ========================================== */
.benefits-section {
  background-color: var(--bg-secondary);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.benefit-card {
  text-align: center;
  padding: 20px;
}

.benefit-icon {
  font-size: 2.5rem;
  color: var(--gold-primary);
  margin-bottom: 20px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.benefit-card h3 {
  font-size: 1.25rem;
}

.benefit-card p {
  font-size: 0.9rem;
  max-width: 300px;
  margin: 0 auto;
}

/* ==========================================
   HERITAGE TEASER
   ========================================== */
.heritage-teaser {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 60px;
  align-items: center;
}

.heritage-image-wrapper {
  position: relative;
  width: fit-content;
  margin: 0 auto;
}

.heritage-image-wrapper::before {
  display: none; /* Removed offset border completely to avoid crooked look */
}

.heritage-image {
  border-radius: var(--border-radius);
  position: relative;
  z-index: 2;
  box-shadow: var(--shadow);
  border: 1px solid var(--gold-primary); /* Center brass border */
  padding: 10px;                         /* Symmetrical frame padding */
  background-color: var(--bg-card);      /* Card background */
}

.heritage-content h2 {
  margin-bottom: 24px;
}

/* ==========================================
   TESTIMONIALS
   ========================================== */
.testimonials-section {
  background-color: var(--bg-secondary);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.testimonial-card {
  background-color: var(--bg-card);
  padding: 30px;
  border-radius: var(--border-radius);
  border: 1px solid var(--border-color);
  position: relative;
  box-shadow: var(--shadow);
}

.testimonial-card::before {
  content: '"';
  position: absolute;
  top: 15px;
  right: 25px;
  font-family: var(--font-display);
  font-size: 5rem;
  color: rgba(181, 130, 82, 0.1);
  line-height: 1;
}

.testimonial-stars {
  color: var(--gold-primary);
  font-size: 0.85rem;
  margin-bottom: 16px;
}

.testimonial-text {
  font-size: 0.95rem;
  line-height: 1.7;
  font-style: italic;
  margin-bottom: 24px;
  color: var(--text-secondary);
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.author-initial {
  width: 36px;
  height: 36px;
  background-color: var(--border-focus);
  color: var(--bg-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.85rem;
}

.author-info h4 {
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 600;
}

.author-info span {
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* ==========================================
   NEWSLETTER
   ========================================== */
.newsletter-section {
  text-align: center;
}

.newsletter-content {
  max-width: 600px;
  margin: 0 auto;
}

.newsletter-content p {
  margin-bottom: 30px;
}

.newsletter-form {
  display: flex;
  gap: 12px;
  max-width: 500px;
  margin: 0 auto;
}

.newsletter-form input {
  flex-grow: 1;
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  padding: 14px 20px;
  border-radius: var(--border-radius);
  color: var(--text-primary);
  font-size: 0.9rem;
  transition: var(--transition);
}

.newsletter-form input:focus {
  border-color: var(--border-focus);
  box-shadow: 0 0 10px rgba(27, 59, 43, 0.05);
}

/* ==========================================
   FOOTER
   ========================================== */
footer {
  background-color: #142c20; /* Rich Forest Green */
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 80px 0 30px 0;
  color: #d1ded6; /* light sage text */
  font-size: 0.85rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 60px;
}

.footer-col h3 {
  font-family: var(--font-body);
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: #ffffff;
  margin-bottom: 24px;
}

.footer-col.brand-col p {
  margin-top: 20px;
  max-width: 300px;
  line-height: 1.7;
  color: #d1ded6;
}

.footer-col ul li {
  margin-bottom: 12px;
}

.footer-col ul li a:hover {
  color: var(--gold-primary);
  padding-left: 4px;
}

.social-links {
  display: flex;
  gap: 12px;
  margin-top: 20px;
}

.social-link {
  width: 36px;
  height: 36px;
  border-radius: var(--border-radius);
  border: 1px solid rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  transition: var(--transition);
}

.social-link:hover {
  border-color: var(--gold-primary);
  color: var(--gold-primary);
  background-color: rgba(255, 255, 255, 0.05);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-payment-methods {
  display: flex;
  gap: 8px;
  font-size: 1.5rem;
  color: #8fa095;
}

/* ==========================================
   CART DRAWER & OVERLAY
   ========================================== */
.drawer-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(29, 39, 33, 0.5); /* sage shadow */
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  backdrop-filter: blur(4px);
}

.drawer-overlay.open {
  opacity: 1;
  visibility: visible;
}

.cart-drawer {
  position: fixed;
  top: 0;
  right: -450px;
  width: 450px;
  max-width: 100vw;
  height: 100vh;
  background-color: var(--bg-secondary);
  border-left: 1px solid var(--border-color);
  z-index: 1001;
  box-shadow: -5px 0 30px rgba(29, 39, 33, 0.15);
  display: flex;
  flex-direction: column;
  transition: right 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.cart-drawer.open {
  right: 0;
}

.drawer-header {
  padding: 24px;
  border-bottom: 1px solid var(--border-color);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.drawer-header h3 {
  font-family: var(--font-body);
  font-size: 1.1rem;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.drawer-close {
  font-size: 1.5rem;
  color: var(--text-secondary);
  transition: var(--transition);
}

.drawer-close:hover {
  color: var(--border-focus);
}

.drawer-content {
  flex-grow: 1;
  overflow-y: auto;
  padding: 24px;
}

.drawer-free-shipping {
  background-color: var(--bg-card);
  padding: 16px;
  border-radius: var(--border-radius);
  border: 1px solid var(--border-color);
  margin-bottom: 24px;
  font-size: 0.85rem;
}

.progress-bar-container {
  width: 100%;
  height: 4px;
  background-color: var(--bg-secondary);
  border-radius: 2px;
  margin-top: 10px;
  overflow: hidden;
}

.progress-bar-fill {
  height: 100%;
  background-color: var(--border-focus);
  width: 0%;
  transition: width 0.5s ease;
}

.drawer-items {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.drawer-item {
  display: grid;
  grid-template-columns: 80px 1fr auto;
  gap: 16px;
  align-items: center;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border-color);
}

.drawer-item-img {
  width: 80px;
  height: 80px;
  background-color: var(--bg-primary);
  border-radius: var(--border-radius);
  border: 1px solid var(--border-color);
  overflow: hidden;
}

.drawer-item-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.drawer-item-info h4 {
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 4px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.drawer-item-price {
  font-size: 0.9rem;
  color: var(--border-focus);
  font-weight: 600;
  margin-bottom: 8px;
}

.quantity-selector {
  display: inline-flex;
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  background-color: var(--bg-primary);
}

.quantity-selector button {
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  transition: var(--transition);
}

.quantity-selector button:hover {
  color: var(--border-focus);
}

.quantity-selector input {
  width: 32px;
  text-align: center;
  font-size: 0.85rem;
  font-weight: 500;
  pointer-events: none;
  background: transparent;
}

.drawer-item-remove {
  font-size: 1.1rem;
  color: var(--text-muted);
  transition: var(--transition);
}

.drawer-item-remove:hover {
  color: var(--danger);
}

.drawer-footer {
  padding: 24px;
  border-top: 1px solid var(--border-color);
  background-color: var(--bg-card);
}

.drawer-subtotal {
  display: flex;
  justify-content: space-between;
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 16px;
}

.drawer-subtotal-price {
  color: var(--border-focus);
}

.drawer-footer p {
  font-size: 0.75rem;
  text-align: center;
  margin-bottom: 16px;
}

.drawer-footer .btn {
  width: 100%;
}

.drawer-empty-state {
  text-align: center;
  padding: 40px 0;
  color: var(--text-muted);
}

.drawer-empty-state svg {
  font-size: 3rem;
  margin-bottom: 16px;
  color: var(--border-color);
}

/* ==========================================
   PAGE HERO / HEADERS
   ========================================== */
.page-hero {
  background-color: var(--bg-secondary);
  border-bottom: 1px solid var(--border-color);
  padding: 120px 0 60px 0;
  text-align: center;
}

.page-hero h1 {
  font-size: 2.5rem;
  margin-bottom: 8px;
}

.breadcrumbs {
  font-size: 0.8rem;
  color: var(--text-muted);
  display: flex;
  justify-content: center;
  gap: 8px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.breadcrumbs a:hover {
  color: var(--border-focus);
}

/* ==========================================
   SHOP CATALOG PAGE
   ========================================== */
.shop-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 40px;
  margin-top: 40px;
}

.shop-sidebar {
  position: sticky;
  top: calc(var(--header-height) + 20px);
  height: fit-content;
}

.filter-widget {
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  padding: 24px;
  margin-bottom: 24px;
  box-shadow: var(--shadow);
}

.filter-widget h3 {
  font-family: var(--font-body);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 12px;
  margin-bottom: 16px;
}

.filter-search {
  display: flex;
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  background-color: var(--bg-primary);
  overflow: hidden;
}

.filter-search input {
  width: 100%;
  padding: 10px 14px;
  font-size: 0.85rem;
  background: transparent;
}

.filter-search button {
  padding: 0 14px;
  color: var(--text-muted);
}

.filter-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.filter-checkbox {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.85rem;
  cursor: pointer;
  user-select: none;
}

.filter-checkbox input {
  display: none;
}

.checkbox-box {
  width: 16px;
  height: 16px;
  border: 1px solid var(--border-color);
  border-radius: 2px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  background-color: var(--bg-primary);
}

.filter-checkbox input:checked + .checkbox-box {
  background-color: var(--border-focus);
  border-color: var(--border-focus);
}

.checkbox-box::after {
  content: '✓';
  color: var(--bg-primary);
  font-size: 0.65rem;
  font-weight: 700;
  display: none;
}

.filter-checkbox input:checked + .checkbox-box::after {
  display: block;
}

.filter-checkbox:hover .checkbox-box {
  border-color: var(--border-focus);
}

.price-slider-container {
  padding-top: 10px;
}

.price-range-inputs {
  display: flex;
  justify-content: space-between;
  margin-top: 15px;
  font-size: 0.85rem;
  align-items: center;
}

.price-range-inputs span {
  color: var(--text-muted);
}

.price-input {
  width: 65px;
  background-color: var(--bg-primary);
  border: 1px solid var(--border-color);
  padding: 6px;
  border-radius: 4px;
  text-align: center;
  font-size: 0.8rem;
}

.catalog-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  padding: 16px 24px;
  border-radius: var(--border-radius);
  margin-bottom: 30px;
  font-size: 0.85rem;
  box-shadow: var(--shadow);
}

.toolbar-info span {
  color: var(--text-muted);
}

.toolbar-sort {
  display: flex;
  align-items: center;
  gap: 12px;
}

.toolbar-sort select {
  background-color: var(--bg-primary);
  border: 1px solid var(--border-color);
  padding: 8px 16px;
  border-radius: var(--border-radius);
  cursor: pointer;
}

.toolbar-sort select:focus {
  border-color: var(--border-focus);
}

/* ==========================================
   PRODUCT DETAIL PAGE
   ========================================== */
.product-detail-layout {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 60px;
  margin-top: 60px;
}

.product-gallery {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.gallery-main {
  height: 500px;
  background-color: #FAF8F5;
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  box-shadow: var(--shadow);
}

.gallery-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.gallery-thumbs {
  display: flex;
  gap: 12px;
}

.thumb-item {
  width: 80px;
  height: 80px;
  background-color: #FAF8F5;
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  cursor: pointer;
  overflow: hidden;
  transition: var(--transition);
  opacity: 0.6;
}

.thumb-item.active, .thumb-item:hover {
  opacity: 1;
  border-color: var(--border-focus);
}

.thumb-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-details-content .product-title {
  font-family: var(--font-display);
  font-size: 2.2rem;
  line-height: 1.2;
  margin-bottom: 12px;
  height: auto;
}

.product-details-content .product-price {
  font-size: 1.8rem;
  color: var(--border-focus);
  margin-bottom: 24px;
}

.product-description-short {
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 30px;
}

.product-actions-bar {
  display: flex;
  gap: 16px;
  margin-bottom: 40px;
  padding-bottom: 30px;
  border-bottom: 1px solid var(--border-color);
}

.product-actions-bar .quantity-selector {
  border-color: var(--border-color);
}

.product-actions-bar .quantity-selector button {
  width: 44px;
  height: 44px;
  font-size: 1.1rem;
}

.product-actions-bar .quantity-selector input {
  width: 50px;
  font-size: 1rem;
}

.product-actions-bar .btn {
  flex-grow: 1;
}

/* Accordion specs */
.details-accordion {
  border-top: 1px solid var(--border-color);
}

.accordion-item {
  border-bottom: 1px solid var(--border-color);
}

.accordion-trigger {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 0;
  font-family: var(--font-body);
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 600;
  text-align: left;
}

.accordion-trigger:hover {
  color: var(--border-focus);
}

.accordion-icon {
  font-size: 1.1rem;
  transition: var(--transition);
}

.accordion-item.active .accordion-icon {
  transform: rotate(45deg);
}

.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.accordion-content-inner {
  padding-bottom: 20px;
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

.accordion-content-inner ul {
  padding-left: 20px;
  list-style: disc;
  margin-top: 10px;
}

.accordion-content-inner ul li {
  margin-bottom: 8px;
}

/* ==========================================
   CART PAGE
   ========================================== */
.cart-layout {
  display: grid;
  grid-template-columns: 1fr 350px;
  gap: 40px;
  margin-top: 40px;
}

.cart-table-wrapper {
  overflow-x: auto;
}

.cart-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

.cart-table th {
  border-bottom: 1px solid var(--border-color);
  padding: 16px;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-muted);
}

.cart-table td {
  padding: 24px 16px;
  border-bottom: 1px solid var(--border-color);
}

.cart-product-cell {
  display: flex;
  align-items: center;
  gap: 20px;
}

.cart-product-img {
  width: 80px;
  height: 80px;
  border-radius: var(--border-radius);
  overflow: hidden;
  background-color: #FAF8F5;
  border: 1px solid var(--border-color);
}

.cart-product-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cart-product-info h3 {
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 4px;
}

.cart-product-info p {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-bottom: 0;
}

.cart-price-cell {
  font-size: 1rem;
  font-weight: 500;
}

.cart-subtotal-cell {
  font-size: 1rem;
  font-weight: 600;
  color: var(--border-focus);
}

.cart-summary-widget {
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  padding: 30px;
  height: fit-content;
  position: sticky;
  top: calc(var(--header-height) + 20px);
  box-shadow: var(--shadow);
}

.cart-summary-widget h3 {
  font-family: var(--font-body);
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 24px;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 12px;
}

.summary-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 16px;
  font-size: 0.9rem;
}

.summary-row.total {
  font-size: 1.15rem;
  font-weight: 700;
  border-top: 1px solid var(--border-color);
  padding-top: 20px;
  margin-top: 20px;
  color: var(--text-primary);
}

.summary-row.total span:last-child {
  color: var(--border-focus);
}

.promo-code-box {
  display: flex;
  gap: 8px;
  margin-top: 24px;
  margin-bottom: 24px;
}

.promo-code-box input {
  flex-grow: 1;
  background-color: var(--bg-primary);
  border: 1px solid var(--border-color);
  padding: 10px 14px;
  border-radius: var(--border-radius);
  font-size: 0.85rem;
}

.promo-code-box input:focus {
  border-color: var(--border-focus);
}

.cart-summary-widget .btn {
  width: 100%;
}

.empty-cart-view {
  text-align: center;
  padding: 80px 0;
}

.empty-cart-view svg {
  font-size: 4rem;
  color: var(--border-color);
  margin-bottom: 24px;
}

.empty-cart-view h2 {
  font-family: var(--font-body);
  font-size: 1.5rem;
  margin-bottom: 16px;
}

/* ==========================================
   CHECKOUT PAGE (STRIPE MOCKUP)
   ========================================== */
.checkout-layout {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 40px;
  margin-top: 40px;
}

.checkout-steps {
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  padding: 40px;
  box-shadow: var(--shadow);
}

.checkout-step {
  margin-bottom: 40px;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 40px;
}

.checkout-step:last-child {
  margin-bottom: 0;
  border-bottom: none;
  padding-bottom: 0;
}

.step-title {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
}

.step-num {
  width: 28px;
  height: 28px;
  background-color: var(--border-focus);
  color: var(--bg-primary);
  font-weight: 700;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
}

.step-title h3 {
  font-family: var(--font-body);
  font-size: 1.1rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.form-col-full {
  grid-column: span 2;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-group label {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 600;
  color: var(--text-secondary);
}

.form-group input, .form-group select {
  background-color: var(--bg-primary);
  border: 1px solid var(--border-color);
  padding: 12px 16px;
  border-radius: var(--border-radius);
  color: var(--text-primary);
  font-size: 0.9rem;
  transition: var(--transition);
}

.form-group input:focus, .form-group select:focus {
  border-color: var(--border-focus);
  box-shadow: 0 0 10px rgba(27, 59, 43, 0.05);
}

/* Stripe elements mock input */
.stripe-mock-container {
  border: 1px solid var(--border-color);
  background-color: var(--bg-primary);
  padding: 14px 16px;
  border-radius: var(--border-radius);
  display: flex;
  align-items: center;
  gap: 12px;
  transition: var(--transition);
  position: relative;
}

.stripe-mock-container:focus-within {
  border-color: var(--border-focus);
  box-shadow: 0 0 10px rgba(27, 59, 43, 0.05);
}

.card-icon {
  color: var(--text-muted);
  font-size: 1.25rem;
  display: flex;
}

.stripe-mock-input {
  border: none;
  background: none;
  color: var(--text-primary);
  font-size: 0.9rem;
  width: 100%;
}

.checkout-summary-widget {
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  padding: 30px;
  height: fit-content;
  position: sticky;
  top: calc(var(--header-height) + 20px);
  box-shadow: var(--shadow);
}

.checkout-summary-widget h3 {
  font-family: var(--font-body);
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 20px;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 12px;
}

.checkout-items-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-height: 250px;
  overflow-y: auto;
  margin-bottom: 20px;
  padding-right: 8px;
}

.checkout-item-mini {
  display: grid;
  grid-template-columns: 50px 1fr auto;
  gap: 12px;
  align-items: center;
  font-size: 0.85rem;
}

.checkout-item-mini img {
  width: 50px;
  height: 50px;
  border-radius: 4px;
  background-color: var(--bg-primary);
  border: 1px solid var(--border-color);
}

.checkout-item-title {
  font-weight: 500;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.checkout-item-price {
  color: var(--border-focus);
  font-weight: 600;
}

.success-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(29, 39, 33, 0.85); /* sage overlay */
  backdrop-filter: blur(8px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
}

.success-modal-overlay.open {
  opacity: 1;
  visibility: visible;
}

.success-modal {
  background-color: var(--bg-card);
  border: 1px solid var(--border-focus);
  border-radius: 8px;
  max-width: 550px;
  width: 90%;
  padding: 40px;
  text-align: center;
  box-shadow: 0 15px 40px rgba(27, 59, 43, 0.15);
  transform: scale(0.9);
  transition: var(--transition);
}

.success-modal-overlay.open .success-modal {
  transform: scale(1);
}

.success-icon-badge {
  width: 70px;
  height: 70px;
  background-color: rgba(46, 111, 64, 0.1);
  border: 2px solid var(--success);
  color: var(--success);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.2rem;
  margin: 0 auto 24px auto;
  animation: scaleUp 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}

.success-modal h2 {
  font-size: 2rem;
  margin-bottom: 12px;
}

.success-modal p {
  margin-bottom: 24px;
}

.success-receipt-box {
  background-color: #faf8f5; /* light cream receipt box */
  border: 1px solid var(--border-color);
  padding: 24px;
  border-radius: var(--border-radius);
  text-align: left;
  font-family: monospace;
  font-size: 0.8rem;
  margin-bottom: 30px;
  max-height: 250px;
  overflow-y: auto;
  color: var(--text-primary);
}

.success-receipt-header {
  border-bottom: 1px dashed var(--border-color);
  padding-bottom: 12px;
  margin-bottom: 12px;
  text-align: center;
}

/* ==========================================
   E-GIFT CARD PAGE
   ========================================== */
.giftcard-layout {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 60px;
  margin-top: 40px;
}

.giftcard-designer {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

/* Live Preview Card */
.giftcard-preview-container {
  perspective: 1000px;
}

.giftcard-preview {
  height: 240px;
  width: 100%;
  max-width: 400px;
  margin: 0 auto;
  border-radius: 12px;
  border: 1px solid rgba(0, 0, 0, 0.1);
  position: relative;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(29, 39, 33, 0.15);
  padding: 30px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.6s ease;
  transform-style: preserve-3d;
}

/* Theme styles */
.giftcard-preview.theme-classic {
  background: linear-gradient(135deg, #1b3b2b 0%, #0f251a 100%); /* Deep Green classic */
  color: #ffffff;
  border-color: rgba(212, 175, 55, 0.3);
}

.giftcard-preview.theme-gold {
  background: linear-gradient(135deg, #aa7c11 0%, #e5c158 50%, #aa7c11 100%);
  color: #121212;
  border-color: rgba(255, 255, 255, 0.4);
}

.giftcard-preview.theme-woodgrain {
  background: linear-gradient(135deg, #2b1d0c 0%, #573b18 100%);
  color: #ffffff;
  border-color: rgba(212, 175, 55, 0.2);
}

.giftcard-preview-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

.giftcard-preview-logo {
  height: 24px;
}

.giftcard-preview-badge {
  font-size: 0.6rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  border: 1px solid currentColor;
  padding: 3px 8px;
  border-radius: 3px;
}

.giftcard-preview-amount {
  font-family: var(--font-display);
  font-size: 2.8rem;
  font-weight: 700;
  line-height: 1;
}

.giftcard-preview-footer {
  display: flex;
  justify-content: space-between;
  font-size: 0.7rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  opacity: 0.8;
}

/* Customizer forms */
.giftcard-options-widget {
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  padding: 30px;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
}

.giftcard-amount-options {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-top: 12px;
  margin-bottom: 16px;
}

.amount-btn {
  background-color: var(--bg-primary);
  border: 1px solid var(--border-color);
  padding: 12px;
  text-align: center;
  font-weight: 600;
  border-radius: var(--border-radius);
  transition: var(--transition);
}

.amount-btn:hover, .amount-btn.active {
  border-color: var(--border-focus);
  color: var(--border-focus);
  background-color: rgba(27, 59, 43, 0.05);
}

.giftcard-theme-options {
  display: flex;
  gap: 16px;
  margin-top: 12px;
  margin-bottom: 24px;
}

.theme-selector-item {
  flex-grow: 1;
  padding: 10px;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  text-align: center;
  cursor: pointer;
  transition: var(--transition);
  background-color: var(--bg-primary);
}

.theme-selector-item.active, .theme-selector-item:hover {
  border-color: var(--border-focus);
  color: var(--border-focus);
}

.giftcard-email-mock-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(29, 39, 33, 0.7);
  backdrop-filter: blur(5px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
}

.giftcard-email-mock-modal.open {
  opacity: 1;
  visibility: visible;
}

.giftcard-email-mock-box {
  background-color: white;
  color: #333333;
  width: 90%;
  max-width: 500px;
  border-radius: 8px;
  box-shadow: 0 15px 40px rgba(29, 39, 33, 0.2);
  overflow: hidden;
  transform: scale(0.9);
  transition: var(--transition);
}

.giftcard-email-mock-modal.open .giftcard-email-mock-box {
  transform: scale(1);
}

.email-mock-header {
  background-color: #1b3b2b; /* green header for email simulator */
  color: white;
  padding: 16px 24px;
  font-size: 0.85rem;
}

.email-mock-header h4 {
  font-family: var(--font-body);
  margin-bottom: 4px;
}

.email-mock-body {
  padding: 30px;
  background-color: #f9f9f9;
}

.email-giftcard-visual {
  width: 100%;
  height: 200px;
  border-radius: 8px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  color: white;
  margin-bottom: 24px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.email-giftcard-visual.classic {
  background: linear-gradient(135deg, #1b3b2b 0%, #0f251a 100%);
}

.email-giftcard-visual.gold {
  background: linear-gradient(135deg, #aa7c11 0%, #e5c158 50%, #aa7c11 100%);
  color: #121212;
}

.email-giftcard-visual.woodgrain {
  background: linear-gradient(135deg, #2b1d0c 0%, #573b18 100%);
}

.email-giftcard-amount {
  font-size: 2.2rem;
  font-weight: 700;
  font-family: var(--font-display);
}

/* ==========================================
   ABOUT US PAGE
   ========================================== */
.about-hero {
  text-align: center;
  padding: 80px 0;
  max-width: 800px;
  margin: 0 auto;
}

.about-hero h2 {
  font-size: 2.5rem;
  margin-bottom: 20px;
}

.about-hero p {
  font-size: 1.15rem;
  line-height: 1.8;
  color: var(--text-secondary);
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 40px;
}

.value-card {
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  padding: 40px 30px;
  border-radius: var(--border-radius);
  text-align: center;
  transition: var(--transition);
  box-shadow: var(--shadow);
}

.value-card:hover {
  border-color: var(--border-focus);
  transform: translateY(-5px);
}

.value-icon {
  font-size: 2.2rem;
  color: var(--gold-primary);
  margin-bottom: 20px;
}

.value-card h3 {
  font-size: 1.25rem;
  margin-bottom: 12px;
}

.timeline-section {
  background-color: var(--bg-secondary);
}

.timeline {
  position: relative;
  max-width: 800px;
  margin: 40px auto 0 auto;
  padding: 20px 0;
  display: flow-root; /* Fixes floated timeline items height collapse */
}

.timeline::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 2px;
  background-color: var(--border-color);
  transform: translateX(-50%);
}

.timeline-item {
  width: 50%;
  padding: 20px 40px;
  position: relative;
  clear: both;
}

.timeline-item.left {
  float: left;
  text-align: right;
}

.timeline-item.right {
  float: right;
  text-align: left;
}

.timeline-dot {
  width: 16px;
  height: 16px;
  background-color: var(--border-focus);
  border: 3px solid var(--bg-secondary);
  border-radius: 50%;
  position: absolute;
  top: 28px;
  z-index: 5;
}

.timeline-item.left .timeline-dot {
  right: -8px;
}

.timeline-item.right .timeline-dot {
  left: -8px;
}

.timeline-date {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--gold-primary);
  font-weight: 700;
  margin-bottom: 8px;
}

.timeline-content {
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  padding: 24px;
  border-radius: var(--border-radius);
  display: inline-block;
  text-align: left;
  box-shadow: var(--shadow);
}

.timeline-content h4 {
  font-family: var(--font-body);
  font-size: 0.95rem;
  margin-bottom: 8px;
}

.timeline-content p {
  font-size: 0.85rem;
  margin-bottom: 0;
}

/* ==========================================
   PRIVACY POLICY PAGE
   ========================================== */
.privacy-content {
  max-width: 800px;
  margin: 40px auto 80px auto;
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  padding: 48px;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
}

.privacy-content h2 {
  font-family: var(--font-body);
  font-size: 1.25rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-top: 36px;
  margin-bottom: 16px;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 8px;
}

.privacy-content h2:first-of-type {
  margin-top: 0;
}

.privacy-content p, .privacy-content li {
  font-size: 0.9rem;
  line-height: 1.8;
  margin-bottom: 16px;
}

.privacy-content ul {
  padding-left: 24px;
  list-style-type: square;
  margin-bottom: 16px;
}

.privacy-content li {
  margin-bottom: 8px;
}

/* ==========================================
   ANIMATIONS
   ========================================== */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes scaleUp {
  from {
    transform: scale(0.5);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}

/* ==========================================
   RESPONSIVE DESIGN (MEDIA QUERIES)
   ========================================== */
@media (max-width: 1024px) {
  h1 { font-size: 2.5rem; }
  h2 { font-size: 1.8rem; }
  
  .categories-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .products-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .benefits-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .testimonials-grid {
    grid-template-columns: 1fr;
  }
  
  .heritage-teaser {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .heritage-image-wrapper::before {
    display: none;
  }
  
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .shop-layout {
    grid-template-columns: 1fr;
  }
  
  .shop-sidebar {
    display: none; /* In production: convert to drawer */
  }
  
  .product-detail-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .cart-layout {
    grid-template-columns: 1fr;
  }
  
  .checkout-layout {
    grid-template-columns: 1fr;
  }
  
  .giftcard-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  nav {
    display: none; /* In production: add hamburger menu */
  }
  
  .hero-content h1 {
    font-size: 2.8rem;
  }
  
  .products-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  
  .footer-bottom {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }
  
  .newsletter-form {
    flex-direction: column;
  }
  
  .form-grid {
    grid-template-columns: 1fr;
  }
  
  .form-col-full {
    grid-column: span 1;
  }
  
  .privacy-content {
    padding: 24px;
  }
  
  .timeline::before {
    left: 20px;
  }
  
  .timeline-item {
    width: 100%;
    padding-left: 50px;
    padding-right: 0;
    text-align: left !important;
  }
  
  .timeline-dot {
    left: 12px !important;
    right: auto !important;
  }
}

@media (max-width: 480px) {
  .products-grid {
    grid-template-columns: 1fr;
  }
  
  .categories-grid {
    grid-template-columns: 1fr;
  }
  
  .hero-actions-container {
    flex-direction: column;
  }
}
