/**
 * Collections Bundle Styles
 *
 * @package Vanilly
 */

.vanilly-collection-bundle {
    margin: 40px 0;
    padding: 30px;
    background: #fff;
    border-radius: 16px;
    border: 1px solid #DEE1E8;
}

.vanilly-collection-bundle h3 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 24px;
    color: #2E303B;
    text-align: right;
}

.collection-products-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
    justify-items: start;
    align-items: center;
    justify-content: center;
}

.collection-product-item {
    background: #fff;
    border-bottom: 1px solid #DEE1E8;
    padding: 16px;
    transition: all 0.2s;
}

.add-collection-to-cart-btn {
    margin-bottom: 0px !important;
}

.collection-product-item:hover {
    border-color: #2271b1;
    box-shadow: 0 4px 12px rgba(34, 113, 177, 0.1);
}

.collection-product-label {
    display: flex;
    align-items: flex-start;
    cursor: pointer;
    margin: 0;
}

.collection-product-checkbox {
    margin-left: 12px;
    margin-top: 4px;
    width: 20px;
    height: 20px;
    cursor: pointer;
}

.collection-product-info {
    display: flex;
    gap: 12px;
    flex: 1;
    align-items: center;
}

.collection-product-image {
    width: 80px;
    height: 80px;
    flex-shrink: 0;
    border-radius: 6px;
    overflow: hidden;
}

.collection-product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.collection-product-details {
    flex: 1;
}

.collection-product-details h4 {
    font-size: 16px;
    font-weight: 600;
    margin: 0 0 8px 0;
    color: #2E303B;
    text-align: right;
}

.collection-product-price {
    font-size: 18px;
    font-weight: 700;
    color: #2271b1;
    text-align: right;
}

.collection-bundle-summary {
    background: #fff;
    border: 2px solid #2271b1;
    border-radius: 8px;
    padding: 24px;
    margin-top: 24px;
}

.bundle-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
    padding-bottom: 16px;
    border-bottom: 1px solid #e0e0e0;
}

.total-label {
    font-size: 18px;
    font-weight: 600;
    color: #2E303B;
}

.total-price {
    font-size: 24px;
    font-weight: 700;
    color: #2271b1;
}

.original-price {
    font-size: 18px;
    color: #999;
    text-decoration: line-through;
    margin-left: 10px;
}

.bundle-savings {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding: 12px;
    background: #e8f5e9;
    border-radius: 6px;
}

.savings-label {
    font-size: 16px;
    font-weight: 600;
    color: #2E303B;
}

.savings-amount {
    font-size: 20px;
    font-weight: 700;
    color: #4caf50;
}

.vanilly-add-bundle-to-cart {
    width: 100%;
    padding: 14px 24px;
    font-size: 16px;
    font-weight: 600;
    background: #2271b1;
    color: #fff;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s;
}

.vanilly-add-bundle-to-cart:hover {
    background: #135e96;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(34, 113, 177, 0.3);
}

.vanilly-add-bundle-to-cart:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}





