.aqp-carousel {
    --aqp-gap: 26px;
    --aqp-columns: 2;
    --aqp-blue: #297fd6;
    --aqp-dark: #111820;
    --aqp-muted: #66717d;
    --aqp-border: #e4e8ed;
    width: 100%;
    position: relative;
}

.aqp-carousel__toolbar {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 16px;
    min-height: 46px;
    margin-bottom: 18px;
}

.aqp-carousel__counter {
    color: #8a929b;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .08em;
    min-width: 56px;
    text-align: right;
}

.aqp-carousel__controls {
    display: flex;
    gap: 8px;
}

.aqp-carousel__arrow {
    appearance: none;
    -webkit-appearance: none;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: 1px solid #d8dde3;
    background: #fff;
    color: #111820;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    margin: 0;
    cursor: pointer;
    font-size: 19px;
    line-height: 1;
    transition: background-color .2s ease, color .2s ease, border-color .2s ease, transform .2s ease;
}

.aqp-carousel__arrow:hover,
.aqp-carousel__arrow:focus-visible {
    color: #fff;
    background: var(--aqp-dark);
    border-color: var(--aqp-dark);
    transform: translateY(-1px);
    outline: none;
}

.aqp-carousel__viewport {
    width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    overscroll-behavior-x: contain;
    scrollbar-width: none;
    -ms-overflow-style: none;
    touch-action: pan-x pan-y;
}

.aqp-carousel__viewport::-webkit-scrollbar {
    display: none;
}

.aqp-carousel__track {
    display: flex;
    gap: var(--aqp-gap);
    align-items: stretch;
}

.aqp-product-card {
    flex: 0 0 calc((100% - (var(--aqp-gap) * (var(--aqp-columns) - 1))) / var(--aqp-columns));
    min-width: 0;
    background: #fff;
    border: 1px solid var(--aqp-border);
    scroll-snap-align: start;
    display: flex;
    flex-direction: column;
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.aqp-product-card:hover {
    transform: translateY(-3px);
    border-color: #d5dbe2;
    box-shadow: 0 18px 45px rgba(19, 31, 43, .08);
}

.aqp-product-card__image-link {
    display: block;
    text-decoration: none !important;
}

.aqp-product-card__image-wrap {
    aspect-ratio: 1.22 / 1;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: #f5f7f9;
    padding: 24px;
}

.aqp-product-card__image {
    width: 100%;
    height: 100%;
    max-width: 100%;
    object-fit: contain;
    object-position: center;
    display: block;
    transition: transform .35s ease;
}

.aqp-product-card:hover .aqp-product-card__image {
    transform: scale(1.035);
}

.aqp-product-card__body {
    padding: 24px 24px 26px;
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
}

.aqp-product-card__title {
    margin: 0 0 12px;
    padding: 0;
    font-size: clamp(20px, 1.55vw, 25px);
    line-height: 1.2;
    font-weight: 700;
}

.aqp-product-card__title a {
    color: var(--aqp-dark) !important;
    text-decoration: none !important;
    transition: color .2s ease;
}

.aqp-product-card__title a:hover,
.aqp-product-card__title a:focus-visible {
    color: var(--aqp-blue) !important;
}

.aqp-product-card__excerpt {
    color: var(--aqp-muted);
    font-size: 15px;
    line-height: 1.65;
    margin: 0 0 20px;
}

.aqp-product-card__price {
    margin-top: auto;
    padding-top: 18px;
    border-top: 1px solid #eceff2;
    color: var(--aqp-dark);
    font-size: 19px;
    line-height: 1.3;
    font-weight: 700;
}

.aqp-product-card__price del {
    color: #929aa3;
    font-size: .85em;
    font-weight: 500;
    opacity: .85;
}

.aqp-product-card__price ins {
    text-decoration: none;
}

.aqp-notice {
    padding: 14px 16px;
    border: 1px solid #e0e4e9;
    background: #fff;
    color: #333;
    font-size: 14px;
}

@media (max-width: 767px) {
    .aqp-carousel {
        --aqp-columns: 1;
        --aqp-gap: 18px;
    }

    .aqp-carousel__toolbar {
        margin-bottom: 14px;
    }

    .aqp-carousel__arrow {
        width: 40px;
        height: 40px;
    }

    .aqp-product-card__image-wrap {
        aspect-ratio: 1.28 / 1;
        padding: 20px;
    }

    .aqp-product-card__body {
        padding: 20px 20px 22px;
    }
}
