:root {
    --bg-white: #ffffff;
    --bg-light: #f8f9fa;
    --bg-dark-grey: #172337;
    --bg-secondary: #3a4b5f;
    --text-dark: #212529;
    --text-grey: #6c757d;
    --primary-red: #e74c3c;
    --hover-red: #c0392b;
    --border-color: #dee2e6;

    /* YOUR REQUESTED COLORS */
    --primary-solid: #0f172a;
    /* Dark Blue */
    --accent-solid: #ff4757;
    /* Red/Coral */

    --glass-bg: rgba(255, 255, 255, 0.9);
    --glass-border: rgba(255, 255, 255, 0.5);
    --glass-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
    --text-dark: #2d3436;

    --chat-width: 320px;
    --chat-height: 450px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    /* font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif; */
    /* font-family: "DM Sans", sans-serif; */
    /* font-family: Inter,-apple-system,Helvetica,Arial,sans-serif; */
    font-family: "Ubuntu Sans", sans-serif !important;
    background-color: var(--bg-white);
    color: var(--text-dark);
    overflow-x: hidden;
}

a {
    text-decoration: none;
}

.container {
    max-width: 1400px;
}

.icon {
    width: 18px;
    height: 18px;
    fill: currentColor;
    display: inline-block;
    vertical-align: middle;
}

.icon-lg {
    width: 24px;
    height: 24px;
}

/* Top Bar */
.top-bar {
    background: var(--bg-dark-grey);
    padding: 5px 0;
    font-size: 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.top-bar a {
    color: #fff;
    text-decoration: none;
    margin: 0 5px;
    transition: color 0.3s;
}

.top-bar a:hover {
    color: var(--primary-red);
}

.top-bar span {
    color: #ddd;
}

.top-bar .icon {
    width: 14px;
    height: 14px;
    fill: currentColor;
    margin-right: 3px;
    vertical-align: middle;
}

/* Main Header */
.main-header {
    /* background: var(--bg-white); */
    background: #ffffffe6;
    padding: 8px 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 0px solid var(--border-color);
    backdrop-filter: blur(20px) saturate(180%);
}

.logo {
    font-size: 32px;
    font-weight: 800;
    color: var(--text-dark);
    text-decoration: none;
    letter-spacing: -1px;
    display: inline-block;
    transition: transform 0.3s;
}

.logo:hover {
    transform: scale(1.05);
}

.logo span {
    color: var(--primary-red);
}

/* Search Bar */
.search-bar {
    position: relative;
    max-width: 600px;
    margin: 0 auto;
}

.search-bar input {
    width: 100%;
    padding: 12px 50px 12px 20px;
    border: 1px solid var(--border-color);
    background: var(--bg-light);
    border-radius: 30px;
    color: var(--text-dark);
    font-size: 14px;
    transition: all 0.3s;
}

.search-bar input:focus {
    outline: none;
    border-color: var(--primary-red);
    background: var(--bg-white);
    box-shadow: 0 0 0 3px rgba(231, 76, 60, 0.1);
}

.search-bar input::placeholder {
    color: var(--text-grey);
}

.search-bar button {
    position: absolute;
    right: 5px;
    top: 50%;
    transform: translateY(-50%);
    background: var(--bg-dark-grey);
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.search-bar button:hover {
    transform: translateY(-50%) scale(1.05);
    background: var(--bg-secondary);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.search-bar button svg {
    fill: white;
}

/* Header Icons */
.header-icons {
    display: flex;
    align-items: center;
    gap: 20px;
}

.header-icon {
    position: relative;
    cursor: pointer;
    color: var(--text-dark);
    transition: all 0.3s;
    padding: 8px;
    border-radius: 50%;
}

.header-icon:hover {
    background: var(--bg-light);
    color: var(--primary-red);
    transform: translateY(-2px);
}

.badge-count {
    position: absolute;
    top: 0;
    right: 0;
    background: var(--primary-red);
    color: #fff;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    font-size: 11px;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--bg-white);
}

.hot-deals-btn {
    background: var(--bg-dark-grey);
    color: #fff;
    border: none;
    padding: 10px 20px;
    border-radius: 25px;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.hot-deals-btn:hover {
    transform: translateY(-2px);
    background: var(--bg-secondary);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.hot-deals-btn svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
}

.hamburger-btn {
    background: transparent;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    padding: 8px;
    cursor: pointer;
    color: var(--text-dark);
    transition: all 0.3s;
}

.hamburger-btn:hover {
    border-color: var(--primary-red);
    background: var(--bg-light);
    color: var(--primary-red);
}

/* Main Navigation */
.main-nav {
    background: var(--bg-white);
    border-top: 0px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.navbar-nav {
    width: 100%;
    justify-content: center;
    gap: 5px;
}

.nav-link {
    color: var(--text-dark) !important;
    padding: 5px 10px !important;
    font-weight: 500;
    font-size: 15px;
    position: relative;
    transition: all 0.3s;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 5px;
}

.nav-link:hover {
    /* background: var(--bg-light); */
    color: var(--primary-red) !important;
}

.nav-link.active {
    /* background: linear-gradient(135deg, rgba(231, 76, 60, 0.1) 0%, rgba(231, 76, 60, 0.05) 100%); */
    color: var(--primary-red) !important;
}

.nav-link.dropdown-toggle::after {
    display: none;
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 20px;
    right: 20px;
    height: 3px;
    background: var(--primary-red);
    border-radius: 3px 3px 0 0;
}

/* Dropdown Arrow */
.dropdown-arrow {
    width: 16px;
    height: 16px;
    fill: currentColor;
    transition: transform 0.3s;
    margin-left: 2px;
}

.dropdown:hover .dropdown-arrow,
.nav-item:hover .dropdown-arrow {
    transform: rotate(180deg);
}

/* Dropdown items - Keep relative positioning by default */
.nav-item.dropdown {
    position: relative;
}

/* But make it static when it contains a mega-menu */
.nav-item.dropdown:has(.mega-menu) {
    position: static;
}

/* Standard Dropdown */
.dropdown-menu {
    background: rgb(255 255 255 / 97%);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 10px;
    margin-top: 10px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    min-width: 200px;
    backdrop-filter: blur(20px) saturate(180%);
}

.dropdown-item {
    color: var(--text-dark);
    padding: 10px 15px;
    border-radius: 8px;
    transition: all 0.3s;
    font-size: 14px;
}

.dropdown-item:hover {
    background: var(--bg-light);
    color: var(--primary-red);
    transform: translateX(5px);
}

/* Mega Menu - Simple & Professional (Click to Open) */
.mega-menu {
    position: absolute;
    width: 100%;
    max-width: 1000px;
    padding: 25px 30px;
    background: #ffffffe5;
    border: 1px solid #e0e0e0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    margin-top: 0;
    left: 50% !important;
    transform: translateX(-50%) !important;
    border-radius: 0;
    backdrop-filter: blur(20px) saturate(180%);
}

.mega-menu .row {
    margin: 0 -15px;
}

.mega-menu-column {
    padding: 0 15px;
    margin-bottom: 15px;
}

/* Category Headers */
.mega-menu-column h6 {
    color: #333;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 12px;
    padding-bottom: 0;
    border-bottom: none;
    text-transform: capitalize;
}

.mega-menu-column h6::before {
    display: none;
}

/* Header Links */
.mega-menu-column h6 a {
    color: #333 !important;
    text-decoration: none !important;
    font-weight: 600 !important;
    padding: 0 !important;
    margin: 0 !important;
    background: none !important;
    transform: none !important;
    display: inline !important;
}

.mega-menu-column h6 a:hover {
    color: #e74c3c !important;
}

.mega-menu-column h6 a::after {
    display: none !important;
}

/* Sub-category Links */
.mega-menu-column>a {
    display: block;
    color: #666;
    text-decoration: none;
    padding: 6px 0;
    font-size: 13px;
    transition: color 0.2s ease;
    background: none !important;
    border-radius: 0;
    margin: 0;
}

.mega-menu-column>a::after {
    display: none !important;
}

.mega-menu-column>a:hover {
    color: #e74c3c;
    background: none !important;
    transform: none !important;
    padding-left: 0 !important;
}

/* Navigation link styling */
.nav-link.dropdown-toggle {
    position: relative;
}

.dropdown-arrow {
    width: 16px;
    height: 16px;
    fill: currentColor;
    margin-left: 4px;
    transition: transform 0.2s ease;
}

/* Rotate arrow when dropdown is shown */
.nav-item.dropdown .show~.dropdown-arrow,
.nav-item.dropdown.show .dropdown-arrow {
    transform: rotate(180deg);
}

/* Column dividers */
.mega-menu-column:not(:last-child) {
    border-right: 1px solid #f0f0f0;
}

/* Ensure Bootstrap dropdown works on click */
.dropdown-menu.mega-menu {
    display: none;
}

.dropdown-menu.mega-menu.show {
    display: block;
    border-radius: 4px;
}

/* Hero Slider - Compact & Clean Design */
.hero-slider {
    margin-top: 0;
    position: relative;
    overflow: hidden;
}

.hero-slider .carousel-item {
    height: 400px;
    background-size: cover;
    background-position: center;
    position: relative;
    transition: transform 0.6s ease-in-out;
}

/* Remove the overlay completely */
.hero-slider .carousel-item::before {
    display: none;
}

/* Content Box with Solid Background */
.hero-content {
    position: relative;
    z-index: 2;
}

.hero-content-box {
    background: rgb(255 255 255 / 75%);
    backdrop-filter: blur(20px) saturate(180%);
    padding: 25px 30px;
    border-radius: 16px;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.6);
    max-width: 550px;
}

.hero-content h1 {
    font-size: 1.8rem;
    font-weight: 400;
    margin-bottom: 15px;
    color: var(--text-dark);
    line-height: 1.2;
    letter-spacing: -0.5px;
}

.hero-content p {
    font-size: 0.95rem;
    margin-bottom: 25px;
    color: var(--text-grey);
    line-height: 1.5;
}

/* Modern Button */
.btn-hero {
    background: var(--primary-red);
    color: white;
    padding: 11px 30px;
    border: none;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 15px rgba(231, 76, 60, 0.3);
}

.btn-hero .arrow-icon {
    width: 18px;
    height: 18px;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    stroke-width: 2.5;
}

.btn-hero:hover {
    background: #c0392b;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(231, 76, 60, 0.4);
}

.btn-hero:hover .arrow-icon {
    transform: translateX(5px);
}

/* Custom Carousel Controls */
.carousel-control-prev,
.carousel-control-next {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
    opacity: 0;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.hero-slider:hover .carousel-control-prev,
.hero-slider:hover .carousel-control-next {
    opacity: 1;
}

.carousel-control-prev {
    left: 20px;
}

.carousel-control-next {
    right: 20px;
}

.carousel-control-prev:hover,
.carousel-control-next:hover {
    background: white;
    transform: translateY(-50%) scale(1.1);
}

.carousel-control-icon {
    width: 22px;
    height: 22px;
    color: var(--text-dark);
}

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

/* Modern Indicators */
.carousel-indicators {
    bottom: 25px;
    margin-bottom: 0;
    gap: 6px;
}

.carousel-indicators button {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: 2px solid white;
    background-color: transparent;
    opacity: 0.6;
    transition: all 0.3s ease;
    margin: 0 3px;
}

.carousel-indicators button.active {
    width: 35px;
    border-radius: 5px;
    background-color: white;
    opacity: 1;
}

/* Tablet Responsive */
@media (max-width: 991px) {
    .hero-slider .carousel-item {
        height: 400px;
    }

    .hero-content {
        display: flex;
        align-items: flex-end;
        height: 100%;
        padding-bottom: 30px;
    }

    .hero-content-box {
        padding: 25px 25px;
        margin: 0 15px;
        background: rgba(255, 255, 255, 0.90);
        width: 100%;
        max-width: 100%;
    }

    .hero-content h1 {
        font-size: 1.85rem;
        margin-bottom: 12px;
    }

    .hero-content p {
        font-size: 0.88rem;
        margin-bottom: 20px;
    }

    .btn-hero {
        padding: 10px 26px;
        font-size: 0.85rem;
    }

    .carousel-indicators {
        bottom: 20px;
    }
}

/* Mobile Responsive */
@media (max-width: 767px) {
    .hero-slider .carousel-item {
        height: 350px;
    }

    .hero-content {
        padding-bottom: 25px;
    }

    .hero-content-box {
        padding: 20px 20px;
        margin: 0 12px;
        background: rgba(255, 255, 255, 0.88);
        box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
        border-radius: 12px;
    }

    .hero-content h1 {
        font-size: 1.5rem;
        margin-bottom: 10px;
        letter-spacing: -0.3px;
    }

    .hero-content p {
        font-size: 0.82rem;
        margin-bottom: 18px;
        line-height: 1.4;
    }

    .btn-hero {
        padding: 9px 22px;
        font-size: 0.8rem;
    }

    .btn-hero .arrow-icon {
        width: 16px;
        height: 16px;
    }

    .carousel-control-prev,
    .carousel-control-next {
        width: 40px;
        height: 40px;
        opacity: 0.7;
        display: none;
    }

    .carousel-control-prev {
        left: 12px;
    }

    .carousel-control-next {
        right: 12px;
    }

    .carousel-control-icon {
        width: 18px;
        height: 18px;
    }

    .carousel-indicators {
        bottom: 15px;
    }

    .carousel-indicators button {
        width: 8px;
        height: 8px;
        margin: 0 2px;
    }

    .carousel-indicators button.active {
        width: 28px;
    }
}

/* Extra Small Mobile */
@media (max-width: 576px) {
    .hero-slider .carousel-item {
        height: 320px;
    }

    .hero-content-box {
        padding: 18px 16px;
        margin: 0 0px;
        background: rgba(255, 255, 255, 0.7);
        backdrop-filter: blur(5px) saturate(180%);
    }

    .hero-content h1 {
        font-size: 1.3rem;
        margin-bottom: 8px;
    }

    .hero-content p {
        font-size: 0.78rem;
        margin-bottom: 15px;
    }

    .btn-hero {
        padding: 8px 20px;
        font-size: 0.75rem;
        gap: 6px;
    }
}

/* Category Section */
.category-section {
    padding: 60px 0;
    background-color: var(--bg-light);
}
.category-scroll {
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
}

.category-item {
    text-align: center;
    margin-bottom: 30px;
    cursor: pointer;
    transition: transform 0.3s;
}
.category-item:hover {
    transform: translateY(-5px);
}
.category-circle {
    width: 120px;
    height: 120px;
    border: 3px solid var(--border-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 15px auto 15px;
    background-color: var(--bg-light);
    transition: all 0.3s;
}
.category-item:hover .category-circle {
    border-color: var(--primary-red);
    box-shadow: 0 0 20px rgba(231, 76, 60, 0.3) !important;
}
.category-circle svg {
    width: 50px;
    height: 50px;
    fill: var(--text-dark);
}
.category-name {
    color: var(--text-dark);
    font-weight: 600;
    margin-bottom: 5px;
}
.category-count {
    color: var(--text-grey);
    font-size: 0.9rem;
}



/* Footer */
.footer {
    background: #172337;
    color: #fff;
    margin-top: 0px;
}

.footer-content {
    padding: 40px 20px 20px;
    display: flex;
    gap: 40px;
    flex-wrap: nowrap;
    overflow-x: auto;

}

.footer-column {
    flex: 0 0 auto;
    min-width: 200px;
}

.footer-column h5 {
    font-size: 12px;
    font-weight: 400;
    color: #878787;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 16px;
}

.footer-column a,
.footer-column p {
    display: block;
    color: #fff;
    text-decoration: none;
    font-size: 12px;
    line-height: 20px;
    margin-bottom: 10px;
    transition: color 0.2s;
}

.footer-column a:hover {
    text-decoration: none;
}

.mail-us,
.registered-office {
    background: transparent;
    flex: 0 0 auto;
    min-width: 280px;
}

.mail-us h5,
.registered-office h5 {
    color: #fff;
    font-weight: 500;
    font-size: 11px;
    margin-bottom: 12px;
}

.mail-us p,
.registered-office p {
    font-size: 11px;
    line-height: 18px;
    color: #fff;
}

.contact-info strong {
    display: block;
    margin-bottom: 4px;
}

.social-icons {
    display: flex;
    gap: 15px;
    margin-top: 15px;
}

.social-icon {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.2s;
}

.social-icon:hover {
    opacity: 0.7;
}

.social-icon svg {
    width: 20px;
    height: 20px;
    fill: #fff;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 20px 0;
    margin-top: 30px;
}

.footer-bottom-content {
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.bottom-links {
    display: flex;
    gap: 30px;
    align-items: center;
}

.bottom-links a {
    color: #fff;
    text-decoration: none;
    font-size: 12px;
    display: flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
}

.bottom-links a:hover {
    text-decoration: underline;
}

.bottom-icon {
    width: 16px;
    height: 16px;
    fill: #ffe500;
}

.footer-address {
    display: flex;
    align-items: baseline;
}

.footer-phone {
    margin-right: 5px;
}

.footer-phone-two {
    margin-left: 5px;
}

.copyright {
    font-size: 11px;
    color: #fff;
    display: flex;
    align-items: center;
    gap: 5px;
}

.payment-methods {
    display: flex;
    gap: 8px;
    align-items: center;
}

.payment-methods img {
    height: 20px;
    background: #fff;
    padding: 2px 4px;
    border-radius: 2px;
}

@media (max-width: 1400px) {
    .footer-content {
        flex-wrap: wrap;
    }
}

@media (max-width: 968px) {
    .footer-content {
        gap: 30px;
    }

    .footer-column {
        min-width: 180px;
    }
}

@media (max-width: 576px) {
    .footer-content {
        flex-direction: column;
    }

    .footer-bottom-content {
        flex-direction: column;
        align-items: flex-start;
    }
}

.offcanvas {
    background-color: #ffffff;
    color: var(--text-dark);
    width: 100vw !important;
    max-width: 100vw !important;
}

.offcanvas-header {
    display: none;
}

.offcanvas-body {
    padding: 0;
    display: flex;
    height: 100%;
    overflow: hidden;
}

.menu-sidebar {
    width: 110px;
    min-width: 110px;
    background: #f5f5f5;
    overflow-y: auto;
    height: 100%;
    border-right: 1px solid #ebebeb;
}

.menu-sidebar-item {
    padding: 14px 10px;
    font-size: 12px;
    color: #333;
    cursor: pointer;
    border-bottom: 1px solid #ebebeb;
    text-align: center;
    line-height: 1.4;
    transition: all 0.2s;
    position: relative;
}

.menu-sidebar-item.active {
    background: #ffffff;
    color: #e02020;
    font-weight: 600;
}

.menu-sidebar-item.active::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: #e02020;
    border-radius: 0 2px 2px 0;
}

.menu-content {
    flex: 1;
    overflow-y: auto;
    height: 100%;
    padding: 12px 10px;
    background: #fff;
}

.menu-content-panel {
    display: none;
}

.menu-content-panel.active {
    display: block;
}

.menu-content-panel h4 {
    font-size: 13px;
    font-weight: 700;
    color: #111;
    margin: 0 0 12px;
    padding-bottom: 8px;
    border-bottom: 1px solid #ebebeb;
}

.menu-tile-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}

.menu-tile {
    text-align: center;
    text-decoration: none;
    color: #333;
    display: block;
}

.menu-tile-img {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
    border-radius: 8px;
    background: #f5f5f5;
    margin-bottom: 5px;
}

.menu-tile-img-placeholder {
    width: 100%;
    aspect-ratio: 1;
    background: #f0f0f0;
    border-radius: 8px;
    margin-bottom: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
}

.menu-tile span {
    font-size: 11px;
    line-height: 1.3;
    display: block;
    color: #333;
}

.menu-close-btn {
    background: none;
    border: none;
    padding: 4px;
    cursor: pointer;
    color: #333;
    display: flex;
    align-items: center;
}

.menu-top-links {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 14px;
}

.menu-top-link {
    font-size: 12px;
    padding: 5px 12px;
    border-radius: 20px;
    border: 1px solid #ddd;
    text-decoration: none;
    color: #333;
    white-space: nowrap;
}

.menu-top-link:hover {
    border-color: #e02020;
    color: #e02020;
}

/* Back to Top */
#backToTop {
    position: fixed;
    bottom: 25px;
    right: 10px;
    background-color: #ffffffba;
    color: white;
    border: none;
    border-radius: 35px;
    width: 42px;
    height: 42px;
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 999;
    backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid #d1d1d1c5;
}

#backToTop svg {
    width: 20px;
    height: 20px;
    fill: none;
    stroke: #172337ba;
    stroke-width: 3;
    stroke-linecap: round;
    stroke-linejoin: round;
}

#backToTop:hover {
    background-color: #ffffffd3;
    transform: translateY(-3px);
}

#backToTop:active {
    transform: scale(0.95);
}

#backToTop.show {
    display: flex;
    animation: fadeIn 0.3s ease forwards;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Mobile Responsive */
@media (max-width: 767px) {
    #backToTop {
        bottom: 80px;
    }
}

/* Mini Cart Wrapper */
.mini-cart-wrapper {
    position: relative;
}

/* Mini Cart Glass Dropdown */
.mini-cart-dropdown {
    position: absolute;
    top: calc(100% + 6px);
    right: 0;
    width: 360px;
    max-height: 480px;
    background: rgba(255, 255, 255, 0.99);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12),
        0 0 0 0.5px rgba(255, 255, 255, 0.5) inset;
    border: 0.5px solid rgba(255, 255, 255, 0.3);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1000;
    overflow: hidden;
}

.mini-cart-wrapper:hover .mini-cart-dropdown,
.mini-cart-dropdown:hover {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* Mini Cart Dropdown Header */
.mini-cart-dropdown-header {
    padding: 16px 20px;
    border-bottom: 0.5px solid rgba(0, 0, 0, 0.08);
}

.mini-cart-dropdown-title {
    font-size: 16px;
    font-weight: 600;
    color: #1d1d1f;
    margin: 0;
    letter-spacing: -0.3px;
}

/* Mobile responsive */
@media (max-width: 768px) {
    .mini-cart-dropdown {
        position: fixed;
        top: 65px;
        left: 16px;
        right: 16px;
        width: auto;
        max-width: 360px;
        margin: 0 auto;
        transform: translateY(-10px);
    }

    .mini-cart-dropdown.active {
        transform: translateY(0);
    }
}

/* Mini Cart Items List */
.mini-cart-items-list {
    max-height: 320px;
    overflow-y: auto;
    padding: 8px;
}

/* Custom Scrollbar */
.mini-cart-items-list::-webkit-scrollbar {
    width: 6px;
}

.mini-cart-items-list::-webkit-scrollbar-track {
    background: transparent;
}

.mini-cart-items-list::-webkit-scrollbar-thumb {
    background: rgba(0, 0, 0, 0.2);
    border-radius: 10px;
}

/* Mini Cart Item */
.mini-cart-item {
    display: flex;
    gap: 12px;
    padding: 12px;
    border-radius: 12px;
    transition: all 0.2s ease;
    margin-bottom: 4px;
}

.mini-cart-item:hover {
    background: rgba(0, 0, 0, 0.04);
}

.mini-cart-item-image {
    width: 60px;
    height: 60px;
    border-radius: 8px;
    object-fit: cover;
    background: rgba(0, 0, 0, 0.04);
}

.mini-cart-item-details {
    flex: 1;
    min-width: 0;
}

.mini-cart-item-name {
    font-size: 13px;
    font-weight: 500;
    color: #1d1d1f;
    margin: 0 0 4px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.mini-cart-item-info {
    font-size: 11px;
    color: rgba(60, 60, 67, 0.6);
    margin: 0;
}

.mini-cart-item-price-wrapper {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 4px;
}

.mini-cart-item-price {
    font-size: 14px;
    font-weight: 600;
    color: #007AFF;
    margin: 0;
}

.mini-cart-item-discount-badge {
    font-size: 10px;
    font-weight: 600;
    color: #FF3B30;
    background: rgba(255, 59, 48, 0.1);
    padding: 2px 6px;
    border-radius: 4px;
}

.mini-cart-item-remove {
    background: none;
    border: none;
    color: rgba(60, 60, 67, 0.4);
    cursor: pointer;
    padding: 4px;
    transition: all 0.2s ease;
    border-radius: 6px;
    align-self: flex-start;
}

.mini-cart-item-remove:hover {
    color: #FF3B30;
    background: rgba(255, 59, 48, 0.1);
}

/* Mini Cart Empty State */
.mini-cart-empty {
    padding: 40px 20px;
    text-align: center;
}

.mini-cart-empty-icon {
    width: 48px;
    height: 48px;
    color: rgba(60, 60, 67, 0.3);
    margin: 0 auto 12px;
}

.mini-cart-empty-text {
    font-size: 14px;
    color: rgba(60, 60, 67, 0.6);
    margin: 0;
}

/* Mini Cart Dropdown Footer */
.mini-cart-dropdown-footer {
    padding: 16px 20px;
    border-top: 0.5px solid rgba(0, 0, 0, 0.08);
}

.mini-cart-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.mini-cart-total-label {
    font-size: 14px;
    font-weight: 500;
    color: #1d1d1f;
}

.mini-cart-total-amount {
    font-size: 18px;
    font-weight: 600;
    color: #1d1d1f;
}

.mini-cart-checkout-btn {
    width: 100%;
    padding: 10px;
    background: #172337;
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
    display: block;
    text-align: center;
}

.mini-cart-checkout-btn:hover {
    background: #1c293f;
    transform: scale(1.02);
    color: white;
}

.mini-cart-checkout-btn:active {
    transform: scale(0.98);
}

/* Parallax banner */
.parallax-banner-section {
    position: relative;
    overflow: hidden;
    padding: 50px 0;
}

/* Parallax background image */
.parallax-bg-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

/* Gradient overlay */
.parallax-gradient-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(23, 35, 55, 0.7) 0%, rgba(231, 76, 60, 0.6) 100%);
    z-index: 1;
}

/* Ensure container content is above gradient and image */
.parallax-banner-section .container {
    position: relative;
    z-index: 2;
}

.banner-card {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 400px;
}

.banner-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.25);
}

.banner-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.3) 0%, rgba(0, 0, 0, 0.2) 100%);
    z-index: 1;
}

.banner-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
}

.banner-content {
    position: absolute;
    top: 70%;
    left: 0;
    transform: translateY(-50%);
    text-align: left;
    width: 90%;
    z-index: 2;
    padding: 0 30px;
}

.banner-title {
    font-size: 1.6rem;
    font-weight: 400;
    color: white;
    margin-bottom: 12px;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.5);
}

.banner-btn {
    background: #ffffffa1;
    color: #172337;
    border: 2px solid white;
    padding: 10px 30px;
    border-radius: 25px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    backdrop-filter: blur(20px) saturate(180%);
}

.banner-btn:hover {
    background: #1723379d;
    color: #fff;
    transform: translateY(-2px);
    backdrop-filter: blur(20px) saturate(180%);
}

@media (max-width: 768px) {
    .parallax-banner-section {
        padding: 40px 0;
    }

    .banner-card {
        height: 350px;
        margin-bottom: 20px;
    }

    .banner-title {
        font-size: 1.5rem;
    }
}

@media (max-width: 576px) {
    .banner-card {
        height: 300px;
    }

    .banner-content {
        width: 85%;
        padding: 0 20px;
    }

    .banner-title {
        font-size: 1.3rem;
    }
}

/* Why Choose us */
.features-section {
    background: #1a263b;
    padding: 50px 0;
}

.section-title {
    font-size: 1.4rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 2.5rem;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #3498db, #2ecc71);
    border-radius: 2px;
}

.feature-card {
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02));
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 1.75rem 1.25rem;
    height: 100%;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #3498db, #2ecc71);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    border-color: rgba(52, 152, 219, 0.3);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.feature-card:hover::before {
    opacity: 1;
}

.feature-header {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
}

.feature-icon {
    width: 55px;
    height: 55px;
    background: linear-gradient(135deg, rgba(52, 152, 219, 0.2), rgba(46, 204, 113, 0.2));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    flex-shrink: 0;
    margin-right: 1rem;
    transition: all 0.3s ease;
}

.feature-card:hover .feature-icon {
    transform: rotate(360deg) scale(1.1);
}

.feature-title {
    font-size: 1rem;
    font-weight: 600;
    color: #fff;
    margin: 0;
    text-align: left;
}

.feature-description {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.85rem;
    line-height: 1.5;
    margin-bottom: 1rem;
    text-align: left;
}

.feature-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
}

.feature-tag {
    background: rgba(52, 152, 219, 0.15);
    color: rgba(255, 255, 255, 0.75);
    padding: 0.25rem 0.65rem;
    border-radius: 6px;
    font-size: 0.7rem;
    border: 1px solid rgba(52, 152, 219, 0.2);
}

@media (max-width: 767.98px) {
    .features-section {
        padding: 35px 0;
    }

    .section-title {
        font-size: 1.15rem;
        margin-bottom: 2rem;
    }

    .feature-card {
        padding: 1.5rem 1rem;
    }

    .feature-icon {
        width: 48px;
        height: 48px;
        font-size: 1.5rem;
        margin-right: 0.75rem;
    }

    .feature-title {
        font-size: 0.9rem;
    }

    .feature-description {
        font-size: 0.78rem;
    }

    .feature-tag {
        font-size: 0.65rem;
        padding: 0.2rem 0.5rem;
    }
}


/* --- SIDE TOGGLE --- */
#chatToggle {
    position: fixed;
    bottom: 240px;
    right: 0;
    transform: translateY(-50%);
    background: var(--primary-solid);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-right: none;
    color: white;
    writing-mode: vertical-rl;
    text-orientation: mixed;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    padding: 10px 6px;
    border-radius: 8px 0 0 8px;
    cursor: pointer;
    z-index: 1001;
    transition: all 0.3s ease;
    box-shadow: -4px 0 15px rgba(0, 0, 0, 0.1);
}

@media (min-width: 991px) {
    #chatToggle {
        bottom: 300px;
    }
}

#chatToggle:hover {
    padding-right: 12px;
    background: var(--accent-solid);
}

/* --- CHATBOX CONTAINER --- */
#chatbox {
    position: fixed;
    bottom: 80px;
    right: 55px;
    width: var(--chat-width);
    height: var(--chat-height);
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    box-shadow: var(--glass-shadow);
    border-radius: 24px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    z-index: 1000;

    /* Animation states */
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px) scale(0.95);
    pointer-events: none;
    transition: all 0.4s cubic-bezier(0.32, 1, 0.32, 1);
}

#chatbox.open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
    pointer-events: all;
}

/* --- HEADER --- */
.chat-header {
    background: rgba(255, 255, 255, 0.6);
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(200, 200, 200, 0.2);
}

.chat-header h3 {
    font-size: 15px;
    font-weight: 750;
    color: var(--primary-solid);
    margin: 0;
}

.close-btn {
    background: transparent;
    border: none;
    font-size: 18px;
    cursor: pointer;
    opacity: 0.6;
    transition: 0.2s;
    color: var(--text-dark);
}

.close-btn:hover {
    opacity: 1;
    transform: rotate(90deg);
}

/* --- MESSAGES AREA --- */
#chatMessages {
    flex: 1;
    padding: 15px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

/* GENERAL BUBBLE STYLE */
.message-bubble {
    padding: 10px 14px;
    border-radius: 18px;
    line-height: 1.4;
    font-size: 13px;

    /* FIX FOR TEXT WRAPPING */
    width: fit-content;
    overflow-wrap: break-word;
    word-break: normal;
    /* Prevents "deliv ery" split */
}

/* BOT MESSAGE (Left) */
.message.bot {
    align-self: flex-start;
}

.message.bot .message-bubble {
    background: white;
    border: 1px solid #e0e0e0;
    border-bottom-left-radius: 4px;
    color: var(--text-dark);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

/* USER MESSAGE (Right) - FIXED COLOR */
.message.user {
    align-self: flex-end;
}

.message.user .message-bubble {
    background: var(--primary-solid);
    /* Uses #0f172a */
    color: white;
    border-bottom-right-radius: 4px;
    box-shadow: 0 4px 10px rgba(15, 23, 42, 0.2);
    border: 1px solid var(--primary-solid);
}

/* --- INPUT AREA --- */
.chat-input-area {
    padding: 12px 15px;
    background: rgba(255, 255, 255, 0.8);
    border-top: 1px solid rgba(255, 255, 255, 0.6);
    display: flex;
    align-items: center;
    gap: 8px;
}

#chatInput {
    flex: 1;
    padding: 10px 14px;
    background: white;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 20px;
    font-size: 13px;
    outline: none;
    color: var(--primary-solid);
    transition: border 0.2s;
}

#chatInput:focus {
    border-color: var(--primary-solid);
}

.message-info {
    font-size: 12px;
    margin-top: 5px;
}

#sendBtn {
    background: var(--accent-solid);
    /* Uses #ff4757 */
    color: white;
    border: none;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s, background 0.2s;
    box-shadow: 0 2px 5px rgba(255, 71, 87, 0.3);
}

#sendBtn:hover {
    transform: scale(1.05);
    background: #ff2e40;
}

/* === Floating Sales Bubble Notification === */
.sales-bubble {
    position: fixed;
    bottom: 24px;
    left: 24px;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: 50px;
    padding: 6px 14px 6px 8px;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    gap: 8px;
    opacity: 0;
    transform: translateX(-50%) translateY(20px);
    pointer-events: none;
    /* non-blocking */
    z-index: 999;
    transition: all 0.6s ease;
    max-width: 260px;
    overflow: hidden;
}

.sales-bubble.show {
    opacity: 1;
    transform: translateX(0) translateY(0);
}

.sales-bubble.hide {
    opacity: 0;
    transform: translateX(-50%) translateY(20px);
}

.sales-bubble img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}

.sales-bubble .bubble-text {
    font-size: 12px;
    color: #111;
    line-height: 1.3;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.sales-bubble .bubble-text strong {
    color: #0b7285;
    font-weight: 600;
}

@media (max-width: 768px) {
    .sales-bubble {
        bottom: 75px;
        left: 12px;
        right: 12px;
        border-radius: 40px;
        padding: 6px 10px;
        justify-content: flex-start;
    }
}

/* --- Custom CSS for Coupon Cards --- */
.coupon-container {
    max-width: 1400px;
    margin: 50px auto;
    min-height: 100vh;
}

.coupon-card {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    display: flex;
    overflow: hidden;
    position: relative;
    margin-bottom: 30px;
    transition: transform 0.3s ease;
    border: 1px solid #e0e0e0;
}

.coupon-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

/* Left side (Discount Info) */
.coupon-left {
    background: linear-gradient(135deg, #e74c3c 0%, #620e16 100%);
    color: white;
    padding: 20px;
    width: 35%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    position: relative;
}

/* The jagged/dashed line separator */
.coupon-left::after {
    content: "";
    position: absolute;
    right: -6px;
    top: 0;
    bottom: 0;
    width: 12px;
    background-image: radial-gradient(circle, #fff 6px, transparent 7px);
    background-size: 100% 20px;
    background-position: -6px 0;
    z-index: 2;
}

.discount-value {
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1;
}

.discount-type {
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.9;
}

/* Right side (Code & Action) */
.coupon-right {
    padding: 25px;
    width: 65%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.coupon-code-box {
    background: #f8f9fa;
    border: 2px dashed #cbd5e0;
    border-radius: 6px;
    padding: 10px 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 15px;
}

.code-text {
    font-family: 'Courier New', monospace;
    font-weight: 700;
    font-size: 1.2rem;
    color: #2d3748;
    letter-spacing: 1px;
}

.btn-copy {
    background-color: #172337;
    color: white;
    border: none;
    padding: 5px 15px;
    border-radius: 4px;
    font-size: 0.9rem;
    transition: all 0.2s;
}

.btn-copy:hover {
    background-color: #5a3780;
    color: #fff;
}

.btn-copy:active {
    transform: scale(0.95);
}

.expiry-date {
    font-size: 0.85rem;
    color: #718096;
    margin-top: 10px;
}

/* Full-width flush bottom nav */
.bottom-nav-wrapper {
    position: fixed;
    bottom: 0;
    left: 0;
    transform: none;
    z-index: 1030;
    width: 100%;
    max-width: 100%;
}

.bottom-nav {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-radius: 0;
    box-shadow: 0 -1px 0 rgba(0, 0, 0, 0.08),
        0 -8px 32px rgba(0, 0, 0, 0.06);
    border-top: 0.5px solid rgba(0, 0, 0, 0.1);
}

.bottom-nav-items {
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding: 4px 6px;
}

.bottom-nav-link {
    flex: 1;
    text-align: center;
    text-decoration: none;
    position: relative;
    padding: 6px 2px;
    border-radius: 12px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.bottom-nav-link:active {
    transform: scale(0.95);
}

.bottom-nav-icon {
    width: 22px;
    height: 22px;
    color: rgba(60, 60, 67, 0.6);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: block;
    margin: 0 auto 1px;
    stroke-width: 2;
}

.bottom-nav-link.is-active .bottom-nav-icon {
    color: #007AFF;
    transform: scale(1.05);
}

.bottom-nav-link:not(.is-active):hover .bottom-nav-icon {
    color: rgba(60, 60, 67, 0.85);
}

.bottom-nav-text {
    font-size: 9px;
    font-weight: 500;
    color: rgba(60, 60, 67, 0.6);
    transition: color 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    letter-spacing: -0.2px;
}

.bottom-nav-link.is-active .bottom-nav-text {
    color: #007AFF;
    font-weight: 600;
}

.bottom-nav-link:not(.is-active):hover .bottom-nav-text {
    color: rgba(60, 60, 67, 0.85);
}

.bottom-nav-link.center-special .bottom-nav-icon {
    width: 24px;
    height: 24px;
}

.bottom-nav-link.is-active::before {
    content: '';
    position: absolute;
    top: 2px;
    left: 50%;
    transform: translateX(-50%);
    width: 3px;
    height: 3px;
    background: #007AFF;
    border-radius: 50%;
    opacity: 0.8;
}

/* iOS safe area — padding inside nav, not offset from bottom */
@supports (padding-bottom: env(safe-area-inset-bottom)) {
    .bottom-nav-items {
        padding-bottom: max(4px, env(safe-area-inset-bottom));
    }
}

@media (min-width: 768px) {
    .bottom-nav-wrapper {
        display: none;
    }
}

/* Toast Notification */
#glass-toast-container {
    position: fixed;
    top: 70px;
    right: 20px;
    z-index: 9999;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

.glass-toast {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 280px;
    padding: 16px 20px;
    margin-bottom: 10px;

    /* The Glass Effect */
    background: rgba(255, 255, 255, 0.65);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.4);
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.15);

    border-radius: 8px;
    color: #333;
    font-size: 13px;
    font-weight: 500;

    opacity: 0;
    transform: translateY(-20px) scale(0.95);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.glass-toast.show {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.glass-toast-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    background: #28a745;
    color: white;
    border-radius: 50%;
    font-size: 12px;
}



/* Inheriting your root variables */
.success-page-container {
    padding: 60px 0;
    background-color: var(--bg-light);
    min-height: 80vh;
}

/* Success Header */
.success-header {
    text-align: center;
    margin-bottom: 40px;
}

.success-icon-box {
    width: 80px;
    height: 80px;
    background-color: rgba(255, 71, 87, 0.1);
    /* Light version of accent */
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.success-icon-box svg {
    color: var(--accent-solid);
    width: 40px;
    height: 40px;
}

.success-title {
    color: var(--primary-solid);
    font-weight: 500;
    font-size: 2rem;
    margin-bottom: 10px;
}

.order-id-badge {
    background-color: var(--primary-solid);
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
    letter-spacing: 1px;
}

/* Content Cards */
.order-card {
    background: white;
    border: 1px solid var(--border-color);
    border-radius: 7px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.02);
    margin-bottom: 20px;
    overflow: hidden;
}

.card-header-custom {
    background-color: white;
    border-bottom: 1px solid var(--border-color);
    padding: 15px 20px;
    font-weight: 600;
    color: var(--primary-solid);
}

/* Product List */
.order-item {
    display: flex;
    align-items: center;
    padding: 15px 20px;
    border-bottom: 1px solid var(--bg-light);
}

.order-item:last-child {
    border-bottom: none;
}

.item-img {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 8px;
    background-color: var(--bg-light);
    margin-right: 15px;
}

.item-details h6 {
    margin: 0;
    color: var(--text-dark);
    font-weight: 500;
}

.item-meta {
    font-size: 0.85rem;
    color: var(--text-grey);
}

.item-price {
    margin-left: auto;
    font-weight: 600;
    color: var(--primary-solid);
}

/* Summary Section */
.summary-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    color: var(--text-grey);
    font-size: 0.95rem;
}

.summary-total {
    display: flex;
    justify-content: space-between;
    margin-top: 15px;
    padding-top: 15px;
    border-top: 2px dashed var(--border-color);
    font-weight: 700;
    color: var(--primary-solid);
    font-size: 1.1rem;
}

/* Buttons */
.btn-continue {
    background-color: transparent;
    border: 2px solid var(--primary-solid);
    color: var(--primary-solid);
    padding: 10px 25px;
    border-radius: 6px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-continue:hover {
    background-color: var(--primary-solid);
    color: white;
}

.btn-track {
    background-color: var(--accent-solid);
    border: 2px solid var(--accent-solid);
    color: white;
    padding: 10px 25px;
    border-radius: 6px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-track:hover {
    background-color: #e04050;
    border-color: #e04050;
}

.placeOrder {
    background: var(--bg-dark-grey);
    color: #fff;
    border: none;
    padding: 10px 20px;
    border-radius: 25px;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.placeOrder:hover {
    background: var(--bg-secondary);
}

.cancelOrder {
    background: var(--primary-red);
    color: #fff;
    border: none;
    padding: 10px 20px;
    border-radius: 25px;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.cancelOrder:hover {
    background: var(--hover-red);
}

/* Modal Overlay - Full Screen */
.search-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.2s ease;
    border-radius: 10px;
}

.search-modal-overlay.active {
    display: flex;
    opacity: 1;
}

.search-modal-content {
    width: 85%;
    max-width: 350px;
    background: rgba(255, 255, 255, 0.96);

    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);

    padding: 20px 15px;

    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.4);
    position: relative;
    transform: scale(0.95);
    transition: transform 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    text-align: center;
    border-radius: 10px;
}

.search-modal-overlay.active .search-modal-content {
    transform: scale(1);
}

.search-modal-content h3 {
    margin: 0 0 10px 0;
    font-size: 1.1rem;
    font-weight: 600;
    color: #333;
}

.close-search-modal {
    position: absolute;
    top: 10px;
    right: 10px;
    background: none;
    border: none;
    color: #555;
    cursor: pointer;
    padding: 5px;
}

/* Form Styling */
.search-bar-mobile {
    display: flex;
    position: relative;
    margin-top: 5px;
}

.search-bar-mobile .form-control {
    width: 100%;
    padding: 10px 40px 10px 15px;
    border-radius: 12px;
    border: 1px solid #ddd;
    background: #fff;
    font-size: 14px;
    outline: none;
}

.search-bar-mobile .form-control:focus {
    border-color: var(--accent-solid);
}

.mobile-search-submit {
    position: absolute;
    right: 5px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #666;
    padding: 6px;
}

.messenger-float {
    position: fixed;
    right: 11px;
    bottom: 80px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 20px rgba(0, 0, 0, .25);
    z-index: 999;
}

.messenger-float img {
    width: 28px;
    height: 28px;
}

/* Mobile Responsive */
@media (max-width: 767px) {
    .messenger-float {
        bottom: 130px;
    }
}

/* Whatsapp */
.whatsapp-btn {
    position: fixed;
    bottom: 130px;
    right: 11px;
    background: #25D366;
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    text-decoration: none;
    box-shadow: 0 4px 10px rgba(0, 0, 0, .3);
    z-index: 1000;
}

.whatsapp-btn:hover {
    background: #1ebe5d;
}

@media (max-width: 767px) {
    .whatsapp-btn {
        bottom: 175px;
    }
}