#tshirt {
    width: 99.5%;
    height: 360px;
    margin: 30px auto 30px auto;

    position: relative;

    background-color: #020203;
;

    display: flex;
    align-items: center;
    justify-content: center;

    overflow: hidden;
}

/* Fenêtre visible du carousel */
#carousel-window {
    width: 90%;
    height: 100%;
    overflow: hidden;
}

/* Ligne qui défile */
#carousel-track {
    height: 100%;
    width: max-content;

    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    gap: 25px;

    transition: none;
    will-change: transform;
    transform: translate3d(0, 0, 0);
}

/* Card produit */
.product-card {
    flex: 0 0 280px;
    width: 280px;
    height: 280px;

    background-color: aliceblue;
    border-radius: 22px;

    text-decoration: none;
    color: #020203;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    text-align: center;

    box-shadow: 0 0 15px rgba(0, 0, 0, 0.15);
    overflow: hidden;

    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.product-card:hover {
    transform: scale(1.03);
    box-shadow: 0 0 25px rgba(0, 0, 0, 0.30);
    cursor: pointer;
}

.product-card img {
    width: 85%;
    height: 185px;

    object-fit: contain;
    display: block;
}

.product-card h3 {
    margin-top: 14px;

    font-size: 20px;
    font-weight: bold;

    color: #020203;
    text-decoration: none;
}

/* Flèches */
.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);

    z-index: 10;

    width: 55px;
    height: 55px;

    border: none;
    border-radius: 50%;

    background-color: rgba(0, 0, 0, 0.65);
    color: aliceblue;

    font-size: 32px;
    cursor: pointer;

    opacity: 0;
    pointer-events: none;

    transition: opacity 0.3s ease, background-color 0.3s ease;
}

#tshirt:hover .carousel-btn {
    opacity: 1;
    pointer-events: auto;
}

.carousel-btn:hover {
    background-color: rgba(0, 0, 0, 0.95);
}

.carousel-left {
    left: 20px;
}

.carousel-right {
    right: 20px;
}