/* ===========================
   CSS Variables
   =========================== */
:root {
    /* Colors - Warm, Artisan Coffee Theme */
    --primary-color: #8B4513;        /* Saddle Brown - warm, coffee */
    --primary-dark: #5C2E0A;         /* Dark brown */
    --secondary-color: #D2691E;      /* Chocolate - warm accent */
    --accent-color: #CD853F;         /* Peru - light warm accent */

    /* Neutrals */
    --cream: #FAF7F2;                /* Warm cream background */
    --light-tan: #E8E0D5;            /* Light tan */
    --dark-gray: #2C2C2C;            /* Almost black */
    --medium-gray: #6B6B6B;          /* Medium gray for text */
    --white: #FFFFFF;

    /* Text Colors */
    --text-primary: #2C2C2C;
    --text-secondary: #6B6B6B;
    --text-light: #8E8E8E;

    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.12);
    --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.15);

    /* Transitions */
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-fast: all 0.2s ease;

    /* Spacing */
    --section-padding: 100px 0;
    --container-padding: 0 20px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 16px;
    line-height: 1.7;
    color: var(--text-primary);
    background-color: var(--cream);
}

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

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

ul {
    list-style: none;
}

/* ===========================
   Typography
   =========================== */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', Georgia, serif;
    font-weight: 700;
    line-height: 1.2;
    color: var(--text-primary);
}

h1 {
    font-size: 56px;
    font-weight: 800;
    letter-spacing: -1px;
}

h2 {
    font-size: 42px;
    font-weight: 700;
    letter-spacing: -0.5px;
}

h3 {
    font-size: 28px;
    font-weight: 600;
}

h4 {
    font-size: 20px;
    font-weight: 600;
}

p {
    font-size: 17px;
    line-height: 1.8;
    color: var(--text-secondary);
}

/* ===========================
   Buttons
   =========================== */
.btn-primary,
.btn-secondary {
    display: inline-block;
    padding: 14px 32px;
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: var(--transition);
}

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

.btn-primary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-secondary {
    background-color: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
    background-color: var(--primary-color);
    color: var(--white);
    transform: translateY(-2px);
}

/* ===========================
   Container
   =========================== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: var(--container-padding);
}

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

.navbar {
    padding: 0;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.nav-logo a {
    font-family: 'Playfair Display', serif;
    font-size: 24px;
    font-weight: 700;
    color: var(--primary-color);
}

.nav-menu {
    display: flex;
    gap: 40px;
}

.nav-menu a {
    font-size: 15px;
    font-weight: 500;
    color: var(--text-primary);
    position: relative;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: width 0.3s ease;
}

.nav-menu a:hover::after {
    width: 100%;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background-color: var(--text-primary);
    transition: var(--transition-fast);
}

/* ===========================
   Hero Section
   =========================== */
.hero {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    padding: 100px 20px;
    max-width: 1200px;
    margin: 0 auto;
    min-height: 600px;
}

.hero-content {
    padding-right: 40px;
}

.hero-badge {
    display: inline-block;
    padding: 8px 16px;
    background-color: var(--accent-color);
    color: var(--white);
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 20px;
    margin-bottom: 24px;
    transition: var(--transition-fast);
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(205, 133, 63, 0.4);
    }
    50% {
        box-shadow: 0 0 0 8px rgba(205, 133, 63, 0);
    }
}

.hero h1 {
    margin-bottom: 20px;
}

.hero-subtitle {
    font-size: 20px;
    color: var(--text-secondary);
    margin-bottom: 32px;
    font-style: italic;
}

.hero-image {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.hero-image img {
    width: 100%;
    height: 600px;
    object-fit: cover;
}

.hero-details {
    display: flex;
    gap: 24px;
    margin-bottom: 32px;
}

.detail-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: var(--text-secondary);
    font-weight: 500;
}

.detail-item i {
    color: var(--accent-color);
}

/* ===========================
   Trust Badges Section
   =========================== */
.trust-badges {
    padding: 60px 0;
    background-color: var(--white);
    border-bottom: 1px solid var(--light-tan);
}

.badges-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    text-align: center;
}

.badge-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.badge-item i {
    font-size: 32px;
    color: var(--primary-color);
}

.badge-item p {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0;
}

/* ===========================
   Section Labels & Intro Text
   =========================== */
.section-label {
    display: inline-block;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--accent-color);
    margin-bottom: 12px;
}

.intro-text {
    max-width: 700px;
    margin: 20px auto 0;
    font-size: 18px;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* ===========================
   Philosophy Section
   =========================== */
.philosophy {
    padding: var(--section-padding);
    background-color: var(--white);
}

.philosophy-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 60px;
}

.philosophy-intro h2 {
    line-height: 1.3;
}

.philosophy-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 60px;
    max-width: 1000px;
    margin: 0 auto;
}

.philosophy-item h3 {
    margin-bottom: 20px;
    color: var(--primary-color);
}

.philosophy-item p {
    font-size: 17px;
    line-height: 1.8;
}

/* ===========================
   Categories Section
   =========================== */
.categories {
    padding: var(--section-padding);
    background-color: var(--cream);
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.category-card {
    background-color: var(--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

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

.category-image {
    height: 300px;
    overflow: hidden;
}

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

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

.category-content {
    padding: 32px;
}

.category-content h3 {
    margin-bottom: 12px;
}

.category-content p {
    margin-bottom: 16px;
    font-size: 16px;
}

.category-price {
    display: inline-block;
    font-size: 15px;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 20px;
    padding: 6px 12px;
    background-color: var(--light-tan);
    border-radius: 4px;
}

/* ===========================
   Subscription Section
   =========================== */
.subscription {
    padding: var(--section-padding);
    background-color: var(--primary-dark);
    color: var(--white);
}

.subscription-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.subscription-text h2 {
    color: var(--white);
    margin-bottom: 24px;
}

.subscription-text > p {
    color: var(--light-tan);
    margin-bottom: 32px;
    font-size: 18px;
}

.subscription-benefits {
    list-style: none;
    margin-bottom: 32px;
}

.subscription-benefits li {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
    color: var(--light-tan);
}

.subscription-benefits i {
    color: var(--accent-color);
    font-size: 18px;
}

.subscription-image {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.subscription-image img {
    width: 100%;
    height: 500px;
    object-fit: cover;
}

/* ===========================
   Locations Section
   =========================== */
.locations {
    padding: var(--section-padding);
    background-color: var(--white);
}

.locations h2 {
    text-align: center;
    margin-bottom: 60px;
}

.locations-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.location-card {
    background-color: var(--cream);
    padding: 40px;
    border-radius: 8px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

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

.location-card h3 {
    margin-bottom: 24px;
    color: var(--primary-color);
}

.location-address,
.location-hours {
    margin-bottom: 20px;
    line-height: 1.8;
}

.location-card i {
    color: var(--primary-color);
    margin-right: 8px;
}

/* ===========================
   Testimonials Section
   =========================== */
.testimonials {
    padding: var(--section-padding);
    background-color: var(--cream);
    text-align: center;
}

.testimonials .section-label {
    text-align: center;
    display: block;
}

.testimonials h2 {
    margin-bottom: 60px;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.testimonial-card {
    background-color: var(--white);
    padding: 40px 32px;
    border-radius: 8px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    text-align: left;
}

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

.stars {
    margin-bottom: 20px;
}

.stars i {
    color: #F5A623;
    font-size: 16px;
    margin-right: 2px;
}

.testimonial-text {
    font-size: 16px;
    line-height: 1.7;
    color: var(--text-secondary);
    margin-bottom: 24px;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.testimonial-author strong {
    font-size: 16px;
    color: var(--text-primary);
    font-weight: 600;
}

.testimonial-author span {
    font-size: 14px;
    color: var(--text-light);
}

/* ===========================
   Newsletter Section
   =========================== */
.newsletter {
    padding: 80px 0;
    background-color: var(--accent-color);
}

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

.newsletter h2 {
    color: var(--white);
    margin-bottom: 16px;
}

.newsletter p {
    color: var(--white);
    margin-bottom: 32px;
    font-size: 18px;
}

.newsletter-form {
    display: flex;
    gap: 12px;
    max-width: 500px;
    margin: 0 auto;
}

.newsletter-form input {
    flex: 1;
    padding: 14px 20px;
    border: none;
    border-radius: 4px;
    font-size: 15px;
}

.newsletter-form input:focus {
    outline: 2px solid var(--primary-dark);
}

.newsletter-form button {
    white-space: nowrap;
}

/* ===========================
   Footer
   =========================== */
.footer {
    background-color: var(--dark-gray);
    color: var(--light-tan);
    padding: 60px 0 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    margin-bottom: 40px;
}

.footer-column h4 {
    color: var(--white);
    margin-bottom: 20px;
    font-size: 18px;
}

.footer-column p {
    color: var(--light-tan);
    font-size: 15px;
    margin-bottom: 12px;
}

.footer-column ul li {
    margin-bottom: 12px;
}

.footer-column a {
    color: var(--light-tan);
    font-size: 15px;
}

.footer-column a:hover {
    color: var(--accent-color);
}

.footer-social {
    display: flex;
    gap: 16px;
    margin-top: 20px;
}

.footer-social a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--medium-gray);
    border-radius: 50%;
    transition: var(--transition-fast);
}

.footer-social a:hover {
    background-color: var(--accent-color);
    transform: translateY(-3px);
}

.footer-social i {
    font-size: 18px;
}

.footer-certifications {
    margin-top: 12px;
    opacity: 0.8;
}

.footer-certifications small {
    font-size: 12px;
    line-height: 1.6;
}

.footer-column i {
    margin-right: 8px;
    color: var(--accent-color);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid var(--medium-gray);
}

.footer-bottom p {
    color: var(--light-tan);
    font-size: 14px;
}

/* ===========================
   Shop Page Styles
   =========================== */
.page-header {
    padding: 80px 0 60px;
    text-align: center;
    background-color: var(--white);
    border-bottom: 1px solid var(--light-tan);
}

.page-header h1 {
    margin-bottom: 20px;
}

.shop-filters {
    padding: 40px 0;
    background-color: var(--cream);
    border-bottom: 1px solid var(--light-tan);
}

.filters-wrapper {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 10px 24px;
    background-color: var(--white);
    border: 2px solid var(--light-tan);
    color: var(--text-primary);
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-radius: 4px;
    cursor: pointer;
    transition: var(--transition);
}

.filter-btn:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.filter-btn.active {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--white);
}

.shop-products {
    padding: var(--section-padding);
    background-color: var(--cream);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 50px;
}

.product-card {
    background-color: var(--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

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

.product-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    padding: 8px 16px;
    background-color: var(--accent-color);
    color: var(--white);
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 20px;
    z-index: 10;
}

.product-image {
    position: relative;
    height: 350px;
    overflow: hidden;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

.product-content {
    padding: 40px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.product-content h3 {
    margin-bottom: 12px;
    color: var(--primary-color);
}

.product-origin {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 8px;
    font-weight: 500;
}

.product-origin i {
    color: var(--accent-color);
    margin-right: 6px;
}

.product-process {
    font-size: 13px;
    color: var(--text-light);
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 600;
}

.product-description {
    font-size: 16px;
    line-height: 1.7;
    margin-bottom: 24px;
}

.product-notes {
    margin-bottom: 32px;
}

.product-notes strong {
    display: block;
    font-size: 14px;
    color: var(--text-primary);
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.product-notes ul {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
    list-style: none;
}

.product-notes li {
    font-size: 14px;
    color: var(--text-secondary);
    padding-left: 20px;
    position: relative;
}

.product-notes li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--accent-color);
    font-weight: 700;
}

.product-footer {
    margin-top: auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 24px;
    border-top: 1px solid var(--light-tan);
}

.product-price {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary-color);
    font-family: 'Playfair Display', serif;
}

.product-footer .btn-primary {
    padding: 12px 28px;
    font-size: 14px;
}

.subscription-cta {
    padding: 80px 0;
    background-color: var(--primary-dark);
    text-align: center;
}

.cta-content h2 {
    color: var(--white);
    margin-bottom: 16px;
}

.cta-content p {
    color: var(--light-tan);
    font-size: 18px;
    margin-bottom: 32px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* ===========================
   About Page Styles
   =========================== */
.about-hero {
    position: relative;
    height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.about-hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

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

.about-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0,0,0,0.4), rgba(0,0,0,0.6));
    z-index: 2;
}

.about-hero-content {
    position: relative;
    z-index: 3;
    text-align: center;
    color: var(--white);
}

.about-hero-content .section-label {
    color: var(--accent-color);
}

.about-hero-content h1 {
    color: var(--white);
}

.our-story {
    padding: var(--section-padding);
    background-color: var(--white);
}

.story-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.story-content p {
    margin-bottom: 20px;
}

.story-image {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.story-image img {
    width: 100%;
    height: 500px;
    object-fit: cover;
}

.our-values {
    padding: var(--section-padding);
    background-color: var(--cream);
    text-align: center;
}

.our-values h2 {
    margin-bottom: 60px;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    margin-top: 60px;
}

.value-card {
    text-align: center;
    padding: 40px 20px;
}

.value-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 24px;
    background-color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-md);
}

.value-icon i {
    font-size: 36px;
    color: var(--primary-color);
}

.value-card h3 {
    margin-bottom: 16px;
    color: var(--primary-color);
}

.value-card p {
    font-size: 15px;
    line-height: 1.7;
}

.our-process {
    padding: var(--section-padding);
    background-color: var(--white);
}

.process-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 80px;
}

.process-steps-vertical {
    max-width: 900px;
    margin: 0 auto;
}

.process-step-item {
    display: grid;
    grid-template-columns: 120px 1fr;
    gap: 60px;
    margin-bottom: 80px;
    position: relative;
}

.process-step-item:last-child {
    margin-bottom: 0;
}

.process-step-item::after {
    content: '';
    position: absolute;
    left: 60px;
    top: 120px;
    width: 2px;
    height: calc(100% + 80px);
    background: linear-gradient(to bottom, var(--light-tan), transparent);
}

.process-step-item:last-child::after {
    display: none;
}

.step-number-large {
    font-size: 64px;
    font-weight: 700;
    color: var(--primary-color);
    font-family: 'Playfair Display', serif;
    opacity: 0.3;
    line-height: 1;
}

.step-content-right h3 {
    margin-bottom: 16px;
    color: var(--primary-color);
}

.step-content-right > p {
    margin-bottom: 24px;
    font-size: 17px;
}

.step-details {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.step-details li {
    font-size: 15px;
    color: var(--text-secondary);
    padding-left: 24px;
    position: relative;
}

.step-details li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--accent-color);
    font-weight: 700;
}

.certifications {
    padding: var(--section-padding);
    background-color: var(--cream);
}

.cert-header {
    text-align: center;
    margin-bottom: 60px;
}

.cert-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.cert-card {
    background-color: var(--white);
    padding: 40px 32px;
    border-radius: 8px;
    box-shadow: var(--shadow-sm);
    text-align: center;
    transition: var(--transition);
}

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

.cert-badge {
    width: 70px;
    height: 70px;
    margin: 0 auto 24px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cert-badge i {
    font-size: 32px;
    color: var(--white);
}

.cert-card h4 {
    margin-bottom: 12px;
    color: var(--primary-color);
    font-size: 18px;
}

.cert-card p {
    font-size: 15px;
    line-height: 1.6;
}

.wholesale-info {
    padding: var(--section-padding);
    background-color: var(--white);
}

.wholesale-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.wholesale-text h2 {
    margin-bottom: 24px;
}

.wholesale-text > p {
    margin-bottom: 32px;
    font-size: 17px;
}

.wholesale-benefits {
    list-style: none;
    margin-bottom: 32px;
}

.wholesale-benefits li {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
    color: var(--text-secondary);
    font-size: 16px;
}

.wholesale-benefits i {
    color: var(--primary-color);
    font-size: 18px;
}

.wholesale-image {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.wholesale-image img {
    width: 100%;
    height: 500px;
    object-fit: cover;
}

/* ===========================
   Brew Guides Page Styles
   =========================== */
.brewing-basics {
    padding: var(--section-padding);
    background-color: var(--white);
    text-align: center;
}

.brewing-basics h2 {
    margin-bottom: 60px;
}

.basics-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
}

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

.basic-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 20px;
    background-color: var(--cream);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.basic-icon i {
    font-size: 30px;
    color: var(--primary-color);
}

.basic-card h3 {
    margin-bottom: 12px;
    color: var(--primary-color);
    font-size: 20px;
}

.basic-card p {
    font-size: 15px;
    line-height: 1.6;
}

.brew-method {
    padding: var(--section-padding);
    background-color: var(--cream);
}

.brew-method.alt {
    background-color: var(--white);
}

.method-header {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    margin-bottom: 60px;
}

.method-image {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.method-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
}

.method-intro h2 {
    margin-bottom: 20px;
}

.method-description {
    font-size: 17px;
    line-height: 1.8;
    margin-bottom: 32px;
}

.method-stats {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.method-stats .stat {
    font-size: 15px;
    color: var(--text-secondary);
}

.method-stats strong {
    color: var(--primary-color);
    font-weight: 600;
}

.method-steps h3 {
    text-align: center;
    margin-bottom: 40px;
    color: var(--primary-color);
}

.steps-list {
    max-width: 800px;
    margin: 0 auto;
}

.step-item {
    display: grid;
    grid-template-columns: 60px 1fr;
    gap: 30px;
    margin-bottom: 40px;
}

.step-item:last-child {
    margin-bottom: 0;
}

.step-num {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--white);
    font-size: 24px;
    font-weight: 700;
    font-family: 'Playfair Display', serif;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.step-text h4 {
    margin-bottom: 8px;
    color: var(--primary-color);
    font-size: 18px;
}

.step-text p {
    font-size: 16px;
    line-height: 1.7;
}

.grind-chart {
    padding: var(--section-padding);
    background-color: var(--white);
    text-align: center;
}

.grind-chart h2 {
    margin-bottom: 60px;
}

.chart-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 30px;
    max-width: 1100px;
    margin: 0 auto;
}

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

.grind-visual {
    width: 100%;
    height: 120px;
    border-radius: 8px;
    margin-bottom: 20px;
    position: relative;
    overflow: hidden;
    background-color: var(--cream);
    border: 2px solid var(--light-tan);
}

.grind-visual::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: var(--primary-color);
}

.grind-visual.extra-coarse::before { height: 20%; }
.grind-visual.coarse::before { height: 35%; }
.grind-visual.medium-coarse::before { height: 50%; }
.grind-visual.medium::before { height: 65%; }
.grind-visual.medium-fine::before { height: 75%; }
.grind-visual.fine::before { height: 85%; }
.grind-visual.extra-fine::before { height: 95%; }

.chart-item h4 {
    margin-bottom: 8px;
    color: var(--primary-color);
    font-size: 16px;
}

.chart-item p {
    font-size: 14px;
    color: var(--text-secondary);
}

.storage-tips {
    padding: var(--section-padding);
    background-color: var(--cream);
    text-align: center;
}

.storage-tips h2 {
    margin-bottom: 60px;
}

.tips-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
}

.tip-card {
    background-color: var(--white);
    padding: 40px 30px;
    border-radius: 8px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

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

.tip-card i {
    font-size: 40px;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.tip-card h4 {
    margin-bottom: 12px;
    color: var(--primary-color);
    font-size: 18px;
}

.tip-card p {
    font-size: 15px;
    line-height: 1.6;
}

.guides-cta {
    padding: 80px 0;
    background-color: var(--primary-dark);
    text-align: center;
}

.guides-cta .cta-content h2 {
    color: var(--white);
    margin-bottom: 16px;
}

.guides-cta .cta-content p {
    color: var(--light-tan);
    font-size: 18px;
    margin-bottom: 32px;
}

/* ===========================
   Responsive Design
   =========================== */

/* Tablet */
@media (max-width: 968px) {
    h1 {
        font-size: 42px;
    }

    h2 {
        font-size: 36px;
    }

    .hero {
        grid-template-columns: 1fr;
        padding: 60px 20px;
    }

    .hero-content {
        padding-right: 0;
    }

    .hero-image img {
        height: 400px;
    }

    .philosophy-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

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

    .subscription-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

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

    .badges-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }

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

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

    .products-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .story-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

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

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

    .wholesale-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .process-step-item {
        grid-template-columns: 100px 1fr;
        gap: 40px;
    }

    .step-details {
        grid-template-columns: 1fr;
    }

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

    .method-header {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .chart-grid {
        grid-template-columns: repeat(4, 1fr);
    }

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

/* Mobile */
@media (max-width: 640px) {
    :root {
        --section-padding: 60px 0;
    }

    h1 {
        font-size: 32px;
    }

    h2 {
        font-size: 28px;
    }

    h3 {
        font-size: 22px;
    }

    .nav-menu {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background-color: var(--white);
        flex-direction: column;
        align-items: center;
        padding-top: 40px;
        gap: 30px;
        transition: left 0.3s ease;
        box-shadow: var(--shadow-md);
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-toggle {
        display: flex;
    }

    .nav-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(8px, 8px);
    }

    .nav-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .nav-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -7px);
    }

    .hero {
        padding: 40px 20px;
    }

    .hero-image img {
        height: 300px;
    }

    .hero-details {
        flex-direction: column;
        gap: 12px;
    }

    .badges-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .badge-item {
        flex-direction: row;
        justify-content: flex-start;
        text-align: left;
    }

    .badge-item i {
        font-size: 24px;
    }

    .newsletter-form {
        flex-direction: column;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .product-image {
        height: 250px;
    }

    .product-content {
        padding: 30px;
    }

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

    .product-footer {
        flex-direction: column;
        gap: 16px;
        align-items: flex-start;
    }

    .product-footer .btn-primary {
        width: 100%;
    }

    .about-hero {
        height: 350px;
    }

    .about-hero-content h1 {
        font-size: 32px;
    }

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

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

    .process-step-item {
        grid-template-columns: 80px 1fr;
        gap: 20px;
        margin-bottom: 60px;
    }

    .step-number-large {
        font-size: 48px;
    }

    .step-details {
        grid-template-columns: 1fr;
    }

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

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

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

    .step-item {
        grid-template-columns: 50px 1fr;
        gap: 20px;
    }

    .step-num {
        width: 50px;
        height: 50px;
        font-size: 20px;
    }
}
