:root {
    --primary: #e63946;
    --dark: #1d3557;
    --dark-navy: #1d3557;
    --bg-light: #c6e2ff;
    --border: #edf2f7;
    --text-muted: #64748b;
    --footer-bg: #111827;
    --bg: #f4f7f6;
    --primary-color: #e63946;
    --dark-color: #1d3557;
    --light-bg: #f8fafc;
}

body {
    font-family: "Jost", sans-serif !important;
    color: var(--dark);
    line-height: 1.8;
    background-color: #fff;
}

a {
    text-decoration: none !important;
}

/* --- HEADER CSS --- */
.navbar {
    background: #fff;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
    /* padding: 15px 0 !important; */
}

.navbar-brand {
    padding: 0px !important;
    margin: 0px !important;
}

.nav-item {
    list-style: none;
}

#fa-user {
    font-size: 1.1rem;
    margin-top: 5px;
}

.nav-link {
    font-weight: 600 !important;
    color: var(--dark) !important;
    margin: 0 8px;
    text-transform: uppercase;
    font-size: 0.95rem !important;
    transition: 0.3s;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary) !important;
}

.navbar-expand-lg .navbar-nav {
    gap: 16px;
}

.btn-call {
    background: var(--primary);
    color: #fff !important;
    border-radius: 50px;
    border: none;
    padding: 8px 22px;
    font-weight: 700;
    font-size: 0.9rem;
    text-decoration: none;
}

.login-icon {
    font-size: 1.4rem;
    color: var(--dark);
    margin-left: 15px;
}

/* Modals */
.modal-content {
    border-radius: 15px;
    border: none;
}

.modal-header {
    background: var(--dark-navy);
    color: white;
    border-top-left-radius: 15px;
    border-top-right-radius: 15px;
}

.btn-primary {
    background-color: var(--dark-navy);
    border: none;
}

/* --- ABOUT US CSS --- */
.about-hero {
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('https://images.unsplash.com/photo-1555396273-367ea4eb4db5?auto=format&fit=crop&w=1500');
    background-size: cover;
    background-position: center;
    height: 450px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
    margin-bottom: 60px;
}

.hero-title {
    font-family: 'Playfair Display', serif;
    font-size: 4rem;
    font-weight: 700;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.3);
}

.section-tag {
    color: var(--primary);
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 2px;
    font-size: 0.9rem;
    display: block;
    margin-bottom: 10px;
}

.heading-style {
    font-weight: 800;
    font-size: 2.5rem;
    margin-bottom: 25px;
    position: relative;
}

.content-text {
    font-size: 1.1rem;
    color: #475569;
}

.about-img-wrapper {
    position: relative;
    /* padding: 15px; */
}

.main-img {
    width: 100%;
    border-radius: 30px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.floating-badge {
    position: absolute;
    bottom: -20px;
    right: -10px;
    background: var(--primary);
    color: white;
    padding: 25px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 10px 20px rgba(230, 57, 70, 0.3);
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

.feature-card {
    background: var(--bg-light);
    border-radius: 25px;
    padding: 40px;
    height: 100%;
    transition: 0.3s;
    border: 1px solid transparent;
}

.feature-card:hover {
    background: #fff;
    border-color: var(--primary);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.05);
    transform: translateY(-5px);
}

.icon-box {
    width: 70px;
    height: 70px;
    background: white;
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: var(--primary);
    margin-bottom: 25px;
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.05);
}

.diet-banner {
    background: var(--dark);
    color: white;
    border-radius: 30px;
    padding: 40px;
    margin-top: 50px;
}

.btn-order {
    background: var(--primary);
    color: white;
    padding: 15px 40px;
    border-radius: 50px;
    font-weight: 700;
    text-decoration: none;
    transition: 0.3s;
    display: inline-block;
}

.btn-order:hover {
    background: #c32f3a;
    color: white;
    transform: scale(1.05);
}

/* --- SHOP CSS --- */
.sidebar-card {
    background: white;
    border-radius: 15px;
    padding: 25px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 110px;
}

.custom-control {
    display: flex;
    gap: 13px;
    align-items: center;
}

.filter-title {
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Product Card Styling */
.product-card {
    background: white;
    border: none;
    border-radius: 20px;
    padding: 20px;
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.04);
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.product-image-wrapper {
    overflow: hidden;
    border-radius: 15px;
    margin-bottom: 15px;
    background: #f1f5f9;
}

.product-image {
    width: 100%;
    height: 270px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.product-card:hover .product-image {
    transform: scale(1.1);
}

.product-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--dark-color);
    display: block;
}

.product-price {
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.regular-price {
    font-size: 0.9rem;
    text-decoration: line-through;
    color: var(--text-muted);
    font-weight: 400;
    margin-right: 5px;
}

.btn-add-cart-shop {
    background-color: var(--dark-color);
    color: white;
    width: 100%;
    border: none;
    border-radius: 12px;
    padding: 12px;
    font-weight: 600;
    transition: 0.3s;
    margin-top: auto;
}

.btn-add-cart-shop:hover {
    background-color: var(--primary-color);
    color: white;
}

/* Breadcrumbs */
.breadcrumb {
    background: transparent;
    padding: 0;
    margin-bottom: 30px;
}

.breadcrumb-item a {
    color: var(--dark);
    font-weight: 500;
    text-decoration: none;
    transition: .5s;
}

.breadcrumb-item a:hover {
    color: var(--primary);
}

.breadcrumb-item.active {
    color: var(--primary-color);
    font-weight: 700;
}

/* Pagination */
.pagination .page-link {
    border: none;
    margin: 0 5px;
    border-radius: 8px !important;
    color: var(--dark-color);
    font-weight: 600;
}

.pagination .page-item.active .page-link {
    background-color: var(--primary-color);
    color: white;
}

.category-checkbox-label {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 5px 0;
    cursor: pointer;
    width: 100%;
}

.category-count {
    background: #f1f5f9;
    padding: 2px 8px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
}

/* --- PRODUCT DETAILS CSS --- */
.product-img-main {
    height: auto;
    object-fit: cover;
    border-radius: 20px;
    width: 100%;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

#pizzaTab {
    position: sticky;
    top: 13px;
    z-index: 1020;
    background-color: #fff;
    padding: 15px 0 5px 0;
    margin-top: -15px;
    /* Offset the padding for a seamless look */
}

/* Make Add to Cart Button Sticky */
.btn-add-cart {
    position: sticky;
    bottom: 20px;
    z-index: 1020;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    /* Stronger shadow to pop out */
}

.badge-category {
    background: #1d3557;
    color: #fff;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 12px;
    padding: 6px 12px;
    border-radius: 6px;
    margin-bottom: 12px;
    display: inline-block;
}

h2 {
    font-weight: 700 !important;
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.price-tag {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 15px;
}

.option-box {
    background: #fff;
    border-radius: 12px;
    margin-bottom: 16px;
    padding: 15px 20px;
    border: 1px solid #eee;
    transition: 0.2s;
}

.option-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.option-header h6 {
    margin: 0;
    font-weight: 700;
    font-size: 1.05rem;
}

.toggle-btn {
    background: #f1f5f9;
    border: none;
    color: var(--dark);
    font-weight: 700;
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 0.85rem;
    transition: 0.2s;
}

.option-body {
    display: none;
    margin-top: 15px;
    border-top: 1px solid #f1f1f1;
    padding-top: 15px;
}

.option-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 10px;
    border-radius: 8px;
    cursor: pointer;
    transition: 0.2s;
    margin-bottom: 5px;
}

.option-item:hover {
    background-color: #f8fafc;
}

input[type="checkbox"],
input[type="radio"] {
    width: 18px;
    height: 18px;
    accent-color: var(--primary);
    cursor: pointer;
    margin: 0;
}

.option-left {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 600;
    font-size: 0.95rem;
}

.option-price-display {
    font-weight: 700;
    font-size: 0.9rem;
    color: #64748b;
    background: #f1f5f9;
    padding: 4px 10px;
    border-radius: 6px;
    min-width: 70px;
    text-align: center;
}

.gluten-free-option {
    display: none;
}

#pizzaTab {
    gap: 15px;
}

.nav-pills .nav-link {
    background: #fff;
    color: var(--dark);
    font-weight: 700;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    margin: 0 5px;
    padding: 12px;
}

.nav-pills .nav-link.active {
    background-color: var(--primary) !important;
    color: #fff !important;
    border-color: var(--primary);
}

.qty-btn {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: 1px solid #cbd5e1;
    background: #fff;
    color: var(--dark);
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: 0.2s;
}

.btn-add-cart {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    background: var(--primary);
    color: white;
    border: none;
    padding: 18px;
    font-weight: 800;
    font-size: 1.2rem;
    border-radius: 15px;
    box-shadow: 0 10px 25px rgba(230, 57, 70, 0.25);
    transition: 0.3s;
    gap: 12px;
}

.btn-add-cart:hover {
    background: #d62828;
    transform: translateY(-3px);
}

.instruction-box {
    background: #fff;
    padding: 15px;
    border-radius: 12px;
    border: 1px dashed #cbd5e1;
    margin-top: 15px;
}

.instruction-box textarea {
    width: 100%;
    border: none;
    background: #f8fafc;
    padding: 10px;
    border-radius: 8px;
    font-size: 0.9rem;
    resize: none;
}

/* --- CREATE YOUR OWN PIZZA CSS --- */
.builder-hero {
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('https://images.unsplash.com/photo-1574071318508-1cdbab80d002?auto=format&fit=crop&w=1500');
    background-size: cover;
    background-position: center;
    height: 350px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-align: center;
}

.hero-title {
    font-family: 'Playfair Display', serif;
    font-size: 3.5rem;
    font-weight: 700;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.5);
}

.hero-subtitle {
    font-size: 1.2rem;
    opacity: 0.9;
    font-weight: 500;
    margin-top: 10px;
}

.pizza-card {
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    background: #fff;
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
}

.pizza-card:hover {
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    transform: translateY(-5px);
    border-color: var(--primary);
}

.card-header-custom {
    background: var(--bg-light);
    padding: 20px 10px;
    text-align: center;
    border-bottom: 1px solid #e2e8f0;
}

.card-title {
    font-weight: 800;
    font-size: 1.4rem;
    margin-bottom: 5px;
    color: var(--dark) !important;
    letter-spacing: -0.5px;
}

.card-subtitle {
    font-size: 0.85rem;
    color: var(--text-muted) !important;
    font-style: italic;
}

.card-body-custom {
    padding: 25px;
    flex-grow: 1;
}

.price-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px dashed #e2e8f0;
    font-size: 0.95rem;
}

.price-row:last-child {
    border-bottom: none;
}

.size-label {
    font-weight: 600;
    color: var(--text-muted);
}

.price-val {
    font-weight: 700;
    color: var(--dark);
    font-size: 1.1rem;
}

.btn-order-card {
    display: block;
    margin: 0 25px 30px;
    background: linear-gradient(45deg, #e63946, #d90429);
    color: white !important;
    text-decoration: none;
    padding: 14px 0;
    border-radius: 50px;
    font-weight: 700;
    text-transform: uppercase;
    text-align: center;
    letter-spacing: 1px;
    box-shadow: 0 10px 20px rgba(230, 57, 70, 0.2);
    transition: all 0.3s ease;
    border: 2px solid transparent;
    font-size: 0.9rem;
}

.btn-order-card:hover {
    background: #fff;
    color: #d90429 !important;
    border-color: #d90429;
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(217, 4, 41, 0.15);
}

.btn-order-card i {
    margin-left: 8px;
    transition: 0.3s;
}

.btn-order-card:hover i {
    transform: translateX(3px);
}


/* --- CONTACT US CSS --- */
.contact-hero {
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('https://images.unsplash.com/photo-1534308983496-4fabb1a015ee?auto=format&fit=crop&w=1500');
    background-size: cover;
    background-position: center;
    height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    margin-bottom: 0;
}

.hero-title {
    font-family: "Playfair Display", serif !important;
    font-size: 3.5rem;
    font-weight: 700;
}

.contact-box {
    background: #fff;
    border-radius: 16px;
    padding: 20px;
    display: flex;
    align-items: center;
    border: 1px solid #f1f5f9;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.03);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.contact-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.08);
    border-color: rgba(230, 57, 70, 0.3);
}

.icon-wrapper {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #e63946 0%, #d90429 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    margin-right: 20px;
    flex-shrink: 0;
    box-shadow: 0 8px 15px rgba(230, 57, 70, 0.2);
    transition: 0.3s;
}

.contact-box:hover .icon-wrapper {
    transform: scale(1.1) rotate(5deg);
}

.text-content {
    flex-grow: 1;
}

.contact-label {
    display: block;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #64748b;
    font-weight: 700;
    margin-bottom: 4px;
}

.contact-value {
    margin: 0;
    font-weight: 700;
    color: var(--dark);
    font-size: 1.15rem;
}

.arrow-icon {
    color: #cbd5e1;
    font-size: 1rem;
    transition: 0.3s;
    margin-left: 10px;
}

.contact-box:hover .arrow-icon {
    color: var(--primary);
    transform: translateX(5px);
}

.info-card {
    background: var(--bg-light);
    padding: 30px;
    border-radius: 20px;
    transition: 0.3s;
    border: 1px solid #e2e8f0;
}

.info-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
    background: #fff;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.info-icon {
    width: 50px;
    height: 50px;
    background: var(--primary);
    color: white;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    margin-bottom: 20px;
}

.form-control {
    padding: 12px 20px;
    border-radius: 10px;
    border: 1px solid #e2e8f0;
    font-family: 'Jost', sans-serif;
}

.form-control:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 0.25rem rgba(230, 57, 70, 0.1);
}

.form-label {
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--dark);
}

.map-container {
    border-radius: 25px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    line-height: 0;
    margin-top: 20px;
}

.border-md-right {
    border-right: 1px solid #e2e8f0;
}

/* --- MOBILE BOTTOM NAV --- */
.mobile-bottom-nav {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #fff;
    box-shadow: 0 -2px 15px rgba(0, 0, 0, 0.1);
    z-index: 1050;
    height: 70px;
    justify-content: space-around;
    align-items: center;
}

.mobile-nav-item {
    text-align: center;
    color: var(--dark);
    text-decoration: none;
    font-size: 0.7rem;
    font-weight: 700;
}

.mobile-nav-item i {
    font-size: 1.3rem;
    display: block;
    margin-bottom: 3px;
    color: var(--primary);
}

/* --- PRIVACY POLICY CSS --- */
.policy-header {
    background: var(--bg-light);
    padding: 60px 0;
    border-bottom: 1px solid #e2e8f0;
    margin-bottom: 50px;
}

.policy-header h1 {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    font-size: 3rem;
}

.policy-content h2 {
    font-size: 1.8rem;
    font-weight: 800;
    margin-top: 40px;
    margin-bottom: 20px;
    color: var(--primary);
    border-bottom: 2px solid #eee;
}

.policy-content h3 {
    font-size: 1.4rem;
    font-weight: 700;
    margin-top: 30px;
    margin-bottom: 15px;
    color: var(--dark);
}

.policy-content p,
.policy-content li {
    margin-bottom: 1.2rem;
    font-size: 1rem;
    color: #475569;
}

.policy-content strong {
    color: var(--dark);
}

.definition-item {
    margin-bottom: 1.5rem;
    padding-left: 15px;
    border-left: 3px solid var(--primary);
}

/* --- TERMS AND CONDITIONS --- */
.terms-header {
    background: var(--bg-light);
    padding: 60px 0;
    border-bottom: 1px solid #e2e8f0;
    margin-bottom: 50px;
}

.terms-header h1 {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    font-size: 3rem;
}

.terms-content h2 {
    font-size: 1.8rem;
    font-weight: 800;
    margin-top: 40px;
    margin-bottom: 20px;
    color: var(--primary);
    border-bottom: 2px solid #eee;
    padding-bottom: 10px;
}

.terms-content h3 {
    font-size: 1.4rem;
    font-weight: 700;
    margin-top: 30px;
    margin-bottom: 15px;
    color: var(--dark);
}

.terms-content p,
.terms-content li {
    margin-bottom: 1.2rem;
    font-size: 1rem;
    color: #475569;
}

.terms-content strong {
    color: var(--dark);
}

/* --- Cart CSS --- */
.back-btn {
    text-decoration: none;
    color: var(--dark);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 20px;
    transition: 0.3s;
}

.back-btn:hover {
    color: var(--primary);
}

.cart-card {
    background: #fff;
    border-radius: 20px;
    border: none;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.cart-header {
    background: #fff;
    padding: 20px 30px;
    border-bottom: 1px solid #eee;
}

.cart-item {
    display: flex;
    align-items: flex-start;
    padding: 25px 30px;
    border-bottom: 1px solid #f1f1f1;
    transition: 0.3s;
}

.item-img {
    width: 100px;
    height: 100px;
    object-fit: cover;
    border-radius: 15px;
}

.item-info {
    flex: 1;
    padding: 0 25px;
}

.item-name {
    font-weight: 800;
    font-size: 1.25rem;
    color: var(--dark);
    margin-bottom: 8px;
}

.item-options {
    font-size: 0.95rem;
    color: #64748b;
    line-height: 1.6;
}

.pizza-group {
    margin-top: 12px;
    padding: 15px;
    background: #f8fafc;
    border-radius: 12px;
    border-left: 5px solid var(--primary);
    margin-bottom: 10px;
}

.pizza-label {
    font-weight: 800;
    color: var(--dark);
    font-size: 0.85rem;
    text-transform: uppercase;
    display: block;
    margin-bottom: 6px;
    letter-spacing: 0.5px;
}

.double-tag {
    color: #fff;
    font-weight: 700;
    /* text-transform: uppercase; */
    font-size: 0.65rem;
    background: var(--primary);
    padding: 2px 8px;
    border-radius: 4px;
    display: inline-block;
    /* margin-left: 5px; */
    vertical-align: middle;
}

.free-tag {
    color: #fff;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.65rem;
    background: #2a9d8f;
    padding: 2px 8px;
    border-radius: 4px;
    display: inline-block;
    margin-left: 5px;
    vertical-align: middle;
}

.qty-control {
    display: flex;
    align-items: center;
    background: #f1f5f9;
    border-radius: 12px;
    padding: 6px;
    gap: 10px;
}

.qty-btn {
    border: none;
    background: #fff;
    width: 30px;
    height: 30px;
    border-radius: 8px;
    font-weight: 800;
    cursor: pointer;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.qty-input {
    width: 30px;
    text-align: center;
    border: none;
    background: transparent;
    font-weight: 800;
    font-size: 1rem;
}

.price-text {
    font-weight: 800;
    font-size: 1.2rem;
    min-width: 110px;
    text-align: right;
    color: var(--dark);
}

.delete-btn {
    background: none;
    border: none;
    color: #cbd5e1;
    font-size: 1.3rem;
    cursor: pointer;
    margin-left: 20px;
    transition: 0.2s;
}

.delete-btn:hover {
    color: var(--primary);
}

.summary-card {
    background: #fff;
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 75px;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
    font-weight: 500;
}

.summary-total {
    border-top: 2px solid #f1f5f9;
    padding-top: 20px;
    margin-top: 20px;
    font-weight: 800;
    font-size: 1.5rem;
    color: var(--dark);
}

.checkout-btn {
    background: var(--primary);
    color: #fff;
    width: 100%;
    border: none;
    padding: 18px;
    border-radius: 15px;
    font-weight: 800;
    font-size: 1.1rem;
    margin-top: 25px;
    transition: 0.3s;
    box-shadow: 0 8px 20px rgba(230, 57, 70, 0.2);
}

/* ---------------------------------- */
/* TABLET VIEW (Under 991px)          */
/* ---------------------------------- */
@media (max-width: 991px) {
    .hero-img {
        height: 40vh !important;
    }
    
    .cart-item {
        grid-template-columns: 80px 1fr auto;
        grid-template-areas:
            "img info delete"
            "img qty price";
        gap: 15px;
        padding: 15px;
    }

    .item-img {
        grid-area: img;
        height: 80px;
    }

    .item-info {
        grid-area: info;
        margin-bottom: 5px;
    }

    .qty-control {
        grid-area: qty;
        justify-self: start;
    }

    .price-text {
        grid-area: price;
        text-align: right;
    }

    .cart-item form {
        grid-area: delete;
        text-align: right;
    }
}

/* ---------------------------------- */
/* MOBILE VIEW (Under 768px)          */
/* ---------------------------------- */
@media (max-width: 768px) {
    .hero-img {
        height: 70vh !important;
    }
    
    .carousel-caption {
        left: 0% !important;
        right: 0% !important;
    }
    
    .cart-item {
        gap: 10px;
        padding: 15px;
        display: block;
    }

    .item-img {
        width: 70px;
        height: 70px;
    }

    .item-info {
        width: calc(100% - 85px);
        margin-bottom: 10px;
        padding: 20px 0 !important;
    }

    .qty-control {
        order: 3;
        flex-grow: 0;
    }

    .price-text {
        order: 4;
        flex-grow: 1;
        text-align: left !important;
        padding: 15px 5px;
        font-size: 1.3rem;
    }

    .cart-item form {
        grid-area: delete;
        text-align: left;
    }

    .cart-item form {
        order: 5;
    }
}

/* --- FOOTER CSS --- */
footer {
    background: var(--footer-bg);
    color: #cbd5e1;
    padding: 70px 0 25px;
    margin-top: 20px;
}

.footer-logo {
    color: #fff;
    font-size: 1.5rem;
    font-weight: 800;
    text-decoration: none;
    display: block;
    margin-bottom: 15px;
}

.footer-title {
    color: var(--primary);
    font-weight: 700;
    margin-bottom: 25px;
    font-size: 1.1rem;
    text-transform: uppercase;
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: #cbd5e1;
    text-decoration: none;
    font-size: 1rem;
    transition: 0.3s;
}

.footer-links a:hover {
    color: var(--primary);
    padding-left: 5px;
}

.contact-item {
    display: flex;
    gap: 12px;
    margin-bottom: 15px;
    font-size: 1rem;
}

.contact-item i {
    color: var(--primary);
    margin-top: 5px;
}

.contact-item a {
    color: #fff;
    margin-top: 5px;
    text-decoration: none;
    transition: .5s;
}

.contact-item a:hover {
    color: var(--primary);
}

.opening-hours-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    font-size: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding-bottom: 5px;
}

.copyright {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 50px;
    padding-top: 25px;
    font-size: 1rem;
}

@media (max-width: 991px) {
    .navbar-collapse {
        background: #fff;
        padding: 20px;
        border-radius: 15px;
        margin-top: 15px;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    }

    .btn-call {
        display: none;
    }

    .border-md-right {
        border-right: none;
        border-bottom: 1px solid #e2e8f0;
        margin-bottom: 15px;
        padding-bottom: 15px;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }

    .heading-style {
        font-size: 2rem;
    }

    .mobile-bottom-nav {
        display: flex;
    }

    body {
        padding-bottom: 80px;
    }

    .sidebar-card {
        position: relative;
        top: 0;
        margin-bottom: 30px;
    }

    #product-heading {
        font-size: 2rem;
    }

    .policy-header h1 {
        font-size: 2.2rem;
    }

    .terms-header h1 {
        font-size: 2.2rem;
    }

    .btn-add-cart {
        position: sticky;
        bottom: 90px;
        z-index: 1020;
        box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
        /* Stronger shadow to pop out */
    }
}