/* =========================================================
   CUSTOMER FORM - Multi-Template Theme
   ========================================================= */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
    --sw-red: #da9136;
    --sw-bg: #0b0b0b;
    --sw-panel: #111111;
    --sw-border: #292929;
    --sw-input-border: #5b5b5b;
    --sw-text: #ffffff;
    --sw-muted: #87909d;
    --sw-success: #00d084;
    --sw-error: #ff5360;
}

/* Template: Light */
body.tpl-light {
    --sw-bg: #f0f2f5;
    --sw-panel: #ffffff;
    --sw-border: #e0e0e0;
    --sw-input-border: #c0c0c0;
    --sw-text: #1a1a1a;
    --sw-muted: #6b7280;
}
body.tpl-light .sw-form-title { color: #1a1a1a; }
body.tpl-light .sw-category-card { background: #fff; border-color: #e0e0e0; color: #333; }
body.tpl-light .sw-category-card:hover, body.tpl-light .sw-category-card.active { border-color: var(--sw-red); background: rgba(0,0,0,0.03); }
body.tpl-light .sw-category-card.active { color: var(--sw-red); }
body.tpl-light .sw-cat-icon { color: var(--sw-red); }
body.tpl-light .sw-cat-name { color: #333; }
body.tpl-light .sw-cat-desc { color: #777; }
body.tpl-light .sw-product-card { background: #fff; border-color: #e0e0e0; color: #333; }
body.tpl-light .sw-product-card:hover, body.tpl-light .sw-product-card.active { border-color: var(--sw-red); }
body.tpl-light .sw-product-card .sw-prod-label { color: #333; }
body.tpl-light .sw-section-heading h3 strong { color: var(--sw-red); }
body.tpl-light .sw-section-heading h3 span { color: #888; }
body.tpl-light .sw-field-group label { color: #333; }
body.tpl-light input[type="text"], body.tpl-light input[type="email"],
body.tpl-light input[type="tel"], body.tpl-light input[type="number"],
body.tpl-light select, body.tpl-light textarea {
    background: #fff; color: #333; border-color: #d0d0d0;
}
body.tpl-light input:focus, body.tpl-light select:focus, body.tpl-light textarea:focus {
    border-color: var(--sw-red); background: #fff;
}
body.tpl-light .sw-spec-radio-group label, body.tpl-light .sw-spec-check-group label {
    background: #fff; border-color: #ddd; color: #333;
}
body.tpl-light .sw-submit { background: var(--sw-red); color: #fff; }
body.tpl-light .sw-submit:hover { filter: brightness(1.1); }
body.tpl-light .sw-upload-dropzone { background: #fff; border-color: #ddd; }
body.tpl-light .sw-upload-quote { color: #888; }
body.tpl-light .sw-color-swatch { border-color: #ddd; }
body.tpl-light .sw-color-name { color: #555; }
body.tpl-light .sw-selected-chip { background: #f0f0f0; color: #333; border-color: #ddd; }
body.tpl-light .sw-chip-remove { color: #999; }
body.tpl-light .sw-other-input { background: #fff; color: #333; border-color: #d0d0d0; }
body.tpl-light .sw-info-grid input, body.tpl-light .sw-info-grid textarea,
body.tpl-light .sw-info-grid select { background: #fff; color: #333; border-color: #d0d0d0; }
body.tpl-light .sw-color-hex-input { background: #fff; color: #333; border-color: #d0d0d0; }

/* Template: Royal */
body.tpl-royal {
    --sw-bg: #070220;
    --sw-panel: #0a0435;
    --sw-border: #1a1178;
    --sw-input-border: #2a2490;
    --sw-text: #ffffff;
    --sw-muted: #9090c0;
}
body.tpl-royal .sw-form-title { color: #fff; }
body.tpl-royal .sw-category-card { background: #0d0545; border-color: #1a1178; }
body.tpl-royal .sw-category-card:hover, body.tpl-royal .sw-category-card.active { border-color: var(--sw-red); }
body.tpl-royal .sw-product-card { background: #0d0545; border-color: #1a1178; }
body.tpl-royal .sw-product-card:hover, body.tpl-royal .sw-product-card.active { border-color: var(--sw-red); }
body.tpl-royal .sw-submit { background: var(--sw-red); color: #fff; }
body.tpl-royal .sw-submit:hover { filter: brightness(1.1); }
body.tpl-royal .sw-upload-dropzone { background: #0a0435; border-color: #1a1178; }
body.tpl-royal .sw-spec-radio-group label, body.tpl-royal .sw-spec-check-group label {
    background: #0a0435; border-color: #1a1178;
}
body.tpl-royal .sw-color-swatch { border-color: #1a1178; }
body.tpl-royal .sw-selected-chip { background: #0d0545; border-color: #1a1178; }
body.tpl-royal .sw-other-input { background: #0a0435; border-color: #2a2490; }

/* Template: Nature */
body.tpl-nature {
    --sw-bg: #1a2e1a;
    --sw-panel: #243524;
    --sw-border: #3d5a3d;
    --sw-input-border: #5a7a5a;
    --sw-text: #e8f0e8;
    --sw-muted: #9ab89a;
}
body.tpl-nature .sw-form-title { color: #d4edda; }
body.tpl-nature .sw-category-card { background: #2a4030; border-color: #3d5a3d; color: #d4edda; }
body.tpl-nature .sw-category-card:hover, body.tpl-nature .sw-category-card.active { border-color: var(--sw-red); background: rgba(218,145,54,0.1); }
body.tpl-nature .sw-cat-icon { color: var(--sw-red); }
body.tpl-nature .sw-product-card { background: #2a4030; border-color: #3d5a3d; color: #d4edda; }
body.tpl-nature .sw-product-card:hover, body.tpl-nature .sw-product-card.active { border-color: var(--sw-red); }
body.tpl-nature .sw-product-card .sw-prod-label { color: #d4edda; }
body.tpl-nature .sw-section-heading h3 strong { color: var(--sw-red); }
body.tpl-nature .sw-section-heading h3 span { color: #9ab89a; }
body.tpl-nature .sw-field-group label { color: #c8e0c8; }
body.tpl-nature input[type="text"], body.tpl-nature input[type="email"],
body.tpl-nature input[type="tel"], body.tpl-nature input[type="number"],
body.tpl-nature select, body.tpl-nature textarea {
    background: #2a4030; color: #e8f0e8; border-color: #3d5a3d;
}
body.tpl-nature input:focus, body.tpl-nature select:focus, body.tpl-nature textarea:focus {
    border-color: var(--sw-red); background: #2a4030;
}
body.tpl-nature .sw-spec-radio-group label, body.tpl-nature .sw-spec-check-group label {
    background: #243524; border-color: #3d5a3d; color: #c8e0c8;
}
body.tpl-nature .sw-submit { background: var(--sw-red); color: #fff; }
body.tpl-nature .sw-submit:hover { filter: brightness(1.1); }
body.tpl-nature .sw-upload-dropzone { background: #243524; border-color: #3d5a3d; }
body.tpl-nature .sw-upload-quote { color: #9ab89a; }
body.tpl-nature .sw-color-swatch { border-color: #3d5a3d; }
body.tpl-nature .sw-color-name { color: #9ab89a; }
body.tpl-nature .sw-selected-chip { background: #2a4030; color: #d4edda; border-color: #3d5a3d; }
body.tpl-nature .sw-chip-remove { color: #7a9a7a; }
body.tpl-nature .sw-other-input { background: #2a4030; color: #e8f0e8; border-color: #3d5a3d; }
body.tpl-nature .sw-info-grid input, body.tpl-nature .sw-info-grid textarea,
body.tpl-nature .sw-info-grid select { background: #2a4030; color: #e8f0e8; border-color: #3d5a3d; }
body.tpl-nature .sw-color-hex-input { background: #2a4030; color: #e8f0e8; border-color: #3d5a3d; }

/* Template: Ocean */
body.tpl-ocean {
    --sw-bg: #0a1a2e;
    --sw-panel: #102435;
    --sw-border: #1a3d5a;
    --sw-input-border: #2a5a7a;
    --sw-text: #e0ecf5;
    --sw-muted: #7ab0d4;
}
body.tpl-ocean .sw-form-title { color: #b8ddf5; }
body.tpl-ocean .sw-category-card { background: #103040; border-color: #1a3d5a; color: #b8ddf5; }
body.tpl-ocean .sw-category-card:hover, body.tpl-ocean .sw-category-card.active { border-color: var(--sw-red); background: rgba(218,145,54,0.1); }
body.tpl-ocean .sw-cat-icon { color: var(--sw-red); }
body.tpl-ocean .sw-product-card { background: #103040; border-color: #1a3d5a; color: #b8ddf5; }
body.tpl-ocean .sw-product-card:hover, body.tpl-ocean .sw-product-card.active { border-color: var(--sw-red); }
body.tpl-ocean .sw-product-card .sw-prod-label { color: #b8ddf5; }
body.tpl-ocean .sw-section-heading h3 strong { color: var(--sw-red); }
body.tpl-ocean .sw-section-heading h3 span { color: #7ab0d4; }
body.tpl-ocean .sw-field-group label { color: #b8ddf5; }
body.tpl-ocean input[type="text"], body.tpl-ocean input[type="email"],
body.tpl-ocean input[type="tel"], body.tpl-ocean input[type="number"],
body.tpl-ocean select, body.tpl-ocean textarea {
    background: #103040; color: #e0ecf5; border-color: #1a3d5a;
}
body.tpl-ocean input:focus, body.tpl-ocean select:focus, body.tpl-ocean textarea:focus {
    border-color: var(--sw-red); background: #103040;
}
body.tpl-ocean .sw-spec-radio-group label, body.tpl-ocean .sw-spec-check-group label {
    background: #102435; border-color: #1a3d5a; color: #b8ddf5;
}
body.tpl-ocean .sw-submit { background: var(--sw-red); color: #fff; }
body.tpl-ocean .sw-submit:hover { filter: brightness(1.1); }
body.tpl-ocean .sw-upload-dropzone { background: #102435; border-color: #1a3d5a; }
body.tpl-ocean .sw-upload-quote { color: #7ab0d4; }
body.tpl-ocean .sw-color-swatch { border-color: #1a3d5a; }
body.tpl-ocean .sw-color-name { color: #7ab0d4; }
body.tpl-ocean .sw-selected-chip { background: #103040; color: #b8ddf5; border-color: #1a3d5a; }
body.tpl-ocean .sw-chip-remove { color: #5a8aaa; }
body.tpl-ocean .sw-other-input { background: #103040; color: #e0ecf5; border-color: #1a3d5a; }
body.tpl-ocean .sw-info-grid input, body.tpl-ocean .sw-info-grid textarea,
body.tpl-ocean .sw-info-grid select { background: #103040; color: #e0ecf5; border-color: #1a3d5a; }
body.tpl-ocean .sw-color-hex-input { background: #103040; color: #e0ecf5; border-color: #1a3d5a; }

/* Template: Midnight */
body.tpl-midnight {
    --sw-bg: #0a0a1a;
    --sw-panel: #12102a;
    --sw-border: #2a1a5a;
    --sw-input-border: #3a2a7a;
    --sw-text: #e8e0f5;
    --sw-muted: #9a8ad4;
}
body.tpl-midnight .sw-form-title { color: #c8b8f5; }
body.tpl-midnight .sw-category-card { background: #151030; border-color: #2a1a5a; color: #c8b8f5; }
body.tpl-midnight .sw-category-card:hover, body.tpl-midnight .sw-category-card.active { border-color: var(--sw-red); background: rgba(218,145,54,0.1); }
body.tpl-midnight .sw-cat-icon { color: var(--sw-red); }
body.tpl-midnight .sw-product-card { background: #151030; border-color: #2a1a5a; color: #c8b8f5; }
body.tpl-midnight .sw-product-card:hover, body.tpl-midnight .sw-product-card.active { border-color: var(--sw-red); }
body.tpl-midnight .sw-product-card .sw-prod-label { color: #c8b8f5; }
body.tpl-midnight .sw-section-heading h3 strong { color: var(--sw-red); }
body.tpl-midnight .sw-section-heading h3 span { color: #9a8ad4; }
body.tpl-midnight .sw-field-group label { color: #c8b8f5; }
body.tpl-midnight input[type="text"], body.tpl-midnight input[type="email"],
body.tpl-midnight input[type="tel"], body.tpl-midnight input[type="number"],
body.tpl-midnight select, body.tpl-midnight textarea {
    background: #151030; color: #e8e0f5; border-color: #2a1a5a;
}
body.tpl-midnight input:focus, body.tpl-midnight select:focus, body.tpl-midnight textarea:focus {
    border-color: var(--sw-red); background: #151030;
}
body.tpl-midnight .sw-spec-radio-group label, body.tpl-midnight .sw-spec-check-group label {
    background: #12102a; border-color: #2a1a5a; color: #c8b8f5;
}
body.tpl-midnight .sw-submit { background: var(--sw-red); color: #fff; }
body.tpl-midnight .sw-submit:hover { filter: brightness(1.1); }
body.tpl-midnight .sw-upload-dropzone { background: #12102a; border-color: #2a1a5a; }
body.tpl-midnight .sw-upload-quote { color: #9a8ad4; }
body.tpl-midnight .sw-color-swatch { border-color: #2a1a5a; }
body.tpl-midnight .sw-color-name { color: #9a8ad4; }
body.tpl-midnight .sw-selected-chip { background: #151030; color: #c8b8f5; border-color: #2a1a5a; }
body.tpl-midnight .sw-chip-remove { color: #7a6aaa; }
body.tpl-midnight .sw-other-input { background: #151030; color: #e8e0f5; border-color: #2a1a5a; }
body.tpl-midnight .sw-info-grid input, body.tpl-midnight .sw-info-grid textarea,
body.tpl-midnight .sw-info-grid select { background: #151030; color: #e8e0f5; border-color: #2a1a5a; }
body.tpl-midnight .sw-color-hex-input { background: #151030; color: #e8e0f5; border-color: #2a1a5a; }

/* Template: Sunset */
body.tpl-sunset {
    --sw-bg: #2e1a1a;
    --sw-panel: #352020;
    --sw-border: #5a3a3a;
    --sw-input-border: #7a4a4a;
    --sw-text: #f5e8e0;
    --sw-muted: #d49a7a;
}
body.tpl-sunset .sw-form-title { color: #f5d4b8; }
body.tpl-sunset .sw-category-card { background: #402828; border-color: #5a3a3a; color: #f5d4b8; }
body.tpl-sunset .sw-category-card:hover, body.tpl-sunset .sw-category-card.active { border-color: var(--sw-red); background: rgba(218,145,54,0.1); }
body.tpl-sunset .sw-cat-icon { color: var(--sw-red); }
body.tpl-sunset .sw-product-card { background: #402828; border-color: #5a3a3a; color: #f5d4b8; }
body.tpl-sunset .sw-product-card:hover, body.tpl-sunset .sw-product-card.active { border-color: var(--sw-red); }
body.tpl-sunset .sw-product-card .sw-prod-label { color: #f5d4b8; }
body.tpl-sunset .sw-section-heading h3 strong { color: var(--sw-red); }
body.tpl-sunset .sw-section-heading h3 span { color: #d49a7a; }
body.tpl-sunset .sw-field-group label { color: #f5d4b8; }
body.tpl-sunset input[type="text"], body.tpl-sunset input[type="email"],
body.tpl-sunset input[type="tel"], body.tpl-sunset input[type="number"],
body.tpl-sunset select, body.tpl-sunset textarea {
    background: #402828; color: #f5e8e0; border-color: #5a3a3a;
}
body.tpl-sunset input:focus, body.tpl-sunset select:focus, body.tpl-sunset textarea:focus {
    border-color: var(--sw-red); background: #402828;
}
body.tpl-sunset .sw-spec-radio-group label, body.tpl-sunset .sw-spec-check-group label {
    background: #352020; border-color: #5a3a3a; color: #f5d4b8;
}
body.tpl-sunset .sw-submit { background: var(--sw-red); color: #fff; }
body.tpl-sunset .sw-submit:hover { filter: brightness(1.1); }
body.tpl-sunset .sw-upload-dropzone { background: #352020; border-color: #5a3a3a; }
body.tpl-sunset .sw-upload-quote { color: #d49a7a; }
body.tpl-sunset .sw-color-swatch { border-color: #5a3a3a; }
body.tpl-sunset .sw-color-name { color: #d49a7a; }
body.tpl-sunset .sw-selected-chip { background: #402828; color: #f5d4b8; border-color: #5a3a3a; }
body.tpl-sunset .sw-chip-remove { color: #aa7a5a; }
body.tpl-sunset .sw-other-input { background: #402828; color: #f5e8e0; border-color: #5a3a3a; }
body.tpl-sunset .sw-info-grid input, body.tpl-sunset .sw-info-grid textarea,
body.tpl-sunset .sw-info-grid select { background: #402828; color: #f5e8e0; border-color: #5a3a3a; }
body.tpl-sunset .sw-color-hex-input { background: #402828; color: #f5e8e0; border-color: #5a3a3a; }

/* Template: Minimal */
body.tpl-minimal {
    --sw-bg: #f8f9fa;
    --sw-panel: #ffffff;
    --sw-border: #dee2e6;
    --sw-input-border: #ced4da;
    --sw-text: #212529;
    --sw-muted: #6c757d;
}
body.tpl-minimal .sw-form-title { color: #212529; letter-spacing: 2px; text-transform: uppercase; font-size: clamp(20px, 2.5vw, 28px); }
body.tpl-minimal .sw-form-subtitle { color: #6c757d; font-size: 14px; }
body.tpl-minimal .sw-category-card { background: #fff; border: 1px solid #dee2e6; border-radius: 0; color: #333; box-shadow: none; }
body.tpl-minimal .sw-category-card:hover, body.tpl-minimal .sw-category-card.active { border-color: #212529; background: #f8f9fa; }
body.tpl-minimal .sw-cat-icon { color: #212529; }
body.tpl-minimal .sw-cat-name { color: #212529; font-weight: 600; letter-spacing: 0.5px; }
body.tpl-minimal .sw-cat-desc { color: #6c757d; }
body.tpl-minimal .sw-product-card { background: #fff; border: 1px solid #dee2e6; border-radius: 0; color: #333; box-shadow: none; }
body.tpl-minimal .sw-product-card:hover, body.tpl-minimal .sw-product-card.active { border-color: #212529; }
body.tpl-minimal .sw-product-card .sw-prod-label { color: #212529; }
body.tpl-minimal .sw-section-heading { border-bottom: 2px solid #212529; padding-bottom: 8px; }
body.tpl-minimal .sw-section-heading h3 { font-size: 14px; text-transform: uppercase; letter-spacing: 2px; }
body.tpl-minimal .sw-section-heading h3 strong { color: #212529; }
body.tpl-minimal .sw-section-heading h3 span { color: #6c757d; font-size: 12px; letter-spacing: 0; text-transform: none; }
body.tpl-minimal .sw-field-group label { color: #212529; font-weight: 600; font-size: 12px; text-transform: uppercase; letter-spacing: 1px; }
body.tpl-minimal input[type="text"], body.tpl-minimal input[type="email"],
body.tpl-minimal input[type="tel"], body.tpl-minimal input[type="number"],
body.tpl-minimal select, body.tpl-minimal textarea {
    background: #fff; color: #212529; border: 1px solid #dee2e6; border-radius: 0;
}
body.tpl-minimal input:focus, body.tpl-minimal select:focus, body.tpl-minimal textarea:focus {
    border-color: #212529; box-shadow: none; background: #fff;
}
body.tpl-minimal .sw-spec-radio-group label, body.tpl-minimal .sw-spec-check-group label {
    background: #fff; border: 1px solid #dee2e6; border-radius: 0; color: #333;
}
body.tpl-minimal .sw-submit { background: #212529; color: #fff; border-radius: 0; letter-spacing: 2px; text-transform: uppercase; font-size: 13px; padding: 12px; }
body.tpl-minimal .sw-submit:hover { background: #000; }
body.tpl-minimal .sw-upload-dropzone { background: #fff; border: 1px dashed #dee2e6; border-radius: 0; }
body.tpl-minimal .sw-upload-quote { color: #6c757d; }
body.tpl-minimal .sw-color-swatch { border-color: #dee2e6; border-radius: 0; }
body.tpl-minimal .sw-color-name { color: #6c757d; }
body.tpl-minimal .sw-selected-chip { background: #f8f9fa; color: #212529; border: 1px solid #dee2e6; border-radius: 0; }
body.tpl-minimal .sw-chip-remove { color: #999; }
body.tpl-minimal .sw-other-input { background: #fff; color: #212529; border: 1px solid #dee2e6; border-radius: 0; }
body.tpl-minimal .sw-info-grid input, body.tpl-minimal .sw-info-grid textarea,
body.tpl-minimal .sw-info-grid select { background: #fff; color: #212529; border: 1px solid #dee2e6; border-radius: 0; }
body.tpl-minimal .sw-color-hex-input { background: #fff; color: #212529; border: 1px solid #dee2e6; border-radius: 0; }
body.tpl-minimal .sw-form-header { border-bottom: 2px solid #212529; padding-bottom: 20px; }
body.tpl-minimal .sw-captcha-img { border-radius: 0; }

body {
    background: var(--sw-bg);
    color: var(--sw-text);
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
}

.sw-form-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px 16px 50px;
}

/* Header */
.sw-form-header { text-align: center; margin-bottom: 30px; }
.sw-form-title {
    font-size: clamp(24px, 3vw, 36px);
    font-weight: 800;
    color: #fff;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
}
.sw-form-subtitle { color: var(--sw-muted); font-size: 15px; }

/* Alerts */
.sw-alert {
    padding: 14px 20px;
    border-radius: 8px;
    margin-bottom: 24px;
    font-weight: 600;
    font-size: 14px;
    text-align: center;
}
.sw-alert-success { background: rgba(0,208,132,0.12); border: 1px solid var(--sw-success); color: var(--sw-success); }
.sw-alert-error { background: rgba(255,83,96,0.12); border: 1px solid var(--sw-error); color: var(--sw-error); }

/* Sections */
.sw-section {
    background: var(--sw-bg);
    padding: 0 35px 24px;
    margin-bottom: 18px;
}
.sw-section-heading {
    border-bottom: 1px solid var(--sw-border);
    margin-bottom: 25px;
    padding-bottom: 15px;
}
.sw-section-heading h3 {
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 9px;
    font-size: 19px;
    font-weight: 800;
    color: var(--sw-red);
}
.sw-section-heading h3 span {
    color: var(--sw-muted);
    font-size: 13px;
    font-weight: 400;
}

/* Hidden utility */
.sw-hidden { display: none !important; }

/* Category Grid */
.sw-category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 15px;
}
.sw-category-card {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 120px;
    padding: 20px 15px;
    border: 1px solid var(--sw-border);
    border-radius: 8px;
    background: #101010;
    cursor: pointer;
    transition: all 0.2s ease;
    text-align: center;
}
.sw-category-card:hover { border-color: #494949; transform: translateY(-2px); }
.sw-category-card.active { border-color: var(--sw-red); box-shadow: 0 0 0 1px var(--sw-red) inset; background: #171717; }
.sw-cat-icon { font-size: 32px; margin-bottom: 10px; color: var(--sw-red); }
.sw-cat-name { font-size: 15px; font-weight: 700; color: #fff; }
.sw-cat-desc { font-size: 12px; color: var(--sw-muted); margin-top: 4px; }

/* Product Grid */
.sw-products {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 15px;
}
.sw-product-card {
    position: relative;
    display: flex;
    min-height: 158px;
    padding: 14px 11px;
    align-items: flex-end;
    justify-content: center;
    overflow: hidden;
    cursor: pointer;
    border: 1px solid var(--sw-border);
    border-radius: 8px;
    background: #101010;
    transition: all 0.2s ease;
}
.sw-product-card:hover { border-color: #494949; transform: translateY(-1px); }
.sw-product-card.active { border-color: var(--sw-red); box-shadow: 0 0 0 1px var(--sw-red) inset; }
.sw-prod-label {
    position: relative;
    z-index: 2;
    display: flex;
    width: 100%;
    min-height: 122px;
    padding-top: 103px;
    align-items: flex-end;
    justify-content: center;
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.15;
    text-align: center;
}
.sw-prod-thumb {
    position: absolute;
    z-index: 1;
    top: 12px;
    left: 50%;
    width: 90px;
    height: 90px;
    border-radius: 4px;
    background-size: cover;
    background-position: center;
    transform: translateX(-50%);
    box-shadow: 0 10px 22px rgba(0,0,0,0.35);
}
.sw-prod-thumb.no-image {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #1a1a1a;
    border: 1px dashed var(--sw-border);
}
.sw-prod-thumb.no-image i { font-size: 36px; color: var(--sw-muted); }

/* Specification Grid */
.sw-spec-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px 20px;
}
.sw-field-group { display: flex; flex-direction: column; }
.sw-field-group label {
    margin-bottom: 7px;
    color: var(--sw-muted);
    font-size: 14px;
    font-weight: 700;
}
.sw-full-field { grid-column: 1 / -1; margin-top: 14px; }

/* Inputs */
input[type="text"], input[type="email"], input[type="tel"],
input[type="number"], select, textarea {
    width: 100%;
    padding: 0 16px;
    height: 50px;
    border: 1px solid var(--sw-input-border);
    border-radius: 3px;
    outline: none;
    background: #101010;
    color: #fff;
    font: inherit;
    font-size: 14px;
    transition: border-color 0.2s, box-shadow 0.2s;
}
textarea { height: auto; min-height: 120px; padding: 14px 16px; resize: vertical; }
input::placeholder, textarea::placeholder { color: var(--sw-muted); opacity: 1; }
input:focus, select:focus, textarea:focus { border-color: var(--sw-red); box-shadow: 0 0 0 1px var(--sw-red); }
select { appearance: auto; color-scheme: dark; }
select option { color: #fff; background: #101010; }

/* Spec Field Types */
.sw-spec-radio-group, .sw-spec-check-group {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 6px;
}
.sw-spec-radio-group label, .sw-spec-check-group label {
    display: flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    padding: 8px 16px;
    border: 1px solid var(--sw-border);
    border-radius: 4px;
    background: #101010;
    transition: all 0.2s;
    font-size: 14px;
    color: #fff;
    font-weight: 400;
}
.sw-spec-radio-group label:hover, .sw-spec-check-group label:hover { border-color: #494949; }
.sw-spec-radio-group input:checked + span,
.sw-spec-check-group input:checked + span { color: var(--sw-red); }
.sw-spec-radio-group label:has(input:checked),
.sw-spec-check-group label:has(input:checked) {
    border-color: var(--sw-red);
    background: rgba(218,145,54,0.08);
}
.sw-spec-radio-group input, .sw-spec-check-group input { accent-color: var(--sw-red); }

.sw-other-input {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid #444;
    border-radius: 6px;
    background: #1a1a1a;
    color: #fff;
    font-size: 14px;
    transition: border-color 0.2s;
}
.sw-other-input:focus {
    outline: none;
    border-color: var(--sw-red);
}
.sw-other-input::placeholder {
    color: #777;
}

/* Color Swatches */
.sw-colors {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}
.sw-color-swatch-item {
    position: relative;
    cursor: pointer;
}
.sw-color-swatch-item input { position: absolute; opacity: 0; pointer-events: none; }
.sw-color-swatch {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    padding: 6px;
    border: 2px solid transparent;
    border-radius: 6px;
    transition: all 0.2s;
}
.sw-color-swatch:hover { border-color: #494949; transform: scale(1.05); }
.sw-color-swatch-item input:checked + .sw-color-swatch { border-color: var(--sw-red); }
.sw-color-dot {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,0.15);
    box-shadow: 0 2px 6px rgba(0,0,0,0.3);
}
.sw-color-swatch .sw-color-name {
    font-size: 10px;
    color: var(--sw-muted);
    max-width: 50px;
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Color Picker Row */
.sw-color-picker-row {
    display: grid;
    grid-template-columns: auto 1fr 1fr auto;
    gap: 20px;
    align-items: end;
    margin-top: 20px;
    padding: 20px;
    background: var(--sw-panel);
    border: 1px solid var(--sw-border);
    border-radius: 8px;
}
.sw-color-picker-wrap {
    display: flex;
    align-items: center;
    gap: 12px;
}
.sw-color-picker-input {
    width: 50px;
    height: 50px;
    border: 2px solid var(--sw-border);
    border-radius: 6px;
    cursor: pointer;
    padding: 2px;
    background: #101010;
}
.sw-color-picker-input::-webkit-color-swatch-wrapper { padding: 2px; }
.sw-color-picker-input::-webkit-color-swatch { border: none; border-radius: 3px; }
.sw-color-picker-label {
    color: var(--sw-muted);
    font-size: 13px;
}
.sw-color-hex-input {
    font-family: 'Courier New', monospace !important;
    font-size: 14px !important;
    letter-spacing: 1px;
    text-transform: uppercase;
}
.sw-color-preview-group {
    justify-content: center;
}
.sw-color-preview-box {
    width: 50px;
    height: 50px;
    border-radius: 6px;
    border: 2px solid var(--sw-border);
    background: #101010;
    transition: background-color 0.2s;
}

/* Selected Colors List */
.sw-selected-colors {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 14px;
}
.sw-selected-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 12px;
    border-radius: 20px;
    background: rgba(218,145,54,0.1);
    border: 1px solid var(--sw-red);
    font-size: 12px;
    color: #fff;
}
.sw-selected-chip .sw-chip-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,0.3);
}
.sw-selected-chip .sw-chip-remove {
    cursor: pointer;
    color: var(--sw-muted);
    font-size: 14px;
    line-height: 1;
}
.sw-selected-chip .sw-chip-remove:hover { color: var(--sw-error); }

/* Info Grid */
.sw-info-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px 20px;
}

/* Upload Panel */
.sw-upload-panel {
    display: grid;
    grid-template-columns: minmax(0, 2.15fr) minmax(250px, 1fr);
    gap: 30px;
    min-height: 270px;
    padding: 30px;
    border: 1px solid var(--sw-border);
    border-radius: 9px;
    background: var(--sw-panel);
}
.sw-upload-dropzone {
    position: relative;
    display: flex;
    min-height: 210px;
    padding: 26px;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    border: 2px dashed var(--sw-red);
    border-radius: 7px;
    background: #090909;
    text-align: center;
    transition: background 0.2s;
}
.sw-upload-dropzone.dragover { background: #151515; border-color: #fff; }
.sw-upload-icon { margin-bottom: 14px; color: var(--sw-red); font-size: 42px; }
.sw-file-help { margin: 0 0 16px; color: var(--sw-muted); font-size: 14px; }
.sw-qty-hint { margin-top: 6px; color: var(--sw-muted); font-size: 13px; }
.sw-file-input {
    position: absolute;
    width: 1px; height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    clip-path: inset(50%);
    white-space: nowrap;
}
.sw-file-button {
    display: inline-flex;
    min-width: 137px; min-height: 34px;
    padding: 8px 21px;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    border-radius: 5px;
    background: var(--sw-red);
    color: #fff;
    font-size: 13px;
    font-weight: 800;
    transition: filter 0.2s, transform 0.2s;
}
.sw-file-button:hover { filter: brightness(1.08); transform: translateY(-1px); }
.sw-file-name {
    display: block;
    max-width: 90%;
    margin-top: 10px;
    overflow: hidden;
    color: #c7c7c7;
    font-size: 12px;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.sw-upload-quote {
    display: flex;
    min-height: 130px;
    margin: auto 0;
    padding: 10px 15px 10px 40px;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    border-left: 1px solid var(--sw-border);
    text-align: center;
}
.sw-star { margin-bottom: 17px; color: var(--sw-red); font-size: 31px; }
.sw-upload-quote h4 {
    margin: 0;
    color: #fff;
    font-family: Georgia, serif;
    font-size: 17px;
    font-weight: 800;
}
.sw-upload-quote p {
    margin: 7px 0 0;
    color: var(--sw-red);
    font-family: Georgia, serif;
    font-size: 13px;
    font-weight: 800;
}

/* Submit */
.sw-submit-wrap { display: flex; justify-content: center; margin-top: 40px; }
.sw-submit {
    min-width: 200px; min-height: 48px;
    padding: 12px 28px;
    cursor: pointer;
    border: 0;
    border-radius: 3px;
    background: var(--sw-red);
    color: #fff;
    font-family: Arial, sans-serif;
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 0.5px;
    transition: filter 0.2s, transform 0.2s;
}
.sw-submit:hover { filter: brightness(1.08); transform: translateY(-1px); }
.sw-submit:disabled { opacity: 0.5; cursor: not-allowed; transform: none; }

/* Loading */
.sw-loading {
    grid-column: 1 / -1;
    text-align: center;
    padding: 30px;
    color: var(--sw-muted);
    font-size: 14px;
}

/* Responsive */
@media (max-width: 1050px) {
    .sw-products { grid-template-columns: repeat(4, minmax(0, 1fr)); }
    .sw-info-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 780px) {
    .sw-section { padding-left: 20px; padding-right: 20px; }
    .sw-products { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .sw-spec-grid { grid-template-columns: 1fr; }
    .sw-info-grid { grid-template-columns: 1fr; }
    .sw-upload-panel { grid-template-columns: 1fr; padding: 20px; }
    .sw-upload-quote { padding: 25px 15px 5px; border-top: 1px solid var(--sw-border); border-left: 0; }
    .sw-category-grid { grid-template-columns: repeat(2, 1fr); }
    .sw-color-picker-row { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
    .sw-products { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
    .sw-product-card { min-height: 150px; }
    .sw-prod-label { min-height: 116px; padding-top: 97px; font-size: 13px; }
    .sw-prod-thumb { width: 84px; height: 84px; }
    .sw-category-grid { grid-template-columns: 1fr; }
}

/* =========================================================
   CAPTCHA
   ========================================================= */
.sw-captcha-wrap {
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-items: flex-start;
}
.sw-captcha-math {
    display: flex;
    align-items: center;
    gap: 10px;
}
.sw-captcha-img {
    height: 56px;
    border-radius: 8px;
    border: 1px solid var(--sw-border);
    background: #f5f5f5;
}
.sw-captcha-refresh {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    border: 1px solid var(--sw-border);
    background: var(--sw-panel);
    color: var(--sw-text);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
    font-size: 16px;
}
.sw-captcha-refresh:hover {
    border-color: var(--sw-red);
    color: var(--sw-red);
}
.sw-captcha-answer {
    max-width: 250px;
}
.sw-captcha-google {
    margin-top: 4px;
}
body.tpl-light .sw-captcha-img { background: #e9ecef; border-color: #ddd; }
body.tpl-light .sw-captcha-refresh { background: #f5f5f5; color: #333; border-color: #ddd; }
body.tpl-nature .sw-captcha-img { background: #2a4030; border-color: #3d5a3d; }
body.tpl-nature .sw-captcha-refresh { background: #243524; color: #c8e0c8; border-color: #3d5a3d; }
body.tpl-ocean .sw-captcha-img { background: #103040; border-color: #1a3d5a; }
body.tpl-ocean .sw-captcha-refresh { background: #102435; color: #b8ddf5; border-color: #1a3d5a; }
body.tpl-midnight .sw-captcha-img { background: #151030; border-color: #2a1a5a; }
body.tpl-midnight .sw-captcha-refresh { background: #12102a; color: #c8b8f5; border-color: #2a1a5a; }
body.tpl-sunset .sw-captcha-img { background: #402828; border-color: #5a3a3a; }
body.tpl-sunset .sw-captcha-refresh { background: #352020; color: #f5d4b8; border-color: #5a3a3a; }
body.tpl-minimal .sw-captcha-img { background: #fff; border-color: #dee2e6; border-radius: 0; }
body.tpl-minimal .sw-captcha-refresh { background: #fff; color: #212529; border-color: #dee2e6; border-radius: 0; }

/* =========================================================
   CUSTOMER TRACKING PORTAL
   ========================================================= */
.sw-tracking-card {
    transition: border-color 0.2s;
}
.sw-tracking-card:hover {
    border-color: var(--sw-red) !important;
}
.sw-tracking-card .btn-outline-primary {
    color: var(--sw-red);
    border-color: var(--sw-red);
}
.sw-tracking-card .btn-outline-primary:hover {
    background: var(--sw-red);
    color: #fff;
}
body.tpl-minimal .sw-tracking-card { border-radius: 0 !important; }
body.tpl-minimal .sw-tracking-card .btn-outline-primary { border-radius: 0; }
