:root {
    --highli: #f3f3f5;
    --text: #3e3e3e;
    --muted: #616162;
    --accent: #cbb162;
    --white: #ffffff;
}

.caviar-carousel-wrapper {
    background-color: var(--highli);
    padding: 60px 0;
    border-radius: 24px;
    user-select: none;
    -webkit-user-select: none;
    -ms-user-select: none;
}

.caviar-carousel-header {
    max-width: 1360px;
    width: 90%;
    margin: 0 auto 50px;
    text-align: left;
}

.caviar-carousel-header h2 {
    font-size: 32px;
    font-weight: 400;
    margin: 0 0 15px 0;
    color: var(--text);
}

.caviar-carousel-header p {
    font-size: 14px;
    line-height: 1.6;
    color: var(--muted);
    margin: 0;
}

.caviar-carousel {
    max-width: 1360px;
    width: 90%;
    margin: 0 auto;
    position: relative;
}

.caviar-product-card {
    background: var(--white);
    border-radius: 8px;
    padding: 18px;
    text-align: center;
    transition: transform 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.caviar-product-card[data-url] {
    cursor: pointer;
}

.caviar-product-card[data-url]:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
}

.caviar-product-card:hover {
    transform: translateY(-5px);
}

.caviar-product-image {
    width: 140px;
    height: 140px;
    margin: 0 auto 25px;
    border-radius: 50%;
    overflow: hidden;
    position: relative;
}

.caviar-product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    inset: 0;
    transition: opacity 0.2s ease;
}

.caviar-product-image .image-default {
    opacity: 1;
}

.caviar-product-image .image-hover {
    opacity: 0;
}

.caviar-product-card.has-hover-image:hover .image-default {
    opacity: 0;
}

.caviar-product-card.has-hover-image:hover .image-hover {
    opacity: 1;
}

.caviar-product-title {
    font-size: 20px;
    font-weight: 400;
    margin: 0 0 15px 0;
    color: var(--text);
}

.caviar-product-description {
    font-size: 13px;
    line-height: 1.5;
    color: var(--muted);
    margin: 0 0 20px 0;
    min-height: 60px;
    flex-grow: 1;
}

.caviar-product-price {
    font-size: 16px;
    color: #838383;
    margin: 0 0 20px 0;
    font-weight: 500;
}

.caviar-product-button {
    display: inline-block;
    padding: 12px 24px;
    border: 1px solid var(--accent);
    background: transparent;
    color: var(--accent);
    text-decoration: none;
    font-size: 16px;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: all 0.3s ease;
    cursor: pointer;
    border-radius: 4px;
    width: fit-content;
    align-self: center;
    line-height: 1;
}

.caviar-product-button:hover {
    background: var(--accent);
    color: var(--white);
}

.caviar-carousel-wrapper .swiper-pagination {
    position: relative;
    margin-top: 40px;
    display: flex;
    justify-content: center;
    gap: 10px;
}

.caviar-carousel-wrapper .swiper-pagination-bullet {
    width: 10px;
    height: 10px;
    background: #d0d0d0;
    opacity: 1;
    transition: all 0.35s ease;
    border-radius: 999px;
}

.caviar-carousel-wrapper .swiper-pagination-bullet-active {
    background: var(--text);
    width: 28px;
    transform: none;
}

@media (max-width: 768px) {
    .caviar-carousel-header h2 {
        font-size: 24px;
    }

    .caviar-product-card {
        padding: 24px;
    }
}

.caviar-swiper {
    overflow: hidden;
    touch-action: pan-y;
}

.caviar-swiper .swiper-wrapper {
    align-items: stretch;
    will-change: transform;
    transition-timing-function: cubic-bezier(0.22, 0.61, 0.36, 1);
    transform: translate3d(0, 0, 0);
}

.caviar-swiper .swiper-slide {
    height: auto;
    display: flex;
    backface-visibility: hidden;
    transform: translate3d(0, 0, 0);
}

.caviar-swiper .swiper-slide>* {
    width: 100%;
}

.caviar-swiper .swiper-slide {
    width: 100%;
}

@media (min-width: 640px) {
    .caviar-swiper .swiper-slide {
        width: calc((100% - 20px) / 2);
    }
}

@media (min-width: 768px) {
    .caviar-swiper .swiper-slide {
        width: calc((100% - 50px) / 3);
    }
}

@media (min-width: 1024px) {
    .caviar-swiper .swiper-slide {
        width: calc((100% - 90px) / 4);
    }
}

.caviar-carousel-wrapper-alt {
    background: transparent;
    padding: 0;
    border-radius: 0;
}

.caviar-carousel-wrapper-alt .caviar-carousel,
.caviar-carousel-wrapper-alt .caviar-carousel-header {
    max-width: 1360px;
    width: 100%;
}

.caviar-carousel-wrapper-alt .caviar-carousel-header {
    margin: 0 auto 40px;
}

.caviar-carousel-wrapper-alt .caviar-product-card {
    background: var(--highli);
}

.caviar-carousel-wrapper-alt .caviar-swiper .swiper-slide {
    width: 100%;
}

@media (min-width: 640px) {
    .caviar-carousel-wrapper-alt .caviar-swiper .swiper-slide {
        width: calc((100% - 28px) / 2);
    }
}

@media (min-width: 768px) {
    .caviar-carousel-wrapper-alt .caviar-swiper .swiper-slide {
        width: calc((100% - 64px) / 3);
    }
}

@media (min-width: 1024px) {
    .caviar-carousel-wrapper-alt .caviar-swiper .swiper-slide {
        width: calc((100% - 72px) / 3);
    }
}