/* ==========================================================================
   Bouquet de Ballons — B2B Core & Méthode B (Product Options, Cart & Configurator)
   ========================================================================== */

.b2b-box-wrapper {
    margin: 18px 0;
    font-family: inherit;
    width: 100%;
}

/* Custom Balloon Text Card */
.b2b-custom-balloon-text-card {
    background: #fff9fc;
    border: 2px solid #c6126c;
    border-radius: 10px;
    padding: 14px 16px;
    margin-bottom: 16px;
}
.b2b-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 6px;
}
.b2b-step-badge {
    font-weight: 700;
    color: #c6126c;
    font-size: 15px;
}
.b2b-price-pill {
    background: #c6126c;
    color: #fff;
    padding: 2px 10px;
    border-radius: 99px;
    font-size: 12px;
    font-weight: 700;
}
.b2b-help-text {
    margin: 0 0 8px 0;
    font-size: 13px;
    color: #555;
    line-height: 1.4;
}
.b2b-input,
.b2b-textarea {
    width: 100%;
    border: 1.5px solid #d9b8c9;
    border-radius: 8px;
    padding: 10px 12px;
    font-size: 14px;
    background: #fff;
    color: #222;
    transition: border-color 0.2s;
}
.b2b-input:focus,
.b2b-textarea:focus {
    border-color: #c6126c;
    outline: none;
    box-shadow: 0 0 0 3px rgba(198, 18, 108, 0.12);
}
.b2b-char-counter {
    text-align: right;
    font-size: 11.5px;
    color: #777;
    margin-top: 4px;
}

/* Active Box in Cart Banner (on Product Page) */
.b2b-active-box-banner {
    background: linear-gradient(135deg, #fdf2f7 0%, #fff 100%);
    border: 2px solid #c6126c;
    border-radius: 12px;
    padding: 16px;
    margin-bottom: 16px;
    box-shadow: 0 4px 14px rgba(198, 18, 108, 0.09);
}
.b2b-active-box-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 12px;
}
.b2b-active-title {
    color: #c6126c;
    font-size: 16px;
    display: block;
    margin-bottom: 4px;
}
.b2b-saved-msg-preview {
    font-size: 13px;
    color: #444;
}
.b2b-toggle-options-btn {
    background: #fff;
    border: 1.5px solid #c6126c;
    color: #c6126c;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 12.5px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.15s;
}
.b2b-toggle-options-btn:hover {
    background: #c6126c;
    color: #fff;
}
.b2b-mini-balloons-strip {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 14px;
}
.b2b-mini-balloon-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #fff;
    border: 1px solid #e6c5d6;
    border-radius: 99px;
    padding: 4px 10px 4px 4px;
    font-size: 12px;
    font-weight: 600;
    color: #333;
}
.b2b-mini-balloon-chip img {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    object-fit: cover;
}
.b2b-existing-box-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.b2b-btn-primary {
    background: #c6126c !important;
    color: #fff !important;
    border: none !important;
    border-radius: 8px !important;
    padding: 13px 20px !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    cursor: pointer;
    text-align: center;
    transition: transform 0.12s, background 0.15s;
    box-shadow: 0 4px 10px rgba(198, 18, 108, 0.22);
}
.b2b-btn-primary:hover {
    background: #a40d58 !important;
    transform: translateY(-1px);
}
.b2b-btn-secondary,
.b2b-btn-outline {
    background: #fff !important;
    color: #c6126c !important;
    border: 1.5px solid #c6126c !important;
    border-radius: 8px !important;
    padding: 10px 16px !important;
    font-size: 13.5px !important;
    font-weight: 600 !important;
    cursor: pointer;
    text-align: center;
    transition: all 0.15s;
}
.b2b-btn-secondary:hover,
.b2b-btn-outline:hover {
    background: #fdf2f7 !important;
}
.b2b-box-full-notice {
    background: #fff4e5;
    border: 1px solid #ffd599;
    padding: 10px 14px;
    border-radius: 8px;
    font-size: 13.5px;
    color: #663c00;
    font-weight: 600;
}

/* Box Options Container */
.b2b-box-options-container {
    background: #fcfcfd;
    border: 1px solid #e6dce1;
    border-radius: 12px;
    padding: 16px;
    margin-bottom: 16px;
}
.b2b-section-intro h4 {
    margin: 0 0 4px 0;
    color: #c6126c;
    font-size: 16px;
}
.b2b-section-intro p {
    margin: 0 0 12px 0;
    font-size: 13px;
    color: #555;
}
.b2b-option-block {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 10px;
    padding: 12px 14px;
    margin-bottom: 12px;
}
.b2b-option-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}
.b2b-badge-free {
    background: #e6f7ed;
    color: #0d7a3e;
    font-size: 11.5px;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 99px;
}
.b2b-acc-toggle {
    font-size: 12px;
    color: #c6126c;
    font-weight: 600;
}

/* Swatch Grid (Poids, Flots, Gifts) */
.b2b-swatch-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(115px, 1fr));
    gap: 10px;
}
.b2b-swatch-card {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    border: 1.5px solid #e2e2e2;
    border-radius: 10px;
    padding: 8px;
    background: #fff;
    cursor: pointer;
    text-align: center;
    transition: all 0.15s;
}
.b2b-swatch-card input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}
.b2b-swatch-card:hover {
    border-color: #c6126c;
}
.b2b-swatch-card.selected {
    border: 2px solid #c6126c;
    background: #fdf2f7;
    box-shadow: 0 2px 8px rgba(198, 18, 108, 0.14);
}
.b2b-swatch-card img {
    width: 68px;
    height: 68px;
    object-fit: contain;
    margin-bottom: 6px;
    border-radius: 6px;
}
.b2b-no-flot-icon {
    font-size: 32px;
    height: 68px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.b2b-swatch-title {
    font-size: 12px;
    line-height: 1.25;
    color: #222;
    font-weight: 600;
    margin-bottom: 4px;
}
.b2b-swatch-price {
    font-size: 11.5px;
    font-weight: 700;
    color: #c6126c;
}
.b2b-btn-save-options {
    background: #c6126c;
    color: #fff;
    border: none;
    border-radius: 6px;
    padding: 9px 16px;
    font-weight: 600;
    cursor: pointer;
}

/* Cart Page Summary Bar */
.b2b-cart-box-bar {
    background: #fdf2f7;
    border: 2px solid #c6126c;
    border-radius: 12px;
    padding: 16px 20px;
    margin-bottom: 22px;
}
.b2b-cart-box-bar-main {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 14px;
}

/* ==========================================================================
   STEP-BY-STEP VISUAL BOX CONFIGURATOR ([b2b_box_configurator]) — Mobile First
   ========================================================================== */
.b2b-configurator {
    max-width: 1180px;
    margin: 0 auto 30px auto;
}
.b2b-conf-hero {
    background: linear-gradient(135deg, #fdf2f7 0%, #fff5fa 100%);
    border: 1px solid #f2c2da;
    border-radius: 12px;
    padding: 12px 14px;
    text-align: center;
    margin-bottom: 10px;
}
.b2b-conf-hero h2 {
    margin: 0 0 8px 0;
    color: #c6126c;
    font-size: 20px;
    line-height: 1.25;
}
.b2b-pricing-badges {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 5px;
}
.b2b-pbadge {
    background: #fff;
    border: 1.5px solid #e4b8ce;
    border-radius: 99px;
    padding: 3px 9px;
    font-size: 11.5px;
    color: #333;
    white-space: nowrap;
}
.b2b-pbadge-pop {
    border-color: #c6126c;
    background: #c6126c;
    color: #fff;
}

/* Compact Sticky Wizard Dock */
.b2b-conf-dock {
    position: sticky;
    top: 56px;
    z-index: 99;
    background: #fff;
    border: 2px solid #c6126c;
    border-radius: 12px;
    padding: 8px;
    margin-bottom: 14px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.11);
}
.b2b-wizard-tabs {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 5px;
    margin-bottom: 8px;
}
.b2b-wtab {
    background: #f8f1f5 !important;
    border: 1px solid #e5cbd8 !important;
    border-radius: 8px !important;
    padding: 6px 4px !important;
    min-height: 32px !important;
    font-size: 11.5px !important;
    font-weight: 700 !important;
    text-transform: none !important;
    color: #555 !important;
    cursor: pointer;
    display: flex !important;
    align-items: center;
    justify-content: center;
    gap: 4px;
    white-space: nowrap;
    overflow: hidden;
    width: 100%;
    box-shadow: none !important;
}
.b2b-wtab.active {
    background: #c6126c !important;
    border-color: #c6126c !important;
    color: #fff !important;
}
.b2b-wtab-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 17px;
    height: 17px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.12);
    font-size: 10.5px;
    flex-shrink: 0;
}
.b2b-wtab.active .b2b-wtab-num {
    background: rgba(255, 255, 255, 0.25);
}

.b2b-dock-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 6px;
}
.b2b-dock-slots {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 6px;
    flex: 1;
    max-width: 220px;
}
.b2b-dock-slot {
    position: relative;
    border: 1.5px dashed #d8a8c0;
    border-radius: 8px;
    padding: 2px;
    background: #fdf8fb;
    height: 46px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}
.b2b-dock-slot.filled {
    border-style: solid;
    border-color: #c6126c;
    background: #fff;
}
.b2b-slot-empty {
    font-size: 10.5px;
    line-height: 1.1;
    color: #777;
    font-weight: 700;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.b2b-slot-empty small {
    font-size: 9.5px;
    font-weight: 600;
    color: #c6126c;
}
.b2b-slot-filled {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}
.b2b-slot-filled img {
    width: 38px !important;
    height: 38px !important;
    object-fit: contain;
    border-radius: 6px;
    cursor: pointer;
    margin: 0 auto;
    display: block;
}
.b2b-slot-txt-dot {
    position: absolute;
    bottom: -2px;
    left: 0;
    font-size: 10px;
    background: #fff;
    border-radius: 50%;
    line-height: 1;
}
.b2b-slot-remove {
    position: absolute;
    top: -6px;
    right: -6px;
    background: #c6126c !important;
    color: #fff !important;
    border: 1.5px solid #fff !important;
    width: 19px !important;
    height: 19px !important;
    min-height: 19px !important;
    border-radius: 50% !important;
    font-size: 13px !important;
    font-weight: bold !important;
    cursor: pointer;
    line-height: 1 !important;
    padding: 0 !important;
    display: flex !important;
    align-items: center;
    justify-content: center;
    z-index: 5;
}
.b2b-dock-summary {
    display: flex;
    align-items: center;
    gap: 6px;
}
.b2b-dock-total {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    line-height: 1.1;
}
.b2b-dock-total small {
    font-size: 10px;
    color: #666;
}
.b2b-dock-total strong {
    font-size: 14px;
    color: #c6126c;
    white-space: nowrap;
}
.b2b-dock-next-btn {
    padding: 8px 10px !important;
    min-height: 36px !important;
    font-size: 12px !important;
    text-transform: none !important;
    white-space: nowrap;
    border-radius: 8px !important;
}

/* Configurator Sections */
.b2b-conf-section {
    background: #fff;
    border: 1px solid #e8dee3;
    border-radius: 12px;
    padding: 12px;
    margin-bottom: 18px;
}
.b2b-conf-step-title {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
    padding-bottom: 10px;
    border-bottom: 1px solid #f0e6eb;
}
.b2b-step-num {
    background: #c6126c;
    color: #fff;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 14px;
    flex-shrink: 0;
}
.b2b-conf-step-title h3 {
    margin: 0;
    font-size: 16px;
    color: #222;
}
.b2b-conf-step-title small {
    color: #666;
    font-size: 12px;
}

/* Theme Filter Pills (Single Swipeable Row) & Search */
.b2b-conf-filters {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 12px;
}
.b2b-theme-pills {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    gap: 6px;
    padding-bottom: 4px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}
.b2b-theme-pills::-webkit-scrollbar {
    display: none;
}
.b2b-theme-pill {
    flex-shrink: 0;
    white-space: nowrap;
    background: #f7f2f5 !important;
    border: 1px solid #e2ced8 !important;
    border-radius: 99px !important;
    padding: 5px 11px !important;
    min-height: 30px !important;
    font-size: 12px !important;
    font-weight: 600 !important;
    text-transform: none !important;
    color: #444 !important;
    cursor: pointer;
    transition: all 0.15s;
    box-shadow: none !important;
}
.b2b-theme-pill.active,
.b2b-theme-pill:hover {
    background: #c6126c !important;
    border-color: #c6126c !important;
    color: #fff !important;
}
.b2b-conf-search input {
    width: 100%;
    padding: 8px 12px;
    border: 1.5px solid #d8b8c8;
    border-radius: 99px;
    font-size: 13.5px;
}

/* Configurator Balloons Grid (100% Visual, 3 cols on Mobile, 5-6 on Desktop) */
.b2b-conf-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(145px, 1fr));
    gap: 10px;
}
@media (max-width: 640px) {
    .b2b-conf-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 8px;
    }
    .b2b-compact-swatches,
    .b2b-gifts-grid {
        grid-template-columns: repeat(3, 1fr) !important;
        gap: 8px !important;
    }
}
.b2b-conf-card {
    border: 1.5px solid #eee;
    border-radius: 10px;
    background: #fff;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    overflow: hidden;
    transition: border-color 0.15s, box-shadow 0.15s;
}
.b2b-conf-card:hover,
.b2b-conf-card.has-qty {
    border-color: #c6126c;
    box-shadow: 0 4px 10px rgba(198, 18, 108, 0.14);
}
.b2b-conf-card.has-qty {
    border-width: 2px;
    background: #fff9fc;
}
.b2b-conf-card-img {
    position: relative;
    padding: 6px;
    text-align: center;
    background: #fff;
    cursor: pointer;
}
.b2b-conf-card-img img {
    width: 100%;
    aspect-ratio: 1 / 1;
    max-width: 120px;
    max-height: 120px;
    object-fit: contain;
    margin: 0 auto;
    display: block;
}
.b2b-info-btn {
    position: absolute;
    top: 5px;
    left: 5px;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid #e2ced8;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    line-height: 1;
    cursor: pointer;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12);
}
.b2b-customizable-tag {
    position: absolute;
    bottom: 4px;
    right: 4px;
    background: rgba(198, 18, 108, 0.92);
    color: #fff;
    font-size: 9.5px;
    font-weight: 700;
    padding: 2px 6px;
    border-radius: 99px;
}
.b2b-conf-card-body {
    padding: 4px 6px 6px 6px;
}
.b2b-btn-add-slot {
    width: 100%;
    background: #fdf2f7 !important;
    color: #c6126c !important;
    border: 1.5px solid #c6126c !important;
    border-radius: 7px !important;
    padding: 5px 2px !important;
    min-height: 30px !important;
    font-size: 11.5px !important;
    font-weight: 700 !important;
    text-transform: none !important;
    cursor: pointer;
    transition: all 0.15s;
    white-space: nowrap;
    box-shadow: none !important;
}
.b2b-btn-add-slot:hover,
.b2b-btn-add-slot.added {
    background: #c6126c !important;
    color: #fff !important;
}

/* Quantity Stepper [- 0 +] on Configurator Balloon & Gift Cards */
.b2b-qty-stepper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border: 1.5px solid #d8b8c8;
    border-radius: 99px;
    background: #faf6f8;
    overflow: hidden;
    height: 30px;
    user-select: none;
    transition: all 0.15s;
}
.b2b-qty-stepper.active {
    border-color: #c6126c;
    background: #fdf0f6;
}
.b2b-qty-btn {
    width: 28px;
    height: 100%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    font-weight: 800;
    color: #c6126c;
    cursor: pointer;
    line-height: 1;
    transition: background 0.12s, color 0.12s;
}
.b2b-qty-btn:hover,
.b2b-qty-btn:active {
    background: #c6126c;
    color: #fff;
}
.b2b-qty-stepper.active .b2b-qty-plus {
    background: #c6126c;
    color: #fff;
}
.b2b-qty-val {
    flex: 1;
    text-align: center;
    font-size: 13px;
    font-weight: 800;
    color: #555;
    line-height: 1;
}
.b2b-qty-stepper.active .b2b-qty-val {
    color: #c6126c;
    font-size: 14px;
}

/* Step Footer Navigation */
.b2b-step-footer-nav {
    margin-top: 16px;
    padding-top: 14px;
    border-top: 1px solid #f0e6eb;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
}

/* Quick-View / Variation / Custom Text Modal */
.b2b-modal-overlay {
    position: fixed;
    inset: 0;
    z-index: 99999;
    background: rgba(0, 0, 0, 0.55);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
}
.b2b-modal-box {
    position: relative;
    background: #fff;
    border-radius: 14px;
    padding: 20px 18px 18px 18px;
    max-width: 360px;
    width: 100%;
    text-align: center;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.25);
}
.b2b-modal-close {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 30px !important;
    height: 30px !important;
    min-height: 30px !important;
    padding: 0 !important;
    border-radius: 50% !important;
    border: none !important;
    background: #f3e8ee !important;
    color: #c6126c !important;
    font-size: 20px !important;
    font-weight: bold !important;
    cursor: pointer;
    line-height: 1 !important;
    display: flex !important;
    align-items: center;
    justify-content: center;
}
#b2b-modal-img {
    width: 180px;
    height: 180px;
    object-fit: contain;
    margin: 0 auto 10px auto;
    display: block;
}
#b2b-modal-title {
    margin: 0 0 10px 0;
    font-size: 15px;
    color: #222;
    line-height: 1.35;
}

/* Hide obsolete "Jusque 6 ballons" Elementor banner & mobile blank space on /panier/ */
.woocommerce-cart .elementor-element-2d476ab,
.woocommerce-cart .elementor-element-3f26b13 {
    display: none !important;
}

