/* ========== APPAREL PRODUCTS SECTION ========== */

.apparel-products-section {
    background: #f8f8f8;
    padding: 80px 0;
}

.apparel-title {
    text-align: center;
    font-size: 32px;
    font-weight: 700;
    letter-spacing: 2px;
    color: #2a2a2a;
    margin-bottom: 60px;
    text-transform: uppercase;
}

.apparel-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 40px;
    max-width: 1400px;
    margin: 0 auto 40px;
    align-items: stretch;
}

.apparel-card {
    background: #d8d5cc;
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    height: 100%;
    min-width: 0;
}

.apparel-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
}

.apparel-image-wrapper {
    position: relative;
    width: 100%;
    padding-bottom: 100%; /* 1:1 Aspect Ratio */
    overflow: hidden;
    background: #c8c5bc;
    flex-shrink: 0;
}

.apparel-image-wrapper a {
    display: block;
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.apparel-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity 0.4s ease;
}

.apparel-image.image-front {
    z-index: 2;
    opacity: 1;
}

.apparel-image.image-back {
    z-index: 1;
    opacity: 0;
}

/* Hover Effect - Reveal Second Image */
.apparel-card:hover .apparel-image.image-front {
    opacity: 0;
}

.apparel-card:hover .apparel-image.image-back {
    opacity: 1;
}

.apparel-info {
    padding: 20px;
    text-align: center;
    background: #ff0000;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    flex-grow: 1;
    min-width: 0;
}

.apparel-info h3,
.apparel-price,
.apparel-entries {
    word-break: break-word;
    overflow-wrap: break-word;
}

.apparel-info h3 {
    font-size: 16px;
    font-weight: 600;
    color: #2a2a2a;
    margin: 0 0 8px 0;
    letter-spacing: 0.5px;
}

.apparel-price {
    font-size: 14px;
    font-weight: 700;
    color: #FFFFFF;
    margin: 0 0 8px 0;
    text-align: center;
}

.apparel-entries {
    font-size: 10px;
    font-weight: 600;
    color: #000000;
    margin: 0;
    letter-spacing: 0.5px;
}

/* Carousel Navigation */
.apparel-carousel-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
    margin-top: 40px;
}

.carousel-arrow {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 2px solid #2a2a2a;
    background: transparent;
    color: #2a2a2a;
    font-size: 28px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    line-height: 1;
    padding: 0;
}

.carousel-arrow:hover {
    background: #2a2a2a;
    color: #e8e5dc;
    transform: scale(1.1);
}

.carousel-dots {
    display: flex;
    gap: 12px;
    align-items: center;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #b0b0b0;
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active {
    width: 40px;
    border-radius: 5px;
    background: #2a2a2a;
}

.dot:hover {
    background: #5a5a5a;
}

/* Tablet */
@media screen and (max-width: 1024px) {
    .apparel-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 30px;
    }
}

/* Mobile */
@media screen and (max-width: 768px) {
    .apparel-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 20px;
    }

    .apparel-products-section {
        padding: 50px 15px;
    }

    .apparel-card {
        max-width: none;
        margin: 0;
    }

    .apparel-info {
        padding: 15px;
    }

    .apparel-info h3 {
        font-size: 14px;
        line-height: 1.25;
    }

    .apparel-price {
        font-size: 13px;
        line-height: 1.3;
    }

    .apparel-entries {
        font-size: 11px;
        line-height: 1.35;
    }

    .carousel-arrow {
        width: 35px;
        height: 35px;
        font-size: 24px;
    }

    .apparel-carousel-nav {
        gap: 20px;
    }
}

/* Small Mobile */
@media screen and (max-width: 480px) {
    .apparel-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 16px;
    }

    .apparel-card {
        max-width: none;
        width: 100%;
        margin: 0;
    }

    .apparel-title {
        font-size: 22px;
        letter-spacing: 1px;
    }

    .apparel-info {
        padding: 12px;
    }

    .apparel-info h3 {
        font-size: 13px;
        line-height: 1.2;
    }

    .apparel-price {
        font-size: 12px;
    }

    .apparel-entries {
        font-size: 10px;
        line-height: 1.3;
    }

    .carousel-dots {
        gap: 8px;
    }

    .dot {
        width: 8px;
        height: 8px;
    }

    .dot.active {
        width: 30px;
    }
}
