/*!
 * StorageQuoter™ — Public Stylesheet
 * Copyright (c) 2026 Terence Meghani (hello@terencemeghani.com). All rights reserved.
 * Proprietary software — unauthorised use prohibited. DMCA Protected.
 */

/* ═══════════════════════════════════════════════════════════
   RESET & BASE
   ═══════════════════════════════════════════════════════════ */
.sqw-widget *,
.sqw-widget *::before,
.sqw-widget *::after { box-sizing: border-box; margin: 0; padding: 0; }

.sqw-widget {
    font-family: var(--sqw-font-family, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif);
    line-height: 1.5;
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    /* Flex column guarantees zero gap between children (steps → panel) */
    display: flex;
    flex-direction: column;
    /* Prevent any child from causing horizontal page scroll */
    overflow: hidden;

    /* ── BRAND ── */
    /* ── PRIMARY COLOUR ──
       Container Self Store brand yellow: #FFF200 (--e-global-color-accent)
       Admins can override in Settings → Primary Colour if needed. */
    --sqw-primary:        #FFF200;
    --sqw-secondary:      #e8003d;
    --sqw-bg:             #111111;
    --sqw-text:           #ffffff;

    /* ── STEP BAR ── */
    --sqw-step-bg:           #1c1c1c;
    /* White inactive text — the previous grey (#888) was illegible on dark grey */
    --sqw-step-text:         #ffffff;
    --sqw-step-active-text:  #111111;
    --sqw-step-done-text:    #ffffff;
    --sqw-step-fs:           13px;
    --sqw-step-sub-fs:       11px;
    --sqw-step-pad:          14px;

    /* ── CAROUSEL — responsive defaults ── */
    --sqw-tab-text:   #111111;
    --sqw-tab-sel:    #e8003d;
    --sqw-tab-fs:     14px;
    --sqw-tab-pad-v:  16px;
    --sqw-tab-w:      100px;   /* mobile default: compact */
    --sqw-arrow-w:    40px;    /* mobile default: compact */
    --sqw-arrow-fs:   18px;
    --sqw-arrow-color:#ffffff;

    /* ── UNIT PANEL ── */
    --sqw-unit-heading:    #ffffff;
    --sqw-unit-price-col:  ;
    --sqw-title-fs:    30px;
    --sqw-desc-fs:     16px;
    --sqw-dims-fs:     13px;
    --sqw-price-fs:    42px;

    /* ── CTA BUTTON ── */
    --sqw-cta-bg:      var(--sqw-primary, #FFF200);
    --sqw-cta-text:    #111111;
    --sqw-cta-fs:      16px;
    --sqw-cta-radius:  4px;
    --sqw-cta-pad-h:   28px;
    --sqw-cta-pad-v:   14px;

    /* ── FORM ── */
    --sqw-form-heading:  ;
    --sqw-form-label:    ;
    --sqw-input-text:    ;
    --sqw-placeholder:   ;
    --sqw-field-bg:      ;
    --sqw-field-border:  ;
    --sqw-back-text:     ;
    --sqw-back-border:   ;
    --sqw-field-fs:      15px;
    --sqw-label-fs:      11px;
    --sqw-field-radius:  6px;

    /* ── SUBMIT / BACK ── */
    /* Submit and CTA buttons use the brand yellow with dark text */
    --sqw-submit-bg:     var(--sqw-primary, #FFF200);
    --sqw-submit-text:   #111111;
    --sqw-submit-fs:     15px;
    --sqw-submit-radius: 4px;
    --sqw-back-radius:   4px;

    /* ── PRICE REVEAL ── */
    --sqw-reveal-price-fs:  64px;
    --sqw-reveal-body-fs:   15px;

    /* ── FALLBACKS ── */
    /* White-first: grey text is hard to read on dark widget backgrounds. */
    --_muted:  #ffffff;
    --_faint:  rgba(255,255,255,0.85);
    --_border: rgba(255,255,255,0.22);
    --_subtle: rgba(255,255,255,0.08);
    --sqw-field-bg-default:      rgba(255,255,255,0.08);
    --sqw-field-border-default:  rgba(255,255,255,0.25);
    --sqw-calendar-filter:       invert(1);
}

/* Restore comfortable carousel sizing on larger screens */
@media (min-width: 480px) {
    .sqw-widget {
        --sqw-tab-w:   110px;
        --sqw-arrow-w: 46px;
    }
}
@media (min-width: 768px) {
    .sqw-widget {
        --sqw-tab-w:   120px;
        --sqw-arrow-w: 52px;
        --sqw-cta-pad-h: 32px;
        --sqw-cta-pad-v: 15px;
    }
}

/* ═══════════════════════════════════════════════════════════
   STEP BAR
   ═══════════════════════════════════════════════════════════ */
.sqw-steps {
    display: flex;
    width: 100%;
    border-bottom: 3px solid var(--sqw-primary);
    /* Prevent overflow — step text must break, not extend */
    overflow: hidden;
}
.sqw-step {
    flex: 1;
    min-width: 0;        /* allow shrinking below content size */
    overflow: hidden;
    padding: 8px 3px;
    font-size: 12px;
    font-weight: 700;
    text-align: center;
    /* Allow word wrap so long names break cleanly */
    overflow-wrap: break-word;
    word-break: break-word;
    hyphens: auto;
    border: 0.5px solid var(--_border);
    background: var(--sqw-step-bg);
    color: var(--sqw-step-text);
    line-height: 1.25;
    display: flex; flex-direction: column;
    align-items: center; justify-content: center;
}
.sqw-step span {
    font-size: 9px;
    font-weight: 400; margin-top: 2px;
    color: var(--sqw-step-text); opacity: 0.7;
    display: none; /* hidden on mobile */
}
.sqw-step.is-done   { background: var(--sqw-secondary); color: var(--sqw-step-done-text, #fff); }
.sqw-step.is-done span { color: var(--sqw-step-done-text, #fff); opacity: 0.85; }
.sqw-step.is-active { background: var(--sqw-primary);   color: var(--sqw-step-active-text, #111); }
.sqw-step.is-active span { color: var(--sqw-step-active-text, #111); opacity: 0.8; }

/* Tablet+: restore configured size and show sub-text */
@media (min-width: 540px) {
    .sqw-step { font-size: var(--sqw-step-fs); padding: var(--sqw-step-pad) 6px; }
    .sqw-step span { display: block; font-size: var(--sqw-step-sub-fs); }
}

/* ═══════════════════════════════════════════════════════════
   CAROUSEL
   ═══════════════════════════════════════════════════════════ */
.sqw-carousel {
    display: flex; align-items: stretch;
    background: var(--sqw-primary);
    min-height: 48px;
    overflow: hidden;
}
.sqw-carousel-btn {
    background: var(--sqw-secondary); border: none;
    width: var(--sqw-arrow-w); min-width: var(--sqw-arrow-w);
    min-height: 44px;       /* Apple/Google touch target minimum */
    padding: 0; cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0; border-radius: 0;
    transition: filter 0.12s; outline: none;
    color: var(--sqw-arrow-color, #ffffff);
    -webkit-tap-highlight-color: transparent;
}
@media (hover: hover) {
    .sqw-carousel-btn:hover { filter: brightness(0.85); }
}
.sqw-carousel-btn:active { filter: brightness(0.7); }
.sqw-carousel-btn svg {
    width: var(--sqw-arrow-fs); height: var(--sqw-arrow-fs);
    flex-shrink: 0; display: block; overflow: visible;
    pointer-events: none;
}
.sqw-carousel-outer { flex: 1; overflow: hidden; min-width: 0; touch-action: pan-y; }
.sqw-carousel-track {
    display: flex;
    transition: transform 0.48s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    will-change: transform;
}
.sqw-size-tab {
    flex-shrink: 0;
    width: var(--sqw-tab-w);
    min-width: var(--sqw-tab-w);
    padding: var(--sqw-tab-pad-v) 6px;
    font-size: clamp(13px, 1.5vw, var(--sqw-tab-fs));
    font-weight: 700;
    color: var(--sqw-tab-text); text-align: center;
    cursor: pointer; border-right: 1px solid rgba(0,0,0,0.12);
    user-select: none;
    transition: background 0.18s ease, color 0.18s ease;
    position: relative; white-space: nowrap;
    min-height: 48px;
    display: flex; align-items: center; justify-content: center;
    -webkit-tap-highlight-color: transparent;

}
@media (hover: hover) { .sqw-size-tab:hover { background: rgba(0,0,0,0.07); } }
.sqw-size-tab.is-selected { color: #FFFFFF; background: var(--sqw-tab-sel); }



.sqw-tab-dot {
    position: absolute; top: 4px; right: 5px;
    width: 6px; height: 6px;
    border-radius: 50%; background: var(--sqw-secondary);
}

/* ═══════════════════════════════════════════════════════════
   DETAIL PANEL — mobile first, then desktop side-by-side
   ═══════════════════════════════════════════════════════════ */
.sqw-detail {
    background: var(--sqw-bg);
    color: var(--sqw-text);
    display: flex;
    flex-direction: column;
}

/* Image: compact on mobile with 4:3 aspect ratio */
.sqw-detail-image-wrap {
    background: var(--sqw-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    /* Fixed height instead of aspect-ratio: some WebKit/Safari versions
       mis-resolve aspect-ratio combined with min-height/max-height on the
       same box under overflow:hidden, collapsing the rendered height and
       clipping the top/bottom of the image — invisible in Chrome's mobile
       emulation (Blink doesn't have this bug), only visible on a real
       iPhone/Safari. A plain fixed height sidesteps the whole class of bug. */
    height: 220px;
    overflow: hidden;
    border-bottom: 1px solid var(--_border);
    flex-shrink: 0;
    position: relative;
}
.sqw-detail-image-wrap img {
    display: block;
    max-width: 100%; max-height: 100%;
    width: auto; height: auto;
    object-fit: contain;
    object-position: center;
}
.sqw-detail-icon-fallback {
    display: flex; align-items: center; justify-content: center;
    width: 100%; height: 100%;
    position: absolute; inset: 0;
}
.sqw-detail-icon-fallback svg { width: 80px; height: 80px; opacity: 0.4; }

.sqw-offer-badge {
    position: absolute; top: 8px; right: 8px;
    background: var(--sqw-secondary); color: #fff;
    font-size: 12px; font-weight: 800;
    padding: 3px 8px; border-radius: 3px;
    text-transform: uppercase; letter-spacing: .05em;
    box-shadow: 0 2px 8px rgba(0,0,0,0.3); z-index: 2;
    animation: sqwPop 0.22s cubic-bezier(.4,0,.2,1);
}
@keyframes sqwPop {
    from { transform: scale(0.75); opacity: 0; }
    to   { transform: scale(1); opacity: 1; }
}

/* Info: centred, compact padding on mobile */
.sqw-detail-info {
    padding: 1.25rem 1.25rem 1.5rem;
    text-align: center;
    display: flex; flex-direction: column; align-items: center;
    transition: opacity 0.22s ease, transform 0.22s ease;
}
.sqw-detail-info.is-fading { opacity: 0; transform: translateY(6px); transition: opacity 0.18s ease, transform 0.18s ease; }

.sqw-detail-info h2 {
    font-size: clamp(20px, 4.5vw, var(--sqw-title-fs));
    font-weight: 800; margin-bottom: 6px;
    letter-spacing: -.02em; line-height: 1.2;
    color: var(--sqw-unit-heading, #ffffff);
}
.sqw-detail-info .sqw-desc {
    font-size: clamp(13px, 2vw, var(--sqw-desc-fs));
    max-width: 480px;
    color: var(--sqw-unit-desc, var(--_muted));
}
.sqw-detail-info .sqw-dims {
    font-size: clamp(13px, 1.5vw, var(--sqw-dims-fs));
    margin-top: 3px;
    color: var(--sqw-unit-dims, var(--_faint));
}

.sqw-offer-text {
    display: inline-flex; align-items: center; gap: 5px;
    margin-top: 8px;
    /* Solid brand-secondary background with white text — guarantees
       contrast whatever the site's secondary colour is. The previous
       version hardcoded a red-tinted background (Container Self Store's
       literal red hex) while colouring the TEXT from --sqw-secondary,
       so any brand with a dark secondary colour (e.g. My Own Space's
       dark blue-grey) rendered dark text on a near-black tint —
       effectively invisible. */
    background: var(--sqw-secondary); color: #fff;
    font-size: 13px; font-weight: 700;
    padding: 3px 10px; border-radius: 4px;
    border: 1px solid rgba(255,255,255,0.18);
}
.sqw-offer-text::before { content: '★'; font-size: 13px; }

.sqw-price-preview {
    margin-top: 10px;
    font-size: clamp(24px, 7vw, var(--sqw-price-fs));
    font-weight: 900;
    color: var(--sqw-unit-price-col, var(--sqw-primary));
    line-height: 1; letter-spacing: -.03em;
}
.sqw-price-preview small {
    font-size: 0.34em;
    font-weight: 400; margin-left: 3px; letter-spacing: 0;
    color: var(--sqw-price-label, rgba(245,200,0,0.65));
}

/* CTA — full width on mobile, auto on desktop */
.sqw-cta-btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    background: var(--sqw-cta-bg); color: var(--sqw-cta-text);
    border: none; border-radius: var(--sqw-cta-radius);
    padding: var(--sqw-cta-pad-v) var(--sqw-cta-pad-h);
    font-size: clamp(13px, 2vw, var(--sqw-cta-fs));
    font-weight: 800; cursor: pointer;
    margin-top: 14px; transition: background 0.14s, transform 0.1s;
    letter-spacing: .03em; text-transform: uppercase;
    width: 100%; max-width: 100%;
    min-height: 48px;
    -webkit-tap-highlight-color: transparent;
}
@media (hover: hover) {
    .sqw-cta-btn:hover { background: var(--sqw-cta-hover-bg, var(--sqw-cta-bg)); }
}
.sqw-cta-btn:active { transform: scale(0.97); }
.sqw-cta-arrow {
    width: 22px; height: 22px;
    background: rgba(0,0,0,0.20);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 12px; font-style: normal; flex-shrink: 0;
}

/* Step footer back strip */
.sqw-step-footer {
    background: var(--sqw-bg);
    border-top: 1px solid rgba(255,255,255,0.10);
    padding: 8px 1.25rem;
    display: flex; align-items: center;
}
@media (min-width: 480px) { .sqw-step-footer { padding: 10px 1.75rem; } }
@media (min-width: 640px) { .sqw-step-footer { padding: 10px 2.25rem; } }

.sqw-prestep-back-btn {
    background: none !important; border: none !important;
    border-radius: 0 !important; box-shadow: none !important;
    padding: 0 !important; margin: 0 !important;
    min-height: 0 !important; width: auto !important;
    font-size: 12px !important; font-weight: 500 !important;
    letter-spacing: .02em !important; text-transform: none !important;
    color: rgba(255,255,255,0.50) !important;
    cursor: pointer !important;
    transition: color 0.15s !important;
    -webkit-appearance: none;
    display: inline-flex !important; align-items: center !important; gap: 4px !important;
}
.sqw-prestep-back-btn:hover  { color: var(--sqw-text) !important; }
.sqw-prestep-back-btn:active { transform: none !important; }
.sqw-prestep-back-btn.sqw-back-btn {
    border: none !important; padding: 0 !important;
    min-height: 0 !important; width: auto !important;
    border-radius: 0 !important; background: none !important;
}

/* ── Desktop: image left, info right ── */
@media (min-width: 600px) {
    .sqw-detail { flex-direction: row; min-height: 320px; }
    .sqw-detail-image-wrap {
        width: 40%; min-width: 200px;
        height: auto;
        align-self: stretch; flex-shrink: 0;
        border-bottom: none; border-right: 1px solid var(--_border);
    }
    .sqw-detail-image-wrap img {
        width: 100%; height: 100%;
        max-width: none; max-height: none;
        object-fit: contain;
    }
    .sqw-detail-info {
        flex: 1; text-align: left; align-items: flex-start;
        padding: 1.75rem 2rem; justify-content: center;
    }
    .sqw-cta-btn { width: auto; max-width: 340px; }
    .sqw-detail-icon-fallback { position: absolute; inset: 0; }
}
@media (min-width: 768px) {
    .sqw-detail { min-height: 360px; }
    .sqw-detail-image-wrap { width: 42%; }
    .sqw-detail-info { padding: 2rem 2.25rem; }
}
@media (min-width: 960px) {
    .sqw-detail { min-height: 400px; }
    .sqw-detail-image-wrap { width: 44%; }
    .sqw-detail-info { padding: 2.25rem 2.5rem; }
}

/* ═══════════════════════════════════════════════════════════
   FORM PANEL
   ═══════════════════════════════════════════════════════════ */
.sqw-panel {
    background: var(--sqw-bg); color: var(--sqw-text);
    padding: 1rem 1rem; display: none;
}
.sqw-panel.is-visible { display: block; }
@media (min-width: 480px) { .sqw-panel { padding: 1.25rem 1.25rem; } }
@media (min-width: 768px) { .sqw-panel { padding: 1.5rem 1.5rem; } }
/* Reveal panel: white background at top (matches browse section), then each inner section controls its own bg */
#sqw-reveal-panel { padding: 0 !important; margin-top: 0 !important; background: var(--sqw-bg) !important; }
@media (min-width: 768px) {
    #sqw-reveal-panel, #sqw-booking-panel {
        max-width: 640px;
        margin-left: auto !important;
        margin-right: auto !important;
    }
}

.sqw-panel h3 {
    font-size: clamp(15px, 2.5vw, 18px) !important;
    font-weight: 800 !important; margin-bottom: 0.65rem !important; margin-top: 0 !important;
    border-bottom: 2px solid var(--sqw-primary) !important;
    padding-bottom: 0.45rem !important; letter-spacing: -.01em !important;
    color: var(--sqw-form-heading, var(--sqw-text)) !important;
    text-transform: none !important;
}

/* 1 column on mobile, 2 on tablet+ */
.sqw-form-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
}
@media (min-width: 480px) {
    .sqw-form-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
}

.sqw-field { display: flex; flex-direction: column; gap: 4px; }
.sqw-field-hint {
    font-size: 13px !important;
    color: rgba(255,255,255,0.85) !important;
    line-height: 1.4 !important;
    font-style: italic !important;
    text-transform: none !important;
}
.sqw-field.full { grid-column: 1 / -1; }

.sqw-field label {
    font-size: 13px !important; font-weight: 700 !important;
    text-transform: uppercase !important; letter-spacing: .07em !important;
    /* Solid white: the previous rgba(255,255,255,0.50) was too dim to read */
    color: #ffffff !important;
    font-style: normal !important;
    line-height: 1.3 !important;
}
/* When the field uses placeholder-as-label (no separate <label> element)
   the field block needs no internal gap. */
.sqw-field-no-label { gap: 0 !important; }

.sqw-field input,
.sqw-field textarea {
    background: var(--sqw-field-bg, rgba(255,255,255,0.07)) !important;
    border: 1.5px solid var(--sqw-field-border, rgba(255,255,255,0.35)) !important;
    border-radius: var(--sqw-field-radius) !important;
    color: #ffffff !important;
    /* Always ≥ 16px to prevent iOS zoom on focus */
    font-size: 16px !important;
    font-weight: 400 !important;
    padding: 11px 14px !important; width: 100% !important; outline: none !important;
    transition: border-color 0.15s, box-shadow 0.15s !important;
    -webkit-appearance: none !important;
    -webkit-text-fill-color: #ffffff !important;
    background-clip: padding-box !important;
    min-height: 46px !important;
    box-sizing: border-box !important;
    font-family: inherit !important;
    text-transform: none !important;
    letter-spacing: normal !important;
}
.sqw-field input:focus,
.sqw-field textarea:focus {
    border-color: var(--sqw-primary);
    box-shadow: 0 0 0 3px rgba(255,204,0,0.22);
    outline: none;
}
/* ── Autofill fix ──────────────────────────────────────────────────────────
   Chrome/Safari override the field background + text colour when autofill
   populates a field. Without a fix the cell flashes to a solid black/white
   box and the white text becomes invisible. */
.sqw-field input:-webkit-autofill,
.sqw-field input:-webkit-autofill:hover,
.sqw-field input:-webkit-autofill:focus,
.sqw-field input:-webkit-autofill:active,
.sqw-field textarea:-webkit-autofill,
.sqw-field textarea:-webkit-autofill:hover,
.sqw-field textarea:-webkit-autofill:focus {
    -webkit-box-shadow: 0 0 0 1000px #1a1a1a inset !important;
            box-shadow: 0 0 0 1000px #1a1a1a inset !important;
    -webkit-text-fill-color: #ffffff !important;
            color: #ffffff !important;
    caret-color: #ffffff !important;
    transition: background-color 600000s 0s, color 600000s 0s !important;
    background-color: #1a1a1a !important;
    background-clip: content-box !important;
}
/* Placeholder acts as the field label in the simplified form style — bright
   enough to be legible, slightly dimmer than user-typed text. */
.sqw-field input::placeholder,
.sqw-field textarea::placeholder {
    color: rgba(255,255,255,0.65) !important;
    -webkit-text-fill-color: rgba(255,255,255,0.65) !important;
    opacity: 1 !important;
    font-weight: 400 !important;
    letter-spacing: normal !important;
}
.sqw-field textarea { resize: vertical !important; min-height: 72px !important; }

.sqw-field input[type="date"] {
    color: var(--sqw-input-text, var(--sqw-text));
    -webkit-text-fill-color: var(--sqw-input-text, var(--sqw-text));
}
.sqw-field input[type="date"]::-webkit-calendar-picker-indicator {
    filter: invert(1) brightness(2);
    opacity: 0.75; cursor: pointer; padding-right: 4px;
    width: 24px; height: 24px;
}
.sqw-field input[type="date"]::-webkit-calendar-picker-indicator:hover { opacity: 1; }

/* Form actions: stacked on mobile, row on tablet */
.sqw-form-actions {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin-top: 0.75rem;
}

.sqw-submit-btn {
    background: var(--sqw-submit-bg) !important; color: var(--sqw-submit-text) !important;
    border: none !important; border-radius: var(--sqw-submit-radius) !important;
    padding: 12px 24px !important;
    font-size: 14px !important; font-weight: 800 !important;
    font-family: inherit !important;
    text-transform: uppercase !important; letter-spacing: .04em !important;
    transition: filter 0.15s !important; -webkit-appearance: none !important;
    min-height: 46px !important;
    cursor: pointer !important;
    -webkit-tap-highlight-color: transparent !important;
    flex: 1 0 auto;
}
@media (hover: hover) {
    .sqw-submit-btn:hover { background: var(--sqw-submit-hover-bg, var(--sqw-submit-bg)); }
}
.sqw-submit-btn:disabled { opacity: 0.55; cursor: wait; }

.sqw-back-btn {
    background: transparent !important;
    border: 1.5px solid rgba(255,255,255,0.30) !important;
    color: rgba(255,255,255,0.75) !important;
    border-radius: var(--sqw-back-radius) !important;
    padding: 12px 20px !important; font-size: 14px !important;
    font-family: inherit !important; font-weight: 600 !important;
    cursor: pointer !important; -webkit-appearance: none !important;
    min-height: 46px !important; text-align: center !important;
    -webkit-tap-highlight-color: transparent !important;
    text-transform: none !important;
    flex: 0 0 auto;
}
@media (hover: hover) {
    .sqw-back-btn:hover {
        border-color: var(--sqw-back-hover-border, var(--sqw-primary));
        color: var(--sqw-back-hover-text, var(--sqw-primary));
    }
}
.sqw-error {
    color: #cc2222; font-size: 13px; margin-top: 10px; display: none;
    padding: 8px 12px; background: rgba(204,34,34,0.08);
    border-radius: 5px; border: 1px solid rgba(204,34,34,0.25);
}

/* ═══════════════════════════════════════════════════════════
   PRICE REVEAL
   Layout: browse carousel → price card → confirm + actions → contact
   ═══════════════════════════════════════════════════════════ */

/* 1 ── Browse carousel ────────────────────────────────────────────────────── */
.sqw-reveal-browse {
    background: var(--sqw-bg);
    border-bottom: 1px solid rgba(255,255,255,0.10);
    padding: 0;
    margin: 0;
}
.sqw-reveal-browse-eyebrow {
    text-align: center;
    font-size: 12px; font-weight: 700;
    text-transform: uppercase; letter-spacing: .1em;
    color: #ffffff;
    opacity: 0.9;
    padding: 6px 0 3px;
    margin: 0;
}

/* 2 ── Price card ──────────────────────────────────────────────────────────── */
.sqw-reveal-image-wrap {
    background: var(--sqw-bg);
    display: flex; align-items: center; justify-content: center;
    width: 100%; max-width: 220px; margin: 0 auto 1rem;
    /* Fixed height instead of aspect-ratio — see .sqw-detail-image-wrap. */
    height: 165px;
    overflow: hidden; border-radius: 12px;
    border: 1px solid var(--_border);
    position: relative;
}
.sqw-reveal-image-wrap img {
    display: block; max-width: 100%; max-height: 100%;
    width: auto; height: auto; object-fit: contain; object-position: center;
}
.sqw-reveal-image-wrap .sqw-detail-icon-fallback {
    display: flex; align-items: center; justify-content: center;
    width: 100%; height: 100%; position: absolute; inset: 0;
}
.sqw-reveal-image-wrap .sqw-detail-icon-fallback svg { width: 60px; height: 60px; opacity: 0.4; }

.sqw-reveal-card {
    text-align: center;
    padding: 2rem 1.25rem 1.5rem;
    background: var(--sqw-bg);
    border-top: none;
}
@media (min-width: 480px) { .sqw-reveal-card { padding: 2.5rem 2rem 2rem; } }
.sqw-reveal-card,
.sqw-reveal-confirm,
.sqw-reveal-eyebrow {
    font-size: 12px !important; font-weight: 700 !important;
    text-transform: uppercase !important; letter-spacing: .12em !important;
    color: var(--sqw-primary) !important;
    margin: 0 0 8px !important;
    opacity: 0.85;
}
.sqw-reveal-unit {
    font-size: clamp(17px, 3.5vw, 22px) !important;
    font-weight: 800 !important;
    margin: 0 0 1rem !important;
    color: var(--sqw-text) !important;
    letter-spacing: -.02em !important;
    text-transform: none !important;
    font-style: normal !important;
}
.sqw-reveal-divider {
    width: 32px; height: 3px;
    background: var(--sqw-primary);
    border-radius: 2px;
    margin: 0 auto 1rem;
    opacity: 0.6;
}

/* Price tag */
.sqw-price-tag { margin: 0; }
.sqw-price-tag .sqw-reveal-label {
    display: block;
    font-size: 12px; font-weight: 600;
    text-transform: uppercase; letter-spacing: .08em;
    color: #ffffff !important;
    margin-bottom: 6px !important;
    letter-spacing: .10em !important;
    text-transform: uppercase !important;
}
.sqw-price-tag .sqw-reveal-number {
    display: block;
    font-size: clamp(44px, 14vw, var(--sqw-reveal-price-fs));
    font-weight: 900;
    color: var(--sqw-reveal-number-col, var(--sqw-primary)) !important;
    line-height: 1 !important; letter-spacing: -.04em !important;
    text-transform: none !important;
}
.sqw-price-tag .sqw-reveal-freq {
    display: block;
    font-size: clamp(14px, 3vw, 18px);
    font-weight: 400;
    color: rgba(255,255,255,0.90) !important;
    margin-top: 6px !important;
    text-transform: none !important;
    font-style: normal !important;
}

/* 3 ── Confirmation + actions ──────────────────────────────────────────────── */
.sqw-reveal-confirm {
    text-align: center;
    padding: 1.5rem 1.25rem 1.25rem;
    border-top: 1px solid rgba(255,255,255,0.10);
    background: var(--sqw-bg) !important;
}
@media (min-width: 480px) { .sqw-reveal-confirm { padding: 1.75rem 2rem 1.5rem; } }

.sqw-reveal-body {
    font-size: 14px !important;
    font-weight: 400 !important;
    line-height: 1.7 !important;
    color: #ffffff !important;
    text-transform: none !important;
    font-style: normal !important;
    letter-spacing: normal !important;
    max-width: 360px;
    margin: 0 auto 1.25rem;
}

/* Actions: Book Now + Restart — always side by side */
.sqw-reveal-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 10px;
}
/* On mobile, keep Book Now reachable without scrolling — pin the action
   row to the bottom of the viewport once the reveal panel is visible. */
@media (max-width: 768px) {
    .sqw-reveal-confirm {
        padding-bottom: calc(1rem + 68px) !important;
    }
    .sqw-reveal-actions {
        position: sticky;
        bottom: 0;
        z-index: 20;
        background: var(--sqw-bg);
        padding: 10px 12px;
        margin: 0 -12px;
        box-shadow: 0 -6px 16px rgba(0,0,0,0.35);
    }
    .sqw-booknow-btn, .sqw-restart-btn {
        flex: 1 1 0;
        min-width: 0;
    }
}

.sqw-restart-btn {
    background: transparent !important;
    border: 2px solid rgba(255,255,255,0.50) !important;
    color: #ffffff !important;
    border-radius: 6px !important;
    padding: 14px 32px !important;
    font-size: 14px !important; font-weight: 700 !important; font-family: inherit !important;
    letter-spacing: .05em !important; text-transform: uppercase !important;
    cursor: pointer !important; -webkit-appearance: none !important;
    min-height: 52px !important; height: auto !important; line-height: 1 !important;
    transition: border-color 0.15s, color 0.15s;
    -webkit-tap-highlight-color: transparent;
    box-sizing: border-box !important;
}
@media (hover: hover) {
    .sqw-restart-btn:hover {
        border-color: rgba(255,255,255,0.7) !important;
        color: #fff !important;
    }
}

/* 4 ── Contact strip ────────────────────────────────────────────────────────── */
.sqw-reveal-contact {
    text-align: center;
    padding: 1rem 1.25rem 1.25rem;
    background: var(--sqw-bg) !important;
    border-top: 1px solid rgba(255,255,255,0.10);
    /* full-width strip — no max-width, no rounded card */
    width: 100%;
    box-sizing: border-box;
}
.sqw-reveal-contact-label {
    font-size: 12px !important; font-weight: 700 !important;
    text-transform: uppercase !important; letter-spacing: .1em !important;
    color: #ffffff !important;
    opacity: 0.9;
    margin: 0 0 8px !important;
}
/* One line: phone · email */
.sqw-reveal-contact-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 6px 16px;
    margin-bottom: 6px;
}
.sqw-reveal-contact-address {
    font-size: 12px !important;
    color: rgba(255,255,255,0.85) !important;
    text-transform: none !important;
    font-style: normal !important;
    font-weight: 400 !important;
    line-height: 1.45;
    margin-top: 6px;
    padding-top: 6px;
    border-top: 1px solid rgba(255,255,255,0.07);
}
.sqw-reveal-contact-link {
    display: inline-flex !important;
    align-items: center;
    gap: 7px;
    color: #ffffff !important;
    text-decoration: none !important;
    font-size: 14px; font-weight: 600;
    opacity: 0.8;
    transition: opacity 0.15s;
    white-space: nowrap;
}
.sqw-reveal-contact-link:hover { opacity: 1 !important; color: #ffffff !important; }
.sqw-reveal-phone::before,
.sqw-reveal-email::before {
    content: '';
    display: inline-block;
    width: 15px; height: 15px;
    background: var(--sqw-primary);
    flex-shrink: 0;
    mask-size: contain; -webkit-mask-size: contain;
    mask-repeat: no-repeat; -webkit-mask-repeat: no-repeat;
}
.sqw-reveal-phone::before {
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='currentColor'%3E%3Cpath d='M6.62 10.79c1.44 2.83 3.76 5.14 6.59 6.59l2.2-2.2c.27-.27.67-.36 1.02-.24 1.12.37 2.33.57 3.57.57.55 0 1 .45 1 1V20c0 .55-.45 1-1 1-9.39 0-17-7.61-17-17 0-.55.45-1 1-1h3.5c.55 0 1 .45 1 1 0 1.25.2 2.45.57 3.57.11.35.03.74-.25 1.02l-2.2 2.2z'/%3E%3C/svg%3E");
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='currentColor'%3E%3Cpath d='M6.62 10.79c1.44 2.83 3.76 5.14 6.59 6.59l2.2-2.2c.27-.27.67-.36 1.02-.24 1.12.37 2.33.57 3.57.57.55 0 1 .45 1 1V20c0 .55-.45 1-1 1-9.39 0-17-7.61-17-17 0-.55.45-1 1-1h3.5c.55 0 1 .45 1 1 0 1.25.2 2.45.57 3.57.11.35.03.74-.25 1.02l-2.2 2.2z'/%3E%3C/svg%3E");
}
.sqw-reveal-email::before {
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='currentColor'%3E%3Cpath d='M20 4H4c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zm0 4l-8 5-8-5V6l8 5 8-5v2z'/%3E%3C/svg%3E");
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='currentColor'%3E%3Cpath d='M20 4H4c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zm0 4l-8 5-8-5V6l8 5 8-5v2z'/%3E%3C/svg%3E");
}


/* Reveal browse carousel — on white background, use primary colour buttons */
#sqw-reveal-carousel .sqw-carousel-btn {
    background: var(--sqw-primary);
    color: #111;
    border-color: var(--sqw-primary);
}
/* Reveal arrows are dark because the buttons are yellow. We override the
   inline white stroke from the SVG's own style="" with !important at a more
   specific selector. */
#sqw-reveal-carousel .sqw-carousel-btn svg polyline,
#sqw-reveal-carousel .sqw-carousel-btn svg path {
    stroke: #111111 !important;
}

/* ═══════════════════════════════════════════════════════════
   ARROW SAFETY NET — guarantees visibility across themes
   ═══════════════════════════════════════════════════════════
   Some WP themes set `button svg { display:none }`, others apply
   `overflow:hidden` or collapse `min-width` on nav buttons. These rules
   force the carousel arrow buttons to render even under hostile CSS. */
.sqw-widget .sqw-carousel-btn {
    min-width: 40px !important;
    min-height: 44px !important;
    overflow: visible !important;
    visibility: visible !important;
    opacity: 1 !important;
}
.sqw-widget .sqw-carousel-btn svg {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    width: 22px !important;
    height: 22px !important;
}

/* ═══════════════════════════════════════════════════════════
   BOOK NOW — matches restart button in reveal actions
   ═══════════════════════════════════════════════════════════ */
.sqw-booknow-wrap {
    display: contents; /* let the button be a direct flex child of sqw-reveal-actions */
}
.sqw-booknow-btn {
    display: inline-flex !important; align-items: center !important; justify-content: center !important; gap: 8px;
    background: var(--sqw-cta-bg, var(--sqw-primary)) !important;
    color: var(--sqw-cta-text, #111) !important;
    border: 2px solid var(--sqw-cta-bg, var(--sqw-primary)) !important;
    border-radius: 6px !important;
    padding: 14px 32px !important;
    font-size: 14px !important; font-weight: 700 !important; font-family: inherit !important;
    text-decoration: none !important; text-transform: uppercase !important; letter-spacing: .05em !important;
    cursor: pointer !important; min-height: 52px !important; height: auto !important;
    line-height: 1 !important;
    transition: filter 0.15s;
    -webkit-tap-highlight-color: transparent;
    box-sizing: border-box !important;
}
@media (hover: hover) {
    .sqw-booknow-btn:hover { filter: brightness(0.9) !important; }
}

/* ═══════════════════════════════════════════════════════════
   LOCATION SELECTOR
   ═══════════════════════════════════════════════════════════ */
.sqw-location-step {
    background: var(--sqw-bg);
    padding: 1.25rem 1.25rem 1.75rem;
}
@media (min-width: 480px) { .sqw-location-step { padding: 1.75rem 1.75rem 2.25rem; } }
@media (min-width: 768px) { .sqw-location-step { padding: 2rem 2rem 2.5rem; } }

.sqw-location-prompt {
    font-size: clamp(15px, 2.5vw, 18px);
    font-weight: 700; margin-bottom: 1rem;
    color: var(--sqw-text); letter-spacing: -.01em;
}
.sqw-location-grid {
    display: grid;
    /* 120px minimum → 2 cols even at 280px content width */
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: 10px;
}
@media (min-width: 480px) {
    .sqw-location-grid { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 12px; }
}
@media (min-width: 768px) {
    .sqw-location-grid { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 16px; }
}
.sqw-location-card {
    background: rgba(255,255,255,0.08);
    border: 2px solid rgba(255,255,255,0.22);
    border-radius: 10px; padding: 12px 14px; cursor: pointer;
    display: flex; flex-direction: column; gap: 4px;
    transition: border-color 0.18s, background 0.18s;
    text-align: left;
    min-height: 56px;
    -webkit-tap-highlight-color: transparent;
}
@media (hover: hover) {
    .sqw-location-card:hover {
        border-color: var(--sqw-primary);
        background: rgba(245,200,0,0.12);
        transform: translateY(-2px);
    }
}
.sqw-location-card.is-selected {
    border-color: var(--sqw-primary);
    background: rgba(245,200,0,0.18);
}
.sqw-location-card:active { transform: scale(0.98); }
.sqw-location-icon { font-size: 18px; line-height: 1; display: block; }
.sqw-location-card-name {
    font-size: clamp(13px, 2vw, 15px);
    font-weight: 700; color: var(--sqw-text); display: block;
}
.sqw-location-card-addr { font-size: 13px; color: var(--_faint, #999); display: block; line-height: 1.3; }
.sqw-location-card-desc { font-size: 12px; color: var(--_faint, #999); display: block; }

/* ═══════════════════════════════════════════════════════════
   STORAGE TYPE STEP
   ═══════════════════════════════════════════════════════════ */
.sqw-type-step {
    background: var(--sqw-bg);
    padding: 1.25rem 1.25rem 1.75rem;
}
@media (min-width: 480px) { .sqw-type-step { padding: 1.75rem 1.75rem 2.25rem; } }
@media (min-width: 768px) { .sqw-type-step { padding: 2rem 2rem 2.5rem; } }

.sqw-type-prompt {
    font-size: clamp(15px, 2.5vw, 18px);
    font-weight: 700; margin-bottom: 1rem;
    color: var(--sqw-text); letter-spacing: -.01em;
}

.sqw-type-grid {
    display: grid;
    /* 120px minimum → 2 cards at 280px content width */
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: 10px;
}
@media (min-width: 480px) {
    .sqw-type-grid { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 14px; }
}
@media (min-width: 768px) {
    .sqw-type-grid { grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 16px; }
}

.sqw-type-card {
    background: var(--sqw-type-card-bg, rgba(255,255,255,0.08));
    border: 2px solid var(--sqw-type-card-border, rgba(255,255,255,0.22));
    border-radius: var(--sqw-type-card-radius, 10px);
    padding: 16px 12px;
    cursor: pointer;
    display: flex; flex-direction: column;
    align-items: center; justify-content: center;
    gap: 8px; text-align: center;
    transition: border-color 0.18s, background 0.18s, box-shadow 0.18s;
    min-height: 90px;
    -webkit-tap-highlight-color: transparent;
}
@media (hover: hover) {
    .sqw-type-card:hover {
        border-color: var(--sqw-primary);
        background: rgba(245,200,0,0.10);
        box-shadow: 0 4px 16px rgba(0,0,0,0.12);
        transform: translateY(-2px);
    }
}
.sqw-type-card.is-selected {
    border-color: var(--sqw-primary);
    background: var(--sqw-type-card-selected, rgba(245,200,0,0.18));
    box-shadow: 0 0 0 3px rgba(245,200,0,0.25);
}
.sqw-type-card:active { transform: scale(0.97); }

.sqw-type-icon {
    font-size: clamp(24px, 5vw, 36px);
    line-height: 1; display: block;
}
.sqw-type-name {
    display: block;
    font-size: clamp(12px, 1.8vw, 14px);
    font-weight: 700;
    color: var(--sqw-type-card-text, var(--sqw-text));
    line-height: 1.3;
}

/* ═══════════════════════════════════════════════════════════
   HOVER STATES — desktop only, avoids sticky touch hover
   ═══════════════════════════════════════════════════════════ */
@media (hover: hover) {
    .sqw-cta-btn:hover {
        filter: brightness(0.85) !important;
    }
    .sqw-submit-btn:hover {
        filter: brightness(1.1) !important;
    }
    .sqw-restart-btn:hover { border-color: var(--sqw-primary); }
}

/* Active/press states for touch */
.sqw-cta-btn:active,
.sqw-submit-btn:active,
.sqw-restart-btn:active,
.sqw-booknow-btn:active { transform: scale(0.97); }
.sqw-back-btn:active { opacity: 0.7; }

/* Editor preview — disable interactions */
.sqw-editor-preview { pointer-events: none; }

/* ── Tab indicator arrow ─────────────────────────────────────────────────────
   A separate element rendered after .sqw-carousel in the DOM — completely
   outside the overflow:hidden containers so it's never clipped.
   JS positions it by setting style.left on .sqw-tab-indicator-arrow.
──────────────────────────────────────────────────────────────────────────── */
.sqw-tab-indicator {
    position: relative;
    height: 0;             /* zero height — purely decorative overlay */
    overflow: visible;
    pointer-events: none;
    z-index: 10;
}
.sqw-tab-indicator-arrow {
    position: absolute;
    top: 0;
    /* left set by JS — default hidden offscreen */
    left: -999px;
    transform: translateX(-50%);
    width: 0; height: 0;
    border-left:  9px solid transparent;
    border-right: 9px solid transparent;
    border-top:   9px solid var(--sqw-primary);
    /* Smooth slide when switching tabs */
    transition: left 0.38s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    pointer-events: none;
}

/* ── "Where did you hear about us?" select field ─────────────────────────── */
.sqw-field select {
    background: var(--sqw-field-bg, var(--sqw-field-bg-default, rgba(255,255,255,0.08)));
    border: 1.5px solid var(--sqw-field-border, var(--sqw-field-border-default, rgba(255,255,255,0.25)));
    border-radius: var(--sqw-field-radius);
    color: var(--sqw-input-text, var(--sqw-text));
    font-size: max(16px, var(--sqw-field-fs));
    padding: 12px 14px;
    width: 100%;
    min-height: 48px;
    cursor: pointer;
    outline: none;
    -webkit-appearance: none;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23ffffff' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    background-size: 12px;
}
.sqw-field select:focus {
    border-color: var(--sqw-primary);
    box-shadow: 0 0 0 3px rgba(245,200,0,0.18);
}
.sqw-field select option {
    background: var(--sqw-bg, #111);
    color: var(--sqw-text, #fff);
}

/* ── "Where did you hear about us?" inline radio-style options ─────────────
   Matches the Container Self Store old-site style: a row of round dots with
   the option name next to each. More compact than pills, less visually loud. */
.sqw-field-label-plain {
    display: block;
    font-size: 13px;
    font-weight: 700;
    text-transform: none;
    letter-spacing: 0;
    color: #ffffff;
    margin: 0 0 6px;
}
.sqw-field-heard { gap: 0 !important; }

.sqw-heard-options {
    display: flex;
    flex-wrap: wrap;
    gap: 4px 18px;
    align-items: center;
    padding: 4px 0 0;
}
.sqw-heard-radio .sqw-heard-btn {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 4px 0;
    font-size: 14px;
    font-weight: 400;
    font-family: inherit;
    color: #ffffff;
    background: transparent;
    border: none;
    border-radius: 0;
    cursor: pointer;
    min-height: 28px;
    text-transform: none;
    letter-spacing: normal;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
    transition: color 0.12s;
}
.sqw-heard-radio .sqw-heard-dot {
    display: inline-block;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    border: 2px solid rgba(255,255,255,0.65);
    background: transparent;
    flex: 0 0 14px;
    transition: border-color 0.12s, background 0.12s, box-shadow 0.12s;
    position: relative;
    box-sizing: border-box;
}
@media (hover: hover) {
    .sqw-heard-radio .sqw-heard-btn:hover .sqw-heard-dot {
        border-color: var(--sqw-primary);
    }
    .sqw-heard-radio .sqw-heard-btn:hover {
        color: var(--sqw-primary);
    }
}
.sqw-heard-radio .sqw-heard-btn.is-selected .sqw-heard-dot {
    border-color: var(--sqw-primary);
    background: var(--sqw-primary);
    box-shadow: inset 0 0 0 2px #111;
}
.sqw-heard-radio .sqw-heard-btn.is-selected {
    color: var(--sqw-primary);
    font-weight: 600;
}
/* Shake the option group when user tries to submit without picking one */
.sqw-heard-options.is-missing {
    animation: sqw-shake 0.42s cubic-bezier(.36,.07,.19,.97) both;
}
.sqw-heard-options.is-missing .sqw-heard-dot {
    border-color: #ff4d4d !important;
}
@keyframes sqw-shake {
    10%, 90% { transform: translateX(-1px); }
    20%, 80% { transform: translateX(2px); }
    30%, 50%, 70% { transform: translateX(-4px); }
    40%, 60% { transform: translateX(4px); }
}

/* ═══════════════════════════════════════════════════════════
   MOBILE — ensure clean layout across all plugin screens
   ═══════════════════════════════════════════════════════════ */

/* Widget container: no horizontal overflow on any screen — applied in base rule */

/* Step bar: tighter on small screens */
@media (max-width: 399px) {
    .sqw-step { font-size: 12px !important; padding: 6px 4px !important; }
    .sqw-step span { display: none; }
}

/* Carousel: larger touch targets on mobile */
@media (max-width: 480px) {
    .sqw-carousel-btn { min-width: 44px !important; min-height: 52px !important; }
    .sqw-size-tab { min-height: 52px !important; font-size: 12px !important; }
}

/* Location grid: always 1 column on very small screens */
@media (max-width: 360px) {
    .sqw-location-grid { grid-template-columns: 1fr !important; }
    .sqw-type-grid     { grid-template-columns: 1fr !important; }
}

/* Form: single column always on mobile */
@media (max-width: 479px) {
    .sqw-form-grid { grid-template-columns: 1fr !important; }
    .sqw-field.full { grid-column: 1 !important; }
    .sqw-heard-options { gap: 6px !important; }
    .sqw-heard-btn { font-size: 12px !important; padding: 7px 12px !important; }
}

/* ═══════════════════════════════════════════════════════════
   LIST LAYOUT — matches Container Self Store old-site look
   ═══════════════════════════════════════════════════════════ */
.sqw-list {
    display: flex;
    flex-direction: column;
    gap: 0;
    background: var(--sqw-bg);
}
.sqw-list-item {
    display: grid;
    grid-template-columns: 1fr 260px;
    align-items: center;
    gap: 24px;
    padding: 28px 28px;
    border-bottom: 1px solid rgba(255,255,255,0.10);
    background: var(--sqw-bg);
}
.sqw-list-item:last-child { border-bottom: none; }

.sqw-list-info {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    min-width: 0;
}
.sqw-list-title {
    font-size: clamp(18px, 2.4vw, 24px);
    font-weight: 800;
    color: #ffffff;
    margin: 0 0 8px;
    letter-spacing: -.01em;
    line-height: 1.25;
}
.sqw-list-desc {
    font-size: 15px;
    color: #ffffff;
    opacity: 0.92;
    margin: 0 0 6px;
    line-height: 1.5;
}
.sqw-list-size {
    font-size: 13px;
    color: #ffffff;
    opacity: 0.75;
    margin: 0 0 10px;
    letter-spacing: .01em;
}
/* Deal / offer text renders as a subtitle heading matching the live site */
.sqw-list-deal {
    font-size: 14px;
    font-weight: 700;
    color: var(--sqw-primary);
    margin: 0 0 8px;
    line-height: 1.4;
    letter-spacing: 0;
    text-transform: none;
}
.sqw-list-offer {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    margin: 0 0 10px;
    background: rgba(232,0,61,0.14);
    color: var(--sqw-secondary);
    font-size: 13px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 4px;
    border: 1px solid rgba(232,0,61,0.30);
    letter-spacing: .04em;
    text-transform: uppercase;
}
.sqw-list-price {
    display: flex;
    align-items: baseline;
    gap: 8px;
    margin: 0 0 14px;
    flex-wrap: wrap;
}
.sqw-list-price-was {
    font-size: 16px;
    font-weight: 600;
    color: rgba(255,255,255,0.55);
    text-decoration: line-through;
    text-decoration-thickness: 1.5px;
}
.sqw-list-price-now {
    font-size: 26px;
    font-weight: 900;
    color: var(--sqw-primary);
    line-height: 1;
    letter-spacing: -.02em;
}
.sqw-list-price-label {
    font-size: 13px;
    color: #ffffff;
    opacity: 0.75;
    font-weight: 400;
}

.sqw-list-select {
    background: var(--sqw-primary);
    color: var(--sqw-cta-text, #111111);
    border: none;
    border-radius: var(--sqw-cta-radius, 4px);
    padding: 12px 28px;
    font-size: 14px;
    font-weight: 800;
    font-family: inherit;
    text-transform: uppercase;
    letter-spacing: .04em;
    cursor: pointer;
    min-height: 44px;
    transition: filter 0.14s, transform 0.1s;
    -webkit-tap-highlight-color: transparent;
    -webkit-appearance: none;
}
@media (hover: hover) {
    .sqw-list-select:hover { filter: brightness(1.08); }
}
.sqw-list-select:active { transform: scale(0.97); }

.sqw-list-image {
    width: 100%;
    aspect-ratio: 4 / 3;
    background: rgba(255,255,255,0.04);
    border-radius: 8px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}
.sqw-list-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.sqw-list-image-fallback {
    width: 60%;
    height: 60%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0.5;
}
.sqw-list-image-fallback svg {
    width: 100%;
    height: 100%;
}

.sqw-list-empty {
    padding: 40px 28px;
    color: #ffffff;
    opacity: 0.8;
    text-align: center;
    font-size: 15px;
}

/* "Not sure what size you need?" footer — matches the live-site CTA */
.sqw-list-footer {
    text-align: center;
    padding: 24px 20px;
    border-top: 1px solid rgba(255,255,255,0.10);
    color: #ffffff;
    font-size: 15px;
    line-height: 1.6;
}
.sqw-list-footer-title {
    display: block;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 4px;
    font-size: 16px;
}
.sqw-list-footer-cta {
    display: block;
    color: rgba(255,255,255,0.85);
}
.sqw-list-footer-phone {
    color: var(--sqw-primary) !important;
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
}
@media (hover: hover) {
    .sqw-list-footer-phone:hover { text-decoration: underline; }
}

/* Tablet: tighten image column */
@media (max-width: 768px) {
    .sqw-list-item {
        grid-template-columns: 1fr 180px;
        gap: 18px;
        padding: 22px 20px;
    }
    .sqw-list-title { font-size: 17px; }
    .sqw-list-desc  { font-size: 14px; }
}

/* Mobile: stack image above info, centred — matches the old-site mobile flow */
@media (max-width: 560px) {
    .sqw-list-item {
        grid-template-columns: 1fr;
        gap: 14px;
        padding: 20px 16px;
    }
    .sqw-list-info  { align-items: center; text-align: center; }
    .sqw-list-price { justify-content: center; }
    .sqw-list-image {
        order: -1;           /* image above info on mobile */
        max-width: 320px;
        margin: 0 auto;
        aspect-ratio: 16 / 10;
    }
    .sqw-list-select {
        width: 100%;
        max-width: 280px;
    }
}

/* ═══════════════════════════════════════════════════════════
   BOOKING STAGE PANEL — shown after Book Now is clicked
   ═══════════════════════════════════════════════════════════
   Uses the standard .sqw-panel display machinery (.is-visible → block).
   Styles below only cover the panel's unique internals. */
.sqw-booking-intro {
    font-size: 14px !important;
    color: #ffffff !important;
    opacity: 0.92;
    margin: 0 0 18px !important;
    line-height: 1.6;
    text-transform: none !important;
    letter-spacing: normal !important;
    font-style: normal !important;
    font-weight: 400 !important;
}
.sqw-booking-summary {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.14);
    border-radius: 8px;
    padding: 14px 18px;
    margin: 0 0 20px;
}
.sqw-booking-summary-row {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 16px;
    padding: 7px 0;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    font-size: 14px;
    line-height: 1.4;
}
.sqw-booking-summary-row:last-child {
    border-bottom: none;
}
.sqw-booking-summary-key {
    color: #ffffff;
    opacity: 0.7;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: .06em;
    font-weight: 600;
    flex-shrink: 0;
}
.sqw-booking-summary-val {
    color: #ffffff;
    font-weight: 600;
    text-align: right;
    word-break: break-word;
}
.sqw-booking-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
    margin-top: 20px;
}
.sqw-booking-link {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: var(--sqw-primary) !important;
    color: var(--sqw-cta-text, #111111) !important;
    border: none !important;
    border-radius: var(--sqw-cta-radius, 4px) !important;
    padding: 14px 28px !important;
    font-size: 15px !important;
    font-weight: 800 !important;
    text-transform: uppercase !important;
    letter-spacing: .04em !important;
    text-decoration: none !important;
    cursor: pointer !important;
    min-height: 48px !important;
    transition: filter 0.14s, transform 0.1s !important;
    -webkit-tap-highlight-color: transparent !important;
    flex: 1 1 auto;
    max-width: 100%;
}
@media (hover: hover) {
    .sqw-booking-link:hover { filter: brightness(1.08) !important; color: var(--sqw-cta-text, #111111) !important; }
}
.sqw-booking-link:active { transform: scale(0.98); }
@media (max-width: 480px) {
    .sqw-booking-actions { flex-direction: column; align-items: stretch; }
    .sqw-booking-link    { width: 100%; }
}

/* Form actions: stack vertically on very small screens */
@media (max-width: 380px) {
    .sqw-form-actions { flex-direction: column !important; }
    .sqw-submit-btn, .sqw-back-btn { width: 100% !important; }
}

/* ═══════════════════════════════════════════════════════════
   OFFER DISCOUNT — crossed-out base price next to discounted
   ═══════════════════════════════════════════════════════════ */
/* Unit card (carousel detail) — small strikethrough before the big price */
.sqw-price-was {
    display: inline-block;
    font-size: 0.48em;
    font-weight: 600;
    color: rgba(255,255,255,0.55);
    text-decoration: line-through;
    text-decoration-thickness: 1.5px;
    margin-right: 10px;
    letter-spacing: 0;
    vertical-align: middle;
}

/* Reveal panel — stack the "was" price above the discounted one */
.sqw-reveal-number .sqw-reveal-was {
    display: block;
    font-size: 0.35em;
    font-weight: 600;
    color: rgba(255,255,255,0.50) !important;
    text-decoration: line-through;
    text-decoration-thickness: 2px;
    letter-spacing: 0;
    margin-bottom: 2px;
    line-height: 1;
}
.sqw-reveal-number .sqw-reveal-now {
    display: block;
    color: var(--sqw-reveal-number-col, var(--sqw-primary)) !important;
    line-height: 1;
}

/* ═══════════════════════════════════════════════════════════
   PRIVACY NOTICE — footnote below the form
   ═══════════════════════════════════════════════════════════ */
.sqw-privacy-notice {
    margin-top: 12px !important;
    padding-top: 10px !important;
    border-top: 1px solid rgba(255,255,255,0.12) !important;
    font-size: 12.5px !important;
    line-height: 1.5 !important;
    color: rgba(255,255,255,0.80) !important;
    font-style: normal !important;
    text-transform: none !important;
    letter-spacing: normal !important;
    font-weight: 400 !important;
}
.sqw-privacy-notice strong {
    color: #ffffff !important;
    font-weight: 700 !important;
}
.sqw-privacy-link {
    color: var(--sqw-primary) !important;
    text-decoration: underline !important;
    font-weight: 600 !important;
}
.sqw-privacy-link:hover {
    opacity: 0.85 !important;
}

/* Reveal: tighter on mobile */
@media (max-width: 480px) {
    .sqw-reveal-card { padding: 1.5rem 1rem 1rem !important; }
    .sqw-price-tag .sqw-reveal-number { font-size: clamp(36px, 14vw, 52px) !important; }
    .sqw-reveal-confirm { padding: 1.25rem 1rem 1rem !important; }
    .sqw-reveal-actions { gap: 8px !important; }
    .sqw-booknow-btn, .sqw-restart-btn { padding: 13px 20px !important; font-size: 13px !important; }
    .sqw-reveal-contact { padding: 0.75rem 1rem 1rem !important; }
}

/* Detail panel: ensure image doesn't overflow on mobile */
@media (max-width: 480px) {
    .sqw-detail-layout { flex-direction: column !important; }
    .sqw-image-wrap, #sqw-image-wrap { max-width: 100% !important; }
}

/* Ensure no horizontal scroll from any element */
.sqw-widget *  { max-width: 100%; }
.sqw-widget img { height: auto; }

/* The offer shown twice on the quote step (client 2026-07-30): keep the one inside
   the unit card (.sqw-offer-text) and hide the duplicate badge over the image. */
.sqw-offer-badge { display: none !important; }

/* sqw-heard-spacing-20260731 -------------------------------------------------
   "Where did you hear about us?" had gap:0 and no top margin, so its label sat
   flush against the phone field above it with no separation. */
.sqw-field.sqw-field-heard {
    margin-top: 18px;
}
.sqw-field.sqw-field-heard .sqw-field-label-plain {
    margin-bottom: 10px;
}
.sqw-field.sqw-field-heard .sqw-heard-options {
    padding-top: 2px;
}

/* sqw-help-order-20260731 -----------------------------------------------------
   On mobile the "Not sure what size you need?" call-out sat between the step bar
   and the form, pushing the form and its submit button down the page. .sqw-widget
   is a flex column and the call-out is a direct sibling of the panel, so ordering
   it last moves it below the form. Mobile only. */
/* Applies at ALL widths: the call-out belongs below the quoter, not above it. */
.sqw-widget .sqw-list-footer {
    order: 99;
    margin-top: 18px;
}
.sqw-widget .sqw-panel {
    order: 5;
}
@media (max-width: 767px) {
    .sqw-panel .sqw-form-grid {
        gap: 8px;
    }
    .sqw-panel .sqw-field {
        margin-bottom: 0;
    }
}
