/* CSS Variables Default Fallbacks */
:root {
    --primary-color: #7000FE;
    --secondary-color: #2D61F2;
    --sidebar-start: #7000FE;
    --sidebar-end: #2D61F2;
    --font-family: 'Outfit', 'Inter', sans-serif;
}

/* Layout */
.bulb-funnel-layout {
    display: flex;
    min-height: 750px;
    background: #fcfcfd;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 12px 36px rgba(0, 0, 0, 0.05);
    font-family: var(--font-family);
    border: 1px solid #eaeaea;
}

/* Sidebar */
.bulb-sidebar {
    width: 320px;
    background: linear-gradient(135deg, var(--sidebar-start) 0%, var(--sidebar-end) 100%);
    color: #fff;
    padding: 35px 25px;
    display: flex;
    flex-direction: column;
    gap: 30px;
    box-sizing: border-box;
}
.sidebar-brand { text-align: center; }
.sidebar-logo {
    max-width: 110px;
    margin: 0 auto 20px auto;
    display: block;
    filter: brightness(0) invert(1);
}
.sidebar-title {
    font-size: 22px;
    font-weight: 700;
    margin: 0 0 10px 0;
    letter-spacing: -0.5px;
    color: #fff !important;
}
.sidebar-subtitle {
    font-size: 14px;
    line-height: 1.5;
    opacity: 0.85;
    margin: 0;
}
.sidebar-contact-card {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 18px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    margin-top: 80px;
}
.contact-header {
    font-size: 11px;
    letter-spacing: 1.5px;
    opacity: 0.7;
    margin-bottom: 12px;
    font-weight: 600;
}
.contact-item {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}
.contact-item:last-child { margin-bottom: 0; }
.contact-icon { font-size: 18px; }
.contact-label {
    display: block;
    font-size: 11px;
    opacity: 0.75;
}
.contact-value {
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
}
.sidebar-commitments {
    margin-top: 35px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.commitments-title {
    font-size: 11px;
    letter-spacing: 1.5px;
    opacity: 0.7;
    font-weight: 600;
}
.commitment-badge {
    font-size: 13px;
    opacity: 0.9;
}

/* Main Content */
.bulb-funnel-main {
    flex: 1;
    padding: 40px;
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
}
.funnel-step-content {
    display: none;
    flex-direction: column;
    flex: 1;
}
.funnel-step-content.active { display: flex; }
.step-header { margin-bottom: 30px; }
.step-title {
    font-size: 28px;
    font-weight: 700;
    color: #1e1e24;
    margin: 0 0 8px 0;
    letter-spacing: -0.5px;
}
.highlight-text { color: var(--primary-color); }
.step-desc {
    font-size: 15px;
    color: #666;
    margin: 0;
}

/* Modern Visual Stepper */
.funnel-stepper-wrapper {
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 40px;
    padding: 0 15px;
}
.stepper-track-bg {
    position: absolute;
    top: 22px; left: 50px; right: 50px;
    height: 4px;
    background: #e2e8f0;
    z-index: 1;
    border-radius: 2px;
}
.stepper-track-fill {
    position: absolute;
    top: 22px; left: 50px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    z-index: 2;
    border-radius: 2px;
    transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    width: 0%;
}
.stepper-node {
    position: relative;
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
    user-select: none;
    transition: all 0.3s ease;
}
.stepper-circle {
    width: 44px; height: 44px;
    border-radius: 50%;
    background: #ffffff;
    border: 2px solid #cbd5e1;
    color: #64748b;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 16px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}
.stepper-node .step-check {
    display: none;
    width: 20px; height: 20px;
    stroke: #ffffff;
}
.stepper-label {
    margin-top: 10px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.stepper-title {
    font-size: 14px;
    font-weight: 700;
    color: #64748b;
    transition: color 0.3s ease;
}
.stepper-subtitle {
    font-size: 11px;
    color: #94a3b8;
    margin-top: 2px;
}
.stepper-node.active .stepper-circle {
    border-color: var(--primary-color);
    background: var(--primary-color);
    color: #ffffff;
    box-shadow: 0 0 0 5px rgba(112, 0, 254, 0.15), 0 4px 14px rgba(112, 0, 254, 0.3);
    transform: scale(1.08);
}
.stepper-node.active .stepper-title { color: var(--primary-color); font-weight: 800; }
.stepper-node.active .stepper-subtitle { color: #475569; }
.stepper-node.completed .stepper-circle {
    border-color: #16a34a;
    background: #16a34a;
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(22, 163, 74, 0.2);
}
.stepper-node.completed .step-num { display: none; }
.stepper-node.completed .step-check { display: block; }
.stepper-node.completed .stepper-title { color: #1e293b; }

@media (max-width: 600px) {
    .funnel-stepper-wrapper { padding: 0; }
    .stepper-track-bg, .stepper-track-fill { top: 18px; left: 30px; right: 30px; }
    .stepper-subtitle { display: none; }
    .stepper-title { font-size: 11px; }
    .stepper-circle { width: 36px; height: 36px; font-size: 13px; }
}

/* ============================================= */
/* FLAT SECTIONS – Step 2 Clean Redesign         */
/* ============================================= */
.flat-section {
    margin-bottom: 8px;
}
.flat-section-title {
    font-size: 16px;
    font-weight: 700;
    color: #1e1e24;
    margin-bottom: 14px;
}
.optional-tag {
    font-size: 11px;
    font-weight: 500;
    color: #94a3b8;
    margin-left: 6px;
    text-transform: lowercase;
    font-style: italic;
}
.flat-divider {
    border: none;
    border-top: 1px solid #e8ecf1;
    margin: 20px 0;
}

/* ============================================= */
/* RADIO OPTIONS – Clean radio-dot grid          */
/* ============================================= */
.radio-options-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
    gap: 0;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    overflow: hidden;
    background: #fff;
}
.radio-options-grid.radio-3-cols {
    grid-template-columns: repeat(3, 1fr);
}

.radio-option {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    cursor: pointer;
    transition: background 0.15s ease;
    border-bottom: 1px solid #f0f2f5;
    border-right: 1px solid #f0f2f5;
    margin: 0;
    white-space: nowrap;
}
.radio-option:hover {
    background: #f8fafc;
}
.radio-option input[type="radio"] {
    display: none;
}

/* Radio dot */
.radio-dot {
    width: 18px;
    height: 18px;
    border: 2px solid #cbd5e1;
    border-radius: 50%;
    flex-shrink: 0;
    position: relative;
    transition: all 0.2s ease;
}
.radio-option input[type="radio"]:checked ~ .radio-dot {
    border-color: var(--secondary-color);
}
.radio-option input[type="radio"]:checked ~ .radio-dot::after {
    content: '';
    position: absolute;
    width: 10px;
    height: 10px;
    background: var(--secondary-color);
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}
.radio-option input[type="radio"]:checked ~ .radio-content .radio-main {
    color: var(--secondary-color);
    font-weight: 700;
}

.radio-content {
    display: flex;
    flex-direction: column;
    min-width: 0;
    white-space: nowrap;
}
.radio-main {
    font-size: 13px;
    font-weight: 600;
    color: #334155;
    line-height: 1.3;
    white-space: nowrap;
}
.radio-sub {
    font-size: 11px;
    color: #94a3b8;
    margin-top: 1px;
}

/* Format preset buttons (reused for standard formats & dynamic attributes) */
.format-preset-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    cursor: pointer;
    transition: background 0.15s ease;
    border-bottom: 1px solid #f0f2f5;
    border-right: 1px solid #f0f2f5;
    font-size: 13px;
    font-weight: 600;
    color: #334155;
    background: #fff;
    border-collapse: collapse;
    white-space: normal;
    word-break: break-word;
    line-height: 1.35;
    min-height: 46px;
    box-sizing: border-box;
}
.format-preset-btn::before {
    content: '';
    width: 18px;
    height: 18px;
    border: 2px solid #cbd5e1;
    border-radius: 50%;
    flex-shrink: 0;
    transition: all 0.2s ease;
    box-sizing: border-box;
}
.format-preset-btn:hover {
    background: #f8fafc;
}
.format-preset-btn.selected {
    background: #f8fafc;
    color: var(--secondary-color);
    font-weight: 700;
}
.format-preset-btn.selected::before {
    border-color: var(--secondary-color);
    background: var(--secondary-color);
    box-shadow: inset 0 0 0 3px #fff;
}
.format-preset-btn.disabled {
    opacity: 0.35;
    pointer-events: none;
}

/* Formats grid uses same radio container style */
#formats-preset-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 0;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    overflow: hidden;
    background: #fff;
}

/* Dynamic attribute grids */
.dyn-attr-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 0;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    overflow: hidden;
    background: #fff;
}

/* Toggle Switch Component */
.flat-section-header {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 16px;
    margin-bottom: 14px;
}
.flat-section-header .flat-section-title {
    margin-bottom: 0;
}
.toggle-switch-wrapper {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    user-select: none;
}
.toggle-switch-input {
    display: none;
}
.toggle-switch-slider {
    position: relative;
    display: inline-block;
    width: 44px;
    height: 24px;
    background-color: #cbd5e1;
    border-radius: 24px;
    transition: background-color 0.25s ease;
}
.toggle-switch-slider::before {
    content: "";
    position: absolute;
    width: 18px;
    height: 18px;
    left: 3px;
    bottom: 3px;
    background-color: #ffffff;
    border-radius: 50%;
    transition: transform 0.25s ease;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}
.toggle-switch-input:checked + .toggle-switch-slider {
    background-color: var(--primary-color);
}
.toggle-switch-input:checked + .toggle-switch-slider::before {
    transform: translateX(20px);
}
.toggle-switch-text {
    font-size: 13px;
    font-weight: 600;
    color: #64748b;
}
.toggle-switch-input:checked ~ .toggle-switch-text {
    color: var(--primary-color);
}

/* Segmented Control / Pill Bar (for Disposition) */
.segmented-control-bar {
    display: flex;
    align-items: center;
    background: #eef2f6;
    padding: 5px;
    border-radius: 14px;
    gap: 4px;
    border: 1px solid #e2e8f0;
    flex-wrap: wrap;
    margin-top: 8px;
}
.segmented-pill-btn {
    flex: 1;
    min-width: 90px;
    padding: 11px 16px;
    border-radius: 10px;
    border: none;
    background: transparent;
    font-size: 13px;
    font-weight: 700;
    color: #475569;
    cursor: pointer;
    text-align: center;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    white-space: nowrap;
    user-select: none;
}
.segmented-pill-btn:hover {
    color: #0f172a;
    background: rgba(255, 255, 255, 0.5);
}
.segmented-pill-btn.selected {
    background: var(--highlight-color, #00dd78);
    color: #ffffff !important;
    font-weight: 800;
    box-shadow: 0 4px 12px rgba(0, 221, 120, 0.35);
}
.segmented-pill-btn.disabled {
    opacity: 0.4;
    pointer-events: none;
}

/* Grids */
.grid-families-v3 {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}
.grid-products-v3 {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 12px;
}

/* Cards */
.family-card-v3 {
    background: #fff;
    border-radius: 14px;
    border: 1px solid #e0e0e0;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
}
.family-card-v3:hover {
    transform: translateY(-4px);
    border-color: var(--primary-color);
    box-shadow: 0 8px 24px rgba(112, 0, 254, 0.08);
}
.family-card-v3.selected {
    border-color: var(--primary-color);
    border-width: 2px;
    box-shadow: 0 8px 24px rgba(112, 0, 254, 0.12);
    background: rgba(112, 0, 254, 0.01);
}
.family-card-img {
    height: 120px;
    background-size: cover;
    background-position: center;
    border-bottom: 1px solid #eaeaea;
}
.family-card-body {
    padding: 16px;
    display: flex;
    flex-direction: column;
    flex: 1;
}
.family-card-body h4 {
    margin: 0 0 10px 0;
    font-size: 16px;
    font-weight: 700;
    color: #1e1e24;
}
.family-product-list {
    margin: 0;
    padding: 0;
    list-style: none;
    font-size: 12px;
    color: #666;
    line-height: 1.6;
}

/* Product Card */
.product-card-v3 {
    background: #fff;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    flex-direction: column;
    text-align: center;
    box-sizing: border-box;
}
.product-card-v3:hover {
    border-color: var(--secondary-color);
    transform: scale(1.02);
}
.product-card-v3.selected {
    border-color: var(--secondary-color);
    border-width: 2px;
    background: rgba(45, 97, 242, 0.02);
    box-shadow: 0 6px 16px rgba(45, 97, 242, 0.08);
}
.product-card-img {
    height: 130px;
    background-size: cover;
    background-position: center;
}
.product-card-body {
    padding: 10px;
    font-size: 13px;
    font-weight: 600;
    color: #333;
}

/* Form Settings */
.form-section { margin-bottom: 25px; }
.form-section-title {
    font-size: 15px;
    font-weight: 700;
    color: #1e1e24;
    margin-bottom: 12px;
}
.form-grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}
.input-funnel {
    width: 100%;
    padding: 12px 16px;
    border-radius: 8px;
    border: 1px solid #ccc;
    font-size: 14px;
    transition: border 0.2s ease;
    box-sizing: border-box;
}
.input-funnel:focus {
    outline: none;
    border-color: var(--primary-color);
}
.input-hint {
    font-size: 12px;
    color: #777;
    margin: 8px 0 0 0;
}
.form-label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: #444;
    margin-bottom: 6px;
}

/* Dimensions Mode Switcher */
.dim-mode-tabs {
    display: flex;
    gap: 6px;
    margin-bottom: 16px;
    background: #f1f5f9;
    padding: 4px;
    border-radius: 10px;
    border: 1px solid #e2e8f0;
}
.dim-tab-btn {
    flex: 1;
    padding: 9px 12px;
    border: none;
    background: transparent;
    border-radius: 7px;
    font-size: 13px;
    font-weight: 600;
    color: #64748b;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}
.dim-tab-btn:hover { color: #1e293b; }
.dim-tab-btn.active {
    background: #ffffff;
    color: var(--primary-color);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    font-weight: 700;
}

.custom-dim-grid {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 6px;
}
.dim-input-col { flex: 1; }
.dim-cross {
    font-size: 18px;
    font-weight: 700;
    color: #94a3b8;
    margin-top: 20px;
}
.dim-input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}
.dim-input-wrapper input { padding-right: 40px !important; }
.dim-unit {
    position: absolute;
    right: 12px;
    font-size: 12px;
    font-weight: 700;
    color: #94a3b8;
    pointer-events: none;
}

/* Quantity Input */
.quantity-input-group {
    display: flex;
    align-items: center;
    max-width: 240px;
    height: 50px;
    background: #ffffff;
    border: 1px solid #cbd5e1;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.quantity-input-group:focus-within {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(112, 0, 254, 0.12);
}
.qty-step-btn {
    width: 50px;
    height: 100%;
    border: none;
    background: #f8fafc;
    color: #334155;
    font-size: 20px;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.15s ease, color 0.15s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    user-select: none;
}
.qty-step-btn:hover {
    background: #e2e8f0;
    color: var(--primary-color);
}
.qty-number-input {
    flex: 1;
    height: 100%;
    border: none !important;
    border-radius: 0 !important;
    text-align: center;
    font-size: 16px;
    font-weight: 700;
    color: #1e293b;
    padding: 0 8px !important;
    -moz-appearance: textfield;
}
.qty-number-input::-webkit-outer-spin-button,
.qty-number-input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* Nav Buttons */
.nav-buttons {
    display: flex;
    justify-content: space-between;
    margin-top: auto;
    padding-top: 30px;
}
.single-right { justify-content: flex-end; }
.btn-funnel {
    padding: 12px 24px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    border: none;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.btn-funnel:disabled { opacity: 0.5; cursor: not-allowed; }
.btn-next { background: var(--primary-color); color: #fff; }
.btn-next:hover:not(:disabled) { filter: brightness(0.9); transform: translateY(-1px); }
.btn-prev { background: #eaeaea; color: #444; }
.btn-prev:hover { background: #d8d8d8; }

/* General Alerts */
.funnel-alert {
    display: none;
    padding: 12px 16px;
    background: #fef2f2;
    border: 1px solid #fee2e2;
    color: #b91c1c;
    border-radius: 8px;
    font-size: 13px;
    margin-top: 15px;
}
.funnel-success {
    display: none;
    padding: 16px;
    background: #f0fdf4;
    border: 1px solid #dcfce7;
    color: #15803d;
    border-radius: 10px;
    font-size: 14px;
    margin-top: 15px;
    gap: 12px;
}
.rgpd-notice {
    font-size: 12px;
    color: #777;
    margin-top: 15px;
}

/* Sidebar Summary Card (Steps 2 & 3) */
.sidebar-summary-card {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 14px;
    padding: 18px;
    margin-bottom: 24px;
    backdrop-filter: blur(8px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}
.sidebar-summary-card .summary-header {
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1.2px;
    color: var(--highlight-color, #00dd78);
    text-transform: uppercase;
    margin-bottom: 14px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}
.sidebar-summary-card .summary-product-box {
    margin-bottom: 14px;
    padding-bottom: 12px;
    border-bottom: 1px dashed rgba(255, 255, 255, 0.14);
}
.sidebar-summary-card .summary-cat-badge {
    display: inline-block;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    background: rgba(0, 221, 120, 0.18);
    color: #00dd78;
    padding: 3px 9px;
    border-radius: 6px;
    margin-bottom: 6px;
}
.sidebar-summary-card .summary-prod-name {
    font-size: 15px;
    font-weight: 700;
    color: #ffffff;
    line-height: 1.35;
}
.sidebar-summary-card .summary-details-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.sidebar-summary-card .summary-item {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    font-size: 12px;
    line-height: 1.35;
}
.sidebar-summary-card .summary-item-label {
    color: rgba(255, 255, 255, 0.65);
    font-weight: 500;
}
.sidebar-summary-card .summary-item-val {
    color: #ffffff;
    font-weight: 700;
    text-align: right;
    max-width: 62%;
    word-break: break-word;
}
.sidebar-summary-card .summary-action-box {
    margin-top: 20px;
    padding-top: 15px;
    border-top: 1px dashed rgba(255, 255, 255, 0.15);
}
.sidebar-summary-card .btn-sidebar-validate {
    width: 100%;
    background: #00dd78;
    color: #0b1a30;
    border: none;
    border-radius: 10px;
    padding: 12px 16px;
    font-size: 13px;
    font-weight: 800;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease-in-out;
    box-shadow: 0 4px 14px rgba(0, 221, 120, 0.4);
    box-sizing: border-box;
}
.sidebar-summary-card .btn-sidebar-validate:hover {
    background: #00f585;
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(0, 221, 120, 0.55);
}
.sidebar-summary-card .btn-sidebar-validate:active {
    transform: translateY(0);
    box-shadow: 0 2px 8px rgba(0, 221, 120, 0.3);
}

@media(max-width: 768px) {
    .bulb-funnel-layout { flex-direction: column; }
    .bulb-sidebar { width: 100%; }
    .form-grid-2 { grid-template-columns: 1fr; }
    .radio-options-grid,
    .radio-options-grid.radio-3-cols,
    #formats-preset-grid,
    .dyn-attr-grid {
        grid-template-columns: 1fr !important;
    }
}

/* ============================================= */
/* SINGLE PRODUCT CONFIGURATOR SHORTCODE (BSC)   */
/* Primary: #000072 | Secondary/Highlight: #00DD78 */
/* ============================================= */
.bulb-single-configurator-wrapper {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 10px 30px rgba(0, 0, 114, 0.05);
    font-family: Outfit, Inter, sans-serif;
    margin: 20px 0;
    box-sizing: border-box;
}

/* Header & Trust Bar */
.bsc-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 24px;
    padding-bottom: 20px;
    border-bottom: 1px solid #f1f5f9;
}
.bsc-category-badge {
    display: inline-block;
    background: #e0e7ff;
    color: #000072;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 4px 10px;
    border-radius: 20px;
    margin-bottom: 6px;
}
.bsc-product-title {
    font-size: 22px;
    font-weight: 800;
    color: #000072;
    margin: 0;
}
.bsc-trust-bar {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}
.bsc-trust-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    color: #334155;
}

/* Horizontal Wizard Tabs */
.bsc-stepper-tabs {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding-bottom: 8px;
    margin-bottom: 24px;
    border-bottom: 2px solid #e2e8f0;
}
.bsc-tab-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    border: 1px solid #cbd5e1;
    background: #f8fafc;
    border-radius: 30px;
    font-size: 13px;
    font-weight: 700;
    color: #475569;
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.2s ease;
}
.bsc-tab-num {
    width: 22px;
    height: 22px;
    background: #cbd5e1;
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 800;
}
.bsc-tab-btn:hover {
    border-color: #000072;
    color: #000072;
}
.bsc-tab-btn.active {
    background: #000072;
    border-color: #000072;
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(0, 0, 114, 0.25);
}
.bsc-tab-btn.active .bsc-tab-num {
    background: #00DD78;
    color: #000072;
}

/* Tab Panes */
.bsc-tab-pane {
    display: none;
}
.bsc-tab-pane.active {
    display: block;
}
.bsc-pane-title {
    font-size: 17px;
    font-weight: 800;
    color: #000072;
    margin: 0 0 6px 0;
}
.bsc-pane-subtitle {
    font-size: 13px;
    color: #64748b;
    margin: 0 0 20px 0;
}
.bsc-group-label {
    font-size: 13px;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 10px;
}

/* Formats & Options Pills */
.bsc-formats-grid, .bsc-pills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 10px;
}
.bsc-pill-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    background: #ffffff;
    color: #334155;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
    text-align: left;
}
.bsc-pill-check {
    width: 18px;
    height: 18px;
    border: 2px solid #cbd5e1;
    border-radius: 50%;
    flex-shrink: 0;
    transition: all 0.2s ease;
}
.bsc-pill-btn:hover {
    border-color: #000072;
    background: #f8fafc;
}
.bsc-pill-btn.selected {
    border-color: #000072;
    background: #f0f4ff;
    color: #000072;
}
.bsc-pill-btn.selected .bsc-pill-check {
    border-color: #000072;
    background: #00DD78;
    box-shadow: inset 0 0 0 3px #ffffff;
}

/* Dimensions & 2D Technical Diagram Layout */
.bsc-dimensions-layout {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 24px;
    align-items: start;
}
@media (max-width: 850px) {
    .bsc-dimensions-layout { grid-template-columns: 1fr; }
}

.bsc-surmesure-grid {
    display: flex;
    align-items: center;
    gap: 12px;
}
.bsc-input-col { flex: 1; }
.bsc-input-col label {
    display: block;
    font-size: 12px;
    font-weight: 700;
    color: #475569;
    margin-bottom: 4px;
}
.bsc-input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}
.bsc-input-field {
    width: 100%;
    padding: 12px 36px 12px 14px;
    border: 2px solid #cbd5e1;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 700;
    color: #000072;
    box-sizing: border-box;
    transition: border-color 0.2s ease;
}
.bsc-input-field:focus {
    outline: none;
    border-color: #000072;
    box-shadow: 0 0 0 3px rgba(0, 0, 114, 0.1);
}
.bsc-input-unit {
    position: absolute;
    right: 12px;
    font-size: 12px;
    font-weight: 800;
    color: #94a3b8;
    pointer-events: none;
}
.bsc-dim-cross {
    font-size: 18px;
    font-weight: 800;
    color: #94a3b8;
    margin-top: 18px;
}

/* 2D Technical Diagram Canvas */
.bsc-dim-diagram-box {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    padding: 20px;
    text-align: center;
}
.bsc-diagram-container {
    width: 100%;
    height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}
.bsc-diagram-canvas {
    width: 160px;
    height: 120px;
    background: #ffffff;
    border: 2px dashed #000072;
    border-radius: 8px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 14px rgba(0, 0, 114, 0.08);
    transition: all 0.3s ease;
}
.bsc-diagram-dim-top {
    position: absolute;
    top: -24px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 11px;
    font-weight: 800;
    color: #000072;
    background: #00DD78;
    padding: 2px 8px;
    border-radius: 10px;
    white-space: nowrap;
}
.bsc-diagram-dim-left {
    position: absolute;
    left: -32px;
    top: 50%;
    transform: translateY(-50%) rotate(-90deg);
    font-size: 11px;
    font-weight: 800;
    color: #000072;
    background: #00DD78;
    padding: 2px 8px;
    border-radius: 10px;
    white-space: nowrap;
}
.bsc-diagram-center-label {
    font-size: 11px;
    font-weight: 700;
    color: #64748b;
}
.bsc-diagram-caption {
    font-size: 11px;
    color: #94a3b8;
    margin-top: 10px;
}

/* Accessoires Toggle */
.bsc-toggle-wrapper {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 18px;
}
.bsc-switch {
    position: relative;
    display: inline-block;
    width: 46px;
    height: 26px;
}
.bsc-switch input { display: none; }
.bsc-slider {
    position: absolute;
    cursor: pointer;
    top: 0; left: 0; right: 0; bottom: 0;
    background-color: #cbd5e1;
    transition: .3s;
    border-radius: 34px;
}
.bsc-slider:before {
    position: absolute;
    content: "";
    height: 20px;
    width: 20px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: .3s;
    border-radius: 50%;
}
.bsc-switch input:checked + .bsc-slider {
    background-color: #00DD78;
}
.bsc-switch input:checked + .bsc-slider:before {
    transform: translateX(20px);
}
.bsc-toggle-label {
    font-size: 14px;
    font-weight: 700;
    color: #000072;
}

/* Quantity & Delai Box */
.bsc-qty-delais-row {
    display: grid;
    grid-template-columns: 240px 1fr;
    gap: 24px;
}
@media (max-width: 650px) {
    .bsc-qty-delais-row { grid-template-columns: 1fr; }
}
.bsc-qty-group {
    display: flex;
    align-items: center;
    height: 50px;
    border: 2px solid #cbd5e1;
    border-radius: 12px;
    overflow: hidden;
    background: #ffffff;
}
.bsc-qty-btn {
    width: 50px;
    height: 100%;
    border: none;
    background: #f8fafc;
    color: #000072;
    font-size: 20px;
    font-weight: 800;
    cursor: pointer;
    transition: background 0.15s ease;
}
.bsc-qty-btn:hover { background: #e2e8f0; }
.bsc-qty-field {
    flex: 1;
    height: 100%;
    border: none !important;
    text-align: center;
    font-size: 17px;
    font-weight: 800;
    color: #000072;
}

.bsc-delais-options {
    display: flex;
    gap: 12px;
}
.bsc-delai-card {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    background: #ffffff;
    cursor: pointer;
    transition: all 0.2s ease;
}
.bsc-delai-card.selected {
    border-color: #000072;
    background: #f0f4ff;
}
.bsc-delai-title {
    display: block;
    font-size: 13px;
    font-weight: 800;
    color: #000072;
}
.bsc-delai-sub {
    font-size: 11px;
    color: #64748b;
}

/* Notes Textarea */
.bsc-textarea {
    width: 100%;
    padding: 12px;
    border: 2px solid #cbd5e1;
    border-radius: 10px;
    font-size: 13px;
    color: #1e293b;
    box-sizing: border-box;
}

/* Summary Recap Card & Action Button */
.bsc-summary-recap-card {
    background: #000072;
    color: #ffffff;
    border-radius: 14px;
    padding: 20px;
    margin-top: 24px;
    box-shadow: 0 8px 24px rgba(0, 0, 114, 0.2);
}
.bsc-recap-title {
    font-size: 15px;
    font-weight: 800;
    color: #00DD78;
    margin-bottom: 12px;
    padding-bottom: 8px;
    border-bottom: 1px dashed rgba(255, 255, 255, 0.2);
}
.bsc-recap-row {
    display: flex;
    justify-content: space-between;
    font-size: 13px;
    margin-bottom: 6px;
}
.bsc-recap-label { color: #cbd5e1; }
.bsc-recap-val { font-weight: 700; color: #ffffff; }

.bsc-pane-footer {
    margin-top: 24px;
    text-align: right;
}
.bsc-next-step-btn {
    background: #000072;
    color: #ffffff;
    border: none;
    padding: 12px 24px;
    border-radius: 30px;
    font-size: 14px;
    font-weight: 800;
    cursor: pointer;
    transition: all 0.2s ease;
}
.bsc-next-step-btn:hover {
    background: #00DD78;
    color: #000072;
}

.bsc-action-footer {
    margin-top: 20px;
}
.bsc-submit-quote-btn {
    width: 100%;
    background: #00DD78;
    color: #000072;
    border: none;
    padding: 16px;
    border-radius: 30px;
    font-size: 16px;
    font-weight: 900;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: all 0.25s ease-in-out;
    box-shadow: 0 6px 20px rgba(0, 221, 120, 0.4);
}
.bsc-submit-quote-btn:hover {
    background: #00f585;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 221, 120, 0.6);
}

/* Single Column Layout Specifics */
.bsc-single-col {
    max-width: 950px;
    margin: 30px auto;
    padding: 32px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 114, 0.04);
}
.bsc-funnel-intro {
    text-align: center;
    margin-bottom: 28px;
    padding-bottom: 20px;
    border-bottom: 1px solid #f1f5f9;
}
.bsc-funnel-title {
    font-size: 24px;
    font-weight: 800;
    color: #000072;
    margin: 0 0 6px 0;
}
.bsc-funnel-subtitle {
    font-size: 14px;
    color: #64748b;
    margin: 0;
}
.bsc-funnel-section {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 24px;
    margin-bottom: 24px;
    transition: border-color 0.2s ease;
}
.bsc-funnel-section:hover {
    border-color: #cbd5e1;
}
.bsc-section-title {
    font-size: 18px;
    font-weight: 800;
    color: #000072;
    margin-bottom: 16px;
}
.bsc-subgroup-title {
    font-size: 13px;
    font-weight: 700;
    color: #334155;
    margin-bottom: 10px;
}

/* ==========================================================================
   STITCH SINGLE-COLUMN PRODUCT PAGE STYLES (Faithful to Stitch MCP Design)
   ========================================================================== */
.bulb-stitch-product-page {
    width: 95% !important;
    max-width: 1700px !important;
    margin: 0 auto !important;
    padding: 24px 0 60px 0 !important;
    font-family: 'Geist', 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: #191c1e;
    display: flex;
    flex-direction: column;
    gap: 40px;
    box-sizing: border-box;
}
@media (max-width: 991px) {
    .bulb-stitch-product-page {
        width: 96% !important;
    }
}



/* 1. Header */
.bsp-header {
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.bsp-header-row {
    display: flex;
    flex-direction: column;
    gap: 16px;
}
@media (min-width: 768px) {
    .bsp-header-row {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }
}
.bsp-product-title {
    font-size: 36px;
    font-weight: 800;
    color: #000072;
    margin: 0;
    line-height: 1.15;
    letter-spacing: -0.02em;
}
.bsp-trustpilot-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 9999px;
    padding: 6px 16px;
    align-self: flex-start;
}
.bsp-star-icon {
    color: #00DD78;
    font-size: 18px;
    font-weight: 900;
}
.bsp-trust-score {
    font-size: 13px;
    font-weight: 700;
    color: #000072;
}
.bsp-trust-count {
    font-size: 13px;
    color: #64748b;
}
.bsp-badges-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}
.bsp-mini-badge {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 9999px;
    padding: 6px 14px;
    font-size: 12px;
    font-weight: 600;
    color: #334155;
}

/* 2. Image Gallery */
.bsp-gallery-section {
    display: flex;
    flex-direction: column;
    gap: 14px;
}
.bsp-main-image-window {
    width: 100%;
    aspect-ratio: 4 / 3;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid #e2e8f0;
    background: #f8fafc;
    box-shadow: 0 4px 20px rgba(0,0,0,0.03);
}
.bsp-main-image-window img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}
.bsp-thumbnails-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
}
.bsp-thumb-item {
    aspect-ratio: 1 / 1;
    border-radius: 12px;
    overflow: hidden;
    border: 2px solid #e2e8f0;
    cursor: pointer;
    background: #f8fafc;
    transition: all 0.2s ease;
}
.bsp-thumb-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.bsp-thumb-item:hover {
    border-color: #94a3b8;
}
.bsp-thumb-item.active {
    border-color: #000072 !important;
    box-shadow: 0 0 0 2px rgba(0, 0, 114, 0.2);
}

@media (min-width: 768px) {
    .bsp-gallery-section {
        flex-direction: row;
        align-items: stretch;
        gap: 20px;
        height: 650px;
    }
    .bsp-main-image-window {
        flex: 1;
        height: 100%;
        aspect-ratio: unset;
        min-height: unset;
    }
    .bsp-thumbnails-row {
        width: 155px;
        height: 100%;
        display: flex;
        flex-direction: column;
        gap: 12px;
        max-height: none;
        overflow: hidden;
        padding-right: 0;
    }
    .bsp-thumb-item {
        width: 100%;
        flex: 1;
        height: auto;
        aspect-ratio: unset;
        border-radius: 14px;
    }
}




/* 3. Description & Specs */
.bsp-description-section {
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.bsp-section-heading {
    font-size: 26px;
    font-weight: 700;
    color: #000072;
    margin: 0;
    letter-spacing: -0.01em;
}
.bsp-desc-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}
@media (min-width: 768px) {
    .bsp-desc-grid {
        grid-template-columns: 1.2fr 0.8fr;
        gap: 32px;
    }
}
.bsp-desc-content {
    font-size: 16px;
    line-height: 1.6;
    color: #475569;
}
.bsp-desc-content p {
    margin-top: 0;
    margin-bottom: 14px;
}
.bsp-feature-list {
    margin: 0;
    padding-left: 20px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    color: #334155;
    font-weight: 500;
}
.bsp-specs-card {
    background: #ffffff;
    border: 1.5px solid #e2e8f0;
    border-radius: 16px;
    padding: 24px 28px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.02);
}
.bsp-specs-title {
    font-size: 13px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #000072;
    margin: 0 0 18px 0;
}
.bsp-specs-list {
    display: flex;
    flex-direction: column;
    gap: 0;
    font-size: 14px;
}
.bsp-spec-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 11px 0;
    border-bottom: 1px solid #f1f5f9;
}
.bsp-spec-row:last-child {
    border-bottom: none;
    padding-bottom: 0;
}
.bsp-spec-name {
    color: #64748b;
    font-weight: 500;
}
.bsp-spec-val {
    font-weight: 700;
    color: #000072;
    text-align: right;
}
.bsp-leaf-icon {
    margin-left: 4px;
    font-size: 15px;
    display: inline-block;
    vertical-align: middle;
}


/* 4. Customization Funnel Card */
.bsp-configurator-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 24px;
    padding: 32px;
    display: flex;
    flex-direction: column;
    gap: 28px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02);
}
.bsp-config-heading {
    font-size: 22px;
    font-weight: 800;
    color: #000072;
    margin: 0;
    padding-bottom: 16px;
    border-bottom: 1px solid #f1f5f9;
}
.bsp-form-group {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.bsp-label {
    font-size: 14px;
    font-weight: 700;
    color: #000072;
}
.bsp-formats-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}
.bsp-pill-btn {
    padding: 10px 20px;
    border-radius: 9999px;
    border: 1px solid #cbd5e1;
    background: #ffffff;
    font-size: 14px;
    font-weight: 600;
    color: #334155;
    cursor: pointer;
    transition: all 0.2s ease;
}
.bsp-pill-btn:hover {
    background: #f1f5f9;
    border-color: #94a3b8;
}
.bsp-pill-btn.selected {
    background: #000072;
    border-color: #000072;
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(0, 0, 114, 0.25);
}

.bsp-custom-dim-row {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 12px;
    margin-top: 8px;
    background: #f8fafc;
    padding: 16px;
    border-radius: 16px;
    border: 1px solid #e2e8f0;
}
.bsp-dim-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.bsp-dim-field label {
    font-size: 12px;
    font-weight: 700;
    color: #64748b;
}
.bsp-dim-field input {
    width: 100%;
    padding: 10px 16px;
    border-radius: 9999px;
    border: 1px solid #cbd5e1;
    background: #ffffff;
    font-size: 14px;
    font-weight: 700;
    color: #000072;
    box-sizing: border-box;
    outline: none;
    transition: border-color 0.2s ease;
}
.bsp-dim-field input:focus {
    border-color: #000072;
}
.bsp-dim-cross {
    font-size: 20px;
    font-weight: 800;
    color: #94a3b8;
    margin-top: 20px;
}

.bsp-segmented-controls {
    display: inline-flex;
    background: #f1f5f9;
    padding: 4px;
    border-radius: 9999px;
    gap: 4px;
    width: fit-content;
    max-width: 100%;
    flex-wrap: wrap;
}
.bsp-seg-btn {
    padding: 8px 20px;
    border-radius: 9999px;
    border: none;
    background: transparent;
    font-size: 14px;
    font-weight: 600;
    color: #64748b;
    cursor: pointer;
    transition: all 0.2s ease;
}
.bsp-seg-btn:hover {
    color: #000072;
}
.bsp-seg-btn.selected {
    background: #000072 !important;
    color: #ffffff !important;
    font-weight: 700 !important;
    box-shadow: 0 2px 8px rgba(0, 0, 114, 0.25) !important;
}

.bsp-toggle-row {
    display: flex;
    align-items: center;
    gap: 12px;
}
.bsp-toggle-status {
    font-size: 14px;
    font-weight: 600;
    color: #334155;
}
.bsp-sub-options {
    margin-top: 10px;
}

/* Quantité Clean & Solid Stepper */
.bsp-quantity-clean-row {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}
.bsp-quantity-stepper-clean {
    display: inline-flex;
    align-items: center;
    width: 200px;
    height: 48px;
    background: #ffffff;
    border: 1.5px solid #cbd5e1;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.03);
    transition: all 0.2s ease;
}
.bsp-quantity-stepper-clean:focus-within {
    border-color: #000072;
    box-shadow: 0 0 0 3px rgba(0, 0, 114, 0.12);
}
.bsp-qty-step-btn {
    width: 48px;
    height: 100%;
    border: none;
    background: #f8fafc;
    color: #000072;
    font-size: 20px;
    font-weight: 800;
    cursor: pointer;
    transition: all 0.15s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    user-select: none;
}
.bsp-qty-step-btn:hover {
    background: #000072;
    color: #ffffff;
}
.bsp-qty-step-btn:active {
    background: #000050;
}
.bsp-qty-number-clean {
    flex: 1;
    width: 100%;
    height: 100%;
    border: none;
    text-align: center;
    font-size: 18px;
    font-weight: 800;
    color: #000072;
    outline: none;
    background: transparent;
    padding: 0;
    -moz-appearance: textfield;
}
.bsp-qty-number-clean::-webkit-outer-spin-button,
.bsp-qty-number-clean::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}
.bsp-quantity-hint {
    font-size: 13px;
    color: #64748b;
    font-weight: 500;
}


/* 3-Column Delays Grid */
.bsp-delays-grid-3cols {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
}
@media (min-width: 640px) {
    .bsp-delays-grid-3cols {
        grid-template-columns: repeat(3, 1fr);
    }
}
.bsp-delay-card {
    border: 2px solid #e2e8f0;
    background: #ffffff;
    border-radius: 16px;
    padding: 16px 18px;
    display: flex;
    flex-direction: column;
    gap: 4px;
    cursor: pointer;
    transition: all 0.25s ease;
    position: relative;
}
.bsp-delay-card:hover {
    border-color: #94a3b8;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.04);
}
.bsp-delay-card.selected {
    border: 2px solid #000072 !important;
    background: #f8faff !important;
    box-shadow: 0 4px 16px rgba(0, 0, 114, 0.08) !important;
}
.bsp-delay-badge-icon {
    font-size: 12px;
    font-weight: 800;
    color: #000072;
    margin-bottom: 2px;
}
.bsp-delay-name {
    font-size: 16px;
    font-weight: 800;
    color: #000072;
}
.bsp-delay-time {
    font-size: 13px;
    color: #64748b;
    font-weight: 500;
}
.bsp-delay-check {
    font-size: 11px;
    font-weight: 700;
    color: #008744;
    background: #e6fcf0;
    padding: 3px 10px;
    border-radius: 9999px;
    width: fit-content;
    margin-top: 6px;
    display: inline-block;
}
.bsp-delay-card.selected .bsp-delay-check {
    background: #000072;
    color: #00DD78;
}


/* 4 & 5. Configurator 2-Column Wrapper with Right Recap Sidebar */
.bsp-config-wrapper {
    display: flex;
    flex-direction: column;
    gap: 28px;
    align-items: stretch;
}
@media (min-width: 992px) {
    .bsp-config-wrapper {
        display: grid;
        grid-template-columns: 1fr 380px;
        gap: 32px;
        align-items: start;
    }
}
.bsp-config-wrapper .bsp-configurator-card {
    margin-bottom: 0;
}
.bsp-recap-sidebar {
    position: relative;
    width: 100%;
}
@media (min-width: 992px) {
    .bsp-sidebar-sticky-wrap {
        position: sticky;
        top: 85px;
    }
}

/* Minimalist Technical Specs Card in Right Sidebar */
.bsp-specs-minimal-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 18px;
    padding: 18px 22px;
    margin-bottom: 18px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.02);
}
.bsp-specs-minimal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
    padding-bottom: 8px;
    border-bottom: 1px solid #f1f5f9;
}
.bsp-specs-minimal-title {
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #000072;
}
.bsp-specs-minimal-list {
    display: flex;
    flex-direction: column;
    gap: 0;
}
.bsp-spec-min-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 7px 0;
    font-size: 13px;
    border-bottom: 1px solid #f8fafc;
}
.bsp-spec-min-row:last-child {
    border-bottom: none;
    padding-bottom: 0;
}
.bsp-spec-min-label {
    color: #64748b;
    font-weight: 500;
    font-size: 12.5px;
}
.bsp-spec-min-val {
    font-weight: 700;
    color: #000072;
    text-align: right;
    font-size: 13px;
}

.bsp-recap-sticky-card {
    background: #ffffff;
    border: 2px solid #000072;
    border-radius: 24px;
    padding: 28px;
    box-shadow: 0 10px 40px rgba(0, 0, 114, 0.08);
    display: flex;
    flex-direction: column;
    gap: 20px;
    box-sizing: border-box;
}

.bsp-recap-header {
    display: flex;
    flex-direction: column;
    gap: 8px;
    border-bottom: 1px solid #f1f5f9;
    padding-bottom: 14px;
}
.bsp-recap-badge {
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.08em;
    color: #00DD78;
    background: #000072;
    padding: 4px 12px;
    border-radius: 20px;
    display: inline-block;
    width: fit-content;
}
.bsp-recap-title {
    font-size: 20px;
    font-weight: 800;
    color: #000072;
    margin: 0;
}
.bsp-recap-items-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.bsp-recap-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    font-size: 14px;
    padding-bottom: 10px;
    border-bottom: 1px solid #f1f5f9;
    gap: 12px;
}
.bsp-recap-row:last-child {
    border-bottom: none;
    padding-bottom: 0;
}
.bsp-recap-label {
    color: #64748b;
    font-weight: 600;
}
.bsp-recap-val {
    color: #000072;
    font-weight: 700;
    text-align: right;
}
.bsp-recap-cta-wrap {
    margin-top: 6px;
}
.bsp-full-width-btn {
    width: 100% !important;
    padding: 16px 20px !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
}
.bsp-recap-trust-points {
    display: flex;
    flex-direction: column;
    gap: 8px;
    font-size: 12px;
    font-weight: 600;
    color: #475569;
    background: #f8fafc;
    padding: 14px;
    border-radius: 14px;
    border: 1px solid #e2e8f0;
}
.bsp-trust-item {
    display: flex;
    align-items: center;
    gap: 8px;
}

/* 5. Legacy Conversion Sticky Bar (Hidden or Fallback) */
.bsp-conversion-bar {
    display: none;
}
.shadow-neon-green {
    box-shadow: 0px 4px 20px rgba(0, 221, 120, 0.4);
}


/* 6. Complementary Products */
.bsp-related-section {
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding-top: 20px;
    border-top: 1px solid #e2e8f0;
}
.bsp-related-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}
@media (min-width: 768px) {
    .bsp-related-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}
.bsp-related-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    overflow: hidden;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    transition: all 0.25s ease;
}
.bsp-related-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
    border-color: #cbd5e1;
}
.bsp-related-img-wrap {
    aspect-ratio: 1 / 1;
    background: #f8fafc;
    overflow: hidden;
}
.bsp-related-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}
.bsp-related-card:hover .bsp-related-img-wrap img {
    transform: scale(1.05);
}
.bsp-related-title {
    padding: 14px;
    font-size: 14px;
    font-weight: 700;
    color: #000072;
    text-align: center;
}

/* 7. Contact Form Section */
.bsp-contact-section {
    width: 100%;
    animation: bspFadeIn 0.3s ease-out;
}
@keyframes bspFadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}
.bsp-contact-card {
    background: #ffffff;
    border: 2px solid #000072;
    border-radius: 24px;
    padding: 36px;
    box-shadow: 0 10px 40px rgba(0, 0, 114, 0.08);
}
.bsp-contact-header {
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 1px solid #f1f5f9;
}
.bsp-contact-title {
    font-size: 22px;
    font-weight: 800;
    color: #000072;
    margin: 0 0 6px 0;
}
.bsp-contact-subtitle {
    font-size: 14px;
    color: #64748b;
    margin: 0;
}
.bsp-form-grid-2 {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
    margin-bottom: 16px;
}
@media (min-width: 768px) {
    .bsp-form-grid-2 {
        grid-template-columns: 1fr 1fr;
        gap: 20px;
    }
}
.bsp-field-box {
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.bsp-field-box label {
    font-size: 13px;
    font-weight: 700;
    color: #000072;
}
.bsp-input {
    width: 100%;
    padding: 12px 18px;
    border-radius: 9999px;
    border: 1px solid #cbd5e1;
    background: #f8fafc;
    font-size: 14px;
    color: #1e293b;
    box-sizing: border-box;
    outline: none;
    transition: all 0.2s ease;
}
.bsp-input:focus {
    background: #ffffff;
    border-color: #000072;
    box-shadow: 0 0 0 3px rgba(0, 0, 114, 0.1);
}
.bsp-rgpd-notice {
    font-size: 12px;
    color: #64748b;
    line-height: 1.5;
    margin-top: 12px;
    margin-bottom: 20px;
}
.bsp-alert {
    padding: 14px 18px;
    border-radius: 12px;
    font-size: 14px;
    margin-bottom: 20px;
    line-height: 1.5;
}
.bsp-alert-error {
    background: #fef2f2;
    border: 1px solid #fecaca;
    color: #991b1b;
}
.bsp-alert-success {
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    color: #166534;
}
.bsp-submit-row {
    display: flex;
    justify-content: flex-end;
}






/* Custom Project Special Card Styling */
.family-card-custom-project {
    border: 2px dashed #00dd78 !important;
    background: linear-gradient(180deg, #ffffff 0%, #f0fdf4 100%) !important;
}
.family-card-custom-project:hover {
    border-color: #000072 !important;
    transform: translateY(-4px);
    box-shadow: 0 10px 25px rgba(0, 221, 120, 0.2) !important;
}
.family-card-custom-project.selected {
    border: 2px solid #000072 !important;
    background: #eef2ff !important;
    box-shadow: 0 0 0 3px rgba(0, 0, 114, 0.15) !important;
}
.custom-proj-badge {
    display: inline-block;
    background: #000072;
    color: #00dd78;
    font-size: 10px;
    font-weight: 800;
    padding: 3px 8px;
    border-radius: 9999px;
    margin-bottom: 6px;
    letter-spacing: 0.5px;
}


/* =============================================
   BULB FILE UPLOAD ZONE (PNG, JPEG ONLY)
   ============================================= */
.bulb-file-upload-zone {
    border: 2px dashed #cbd5e1;
    border-radius: 12px;
    padding: 24px 20px;
    text-align: center;
    background: #f8fafc;
    cursor: pointer;
    transition: all 0.2s ease-in-out;
    margin-top: 8px;
    position: relative;
}
.bulb-file-upload-zone:hover,
.bulb-file-upload-zone.drag-over {
    border-color: #7000FE;
    background: #f5f3ff;
}
.upload-zone-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
}
.upload-zone-icon {
    font-size: 32px;
    line-height: 1;
}
.upload-zone-text {
    font-size: 14px;
    color: #1e293b;
}
.upload-zone-text strong {
    color: #7000FE;
    text-decoration: underline;
}
.upload-zone-sub {
    font-size: 12px;
    color: #64748b;
}
.upload-zone-preview {
    display: flex;
    align-items: center;
    gap: 16px;
    text-align: left;
    background: #ffffff;
    padding: 12px 16px;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
}
.upload-zone-preview img {
    width: 64px;
    height: 64px;
    object-fit: cover;
    border-radius: 6px;
    border: 1px solid #cbd5e1;
}
.preview-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
    flex: 1;
}
.preview-info .file-name {
    font-size: 14px;
    font-weight: 600;
    color: #1e293b;
    word-break: break-all;
}
.preview-info .file-size {
    font-size: 12px;
    color: #64748b;
}
.btn-remove-photo {
    background: none;
    border: none;
    color: #ef4444;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    padding: 0;
    text-align: left;
    margin-top: 4px;
    transition: color 0.2s;
}
.btn-remove-photo:hover {
    color: #b91c1c;
    text-decoration: underline;
}
