/**
 * CIR BTU Calculator & Showroom Booking — Styles
 * v1.0.0
 */

/* ================================================================
   SHARED / UTILITY
   ================================================================ */

body.cir-bs-modal-open {
    overflow: hidden !important;
}

/* ================================================================
   BTU CALCULATOR MODAL
   ================================================================ */

/* ── Overlay ────────────────────────────────────────────────────── */
.cir-btu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0);
    z-index: 999990;
    pointer-events: none;
    transition: background 0.3s ease;
}

.cir-btu-overlay.cir-bs-active {
    background: rgba(0, 0, 0, 0.5);
    pointer-events: auto;
}

/* ── Panel ──────────────────────────────────────────────────────── */
.cir-btu-panel {
    position: fixed;
    top: 0;
    left: 0;
    width: 660px;
    height: 100vh;
    height: 100dvh;
    background: #FFFFFF;
    z-index: 999991;
    display: flex;
    flex-direction: column;
    transform: translateX(-100%);
    transition: transform 0.3s ease;
}

.cir-bs-active .cir-btu-panel {
    transform: translateX(0);
}

/* ── Header ─────────────────────────────────────────────────────── */
.cir-btu-header {
    position: relative;
    background: #1A1A1A;
    padding: 24px 32px 20px;
    flex-shrink: 0;
}

.cir-btu-header-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.cir-btu-header-label {
    font-family: 'Inter', sans-serif;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 3px;
    color: #FFFFFF;
    text-transform: uppercase;
}

.cir-btu-header-rule {
    width: 40px;
    height: 1px;
    background: #C9A94E;
}

.cir-btu-header-subtitle {
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.6);
    text-align: center;
}

.cir-btu-close {
    position: absolute;
    top: 16px;
    right: 16px;
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    padding: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.15s ease;
}

.cir-btu-close:hover {
    color: #FFFFFF;
}

/* ── Tab Bar ────────────────────────────────────────────────────── */
.cir-btu-tabs {
    display: flex;
    background: #F5F0EA;
    height: 44px;
    flex-shrink: 0;
}

.cir-btu-tab {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Outfit', sans-serif;
    font-size: 13px;
    font-weight: 500;
    color: #5A5549;
    background: #F5F0EA;
    border: none;
    border-bottom: 2px solid transparent;
    cursor: pointer;
    transition: background 0.15s ease, border-color 0.15s ease;
    padding: 0 16px;
}

.cir-btu-tab:hover {
    background: #EFEBE5;
}

.cir-btu-tab-active {
    background: #FFFFFF;
    color: #1A1A1A;
    border-bottom: 2px solid #832E31;
}

.cir-btu-tab-active:hover {
    background: #FFFFFF;
}

/* ── Body ───────────────────────────────────────────────────────── */
.cir-btu-body {
    flex: 1;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-gutter: stable;
}

/* ── Views ──────────────────────────────────────────────────────── */
.cir-btu-view {
    display: none;
    padding: 24px 32px;
}

.cir-btu-view-active {
    display: block;
}

/* ── Questions ──────────────────────────────────────────────────── */
.cir-btu-question {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.cir-btu-question-row {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
}

.cir-btu-question-title {
    margin: 0;
    font-family: 'Lora', serif;
    font-size: 16px;
    font-weight: 600;
    color: #1A1A1A;
    line-height: 1.4;
}

.cir-btu-estimate-link {
    font-family: 'Outfit', sans-serif;
    font-size: 12px;
    font-weight: 400;
    color: #832E31;
    text-decoration: none;
    white-space: nowrap;
    flex-shrink: 0;
}

.cir-btu-estimate-link:hover {
    text-decoration: underline;
}

/* ── Divider ────────────────────────────────────────────────────── */
.cir-btu-divider {
    width: 100%;
    height: 1px;
    background: #E8E3DC;
    margin: 24px 0;
}

/* ── Pills ──────────────────────────────────────────────────────── */
.cir-btu-pills {
    display: grid;
    gap: 8px;
}

.cir-btu-pills-3 {
    grid-template-columns: repeat(3, 1fr);
}

.cir-btu-pills-2 {
    grid-template-columns: repeat(2, 1fr);
}

.cir-btu-pill {
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #FFFFFF;
    border: 1px solid #E8E3DC;
    border-radius: 4px;
    font-family: 'Outfit', sans-serif;
    font-size: 13px;
    font-weight: 500;
    color: #1A1A1A;
    cursor: pointer;
    transition: border-color 0.15s ease, background 0.15s ease, color 0.15s ease;
    padding: 0 12px;
}

.cir-btu-pill:hover {
    border-color: #C5A467;
}

.cir-btu-pill-selected {
    background: #832E31;
    border-color: #832E31;
    color: #FFFFFF;
}

.cir-btu-pill-selected:hover {
    background: #6B2225;
    border-color: #6B2225;
}

/* Tall pills with subtitle */
.cir-btu-pill-tall {
    height: 52px;
    flex-direction: column;
    gap: 2px;
    padding: 6px 12px;
}

.cir-btu-pill-main {
    font-family: 'Outfit', sans-serif;
    font-size: 13px;
    font-weight: 500;
    line-height: 1.2;
}

.cir-btu-pill-sub {
    font-family: 'Outfit', sans-serif;
    font-size: 11px;
    font-weight: 400;
    color: #8A8278;
    line-height: 1.2;
}

.cir-btu-pill-selected .cir-btu-pill-sub {
    color: rgba(255, 255, 255, 0.7);
}

/* ── Inputs ─────────────────────────────────────────────────────── */
.cir-btu-inputs-row {
    display: grid;
    gap: 12px;
}

.cir-btu-inputs-3 {
    grid-template-columns: repeat(3, 1fr);
}

.cir-btu-inputs-2 {
    grid-template-columns: repeat(2, 1fr);
}

.cir-btu-input-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.cir-btu-label {
    font-family: 'Outfit', sans-serif;
    font-size: 11px;
    font-weight: 600;
    color: #8A8278;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.cir-btu-input {
    height: 48px;
    background: #FDFAF7;
    border: 1px solid #E8E3DC;
    border-radius: 3px;
    font-family: 'Outfit', sans-serif;
    font-size: 14px;
    font-weight: 400;
    color: #1A1A1A;
    padding: 0 14px;
    outline: none;
    transition: border-color 0.15s ease;
    width: 100%;
    box-sizing: border-box;
}

.cir-btu-input::placeholder {
    color: #B5AFA6;
}

.cir-btu-input:focus {
    border-color: #C5A467;
}

.cir-btu-input.cir-btu-input-error {
    border-color: #832E31;
}

/* Remove number input spinners */
.cir-btu-input[type="number"]::-webkit-inner-spin-button,
.cir-btu-input[type="number"]::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.cir-btu-input[type="number"] {
    -moz-appearance: textfield;
}

/* ── Convector Type Grid ────────────────────────────────────────── */
.cir-btu-type-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}

.cir-btu-type-card {
    display: flex;
    flex-direction: column;
    gap: 8px;
    border: 1px solid #E8E3DC;
    border-radius: 4px;
    padding: 12px;
    cursor: pointer;
    transition: border-color 0.15s ease;
}

.cir-btu-type-card:hover {
    border-color: #C5A467;
}

.cir-btu-type-selected {
    border: 2px solid #832E31;
    padding: 11px;
}

.cir-btu-type-card > :first-child {
    display: flex;
    align-items: center;
    gap: 8px;
}

.cir-btu-type-radio {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    border: 2px solid #E8E3DC;
    flex-shrink: 0;
    position: relative;
    display: inline-block;
    transition: border-color 0.15s ease;
}

.cir-btu-type-selected .cir-btu-type-radio {
    border-color: #832E31;
}

.cir-btu-type-selected .cir-btu-type-radio::after {
    content: '';
    position: absolute;
    top: 3px;
    left: 3px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #832E31;
}

.cir-btu-type-name {
    font-family: 'Outfit', sans-serif;
    font-size: 12px;
    font-weight: 500;
    color: #1A1A1A;
    line-height: 1.3;
}

/* ── Radiator Profile SVGs ──────────────────────────────────────── */
.cir-btu-type-svg {
    width: 100%;
    height: auto;
    margin-top: 8px;
}

/* Legacy CSS diagrams (kept for fallback) */
.cir-btu-type-diagram {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 24px;
    gap: 4px;
    margin-top: 4px;
}

/* Single panel */
.cir-btu-diagram-single::before {
    content: '';
    width: 100%;
    height: 4px;
    background: #8A8278;
    border-radius: 1px;
}

/* Double steel panel */
.cir-btu-diagram-double::before,
.cir-btu-diagram-double::after {
    content: '';
    width: 100%;
    height: 4px;
    background: #8A8278;
    border-radius: 1px;
    position: absolute;
}

.cir-btu-diagram-double {
    position: relative;
    width: 100%;
}

.cir-btu-diagram-double::before {
    top: 4px;
}

.cir-btu-diagram-double::after {
    bottom: 4px;
}

/* Single panel single convector */
.cir-btu-diagram-single-conv {
    position: relative;
    width: 100%;
}

.cir-btu-diagram-single-conv::before {
    content: '';
    width: 100%;
    height: 4px;
    background: #8A8278;
    border-radius: 1px;
    position: absolute;
    top: 4px;
}

.cir-btu-diagram-single-conv::after {
    content: '';
    width: 100%;
    height: 8px;
    background: repeating-linear-gradient(
        90deg,
        #B5AFA6 0px,
        #B5AFA6 2px,
        transparent 2px,
        transparent 6px
    );
    position: absolute;
    bottom: 2px;
}

/* Double panel single convector */
.cir-btu-diagram-double-single-conv {
    position: relative;
    width: 100%;
}

.cir-btu-diagram-double-single-conv::before {
    content: '';
    width: 100%;
    height: 4px;
    background: #8A8278;
    border-radius: 1px;
    position: absolute;
    top: 2px;
}

.cir-btu-diagram-double-single-conv::after {
    content: '';
    width: 100%;
    height: 4px;
    background: #8A8278;
    border-radius: 1px;
    position: absolute;
    bottom: 2px;
}

/* Double plus */
.cir-btu-diagram-double-plus {
    position: relative;
    width: 100%;
}

.cir-btu-diagram-double-plus::before {
    content: '';
    width: 100%;
    height: 4px;
    background: #8A8278;
    border-radius: 1px;
    position: absolute;
    top: 2px;
}

.cir-btu-diagram-double-plus::after {
    content: '';
    width: 100%;
    height: 4px;
    background: #8A8278;
    border-radius: 1px;
    position: absolute;
    bottom: 2px;
}

/* Double panel double convector */
.cir-btu-diagram-double-double-conv {
    position: relative;
    width: 100%;
}

.cir-btu-diagram-double-double-conv::before {
    content: '';
    width: 100%;
    height: 4px;
    background: #8A8278;
    border-radius: 1px;
    position: absolute;
    top: 1px;
}

.cir-btu-diagram-double-double-conv::after {
    content: '';
    width: 100%;
    height: 4px;
    background: #8A8278;
    border-radius: 1px;
    position: absolute;
    bottom: 1px;
}

/* ── Results View ───────────────────────────────────────────────── */
.cir-btu-result-card {
    background: #FDFAF7;
    border: 1px solid #E8E3DC;
    border-radius: 6px;
    padding: 24px 28px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
}

.cir-btu-result-label {
    font-family: 'Inter', sans-serif;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 3px;
    color: #8A8278;
    text-transform: uppercase;
}

.cir-btu-result-value {
    font-family: 'Lora', serif;
    font-size: 36px;
    font-weight: 600;
    color: #832E31;
    line-height: 1.2;
}

.cir-btu-result-unit {
    font-family: 'Inter', sans-serif;
    font-size: 12px;
    font-weight: 400;
    color: #8A8278;
}

/* ── Save Room Row ──────────────────────────────────────────────── */
.cir-btu-save-row {
    display: flex;
    gap: 10px;
    align-items: center;
    margin-top: 20px;
}

.cir-btu-save-input {
    flex: 1;
}

.cir-btu-save-btn {
    height: 42px;
    padding: 0 16px;
    background: #FFFFFF;
    border: 1px solid #832E31;
    border-radius: 4px;
    font-family: 'Outfit', sans-serif;
    font-size: 11px;
    font-weight: 700;
    color: #832E31;
    cursor: pointer;
    white-space: nowrap;
    transition: background 0.15s ease;
    letter-spacing: 0.5px;
}

.cir-btu-save-btn:hover {
    background: #FDF5F5;
}

/* ── Saved Rooms ────────────────────────────────────────────────── */
.cir-btu-rooms-label {
    font-family: 'Inter', sans-serif;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 3px;
    color: #8A8278;
    text-transform: uppercase;
    display: block;
    margin-bottom: 12px;
}

.cir-btu-rooms-list {
    display: flex;
    flex-direction: column;
}

.cir-btu-rooms-empty {
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    color: #B5AFA6;
    text-align: center;
    padding: 12px 0;
    margin: 0;
}

.cir-btu-room-row {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 0;
}

.cir-btu-room-row + .cir-btu-room-row {
    border-top: 1px solid #E8E3DC;
}

.cir-btu-room-info {
    flex: 1;
    min-width: 0;
}

.cir-btu-room-name {
    font-family: 'Outfit', sans-serif;
    font-size: 13px;
    font-weight: 600;
    color: #1A1A1A;
    line-height: 1.3;
}

.cir-btu-room-dims {
    font-family: 'Inter', sans-serif;
    font-size: 11px;
    font-weight: 400;
    color: #8A8278;
    line-height: 1.3;
}

.cir-btu-room-btu {
    font-family: 'Outfit', sans-serif;
    font-size: 13px;
    font-weight: 600;
    color: #832E31;
    white-space: nowrap;
    flex-shrink: 0;
}

.cir-btu-room-delete {
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #B5AFA6;
    transition: color 0.15s ease;
    flex-shrink: 0;
}

.cir-btu-room-delete:hover {
    color: #832E31;
}

/* ── Rooms Total ────────────────────────────────────────────────── */
.cir-btu-rooms-total {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 0 0;
    border-top: 1px solid #E8E3DC;
    margin-top: 4px;
}

.cir-btu-rooms-total-label {
    font-family: 'Outfit', sans-serif;
    font-size: 13px;
    font-weight: 600;
    color: #1A1A1A;
}

.cir-btu-rooms-total-value {
    font-family: 'Outfit', sans-serif;
    font-size: 13px;
    font-weight: 600;
    color: #832E31;
}

/* ── Footer ─────────────────────────────────────────────────────── */
.cir-btu-footer {
    background: #FDFAF7;
    padding: 0 32px 24px;
    flex-shrink: 0;
}

.cir-btu-footer-rule {
    height: 1px;
    background: #C9A94E;
    margin-bottom: 18px;
}

.cir-btu-footer-calc,
.cir-btu-footer-results {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.cir-btu-footer-btn-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.cir-btu-btn-primary {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    height: 46px;
    background: #832E31;
    color: #FFFFFF;
    font-family: 'Outfit', sans-serif;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background 0.2s ease;
    padding: 0 16px;
}

.cir-btu-btn-primary:hover {
    background: #6B2225;
}

.cir-btu-btn-outline {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    height: 46px;
    background: #FFFFFF;
    color: #1A1A1A;
    font-family: 'Outfit', sans-serif;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    border: 1px solid #E8E3DC;
    border-radius: 4px;
    cursor: pointer;
    transition: border-color 0.2s ease;
    padding: 0 12px;
}

.cir-btu-btn-outline:hover {
    border-color: #C5A467;
}

.cir-btu-footnote {
    font-family: 'Inter', sans-serif;
    font-size: 11px;
    font-weight: 400;
    color: #B5AFA6;
    text-align: center;
    margin: 12px 0 0;
    line-height: 1.5;
}


/* Email capture in results footer */
/* Add another room — outline button in body */
.cir-btu-btn-add-room {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    background: none;
    border: 1px solid #E8E3DC;
    font-family: 'Outfit', sans-serif;
    font-size: 11px;
    font-weight: 600;
    color: #5A5549;
    cursor: pointer;
    padding: 10px 20px;
    letter-spacing: 1.5px;
    margin-top: 16px;
    border-radius: 3px;
    transition: all 0.2s ease;
}
.cir-btu-btn-add-room:hover {
    border-color: #832E31;
    color: #832E31;
}

/* Email capture in results footer */
.cir-btu-email-capture {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.cir-btu-email-capture-label {
    font-family: 'Inter', sans-serif;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 3px;
    color: #8A8278;
    margin: 0;
}

.cir-btu-email-capture-inline {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.cir-btu-btn-email {
    margin-top: 8px;
}

.cir-btu-email-success {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    font-weight: 500;
    color: #2D8F4E;
    padding: 8px 0;
    justify-content: center;
}

.cir-btu-email-error {
    font-family: 'Inter', sans-serif;
    font-size: 12px;
    color: #832E31;
    text-align: center;
    padding: 4px 0;
}

@media (max-width: 768px) {
    .cir-btu-email-capture-inline {
        grid-template-columns: 1fr;
    }
}


/* ================================================================
   SHOWROOM BOOKING MODAL
   ================================================================ */

/* ── Overlay ────────────────────────────────────────────────────── */
.cir-showroom-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0);
    z-index: 999990;
    pointer-events: none;
    transition: background 0.3s ease;
}

.cir-showroom-overlay.cir-bs-active {
    background: rgba(0, 0, 0, 0.5);
    pointer-events: auto;
}

/* ── Panel ──────────────────────────────────────────────────────── */
.cir-showroom-panel {
    position: fixed;
    top: 0;
    left: 0;
    width: 520px;
    height: 100vh;
    height: 100dvh;
    background: #FFFFFF;
    z-index: 999991;
    display: flex;
    flex-direction: column;
    transform: translateX(-100%);
    transition: transform 0.3s ease;
}

.cir-bs-active .cir-showroom-panel {
    transform: translateX(0);
}

/* ── Header ─────────────────────────────────────────────────────── */
.cir-showroom-header {
    position: relative;
    background: #1A1A1A;
    padding: 24px 32px 20px;
    flex-shrink: 0;
}

.cir-showroom-header-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.cir-showroom-header-label {
    font-family: 'Inter', sans-serif;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 3px;
    color: #FFFFFF;
    text-transform: uppercase;
}

.cir-showroom-header-rule {
    width: 40px;
    height: 1px;
    background: #C9A94E;
}

.cir-showroom-header-subtitle {
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.67);
    text-align: center;
    line-height: 1.5;
}

.cir-showroom-close {
    position: absolute;
    top: 16px;
    right: 16px;
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    padding: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.15s ease;
}

.cir-showroom-close:hover {
    color: #FFFFFF;
}

/* ── Divider ────────────────────────────────────────────────────── */
.cir-showroom-divider {
    height: 1px;
    background: #E8E3DC;
    flex-shrink: 0;
}

/* ── Body ───────────────────────────────────────────────────────── */
.cir-showroom-body {
    flex: 1;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-gutter: stable;
    padding: 20px 32px;
}

/* ── Form ───────────────────────────────────────────────────────── */
.cir-showroom-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.cir-showroom-inputs-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.cir-showroom-input-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.cir-showroom-label {
    font-family: 'Outfit', sans-serif;
    font-size: 11px;
    font-weight: 600;
    color: #1A1A1A;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.cir-showroom-input {
    height: 48px;
    background: #FDFAF7;
    border: 1px solid #E8E3DC;
    border-radius: 3px;
    font-family: 'Outfit', sans-serif;
    font-size: 14px;
    font-weight: 400;
    color: #1A1A1A;
    padding: 0 14px;
    outline: none;
    transition: border-color 0.15s ease;
    width: 100%;
    box-sizing: border-box;
}

.cir-showroom-input::placeholder {
    color: #B5AFA6;
}

.cir-showroom-input:focus {
    border-color: #C5A467;
}

.cir-showroom-input.cir-showroom-input-error {
    border-color: #832E31;
}

.cir-showroom-select {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    height: 48px;
    background: #FDFAF7;
    border: 1px solid #E8E3DC;
    border-radius: 3px;
    font-family: 'Outfit', sans-serif;
    font-size: 14px;
    font-weight: 400;
    color: #1A1A1A;
    padding: 0 36px 0 14px;
    outline: none;
    transition: border-color 0.15s ease;
    width: 100%;
    box-sizing: border-box;
    cursor: pointer;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%238A8278' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
}

.cir-showroom-select:focus {
    border-color: #C5A467;
}

.cir-showroom-input-date {
    cursor: pointer;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%238A8278' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='4' width='18' height='18' rx='2' ry='2'%3E%3C/rect%3E%3Cline x1='16' y1='2' x2='16' y2='6'%3E%3C/line%3E%3Cline x1='8' y1='2' x2='8' y2='6'%3E%3C/line%3E%3Cline x1='3' y1='10' x2='21' y2='10'%3E%3C/line%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    background-size: 16px;
    padding-right: 36px !important;
}

/* ── Custom Date Picker ────────────────────────────────────────────── */
.cir-datepicker-wrap {
    position: relative;
}

.cir-datepicker {
    display: none;
    position: absolute;
    top: calc(100% + 4px);
    left: 0;
    z-index: 999999;
    width: 300px;
    background: #FDFAF7;
    border: 1px solid #E8E3DC;
    border-radius: 6px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    font-family: 'Outfit', sans-serif;
    user-select: none;
    -webkit-user-select: none;
}

.cir-datepicker.cir-datepicker-open {
    display: block;
}

.cir-datepicker-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 16px 10px;
    border-bottom: 1px solid #E8E3DC;
}

.cir-datepicker-title {
    font-family: 'Outfit', sans-serif;
    font-size: 15px;
    font-weight: 600;
    color: #1A1A1A;
}

.cir-datepicker-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background: none;
    border: 1px solid #E8E3DC;
    border-radius: 4px;
    cursor: pointer;
    color: #5A5549;
    font-size: 16px;
    line-height: 1;
    transition: border-color 0.15s ease, color 0.15s ease;
    padding: 0;
}

.cir-datepicker-nav:hover {
    border-color: #C5A467;
    color: #C5A467;
}

.cir-datepicker-weekdays {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    padding: 10px 12px 4px;
    gap: 0;
}

.cir-datepicker-weekday {
    font-family: 'Outfit', sans-serif;
    font-size: 11px;
    font-weight: 600;
    color: #8A8278;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 4px 0;
}

.cir-datepicker-days {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    padding: 4px 12px 12px;
    gap: 2px;
}

.cir-datepicker-day {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    aspect-ratio: 1;
    font-family: 'Outfit', sans-serif;
    font-size: 13px;
    font-weight: 500;
    color: #1A1A1A;
    background: none;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background 0.15s ease, color 0.15s ease;
    padding: 0;
}

.cir-datepicker-day:hover:not(.cir-datepicker-day-disabled):not(.cir-datepicker-day-selected) {
    background: #E8E3DC;
}

.cir-datepicker-day-today:not(.cir-datepicker-day-selected) {
    border: 1px solid #C5A467;
}

.cir-datepicker-day-selected {
    background: #832E31 !important;
    color: #FFFFFF !important;
}

.cir-datepicker-day-disabled {
    color: #D1CBC3;
    cursor: default;
    pointer-events: none;
}

.cir-datepicker-day-empty {
    cursor: default;
    pointer-events: none;
}

.cir-datepicker-day-sunday {
    color: #D1CBC3;
    cursor: default;
    pointer-events: none;
}

.cir-showroom-textarea {
    height: 80px;
    padding: 12px 14px;
    resize: none;
    font-family: 'Outfit', sans-serif;
}

/* ── Success View ───────────────────────────────────────────────── */
.cir-showroom-success {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
    padding: 60px 32px;
    text-align: center;
}

.cir-showroom-success-icon {
    display: flex;
    align-items: center;
    justify-content: center;
}

.cir-showroom-success-title {
    font-family: 'Lora', serif;
    font-size: 24px;
    font-weight: 600;
    color: #1A1A1A;
    margin: 0;
}

.cir-showroom-success-text {
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 400;
    color: #5A5549;
    margin: 0;
    line-height: 1.5;
}

/* ── Footer ─────────────────────────────────────────────────────── */
.cir-showroom-footer {
    background: #FDFAF7;
    padding: 0 32px 24px;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.cir-showroom-footer-rule {
    height: 1px;
    background: #C9A94E;
    margin-bottom: 6px;
}

.cir-showroom-address {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    font-family: 'Inter', sans-serif;
    font-size: 12px;
    font-weight: 400;
    color: #5A5549;
}

.cir-showroom-btn-primary {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    height: 46px;
    background: #832E31;
    color: #FFFFFF;
    font-family: 'Outfit', sans-serif;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background 0.2s ease;
}

.cir-showroom-btn-primary:hover {
    background: #6B2225;
}

.cir-showroom-btn-primary:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.cir-showroom-footnote {
    font-family: 'Inter', sans-serif;
    font-size: 11px;
    font-weight: 400;
    color: #B5AFA6;
    text-align: center;
    margin: 0;
    line-height: 1.5;
}


/* ================================================================
   RESPONSIVE — MOBILE (below 768px)
   ================================================================ */

@media (max-width: 768px) {
    .cir-btu-panel {
        width: 100%;
    }

    .cir-showroom-panel {
        width: 100%;
    }

    .cir-btu-view {
        padding: 20px 20px;
    }

    .cir-btu-header {
        padding: 20px 20px 16px;
    }

    .cir-btu-footer {
        padding: 0 20px 20px;
    }

    .cir-showroom-body {
        padding: 16px 20px;
    }

    .cir-showroom-header {
        padding: 20px 20px 16px;
    }

    .cir-showroom-footer {
        padding: 0 20px 20px;
    }

    .cir-btu-inputs-3 {
        grid-template-columns: repeat(3, 1fr);
    }

    .cir-btu-inputs-2 {
        grid-template-columns: repeat(2, 1fr);
    }

    .cir-showroom-inputs-row {
        grid-template-columns: 1fr 1fr;
    }

    .cir-showroom-input,
    .cir-showroom-select,
    .cir-showroom-input-date {
        max-width: 100%;
        min-width: 0;
        box-sizing: border-box;
        font-size: 16px;
    }

    .cir-btu-input {
        font-size: 16px;
    }

    .cir-datepicker {
        width: 225px;
        min-width: 0;
    }

    .cir-datepicker-header {
        padding: 8px 10px 6px;
    }

    .cir-datepicker-title {
        font-size: 12px;
    }

    .cir-datepicker-nav {
        width: 24px;
        height: 24px;
        font-size: 12px;
    }

    .cir-datepicker-weekdays {
        padding: 6px 8px 2px;
    }

    .cir-datepicker-weekday {
        font-size: 9px;
    }

    .cir-datepicker-days {
        padding: 2px 8px 8px;
        gap: 1px;
    }

    .cir-datepicker-day {
        font-size: 11px;
    }

    .cir-showroom-input-group {
        min-width: 0;
    }

    .cir-showroom-textarea {
        height: 160px;
        flex: 1;
    }

    .cir-btu-type-grid {
        grid-template-columns: 1fr;
    }

    .cir-btu-type-card {
        display: grid;
        grid-template-columns: 24px 1fr;
        gap: 4px 8px;
        align-items: center;
    }

    .cir-btu-type-card > :first-child {
        display: block;
    }

    .cir-btu-type-radio {
        grid-column: 1;
        grid-row: 1 / -1;
        align-self: center;
    }

    .cir-btu-type-name {
        grid-column: 2;
        grid-row: 1;
    }

    .cir-btu-type-diagram {
        grid-column: 2;
        grid-row: 2;
        max-width: 200px;
        margin-top: 0;
    }

    .cir-btu-footer-btn-row {
        grid-template-columns: 1fr;
    }

    .cir-btu-result-value {
        font-size: 28px;
    }

    .cir-btu-save-row {
        flex-direction: column;
    }

    .cir-btu-save-btn {
        width: 100%;
    }
}
