.bebc-customiser {
    margin: 24px 0;
    padding: 28px;
    border-top: 1px solid #e5e7eb;
    background: #fff;
}

/* =========================
   HEADINGS
========================= */
.bebc-workwear-item h5 {
    margin-top: 20px;
    font-weight: bold !important;
}
.bebc-heading h3 {
    margin: 0 0 8px;
    font-size: 28px;
    font-weight: 900;
    color: #111827;
}

.bebc-heading p {
    margin: 0 0 22px;
    color: #64748b;
}

/* =========================
   LAYOUT BLOCKS
========================= */

.bebc-field,
.bebc-bundle-box,
.bebc-bundle-details,
.bebc-branding-block {
    margin-bottom: 24px;
}

.bebc-bundle-box,
.bebc-bundle-details {
    padding: 20px;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    background: #f8fafc;
}

.bebc-bundle-box ul {
    margin: 12px 0 0 20px;
}

.bebc-bundle-box li {
    margin-bottom: 6px;
}

/* =========================
   FORM
========================= */

.bebc-field label,
.bebc-mini-field label {
    display: block;
    margin-bottom: 8px;
    font-weight: 800;
    color: #374151;
}

.bebc-field select,
.bebc-field textarea,
.bebc-mini-field select {
    width: 100%;
    padding: 13px 14px;
    border: 1px solid #d1d5db;
    border-radius: 10px;
    background: #fff;
}

.bebc-field textarea {
    min-height: 95px;
}

.bebc-field small,
.bebc-mini-field small,
.bebc-bundle-details small {
    display: block;
    margin-top: 7px;
    color: #64748b;
}

/* =========================
   HEADINGS
========================= */

.bebc-bundle-details h4,
.bebc-branding-block h4 {
    margin: 0 0 8px;
    font-size: 22px;
    font-weight: 900;
    color: #111827;
}

.bebc-branding-block p {
    margin: 0 0 10px;
    color: #64748b;
}

/* =========================
   GRID
========================= */

.bebc-item-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    margin-top: 16px;
}

/* =========================
   INCLUDED BADGE
========================= */

.bebc-included-position {
    display: inline-block;
    margin: 12px 0 16px;
    padding: 11px 13px;
    border-radius: 10px;
    background: #ecfdf5;
    color: #166534;
    font-weight: 800;
}

/* =========================
   BRANDING GRID (CLEAN)
========================= */

.bebc-position-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-top: 14px;
}

.bebc-position-card {
    position: relative;
    width: auto;
    min-height: 92px;
    padding: 12px 8px;
    border: 2px solid #e5e7eb;
    border-radius: 18px;
    background: #fff;
    text-align: center;
    cursor: pointer;
    transition: all 0.15s ease;
}

/* remove old badge system completely */
.bebc-position-card:before {
    display: none !important;
}

/* checkbox hidden */
.bebc-position-card input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

/* hover + active */
.bebc-position-card:hover {
    border-color: #111827;
    box-shadow: 0 6px 18px rgba(0,0,0,0.06);
    transform: translateY(-1px);
}

.bebc-position-card:has(input:checked) {
    border-color: #111827;
    box-shadow: 0 0 0 3px rgba(17, 24, 39, 0.08);
}

/* title */
.bebc-position-title {
    display: block;
    font-size: 15px;
    line-height: 1.2;
    font-weight: 900;
    color: #111827;
}

/* price */
.bebc-position-price {
    display: block;
    margin-top: 8px;
    font-weight: 900;
    color: #64748b;
}

/* selected state */
.bebc-position-card:has(input:checked) .bebc-position-title {
    color: #6d28d9;
}

/* quote */
.bebc-quote-required {
    display: block;
    margin-top: 8px;
    line-height: 1.15;
    color: #b45309;
    font-weight: 900;
}

/* =========================
   QUOTE BOX
========================= */

.bebc-quote-note-box {
    display: none;
    margin: 18px 0 24px;
    padding: 20px 24px;
    border: 1px solid #fed7aa;
    border-radius: 16px;
    background: #fff7ed;
    color: #9a3412;
}

.bebc-quote-note-box.is-visible {
    display: block;
}

.bebc-quote-note-box strong {
    display: block;
    margin-bottom: 8px;
    font-size: 18px;
}

.bebc-quote-note-box p {
    margin: 0 0 12px;
}

.bebc-quote-note-box a {
    font-weight: 900;
    color: #111827;
    text-decoration: underline;
}

/* =========================
   TOTAL
========================= */

.bebc-total-box {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 24px 0;
    padding: 24px 28px;
    border-radius: 20px;
    background: #111827;
    color: #fff;
}

.bebc-total-box span {
    font-size: 18px;
    font-weight: 800;
    color: #d1d5db;
}

.bebc-total-box strong {
    font-size: 34px;
    font-weight: 900;
}

/* =========================
   MOBILE
========================= */

@media (max-width: 900px) {
    .bebc-item-grid {
        grid-template-columns: 1fr;
    }

    .bebc-position-card {
        width: calc(50% - 7px);
    }
}

@media (max-width: 520px) {
    .bebc-customiser {
        padding: 18px 0;
    }

    .bebc-position-card {
        width: 100%;
    }

    .bebc-total-box {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    .bebc-total-box strong {
        font-size: 28px;
    }
}
/* Conversion / validation helpers */
.bebc-validation-message {
    background: #fff4f4;
    border: 1px solid #f0b9b9;
    border-left: 4px solid #d63638;
    border-radius: 10px;
    color: #241313;
    margin: 0 0 18px;
    padding: 14px 16px;
}

.bebc-validation-message strong {
    display: block;
    margin-bottom: 8px;
}

.bebc-validation-message ul {
    margin: 0;
    padding-left: 18px;
}

.bebc-field-error select,
.bebc-field-error textarea,
.bebc-field-error input[type="file"] {
    border-color: #d63638 !important;
    box-shadow: 0 0 0 2px rgba(214, 54, 56, 0.12) !important;
}

.bebc-help-nudge {
    background: #050505;
    border-radius: 16px;
    bottom: 24px;
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.22);
    color: #fff;
    max-width: 320px;
    padding: 18px;
    position: fixed;
    right: 24px;
    z-index: 99999;
}

.bebc-help-nudge strong {
    display: block;
    font-size: 15px;
    margin: 0 26px 8px 0;
}

.bebc-help-nudge p {
    color: rgba(255, 255, 255, 0.82);
    font-size: 13px;
    line-height: 1.45;
    margin: 0 0 12px;
}

.bebc-help-nudge a {
    background: #fff;
    border-radius: 999px;
    color: #000;
    display: inline-block;
    font-size: 12px;
    font-weight: 700;
    padding: 9px 14px;
    text-decoration: none;
}

.bebc-help-nudge-close {
    appearance: none;
    background: transparent;
    border: 0;
    color: #fff;
    cursor: pointer;
    font-size: 22px;
    line-height: 1;
    padding: 0;
    position: absolute;
    right: 14px;
    top: 12px;
}

@media (max-width: 600px) {
    .bebc-help-nudge {
        bottom: 16px;
        left: 16px;
        max-width: none;
        right: 16px;
    }
}
