:root {
    --primary-color: #B90F16;
    --primary-hover: #8F0C11;
    --secondary-color: #f8f9fa;
    --text-dark: #333333;
    --text-muted: #6c757d;
    --white: #ffffff;
    --transition: all 0.3s ease;
    --shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

.announcement-bar {
    position: relative;
    overflow: hidden;
    background:
        linear-gradient(90deg, #7d0910 0%, #b90f16 34%, #d9483b 50%, #b90f16 66%, #7d0910 100%);
    color: var(--white);
    border-bottom: 1px solid rgba(255, 255, 255, 0.18);
    box-shadow: 0 10px 24px rgba(88, 8, 13, 0.18);
    z-index: 1035;
}

.announcement-bar::before,
.announcement-bar::after {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    width: 96px;
    pointer-events: none;
    z-index: 1;
}

.announcement-bar::before {
    left: 0;
    background: linear-gradient(90deg, rgba(125, 9, 16, 0.95), rgba(125, 9, 16, 0));
}

.announcement-bar::after {
    right: 0;
    background: linear-gradient(270deg, rgba(125, 9, 16, 0.95), rgba(125, 9, 16, 0));
}

.announcement-bar__inner {
    max-width: 100%;
    overflow: hidden;
    padding: 0.8rem 0;
}

.announcement-bar__track {
    display: flex;
    width: max-content;
    align-items: center;
    gap: 1.25rem;
    padding-left: 100%;
    animation: announcement-scroll 48s linear infinite;
}

.announcement-bar__item {
    display: inline-flex;
    align-items: center;
    gap: 0.85rem;
    white-space: nowrap;
    padding-right: 0.5rem;
}

.announcement-bar__item::after {
    content: "";
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.75);
    box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.12);
}

.announcement-bar__badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.35rem 0.8rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.16);
    border: 1px solid rgba(255, 255, 255, 0.22);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.announcement-bar__text {
    font-size: 0.98rem;
    font-weight: 700;
    letter-spacing: 0.01em;
}

@keyframes announcement-scroll {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-100%);
    }
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 700;
}

.text-primary {
    color: var(--primary-color) !important;
}

.bg-primary {
    background-color: var(--primary-color) !important;
}

/* Navbar */
.navbar {
    padding: 1rem 0;
    box-shadow: var(--shadow);
    background: var(--white);
    transition: var(--transition);
}

.navbar-brand img {
    height: 40px;
}

.nav-link {
    font-weight: 500;
    color: var(--text-dark);
    margin: 0 0.5rem;
    position: relative;
}

.nav-link:hover {
    color: var(--primary-color);
}

/* Mega Menu Styling – contained panel, not full-screen */
.mega-menu {
    position: static !important;
}

.mega-menu .dropdown-menu {
    width: 95% !important;
    max-width: 1100px;
    left: 50% !important;
    right: auto !important;
    transform: translateX(-50%);
    margin-top: 0;
    padding: 0;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-top: 3px solid var(--primary-color);
    border-radius: 0 0 12px 12px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
    min-height: 200px;
    max-height: 75vh;
    overflow-y: auto;
    background: var(--white);
}

/* Click to open/close - no hover. Bootstrap adds .show on click */
.mega-menu.dropdown.show .dropdown-menu {
    display: block !important;
}

.mega-menu-title {
    color: var(--primary-color);
    font-weight: 700;
    margin-bottom: 1.5rem;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.mega-menu-list {
    list-style: none;
    padding: 0;
}

.mega-menu-list li {
    margin-bottom: 0.5rem;
}

.mega-menu-list a {
    text-decoration: none;
    color: var(--text-dark);
    font-size: 0.95rem;
    transition: var(--transition);
}

.mega-menu-list a:hover {
    color: var(--primary-color);
    padding-left: 5px;
}

/* Hero Section */
.hero-slider {
    position: relative;
    overflow: hidden;
}

.carousel-item {
    height: 600px;
    background-size: cover;
    background-position: center;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        linear-gradient(110deg, rgba(31, 15, 18, 0.2) 0%, rgba(31, 15, 18, 0.08) 35%, rgba(31, 15, 18, 0.45) 100%),
        linear-gradient(90deg, rgba(185, 15, 22, 0.82) 0%, rgba(90, 5, 10, 0.58) 52%, rgba(0, 0, 0, 0.22) 100%);
    display: flex;
    align-items: center;
    color: var(--white);
}

.hero-content {
    max-width: 760px;
}

.hero-panel {
    max-width: 750px;
    padding: 2.5rem 2.75rem;
    border-radius: 28px;
    background: rgba(12, 8, 10, 0.18);
    backdrop-filter: blur(8px);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.18);
}

.hero-content h1 {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    line-height: 1.05;
}

.hero-content .lead {
    max-width: 58ch;
    font-size: 1.15rem;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.hero-support-phone {
    font-size: 1.05rem;
    font-weight: 600;
}

.hero-support-phone a {
    color: var(--white);
    text-decoration: none;
}

.hero-support-phone a:hover {
    text-decoration: underline;
}

.hero-slider .carousel-indicators {
    margin-bottom: 1.5rem;
}

.hero-slider .carousel-indicators [data-bs-target] {
    width: 12px;
    height: 12px;
    border-radius: 999px;
    border: 0;
    margin: 0 0.35rem;
    background-color: rgba(255, 255, 255, 0.45);
}

.hero-slider .carousel-indicators .active {
    background-color: var(--white);
    transform: scale(1.12);
}

.hero-slider .carousel-control-prev,
.hero-slider .carousel-control-next {
    width: 6%;
}

.hero-slider .carousel-control-prev-icon,
.hero-slider .carousel-control-next-icon {
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    background-color: rgba(17, 17, 17, 0.28);
    background-size: 50%;
}

/* Buttons */
.btn-primary {
    background: linear-gradient(135deg, var(--primary-color) 0%, #8F0C11 100%);
    border: none;
    transition: var(--transition);
}

.btn-primary:hover {
    background: linear-gradient(135deg, #8F0C11 0%, var(--primary-color) 100%);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(185, 15, 22, 0.3);
}

/* Service Cards */
.service-section {
    padding: 6rem 0;
    background: #fdfdfd;
}

.service-card {
    border: none;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    height: 100%;
    background: var(--white);
    padding: 3rem;
    text-align: center;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
}

.service-card .icon-wrapper {
    width: 90px;
    height: 90px;
    background: rgba(185, 15, 22, 0.1);
    color: var(--primary-color);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2rem;
}

.service-card .icon-wrapper i {
    font-size: 2.5rem;
}

/* Category Cards */
.category-card {
    text-align: center;
    margin-bottom: 3rem;
    transition: var(--transition);
}

.category-card:hover {
    transform: translateY(-5px);
}

.category-image-wrapper {
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.category-image-wrapper img {
    max-height: 100%;
    object-fit: contain;
}

.category-card h3 {
    font-size: 1.8rem;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
}

/* Brands Section */
.brands-section {
    padding: 6rem 0;
}

.brand-card {
    border-radius: 12px;
    border: none;
    padding: 1.5rem;
    text-align: center;
    transition: var(--transition);
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 80px;
}

.brand-card img {
    max-height: 40px;
    max-width: 120px;
    object-fit: contain;
    filter: grayscale(1);
    opacity: 0.5;
    transition: var(--transition);
}

.brand-card:hover img {
    filter: grayscale(0);
    opacity: 1;
}

.brand-card span {
    font-weight: 700;
    color: var(--text-muted);
    font-size: 1.2rem;
    transition: var(--transition);
}

.brand-card:hover span {
    color: var(--primary-color);
}

/* Footer Implementation */
.footer-dark {
    background: #B90F17;
    color: #a0aec0;
    padding: 6rem 0 3rem;
}

.footer-logo h2 {
    color: var(--white);
}

.footer-links h5 {
    color: var(--white);
    margin-bottom: 1.5rem;
}

.footer-links ul {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 0.8rem;
}

.footer-links a {
    color: white;
    text-decoration: none;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--primary-color);
    padding-left: 5px;
}

.footer-bottom {
    border-top: 1px solid #3A0A0D;
    margin-top: 4rem;
    padding-top: 2rem;
    font-size: 0.9rem;
}
.footer-contact {
    color: #fff !important
}
.footertext {
    color: #fff !important
}
/* Responsiveness */
@media (max-width: 991px) {
    .container {
        padding-left: 20px;
        padding-right: 20px;
    }

    .announcement-bar__inner {
        padding: 0.7rem 0;
    }

    .announcement-bar__badge {
        font-size: 0.66rem;
        padding: 0.3rem 0.65rem;
    }

    .announcement-bar__text {
        font-size: 0.9rem;
    }

    .hero-content h1 {
        font-size: 2.2rem;
    }

    .hero-panel {
        padding: 2rem 1.5rem;
        border-radius: 22px;
    }

    @media (max-width: 575.98px) {
        .hero-content h1 {
            font-size: 1.8rem;
        }

        .hero-content .lead {
            font-size: 0.9rem;
        }

        .hero-panel {
            padding: 1.5rem 1.15rem;
        }
    }

    .hero-content .lead {
        font-size: 1rem;
        margin-bottom: 2rem !important;
    }

    .hero-content .btn-lg {
        padding: 0.75rem 1.25rem !important;
        font-size: 0.9rem !important;
    }

    .carousel-item {
        height: 400px;
    }

    .hero-slider .carousel-control-prev,
    .hero-slider .carousel-control-next {
        display: none;
    }

    .navbar-collapse.show {
        overflow-y: auto;
    }

    .mega-menu .dropdown-menu {
        position: static;
        display: none;
        padding: 1.5rem;
        width: 100% !important;
        max-width: none;
        left: auto !important;
        transform: none;
        min-height: auto;
        max-height: none;
    }

    .mega-menu.show .dropdown-menu {
        display: block !important;
    }
}

/* Shop Page Styles */
.shop-hero {
    background: linear-gradient(135deg, #4A070A 0%, var(--primary-color) 100%);
    padding: 8rem 0;
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.shop-hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 50%;
    z-index: 1;
}

.shop-hero .container {
    position: relative;
    z-index: 2;
}

/* Filter Sidebar */
.filter-sidebar {
    background: var(--white);
    border-radius: 20px;
    padding: 2rem;
    box-shadow: var(--shadow);
    position: sticky;
    top: 100px;
}

@media (max-width: 991px) {
    .filter-sidebar {
        position: static;
        padding: 1.5rem;
        border-radius: 16px;
    }
}

.toggle-icon {
    transition: transform 0.3s ease;
}

[aria-expanded="true"] .toggle-icon {
    transform: rotate(180deg);
}

.filter-group {
    margin-bottom: 2rem;
}

.filter-title {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 1.2rem;
    color: var(--text-dark);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.filter-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.filter-item {
    margin-bottom: 0.8rem;
}

.filter-item .form-check-input:checked {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.filter-item label {
    font-size: 0.95rem;
    color: var(--text-muted);
    cursor: pointer;
    transition: var(--transition);
}

.filter-item:hover label {
    color: var(--primary-color);
}

/* Product Cards – compact height, all info kept, responsive */
.product-card {
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    height: 100%;
    border: 1px solid rgba(0, 0, 0, 0.03);
    position: relative;
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.1);
}

.product-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 2;
    padding: 0.35rem 0.75rem;
    border-radius: 50px;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
}

.product-image-wrapper {
    height: 180px;
    padding: 1rem;
    background: #fdfdfd;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.product-image-wrapper img {
    max-height: 100%;
    max-width: 100%;
    object-fit: contain;
    transition: var(--transition);
}

.product-card:hover .product-image-wrapper img {
    transform: scale(1.05);
}

.product-details {
    padding: 1rem 1.25rem;
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
    min-height: 0;
}

.product-brand {
    font-size: 0.75rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.25rem;
}

.product-name {
    font-size: 1.05rem;
    line-height: 1.35;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 2.85em;
}

.product-variants {
    display: flex;
    gap: 6px;
    margin-bottom: 0.5rem;
}

.color-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.storage-tags {
    font-size: 0.72rem;
    color: var(--text-muted);
    margin-bottom: 0.5rem;
    line-height: 1.3;
}

.product-price-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: auto;
}

.price-start {
    font-size: 0.75rem;
    color: var(--text-muted);
    display: block;
}

.price-value {
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--primary-color);
}

.btn-view-options {
    width: 100%;
    border-radius: 12px;
    padding: 0.55rem 0.75rem;
    font-weight: 700;
    font-size: 0.9rem;
    margin-top: 0.75rem;
}

/* Responsive: slightly larger image on big screens, tighter on small */
@media (min-width: 992px) {
    .product-image-wrapper {
        height: 200px;
        padding: 1.25rem;
    }
}

@media (max-width: 575.98px) {
    .product-image-wrapper {
        height: 160px;
        padding: 0.75rem;
    }
    .product-details {
        padding: 0.875rem 1rem;
    }
    .product-name {
        font-size: 1rem;
        min-height: 2.7em;
    }
    .btn-view-options {
        padding: 0.5rem 0.65rem;
        font-size: 0.85rem;
    }
}

/* Price Range Slider Customization */
input[type=range].form-range::-webkit-slider-runnable-track {
    background: #e2e8f0;
}

input[type=range].form-range::-webkit-slider-thumb {
    background: var(--primary-color);
}

/* Graceful error pages (404, 500, exception) – site-wide */
.error-page {
    min-height: 60vh;
    display: flex;
    align-items: center;
    padding: 2rem 0;
}

.error-page-card {
    background: var(--white);
    border-radius: 24px;
    padding: 2.5rem 2rem;
    border: 1px solid rgba(0, 0, 0, 0.06);
}

.error-icon-wrapper {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.25rem;
    background: rgba(185, 15, 22, 0.08);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.error-icon-wrapper i {
    font-size: 2.25rem;
    color: var(--primary-color);
}

.error-code {
    font-size: 3rem;
    font-weight: 800;
    color: var(--primary-color);
    line-height: 1;
    opacity: 0.9;
}

.error-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-dark);
}

.error-message {
    font-size: 1rem;
    line-height: 1.6;
    max-width: 420px;
    margin-left: auto;
    margin-right: auto;
}

@media (max-width: 575.98px) {
    .error-page-card {
        padding: 1.75rem 1.25rem;
    }
    .error-code {
        font-size: 2.5rem;
    }
    .error-title {
        font-size: 1.25rem;
    }
}

/* Mobile Adjustments for Shop */
@media (max-width: 767px) {
    .filter-sidebar {
        position: static;
        margin-bottom: 2rem;
    }

    .shop-hero {
        padding: 5rem 0;
    }

    .shop-hero h1 {
        font-size: 2.2rem;
    }
}

/* Authentication Forms */
.auth-section {
    padding: 2rem 0;
    background: #fdfdfd;
    min-height: 80vh;
    display: flex;
    align-items: center;
}

@media (prefers-reduced-motion: reduce) {
    .announcement-bar__track {
        animation: none;
        padding-left: 1rem;
        padding-right: 1rem;
        width: 100%;
        overflow-x: auto;
    }
}

.auth-card {
    background: var(--white);
    border-radius: 20px;
    padding: 3rem;
    box-shadow: var(--shadow);
    border: 1px solid rgba(0, 0, 0, 0.03);
}

.auth-title {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 2rem;
    color: var(--text-dark);
}

.auth-form .form-label {
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.auth-form .form-control {
    padding: 0.8rem 1rem;
    border-radius: 12px;
    border: 1.5px solid #eee;
    transition: var(--transition);
}

.auth-form .form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(185, 15, 22, 0.1);
}

.auth-footer {
    margin-top: 2rem;
    text-align: center;
    font-size: 0.95rem;
    color: var(--text-muted);
}

.auth-footer a {
    color: var(--primary-color);
    font-weight: 700;
    text-decoration: none;
}

/* Auth pages (Login, Register) - icon styling */
.auth-icon-wrap {
    width: 56px;
    height: 56px;
    min-width: 56px;
    min-height: 56px;
    background: rgba(185, 15, 22, 0.1);
    color: var(--primary-color);
    font-size: 1.5rem;
}

/* Password toggle in auth forms */
.auth-form .input-group .form-control {
    border-radius: 12px 0 0 12px;
}
.auth-form .input-group .btn {
    border-radius: 0 12px 12px 0;
    border-color: #eee;
}
    .auth-form .input-group .btn:hover {
        background: #B90F16;
        border-color: #eee;
    }

/* Contact page - icon styling (compact, refined) */
.contact-icon-wrap {
    width: 40px;
    height: 40px;
    min-width: 40px;
    min-height: 40px;
    background: rgba(185, 15, 22, 0.08);
    color: var(--primary-color);
    font-size: 1rem;
}

/* Profile / Dashboard */
.dashboard-wrapper {
    padding: 4rem 0;
    background: #fdfdfd;
}

.sidebar-nav {
    background: var(--white);
    border-radius: 20px;
    padding: 1.5rem;
    box-shadow: var(--shadow);
    position: sticky;
    top: 100px;
}

.sidebar-nav .nav-link {
    color: var(--text-muted);
    padding: 0.8rem 1.2rem;
    border-radius: 12px;
    margin-bottom: 0.5rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 12px;
    transition: var(--transition);
}

.sidebar-nav .nav-link i {
    font-size: 1.2rem;
}

.sidebar-nav .nav-link:hover,
.sidebar-nav .nav-link.active {
    background: rgba(185, 15, 22, 0.05);
    color: var(--primary-color);
}

.dashboard-card {
    background: var(--white);
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: var(--shadow);
    border: 1px solid rgba(0, 0, 0, 0.03);
    margin-bottom: 2rem;
}

.dashboard-title {
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 2rem;
    color: var(--text-dark);
}

.order-item-card {
    border: 1px solid #eee;
    border-radius: 15px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    transition: var(--transition);
}

.order-item-card:last-child {
    margin-bottom: 0;
}

.order-item-card:hover {
    border-color: var(--primary-color);
    background: #fcfcfc;
}

.status-badge {
    padding: 0.4rem 1rem;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 700;
    white-space: nowrap;
    flex-shrink: 0;
}

/* Account pages - proper spacing between cards */
.account-card-list .order-item-card,
.account-card-list .card,
.account-card-list > .col-md-6,
.account-card-list > [class*="col-"] {
    margin-bottom: 1.25rem;
}

.account-card-list .order-item-card:last-child,
.account-card-list .card:last-child {
    margin-bottom: 0;
}

/* Responsive styles for Account pages (Addresses, MyOrders, MyBookings) */
@media (max-width: 991.98px) {
    .dashboard-wrapper {
        padding: 2rem 0;
    }

    .dashboard-card {
        padding: 1.5rem;
        border-radius: 16px;
    }

    .sidebar-nav {
        position: static;
        margin-bottom: 1.5rem;
    }
}

@media (max-width: 575.98px) {
    .dashboard-wrapper {
        padding: 1.5rem 0;
    }

    .dashboard-wrapper .container {
        padding-left: 1rem;
        padding-right: 1rem;
    }

    .dashboard-card {
        padding: 1.25rem;
        border-radius: 14px;
    }

    .dashboard-title {
        font-size: 1.25rem;
        margin-bottom: 1.25rem;
    }

    /* Addresses - header & Add New button stack on small screens */
    .dashboard-card .d-flex.justify-content-between.align-items-center {
        flex-direction: column;
        align-items: stretch;
        gap: 1rem;
    }

    .dashboard-card .d-flex.justify-content-between.align-items-center .btn-primary {
        width: 100%;
        justify-content: center;
    }

    /* Address cards - better spacing & button layout */
    .dashboard-card .card .card-body {
        padding: 1.25rem !important;
    }

    .dashboard-card .card .card-body p {
        line-height: 1.5;
        margin-bottom: 0.5rem;
    }

    .dashboard-card .card .d-flex.gap-2 {
        flex-wrap: wrap;
        gap: 0.75rem !important;
    }

    .dashboard-card .card .btn {
        flex: 1;
        min-width: 120px;
    }

    /* Order cards - fix overlap: stack header on small screens */
    .order-card-header,
    .order-item-card .d-flex.justify-content-between.align-items-start {
        flex-direction: column;
        gap: 0.75rem;
        align-items: flex-start;
    }

    .order-card-header .order-card-info,
    .order-item-card .d-flex.justify-content-between.align-items-start > div:first-child {
        min-width: 0;
        width: 100%;
    }

    .order-item-card h5.fw-bold {
        word-break: break-all;
        font-size: 1rem;
    }

    .order-item-card .status-badge {
        align-self: flex-start;
    }

    /* Order card - product thumbnails & price stack on mobile */
    .order-item-card .row.align-items-center {
        flex-direction: column;
        align-items: stretch !important;
    }

    .order-item-card .col-md-4.text-md-end {
        text-align: left !important;
        margin-top: 1rem;
        padding-top: 1rem;
        border-top: 1px solid #eee;
    }

    .order-item-card .d-flex.gap-2 {
        flex-wrap: wrap;
    }

    /* Booking cards - chips wrap and don't overflow */
    .booking-badges .badge,
    .order-item-card .d-flex.flex-wrap.gap-2 .badge {
        max-width: 100%;
        white-space: normal;
        word-break: break-word;
        text-align: left;
    }

    .booking-content,
    .order-item-card .d-flex.align-items-center.gap-3 {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem !important;
    }

    .order-item-card .flex-grow-1 {
        width: 100%;
    }

    /* Booking date/time - stack on small screens */
    .booking-datetime {
        display: flex;
        flex-wrap: wrap;
        gap: 0.25rem 0.5rem;
    }
}

/* Extra spacing between cards on all screen sizes */
.order-item-card {
    margin-bottom: 1.25rem;
}

.dashboard-card .row.g-4 {
    row-gap: 1.25rem;
}

.dashboard-card .row.g-4 .col-md-6 {
    margin-bottom: 0;
}
