/* =========================================================
   TWT — Supplier Carousel
   ========================================================= */

.twt-supplier-carousel {
    --twt-red: #ed1c24;
    --twt-black: #171717;
    --twt-border: #e8e8e8;

    width: 100%;
    position: relative;
    margin: 0 auto;
}

/* HEADER
   ========================================================= */

.twt-supplier-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 30px;
}

.twt-supplier-heading {
    margin: 0;
    color: var(--twt-black);
    font-size: clamp(24px, 3vw, 36px);
    font-weight: 700;
    line-height: 1.2;
}

/* NAVIGATION
   ========================================================= */

.twt-supplier-navigation {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.twt-supplier-prev,
.twt-supplier-next {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;

    background: var(--twt-black);
    color: #fff;

    border: none;
    border-radius: 50%;

    cursor: pointer;
    padding: 0;

    transition:
        background 0.25s ease,
        transform 0.25s ease,
        opacity 0.25s ease;
}

.twt-supplier-prev:hover,
.twt-supplier-next:hover {
    background: var(--twt-red);
    transform: scale(1.05);
}

.twt-supplier-prev svg,
.twt-supplier-next svg {
    width: 20px;
    height: 20px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.twt-supplier-prev:focus-visible,
.twt-supplier-next:focus-visible {
    outline: 3px solid var(--twt-red);
    outline-offset: 3px;
}

.twt-supplier-prev.swiper-button-disabled,
.twt-supplier-next.swiper-button-disabled {
    opacity: 0.35;
    cursor: not-allowed;
    transform: none;
}

.twt-supplier-navigation .swiper-button-lock {
    display: none;
}

/* SWIPER
   ========================================================= */

.twt-supplier-swiper {
    width: 100%;
    overflow: hidden;
    padding: 4px 2px 22px;
    box-sizing: border-box;
}

.twt-supplier-swiper .swiper-wrapper {
    align-items: stretch;
}

.twt-supplier-swiper .swiper-slide {
    height: auto;
    box-sizing: border-box;
    display: flex;
}

/* CARD
   ========================================================= */

.twt-supplier-card {
    width: 100%;
    height: 100%;
    min-width: 0;

    display: flex;
    flex-direction: column;

    background: #fff;
    border: 1px solid var(--twt-border);
    border-radius: 14px;

    padding: 30px 26px;

    box-sizing: border-box;

    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.035);

    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease,
        border-color 0.3s ease;
}

.twt-supplier-card:hover {
    transform: translateY(-4px);
    border-color: rgba(237, 28, 36, 0.28);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.09);
}

/* LOGOS
   ========================================================= */

.twt-supplier-logo {
    width: 100%;
    height: 110px;

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

    margin-bottom: 24px;
}

.twt-supplier-logo-img {
    display: block;
    width: auto;
    height: auto;

    max-width: 100%;
    max-height: 100px;

    object-fit: contain;

    transition: transform 0.3s ease;
}

.twt-supplier-card:hover .twt-supplier-logo-img {
    transform: scale(1.04);
}

/* CONTENT
   ========================================================= */

.twt-supplier-content {
    flex-grow: 1;
}

.twt-supplier-name {
    margin: 0 0 12px;

    color: var(--twt-black);

    font-size: 20px;
    font-weight: 700;
    line-height: 1.3;
}

.twt-supplier-description {
    color: #555;

    font-size: 15px;
    line-height: 1.7;
}

.twt-supplier-description p {
    margin: 0 0 12px;
}

.twt-supplier-description p:last-child {
    margin-bottom: 0;
}

/* BUTTON
   ========================================================= */

.twt-supplier-footer {
    margin-top: 26px;
}

/* TABLET
   ========================================================= */

@media (max-width: 991px) {

    .twt-supplier-card {
        padding: 25px 22px;
    }

    .twt-supplier-logo {
        height: 95px;
    }

    .twt-supplier-logo-img {
        max-height: 85px;
    }

}

/* MOBILE
   ========================================================= */

@media (max-width: 767px) {

    .twt-supplier-header {
        gap: 15px;
        margin-bottom: 22px;
    }

    .twt-supplier-heading {
        font-size: 24px;
    }

    .twt-supplier-prev,
    .twt-supplier-next {
        width: 38px;
        height: 38px;
    }

    .twt-supplier-card {
        padding: 25px 22px;
        border-radius: 12px;
    }

    .twt-supplier-logo {
        height: 90px;
        margin-bottom: 20px;
    }

    .twt-supplier-logo-img {
        max-height: 80px;
    }

    .twt-supplier-name {
        font-size: 19px;
    }

    .twt-supplier-description {
        font-size: 14px;
    }

    .twt-supplier-footer {
        margin-top: 22px;
    }

}

/* REDUCED MOTION
   ========================================================= */

@media (prefers-reduced-motion: reduce) {

    .twt-supplier-carousel *,
    .twt-supplier-carousel *::before,
    .twt-supplier-carousel *::after {
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
    }

}