.psp-container {
    width: 100%;
}

.psp-splide {
    position: relative;
}

.psp-no-products {
    width: 100%;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 14px;
    padding: 30px;
}

/* product card */
.psp-product-card {
    width: 100%;
    min-height: 100%;
    display: flex;
    flex-direction: column;
    background: #fff;
    border: 1px solid #d9d9d9;
    border-radius: 14px;
    overflow: hidden;
    transition: transform .2s ease, box-shadow .2s ease;
}

.psp-product-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0,0,0,.06);
}

.psp-product-card__image {
    display: block;
    background: #f4f5f5;
    padding: 24px;
    text-align: center;
}

.psp-product-card__image img {
    width: 100%;
    height: auto;
    object-fit: contain;
}

.psp-product-card__content {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: 20px;
}

.psp-product-card__badge {
    display: inline-block;
    align-self: flex-start;
    border: 1px solid #bfbfbf;
    border-radius: 4px;
    padding: 6px 10px;
    font-size: 14px;
    line-height: 1;
    margin-bottom: 14px;
}

.psp-product-card__title {
    font-size: 18px;
    line-height: 1.45;
    margin: 0 0 18px;
}

.psp-product-card__title a {
    color: #1c1c1c;
    text-decoration: none;
}

.psp-product-card__price {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 24px;
}

.psp-product-card__bottom {
    margin-top: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.psp-product-card__actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.psp-product-card__cart,
.psp-product-card__more {
    width: 48px;
    height: 48px;
    border: 1px solid #c8c8c8;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    text-decoration: none;
    color: #222;
}

.psp-product-card__cart a {
    text-decoration: none;
    color: inherit;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.psp-product-card__stock {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    white-space: nowrap;
}

.psp-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    display: inline-block;
    background: #ef5b4c;
}

.psp-product-card__stock.is-in-stock .psp-dot {
    background: #3cb043;
}

/* arrows */
.splide__arrows {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    margin-top: 18px;
}

.splide__arrow {
    position: static !important;
    transform: none !important;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid #cfcfcf;
    background: #fff;
    color: #222;
    opacity: 1;
}

.splide__pagination {
    position: static;
    margin-top: 12px;
}

/* tabs layout */
.psp-tabs-wrapper {
    width: 100%;
}

.psp-tabs-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 28px;
}

.psp-tab-btn {
    border: 1px solid #c9c9c9;
    background: #fff;
    color: #474747;
    border-radius: 999px;
    padding: 12px 22px;
    line-height: 1;
    cursor: pointer;
    transition: .2s ease;
}

.psp-tab-btn.active,
.psp-tab-btn:hover {
    background: #2870d2;
    border-color: #2870d2;
    color: #fff;
}

.psp-tabs-panels {
    position: relative;
}

.psp-tab-panel {
    display: none;
}

.psp-tab-panel.active {
    display: block;
}

.psp-tab-layout {
    display: grid;
    grid-template-columns: 330px minmax(0, 1fr);
    gap: 16px;
    align-items: stretch;
}

.psp-static-col {
    position: relative;
    min-height: 620px;
    border-radius: 14px;
    overflow: hidden;
    background: #2870d2;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.psp-static-col__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0,0,0,.06) 0%, rgba(0,0,0,.16) 100%);
}

.psp-static-col__inner {
    position: relative;
    z-index: 2;
    min-height: 100%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    color: #fff;
    padding: 42px 34px;
}

.psp-static-col__title {
    margin: 0 0 18px;
    font-size: 22px;
    line-height: 1.2;
    font-weight: 700;
}

.psp-static-col__text {
    font-size: 16px;
    line-height: 1.7;
    max-width: 250px;
}

.psp-static-col__text p {
    margin: 0 0 14px;
}

.psp-static-col__text p:last-child {
    margin-bottom: 0;
}

.psp-static-col__link {
    margin-top: 24px;
    width: 46px;
    height: 46px;
    border: 1px solid #fff;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-decoration: none;
    font-size: 22px;
}

.psp-slider-col {
    min-width: 0;
}

.psp-slider-col .splide__slide,
.psp-container .splide__slide {
    display: flex;
    height: auto;
}

.psp-slider-col .splide__slide > *,
.psp-container .splide__slide > * {
    width: 100%;
}

@media (max-width: 1024px) {
    .psp-tab-layout {
        grid-template-columns: 280px minmax(0, 1fr);
    }

    .psp-static-col {
        min-height: 520px;
    }

    .psp-static-col__inner {
        padding: 28px 24px;
    }

    .psp-product-card__title {
        font-size: 16px;
    }

    .psp-product-card__price {
        font-size: 20px;
    }
}

@media (max-width: 767px) {
    .psp-tabs-nav {
        gap: 10px;
        margin-bottom: 20px;
    }

    .psp-tab-btn {
        padding: 10px 16px;
        font-size: 14px;
    }

    .psp-tab-layout {
        grid-template-columns: 1fr;
    }

    .psp-static-col {
        min-height: 320px;
    }

    .psp-static-col__text {
        max-width: none;
        font-size: 15px;
    }

    .psp-product-card__content {
        padding: 16px;
    }

    .psp-product-card__cart,
    .psp-product-card__more {
        width: 42px;
        height: 42px;
    }
}