@charset "utf-8";
        :root {
            --purple: #6C399A;
            --pink: #C34776;
            --brown: #3C281A;
            --bg: #FFF6F1;
            --cream: #FFFEE2;
            --line: #3C281A;
            --text-light: #6f635a;
        }

        * {
            box-sizing: border-box;
            margin: 0;
            padding: 0;
        }

        body {
            font-family: 'Baloo 2', cursive;
            background: var(--bg);
            color: var(--brown);
        }



        a {
            text-decoration: none;
            color: inherit;
        }
.cart-icon-link {
    position: relative;
}

.cart-badge {
    position: absolute;
    top: -10px;
    right: -10px;
    background: var(--pink);
    color: white;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    font-size: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

   

       .site-wrapper {
            width: 100%;
        }

        .top-bar {
    background: linear-gradient(90deg, #4a2b18, #3c2415);
    color: #fff;
    padding: 0 30px;
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.top-links {
    position: absolute;
    left: 30px;
    display: flex;
    align-items: center;
    gap: 26px;
}

.top-tagline {
    font-size: 14px;
    white-space: nowrap;
    text-align: center;
}

        .top-links a {
            font-size: 15px;
            font-weight: 400;
            letter-spacing: 0.2px;
            transition: opacity 0.2s ease;
        }

        .top-links a:hover,
        .top-icons a:hover,
        .category-link:hover,
        .dropdown-menu a:hover {
            opacity: 0.82;
        }

        .top-tagline {
            font-size: 14px;
            white-space: nowrap;
        }

        .middle-bar {
    background: #f7f0eb;
    padding: 18px 100px;   
    border-bottom: 1px solid #8e7d72;
    display: grid;
    grid-template-columns: 180px 1fr 180px;
    align-items: center;
}

        .logo img {
            width: 96px;
            height: auto;
            display: block;
        }

        .search-area {
            position: relative;
            max-width: 560px;
            width: 100%;
            margin: 0 auto;
        }

        .search-form {
            width: 100%;
            position: relative;
        }

        .search-input {
            width: 100%;
            height: 44px;
            border: none;
            outline: none;
            border-radius: 999px;
            padding: 0 58px 0 18px;
            background: linear-gradient(90deg, #b03b87, #6a36b7);
            color: #fff;
            font-size: 16px;
        }

        .search-input::placeholder {
            color: rgba(255,255,255,0.9);
        }

        .search-btn {
            position: absolute;
            top: 50%;
            right: 14px;
            transform: translateY(-50%);
            border: none;
            background: transparent;
            color: #fff;
            font-size: 22px;
            cursor: pointer;
        }

        .search-suggestions {
            position: absolute;
            top: calc(100% + 8px);
            left: 0;
            width: 100%;

            background: #fff;
            border-radius: 14px;
            box-shadow: 0 12px 28px rgba(0, 0, 0, 0.14);
            overflow: hidden;
            display: none;
            z-index: 1000;
        }

        .search-suggestions.show {
            display: block;
        }

        .suggestion-item {
            display: block;
            padding: 12px 16px;
            font-size: 14px;
            color: #4a2f1d;
            border-bottom: 1px solid #f0e8e3;
            transition: background 0.2s ease;
        }

        .suggestion-item:last-child {
            border-bottom: none;
        }

        .suggestion-item:hover,
        .suggestion-item.active {
            background: #f7f0eb;
        }

        .top-icons {
            display: flex;
            justify-content: flex-end;
            align-items: center;
            gap: 26px;
        }

        .top-icons a {
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 4px;
            font-size: 14px;
            color: #4a2f1d;
        }

        .top-icons i {
            font-size: 25px;
            color: #7c3bb1;
        }

 header {
    position: relative;
    z-index: 500;
}

.category-bar {
    background: #f7f0eb;
    border-bottom: 1px solid #8e7d72;
    position: relative;
    z-index: 500;
}

.category-list {
    list-style: none;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    padding: 0 10px;
}

.category-item {
    position: static;
}


.category-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 14px 20px;
    font-size: 16px;
    color: #4a2f1d;
    transition: background 0.2s ease;
}

.category-link i {
    font-size: 12px;
}

.mega-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    width: min(1200px, calc(100vw - 40px));
    background: #fff;
    box-shadow: 0 12px 22px rgba(0, 0, 0, 0.12);
    padding: 28px 32px;
    z-index: 999;
}

.category-item:hover .mega-menu,
.category-item:focus-within .mega-menu {
    display: block;
}

.mega-menu-content {
    display: block;
    gap: 40px;
    align-items: start;
}

.mega-menu-content:has(.mega-menu-image) {
    grid-template-columns: 1.5fr 420px;
}

.mega-menu-content:not(:has(.mega-menu-image)) {
    grid-template-columns: 1fr;
}

.mega-menu-columns {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 32px;
}

.mega-menu-column h4 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 12px;
    color: #4a2f1d;
}

.mega-menu-column h4::after {
    content: "";
    display: block;
    width: 55px;
    height: 2px;
    background: #6C399A;
    margin-top: 8px;
}

.mega-menu-column ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mega-menu-column li {
    margin-bottom: 12px;
}

.mega-menu-column a {
    color: #4a2f1d;
    font-size: 15px;
    line-height: 1.4;
    text-decoration: none;
    transition: color 0.2s ease;
}

.mega-menu-column a:hover {
    color: #C34776;
}

.mega-menu-image img {
    width: 100%;
    height: 320px;
    object-fit: cover;
    border-radius: 10px;
    display: block;
}

.hero-section,
.category-section,
.recipe-section,
.about-section,
.site-footer {
    position: relative;
    z-index: 1;
}

@media (max-width: 1100px) {
    .mega-menu-content {
        grid-template-columns: 1fr;
    }

    .mega-menu-image img {
        height: 260px;
    }
}

@media (max-width: 800px) {
    .mega-menu-columns {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 600px) {
    .mega-menu-columns {
        grid-template-columns: 1fr;
    }

    .mega-menu {
        width: calc(100vw - 20px);
        padding: 20px;
    }
}




        .products-page {
            max-width: 1280px;
            margin: 0 auto;
            padding: 28px 24px 60px;
        }

.page-title-section {
    background: linear-gradient(
        180deg,
        var(--cream),
        var(--cream),
        var(--purple),
        var(--pink)
    );
    background-size: 100% 300%;
    background-position: top;

    padding: 56px 80px;
    margin-bottom: 34px;
    border-radius: 20px;
    overflow: hidden;
    position: relative;

    display: flex;
    justify-content: center;
    align-items: center;

    animation: gradientDrop 1s ease forwards 1.3s;
}

.page-title {
    font-size: 56px;
    font-weight: 800;
    color: var(--brown);
    margin: 0;
    text-align: center;

    opacity: 0;
    transform: translateY(30px) scale(0.96);
    animation:
        titleMotion 1s cubic-bezier(0.2, 0.8, 0.2, 1) forwards,
        titleColorChange 0.8s ease forwards 1s;
}

@keyframes titleMotion {
    0% {
        opacity: 0;
        transform: translateY(30px) scale(0.96);
    }

    55% {
        opacity: 1;
        transform: translateY(-6px) scale(1.03);
    }

    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes gradientDrop {
    0% {
        background-position: top;
    }

    100% {
        background-position: bottom;
    }
}

@keyframes titleColorChange {
    to {
        color: var(--cream);
    }
}



       .products-layout {
    display: grid;
    grid-template-columns: 220px 1fr;
    gap: 26px;
    align-items: start;
}

.filters-sidebar {
    background: var(--cream);
    padding: 12px 0;
    position: sticky;
    top: 20px;
    max-height: calc(100vh - 40px);
    overflow-y: auto;

    scrollbar-width: thin;
    scrollbar-color: transparent transparent;
    transition: scrollbar-color 0.4s ease;
}

.filters-sidebar.scrolling {
    scrollbar-color: var(--purple) transparent;
}

.filters-sidebar::-webkit-scrollbar {
    width: 6px;
}

.filters-sidebar::-webkit-scrollbar-thumb {
    background: transparent;
    border-radius: 999px;
    transition: background 0.4s ease;
}

.filters-sidebar.scrolling::-webkit-scrollbar-thumb {
    background: var(--purple);
}

.filters-sidebar::-webkit-scrollbar-track {
    background: transparent;
}

.filter-title {
    font-size: 28px;
    font-weight: 700;
    padding: 0 14px 8px;
}

.filter-group {
    border-top: 1px solid var(--line);
    padding: 12px 14px;
}

.filter-group h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 10px;
}

.filter-option {
    display: flex;
    align-items: center;
    gap: 7px;
    width: 100%;
    margin-bottom: 7px;
    font-size: 14px;
    line-height: 1.3;
}

.filter-option input[type="checkbox"] {
    width: 13px;
    height: 13px;
    flex-shrink: 0;
    accent-color: var(--pink);
}

.price-range-wrap {
    position: relative;
    width: 100%;
    padding-top: 34px;
    margin-bottom: 8px;
}

.price-slider {
    width: 100%;
    height: 6px;
    border-radius: 999px;
    outline: none;
    appearance: none;
    background: #ddd;
}

.price-slider::-webkit-slider-thumb {
    appearance: none;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: #4a2f1d;
    cursor: pointer;
}

.price-slider::-moz-range-thumb {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: #4a2f1d;
    cursor: pointer;
    border: none;
}

.price-floating {
    position: absolute;
    top: 0;
    transform: translateX(-50%);
    background: var(--pink);
    color: #fff;
    font-size: 12px;
    padding: 5px 10px;
    border-radius: 2px;
    white-space: nowrap;
    pointer-events: none;
}

.price-min-max {
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    color: var(--brown);
}

.filter-actions {
    padding: 14px;
    display: flex;
    gap: 10px;
}



        .apply-btn,
        .clear-btn {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            height: 38px;
            border-radius: 999px;
            font-family: 'Baloo 2', cursive;
            font-size: 15px;
            border: none;
            cursor: pointer;
            padding: 0 18px;
            margin-right: 8px;
            transition: 0.3s ease;
        }

        .apply-btn {
            background: var(--purple);
            color: white;
        }

        .apply-btn:hover {
            background: var(--pink);
        }

        .clear-btn {
    padding: 10px 18px;
    border: 2px solid var(--purple);
    color: var(--purple);
    border-radius: 999px;
    text-decoration: none;
    font-size: 14px;
}

.clear-btn:hover {
    background: var(--purple);
    color: white;
}

        .products-main {
            min-width: 0;
        }

        .toolbar {
            background: var(--pink);
            color: white;
            padding: 14px 20px;
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 18px;
            gap: 16px;
            flex-wrap: wrap;
        }

        .toolbar-left {
            display: flex;
            align-items: center;
            gap: 10px;
            font-size: 16px;
        }

        .sort-select {
            background: transparent;
            border: none;
            color: white;
            font-family: 'Baloo 2', cursive;
            font-size: 16px;
            outline: none;
            cursor: pointer;
        }

        .sort-select option {
            color: black;
        }

        .toolbar-right {
            display: flex;
            align-items: center;
            gap: 12px;
            font-size: 16px;
        }

        .view-icons {
            display: flex;
            gap: 8px;
        }

        .view-link {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            width: 30px;
            height: 30px;
            border-radius: 6px;
            color: white;
            font-size: 16px;
            transition: 0.3s ease;
        }

        .view-link.active,
        .view-link:hover {
            background: rgba(108, 57, 154, 0.9);
        }

        .products-count {
            font-size: 15px;
            color: var(--text-light);
            margin-bottom: 16px;
        }

        .products-grid.grid-view {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 22px;
        }



.product-card {
    background: var(--cream);
    overflow: hidden;
    border-radius: 18px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.products-grid.grid-view .product-card img {
    width: 100%;
    height: 190px;
    object-fit: cover;
    display: block;
    background: #fff;
}

        .products-grid.list-view {
    display: grid;
    grid-template-columns: 1fr;
    gap: 14px;
}

.products-grid.list-view .product-card {
    display: grid;
    grid-template-columns: 140px 1.4fr 1fr 120px 110px;
    align-items: center;
    gap: 18px;
    background: var(--cream);
    border-radius: 0;
    box-shadow: none;
    padding: 12px 18px;
}

.products-grid.list-view .product-card img {
    width: 120px;
    height: 95px;
    object-fit: cover;
    background: #fff;
}

.products-grid.list-view .product-info {
    display: contents;
}

.products-grid.list-view .product-name {
    font-size: 18px;
    font-weight: 600;
    margin: 0;
}

.products-grid.list-view .product-price {
    font-size: 26px;
    margin: 0;
    color: var(--pink);
}

.products-grid.list-view .product-meta {
    font-size: 15px;
    margin: 0;
    color: var(--text-light);
}

.products-grid.list-view .stock-label {
    font-size: 14px;
    margin: 0;
}

.products-grid.list-view .view-btn {
    justify-self: end;
    width: 78px;
    height: 32px;
}
       

        .product-info {
            padding: 12px 12px 14px;
        }

        .product-name {
            font-size: 15px;
            font-weight: 500;
            line-height: 1.2;
            margin-bottom: 4px;
        }

        .product-price {
            font-size: 32px;
            font-weight: 700;
            color: var(--pink);
            line-height: 1;
            margin-bottom: 8px;
        }

        .product-meta {
            font-size: 13px;
            color: var(--text-light);
            margin-bottom: 8px;
        }

        .stock-label {
            display: inline-block;
            font-size: 12px;
            margin-bottom: 10px;
            color: var(--brown);
        }

        .view-btn {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            min-width: 60px;
            height: 24px;
            border-radius: 999px;
            background: var(--pink);
            color: white;
            font-size: 11px;
            padding: 0 12px;
            transition: 0.3s ease;
        }

        .view-btn:hover {
            background: var(--purple);
        }

        .empty-state {
            background: var(--cream);
            padding: 30px;
            font-size: 18px;
            border-radius: 12px;
        }

.tag {
    display: inline-block;
    margin-left: 6px;
    padding: 2px 8px;
    font-size: 10px;
    border-radius: 999px;
    background: var(--purple);
    color: white;
}

        @media (max-width: 1100px) {
            .products-grid.grid-view {
                grid-template-columns: repeat(2, 1fr);
            }
        }

        @media (max-width: 850px) {
            .products-layout {
                grid-template-columns: 1fr;
            }

            .filters-sidebar {
                order: 2;
            }

            .products-main {
                order: 1;
            }
        }

        @media (max-width: 600px) {
            .page-title {
                font-size: 42px;
            }

            .products-grid.grid-view {
                grid-template-columns: 1fr;
            }

            .products-grid.list-view .product-card {
                grid-template-columns: 1fr;
            }

            .products-grid.list-view .product-card img {
                height: 180px;
            }

            .toolbar {
                padding: 12px 14px;
            }
        }



.site-footer {
    margin-top: 100px;
    color: #fff;

    background: linear-gradient(
        270deg,
        #c34776,
        #6c399a,
        #c34776
    );

    background-size: 400% 400%;  
    animation: gradientMove 6s ease infinite;
}

@keyframes gradientMove {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

.footer-top {
    max-width: 1100px;
    margin: 0 auto;
    padding: 45px 50px 35px;
    display: grid;
    grid-template-columns: 1fr 1fr 1.1fr;
    gap: 40px;
}

.footer-column h3,
.footer-subtitle {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 14px;
    position: relative;
    display: inline-block;
}

.footer-column h3::after,
.footer-subtitle::after {
    content: "";
    display: block;
    width: 160px;
    height: 2px;
    background: #D9D462;
    margin-top: 6px;
}

.footer-column h3::after {
    content: "";
    display: block;
    width: 160px;
    height: 2px;
    background: #D9D462;
    margin-top: 6px;

    transform: scaleX(0);         
    transform-origin: left;
    transition: transform 0.4s ease;
}

.footer-column h3:hover::after {
    transform: scaleX(1); 
}

.footer-column ul {
    list-style: none;
    padding: 0;
    margin: 0 0 26px 0;
}

.footer-column ul li {
    margin-bottom: 8px;
}

.footer-column a {
    color: #fff;
    text-decoration: none;
    font-size: 18px;
    transition: opacity 0.3s ease;
}

.footer-column a:hover {
    opacity: 0.8;
}

.footer-social {
    display: flex;
    gap: 14px;
    margin-top: 24px;
}

.footer-social a {
    font-size: 24px;
    color: #fff;
}

.footer-map {
    width: 100%;
    max-width: 250px;
    height: auto;
    display: block;
    margin-bottom: 14px;
}

.footer-address,
.footer-phone {
    font-size: 14px;
    line-height: 1.7;
    color: #f7f0eb;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.25);
    text-align: center;
    padding: 18px 20px;
    font-size: 14px;
    background: rgba(0, 0, 0, 0.08);
}


@media (max-width: 900px) {
    .footer-top {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .footer-map {
        max-width: 100%;
    }
}