.bagassa-prod {
    width: 100%;
    box-sizing: border-box;
    --bp-per-view: var(--bp-cols-dt, 4);
}

.bagassa-prod__head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 18px;
    padding: 0 4px;
}

.bagassa-prod__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    margin-bottom: 6px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.7px;
    color: var(--bp-accent, #B01280);
}

.bagassa-prod--new .bagassa-prod__eyebrow {
    color: #4f7f79;
}

.bagassa-prod__eyebrow-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--bp-accent, #B01280);
}

.bagassa-prod--new .bagassa-prod__eyebrow-dot {
    background: var(--bp-second, #70A09A);
}

.bagassa-prod__title {
    margin: 0 !important;
    font-size: 28px;
    font-weight: 800;
    line-height: 1.2;
    color: #222222;
}

.bagassa-prod__nav {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

.bagassa-prod__arrow {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid #e4e7ec;
    background: #ffffff;
    color: #333333;
    font-size: 15px;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
    padding: 0;
}

.bagassa-prod__arrow:hover {
    background: var(--bp-accent, #B01280);
    border-color: var(--bp-accent, #B01280);
    color: #ffffff;
}

.bagassa-prod__nav.is-hidden {
    display: none;
}

.bagassa-prod__viewport {
    position: relative;
    width: 100%;
    overflow: hidden;
    padding: 6px 0 10px;
}

.bagassa-prod__track {
    display: flex;
    align-items: stretch;
    transition: transform var(--bp-speed, 450ms) ease-in-out;
    will-change: transform;
}

.bagassa-prod__item {
    display: flex;
    flex: 0 0 calc(100% / var(--bp-per-view));
    width: calc(100% / var(--bp-per-view));
    padding: 0 8px;
    box-sizing: border-box;
}

.bagassa-prod__card {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    background: #ffffff;
    border: 1px solid #eceef2;
    border-radius: 16px;
    padding: 16px;
    box-shadow: 0 3px 14px rgba(0, 0, 0, 0.035);
    transition: border-color 0.25s ease, box-shadow 0.25s ease;
    box-sizing: border-box;
}

.bagassa-prod__card:hover {
    border-color: rgba(176, 18, 128, 0.35);
    box-shadow: 0 0 10px rgba(176, 18, 128, 0.09);
}

.bagassa-prod__badges {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 10px;
    min-height: 24px;
}

.bagassa-prod__badge {
    display: inline-flex;
    align-items: center;
    padding: 4px 10px;
    border-radius: 7px;
    font-size: 10.5px;
    font-weight: 700;
    letter-spacing: 0.7px;
    line-height: 1;
    text-transform: uppercase;
    color: #ffffff;
    background: linear-gradient(135deg, #B01280 0%, #c92596 100%);
    box-shadow: 0 2px 6px rgba(176, 18, 128, 0.2);
}

.bagassa-prod__badge--new {
    background: linear-gradient(135deg, #62948e 0%, #70A09A 100%);
    box-shadow: 0 2px 6px rgba(112, 160, 154, 0.24);
}

.bagassa-prod__discount {
    display: inline-flex;
    align-items: center;
    padding: 4px 9px;
    border-radius: 7px;
    font-size: 11px;
    font-weight: 700;
    line-height: 1;
    background: rgba(176, 18, 128, 0.08);
    color: var(--bp-accent, #B01280);
    border: 1px solid rgba(176, 18, 128, 0.2);
}

.bagassa-prod__img-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    aspect-ratio: 1 / 1;
    padding: 6px;
    margin-bottom: 12px;
    background: transparent;
    border: none;
    overflow: hidden;
    box-sizing: border-box;
    text-decoration: none !important;
}

.bagassa-prod__img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    display: block;
}

.bagassa-prod__noimg {
    font-size: 16px;
    font-weight: 700;
    color: #c9c3cc;
    letter-spacing: 1px;
}

.bagassa-prod__body {
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
}

.bagassa-prod__name {
    margin: 0 0 12px !important;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.38;
    text-align: center;
    min-height: 42px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.bagassa-prod__name-link {
    color: #222222 !important;
    text-decoration: none !important;
    transition: color 0.2s ease;
}

.bagassa-prod__card:hover .bagassa-prod__name-link {
    color: var(--bp-accent, #B01280) !important;
}

.bagassa-prod__footer {
    margin-top: auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.bagassa-prod__prices {
    display: flex;
    flex-direction: row;
    align-items: baseline;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    min-height: 28px;
}

.bagassa-prod__old-price {
    font-size: 14px;
    font-weight: 500;
    color: #9aa0a6;
    text-decoration: line-through;
    line-height: 1.2;
}

.bagassa-prod__price {
    display: inline-flex;
    align-items: baseline;
    gap: 4px;
    line-height: 1.15;
}

.bagassa-prod__price-val {
    font-size: 21px;
    font-weight: 800;
    color: #222222;
}

.bagassa-prod__price-cur {
    font-size: 14px;
    font-weight: 700;
    color: var(--bp-accent, #B01280);
}

.bagassa-prod__btn {
    width: 100%;
    padding: 11px 16px;
    border: none;
    border-radius: 26px;
    background: var(--bp-accent, #B01280);
    color: #ffffff;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.2;
    cursor: pointer;
    transition: background-color 0.25s ease, box-shadow 0.25s ease;
    box-shadow: 0 4px 12px rgba(176, 18, 128, 0.22);
}

.bagassa-prod__btn:hover {
    background: #8e0d66;
    box-shadow: 0 6px 16px rgba(176, 18, 128, 0.34);
}

.bagassa-prod__btn.is-loading {
    opacity: 0.72;
    cursor: wait;
}

.bagassa-prod__btn.is-added {
    background: var(--bp-second, #70A09A);
    box-shadow: 0 4px 12px rgba(112, 160, 154, 0.3);
}

.bagassa-prod__dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 12px;
}

.bagassa-prod__dots.is-hidden {
    display: none;
}

.bagassa-prod__dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    border: none;
    background: rgba(0, 0, 0, 0.18);
    cursor: pointer;
    padding: 0;
    transition: background-color 0.2s ease, width 0.2s ease;
}

.bagassa-prod__dot.is-active {
    background: var(--bp-accent, #B01280);
    width: 24px;
    border-radius: 5px;
}

@media (max-width: 992px) {
    .bagassa-prod {
        --bp-per-view: var(--bp-cols-tb, 3);
    }

    .bagassa-prod__title {
        font-size: 24px;
    }
}

@media (max-width: 576px) {
    .bagassa-prod {
        --bp-per-view: var(--bp-cols-mb, 2);
    }

    .bagassa-prod__title {
        font-size: 20px;
    }

    .bagassa-prod__arrow {
        width: 34px;
        height: 34px;
        font-size: 13px;
    }

    .bagassa-prod__item {
        padding: 0 5px;
    }

    .bagassa-prod__card {
        padding: 12px;
        border-radius: 13px;
    }

    .bagassa-prod__img-wrap {
        padding: 4px;
        margin-bottom: 10px;
    }

    .bagassa-prod__name {
        font-size: 13.5px;
        min-height: 37px;
    }

    .bagassa-prod__prices {
        gap: 6px;
    }

    .bagassa-prod__price-val {
        font-size: 17.5px;
    }

    .bagassa-prod__old-price {
        font-size: 12.5px;
    }

    .bagassa-prod__btn {
        padding: 9px 12px;
        font-size: 13px;
    }
}