/* ============================================
   Native Nutriments - Main Stylesheet
   Color Palette: Calming Pastels
   ============================================ */

/* CSS Variables */
:root {
    /* Primary Colors - Calming Pastels */
    --lavender: #E6E0F0;
    --lavender-dark: #C8B8DC;
    --sage-green: #C5D5CB;
    --sage-dark: #9BB8A5;
    --soft-cream: #FDF8F3;
    --blush-pink: #F4E4E4;
    --sky-blue: #D4E5ED;
    --intro-blue: #2E4272;   /* medium-to-deep blue for intro headings/text */
    --intro-lilac: #EFEAF8;  /* soft lilac / light purple intro background */

    /* Accent Colors */
    --gold-accent: #C9A961;
    --gold-light: #E5D4A1;

    /* Text Colors */
    --text-dark: #3D3D3D;
    --text-medium: #5A5A5A;
    --text-light: #7A7A7A;

    /* Background Colors */
    --bg-white: #FFFFFF;
    --bg-cream: #FDFBF7;
    --bg-light: #F9F7F4;

    /* Fonts */
    --font-heading: 'Cormorant Garamond', Georgia, serif;
    --font-body: 'Lato', -apple-system, BlinkMacSystemFont, sans-serif;

    /* Spacing */
    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 1.5rem;
    --space-lg: 2rem;
    --space-xl: 3rem;
    --space-xxl: 5rem;

    /* Border Radius */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 16px;

    /* Shadows */
    --shadow-sm: 0 2px 4px rgba(0,0,0,0.05);
    --shadow-md: 0 4px 12px rgba(0,0,0,0.08);
    --shadow-lg: 0 8px 24px rgba(0,0,0,0.1);

    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-medium: 0.3s ease;
    --transition-slow: 0.5s ease;
}

/* ============================================
   Reset & Base Styles
   ============================================ */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    font-weight: 400;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--bg-cream);
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 500;
    line-height: 1.3;
    color: var(--text-dark);
}

h1 { font-size: 3rem; }
h2 { font-size: 2.25rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }

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

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

a:hover {
    color: var(--gold-accent);
}

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

ul {
    list-style: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-md);
}

/* ============================================
   Buttons
   ============================================ */
.btn {
    display: inline-block;
    padding: 0.875rem 2rem;
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: none;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: all var(--transition-medium);
}

.btn-primary {
    background-color: var(--sage-dark);
    color: var(--bg-white);
}

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

.btn-secondary {
    background-color: var(--lavender);
    color: var(--text-dark);
}

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

.btn-outline {
    background-color: transparent;
    border: 2px solid var(--sage-dark);
    color: var(--sage-dark);
}

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

.btn-small {
    padding: 0.5rem 1rem;
    font-size: 0.85rem;
}

.btn-gold {
    background-color: var(--gold-accent);
    color: var(--bg-white);
}

.btn-gold:hover {
    background-color: var(--gold-light);
    color: var(--text-dark);
}

/* ============================================
   Header & Navigation
   ============================================ */
.main-header {
    background-color: var(--bg-white);
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: var(--space-sm) var(--space-md);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo a {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
    text-decoration: none;
}

.logo-icon {
    font-size: 2rem;
}

.logo-img {
    height: 40px;
    width: 40px;
    border-radius: 50%;
    object-fit: cover;
    display: block;
}

.footer-logo .logo-img {
    height: 32px;
    width: 32px;
    opacity: 0.7;
}

.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.logo-native {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--sage-dark);
}

.logo-nutriments {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 400;
    color: var(--lavender-dark);
    letter-spacing: 2px;
}

.main-nav {
    display: flex;
    align-items: center;
}

.nav-links {
    display: flex;
    gap: var(--space-lg);
}

.nav-links a {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-medium);
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: var(--space-xs) 0;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--sage-dark);
    transition: width var(--transition-medium);
}

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

.nav-links a:hover,
.nav-links a.active {
    color: var(--sage-dark);
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: var(--space-xs);
}

.mobile-menu-btn span {
    display: block;
    width: 25px;
    height: 2px;
    background-color: var(--text-dark);
    transition: var(--transition-fast);
}

.cart-icon {
    position: relative;
}

.cart-icon a {
    color: var(--text-medium);
    display: flex;
    align-items: center;
}

.cart-icon a:hover {
    color: var(--sage-dark);
}

.cart-count {
    position: absolute;
    top: -8px;
    right: -8px;
    background-color: var(--gold-accent);
    color: var(--bg-white);
    font-size: 0.7rem;
    font-weight: 600;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ============================================
   Best Seller Banner (Scrolling)
   ============================================ */
.bestseller-banner {
    background: linear-gradient(90deg, var(--lavender) 0%, var(--sage-green) 50%, var(--lavender) 100%);
    overflow: hidden;
    padding: var(--space-xs) 0;
}

.banner-track {
    display: flex;
    animation: scroll-banner 40s linear infinite;
    width: max-content;
}

.banner-item {
    flex-shrink: 0;
    padding: 0 var(--space-xl);
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-dark);
    white-space: nowrap;
}

.banner-star {
    color: var(--gold-accent);
    margin-right: var(--space-xs);
}

@keyframes scroll-banner {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

/* ============================================
   Promo Picture Carousel (featured / specials)
   ============================================ */
.promo-carousel {
    background: linear-gradient(90deg, var(--intro-lilac) 0%, var(--sage-green) 50%, var(--intro-lilac) 100%);
    overflow: hidden;
    padding: var(--space-sm) 0 var(--space-md);
}

.promo-heading {
    text-align: center;
    font-family: var(--font-heading);
    color: var(--intro-blue);
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: var(--space-sm);
}

.promo-track {
    display: flex;
    width: max-content;
    animation: scroll-banner 30s linear infinite;
}

.promo-track:hover {
    animation-play-state: paused;
}

.promo-card {
    flex-shrink: 0;
    width: 160px;
    margin: 0 var(--space-xs);
    background: var(--bg-white);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    text-align: center;
    text-decoration: none;
    transition: transform var(--transition-fast);
}

.promo-card:hover {
    transform: translateY(-4px);
}

.promo-card img {
    width: 100%;
    height: 110px;
    object-fit: cover;
    display: block;
}

.promo-card .promo-name {
    font-family: var(--font-heading);
    color: var(--text-dark);
    font-size: 1rem;
    padding: var(--space-xs) var(--space-xs) 0;
}

.promo-card .promo-tag {
    display: inline-block;
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--gold-accent);
    padding: 0.15rem 0.25rem var(--space-xs);
}

/* ============================================
   Hero Section & Slideshow
   ============================================ */
.hero-section {
    position: relative;
    height: 46vh;
    min-height: 360px;
    max-height: 520px;
    overflow: hidden;
}

.slideshow-container {
    position: relative;
    width: 100%;
    height: 100%;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    display: flex;
    align-items: center;
    justify-content: center;
    /* Fallback gradient for when images aren't loaded */
    background-color: var(--sage-green);
}

.slide.active {
    opacity: 1;
}

.slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        135deg,
        rgba(197, 213, 203, 0.7) 0%,
        rgba(230, 224, 240, 0.7) 100%
    );
}

.slide-content {
    position: relative;
    z-index: 1;
    text-align: center;
    padding: var(--space-lg);
    max-width: 800px;
}

.slide-content h1 {
    font-size: 3.5rem;
    color: var(--intro-blue);
    margin-bottom: var(--space-md);
    text-shadow: 0 2px 4px rgba(255,255,255,0.6);
}

.slide-content p {
    font-size: 1.5rem;
    color: var(--intro-blue);
    font-weight: 300;
}

.slideshow-dots {
    position: absolute;
    bottom: var(--space-lg);
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: var(--space-sm);
    z-index: 10;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255,255,255,0.5);
    cursor: pointer;
    transition: var(--transition-fast);
}

.dot.active,
.dot:hover {
    background-color: var(--sage-dark);
}

/* ============================================
   Welcome Section
   ============================================ */
.welcome-section {
    padding: var(--space-xxl) 0;
    background-color: var(--bg-white);
}

/* Homepage intro: soft lilac background + deep-blue text (per Sandra's request) */
.welcome-section.intro-highlight {
    background-color: var(--intro-lilac);
}

.welcome-section.intro-highlight .welcome-content h2,
.welcome-section.intro-highlight .welcome-intro,
.welcome-section.intro-highlight p {
    color: var(--intro-blue);
}

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

.welcome-content h2 {
    color: var(--sage-dark);
    margin-bottom: var(--space-sm);
}

.divider {
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, var(--lavender-dark), var(--sage-dark));
    margin: var(--space-md) auto;
    border-radius: 2px;
}

.welcome-intro {
    font-size: 1.15rem;
    color: var(--text-medium);
    margin-bottom: var(--space-md);
}

.welcome-content .btn {
    margin-top: var(--space-md);
}

/* ============================================
   Categories Section
   ============================================ */
.categories-section {
    padding: var(--space-xxl) 0;
    background-color: var(--bg-light);
}

.categories-section h2 {
    text-align: center;
    color: var(--sage-dark);
}

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

.category-card {
    background-color: var(--bg-white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: transform var(--transition-medium), box-shadow var(--transition-medium);
    text-align: center;
    padding-bottom: var(--space-lg);
}

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

.category-image {
    height: 200px;
    background-size: cover;
    background-position: center;
    position: relative;
    /* Fallback colors */
    background-color: var(--lavender);
}

.category-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, transparent 50%, rgba(255,255,255,0.8) 100%);
}

.category-card h3 {
    margin: var(--space-md) var(--space-md) var(--space-xs);
    color: var(--text-dark);
}

.category-card p {
    color: var(--text-light);
    padding: 0 var(--space-md);
    font-size: 0.95rem;
}

/* ============================================
   Featured Section
   ============================================ */
.featured-section {
    padding: var(--space-xxl) 0;
    background-color: var(--bg-white);
}

.featured-section h2 {
    text-align: center;
    color: var(--sage-dark);
}

.featured-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-lg);
    margin-top: var(--space-xl);
}

.product-card {
    background-color: var(--bg-cream);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: transform var(--transition-medium), box-shadow var(--transition-medium);
}

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

.product-image {
    height: 180px;
    background-size: cover;
    background-position: center;
    background-color: var(--sage-green);
    position: relative;
}

.product-image-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    background: linear-gradient(135deg, var(--sage-green) 0%, var(--lavender) 100%);
}

.product-photo {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.product-photo.img-fallback {
    object-fit: contain;
    padding: 15%;
    background: rgba(255,255,255,0.6);
}

.product-info {
    padding: var(--space-md);
    text-align: center;
}

.product-name {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    color: var(--text-dark);
    margin-bottom: var(--space-xs);
}

.product-scientific {
    font-style: italic;
    font-size: 0.85rem;
    color: var(--text-light);
    margin-bottom: var(--space-sm);
}

.product-card .btn {
    width: 100%;
    margin-top: var(--space-sm);
}

.section-cta {
    text-align: center;
    margin-top: var(--space-xl);
}

/* ============================================
   Request Section
   ============================================ */
.request-section {
    padding: var(--space-xxl) 0;
    background: linear-gradient(135deg, var(--lavender) 0%, var(--blush-pink) 100%);
}

.request-card {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
    background-color: var(--bg-white);
    padding: var(--space-xl);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}

.request-icon {
    font-size: 3rem;
    margin-bottom: var(--space-md);
}

.request-card h3 {
    color: var(--sage-dark);
    margin-bottom: var(--space-md);
}

.request-card p {
    color: var(--text-medium);
    margin-bottom: var(--space-lg);
}

/* ============================================
   Ministry Notice
   ============================================ */
.ministry-notice {
    padding: var(--space-xl) 0;
    background-color: var(--sage-green);
}

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

.notice-content h3 {
    color: var(--text-dark);
    margin-bottom: var(--space-sm);
}

.notice-content p {
    color: var(--text-medium);
    font-size: 0.95rem;
}

/* ============================================
   Footer
   ============================================ */
.main-footer {
    background-color: var(--text-dark);
    color: var(--bg-cream);
    padding: var(--space-xxl) 0 var(--space-lg);
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-xl);
}

.footer-section h4 {
    color: var(--bg-white);
    font-size: 1.1rem;
    margin-bottom: var(--space-md);
    font-weight: 600;
}

.footer-section p {
    color: rgba(255,255,255,0.7);
    font-size: 0.9rem;
    line-height: 1.7;
}

.footer-section ul li {
    margin-bottom: var(--space-xs);
}

.footer-section ul a {
    color: rgba(255,255,255,0.7);
    font-size: 0.9rem;
    transition: color var(--transition-fast);
}

.footer-section ul a:hover {
    color: var(--gold-light);
}

.footer-logo {
    margin-top: var(--space-md);
}

.footer-logo .logo-icon {
    font-size: 2.5rem;
    opacity: 0.5;
}

.footer-bottom {
    margin-top: var(--space-xl);
    padding-top: var(--space-lg);
    border-top: 1px solid rgba(255,255,255,0.1);
    text-align: center;
}

.footer-bottom p {
    color: rgba(255,255,255,0.5);
    font-size: 0.85rem;
    margin-bottom: var(--space-xs);
}

.footer-ministry {
    color: var(--gold-light) !important;
    font-style: italic;
}

.footer-disclaimer {
    font-size: 0.75rem !important;
    color: rgba(255,255,255,0.35) !important;
    max-width: 600px;
    margin-left: auto !important;
    margin-right: auto !important;
    line-height: 1.5;
}

.footer-credit {
    font-size: 0.75rem !important;
    color: rgba(255,255,255,0.4) !important;
    margin-top: var(--space-sm);
}

.footer-credit a {
    color: var(--gold-light) !important;
    text-decoration: none;
}

.footer-credit a:hover {
    text-decoration: underline;
}

/* ============================================
   Products Page Styles
   ============================================ */
.page-header {
    background: linear-gradient(135deg, var(--sage-green) 0%, var(--lavender) 100%);
    padding: var(--space-xxl) 0;
    text-align: center;
}

.page-header h1 {
    color: var(--text-dark);
    margin-bottom: var(--space-sm);
}

.page-header p {
    color: var(--text-medium);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

.products-section {
    padding: var(--space-xxl) 0;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-lg);
}

.filter-section {
    margin-bottom: var(--space-xl);
    display: flex;
    justify-content: center;
    gap: var(--space-md);
    flex-wrap: wrap;
}

.filter-btn {
    padding: var(--space-xs) var(--space-md);
    background-color: var(--bg-cream);
    border: 1px solid var(--lavender-dark);
    border-radius: var(--radius-sm);
    color: var(--text-medium);
    cursor: pointer;
    transition: all var(--transition-fast);
}

.filter-btn:hover,
.filter-btn.active {
    background-color: var(--sage-dark);
    border-color: var(--sage-dark);
    color: var(--bg-white);
}

.search-box {
    display: flex;
    max-width: 400px;
    margin: 0 auto var(--space-xl);
}

.search-box input {
    flex: 1;
    padding: var(--space-sm);
    border: 1px solid var(--lavender-dark);
    border-right: none;
    border-radius: var(--radius-sm) 0 0 var(--radius-sm);
    font-family: var(--font-body);
    font-size: 1rem;
}

.search-box input:focus {
    outline: none;
    border-color: var(--sage-dark);
}

.search-box button {
    padding: var(--space-sm) var(--space-md);
    background-color: var(--sage-dark);
    border: 1px solid var(--sage-dark);
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    color: var(--bg-white);
    cursor: pointer;
}

/* ============================================
   Product Detail Page
   ============================================ */
.product-detail {
    padding: var(--space-xxl) 0;
}

.product-detail-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-xxl);
}

.product-gallery {
    background: linear-gradient(135deg, var(--sage-green) 0%, var(--lavender) 100%);
    border-radius: var(--radius-lg);
    padding: var(--space-xl);
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 400px;
    position: relative;
    overflow: hidden;
}

.product-gallery-placeholder {
    font-size: 8rem;
}

.product-gallery .product-photo {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-gallery .product-photo.img-fallback {
    object-fit: contain;
    padding: 15%;
    background: rgba(255,255,255,0.6);
}

.product-details h1 {
    color: var(--text-dark);
    margin-bottom: var(--space-xs);
}

.scientific-name {
    font-style: italic;
    color: var(--sage-dark);
    font-size: 1.2rem;
    margin-bottom: var(--space-lg);
}

.product-tabs {
    margin-top: var(--space-lg);
}

.tab-buttons {
    display: flex;
    gap: var(--space-sm);
    border-bottom: 2px solid var(--lavender);
    margin-bottom: var(--space-md);
}

.tab-btn {
    padding: var(--space-sm) var(--space-md);
    background: none;
    border: none;
    font-family: var(--font-body);
    font-size: 1rem;
    color: var(--text-light);
    cursor: pointer;
    position: relative;
    transition: color var(--transition-fast);
}

.tab-btn.active {
    color: var(--sage-dark);
}

.tab-btn.active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    height: 2px;
    background-color: var(--sage-dark);
}

.tab-content {
    display: none;
    padding: var(--space-md) 0;
}

.tab-content.active {
    display: block;
}

.benefits-list {
    list-style: disc;
    padding-left: var(--space-lg);
}

.benefits-list li {
    margin-bottom: var(--space-xs);
    color: var(--text-medium);
}

/* Order Options */
.order-section {
    margin-top: var(--space-xl);
    padding: var(--space-lg);
    background-color: var(--bg-light);
    border-radius: var(--radius-md);
}

.order-section h3 {
    margin-bottom: var(--space-md);
    color: var(--sage-dark);
}

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

.size-option {
    flex: 1;
    padding: var(--space-md);
    border: 2px solid var(--lavender);
    border-radius: var(--radius-md);
    text-align: center;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.size-option:hover,
.size-option.selected {
    border-color: var(--sage-dark);
    background-color: var(--sage-green);
}

.size-option .size {
    display: block;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: var(--space-xs);
}

.size-option .price {
    display: block;
    font-size: 1.2rem;
    color: var(--gold-accent);
    font-weight: 600;
}

.size-option .price.pending {
    font-size: 0.9rem;
    color: var(--text-light);
}

.add-to-cart-btn {
    width: 100%;
    padding: var(--space-md);
    font-size: 1.1rem;
}

/* ============================================
   About Page
   ============================================ */
.about-section {
    padding: var(--space-xxl) 0;
}

.about-content {
    max-width: 800px;
    margin: 0 auto;
}

.about-content h2 {
    color: var(--sage-dark);
    margin-bottom: var(--space-md);
}

.about-content p {
    color: var(--text-medium);
    margin-bottom: var(--space-md);
    font-size: 1.05rem;
    line-height: 1.8;
}

.ministry-info {
    background-color: var(--lavender);
    padding: var(--space-xl);
    border-radius: var(--radius-lg);
    margin: var(--space-xl) 0;
}

.ministry-info h3 {
    color: var(--sage-dark);
    margin-bottom: var(--space-md);
}

/* ============================================
   Contact Page
   ============================================ */
.contact-section {
    padding: var(--space-xxl) 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-xxl);
}

.contact-form {
    background-color: var(--bg-white);
    padding: var(--space-xl);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
}

.form-group {
    margin-bottom: var(--space-md);
}

.form-group label {
    display: block;
    margin-bottom: var(--space-xs);
    font-weight: 500;
    color: var(--text-dark);
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: var(--space-sm);
    border: 1px solid var(--lavender-dark);
    border-radius: var(--radius-sm);
    font-family: var(--font-body);
    font-size: 1rem;
    transition: border-color var(--transition-fast);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--sage-dark);
}

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

/* ============================================
   Cart Page
   ============================================ */
.cart-section {
    padding: var(--space-xxl) 0;
}

.cart-empty {
    text-align: center;
    padding: var(--space-xxl);
}

.cart-empty h2 {
    color: var(--text-light);
    margin-bottom: var(--space-md);
}

.cart-items {
    background-color: var(--bg-white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    overflow: hidden;
}

.cart-item {
    display: grid;
    grid-template-columns: 100px 1fr auto auto;
    gap: var(--space-md);
    padding: var(--space-md);
    border-bottom: 1px solid var(--lavender);
    align-items: center;
}

.cart-item:last-child {
    border-bottom: none;
}

.cart-item-image {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--sage-green), var(--lavender));
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
}

.cart-item-info h4 {
    margin-bottom: var(--space-xs);
}

.cart-item-info p {
    color: var(--text-light);
    font-size: 0.9rem;
}

.cart-item-quantity {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}

.qty-btn {
    width: 30px;
    height: 30px;
    border: 1px solid var(--lavender-dark);
    background: var(--bg-white);
    border-radius: var(--radius-sm);
    cursor: pointer;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

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

.cart-item-price {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--gold-accent);
    min-width: 80px;
    text-align: right;
}

.cart-summary {
    background-color: var(--bg-light);
    padding: var(--space-xl);
    border-radius: var(--radius-lg);
    margin-top: var(--space-lg);
    max-width: 400px;
    margin-left: auto;
}

.cart-summary h3 {
    margin-bottom: var(--space-md);
    color: var(--sage-dark);
}

.summary-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: var(--space-sm);
    color: var(--text-medium);
}

.summary-row.total {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--text-dark);
    border-top: 2px solid var(--lavender);
    padding-top: var(--space-md);
    margin-top: var(--space-md);
}

.checkout-btn {
    width: 100%;
    margin-top: var(--space-md);
}

/* ============================================
   Blends Page Placeholder
   ============================================ */
.coming-soon {
    text-align: center;
    padding: var(--space-xxl);
}

.coming-soon-icon {
    font-size: 5rem;
    margin-bottom: var(--space-lg);
}

.coming-soon h2 {
    color: var(--sage-dark);
    margin-bottom: var(--space-md);
}

.coming-soon p {
    color: var(--text-light);
    max-width: 500px;
    margin: 0 auto;
}

/* ============================================
   Responsive Styles
   ============================================ */
@media (max-width: 1024px) {
    .featured-grid,
    .products-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .mobile-menu-btn {
        display: flex;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: var(--bg-white);
        flex-direction: column;
        padding: var(--space-md);
        box-shadow: var(--shadow-md);
        gap: var(--space-sm);
    }

    .nav-links.active {
        display: flex;
    }

    .categories-grid {
        grid-template-columns: 1fr;
    }

    .featured-grid,
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .product-detail-grid {
        grid-template-columns: 1fr;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }

    .slide-content h1 {
        font-size: 2.5rem;
    }

    .slide-content p {
        font-size: 1.1rem;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .size-options {
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    html {
        font-size: 14px;
    }

    .featured-grid,
    .products-grid {
        grid-template-columns: 1fr;
    }

    .hero-section {
        height: 50vh;
        min-height: 400px;
    }

    .slide-content h1 {
        font-size: 2rem;
    }

    .cart-item {
        grid-template-columns: 60px 1fr;
        gap: var(--space-sm);
    }

    .cart-item-quantity,
    .cart-item-price {
        grid-column: 2;
    }
}

/* ============================================
   Utility Classes
   ============================================ */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.mt-sm { margin-top: var(--space-sm); }
.mt-md { margin-top: var(--space-md); }
.mt-lg { margin-top: var(--space-lg); }
.mt-xl { margin-top: var(--space-xl); }

.mb-sm { margin-bottom: var(--space-sm); }
.mb-md { margin-bottom: var(--space-md); }
.mb-lg { margin-bottom: var(--space-lg); }
.mb-xl { margin-bottom: var(--space-xl); }

.hidden { display: none; }
.visible { display: block; }

/* ============================================
   Sandra 2026-08-06 — black titles + descriptions to blue, site-wide except Contact
   ============================================
   She asked to replace the black font with the blue font on the titles and
   descriptions throughout the site, leaving the Contact page as-is. The "black" copy
   is carried by --text-dark (#3D3D3D) and --text-medium (#5A5A5A); remapping both to
   --intro-blue on body.blue-font turns every heading, product name, description and
   nav item blue in one place. body.blue-font is on every page but contact.html.
   Green (sage), gold prices, muted --text-light meta, and the footer's own white/gold
   text are all untouched. The two spots that use --text-dark as a BACKGROUND (the
   footer panel and the mobile menu bars) are pinned back to grey so only font color
   changes. */
body.blue-font {
    --text-dark: var(--intro-blue);
    --text-medium: var(--intro-blue);
}
body.blue-font .main-footer { background-color: #3D3D3D; }
body.blue-font .hamburger span { background-color: #3D3D3D; }

/* ============================================
   Global Site Search (slim bar injected under the header)
   ============================================ */
.site-search {
    position: relative;
    background-color: var(--bg-cream);
    border-bottom: 1px solid var(--lavender);
    padding: 0.6rem var(--space-md);
    z-index: 900;
}
.site-search-form {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    max-width: 640px;
    margin: 0 auto;
    background-color: var(--bg-white);
    border: 1px solid var(--lavender-dark);
    border-radius: 999px;
    padding: 0.25rem 0.5rem 0.25rem 0.9rem;
    box-shadow: var(--shadow-sm);
}
.site-search-ico { font-size: 1rem; line-height: 1; opacity: 0.7; }
.site-search-input {
    flex: 1 1 auto;
    min-width: 0;
    border: none;
    outline: none;
    background: transparent;
    font-family: var(--font-body);
    font-size: 16px; /* 16px keeps iOS from zooming on focus */
    color: var(--text-dark);
    padding: 0.5rem 0.25rem;
}
.site-search-input::placeholder { color: var(--text-light); }
.site-search-go {
    flex: 0 0 auto;
    border: none;
    cursor: pointer;
    background-color: var(--sage-dark);
    color: #fff;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.9rem;
    border-radius: 999px;
    padding: 0.55rem 1.1rem;
    min-height: 40px;
    transition: background-color var(--transition-fast);
}
.site-search-go:hover { background-color: var(--lavender-dark); }
.site-search-suggest {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    top: calc(100% - 0.35rem);
    width: min(640px, calc(100% - 2 * var(--space-md)));
    background-color: var(--bg-white);
    border: 1px solid var(--lavender);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    z-index: 1200;
}
.site-search-row {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.6rem 0.9rem;
    text-decoration: none;
    color: var(--text-dark);
    border-bottom: 1px solid var(--bg-light);
}
.site-search-row:last-child { border-bottom: none; }
.site-search-row:hover { background-color: var(--bg-cream); }
.site-search-row img {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-sm);
    object-fit: cover;
    flex: 0 0 auto;
    background-color: var(--bg-light);
}
.site-search-txt { display: flex; flex-direction: column; line-height: 1.25; min-width: 0; }
.site-search-txt strong { font-weight: 600; font-size: 0.95rem; }
.site-search-txt small { color: var(--text-light); font-size: 0.78rem; font-style: italic; }
.site-search-empty { padding: 0.75rem 0.9rem; color: var(--text-medium); font-size: 0.9rem; }
.search-none {
    grid-column: 1 / -1;
    text-align: center;
    color: var(--text-medium);
    padding: var(--space-lg) var(--space-sm);
    font-size: 1.05rem;
}
@media (max-width: 600px) {
    .site-search { padding: 0.55rem var(--space-sm); }
    .site-search-go { padding: 0.55rem 0.9rem; font-size: 0.85rem; }
    .site-search-input { padding-left: 0.15rem; }
}
