/* ===========================================================
   Color / font variables - tweak these if the exact site
   hex codes differ. Pull real values from your theme's
   Customizer or Elementor Site Settings > Global Colors/Fonts.
   =========================================================== */
:root {
    --swlh-dark: #1c1f18;      /* header / footer near-black green */
    --swlh-gold: #c9963c;      /* accent - buttons, section titles */
    --swlh-gold-hover: #b4832f;
    --swlh-cream: #efece0;     /* page/section background */
    --swlh-text: #2c2c26;
    --swlh-border: #d9d4c2;
    --swlh-font: 'Poppins', Arial, sans-serif;
}

#swlh-quote-form-wrap {
    max-width: 1100px;
    margin: 0 auto;
    background: var(--swlh-cream);
    padding: 30px 40px 40px;
    font-family: var(--swlh-font);
    color: var(--swlh-text);
}

.swlh-header {
    border-bottom: 2px solid var(--swlh-gold);
    padding-bottom: 14px;
    margin-bottom: 26px;
}

.swlh-header h2 {
    margin: 0;
    letter-spacing: 1px;
    color: var(--swlh-dark);
    font-weight: 600;
    text-transform: uppercase;
    font-size: 20px;
}

.swlh-columns {
    display: flex;
    gap: 40px;
    flex-wrap: wrap;
    align-items: flex-start;
}

.swlh-form-col {
    flex: 1 1 480px;
}

.swlh-preview-col {
    flex: 1 1 360px;
}

#swlh-quote-form .swlh-section-title {
    color: var(--swlh-gold);
    text-transform: uppercase;
    font-size: 14px;
    letter-spacing: 1px;
    font-weight: 600;
    border-bottom: 1px solid var(--swlh-border);
    padding-bottom: 8px;
    margin: 26px 0 16px;
}

#swlh-quote-form .swlh-section-title span {
    text-transform: none;
    font-weight: normal;
    font-size: 12px;
    color: #7a7a6c;
}

#swlh-quote-form .swlh-row {
    display: flex;
    gap: 20px;
}

#swlh-quote-form .swlh-row p {
    flex: 1;
}

#swlh-quote-form p {
    margin-bottom: 14px;
}

#swlh-quote-form label {
    display: block;
    font-size: 12px;
    color: var(--swlh-text);
    margin-bottom: 4px;
    font-weight: 500;
}

#swlh-quote-form label.swlh-inline {
    display: inline-block;
    font-size: 13px;
    margin-right: 18px;
    font-weight: normal;
}

#swlh-quote-form .swlh-checkbox-row label.swlh-inline {
    font-size: 12px;
    color: #55554a;
}

#swlh-quote-form input[type="radio"],
#swlh-quote-form input[type="checkbox"] {
    display: inline-block;
    width: 16px;
    height: 16px;
    margin-right: 6px;
    accent-color: var(--swlh-gold);
    cursor: pointer;
    vertical-align: middle;
}

#swlh-quote-form input[type="text"],
#swlh-quote-form input[type="email"],
#swlh-quote-form input[type="date"],
#swlh-quote-form select,
#swlh-quote-form textarea {
    width: 100%;
    padding: 9px 10px;
    border: 1px solid var(--swlh-border);
    border-radius: 2px;
    background: #fff;
    box-sizing: border-box;
    font-family: inherit;
    font-size: 13px;
    color: var(--swlh-text);
}

#swlh-quote-form input:focus,
#swlh-quote-form select:focus,
#swlh-quote-form textarea:focus {
    outline: none;
    border-color: var(--swlh-gold);
}

.swlh-submit-row {
    text-align: center;
    margin-top: 24px;
}

#swlh-quote-form button {
    background: var(--swlh-gold);
    color: #fff;
    border: none;
    padding: 14px 44px;
    border-radius: 3px;
    cursor: pointer;
    font-weight: 600;
    font-size: 14px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    font-family: var(--swlh-font);
}

#swlh-quote-form button:hover {
    background: var(--swlh-gold-hover);
}

#swlh-form-msg {
    text-align: center;
    margin-top: 10px;
    font-weight: 600;
    font-size: 13px;
}

/* Product preview card */
.swlh-product-card {
    background: var(--swlh-dark);
    border-radius: 4px;
    padding: 20px;
}

.swlh-product-heading {
    margin-bottom: 14px;
}

.swlh-the {
    display: block;
    font-size: 12px;
    letter-spacing: 2px;
    color: var(--swlh-gold);
    text-transform: uppercase;
}

.swlh-product-name {
    display: inline-block;
    font-size: 26px;
    font-weight: 600;
    color: #fff;
    margin-right: 10px;
}

.swlh-product-sqft {
    font-size: 13px;
    color: #cfcabb;
    letter-spacing: 0.5px;
}

.swlh-product-card img {
    max-width: 100%;
    display: block;
    border-radius: 3px;
    margin-bottom: 20px;
}

.swlh-placeholder-text {
    color: #cfcabb;
    font-size: 14px;
}

/* Stepper - persistent, clickable progress bar above every step */
.swlh-stepper {
    list-style: none;
    display: flex;
    align-items: flex-start;
    margin: 0 0 28px;
    padding: 0;
}

.swlh-stepper .swlh-step {
    flex: 1;
    position: relative;
    text-align: center;
    margin: 0;
    padding: 0;
    color: #8a8a72;
}

/* connector line running from this step's circle to the next one */
.swlh-stepper .swlh-step:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 21px;
    left: calc(50% + 28px);
    right: calc(-50% + 28px);
    height: 3px;
    border-radius: 2px;
    background: var(--swlh-border);
    transition: background 0.25s ease;
}

.swlh-stepper .swlh-step-done:not(:last-child)::after {
    background: var(--swlh-gold);
}

.swlh-stepper .swlh-step-btn {
    display: block;
    width: 100%;
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    font-family: var(--swlh-font);
    color: inherit;
    text-transform: none;
    letter-spacing: normal;
}

.swlh-stepper .swlh-step-btn:disabled {
    cursor: not-allowed;
}

.swlh-stepper .swlh-step-circle {
    display: block;
    width: 44px;
    height: 44px;
    line-height: 40px;
    margin: 0 auto 8px;
    border-radius: 50%;
    border: 2px solid var(--swlh-border);
    background: #fff;
    color: #8a8a72;
    font-size: 16px;
    font-weight: 700;
    box-sizing: border-box;
    transition: all 0.2s ease;
}

.swlh-stepper .swlh-step-label {
    display: block;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.8px;
}

/* current step */
.swlh-stepper .swlh-step-active .swlh-step-circle {
    background: var(--swlh-gold);
    border-color: var(--swlh-gold);
    color: #fff;
    box-shadow: 0 0 0 5px rgba(201, 150, 60, 0.22);
}
.swlh-stepper .swlh-step-active .swlh-step-label {
    color: var(--swlh-dark);
}

/* completed steps (clickable - takes the visitor back to that screen) */
.swlh-stepper .swlh-step-done .swlh-step-circle {
    background: var(--swlh-dark);
    border-color: var(--swlh-dark);
    color: var(--swlh-gold);
}
.swlh-stepper .swlh-step-done .swlh-step-label {
    color: var(--swlh-dark);
}

/* reachable-but-not-current and completed steps get a hover cue */
.swlh-stepper .swlh-step-btn:not(:disabled):hover .swlh-step-circle {
    border-color: var(--swlh-gold);
}
.swlh-stepper .swlh-step-btn:not(:disabled):hover .swlh-step-label {
    color: var(--swlh-gold);
}

.swlh-stepper .swlh-step-btn:focus-visible .swlh-step-circle {
    outline: 3px solid var(--swlh-gold);
    outline-offset: 2px;
}

@media (max-width: 640px) {
    .swlh-stepper .swlh-step-circle { width: 38px; height: 38px; line-height: 34px; font-size: 14px; }
    .swlh-stepper .swlh-step:not(:last-child)::after { top: 18px; left: calc(50% + 24px); right: calc(-50% + 24px); }
    .swlh-stepper .swlh-step-label { font-size: 10px; letter-spacing: 0.4px; }
}

@media (max-width: 640px) {
    #swlh-quote-form-wrap {
        padding: 20px;
    }
    #swlh-quote-form .swlh-row {
        flex-direction: column;
        gap: 0;
    }
}

/* Step 2 - live quote configurator */
#swlh-step2-wrap {
    margin-top: 10px;
}

.swlh-step2-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    flex-wrap: wrap;
    gap: 16px;
    background: var(--swlh-dark);
    padding: 16px 20px;
    border-radius: 4px;
    margin-bottom: 20px;
    position: sticky;
    top: 0;
    z-index: 50;
}

.swlh-step2-header label {
    display: block;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--swlh-gold);
    margin-bottom: 4px;
}

.swlh-step2-header select {
    min-width: 220px;
    padding: 8px 10px;
    border-radius: 2px;
    border: none;
    font-family: var(--swlh-font);
}

.swlh-live-total {
    text-align: right;
}

.swlh-live-total-label {
    display: block;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #cfcabb;
}

#swlh-live-total-amount {
    display: block;
    font-size: 26px;
    font-weight: 600;
    color: #fff;
}

.swlh-option-section {
    background: #fff;
    border: 1px solid var(--swlh-border);
    border-radius: 4px;
    padding: 16px 20px;
    margin-bottom: 16px;
}

.swlh-option-section .swlh-section-title {
    margin: 0 0 10px;
}

.swlh-option-row {
    display: flex;
    align-items: center;
    font-size: 13px;
    font-weight: normal;
    padding: 10px 12px;
    cursor: pointer;
    border: 1px solid var(--swlh-border);
    border-radius: 4px;
    margin-bottom: 6px;
    transition: background 0.15s ease, border-color 0.15s ease;
}

.swlh-option-row:hover {
    background: #faf8f2;
    border-color: var(--swlh-gold);
}

.swlh-option-row:has(input:checked),
.swlh-option-row.swlh-option-selected {
    background: #fbf3e2;
    border-color: var(--swlh-gold);
}

.swlh-option-row input[type="radio"] {
    width: 18px;
    height: 18px;
    margin-right: 10px;
    accent-color: var(--swlh-gold);
    flex-shrink: 0;
    cursor: pointer;
}

.swlh-option-row em {
    font-style: normal;
    color: #8a8a72;
    font-size: 12px;
    margin-left: 6px;
}

#swlh-step2-continue {
    background: var(--swlh-gold);
    color: #fff;
    border: none;
    padding: 14px 44px;
    border-radius: 3px;
    cursor: pointer;
    font-weight: 600;
    font-size: 14px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    font-family: var(--swlh-font);
}

#swlh-step2-continue:hover {
    background: var(--swlh-gold-hover);
}

/* Step 3 - printable quote summary */
.swlh-step3-card {
    background: #fff;
    border: 1px solid var(--swlh-border);
    border-radius: 4px;
    padding: 24px;
}

.swlh-step3-title {
    margin-top: 0;
    color: var(--swlh-dark);
}

.swlh-step3-hero {
    max-width: 100%;
    border-radius: 4px;
    margin-bottom: 20px;
}

.swlh-summary-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 16px;
}

.swlh-summary-table td {
    padding: 8px 10px;
    border-bottom: 1px solid var(--swlh-border);
    font-size: 13px;
}

.swlh-summary-table td:first-child {
    font-weight: 600;
    width: 40%;
    color: var(--swlh-dark);
}

.swlh-step3-total {
    text-align: right;
    font-size: 20px;
    font-weight: 700;
    color: var(--swlh-dark);
    padding: 12px 0;
    border-top: 2px solid var(--swlh-gold);
    margin-bottom: 20px;
}

.swlh-floorplan-row {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.swlh-floorplan-row > div {
    flex: 1 1 260px;
    text-align: center;
}

.swlh-floorplan-row img {
    max-width: 100%;
    border: 1px solid var(--swlh-border);
    border-radius: 4px;
}

.swlh-floorplan-row p {
    font-size: 12px;
    color: #666;
    margin-top: 6px;
}

.swlh-btn-secondary {
    background: transparent;
    color: var(--swlh-dark);
    border: 1px solid var(--swlh-dark);
    padding: 14px 30px;
    border-radius: 3px;
    cursor: pointer;
    font-weight: 600;
    font-size: 13px;
    text-transform: uppercase;
    margin-right: 12px;
    font-family: var(--swlh-font);
}

@media print {
    .swlh-no-print {
        display: none !important;
    }
    .swlh-step3-card {
        border: none;
        padding: 0;
    }
}

.swlh-option-row .swlh-delta:empty {
    display: none;
}
