.col-11 {
    flex: 0 0 auto;
    width: 91.66666667%;
}

@media (min-width: 992px) {
    .col-lg-4 {
        flex: 0 0 auto;
        width: 33.33333333%;
    }
}

.overflow-auto {
    overflow: auto !important;
}

.d-flex {
    display: flex !important;
}

.h-100 {
    height: 100% !important;
}

.flex-column {
    flex-direction: column !important;
}

.justify-content-between {
    justify-content: space-between !important;
}

.align-items-center {
    align-items: center !important;
}

.align-items-stretch {
    align-items: stretch !important;
}

.my-2 {
    margin-top: 0.5rem !important;
    margin-bottom: 0.5rem !important;
}

.p-2 {
    padding: 0.5rem !important;
}

.p-3 {
    padding: 1rem !important;
}

.px-2 {
    padding-right: 0.5rem !important;
    padding-left: 0.5rem !important;
}

.py-1 {
    padding-top: 0.25rem !important;
    padding-bottom: 0.25rem !important;
}

.gap-3 {
    gap: 1rem !important;
}

.text-white {
    --bs-text-opacity: 1;
    color: rgba(var(--bs-white-rgb), var(--bs-text-opacity)) !important;
}

.bg-white {
    --bs-bg-opacity: 1;
    background-color: rgba(var(--bs-white-rgb), var(--bs-bg-opacity)) !important;
}

.rounded {
    border-radius: var(--bs-border-radius) !important;
}

/* CSS Variables */
:root {
    --bs-white-rgb: 255, 255, 255;
    --bs-border-radius: 0.375rem;
    --bs-link-color-rgb: 13, 110, 253;
    --bs-link-hover-color-rgb: 10, 88, 202;
    --bs-link-opacity: 1;
}

/* Promotion List Styles */
.promotion-item {
    border-radius: 16px;
    overflow: hidden;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: right top;
    position: relative;
    min-height: 200px;
    transition: transform 0.3s ease;
}

.promotion-item:hover {
    transform: translateY(-5px);
}

/* Gradient backgrounds for different items */
.promotion-item:nth-child(3n+1) {
    background: linear-gradient(104.56deg, #285FE2 0%, #6AA2FF 100%);
}

.promotion-item:nth-child(3n+2) {
    background: linear-gradient(284.56deg, #C64D19 0%, #F3A77B 100%);
}

.promotion-item:nth-child(3n) {
    background: linear-gradient(104.78deg, #B37425 1.2%, #F2D16B 100%);
}

.promotion-item-title {
    font-size: 1.75rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 0.5rem;
}

.promotion-item-description {
    font-size: 1rem;
    line-height: 1.4;
    opacity: 0.9;
}

.promotion-item-button-wrapper {
    margin-top: auto;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.promotion-item-button-wrapper a {
    color: #000;
    font-weight: 600;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.promotion-item-button-wrapper a:hover {
    color: #333;
}

.promotion-item-button-wrapper a i {
    margin-left: 0.5rem;
    font-size: 0.8rem;
}

.hot-sell {
    background: #d11720;
    font-size: 12px;
    font-weight: 700;
    border-radius: 4px;
    white-space: nowrap;
}

/* Background decoration */
.promotion-item:before {
    content: "";
    width: 152px;
    height: 179px;
    background: url(https://g3vn.com/wp-content/uploads/2025/07/972c2c46-group-1.png) no-repeat center;
    background-size: contain;
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    opacity: 0.3;
    z-index: 1;
}

.promotion-item-wrapper {
    position: relative;
    z-index: 2;
}

/* Scrollbar styles */
.promotion-list::-webkit-scrollbar {
    height: 8px;
    background-color: #ecf8ff;
}

.promotion-list::-webkit-scrollbar-thumb {
    background-color: #aaceff;
    border-radius: 20px;
}

.promotion-list::-webkit-scrollbar-thumb:hover {
    background-color: #88bbff;
}

/* Firefox scrollbar */
.promotion-list {
    scrollbar-width: thin;
    scrollbar-color: #aaceff #ecf8ff;
}

/* Desktop responsiveness */
@media (min-width: 992px) {
    .promotion-item {
        width: calc((100% - 32px) / 3);
        min-width: 300px;
    }
    
    .promotion-list {
        flex-wrap: nowrap;
    }
}

/* Tablet responsiveness */
@media (max-width: 991px) and (min-width: 768px) {
    .promotion-item {
        min-width: 280px;
    }
    
    .promotion-item-title {
        font-size: 1.5rem;
    }
}

/* Mobile responsiveness */
@media (max-width: 767px) {
    .promotion-item {
        min-width: 260px;
    }
    
    .promotion-item-title {
        font-size: 1.3rem;
    }
    
    .promotion-item-description {
        font-size: 0.9rem;
    }
    
    .promotion-item:before {
        width: 120px;
        height: 140px;
    }
}

/* Animation for smooth scrolling */
.promotion-list {
    scroll-behavior: smooth;
}

/* Loading state */
.promotion-item.loading {
    opacity: 0.7;
    pointer-events: none;
}

/* Accessibility improvements */
.promotion-item-button-wrapper a:focus {
    outline: 2px solid #007cba;
    outline-offset: 2px;
}

.promotion-item:focus-within {
    box-shadow: 0 0 0 3px rgba(0, 124, 186, 0.3);
}
