.back-to-school-container {
    padding: 20px;
    position: relative;
}
.back-to-school-container h2 {
    color: #00447a;
    font-size: 1.857em;
    line-height: 1em;
    font-weight: normal;
    margin-bottom: 15px;
    display: inline-block;
}
.back-to-school-categories-carousel {
    margin: 30px 0;
}
.back-to-school-categories-carousel h3 {
    margin-bottom: 20px;
    font-size: 24px;
}
.carousel-container {
    position: relative;
    display: flex;
    align-items: center;
}
.carousel-track {
    display: flex;
    overflow-x: auto;
    scroll-behavior: smooth;
    -ms-overflow-style: none;
    scrollbar-width: none;
    padding: 20px 0;
    user-select: none; /* Prevent text selection during drag */
}
.carousel-track::-webkit-scrollbar {
    display: none;
}
.carousel-track.dragging {
    scroll-behavior: auto; /* Disable smooth scrolling during drag */
}

.carousel-item:hover,
.carousel-item.active-default {
    transform: translateY(-4px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}
.carousel-item {
    flex: 0 0 auto;
    width: 200px;
    margin: 0 10px;
    text-align: center;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #e0e0e0;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}



.carousel-item img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    border-bottom: 3px solid transparent;
    border-image: linear-gradient(to left, 
        transparent 0%, 
        #000000 40%, 
        rgb(255, 235, 0) 60%, 
        transparent 100%) 1;
}

.carousel-item h4 {
    margin: 15px 10px;
    font-size: 16px;
    font-weight: 600;
    color: #333;
    line-height: 1.3;
    position: relative;
    z-index: 2;
}
.carousel-item h5 {
    font-size: 16px;
    font-weight: 600;
    color: rgb(255, 235, 0);
    background: #000000;
    line-height: 1.5;
    border-radius: 4px;
}
.carousel-item a {
    text-decoration: none;
    color: inherit;
    display: block;
}
.carousel-item a:hover {
    text-decoration: none;
}
.carousel-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 1;
    font-size: 26px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    border: 1px solid #ddd;
    color: #333;
    transition: all 0.3s ease;
}
.carousel-nav:hover {
    background: rgba(255, 255, 255, 1);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    color: #00447a;
}
.carousel-nav:hover, .carousel-nav:active {
    text-decoration: none;
}
.carousel-nav:focus {
    text-decoration: none;
    outline: none;
}
.carousel-nav::before {
    content: '';
    width: 0;
    height: 0;
    border-style: solid;
}
.carousel-nav.prev::before {
    border-width: 8px 12px 8px 0;
    border-color: transparent currentColor transparent transparent;
    margin-left: -2px;
}
.carousel-nav.next::before {
    border-width: 8px 0 8px 12px;
    border-color: transparent transparent transparent currentColor;
    margin-left: 2px;
}
.prev {
    left: 10px;
}
.next {
    right: 10px;
}
.terms-button-container {
    text-align: center;
    margin: 40px 0 20px 0;
    padding: 20px 0;
}
.terms-button {
    display: inline-block;
    background: #ffe202;
    color: rgb(0, 0, 0);
    padding: 12px 30px;
    text-decoration: none;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 2px solid #000000;
}
.terms-button:hover {
    background: white;
    color: #d1ce04;
    text-decoration: none;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}
.gradient-line {
    height: 4px;
    width: 100%;
    background: linear-gradient(to right, 
        transparent 0%, 
        rgb(0, 0, 0) 40%, 
        #ffe202 60%, 
        transparent 100%);
    margin: 20px 0;
}
.department-seperation-line1 {
    height: 3px;
    width: 100%;
    background: linear-gradient(to right, 
        transparent 0%, 
        rgb(255, 235, 0) 40%, 
        #000000 60%, 
        transparent 100%);
    margin: 10px 0;
}
.department-seperation-line2 {
    height: 3px;
    width: 100%;
    background: linear-gradient(to left, 
        transparent 0%, 
        #000000 40%, 
        rgb(255, 235, 0) 60%, 
        transparent 100%);
    margin: 10px 0;
}
.countdown-container {
    text-align: center;
    margin: 30px 0;
    font-family: Arial, sans-serif;
    color: #000000;
}
/* Outer wrapper with gradient border effect */
.gradient-border-wrapper {
    display: inline-block;
    padding: 2px; /* Thickness of the border */
    border-radius: 8px;
    background: linear-gradient(to right, 
        transparent 0%, 
        rgb(255, 235, 0) 40%, 
        #000000 60%, 
        transparent 100%);
}
/* Inner timer box */
#timer {
    font-size: 24px;
    font-weight: bold;
    background: #ffffff;
    padding: 10px 20px;
    border-radius: 8px;
    display: inline-block;
    color: #000;
}
.big-four-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-gap: 20px;
    margin-bottom: 30px;
}
.grid-item {
    /* border-radius: 8px; */
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.grid-item:hover,
.grid-item.active-default {
    transform: translateY(-4px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}
.grid-item img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}
.grid-item a {
    text-decoration: none;
    display: block;
}
@media (max-width: 768px) {
    .big-four-grid {
        display: flex;
        overflow:hidden;
        padding: 20px 0;
        margin-bottom: 30px;
        flex-wrap: wrap;
    }
    .grid-item {
        flex: 0 0 auto;
        width: 100%;
        margin: 0;
        min-width: 300px;
    }
    .big-four-carousel-container {
        position: relative;
        display: flex;
        align-items: center;
    }
    .ribbon-wrapper-mike {
        position: relative;
        display: inline-block;
    }
    .ribbon-mike {
        position: absolute;
        top: 10px;
        left: -30px;
        transform: rotate(-45deg);
        background: rgb(255, 235, 0);
        color: rgb(0, 0, 0);
        padding: 5px 40px;
        font-size: 14px;
        font-weight: bold;
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
        z-index: 10;
    }
}

.more-products {
    text-align: center;
    margin-bottom: 40px;
    margin-top: 20px;
}
.more-products a {
    display: inline-block;
    background: #000;
    text-decoration: none;
    color: #ffeb00;
    padding: 10px 15px;
    text-transform: uppercase;
    font-weight: bold;
    border-radius: 5px;
}

.banner-promotions {
    margin: 40px 0;
    text-align: center;
}

.banner-promo-items {
    display: none;
}

.banner-promo-items.show {
    display: block;
}

.banner-promo-items img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
}