/* ============================
   Base Reset + Global Styles
   ============================ */

*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: "Montserrat", sans-serif;
    line-height: 1.5;
    color: #111;
    background-color: #FFF8EA;
    width: 100vw;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

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

/* =================================
   NAVIGATION (Header)
   ================================= */

.site-nav {
    background-color: #fff;
    top: 0;
    z-index: 100;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.1);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 2rem;
    gap: 2rem;
}

.nav-logo {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    margin-right: 2rem;
}

.nav-logo img {
    height: 60px;
    width: auto;
    max-width: 150px;
    display: block;
}

.nav-left {
    display: flex;
    align-items: center;
    gap: 2.5rem;
    flex: 1 1 auto;
    min-width: 0;
    white-space: nowrap;
}

.nav-left li {
    flex-shrink: 0;
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 2rem;
    flex-shrink: 0;
}

.buy-online {
    background-color: #a8ba3c;
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 12px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: background-color 0.2s;
    border: none;
    outline: none;
    white-space: nowrap;
}

.buy-online:hover {
    background-color: #8fa832;
    color: white;
}

@media (max-width: 1200px) {
    .nav-container {
        padding: 1rem 1rem;
        gap: 1rem;
    }

    .nav-left {
        gap: 1.2rem;
    }

    .nav-logo img {
        height: 48px;
    }
}

@media (max-width: 900px) {
    .nav-container {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 0.5rem;
    }

    .nav-left {
        gap: 0.7rem;
    }

    .nav-logo img {
        height: 40px;
    }
}

@media (max-width: 600px) {
    .nav-container {
        flex-direction: row;
        flex-wrap: wrap;
        padding: 0.5rem 0.5rem;
    }

    .nav-logo img {
        height: 32px;
    }
}

.nav-left li a,
.nav-right li a {
    font-size: 1rem;
    font-weight: 500;
    color: #111;
    transition: color 0.2s;
}

.nav-left li a:hover,
.nav-right li a:hover {
    color: #a8ba3c; /* green accent on hover */
}

.nav-logo img {
    height: 50px;
    width: auto;
    max-width: 150px; /* or adjust to what looks best */
    display: block;
}

.nav-logo {
    flex-shrink: 0;
    min-width: 120px; /* <- ensures it doesn't collapse */
    display: flex;
    align-items: center;
}


/* =================================
   HERO SECTION (Home)
   ================================= */

.hero {
    position: relative;
    width: 100%;
    height: 80vh;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-video {
    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;
    pointer-events: none;
}

.hero::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(17, 17, 17, 0.4); /* dark overlay */
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: #fff;
    max-width: 800px;
    padding: 0 1rem;
}

.hero-content h1 {
    font-size: 2.5rem;
    font-weight: 900;
    letter-spacing: 1px;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.hero-content .btn-hero {
    display: inline-block;
    margin-top: 1.5rem;
    background-color: #ffa500; /* bright orange */
    color: #fff;
    font-weight: 600;
    padding: 0.75rem 1.75rem;
    border-radius: 30px;
    transition: background-color 0.2s;
}

.hero-content .btn-hero:hover {
    background-color: #e59400;
}

/* =================================
   ICON/FEATURE ROW (Home)
   ================================= */

.feature-row {
    padding: 3rem 1rem;
    text-align: center;
}

.feature-row .feature-list {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 2rem;
}

.feature-item {
    flex: 1 1 200px;
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    color: #111;
}

.info-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2rem; /* adds vertical space */
    transform: translateY(-35px); /* shift logo upward slightly */
}

.info-logo img {
    width: 150px;
    height: auto;
}

/* =================================
   PRODUCTS PREVIEW (Home)
   ================================= */

.home-products {
    background: url("{% static 'img/products-bg.png' %}") center/cover no-repeat;
    padding: 4rem 1rem;
    position: relative;
    color: #111;
}

.home-products::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.9);
    z-index: 1;
}

.home-products .section-container {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
}

.home-products h2 {
    font-size: 2rem;
    font-weight: 900;
    text-align: center;
    margin-bottom: 2rem;
}

.home-products .product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.product-card {
    background-color: #fff;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    position: relative;
    transition: transform 0.2s, box-shadow 0.2s;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.product-card img {
    width: 100%;
    height: auto;
    border-bottom: 1px solid #eee;
}

.product-card .card-body {
    padding: 1.5rem 1rem;
}

.product-card .card-title {
    font-size: 1.25rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
}

.product-card .card-subtitle {
    font-size: 0.9rem;
    color: #555;
    margin-bottom: 1rem;
}

.product-card .badge-img {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 55px;
    height: 55px;
    object-fit: cover;
    border-radius: 50%;
    border: 3px solid #fff;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

/* "Виж всички продукти" button under home-grid */
.btn-view-all {
    display: inline-block;
    background-color: #000;
    color: #fff;
    font-weight: 600;
    padding: 0.75rem 2rem;
    border-radius: 30px;
    margin-top: 2rem;
    transition: background-color 0.2s;
}

.btn-view-all:hover {
    background-color: #333;
}

/* =================================
   FARM QUALITY BANNER (Home)
   ================================= */


.full-width-banner img {
    width: 100vw;
    max-width: 100%;
    height: auto;
    display: block;
}

.full-width-banner {
    margin: 3rem 0;
}

.quality-banner {
    margin-top: 3rem; /* space from the button */
    width: 100vw; /* full viewport width */
    overflow: hidden; /* remove scrollbars if image wider */
}

.quality-banner img {
    width: 100%;
    height: auto;
    display: block;
}


/*image + yellow bar styling*/

.quality-section {
    margin: 0;
    padding: 0;
    width: 100vw;
    overflow: hidden;
}

/* Background image (mountains) behind milk + text */
.quality-top-bg {
    position: relative;
    margin: 0;
}

.quality-overlay {
    margin: 0 auto;
    background: url('../uploads/Untitled.png') center/cover no-repeat;
    padding: 3rem 2rem;
}

.quality-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 4rem;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
}

.quality-icon {
    width: 240px;
    height: auto;
    flex-shrink: 0;
    position: relative;
}

.quality-icon::before {
    content: '';
    position: absolute;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
    background: white;
    border-radius: 50%;
    z-index: -1;
    /*box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);*/
}

.quality-text {
    flex: 1;
    text-align: left;
    color: #000;
}

.quality-title {
    font-size: 2.2rem;
    font-weight: 900;
    color: #000;
    margin-bottom: 0.5rem;
    line-height: 1.2;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.quality-subtitle {
    font-size: 1.8rem;
    font-weight: 700;
    color: #000;
    margin-bottom: 1rem;
    line-height: 1.2;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.quality-description {
    font-size: 1.1rem;
    color: #333;
    font-weight: 400;
    line-height: 1.4;
    margin-bottom: 2rem;
}

.quality-badge {
    font-size: 1.2rem;
    font-weight: 900;
    color: #2d5a2d;
    margin-top: 1rem;
}

.yellow-bar {
    background: #a8ba3c;
    padding: 1.5rem 2rem;
    text-align: center;
    margin: 0;
}

.yellow-bar-text {
    color: white;
    font-size: 1.2rem;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 0;
}

/* Team Banner Styling */
.team-banner {
    margin: 0;
    text-align: center;
}

.team-banner-image {
    max-width: 100%;
    height: auto;
}


/* =================================
   ABOUT SECTION (Home & About Page)
   ================================= */

.about-section {
    background-image: url('/static/uploads/about-bg.jpg'); /* update the path if needed */
    background-size: cover;
    background-position: center top;
    background-repeat: no-repeat;
    padding: 4rem 1rem; /* ensure content has room */
    color: #111; /* or white, depending on your image */
    width: 100vw;
}

.about-section .section-container {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.about-section h2 {
    font-size: 2rem;
    font-weight: 900;
    margin-bottom: 1.5rem;
}

.about-section p {
    font-size: 1rem;
    color: #444;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.about-image {
    display: flex;
    justify-content: center;
    margin: 2rem 0;
}

.about-image img {
    max-width: 100%;
    height: auto;
    display: block;
    text-align: center;
}

.about-section2 {
    background-image: url('/static/uploads/about_bg2.png'); /* update the path if needed */
    background-size: cover;
    background-position: center top;
    background-repeat: no-repeat;
    padding: 4rem 1rem; /* ensure content has room */
    color: #111; /* or white, depending on your image */
}

.about-section2 .section-container {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.about-section2 h2 {
    font-size: 2rem;
    font-weight: 900;
    margin-bottom: 1.5rem;
}

.about-section2 p {
    font-size: 1rem;
    color: #444;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.about2-image {
    display: flex;
    justify-content: center;
    margin: 2rem 0;
}

.about2-image img {
    max-width: 100%;
    height: auto;
    display: block;
    text-align: center;
}


/* =================================
   TEAM BANNER (Home)
   ================================= */

.team-banner {
    width: 100vw;
    overflow: hidden;
    /*margin-top: 4rem;*/
}

.team-banner img {
    width: 100%;
    height: auto;
    display: block;
    margin: 0;
}

.team-banner,
.yellow-bar {
    margin: 0;
    padding: 0;
}


.yellow-bar {
    background-color: #f6a800; /* bright yellow-orange */
    padding: 1.2rem 0;
    text-align: center;
    width: 100vw;
}

.yellow-bar p {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: white;
    margin: 0;
    font-size: 1rem;
}


/* Recipe Page Styles */
.recipe-hero {
    background: url('../uploads/cows_sunset.jpg') center center/cover no-repeat;
    padding: 4rem 2rem;
    text-align: center;
    color: white;
    position: relative;
}

.recipe-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
    z-index: 1;
}

.recipe-hero-content {
    position: relative;
    z-index: 2;
}

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

.recipe-hero-title {
    font-size: 3rem;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 1rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.recipe-hero-subtitle {
    font-size: 1.2rem;
    opacity: 0.9;
    font-weight: 300;
}

/* Product Recipes Section */
.product-recipes-section {
    margin-bottom: 3rem;
}

.product-section-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: #111;
    margin-bottom: 2rem;
    text-transform: uppercase;
    text-align: center;
    border-bottom: 3px solid #91a631;
    padding-bottom: 0.5rem;
}

.recipe-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 3rem 2rem;
}

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

.recipe-card {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 1px solid #f0f0f0;
    min-height: 280px;
    display: flex;
    flex-direction: column;
}

.recipe-card.empty-card {
    background-color: transparent;
    box-shadow: none;
    border: none;
    pointer-events: none;
}

@media (max-width: 900px) {
    .recipe-card.empty-card {
        display: none;
    }

    .recipe-grid .recipe-card {
        max-width: 320px;
        width: 92%;
        margin: 0 auto 12px;
        min-height: 0; /* was 280px */
        border-radius: 12px;
        box-shadow: 0 4px 12px rgba(0, 0, 0, .08);
    }

    /* Image height control */
    .recipe-grid .recipe-card .recipe-image-wrapper img,
    .recipe-grid .recipe-card .recipe-image {
        width: 100%;
        aspect-ratio: 16 / 9;
        height: auto; /* fallback below if aspect-ratio unsupported */
        object-fit: cover;
    }

    @supports not (aspect-ratio: 1) {
        .recipe-grid .recipe-card .recipe-image-wrapper img,
        .recipe-grid .recipe-card .recipe-image {
            height: 170px;
        }
    }

    /* Text sizing */
    .recipe-grid .recipe-card .recipe-card-content h3,
    .recipe-grid .recipe-card .recipe-card-content h4,
    .recipe-grid .recipe-card .recipe-title {
        font-size: clamp(14px, 4.2vw, 16px);
        line-height: 1.25;
        margin: 8px 0 6px;
    }

    .recipe-grid .recipe-card .recipe-meta { /* time/servings row */
        font-size: 0.9rem;
    }

    /* Button inside the card */
    .recipe-grid .recipe-card .btn,
    .recipe-grid .recipe-card a.button {
        padding: 8px 12px;
        font-size: 0.9rem;
        border-radius: 10px;
    }
}

@media (max-width: 600px) {
    .product-card {
        min-width: 0 !important; /* override any 300px min */
        max-width: 270px !important; /* target width */
        width: 90%;
        margin: 0 auto 1rem !important;
        padding: 0.75rem;
    }

    .product-card .card-img-top {
        width: 100%;
        aspect-ratio: 16 / 10;
        height: auto;
        object-fit: cover;
        border-radius: 12px;
    }

    @supports not (aspect-ratio: 1) {
        .product-card .card-img-top {
            height: 160px;
        }
    }
    .product-card .card-title {
        font-size: clamp(16px, 4.5vw, 18px);
        line-height: 1.2;
        margin: 0.35rem 0 0.5rem;
    }

    .product-card .product-price,
    .product-card .product-price .price-row {
        font-size: 0.95rem;
    }

    .product-card .btn,
    .product-card button,
    .product-card a.button {
        padding: 8px 12px;
        font-size: 0.9rem;
        border-radius: 10px;
    }
}

.recipe-card.empty-card:hover {
    transform: none;
    box-shadow: none;
}

.recipe-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

.recipe-card-link {
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.recipe-image-wrapper {
    position: relative;
    overflow: hidden;
    height: 160px;
}

.recipe-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

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

.recipe-overlay {
    position: absolute;
    top: 0.5rem;
    right: 0.5rem;
    background-color: rgba(255, 140, 0, 0.9);
    color: white;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 600;
}

.recipe-overlay i {
    margin-right: 0.25rem;
}

.recipe-card-content {
    padding: 1rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.recipe-title {
    font-size: 1rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 0.5rem;
    line-height: 1.2;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color 0.3s ease;
}

.recipe-card:hover .recipe-title {
    color: #a8ba3c;
}

.recipe-meta {
    margin-top: auto;
    padding-bottom: 1rem;
    display: flex;
    justify-content: space-between;
    gap: 0.5rem;
}

.recipe-time {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    color: #666;
    font-size: 0.85rem;
    font-weight: 500;
}

.recipe-servings {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    color: #666;
    font-size: 0.85rem;
    font-weight: 500;
}

.recipe-time i {
    color: #a8ba3c;
}


.recipe-servings i {
    color: #a8ba3c;
}

.recipe-detail-article {
    max-width: 800px;
    margin: 3rem auto;
    background: #fff;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
    line-height: 1.7;
    font-size: 1.1rem;
}

.recipe-detail-article h1 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.recipe-detail-article img {
    width: 100%;
    border-radius: 10px;
    margin: 1.5rem 0;
}

.recipe-detail-article ul {
    padding-left: 1.5rem;
    margin-bottom: 1.5rem;
}

.recipe-detail-article ul li {
    margin-bottom: 0.5rem;
}

.recipe-detail-article h3 {
    margin-top: 1.5rem;
    font-size: 1.4rem;
    color: #444;
}

/* =================================
   PRODUCT LISTING PAGE (/products/)
   ================================= */

.products-page {
    padding: 4rem 1rem;
    background-color: #FFF8EA;

}

.products-page .section-container {
    max-width: 1200px;
    margin: 0 auto;

}

.products-page h2 {
    font-size: 2rem;
    font-weight: 900;
    margin-bottom: 2rem;
    text-align: center;
}

.products-page .product-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-bottom: 3rem;
}

/* Product Card Styling - Matching Recipe Card Structure */
.products-page .product-card {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 1px solid #f0f0f0;
    min-height: 280px;
    display: flex;
    flex-direction: column;
}

.products-page .product-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

.products-page .product-card-link {
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.products-page .product-image-wrapper {
    position: relative;
    overflow: hidden;
    height: 160px;
}

.products-page .product-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

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

.products-page .badge-img {
    position: absolute;
    top: 0.5rem;
    right: 0.5rem;
    max-width: 60px;
    max-height: 60px;
    z-index: 2;
}

.products-page .product-card-content {
    padding: 1rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.products-page .product-title {
    font-size: 1rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 0.5rem;
    line-height: 1.2;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color 0.3s ease;
}

.products-page .product-card:hover .product-title {
    color: #a8ba3c;
}

.products-page .product-subtitle {
    font-size: 0.9rem;
    color: #666;
    margin: 0;
    line-height: 1.4;
}

/* Filter Section */
.products-page .product-filter-section {
    margin: 2rem 0;
    padding: 1rem 0;
    border-bottom: 1px solid #e2e8f0;
}

.products-page .filter-container {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
}

.products-page .filter-btn {
    padding: 0.75rem 1.5rem;
    border: 2px solid #a8ba3c;
    border-radius: 8px;
    text-decoration: none;
    color: #a8ba3c;
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    background: transparent;
}

.products-page .filter-btn:hover {
    background: #a8ba3c;
    color: white;
    transform: translateY(-2px);
}

.products-page .filter-btn.active {
    background: #a8ba3c;
    color: white;
}

/* Product Sections */
.products-page .product-section {
    margin: 3rem 0;
    padding: 0 4rem 0 4rem;
}

.products-page .product-section-title {
    font-size: 2rem;
    font-weight: 700;
    color: #2d3748;
    text-align: center;
    margin-bottom: 2rem;
    text-transform: uppercase;
    position: relative;
}

.products-page .product-section-title::after {
    /*content: '';*/
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: #a8ba3c;
    border-radius: 2px;
}

/* =================================
   PRODUCT DETAIL PAGE (/products/<id>/)
   ================================= */

.product-detail-page {
    background-color: #FFF8EA;
    /*padding: 4rem 1rem;*/
}

.product-detail-page .section-container {
    max-width: 1200px;
    margin: 0 auto;
}

.product-detail-page .image-text {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    align-items: flex-start;
    margin-bottom: 0;
}

.image-text img {
    flex: 1 1 400px;
    border-radius: 15px;
    object-fit: cover;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.image-text .info {
    flex: 1 1 400px;
}

.image-text .info h2 {
    font-size: 2.5rem;
    font-weight: 900;
    margin-bottom: 1rem;
}

.image-text .info p {
    font-size: 1rem;
    color: #444;
    line-height: 1.6;
}

.split-layout {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
    align-items: flex-start;
}

.image-column {
    flex: 1 1 350px;
    max-width: 400px;
}

.image-column img {
    width: 100%;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.info-column {
    flex: 2 1 500px;
}

.info-column h2 {
    font-size: 2rem;
    font-weight: 900;
    margin-bottom: 1rem;
}

.info-column p {
    font-size: 1rem;
    color: #444;
    margin-bottom: 2rem;
}


/* ACCORDION BLOCK (Ingredient / Storage / Nutrition) */

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

.accordion h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-top: 1rem;
    cursor: pointer;
    position: relative;
    padding-right: 2rem;
}

.accordion h3::after {
    content: "▼";
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1rem;
    transition: transform 0.2s;
}

.accordion p {
    font-size: 0.95rem;
    color: #444;
    line-height: 1.5;
    margin-bottom: 1.5rem;
    display: none;
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height 0.4s ease, opacity 0.4s ease;
}

.accordion-item.open .accordion-content {
    max-height: 500px; /* Adjust based on content height */
    opacity: 1;
}

.nutrition-list ul,
.nutrition-list li {
    margin: 0;
    padding: 4px 0;
    font-size: 1rem;
    color: #333;
}

/* JavaScript can toggle an "open" class on the h3 or container to show/hide */
.accordion .open p {
    display: block;
}

.accordion .open h3::after {
    transform: translateY(-50%) rotate(180deg);
}

/* "Други продукти" section at bottom of detail page */

.other-products {
    padding: 4rem 1rem;
    /*background-color: #f7f7f7;*/
}

.other-products h2 {
    font-size: 2rem;
    font-weight: 900;
    text-align: center;
    margin-bottom: 2rem;
}

.other-products .product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

/* =================================
   CONTACT PAGE
   ================================= */

.contact-page {
    background-color: #FFF8EA;
    padding: 4rem 1rem;
}

.contact-page .section-container {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.contact-page h2 {
    font-size: 2rem;
    font-weight: 900;
    margin-bottom: 2rem;
}

.contact-form {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 2rem;
}

.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form textarea {
    flex: 1 1 250px;
    padding: 0.75rem 1rem;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 1rem;
}

.contact-form textarea {
    flex: 1 1 100%;
    resize: vertical;
    min-height: 120px;
}

.contact-form button {
    margin-top: 1rem;
    background-color: #a8ba3c; /* green */
    color: #fff;
    font-weight: 600;
    padding: 0.75rem 2rem;
    border: none;
    border-radius: 30px;
    transition: background-color 0.2s;
}

.contact-form button:hover {
    background-color: #8aa02f;
}

.contact-info p {
    font-size: 0.95rem;
    color: #333;
    margin: 0.5rem 0;
}

.contact-info a {
    color: #1a0dab;
}

/* =================================
   FOOTER
   ================================= */

.site-footer {
    background: #222;
    color: #fff;
    padding: 2rem 0 1rem 0;
    margin-top: 0;
    border-top: none;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
    padding: 0;
    min-height: unset;
}

.footer-links ul {
    display: flex;
    gap: 2rem;
    padding: 0;
    margin: 0;
}

.footer-links a {
    color: #fff;
    font-weight: 600;
    transition: color 0.2s;
}

.footer-links a:hover {
    color: #f9d923;
}

.footer-logos img {
    height: 40px;
    margin-right: 1rem;
    filter: drop-shadow(0 2px 8px rgba(21, 58, 91, 0.15));
}

.footer-copy {
    font-size: 0.95rem;
    color: #e0e0e0;
    margin-top: 1rem;
    text-align: right;
}

/* =================================
   RESPONSIVE BREAKPOINTS
   ================================= */

@media (max-width: 900px) {
    .nav-left,
    .nav-right {
        gap: 1rem;
    }

    .nav-logo img {
        height: 45px;
    }

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

    .home-products h2,
    .products-page h2,
    .other-products h2,
    .about-section h2 {
        font-size: 1.75rem;
    }

    .image-text {
        flex-direction: column;
    }

    .image-text img,
    .image-text .info {
        flex: 1 1 100%;
    }

    .footer-container {
        flex-direction: column;
        gap: 1.5rem;
    }

    .cart-icon {
        min-width: 90px;
        font-size: 1rem;
        padding: 0.3rem 1rem;
    }

    .product-actions {
        padding-left: 0.5rem;
        padding-right: 0.5rem;
    }
}

@media (max-width: 600px) {
    .nav-container {
        flex-direction: column;
        gap: 1rem;
    }

    .nav-left,
    .nav-right {
        justify-content: center;
        gap: 1rem;
    }

    .hero-content h1 {
        font-size: 1.5rem;
    }

    .home-products .product-grid,
    .products-page .product-grid,
    .other-products .product-grid {
        grid-template-columns: 1fr;
    }

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

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-form-grid {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.form-field {
    flex: 1 1 100%;
    display: flex;
    flex-direction: column;
    font-size: 1.25rem;
}

.form-field label {
    margin-bottom: 0.5rem;
}

.contact-form-grid {
    margin-bottom: 1.5rem; /* or 2rem for more spacing */
}

.contact-form-grid .form-field {
    flex: 1 1 45%;
    height: 60px; /* Adjust to your desired height */
    padding: 0.25rem 0.75rem;
    font-size: 1.25rem; /* You can reduce this if needed */
    line-height: 1;
}

.contact-form input,
.contact-form textarea {
    padding: 0.75rem 1rem;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 1rem;
    width: 100%;
}

.contact-form textarea {
    resize: vertical;
    min-height: 120px;
}

.contact-submit {
    background-color: #a8ba3c;
    color: #fff;
    font-weight: 600;
    padding: 1rem 2rem;
    border: none;
    border-radius: 30px;
    font-size: 1rem;
    transition: background-color 0.2s;
    width: fit-content;
    align-self: flex-end;
}

.contact-submit:hover {
    background-color: #8aa02f;
}

.about-page {
    background-color: #fff;
    padding: 4rem 1rem;
}

.about-page .section-container {
    max-width: 900px;
    margin: 0 auto;
}

.about-page .section-title {
    font-size: 2rem;
    font-weight: 900;
    margin-bottom: 1.5rem;
    text-align: center;
}

.about-page .about-text {
    font-size: 1rem;
    color: #444;
    line-height: 1.8;
    margin-bottom: 2rem;
    text-align: justify;
}


/* ================================
   NAMESPACED STORE STYLES
   ================================ */

/* Store search styles removed - now handled in store.css */

.store-wrapper .product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 4.5rem;
    justify-items: center;
}

.store-wrapper .product-card {
    background: #fff;
    border-radius: 12px;
    padding: 1rem;
    width: 100%;
    max-width: 320px;
    min-width: 300px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.store-wrapper .product-card img {
    width: 100%;
    height: auto;
    border-radius: 6px;
}

.store-wrapper .product-card h3 {
    margin-top: 0.75rem;
    font-size: 1.1rem;
}

.store-wrapper .product-actions {
    margin-top: 0.75rem;
    display: flex;
    flex-direction: row;
    gap: 0.4rem;
    justify-content: space-between;
    align-items: flex-end;
}

.store-wrapper .product-actions .btn-view,
.store-wrapper .product-actions .btn-cart {
    padding: 0.6rem 0.2rem;
    font-size: 0.75rem;
    border: none;
    border-radius: 6px;
    text-decoration: none;
    text-align: center;
    transition: background-color 0.2s;
}

.store-wrapper .btn-view {
    background-color: #a8ba3c;
    color: white;
}

.store-wrapper .btn-view:hover {
    background-color: #91a631;
}

.store-wrapper .btn-cart {
    background-color: #ddd;
    color: #333;
    cursor: pointer;
}

.store-wrapper .product-detail {
    max-width: 800px;
    margin: 2rem auto;
    padding: 1rem;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.store-wrapper .product-detail h1 {
    font-size: 2rem;
    margin-bottom: 1rem;
    text-align: center;
}

.store-wrapper .product-detail img {
    max-width: 100%;
    display: block;
    margin: 0 auto 1.5rem auto;
    border-radius: 10px;
}

.store-wrapper .product-detail p {
    font-size: 1rem;
    margin-bottom: 0.8rem;
    line-height: 1.6;
}

.store-wrapper .old-price {
    color: #999;
    text-decoration: line-through;
    margin-right: 0.5rem;
}

.store-wrapper .sale-price {
    color: #e53935;
    font-weight: bold;
}


/* ================================
   STORE NAVBAR
   ================================ */


.store-navbar {
    background: #ffffff;
    border-bottom: 1px solid #e2e8f0;
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
    backdrop-filter: blur(10px);
    font-family: 'Montserrat', sans-serif;
}

.store-navbar .nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

.store-navbar .nav-logo {
    flex-shrink: 0;
    min-width: 120px;
}

.store-navbar .nav-logo img {
    height: 50px;
    width: auto;
    max-width: 150px;
    display: block;
}

.store-navbar .nav-left {
    display: flex;
    align-items: center;
    gap: 2.5rem;
    flex: 1 1 auto;
    min-width: 0;
    white-space: nowrap;
}

.store-navbar .nav-left li {
    flex-shrink: 0;
}

.store-navbar .nav-right {
    display: flex;
    align-items: center;
    gap: 2rem;
    flex-shrink: 0;
}

.store-navbar .nav-left li a,
.store-navbar .nav-right li a {
    font-size: 1rem;
    font-weight: 500;
    color: #111;
    text-decoration: none;
    transition: color 0.2s;
}

.store-navbar .nav-left li a:hover,
.store-navbar .nav-right li a:hover {
    color: #a8ba3c;
}

.dropdown {
    position: relative;
    display: inline-block;
}

.dropbtn {
    background-color: #a8ba3c;
    color: white;
    padding: 0.5rem 1rem;
    border: none;
    cursor: pointer;
    border-radius: 6px;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: white;
    box-shadow: 0px 8px 16px rgba(0, 0, 0, 0.1);
    z-index: 1;
    min-width: 160px;
}

.dropdown-content a {
    padding: 0.75rem 1rem;
    display: block;
    text-decoration: none;
    color: #333;
}

.dropdown:hover .dropdown-content {
    display: block;
}

/* Store Navbar Responsive Styles */
@media (max-width: 1200px) {
    .store-navbar .nav-container {
        padding: 1rem 1rem;
        gap: 1rem;
    }

    .store-navbar .nav-left {
        gap: 1.2rem;
    }

    .store-navbar .nav-logo img {
        height: 48px;
    }
}

@media (max-width: 900px) {
    .store-navbar .nav-container {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 0.5rem;
    }

    .store-navbar .nav-left {
        gap: 0.7rem;
    }

    .store-navbar .nav-logo img {
        height: 40px;
    }
}

@media (max-width: 600px) {
    .store-navbar .nav-container {
        flex-direction: row;
        flex-wrap: wrap;
        padding: 0.5rem 0.5rem;
    }

    .store-navbar .nav-logo img {
        height: 32px;
    }
}

/* NAVBAR REFINEMENT */

.store-navbar .dropbtn {
    background: none;
    border: none;
    font-weight: 600;
    color: #333;
    font-size: 1rem;
    cursor: pointer;
    padding: 0.5rem 1rem;
    font-family: 'Montserrat', sans-serif;
}

.store-navbar .dropbtn:hover,
.store-navbar .navbar-links a:hover {
    color: #a8ba3c;
}

/* Padding below navbar */
/* Store search styles removed - now handled in store.css */

/* Ensure footer is pushed to bottom when content is short */
html, body {
    height: 100%;
    margin: 0;
}

.store-wrapper {
    min-height: calc(100vh - 200px); /* adjust if footer height changes */
}

/* Optional: remove white bar below footer */
.site-footer {
    background-color: #000000;
}

/* ================================
   STORE SIDEBAR
   ================================ */


.store-wrapper {
    display: flex;
    flex-direction: row;
    /*gap: 2rem;*/
}

.store-sidebar {
    width: 200px;
    padding: 1rem;
    background: #f9f9f9;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.store-wrapper .sidebar-filter {
    background: #fff;
    padding: 1rem;
    border-radius: 10px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
    max-width: 250px;
    margin: 1rem;
    font-family: 'Montserrat', sans-serif;
}

.store-wrapper .sidebar-filter input[type="number"] {
    width: 100%;
    padding: 0.4rem;
    border-radius: 6px;
    border: 1px solid #ccc;
    margin-bottom: 0.8rem;
    font-size: 1rem;
}

.store-wrapper .sidebar-filter button {
    width: 100%;
    background-color: #a8ba3c;
    color: white;
    padding: 0.6rem;
    border: none;
    border-radius: 6px;
    font-weight: bold;
    transition: background-color 0.3s;
    cursor: pointer;
}

.store-wrapper .sidebar-filter button:hover {
    background-color: #ff9900;
}

/*temporary*/

.store-layout {
    display: flex;
    align-items: flex-start;
    gap: 2rem;
    margin-top: 1.5rem;
}

.store-sidebar {
    width: 250px;
    flex-shrink: 0;
}

.store-main {
    flex-grow: 1;
}

.old-price {
    text-decoration: line-through;
    color: #888;
    margin-right: 0.5rem;
}

.sale-price {
    color: #e34c26;
    font-weight: bold;
}

/*temporary2*/
/* Layout wrapper for sidebar + right panel */
.store-main-content {
    display: flex;
    gap: 2rem;
    width: 100vw;
    max-width: 100vw;
    margin: 0;
    box-sizing: border-box;
}

/* Left sidebar styling */
.store-main-content .store-sidebar {
    flex: 0 0 220px;
    background: #f9f9f9;
    /*padding: 1rem;*/
    border-radius: 10px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

/* Right content block */
.store-main-content .store-right {
    flex: 1;
}

/* Fix navbar layout breakage */
.store-navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #fff;
    padding: 1rem 2rem;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
    z-index: 10;
    position: relative;
}

/* Fix spacing under navbar */
.store-search {
    margin-top: 1.5rem;
}

/* Footer stick to bottom */

.store-wrapper {
    flex: 1;
    display: flex;
    flex-direction: column;
}

/* Fix search icon background */
.store-search button {
    background-color: #FFA726; /* Same orange as hover */
}

/* Price style fix */
.old-price {
    text-decoration: line-through;
    color: #999;
    margin-right: 0.5rem;
}

.sale-price {
    color: #D32F2F;
    font-weight: bold;
}

/*temporary slider*/

.sidebar-widget {
    background: #fff;
    padding: 1rem;
    border-radius: 10px;
    margin-bottom: 2rem;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
    width: 220px;
}

.sidebar-widget input[type="text"] {
    width: 100%;
    padding: 0.5rem;
    margin-bottom: 0.8rem;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 1rem;
}

.sidebar-widget .btn-filter {
    width: 100%;
    background: #a8ba3c;
    color: white;
    border: none;
    padding: 0.6rem;
    border-radius: 6px;
    font-weight: bold;
    cursor: pointer;
}

.sidebar-widget .btn-filter:hover {
    background: #91a631;
}

/* Hide "Приложи филтри" button on desktop since filters update with HTMX */
@media (min-width: 1025px) {
    .sidebar-widget .btn-filter {
        display: none;
    }
}

#price-slider .noUi-handle {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    top: -9px;
    background: #fff;
    border: 2px solid #2962FF;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.1);
}

#price-slider .noUi-connect {
    background: #2962FF;
}

#price-slider.noUi-target {
    height: 8px;
    border-radius: 10px;
    background: #ddd;
}

.store-layout {
    display: flex;
    align-items: flex-start;
    gap: 2rem;
    margin-top: 1.5rem;
}

.store-sidebar {
    width: 250px;
    flex-shrink: 0;
}

.store-main {
    flex-grow: 1;
}

.old-price {
    text-decoration: line-through;
    color: #888;
    margin-right: 0.5rem;
}

.sale-price {
    color: #e34c26;
    font-weight: bold;
}

#price-slider {
    margin: 12px 0 20px 0; /* top, right/left, bottom */
}

#price-slider .noUi-handle::before,
#price-slider .noUi-handle::after {
    display: none;
}

/*#price-slider .noUi-handle {*/
/*    */
/*}*/

/*#price-slider .noUi-target {*/

/*}*/

/* STORE NAVBAR REBUILD */

.store-navbar {
    background: #fff;
    padding: 1rem 2rem;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
    font-family: 'Montserrat', sans-serif;
    display: flex;
    justify-content: space-between; /* This aligns logo left and nav right */
    align-items: center;
}


.navbar-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.navbar-logo img {
    height: 50px;
}

.navbar-links {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.navbar-links a {
    color: #333;
    font-weight: 600;
    text-decoration: none;
    position: relative;
}

.cart-wrapper {
    position: relative;
    margin-left: 2rem;
    display: flex;
    align-items: center;
    height: 100%;
}

.cart-icon {
    font-size: 1.1rem;
    font-weight: 700;
    background: #f9d923;
    color: #153a5b;
    border-radius: 20px;
    padding: 0.3rem 1.5rem;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(21, 58, 91, 0.08);
    display: flex;
    align-items: center;
    height: 44px;
    min-width: 120px;
    justify-content: center;
    white-space: nowrap;
}

.cart-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    background: #fff;
    border: 1px solid #eee;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    padding: 1rem;
    min-width: 220px;
    display: none;
    z-index: 1000;
}

.cart-wrapper:hover .cart-dropdown {
    display: block;
}

.btn-cart-view {
    display: inline-block;
    margin-top: 0.5rem;
    padding: 0.4rem 0.8rem;
    background: #a8ba3c;
    color: #fff;
    border-radius: 4px;
    font-weight: 600;
    text-decoration: none;
}

/*CART PAGE STYLING*/

.cart-title {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.cart-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 1rem;
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.05);
}

.cart-table th,
.cart-table td {
    padding: 0.75rem 1rem;
    text-align: left;
    vertical-align: middle;
    border-bottom: 1px solid #f0f0f0;
}

.cart-qty {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.qty-btn {
    background: #91a631;
    color: white;
    padding: 0.2rem 0.6rem;
    border-radius: 5px;
    font-weight: bold;
    text-decoration: none;
}

.qty-count {
    font-weight: bold;
    min-width: 20px;
    text-align: center;
}

.old-price {
    text-decoration: line-through;
    color: #999;
    margin-right: 5px;
}

.sale-price {
    color: #d12f2f;
}

.cart-total {
    text-align: right;
    font-size: 1.2rem;
    font-weight: bold;
    padding-top: 1rem;
}

.total-row td {
    border: none;
}

.delete-btn {
    text-decoration: none;
    font-size: 1.2rem;
    color: #c00;
}

.cart-empty {
    font-size: 1.2rem;
    color: #666;
}

/* =================================
   Centered "card" container
   ================================= */
.container {
    max-width: 1200px;
    margin: 2rem auto; /* vertically spaced, horizontally centered */
    padding: 1.5rem; /* inner breathing room */
    background: #FFF8EA; /* white card */
    border-radius: 8px;
    /*box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);*/
}

/* =================================
   Button tweaks (Continue / Submit)
   ================================= */
.btn-primary,
.btn-submit {
    display: inline-block;
    background-color: #91a631; /* match your qty-button green */
    color: #fff;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 4px;
    font-size: 1rem;
    cursor: pointer;
    text-align: center;
    transition: background-color 0.2s ease;
}

.btn-primary:hover,
.btn-submit:hover {
    background-color: #7a8f27;
}

/* =================================
   Form-field styling
   ================================= */
.order-form .form-row {
    display: flex;
    flex-direction: column;
    margin-bottom: 1rem;
}

.order-form .form-row label,
.order-form .form-row .choice-label {
    font-weight: 600;
    margin-bottom: 0.3rem;
}

.order-form .form-row input,
.order-form .form-row select,
.order-form .form-row textarea {
    width: 100%;
    padding: 0.5rem;
    font-size: 1rem;
    border: 1px solid #ccc;
    border-radius: 4px;
}

/* =================================
   Order summary tweaks
   ================================= */
.order-summary h2,
.order-summary h4 {
    text-align: center;
    margin-bottom: 1rem;
}

.summary-container .order-details ul {
    list-style: none;
    padding: 0;
    margin-bottom: 1.5rem;
}

.summary-container .order-details li {
    margin-bottom: 0.5rem;
}

.summary-container .cart-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 1.5rem;
}

.summary-container .cart-table th,
.summary-container .cart-table td {
    padding: 0.75rem;
    border: 1px solid #eee;
    text-align: left;
}

.summary-container .cart-table th {
    background-color: #f9f9f9;
}

.order-form .form-row .choice-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* Secondary "back" button */
.btn-secondary {
    display: inline-block;
    background-color: #ccc;
    color: #333;
    text-decoration: none;
    border: none;
    padding: 0.6rem 1rem;
    border-radius: 4px;
    font-weight: 600;
    transition: background-color 0.2s ease;
}

.btn-secondary:hover {
    background-color: #bbb;
    color: #111;
}

/*CART BUTTONS SPACE APART*/
.cart-actions {
    display: flex; /* lay out children in a row */
    gap: 1rem; /* 1rem of space between each button */
    margin-top: 1.5rem; /* give a bit of breathing room above */
}

/* center both buttons */

.cart-actions {
    justify-content: center;
}

/* push "back" to the left and "continue" to the right */

.cart-actions {
    justify-content: space-between;
}

/*SIDEBAR CAT/BRAND FILTER STYLES*/
.sidebar-widget h3 {
    margin-top: 1.5rem;
    font-weight: 600;
}

.filter-checkbox {
    margin: 0.3rem 0;
}

.filter-checkbox label {
    cursor: pointer;
    font-size: 0.95rem;
}

.filter-checkbox input {
    margin-right: 0.5rem;
}

/*CLEAR BUTTON SIDEBAR*/
.btn-filter {
    background-color: #a8b432;
    color: white;
    font-weight: 600;
    padding: 10px 18px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    width: 100%;
    box-shadow: 0 1px 3px rgba(168, 180, 50, 0.4);
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
    margin-bottom: 6px;
}

.btn-filter:hover {
    background-color: #8a9930;
    box-shadow: 0 2px 6px rgba(138, 153, 48, 0.3);
}

.btn-clear {
    background-color: #e05a4f;
    color: white;
    font-weight: 600;
    padding: 10px 18px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    width: 100%;
    box-shadow: 0 1px 3px rgba(224, 90, 79, 0.4);
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

.btn-clear:hover {
    background-color: #c94b42;
    box-shadow: 0 2px 6px rgba(201, 75, 66, 0.3);
}


/* Hide the default checkbox */
.filter-checkbox input[type="checkbox"] {
    appearance: none;
    -webkit-appearance: none;
    width: 18px;
    height: 18px;
    border: 1.5px solid #a8b432;
    border-radius: 0;
    cursor: pointer;
    position: relative;
    vertical-align: middle;
    margin-right: 8px;
    transition: background-color 0.2s ease, border-color 0.2s ease;
    background-color: white;
}

.filter-checkbox input[type="checkbox"]:checked {
    background-color: #a8b432;
    border-color: #8a9930;
}

.filter-checkbox input[type="checkbox"]:checked::after {
    content: "";
    position: absolute;
    top: 4px;
    left: 6px;
    width: 5px;
    height: 9px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.filter-checkbox label {
    font-weight: 500;
    font-size: 15px;
    cursor: pointer;
    display: flex;
    align-items: center;
    margin-bottom: 8px;
    user-select: none;
}

.nav-right a.buy-online {
    color: white;
    background-color: #a8ba3c;
    border: 2px solid #a8ba3c;
    border-radius: 8px; /* adjust for roundness */
    padding: 10px 20px;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s, color 0.3s;
}

.nav-right a.buy-online:hover {
    background-color: #8fa832;
    color: white;
}

/* Cart icon styles for navbar */
.cart-icon-wrapper {
    position: relative;
    margin-left: 1rem;
    z-index: 1001;
}

.cart-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: #a8ba3c;
    color: white;
    border-radius: 50%;
    text-decoration: none;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    position: relative;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    border: none;
}

.cart-icon i {
    font-size: 1.1rem;
    color: white;
}

.cart-icon:hover {
    background-color: #8fa832;
    color: white;
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.cart-count {
    position: absolute;
    top: -5px;
    right: -5px;
    background-color: #dc3545;
    color: white;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: bold;
    border: 2px solid white;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.cart-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    background: white;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    min-width: 300px;
    z-index: 1000;
    display: none;
    padding: 1rem;
    margin-top: 0.5rem;
}

.cart-icon-wrapper:hover .cart-dropdown {
    display: block;
}

.cart-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.5rem 0;
    border-bottom: 1px solid #f1f3f4;
}

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

.cart-item a {
    color: #a8ba3c;
    text-decoration: none;
    font-weight: 600;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    transition: background-color 0.2s;
}

.cart-item a:hover {
    background-color: #f8f9fa;
}

.cart-total {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 2px solid #e9ecef;
    text-align: right;
}

.btn-cart-dropdown-white {
    display: block;
    width: 100%;
    background-color: #a8ba3c;
    color: white;
    text-align: center;
    padding: 0.75rem;
    border-radius: 6px;
    margin-top: 1rem;
    font-weight: 600;
    transition: background-color 0.2s;
}

.btn-cart-dropdown-white:hover {
    background-color: #8fa832;
    color: white;
}

/*Store Product detail Product card*/

.product-actions {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, max-content)) 1fr;
    gap: 1rem;
    align-items: center;
    margin-top: auto;
    padding-left: 1.2rem;
    padding-right: 1.2rem;
}

.packaging-selector select {
    padding: .5rem;
    border-radius: 4px;
    border: 1px solid #ccc;
}

.quantity-selector {
    display: flex;
}

.quantity-selector button {
    width: 2rem;
    height: 2rem;
    border: 1px solid #ccc;
    background: white;
    font-size: 1.2rem;
    cursor: pointer;
}

.quantity-selector input {
    width: 3rem;
    text-align: center;
    margin: 0 .5rem;
    border: 1px solid #ccc;
    border-radius: 4px;
}

.price-display {
    display: flex;
    gap: .5rem;
}

.price-box {
    padding: .75rem 1rem;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    background: #fff;
    font-weight: bold;
}

.btn-cart {
    grid-column: span 2;
    background: #f59e0b;
    color: white;
    padding: .75rem 1.5rem;
    text-decoration: none;
    text-align: center;
    border-radius: 6px;
    font-weight: 600;
}

.btn-cart:hover {
    background: #d97706;
}

.add-to-cart-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 1rem;
}

.packaging-options {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.packaging-options select {
    padding: 0.5rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 1rem;
}

.quantity-selector {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.quantity-controls {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.quantity-controls input {
    width: 60px;
    text-align: center;
    padding: 0.5rem;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.quantity-controls .qty-btn {
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #ddd;
    border-radius: 4px;
    background: #f8f8f8;
    cursor: pointer;
    font-size: 1.2rem;
    user-select: none;
}

.quantity-controls .qty-btn:hover {
    background: #eee;
}

.old-price {
    text-decoration: line-through;
    color: #999;
    margin-right: 0.5rem;
}

.sale-price {
    color: #e53e3e;
    font-weight: bold;
}

/* Cart table styles */
.cart-table th:nth-child(2) {
    min-width: 100px;
}

.cart-qty {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    justify-content: center;
}

/* --- STORE THEME REBRAND: SAKARELA --- */

.store-wrapper {
    background: #f7fafd;
    font-family: 'Montserrat', sans-serif;
    color: #153a5b;
}

.store-navbar {
    background: #153a5b;
    color: #fff;
    box-shadow: 0 2px 8px rgba(21, 58, 91, 0.08);
    padding: 0.5rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
}

.navbar-logo img {
    height: 60px;
    width: auto;
    filter: drop-shadow(0 2px 8px rgba(21, 58, 91, 0.15));
}

.navbar-links a {
    color: #fff;
    font-weight: 600;
    margin-left: 2rem;
    transition: color 0.2s;
}

.navbar-links a:hover {
    color: #f9d923;
}

.cart-wrapper {
    position: relative;
    /*margin-left: 2rem;*/
    padding-right: 3vw;
}

.cart-icon {
    font-size: 1.1rem;
    font-weight: 700;
    background: #f9d923;
    color: #153a5b;
    border-radius: 20px;
    padding: 0.3rem 1.5rem;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(21, 58, 91, 0.08);
    display: flex;
    align-items: center;
    height: 44px;
    min-width: 65px;
    justify-content: center;
    white-space: nowrap;
}

.cart-dropdown {
    display: none;
    position: absolute;
    right: 0;
    top: 2.2rem;
    background: #fff;
    color: #153a5b;
    min-width: 270px;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(21, 58, 91, 0.15);
    padding: 1rem;
    z-index: 200;
}

.cart-wrapper:hover .cart-dropdown {
    display: block;
}

.btn-cart-view {
    display: block;
    background: #f9d923;
    color: #153a5b;
    font-weight: 700;
    text-align: center;
    border-radius: 8px;
    margin-top: 1rem;
    padding: 0.5rem 0;
    transition: background 0.2s;
}

.btn-cart-view:hover {
    background: #a8ba3c;
    color: #fff;
}

/* --- Store Sidebar --- */
.store-sidebar, .sidebar-widget {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 2px 8px rgba(21, 58, 91, 0.06);
    padding: 2rem 1.5rem;
    margin-bottom: 2rem;
}

.sidebar-widget h3 {
    color: #153a5b;
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.filter-checkbox label {
    font-size: 1rem;
    color: #153a5b;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
}

.filter-checkbox input[type="checkbox"] {
    accent-color: #f9d923;
    margin-right: 0.5rem;
}

.btn-filter, .btn-clear {
    background: #f9d923;
    color: #153a5b;
    border: none;
    border-radius: 8px;
    font-weight: 700;
    padding: 0.5rem 1.5rem;
    margin-right: 0.5rem;
    margin-top: 1rem;
    transition: background 0.2s;
}

.btn-filter:hover, .btn-clear:hover {
    background: #a8ba3c;
    color: #fff;
}

/* --- Store Main Content --- */
.store-main-content {
    display: flex;
    gap: 2rem;
    width: 100vw;
    max-width: 100vw;
    margin: 0;
    box-sizing: border-box;
}

.store-right {
    flex: 1;
}

/* --- Store Search --- */
/* Store search styles removed - now handled in store.css */

/* --- Product Grid & Cards --- */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 2rem;
    width: 100%;
    margin: 0 auto;
    box-sizing: border-box;
}

.product-card {
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 4px 16px rgba(21, 58, 91, 0.10);
    overflow: hidden;
    transition: transform 0.2s, box-shadow 0.2s;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    padding-bottom: 1.5rem;
}

.product-card:hover {
    transform: translateY(-6px) scale(1.03);
    box-shadow: 0 8px 32px rgba(21, 58, 91, 0.18);
}

.product-card img {
    width: 100%;
    /*height: 250px;*/
    object-fit: fill;
    background: #f7fafd;
    border-bottom: 1px solid #e5e7eb;
}

.product-card h3 {
    font-size: 1.1rem;
    font-weight: 800;
    margin: 1rem 0 0.5rem 0;
    color: #153a5b;
    text-align: center;
}

.product-card .price {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    text-align: center;
}

.product-card .old-price {
    color: #b0b0b0;
    text-decoration: line-through;
    margin-right: 0.5rem;
}

.product-card .sale-price {
    color: #f9d923;
    font-weight: 700;
}

.product-actions {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    width: 100%;
    align-items: flex-start;
    margin-top: auto;
    padding-left: 1.2rem;
    padding-right: 1.2rem;
}

.btn-view, .btn-cart {
    background: #153a5b;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-weight: 700;
    padding: 0.6rem 1.5rem;
    font-size: 1rem;
    margin-top: 0.3rem;
    transition: background 0.2s;
    width: 90%;
    text-align: center;
    align-content: center;
}

.btn-cart {
    background: #f9d923;
    color: #153a5b;
    margin-top: 0.2rem;
    text-align: center;
    align-content: center;
}

.btn-view:hover {
    background: #a8ba3c;
    color: #fff;
}

.btn-cart:hover {
    background: #a8ba3c;
    color: #fff;
}

/* --- Product Detail Page --- */
.product-detail-page .section-container {
    border-radius: 18px;
    /*box-shadow: 0 4px 16px rgba(21, 58, 91, 0.10);*/
    padding: 2.5rem 2rem;
    margin: 2rem auto;
    max-width: 1200px;
}

.split-layout {
    display: flex;
    gap: 2.5rem;
    flex-wrap: wrap;
}

.image-column {
    flex: 1 1 320px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.image-column img {
    width: 100%;
    max-width: 340px;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(21, 58, 91, 0.10);
}

.info-column {
    flex: 2 1 400px;
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.info-column h2 {
    font-size: 2rem;
    font-weight: 900;
    color: #153a5b;
}

.info-column p {
    font-size: 1.1rem;
    color: #3a3a3a;
}

.accordion {
    margin: 1.5rem 0;
}

.accordion-header {
    background: #f9d923;
    color: #153a5b;
    font-weight: 700;
    padding: 0.7rem 1.2rem;
    border-radius: 8px;
    cursor: pointer;
    margin-bottom: 0.3rem;
    font-size: 1.1rem;
    transition: background 0.2s;
}

.accordion-header:hover {
    background: #a8ba3c;
    color: #fff;
}

.accordion-content {
    background: #f7fafd;
    color: #153a5b;
    border-radius: 8px;
    padding: 1rem 1.2rem;
    margin-bottom: 0.5rem;
    font-size: 1rem;
}

.packaging-options label {
    font-weight: 700;
    color: #153a5b;
    margin-bottom: 0.3rem;
}

.packaging-options select {
    width: 100%;
    padding: 0.6rem 1rem;
    border-radius: 8px;
    border: 1.5px solid #dbeafe;
    font-size: 1rem;
    background: #f7fafd;
    margin-bottom: 1rem;
    transition: border 0.2s;
}

.packaging-options select:focus {
    border: 1.5px solid #f9d923;
    outline: none;
}

.quantity-selector label {
    font-weight: 700;
    color: #153a5b;
    margin-bottom: 0.3rem;
}

.quantity-controls {
    display: flex;
    align-items: center;
    gap: 0.7rem;
}

.quantity-controls .qty-btn {
    background: #f9d923;
    color: #153a5b;
    border: none;
    border-radius: 8px;
    font-size: 1.3rem;
    width: 36px;
    height: 36px;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.2s;
}

.quantity-controls .qty-btn:hover {
    background: #a8ba3c;
    color: #fff;
}

.quantity-controls input[type="number"] {
    width: 60px;
    padding: 0.5rem;
    border-radius: 8px;
    border: 1.5px solid #dbeafe;
    font-size: 1rem;
    text-align: center;
    background: #f7fafd;
    transition: border 0.2s;
}

.quantity-controls input[type="number"]:focus {
    border: 1.5px solid #f9d923;
    outline: none;
}

/* --- Cart Table --- */
.cart-container {
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 4px 16px rgba(21, 58, 91, 0.10);
    padding: 2.5rem 2rem;
    margin: 2rem auto;
    max-width: 900px;
}

.cart-title {
    font-size: 2rem;
    font-weight: 900;
    color: #153a5b;
    margin-bottom: 2rem;
}

.cart-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0 0.5rem;
    margin-bottom: 2rem;
}

.cart-table th {
    background: #f9d923;
    color: #153a5b;
    font-weight: 700;
    padding: 0.8rem 0.5rem;
    border-radius: 8px 8px 0 0;
    font-size: 1.1rem;
}

.cart-table td {
    background: #f7fafd;
    color: #153a5b;
    padding: 0.8rem 0.5rem;
    border-radius: 0 0 8px 8px;
    font-size: 1rem;
    vertical-align: middle;
}

.cart-qty {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    justify-content: center;
}

.qty-btn {
    background: #f9d923;
    color: #153a5b;
    border: none;
    border-radius: 8px;
    font-size: 1.2rem;
    width: 32px;
    height: 32px;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.2s;
}

.qty-btn:hover {
    background: #a8ba3c;
    color: #fff;
}

.qty-count {
    font-weight: 700;
    font-size: 1.1rem;
}

.old-price {
    color: #b0b0b0;
    text-decoration: line-through;
    margin-right: 0.5rem;
}

.sale-price {
    color: #f9d923;
    font-weight: 700;
}

.cart-total {
    font-size: 1.2rem;
    font-weight: 900;
    color: #153a5b;
    text-align: right;
}

.delete-btn {
    background: none;
    border: none;
    color: #e53e3e;
    font-size: 1.3rem;
    cursor: pointer;
    transition: color 0.2s;
}

.delete-btn:hover {
    color: #b91c1c;
}

.cart-empty {
    text-align: center;
    color: #b0b0b0;
    font-size: 1.2rem;
    margin: 2rem 0;
}

.empty-cart-image {
    display: block;
    margin: 1.5rem auto 0 auto;
    max-width: 180px;
    opacity: 0.7;
}

.cart-actions {
    display: flex;
    justify-content: flex-end;
    gap: 1rem;
}

.btn-primary, .btn-secondary {
    background: #153a5b;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-weight: 700;
    padding: 0.7rem 2rem;
    font-size: 1rem;
    transition: background 0.2s;
}

.btn-primary:hover, .btn-secondary:hover {
    background: #f9d923;
    color: #153a5b;
}

/* --- Footer --- */
.site-footer {
    background: #222;
    color: #fff;
    padding: 2rem 0 1rem 0;
    margin-top: 0;
    border-top: none;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
    padding: 0;
    min-height: unset;
}

.footer-links ul {
    display: flex;
    gap: 2rem;
    padding: 0;
    margin: 0;
}

.footer-links a {
    color: #fff;
    font-weight: 600;
    transition: color 0.2s;
}

.footer-links a:hover {
    color: #f9d923;
}

.footer-logos img {
    height: 40px;
    margin-right: 1rem;
    filter: drop-shadow(0 2px 8px rgba(21, 58, 91, 0.15));
}

.footer-copy {
    font-size: 0.95rem;
    color: #e0e0e0;
    margin-top: 1rem;
    text-align: right;
}

/* --- Responsive --- */
@media (max-width: 900px) {
    .store-main-content {
        flex-direction: column;
        gap: 1.5rem;
    }

    .footer-container {
        flex-direction: column;
        gap: 1.5rem;
    }
}

@media (max-width: 600px) {
    .store-navbar, .site-footer {
        padding: 1rem 0.5rem;
    }

    .navbar-logo img {
        height: 40px;
    }

    .store-main-content, .cart-container, .product-detail-page .section-container {
        padding: 1rem;
        margin: 1rem auto;
    }

    .product-card img {
        height: 120px;
    }

    .split-layout {
        flex-direction: column;
        gap: 1.2rem;
    }

    .cart-actions {
        flex-direction: column;
        gap: 0.7rem;
        align-items: stretch;
    }
}

/* --- Store Footer --- */
.store-footer {
    background: #153a5b;
    color: #fff;
    padding: 2rem 0 1rem 0;
    margin-top: 3rem;
}

.store-footer .footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
}

.store-footer .footer-links ul {
    display: flex;
    gap: 2rem;
    padding: 0;
    margin: 0;
}

.store-footer .footer-links a {
    color: #fff;
    font-weight: 600;
    transition: color 0.2s;
}

.store-footer .footer-links a:hover {
    color: #f9d923;
}

.store-footer .footer-logos {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    justify-content: center;
}

.store-footer .footer-logos img {
    height: 48px;
    width: auto;
    margin: 0;
    display: inline-block;
}

.store-footer .footer-copy {
    font-size: 0.95rem;
    color: #e0e0e0;
    margin-top: 1rem;
    text-align: right;
}

/* --- Main App Footer --- */
.site-footer {
    background: #222;
    color: #fff;
    padding: 2rem 0 1rem 0;
    margin-top: 0;
    border-top: none;
}

.site-footer .footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
    padding: 0;
    min-height: unset;
}

.site-footer .footer-links ul {
    display: flex;
    gap: 2rem;
    padding: 0;
    margin: 0;
}

.site-footer .footer-links a {
    color: #fff;
    font-weight: 600;
    transition: color 0.2s;
}

.site-footer .footer-links a:hover {
    color: #f9d923;
}

.site-footer .footer-logos {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    justify-content: center;
}

.site-footer .footer-logos img {
    height: 40px;
    width: auto;
    margin: 0;
    display: inline-block;
}

.site-footer .footer-copy {
    font-size: 0.95rem;
    color: #e0e0e0;
    margin-top: 1rem;
    text-align: right;
}

/* --- Product Detail Flex Layout --- */
@media (min-width: 900px) {
    .product-detail-flex {
        display: flex;
        gap: 2.5rem;
        align-items: flex-start;
    }

    .product-detail-flex .accordion {
        flex: 1 1 350px;
        min-width: 320px;
    }

    .product-detail-flex .product-actions {
        flex: 1 1 320px;
        min-width: 300px;
        margin-top: 0;
    }
}

@media (max-width: 899px) {
    .product-detail-flex {
        display: block;
    }
}

.navbar-logo {
    padding-left: 3vw;

}

/* --- Mobile Hamburger & Slide-in Menu --- */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 44px;
    height: 44px;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 1201;
}

.hamburger-bar {
    width: 28px;
    height: 4px;
    background: #153a5b;
    margin: 3px 0;
    border-radius: 2px;
    transition: all 0.3s;
}

.mobile-slide-menu {
    position: fixed;
    top: 0;
    left: 0;
    height: 100vh;
    width: 80vw;
    max-width: 320px;
    background: #fff;
    box-shadow: 2px 0 16px rgba(21, 58, 91, 0.12);
    transform: translateX(-100%);
    transition: transform 0.35s cubic-bezier(.77, 0, .18, 1);
    z-index: 1200;
    padding: 2rem 1.5rem 1.5rem 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.mobile-slide-menu.open {
    transform: translateX(0);
}

.mobile-slide-menu ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.mobile-slide-menu a {
    color: #153a5b;
    font-size: 1.2rem;
    font-weight: 700;
    text-decoration: none;
    padding: 0.5rem 0;
    border-radius: 6px;
    transition: background 0.2s, color 0.2s;
}

.mobile-slide-menu a:hover {
    background: #f9d923;
    color: #fff;
}

.close-mobile-menu {
    background: none;
    border: none;
    font-size: 2.2rem;
    color: #153a5b;
    align-self: flex-end;
    cursor: pointer;
    margin-bottom: 1rem;
}

.mobile-menu-backdrop {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(21, 58, 91, 0.25);
    z-index: 1199;
    transition: opacity 0.3s;
    opacity: 0;
}

.mobile-menu-backdrop.show {
    display: block;
    opacity: 1;
}

@media (max-width: 900px) {
    .nav-left, .nav-right, .nav-logo {
        display: none !important;
    }

    .hamburger {
        display: flex;
        position: absolute;
        left: 1rem;
        top: 0.7rem;
    }

    .site-nav {
        min-height: 56px;
        position: relative;
    }

    .cart-icon-wrapper {
        display: block !important;
        position: absolute;
        right: 1rem;
        top: 50%;
        transform: translateY(-50%);
        margin-left: 0;
        z-index: 1002;
    }

    .cart-icon {
        width: 12px;
        height: 32px;
        font-size: 0.9rem;
        background-color: #f9d923;
        color: #333;
        border-radius: 32px;
        display: flex;
        align-items: center;
        justify-content: center;
        text-decoration: none;
        transition: all 0.3s ease;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
        border: none;
    }

    .cart-icon:hover {
        background-color: #e0a800;
        transform: scale(1.05);
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    }

    .cart-count {
        position: absolute;
        top: -2px;
        right: -2px;
        width: 10px;
        height: 10px;
        font-size: 0.5rem;
        background-color: #dc3545;
        color: white;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        font-weight: bold;
        border: 1px solid white;
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    }

    .cart-dropdown {
        right: 0;
        min-width: 280px;
    }
}

@media (max-width: 600px) {
    .hamburger {
        width: 54px;
        height: 54px;
        left: 0.5rem;
        top: 0.5rem;
    }

    .hamburger-bar {
        width: 36px;
        height: 5px;
    }

    .mobile-slide-menu {
        width: 90vw;
        max-width: 98vw;
        padding: 2.5rem 1rem 1.5rem 1rem;
    }

    .mobile-slide-menu a {
        font-size: 1.3rem;
        padding: 0.8rem 0;
    }

    .close-mobile-menu {
        font-size: 2.5rem;
        margin-bottom: 1.5rem;
    }

    .site-nav {
        min-height: 48px;
    }

    .nav-logo img {
        height: 38px !important;
    }

    .site-footer .footer-container, .footer-container {
        flex-direction: column !important;
        gap: 1.2rem !important;
        align-items: center !important;
        text-align: center !important;
        padding: 0 0.5rem !important;
    }

    .site-footer .footer-logos img, .footer-logos img {
        height: 32px !important;
        margin: 0 0.5rem !important;
    }

    .site-footer .footer-links ul, .footer-links ul {
        gap: 1rem !important;
        flex-wrap: wrap !important;
        justify-content: center !important;
    }

    .site-footer .footer-copy, .footer-copy {
        text-align: center !important;
        font-size: 0.85rem !important;
        margin-top: 0.5rem !important;
    }

    html, body {
        overflow-x: hidden !important;
    }
}

@media (max-width: 1024px) {
    /* Navbar: center logo, bigger height, center hamburger */
    .site-nav {
        min-height: 64px;
        padding: 0.5rem 0.5rem;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .nav-container {
        display: flex;
        align-items: center;
        justify-content: center;
        min-height: 64px;
        width: 100vw;
        padding: 0 0.5rem;
        position: relative;
    }

    .nav-logo {
        display: flex !important;
        justify-content: center !important;
        align-items: center !important;
        flex: 1 1 100%;
        width: 100%;
        text-align: center;
        margin: 0 auto !important;
    }

    .nav-logo img {
        display: block;
        margin: 0 auto;
        height: 48px !important;
        width: auto !important;
        max-width: 90vw;
    }

    .hamburger {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        width: 48px;
        height: 48px;
        background: none;
        border: none;
        cursor: pointer;
        z-index: 1201;
        margin-right: 0.5rem;
        position: absolute;
        left: 0.5rem;
        top: 0.5rem;
    }

    .hamburger-bar {
        width: 30px;
        height: 4px;
        background: #153a5b;
        margin: 3px 0;
        border-radius: 2px;
        transition: all 0.3s;
    }

    .info-logo, .about-image {
        display: flex !important;
        justify-content: center !important;
        align-items: center !important;
        width: 100% !important;
        margin: 0 auto 1.2rem auto !important;
    }

    .info-logo img, .about-image img {
        display: block;
        margin: 0 auto;
        max-width: 90vw;
        height: auto;
    }

    .badge-img,
    .sakarela-sale-badge,
    .card-subtitle {
        display: none !important;
        visibility: hidden !important;
        width: 0 !important;
        height: 0 !important;
        position: absolute !important;
        left: -9999px !important;
    }
}

@media (max-width: 600px) {
    /* Product card image fixes for mobile */
    .product-card, .sakarela-product-card {
        max-width: 98vw !important;
        min-width: 0 !important;
        margin: 0 auto 1.2rem auto !important;
        border-radius: 16px !important;
        box-shadow: 0 2px 8px rgba(21, 58, 91, 0.08) !important;
        padding: 0.5rem !important;
        background: #fff;
        display: flex;
        flex-direction: column;
        align-items: stretch;
    }

    .product-card img, .sakarela-product-card img {
        width: 100% !important;
        height: 160px !important;
        object-fit: cover !important;
        border-radius: 12px 12px 0 0 !important;
        background: #f7fafd;
        display: block;
    }
}

@media (max-width: 600px) {
    .product-detail-page {
        padding: 0.7rem 0.2rem !important;
        margin: 0.7rem auto !important;
        border-radius: 10px !important;
        box-shadow: 0 1px 4px rgba(21, 58, 91, 0.08) !important;
        max-width: 99vw !important;
        width: 99vw !important;
    }

    .product-detail-page .section-container {
        padding: 0 !important;
        max-width: 99vw !important;
        width: 99vw !important;
    }

    .product-detail-page .image-text {
        flex-direction: column !important;
        gap: 0.7rem !important;
        align-items: stretch !important;
    }

    .product-detail-page .image-column {
        width: 100% !important;
        max-width: 99vw !important;
        display: flex !important;
        justify-content: center !important;
        align-items: center !important;
        margin-bottom: 0.7rem !important;
    }

    .product-detail-page .image-column img {
        width: 100% !important;
        max-width: 1000px !important;
        height: 200px !important;
        object-fit: contain !important;
        border-radius: 10px !important;
        margin: 0 auto !important;
        box-shadow: 0 1px 4px rgba(21, 58, 91, 0.08) !important;
    }

    .product-detail-page .info-column {
        width: 100% !important;
        max-width: 99vw !important;
        padding: 0.2rem 0.1rem !important;
        gap: 0.5rem !important;
        text-align: left !important;
    }

    .product-detail-page .info-column h2 {
        font-size: 1.25rem !important;
        margin: 0.5rem 0 0.2rem 0 !important;
        text-align: left !important;
    }

    .product-detail-page .info-column p {
        font-size: 1rem !important;
        margin-bottom: 0.5rem !important;
        color: #64748b !important;
        margin-left: 1rem;
    }

    .product-detail-page .recipe-list {
        display: flex !important;
        flex-direction: column !important;
        gap: 0.7rem !important;
        width: 100% !important;
        margin: 0 auto !important;
    }

    .product-detail-page .recipe-card {
        display: flex !important;
        align-items: center !important;
        gap: 0.7rem !important;
        background: #f8fafc !important;
        border-radius: 8px !important;
        box-shadow: 0 1px 4px rgba(21, 58, 91, 0.08) !important;
        padding: 0.5rem !important;
        width: 100% !important;
        max-width: 99vw !important;
    }

    .product-detail-page .recipe-card img {
        width: 60px !important;
        height: 60px !important;
        object-fit: cover !important;
        border-radius: 8px !important;
    }

    .product-detail-page .recipe-card .info {
        flex: 1 1 auto !important;
        min-width: 0 !important;
    }

    .product-detail-page .recipe-card h3 {
        font-size: 1rem !important;
        margin: 0 0 0.2rem 0 !important;
    }

    .product-detail-page .recipe-card p {
        font-size: 0.95rem !important;
        margin: 0 !important;
    }

    .product-detail-page .other-products {
        padding: 0.2rem 0 !important;
        margin: 0.7rem 0 0 0 !important;
    }

    .product-detail-page .other-products h2 {
        font-size: 1.1rem !important;
        margin-bottom: 0.5rem !important;
        text-align: left !important;
    }

    .product-detail-page .product-grid {
        grid-template-columns: 1fr !important;
        gap: 0.7rem !important;
        padding: 0 !important;
        margin: 0 !important;
    }

    .product-detail-page .product-card {
        max-width: 99vw !important;
        min-width: 0 !important;
        margin: 0 auto 0.7rem auto !important;
        border-radius: 10px !important;
        box-shadow: 0 1px 4px rgba(21, 58, 91, 0.08) !important;
        padding: 0.4rem !important;
    }

    .product-detail-page .product-card img {
        height: 90px !important;
        /* object-fit: contain !important; */
        border-radius: 8px 8px 0 0 !important;
    }

    .product-detail-page .card-title {
        font-size: 1rem !important;
        margin: 0.3rem 0 0.1rem 0 !important;
        padding: 0 0.5rem !important;
    }

    .product-detail-page .card-subtitle {
        font-size: 0.95rem !important;
        margin: 0 0 0.2rem 0 !important;
        padding: 0 0.5rem !important;
    }
}

/*PRODUCT DETAILS WHERE_TO_BUY and BUY_ONLINE BUTTONS*/

/* Only affects these two buttons on the product detail */
.product-store-actions {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

/* Shared base for these store-action buttons */
.product-store-actions a {
    display: inline-block;
    padding: 0.75rem 1.25rem;
    border-radius: 0.375rem;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    text-align: center;
    transition: background-color 0.25s ease, transform 0.2s ease;
}

/* Buy online button */
.btn-store-buy-online {
    background-color: #28a745;
    color: #fff;
    border: 2px solid #28a745;
}

.btn-store-buy-online:hover {
    background-color: #218838;
    border-color: #1e7e34;
    transform: translateY(-2px);
}

/* Where to buy button */
.btn-store-where-to-buy {
    background-color: #6c757d;
    color: #fff;
    border: 2px solid #6c757d;
}

.btn-store-where-to-buy:hover {
    background-color: #5a6268;
    border-color: #545b62;
    transform: translateY(-2px);
}

/* Focus outline for accessibility */
.btn-store-buy-online:focus,
.btn-store-where-to-buy:focus {
    outline: 3px solid rgba(0, 123, 255, 0.4);
    outline-offset: 2px;
}

/* → Tablet styles (up to 768px) */
@media (max-width: 768px) {
    .product-store-actions {
        /* stack vertically, full-width buttons */
        flex-direction: column;
        align-items: stretch;
        gap: 0.75rem;
        margin-top: 1rem;
    }

    .product-store-actions a {
        /* make each button fill the container and slightly smaller text */
        width: 100%;
        font-size: 0.95rem;
        padding: 0.65rem 1rem;
    }

    .contact-form-grid .form-field {
        padding: 0;
    }
}

/* → Mobile / small (up to 425px) */
@media (max-width: 425px) {
    .product-store-actions {
        /* even tighter spacing on very small screens */
        gap: 0.5rem;
        margin-top: 0.75rem;
    }

    .product-store-actions a {
        /* slightly smaller font/padding for tiny viewports */
        font-size: 0.9rem;
        padding: 0.5rem 0.75rem;
    }
}

/*PRODUCT CARD STORE STYLING*/

/* 1) Pill-style buttons: no border, consistent padding */
.product-card .badge-pill {
    border: none !important;
    padding: 0.5em 0.8em;
    font-size: 0.9rem;
}

/* 2) Make the card grid responsive */
/* Default (desktop): 3 columns via .col-md-4 */

/* Tablet: two columns */
@media (max-width: 768px) {
    .product-grid .col-md-4 {
        flex: 0 0 50%;
        max-width: 50%;
    }
}

/* Mobile: one column */
@media (max-width: 425px) {
    .product-grid .col-md-4 {
        flex: 0 0 100%;
        max-width: 100%;
    }

    /* Slightly smaller pills on super-small screens */
    .product-card .badge-pill {
        padding: 0.4em 0.6em;
        font-size: 0.85rem;
    }
}

/* 3) Center card contents vertically if needed */
.product-card .card-body {
    display: flex;
    flex-direction: column;
}

/* 4) Ensure the "Виж продукта" button and price line span full width on mobile */
@media (max-width: 425px) {
    .product-card .btn-block {
        width: 100%;
    }

    .product-card .price {
        flex-wrap: wrap;
        justify-content: center;
    }
}

/* Remove black border/shadow from badge-pill buttons */
.product-card .badge.badge-pill {
    border: none !important;
    box-shadow: none !important;
}

/* (Optional) Ensure consistent padding & font in one place */
.product-card .badge.badge-pill {
    padding: 0.5em 0.8em;
    font-size: 0.9rem;
}

/* Django Messages Styling */
.alert {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 9999;
    max-width: 400px;
    padding: 1rem 1.5rem;
    border-radius: 8px;
    font-weight: 500;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    animation: slideInTop 0.3s ease-out;
    border: none;
}

.alert-success {
    background: #10b981;
    color: white;
}

.alert-error {
    background: #ef4444;
    color: white;
}

.alert-warning {
    background: #f59e0b;
    color: white;
}

.alert-info {
    background: #3b82f6;
    color: white;
}

.alert-dismissible {
    padding-right: 3rem;
}

.alert .close {
    position: absolute;
    top: 0.5rem;
    right: 0.75rem;
    background: none;
    border: none;
    color: inherit;
    font-size: 1.5rem;
    cursor: pointer;
    opacity: 0.7;
    transition: opacity 0.2s;
}

.alert .close:hover {
    opacity: 1;
}

@keyframes slideInTop {
    from {
        transform: translateX(-50%) translateY(-100%);
        opacity: 0;
    }
    to {
        transform: translateX(-50%) translateY(0);
        opacity: 1;
    }
}

@keyframes fadeOut {
    from {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
    to {
        opacity: 0;
        transform: translateX(-50%) translateY(-100%);
    }
}

.alert.fade-out {
    animation: fadeOut 0.3s ease-in forwards;
}

/* Quality Section Styling */
.quality-section {
    margin: 0;
}

.quality-top-bg {
    position: relative;
    margin: 0;
}

.quality-overlay {
    margin: 0 auto;
    background: url('../uploads/Untitled.png') center/cover no-repeat;
    padding: 3rem 2rem;
}

.quality-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 4rem;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
}

.quality-icon {
    width: 240px;
    height: auto;
    flex-shrink: 0;
    position: relative;
}

.quality-icon::before {
    content: '';
    position: absolute;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
    background: white;
    border-radius: 50%;
    z-index: -1;
    /*box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);*/
}

.quality-text {
    flex: 1;
    text-align: left;
    color: #000;
}

.quality-title {
    font-size: 2.2rem;
    font-weight: 900;
    color: #000;
    margin-bottom: 0.5rem;
    line-height: 1.2;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.quality-subtitle {
    font-size: 1.8rem;
    font-weight: 700;
    color: #000;
    margin-bottom: 1rem;
    line-height: 1.2;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.quality-description {
    font-size: 1.1rem;
    color: #333;
    font-weight: 400;
    line-height: 1.4;
    margin-bottom: 2rem;
}

.quality-badge {
    font-size: 1.2rem;
    font-weight: 900;
    color: #2d5a2d;
    margin-top: 1rem;
}

.yellow-bar {
    background: #FDAB09;
    padding: 1.5rem 2rem;
    text-align: center;
    margin: 0;
}

.yellow-bar-text {
    color: white;
    font-size: 1.2rem;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 0;
}

/* Team Banner Styling */
.team-banner {
    margin: 0;
    text-align: center;
}

.team-banner-image {
    max-width: 100%;
    height: auto;
}

/* Recipe Page Responsive Design */
@media (max-width: 1200px) {
    .recipe-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 1.25rem;
    }
}

@media (max-width: 900px) {
    .recipe-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    .products-page .product-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
}

@media (max-width: 768px) {
    .recipe-hero {
        padding: 3rem 1rem;
    }

    .recipe-hero-title {
        font-size: 2.2rem;
    }

    .recipe-hero-subtitle {
        font-size: 1rem;
    }

    .recipe-container {
        padding: 2rem 1rem;
    }

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

    .products-page .product-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    .products-page .filter-container {
        flex-direction: column;
        align-items: center;
        gap: 0.5rem;
    }

    .products-page .filter-btn {
        width: 100%;
        max-width: 200px;
        text-align: center;
        padding: 0.5rem 1rem;
        font-size: 0.8rem;
    }

    .products-page .product-section-title {
        font-size: 1.5rem;
    }

    .recipe-image-wrapper {
        height: 140px;
    }

    .products-page .product-image-wrapper {
        height: 140px;
    }

    .recipe-title {
        font-size: 1rem;
    }

    .products-page .product-title {
        font-size: 1rem;
    }

    .recipe-time {
        font-size: 0.8rem;
    }

    .product-section-title {
        font-size: 1.5rem;
    }

    .quality-content {
        flex-direction: column;
        gap: 2rem;
    }

    .quality-icon {
        width: 80px;
    }

    .quality-title {
        font-size: 1.5rem;
    }

    .quality-description {
        font-size: 1rem;
    }

    .yellow-bar {
        padding: 1rem;
    }

    .yellow-bar-text {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .recipe-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .products-page .product-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .recipe-hero-title {
        font-size: 1.8rem;
    }

    .recipe-card-content {
        padding: 0.75rem;
    }

    .products-page .product-card-content {
        padding: 0.75rem;
    }

    .recipe-title {
        font-size: 1rem;
    }

    .products-page .product-title {
        font-size: 1rem;
    }
}

/* .quality-top-bg {
    padding: 2rem 1rem;
} */
.quality-title {
    font-size: 1.3rem;
}


/* RECIPE DETAIL PAGE STYLES */
.recipe-detail-hero {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 4rem 0;
    margin: 0;
}

.recipe-detail-hero-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.recipe-detail-hero-image {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.recipe-detail-hero-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    display: block;
}

.recipe-detail-hero-info {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.recipe-detail-title {
    font-size: 3rem;
    font-weight: 900;
    color: #2d5a2d;
    line-height: 1.2;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.recipe-detail-meta {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.recipe-cook-time {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.2rem;
    font-weight: 600;
    color: #6c757d;
    background: white;
    padding: 0.5rem 0.75rem;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.recipe-cook-time i {
    color: #a8ba3c;
    font-size: 1.4rem;
}

/* RECIPE CONTENT SECTION */
.recipe-detail-content {
    padding: 4rem 0;
    background: #f8f9fa;
    margin: 0;
}

.recipe-detail-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.recipe-detail-grid {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 3rem;
}

.recipe-ingredients-column,
.recipe-instructions-column {
    display: flex;
    flex-direction: column;
}

.recipe-ingredients-card,
.recipe-instructions-card {
    background: white;
    border-radius: 12px;
    padding: 2.5rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    height: fit-content;
}

.recipe-section-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: #2d5a2d;
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.recipe-section-title i {
    color: #a8ba3c;
    font-size: 1.6rem;
}

/* INGREDIENTS LIST */
.ingredients-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.ingredient-item {
    display: flex;
    align-items: center;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 8px;
    /*border-left: 4px solid #a8ba3c;*/
    transition: all 0.3s ease;
}

.ingredient-item:hover {
    background: #e9ecef;
    transform: translateX(4px);
}

.ingredient-text {
    font-size: 1.1rem;
    color: #495057;
    font-weight: 500;
    line-height: 1.4;
}

/* INSTRUCTIONS CONTENT */
.instructions-content {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #495057;
}

.instructions-content p {
    margin-bottom: 1.5rem;
    text-align: justify;
}

.instructions-content p:last-child {
    margin-bottom: 0;
}

/* RESPONSIVE DESIGN */
@media (max-width: 768px) {
    .recipe-detail-hero-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 0 1rem;
    }

    .recipe-detail-title {
        font-size: 2.2rem;
        text-align: center;
    }

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

    .recipe-detail-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .recipe-detail-container {
        padding: 0 1rem;
    }

    .recipe-ingredients-card,
    .recipe-instructions-card {
        padding: 2rem;
    }

    .recipe-section-title {
        font-size: 1.5rem;
        text-align: center;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .recipe-detail-hero {
        padding: 2rem 0;
    }

    .recipe-detail-title {
        font-size: 1.8rem;
    }

    .recipe-detail-hero-image img {
        height: 250px;
    }

    .recipe-cook-time {
        font-size: 1rem;
        padding: 0.75rem 1rem;
    }

    .recipe-ingredients-card,
    .recipe-instructions-card {
        padding: 1.5rem;
    }

    .ingredient-item {
        padding: 0.75rem;
    }

    .ingredient-text {
        font-size: 1rem;
    }

    .instructions-content {
        font-size: 1rem;
    }
}

/* =================================
   PRODUCT DETAIL PAGE - INGREDIENTS STYLES
   ================================= */

.product-ingredients {
    margin: 2rem 0;
}

.product-ingredients h3 {
    font-size: 1.2rem;
    font-weight: 600;
    color: #111;
    margin-bottom: 1rem;
}

.ingredients-list-right {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.ingredient-item-right {
    background-color: #f8f9fa;
    padding: 0.75rem 1rem;
    border-radius: 8px;
    border-left: 4px solid #a8ba3c;
    text-align: right;
    font-size: 1rem;
    color: #495057;
    line-height: 1.4;
}

.product-storage {
    margin: 2rem 0;
}

.product-storage h3 {
    font-size: 1.2rem;
    font-weight: 600;
    color: #111;
    margin-bottom: 1rem;
}

.product-storage p {
    font-size: 1rem;
    color: #495057;
    line-height: 1.6;
}

/* =================================
   RECIPE DETAIL PAGE - NEW STYLES
   ================================= */

/* Breadcrumbs */
.breadcrumbs-section {
    background-color: #f8f9fa;
    padding: 1rem 0;
    border-bottom: 1px solid #e9ecef;
}

.breadcrumbs {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: #6c757d;
}

.breadcrumbs a {
    color: #007bff;
    transition: color 0.2s;
}

.breadcrumbs a:hover {
    color: #0056b3;
}

.breadcrumb-separator {
    color: #6c757d;
}

.current-page {
    color: #495057;
    font-weight: 500;
}

/* Recipe Hero Section */
.recipe-hero-section {
    padding: 3rem 0;
    background-color: #FFF8EA;
}

.recipe-hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
}

.recipe-hero-image {
    position: relative;
}

.recipe-main-image {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.recipe-hero-info {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.recipe-category {
    color: #ff8c00;
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.recipe-title {
    font-size: 1rem;
    font-weight: 700;
    color: #111;
    line-height: 1.2;
    margin: 0;
}

.recipe-description {
    font-size: 1.1rem;
    color: #6c757d;
    line-height: 1.6;
    margin: 0;
}

.recipe-stats {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.recipe-stat {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1rem;
    color: #495057;
}

.recipe-stat i {
    color: #ff8c00;
    font-size: 1.1rem;
    width: 20px;
}

/* Ingredients Section */
.ingredients-section {
    padding: 3rem 0;
    background-color: #FFF8EA;
}

.ingredients-section .ingredients-list {
    display: grid;
    /*grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));*/
    gap: 1rem;
    margin-top: 2rem;
}

.ingredients-section .ingredient-item {
    background-color: #FFF8EA;
    padding: 1rem 1.5rem;
    border-radius: 8px;
    /*border-left: 4px solid #91a631;*/
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.ingredient-product {
    font-weight: 600;
    color: #111;
    font-size: 1rem;
}

.ingredient-amount {
    color: #6c757d;
    font-size: 0.9rem;
    font-weight: 500;
}

/* Recipe Content Section */
.recipe-content-section {
    padding: 3rem 0;
    background-color: #FFF8EA;
}

.recipe-content-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.recipe-section-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #111;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
}

.ingredients-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.ingredient-item {
    padding: 0.5rem 1rem;
    border-bottom: 1px solid #f0f0f0;
}

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

.ingredient-text {
    font-size: 1rem;
    color: #495057;
    line-height: 1.5;
}

.instructions-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.instruction-step {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid #f0f0f0;
}

.instruction-step:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.step-number {
    font-weight: 700;
    color: #ff8c00;
    font-size: 1rem;
    text-transform: uppercase;
}

.step-content {
    font-size: 1rem;
    color: #495057;
    line-height: 1.6;
}

.step-content p {
    margin: 0;
    margin-bottom: 0.5rem;
}

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

/* Other Recipes Section */
.other-recipes-section {
    padding: 4rem 0;
    background-color: #FFF8EA;
}

.section-title {
    text-align: center;
    font-size: 2rem;
    font-weight: 700;
    color: #111;
    margin-bottom: 3rem;
    text-transform: uppercase;
}

.recipes-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.recipe-card {
    background-color: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

.recipe-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

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

.recipe-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

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

.recipe-card-content {
    padding: 1.5rem;
}

.recipe-card-title {
    font-size: 1.2rem;
    font-weight: 600;
    color: #111;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.recipe-card-meta {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
    font-size: 0.9rem;
    color: #6c757d;
}

.recipe-card-button {
    font-size: 13px;
    text-align: center;
    display: inline-block;
    background-color: #ffd700;
    color: #ffffff;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    transition: background-color 0.2s;
}

.recipe-card-button:hover {
    background-color: #ffed4e;
    color: #ffffff;
}

.recipes-pagination {
    display: none;
    justify-content: center;
    gap: 0.5rem;
}

.pagination-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: #dee2e6;
    cursor: pointer;
    transition: background-color 0.2s;
}

.pagination-dot.active,
.pagination-dot:hover {
    background-color: #ff8c00;
}

/* Quality Assurance Section */
.quality-assurance-section {
    background-color: #f8f9fa;
}

.quality-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1.5rem;
    margin-bottom: 0;
    align-items: start;
}

.quality-item {
    text-align: center;
    padding: 1rem;
    min-height: 180px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.quality-item.center-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 200px;
}

.quality-title {
    font-size: 1.8rem;
    font-weight: 600;
    color: #fff;
    margin-bottom: 0.5rem;
    line-height: 1.3;
}

.quality-description {
    font-size: 1.2rem;
    color: #fff;
    line-height: 1.4;
}

.quality-emblem {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.emblem-image {
    width: 80px;
    height: 80px;
    object-fit: contain;
}

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

.emblem-title {
    font-size: 0.9rem;
    font-weight: 700;
    color: #111;
    margin-bottom: 0.25rem;
}

.emblem-subtitle {
    font-size: 0.8rem;
    color: #6c757d;
}

.signature {
    font-family: 'Dancing Script', cursive;
    font-size: 1rem;
    color: #111;
    font-style: italic;
}


/* Responsive Design */
@media (max-width: 1024px) {
    .recipe-hero-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .recipe-content-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .quality-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 1.5rem;
    }

    .quality-item {
        min-height: 180px;
    }

    .quality-item.center-item {
        min-height: 220px;
    }
}

@media (max-width: 768px) {
    .recipe-title {
        font-size: 1rem;
    }

    .recipe-main-image {
        height: 300px;
    }

    .recipes-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 1.5rem;
    }

    .quality-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .quality-item {
        padding: 1rem;
        min-height: auto;
    }

    .quality-item.center-item {
        min-height: auto;
    }
}

@media (max-width: 480px) {
    .recipe-hero-section {
        padding: 2rem 0;
    }

    .recipe-title {
        font-size: 1rem;
    }

    .recipe-main-image {
        height: 250px;
    }

    .recipe-stats {
        gap: 0.75rem;
    }

    .recipe-stat {
        font-size: 0.9rem;
    }

    .section-title {
        font-size: 1.5rem;
    }


}

.align-quality-section {
    transform: translateX(50%);
}

/* Quality section – mobile fix */
@media (max-width: 600px) {
    .align-quality-section {
        transform: none !important; /* stop shifting right */
        left: 0 !important;
        right: 0 !important;
        margin: 0 !important;
        width: 100% !important;
        max-width: 100% !important;
        padding: 24px 16px !important; /* breathing room on edges */
        background-size: cover;
        background-position: center; /* adjust if you prefer: center right/left */
        overflow: hidden; /* prevents tiny horizontal scroll */
    }

    /* text block inside (adjust alignment to your design) */
    .align-quality-section .quality-text {
        flex: 1 1 auto;
        max-width: 100%;
        text-align: right; /* use left/center if you prefer */
    }

    /* If there’s an inner container that also had transforms, reset it too */
    .align-quality-section > .container,
    .align-quality-section > .wrapper {
        transform: none !important;
        margin: 0 auto;
    }

    /* Optional: responsive type */
    .align-quality-section .quality-text h2 {
        font-size: clamp(22px, 6vw, 32px);
        line-height: 1.2;
        margin: 0 0 8px;
    }

    .align-quality-section .quality-text p {
        font-size: clamp(14px, 4vw, 16px);
        margin: 0;
    }
}

body .background {
    background: url('../uploads/Other-Products-bg.png') center / cover no-repeat;
}


/* Full-bleed + fade utilities for product sections */
body {
    overflow-x: hidden;
}

/* avoid horizontal scroll on full-bleed */

.products-page {
    --fade-color: #FFF8EA;
}

/* Make the section span the whole viewport width */
.products-page.full-bleed {
    position: relative;
    left: 50%;
    margin-left: -50vw;
    width: 100vw;
}

/* Background image like on product-detail “Други продукти” */
.warehouse-bg {
    background-image: url('../uploads/Other-Products-bg.png');
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    padding: clamp(28px, 5vw, 72px) 0; /* vertical breathing room */
}

/* Optional soft fades to blend with surrounding sections */
.fade-top::before,
.fade-bottom::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    height: 180px; /* fade depth */
    pointer-events: none;
    z-index: 0;
}

.fade-top::before {
    top: 0;
    background: linear-gradient(to bottom, var(--fade-color), rgba(255, 255, 255, 0));
}

.fade-bottom::after {
    bottom: 0;
    background: linear-gradient(to top, var(--fade-color), rgba(255, 255, 255, 0));
}

/* Keep content above the fades/background */
.products-page .section-container {
    position: relative;
    z-index: 1;
    max-width: 1200px; /* match your site */
    margin: 0 auto;
    padding: 0 24px; /* side gutters */
}

/* Utility used above */
.text-center {
    text-align: center;
}

.product-card .old-price {
    font-size: 1.1rem;
}

.product-card .sale-price {
    font-size: 1.1rem;
}

/* Container for the checkbox + text */
.invoice-toggle-row {
    display: flex;
    justify-content: center; /* centered under the title */
    margin-top: 1rem;
}

/* The label that wraps the checkbox and text */
.invoice-checkbox-label {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem; /* space between box and text */
    font-size: 18px;
    font-weight: 500;
    color: #2e3b42; /* tweak to your palette */
}

/* Make the checkbox slightly bigger and prettier */
.invoice-checkbox-label input[type="checkbox"] {
    width: 20px;
    height: 20px;
    cursor: pointer;
    /* modern browsers: tint the check color */
    accent-color: #a2c116; /* same green as your underline if you like */
}