.b2b2-container {
    padding: 1rem;
    padding-bottom: 6rem;
    max-width: 960px;
    margin: auto;
    font-family: 'Inter', sans-serif;
    color: #333;
}

/* Message Box */
.b2b2-message-box {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: #ffe0b2;
    border: 1px solid #ff9800;
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    text-align: center;
    max-width: 90%;
    width: 400px;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
}

.b2b2-message-box.hidden {
    display: none;
}

.b2b2-message-content {
    font-size: 1.1rem;
    color: #333;
    margin: 0;
}

.b2b2-message-close {
    background-color: #ff9800;
    color: white;
    border: none;
    padding: 0.6rem 1.5rem;
    border-radius: 8px;
    cursor: pointer;
    font-size: 1rem;
    transition: background-color 0.3s ease;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.b2b2-message-close:hover {
    background-color: #e68900;
}

/* Filters */
.b2b2-filters {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 1.5rem;
}

.b2b2-select {
    padding: 0.75rem 1rem;
    border: 1px solid #ddd;
    border-radius: 8px;
    background-color: #fff;
    font-size: 1rem;
    color: #555;
    flex: 1;
    min-width: 150px;
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.05);
}

/* Product List */
#b2b2-products-list {
    border: 1px solid #eee;
    border-radius: 12px;
    overflow: hidden;
    background-color: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.b2b2-product {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid #f0f0f0;
    padding: 1rem 1.5rem;
    gap: 1rem;
    flex-wrap: wrap;
    transition: background-color 0.2s ease;
}

.b2b2-product:last-child {
    border-bottom: none;
}

.b2b2-product:hover {
    background-color: #f9f9f9;
}

.b2b2-product-info {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex: 1;
    min-width: 180px;
    cursor: pointer;
}

.b2b2-product-check {
    width: 20px;
    height: 20px;
    accent-color: #000;
    border-radius: 4px;
}

.b2b2-product-title {
    font-weight: 600;
    font-size: 1.05rem;
    flex: 1;
    color: #333;
}

/* Quantity Controls */
.b2b2-quantity-controls {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    background: #e9ecef;
    border-radius: 10px;
    padding: 0.2rem 0.4rem;
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.08);
}

.b2b2-quantity-input {
    width: 45px;
    text-align: center;
    border: none;
    background: transparent;
    font-weight: bold;
    font-size: 1.05rem;
    color: #333;
    padding: 0.2rem;
}

.b2b2-qty-btn {
    background: #000;
    color: #fff;
    border: none;
    padding: 0.5rem 0.9rem;
    font-size: 1.1rem;
    cursor: pointer;
    border-radius: 8px;
    transition: background-color 0.3s ease, transform 0.1s ease;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.b2b2-qty-btn:hover:not(:disabled) {
    background: #005f8a;
    transform: translateY(-1px);
}

.b2b2-qty-btn:active:not(:disabled) {
    transform: translateY(0);
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.2);
}

.b2b2-qty-btn:disabled {
    background: #ccc;
    cursor: not-allowed;
    box-shadow: none;
}

/* Variations */
.b2b2-variations {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 0.5rem;
    flex-basis: 100%;
    justify-content: flex-end;
}

.b2b2-variation-select {
    padding: 0.6rem 0.8rem;
    border: 1px solid #ccc;
    border-radius: 8px;
    background-color: #fcfcfc;
    font-size: 0.95rem;
    color: #555;
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.05);
}

/* Checkout Bar */
#b2b2-checkout-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #ffffff;
    padding: 1rem;
    text-align: center;
    box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.1);
    z-index: 999;
    border-top-left-radius: 15px;
    border-top-right-radius: 15px;
}

#b2b2-proceed-button {
    background-color: #28a745;
    background-image: linear-gradient(to bottom right, #28a745, #218838);
    color: white;
    border: none;
    padding: 1rem 2.5rem;
    font-size: 1.25rem;
    font-weight: 600;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

#b2b2-proceed-button:hover:not(:disabled) {
    background-color: #218838;
    background-image: linear-gradient(to bottom right, #218838, #1e7e34);
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.25);
}

#b2b2-proceed-button:active:not(:disabled) {
    transform: translateY(0);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

#b2b2-proceed-button:disabled {
    background: #cccccc;
    background-image: none;
    color: #888;
    cursor: not-allowed;
    box-shadow: none;
}

/* Responsive */
@media (max-width: 768px) {
    .b2b2-filters {
        flex-direction: column;
        gap: 0.75rem;
    }

    .b2b2-select {
        width: 100%;
    }

    .b2b2-product {
        flex-direction: column;
        align-items: flex-start;
        padding: 1rem;
    }

    .b2b2-product-info {
        width: 100%;
        margin-bottom: 0.5rem;
    }

    .b2b2-product-title {
        font-size: 1rem;
    }

    .b2b2-quantity-controls {
        width: 100%;
        justify-content: space-between;
        margin-bottom: 0.5rem;
    }

    .b2b2-variations {
        flex-direction: column;
        width: 100%;
        align-items: flex-start;
    }

    .b2b2-variation-select {
        width: 100%;
    }

    #b2b2-proceed-button {
        width: 100%;
        font-size: 1.1rem;
        padding: 0.9rem 1.5rem;
    }

    .b2b2-message-box {
        width: 95%;
        padding: 1rem;
    }
}

.b2b2-product {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    padding: 1rem;
    border-bottom: 1px solid #eee;
}

.b2b2-thumbnail {
    flex-shrink: 0;
    width: 64px;
    height: 64px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 1px 4px rgba(0,0,0,0.1);
}

.b2b2-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.b2b2-product-main {
    flex: 1;
}

