.custom-products-wrapper {
    margin: 0;
    padding: 0;
}

/* =========================
   CARD – DESKTOP (DEFAULT)
   ========================= */
.bb-card {
    position: relative;
    border: 2px solid #ddd;
    background-color: #fff;
    border-radius: 12px;
    padding: 10px;
    margin: 0;
    transition: all 0.3s;

    display: grid;
    grid-template-columns: 120px 1fr auto;
    align-items: center;
    gap: 15px;
}

.bb-card:hover {
    border-color: #227160;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.bb-card-label {
    display: none !important;
    position: absolute;
    top: 15px;
    right: 15px;
    background: #ff6b6b;
    color: white;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 11px;
    font-weight: bold;
    text-transform: uppercase;
    z-index: 2;
}

/* =========================
   IMAGE
   ========================= */
.bb-card-image {
    width: 90px;
}

.bb-card-image img {
    width: 100%;
    height: auto;
    border-radius: 8px;
}

/* =========================
   CONTENT
   ========================= */
.bb-card-content h3 {
    font-size: 18px;
    font-weight: 600;
    margin: 0;
    line-height: 1.4;
}

/* =========================
   ACTION
   ========================= */
.bb-card-action {
    display: flex;
    align-items: center;
    gap: 30px;
}

.bb-card-price {
    display: flex;
    align-items: center;
    gap: 10px;
}

.bb-card-price span {
    font-size: 16px;
    font-weight: 700;
}

.bb-card-price .price-old {
    text-decoration: line-through;
    color: #999;
    font-size: 16px;
}

.bb-card-price .price-new {
    color: #ff6b6b;
}

.bb-add-product {
    background: #2d3c39;
    color: white;
    border: none;
    padding: 6px 20px;
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.3s;
    font-size: 12px;
    text-transform: uppercase;
    min-width: 140px;
}

.bb-add-product:hover {
    background: #185a4c;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(40, 167, 69, 0.3);
}

.bb-add-product.added {
    background: #6c757d;
    cursor: default;
}

.bb-add-product.added:hover {
    background: #6c757d;
    transform: none;
    box-shadow: none;
}

/* =========================
   MOBILE – ONLY CHANGE:
   3rd column goes DOWN
   ========================= */
@media (max-width: 768px) {
    .bb-card {
        grid-template-columns: 120px 1fr;
        row-gap: 15px;
    }

    .bb-card-action {
        grid-column: 1 / -1; /* ← САМО ТОВА пада на нов ред */
        justify-content: space-between;
    }

    .bb-add-product {
        min-width: 120px;
    }
}


.notification-wrapper-center:not(:has(.notification-cart)) {
    background-color: transparent;
}

.notification-wrapper-center:has(.notification-cart) {
    background-color: rgba(0, 0, 0, 0.34);
}

.btn-continue {
    background-color: #727272 !important;
    color: #000 !important;
}
