/* Webcrome Neon Sign Customizer v1.0.2 */

/* Hide WooCommerce product gallery for sign products */
.wcnsc-enabled .woocommerce-product-gallery,
.wcnsc-enabled .woocommerce-product-gallery--with-images,
.wcnsc-enabled .woocommerce-product-gallery__wrapper,
.wcnsc-enabled .flex-viewport,
.wcnsc-enabled .woocommerce-product-gallery__trigger,
.wcnsc-enabled .woocommerce-product-gallery__image {
    display: none !important;
    visibility: hidden !important;
}

/* Reset WooCommerce summary width */
.wcnsc-enabled .woocommerce div.product div.summary,
.wcnsc-enabled .woocommerce-page div.product div.summary,
.wcnsc-enabled .summary.entry-summary {
    float: none !important;
    width: 100% !important;
    max-width: 100% !important;
    clear: both !important;
}

/* ===== MAIN CUSTOMIZER LAYOUT ===== */
.wcnsc-customizer-wrap {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 28px;
    margin: 0 0 24px 0;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    width: 100%;
    clear: both;
}

@media(max-width: 768px) {
    .wcnsc-customizer-wrap {
        grid-template-columns: 1fr;
    }
}

/* ===== LEFT — PREVIEW ===== */
.wcnsc-left {
    width: 100%;
}

.wcnsc-preview-box {
    background: #0a0a0a;
    border-radius: 16px;
    min-height: 380px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 24px;
    border: 2px solid #1e1e1e;
    box-sizing: border-box;
    position: relative;
    overflow: hidden;
}

.wcnsc-preview-label {
    position: absolute;
    bottom: 10px;
    right: 14px;
    font-size: 10px;
    color: rgba(255,255,255,0.2);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-family: sans-serif;
}

.wcnsc-neon-text {
    font-size: clamp(28px, 4vw, 60px);
    animation: wcnsc-flicker 5s infinite alternate;
    transition: color 0.3s, text-shadow 0.3s;
    text-align: center;
    white-space: nowrap;
    max-width: 100%;
    line-height: 1.2;
    display: block;
}

.wcnsc-neon-text.wcnsc-md {
    font-size: clamp(20px, 3vw, 40px);
}

.wcnsc-neon-text.wcnsc-sm {
    font-size: clamp(14px, 2vw, 26px);
    white-space: normal;
    word-break: break-word;
}

@keyframes wcnsc-flicker {
    0%,88%,100% { opacity:1; }
    90% { opacity:0.92; }
    95% { opacity:0.97; }
}

/* ===== RIGHT — CONTROLS ===== */
.wcnsc-right {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.wcnsc-field-group {
    margin-bottom: 16px;
}

.wcnsc-field-group label {
    display: block;
    font-size: 11px;
    font-weight: 700;
    color: #6b7280;
    margin-bottom: 6px;
    text-transform: uppercase;
    letter-spacing: 0.8px;
}

.wcnsc-input,
.wcnsc-select {
    width: 100%;
    padding: 11px 14px;
    border: 1.5px solid #e5e7eb;
    border-radius: 8px;
    font-size: 15px;
    box-sizing: border-box;
    font-family: inherit;
    background: #fff;
    color: #111;
    transition: border-color 0.2s;
    -webkit-appearance: auto;
    appearance: auto;
}

.wcnsc-input:focus,
.wcnsc-select:focus {
    outline: none;
    border-color: #4f46e5;
    box-shadow: 0 0 0 3px rgba(79,70,229,0.08);
}

/* ===== COLOR DOTS ===== */
.wcnsc-colors {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 4px;
}

.wcnsc-color-btn {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 3px solid transparent;
    cursor: pointer;
    transition: all 0.2s;
    padding: 0;
    display: block;
    -webkit-appearance: none;
    appearance: none;
}

.wcnsc-color-btn:hover { transform: scale(1.15); }

.wcnsc-color-btn.active {
    border-color: #111 !important;
    transform: scale(1.2);
}

.wcnsc-color-name {
    font-size: 12px;
    color: #9ca3af;
    margin-top: 6px;
}

/* ===== PRICE BOX ===== */
.wcnsc-price-box {
    background: linear-gradient(135deg,#1a1a2e,#0f3460);
    border-radius: 10px;
    padding: 16px 18px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 4px 0 12px;
}

.wcnsc-price-label {
    font-size: 13px;
    color: rgba(255,255,255,0.7);
    font-weight: 600;
}

.wcnsc-price-note {
    font-size: 11px;
    color: rgba(255,255,255,0.4);
    margin-top: 2px;
}

.wcnsc-price-val {
    font-size: 28px;
    font-weight: 800;
    color: #FFE4B5;
    letter-spacing: -0.5px;
}

/* ===== PRO BANNER ===== */
.wcnsc-pro-banner {
    background: #eff6ff;
    border: 1px solid #bfdbfe;
    border-radius: 8px;
    padding: 10px 14px;
    font-size: 13px;
    color: #374151;
    line-height: 1.5;
}

.wcnsc-pro-banner a {
    color: #1d4ed8;
    font-weight: 700;
    text-decoration: none;
}

.wcnsc-pro-banner a:hover { text-decoration: underline; }

/* ===== HIDE WOOCOMMERCE PRODUCT PRICE for sign products ===== */
/* Price is shown via our Estimated Price box instead */
.wcnsc-enabled .woocommerce-Price-amount,
.wcnsc-enabled p.price,
.wcnsc-enabled span.price,
.wcnsc-enabled .price ins,
.wcnsc-enabled .price del,
.wcnsc-enabled .woocommerce-variation-price {
    display: none !important;
}
