/* ==========================================================================
   White Street Media - Modern Order Form Styles
   ========================================================================== */

/* CSS Reset & Variables */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    --primary: #2e72b9;
    --primary-hover: #235a94;
    --primary-light: #e8f1fa;
    --accent-gradient: linear-gradient(135deg, #ff8c42 0%, #ff6b35 50%, #f7521e 100%);
    --accent-gradient-hover: linear-gradient(135deg, #ff7a2e 0%, #ff5722 50%, #e64a19 100%);
    --dark: #414042;
    --dark-light: #5a585b;
    --text: #333;
    --text-light: #666;
    --text-muted: #999;
    --bg: #f5f7fa;
    --white: #fff;
    --border: #e0e4e8;
    --border-light: #eef1f4;
    --success: #10b981;
    --success-light: #d1fae5;
    --error: #ef4444;
    --error-light: #fee2e2;
    --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
    --shadow: 0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -1px rgba(0,0,0,0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -2px rgba(0,0,0,0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0,0,0,0.1), 0 10px 10px -5px rgba(0,0,0,0.04);
    --radius-sm: 6px;
    --radius: 10px;
    --radius-lg: 16px;
    --radius-xl: 20px;
    --transition: all 0.2s ease;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
}

/* ==========================================================================
   Layout
   ========================================================================== */

.app {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* Header */
.header {
    background: var(--dark);
    color: var(--white);
    padding: 16px 24px;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: var(--shadow);
}

.header-inner {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

.brand-name {
    font-size: 18px;
    font-weight: 700;
    letter-spacing: 1px;
}

.header-cta {
    font-size: 14px;
    color: rgba(255,255,255,0.8);
}

.header-cta a {
    color: var(--white);
    text-decoration: none;
    font-weight: 600;
}

.header-cta a:hover {
    text-decoration: underline;
}

/* Main */
.main {
    flex: 1;
    max-width: 1400px;
    margin: 0 auto;
    padding: 24px;
    width: 100%;
}

/* ==========================================================================
   Progress Bar
   ========================================================================== */

.progress-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 32px;
    padding: 16px 24px;
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
}

.progress-logo {
    height: 40px;
    width: auto;
}

.progress-steps {
    display: flex;
    align-items: center;
    gap: 16px;
}

.progress-step {
    display: flex;
    align-items: center;
    gap: 10px;
    opacity: 0.5;
    transition: var(--transition);
}

.progress-step.active {
    opacity: 1;
}

.step-number {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--border);
    color: var(--text-light);
    border-radius: 50%;
    font-weight: 600;
    font-size: 14px;
    transition: var(--transition);
}

.progress-step.active .step-number {
    background: var(--accent-gradient);
    color: var(--white);
    box-shadow: 0 4px 12px rgba(255, 107, 53, 0.35);
}

.step-label {
    font-weight: 500;
    color: var(--text-light);
    font-size: 14px;
}

.progress-step.active .step-label {
    color: var(--text);
}

.progress-line {
    width: 60px;
    height: 2px;
    background: var(--border);
}

/* ==========================================================================
   Cards
   ========================================================================== */

.card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 28px;
    margin-bottom: 20px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-light);
}

.card-title {
    font-size: 18px;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.card-subtitle {
    color: var(--text-light);
    font-size: 14px;
    margin-top: -12px;
    margin-bottom: 20px;
}

/* ==========================================================================
   Forms
   ========================================================================== */

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.form-group.full-width {
    grid-column: 1 / -1;
}

.form-group.small {
    grid-column: span 1;
}

.form-group label {
    font-size: 13px;
    font-weight: 500;
    color: var(--text);
}

.required {
    color: var(--error);
}

.form-group input,
.form-group textarea,
.form-group select {
    padding: 12px 14px;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    font-size: 15px;
    font-family: inherit;
    transition: var(--transition);
    background: var(--white);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px var(--primary-light);
}

.form-group input.error {
    border-color: var(--error);
}

.form-group input.error:focus {
    box-shadow: 0 0 0 3px var(--error-light);
}

.error-msg {
    font-size: 12px;
    color: var(--error);
}

.help-text {
    font-size: 12px;
    color: var(--text-muted);
    margin-top: 4px;
}

.form-section {
    margin-top: 20px;
}

.form-section > label {
    display: block;
    font-size: 14px;
    font-weight: 500;
    color: var(--text);
    margin-bottom: 10px;
}

/* Option Chips */
.option-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.chip {
    padding: 10px 18px;
    border: 2px solid var(--border);
    border-radius: 50px;
    background: var(--white);
    font-size: 14px;
    font-weight: 500;
    color: var(--text);
    cursor: pointer;
    transition: var(--transition);
    font-family: inherit;
}

.chip:hover {
    border-color: var(--primary);
    background: var(--primary-light);
}

.chip.active {
    background: var(--primary);
    border-color: var(--primary);
    color: var(--white);
}

/* Co-Brand Section */
.co-brand-section {
    margin-top: 20px;
    padding: 20px;
    background: var(--bg);
    border-radius: var(--radius);
}

.co-brand-section > label {
    display: block;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 10px;
}

.co-brand-contact {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid var(--border);
}

.co-brand-contact h4 {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 16px;
    color: var(--dark);
}

/* ==========================================================================
   Buttons
   ========================================================================== */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    border: none;
    border-radius: var(--radius-sm);
    font-size: 15px;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    transition: var(--transition);
}

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

.btn-primary {
    background: var(--accent-gradient);
    color: var(--white);
    border: none;
}

.btn-primary:hover:not(:disabled) {
    background: var(--accent-gradient-hover);
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(255, 107, 53, 0.4);
}

.btn-secondary {
    background: var(--white);
    color: var(--text);
    border: 1px solid var(--border);
}

.btn-secondary:hover:not(:disabled) {
    background: var(--bg);
    border-color: var(--text-muted);
}

.btn-large {
    padding: 16px 32px;
    font-size: 16px;
}

.btn-arrow {
    font-size: 18px;
    transition: transform 0.2s ease;
}

.btn:hover .btn-arrow {
    transform: translateX(4px);
}

.step-actions {
    display: flex;
    justify-content: center;
    margin-top: 24px;
}

/* ==========================================================================
   Step 2: Products Layout
   ========================================================================== */

.step-content.with-sidebar {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 24px;
    align-items: start;
}

.products-area {
    min-width: 0;
}

/* Contact Summary */
.contact-summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    background: var(--white);
    border-radius: var(--radius);
    margin-bottom: 24px;
    border: 1px solid var(--border-light);
    cursor: pointer;
    transition: var(--transition);
}

.contact-summary:hover {
    border-color: var(--primary);
}

.summary-info strong {
    font-size: 15px;
    color: var(--dark);
}

.summary-detail {
    font-size: 13px;
    color: var(--text-muted);
}

.edit-btn {
    padding: 6px 14px;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    font-size: 13px;
    font-weight: 500;
    color: var(--text);
    cursor: pointer;
    transition: var(--transition);
}

.edit-btn:hover {
    background: var(--primary-light);
    border-color: var(--primary);
    color: var(--primary);
}

/* Back Button */
.back-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    font-size: 14px;
    font-weight: 500;
    color: var(--text);
    cursor: pointer;
    transition: var(--transition);
    margin-bottom: 20px;
}

.back-btn:hover {
    background: var(--bg);
    border-color: var(--primary);
    color: var(--primary);
}

/* Section Titles */
.section-title {
    font-size: 22px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 6px;
}

.section-subtitle {
    color: var(--text-light);
    font-size: 15px;
    margin-bottom: 24px;
}

/* Order Review List */
.order-review-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.order-review-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    background: var(--bg);
    border-radius: var(--radius-sm);
}

.review-icon {
    font-size: 24px;
}

.review-name {
    flex: 1;
    font-size: 15px;
    font-weight: 500;
    color: var(--text);
}

/* ==========================================================================
   Product Grid
   ========================================================================== */

.product-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-bottom: 24px;
}

.product-card {
    background: var(--white);
    border: 2px solid var(--border-light);
    border-radius: var(--radius-lg);
    padding: 24px 20px;
    cursor: pointer;
    transition: var(--transition);
    position: relative;
    text-align: center;
}

.product-card:hover {
    border-color: var(--primary);
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

.product-card.selected {
    border-color: var(--primary);
    background: var(--primary-light);
}

.product-icon {
    font-size: 36px;
    margin-bottom: 12px;
}

.product-name {
    font-size: 15px;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 6px;
}

.product-desc {
    font-size: 12px;
    color: var(--text-light);
    line-height: 1.5;
}

.product-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    padding: 4px 10px;
    background: var(--success);
    color: var(--white);
    font-size: 11px;
    font-weight: 600;
    border-radius: 50px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* ==========================================================================
   Shipping Card
   ========================================================================== */

.shipping-card {
    border: 2px dashed var(--primary);
    background: linear-gradient(135deg, var(--primary-light) 0%, var(--white) 100%);
}

/* ==========================================================================
   File Upload
   ========================================================================== */

.file-upload-zone {
    position: relative;
}

.file-upload-zone input[type="file"] {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
    z-index: 1;
}

.upload-label {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
    border: 2px dashed var(--border);
    border-radius: var(--radius);
    background: var(--bg);
    transition: var(--transition);
    cursor: pointer;
}

.file-upload-zone:hover .upload-label {
    border-color: var(--primary);
    background: var(--primary-light);
}

.upload-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary);
    color: #ffffff !important;
    font-size: 28px;
    font-weight: 400;
    border-radius: 50%;
    margin-bottom: 12px;
}

.upload-label span {
    font-size: 15px;
    color: var(--text);
    font-weight: 500;
}

.upload-hint {
    font-size: 13px !important;
    color: var(--text-muted) !important;
    margin-top: 4px;
    font-weight: 400 !important;
}

.error-text {
    color: var(--error);
    font-size: 13px;
    margin-top: 10px;
}

.file-list {
    margin-top: 16px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.file-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    background: var(--bg);
    border-radius: var(--radius-sm);
    font-size: 14px;
}

.file-item.complete {
    background: var(--success-light);
}

.file-item.error {
    background: var(--error-light);
}

.file-tag {
    padding: 3px 8px;
    background: var(--primary);
    color: var(--white);
    font-size: 10px;
    font-weight: 600;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    flex-shrink: 0;
}

.file-name {
    flex: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-weight: 500;
}

.file-size {
    color: var(--text-muted);
    font-size: 12px;
}

.file-check {
    color: var(--success);
    font-weight: 600;
}

.file-progress {
    color: var(--primary);
    font-weight: 600;
    font-size: 12px;
}

.file-error-icon {
    color: var(--error);
    font-weight: 700;
    font-size: 14px;
}

.file-remove {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: none;
    border: none;
    font-size: 18px;
    color: var(--text-muted);
    cursor: pointer;
    border-radius: 50%;
    transition: var(--transition);
}

.file-remove:hover {
    background: rgba(0,0,0,0.1);
    color: var(--error);
}

/* ==========================================================================
   Notes
   ========================================================================== */

.notes-input {
    width: 100%;
    min-height: 120px;
    padding: 14px;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    font-size: 15px;
    font-family: inherit;
    resize: vertical;
    transition: var(--transition);
}

.notes-input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px var(--primary-light);
}

/* ==========================================================================
   Order Sidebar
   ========================================================================== */

.order-sidebar {
    position: sticky;
    top: 80px;
    height: fit-content;
    align-self: start;
}

.sidebar-sticky {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 24px;
    box-shadow: var(--shadow);
    border: 1px solid var(--border-light);
}

.sidebar-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--border-light);
}

.empty-cart {
    color: var(--text-muted);
    font-size: 14px;
    text-align: center;
    padding: 24px 0;
}

.cart-items {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 20px;
    max-height: 300px;
    overflow-y: auto;
}

.cart-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px;
    background: var(--bg);
    border-radius: var(--radius-sm);
}

.cart-icon {
    font-size: 20px;
}

.cart-name {
    flex: 1;
    font-size: 14px;
    font-weight: 500;
    color: var(--text);
}

.cart-config {
    padding: 4px 10px;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    font-size: 12px;
    font-weight: 500;
    color: var(--primary);
    cursor: pointer;
    transition: var(--transition);
}

.cart-config:hover {
    background: var(--primary-light);
}

.cart-remove {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: none;
    border: none;
    font-size: 18px;
    color: var(--text-muted);
    cursor: pointer;
    border-radius: 50%;
    transition: var(--transition);
}

.cart-remove:hover {
    background: var(--error-light);
    color: var(--error);
}

/* Status Messages */
.status-msg {
    padding: 14px;
    border-radius: var(--radius-sm);
    font-size: 14px;
    margin-bottom: 16px;
    text-align: center;
}

.status-msg.success {
    background: var(--success-light);
    color: #059669;
}

.status-msg.error {
    background: var(--error-light);
    color: var(--error);
}

.btn-submit {
    width: 100%;
    padding: 16px;
    font-size: 16px;
}

.proof-notice {
    font-size: 12px;
    color: var(--text-muted);
    text-align: center;
    margin-top: 16px;
}

/* ==========================================================================
   Mobile Cart Bar
   ========================================================================== */

.mobile-cart-bar {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--white);
    padding: 16px 20px;
    box-shadow: 0 -4px 12px rgba(0,0,0,0.1);
    z-index: 90;
    align-items: center;
    justify-content: space-between;
}

.mobile-cart-info {
    font-size: 14px;
}

.cart-count {
    font-weight: 600;
    color: var(--dark);
}

/* ==========================================================================
   Configuration Panel Overlay
   ========================================================================== */

.config-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    padding: 20px;
    animation: fadeIn 0.2s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.config-panel {
    background: var(--white);
    border-radius: var(--radius-xl);
    width: 100%;
    max-width: 560px;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    box-shadow: var(--shadow-xl);
    animation: slideUp 0.3s ease;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.config-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 20px 24px;
    border-bottom: 1px solid var(--border-light);
}

.config-icon {
    font-size: 28px;
}

.config-header h2 {
    flex: 1;
    font-size: 20px;
    font-weight: 700;
    color: var(--dark);
}

.config-close {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg);
    border: none;
    border-radius: 50%;
    font-size: 24px;
    color: var(--text-light);
    cursor: pointer;
    transition: var(--transition);
}

.config-close:hover {
    background: var(--error-light);
    color: var(--error);
}

.config-body {
    flex: 1;
    padding: 24px;
    overflow-y: auto;
}

.config-content {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.config-description {
    color: var(--text-light);
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 20px;
    padding: 14px;
    background: var(--bg);
    border-radius: var(--radius-sm);
}

.config-section {
    margin-bottom: 24px;
}

.config-label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 10px;
}

.config-hint {
    font-size: 12px;
    color: var(--text-muted);
    margin-top: -4px;
    margin-bottom: 10px;
}

.config-input {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    font-size: 15px;
    font-family: inherit;
    transition: var(--transition);
    margin-top: 8px;
}

.config-input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px var(--primary-light);
}

.config-textarea {
    width: 100%;
    min-height: 120px;
    padding: 14px;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    font-size: 15px;
    font-family: inherit;
    resize: vertical;
    transition: var(--transition);
}

.config-textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px var(--primary-light);
}

.config-footer {
    padding: 16px 24px;
    border-top: 1px solid var(--border-light);
}

.config-error {
    color: var(--error);
    font-size: 13px;
    margin-bottom: 12px;
    padding: 10px 14px;
    background: var(--error-light);
    border-radius: var(--radius-sm);
}

.config-buttons {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
}

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

.type-card {
    padding: 14px 16px;
    border: 2px solid var(--border);
    border-radius: var(--radius-sm);
    background: var(--white);
    font-size: 14px;
    font-weight: 500;
    color: var(--text);
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
    font-family: inherit;
}

.type-card:hover {
    border-color: var(--primary);
    background: var(--primary-light);
}

.type-card.active {
    background: var(--primary);
    border-color: var(--primary);
    color: var(--white);
}

/* Route Link */
.route-link {
    display: inline-block;
    color: var(--primary);
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    margin-bottom: 8px;
}

.route-link:hover {
    text-decoration: underline;
}

/* Date Row */
.date-row {
    display: flex;
    align-items: center;
    gap: 16px;
}

.date-row .config-input {
    flex: 1;
    margin-top: 0;
}

.checkbox-inline {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 500;
    color: var(--text);
    cursor: pointer;
    white-space: nowrap;
}

.checkbox-inline input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: var(--primary);
}

.checkbox-block {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 14px;
    background: var(--bg);
    border-radius: var(--radius-sm);
    font-size: 14px;
    cursor: pointer;
}

.checkbox-block input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: var(--primary);
    margin-top: 2px;
}

.checkbox-block span em {
    color: var(--text-muted);
    font-style: italic;
}

/* Finish Cards */
.finish-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

.finish-card {
    padding: 18px 14px;
    border: 2px solid var(--border);
    border-radius: var(--radius);
    background: var(--white);
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
}

.finish-card:hover {
    border-color: var(--primary);
}

.finish-card.active {
    border-color: var(--primary);
    background: var(--primary-light);
}

.finish-card h4 {
    font-size: 14px;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 4px;
}

.finish-card p {
    font-size: 12px;
    color: var(--text-muted);
}

/* Mini File Upload */
.file-upload-mini {
    position: relative;
}

.file-upload-mini input[type="file"] {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
}

.upload-btn {
    display: block;
    padding: 12px 16px;
    border: 2px dashed var(--border);
    border-radius: var(--radius-sm);
    text-align: center;
    font-size: 14px;
    font-weight: 500;
    color: var(--text);
    cursor: pointer;
    transition: var(--transition);
}

.file-upload-mini:hover .upload-btn {
    border-color: var(--primary);
    background: var(--primary-light);
}

/* ==========================================================================
   Success Modal
   ========================================================================== */

.success-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1100;
    padding: 20px;
    animation: fadeIn 0.3s ease;
}

.success-modal {
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: 48px 40px;
    max-width: 480px;
    width: 100%;
    text-align: center;
    box-shadow: var(--shadow-xl);
    animation: scaleIn 0.3s ease;
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.success-icon {
    width: 80px;
    height: 80px;
    background: var(--success);
    color: var(--white);
    font-size: 42px;
    font-weight: 700;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    box-shadow: 0 8px 24px rgba(16, 185, 129, 0.3);
}

.success-modal h2 {
    font-size: 28px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 16px;
}

.success-modal p {
    font-size: 16px;
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 12px;
}

.success-modal .success-note {
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 28px;
    padding: 12px 16px;
    background: var(--bg);
    border-radius: var(--radius-sm);
}

.success-modal .btn {
    min-width: 200px;
}

/* ==========================================================================
   Footer
   ========================================================================== */

.footer {
    background: var(--dark);
    color: rgba(255,255,255,0.8);
    padding: 32px 24px;
    margin-top: 40px;
}

.footer-inner {
    max-width: 1400px;
    margin: 0 auto;
    text-align: center;
}

.footer p {
    font-size: 14px;
    margin-bottom: 8px;
}

.footer a {
    color: var(--white);
    text-decoration: none;
    font-weight: 500;
}

.footer a:hover {
    text-decoration: underline;
}

.footer-note {
    color: rgba(255,255,255,0.6);
    font-size: 13px !important;
}

.footer-warning {
    color: rgba(255,255,255,0.5);
    font-size: 12px !important;
    font-style: italic;
}

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 1024px) {
    .step-content.with-sidebar {
        grid-template-columns: 1fr;
    }

    .order-sidebar {
        display: none;
    }

    .mobile-cart-bar {
        display: flex;
    }

    .products-area {
        padding-bottom: 100px;
    }

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

@media (max-width: 768px) {
    .main {
        padding: 16px;
    }

    .progress-bar {
        padding: 12px 16px;
        gap: 12px;
    }

    .progress-logo {
        height: 32px;
    }

    .progress-steps {
        gap: 10px;
    }

    .step-label {
        display: none;
    }

    .progress-line {
        width: 24px;
    }

    .card {
        padding: 20px;
    }

    .form-grid {
        grid-template-columns: 1fr;
    }

    .form-group.small {
        grid-column: span 1;
    }

    .product-grid {
        grid-template-columns: 1fr;
    }

    .config-panel {
        max-height: 100vh;
        border-radius: var(--radius-lg) var(--radius-lg) 0 0;
    }

    .success-modal {
        padding: 36px 24px;
    }

    .success-modal h2 {
        font-size: 24px;
    }

    .success-icon {
        width: 64px;
        height: 64px;
        font-size: 32px;
    }

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

    .finish-cards {
        grid-template-columns: 1fr;
    }

    .date-row {
        flex-direction: column;
        align-items: stretch;
    }

    .btn-large {
        width: 100%;
    }

    .header-inner {
        flex-direction: column;
        gap: 8px;
        text-align: center;
    }

    .brand-name {
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    .option-chips {
        flex-direction: column;
    }

    .chip {
        width: 100%;
        text-align: center;
    }

    .section-title {
        font-size: 18px;
    }

    .product-card {
        padding: 20px 16px;
    }

    .product-icon {
        font-size: 28px;
    }
}

/* ==========================================================================
   Accessibility & Focus States
   ========================================================================== */

*:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
}

button:focus:not(:focus-visible) {
    outline: none;
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Selection */
::selection {
    background: var(--primary);
    color: var(--white);
}
