/* ==========================================================================
   ROSALEIGH LUXURY TALLOW SKINCARE - MASTER STYLESHEET
   Signature Organic Curved Theme & High-End Editorial Aesthetics
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Fraunces:ital,wght@0,400;0,500;0,600;0,700;1,400;1,600&family=Karla:wght@300;400;500;600;700&family=Cormorant:wght@400;600&display=swap');

:root {
  /* Colors — matched to UK (Shopify) theme settings */
  --bg-warm-cream: #F9FAF8;
  --bg-page: #F9FAF8;
  --bg-white: #FFFFFF;
  --bg-card: #FFFFFF;
  --bg-olive-tint: #DEE4D6;
  --bg-olive-subtle: #DEE4D6;
  --bg-announcement: #2B553B;
  --bg-footer: #2B553B;
  
  --bg-bright-lime: #B79267;
  --bg-bright-lime-dark: #9C7A50;
  --bg-bright-lime-light: #C9A97F;
  --lime-gradient: linear-gradient(135deg, #2B553B 0%, #3A4A40 45%, #4E6153 100%);
  --lime-gradient-radial: radial-gradient(circle at 80% 30%, #4E6153 0%, #3A4A40 50%, #2B553B 100%);
  
  --primary-olive: #B79267;
  --primary-olive-dark: #9C7A50;
  --primary-olive-light: #C9A97F;
  --primary-olive-rgb: 183, 146, 103;
  
  --text-dark: #2A342E;
  --text-charcoal: #3A4A40;
  --text-body: #4A564D;
  --text-muted: #7A9680;
  --text-announcement: #F9FAF8;
  
  --border-subtle: #9FAE96;
  --border-card: #DEE4D6;
  --border-active: #B79267;
  
  --star-gold: #B79267;
  --badge-gold: #B79267;
  
  /* Buttons — matched to UK "Primary button" theme setting */
  --btn-primary-bg: #3A4A40;
  --btn-primary-text: #F9FAF8;
  --btn-primary-hover: #4E6153;
  
  /* Typography — matched to UK (Shopify) theme settings */
  --font-serif: 'Fraunces', Georgia, serif;
  --font-sans: 'Karla', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-display: 'Cormorant', Georgia, serif;
  
  /* Shadows & Radius */
  --shadow-soft: 0 10px 30px rgba(0, 0, 0, 0.04);
  --shadow-medium: 0 16px 40px rgba(0, 0, 0, 0.07);
  --shadow-float: 0 25px 60px rgba(0, 0, 0, 0.1);
  --shadow-card: 0 4px 20px rgba(40, 45, 20, 0.05);
  
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 36px;
  --radius-pill: 9999px;
  
  /* Transitions */
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-smooth: 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-bounce: 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
  
  /* Layout */
  --container-max: 1320px;
  --container-pad: 24px;
}

/* ==========================================================================
   RESET & BASE
   ========================================================================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  font-family: var(--font-sans);
  color: var(--text-body);
  background-color: var(--bg-page);
  line-height: 1.6;
  font-weight: 400;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

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

button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
  outline: none;
}

button {
  cursor: pointer;
  border: none;
  background: none;
}

ul, ol {
  list-style: none;
}

/* Container */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--container-pad);
  padding-right: var(--container-pad);
}

.container-narrow {
  max-width: 960px;
}

/* Typography Helpers */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-serif);
  color: var(--text-charcoal);
  font-weight: 500;
  line-height: 1.25;
  letter-spacing: -0.01em;
}

.text-olive {
  color: var(--primary-olive) !important;
}

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

.text-italic {
  font-style: italic;
}

.eyebrow {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 0.8125rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--primary-olive);
  margin-bottom: 0.75rem;
}

.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 3.5rem auto;
}

.section-header h2 {
  font-size: 2.35rem;
  margin-bottom: 0.85rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
}

.section-header p {
  font-size: 1.0625rem;
  color: var(--text-muted);
}

/* Leaf Motif Icon */
.leaf-accent {
  display: inline-flex;
  width: 20px;
  height: 20px;
  color: var(--primary-olive);
  vertical-align: middle;
}

.leaf-accent.flipped {
  transform: scaleX(-1);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.625rem;
  padding: 0.875rem 2rem;
  font-family: var(--font-sans);
  font-size: 0.9375rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  transition: all var(--transition-smooth);
  text-align: center;
  white-space: nowrap;
}

.btn-primary {
  background-color: var(--btn-primary-bg);
  color: var(--btn-primary-text);
  box-shadow: 0 4px 14px rgba(58, 74, 64, 0.25);
}

.btn-primary:hover {
  background-color: var(--btn-primary-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(58, 74, 64, 0.35);
  color: var(--btn-primary-text);
}

.btn-outline {
  border: 1px solid var(--primary-olive);
  color: var(--primary-olive);
  background-color: transparent;
}

.btn-outline:hover {
  background-color: var(--primary-olive);
  color: #FFFFFF;
  transform: translateY(-2px);
}

.btn-pill {
  border-radius: var(--radius-pill);
}

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

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

/* ==========================================================================
   ORGANIC CURVED THEME DIVIDERS (SVG WAVES)
   ========================================================================== */
.curve-divider-bottom {
  position: relative;
  width: 100%;
  overflow: hidden;
  line-height: 0;
  margin-top: -1px;
}

.curve-divider-top {
  position: relative;
  width: 100%;
  overflow: hidden;
  line-height: 0;
  margin-bottom: -1px;
}

.curve-divider svg {
  position: relative;
  display: block;
  width: calc(100% + 1.3px);
  height: 60px;
}

@media (min-width: 768px) {
  .curve-divider svg {
    height: 90px;
  }
}

@media (min-width: 1200px) {
  .curve-divider svg {
    height: 120px;
  }
}

/* ==========================================================================
   TOP ANNOUNCEMENT BAR
   ========================================================================== */
.announcement-bar {
  background-color: var(--bg-announcement);
  color: var(--text-announcement);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  padding: 0.55rem 1rem;
  text-align: center;
  position: relative;
  z-index: 50;
}

.announcement-bar .inner {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1.25rem;
}

.announcement-item {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.announcement-divider {
  opacity: 0.4;
}

/* ==========================================================================
   SITE HEADER & NAVIGATION
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  background-color: rgba(250, 247, 242, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-subtle);
  z-index: 100;
  transition: all var(--transition-smooth);
}

.site-header.scrolled {
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
  background-color: rgba(250, 247, 242, 0.98);
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1rem;
  padding-bottom: 1rem;
  min-height: 84px;
}

/* Header Nav Left */
.nav-menu {
  display: flex;
  align-items: center;
  gap: 2.2rem;
}

.nav-link {
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--text-dark);
  position: relative;
  padding: 0.35rem 0;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--primary-olive);
  transition: width var(--transition-smooth);
}

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

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

/* Dropdown Menu */
.has-dropdown {
  position: relative;
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background-color: var(--bg-white);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-medium);
  min-width: 220px;
  padding: 0.75rem 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all var(--transition-smooth);
  z-index: 120;
}

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

.dropdown-item {
  display: block;
  padding: 0.6rem 1.4rem;
  font-size: 0.875rem;
  color: var(--text-body);
  transition: all var(--transition-fast);
}

.dropdown-item:hover {
  background-color: var(--bg-olive-subtle);
  color: var(--primary-olive);
  padding-left: 1.6rem;
}

/* Header Logo Center */
.header-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.logo-img {
  height: 52px;
  width: auto;
  object-fit: contain;
  transition: transform var(--transition-smooth);
}

.header-logo:hover .logo-img {
  transform: scale(1.02);
}

/* Header Actions Right */
.header-actions {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

/* Currency Selector */
.currency-selector {
  position: relative;
}

.currency-btn {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-dark);
  padding: 0.35rem 0.5rem;
  border-radius: var(--radius-sm);
  transition: background var(--transition-fast);
}

.currency-btn:hover {
  background-color: rgba(142, 152, 51, 0.1);
}

.flag-icon {
  width: 18px;
  height: 13px;
  object-fit: cover;
  border-radius: 2px;
}

.currency-dropdown {
  position: absolute;
  top: 100%;
  right: 0;
  background-color: var(--bg-white);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-medium);
  padding: 0.5rem 0;
  min-width: 130px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: all var(--transition-smooth);
  z-index: 120;
}

.currency-selector:hover .currency-dropdown,
.currency-dropdown.active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.currency-option {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  width: 100%;
  font-size: 0.8125rem;
  font-weight: 500;
  text-align: left;
  transition: background var(--transition-fast);
}

.currency-option:hover {
  background-color: var(--bg-olive-subtle);
  color: var(--primary-olive);
}

/* Action Icons (Account, Search, Cart) */
.action-btn {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  color: var(--text-dark);
  transition: all var(--transition-fast);
}

.action-btn:hover {
  background-color: rgba(142, 152, 51, 0.1);
  color: var(--primary-olive);
}

.action-btn svg {
  width: 20px;
  height: 20px;
}

.cart-badge {
  position: absolute;
  top: 2px;
  right: 2px;
  background-color: var(--primary-olive);
  color: #FFFFFF;
  font-size: 0.6875rem;
  font-weight: 700;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

/* Mobile Toggle */
.mobile-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 38px;
  height: 38px;
  border-radius: var(--radius-sm);
  padding: 6px;
}

.mobile-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background-color: var(--text-dark);
  transition: all var(--transition-smooth);
}

/* ==========================================================================
   HERO BANNER SECTION (HOME PAGE)
   ========================================================================== */
.hero-section {
  position: relative;
  background: var(--bg-footer);
  padding-top: 3.5rem;
  padding-bottom: 5.5rem;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  align-items: center;
  gap: 3.5rem;
}

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

.hero-content .eyebrow {
  display: inline-block;
  background: rgba(249, 250, 248, 0.15);
  color: #F9FAF8;
  font-weight: 700;
  border-radius: var(--radius-pill);
  padding: 0.35rem 1rem;
  margin-bottom: 1.25rem;
  letter-spacing: 0.12em;
}

.hero-title {
  font-size: 3.85rem;
  line-height: 1.12;
  font-weight: 600;
  margin-bottom: 1.5rem;
  color: #F9FAF8;
}

.hero-title span.glow {
  color: #DDBF8E;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.15);
  font-style: italic;
}

.hero-description {
  font-size: 1.15rem;
  color: rgba(249, 250, 248, 0.85);
  margin-bottom: 2.25rem;
  line-height: 1.65;
}

.hero-description strong {
  color: #F9FAF8;
  font-weight: 700;
}

.hero-content .btn-primary {
  background-color: var(--primary-olive);
  color: #2A342E;
  box-shadow: 0 4px 14px rgba(var(--primary-olive-rgb), 0.3);
}

.hero-content .btn-primary:hover {
  background-color: var(--primary-olive-dark);
  color: #2A342E;
}

.hero-image-wrap {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-products-img {
  width: 100%;
  max-width: 620px;
  height: auto;
  border-radius: var(--radius-lg);
  transition: transform var(--transition-smooth);
}

.hero-image-wrap:hover .hero-products-img {
  transform: scale(1.02);
}

/* ==========================================================================
   5 TRUST BADGES BAR
   ========================================================================== */
.trust-badges-bar {
  background-color: var(--bg-white);
  padding: 2.25rem 0;
  border-bottom: 1px solid var(--border-subtle);
  position: relative;
  z-index: 10;
}

.trust-badges-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.5rem;
  align-items: center;
}

.trust-badge-item {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  text-align: left;
}

.trust-badge-icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(183, 146, 103, 0.12);
  border: 1px solid rgba(183, 146, 103, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #B79267;
}

.trust-badge-icon svg {
  width: 22px;
  height: 22px;
}

.trust-badge-text {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-dark);
  line-height: 1.3;
}

/* ==========================================================================
   OUR BESTSELLERS SECTION
   ========================================================================== */
.bestsellers-section {
  padding: 5.5rem 0 6rem 0;
  background-color: var(--bg-warm-cream);
  position: relative;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-bottom: 3.5rem;
}

.product-card {
  background-color: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all var(--transition-smooth);
  position: relative;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
}

.product-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-medium);
  border-color: rgba(116, 219, 78, 0.5);
}

.product-thumb-wrap {
  position: relative;
  background: radial-gradient(circle at 50% 50%, #FFFFFF 20%, #F6F4ED 100%);
  aspect-ratio: 1 / 1;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}

.product-thumb-wrap img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 10px 18px rgba(0, 0, 0, 0.08));
  transition: transform var(--transition-smooth);
}

.product-card:hover .product-thumb-wrap img {
  transform: scale(1.08) translateY(-4px);
}

.badge-tag {
  position: absolute;
  top: 14px;
  left: 14px;
  background: var(--lime-gradient);
  color: #F9FAF8;
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.3rem 0.75rem;
  border-radius: var(--radius-pill);
  box-shadow: 0 2px 8px rgba(43, 85, 59, 0.35);
  z-index: 5;
}

.quick-action-overlay {
  position: absolute;
  bottom: 12px;
  left: 12px;
  right: 12px;
  display: flex;
  gap: 0.5rem;
  opacity: 0;
  transform: translateY(10px);
  transition: all var(--transition-smooth);
  z-index: 6;
}

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

.quick-action-btn {
  flex: 1;
  padding: 0.65rem;
  font-size: 0.78125rem;
  font-weight: 700;
  text-align: center;
  border-radius: var(--radius-pill);
  background-color: #FFFFFF;
  color: #142205;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12);
  transition: all var(--transition-fast);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
}

.quick-action-btn:hover {
  background: var(--lime-gradient);
  color: #F9FAF8;
}

.product-details {
  padding: 1.5rem 1.35rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  text-align: center;
}

.product-title {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text-charcoal);
  margin-bottom: 0.35rem;
  line-height: 1.3;
}

.product-title a {
  color: var(--text-charcoal);
  transition: color var(--transition-fast);
}

.product-title a:hover {
  color: var(--primary-olive-dark);
}

.product-subtitle {
  font-size: 0.8125rem;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
  line-height: 1.4;
}

.product-rating {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  margin-bottom: 1rem;
}

.stars {
  color: #F5A623;
  font-size: 0.875rem;
  letter-spacing: 2px;
}

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

.product-quote-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  font-size: 0.8125rem;
  font-weight: 700;
  color: #3A4A40;
  background-color: rgba(58, 74, 64, 0.08);
  border: 1px solid rgba(58, 74, 64, 0.2);
  padding: 0.4rem 0.9rem;
  border-radius: var(--radius-pill);
  margin-top: auto;
  margin-bottom: 1rem;
  letter-spacing: 0.02em;
}

.product-quote-badge svg {
  width: 14px;
  height: 14px;
  color: #3A4A40;
}

.btn-request-quote {
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.25rem;
  background: var(--lime-gradient);
  color: #F9FAF8;
  font-size: 0.875rem;
  font-weight: 700;
  border-radius: var(--radius-pill);
  transition: all var(--transition-fast);
  text-decoration: none;
  box-shadow: 0 4px 12px rgba(43, 85, 59, 0.3);
  border: none;
  cursor: pointer;
}

.btn-request-quote:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(116, 219, 78, 0.45);
  color: #000000;
}

/* Request Quote Modal */
.quote-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(5px);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-smooth);
}

.quote-modal-backdrop.open {
  opacity: 1;
  visibility: visible;
}

.quote-modal-card {
  background: #FFFFFF;
  border-radius: var(--radius-xl);
  max-width: 520px;
  width: 100%;
  padding: 2.25rem;
  box-shadow: var(--shadow-float);
  position: relative;
  transform: scale(0.95);
  transition: transform var(--transition-smooth);
}

.quote-modal-backdrop.open .quote-modal-card {
  transform: scale(1);
}

.quote-modal-close {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #F4F1EA;
  border: none;
  font-size: 1.25rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition-fast);
}

.quote-modal-close:hover {
  background: #E5E0D5;
}

/* ==========================================================================
   VIDEO SHOWCASE SECTION (NEW LUXURY COMPONENT)
   ========================================================================== */
.video-showcase-section {
  padding: 5rem 0;
  background-color: var(--bg-white);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

.video-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  align-items: center;
}

.video-player-box {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-float);
  background-color: #000000;
  aspect-ratio: 4 / 3;
}

.video-player-box video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.video-badge-tag {
  position: absolute;
  top: 16px;
  left: 16px;
  background-color: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(8px);
  padding: 0.4rem 0.9rem;
  border-radius: var(--radius-pill);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--primary-olive-dark);
  z-index: 5;
}

/* ==========================================================================
   WHY TALLOW? SECTION (CURVED ASYMMETRICAL CONTAINER)
   ========================================================================== */
.why-tallow-section {
  position: relative;
  background: var(--bg-footer);
  padding: 5.5rem 0;
  overflow: hidden;
}

.why-tallow-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  align-items: center;
  gap: 4rem;
}

.why-tallow-content h2 {
  font-size: 2.85rem;
  margin-bottom: 1.25rem;
  color: #F9FAF8;
}

.why-tallow-content p.lead {
  font-size: 1.0625rem;
  color: rgba(249, 250, 248, 0.85);
  margin-bottom: 2rem;
  line-height: 1.65;
  font-weight: 500;
}

.benefits-checklist {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 2.25rem;
}

.benefit-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.9375rem;
  font-weight: 700;
  color: #142205;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(6px);
  padding: 0.75rem 1.25rem;
  border-radius: var(--radius-pill);
  box-shadow: 0 4px 15px rgba(20, 34, 5, 0.06);
}

.check-icon {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background-color: #2B553B;
  color: #B79267;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.check-icon svg {
  width: 14px;
  height: 14px;
}

.learn-more-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1rem;
  font-weight: 700;
  color: #DDBF8E;
  border-bottom: 2px solid #DDBF8E;
  padding-bottom: 3px;
  transition: all var(--transition-fast);
}

.learn-more-link:hover {
  color: #F9FAF8;
  border-color: #F9FAF8;
  gap: 0.75rem;
}

.why-tallow-media {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-medium);
}

.why-tallow-media img {
  width: 100%;
  height: auto;
  border-radius: var(--radius-xl);
  transition: transform var(--transition-smooth);
}

.why-tallow-media:hover img {
  transform: scale(1.03);
}

/* ==========================================================================
   WHY ROSALEIGH? 4-BOX FEATURE CARDS
   ========================================================================== */
.why-rosaleigh-section {
  padding: 5.5rem 0 6rem 0;
  background-color: var(--bg-warm-cream);
}

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

.feature-box {
  background-color: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 2.5rem 1.75rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: all var(--transition-smooth);
}

.feature-box:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-medium);
  border-color: var(--border-active);
}

.feature-box-icon {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: rgba(183, 146, 103, 0.12);
  border: 1px solid rgba(183, 146, 103, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #B79267;
  margin-bottom: 1.35rem;
  transition: all var(--transition-smooth);
}

.feature-box:hover .feature-box-icon {
  background-color: #B79267;
  color: #FFFFFF;
  transform: scale(1.1);
}

.feature-box-icon svg {
  width: 28px;
  height: 28px;
}

.feature-box h3 {
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: 0.65rem;
  color: var(--text-charcoal);
}

.feature-box p {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* ==========================================================================
   TESTIMONIAL QUOTE BANNER WITH BOTANICAL LEAVES
   ========================================================================== */
.testimonial-banner-section {
  position: relative;
  background-color: var(--bg-olive-tint);
  padding: 5rem 0;
  text-align: center;
}

.testimonial-carousel-wrap {
  position: relative;
  max-width: 700px;
  margin: 0 auto;
  padding: 3rem 2.5rem;
  background-color: #FFFFFF;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-medium);
}

.quote-mark {
  font-family: var(--font-serif);
  font-size: 3.5rem;
  color: #B79267;
  line-height: 0;
  display: inline-block;
  vertical-align: middle;
  margin: 0 0.5rem;
}

.testimonial-slide {
  display: none;
  animation: fadeIn 0.6s ease;
}

.testimonial-slide.active {
  display: block;
}

.testimonial-quote {
  font-family: var(--font-serif);
  font-size: 1.45rem;
  font-style: italic;
  color: var(--text-charcoal);
  line-height: 1.6;
  margin-bottom: 1.25rem;
}

.testimonial-quote strong {
  font-weight: 700;
}

.testimonial-author {
  font-family: var(--font-sans);
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--text-dark);
}

.carousel-dots {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 1.75rem;
}

.dot-btn {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background-color: rgba(142, 152, 51, 0.35);
  transition: all var(--transition-fast);
}

.dot-btn.active {
  background-color: var(--primary-olive);
  width: 24px;
  border-radius: 10px;
}

/* ==========================================================================
   STAY IN THE LOOP (NEWSLETTER BANNER)
   ========================================================================== */
.newsletter-section {
  padding: 4.5rem 0;
  background-color: var(--bg-white);
  border-bottom: 1px solid var(--border-subtle);
}

.newsletter-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  align-items: center;
  gap: 3.5rem;
}

.newsletter-visual {
  display: flex;
  justify-content: center;
}

.newsletter-visual img {
  max-width: 320px;
  height: auto;
  border-radius: var(--radius-md);
}

.newsletter-content h2 {
  font-size: 2.25rem;
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.newsletter-content p {
  font-size: 0.9375rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

.newsletter-form {
  display: flex;
  gap: 0.75rem;
  max-width: 500px;
}

.newsletter-input {
  flex: 1;
  padding: 0.85rem 1.25rem;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  background-color: var(--bg-warm-cream);
  font-size: 0.875rem;
  transition: all var(--transition-fast);
}

.newsletter-input:focus {
  border-color: var(--primary-olive);
  background-color: #FFFFFF;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer {
  background-color: var(--bg-footer);
  padding: 4.5rem 0 2rem 0;
  border-top: 1px solid var(--border-subtle);
}

.footer-top-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3.5rem;
}

.footer-brand {
  max-width: 320px;
}

.footer-logo-img {
  height: 48px;
  width: auto;
  margin-bottom: 1.25rem;
  filter: brightness(0) invert(1);
  opacity: 0.95;
}

.footer-bio {
  font-size: 0.875rem;
  color: #D9DED6;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.social-links {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.social-link {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background-color: var(--bg-white);
  border: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-dark);
  transition: all var(--transition-fast);
}

.social-link:hover {
  background-color: var(--primary-olive);
  color: #FFFFFF;
  border-color: var(--primary-olive);
  transform: translateY(-2px);
}

.social-link svg {
  width: 18px;
  height: 18px;
}

.footer-col h4 {
  font-family: var(--font-sans);
  font-size: 0.9375rem;
  font-weight: 700;
  color: #F9FAF8;
  margin-bottom: 1.25rem;
  letter-spacing: 0.02em;
}

.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-nav a {
  font-size: 0.875rem;
  color: #D9DED6;
  transition: all var(--transition-fast);
}

.footer-nav a:hover {
  color: #DDBF8E;
  padding-left: 4px;
}

.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid #7A9680;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.8125rem;
  color: #D9DED6;
}

.payment-methods {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.payment-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #FFFFFF;
  border: 1px solid var(--border-subtle);
  border-radius: 4px;
  padding: 0.3rem 0.65rem;
  height: 28px;
  color: #3A4A40;
}

.payment-badge svg {
  height: 16px;
  width: auto;
}

/* ==========================================================================
   PAGE HERO (ABOUT, CONTACT, INGREDIENTS, SHOP)
   ========================================================================== */
.page-hero {
  padding: 3rem 0 4rem 0;
  background: var(--bg-footer);
  position: relative;
  overflow: hidden;
}

.breadcrumbs {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8125rem;
  color: rgba(249, 250, 248, 0.75);
  margin-bottom: 1.5rem;
  font-weight: 600;
}

.breadcrumbs a {
  color: rgba(249, 250, 248, 0.75);
}

.breadcrumbs a:hover {
  color: #F9FAF8;
  text-decoration: underline;
}

.breadcrumbs span.current {
  color: #F9FAF8;
  font-weight: 700;
}

.page-hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  align-items: center;
  gap: 3.5rem;
}

.page-hero-title {
  font-size: 3.25rem;
  margin-bottom: 1rem;
  color: #F9FAF8;
  font-weight: 600;
}

.page-hero-title span.text-olive {
  color: #DDBF8E;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
}

.page-hero-lead {
  font-size: 1.25rem;
  font-family: var(--font-serif);
  color: #DDBF8E;
  margin-bottom: 1.25rem;
  font-weight: 600;
}

.page-hero-text {
  font-size: 1rem;
  color: rgba(249, 250, 248, 0.85);
  line-height: 1.7;
}

.page-hero-media {
  position: relative;
  width: 100%;
  max-width: 480px;
  max-height: 420px;
  margin-left: auto;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.08);
  aspect-ratio: 4 / 3;
  background-color: var(--bg-card);
}

.page-hero-media img,
.page-hero-media video {
  width: 100%;
  height: 100%;
  border-radius: var(--radius-lg);
  display: block;
  object-fit: cover;
}

/* ==========================================================================
   ABOUT US PAGE SPECIFIC SECTIONS
   ========================================================================== */
/* Our Values 4 Circles */
.values-section {
  padding: 5rem 0;
  background-color: var(--bg-white);
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  text-align: center;
}

.value-card {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.value-circle-icon {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  border: 1px solid rgba(183, 146, 103, 0.3);
  background: rgba(183, 146, 103, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #B79267;
  margin-bottom: 1.25rem;
  transition: all var(--transition-smooth);
}

.value-circle-icon svg {
  width: 28px;
  height: 28px;
}

.value-card:hover .value-circle-icon {
  background-color: #B79267;
  color: #FFFFFF;
  transform: scale(1.08);
}

.value-card h3 {
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.value-card p {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* Our Story Section */
.story-section {
  padding: 5.5rem 0;
  background-color: var(--bg-warm-cream);
}

.story-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  align-items: center;
  gap: 4rem;
}

.story-media-box {
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-medium);
}

.story-media-box img {
  width: 100%;
  height: auto;
}

.story-content h2 {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
}

.story-content p {
  font-size: 1.0625rem;
  line-height: 1.75;
  color: var(--text-body);
  margin-bottom: 1.5rem;
}

/* Founder's Note styling (used inside Our Story section) */
.founder-note-intro {
  font-family: var(--font-serif);
  font-size: 1.375rem;
  font-style: italic;
  color: var(--text-charcoal);
  margin-bottom: 1.5rem;
  font-weight: 500;
}

.founder-signature {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-style: italic;
  color: #B79267;
  margin-top: 1.5rem;
  margin-bottom: 0 !important;
}

/* We Promise 3 Cards */
.promise-section {
  padding: 4.5rem 0;
  background-color: var(--bg-white);
}

.promise-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.promise-card {
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
  padding: 1.75rem;
  background-color: var(--bg-warm-cream);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-subtle);
}

.promise-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(183, 146, 103, 0.12);
  border: 1px solid rgba(183, 146, 103, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #B79267;
  flex-shrink: 0;
}

.promise-icon svg {
  width: 22px;
  height: 22px;
}

.promise-card h3 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.35rem;
}

.promise-card p {
  font-size: 0.875rem;
  color: var(--text-muted);
}

/* Made with Integrity */
.integrity-section {
  padding: 5.5rem 0;
  background-color: var(--bg-warm-cream);
}

.integrity-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 4rem;
}

/* ==========================================================================
   CONTACT US PAGE SPECIFIC SECTIONS
   ========================================================================== */
.contact-main-section {
  padding: 5rem 0;
  background-color: var(--bg-white);
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 4rem;
}

.contact-info-panel h2 {
  font-size: 2.25rem;
  margin-bottom: 2rem;
}

.contact-methods-list {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
  margin-bottom: 3rem;
}

.contact-method-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.contact-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(183, 146, 103, 0.12);
  border: 1px solid rgba(183, 146, 103, 0.3);
  color: #B79267;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-icon svg {
  width: 20px;
  height: 20px;
}

.contact-method-item h4 {
  font-family: var(--font-sans);
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 0.25rem;
}

.contact-method-item p, .contact-method-item a {
  font-size: 0.875rem;
  color: var(--text-body);
}

/* Contact Form */
.contact-form-box {
  background-color: var(--bg-warm-cream);
  padding: 2.5rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-subtle);
}

.contact-form-box h2 {
  font-size: 2.25rem;
  margin-bottom: 1.5rem;
}

.form-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  margin-bottom: 1.25rem;
}

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

.form-label {
  display: block;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 0.4rem;
}

.form-control {
  width: 100%;
  padding: 0.85rem 1.15rem;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  background-color: #FFFFFF;
  font-size: 0.875rem;
  transition: all var(--transition-fast);
}

.form-control:focus {
  border-color: var(--primary-olive);
  box-shadow: 0 0 0 3px rgba(var(--primary-olive-rgb), 0.15);
}

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

/* Social Connect Banner */
.social-banner-section {
  padding: 4rem 0;
  background-color: var(--bg-olive-tint);
  position: relative;
  overflow: hidden;
}

.social-banner-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 3rem;
}

.social-banner-content h2 {
  font-size: 2.25rem;
  margin-bottom: 0.65rem;
}

.social-banner-content p {
  font-size: 0.9375rem;
  color: var(--text-body);
  margin-bottom: 1.5rem;
}

/* Guarantees 4 Cards */
.guarantees-section {
  padding: 4rem 0;
  background-color: var(--bg-warm-cream);
}

.guarantees-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.guarantee-card {
  background-color: #FFFFFF;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 2rem 1.5rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  box-shadow: var(--shadow-soft);
  transition: all var(--transition-smooth);
}

.guarantee-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-medium);
  border-color: var(--border-active);
}

.guarantee-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(183, 146, 103, 0.12);
  border: 1px solid rgba(183, 146, 103, 0.3);
  color: #B79267;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.1rem;
  flex-shrink: 0;
}

.guarantee-icon svg {
  width: 26px;
  height: 26px;
}

.guarantee-card h4 {
  font-family: var(--font-sans);
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--text-charcoal);
  margin-bottom: 0.35rem;
}

.guarantee-card p {
  font-size: 0.8125rem;
  color: var(--text-muted);
}

/* Frequently Asked Questions */
.faq-section {
  padding: 5.5rem 0;
  background-color: var(--bg-white);
}

.faq-grid {
  display: flex;
  flex-direction: column;
  max-width: 800px;
  margin: 0 auto;
  gap: 2.5rem;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

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

.faq-item.active {
  border-color: var(--primary-olive);
  background-color: #FFFFFF;
  box-shadow: var(--shadow-card);
}

.faq-question {
  width: 100%;
  padding: 1.25rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: var(--font-sans);
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--text-dark);
  text-align: left;
  gap: 1rem;
}

.faq-icon-toggle {
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-olive);
  transition: transform var(--transition-smooth);
}

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

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-smooth);
}

.faq-answer-inner {
  padding: 0 1.5rem 1.25rem 1.5rem;
  font-size: 0.875rem;
  color: var(--text-body);
  line-height: 1.65;
}

.faq-visual-card {
  background-color: var(--bg-olive-tint);
  border-radius: var(--radius-lg);
  padding: 2rem 2.5rem;
  text-align: center;
}

.faq-visual-card p.featured-tip {
  font-size: 1.0625rem;
  font-weight: 500;
  color: var(--text-dark);
  line-height: 1.6;
  margin-bottom: 0.5rem;
}

.faq-visual-card p.featured-tip a {
  color: #B79267;
  font-weight: 700;
}

.faq-visual-card img {
  border-radius: var(--radius-md);
  width: 100%;
}

/* ==========================================================================
   OUR INGREDIENTS PAGE
   ========================================================================== */
.ingredients-pillars-section {
  padding: 5.5rem 0;
  background-color: var(--bg-white);
}

.ingredients-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.75rem;
}

.ingredient-card {
  background-color: var(--bg-warm-cream);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
  text-align: center;
  transition: all var(--transition-smooth);
}

.ingredient-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-medium);
  border-color: var(--primary-olive);
}

.ingredient-img-wrap {
  aspect-ratio: 4 / 3;
  overflow: hidden;
}

.ingredient-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-smooth);
}

.ingredient-card:hover .ingredient-img-wrap img {
  transform: scale(1.08);
}

.ingredient-info {
  padding: 1.5rem;
}

.ingredient-info h3 {
  font-size: 1.2rem;
  margin-bottom: 0.4rem;
}

.ingredient-info p {
  font-size: 0.875rem;
  color: var(--text-muted);
}

/* ==========================================================================
   SHOP / CATALOG PAGE
   ========================================================================== */
.shop-filter-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin-bottom: 2.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--border-subtle);
}

.category-tabs {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  flex-wrap: wrap;
}

.tab-btn {
  padding: 0.5rem 1.25rem;
  border-radius: var(--radius-pill);
  font-size: 0.875rem;
  font-weight: 500;
  background-color: var(--bg-white);
  border: 1px solid var(--border-subtle);
  color: var(--text-dark);
  transition: all var(--transition-fast);
}

.tab-btn:hover, .tab-btn.active {
  background-color: var(--primary-olive);
  color: #FFFFFF;
  border-color: var(--primary-olive);
}

.sort-select-wrap {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 0.875rem;
  color: var(--text-muted);
}

.sort-select {
  padding: 0.5rem 1rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-subtle);
  background-color: #FFFFFF;
  font-size: 0.875rem;
  color: var(--text-dark);
}

/* ==========================================================================
   INTERACTIVE CART DRAWER (SLIDE OUT)
   ========================================================================== */
.cart-drawer-backdrop {
  position: fixed;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(4px);
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-smooth);
}

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

.cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  max-width: 440px;
  background-color: var(--bg-white);
  box-shadow: -10px 0 30px rgba(0, 0, 0, 0.15);
  z-index: 1010;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform var(--transition-smooth);
}

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

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

.cart-header h3 {
  font-size: 1.35rem;
  font-weight: 600;
}

.cart-close-btn {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  transition: all var(--transition-fast);
}

.cart-close-btn:hover {
  background-color: var(--bg-warm-cream);
  color: var(--text-dark);
}

/* Free Shipping Meter */
.shipping-meter-wrap {
  background-color: var(--bg-olive-subtle);
  padding: 0.85rem 1.5rem;
  border-bottom: 1px solid var(--border-subtle);
  font-size: 0.8125rem;
  color: var(--text-dark);
}

.meter-bar {
  height: 6px;
  background-color: rgba(142, 152, 51, 0.25);
  border-radius: 10px;
  overflow: hidden;
  margin-top: 0.5rem;
}

.meter-fill {
  height: 100%;
  background-color: var(--primary-olive);
  width: 60%;
  border-radius: 10px;
  transition: width var(--transition-smooth);
}

.cart-items-container {
  flex: 1;
  overflow-y: auto;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

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

.cart-item-img {
  width: 76px;
  height: 76px;
  background-color: var(--bg-warm-cream);
  border-radius: var(--radius-sm);
  object-fit: contain;
  flex-shrink: 0;
}

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

.cart-item-title {
  font-family: var(--font-serif);
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.cart-item-price {
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--primary-olive);
  margin-bottom: 0.5rem;
}

.qty-control {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  background-color: var(--bg-warm-cream);
}

.qty-btn {
  padding: 0.25rem 0.6rem;
  font-weight: 700;
  font-size: 0.8125rem;
}

.qty-val {
  padding: 0.25rem 0.5rem;
  font-size: 0.8125rem;
  font-weight: 600;
}

.cart-item-remove {
  color: var(--text-muted);
  font-size: 0.75rem;
  margin-top: 0.4rem;
  display: inline-block;
}

.cart-item-remove:hover {
  color: #C2410C;
}

.cart-footer {
  padding: 1.5rem;
  border-top: 1px solid var(--border-subtle);
  background-color: var(--bg-warm-cream);
}

.cart-subtotal-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--text-charcoal);
  margin-bottom: 1rem;
}

.cart-checkout-btn {
  width: 100%;
}

/* ==========================================================================
   SEARCH OVERLAY MODAL
   ========================================================================== */
.search-modal {
  position: fixed;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(8px);
  z-index: 1050;
  opacity: 0;
  visibility: hidden;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: 10vh;
  transition: all var(--transition-smooth);
}

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

.search-card {
  width: 100%;
  max-width: 640px;
  background-color: #FFFFFF;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-float);
  padding: 2rem;
  position: relative;
}

.search-input-wrap {
  display: flex;
  align-items: center;
  gap: 1rem;
  border-bottom: 2px solid var(--primary-olive);
  padding-bottom: 0.85rem;
}

.search-input-wrap input {
  width: 100%;
  font-size: 1.25rem;
  border: none;
}

/* ==========================================================================
   TOAST NOTIFICATION
   ========================================================================== */
.toast-container {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 1200;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.toast-msg {
  background-color: var(--text-charcoal);
  color: #FFFFFF;
  padding: 0.85rem 1.5rem;
  border-radius: var(--radius-sm);
  font-size: 0.875rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  box-shadow: var(--shadow-medium);
  animation: slideInRight 0.35s ease forwards;
}

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

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* ==========================================================================
   LEGAL / POLICY PAGES
   ========================================================================== */
.legal-page-section {
  padding: 4rem 0 6rem;
  background-color: var(--bg-white);
}

.legal-page-wrap {
  max-width: 820px;
  margin: 0 auto;
}

.legal-updated {
  font-size: 0.875rem;
  color: var(--text-muted);
  font-style: italic;
  margin-bottom: 2.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--border-subtle);
}

.legal-page-wrap h2 {
  font-size: 1.5rem;
  color: var(--text-charcoal);
  margin-top: 2.75rem;
  margin-bottom: 1rem;
}

.legal-page-wrap h2:first-child {
  margin-top: 0;
}

.legal-page-wrap h3 {
  font-size: 1.15rem;
  color: var(--text-charcoal);
  margin-top: 1.75rem;
  margin-bottom: 0.75rem;
}

.legal-page-wrap p {
  font-size: 0.9375rem;
  line-height: 1.75;
  color: var(--text-body);
  margin-bottom: 1.1rem;
}

.legal-page-wrap ul, .legal-page-wrap ol {
  margin: 0 0 1.1rem 1.25rem;
  color: var(--text-body);
  font-size: 0.9375rem;
  line-height: 1.75;
}

.legal-page-wrap li {
  margin-bottom: 0.4rem;
}

.legal-page-wrap a {
  color: #B79267;
  text-decoration: underline;
}

.legal-page-wrap strong {
  color: var(--text-charcoal);
  font-weight: 700;
}

.legal-table-wrap {
  overflow-x: auto;
  margin-bottom: 1.5rem;
}

.legal-page-wrap table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.875rem;
}

.legal-page-wrap th {
  background-color: var(--bg-warm-cream);
  color: var(--text-charcoal);
  text-align: left;
  padding: 0.75rem 1rem;
  border: 1px solid var(--border-subtle);
  font-weight: 700;
}

.legal-page-wrap td {
  padding: 0.75rem 1rem;
  border: 1px solid var(--border-subtle);
  color: var(--text-body);
  vertical-align: top;
}

.legal-toc {
  background-color: var(--bg-warm-cream);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.5rem 1.75rem;
  margin-bottom: 2.5rem;
}

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

.legal-toc ul {
  margin: 0;
  padding: 0;
  list-style: none;
  columns: 2;
  gap: 1.5rem;
}

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

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

.legal-toc a:hover {
  color: #B79267;
}
