/* Google Fonts Import */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Poppins:wght@300;400;500;600;700;800&display=swap');

/* Color Variables & Custom Resets */
:root {
    --primary-orange: #FF6B00;
    --primary-hover: #E05E00;
    --secondary-yellow: #FFC107;
    --secondary-hover: #E0A800;
    --bg-warm: #FFF8F0;
    --text-dark: #2B2B2B;
    --text-muted: #6C757D;
    --white: #FFFFFF;
    --shadow-soft: 0 10px 30px rgba(0, 0, 0, 0.04);
    --shadow-hover: 0 15px 40px rgba(255, 107, 0, 0.1);
    --border-radius-lg: 16px;
    --border-radius-md: 12px;
}

body {
    font-family: 'Inter', sans-serif;
    font-size: 15px;
    line-height: 1.6;
    background-color: var(--bg-warm);
    color: var(--text-dark);
    overflow-x: hidden;
}

/* Typography Helpers */
.fw-bold {
    font-weight: 600 !important;
}

h1,
h2,
h3,
h4,
h5,
h6,
.navbar-brand span {
    font-family: 'Poppins', sans-serif;
    color: var(--text-dark);
}

h1 {
    font-size: 36px !important;
    font-weight: 700 !important;
    line-height: 1.2;
    letter-spacing: -0.5px;
}

h2 {
    font-size: 28px !important;
    font-weight: 700 !important;
    line-height: 1.3;
    letter-spacing: -0.4px;
}

h3,
.modal-title {
    font-size: 22px !important;
    font-weight: 600 !important;
    line-height: 1.3;
}

h4,
.category-title {
    font-size: 20px !important;
    font-weight: 600 !important;
    letter-spacing: -0.3px;
}

h5,
.product-title {
    font-size: 18px !important;
    font-weight: 600 !important;
    letter-spacing: -0.2px;
}

h6 {
    font-size: 15px !important;
    font-weight: 600 !important;
}

p {
    font-size: 15px !important;
    line-height: 1.6 !important;
    max-width: 65ch;
    margin-top: 0;
    margin-bottom: 12px;
}

.lead {
    font-size: 16px !important;
    line-height: 1.6 !important;
    font-weight: 400 !important;
    max-width: 65ch;
    color: rgba(255, 255, 255, 0.9) !important;
}

/* Custom Navbar - Base (all pages) */
.navbar-custom {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1030;
    transition: box-shadow 0.3s ease;
}

/* Fixed navbar variant - only index page */
.navbar-fixed {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
}

.navbar-custom.scrolled {
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.10);
}


.navbar-brand img {
    height: 45px;
}

.navbar-custom .nav-link {
    color: var(--text-dark);
    font-weight: 500;
    padding: 8px 16px;
    border-radius: 30px;
    transition: all 0.3s ease;
}

.navbar-custom .nav-link:hover,
.navbar-custom .nav-link.active {
    color: var(--white);
    background-color: var(--primary-orange);
}

.cart-icon-btn {
    position: relative;
    background: none;
    border: none;
    font-size: 24px;
    color: var(--text-dark);
    transition: transform 0.2s;
}

.cart-icon-btn:hover {
    transform: scale(1.1);
    color: var(--primary-orange);
}

.cart-badge {
    position: absolute;
    top: -5px;
    right: -8px;
    background-color: var(--primary-orange);
    color: var(--white);
    font-size: 10px;
    font-weight: 700;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--white);
}

/* Hero Section */
.hero-banner {
    background: linear-gradient(135deg, var(--primary-orange) 0%, #FF8A00 100%);
    border-radius: var(--border-radius-lg);
    padding: 60px 40px;
    color: var(--white);
    margin-top: 30px;
    margin-bottom: 40px;
    position: relative;
    overflow: hidden;
}

.hero-banner::after {
    content: '';
    position: absolute;
    right: -10%;
    bottom: -30%;
    width: 300px;
    height: 300px;
    background-color: rgba(255, 255, 255, 0.08);
    border-radius: 50%;
}

/* Category Grid & Anchors */
.category-pill-wrapper {
    position: sticky;
    top: 86px;
    z-index: 1020;
    background-color: rgba(255, 248, 240, 0.95);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    padding: 8px 0;
    margin: 0 -12px;
    padding-left: 12px;
    padding-right: 12px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.04);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
}

@media (max-width: 991.98px) {
    .category-pill-wrapper {
        position: relative !important;
        top: 0 !important;
        z-index: 90 !important;
        margin: 10px 0 15px 0 !important;
        padding: 8px 12px !important;
        border-radius: 16px !important;
        background-color: #FFFFFF !important;
        box-shadow: 0 4px 14px rgba(0, 0, 0, 0.05) !important;
    }

    .navbar-collapse {
        background-color: #FFFFFF !important;
        padding: 16px !important;
        border-radius: 16px !important;
        margin-top: 12px !important;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12) !important;
        border: 1px solid #E2E8F0 !important;
    }

    .navbar-collapse .mobile-location-box {
        background-color: #F8FAFC !important;
        border: 1px solid #E2E8F0 !important;
        padding: 10px 14px !important;
        margin-bottom: 12px !important;
    }

    .navbar-collapse form {
        width: 100% !important;
        margin: 8px 0 12px 0 !important;
    }

    .navbar-collapse .input-group {
        display: flex !important;
        flex-direction: row !important;
        align-items: center !important;
        flex-wrap: nowrap !important;
        width: 100% !important;
        border-radius: 30px !important;
        background-color: #FFFFFF !important;
        border: 1.5px solid #CBD5E1 !important;
        overflow: hidden !important;
    }

    .navbar-collapse .input-group input {
        flex: 1 1 auto !important;
        min-width: 0 !important;
    }

    .navbar-collapse .input-group button {
        flex-shrink: 0 !important;
        width: 46px !important;
        border-radius: 0 !important;
        margin: 0 !important;
    }

    .navbar-collapse .cart-icon-btn {
        width: 100% !important;
        justify-content: center !important;
        padding: 12px !important;
        background-color: #FFF0E5 !important;
        border-radius: 12px !important;
        color: var(--primary-orange) !important;
        margin-top: 4px !important;
        border: 1px solid rgba(255, 107, 0, 0.2) !important;
    }

    .hero-carousel {
        border-radius: 16px !important;
        margin-top: 10px !important;
    }

    .hero-carousel h1 {
        font-size: 22px !important;
    }

    .hero-carousel p {
        font-size: 13px !important;
    }
}

.category-pill-container {
    display: flex;
    overflow-x: auto;
    white-space: nowrap;
    padding: 6px 0;
    gap: 12px;
}

.category-pill-container::-webkit-scrollbar {
    display: none;
}

.category-pill {
    background-color: var(--white);
    border: 1px solid rgba(0, 0, 0, 0.05);
    padding: 10px 24px;
    border-radius: 30px;
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 600;
    box-shadow: var(--shadow-soft);
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.category-pill:hover,
.category-pill.active {
    background-color: var(--primary-orange);
    color: var(--white);
    border-color: var(--primary-orange);
    transform: translateY(-2px);
}

/* Product Cards */
.product-card {
    background-color: var(--white);
    border-radius: var(--border-radius-lg);
    border: none;
    box-shadow: var(--shadow-soft);
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
}

.product-img-wrapper {
    position: relative;
    width: 100%;
    height: 200px;
    overflow: hidden;
    background-color: #f7f7f7;
}

.product-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.product-card:hover .product-img {
    transform: scale(1.08);
}

.product-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background-color: var(--secondary-yellow);
    color: var(--text-dark);
    font-weight: 700;
    font-size: 11px;
    padding: 4px 12px;
    border-radius: 30px;
}

.product-body {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.product-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 8px;
}

.product-desc {
    font-size: 13px;
    color: var(--text-muted);
    flex-grow: 1;
    margin-bottom: 15px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: auto;
}

.product-price {
    font-size: 20px;
    font-weight: 700;
    color: var(--primary-orange);
}

/* Custom Buttons — Universal Orange Theme */
.btn-primary-orange,
.btn-primary,
.btn-warning {
    background-color: var(--primary-orange) !important;
    color: var(--white) !important;
    border: none !important;
    border-radius: var(--border-radius-md);
    padding: 10px 22px;
    font-weight: 600;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 14px rgba(255, 107, 0, 0.25);
}

.btn-primary-orange:hover,
.btn-primary:hover,
.btn-warning:hover {
    background-color: var(--primary-hover) !important;
    color: var(--white) !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 107, 0, 0.4);
}

.btn-outline-orange,
.btn-outline-warning,
.btn-outline-primary {
    border: 1.5px solid var(--primary-orange) !important;
    background-color: transparent !important;
    color: var(--primary-orange) !important;
    border-radius: var(--border-radius-md);
    padding: 8px 20px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-outline-orange:hover,
.btn-outline-warning:hover,
.btn-outline-primary:hover {
    background-color: var(--primary-orange) !important;
    color: var(--white) !important;
    box-shadow: 0 4px 14px rgba(255, 107, 0, 0.3);
}

/* Small Buttons Override Fix */
.btn-sm,
a.btn-sm,
button.btn-sm {
    padding: 6px 14px !important;
    font-size: 13px !important;
    border-radius: 8px !important;
    font-weight: 600 !important;
    box-shadow: none !important;
}

/* Stepper Quantity Input - Horizontal Row Fix */
.quantity-stepper {
    display: inline-flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: center !important;
    border: 1.5px solid #CBD5E1 !important;
    border-radius: 30px !important;
    background-color: #F8FAFC !important;
    padding: 4px 8px !important;
    min-width: 135px !important;
    flex-shrink: 0 !important;
}

.quantity-stepper button {
    border: none !important;
    width: 34px !important;
    height: 34px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    border-radius: 50% !important;
    font-weight: 700 !important;
    font-size: 16px !important;
    line-height: 1 !important;
    cursor: pointer !important;
    flex-shrink: 0 !important;
}

.quantity-stepper .btn-qty-minus {
    background-color: #FFFFFF !important;
    border: 1px solid #CBD5E1 !important;
    color: #334155 !important;
}

.quantity-stepper .btn-qty-plus {
    background-color: var(--primary-orange) !important;
    color: #FFFFFF !important;
}

.quantity-stepper input {
    width: 44px !important;
    border: none !important;
    background: transparent !important;
    text-align: center !important;
    font-weight: 800 !important;
    font-size: 16px !important;
    color: #0F172A !important;
    outline: none !important;
    padding: 0 !important;
}
    font-size: 14px;
    outline: none;
}

/* Dynamic Pricing Floating Bar in Modal */
.modal-price-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: linear-gradient(180deg, #FFFFFF 0%, #FFFDF9 100%);
    padding: 18px 24px;
    border-top: 1px solid rgba(255, 107, 0, 0.12);
    border-bottom-left-radius: var(--border-radius-lg);
    border-bottom-right-radius: var(--border-radius-lg);
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.03);
}

.modal-price-label {
    font-size: 11px;
    letter-spacing: 0.5px;
    color: var(--text-muted);
    margin-bottom: 0;
    text-transform: uppercase;
}

.modal-price-val {
    font-size: 26px;
    font-weight: 800;
    color: var(--primary-orange);
    letter-spacing: -0.5px;
}

/* Custom Offcanvas Cart */
.offcanvas-cart {
    width: 420px !important;
    border-top-left-radius: var(--border-radius-lg);
    border-bottom-left-radius: var(--border-radius-lg);
}

.cart-item-row {
    display: flex;
    gap: 15px;
    padding: 15px 0;
    border-bottom: 1px solid #f1f1f1;
}

.cart-item-img {
    width: 60px;
    height: 60px;
    border-radius: var(--border-radius-md);
    object-fit: cover;
}

.cart-item-details {
    flex-grow: 1;
}

.cart-item-title {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 4px;
}

.cart-item-meta {
    font-size: 11px;
    color: var(--text-muted);
    margin-bottom: 8px;
}

.cart-item-price {
    font-size: 14px;
    font-weight: 700;
    color: var(--primary-orange);
}

.cart-item-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cart-remove-btn {
    background: none;
    border: none;
    color: #dc3545;
    font-size: 14px;
    cursor: pointer;
    transition: opacity 0.2s;
}

.cart-remove-btn:hover {
    opacity: 0.8;
}

/* Location Selector Modal Styles */
.location-modal {
    border-radius: var(--border-radius-lg);
}

.location-header {
    background: linear-gradient(135deg, var(--primary-orange) 0%, #FF8A00 100%);
    color: var(--white);
    padding: 30px;
    text-align: center;
    border-top-left-radius: var(--border-radius-lg);
    border-top-right-radius: var(--border-radius-lg);
}

.location-body {
    padding: 30px;
}

/* Admin Sidebar & Layout (Clean Light Theme with Orange Scheme) */
.admin-wrapper {
    display: flex;
    min-height: 100vh;
    background-color: #F8FAFC;
}

.admin-sidebar {
    width: 270px;
    background-color: #FFFFFF !important;
    border-right: 1px solid #E2E8F0;
    box-shadow: 4px 0 24px rgba(0, 0, 0, 0.03);
    padding: 24px 18px;
    display: flex;
    flex-direction: column;
    z-index: 100;
    position: sticky;
    top: 0;
    height: 100vh;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: rgba(255, 107, 0, 0.3) transparent;
}

.admin-sidebar::-webkit-scrollbar {
    width: 5px;
}

.admin-sidebar::-webkit-scrollbar-track {
    background: transparent;
}

.admin-sidebar::-webkit-scrollbar-thumb {
    background-color: rgba(255, 107, 0, 0.25);
    border-radius: 10px;
}

.admin-sidebar::-webkit-scrollbar-thumb:hover {
    background-color: var(--primary-orange);
}

.admin-brand {
    padding: 0 8px 20px 8px;
    display: flex;
    align-items: center;
    gap: 12px;
    border-bottom: 1px solid #F1F5F9;
    margin-bottom: 24px;
    text-decoration: none;
}

.admin-brand-title {
    font-family: 'Poppins', sans-serif;
    font-size: 17px;
    font-weight: 700;
    color: #0F172A;
    line-height: 1.2;
}

.admin-brand-badge {
    font-size: 11px;
    background: linear-gradient(135deg, #FF6B00 0%, #FF8500 100%);
    color: #FFFFFF;
    padding: 2px 10px;
    border-radius: 20px;
    font-weight: 600;
    margin-top: 4px;
    display: inline-block;
    letter-spacing: 0.5px;
}

.admin-nav {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.admin-nav-item {
    margin: 0;
}

.admin-nav-link {
    display: flex;
    align-items: center;
    padding: 12px 18px;
    color: #475569;
    font-weight: 500;
    font-size: 14px;
    text-decoration: none;
    border-radius: 14px;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    gap: 14px;
}

.admin-nav-link i {
    font-size: 18px;
    color: #94A3B8;
    transition: all 0.25s ease;
}

/* Hover state: Soft Orange Background & Orange Text */
.admin-nav-link:hover {
    background-color: #FFF0E5;
    color: var(--primary-orange);
    transform: translateX(4px);
}

.admin-nav-link:hover i {
    color: var(--primary-orange);
}

/* Active state: Vibrant Orange Gradient & White Text */
.admin-nav-link.active {
    background: linear-gradient(135deg, #FF6B00 0%, #FF8500 100%) !important;
    color: #FFFFFF !important;
    font-weight: 600;
    box-shadow: 0 4px 16px rgba(255, 107, 0, 0.35);
}

.admin-nav-link.active i {
    color: #FFFFFF !important;
}

/* User Card at bottom of sidebar */
.admin-user-card {
    margin-top: auto;
    padding-top: 18px;
    border-top: 1px solid #F1F5F9;
}

.admin-user-box {
    display: flex;
    align-items: center;
    padding: 10px 12px;
    background-color: #F8FAFC;
    border: 1px solid #E2E8F0;
    border-radius: 14px;
    text-decoration: none;
    color: #1E293B;
    transition: all 0.2s ease;
}

.admin-user-box:hover {
    background-color: #FFF0E5;
    border-color: rgba(255, 107, 0, 0.3);
    color: var(--primary-orange);
}

.admin-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: linear-gradient(135deg, #FF6B00 0%, #FF8500 100%);
    color: #FFFFFF;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 14px;
    margin-right: 10px;
    flex-shrink: 0;
}

.admin-content {
    flex-grow: 1;
    background-color: #F8FAFC;
    padding: 30px 40px;
    overflow-y: auto;
}

/* ============================================================
   RESPONSIVE ADMIN PANEL MEDIA QUERIES
   ============================================================ */

@media (max-width: 991.98px) {
    .admin-wrapper {
        flex-direction: column;
    }

    .admin-sidebar {
        position: fixed !important;
        top: 0 !important;
        left: -290px !important;
        width: 270px !important;
        height: 100vh !important;
        z-index: 1050 !important;
        transition: left 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
        box-shadow: 10px 0 30px rgba(0, 0, 0, 0.15) !important;
    }

    .admin-sidebar.show {
        left: 0 !important;
    }

    .admin-sidebar-backdrop {
        position: fixed;
        top: 0;
        left: 0;
        width: 100vw;
        height: 100vh;
        background-color: rgba(15, 23, 42, 0.4);
        backdrop-filter: blur(4px);
        -webkit-backdrop-filter: blur(4px);
        z-index: 1040;
        display: none;
    }

    .admin-sidebar-backdrop.show {
        display: block;
    }

    .admin-content {
        padding: 20px 16px !important;
        width: 100% !important;
    }

    .admin-top-bar {
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 12px !important;
    }

    .admin-top-bar h1 {
        font-size: 20px !important;
    }
}

@media (max-width: 575.98px) {
    .admin-content {
        padding: 15px 12px !important;
    }

    .card {
        padding: 16px !important;
        border-radius: 14px !important;
    }

    .table-responsive {
        border-radius: 12px;
        border: 1px solid #E2E8F0;
    }

    .table th, .table td {
        font-size: 13px !important;
        padding: 8px 10px !important;
    }
}

/* Admin Dashboard Cards */
.admin-card-stat {
    border: none;
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow-soft);
    transition: transform 0.3s;
}

.admin-card-stat:hover {
    transform: translateY(-5px);
}

/* Custom SweetAlert Customizations */
.swal2-popup {
    border-radius: var(--border-radius-lg) !important;
    font-family: 'Poppins', sans-serif !important;
}

.swal2-confirm {
    background-color: var(--primary-orange) !important;
    border-radius: var(--border-radius-md) !important;
}

.swal2-cancel {
    border-radius: var(--border-radius-md) !important;
}

/* Category Navigation Scroll Pills */
.category-pill-container {
    display: flex;
    align-items: center;
    gap: 12px;
    overflow-x: auto;
    padding: 10px 4px;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.category-pill-container::-webkit-scrollbar {
    display: none;
}

.category-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 24px;
    border-radius: 30px;
    background-color: #FFFFFF;
    color: #475569;
    font-weight: 600;
    font-size: 14px;
    text-decoration: none;
    border: 1.5px solid #E2E8F0;
    white-space: nowrap;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.02);
}

.category-pill:hover {
    background-color: #FFF8F0;
    color: var(--primary-orange);
    border-color: rgba(255, 107, 0, 0.4);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 107, 0, 0.12);
}

.category-pill.active {
    background: linear-gradient(135deg, #FF6B00 0%, #FF8800 100%) !important;
    color: #FFFFFF !important;
    border-color: var(--primary-orange) !important;
    font-weight: 700;
    box-shadow: 0 4px 14px rgba(255, 107, 0, 0.35) !important;
}

/* Custom Orange Size Selector active styling */
.btn-outline-orange {
    border: 1.5px solid #dee2e6;
    background-color: var(--white);
    color: var(--text-dark);
    font-weight: 600;
    transition: all 0.2s ease;
}

.btn-outline-orange:hover {
    border-color: var(--primary-orange);
    color: var(--primary-orange);
    background-color: #FFF8F0;
}

.btn-check:checked+.btn-outline-orange {
    border-color: var(--primary-orange) !important;
    background-color: #FFF0E5 !important;
    color: var(--primary-orange) !important;
    box-shadow: 0 4px 12px rgba(255, 107, 0, 0.1);
}

/* Modal refinements */
.modal-content {
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15) !important;
}

/* Adjust heading weights & styling */
.category-title {
    font-weight: 600;
    letter-spacing: -0.5px;
}

.product-title {
    font-weight: 600;
}

/* Footer Styling */
.main-footer {
    background: linear-gradient(180deg, #111827 0%, #0B0F19 100%) !important;
    color: #94A3B8 !important;
    padding: 65px 0 30px 0 !important;
    margin-top: 80px !important;
    font-size: 14px !important;
    border-top: 1px solid #1E293B !important;
}

.main-footer p,
.main-footer .footer-desc {
    color: #94A3B8 !important;
    line-height: 1.6 !important;
}

.main-footer ul,
.main-footer li {
    color: #94A3B8 !important;
}

.main-footer a,
.main-footer .footer-link {
    color: #94A3B8 !important;
    text-decoration: none !important;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1) !important;
    display: inline-flex !important;
    align-items: center !important;
}

.main-footer a:hover,
.main-footer .footer-link:hover {
    color: var(--primary-orange) !important;
    transform: translateX(4px) !important;
}

.main-footer-bottom {
    border-top: 1px solid #1E293B !important;
    padding-top: 20px !important;
    margin-top: 40px !important;
    color: #64748B !important;
}

.main-footer-bottom div,
.main-footer-bottom span,
.main-footer-bottom p {
    color: #64748B !important;
}

.main-footer h6 {
    font-size: 15px !important;
    letter-spacing: 0.5px !important;
    color: #FFFFFF !important;
    text-transform: uppercase !important;
    font-weight: 700 !important;
}

.main-footer .bi-chevron-right {
    transition: transform 0.2s ease;
}

.main-footer a:hover .bi-chevron-right {
    transform: translateX(2px);
}

color: #ffffff !important;
}

.main-footer .bi {
    color: var(--primary-orange) !important;
}

/* Heart/Wishlist Styling */
.wishlist-heart-btn {
    position: absolute;
    top: 15px;
    right: 15px;
    background-color: rgba(255, 255, 255, 0.9);
    border: none;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    color: #6c757d;
    cursor: pointer;
    z-index: 5;
    transition: all 0.2s ease;
}

.wishlist-heart-btn:hover {
    transform: scale(1.1);
    color: #dc3545;
}

.wishlist-heart-btn.active {
    color: #dc3545;
    background-color: #fff;
}



/* ====================================================
   REDESIGNED MODERN PREMIUM RESTAURANT UI SYSTEM
   ==================================================== */

/* Glassmorphic Sticky Navbar */
.navbar-custom {
    background-color: rgba(255, 255, 255, 0.94) !important;
    backdrop-filter: blur(12px) saturate(180%);
    -webkit-backdrop-filter: blur(12px) saturate(180%);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.02) !important;
    border-bottom: 1px solid rgba(0, 0, 0, 0.04) !important;
    padding: 8px 0 !important;
    position: sticky;
    top: 0;
    z-index: 1020;
    transition: all 0.3s ease;
}

.navbar-brand svg {
    width: 44px !important;
    height: 44px !important;
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.navbar-brand:hover svg {
    transform: scale(1.06) rotate(6deg);
}

.navbar-custom .nav-link {
    font-size: 14px;
    font-weight: 500;
    padding: 6px 16px !important;
    border-radius: 20px;
    margin: 0 3px;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.navbar-custom .nav-link:hover {
    color: var(--primary-orange) !important;
    background-color: rgba(255, 107, 0, 0.07);
}

.navbar-custom .nav-link.active {
    color: var(--white) !important;
    background-color: var(--primary-orange) !important;
    box-shadow: 0 4px 10px rgba(255, 107, 0, 0.2) !important;
}

/* Fullscreen/Immersive Hero Carousel */
.hero-carousel {
    height: 480px;
    border-radius: 20px;
    overflow: hidden;
    margin-top: 15px;
    margin-bottom: 35px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.05);
    position: relative;
}

.hero-carousel .carousel-inner,
.hero-carousel .carousel-item,
.hero-carousel .carousel-image-wrapper {
    height: 100%;
    position: relative;
}

.hero-carousel .carousel-img {
    height: 100%;
    width: 100%;
    object-fit: cover;
    transition: transform 6s ease-in-out;
}

.hero-carousel .carousel-item.active .carousel-img {
    transform: scale(1.05);
}

.hero-carousel .carousel-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(0, 0, 0, 0.55) 0%, rgba(0, 0, 0, 0.3) 100%);
    z-index: 1;
}

.hero-carousel .carousel-caption {
    right: 8% !important;
    left: 8% !important;
    bottom: 0 !important;
    top: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    align-items: flex-start !important;
    text-align: left !important;
    z-index: 2;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}

.hero-carousel .carousel-caption h1 {
    font-size: 40px !important;
    font-weight: 700 !important;
    color: var(--white) !important;
    letter-spacing: -0.8px;
    line-height: 1.2;
    margin-bottom: 12px;
}

.hero-carousel .carousel-caption p {
    font-size: 15px !important;
    max-width: 55ch;
    line-height: 1.6 !important;
    color: rgba(255, 255, 255, 0.9) !important;
    margin-bottom: 24px;
}

.hero-carousel .carousel-indicators [data-bs-target] {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    margin: 0 4px;
    background-color: rgba(255, 255, 255, 0.4);
    border: none;
    transition: all 0.3s ease;
}

.hero-carousel .carousel-indicators .active {
    background-color: var(--primary-orange);
    width: 24px;
    border-radius: 4px;
}

/* Premium Buttons Styling */
.btn-primary-orange,
.btn-primary {
    background-color: var(--primary-orange) !important;
    border: none !important;
    color: var(--white) !important;
    border-radius: 12px !important;
    font-weight: 600 !important;
    font-size: 15px !important;
    padding: 10px 22px !important;
    box-shadow: 0 4px 14px rgba(255, 107, 0, 0.15) !important;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

.btn-primary-orange:hover,
.btn-primary:hover {
    background-color: var(--primary-hover) !important;
    transform: translateY(-2px) scale(1.02) !important;
    box-shadow: 0 6px 20px rgba(255, 107, 0, 0.25) !important;
}

.btn-outline-orange {
    border: 1.5px solid var(--primary-orange) !important;
    color: var(--primary-orange) !important;
    background-color: transparent !important;
    border-radius: 12px !important;
    font-weight: 600 !important;
    font-size: 14px !important;
    padding: 8px 18px !important;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

.btn-outline-orange:hover {
    background-color: var(--primary-orange) !important;
    color: var(--white) !important;
    transform: translateY(-2px) scale(1.02) !important;
    box-shadow: 0 4px 14px rgba(255, 107, 0, 0.15) !important;
}

.btn-light {
    border-radius: 12px !important;
    font-weight: 600 !important;
    font-size: 15px !important;
    padding: 10px 22px !important;
    transition: all 0.25s ease !important;
}

.btn-light:hover {
    transform: translateY(-2px) scale(1.02) !important;
}

.btn-outline-light {
    border-radius: 12px !important;
    font-weight: 600 !important;
    font-size: 15px !important;
    padding: 10px 22px !important;
    border-width: 1.5px !important;
    transition: all 0.25s ease !important;
}

.btn-outline-light:hover {
    background-color: var(--white) !important;
    color: var(--text-dark) !important;
    transform: translateY(-2px) scale(1.02) !important;
}

/* Premium Restaurant Cards */
.product-card {
    border-radius: 16px !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02) !important;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1) !important;
    border: 1px solid rgba(0, 0, 0, 0.02) !important;
    overflow: hidden;
    background-color: var(--white);
}

.product-card:hover {
    transform: translateY(-6px) !important;
    box-shadow: 0 12px 30px rgba(255, 107, 0, 0.08) !important;
}

.product-body {
    padding: 16px !important;
}

.product-title {
    font-size: 17px !important;
    font-weight: 600 !important;
    margin-bottom: 6px !important;
    color: var(--text-dark);
}

.product-desc {
    font-size: 12px !important;
    line-height: 1.55 !important;
    color: var(--text-muted);
    margin-bottom: 12px !important;
}

.product-img-wrapper {
    height: 180px !important;
}

/* Custom Customization Modal Window width reductions & polish */
@media (min-width: 992px) {
    .modal-dialog.modal-lg {
        max-width: 720px !important;
        /* Reduced by 10% */
    }
}

#customizationForm img {
    border-radius: 12px !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04);
}

#customizationForm h3 {
    font-size: 24px !important;
    font-weight: 700 !important;
    color: var(--text-dark);
    margin-bottom: 8px !important;
}

#customizationForm p.text-muted {
    font-size: 14px !important;
    line-height: 1.5 !important;
    margin-bottom: 20px !important;
}

.btn-outline-orange {
    padding: 8px 12px !important;
}

.btn-outline-orange label span {
    font-size: 14px !important;
}

#customizationForm select {
    height: 40px !important;
    padding: 8px 12px !important;
    font-size: 14px !important;
    border-radius: 8px !important;
}

/* Compact Modal Quantity Stepper */
.quantity-stepper {
    padding: 2px !important;
    border-radius: 20px !important;
}

.quantity-stepper button {
    width: 28px !important;
    height: 28px !important;
    font-size: 14px !important;
    border-radius: 50% !important;
}

.quantity-stepper input {
    width: 32px !important;
    font-size: 13px !important;
}

/* Inputs, Labels & Height Reductions */
.form-control,
.form-select {
    height: 42px !important;
    font-size: 14px !important;
    border-radius: 10px !important;
    border: 1px solid #e2e8f0 !important;
    padding: 8px 14px !important;
    transition: all 0.2s ease-in-out !important;
    background-color: #fcfdfd;
}

.form-control:focus,
.form-select:focus {
    border-color: var(--primary-orange) !important;
    box-shadow: 0 0 0 3px rgba(255, 107, 0, 0.12) !important;
    background-color: var(--white);
}

.form-control::placeholder,
.form-select::placeholder {
    font-size: 13px !important;
    color: #a0aec0 !important;
}

.form-label,
label,
.small-label,
.form-label.small,
label.small {
    font-size: 12px !important;
    font-weight: 500 !important;
    letter-spacing: 0.4px !important;
    text-transform: uppercase !important;
    margin-bottom: 6px !important;
    color: var(--text-muted) !important;
}

/* Compact SweetAlert2 Toast Notifications */
.swal2-popup.swal2-toast {
    max-width: 350px !important;
    padding: 12px 16px !important;
    border-radius: 12px !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06) !important;
    background-color: var(--white) !important;
}

.swal2-popup.swal2-toast .swal2-title {
    font-family: 'Inter', sans-serif !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    color: var(--text-dark) !important;
    margin: 0 0 0 8px !important;
}

.swal2-popup.swal2-toast .swal2-timer-progress-bar {
    background-color: var(--primary-orange) !important;
    height: 3px !important;
}

.swal2-popup.swal2-toast.swal2-icon-success {
    border-left: 4px solid #2ec946 !important;
}

.swal2-popup.swal2-toast.swal2-icon-error {
    border-left: 4px solid #f23d3d !important;
}

.swal2-popup.swal2-toast.swal2-icon-warning {
    border-left: 4px solid #ff9f00 !important;
}

.swal2-popup.swal2-toast.swal2-icon-info {
    border-left: 4px solid #0099ff !important;
}

/* Order Summary & Checkout spacing cleanups */
.checkout-items-list h6 {
    font-size: 14px !important;
    font-weight: 600 !important;
}

.checkout-items-list p {
    font-size: 12px !important;
}

.checkout-items-list span,
.cart-item-price,
.product-price {
    font-size: 15px !important;
    font-weight: 600 !important;
}

#cartSubtotal,
#cartDeliveryFee,
.checkout-totals .text-muted {
    font-size: 13px !important;
}

#cartGrandTotal,
.checkout-totals h4 {
    font-size: 18px !important;
    font-weight: 700 !important;
    color: var(--primary-orange) !important;
}

/* Section Spacing Cleanups */
.category-pill {
    padding: 8px 18px !important;
    font-size: 14px !important;
    border-radius: 20px !important;
}

.category-section {
    margin-top: 28px !important;
    padding-top: 10px !important;
}

/* Modern Dark Footer & Social Animations */
.main-footer {
    background-color: #090b0d !important;
    color: #a0aec0 !important;
    padding: 50px 0 25px 0 !important;
    margin-top: 60px !important;
    font-size: 13px !important;
}

.main-footer h6 {
    color: #ffffff !important;
    font-size: 15px !important;
    font-weight: 600 !important;
    margin-bottom: 20px !important;
    letter-spacing: 0.4px;
}

.main-footer a {
    color: #a0aec0 !important;
    text-decoration: none !important;
    transition: all 0.25s ease !important;
    display: inline-block;
}

.main-footer a:hover {
    color: var(--primary-orange) !important;
    transform: translateX(4px) !important;
}

.main-footer-bottom {
    border-top: 1px solid #1a1d20 !important;
    padding-top: 20px !important;
    margin-top: 32px !important;
}

.main-footer .d-flex.gap-3 a {
    transition: transform 0.3s ease !important;
    display: inline-block;
}

.main-footer .d-flex.gap-3 a:hover {
    transform: translateY(-4px) scale(1.1) !important;
    color: var(--primary-orange) !important;
}

/* Soft background badge helpers */
.bg-orange-light {
    background-color: rgba(255, 107, 0, 0.08) !important;
}

.bg-success-light {
    background-color: rgba(46, 201, 70, 0.08) !important;
}

/* Thermal receipt font style and print overrides */
.thermal-receipt-print {
    width: 100% !important;
    font-family: 'Courier New', Courier, monospace !important;
    color: #000000 !important;
    background-color: #ffffff !important;
}

.thermal-receipt-print .receipt-divider {
    font-family: 'Courier New', Courier, monospace !important;
    font-size: 12px !important;
    letter-spacing: -1px;
    margin: 8px 0;
    text-align: center;
}

.thermal-receipt-print .row {
    margin-right: 0 !important;
    margin-left: 0 !important;
}

.thermal-receipt-print .col-6,
.thermal-receipt-print .col-3,
.thermal-receipt-print .col-12 {
    padding-right: 2px !important;
    padding-left: 2px !important;
}

@media print {
    @page {
        size: 80mm auto;
        margin: 0;
    }

    html,
    body {
        width: 80mm !important;
        margin: 0 !important;
        padding: 0 !important;
        background-color: #ffffff !important;
        color: #000000 !important;
        font-family: 'Courier New', Courier, monospace !important;
        font-size: 11px !important;
    }

    .navbar,
    .main-footer,
    .d-print-none,
    .status-tracker,
    .thank-you-card,
    #btnConfirmLocation,
    .modal,
    .offcanvas,
    #orderReceipt {
        display: none !important;
    }

    .d-print-block {
        display: block !important;
    }

    .container {
        width: 80mm !important;
        max-width: 80mm !important;
        padding: 4mm !important;
        margin: 0 !important;
    }

    /* Ensure all text inside the print section uses receipt styling */
    .thermal-receipt-print h4,
    .thermal-receipt-print h5,
    .thermal-receipt-print h6,
    .thermal-receipt-print div,
    .thermal-receipt-print span,
    .thermal-receipt-print strong {
        font-family: 'Courier New', Courier, monospace !important;
        color: #000000 !important;
    }

    /* Hide admin dashboard frame and sibling elements */
    .admin-sidebar,
    .admin-content>.d-flex,
    .admin-content hr,
    .admin-content .mb-3,
    .admin-content .col-lg-4,
    #invoicePanel .d-print-none {
        display: none !important;
    }

    .admin-content {
        padding: 0 !important;
        margin: 0 !important;
        background-color: transparent !important;
    }
}

/* ================================================
   Custom Addon Checkbox Styles (Product Modal)
   ================================================ */
.addon-checkbox-list {
    background-color: #fff;
}

.addon-checkbox-row {
    background-color: #fff;
    transition: background-color 0.15s ease;
}

.addon-checkbox-row:hover {
    background-color: #FFF8F0;
}

.addon-checkbox-row:has(.addon-check:checked) {
    background-color: #FFF3E0;
}

.addon-checkbox-row:has(.addon-check:checked) .addon-name {
    color: var(--primary-orange) !important;
    font-weight: 600 !important;
}

.addon-checkbox-row:has(.addon-check:checked) .addon-price {
    color: var(--primary-orange) !important;
    font-weight: 600 !important;
}

/* Custom checkbox wrapper */
.custom-addon-checkbox {
    position: relative;
    width: 22px;
    height: 22px;
    flex-shrink: 0;
}

.custom-addon-checkbox input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.custom-addon-checkbox .checkmark {
    position: absolute;
    top: 0;
    left: 0;
    width: 22px;
    height: 22px;
    border: 2px solid #CBD5E1;
    border-radius: 5px;
    background-color: #fff;
    transition: all 0.2s ease;
    cursor: pointer;
}

.custom-addon-checkbox input:checked~.checkmark {
    background-color: var(--primary-orange);
    border-color: var(--primary-orange);
}

.custom-addon-checkbox .checkmark::after {
    content: '';
    position: absolute;
    display: none;
    left: 6px;
    top: 2px;
    width: 6px;
    height: 11px;
    border: solid white;
    border-width: 0 2.5px 2.5px 0;
    transform: rotate(45deg);
}

.custom-addon-checkbox input:checked~.checkmark::after {
    display: block;
}

.custom-addon-checkbox:hover .checkmark {
    border-color: var(--primary-orange);
    box-shadow: 0 0 0 3px rgba(255, 107, 0, 0.12);
}

/* Custom Row Item Styling (Size & Drink List Boxes) */
.custom-row-item {
    background-color: #fff;
    transition: background-color 0.15s ease;
}

.custom-row-item:hover {
    background-color: #FFF8F0;
}

.custom-row-item:has(input[type="radio"]:checked) {
    background-color: #FFF3E0;
}

.custom-row-item:has(input[type="radio"]:checked) .item-name {
    color: var(--primary-orange) !important;
    font-weight: 600 !important;
}

.custom-row-item:has(input[type="radio"]:checked) .item-price {
    color: var(--primary-orange) !important;
    font-weight: 600 !important;
}

.form-check-input.size-radio,
.form-check-input.drink-radio {
    width: 20px;
    height: 20px;
    cursor: pointer;
    accent-color: var(--primary-orange);
}

.form-check-input.size-radio:checked,
.form-check-input.drink-radio:checked {
    background-color: var(--primary-orange);
    border-color: var(--primary-orange);
}