/* Front-of-site responsive refinements focused on mobile */

:root {
    --brand-green: #0fba81;
    --brand-dark: #0a7c55;
    --soft-border: #e8e8e8;
}

/* Hero slider */
.hero-slider {
    border-radius: 24px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08);
}

.hero-slider .intro-slide {
    min-height: 520px;
    position: relative;
    padding: 3rem 2rem;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    overflow: hidden;
}

.hero-slider .slide-image {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-slider .intro-slide picture,
.hero-slider .intro-slide img {
    object-fit: cover;
    display: block;
}

.hero-slider .intro-content {
    position: relative;
    inset-inline: auto;
    bottom: auto;
    text-align: center;
    padding: 1.25rem 1.5rem;
    background: rgba(4, 7, 15, 0.6);
    border-radius: 24px;
    margin: 2rem;
    z-index: 1;
}

/* Header search + sticky controls */
.header-utility-row {
    position: relative;
    row-gap: 1rem;
}

.header-search-wrapper {
    position: relative;
}

.header-search-modern {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(8, 12, 23, 0.85);
    border-radius: 18px;
   /* padding: 0.35rem 0.85rem;*/
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 12px 35px rgba(15, 15, 15, 0.25);
}

.header-search-modern input {
    border: none;
    flex: 1;
    background: transparent;
    font-size: 1rem;
    padding-inline: 0.35rem;
    color: #f6f8ff;
    margin:10px;
}

.header-search-modern input:focus {
    outline: none;
}

.header-search-modern .search-icon {
    width: 44px;
    height: 44px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.08);
    color: #dfe7ff;
}

.search-results-panel {
    position: absolute;
    inset-inline: 0;
    top: calc(100% + 0.65rem);
    background: #05090f;
    border-radius: 24px;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45);
    border: 1px solid rgba(255, 255, 255, 0.08);
    max-height: 420px;
    overflow-y: auto;
    z-index: 1050;
    padding: 0.5rem;
}

.search-results-panel .search-results {
    background: transparent;
    color: #f5f7ff;
}

.search-results-panel .search-results td {
    border-color: rgba(255, 255, 255, 0.1);
    color: #cfd7ff;
}

.search-results-panel .search-results td:nth-child(2) {
    color: #fff;
}

.header-middle {
    background: #050505;
    color: #fff;
    width: 100%;
}

.header-middle .container-fluid {
    max-width: 100%;
    padding-inline: 1.25rem;
}

.header-middle .row {
    margin-inline: 0;
}

.header-middle .menu > li > a,
.header-middle .menu .sf-with-ul {
    color: #f5f7ff;
}

.header-middle .menu > li > a:hover,
.header-middle .menu .sf-with-ul:hover {
    color: var(--brand-green);
}

.header-middle .icon-shopping-cart,
.header-middle .fas {
    color: #fff;
}

.sticky-header {
    position: sticky;
    top: 0;
    z-index: 1030;
    background-color: #2f2a2a;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.05);
}

.sticky-header.fixed {
    position: fixed;
}

.left-box-header {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 1rem;
    padding-top: 0;
}

.left-box-header > div {
    flex: initial;
}

/* Parent menu carousel cards */
.parent-menu-section .product {
    border-radius: 24px;
    overflow: hidden;
    border: 1px solid var(--soft-border);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.06);
    background: #fff;
}

.parent-menu-section .product-media {
    margin: 0;
}

.parent-menu-section .product-media img {
    width: 100%;
    height: 320px;
    object-fit: cover;
}

.parent-menu-section .product-body {
    padding: 1rem;
}

@media (max-width: 1199.98px) {
    .hero-slider .intro-slide {
        min-height: 420px;
    }
}

@media (max-width: 991.98px) {
    .hero-slider .intro-content {
        inset-inline: 1rem;
        bottom: 1.5rem;
    }

    .left-box-header {
        justify-content: space-between;
        width: 100%;
    }

    .header-search-modern {
        border-radius: 16px;
    }

    .header-middle .container-fluid {
        padding-inline: 0.75rem;
    }
}

@media (max-width: 767.98px) {
    .hero-slider {
        border-radius: 20px;
    }

    .hero-slider .intro-slide {
        min-height: 320px;
        padding: 2rem 1rem;
    }

    .hero-slider .intro-content {
        padding: 0.75rem 1rem;
        margin: 0 1rem;
    }

    .menu-box > [class*='col-'] {
        flex: 0 0 33.333%;
        max-width: 33.333%;
    }

    .menu-box img {
        width: 64px;
        height: 64px;
    }

    .search-results-panel {
        border-radius: 18px;
    }
}

@media (max-width: 575.98px) {
    .hero-slider .intro-slide {
        min-height: 260px;
        padding: 1.5rem 0.75rem;
    }

    .hero-slider .intro-content {
        font-size: 0.85rem;
        padding: 5.2rem 3.85rem;
        margin: 0;
        line-height: 1.35;
    }

    .hero-slider .intro-content .intro-title {
        font-size: 1.1rem;
    }

    .hero-slider .intro-content .intro-subtitle {
        font-size: 0.9rem;
    }

    .header-search-modern {
        flex-wrap: wrap;
        gap: 0.35rem;
        border-radius: 20px;
    }

    .header-search-modern .search-icon {
        width: 40px;
        height: 40px;
    }

    .hero-slider .intro-slide {
        min-height: 260px;
    }

    .parent-menu-section .product-media img {
        height: 220px;
    }
}

