@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;
    }
}




.hero-section {
    position: relative;
    width: 100%;
    height: 520px;
    overflow: hidden;
    background: #e9dfd7;
}

.hero-slider {
    position: relative;
    width: 100%;
    height: 100%;
}

.slide {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.slide.active {
    opacity: 1;
}

.hero-overlay-box {
    position: absolute;
    left: 9%;
    bottom: 78px;
    background: rgba(245, 236, 218, 0.82);
    padding: 28px 36px;
    width: 580px;
    max-width: calc(100% - 40px);
    text-align: center;
    z-index: 2;
}

.hero-title {
    font-size: 28px;
    line-height: 1.2;
    color: #4a2f1d;
    margin-bottom: 10px;
}

.hero-text {
    font-size: 16px;
    line-height: 1.6;
    color: #5e4739;
    margin-bottom: 18px;
}

.hero-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 92px;
    height: 42px;
    padding: 0 24px;
    border-radius: 999px;
    font-size: 15px;
    font-weight: 500;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.hero-btn:hover {
    transform: translateY(-2px);
    opacity: 0.92;
}

.primary-btn {
    background: var(--purple);
    color: #fff;
    box-shadow: none;
    transition: background 0.3s ease;
}

.primary-btn:hover {
    background: var(--pink);
}

.category-section {
    padding: 80px 50px;
    background: #FFF6F1;
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    max-width: 1000px;
    margin: 0 auto;
}

.category-card {
    perspective: 1000px;
}

.category-card-inner {
    position: relative;
    width: 100%;
    height: 270px;
    transition: transform 0.7s;
    transform-style: preserve-3d;
}

.category-card:hover .category-card-inner {
    transform: rotateY(180deg);
}

.category-card-front,
.category-card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 12px;
    backface-visibility: hidden;
    overflow: hidden;
}

.category-card-front {
    background: linear-gradient(135deg, #6C399A, #C34776);
    text-align: center;
    color: #FFFAF3;
}

.category-card-front img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
}

.category-card-front p {
    margin-top: 10px;
    font-size: 15px;
}

.category-card-back {
    background: linear-gradient(270deg, #6C399A, #C34776, #6C399A);
    background-size: 400% 400%;
    animation: gradientMove 5s ease infinite;
    color: #fff;
    transform: rotateY(180deg);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 18px;
    text-align: center;
    padding: 20px;
}

.category-card-back h3 {
    font-size: 24px;
    font-weight: 700;
}

.category-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 100px;
    height: 42px;
    padding: 0 22px;
    border-radius: 999px;
    background: #fff;
    color: #6C399A;
    text-decoration: none;
    font-size: 16px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.category-btn:hover {
    background: #4a2f1d;
    color: #fff;
}

@media (max-width: 900px) {
    .middle-bar {
        grid-template-columns: 1fr;
        justify-items: center;
        text-align: center;
    }

    .top-icons {
        justify-content: center;
    }
}

@media (max-width: 700px) {
    .top-bar {
        justify-content: center;
        padding: 12px 16px;
    }

    .top-links,
    .top-tagline {
        justify-content: center;
        flex-wrap: wrap;
    }

    .category-list {
        justify-content: center;
    }

    .category-link {
        padding: 12px 14px;
        font-size: 15px;
    }
}



.container {
    max-width: 1000px;   
    margin: 0 auto;      
}

.recipe-section {
    padding: 100px 0;   
    background: #FFF6F1;
}

.recipe-title {
    font-size: 35px;
    margin-bottom: 20px;
	font-weight: 900;
}

.recipe-row {
    display: flex;
    align-items: center;
    gap: 40px;
    margin-bottom: 60px;
}

.recipe-row.reverse {
    flex-direction: row-reverse;
}

.recipe-row img {
    width: 50%;
    border-radius: 10px;
    object-fit: cover;
	height: 280px; 
}

.recipe-content {
    width: 50%;
}

.recipe-btn {
    display: inline-block;
    margin-top: 15px;
    padding: 10px 22px;
    border-radius: 999px;
    background: #6C399A;
    color: #fff;
    text-decoration: none;
    transition: 0.3s;
}

.recipe-btn:hover {
    background: #C34776;
}



.about-section {
    padding: 100px 0;  
    background: #FFF6F1;
}

.about-image {
    width: 100%;
    height: 350px;
    object-fit: cover;
    margin-bottom: 30px;
}

.about-text {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 25px;
    line-height: 1.7;
}

.about-btn {
    display: block;
    width: fit-content;
    margin: 0 auto;
    padding: 10px 30px;
    border-radius: 999px;
    background: #6C399A;
    color: #fff;
    text-decoration: none;
    transition: 0.3s;
}

.about-btn:hover {
    background: #C34776;
}
.about-title {
    text-align: center;
    font-size: 30px;
    font-weight: 700;
    margin-bottom: 15px;
}




.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%;
    }
}



.mobile-menu-btn {
    display: none;
}

@media (max-width: 768px) {
    .top-bar {
        min-height: auto;
        padding: 10px 14px;
        flex-direction: column;
        gap: 6px;
    }

    .top-links {
        position: static;
        gap: 16px;
        flex-wrap: wrap;
        justify-content: center;
    }

    .top-tagline {
        font-size: 13px;
        white-space: normal;
    }

    .middle-bar {
        padding: 16px 18px;
        grid-template-columns: 1fr;
        gap: 14px;
        justify-items: center;
    }

    .logo img {
        width: 82px;
    }

    .search-area {
        max-width: 100%;
        order: 3;
    }

    .top-icons {
        justify-content: center;
        gap: 30px;
    }

    .category-bar {
        padding: 12px 16px;
    }

    .mobile-menu-btn {
        width: 100%;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 10px;
        border: none;
        border-radius: 999px;
        padding: 12px 18px;
        background: linear-gradient(135deg, var(--purple), var(--pink));
        color: white;
        font-family: inherit;
        font-size: 17px;
        font-weight: 700;
        cursor: pointer;
    }

    .category-list {
        display: none;
        margin-top: 14px;
        flex-direction: column;
        align-items: stretch;
        gap: 8px;
        padding: 0;
    }

    .category-list.mobile-open {
        display: flex;
    }

    .category-item {
        position: relative;
        width: 100%;
        background: var(--cream);
        border-radius: 16px;
        overflow: hidden;
    }

    .category-link {
        width: 100%;
        justify-content: space-between;
        padding: 14px 16px;
        font-size: 17px;
        font-weight: 700;
    }

    .category-item:hover .mega-menu,
    .category-item:focus-within .mega-menu {
        display: none;
    }

    .category-item.mobile-active .mega-menu {
        display: block;
    }

    .mega-menu {
        position: static;
        transform: none;
        width: 100%;
        box-shadow: none;
        padding: 0 16px 16px;
        background: var(--cream);
    }

    .mega-menu-columns {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .mega-menu-column h4 {
        font-size: 16px;
        margin-bottom: 8px;
        color: var(--purple);
    }

    .mega-menu-column li {
        margin-bottom: 8px;
    }

    .mega-menu-column a {
        font-size: 15px;
    }
}