/* CSS Variables */
:root {
    --primary-color-1: #333;
    /* Product 1 (Shakti Peya) - Brownish Red */
    --primary-color-2: #252525;
    /* Product 2 (Chandra Rasa) - Deep Blue/Navy */
    --text-color: #333333;
    --text-light: #666666;
    --bg-color: #fffef2;
    --bg-light: #fffef2;
    --font-heading: 'Tenor Sans', sans-serif;
    --font-body: 'Inter', sans-serif;
    --container-width: 1200px;
    --spacing-xs: 8px;
    --spacing-sm: 16px;
    --spacing-md: 32px;
    --spacing-lg: 64px;
    --spacing-xl: 96px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    color: var(--text-color);
    line-height: 1.6;
    background-color: var(--bg-color);
    font-weight: 300;

}

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

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    /* color: var(--primary-color-2); */
    /* Using the deep blue for headings for elegance */
    line-height: 1.2;
    margin-bottom: var(--spacing-sm);
}

h3,
h4,
h5,
h6 {
    font-weight: 400;
}

h2 {
    font-size: 2.5rem;
}

h3 {
    font-size: 1.75rem;
    font-family: var(--font-body);

}

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

.section-divider {
    border: 0;
    border-top: 1px solid #b7b7b7;
    margin: 15px 0 20px 0;
    /* width: 60px; */
    opacity: 1;
}

.how-to-use-section p {
    margin-bottom: 0;
}

.how-to-use-section h3 {
    font-size: 1.3rem;
}

.sub-heading {
    font-weight: 450;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}

ul {
    list-style: none;
}

/* Utilities */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

.section-padding {
    padding: var(--spacing-xl) 0;
}

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

.bg-light {
    background-color: var(--bg-light);
}

.max-width-800 {
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.eyebrow {
    font-size: 1.875rem;
    letter-spacing: 2px;
    color: var(--primary-color-1);
    /* font-weight: 600; */
    display: block;
    margin-bottom: var(--spacing-xs);
    font-family: var(--font-heading);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 30px;
    font-family: var(--font-heading);
    font-weight: 500;
    letter-spacing: 0.5px;
    cursor: pointer;
    border: none;
    font-size: 1rem;
    transition: all 0.3s ease;
}

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

.btn-primary:hover {
    background-color: var(--primary-color-2);

}

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

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

.btn-view-more {
    background-color: rgba(255, 255, 255, 0.6);
    color: var(--primary-color-1);
    border: 1px solid var(--primary-color-1);
}

.btn-view-more:hover {
    background-color: var(--primary-color-1);
    color: white;
}

/* Header */
.main-header {
    background-color: transparent;
    padding: var(--spacing-sm) 0;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: background-color 0.4s ease, box-shadow 0.4s ease;
}

.main-header.scrolled {
    background-color: var(--bg-color);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

/* On pages without a hero, offset main content below the fixed header */
body.no-hero>main {
    padding-top: 130px;
}

.main-header .container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    /* gap: var(--spacing-sm); */
    gap: 10px;
}

.logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    text-decoration: none;
}

.logo img {
    height: auto;
    max-height: 60px;
    filter: brightness(0) invert(1);
    transition: filter 0.4s ease;
}

.main-header.scrolled .logo img {
    filter: brightness(0) invert(0);
}





.main-nav ul {
    display: flex;
    gap: var(--spacing-md);
}

.main-nav a {
    font-family: var(--font-heading);
    font-weight: 500;
    font-size: 0.95rem;
    color: white;
    transition: color 0.3s ease;
    text-transform: uppercase;
}

.main-nav a:hover {
    color: rgba(255, 255, 255, 0.7);
}

.main-header.scrolled .main-nav a {
    color: var(--primary-color-2);
}

.main-header.scrolled .main-nav a:hover {
    color: var(--primary-color-1);
}

/* Hero Section */
.hero-section {
    padding: 0;
    text-align: center;
    background-color: var(--bg-light);
    position: relative;
    overflow: hidden;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 0;
}

.hero-video-bg {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    object-fit: cover;
    z-index: 0;
}

.hero-section .container {
    position: absolute;
    top: 65%;
    z-index: 1;
}

/* Hero Video Controls */
.hero-video-controls {
    position: absolute;
    bottom: 28px;
    right: 28px;
    z-index: 2;
    display: flex;
    gap: 10px;
}

.hero-ctrl-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border: 1.5px solid rgba(255, 255, 255, 0.6);
    background-color: rgba(0, 0, 0, 0.35);
    color: white;
    cursor: pointer;
    transition: background-color 0.25s ease, border-color 0.25s ease, transform 0.2s ease;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

.hero-ctrl-btn:hover {
    background-color: rgba(0, 0, 0, 0.6);
    border-color: rgba(255, 255, 255, 0.9);
    transform: scale(1.08);
}

.hero-ctrl-btn svg {
    width: 18px;
    height: 18px;
    pointer-events: none;
}


#hero a.btn.btn-primary {
    background-color: rgba(0, 0, 0, 0.6);
    border: 2px solid white;
    margin-top: 20px;
}

#hero a.btn.btn-primary:hover {
    background-color: var(--primary-color-2);
    ;
}

.hero-title {
    font-size: 2.3rem;
    max-width: 900px;
    /* margin: 0 auto var(--spacing-md); */
    /* color: var(--primary-color-2); */
    color: #fff;
    font-weight: 300;
}

.hero-title-small {
    font-size: 1.1rem !important;
    margin-bottom: 0 !important;

}

@media (max-width: 768px) {

    .hero-section .container {
        top: 50%;
    }

    .hero-title-small {
        font-size: 1rem !important;
        margin-bottom: 0 !important;
    }

    .eyebrow {
        font-size: 1.375rem;
    }
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-light);
    margin-bottom: var(--spacing-md);
}

/* About Section */
.about-section {
    padding: 0;
    overflow: hidden;
    margin-top: var(--spacing-xl);
}

.about-split-layout {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
    min-height: 300px;
    /* Reduced from 600px */
}

.about-image-side {
    width: 57%;
    position: relative;
    padding: 0;
    margin-bottom: 0;
    background-color: #f4f1ea;
    /* Override previous margin */
}

.about-image-side img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 0;
    /* Remove border-radius for full bleed */
}

.about-content-side {
    width: 43%;
    display: flex;
    align-items: center;
    background-color: var(--bg-color);
    /* Soft organic background color */
}

.about-content-inner {
    /* padding: var(--spacing-lg); */
    padding: 35px 100px 15px 70px;
    max-width: 850px;
}

.about-content-inner.content-left {
    padding: 35px 50px 15px 50px;
}


/* Remove old About styles that interfere */
.about-content p {
    font-size: 1.1rem;
    margin-bottom: var(--spacing-md);
}

/* Response for About Split Layout */
@media (max-width: 768px) {

    .about-image-side,
    .about-content-side {
        width: 100%;
    }


    .about-content-inner {
        padding: var(--spacing-md);
    }
}



/* Sections Layout */
.row {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -15px;
}

.col-half {
    width: 50%;
    padding: 0 15px;
}

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

/* Standards Grid */
.standards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-md);
    margin-top: var(--spacing-lg);
}

@media (min-width: 769px) {
    .standards-grid {
        grid-template-columns: repeat(8, 1fr);
        gap: var(--spacing-sm);
    }
}

.standard-item {
    text-align: center;
    transition: transform 0.3s ease;
}

.standard-item:hover {
    transform: translateY(-5px);
}

.standard-item .icon,
.standard-item .icon.large {
    width: 80px;
    height: 80px;
    margin: 0 auto var(--spacing-sm);
    display: flex;
    justify-content: center;
    align-items: center;
}

.standard-item .icon.extra-bold svg {
    stroke-width: .5;
    stroke: #000000;
    fill: #000000;
}

.standard-item .icon svg,
.standard-item .icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    fill: none;
    stroke: #333;
    stroke-width: 1.5;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.standard-item h3 {
    font-size: 1.25rem;
    margin-bottom: var(--spacing-xs);
    font-family: var(--font-body);
    font-weight: 600;
}

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

/* Product Cards */

.buy-now-btn {
    margin-bottom: 20px;
    width: 100%;
}

.product-card {
    margin-bottom: var(--spacing-xl);
    align-items: center;
}

.product-image {
    padding: 0;
    background-color: white;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    display: flex;
    justify-content: center;
    align-items: center;
    border: 1px solid #eee;
    overflow: hidden;
}

.product-image img {
    max-height: 700px;
    width: 100%;
    object-fit: cover;
}

.product-details {
    padding-left: var(--spacing-lg);
}

.product-card.reverse-mobile .product-details {
    padding-left: 0;
    padding-right: var(--spacing-lg);
}

.product-card:nth-child(even) .product-details {
    padding-left: 0;
    padding-right: var(--spacing-lg);
}

.product-card:nth-child(even) {
    flex-direction: row-reverse;
}

.product-subtitle {
    font-size: 1.2rem;
    color: var(--primary-color-1);
    margin-bottom: 0;
    font-family: var(--font-heading);
    font-style: italic;
}

.product-specs {
    font-size: 1.1rem;
    color: var(--text-light);
}

.ingredients-list {
    margin-top: var(--spacing-md);
    margin-bottom: var(--spacing-md);
}

.ingredients-list h4 {
    font-size: 1.1rem;
    border-bottom: 2px solid #eee;
    padding-bottom: 8px;
    margin-bottom: 12px;
}

.ingredients-list ul li {
    font-size: 0.95rem;
    margin-bottom: 6px;
    position: relative;
    padding-left: 15px;
}

.ingredients-list ul li::before {
    content: "•";
    color: var(--primary-color-1);
    position: absolute;
    left: 0;
}

/* Collapsible Sections */
.product-collapsible {
    margin-top: var(--spacing-md);
    border-top: 1px solid #eee;
}

.product-collapsible details {
    border-bottom: 1px solid #eee;
}

.product-collapsible summary {
    list-style: none;
    padding: 16px 0;
    font-family: var(--font-heading);
    font-size: 1rem;
    color: var(--primary-color-2);
    cursor: pointer;
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.product-collapsible summary::-webkit-details-marker {
    display: none;
}

.product-collapsible summary::after {
    content: "▼";
    font-size: 0.9rem;
    transition: transform 0.3s ease;
}

.product-collapsible details[open] summary::after {
    transform: rotate(180deg);
}

.product-collapsible .collapsible-content {
    padding-bottom: 16px;
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Placeholder Product Image */
.placeholder-image {
    height: 400px;
    background-color: var(--primary-color-2);
    color: white;
    width: 100%;
}

.image-text-placeholder {
    font-family: var(--font-heading);
    font-size: 2rem;
    letter-spacing: 4px;
    text-transform: uppercase;
}



/* Footer */
.main-footer {
    background-color: #252525;
    color: white;
    padding: var(--spacing-lg) 0 var(--spacing-md);
    margin-top: 100px;
}

.footer-logo {
    filter: brightness(0) invert(1);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--spacing-md);
}

.footer-links a {
    font-family: var(--font-heading);
    color: rgba(255, 255, 255, 0.8);
    margin-left: var(--spacing-md);
}

.footer-links a:hover {
    color: white;
}

.footer-bottom {
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: var(--spacing-md);
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
}

/* Responsive */
@media (max-width: 768px) {
    .col-half {
        width: 100%;
        margin-bottom: var(--spacing-md);
    }

    .product-card,
    .product-card:nth-child(even) {
        flex-direction: column;
        text-align: center;
    }

    .product-details,
    .product-card.reverse-mobile .product-details,
    .product-card:nth-child(even) .product-details {
        padding: 0;
        margin-top: var(--spacing-md);
    }

    .hero-title {
        font-size: 2rem;
    }

    .main-header .container {
        flex-direction: column;
    }

    .main-nav ul {
        gap: 15px;
    }

    .ingredients-list ul li {
        text-align: left;
    }

    .footer-content {
        flex-direction: column;
        gap: 20px;
    }

    .footer-links a {
        margin: 0 10px;
    }
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.5);
    animation: fadeIn 0.3s ease-in-out;
}

.modal-content {
    background-color: #fff;
    margin: 5% auto;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    width: 90%;
    max-width: 500px;
    position: relative;
    animation: slideDown 0.3s ease-in-out;
}

.close-modal {
    position: absolute;
    top: 15px;
    right: 20px;
    color: #aaa;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.2s;
}

.close-modal:hover,
.close-modal:focus {
    color: #000;
    text-decoration: none;
}

.modal h2 {
    margin-bottom: 5px;
    color: var(--primary-color-2);
}

#modal-product-name {
    color: var(--primary-color-1);
    font-weight: 600;
    margin-bottom: 25px;
    border-bottom: 1px solid #eee;
    padding-bottom: 15px;
    font-family: var(--font-heading);
    font-size: 1.2rem;
}

.form-group {
    margin-bottom: 20px;
}

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

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    font-family: var(--font-body);
    font-size: 1rem;
    transition: border-color 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--primary-color-2);
    outline: none;
}

.full-width {
    width: 100%;
    text-align: center;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes slideDown {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}


/* Contact Page Styles */
.contact-hero-section {
    position: relative;
    height: 70vh;
    background-image: url('assets/images/contact.avif');
    /* Using existing brand image or placeholder */
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding-bottom: 80px;
}

.contact-hero-section .container {
    width: 100%;
}

.contact-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.4);
}

.contact-hero-title {
    position: relative;
    color: white;
    font-size: 3.5rem;
    z-index: 1;
    margin-bottom: 0;
}

.contact-page-section {
    background-color: #fff;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: var(--spacing-lg);
    max-width: 1000px;
    margin: 0 auto;
}

.contact-section-title {
    font-size: 2rem;
    margin-bottom: var(--spacing-sm);
    color: var(--primary-color-1);
}

.contact-description {
    font-size: 1rem;
    margin-bottom: var(--spacing-md);
    color: var(--text-light);
    line-height: 1.6;
}

/* Contact Form Styles */
.styled-contact-form .form-group {
    margin-bottom: 20px;
}

.styled-contact-form input,
.styled-contact-form textarea {
    width: 100%;
    padding: 15px;
    border: 1px solid #e0e0e0;
    border-radius: 0;
    /* Sharp edges as per reference */
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: var(--text-color);
    background-color: transparent;
    transition: border-color 0.3s;
}

.styled-contact-form input:focus,
.styled-contact-form textarea:focus {
    border-color: #aaa;
    outline: none;
}

.styled-contact-form input::placeholder,
.styled-contact-form textarea::placeholder {
    color: #999;
    font-size: 0.9rem;
}

.contact-submit-btn {
    background-color: #C19A6B;
    /* Muted gold/brown tone from reference */
    color: white;
    border: none;
    /* Pill shape */
    padding: 12px 35px;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-top: 10px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

/* Blog Page Styles */
.blog-hero-section {
    position: relative;
    height: 70vh;
    background-image: url('assets/images/blog/cardamon.jpg');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}


#shop-hero {
    background-image: url('assets/images/cinnamon.jpg');
}

.contact-submit-btn:hover {
    background-color: #a07d55;
}

/* Contact Info Styles */
.contact-info-col {
    padding-left: var(--spacing-md);
}

.contact-info-block {
    margin-bottom: var(--spacing-md);
}

.contact-info-title {
    font-size: 1.25rem;
    margin-bottom: 15px;
    font-family: var(--font-heading);
    color: var(--primary-color-1);
}

.contact-info-block p {
    font-size: 0.95rem;
    color: var(--text-light);
    line-height: 1.6;
}

.contact-link {
    color: var(--text-light);
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: border-color 0.3s;
}

.contact-link:hover {
    border-bottom-color: var(--text-light);
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: #f4f4f4;
    color: var(--text-color);
    transition: all 0.3s ease;
}

.social-icon svg {
    width: 20px;
    height: 20px;
    stroke-width: 1.5;
}

.social-icon:hover {
    background-color: var(--primary-color-1);
    color: white;
    transform: translateY(-3px);
}

/* Responsive */
@media (max-width: 768px) {
    .contact-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-xl);
    }

    .contact-hero-section {
        align-items: center;
        padding-bottom: 0;
        text-align: center;
    }


    .contact-info-col {
        padding-left: 0;
        margin-top: var(--spacing-lg);
    }

    /* Map Styles */
    .map-container {
        margin-top: var(--spacing-sm);
        margin-bottom: var(--spacing-md);
        overflow: hidden;
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    }

    .contact-map-image {
        width: 100%;
        height: auto;
        display: block;
        transition: transform 0.3s ease;
    }

    .map-container:hover .contact-map-image {
        transform: scale(1.02);
    }
}

/* Product Grid Styles (Homepage) */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-md);
    margin-top: var(--spacing-md);
}

.product-grid-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    /* padding: var(--spacing-md); */
    /* background-color: white; */
    /* box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03); */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-decoration: none;
    color: inherit;
}


.product-grid-image {
    width: 100%;
    height: 400px;
    overflow: hidden;
    margin-bottom: var(--spacing-sm);
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #fff;
}

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

/* .product-grid-item:hover .product-grid-image img {
    transform: scale(1.05);
} */

.product-grid-item h3 {
    font-size: 1.25rem;
    margin-bottom: 5px;
    /* Ensure heading font is used */
    color: var(--primary-color-2);
}

.product-grid-subtitle {
    font-family: var(--font-heading);
    font-style: italic;
    color: var(--primary-color-1);
    margin-bottom: 10px;
    font-size: 1rem;
}

.product-grid-price {
    font-weight: 600;
    font-size: 1.1rem;
    color: var(--text-color);
}

/* Product Detail Page Styles */
.product-image-large {
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.product-image-large img {
    width: 100%;
    height: auto;
    display: block;
}

.product-info {
    padding-left: var(--spacing-lg);
}

.product-info h1 {
    font-size: 3rem;
    margin-bottom: 5px;
    color: var(--primary-color-2);
}

.product-subtitle-large {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: var(--primary-color-1);
}

.price {
    font-size: 2rem;
    font-weight: 500;
    margin-bottom: 5px;
    color: var(--text-color);
}

.product-description-full {
    margin-bottom: var(--spacing-md);
    font-size: 1.1rem;
    line-height: 1.7;
}



@media (max-width: 768px) {
    .product-info {
        padding-left: 0;
        margin-top: var(--spacing-md);
    }

    .product-info h1 {
        font-size: 2rem;
    }
}

/* New Font Utilities */
.dm-sans-regular {
    font-family: "Inter", sans-serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
}

.dm-sans-bold {
    font-family: "Inter", sans-serif;
    font-optical-sizing: auto;
    font-weight: 700;
    font-style: normal;
}

.dm-sans-italic {
    font-family: "Inter", sans-serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: italic;
}

.tenor-sans-regular {
    font-family: "Tenor Sans", sans-serif;
    font-weight: 400;
    font-style: normal;
}

/* Blog Styles */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-md);
    margin-top: var(--spacing-md);
}

.blog-card {
    background-color: white;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.blog-card-link {
    display: block;
    height: 100%;
}

.blog-card-image {
    height: 200px;
    overflow: hidden;
}

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

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

.blog-card-content {
    padding: var(--spacing-md);
}

.blog-category {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--primary-color-1);
    display: block;
    margin-bottom: var(--spacing-xs);
    font-weight: 600;
}

.blog-card-content h3 {
    font-size: 1.4rem;
    margin-bottom: var(--spacing-sm);
    line-height: 1.3;
}

.blog-card-content p {
    color: var(--text-light);
    font-size: 0.95rem;
    margin-bottom: var(--spacing-sm);
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.read-more {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--primary-color-2);
    display: inline-block;
}

/* Blog Detail Page */
.blog-post-page .blog-post-header {
    margin-bottom: var(--spacing-lg);
}

.blog-post-header h1 {
    font-size: 3rem;
    margin-top: var(--spacing-xs);
    margin-bottom: var(--spacing-sm);
}

.blog-meta {
    font-style: italic;
    color: var(--text-light);
}

.blog-post-image {
    margin-bottom: var(--spacing-lg);
    overflow: hidden;
    max-height: 800px;
    /* Limit height to keep content accessible */
}

.blog-post-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.blog-post-content {
    font-size: 1.1rem;
    line-height: 1.8;
}

.blog-post-content p {
    margin-bottom: var(--spacing-md);
}

.blog-post-content .lead {
    font-size: 1.25rem;
    font-weight: 500;
    color: var(--primary-color-2);
    margin-bottom: var(--spacing-lg);
}

.blog-post-content h3 {
    margin-top: var(--spacing-lg);
    margin-bottom: var(--spacing-sm);
    font-size: 1.1rem;
    color: var(--text-color);
    font-weight: 600;
}

.recipe-box {
    margin: var(--spacing-lg) 0;
}

.recipe-box h3 {
    margin-top: var(--spacing-md);
    font-size: 1.1rem;
    color: var(--text-color);
    font-weight: 600;
}

.recipe-box h3:first-child {
    margin-top: 0;
}

.ingredient-list,
.method-list {
    margin-bottom: var(--spacing-md);
}

.ingredient-list li {
    margin-bottom: 8px;
    position: relative;
    padding-left: 20px;
}

.ingredient-list li::before {
    content: "•";
    color: var(--primary-color-1);
    position: absolute;
    left: 0;
    font-weight: bold;
}

.method-list li {
    margin-bottom: 12px;
    padding-left: 5px;
}

.recipe-note {
    font-style: italic;
    font-size: 0.95rem;
    color: var(--text-light);
    margin-top: var(--spacing-md);
}

.blog-navigation {
    margin-top: var(--spacing-xl);
    padding-top: var(--spacing-md);
    border-top: 1px solid #eee;
}

@media (max-width: 768px) {
    .blog-post-header h1 {
        font-size: 2rem;
    }

    .recipe-box {
        padding: var(--spacing-md);
    }
}

/* Subscribe Section */
.subscribe-section {
    padding: 0;
    overflow: hidden;
}

#subscribe p {
    margin-bottom: 40px;
}

.subscribe-split-layout {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
}

.subscribe-image-side {
    width: 50%;
    position: relative;
    padding: 0;
}

.subscribe-image-side img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.subscribe-content-side {
    width: 50%;
    display: flex;
    align-items: center;
    background-color: #f4f1ea;
}

.subscribe-content-inner {
    padding: 40px 60px;
    width: 100%;
}

.subscribe-content-inner h2 {
    font-size: 1.9rem;
    color: var(--primary-color-2);
}

.subscribe-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
    width: 100%;
}

.subscribe-form input {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ccc;
    background-color: white;
    color: var(--text-color);
    font-family: var(--font-body);
    font-size: 1rem;
}

.subscribe-form input:focus {
    outline: none;
    border-color: var(--primary-color-1);
}

.subscribe-form .btn {
    width: 100%;
    padding: 12px 30px;
    white-space: nowrap;
}

@media (max-width: 768px) {

    .subscribe-image-side,
    .subscribe-content-side {
        width: 100%;
    }

    .subscribe-split-layout {
        flex-direction: column;
    }

    .subscribe-content-inner {
        padding: var(--spacing-lg) var(--spacing-md);
    }
}

/* Shakti Peya hover image swap */
.product-grid-image {
    position: relative;
}

.product-grid-image .img-default,
.product-grid-image .img-hover {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity 0.3s ease;
}

.product-grid-image .img-hover {
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
}

.product-grid-image:hover .img-default {
    opacity: 0;
}

.product-grid-image:hover .img-hover {
    opacity: 1;
}
