.pz-product-carousel-bridge {
    --pz-card-width: 210px;
    --pz-gap: 16px;
    --pz-title-lines: 3;
    position: relative;
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr) 42px;
    align-items: center;
    gap: 10px;
    width: 100%;
    margin: 18px 0;
}

.pz-carousel-viewport {
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    scrollbar-width: thin;
    padding: 6px 2px 12px;
}

.pz-carousel-track {
    display: flex;
    gap: var(--pz-gap);
    align-items: stretch;
}

.pz-product-card {
    flex: 0 0 var(--pz-card-width);
    scroll-snap-align: start;
    display: flex;
    flex-direction: column;
    gap: 9px;
    min-height: 100%;
    padding: 12px;
    border: 1px solid rgba(0, 0, 0, 0.12);
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.06);
}

.pz-product-image-link {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    border-radius: 12px;
    background: rgba(0, 0, 0, 0.035);
    text-decoration: none;
}

.pz-product-image-link img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.pz-product-image-placeholder {
    font-size: 13px;
    opacity: 0.7;
}

.pz-product-badge {
    position: absolute;
    z-index: 2;
    top: 8px;
    left: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 22px;
    padding: 2px 8px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 800;
    background: #fff;
    color: inherit;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.16);
}

.pz-product-title {
    margin: 0;
    font-size: 15px;
    line-height: 1.3;
    font-weight: 700;
}

.pz-product-title a {
    color: inherit;
    text-decoration: none;
    display: -webkit-box;
    -webkit-line-clamp: var(--pz-title-lines);
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.pz-product-title a:hover,
.pz-product-title a:focus {
    text-decoration: underline;
}

.pz-product-rating {
    font-size: 13px;
    font-weight: 700;
    line-height: 1.2;
}

.pz-product-price {
    font-size: 14px;
    font-weight: 700;
    margin-top: auto;
}

.pz-product-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 38px;
    padding: 8px 12px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    border: 1px solid rgba(0, 0, 0, 0.14);
    color: inherit;
    background: rgba(0, 0, 0, 0.04);
}

.pz-product-button:hover,
.pz-product-button:focus {
    text-decoration: none;
    transform: translateY(-1px);
}

.pz-carousel-control {
    width: 42px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: relative;
    box-sizing: border-box;
    padding: 0;
    border-radius: 999px;
    border: 1px solid rgba(0, 0, 0, 0.18);
    background: #fff;
    color: inherit;
    font-size: 0;
    line-height: 1;
    text-align: center;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.pz-carousel-control span {
    display: none;
}

.pz-carousel-control::before {
    content: '';
    width: 10px;
    height: 10px;
    display: block;
    box-sizing: border-box;
    border-top: 2px solid currentColor;
    border-right: 2px solid currentColor;
}

.pz-carousel-prev::before {
    transform: rotate(-135deg);
}

.pz-carousel-next::before {
    transform: rotate(45deg);
}

.pz-carousel-control:hover,
.pz-carousel-control:focus {
    transform: translateY(-1px);
}

.pz-product-carousel-notice {
    padding: 12px 14px;
    border: 1px solid rgba(0, 0, 0, 0.15);
    border-radius: 10px;
    background: rgba(0, 0, 0, 0.04);
}

@media (max-width: 700px) {
    .pz-product-carousel-bridge {
        --pz-card-width: 178px;
        grid-template-columns: 34px minmax(0, 1fr) 34px;
        gap: 6px;
    }

    .pz-carousel-control {
        width: 34px;
        height: 34px;
    }

    .pz-carousel-control::before {
        width: 8px;
        height: 8px;
    }

    .pz-product-card {
        padding: 10px;
    }
}
