.bec-customiser {
    margin: 28px 0;
}

.bec-heading {
    margin-bottom: 20px;
    padding-top: 26px;
    border-top: 1px solid #e5e7eb;
}

.bec-heading h3 {
    margin: 0 0 6px;
    font-size: 26px;
    line-height: 1.2;
    color: #111827;
}

.bec-heading p {
    margin: 0;
    color: #6b7280;
    font-size: 15px;
}

.bec-field {
    margin-bottom: 24px;
}

.bec-field label {
    display: block;
    margin-bottom: 10px;
    font-weight: 800;
    color: #111827;
    font-size: 14px;
}

.bec-field select,
.bec-field input[type="file"],
.bec-field textarea {
    width: 100%;
    border: 1px solid #d1d5db;
    border-radius: 10px;
    padding: 13px 14px;
    font-size: 14px;
    background: #ffffff;
}

.bec-field small {
    display: block;
    margin-top: 7px;
    color: #6b7280;
    font-size: 12px;
}

.bec-placement-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 14px;
    margin-top: 14px;
}

.bec-placement-grid--included {
    grid-template-columns: 130px;
}

.bec-placement-card {
    display: block;
    cursor: pointer;
    border: 0;
    padding: 0;
    background: transparent;
    text-align: center;
    transition: all 0.2s ease;
}

.bec-placement-card input {
    display: none;
}

.bec-placement-card img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: contain;
    display: block;
    margin-bottom: 8px;
    border-radius: 10px;
    background: #ffffff;
    border: 2px solid transparent;
}

.bec-placement-card span {
    display: block;
    font-weight: 800;
    color: #111827;
    font-size: 12px;
    line-height: 1.25;
}

.bec-placement-card:hover img {
    border-color: #d1d5db;
}

.bec-placement-card input:checked+img {
    border-color: #111827;
    box-shadow: 0 0 0 2px #111827;
}

.bec-placement-card input:checked~span {
    color: #6d28d9;
}

.bec-placement-card--included {
    cursor: default;
}

.bec-placement-card--included img {
    border-color: #bbf7d0;
    background: #f0fdf4;
}

.bec-placement-card--included span {
    color: #166534;
}

.bec-total-box {
    margin: 26px 0;
    padding: 18px;
    border-radius: 14px;
    background: #111827;
    color: #ffffff;
}

.bec-total-box div {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.bec-total-box span {
    font-weight: 800;
    color: rgba(255, 255, 255, 0.75);
}

.bec-total-box strong {
    font-size: 26px;
    color: #ffffff;
}

.bec-total-box small {
    display: block;
    margin-top: 8px;
    color: rgba(255, 255, 255, 0.65);
    font-size: 12px;
}

@media (max-width: 900px) {
    .bec-placement-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 560px) {
    .bec-placement-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .bec-total-box div {
        flex-direction: column;
        align-items: flex-start;
    }
}

#bec_text_wrap {
    margin-top: 28px;
}

#bec_text_wrap label {
    display: block;
    font-size: 22px;
    font-weight: 800;
    color: #111827;
    margin-bottom: 12px;
}

#bec_custom_text {
    width: 100%;
    max-width: 620px;
    min-height: 58px;
    padding: 16px 18px;
    border: 2px solid #d1d5db;
    border-radius: 14px;
    background: #fff;
    color: #111827;
    font-size: 18px;
    font-weight: 600;
    outline: none;
    transition: all 0.2s ease;
}

#bec_custom_text::placeholder {
    color: #9ca3af;
    font-weight: 500;
}

#bec_custom_text:focus {
    border-color: #111827;
    box-shadow: 0 0 0 4px rgba(17, 24, 39, 0.08);
}

#bec_text_wrap small {
    display: block;
    max-width: 620px;
    margin-top: 10px;
    color: #6b7280;
    font-size: 15px;
    line-height: 1.5;
}

/* Show included branding nicely */
.be-product-cart-area .bec-placement-grid--included {
    display: grid !important;
    grid-template-columns: 160px !important;
    margin-top: 12px;
}

.be-product-cart-area .bec-placement-card--included {
    padding: 14px !important;
    border: 1px solid #e5e7eb !important;
    border-radius: 16px !important;
    background: #f8fafc !important;
}

.be-product-cart-area .bec-placement-card--included img {
    display: block !important;
    width: 100% !important;
    max-height: 120px !important;
    object-fit: contain !important;
    margin-bottom: 8px !important;
}

.be-product-cart-area .bec-placement-card--included span {
    display: block;
    font-weight: 900;
    font-size: 13px;
    text-align: center;
    color: #111827;
}

.bec-size-guide-wrap {
    margin: 18px 0 28px;
}

.bec-size-guide-btn {
    border: 1px solid #d5dbe6;
    background: #fff;
    color: #0f172a;
    border-radius: 999px;
    padding: 11px 18px;
    font-weight: 800;
    cursor: pointer;
}

.bec-size-guide-btn:hover {
    border-color: #111827;
}

.bec-size-guide-modal {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 999999;
    background: rgba(15, 23, 42, 0.72);
    padding: 24px;
}

.bec-size-guide-modal.is-open {
    display: flex;
    align-items: center;
    justify-content: center;
}

.bec-size-guide-modal__inner {
    position: relative;
    background: #fff;
    border-radius: 22px;
    max-width: 900px;
    width: 100%;
    padding: 28px;
}

.bec-size-guide-modal__inner img {
    width: 100%;
    height: auto;
    display: block;
}

.bec-size-guide-close {
    position: absolute;
    top: 14px;
    right: 18px;
    border: 0;
    background: transparent;
    font-size: 34px;
    cursor: pointer;
}

.bec-size-guide-wrap {
    margin: 16px 0 28px;
}

.bec-size-guide-btn {
    border: 1px solid #d5dbe6;
    background: #fff;
    color: #0f172a;
    border-radius: 999px;
    padding: 11px 18px;
    font-weight: 800;
    cursor: pointer;
}

.bec-size-guide-modal {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 999999;
    background: rgba(15, 23, 42, 0.72);
    padding: 18px;
}

.bec-size-guide-modal.is-open {
    display: flex;
    align-items: center;
    justify-content: center;
}

.bec-size-guide-modal__inner {
    position: relative;
    background: #fff;
    border-radius: 22px;
    max-width: 980px;
    width: 100%;
    padding: 26px;
}

.bec-size-guide-close {
    position: absolute;
    top: 12px;
    right: 18px;
    border: 0;
    background: transparent;
    font-size: 34px;
    cursor: pointer;
}

.bec-size-guide-scroll {
    overflow-x: auto;
    margin: 18px 0;
}

.bec-size-guide-table {
    width: 100%;
    min-width: 760px;
    border-collapse: collapse;
}

.bec-size-guide-table th,
.bec-size-guide-table td {
    border: 1px solid #e5e7eb;
    padding: 12px 10px;
    text-align: center;
    font-size: 14px;
}

.bec-size-guide-table th,
.bec-size-guide-table td:first-child {
    background: #f8fafc;
    font-weight: 800;
    color: #0f172a;
}

@media (max-width: 768px) {
    .bec-size-guide-modal {
        align-items: flex-end;
        padding: 0;
    }

    .bec-size-guide-modal__inner {
        border-radius: 22px 22px 0 0;
        max-height: 88vh;
        overflow-y: auto;
        padding: 22px;
    }
}

.bec-quote-note-box {
    display: none;
    margin-top: 14px;
    padding: 14px 16px;
    border-radius: 14px;
    background: #fff7ed;
    border: 1px solid #fed7aa;
    color: #7c2d12;
    font-size: 14px;
    line-height: 1.45;
}

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

.bec-quote-note-box strong {
    display: block;
    margin-bottom: 5px;
    color: #9a3412;
}

.bec-quote-note-box a {
    display: inline-flex;
    margin-top: 10px;
    font-weight: 900;
    color: #0f172a;
    text-decoration: underline;
}

.bec-quote-required {
    display: block;
    margin-top: 6px;
    color: #b45309;
    font-size: 13px;
    font-weight: 900;
}

.bec-quote-note-box p {
    margin: 0;
}

/* Bundle helper box */
.bec-bundle-box {
    margin: 18px 0 26px;
    padding: 20px;
    border: 1px solid #e5e7eb;
    border-radius: 18px;
    background: #f8fafc;
}

.bec-bundle-box__intro strong {
    display: block;
    color: #0f172a;
    font-size: 18px;
    font-weight: 900;
    margin-bottom: 6px;
}

.bec-bundle-box__intro p {
    margin: 0 0 16px;
    color: #475569;
    line-height: 1.5;
}

.bec-bundle-box__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}

.bec-bundle-box h4 {
    margin: 0 0 10px;
    color: #0f172a;
    font-size: 15px;
    font-weight: 900;
}

.bec-bundle-box ul {
    margin: 0;
    padding-left: 18px;
    color: #334155;
}

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

.bec-bundle-links {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.bec-bundle-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 12px;
    border-radius: 999px;
    background: #fff;
    border: 1px solid #cbd5e1;
    color: #0f172a;
    font-size: 13px;
    font-weight: 800;
    text-decoration: none;
}

.bec-bundle-links a:hover {
    border-color: #0f172a;
}

@media (max-width: 768px) {
    .bec-bundle-box__grid {
        grid-template-columns: 1fr;
    }
}

/* Bundle builder */
.bec-bundle-builder {
    display: grid;
    gap: 18px;
    margin: 18px 0 26px;
}

.bec-bundle-details {
    background: #f8fafc;
    border: 1px solid #e5e7eb;
    border-radius: 18px;
    padding: 18px;
}

.bec-bundle-details h4 {
    margin: 0 0 14px;
    font-size: 16px;
    font-weight: 800;
    color: #0f172a;
}

.bec-bundle-item-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.bec-bundle-mini-field label {
    display: block;
    margin-bottom: 7px;
    font-weight: 800;
    color: #0f172a;
}

.bec-bundle-mini-field select {
    width: 100%;
}

@media (max-width: 640px) {
    .bec-bundle-item-grid {
        grid-template-columns: 1fr;
    }
}

.bec-info-box {
    background: #fff7e6;
    border: 1px solid #f0c36d;
    padding: 15px;
    border-radius: 8px;
    margin-top: 15px;
    font-size: 14px;
}

.bec-info-link {
    margin: 10px 0 14px;
    background: none;
    border: none;
    padding: 0;
    color: #0b1b3a;
    font-weight: 700;
    text-decoration: underline;
    cursor: pointer;
}

.bec-info-close {
    float: right;
    border: none;
    background: transparent;
    font-size: 28px;
    font-weight: 700;
    cursor: pointer;
}