﻿

    body {
        background: #FFF7E8;
        font-family: "Poppins", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    }

    .navbar {
        background: linear-gradient(90deg, #FF6FB5, #7EC8FF);
    }

    .navbar-brand {
        font-weight: 800;
        letter-spacing: 1px;
    }

    .cookie-hero {
        background: radial-gradient(circle at top left, #FF6FB5, #FFF7E8);
        padding: 1rem 1rem;
    }

    .cookie-badge {
        background: #FF6FB5;
        color: #fff;
        border-radius: 999px;
        padding: 0.35rem 0.9rem;
        font-size: 0.8rem;
        text-transform: uppercase;
        letter-spacing: 1px;
    }

    .cookie-card .card-body {
        min-height: 180px; /* adjust as needed */
    }

    .cookie-card {
        border-radius: 1.5rem;
        border: none;
        box-shadow: 0 10px 25px rgba(0,0,0,0.08);
    }

        .cookie-card img {
            border-top-left-radius: 1.5rem;
            border-top-right-radius: 1.5rem;
        }

    .cookie-pill {
        border-radius: 999px;
    }

    footer {
        background: #FF6FB5;
        color: #fff;
    }


    .hover-img-wrapper {
        position: relative;
        width: 100%;
        height: 180px;
        overflow: hidden;
    }

        .hover-img-wrapper img {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: opacity 0.4s ease;
            border-radius: 0.5rem;
        }

        .hover-img-wrapper .main-img {
            opacity: 1;
            z-index: 1;
        }

        .hover-img-wrapper .hover-img {
            opacity: 0;
            z-index: 2;
        }

        .hover-img-wrapper:hover .main-img {
            opacity: 0;
        }

        .hover-img-wrapper:hover .hover-img {
            opacity: 1;
        }

    .seroni-btn {
        border-radius: 50px;
        padding: 12px 28px;
        font-weight: 600;
        font-size: 1.05rem;
        transition: 0.2s ease;
    }

    .seroni-btn-uber {
        background: #000;
        color: #fff;
    }

        .seroni-btn-uber:hover {
            background: #333;
        }

    .seroni-btn-doordash {
        background: #ff2d2d;
        color: #fff;
    }

        .seroni-btn-doordash:hover {
            background: #e60000;
        }

    .footer-divider {
        width: 100%;
        margin: 0;
        opacity: 0.2;
        transition: 0.3s ease;
    }

        .footer-divider:hover {
            opacity: 0.6;
            box-shadow: 0 0 8px #d63384;
        }

    .cookie-divider {
        width: 180px;
        margin: 0 auto 10px auto;
        opacity: 0.3;
        border: none;
        height: 12px;
        background: url('assets/img/cookie-divider.png') center/contain no-repeat;
        animation: fadeIn 1s ease forwards;
    }

    @keyframes fadeIn {
        from {
            opacity: 0;
            transform: translateY(10px);
        }

        to {
            opacity: 1;
            transform: translateY(0);
        }
    }


    .footer-fade {
        animation: fadeIn 0.8s ease forwards;
    }

    .cookie-line {
        height: 20px;
        width: 200px;
        margin: 0 auto;
        background: url('assets/img/Choco.jpeg') repeat-x center;
        background-size: contain;
        opacity: 0;
        animation: fadeIn 1s ease forwards;
        transition: 0.3s ease;
    }

        .cookie-line:hover {
            filter: drop-shadow(0 0 6px #d63384);
        }

    .pastel-cookie-divider {
        height: 18px;
        width: 220px;
        margin: 0 auto;
        background: url('assets/img/pastel-cookie-pattern.png') repeat-x center;
        background-size: contain;
        opacity: 0;
        animation: fadeIn 1s ease forwards;
        transition: 0.3s ease;
    }

        .pastel-cookie-divider:hover {
            filter: drop-shadow(0 0 6px #ff9ad1);
        }




.fullbook{
    width:100%;
    height:100%;
}

.book {
    position: relative;
    display: flex;
    margin: auto;
    width: 80cqmin;
    /*1* let pointer event go trough pages of lower Z than .book */
    pointer-events: none;
    transform-style: preserve-3d;
    transition: translate 1s;
    translate: calc(min(var(--c), 1) * 50%) 0%;
    /* Incline on the X axis for pages preview */
    rotate: 1 0 0 30deg;
}
/* Restore flipbook functionality */
.page {
    /* Flipbook engine (must stay) */
    --thickness: 1;
    flex: none;
    width: 100%;
    font-size: 100%;

    pointer-events: all;
    user-select: none;
    transform-style: preserve-3d;
    transform-origin: left center;
    transition: transform 1s, rotate 1s ease-in calc((min(var(--i), var(--c)) - max(var(--i), var(--c))) * 50ms);
    translate: calc(var(--i) * -100%) 0px 0px;
    transform: translateZ(calc((var(--c) - var(--i) - 1) * calc(var(--thickness) * .23cqmin)));
    rotate: 0 1 0 calc(clamp(0, var(--c) - var(--i), 1) * -180deg);
    /* Your layout (safe to keep) */
    position: relative;
    height: 600px;
    padding: 25px 30px;
    background: #fff;
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    overflow: hidden;
}

.front,
.back {
    position: relative;
    flex: none;
    width: 100%;
    backface-visibility: hidden;
    overflow: hidden;
    background-color: #fff;
    /* Fix backface visibility Firefox: */
    translate: 0px;
}

.back {
    translate: -100% 0;
    rotate: 0 1 0 180deg;
}
/* That's it. Your FlipBook customization styles: */

.book {
    counter-reset: page -1;

    & a {
        color: inherit;
    }
}

.page {
    box-shadow: 0em .5em 1em -.2em #00000020;
}

/* Only cover pages should stretch images */
.cover-page img,
.back-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}


    &:has(img) {
        padding: 0;
    }

    & img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

/*    &::after {
        position: absolute;
        bottom: 1em;
        counter-increment: page;
        content: counter(page) ".";
        font-size: 0.8em;
    }*/
}

.cover {
    &::after {
        content: "";
    }
}

.front {
    &::after {
        right: 1em;
    }

    background: linear-gradient(to left, #f7f7f7 80%, #eee 100%);
    border-radius: .1em .5em .5em .1em;
}


/*    @media (max-width: 768px) {
        #flipbook .page {
            transform: scale(0.85);
            width: 118%;
        }
    }*/
.cover-page {
    display: flex !important;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    height: 600PX;
    padding: 40px 20px !important;
    background: linear-gradient(135deg, #ffe9d6, #fff5ec);
    border-radius: 10px;
    box-shadow: inset 0 0 0 6px #d4a24c;
    position: relative;
    overflow: hidden;
}

    /* Soft vignette */
    .cover-page::after {
        content: "";
        position: absolute;
        inset: 0;
        border-radius: 10px;
        pointer-events: none;
        box-shadow: inset 0 0 120px rgba(0,0,0,0.25);
        z-index: 1;
    }

    /* Watermark */
    .cover-page::before {
        content: "S";
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        font-size: 200px;
        font-weight: bold;
        color: rgba(196, 122, 61, 0.08);
        pointer-events: none;
        z-index: 0;
    }

/* Title */
.cover-title {
    font-size: 100%;
    font-weight: bold;
    text-align: center;
    background: linear-gradient(90deg, #c47a3d, #f7d08a, #c47a3d);
    background-size: 200% auto;
    color: transparent;
    -webkit-background-clip: text;
    background-clip: text;
    animation: shimmer 3s linear infinite;
    z-index: 2;
}

@keyframes shimmer {
    0% {
        background-position: 0% center;
    }

    100% {
        background-position: 400% center;
    }
}

/* Center logo */
.cover-logo {
    width: 100%;
    height: 180px;
    object-fit: contain;
    display: block;
    margin: 0 auto;
    z-index: 2;
}

/* Subtitle */
.cover-subtitle {
    font-size: 100%;
    color: #8a5a2f;
    text-align: center;
    z-index: 2;
}

/* Signature */
.cover-signature {
    font-size: 100%;
    color: #b07a45;
    font-style: italic;
    text-align: center;
    z-index: 2;
}

.menu-item {
    display: flex;
    gap: 12px;
    padding: 10px 0;
    border-bottom: 1px solid #eee;
    height:100%;
}

/* Normal item images */
.item-img {
    width: 90PX;
    height: 90px;
    object-fit: cover;
    border-radius: 6px;
    transition: 0.4s ease;
}

.gallery-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: 0.4s ease;
}

.gallery-card:hover .img1 {
    opacity: 0;
}

.gallery-card:hover .img2 {
    opacity: 1;
}
.img2 {
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
}
.item-info {
    flex: 1;
    display: flex;
    flex-direction: column;

}
.category-title {
    font-size: 28px;
    font-weight: bold;
    color: #8a5a2f;
    margin-bottom: 15px;
}

.item-name {
    font-size: 20px;
    font-weight: bold;
    color: #333;
}

.item-description {
    font-size: 15px;
    color: #666;
}
.gallery-card {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    transition: 0.3s ease;
    background: #fff;
    cursor: pointer;
    height: 100%; /* equal height */
    display: flex;
    flex-direction: column;
}
.gallery-wrapper {
    position: relative;
}
.card-body-fixed {
    flex-grow: 1; /* makes all cards same height */
}

.add-btn {
    margin-top: auto;
}





.menu-card {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    transition: 0.2s ease;
    background: #fff;
}

    .menu-card:hover {
        transform: translateY(-4px);
        box-shadow: 0 8px 25px rgba(0,0,0,0.12);
    }

.cart-count {
    background: red;
    color: white;
    padding: 2px 6px;
    border-radius: 10%;
    font-size: 12px;
    margin-left: 4px;
}