/* v2.1 keeps the original Wild Basil visual system while adding the requested behavior. */

body {
    padding-bottom: 0 !important;
}

.navbar-brand img {
    width: 60px;
    height: 60px;
    overflow: hidden;
    border: 2px solid rgba(255, 255, 255, .88);
    border-radius: 50%;
    background: #fff;
    object-fit: contain;
}

.side-order-pin {
    position: fixed;
    z-index: 1060;
    top: 50%;
    right: 0;
    display: flex;
    width: 64px;
    height: 64px;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    border: 1px solid rgba(16, 45, 34, .18);
    border-right: 0;
    color: var(--forest-deep);
    background: var(--lime);
    box-shadow: 0 12px 34px rgba(6, 22, 16, .28);
    font-size: 9px;
    font-weight: 900;
    letter-spacing: .08em;
    line-height: 1.25;
    text-align: center;
    text-transform: uppercase;
    transform: translateY(-50%);
}

.hero-swiper,
.hero-swiper .swiper-wrapper,
.hero-swiper .swiper-slide {
    width: 100%;
    height: 100%;
}

.hero-swiper .swiper-slide {
    position: relative;
    overflow: hidden;
}

/* v2.9.1: Hidden fade slides must not intercept the active slide's links. */
.hero-swiper .swiper-slide:not(.swiper-slide-active) .hero-content {
    pointer-events: none;
}

.hero-swiper .swiper-slide-active .hero-image {
    animation: heroZoom 7s ease-out forwards;
}

.hero-pagination.hero-indicators {
    z-index: 4;
    right: 42px !important;
    bottom: 38px !important;
    left: auto !important;
    display: flex;
    width: auto !important;
    gap: 12px;
}

.hero-pagination.hero-indicators .swiper-pagination-bullet {
    width: 44px;
    height: 36px;
    margin: 0 !important;
    border: 0;
    border-bottom: 1px solid rgba(255, 255, 255, .3);
    border-radius: 0;
    color: rgba(255, 255, 255, .46);
    background: transparent;
    font-size: 10px;
    font-weight: 700;
    line-height: 36px;
    text-align: center;
    opacity: 1;
}

.hero-pagination.hero-indicators .swiper-pagination-bullet-active {
    color: var(--lime);
    border-bottom-color: var(--lime);
}

.hero-scroll {
    z-index: 5;
}

.quick-icon img {
    width: 24px;
    height: 24px;
    filter: brightness(0) invert(1);
}

.favorite-grid > div:nth-child(5),
.favorite-grid > div:nth-child(6),
.favorite-grid > div:nth-child(7),
.favorite-grid > div:nth-child(8) {
    margin-top: 4px;
}

.favorite-body {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.favorite-body small {
    display: block;
    margin: 0 0 7px;
    line-height: 1;
}

.favorite-body h3 {
    margin: 0;
    line-height: 1.15;
}

.favorite-body p {
    margin-top: 10px;
}

.order-banner .container-xl.position-relative {
    background: radial-gradient(circle at 80% 48%, rgba(216, 234, 121, .11), transparent 30%);
}

.gallery-item,
.gallery-item:nth-child(2),
.gallery-item:nth-child(3),
.gallery-item:nth-child(4),
.gallery-item:nth-child(5),
.gallery-item:nth-child(6),
.gallery-item:nth-child(7),
.gallery-item:nth-child(8) {
    grid-column: span 4;
    grid-row: span 1;
    height: auto;
}

.gallery-item.gallery-tall {
    grid-column: span 5;
    grid-row: span 2;
}

.gallery-item:nth-child(2) {
    grid-column: span 3;
}

.gallery-item:nth-child(3) {
    grid-column: span 4;
}

.gallery-item:nth-child(4) {
    grid-column: span 4;
}

.gallery-item:nth-child(5) {
    grid-column: span 3;
}

.gallery-item:nth-child(9) {
    grid-column: span 12;
    grid-row: span 1;
    height: 340px;
}

.gallery-item.gallery-duo {
    grid-column: span 6;
    grid-row: span 1;
    height: 340px;
}

.gallery-item::after {
    display: none !important;
    content: none !important;
}

.contact-photo-wrap > a {
    position: absolute;
    inset: 0;
    display: block;
}

.contact-photo-wrap .contact-photo {
    min-width: 100%;
    min-height: 100%;
    object-fit: cover;
}

.contact-photo-label {
    pointer-events: none;
}

.contact-photo-wrap::after {
    display: none;
}

.contact-map-frame {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
    background: #e9e5dc;
}

.footer-brand img {
    width: 56px;
    height: 56px;
    flex: 0 0 auto;
    overflow: hidden;
    border: 2px solid rgba(255, 255, 255, .84);
    border-radius: 50%;
    background: #fff;
    object-fit: contain;
}

@media (max-width: 991.98px) {
    .navbar {
        position: relative;
    }

    .navbar-collapse {
        position: absolute;
        top: 100%;
        right: 0;
        left: 0;
        margin: 0;
        padding: 18px 32px 24px;
        border-top: 1px solid rgba(255, 255, 255, .1);
        background: rgba(9, 27, 21, .98);
        box-shadow: 0 18px 34px rgba(0, 0, 0, .2);
        backface-visibility: hidden;
        transform: translateZ(0);
    }

    .navbar-collapse.collapsing {
        overflow: hidden;
        transition: height .2s cubic-bezier(.22, .61, .36, 1);
        will-change: height;
    }

    .side-order-pin {
        top: 56%;
        width: 58px;
        height: 58px;
        font-size: 8px;
    }

    .hero-pagination.hero-indicators {
        right: 28px !important;
    }

    .gallery-item,
    .gallery-item:nth-child(2),
    .gallery-item:nth-child(3),
    .gallery-item:nth-child(4),
    .gallery-item:nth-child(5),
    .gallery-item:nth-child(6),
    .gallery-item:nth-child(7),
    .gallery-item:nth-child(8) {
        grid-column: span 3;
        grid-row: span 1;
    }

    .gallery-item.gallery-tall {
        grid-column: span 3;
        grid-row: span 2;
    }

    .gallery-item:nth-child(9) {
        grid-column: span 6;
        height: auto;
    }

    .gallery-item.gallery-duo {
        grid-column: span 3;
        height: auto;
    }

}

@media (max-width: 767.98px) {
    .hero-pagination.hero-indicators {
        right: auto !important;
        bottom: 22px !important;
        left: 12px !important;
    }

    .gallery-item,
    .gallery-item:nth-child(2),
    .gallery-item:nth-child(3),
    .gallery-item:nth-child(4),
    .gallery-item:nth-child(5),
    .gallery-item:nth-child(6),
    .gallery-item:nth-child(7),
    .gallery-item:nth-child(8),
    .gallery-item.gallery-tall {
        grid-column: span 1;
        grid-row: span 1;
        height: auto;
    }

    .gallery-item:first-child,
    .gallery-item:nth-child(9) {
        grid-column: span 2;
        height: auto;
    }

    .gallery-item.gallery-duo {
        grid-column: span 1;
        height: auto;
    }


    .gallery-item > span {
        opacity: 1;
        transform: none;
    }
}

@media (max-width: 575.98px) {
    .navbar-brand img {
        width: 46px;
        height: 46px;
    }

    .hero-actions {
        display: block;
    }

    .hero-actions .btn {
        display: inline-flex;
        min-width: 155px;
    }

    .side-order-pin {
        top: 58%;
        width: 54px;
        height: 54px;
        font-size: 7px;
    }

    .navbar-collapse {
        padding-right: 20px;
        padding-left: 20px;
    }

    .gallery-item,
    .gallery-item:first-child,
    .gallery-item:nth-child(2),
    .gallery-item:nth-child(3),
    .gallery-item:nth-child(4),
    .gallery-item:nth-child(5),
    .gallery-item:nth-child(6),
    .gallery-item:nth-child(7),
    .gallery-item:nth-child(8),
    .gallery-item:nth-child(9),
    .gallery-item.gallery-tall {
        grid-column: auto;
        grid-row: auto;
        height: auto;
    }

    .gallery-item.gallery-duo {
        grid-column: auto;
        height: auto;
    }

}

/* v2.7 uses sharp, wide menu dish photos in the Swiper slides. Their
   editorial framing lets the image fill the hero with minimal crop. */
.hero-swiper .swiper-slide {
    background: var(--forest-deep);
}

.hero-swiper .swiper-slide .hero-image,
.hero-swiper .swiper-slide-active .hero-image {
    object-fit: cover !important;
    object-position: center center;
    transform: none !important;
    animation: none !important;
}
