/* =========================================================
   SkinTreat by AK • Unified Stylesheet
   Contents:
   00) Fonts
   01) Root Variables & Resets
   02) Global Base (typography, utilities, CTA)
   03) Header / Navigation / Mobile Nav
   04) Promo Banner (image + simple fade banner)
   05) Hero (background slider + content)
   06) Certifications
   07) Products (grid + cards)
   08) Natural Qualities
   09) Footer
   10) Animations
   11) Cart Modal + Toasts
   12) Policy Pages (generic content card)
   13) Blog List Page
   14) Single Blog Post Page
   15) Contact Page
   16) About Page
   17) Checkout Page
   18) Status (Order Success/Failed)
   19) Awards Section
   20) Stats Counter Section
   21) Testimonials Scroller (with arrows)
========================================================= */


/* =========================================================
   00) Fonts
========================================================= */
@font-face {
  font-family: 'HitchHike';
  src: url('../fonts/Hitch-hike.otf') format('opentype');
  font-weight: normal;
  font-style: normal;
}


/* =========================================================
   01) Root Variables & Resets
========================================================= */
:root {
  /* Brand & palette */
  --primary-color: #A0B2A6;
  --secondary-color: #F5F5F5;
  --accent-color: #D4AF37;            /* gold highlights */
  --accent-color-rgb: 212, 175, 55;
  --text-color: #333333;
  --light-text-color: #f0f0f0;
  --surface-color: #ffffff;
  --border-color: #e0e0e0;
  --error-color: #dc3545;

  /* Typography */
  --heading-font: 'Playfair Display', serif;
  --body-font: 'Montserrat', sans-serif;

  /* Layout & shapes */
  --header-height: 85px;
  --border-radius: 8px;
  --border-radius-sm: 4px;
  --border-radius-md: 8px;
  --button-border-radius: 50px;

  /* Effects */
  --box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  --transition-speed: 0.3s;

  /* Header specific */
  --brandname-brown-color: #A98D67;
  --header-link-color-initial: #4A4A4A;
  --header-link-color-scrolled: #333333;
  --header-scrolled-bg: rgba(255, 255, 255, 0.95);

  /* Mobile nav */
  --mobile-nav-flyout-bg: rgba(40, 42, 46, 0.98);
  --mobile-nav-active-link-bg: #4D4A42;
  --mobile-nav-active-link-text: var(--accent-color);

  /* Hero */
  --hero-heading-color: #FFFFFF;
  --hero-paragraph-color: #EAEAEA;
  --hero-preheader-bg-desktop: rgba(0, 0, 0, 0.4);
  --hero-preheader-color-desktop: #FFFFFF;
  --hero-cta-base-green: #6B8E23;
  --hero-cta-hover-green: #55701C;
  --hero-cta-text-color: #FFFFFF;

  /* Cards/media */
  --product-card-image-aspect-ratio: 16 / 10;

  /* Page theming (policy & general content) */
  --page-background-color: #fdfdfa;
  --content-heading-color: #3A3A3A;
  --content-paragraph-color: #5C5C5C;
}

/* Reset-ish */
*,
*::before,
*::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--body-font);
  line-height: 1.7;
  color: var(--text-color);
  background-color: var(--secondary-color);
  overflow-x: hidden;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  /* push content below fixed header (site-wide) */
  padding-top: var(--header-height);
}

img { max-width: 100%; height: auto; display: block; }

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}


/* =========================================================
   02) Global Base (typography, utilities, CTA)
========================================================= */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--heading-font);
  color: var(--content-heading-color);
  margin-bottom: 1rem;
  line-height: 1.3;
}
h1 { font-size: 3rem; }
h2 { font-size: 2.2rem; }
h3 { font-size: 1.5rem; }

p { margin-bottom: 1.2rem; color: var(--content-paragraph-color); }

a {
  text-decoration: none;
  color: var(--primary-color);
  transition: color var(--transition-speed) ease;
}
a:hover { color: hsl(from var(--primary-color) h s calc(l - 10%)); }

ul, ol { margin-bottom: 1.2em; padding-left: 25px; color: var(--content-paragraph-color); }
li { margin-bottom: 0.6em; }
strong { font-weight: 600; color: var(--content-heading-color); }
.text-center { text-align: center; }

/* CTA base */
.cta-button {
  display: inline-block;
  padding: 0.8rem 1.8rem;
  font-size: 0.95rem;
  font-weight: 600;
  text-align: center;
  border-radius: var(--button-border-radius);
  border: none;
  cursor: pointer;
  transition: background-color var(--transition-speed) ease, transform var(--transition-speed) ease, box-shadow var(--transition-speed) ease, opacity var(--transition-speed) ease;
  background-color: var(--primary-color);
  color: white;
}
.cta-button:hover { transform: translateY(-2px); background-color: hsl(from var(--primary-color) h s calc(l - 10%)); }


/* =========================================================
   03) Header / Navigation / Mobile Nav
========================================================= */
#main-header {
  background-color: var(--header-scrolled-bg);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  padding: 0.6rem 0;
  position: fixed; top: 0; left: 0; width: 100%; z-index: 1000;
  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.07);
  height: var(--header-height);
  display: flex; align-items: center;
}
#main-header .container {
  display: flex; justify-content: space-between; align-items: center;
}

.logo-wrapper { display: flex; align-items: center; text-decoration: none; }
.logo-image { max-height: 45px; width: auto; display: block; margin-right: 12px; }



/* Desktop nav */
.nav-links ul { list-style: none; display: flex; margin: 0; padding: 0; }
.nav-links li { margin-left: 2rem; }
.nav-links a {
  color: var(--header-link-color-scrolled);
  font-weight: 500;
  padding-bottom: 6px;
  position: relative;
  font-size: 0.95rem;
  letter-spacing: 0.3px;
}
.nav-links a::after {
  content: ''; position: absolute; bottom: 0; left: 0;
  width: 0; height: 2px; background-color: var(--accent-color);
  transition: width var(--transition-speed) ease-out;
}
.nav-links a:hover,
.nav-links a.active { color: var(--accent-color) !important; }
.nav-links a:hover::after,
.nav-links a.active::after { width: 100%; }

.header-actions { display: flex; align-items: center; gap: 10px; }
.mobile-nav-toggle {
  display: none; background: none; border: none; font-size: 1.7rem;
  cursor: pointer; color: var(--header-link-color-scrolled); padding: 8px;
}
.cart-icon-wrapper { position: relative; cursor: pointer; padding: 8px; color: var(--header-link-color-scrolled); }
.cart-icon-wrapper .fa-shopping-cart { font-size: 1.4em; }
.cart-item-count {
  position: absolute; top: 0; right: 0;
  background-color: var(--primary-color); color: white;
  border-radius: 50%; padding: 1px 5px; font-size: 0.65em; font-weight: bold; line-height: 1.1;
  min-width: 16px; text-align: center; display: none;
}
.cart-item-count.visible { display: inline-block; }

/* Mobile nav (flyout) */
@media (max-width: 767px) {
  #main-header {
    background-color: var(--surface-color) !important;
    backdrop-filter: none !important;
    box-shadow: 0 2px 8px rgba(0,0,0,0.07) !important;
    padding: 0.6rem 0 !important;
  }
  #main-header .logo-image { max-height: 45px !important; }
  #main-header .logo-text-brandname { color: var(--brandname-brown-color) !important; }
  #main-header .cart-icon-wrapper,
  #main-header .mobile-nav-toggle { color: var(--header-link-color-scrolled) !important; }

  .mobile-nav-toggle { display: block; z-index: 1001; padding: 12px; font-size: 1.8rem; }

  .nav-links {
    position: fixed; top: 0; right: -100%;
    width: 85%; max-width: 320px; height: 100vh;
    background-color: var(--mobile-nav-flyout-bg);
    backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
    display: flex; flex-direction: column; box-shadow: -6px 0 25px rgba(0,0,0,0.35);
    transition: right 0.35s cubic-bezier(0.25, 0.1, 0.25, 1); z-index: 999; overflow-y: auto;
  }
  .nav-links.active { right: 0; }
  .nav-links ul {
    flex-direction: column; padding-top: calc(var(--header-height) + 2rem); padding-bottom: 2rem; width: 100%;
  }
  .nav-links li {
    margin: 0; width: 100%;
    opacity: 0; transform: translateX(-25px);
    transition: opacity 0.3s ease-out, transform 0.3s ease-out;
  }
  .nav-links.active li { opacity: 1; transform: translateX(0); }
  .nav-links.active li:nth-child(1) { transition-delay: 0.1s; }
  .nav-links.active li:nth-child(2) { transition-delay: 0.15s; }
  .nav-links.active li:nth-child(3) { transition-delay: 0.2s; }
  .nav-links.active li:nth-child(4) { transition-delay: 0.25s; }
  .nav-links.active li:nth-child(5) { transition-delay: 0.3s; }

  .nav-links a {
    display: block; padding: 1rem 2rem; font-size: 1.1rem; font-weight: 500;
    color: var(--light-text-color); border-bottom: 1px solid rgba(255,255,255,0.1); text-align: left; width: 100%;
  }
  .nav-links li:last-child a { border-bottom: none; }
  .nav-links a::after { display: none; }
  .nav-links a:hover { background-color: rgba(255,255,255,0.05); color: var(--light-text-color); }
  .nav-links a.active {
    background-color: var(--mobile-nav-active-link-bg) !important;
    color: var(--mobile-nav-active-link-text) !important; font-weight: 600;
  }
}


/* =========================================================
   04) Promo Banner (image + simple fade banner)
========================================================= */
/* image banner (closeable) */
.image-banner-container {
  position: relative;
  background-color: #333;
  overflow: hidden; line-height: 0;
  transition: max-height 0.6s cubic-bezier(0.25, 1, 0.5, 1);
  max-height: 500px;
}
.image-banner-container.hidden { max-height: 0; }
.image-banner-container img { width: 100%; height: auto; display: block; }
#close-promo-banner {
  position: absolute; top: 15px; right: 15px; width: 36px; height: 36px;
  background-color: rgba(0,0,0,0.5); color: white; border: 1px solid rgba(255,255,255,0.3);
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-size: 1.8rem; font-weight: 300; line-height: 1; text-shadow: 0 1px 2px rgba(0,0,0,0.3);
  cursor: pointer; opacity: 0.8; transition: all 0.3s ease; z-index: 5;
}
#close-promo-banner:hover { opacity: 1; transform: scale(1.1); background-color: rgba(0,0,0,0.7); }
@media (max-width: 767px) {
  #close-promo-banner { width: 32px; height: 32px; font-size: 1.6rem; top: 10px; right: 10px; }
}

/* simple fade-in banner (#promo-banner) used by JS (visible class) */
#promo-banner { display: none; opacity: 0; transition: opacity 0.5s ease; }
#promo-banner.visible { display: block; opacity: 1; }


/* =========================================================
   05) Hero (background slider + content)
========================================================= */
.hero-inspired-section {
  padding-top: 0;
  background-color: #282828;
  min-height: calc(100vh - var(--header-height));
  display: flex; flex-direction: column; justify-content: center; align-items: center;
  position: relative; overflow: hidden; text-align: center;
}
/* HERO: dynamic, count-agnostic */
.hero-background-slider {
  position: absolute; top: 0; left: 0;
  width: 100%; height: 100%;
  z-index: 1; overflow: hidden;
}

/* Let the track size itself to its children */
.hero-background-slider .slide-track {
  display: flex;
  height: 100%;
  width: max-content;
}


/* Each slide fills the viewport width; no per-count math */
.hero-background-slider .slide {
  flex: 0 0 100vw;     /* <— add */
  width: 100vw; 
  height: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

/* Works with any count when you duplicate the set once */
@keyframes scrollLeft {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.hero-content-overlay {
  position: relative; z-index: 2;
  display: flex; flex-direction: column; justify-content: center; align-items: center;
  padding: 2rem 0; width: 100%;
}
.hero-inspired-text-content { max-width: 700px; }
.hero-inspired-pre-header {
  display: inline-block; background-color: var(--hero-preheader-bg-desktop); color: var(--hero-preheader-color-desktop);
  font-size: 0.9rem; font-weight: 600; padding: 0.6rem 1.2rem; border-radius: 25px; margin-bottom: 1.5rem;
  letter-spacing: 0.5px; text-shadow: 1px 1px 2px rgba(0,0,0,0.4);
}
.hero-inspired-title {
  font-family: var(--heading-font);
  font-size: calc(3rem + 2vw);
  color: var(--hero-heading-color);
  line-height: 1.25; margin-bottom: 2rem; font-weight: 700; text-shadow: 2px 2px 5px rgba(0,0,0,0.6);
}
.hero-inspired-description {
  font-size: calc(1.05rem + 0.15vw); color: var(--hero-paragraph-color);
  line-height: 1.8; margin-bottom: 3rem; max-width: 600px; margin-left: auto; margin-right: auto;
  text-shadow: 1px 1px 3px rgba(0,0,0,0.6);
}
.hero-inspired-cta-group { display: flex; align-items: center; justify-content: center; gap: 1.5rem; }
.cta-button.hero-inspired-cta {
  background-color: var(--hero-cta-base-green); color: var(--hero-cta-text-color);
  padding: 1.1rem 2.8rem; font-size: 1.05rem; font-weight: 600; letter-spacing: 0.5px;
  box-shadow: 0 5px 18px rgba(0,0,0, 0.25), inset 0 -2px 0px rgba(0,0,0,0.1);
  transition: background-color 0.25s ease, transform 0.2s ease, box-shadow 0.25s ease;
}
.cta-button.hero-inspired-cta:hover {
  background-color: var(--hero-cta-hover-green);
  box-shadow: 0 7px 22px rgba(0,0,0, 0.3), inset 0 -2px 0px rgba(0,0,0,0.1);
  transform: translateY(-3px);
}
.hero-inspired-bottom-bar {
  position: relative; z-index: 2; margin-top: auto; padding-top: 2rem; padding-bottom: 1.5rem;
  display: flex; justify-content: space-between; align-items: center; width: 100%;
  border-top: 1px solid rgba(255,255,255,0.2); color: var(--hero-paragraph-color);
}
.bottom-bar-quote p, .bottom-bar-stats p {
  font-size: 0.9rem; color: var(--hero-paragraph-color); margin: 0; text-shadow: 1px 1px 2px rgba(0,0,0,0.4);
}
.bottom-bar-stats { text-align: right; }
.bottom-bar-stats strong { color: #fff; }

@media (max-width: 992px) {
  .hero-inspired-text-content { max-width: 90%; }
  .hero-inspired-title { font-size: calc(2.8rem + 1.8vw); }
  .hero-inspired-description { font-size: calc(1rem + 0.15vw); }
}

@media (max-width: 767px) {
  .hero-inspired-section {
    min-height: calc(100vh - var(--header-height));
    justify-content: flex-start; overflow: visible; background-color: var(--secondary-color);
  }
  .hero-background-slider { position: relative; width: 100%; height: 45vh; z-index: auto; background-color: #282828; }
  .hero-content-overlay {
    background-color: var(--surface-color); position: relative; z-index: auto; padding: 2.5rem 15px; width: 100%;
    margin-top: 0; justify-content: flex-start; align-items: center; text-align: center;
  }
  .hero-inspired-text-content { max-width: 100%; }
  .hero-inspired-pre-header {
    color: var(--text-color); background-color: var(--secondary-color); padding: 0.5rem 1rem; font-size: 0.85rem;
    margin-bottom: 1rem; text-shadow: none; border: 1px solid var(--border-color);
  }
  .hero-inspired-title { color: var(--text-color); font-size: calc(2rem + 3vw); line-height: 1.3; margin-bottom: 1.5rem; text-shadow: none; }
  .hero-inspired-description { color: #555; font-size: calc(0.95rem + 0.5vw); margin-bottom: 2rem; line-height: 1.7; text-shadow: none; }
  .cta-button.hero-inspired-cta {
    background-color: var(--hero-cta-base-green); color: var(--hero-cta-text-color);
    padding: 0.9rem 2rem; font-size: 1rem; box-shadow: 0 4px 12px rgba(0,0,0, 0.15), inset 0 -1px 0px rgba(0,0,0,0.1);
  }
  .cta-button.hero-inspired-cta:hover {
    background-color: var(--hero-cta-hover-green); box-shadow: 0 6px 15px rgba(0,0,0, 0.2), inset 0 -1px 0px rgba(0,0,0,0.1);
    transform: translateY(-2px);
  }
  .hero-inspired-bottom-bar { display: none; }
}

@media (max-width: 480px) {
  .hero-background-slider { height: 40vh; }
  .hero-inspired-title { font-size: calc(1.8rem + 3.5vw); margin-bottom: 1rem; }
  .hero-inspired-pre-header { font-size: 0.8rem; padding: 0.4rem 0.8rem; margin-bottom: 0.8rem; }
  .hero-inspired-description { font-size: calc(0.9rem + 0.8vw); margin-bottom: 1.5rem; }
  .cta-button.hero-inspired-cta { padding: 0.9rem 1.8rem; font-size: 0.95rem; }
}


/* =========================================================
   06) Certifications
========================================================= */
.certifications-section { padding: 80px 0; background-color: var(--secondary-color); }
.section-title {
  text-align: center; margin-bottom: 3rem; font-size: 2.5rem; position: relative; color: var(--text-color);
}
.section-title::after {
  content: ''; display: block; width: 80px; height: 3px; background-color: var(--primary-color);
  margin: 0.5rem auto 0;
}
.certification-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 2.5rem; text-align: center;
}
.certification-item {
  padding: 1.5rem; border-radius: var(--border-radius);
  transition: transform var(--transition-speed) ease, box-shadow var(--transition-speed) ease;
}
.certification-item i {
  color: var(--primary-color); margin-bottom: 1rem; transition: transform var(--transition-speed) ease; font-size: 2.5em;
}
.certification-item h3 { margin-bottom: 0.5rem; font-size: 1.2rem; color: var(--text-color); }
.certification-item p { font-size: 0.9rem; color: #666; }
.certification-item:hover { transform: translateY(-5px); box-shadow: var(--box-shadow); }
.certification-item:hover i { transform: scale(1.1); }


/* =========================================================
   07) Products (grid + cards)
========================================================= */
.product-line-section { padding: 80px 0; background-color: #fff; }
.product-grid { display: grid; grid-template-columns: repeat(1, 1fr); gap: 2rem; margin-bottom: 3rem; }
.product-card-link { text-decoration: none; color: inherit; display: block; height: 100%; }
.product-card {
  background-color: var(--surface-color); border-radius: var(--border-radius);
  box-shadow: 0 2px 8px rgba(0,0,0,0.07); overflow: hidden; text-align: center;
  transition: transform var(--transition-speed) ease, box-shadow var(--transition-speed) ease;
  display: flex; flex-direction: column; height: 100%;
}
.product-card:hover { transform: translateY(-5px); box-shadow: 0 5px 15px rgba(0,0,0,0.1); }
.product-image-container {
  width: 100%; position: relative; overflow: hidden; background-color: var(--surface-color);
  border-bottom: 1px solid var(--border-color); border-top-left-radius: var(--border-radius); border-top-right-radius: var(--border-radius);
}
.product-image {
  display: block; width: 100%; transition: transform 0.4s ease;
  border-top-left-radius: var(--border-radius); border-top-right-radius: var(--border-radius);
  overflow: hidden;
}
.product-card:hover .product-image { transform: scale(1.03); }
.product-info { padding: 1rem 1rem 1.2rem; flex-grow: 1; display: flex; flex-direction: column; }
.product-name {
  font-size: 1.05rem; margin-bottom: 0.6rem; color: var(--text-color);
  font-family: var(--heading-font); font-weight: 600; line-height: 1.3; min-height: 2.6em;
}
.product-description { font-size: 0.85rem; color: #666; margin-bottom: 0.8rem; line-height: 1.5; min-height: 0; }
.product-price { font-size: 1.1rem; font-weight: 700; color: var(--text-color); margin-bottom: 1rem; }
.add-to-cart-btn {
  background-color: transparent; color: var(--text-color); border: 1px solid var(--text-color);
  padding: 0.6rem 1.2rem; font-size: 0.9rem; font-weight: 500; border-radius: var(--border-radius-md);
  cursor: pointer; transition: background-color 0.3s ease, color 0.3s ease, transform 0.2s ease;
  text-transform: capitalize; letter-spacing: 0.2px; align-self: stretch; margin-top: auto;
}
.add-to-cart-btn:hover { background-color: var(--text-color); color: var(--surface-color); transform: translateY(-1px); }
.add-to-cart-btn.sold-out { background-color: #f0f0f0; color: #aaa; border-color: #ddd; cursor: not-allowed; }
.add-to-cart-btn.sold-out:hover { background-color: #f0f0f0; color: #aaa; }

#products-loading-message { text-align: center; padding: 30px; font-size: 1.1em; color: #777; }

@media (min-width: 576px) { .product-grid { grid-template-columns: repeat(2, 1fr); gap: 1.5rem; } }
@media (min-width: 768px) {
  .product-grid { grid-template-columns: repeat(3, 1fr); gap: 1.8rem; }
  .product-card .product-name { font-size: 1rem; }
  .product-card .product-price { font-size: 1rem; }
  .product-card .add-to-cart-btn { font-size: 0.85rem; padding: 0.5rem 1rem; }
}
@media (min-width: 992px) { .product-grid { grid-template-columns: repeat(4, 1fr); gap: 2rem; } }
@media (min-width: 1200px) { .product-grid { gap: 2.2rem; } }


/* =========================================================
   08) Natural Qualities
========================================================= */
.natural-qualities-section { padding: 70px 0; background-color: var(--surface-color); text-align: center; }
.qualities-main-title {
  font-family: var(--heading-font); font-size: 2.8rem; color: var(--text-color);
  font-weight: bold; margin-bottom: 3.5rem; text-align: center; line-height: 1.3;
}
.qualities-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 3rem 2rem; max-width: 800px; margin: 0 auto; }
.quality-item { display: flex; flex-direction: column; align-items: center; text-align: center; }
.quality-icon-wrapper {
  width: 100px; height: 100px; border-radius: 50%; border: 2px solid var(--primary-color); display: flex;
  justify-content: center; align-items: center; margin-bottom: 0.75rem; background-color: transparent;
  overflow: hidden; transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.quality-item:hover .quality-icon-wrapper { transform: scale(1.05); box-shadow: 0 0 15px rgba(var(--primary-color), 0.3); }
.quality-icon-wrapper img { max-width: 60%; max-height: 60%; object-fit: contain; }
.quality-icon-wrapper.filled-icon-bg { background-color: var(--primary-color); border-color: var(--primary-color); }
.quality-icon-wrapper.filled-icon-bg img { width: 100%; height: 100%; object-fit: contain; }
.quality-text { font-family: var(--body-font); font-size: 0.9rem; color: var(--text-color); font-weight: 500; line-height: 1.4; margin-bottom: 0; }

@media (max-width: 992px) {
  .qualities-main-title { font-size: 2.4rem; margin-bottom: 3rem; }
  .qualities-grid { max-width: 700px; }
}
@media (max-width: 767px) {
  .natural-qualities-section { padding: 50px 0; }
  .qualities-main-title { font-size: 2rem; margin-bottom: 2.5rem; }
  .qualities-grid { grid-template-columns: repeat(2, 1fr); gap: 2rem 1.5rem; max-width: 500px; }
  .quality-icon-wrapper { width: 90px; height: 90px; }
  .quality-text { font-size: 0.85rem; }
}
@media (max-width: 480px) {
  .natural-qualities-section { padding: 40px 0; }
  .qualities-main-title { font-size: 1.8rem; margin-bottom: 2rem; line-height: 1.2; }
  .qualities-grid { grid-template-columns: repeat(2, 1fr); gap: 1.5rem 1rem; max-width: 100%; padding: 0 15px; }
  .quality-icon-wrapper { width: 80px; height: 80px; }
  .quality-icon-wrapper img { max-width: 55%; max-height: 55%; }
}


/* =========================================================
   09) Footer
========================================================= */
#main-footer {
  background-color: var(--text-color);
  color: rgba(240, 240, 240, 0.8);
  padding: 2.5rem 0;
  text-align: center;
  flex-shrink: 0;
}
#main-footer .container { display: flex; flex-direction: column; align-items: center; }
#main-footer p { margin-bottom: 0.8rem; font-size: 0.9rem; color: rgba(240,240,240,0.8); }

.extra-footer-links { margin-bottom: 1rem; font-size: 0.85rem; }
.extra-footer-links a { color: rgba(240, 240, 240, 0.7); margin: 0 0.3rem; }
.extra-footer-links a:hover { color: var(--accent-color); }

.social-links a { color: rgba(240, 240, 240, 0.8); margin: 0 0.75rem; font-size: 1.2rem; transition: color var(--transition-speed) ease; }
.social-links a:hover { color: var(--accent-color); }

/* Unified Vinzeres credit (works across pages) */
#main-footer .vinzeres-credit {
  font-size: 0.8rem;
  color: rgba(240, 240, 240, 0.6);
  margin-top: -0.3rem;
  margin-bottom: 1rem;
}
#main-footer .vinzeres-credit a {
  color: rgba(240, 240, 240, 0.7);
  text-decoration: underline;
  text-decoration-color: rgba(240, 240, 240, 0.4);
  transition: color var(--transition-speed) ease, text-decoration-color var(--transition-speed) ease;
}
#main-footer .vinzeres-credit a:hover {
  color: var(--accent-color);
  text-decoration-color: var(--accent-color);
}


/* =========================================================
   10) Animations
========================================================= */
.animate-on-load, .animate-on-scroll {
  opacity: 0;
  transition-property: opacity, transform;
  transition-duration: 0.7s;
  transition-timing-function: ease-out;
}
.animate-on-load { transform: translateY(25px); }
.animate-on-scroll { transform: translateY(30px); }
.animate-on-load.visible, .animate-on-scroll.visible { opacity: 1; transform: translateY(0) scale(1); }
.animate-on-load.delay-1, .animate-on-scroll.delay-1 { transition-delay: 0.15s; }
.animate-on-load.delay-2, .animate-on-scroll.delay-2 { transition-delay: 0.3s; }
.animate-on-load.delay-3, .animate-on-scroll.delay-3 { transition-delay: 0.45s; }
.animate-on-load.delay-4, .animate-on-scroll.delay-4 { transition-delay: 0.6s; }


/* =========================================================
   11) Cart Modal + Toasts
========================================================= */
.cart-overlay {
  position: fixed; top: 0; left: 0; width: 100%; height: 100%;
  background-color: rgba(0, 0, 0, 0.5); z-index: 1040;
  opacity: 0; visibility: hidden; transition: opacity 0.3s ease, visibility 0s 0.3s;
}
.cart-modal {
  position: fixed; top: 0; right: -100%; width: 100%; max-width: 380px; height: 100%; max-height: 100vh;
  background-color: var(--surface-color); z-index: 1050; box-shadow: -5px 0 15px rgba(0,0,0,0.15);
  transition: right 0.4s cubic-bezier(0.25, 0.8, 0.25, 1); display: flex; flex-direction: column;
}
.cart-modal.open { right: 0; }
.cart-overlay.open { opacity: 1; visibility: visible; transition: opacity 0.3s ease, visibility 0s 0s; }

.cart-modal-content {
  height: 100%; display: flex; flex-direction: column; background-color: var(--surface-color);
}
.cart-header { display: flex; justify-content: space-between; align-items: center; padding: 15px 20px; border-bottom: 1px solid var(--border-color); }
.cart-header h2 { font-family: var(--heading-font); font-size: 1.4em; margin: 0; color: var(--text-color); }
.close-cart-button { background: none; border: none; font-size: 1.7em; color: #888; cursor: pointer; padding: 5px; line-height: 1; }
.close-cart-button:hover { color: var(--text-color); }

.cart-items-container {
  flex-grow: 1; overflow-y: auto; padding: 15px; scroll-behavior: smooth;
}
.cart-item {
  display: flex; align-items: flex-start; margin-bottom: 15px; padding-bottom: 15px; border-bottom: 1px solid #f0f0f0;
}
.cart-item:last-child { margin-bottom: 0; border-bottom: none; }
.cart-item-image img {
  width: 60px; height: 60px; object-fit: cover; border-radius: var(--border-radius-sm);
  margin-right: 12px; border: 1px solid var(--border-color); flex-shrink: 0;
}
.cart-item-details { flex-grow: 1; }
.cart-item-name { font-weight: 500; font-size: 0.95em; margin-bottom: 4px; color: var(--text-color); }
.cart-item-price { font-size: 0.9em; color: #555; margin-bottom: 8px; }
.cart-item-actions { margin-left: 10px; flex-shrink: 0; }
.cart-item-actions .remove-from-cart-btn { background: none; border: none; color: var(--error-color); font-size: 0.8em; cursor: pointer; text-decoration: underline; padding: 0; }
.cart-item-actions .remove-from-cart-btn:hover { color: hsl(from var(--error-color) h s calc(l - 10%)); }

.cart-item-quantity { display: flex; align-items: center; margin-top: 5px; }
.cart-item-quantity .quantity-btn {
  background-color: #f0f0f0; border: 1px solid #ddd; color: var(--text-color); cursor: pointer;
  padding: 3px 7px; font-size: 0.85em; border-radius: var(--border-radius-sm); line-height: 1; height: 28px; min-width: 28px;
}
.cart-item-quantity .quantity-btn:disabled { opacity: 0.5; cursor: not-allowed; }
.cart-item-quantity .quantity-input {
  width: 35px; text-align: center; border: 1px solid #ddd; border-left: none; border-right: none; padding: 3px 0; font-size: 0.85em; height: 28px; background-color: #fff;
}
.cart-item-quantity .quantity-input::-webkit-outer-spin-button,
.cart-item-quantity .quantity-input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

.cart-empty-message { text-align: center; color: #777; font-size: 1.05em; padding: 30px 0; }

.cart-footer { padding: 15px 20px; border-top: 1px solid var(--border-color); background-color: #f9f9f9; }
.cart-footer .cta-button.full-width {
  display: flex; align-items: center; justify-content: center; width: 100%; padding: 12px; font-size: 1em; font-weight: 500;
}
.cart-footer .cta-button i { margin-right: 8px; font-size: 1.2em; }
.cart-footer .instagram-button {
  background: linear-gradient(45deg, #f09433 0%,#e6683c 25%,#dc2743 50%,#cc2366 75%,#bc1888 100%); color: white;
}
.cart-footer .instagram-button:hover { opacity: 0.9; transform: translateY(-2px); }
.cart-footer .cta-button:disabled {
  background-color: #ccc !important; background-image: none !important; color: #666 !important; cursor: not-allowed; box-shadow: none; opacity: 0.6;
}
.cart-footer .cta-button:disabled:hover { opacity: 0.6; transform: translateY(0); }

/* Toasts */
.cart-toast-notification {
  position: fixed; bottom: 20px; left: 50%; transform: translateX(-50%) translateY(100px);
  background-color: #333; color: white; padding: 10px 20px; border-radius: 25px; box-shadow: 0 4px 15px rgba(0,0,0,0.2);
  z-index: 2000; font-size: 0.9em; opacity: 0; transition: opacity 0.3s ease, transform 0.3s ease;
}
.cart-toast-notification.show { opacity: 1; transform: translateX(-50%) translateY(0); }

/* Very small screens modal full width */
@media (max-width: 480px) { .cart-modal { max-width: 100%; } }


/* =========================================================
   12) Policy Pages (generic content card)
========================================================= */
.policy-page-main-content {
  padding-top: calc(65px + 3rem);
  padding-bottom: 3rem;
  flex-grow: 1;
  background-color: var(--page-background-color);
}
.policy-page-main-content .container { max-width: 850px; }

.policy-content-card {
  background-color: var(--surface-color);
  padding: 2.5rem 3rem;
  border-radius: var(--border-radius-md);
  box-shadow: 0 5px 20px rgba(0,0,0,0.08);
}
.policy-content-card h1 {
  text-align: center; font-size: 2.5rem; margin-bottom: 0.5rem; color: var(--content-heading-color);
}
.policy-content-card .effective-date {
  text-align: center; font-style: italic; color: #777; margin-bottom: 2.5rem; font-size: 0.9em;
}
.policy-content-card h2 {
  font-size: 1.8rem; margin-top: 2rem; margin-bottom: 0.8rem; padding-bottom: 0.4rem; border-bottom: 1px solid var(--border-color);
}
.policy-content-card h3 { font-size: 1.4rem; margin-top: 1.5rem; margin-bottom: 0.6rem; }

@media (max-width: 992px) {
  .policy-page-main-content { padding-top: calc(60px + 2rem); }
  .policy-content-card { padding: 2rem; }
}
@media (max-width: 767px) {
  html { font-size: 15px; }
  .policy-page-main-content { padding-top: calc(55px + 1.5rem); }
  .policy-content-card { padding: 1.5rem; }
  .policy-content-card h1 { font-size: 2rem; }
  .policy-content-card h2 { font-size: 1.5rem; }
}
@media (max-width: 480px) {
  .policy-page-main-content { padding-top: calc(50px + 1rem); }
  .policy-content-card { padding: 1.5rem 1rem; }
  .policy-content-card h1 { font-size: 1.8rem; }
  .policy-content-card h2 { font-size: 1.3rem; }
  ul, ol { padding-left: 20px; }
}


/* =========================================================
   13) Blog List Page
========================================================= */
/* Title banner */
.page-title-banner {
  padding-top: calc(91px + 4rem);
  padding-bottom: 4rem;
  background-color: var(--secondary-color);
  text-align: center;
}
.page-title-banner h1 {
  font-size: 2.8rem; color: var(--text-color); margin-bottom: 0.5rem;
}
.page-title-banner p {
  font-size: 1rem; color: #666; max-width: 500px; margin: 0 auto;
}

/* Layout */
.blog-section { padding: 80px 0; background-color: var(--surface-color); }
.blog-layout { max-width: 850px; margin: 0 auto; }

/* Feed & cards */
.blog-feed { display: flex; flex-direction: column; gap: 60px; }
.blog-post-card {
  background-color: var(--surface-color);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-md);
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  transition: box-shadow var(--transition-speed) ease, transform var(--transition-speed) ease;
}
.blog-post-card:hover { transform: translateY(-5px); box-shadow: 0 8px 25px rgba(0,0,0,0.08); }

.post-image-link { display: block; overflow: hidden; }
.blog-post-card img {
  width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; transition: transform 0.4s ease;
}
.blog-post-card:hover img { transform: scale(1.05); }

.post-content { padding: 2rem; }
.post-meta { font-size: 0.8rem; color: #888; text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 0.75rem; }
.post-meta span { font-weight: 500; }

.post-title { font-size: 1.8rem; margin-bottom: 1rem; line-height: 1.3; }
.post-title a {
  color: var(--text-color); text-decoration: none;
  background-image: linear-gradient(var(--primary-color), var(--primary-color));
  background-position: 0% 100%; background-repeat: no-repeat; background-size: 0% 2px;
  transition: background-size 0.3s;
}
.post-title a:hover { background-size: 100% 2px; }

.post-excerpt { font-size: 0.95rem; color: #666; margin-bottom: 1.5rem; }

.read-more-link {
  font-weight: 600; color: var(--primary-color); text-decoration: none; font-size: 0.9rem;
}
.read-more-link i { margin-left: 5px; transition: transform 0.2s ease; }
.read-more-link:hover i { transform: translateX(4px); }

@media (max-width: 767px) {
  .page-title-banner { padding-top: calc(63px + 2rem); padding-bottom: 2rem; }
  .page-title-banner h1 { font-size: 2rem; }
  .blog-section { padding: 40px 0; }
  .post-content { padding: 1.5rem; }
  .post-title { font-size: 1.5rem; }
}


/* =========================================================
   14) Single Blog Post Page
========================================================= */
.blog-post-section { padding: calc(91px + 4rem) 0 4rem 0; background-color: var(--surface-color); }
.blog-post-container {
  max-width: 800px; margin: 0 auto; background-color: #fff; padding: 2rem;
  border: 1px solid var(--border-color); border-radius: var(--border-radius-md);
}
@media (min-width: 768px) { .blog-post-container { padding: 3rem 4rem; } }

.post-header { text-align: center; margin-bottom: 2rem; }
.post-title { font-size: 2.2rem; color: var(--text-color); margin-bottom: 0.5rem; line-height: 1.2; }
.post-meta { font-size: 0.9rem; color: #777; margin-bottom: 2rem; }

.post-feature-image { width: 100%; height: auto; border-radius: var(--border-radius-sm); margin-bottom: 2.5rem; }
.post-body { font-size: 1.05rem; line-height: 1.8; color: #444; }
.post-body p { margin-bottom: 1.5rem; }
.post-body h2, .post-body h3 { margin-top: 2.5rem; margin-bottom: 1rem; color: var(--text-color); }
.post-body a { color: var(--primary-color); text-decoration: underline; }
.post-body ul, .post-body ol { margin-bottom: 1.5rem; padding-left: 1.5rem; }

.post-additional-images { margin-top: 3rem; display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.additional-image { width: 100%; height: auto; border-radius: var(--border-radius-sm); }



/* =========================================================
   15) Contact Page
========================================================= */
body.contact-page-body { background-color: var(--secondary-color); color: var(--text-color); line-height: 1.7; }

.contact-hero {
  padding: 100px 0 70px;
  background: linear-gradient(135deg, rgba(148, 165, 155, 0.85), rgba(121, 154, 72, 0.75)), url('../images/contact-hero-bg.jpg') no-repeat center/cover;
  color: #fff; text-align: center; position: relative;
}
.contact-hero::before { content: ''; position: absolute; inset: 0; z-index: 1; }
.contact-hero-content { position: relative; z-index: 2; max-width: 750px; margin: 0 auto; }
.contact-hero h1 {
  font-size: calc(2.5rem + 1.5vw); font-family: var(--heading-font); color: #fff;
  margin-bottom: 0.75rem; text-shadow: 1px 1px 4px rgba(0,0,0,0.25);
}
.contact-hero p {
  font-size: calc(0.95rem + 0.2vw); color: rgba(255,255,255,0.95); margin-bottom: 0; font-weight: 300;
  max-width: 600px; margin-left: auto; margin-right: auto;
}

.contact-main-section { padding: 60px 0; }
.contact-layout-grid { display: grid; grid-template-columns: 1fr; gap: 30px; }
@media (min-width: 992px) {
  .contact-layout-grid { grid-template-columns: 1fr 1.2fr; gap: 50px; }
  .contact-info-column { order: 1; }
  .contact-form-column { order: 2; }
}
.contact-section-title {
  font-family: var(--heading-font); font-size: 2rem; color: var(--text-color);
  margin-bottom: 1.5rem; position: relative; padding-bottom: 0.5rem;
}
.contact-section-title::after { content: ''; position: absolute; bottom: 0; left: 0; width: 50px; height: 3px; background-color: var(--accent-color); }

.contact-info-block {
  background-color: #fff; padding: 25px; border-radius: var(--border-radius); box-shadow: var(--box-shadow); margin-bottom: 25px;
}
.contact-info-block:last-child { margin-bottom: 0; }
.contact-info-block h3 {
  font-family: var(--body-font); font-size: 1.25rem; font-weight: 600; color: var(--brandname-brown-color);
  margin-bottom: 1rem; display: flex; align-items: center;
}
.contact-info-block h3 i { margin-right: 10px; font-size: 1.3rem; color: var(--hero-cta-green); width: 22px; text-align: center; }

.contact-info-block.preferred-contact {
  background-color: #fefcf5; border-left: 4px solid var(--accent-color); padding-top: 30px; padding-bottom: 30px;
}
.contact-info-block.preferred-contact h3 { color: var(--accent-color); font-size: 1.35rem; }
.contact-info-block.preferred-contact h3 i.fa-instagram { color: var(--accent-color); font-size: 1.5rem; }
.contact-preference-note { font-size: 0.9rem; color: #4c4c4c; margin-bottom: 1.2rem; line-height: 1.6; }

.cta-button.ig-dm-button {
  display: inline-flex; align-items: center; justify-content: center;
  background: linear-gradient(45deg, #f09433 0%,#e6683c 25%,#dc2743 50%,#cc2366 75%,#bc1888 100%);
  color: white; padding: 10px 20px; border-radius: var(--button-border-radius);
  font-weight: 500; font-size: 0.95rem; transition: opacity 0.3s ease, transform var(--transition-speed);
  border: none; box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}
.cta-button.ig-dm-button:hover { opacity: 0.9; transform: translateY(-2px); }
.cta-button.ig-dm-button i { margin-right: 8px; font-size: 1.1em; }

.contact-info-list { list-style: none; padding: 0; margin: 0; }
.contact-info-list li {
  font-size: 0.95rem; color: #555; margin-bottom: 10px; display: flex; align-items: center;
}
.contact-info-list li i { font-size: 1rem; color: var(--primary-color); margin-right: 10px; width: 18px; text-align: center; }
.contact-info-list li a { color: #555; text-decoration: none; transition: color var(--transition-speed); word-break: break-word; }
.contact-info-list li a:hover { color: var(--accent-color); }

.contact-social-links-block { margin-top: 20px; padding-top: 15px; border-top: 1px solid #eee; }
.contact-social-links-block h4 { font-size: 1rem; font-weight: 600; color: var(--text-color); margin-bottom: 10px; }
.contact-page-socials { display: flex; gap: 12px; }
.contact-page-socials a { color: var(--text-color); font-size: 1.2rem; transition: color var(--transition-speed), transform var(--transition-speed); }
.contact-page-socials a:hover { color: var(--hero-cta-green); transform: scale(1.1); }

.contact-form-container { background-color: #fff; padding: 30px 35px; border-radius: var(--border-radius); box-shadow: var(--box-shadow); }
.form-group { margin-bottom: 18px; }
.form-group label { display: block; font-weight: 500; margin-bottom: 7px; color: var(--text-color); font-size: 0.85rem; }
.form-group input[type="text"],
.form-group input[type="email"],
.form-group textarea {
  width: 100%; padding: 10px 14px; border: 1px solid #ddd; border-radius: 6px; font-family: var(--body-font);
  font-size: 0.9rem; color: #333; transition: border-color 0.3s ease, box-shadow 0.3s ease; background-color: #fdfdfd;
}
.form-group input[type="text"]:focus,
.form-group input[type="email"]:focus,
.form-group textarea:focus { border-color: var(--hero-cta-green); outline: none; box-shadow: 0 0 0 2px rgba(136,176,75,0.1); background-color: #fff; }
.form-group textarea { resize: vertical; min-height: 100px; }

.contact-submit-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.9rem 1.5rem;
  border: 0;
  border-radius: 9999px;
  font-weight: 600;
  cursor: pointer;
  background: #2f6f62;      /* your brand green */
  color: #fff;               /* ensure text shows */
}
.contact-submit-btn:hover {
  background-color: hsl(from var(--hero-cta-green) h s calc(l - 8%));
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(136,176,75,0.25);
}
.contact-submit-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}


#form-status-message {
  margin-top: 1rem; padding: 0.7rem 1rem; border-radius: var(--border-radius);
  font-size: 0.85rem; text-align: center; display: none;
}
#form-status-message.success { background-color: #e6f7e9; color: #28a745; border: 1px solid #badbcc; display: block; }
#form-status-message.error { background-color: #f8d7da; color: #721c24; border: 1px solid #f5c6cb; display: block; }
#form-status-message.info { background-color: #e2e3e5; color: #383d41; border: 1px solid #d6d8db; display: block; }

@media (max-width: 991px) {
  .contact-layout-grid { grid-template-columns: 1fr; }
  .contact-info-column { order: 1; }
  .contact-form-column { order: 2; margin-top: 30px; }
}
@media (max-width: 767px) {
  .contact-hero { padding: 80px 0 50px; }
  .contact-hero h1 { font-size: calc(1.8rem + 2vw); }
  .contact-hero p { font-size: calc(0.9rem + 0.2vw); }
  .contact-form-container, .contact-info-block { padding: 20px; }
  .contact-section-title { font-size: 1.8rem; }
  .cta-button.ig-dm-button { width: 100%; font-size: 0.9rem; padding: 12px 18px; }
  .contact-submit-btn { width: 100%; }
}


/* =========================================================
   16) About Page
========================================================= */
body.about-page-body { background-color: #fff; color: var(--text-color); line-height: 1.8; }

.about-hero-section {
  padding: 120px 0 80px;
  background: linear-gradient(135deg, rgba(160,178,166,0.8), rgba(136,176,75,0.7)), url('../images/about-hero-bg.jpg') no-repeat center/cover;
  color: #fff; text-align: center; position: relative; display: flex; align-items: center; justify-content: center;
}
.about-hero-section::before { content: ''; position: absolute; inset: 0; z-index: 1; }
.about-hero-content { position: relative; z-index: 2; max-width: 700px; margin: 0 auto; }
.about-hero-content h1 {
  font-size: calc(2.8rem + 1.8vw); font-family: var(--heading-font); color: #fff;
  margin-bottom: 1rem; text-shadow: 1px 1px 3px rgba(0,0,0,0.2); line-height: 1.2;
}
.about-hero-content .subtitle { font-size: calc(1rem + 0.2vw); color: rgba(255,255,255,0.9); margin-bottom: 0; font-weight: 300; letter-spacing: 0.3px; }

.story-section { padding: 80px 0; background-color: #fff; }
.story-container { max-width: 1100px; margin: 0 auto; padding: 0 15px; }
.story-grid { display: grid; grid-template-columns: 1fr; gap: 40px; align-items: center; }
@media (min-width: 768px) {
  .story-grid { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 50px; }
  .story-block:nth-child(even) .story-image-wrapper { order: -1; }
}
.story-block { margin-bottom: 60px; }
.story-block:last-child { margin-bottom: 0; }
.story-content h2 { font-family: var(--heading-font); font-size: 2.5rem; color: var(--brandname-brown-color); margin-bottom: 1.5rem; line-height: 1.3; }
.story-content p { font-size: 1rem; color: #555; margin-bottom: 1.5rem; }
.story-content p:last-child { margin-bottom: 0; }
.story-image-wrapper img {
  width: 100%; border-radius: var(--border-radius);
  box-shadow: 0 10px 30px rgba(0,0,0,0.1); object-fit: cover; max-height: 450px;
}

/* Values/Philosophy */
.philosophy-section { padding: 80px 0; background-color: var(--secondary-color); }
.philosophy-section .section-heading { text-align: center; margin-bottom: 50px; }
.philosophy-section .section-heading h2 { font-size: 2.8rem; color: var(--text-color); font-family: var(--heading-font); }
.philosophy-section .section-heading p { font-size: 1.1rem; color: #666; max-width: 700px; margin: 10px auto 0; }
.philosophy-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 30px; }
.philosophy-item {
  background-color: #fff; padding: 30px 25px; text-align: center; border-radius: var(--border-radius);
  box-shadow: var(--box-shadow); transition: transform var(--transition-speed) ease, box-shadow var(--transition-speed) ease;
}
.philosophy-item:hover { transform: translateY(-8px); box-shadow: 0 12px 35px rgba(0,0,0,0.1); }
.philosophy-item .icon-wrapper { font-size: 2.5rem; color: var(--hero-cta-green); margin-bottom: 20px; display: inline-block; }
.philosophy-item h3 { font-family: var(--body-font); font-size: 1.25rem; font-weight: 600; color: var(--text-color); margin-bottom: 10px; }
.philosophy-item p { font-size: 0.9rem; color: #555; line-height: 1.7; }

/* Optional Team */
.team-section { padding: 80px 0; background-color: #fff; }
.team-member { text-align: center; max-width: 500px; margin: 0 auto; }
.team-member img {
  width: 200px; height: 200px; border-radius: 50%; object-fit: cover; margin: 0 auto 20px; box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}
.team-member h3 { font-family: var(--heading-font); font-size: 1.8rem; margin-bottom: 5px; }
.team-member .role { font-size: 1rem; color: var(--brandname-brown-color); font-weight: 500; margin-bottom: 15px; letter-spacing: 0.5px; }
.team-member p { font-size: 1rem; color: #555; }

/* CTA */
.about-cta-section { padding: 70px 0; background-color: var(--primary-color); color: #fff; text-align: center; }
.about-cta-section h2 { font-family: var(--heading-font); font-size: 2.5rem; color: #fff; margin-bottom: 1rem; }
.about-cta-section p {
  font-size: 1.1rem; color: rgba(255,255,255,0.9); margin-bottom: 2rem; max-width: 600px; margin-inline: auto;
}
.about-cta-button {
  display: inline-block; background-color: var(--accent-color); color: var(--text-color); padding: 14px 35px;
  font-size: 1rem; font-weight: 600; letter-spacing: 0.5px; text-transform: uppercase; border: none; border-radius: var(--button-border-radius);
  cursor: pointer; transition: background-color var(--transition-speed), transform var(--transition-speed), box-shadow var(--transition-speed);
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}
.about-cta-button:hover { background-color: hsl(from var(--accent-color) h s calc(l - 10%)); transform: translateY(-3px); box-shadow: 0 6px 20px rgba(0,0,0,0.15); }

.animate-on-scroll { opacity: 0; transform: translateY(30px); transition: opacity 0.8s ease-out, transform 0.8s ease-out; }
.animate-on-scroll.visible { opacity: 1; transform: translateY(0); }
.animate-on-scroll.delay-1 { transition-delay: 0.15s; }
.animate-on-scroll.delay-2 { transition-delay: 0.3s; }
.animate-on-scroll.delay-3 { transition-delay: 0.45s; }

@media (max-width: 767px) {
  .about-hero-section { padding: 100px 0 60px; }
  .about-hero-content h1 { font-size: calc(2rem + 2vw); }
  .about-hero-content .subtitle { font-size: calc(0.9rem + 0.2vw); }
  .story-section, .philosophy-section, .team-section, .about-cta-section { padding: 60px 0; }
  .story-content h2 { font-size: 2rem; }
  .philosophy-section .section-heading h2 { font-size: 2.2rem; }
  .about-cta-section h2 { font-size: 2rem; }
  .story-block:nth-child(even) .story-image-wrapper { order: 0; margin-top: 30px; }
}


/* =========================================================
   17) Checkout Page (single column)
========================================================= */
.checkout-page-container {
  padding-top: calc(63px + 25px); padding-bottom: 50px; background-color: var(--secondary-color);
}
.checkout-page-container .container { max-width: 800px; margin: 0 auto; padding: 0 15px; }
.checkout-page-container h1 {
  font-family: var(--heading-font); font-size: 1.8rem; text-align: center; margin-bottom: 30px; color: var(--text-color);
}
.checkout-form { background-color: transparent; padding: 0; border-radius: 0; box-shadow: none; }

.checkout-columns { display: flex; flex-direction: column; gap: 30px; }
.checkout-details-column,
.checkout-order-review-column {
  background-color: var(--surface-color);
  padding: 25px; border-radius: var(--border-radius-md); box-shadow: var(--box-shadow); width: 100%; position: static;
}

.checkout-details-column h2,
.checkout-order-review-column h2,
.checkout-payment-section h3 {
  font-family: var(--heading-font); font-size: 1.5rem; margin-bottom: 20px; padding-bottom: 10px; border-bottom: 1px solid var(--border-color); color: var(--text-color);
}

.form-row { margin-bottom: 20px; }
.form-row label { display: block; font-weight: 500; margin-bottom: 8px; font-size: 0.9rem; color: var(--text-color); }
.form-row label .required { color: var(--error-color); font-weight: bold; margin-left: 3px; }
.form-row input[type="text"],
.form-row input[type="email"],
.form-row input[type="tel"],
.form-row select {
  width: 100%; padding: 12px 15px; border: 1px solid var(--border-color); border-radius: var(--border-radius-sm);
  font-size: 0.95rem; font-family: var(--body-font); color: var(--text-color); background-color: #fff; transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.form-row input:focus, .form-row select:focus { border-color: var(--primary-color); outline: none; box-shadow: 0 0 0 3px rgba(var(--accent-color-rgb), 0.25); }

/* first/last name pairing */
.form-row-first-last-group { display: flex; flex-direction: column; gap: 0; }
.form-row-first-last-group .form-row { width: 100%; margin-bottom: 20px; }
@media (min-width: 576px) {
  .form-row-first-last-group { flex-direction: row; gap: 4%; }
  .form-row-first-last-group .form-row { width: 48%; margin-bottom: 0; }
}

/* Order summary rows */
.order-review-section h2 { margin-bottom: 15px; }
.order-summary-items .cart-empty-checkout {
  text-align: center; color: #777; padding: 30px 10px; font-style: italic; background-color: var(--secondary-color);
  border-radius: var(--border-radius-sm); margin-bottom: 20px;
}
.order-summary-item {
  display: flex; justify-content: space-between; align-items: flex-start; padding: 15px 0; border-bottom: 1px solid #f0f0f0;
}
.order-summary-item:last-of-type { border-bottom: 1px solid var(--border-color); }
.order-summary-item .product-name-qty {
  font-weight: 500; font-size: 0.95rem; color: var(--text-color); line-height: 1.4; padding-right: 15px; flex-grow: 1; word-break: break-word;
}
.order-summary-item .product-price-sum { font-weight: 600; font-size: 0.95rem; color: var(--text-color); white-space: nowrap; flex-shrink: 0; }

.order-summary-footer { margin-top: 20px; padding-top: 10px; }
.order-summary-footer .summary-row {
  display: flex; justify-content: space-between; align-items: center; padding: 10px 0; font-size: 1rem;
}
.order-summary-footer .summary-row:not(:last-child) { border-bottom: 1px dashed #e0e0e0; }
.order-summary-footer .summary-row .summary-label { color: #444; font-weight: 500; }
.order-summary-footer .summary-row .summary-value { font-weight: 600; color: var(--text-color); }
.order-summary-footer .shipping-total .summary-value {
  font-style: italic; font-size: 0.9rem; color: #555; text-align: right; line-height: 1.3;
}
.order-summary-footer .order-total { margin-top: 10px; padding-top: 15px; border-top: 2px solid var(--text-color); }
.order-summary-footer .order-total .summary-label,
.order-summary-footer .order-total .summary-value strong {
  font-size: 1.2rem; font-weight: 700; color: var(--text-color);
}

/* Payment methods */
.checkout-payment-section { margin-top: 30px; }
.payment-methods { list-style: none; padding: 0; margin: 0 0 20px 0; }
.payment-method {
  padding: 15px; border: 1px solid var(--border-color); border-radius: var(--border-radius-sm);
  margin-bottom: 12px; background-color: #fdfdfd; cursor: pointer;
}
.payment-method:last-child { margin-bottom: 0; }
.payment-method input[type="radio"] { margin-right: 12px; vertical-align: middle; transform: scale(1.15); }
.payment-method label { font-weight: 600; font-size: 1rem; vertical-align: middle; }
.payment-box {
  padding: 12px 15px; margin-top: 12px; background-color: var(--secondary-color);
  border-radius: var(--border-radius-sm); font-size: 0.85rem; line-height: 1.6; color: #555; border: 1px solid #e9e9e9;
}
.payment-box p:last-child { margin-bottom: 0; }

.privacy-policy-text { font-size: 0.8rem; color: #777; margin-bottom: 20px; line-height: 1.5; text-align: center; }
.privacy-policy-text a { color: var(--primary-color); text-decoration: underline; }
.privacy-policy-text a:hover { color: var(--accent-color); }

#place_order_button {
  display: block; background-color: var(--hero-cta-base-green) !important; color: var(--hero-cta-text-color) !important;
  width: 100%; max-width: 400px; margin-inline: auto; padding: 14px 20px;
  font-size: 1.1rem; font-weight: 600; border-radius: var(--border-radius-md);
  text-transform: uppercase; letter-spacing: 0.5px; transition: background-color 0.2s ease, transform 0.2s ease;
}
#place_order_button:hover { background-color: var(--hero-cta-hover-green) !important; transform: translateY(-2px); }
#place_order_button:disabled { background-color: #ccc !important; cursor: not-allowed; opacity: 0.7; transform: translateY(0); }

@media (min-width: 768px) {
  .checkout-page-container h1 { font-size: 2.2rem; }
  .checkout-details-column h2,
  .checkout-order-review-column h2,
  .checkout-payment-section h3 { font-size: 1.6rem; }
}


/* =========================================================
   18) Status (Order Success/Failed)
========================================================= */
.status-page-main {
  display: flex; justify-content: center; align-items: center;
  min-height: 60vh; padding: 40px 20px; background-color: #fdfdfd;
}
.status-container {
  background-color: #ffffff; border-radius: 8px; box-shadow: 0 4px 15px rgba(0,0,0,0.07);
  padding: 40px; max-width: 600px; width: 100%; text-align: center; border-top: 5px solid;
}
.status-icon { font-size: 6rem; line-height: 1; margin-bottom: 25px; }
.status-container h1 { font-size: 2.2rem; margin-bottom: 15px; color: #333; }
.status-container p { font-size: 1.1rem; color: #555; line-height: 1.6; margin-bottom: 25px; }
.order-id-box {
  background-color: #f7f7f7; border: 1px dashed #ddd; border-radius: 5px; padding: 15px; margin: 30px 0;
}
.order-id-box p { margin: 0; font-size: 1rem; color: #333; }
.order-id-box strong { color: #000; font-family: monospace; word-break: break-all; }
.status-actions { display: flex; justify-content: center; gap: 15px; margin-top: 30px; }
.secondary-button {
  padding: 12px 25px; border-radius: 5px; text-decoration: none; font-weight: bold;
  background-color: transparent; border: 2px solid #555; color: #555; transition: all 0.3s ease;
}
.secondary-button:hover { background-color: #555; color: #fff; }
.status-container.success { border-top-color: #28a745; }
.status-container.success .status-icon { color: #28a745; }
.status-container.failed { border-top-color: #dc3545; }
.status-container.failed .status-icon { color: #dc3545; }
@media (max-width: 768px) {
  .status-container h1 { font-size: 1.8rem; }
  .status-container p { font-size: 1rem; }
  .status-icon { font-size: 5rem; }
  .status-actions { flex-direction: column; }
}


/* =========================================================
   19) Awards Section
========================================================= */
.awards-section { padding: 80px 0; background-color: var(--surface-color); }
.awards-section .section-title::after {
  content: ''; display: block; width: 60px; height: 3px; background-color: var(--primary-color);
  margin: 0.75rem auto 0;
}
.awards-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 2.5rem; margin-top: 3rem;
}
.award-item {
  background-color: var(--surface-color); border: 1px solid var(--border-color); border-radius: var(--border-radius-md);
  box-shadow: 0 4px 12px rgba(0,0,0,0.08); transition: transform 0.3s ease, box-shadow 0.3s ease; overflow: hidden; display: flex; flex-direction: column;
}
.award-item:hover { transform: translateY(-8px); box-shadow: 0 8px 25px rgba(0,0,0,0.12); }
.award-photo-container { width: 100%; aspect-ratio: 4 / 3; overflow: hidden; background-color: #f0f0f0; }
.award-photo-container img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.award-item:hover .award-photo-container img { transform: scale(1.05); }
.award-text-content {
  padding: 1.5rem 1.75rem; text-align: left; flex-grow: 1; display: flex; flex-direction: column;
}
.award-text-content h3 { font-size: 1.25rem; color: var(--text-color); margin-bottom: 0.25rem; }
.award-text-content .award-source { font-size: 0.9rem; color: #666; font-style: italic; margin-bottom: 1rem; }
.award-text-content .award-description { font-size: 0.9rem; color: #555; line-height: 1.6; margin: 0; }


/* =========================================================
   20) Stats Counter Section
========================================================= */
.stats-section { background-color: var(--secondary-color); padding: 80px 0; }
.stats-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 2.5rem; max-width: 1000px; margin: 0 auto;
}
.stat-item {
  background-color: var(--surface-color); padding: 2.5rem 1.5rem; border-radius: var(--border-radius-md);
  box-shadow: var(--box-shadow); text-align: center; transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.stat-item:hover { transform: translateY(-8px); box-shadow: 0 8px 25px rgba(0,0,0,0.12); }
.stat-value {
  font-family: var(--heading-font); font-size: 3rem; font-weight: 700; line-height: 1.1; margin-bottom: 0.5rem;
  color: var(--text-color); text-shadow: none;
}
.stat-label { font-family: var(--body-font); font-size: 0.95rem; font-weight: 500; color: #666; margin: 0; }
@media (max-width: 767px) {
  .stats-section { padding: 60px 0; }
  .stats-grid { gap: 1.5rem; }
  .stat-value { font-size: 2.5rem; }
}


/* =========================================================
   21) Testimonials Scroller (with arrows)
========================================================= */
.testimonials-section { padding: 80px 0; background-color: var(--surface-color); }
.testimonials-section .section-title { margin-bottom: 3rem; }
.testimonials-wrapper { position: relative; }

.testimonials-scroller {
  display: grid; grid-auto-flow: column; grid-auto-columns: 24%; gap: 20px; overflow-x: auto;
  scroll-behavior: smooth; scrollbar-width: none; -ms-overflow-style: none; scroll-snap-type: x mandatory;
  padding: 10px; margin: -10px;
}
.testimonials-scroller::-webkit-scrollbar { display: none; }
.testimonial-item { scroll-snap-align: start; border-radius: 12px; box-shadow: 0 4px 15px rgba(0,0,0,0.1); overflow: hidden; }
.testimonial-item img { width: 100%; height: auto; display: block; }

/* Minimal arrow buttons */
.testimonial-arrow {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 10; width: 48px; height: 48px; border-radius: 50%;
  background-color: rgba(245,245,245,0.5); border: 1px solid #e0e0e0; color: #888; cursor: pointer;
  display: flex; align-items: center; justify-content: center; transition: background-color 0.2s ease, box-shadow 0.2s ease; font-size: 0;
}
.testimonial-arrow:hover { background-color: #ffffff; box-shadow: 0 2px 8px rgba(0,0,0,0.1); }
.testimonial-arrow::before {
  content: ''; display: block; width: 8px; height: 8px; border-top: 2px solid currentColor; border-right: 2px solid currentColor;
}
.testimonial-arrow.prev::before { transform: rotate(-135deg); margin-left: 2px; }
.testimonial-arrow.next::before { transform: rotate(45deg); margin-right: 2px; }
.testimonial-arrow.prev { left: -24px; }
.testimonial-arrow.next { right: -24px; }

@media (max-width: 1200px) { .testimonials-scroller { grid-auto-columns: 32%; } }
@media (max-width: 992px)  { .testimonials-scroller { grid-auto-columns: 48%; } }
@media (max-width: 767px)  {
  .testimonials-scroller { grid-auto-columns: 90%; padding: 10px 15px; }
  .testimonial-arrow { display: none; }
}
.koko-installment {
  font-size: 14px;
  color: #555;
  margin-top: 5px;
  display: flex;
  justify-content: center; /* centers text + logo */
  align-items: center;     /* aligns logo with text */
  gap: 5px;                /* space between text and logo */
  text-align: center;      /* ensures text itself is centered */
}

.koko-logo {
  height: 15px;   /* adjust size to match text */
  width: auto;
  display: inline-block;
}
/* =========================================================
   Product Detail Page (uses vars from this stylesheet)
   Targets: product-detail.html
========================================================= */

:root { --pd-max-width: 1100px; }

/* page frame + spacing under fixed header */
.product-detail-page-container {
  padding-top: calc(var(--header-height) + 25px);
  padding-bottom: 60px;
  background-color: var(--secondary-color);
}
.product-detail-page-container .container {
  width: 90%;
  max-width: var(--pd-max-width);
  margin: 0 auto;
}

/* loading / error status */
.status-message {
  text-align: center;
  padding: 28px 15px;
  font-size: 1.05rem;
  color: var(--text-color);
}
.status-message.error-message { color: var(--error-color); font-weight: 600; }

/* main card */
.product-layout {
  display: grid;
  grid-template-columns: 1fr; /* mobile first */
  gap: 22px;
  background-color: var(--surface-color);
  border-radius: var(--border-radius-md);
  box-shadow: var(--box-shadow);
  padding: 16px;
}

/* =============== Gallery =============== */
.product-gallery { display: flex; flex-direction: column; }

.main-image-container {
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-sm);
  overflow: hidden;
  background: #fff;
  box-shadow: 0 2px 6px rgba(0,0,0,.05);
  margin-bottom: 10px;
}
#main-product-image {
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  transition: transform .3s ease;
}
#main-product-image:hover { transform: scale(1.02); }

.thumbnail-strip {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 4px;
  scrollbar-width: thin;
}
.thumbnail-strip::-webkit-scrollbar { height: 6px; }
.thumbnail-strip::-webkit-scrollbar-thumb { background: #ddd; border-radius: 10px; }

.thumbnail-item {
  flex: 0 0 auto;
  width: 64px; height: 64px;
  border: 2px solid transparent;
  border-radius: var(--border-radius-sm);
  overflow: hidden;
  cursor: pointer;
  opacity: .75;
  background: #fff;
  transition: border-color .25s ease, opacity .25s ease, transform .2s ease;
}
.thumbnail-item img {
  width: 100%; height: 100%;
  object-fit: cover; display: block;
}
.thumbnail-item:hover { opacity: 1; transform: translateY(-1px); }
.thumbnail-item.active { border-color: var(--primary-color); opacity: 1; }

/* =============== Info =============== */
.product-info-details { display: flex; flex-direction: column; }

.product-title {
  font-family: var(--heading-font);
  font-size: clamp(1.6rem, 2vw + 1rem, 2.4rem);
  color: var(--content-heading-color);
  margin: 4px 0 6px;
  line-height: 1.2;
}

.product-price {
  font-size: clamp(1.1rem, .8vw + 1rem, 1.6rem);
  font-weight: 700;
  color: var(--text-color);
  margin: 0 0 14px;
}
.product-price .amount,
#product-price-detail { color: var(--primary-color); }

/* description/sections */
.product-section { margin: 16px 0; }
.product-section .section-title {
  font-family: var(--body-font);
  font-size: .95rem;
  font-weight: 700;
  color: var(--text-color);
  text-transform: uppercase;
  letter-spacing: .5px;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 6px;
  margin-bottom: 10px;
}
.section-content {
  font-size: .95rem;
  color: var(--content-paragraph-color);
  line-height: 1.7;
}
.section-content ul { list-style: disc inside; }
.section-content li { margin-bottom: .35rem; }

/* actions (both buttons = vibrant green) */
.product-actions {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid var(--border-color);
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.product-actions .cta-button {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 8px; width: 100%;
  padding: 12px 20px; font-size: .96rem;
  border-radius: var(--button-border-radius);
  border: 0; cursor: pointer;

  background-color: var(--hero-cta-base-green);
  color: var(--hero-cta-text-color);
  box-shadow: 0 4px 12px rgba(0,0,0,.15), inset 0 -1px 0 rgba(0,0,0,.08);
  transition: background-color var(--transition-speed) ease,
              transform var(--transition-speed) ease,
              box-shadow var(--transition-speed) ease,
              opacity var(--transition-speed) ease;
}
.product-actions .cta-button:hover {
  background-color: var(--hero-cta-hover-green);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0,0,0,.2), inset 0 -1px 0 rgba(0,0,0,.08);
}
.product-actions .cta-button:active { transform: translateY(-1px); }
.product-actions .cta-button:disabled { opacity: .6; cursor: not-allowed; box-shadow: none; }

/* optional: keep IG button with gradient if desired */
.product-actions .single-inquiry {
  /* comment out next line if you want green for both */
  background: linear-gradient(45deg,#f09433 0%,#e6683c 25%,#dc2743 50%,#cc2366 75%,#bc1888 100%);
  color: #fff;
}
.product-actions .single-inquiry:hover { opacity: .96; transform: translateY(-2px); }

/* =============== Responsive =============== */
@media (min-width: 768px) {
  .product-detail-page-container { padding-top: calc(var(--header-height) + 35px); }
  .product-layout {
    grid-template-columns: 0.9fr 1.1fr;
    gap: 32px;
    padding: 22px;
  }
  .thumbnail-strip { overflow: visible; flex-wrap: wrap; }
  .thumbnail-item { width: 74px; height: 74px; }
  .product-actions { flex-direction: row; }
  .product-actions .cta-button { width: auto; flex: 1 1 0; max-width: 320px; }
}

@media (min-width: 1024px) {
  .product-layout { gap: 42px; padding: 28px; }
  .thumbnail-item { width: 84px; height: 84px; }
  .product-title { font-size: 2.4rem; }
  .product-price { font-size: 1.7rem; }
}
/* --- Header logo overrides (big + responsive) --- */

/* Kill the old 45px cap everywhere (desktop + mobile) */
#main-header .logo-image { 
  max-height: none !important; 
  width: auto !important;
  display: block;
}

/* Layout for the pair */
#main-header .logo-wrapper { 
  display: inline-flex; 
  align-items: center; 
  gap: 0px; 
}

/* Desktop/tablet sizes */
#main-header .brand-icon     { height: 80px !important; }  /* round icon */
#main-header .brand-wordmark { height: 200px !important; }  /* wordmark */

/* Large screens – slightly larger for the old-text look */
@media (min-width: 1200px) {
  #main-header .brand-icon     { height: 80px !important; }
  #main-header .brand-wordmark { height: 200px !important; }
}

/* Phones – still prominent, but compact header */
@media (max-width: 767px) {
  /* override the previous mobile rule that forced 45px */
  #main-header .logo-image { max-height: none !important; }
  #main-header .brand-icon     { height: 80px !important; }
  #main-header .brand-wordmark { height: 125px !important; }
}

/* Fallback in case you didn't add the helper classes:
   make 1st logo-image the icon and 2nd the wordmark */
#main-header .logo-wrapper img.logo-image:first-of-type  { height: 80px !important; }
#main-header .logo-wrapper img.logo-image:nth-of-type(2) { height: 200px !important; }
@media (min-width: 1200px) {
  #main-header .logo-wrapper img.logo-image:first-of-type  { height: 80px !important; }
  #main-header .logo-wrapper img.logo-image:nth-of-type(2) { height: 200px !important; }
}
@media (max-width: 767px) {
  #main-header .logo-wrapper img.logo-image:first-of-type  { height: 80px !important; }
  #main-header .logo-wrapper img.logo-image:nth-of-type(2) { height: 125px !important; }
}

