/* MB DEKTON - Custom CSS */

/* Global Styles */
:root {
    --primary-red: #00CEC8;
    --dark-red: #00B8B1;
    --light-gray: #f8f9fa;
    --dark-gray: #6c757d;
    --darker-gray: #495057;
    --white: #ffffff;
    --black: #000000;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #f1f3f6;
    color: var(--black);
    line-height: 1.4;
}

/* Main Wrapper - Giới hạn độ rộng 1200px */
.main-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* Navigation Container - Cùng chiều rộng với main-wrapper */
.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
    width: 100%;
    position: relative;
}

/* Header Styles */
.top-header {
    background-color: var(--primary-red) !important;
    border-bottom: none;
    padding: 8px 0;
}

.top-header.bg-danger {
    background-color: var(--primary-red) !important;
}

/* Header Icons - Center alignment */
.top-header .d-flex.justify-content-end {
    justify-content: center !important;
}

.top-header .d-flex.justify-content-end .text-white {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 5px 10px;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.top-header .d-flex.justify-content-end .text-white:hover {
    background-color: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

.top-header .d-flex.justify-content-end .text-white i {
    margin-bottom: 2px;
}

.top-header .d-flex.justify-content-end .text-white small {
    font-size: 11px;
    line-height: 1.2;
}

/* Logo Styles */
.logo-container {
    display: flex;
    align-items: center;
}

.logo-image {
    height: 40px;
    width: auto;
    max-width: 150px;
    object-fit: contain;
    transition: all 0.3s ease;
}

.logo-image:hover {
    transform: scale(1.05);
    filter: brightness(1.1);
}

/* Cart Badge */
.cart-badge {
    font-size: 0.6rem;
    padding: 2px 6px;
    min-width: 18px;
    height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    border: 1px solid var(--primary-red);
    animation: pulse 2s infinite;
}

.cart-badge:hover {
    background-color: var(--primary-red) !important;
    color: var(--white) !important;
}

.search-container {
    position: absolute;
    left: 43%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 400px;
    max-width: 90%;
}

.search-container .input-group {
    width: 100%;
}

.search-input {
    border: 2px solid #dee2e6;
    border-radius: 25px 0 0 25px;
    padding: 8px 15px;
    font-size: 14px;
    background-color: var(--white);
}

.search-input:focus {
    border-color: var(--white);
    box-shadow: 0 0 0 0.2rem rgba(255, 255, 255, 0.25);
}

.search-btn {
    border-radius: 0 25px 25px 0;
    padding: 8px 15px;
    background-color: var(--white);
    border: 2px solid var(--white);
    color: var(--primary-red);
}

.search-btn:hover {
    background-color: #f8f9fa;
    border-color: #f8f9fa;
    color: var(--dark-red);
}

.btn-white {
    background-color: var(--white);
    border-color: var(--white);
    color: var(--primary-red);
}

.btn-white:hover {
    background-color: #f8f9fa;
    border-color: #f8f9fa;
    color: var(--dark-red);
}

/* Navigation */
.navbar {
    background-color: var(--white) !important;
    border-bottom: 1px solid #dee2e6;
    padding: 10px 0;
    transition: all 0.3s ease;
}

/* Navbar khi cuộn xuống */
.navbar.scrolled {
    background-color: var(--primary-red) !important;
    border-bottom: 1px solid var(--dark-red);
}

.navbar.scrolled .nav-link {
    color: var(--white) !important;
}

.navbar.scrolled .nav-link:hover {
    color: #f8f9fa !important;
}

.navbar.scrolled .nav-link.active {
    color: var(--white) !important;
    border-bottom: 2px solid var(--white) !important;
}

.navbar.scrolled .navbar-toggler {
    border-color: var(--white);
}

.navbar.scrolled .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 1%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.navbar-nav .nav-link {
    color: var(--black) !important;
    font-weight: 500;
    font-size: 14px;
    padding: 8px 12px !important;
    text-transform: uppercase;
}

.navbar-nav .nav-link:hover {
    color: var(--primary-red) !important;
}

.navbar-nav .nav-link.active {
    color: var(--primary-red) !important;
    font-weight: bold;
    border-bottom: 2px solid var(--primary-red) !important;
    padding-bottom: 6px !important;
}

.navbar-nav .nav-link.border-bottom.border-danger {
    border-bottom: 2px solid var(--primary-red) !important;
    padding-bottom: 6px !important;
}

/* Sidebar */
.sidebar {
    background-color: #f8f9fa;
    padding: 0;
    overflow: visible; /* Ensure dropdown can show outside sidebar */
}

.sidebar-content {
    padding: 0;
}

.sidebar-content h6 {
    color: var(--black);
    font-weight: bold;
    font-size: 14px;
    text-transform: uppercase;
    margin-bottom: 0;
    padding: 15px 20px;
    display: flex;
    align-items: center;
    gap: 8px;
    background-color: var(--white);
    border-bottom: 1px solid #e9ecef;
}

.sidebar-content h6 i {
    color: var(--primary-red);
    font-size: 16px;
}

/* Category Menu */
.category-menu {
    margin-bottom: 0;
}

.category-menu ul {
    list-style: none;
    padding: 0;
    margin: 0;
    background-color: var(--white);
}

.category-menu ul li {
    margin: 0;
}

.category-menu ul li a {
    color: var(--black) !important;
    font-size: 13px;
    font-weight: 500;
    padding: 10px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-decoration: none;
    border-bottom: 1px solid #e9ecef;
    transition: all 0.3s ease;
    background-color: var(--white);
    min-height: 40px;
}

.category-menu ul li a:hover {
    color: var(--primary-red) !important;
    background-color: #f8f9fa;
    padding-left: 25px;
    border-left: 3px solid var(--primary-red);
}

.category-menu ul li:last-child a {
    border-bottom: none;
}

.category-menu ul li a i {
    color: var(--primary-red);
    font-size: 12px;
    opacity: 0.7;
}

/* Dropdown Menu Styles - Simple and Effective */
.dropdown-hover {
    position: relative;
}

.dropdown-menu-custom {
    position: fixed !important; /* Use fixed positioning to avoid being clipped */
    top: auto !important;
    left: auto !important;
    background-color: #ffffff;
    border: 2px solid #00CEC8;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    width: 400px;
    z-index: 2147483647 !important; /* Maximum possible z-index */
    opacity: 0;
    visibility: hidden;
    transform: translateX(-10px);
    transition: all 0.3s ease;
    padding: 20px;
    pointer-events: none;
    display: block;
    /* Force above everything */
    position: fixed !important;
    z-index: 2147483647 !important;
    will-change: transform, opacity;
}

/* Show dropdown on hover */
.dropdown-hover:hover .dropdown-menu-custom {
    opacity: 1 !important;
    visibility: visible !important;
    transform: translateX(0) !important;
    pointer-events: auto !important;
    display: block !important;
}

/* Keep dropdown visible when hovering over dropdown itself */
.dropdown-menu-custom:hover {
    opacity: 1 !important;
    visibility: visible !important;
    transform: translateX(0) !important;
    pointer-events: auto !important;
}

.dropdown-content {
    display: flex;
    gap: 30px;
}

.dropdown-column {
    flex: 1;
}

.dropdown-link {
    display: block;
    padding: 8px 0;
    color: #333;
    text-decoration: none;
    font-size: 14px;
    font-weight: 400;
    transition: color 0.3s ease;
    border-bottom: 1px solid transparent;
}

.dropdown-link:hover {
    color: #00CEC8;
    border-bottom: 1px solid #00CEC8;
}

/* Trending Searches */
.trending-searches {
    padding: 0;
    margin-top: 20px;
}

.trending-searches h6 {
    margin-bottom: 0;
    padding: 15px 20px;
    background-color: var(--white);
    border-bottom: 1px solid #e9ecef;
}

/* Sidebar spacing and layout adjustments */
.sidebar {
    background-color: #f8f9fa;
    padding: 0;
}

/* Ensure proper spacing between sections */
.category-menu + .trending-searches {
    margin-top: -12px;
}

/* Make sure the sidebar looks exactly like the image */
.sidebar-content {
    background-color: #f8f9fa;
    padding: 15px;
}

.category-menu,
.trending-searches {
    background-color: var(--white);
    margin: 0 0 1px 0;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    overflow: visible; /* Changed from hidden to visible for dropdown */
}

.category-menu:hover,
.trending-searches:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transform: translateY(-2px);
}

/* Category Menu styling */
.category-menu {
    position: relative;
}

.category-menu::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-red), #4DD0E1);
    border-radius: 8px 8px 0 0;
}

/* Trending Searches styling */
.trending-searches {
    position: relative;
}

.trending-searches::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #28a745, #20c997);
    border-radius: 8px 8px 0 0;
}

.trending-searches ul {
    list-style: none;
    padding: 0;
    margin: 0;
    background-color: var(--white);
}

.trending-searches ul li {
    margin: 0;
}

.trending-searches ul li a {
    color: var(--black) !important;
    font-size: 13px;
    font-weight: 500;
    padding: 10px 20px;
    display: flex;
    align-items: center;
    text-decoration: none;
    border-bottom: 1px solid #e9ecef;
    transition: all 0.3s ease;
    background-color: var(--white);
    min-height: 40px;
}

.category-menu ul li a:hover {
    color: var(--primary-red) !important;
    background-color: #f8f9fa;
    padding-left: 25px;
    border-left: 3px solid var(--primary-red);
}

.trending-searches ul li a:hover {
    color: var(--primary-red) !important;
    background-color: #f8f9fa;
    padding-left: 25px;
    border-left: 3px solid #28a745;
}

.trending-searches ul li:last-child a {
    border-bottom: none;
}

/* Main Content */
.main-content {
    padding: 20px 15px;
    background-color: #f8f9fa;
}

/* Hero Section */
.banner-slide {
    border-radius: 8px;
    min-height: 200px;
    display: flex;
    align-items: center;
}

.banner-slide h2 {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 15px;
}

.banner-slide p {
    font-size: 16px;
    margin-bottom: 20px;
}

.banner-slide .btn-light {
    background-color: var(--white);
    color: var(--black);
    border: none;
    padding: 10px 25px;
    border-radius: 25px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.banner-slide .btn-light:hover {
    background-color: #f8f9fa;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

/* Banner Carousel */
#bannerCarousel {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
}

#bannerCarousel .carousel-inner {
    border-radius: 8px;
}

#bannerCarousel .carousel-item {
    transition: transform 0.6s ease-in-out;
    min-height: 300px;
}

#bannerCarousel .carousel-item.active {
    display: block;
}

#bannerCarousel .carousel-indicators {
    bottom: 20px;
    margin-bottom: 0;
    z-index: 10;
}

#bannerCarousel .carousel-indicators [data-bs-target] {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    border: 2px solid rgba(255, 255, 255, 0.8);
    margin: 0 5px;
    opacity: 1;
    transition: all 0.3s ease;
}

#bannerCarousel .carousel-indicators .active {
    background-color: var(--white);
    border-color: var(--white);
    transform: scale(1.2);
}

#bannerCarousel .carousel-control-prev,
#bannerCarousel .carousel-control-next {
    width: 50px;
    height: 50px;
    background-color: rgba(0, 0, 0, 0.4);
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
    opacity: 0.8;
    transition: all 0.3s ease;
    z-index: 10;
    border: none;
}

#bannerCarousel .carousel-control-prev:hover,
#bannerCarousel .carousel-control-next:hover {
    background-color: rgba(0, 0, 0, 0.7);
    opacity: 1;
    transform: translateY(-50%) scale(1.1);
}

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

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

#bannerCarousel .carousel-control-prev-icon,
#bannerCarousel .carousel-control-next-icon {
    width: 20px;
    height: 20px;
    background-size: 20px 20px;
}

#bannerCarousel .carousel-control-prev-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23fff'%3e%3cpath d='m11.596 8.697-6.363 3.692c-.54.313-1.233-.066-1.233-.697V4.308c0-.63.692-1.01 1.233-.696l6.363 3.692a.802.802 0 0 1 0 1.393z'/%3e%3c/svg%3e");
}

#bannerCarousel .carousel-control-next-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23fff'%3e%3cpath d='m4.404 8.697 6.363 3.692c.54.313 1.233-.066 1.233-.697V4.308c0-.63-.692-1.01-1.233-.696L4.404 7.304a.802.802 0 0 0 0 1.393z'/%3e%3c/svg%3e");
}

.small-cards .card {
    border: 1px solid #dee2e6;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.small-cards .card:hover {
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    transform: translateY(-2px);
}

.right-banner {
    border: 1px solid #dee2e6;
    border-radius: 8px;
    height: 100%;
}

/* Flash Sale */
#flashSaleMain {
    background: linear-gradient(180deg, #959595 0%, #00CEC8 100%);
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 8px 25px rgba(0, 206, 200, 0.3);
    position: relative;
    overflow: hidden;
}

#flashSaleMain::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.05) 50%, rgba(0, 0, 0, 0.1) 100%);
    pointer-events: none;
    z-index: 1;
}

#flashSaleMain > * {
    position: relative;
    z-index: 2;
}

.flash-sale h4 {
    color: var(--white) !important;
    font-size: 20px;
    font-weight: bold;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

#flashSaleMain .btn-outline-danger {
    background-color: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.5);
    color: var(--white);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

#flashSaleMain .btn-outline-danger:hover {
    background-color: rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.8);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(255, 255, 255, 0.2);
}

/* Product Carousel */
.product-carousel-container {
    position: relative;
    overflow: hidden;
}

.product-carousel-container .carousel {
    border-radius: 8px;
}

.product-carousel-container .carousel-inner {
    border-radius: 8px;
}

.product-carousel-container .carousel-control-prev,
.product-carousel-container .carousel-control-next {
    width: 50px;
    height: 50px;
    background-color: rgba(220, 53, 69, 0.8);
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
    opacity: 0.8;
    transition: all 0.3s ease;
}

.product-carousel-container .carousel-control-prev:hover,
.product-carousel-container .carousel-control-next:hover {
    background-color: var(--primary-red);
    opacity: 1;
}

.product-carousel-container .carousel-control-prev {
    left: 15px;
}

.product-carousel-container .carousel-control-next {
    right: 15px;
}

.product-carousel-container .carousel-control-prev-icon,
.product-carousel-container .carousel-control-next-icon {
    width: 20px;
    height: 20px;
}

/* Carousel Animation */
.carousel-item {
    transition: transform 0.6s ease-in-out;
}

.carousel-item.active {
    transform: translateX(0);
}

.carousel-item-next:not(.carousel-item-start),
.active.carousel-item-end {
    transform: translateX(100%);
}

.carousel-item-prev:not(.carousel-item-end),
.active.carousel-item-start {
    transform: translateX(-100%);
}

.countdown-timer .timer-box {
    background-color: var(--primary-red) !important;
    color: var(--white);
    border-radius: 8px;
    min-width: 60px;
    padding: 10px 8px;
}

.countdown-timer .timer-box .fw-bold {
    font-size: 24px;
    line-height: 1;
}

.countdown-timer .timer-box small {
    font-size: 10px;
    text-transform: uppercase;
}

/* Product Cards */
.product-card {
    border: 1px solid #dee2e6;
    border-radius: 8px;
    transition: all 0.3s ease;
    height: 100%;
}

.product-card:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    transform: translateY(-3px);
}

/* Product Countdown Timer */
.product-countdown {
    margin-top: 10px;
    padding: 8px;
    background-color: #f8f9fa;
    border-radius: 6px;
    border: 1px solid #e9ecef;
}

.product-countdown .countdown-label {
    font-size: 11px;
    color: #6c757d;
    text-align: center;
    margin-bottom: 5px;
}

.product-countdown .countdown-timer {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 3px;
}

.product-countdown .countdown-item {
    text-align: center;
    min-width: 35px;
}

.product-countdown .countdown-number {
    background-color: var(--primary-red);
    color: var(--white);
    font-weight: bold;
    font-size: 14px;
    padding: 4px 6px;
    border-radius: 4px;
    min-width: 30px;
    text-align: center;
    display: inline-block;
    line-height: 1.2;
}

.product-countdown .countdown-label {
    font-size: 9px;
    color: #6c757d;
    margin-top: 2px;
    text-transform: uppercase;
}

.product-countdown .countdown-separator {
    color: var(--primary-red);
    font-weight: bold;
    font-size: 16px;
    margin: 0 2px;
}

/* Countdown Animation */
.product-countdown .countdown-number {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
    }
}

/* Low time warning */
.product-countdown.warning .countdown-number {
    background-color: #ffc107;
    color: #000;
    animation: blink 1s infinite;
}

@keyframes blink {
    0%, 50% { opacity: 1; }
    51%, 100% { opacity: 0.5; }
}

/* Expired state */
.product-countdown.expired .countdown-number {
    background-color: #6c757d;
    color: #fff;
    animation: none;
}

.product-countdown.expired .countdown-timer {
    opacity: 0.5;
}

.product-card .card-img-top {
    height: 262px;
    width: 100%;
    object-fit: cover;
    object-position: center;
    border-radius: 8px 8px 0 0;
}

.product-card .card-img-top-2 {
    height: 242px;
    width: 100%;
    object-fit: cover;
    object-position: center;
    border-radius: 8px 8px 0 0;
}

.product-card .card-img-top-3 {
    height: 172px;
    width: 100%;
    object-fit: cover;
    object-position: center;
    border-radius: 8px 8px 0 0;
}

.product-card .badge {
    background-color: var(--primary-red) !important;
    font-size: 11px;
    padding: 4px 8px;
}

.product-card .card-title {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--black);
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    line-height: 1.4;
    max-height: 2.8em;
}

.product-card .text-danger {
    color: var(--primary-red) !important;
    font-weight: bold;
    font-size: 16px;
}

.product-card .text-decoration-line-through {
    color: var(--dark-gray) !important;
    font-size: 12px;
}

.product-card .btn-danger {
    background-color: var(--primary-red);
    border-color: var(--primary-red);
    font-size: 12px;
    padding: 4px 12px;
    border-radius: 4px;
}

.product-card .btn-danger:hover {
    background-color: var(--dark-red);
    border-color: var(--dark-red);
}

/* Promotional Banners */
.promo-banner {
    border-radius: 8px;
    padding: 20px;
    text-align: center;
    height: 100px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.promo-banner.bg-danger {
    background-color: var(--primary-red) !important;
}

.promo-banner.bg-dark {
    background-color: #2c3e50 !important;
}

.promo-banner h4 {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 10px;
}

.promo-banner h6 {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 5px;
}

.promo-banner p {
    font-size: 12px;
    margin: 0;
}

/* Featured Categories */
.featured-categories .card {
    background-color: var(--white);
    border: 1px solid #e9ecef;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    overflow: hidden;
}

.featured-categories .card:hover {
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
    transform: translateY(-2px);
}

.featured-categories .card-body {
    padding: 25px;
}

.featured-categories h5 {
    color: var(--primary-red) !important;
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 0;
    position: relative;
}

.featured-categories h5::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 60px;
    height: 3px;
    background-color: var(--primary-red);
    border-radius: 2px;
}

.featured-categories h5 i {
    color: var(--primary-red) !important;
    font-size: 16px;
}

.featured-categories .text-danger {
    color: var(--primary-red) !important;
    font-weight: 500;
    font-size: 14px;
    transition: all 0.3s ease;
}

.featured-categories .text-danger:hover {
    color: var(--dark-red) !important;
    text-decoration: underline !important;
}

.category-card {
    border: 1px solid #dee2e6;
    border-radius: 8px;
    transition: all 0.3s ease;
    height: 100%;
    min-height: 120px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.category-card:hover {
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    transform: translateY(-2px);
    border-color: var(--primary-red);
}

.category-card i {
    color: var(--primary-red) !important;
    margin-bottom: 8px;
}

.category-image {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.category-card:hover .category-image {
    transform: scale(1.1);
    box-shadow: 0 2px 8px rgba(220, 53, 69, 0.3);
}

.category-card h6 {
    font-size: 14px;
    font-weight: 700;
    margin: 0;
    text-align: center;
    line-height: 1.2;
    color: var(--darker-gray);
}

/* Bestselling Brands */
.bestselling-brands h5 {
    color: var(--black);
    font-size: 18px;
    font-weight: bold;
}

.brand-logo {
    background-color: var(--light-gray) !important;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    padding: 10px 15px;
    font-size: 12px;
    font-weight: bold;
    color: var(--black);
    min-width: 80px;
    text-align: center;
}

/* Product Sections */
.product-sections .card {
    background-color: var(--white);
    border: 1px solid #e9ecef;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    overflow: hidden;
}

.product-sections .card:hover {
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
    transform: translateY(-2px);
}

.product-sections .card-body {
    padding: 25px;
}

.product-sections h5 {
    color: var(--primary-red) !important;
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 0;
    position: relative;
}

.product-sections h5::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 60px;
    height: 3px;
    background-color: var(--primary-red);
    border-radius: 2px;
}

.product-sections h5 i {
    color: var(--primary-red) !important;
    font-size: 16px;
}

.product-sections .text-danger {
    color: var(--primary-red) !important;
    font-weight: 500;
    font-size: 14px;
    transition: all 0.3s ease;
}

.product-sections .text-danger:hover {
    color: var(--dark-red) !important;
    text-decoration: underline !important;
}

.product-tabs .btn-outline-danger {
    color: var(--primary-red);
    border-color: var(--primary-red);
    font-size: 12px;
    padding: 6px 12px;
    border-radius: 4px;
}

.product-tabs .btn-outline-danger.active {
    background-color: var(--primary-red);
    color: var(--white);
}

.product-tabs .btn-outline-danger:hover {
    background-color: var(--primary-red);
    color: var(--white);
}

/* Deal Hot */
.deal-hot-products .card {
    border: 1px solid #dee2e6;
    border-radius: 8px;
    margin-bottom: 10px;
}

.deal-hot-products .card-body {
    padding: 10px;
}

.deal-hot-products .card-title {
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 5px;
}

.deal-hot-products .text-danger {
    color: var(--primary-red) !important;
    font-weight: bold;
    font-size: 14px;
}

.deal-hot-products .btn-danger {
    background-color: var(--primary-red);
    border-color: var(--primary-red);
    font-size: 11px;
    padding: 4px 8px;
    border-radius: 4px;
}

/* Deal Product - Sản phẩm giảm giá */
.deal-product .card-title {
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 5px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: 100%;
}

/* Latest News */
.latest-news h5 {
    color: var(--black);
    font-size: 18px;
    font-weight: bold;
}

.news-card {
    border: 1px solid #dee2e6;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.news-card:hover {
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    transform: translateY(-2px);
}

.news-card .card-img-top {
    height: 150px;
    object-fit: cover;
    border-radius: 8px 8px 0 0;
}

.news-card .card-title {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 8px;
}

.news-card .card-text {
    font-size: 12px;
    color: var(--dark-gray);
}

.latest-item {
    padding: 8px 0;
    border-bottom: 1px solid #e9ecef;
}

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

.latest-item img {
    width: 50px;
    height: 50px;
    object-fit: cover;
}

.latest-item h6 {
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 2px;
}

.latest-item small {
    font-size: 10px;
    color: var(--dark-gray);
}

/* Footer */
footer {
    background-color: #2c3e50 !important;
    color: var(--white);
    padding: 40px 0 20px;
}

footer h6 {
    color: var(--white);
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 15px;
}

footer .contact-info p {
    font-size: 13px;
    margin-bottom: 8px;
}

footer .contact-info i {
    color: var(--primary-red);
    width: 16px;
}

footer ul li {
    margin-bottom: 5px;
}

footer ul li a {
    color: #adb5bd !important;
    font-size: 13px;
    text-decoration: none;
}

footer ul li a:hover {
    color: var(--primary-red) !important;
}

.social-links a {
    color: var(--white) !important;
    font-size: 18px;
    margin-right: 15px;
}

.social-links a:hover {
    color: var(--primary-red) !important;
}

/* Container Fluid Background */
.container-fluid {
    background-color: #f8f9fa;
}

/* Responsive Design */
@media (min-width: 1200px) {
    .main-wrapper {
        max-width: 1200px;
        margin: 0 auto;
    }
    
    .container-fluid {
        padding-left: 0;
        padding-right: 0;
        background-color: #f8f9fa;
    }
}

@media (max-width: 1199.98px) {
    .main-wrapper {
        max-width: 100%;
        padding: 0 15px;
    }
    
    .nav-container {
        max-width: 100%;
        padding: 0 15px;
    }
    
    .container-fluid {
        background-color: #f8f9fa;
    }
}

/* Responsive Dropdown Menu */
@media (max-width: 1199.98px) {
    .dropdown-menu-custom {
        min-width: 350px;
    }
    
    .dropdown-content {
        gap: 20px;
    }
}

@media (max-width: 991.98px) {
    .dropdown-menu-custom {
        position: fixed;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        min-width: 80vw;
        max-width: 90vw;
        max-height: 70vh;
        overflow-y: auto;
    }
    
    .dropdown-content {
        flex-direction: column;
        gap: 15px;
    }
    
    .dropdown-column {
        flex: none;
    }
}

@media (max-width: 991.98px) {
    .sidebar {
        display: none;
    }
    
    .main-content {
        padding: 15px;
    }
    
    .search-container {
        position: static;
        transform: none;
        width: 100%;
        margin: 10px 0;
        padding: 0 15px;
    }
    
    .search-container .input-group {
        max-width: 100%;
    }
    
    .navbar-nav {
        text-align: center;
        margin-top: 10px;
    }
    
    .navbar-nav .nav-link {
        padding: 10px 15px !important;
    }
    
    .product-carousel-container .carousel-control-prev,
    .product-carousel-container .carousel-control-next {
        width: 40px;
        height: 40px;
    }
    
    .product-carousel-container .carousel-control-prev {
        left: 10px;
    }
    
    .product-carousel-container .carousel-control-next {
        right: 10px;
    }
}

@media (max-width: 767.98px) {
    .top-header .row > div {
        text-align: center;
        margin-bottom: 10px;
    }
    
    .top-header .text-white {
        color: var(--white) !important;
    }
    
    /* Mobile header icons */
    .top-header .d-flex.justify-content-end {
        justify-content: center !important;
        gap: 15px;
    }
    
    .top-header .d-flex.justify-content-end .text-white {
        padding: 3px 8px;
        min-width: 60px;
    }
    
    .top-header .d-flex.justify-content-end .text-white i {
        font-size: 1.2rem;
    }
    
    .top-header .d-flex.justify-content-end .text-white small {
        font-size: 10px;
    }
    
    .logo-image {
        height: 35px;
        max-width: 120px;
    }
    
    .cart-badge {
        font-size: 0.5rem;
        min-width: 16px;
        height: 16px;
        padding: 1px 4px;
    }
    
    .banner-slide h2 {
        font-size: 18px;
    }
    
    .banner-slide {
        padding: 20px !important;
        min-height: 150px;
    }
    
    .banner-slide .btn-light {
        padding: 8px 20px;
        font-size: 14px;
    }
    
    #bannerCarousel .carousel-control-prev,
    #bannerCarousel .carousel-control-next {
        width: 40px;
        height: 40px;
    }
    
    #bannerCarousel .carousel-control-prev {
        left: 10px;
    }
    
    #bannerCarousel .carousel-control-next {
        right: 10px;
    }
    
    .countdown-timer {
        flex-wrap: wrap;
        gap: 5px !important;
    }
    
    .countdown-timer .timer-box {
        min-width: 50px;
        padding: 8px 6px;
    }
    
    .countdown-timer .timer-box .fw-bold {
        font-size: 18px;
    }
    
    .product-tabs {
        overflow-x: auto;
        white-space: nowrap;
    }
    
    .product-tabs .btn {
        margin-right: 5px;
        margin-bottom: 5px;
    }
    
    .category-card {
        min-height: 100px;
    }
    
    .category-card i {
        font-size: 1.5rem !important;
    }
    
    .category-image {
        width: 50px;
        height: 50px;
    }
    
    .category-card h6 {
        font-size: 12px;
        font-weight: 700;
    }
    
    .product-carousel-container .carousel-control-prev,
    .product-carousel-container .carousel-control-next {
        display: none;
    }
}

@media (max-width: 575.98px) {
    /* Small mobile header icons */
    .top-header .d-flex.justify-content-end {
        gap: 10px;
    }
    
    .top-header .d-flex.justify-content-end .text-white {
        padding: 2px 6px;
        min-width: 50px;
    }
    
    .top-header .d-flex.justify-content-end .text-white i {
        font-size: 1rem;
    }
    
    .top-header .d-flex.justify-content-end .text-white small {
        font-size: 9px;
    }
    
    .banner-slide h2 {
        font-size: 16px;
    }
    
    .banner-slide {
        padding: 15px !important;
        min-height: 120px;
    }
    
    .banner-slide .btn-light {
        padding: 6px 15px;
        font-size: 12px;
    }
    
    #bannerCarousel .carousel-control-prev,
    #bannerCarousel .carousel-control-next {
        display: none;
    }
    
    .logo-image {
        height: 30px;
        max-width: 100px;
    }
    
    .cart-badge {
        font-size: 0.45rem;
        min-width: 14px;
        height: 14px;
        padding: 1px 3px;
    }
    
    .flash-sale h4 {
        font-size: 16px;
    }
    
    .countdown-timer .timer-box {
        min-width: 45px;
        padding: 6px 4px;
    }
    
    .countdown-timer .timer-box .fw-bold {
        font-size: 16px;
    }
    
    .countdown-timer .timer-box small {
        font-size: 9px;
    }
    
    .product-card .card-img-top {
        height: 180px;
    }
    
    .category-card {
        min-height: 80px;
        padding: 10px !important;
    }
    
    .category-card i {
        font-size: 1.2rem !important;
    }
    
    .category-image {
        width: 40px;
        height: 40px;
    }
    
    .category-card h6 {
        font-size: 11px;
        font-weight: 700;
    }
}

/* Utility Classes */
.text-danger {
    color: var(--primary-red) !important;
}

.bg-danger {
    background-color: var(--primary-red) !important;
}

.btn-danger {
    background-color: var(--primary-red);
    border-color: var(--primary-red);
}

.btn-danger:hover {
    background-color: var(--dark-red);
    border-color: var(--dark-red);
}

/* Animation */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

/* AJAX Cart Animations */
@keyframes ripple {
    to {
        transform: scale(4);
        opacity: 0;
    }
}

@keyframes bounce {
    0%, 20%, 53%, 80%, 100% {
        transform: translate3d(0,0,0);
    }
    40%, 43% {
        transform: translate3d(0, -8px, 0);
    }
    70% {
        transform: translate3d(0, -4px, 0);
    }
    90% {
        transform: translate3d(0, -2px, 0);
    }
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
    100% {
        transform: scale(1);
    }
}

@keyframes flyToCart {
    0% {
        transform: scale(1) rotate(0deg);
        opacity: 1;
    }
    50% {
        transform: scale(1.2) rotate(180deg);
        opacity: 0.8;
    }
    100% {
        transform: scale(0.5) rotate(360deg);
        opacity: 0;
    }
}

/* Button Loading State */
.btn-loading {
    position: relative;
    pointer-events: none;
}

.btn-loading::after {
    content: '';
    position: absolute;
    width: 16px;
    height: 16px;
    top: 50%;
    left: 50%;
    margin-left: -8px;
    margin-top: -8px;
    border: 2px solid transparent;
    border-top-color: #ffffff;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Cart Notification Styles */
.cart-notification {
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.cart-notification::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(40, 167, 69, 0.9), rgba(32, 201, 151, 0.9));
    border-radius: 10px;
    z-index: -1;
}

/* Product Card Hover Effects */
.product-card {
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

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

.product-card .btn-danger {
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.product-card .btn-danger:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(220, 53, 69, 0.4);
}

.product-card .btn-danger:active {
    transform: translateY(0);
}

/* Ripple Effect */
.ripple-effect {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.6);
    transform: scale(0);
    animation: ripple 0.6s linear;
    pointer-events: none;
}

/* Success Button Animation */
.btn-success-animated {
    animation: successPulse 0.6s ease;
}

@keyframes successPulse {
    0% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(40, 167, 69, 0.7);
    }
    70% {
        transform: scale(1.05);
        box-shadow: 0 0 0 10px rgba(40, 167, 69, 0);
    }
    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(40, 167, 69, 0);
    }
}

/* Cart Badge Animation */
.cart-badge {
    transition: all 0.3s ease;
}

.cart-badge.updated {
    animation: badgeUpdate 0.6s ease;
}

@keyframes badgeUpdate {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.3);
        background-color: #ffc107 !important;
        color: #000 !important;
    }
    100% {
        transform: scale(1);
    }
}

/* Loading Spinner */
.fa-spinner {
    animation: spin 1s linear infinite;
}

/* Mobile Optimizations */
@media (max-width: 768px) {
    .cart-notification {
        right: 10px !important;
        left: 10px !important;
        max-width: none !important;
        transform: translateY(-100px) !important;
    }
    
    .cart-notification.show {
        transform: translateY(0) !important;
    }
    
    .product-card:hover {
        transform: translateY(-2px) scale(1.01);
    }
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
    scroll-padding-top: 100px; /* Offset for sticky header */
}

/* Policy section anchor links */
.policy-section {
    scroll-margin-top: 100px; /* Offset for sticky header */
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 6px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: var(--primary-red);
    border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--dark-red);
}

/* Account Pages Styles */
.account-menu ul li a {
    color: var(--black) !important;
    font-size: 13px;
    padding: 5px 0;
    border-bottom: 1px solid #e9ecef;
    transition: all 0.3s ease;
}

.account-menu ul li a:hover {
    color: var(--primary-red) !important;
    background-color: #f8f9fa;
    border-radius: 4px;
    padding: 5px 10px;
}

.account-menu ul li:last-child a {
    border-bottom: none;
}

/* Profile Card */
.profile-card {
    border: 1px solid #dee2e6;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.profile-card:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.profile-avatar img {
    border: 3px solid #dee2e6;
    transition: all 0.3s ease;
}

.profile-avatar img:hover {
    border-color: var(--primary-red);
}

.stat-item {
    padding: 10px;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.stat-item:hover {
    background-color: #f8f9fa;
}

/* Security Settings */
.security-item {
    padding: 10px;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.security-item:hover {
    background-color: #f8f9fa;
}

/* Activity List */
.activity-item {
    padding: 10px;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.activity-item:hover {
    background-color: #f8f9fa;
}

.activity-icon {
    font-size: 16px;
}

/* Order Pages Styles */
.order-filters .btn-group .btn {
    font-size: 12px;
    padding: 6px 12px;
}

.order-filters .btn-group .btn.active {
    background-color: var(--primary-red);
    color: var(--white);
    border-color: var(--primary-red);
}

.stat-card {
    border: 1px solid #dee2e6;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.stat-card:hover {
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    transform: translateY(-2px);
}

/* Order Cards */
.order-card {
    border: 1px solid #dee2e6;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.order-card:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    transform: translateY(-2px);
}

.order-item {
    transition: all 0.3s ease;
}

.order-item:hover {
    background-color: #f8f9fa;
    border-radius: 8px;
    padding: 10px;
    margin: -10px;
}

.order-item img {
    transition: all 0.3s ease;
}

.order-item:hover img {
    transform: scale(1.05);
}

/* Order Detail Styles */
.order-progress {
    margin-bottom: 30px;
}

.progress-steps {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    padding: 20px 0;
}

.progress-steps::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 2px;
    background-color: #e9ecef;
    z-index: 1;
}

.step {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    z-index: 2;
    background-color: white;
    padding: 0 10px;
}

.step-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 8px;
    font-size: 16px;
}

.step.completed .step-icon {
    background-color: #28a745;
    color: white;
}

.step.completed::after {
    content: '';
    position: absolute;
    top: 20px;
    left: 50%;
    width: 100%;
    height: 2px;
    background-color: #28a745;
    z-index: -1;
}

.step:last-child::after {
    display: none;
}

.step-content h6 {
    font-size: 14px;
    margin-bottom: 4px;
    color: #28a745;
}

.step-content small {
    font-size: 12px;
    color: #6c757d;
}

/* Order Summary */
.order-summary .d-flex {
    font-size: 14px;
}

.order-summary hr {
    margin: 15px 0;
}

/* Payment Info */
.payment-info .d-flex {
    font-size: 14px;
    margin-bottom: 8px;
}

/* Delivery Info */
.delivery-info p {
    font-size: 14px;
    color: #6c757d;
    margin-bottom: 8px;
}

/* Brand Pages Styles */
.page-header h2 {
    color: var(--primary-red);
    font-size: 24px;
}

.brand-overview .brand-card {
    border: 1px solid #dee2e6;
    border-radius: 8px;
    transition: all 0.3s ease;
    cursor: pointer;
    min-height: 120px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.brand-overview .brand-card:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    transform: translateY(-2px);
    border-color: var(--primary-red);
}

.brand-overview .brand-card.active {
    border-color: var(--primary-red);
    background-color: #f8f9fa;
    box-shadow: 0 4px 12px rgba(220, 53, 69, 0.2);
}

.brand-logo img {
    max-height: 40px;
    object-fit: contain;
}

.brand-name {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 5px;
    color: var(--black);
}

.brand-section {
    padding-top: 8px;
}

.brand-header h4 {
    display: flex;
    align-items: center;
    font-size: 20px;
}

.brand-header img {
    height: 20px;
    object-fit: contain;
}

.brand-badge .badge {
    font-size: 10px;
    padding: 3px 6px;
}

.price-filter {
    font-size: 13px;
}

.price-filter .form-check-input {
    margin-right: 8px;
}

.rating i {
    font-size: 12px;
}

.rating .text-warning {
    color: #ffc107 !important;
}

.pagination .page-link {
    color: #0d6efd;
    border-color: #dee2e6;
}

.pagination .page-item.active .page-link {
    background-color: #0d6efd;
    border-color: #0d6efd;
    color: #fff;
}

.pagination .page-link:hover {
    color: #0a58ca;
    background-color: #e9ecef;
    border-color: #dee2e6;
}

.brand-filter.active {
    color: var(--primary-red) !important;
    background-color: #f8f9fa;
    border-radius: 4px;
    padding: 5px 10px !important;
    font-weight: 600;
}





/* Nền tổng cho toàn bộ carousel */
#bannerCarousel {
    background: #dddedf; /* màu xám nhạt */
    border-radius: 8px;
    padding: 10px;
    position: relative;
    overflow: hidden;
}

/* Tạo khoảng cách và bo góc đẹp cho nội dung bên trong */
#bannerCarousel .carousel-inner {
    border-radius: 8px;
}

#bannerCarousel .carousel-indicators {
    position: absolute;
    bottom: 15px;                /* cách đáy 15px */
    left: 34%;                   /* căn giữa theo chiều ngang */
    transform: translateX(-50%); /* đẩy về giữa */
    background: rgba(0, 0, 0, 0.5); /* nền đen mờ */
    padding: 6px 12px;
    border-radius: 20px;
    display: flex;
    gap: 8px;
    width: 127px;
}

/* Nút indicator */
#bannerCarousel .carousel-indicators button {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: none;
    background-color: rgba(255, 255, 255, 0.6);
    transition: all 0.3s ease;
}

/* Active */
#bannerCarousel .carousel-indicators .active {
    background-color: #fff;
    transform: scale(1.2);
}








/* Responsive for Account Pages */
@media (max-width: 991.98px) {
    .sidebar {
        display: none;
    }
    
    .main-content {
        padding: 15px;
    }
    
    .brand-overview .brand-card {
        min-height: 100px;
    }
    
    .brand-name {
        font-size: 12px;
    }
    
    .brand-header h4 {
        font-size: 18px;
    }
}

@media (max-width: 768px) {
    .progress-steps {
        flex-direction: column;
        gap: 20px;
    }

    .progress-steps::before {
        display: none;
    }

    .step {
        flex-direction: row;
        width: 100%;
        text-align: left;
    }

    .step-icon {
        margin-bottom: 0;
        margin-right: 15px;
    }

    .step-content {
        flex-grow: 1;
    }
    
    .order-filters .btn-group {
        flex-wrap: wrap;
    }
    
/* Carousel Custom Styles */
#bannerCarousel {
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a2e 30%, #16213e 70%, #0f1419 100%);
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
    overflow: hidden;
    position: relative;
    margin-bottom: 20px;
    transition: all 0.3s ease;
    border: 2px solid rgba(255, 255, 255, 0.15);
}

#bannerCarousel::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.02) 30%, rgba(0, 0, 0, 0.2) 70%, rgba(0, 0, 0, 0.1) 100%);
    pointer-events: none;
    z-index: 1;
}

#bannerCarousel:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.8);
    border-color: rgba(255, 255, 255, 0.25);
}

#bannerCarousel .carousel-inner {
    border-radius: 15px;
    overflow: hidden;
    position: relative;
    z-index: 2;
}

#bannerCarousel .carousel-item {
    border-radius: 15px;
    overflow: hidden;
}

#bannerCarousel .carousel-control-prev,
#bannerCarousel .carousel-control-next {
    width: 50px;
    height: 50px;
    background-color: rgba(255, 255, 255, 0.25);
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
    opacity: 0.95;
    transition: all 0.3s ease;
    border: 2px solid rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(10px);
}

#bannerCarousel .carousel-control-prev:hover,
#bannerCarousel .carousel-control-next:hover {
    opacity: 1;
    background-color: rgba(255, 255, 255, 0.4);
    border-color: rgba(255, 255, 255, 0.7);
    transform: translateY(-50%) scale(1.15);
    box-shadow: 0 5px 20px rgba(255, 255, 255, 0.2);
}

#bannerCarousel .carousel-control-prev {
    left: 15px;
}

#bannerCarousel .carousel-control-next {
    right: 15px;
}

#bannerCarousel .carousel-control-prev-icon,
#bannerCarousel .carousel-control-next-icon {
    width: 20px;
    height: 20px;
}

#bannerCarousel .carousel-indicators {
    bottom: 15px;
}

#bannerCarousel .carousel-indicators [data-bs-target] {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.3);
    border: 2px solid rgba(255, 255, 255, 0.5);
    margin: 0 6px;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
}

#bannerCarousel .carousel-indicators [data-bs-target].active {
    background-color: #00CEC8;
    border-color: #00CEC8;
    transform: scale(1.4);
    box-shadow: 0 0 15px rgba(0, 206, 200, 0.7);
}

/* Banner slide styling */
.banner-slide {
    min-height: 300px;
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    margin: 10px;
    box-shadow: inset 0 2px 10px rgba(0, 0, 0, 0.1);
}

.banner-slide img {
    max-height: 200px;
    object-fit: contain;
    filter: drop-shadow(0 5px 15px rgba(0, 0, 0, 0.2));
}

.banner-slide h2 {
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.banner-slide .btn {
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.banner-slide .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

/* Responsive carousel */
@media (max-width: 768px) {
    #bannerCarousel {
        border-radius: 10px;
        margin-bottom: 15px;
    }
    
    #bannerCarousel .carousel-inner {
        border-radius: 10px;
    }
    
    #bannerCarousel .carousel-item {
        border-radius: 10px;
    }
    
    #bannerCarousel .carousel-control-prev,
    #bannerCarousel .carousel-control-next {
        width: 40px;
        height: 40px;
    }
    
    #bannerCarousel .carousel-control-prev {
        left: 10px;
    }
    
    #bannerCarousel .carousel-control-next {
        right: 10px;
    }
    
    .banner-slide {
        min-height: 250px;
        padding: 20px !important;
        margin: 5px;
        border-radius: 10px;
    }
    
    .banner-slide img {
        max-height: 150px;
    }
}

/* Custom Cart Button Styles - High Priority */
.btn.btn-cart-custom,
.btn-cart-custom,
button.btn-cart-custom {
    background-color: #00CEC8 !important;
    border-color: #00CEC8 !important;
    color: white !important;
    transition: all 0.3s ease;
}

.btn.btn-cart-custom:hover,
.btn-cart-custom:hover,
button.btn-cart-custom:hover {
    background-color: #00B8B1 !important;
    border-color: #00B8B1 !important;
    color: white !important;
    transform: translateY(-1px);
}

.btn.btn-cart-custom:focus,
.btn-cart-custom:focus,
button.btn-cart-custom:focus {
    background-color: #00CEC8 !important;
    border-color: #00CEC8 !important;
    color: white !important;
    box-shadow: 0 0 0 0.25rem rgba(0, 206, 200, 0.25) !important;
}

.btn.btn-cart-custom:active,
.btn-cart-custom:active,
button.btn-cart-custom:active {
    background-color: #00A8A2 !important;
    border-color: #00A8A2 !important;
    color: white !important;
}

