/*
Template Name: Swiggiweb WordPress Theme
Description: Ported from Swiggiweb HTML5 template by Askbootstrap
Version: 1.0
*/

/* ── Google Font ── */
@import url('https://fonts.googleapis.com/css2?family=Mulish:wght@200;300;400;500;600;700;800;900&display=swap');

/* ── Base ── */
body {
    font-family: 'Mulish', sans-serif;
    font-size: 13px;
    color: #000000;
    background: #f5f5f5;
}

.fw-bold { font-weight: 600 !important; }
.small, small { font-size: 11px !important; }
div, a { outline: none !important; }
a { color: #e23744; text-decoration: none !important; }
p { color: #424242; letter-spacing: 0.2px; }
.btn-link { font-weight: 400; color: #e23744; text-decoration: none !important; }
.border-primary { border-color: #e23844 !important; }
.w-300 { max-width: 300px; }
.form-control { box-shadow: none !important; }
.form-control, .btn { font-size: 13px; }

/* ── Brand Colors ── */
.bg-primary {
    background: #d92662;
    background: -moz-linear-gradient(45deg, #d92662 0%, #e23744 100%);
    background: -webkit-linear-gradient(45deg, #d92662 0%, #e23744 100%);
    background: linear-gradient(45deg, #d92662 0%, #e23744 100%) !important;
}
.text-primary { color: #e23744 !important; text-decoration: none !important; }

.btn-primary {
    background: #d92662;
    background: linear-gradient(45deg, #d92662 0%, #e23744 100%);
    border-color: #d92662;
    color: #fff;
}
.btn-primary:hover {
    background: linear-gradient(135deg, #d92662 0%, #e23744 100%);
    border-color: #e23744;
}
.btn-outline-primary { color: #e23744; border-color: #e23744; }
.btn-outline-primary:hover {
    color: #fff;
    background: linear-gradient(135deg, #d92662 0%, #e23744 100%);
    border-color: #e23744;
}

/* ── Slick Slider ── */
.slick-slider { margin: 0 -8px; }
.slick-slide { padding: 8px; }
.slick-dots { bottom: 20px !important; }

.offer-slider.slick-initialized, .cat-slider.slick-initialized,
.category-slider.slick-initialized, .trending-slider.slick-initialized,
.popular-slider.slick-initialized, .osahan-slider.slick-initialized,
.osahan-slider-map.slick-initialized {
    visibility: visible; opacity: 1;
}
.offer-slider, .cat-slider, .category-slider, .trending-slider,
.popular-slider, .osahan-slider, .osahan-slider-map {
    opacity: 0; visibility: hidden;
    transition: opacity 1s ease;
}

.slick-prev, .slick-prev:hover, .slick-prev:focus,
.slick-next, .slick-next:hover, .slick-next:focus {
    background-size: 6px;
    width: 34px;
    border-radius: 50px;
    height: 34px;
    margin: 0 8px;
    background-color: #fff;
    box-shadow: 0 .125rem .25rem rgba(0,0,0,.075) !important;
    border: 1px solid #e4e7ea;
    z-index: 9;
}
.slick-next:before, .slick-prev:before { display: none; }

/* ── Fixed Bottom Bar ── */
.fixed-bottom-bar { padding-bottom: 0; }
.fixed-bottom {
    height: 58px;
    border-radius: 0;
    box-shadow: 10px -1px 10px rgba(0,0,0,.075);
}
.fixed-bottom .btn { border-radius: 0; border: none; height: 58px; }
.modal-footer .btn { border-radius: 0; }

/* ── Header / Nav ── */
.section-header { position: sticky; top: 0; z-index: 1030; }
.header-main .container { position: relative; }
.brand-wrap img { height: 40px; }
.header-main-user { height: 32px; }
.header-user { height: 32px; }
.drop-loc { width: 250px; }
.m-none { /* hidden on mobile, toggled via media query */ }

/* ── Category / Food Icons ── */
.cat-slider img, .category-slider img {
    width: 38px;
    margin: auto;
    -webkit-filter: saturate(200%);
    filter: saturate(200%);
}
.cat-item a:hover { transform: translateY(-3px); }

/* ── Dropdowns ── */
.dropdown-menu {
    background: #fff;
    border-radius: .40rem !important;
    margin: 0;
    padding: 6px;
    border: 1px solid #fff;
    box-shadow: 0 6px 10px rgba(0,0,0,.1) !important;
    display: block;
    visibility: hidden;
    opacity: 0;
    transform: translateY(50px);
    transition: .5s ease all;
}
.dropdown:hover .dropdown-menu,
.dropdown-menu.show {
    display: block; visibility: visible; opacity: 1;
    transform: translateY(0);
}
.dropdown-item { padding: 6px 10px; }
.dropdown .dropdown-menu, .dropdown-item { font-size: 13px; border-radius: 6px; margin: 1px 0; }

/* ── Grid Card ── */
.grid-card span.float-end.text-black-50 { display: none; }
.grid-card .p-3 { padding: 10px !important; }

/* ── List Card ── */
.list-card .count-number { margin: 4px 0 0; display: inline-block; }
.list-card a, .list-card h6 {
    color: inherit; overflow: hidden;
    white-space: nowrap; font-size: 15px; text-overflow: ellipsis;
}
.list-card a:hover { color: #0091bc; }
.list-card .star { right: 8px; bottom: 8px; }
.list-card .star .badge, .list-card .member-plan .badge {
    font-size: 11px; padding: 5px;
    box-shadow: 0 .125rem .25rem rgba(0,0,0,.075) !important;
}
.list-card .member-plan { left: 8px; top: 8px; }
.list-card .list-card-image { position: relative; }
.list-card .favourite-heart {
    right: 8px; top: 8px;
    box-shadow: 0 .125rem .25rem rgba(0,0,0,.075) !important;
}
.list-card .favourite-heart i {
    background: #fff; width: 23px; height: 23px;
    display: inline-block; text-align: center;
    font-size: 15px; line-height: 24px; border-radius: 50px;
}
.list-card.d-flex .list-card-image {
    width: 130px; height: 140px;
    min-width: 130px; max-width: 130px;
}
.list-card.d-flex .list-card-image .item-img { height: 140px; object-fit: cover; }
.list-card .list-card-body p.text-gray {
    overflow: hidden; white-space: nowrap;
    text-overflow: ellipsis; font-size: 12px;
}
.list-card .p-3 { overflow: hidden; }
.list-card.d-flex .list-card-body span.float-end.text-black-50 { display: none; }

/* ── Menu Footer ── */
.osahan-menu-fotter { padding: 0 !important; }
.osahan-menu-fotter .row { margin: 0; }
.osahan-menu-fotter .col { padding: 0; }
.osahan-menu-fotter .col a { padding: 12px; display: block; }
.osahan-menu-fotter .col a p { font-size: 19px; }
.osahan-menu-fotter .col.selected a { color: #dc3545; background: #f8f9fa; }
.osahan-menu-fotter .col.selected p { color: #dc3545; }

/* ── Cart ── */
.gold-members h6, .menu-list h6 { font-size: 14px; }
.gold-members .badge, .menu-list .badge { font-size: 10px; font-weight: 500; padding: 4px 6px 3px; }
.menu-list img { width: 41px; height: 41px; object-fit: cover; }
.count-number .btn { padding: 2px 5px; font-size: 12px; border-radius: 0; }
.count-number-input {
    width: 24px; text-align: center; margin: 0 -4px;
    background: #6c757d; border: none; color: #fff;
    height: 24px; border-radius: 0; vertical-align: bottom;
}
.non_veg, .veg {
    width: 20px; border: 1px solid; height: 20px;
    border-radius: 3px; font-size: 32px; text-align: center; line-height: 0;
}
.gold-members .me-2 {
    border: 1px solid; width: 15px; height: 15px;
    text-align: center; border-radius: 3px;
    font-size: 35px; line-height: 7px;
}

/* ── Sticky Sidebar ── */
.sticky_sidebar, .c-t-order, .osahan-account {
    position: sticky; top: 15px;
}
.c-t-order li { border: none !important; margin: 5px 4px !important; }
.c-t-order li a {
    background: #fff; border-radius: 6px !important;
    padding: 12px 14px !important; display: flex; align-items: center;
}
.c-t-order li a i {
    background: #fff; border: 1px solid #eff2f5;
    padding: 5px; border-radius: 50px;
    box-shadow: 0 .125rem .25rem rgba(0,0,0,.075) !important;
    font-size: 18px; vertical-align: bottom;
}
.c-t-order li a.active, .c-t-order li a:hover { background: #eff2f5 !important; }
.c-t-order li a.active i { background: #e23844; color: #fff !important; border-color: transparent; }

/* ── Rating Stars ── */
.rating-stars .feather-star {
    font-size: 10px; background: #000; color: #fff;
    padding: 2px; text-shadow: 0 0 1px #d2b128; border-radius: 5px;
}
.rating-stars .feather-star.star_active { background: #f5cd25; }

/* ── Login Page ── */
.login-page { background: #fff; }
.login-page video { width: 50%; position: absolute; bottom: 0; right: 50%; }
.login-page .form-control {
    background: none; border: none; color: #000;
    border-bottom: 1px solid rgb(160 160 160 / 32%);
    border-radius: 0; padding: 0; box-shadow: none !important;
}
.login-page .form-control:hover,
.login-page .form-control:focus { color: #000; border-bottom: 1px solid #000; }
.login-page label { margin: 0; opacity: .8; }
.login-page .form-group { margin-bottom: 30px; }

/* OTP */
.otp input.form-control.form-control-lg {
    text-align: center !important; font-size: 44px;
    border: 1px solid #ccc !important; border-radius: 8px; margin: auto;
}

/* ── Verification ── */
.osahan-verification .form-control {
    text-align: center; font-size: 47px;
    border-bottom: 2px solid #ccc !important;
    border: none; border-radius: 0; font-weight: 300; box-shadow: none;
}

/* ── Filter ── */
.filter .form-check-input:checked { border-color: #e23744; background-color: #e23744; }
.border-custom-radio label.form-check-label.w-100.border.rounded {
    position: absolute; top: 0; bottom: 0; left: 0; right: 0;
    box-shadow: 0 0 1px #000; border: none !important;
}
.border-custom-radio a.btn {
    z-index: 1; position: absolute; width: auto !important;
    right: 14px; bottom: 14px; border: 2px solid #ccc !important;
    border-radius: 8px !important; text-transform: uppercase;
    font-weight: 700; font-size: 12px; padding: 3px 10px;
}
.border-custom-radio .form-check-input { display: none; }
.border-custom-radio .form-check-input:checked {
    width: 100%; height: 100%; margin: 0;
    background: none; border-radius: .40rem !important;
    pointer-events: none; position: absolute;
    border-color: #d92662; border: 2px solid #d92662; display: block;
}

/* ── Restaurant Page ── */
.restaurant-pic { position: absolute; right: 15px; height: 148px; border-radius: 4px; margin: 9px 0; }
.restaurant-detailed-ratings-and-reviews hr { margin: 0 -16px; }
.reviews-members-footer img { width: 22px; height: 22px; border: 2px solid #fff; box-shadow: 0 0 12px #ccc; margin: 0 -3px; }
.total-like { font-size: 11px; padding: 2px 6px; }
.reviews-members-body p { font-size: 12px; }
.reviews-members-header h6 { font-size: 14px; }
.graph-star-rating-body .progress { border-radius: 40px; height: 6px; }
.rating-list { display: flex; margin: 6px 0; align-items: center; justify-content: space-between; }
.rating-list-center { margin: auto; width: 70%; }
.rating-list-left { width: 20%; font-size: 10px !important; font-weight: 400 !important; }
.rating-list-right { width: 10%; text-align: right; font-size: 10px !important; font-weight: 400 !important; }
.offer-section { background-color: #000; }
.mt-n3 { margin-top: -1rem; }

/* ── Most Popular ── */
.most_popular .trending-slider img { border-radius: 10px; padding: 0 4px; margin: 8px 0 0; }

/* ── Map Page ── */
.osahan-track-order-page { min-height: 676px; }
.food-item {
    border: 1px solid; border-radius: 2px; display: inline-block;
    font-size: 31px; height: 12px; line-height: 5px; text-align: center;
    width: 12px; vertical-align: text-bottom; padding: 0 2px; margin: 0 3px 2px 0;
}
.osahan-point {
    z-index: 1; width: 50%; border-radius: 50%; padding-bottom: 50%;
    pointer-events: none; background-color: rgba(225,48,8,.2);
    border: 1px solid #ff3008;
}
.osahan-map iframe { width: 100% !important; }
.osahan-map .toggle { z-index: 9; margin: 2px 0 0 4px; }
.osahan-map .mapouter.position-absolute { width: 100%; height: 100vh; }
.osahan-map .bg-primary.border-bottom { position: absolute; z-index: 9; width: 100%; }
.osahan-map .fixed-bottom { padding: 10px 0; }
.osahan-map .list-card.d-flex .list-card-image { width: 100px; height: 100px; min-width: 100px; max-width: 100px; }
.osahan-map .list-card.d-flex .list-card-image .item-img { width: 100px; height: 100px; }
.osahan-map .member-plan {
    text-align: center; background: rgba(255,255,255,.18);
    font-size: 12px; padding: 7px 5px; margin: 0 1px; border-radius: 43px;
}

/* ── Search ── */
.input_search { border-radius: 50px 0 0 50px; }
.border_search { border-radius: 0 50px 50px 0 !important; }

/* ── Tabs ── */
.custom-tabs.nav-tabs .nav-item.show .nav-link,
.custom-tabs.nav-tabs .nav-link.active { border-bottom: 2px solid #d92662 !important; }
.search .nav-tabs .nav-link.active {
    border-bottom: 2px solid #dc375d !important;
    background-color: #dc375d !important; color: #fff !important;
}
.nav-tabs .nav-link.active { border-bottom: 2px solid #dc375d !important; color: #dc375d !important; }

/* ── Offers ── */
.offers_img { height: 130px; }
.order_img { height: 88px; }

/* ── Landing Page ── */
.landing-page-skip .img-fluid { max-height: 290px; }
.landing-page-skip p { margin: 0; }
.landing-page-skip .zindex { right: 0; z-index: 9; }
.landing-page-skip .slick-dotted.slick-slider { margin: 0; }
.landing-page-skip .osahan-slider-item { padding: 0 20px; }
.btn-lg { font-size: 16px; padding: 16px; font-weight: 600; }
.location-page .img-fluid { max-width: 360px; }
.index-page img { height: 130px; }

/* ── Facebook Button ── */
.btn-facebook {
    background: linear-gradient(45deg, #3b5998 0%, #2b4170 100%);
    border-color: #3b5998; color: #fff !important;
}

/* ── Scroll Bar ── */
::-webkit-scrollbar { width: 4px; background-color: #fff; }
::-webkit-scrollbar-thumb { height: 50px; background: hsla(0,0%,53.3%,.4); border-radius: 7px; }
::-webkit-scrollbar-button { width: 0; height: 0; display: none; }
::-webkit-scrollbar-corner { background-color: transparent; }

/* ── Modal ── */
.modal-content { border: none !important; }

/* ── Spinner ── */
.spinner {
    width: 180px; height: 180px; margin: auto;
    background-color: #fff; position: absolute;
    left: 0; right: 0; top: 0; bottom: 0;
    pointer-events: none; border-radius: 100%;
    -webkit-animation: sk-scaleout 1s infinite ease-in-out;
    animation: sk-scaleout 1s infinite ease-in-out;
}
@keyframes sk-scaleout {
    0% { transform: scale(0); }
    100% { transform: scale(1); opacity: 0; }
}

/* ── Bounce Animation ── */
@keyframes bounceRight {
    0%, 20%, 50%, 80%, 100% { transform: translateX(0); }
    40% { transform: translateX(-30px); }
    60% { transform: translateX(-15px); }
}
.feather-arrow-right { animation: bounceRight 2s infinite; }

/* ── Footer ── */
footer .text-muted { color: #bdbdbd !important; }
.hov_footer a:hover { color: #fff !important; }
.section-footer { background: #000 !important; }
.section-footer .border-top { border-top: 1px solid rgba(222,226,230,.09) !important; }
.section-footer ul li { line-height: 29px; }
.section-footer ul { margin: 0; }
.footer-about img { height: 42px; background: #fff; border-radius: 50px; padding: 4px; }
.footer-about .btn {
    padding: 0; border: 1px solid #3d3d3e;
    display: flex; align-items: center; justify-content: center;
    width: 25px; height: 25px;
}
.footer-about p.text-muted { line-height: 23px; }

/* ── WordPress-specific ── */
.page-hero {
    background: linear-gradient(45deg, #d92662 0%, #e23744 100%);
    color: #fff; padding: 48px 0 40px;
}
.page-hero .breadcrumb { margin-top: 10px; margin-bottom: 0; }
.page-hero .breadcrumb-item+.breadcrumb-item::before { color: rgba(255,255,255,.55); }
.page-hero .breadcrumb-item a { color: rgba(255,255,255,.8); }
.page-hero .breadcrumb-item a:hover { color: #fff; }
.page-hero .breadcrumb-item.active { color: rgba(255,255,255,.9); }

.entry-content { line-height: 1.8; }
.entry-content img { max-width: 100%; height: auto; border-radius: 6px; }
.entry-content a { color: #e23744; }

.widget-title { font-size: 1rem; font-weight: 700; border-bottom: 2px solid #e23744; padding-bottom: 8px; margin-bottom: 15px; }
.widget ul { list-style: none; padding: 0; }
.widget ul li { padding: 5px 0; border-bottom: 1px solid #f0f0f0; font-size: .875rem; }
.widget ul li a { color: #333; }
.widget ul li a:hover { color: #e23744; }

.alignleft { float: left; margin-right: 1.5em; margin-bottom: 1em; }
.alignright { float: right; margin-left: 1.5em; margin-bottom: 1em; }
.aligncenter { display: block; margin-left: auto; margin-right: auto; margin-bottom: 1em; }

/* ── Mobile Media ── */
@media (max-width: 992px) {
    .container, .container-md, .container-sm { max-width: 100%; }
    .m-none { display: none !important; }
    .section-header { display: none; }
    .header-main { height: 67px; }
    .header-main .row.align-items-center { height: 67px; }
    .header-main .col-8 { flex: unset; margin-left: auto; padding: 0; }
    .restaurant-pic { display: none; }
    .fixed-bottom-bar { padding-bottom: 56px; }
    footer.section-footer.border-top.bg-dark { display: none; }
    .pb-5, .py-5 { padding-bottom: 1rem !important; }
    .pt-5, .py-5 { padding-top: 1rem !important; }
    .login-page video { display: none; }
}
@media (max-width: 576px) {
    .m-none { display: none !important; }
    .section-header { display: none; }
    .fixed-bottom-bar { padding-bottom: 56px; }
    footer.section-footer { display: none; }
}
