/* =====================================
   Bundle Frontend UI (Modern / Clean)
===================================== */

.wcnb-bundle-form {
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    padding: 20px;
    background: #ffffff;
    margin: 20px 0;
}

/* Header */
.wcnb-bundle-form h3 {
    margin: 0 0 16px;
    font-size: 18px;
    font-weight: 600;
    color: #111827;
}

/* Bundle item list */
.wcnb-bundle-items {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

/* Individual item card */
/*
.wcnb-item {
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 14px 16px;
    background: #f9fafb;
}
*/
.wcnb-item {
    display: flex;
    gap: 14px;
    align-items: flex-start;
}

.wcnb-item-image {
    width: 64px;
    height: 64px;
    object-fit: cover;
    border-radius: 8px;
    border: 1px solid #e5e7eb;
    background: #ffffff;
}

/* Content area (text + selects) */
.wcnb-item > strong,
.wcnb-item > .wcnb-price,
.wcnb-item select,
.wcnb-item .wcnb-variations {
    flex: 1;
}

/* Mobile adjustment */
@media (max-width: 480px) {
    .wcnb-item {
        align-items: center;
    }

    .wcnb-item-image-wrap {
        width: 56px;
    }

    .wcnb-item-image {
        width: 56px;
        height: 56px;
    }
}

/* Product title */
.wcnb-item strong {
    font-size: 15px;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 10px;
}

/* Price (simple products) */
.wcnb-price {
    font-size: 14px;
    font-weight: 500;
    color: #374151;
}

/* Variation selects */
.wcnb-item select {
    width: 100%;
    margin-bottom: 8px;
    padding: 8px 10px;
    border-radius: 6px;
    border: 1px solid #d1d5db;
    background: #ffffff;
    font-size: 14px;
}

/* Total section */
.wcnb-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 18px;
    padding-top: 14px;
    border-top: 1px solid #e5e7eb;
    font-size: 16px;
}

.wcnb-total strong {
    font-weight: 600;
    color: #111827;
}
.wcnb-total-amount:before{
    content: '$';
}
.wcnb-total-amount:before,
.wcnb-total-amount {
    font-weight: 700;
    color: #16a34a;
    font-size: 20px;
}

/* Original (crossed-out) bundle price */
.wcnb-total-original {
    margin-right: 10px;
    font-size: 14px;
    color: #6b7280;
    text-decoration: line-through;
}

/* Discounted price emphasis */
.wcnb-total-amount {
    font-size: 18px;
    font-weight: 700;
    color: #16a34a;
}


/* Add to cart button */
.wcnb-add-to-cart {
    color: #FFFFFF;
    background-color: #141C40 !important;
    border-width: 2px 2px 2px 2px;
    padding: 12px 25px 12px 25px !important;
    margin: 0px 10px 0px 0px;
    font-family: "Barlow", Sans-serif;
    font-size: 15px;
    font-weight: 600;
    text-transform: uppercase;
    line-height: 17px;
    letter-spacing: 1px; 
}

.wcnb-add-to-cart:hover {
    background: #1f2937;
}

/* Disabled state (optional future use) */
.wcnb-add-to-cart:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* Responsive */
@media (max-width: 480px) {
    .wcnb-bundle-form {
        padding: 16px;
    }
}



/* ================================
   Individual Product Section
================================ */

.wcnb-individual-products {
    margin-top: 30px;
    padding-top: 24px;
    border-top: 1px solid #e5e7eb;
}

.wcnb-individual-products h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 16px;
    color: #111827;
}

.wcnb-individual-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 16px;
}

.wcnb-individual-item {
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 12px;
    background: #ffffff;
    text-align: center;
}

.wcnb-individual-item img {
    max-width: 100%;
    height: auto;
    margin-bottom: 10px;
}

.wcnb-individual-item h4 {
    font-size: 14px;
    font-weight: 600;
    margin: 6px 0;
    color: #1f2937;
}

.wcnb-individual-item .price {
    display: block;
    margin-bottom: 10px;
    font-size: 14px;
    color: #374151;
}

.wcnb-individual-item .button {
    width: 100%;
    font-size: 13px;
}
