@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Inter:wght@400;500;600;700;800&display=swap');

/* ============================================================
   ZEMO SIGN CUSTOMIZER — v2 visual system
   Palette: matte charcoal-black room, champagne gold signature
   glow, dark red CTA. Signature move: live ambient light-bleed
   behind the sign text, driven by the selected color.
   ============================================================ */

.zemo-sc-app{
    --zsc-black:#0B0B0C;
    --zsc-black-2:#161616;
    --zsc-charcoal:#1C2029;
    --zsc-charcoal-2:#232833;
    --zsc-gold:#D4AF37;
    --zsc-gold-bright:#F0D77B;
    --zsc-offwhite:#F5F3EE;
    --zsc-muted:#9A9CA3;
    --zsc-red:#9B2C2C;
    --zsc-red-bright:#C23B3B;
    --zsc-glow: #D4AF37;
    --zsc-radius: 10px;

    display:flex;
    flex-wrap:wrap;
    background: var(--zsc-black);
    color: var(--zsc-offwhite);
    font-family:'Inter', Arial, sans-serif;
    border:1px solid #26262a;
    border-radius: 14px;
    overflow:hidden;
    max-width:1400px;
    margin:0 auto;
    box-shadow: 0 30px 80px -30px rgba(0,0,0,.7);
}

.zemo-sc-eyebrow{
    font-family:'Bebas Neue', sans-serif;
    letter-spacing:.14em;
    color: var(--zsc-gold);
    font-size:12px;
}

/* ---------- Preview column (the "room") ---------- */

.zemo-sc-preview-col{
    flex:1 1 52%;
    min-width:340px;
    padding:26px;
    display:flex;
    flex-direction:column;
    gap:16px;
    background:
        radial-gradient(ellipse at 30% 10%, rgba(255,255,255,.03), transparent 55%),
        var(--zsc-black);
}

.zemo-sc-preview-stage{
    position:relative;
    height:500px;
    border-radius: var(--zsc-radius);
    background:
        radial-gradient(ellipse at center, rgba(255,255,255,.05) 0%, transparent 60%),
        linear-gradient(180deg, #17181b 0%, #0c0d0e 100%);
    background-size:cover;
    background-position:center;
    display:flex;
    align-items:center;
    justify-content:center;
    overflow:hidden;
    box-shadow: inset 0 0 0 1px rgba(255,255,255,.05), inset 0 40px 80px rgba(0,0,0,.55);
}

/* signature ambient glow-bleed, color driven by JS custom property */
.zemo-sc-preview-stage::before{
    content:'';
    position:absolute;
    inset:-15%;
    background: radial-gradient(ellipse 55% 45% at center, var(--zsc-glow) 0%, transparent 68%);
    filter: blur(70px);
    opacity:.45;
    mix-blend-mode: screen;
    transition: background .5s ease, opacity .5s ease;
    pointer-events:none;
    z-index:0;
}
.zemo-sc-preview-stage.zemo-sc-off::before{ opacity:.06; }

/* subtle vignette so the glow reads like a real dark room */
.zemo-sc-preview-stage::after{
    content:'';
    position:absolute; inset:0;
    box-shadow: inset 0 0 140px 40px rgba(0,0,0,.75);
    pointer-events:none;
    z-index:1;
}

.zemo-sc-power-toggle{
    position:absolute;
    top:18px; left:18px;
    width:76px; height:34px;
    background: linear-gradient(180deg,#16171b,#0a0b0d);
    border:1px solid rgba(212,175,55,.4);
    border-radius:20px;
    cursor:pointer;
    z-index:4;
    padding:0;
    display:flex;
    align-items:center;
    justify-content:space-between;
    box-shadow: inset 0 2px 5px rgba(0,0,0,.6), 0 4px 12px rgba(0,0,0,.35);
    transition: border-color .2s ease;
}
.zemo-sc-power-toggle:hover{ border-color: rgba(212,175,55,.8); }
.zemo-sc-power-label{
    flex:0 0 auto; width:26px; text-align:center;
    font-family:'Bebas Neue', sans-serif; letter-spacing:.06em; font-size:11px;
    color:#52545c; z-index:2; pointer-events:none;
    transition: color .25s ease, text-shadow .25s ease;
}
.zemo-sc-power-on{ margin-left:6px; }
.zemo-sc-power-off{ margin-right:6px; }
.zemo-sc-power-knob{
    position:absolute; top:3px; left:3px;
    width:28px; height:28px;
    border-radius:50%;
    background: radial-gradient(circle at 35% 30%, #6a6c72, #333438);
    box-shadow:0 2px 6px rgba(0,0,0,.5);
    transition: transform .3s cubic-bezier(.34,1.56,.64,1), background .25s ease, box-shadow .25s ease;
    z-index:1;
}
.zemo-sc-power-toggle.on .zemo-sc-power-knob{
    transform: translateX(42px);
    background: radial-gradient(circle at 35% 30%, var(--zsc-gold-bright), var(--zsc-gold));
    box-shadow:0 0 16px rgba(212,175,55,.8), 0 2px 6px rgba(0,0,0,.4);
}
.zemo-sc-power-toggle.on .zemo-sc-power-on{ color: var(--zsc-gold-bright); text-shadow:0 0 8px rgba(212,175,55,.5); }
.zemo-sc-power-toggle.off .zemo-sc-power-off{ color:#dcdcdc; }

.zemo-sc-contact-card{
    border-style:dashed !important;
    background:transparent !important;
}
.zemo-sc-contact-card small{ color: var(--zsc-offwhite) !important; opacity:.75; }
.zemo-sc-contact-card.active{ border-color: var(--zsc-gold) !important; background: rgba(212,175,55,.08) !important; }

.zemo-sc-price-badge{
    position:absolute;
    top:18px; right:18px;
    background: rgba(10,10,11,.7);
    backdrop-filter: blur(6px);
    border:1px solid rgba(212,175,55,.35);
    padding:7px 14px;
    border-radius:20px;
    font-size:12px;
    letter-spacing:.02em;
    color: var(--zsc-muted);
    z-index:4;
}
.zemo-sc-price-badge #zemoScLivePrice{
    color: var(--zsc-gold-bright);
    font-weight:700;
    font-size:14px;
    margin-left:4px;
}

.zemo-sc-sign-text{
    position:relative;
    z-index:2;
    font-size:58px;
    text-align:center;
    padding:0 24px;
    transition: color .25s ease, font-size .2s ease, text-shadow .3s ease;
    word-break:break-word;
    max-width:100%;
    line-height:1.25;
}
.zemo-sc-sign-text.zemo-sc-lit{
    text-shadow:
        0 0 6px currentColor,
        0 0 18px currentColor,
        0 0 40px currentColor,
        0 0 80px currentColor;
}
.zemo-sc-sign-text.zemo-sc-dynamic{
    animation: zemoScChase 5s linear infinite;
}
@keyframes zemoScChase{
    0%{ filter:hue-rotate(0deg) saturate(1.3); }
    100%{ filter:hue-rotate(360deg) saturate(1.3); }
}

.zemo-sc-size-slider-wrap{
    display:flex; align-items:center; gap:12px; font-size:12px; color:var(--zsc-muted);
    font-family:'Bebas Neue', sans-serif; letter-spacing:.08em;
}
.zemo-sc-size-slider-wrap #zemoScWidthLabel{ color: var(--zsc-gold-bright); font-size:14px; }
.zemo-sc-size-slider-wrap input[type=range]{
    flex:1; -webkit-appearance:none; height:4px; border-radius:2px;
    background: linear-gradient(90deg, var(--zsc-gold) 0%, var(--zsc-gold) var(--zsc-fill, 50%), #333 var(--zsc-fill, 50%), #333 100%);
    outline:none;
}
.zemo-sc-size-slider-wrap input[type=range]::-webkit-slider-thumb{
    -webkit-appearance:none;
    width:16px; height:16px; border-radius:50%;
    background: radial-gradient(circle at 35% 30%, var(--zsc-gold-bright), var(--zsc-gold));
    box-shadow:0 0 8px rgba(212,175,55,.7);
    cursor:pointer;
    border:2px solid #0b0b0c;
}
.zemo-sc-size-slider-wrap input[type=range]::-moz-range-thumb{
    width:16px; height:16px; border-radius:50%; border:2px solid #0b0b0c;
    background: radial-gradient(circle at 35% 30%, var(--zsc-gold-bright), var(--zsc-gold));
    cursor:pointer;
}

.zemo-sc-bg-strip{ display:flex; gap:9px; overflow-x:auto; padding-bottom:2px; }
.zemo-sc-bg-thumb{
    width:66px; height:46px; border-radius:6px; background-size:cover; background-position:center;
    background-color:#222;
    cursor:pointer; border:2px solid transparent; flex:0 0 auto;
    transition: border-color .2s ease, transform .2s ease;
}
.zemo-sc-bg-thumb:hover{ transform: translateY(-2px); }
.zemo-sc-bg-thumb.active{ border-color: var(--zsc-gold); box-shadow:0 0 10px rgba(212,175,55,.4); }

/* ---------- Preview footer: badge / reset / contact note ---------- */

.zemo-sc-preview-footer{
    display:flex; align-items:center; flex-wrap:wrap; gap:12px;
    padding-top:14px; margin-top:2px; border-top:1px solid rgba(255,255,255,.06);
}
.zemo-sc-badge{
    font-family:'Bebas Neue', sans-serif; letter-spacing:.06em; font-size:12px;
    color: var(--zsc-gold-bright); border:1px solid rgba(212,175,55,.4);
    padding:5px 12px; border-radius:16px; background: rgba(212,175,55,.06);
}
.zemo-sc-reset-link{
    background:none; border:none; cursor:pointer; padding:0;
    font-family:'Inter', sans-serif; font-size:12.5px; font-weight:600;
    color: var(--zsc-red-bright); text-decoration:underline; text-underline-offset:3px;
}
.zemo-sc-reset-link:hover{ color:#e05252; }
.zemo-sc-contact-note{
    flex-basis:100%; margin:0; font-size:11.5px; color: var(--zsc-muted); font-style:italic; line-height:1.5;
}

/* ---------- "Consult us" style card handled inline above via .zemo-sc-contact-card ---------- */

.zemo-sc-size-grid{ grid-template-columns:repeat(auto-fill,minmax(84px,1fr)); }

/* ---------- Controls column ---------- */

.zemo-sc-controls-col{
    flex:1 1 48%;
    min-width:340px;
    background: linear-gradient(180deg, var(--zsc-charcoal) 0%, var(--zsc-charcoal-2) 100%);
    padding:28px 26px;
    max-height:720px;
    overflow-y:auto;
}
.zemo-sc-controls-col::-webkit-scrollbar{ width:6px; }
.zemo-sc-controls-col::-webkit-scrollbar-thumb{ background: rgba(212,175,55,.3); border-radius:3px; }

.zemo-sc-step{
    margin-bottom:24px;
    padding: 0 0 22px 18px;
    border-left: 2px solid rgba(212,175,55,.18);
    border-bottom:1px solid rgba(255,255,255,.05);
}
.zemo-sc-step:last-of-type{ border-bottom:none; }

.zemo-sc-step-head{
    display:flex; align-items:center; gap:12px;
    margin-bottom:14px;
    font-family:'Bebas Neue', sans-serif;
    font-size:19px;
    letter-spacing:.04em;
    text-transform:uppercase;
    color: var(--zsc-offwhite);
}
.zemo-sc-step-head span{
    background: linear-gradient(160deg, var(--zsc-gold-bright), var(--zsc-gold));
    color:#141414;
    width:26px; height:26px; border-radius:50%; flex:0 0 auto;
    display:flex; align-items:center; justify-content:center;
    font-family:'Inter', sans-serif; font-weight:800; font-size:12px;
    margin-left:-27px;
    box-shadow:0 0 0 4px var(--zsc-charcoal);
}

.zemo-sc-app textarea, .zemo-sc-app input[type=text], .zemo-sc-app input[type=email]{
    width:100%; background:#12151b; border:1px solid #383d47; color:#fff;
    padding:12px 14px; border-radius:8px; font-size:14px; margin-bottom:8px;
    box-sizing:border-box; font-family:'Inter', sans-serif;
    transition: border-color .2s ease, box-shadow .2s ease;
}
.zemo-sc-app textarea:focus, .zemo-sc-app input:focus{
    outline:none; border-color: var(--zsc-gold);
    box-shadow:0 0 0 3px rgba(212,175,55,.15);
}
.zemo-sc-app textarea::placeholder, .zemo-sc-app input::placeholder{ color:#6b6f78; }

.zemo-sc-option-grid{ display:grid; grid-template-columns:repeat(auto-fill,minmax(112px,1fr)); gap:9px; }

.zemo-sc-font-search{
    width:100%; background:#12151b; border:1px solid #383d47; color:#fff;
    padding:10px 14px; border-radius:8px; font-size:13px; margin-bottom:10px; box-sizing:border-box;
}
.zemo-sc-font-search:focus{ outline:none; border-color:var(--zsc-gold); box-shadow:0 0 0 3px rgba(212,175,55,.15); }
.zemo-sc-font-grid{ max-height:300px; overflow-y:auto; padding-right:4px; }
.zemo-sc-font-grid::-webkit-scrollbar{ width:6px; }
.zemo-sc-font-grid::-webkit-scrollbar-thumb{ background: rgba(212,175,55,.3); border-radius:3px; }
.zemo-sc-option-card{
    border:1px solid #383d47; border-radius:8px; padding:12px 10px; cursor:pointer;
    text-align:center; font-size:13px; background:#12151b;
    transition: border-color .18s ease, transform .18s ease, box-shadow .18s ease;
}
.zemo-sc-option-card:hover{ transform: translateY(-2px); border-color:#57596080; }
.zemo-sc-option-card.active{
    border-color: var(--zsc-gold);
    background: linear-gradient(160deg, rgba(212,175,55,.14), rgba(212,175,55,.04));
    box-shadow:0 0 0 1px rgba(212,175,55,.35), 0 6px 16px rgba(212,175,55,.12);
}
.zemo-sc-option-card small{ display:block; color: var(--zsc-gold-bright); margin-top:5px; font-family:'Bebas Neue', sans-serif; letter-spacing:.04em; font-size:12px; }

.zemo-sc-swatch-grid{ display:flex; flex-wrap:wrap; gap:12px; }
.zemo-sc-swatch{
    width:34px; height:34px; border-radius:50%; cursor:pointer;
    border:2px solid #2c2f36; position:relative;
    transition: transform .18s ease, border-color .18s ease;
}
.zemo-sc-swatch:hover{ transform: scale(1.1); }
.zemo-sc-swatch.active{
    border-color: var(--zsc-gold);
    box-shadow: 0 0 0 3px rgba(212,175,55,.25), 0 0 14px currentColor;
}

.zemo-sc-radio-list label{
    display:block; padding:10px 12px; cursor:pointer; font-size:14px; border-radius:8px;
    transition: background .15s ease;
}
.zemo-sc-radio-list label:hover{ background: rgba(255,255,255,.03); }
.zemo-sc-radio-list input{ accent-color: var(--zsc-gold); margin-right:6px; }
.zemo-sc-radio-list small{ display:block; color: var(--zsc-muted); font-size:12px; margin:3px 0 0 22px; line-height:1.4; }

.zemo-sc-toggle-pair{ display:flex; gap:10px; }
.zemo-sc-pill{
    flex:1; border:1px solid #383d47; border-radius:24px; padding:10px 14px;
    text-align:center; cursor:pointer; font-size:13px; transition: all .18s ease;
}
.zemo-sc-pill:has(input:checked){
    border-color: var(--zsc-gold);
    background: linear-gradient(160deg, rgba(212,175,55,.14), rgba(212,175,55,.04));
}
.zemo-sc-pill input{ accent-color: var(--zsc-gold); margin-right:4px; }
.zemo-sc-note{ font-size:12px; color: var(--zsc-muted); margin-top:10px; line-height:1.5; }

.zemo-sc-addon-list label{
    display:flex; justify-content:space-between; align-items:center;
    padding:10px 4px; font-size:14px; border-bottom:1px solid rgba(255,255,255,.04);
}
.zemo-sc-addon-list input[type=checkbox]{ accent-color: var(--zsc-gold); margin-right:8px; }
.zemo-sc-addon-list select{
    background:#12151b; color:#fff; border:1px solid #383d47; border-radius:6px; padding:5px 8px; font-size:12px;
}

.zemo-sc-total-bar{
    display:flex; justify-content:space-between; align-items:center;
    background: linear-gradient(160deg, #12151b, #0e1015);
    border:1px solid rgba(212,175,55,.25);
    padding:16px 18px; border-radius:10px; margin:20px 0 14px;
    font-size:13px; color: var(--zsc-muted);
}
.zemo-sc-total-amount{
    font-family:'Bebas Neue', sans-serif; letter-spacing:.03em;
    font-size:28px; color: var(--zsc-gold-bright);
    transition: transform .25s ease;
}
.zemo-sc-total-amount.zemo-sc-pulse{ transform: scale(1.12); }

.zemo-sc-cta-btn{
    position:relative;
    display:block; width:100%; overflow:hidden;
    background: #ffffff;
    color:#111111; border:1px solid rgba(0,0,0,.06); padding:16px;
    font-family:'Bebas Neue', sans-serif; font-size:17px; letter-spacing:.08em; text-transform:uppercase;
    border-radius:8px; cursor:pointer; text-align:center; text-decoration:none;
    box-shadow:0 10px 26px -10px rgba(0,0,0,.45);
    transition: transform .15s ease, box-shadow .15s ease, background .2s ease;
}
.zemo-sc-cta-btn::after{
    content:''; position:absolute; top:0; left:-60%; width:40%; height:100%;
    background: linear-gradient(120deg, transparent, rgba(212,175,55,.35), transparent);
    transform: skewX(-20deg);
    transition: left .55s ease;
}
.zemo-sc-cta-btn:hover{
    transform: translateY(-2px);
    background: var(--zsc-gold-bright);
    box-shadow:0 14px 32px -8px rgba(212,175,55,.55);
    color:#111;
}
.zemo-sc-cta-btn:hover::after{ left:130%; }

/* ---------- Modal ---------- */

.zemo-sc-modal{
    display:none; position:fixed; inset:0; background:rgba(6,6,7,.82); backdrop-filter: blur(4px);
    z-index:99999; align-items:center; justify-content:center; padding:20px;
}
.zemo-sc-modal.open{ display:flex; }
.zemo-sc-modal-inner{
    background: linear-gradient(180deg, var(--zsc-charcoal), var(--zsc-charcoal-2));
    border:1px solid rgba(212,175,55,.25);
    color:#fff; max-width:520px; width:100%; padding:30px;
    border-radius:12px; max-height:90vh; overflow-y:auto; position:relative;
    box-shadow:0 40px 90px -20px rgba(0,0,0,.7);
}
.zemo-sc-modal-section{ padding-bottom:24px; margin-bottom:24px; border-bottom:1px solid rgba(255,255,255,.08); }
.zemo-sc-modal-section:last-child{ padding-bottom:0; margin-bottom:0; border-bottom:none; }

.zemo-sc-modal-inner h3{
    font-family:'Bebas Neue', sans-serif; letter-spacing:.05em; font-size:19px; color:var(--zsc-gold-bright);
    margin:0 0 14px;
}
.zemo-sc-modal-close{
    position:absolute; top:14px; right:16px; background:none; border:none; color:var(--zsc-muted);
    font-size:24px; cursor:pointer; line-height:1; width:28px; height:28px; border-radius:50%;
    transition: background .15s ease, color .15s ease;
}
.zemo-sc-modal-close:hover{ color:#fff; background: rgba(255,255,255,.06); }
.zemo-sc-capture-preview{
    background:#000; border-radius:8px; padding:28px 20px; text-align:center; margin-bottom:14px;
    border:1px solid rgba(212,175,55,.2);
}
.zemo-sc-modal-price{
    display:flex; align-items:center; justify-content:space-between;
    background: rgba(212,175,55,.06); border:1px solid rgba(212,175,55,.2);
    border-radius:8px; padding:10px 16px; font-size:13px; color:var(--zsc-muted);
}
.zemo-sc-modal-price strong{ color:var(--zsc-gold-bright); font-size:18px; }

.zemo-sc-modal-section .zemo-sc-note{ margin:0 0 16px; }

.zemo-sc-modal-field{ margin-bottom:14px; }
.zemo-sc-modal-field label{
    display:block; font-size:11.5px; font-weight:600; letter-spacing:.03em; text-transform:uppercase;
    color: var(--zsc-muted); margin-bottom:6px;
}
.zemo-sc-modal-field label span{ text-transform:none; font-weight:400; font-style:italic; }
.zemo-sc-modal-field input, .zemo-sc-modal-field textarea{ margin-bottom:0 !important; }
.zemo-sc-modal-row{ display:grid; grid-template-columns:1fr 1fr; gap:14px; }

#zemoScSubmitQuote{ margin-top:6px; }
#zemoScSubmitStatus{ font-size:12px; color:var(--zsc-muted); margin-top:10px; text-align:center; }

@media (max-width: 480px){
    .zemo-sc-modal-row{ grid-template-columns:1fr; }
}

@media (max-width: 780px){
    .zemo-sc-preview-stage{ height:340px; }
    .zemo-sc-sign-text{ font-size:38px; }
    .zemo-sc-controls-col{ max-height:none; }
    .zemo-sc-step{ padding-left:16px; }
}
