.bought-together {
    position: fixed;
    inset: 0;
    z-index: 1100;
}

.bought-together__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(20, 24, 40, 0.35);
}

.bought-together__sheet {
    position: absolute;
    left: 10px;
    right: 10px;
    bottom: calc(88px + env(safe-area-inset-bottom, 0px));
    max-height: min(70vh, 520px);
    display: flex;
    flex-direction: column;
    padding: 16px 16px 12px;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 12px 28px rgba(20, 24, 40, 0.28);
}

.bought-together__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 12px;
}

.bought-together__title {
    font-size: 18px;
    font-weight: 700;
    line-height: 1.2;
    color: var(--siniy, #244288);
}

.bought-together__close {
    flex: none;
    width: 32px;
    height: 32px;
    border: none;
    border-radius: 8px;
    background: #f3f5f8;
    color: var(--siniy, #244288);
    font-size: 22px;
    line-height: 1;
    cursor: pointer;
}

.bought-together__list {
    overflow: auto;
}

.bought-together__item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 0;
    border-top: 1px solid #e6e9ef;
}

.bought-together__image {
    flex: none;
    width: 64px;
    height: 64px;
    border-radius: 8px;
    object-fit: contain;
    background: #f7f8fa;
}

.bought-together__info {
    min-width: 0;
    flex: 1;
}

.bought-together__name {
    display: block;
    color: var(--osnovnoy-tekst, #1d1d1f);
    font-size: 14px;
    font-weight: 600;
    line-height: 1.3;
    text-decoration: none;
}

.bought-together__meta {
    margin-top: 4px;
    color: var(--siniy, #244288);
    font-size: 14px;
    font-weight: 700;
}

.bought-together__pack {
    margin-left: 6px;
    color: #6b7280;
    font-size: 12px;
    font-weight: 500;
}

.bought-together__add {
    flex: none;
    height: 36px;
    padding: 0 12px;
    border: none;
    border-radius: 8px;
    background: #244288;
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
}

.bought-together__add.is-added {
    background: #e8eef8;
    color: #244288;
    cursor: default;
}

@media (min-width: 768px) {
    .bought-together__sheet {
        left: auto;
        right: 24px;
        bottom: 24px;
        width: 440px;
    }
}
