/* 3D Marketplace Creator – v1.0.3 */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

:root {
    --t-primary: #0f172a;
    --t-accent: #2563eb;
    --t-accent-bg: #eff6ff;
    --t-surface: #ffffff;
    --t-bg: #f8fafc;
    --t-border: #e2e8f0;
    --t-text: #1e293b;
    --t-muted: #64748b;
    --t-success: #15803d;
    --t-success-bg: #dcfce7;
    --t-error: #b91c1c;
    --t-error-bg: #fee2e2;
    --t-radius: 14px;
    --t-sm: 8px;
    --t-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
    --t-ease: cubic-bezier(0.4, 0, 0.2, 1);
}

.thirty-3dmc-wrapper {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    color: var(--t-text);
    padding: 2rem 1rem;
}

.thirty-3dmc-wrapper *,
.thirty-3dmc-wrapper *::before,
.thirty-3dmc-wrapper *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

.thirty-3dmc-container {
    max-width: 660px;
    margin: 0 auto;
    background: var(--t-surface);
    border-radius: var(--t-radius);
    padding: 2.5rem;
    box-shadow: var(--t-shadow);
    border: 1px solid var(--t-border);
}

/* ═══ LOGIN WALL ═══════════════════════════════════════════════ */
.thirty-login-wall {
    text-align: center;
    padding: 1rem 0;
}

.thirty-login-icon {
    width: 72px;
    height: 72px;
    background: var(--t-bg);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    border: 1px solid var(--t-border);
}

.thirty-login-icon svg {
    width: 36px;
    height: 36px;
    color: var(--t-accent);
}

.thirty-login-wall h2 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.thirty-login-wall p {
    color: var(--t-muted);
    margin-bottom: 1.5rem;
}

/* ═══ HEADER ═══════════════════════════════════════════════════ */
.thirty-header {
    text-align: center;
    margin-bottom: 1.75rem;
}

.thirty-3dmc-title {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--t-primary);
    line-height: 1.2;
}

.thirty-3dmc-subtitle {
    font-size: 0.9rem;
    color: var(--t-muted);
    margin-top: 0.4rem;
}

/* ═══ STEP INDICATOR ═══════════════════════════════════════════ */
.thirty-steps-indicator {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    margin-bottom: 2rem;
}

.thirty-step-dot {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    cursor: default;
}

.thirty-step-dot span {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 2px solid var(--t-border);
    background: var(--t-surface);
    color: var(--t-muted);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: 600;
    transition: all 0.3s var(--t-ease);
}

.thirty-step-dot small {
    font-size: 0.7rem;
    color: var(--t-muted);
}

.thirty-step-dot.active span {
    background: var(--t-primary);
    border-color: var(--t-primary);
    color: #fff;
}

.thirty-step-dot.done span {
    background: var(--t-accent);
    border-color: var(--t-accent);
    color: #fff;
}

.thirty-step-connector {
    flex: 1;
    max-width: 60px;
    height: 2px;
    background: var(--t-border);
    margin: 0 8px 18px;
    transition: background 0.3s;
}

.thirty-step-connector.done {
    background: var(--t-accent);
}

/* ═══ STEP PANELS ══════════════════════════════════════════════ */
.thirty-step-panel {
    display: none;
}

.thirty-step-panel.active {
    display: block;
}

.thirty-panel-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 600;
    font-size: 0.95rem;
    margin-bottom: 1.25rem;
    color: var(--t-primary);
}

.thirty-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    background: var(--t-primary);
    color: #fff;
    border-radius: 50%;
    font-size: 0.75rem;
    font-weight: 700;
    flex-shrink: 0;
}

/* ═══ UPLOAD AREA ══════════════════════════════════════════════ */
.thirty-upload-area {
    border: 2px dashed var(--t-border);
    border-radius: var(--t-radius);
    padding: 2.5rem 1.5rem;
    text-align: center;
    background: var(--t-bg);
    cursor: pointer;
    transition: all 0.25s var(--t-ease);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.6rem;
}

.thirty-upload-area:hover,
.thirty-upload-area.dragover {
    border-color: var(--t-accent);
    background: var(--t-accent-bg);
}

.thirty-upload-icon {
    width: 52px;
    height: 52px;
    transition: transform 0.3s var(--t-ease);
}

.thirty-upload-icon svg {
    width: 100%;
    height: 100%;
    color: var(--t-muted);
    transition: color 0.25s;
}

.thirty-upload-area:hover .thirty-upload-icon svg,
.thirty-upload-area.dragover .thirty-upload-icon svg {
    color: var(--t-accent);
}

.thirty-upload-area:hover .thirty-upload-icon,
.thirty-upload-area.dragover .thirty-upload-icon {
    transform: translateY(-4px);
}

.thirty-upload-main {
    font-weight: 600;
    font-size: 1rem;
    color: var(--t-text);
}

.thirty-upload-sub {
    font-size: 0.82rem;
    color: var(--t-muted);
}

.thirty-file-badge {
    display: inline-block;
    background: var(--t-accent-bg);
    color: var(--t-accent);
    border: 1px solid #bfdbfe;
    border-radius: 6px;
    padding: 0.3rem 0.75rem;
    font-size: 0.83rem;
    font-weight: 600;
    max-width: 100%;
    word-break: break-all;
    margin-top: 0.25rem;
}

/* ═══ VIEWER ═══════════════════════════════════════════════════ */
#thirty-viewer-wrapper {
    border-radius: var(--t-sm);
    overflow: hidden;
    background: linear-gradient(135deg, #1e293b, #0f172a);
    position: relative;
    margin-top: 1rem;
}

#thirty-3d-canvas {
    display: block;
    width: 100% !important;
    height: 280px !important;
}

.thirty-viewer-hint {
    position: absolute;
    bottom: 8px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.45);
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.72rem;
    padding: 3px 10px;
    border-radius: 20px;
    pointer-events: none;
    white-space: nowrap;
}

.thirty-p3d-badge {
    position: absolute;
    top: 8px;
    right: 8px;
    background: rgba(0, 0, 0, 0.55);
    color: #fff;
    font-size: 0.72rem;
    padding: 3px 8px;
    border-radius: 6px;
    pointer-events: none;
}

/* ═══ PHOTO AREA ═══════════════════════════════════════════════ */
.thirty-photo-area {
    border: 2px dashed var(--t-border);
    border-radius: var(--t-radius);
    min-height: 160px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--t-bg);
    cursor: pointer;
    overflow: hidden;
    transition: border-color 0.25s;
}

.thirty-photo-area:hover {
    border-color: var(--t-accent);
}

#thirty-photo-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    padding: 2rem;
    text-align: center;
}

#thirty-photo-placeholder svg {
    width: 38px;
    height: 38px;
    color: var(--t-muted);
}

#thirty-photo-placeholder p {
    font-size: 0.85rem;
    color: var(--t-muted);
}

#thirty-photo-preview-wrap {
    width: 100%;
    position: relative;
}

#thirty-photo-preview {
    width: 100%;
    max-height: 250px;
    object-fit: cover;
    display: block;
}

.thirty-change-badge {
    position: absolute;
    top: 8px;
    right: 8px;
    background: rgba(0, 0, 0, 0.55);
    color: #fff;
    border: none;
    border-radius: 6px;
    font-size: 0.78rem;
    padding: 4px 10px;
    cursor: pointer;
    font-family: inherit;
    transition: background 0.2s;
}

.thirty-change-badge:hover {
    background: rgba(0, 0, 0, 0.8);
}

/* ═══ FORM FIELDS ══════════════════════════════════════════════ */
.thirty-form-group {
    margin-bottom: 1.25rem;
}

.thirty-form-group label {
    display: block;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 0.4rem;
    color: var(--t-primary);
}

.thirty-form-group input[type="text"],
.thirty-form-group input[type="number"],
.thirty-form-group textarea {
    width: 100%;
    padding: 0.8rem 1rem;
    border: 1px solid var(--t-border);
    border-radius: var(--t-sm);
    font-size: 0.95rem;
    font-family: inherit;
    color: var(--t-text);
    background: var(--t-surface);
    transition: border-color 0.2s, box-shadow 0.2s;
    -moz-appearance: textfield;
    appearance: none;
}

.thirty-form-group input::-webkit-outer-spin-button,
.thirty-form-group input::-webkit-inner-spin-button {
    -webkit-appearance: none;
}

.thirty-form-group input:focus,
.thirty-form-group textarea:focus {
    outline: none;
    border-color: var(--t-accent);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12);
}

.thirty-form-group small {
    display: block;
    margin-top: 0.4rem;
    font-size: 0.78rem;
    color: var(--t-muted);
}

.thirty-input-row {
    display: flex;
    align-items: center;
    position: relative;
}

.thirty-currency-tag {
    position: absolute;
    left: 1rem;
    color: var(--t-muted);
    font-weight: 500;
    pointer-events: none;
    font-size: 0.95rem;
}

.thirty-input-row input {
    padding-left: 2rem !important;
}

/* ═══ INFO BOX ═════════════════════════════════════════════════ */
.thirty-info-box {
    background: var(--t-bg);
    border: 1px solid var(--t-border);
    border-radius: var(--t-sm);
    padding: 1rem 1.25rem;
    margin-bottom: 1.25rem;
}

.thirty-info-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.87rem;
    padding: 0.25rem 0;
}

.thirty-info-row span {
    color: var(--t-muted);
}

.thirty-info-row strong {
    color: var(--t-text);
}

.thirty-info-row.highlight strong {
    font-size: 1.15rem;
    color: var(--t-primary);
}

/* ═══ DIGITAL TOGGLE CARD ══════════════════════════════════════ */
.thirty-toggle-card {
    border: 1px solid var(--t-border);
    border-radius: var(--t-sm);
    padding: 1rem 1.25rem;
    margin-bottom: 1.25rem;
    background: var(--t-bg);
}

.thirty-toggle-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1rem;
}

.thirty-toggle-header>div p {
    font-size: 0.8rem;
    color: var(--t-muted);
    margin-top: 0.2rem;
}

.thirty-toggle-header>div strong {
    font-size: 0.9rem;
    color: var(--t-primary);
}

.thirty-digital-price-area {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--t-border);
}

.thirty-digital-price-area label {
    font-size: 0.875rem;
    font-weight: 600;
    display: block;
    margin-bottom: 0.4rem;
}

/* Toggle switch */
.thirty-switch {
    position: relative;
    display: inline-block;
    width: 44px;
    height: 24px;
    flex-shrink: 0;
}

.thirty-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.thirty-slider {
    position: absolute;
    inset: 0;
    background: #cbd5e1;
    border-radius: 24px;
    cursor: pointer;
    transition: background 0.25s;
}

.thirty-slider::before {
    content: '';
    position: absolute;
    left: 3px;
    top: 3px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #fff;
    transition: transform 0.25s;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

.thirty-switch input:checked+.thirty-slider {
    background: var(--t-accent);
}

.thirty-switch input:checked+.thirty-slider::before {
    transform: translateX(20px);
}

/* ═══ SUMMARY CARD ═════════════════════════════════════════════ */
.thirty-summary-card {
    background: var(--t-primary);
    border-radius: var(--t-sm);
    padding: 1rem 1.25rem;
    margin-bottom: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.thirty-summary-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.88rem;
}

.thirty-summary-row span {
    color: rgba(255, 255, 255, 0.7);
}

.thirty-summary-row strong {
    color: #fff;
    font-size: 1.05rem;
}

/* ═══ NAVIGATION ════════════════════════════════════════════════ */
.thirty-nav-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    margin-top: 1.25rem;
}

.thirty-next-btn {
    margin-top: 1rem;
}

/* ═══ BUTTONS ══════════════════════════════════════════════════ */
.thirty-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: 100%;
    padding: 0.875rem 1.5rem;
    background: var(--t-primary);
    color: #fff;
    border: none;
    border-radius: var(--t-sm);
    font-size: 0.95rem;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.2s var(--t-ease);
}

.thirty-btn:hover {
    background: #000;
    transform: translateY(-2px);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.18);
    color: #fff;
    text-decoration: none;
}

.thirty-btn:disabled {
    background: var(--t-border);
    color: var(--t-muted);
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.thirty-btn-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 0.875rem 1.5rem;
    background: transparent;
    color: var(--t-primary);
    border: 1.5px solid var(--t-primary);
    border-radius: var(--t-sm);
    font-size: 0.9rem;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.2s var(--t-ease);
}

.thirty-btn-outline:hover {
    background: var(--t-primary);
    color: #fff;
    text-decoration: none;
}

.thirty-btn-pill {
    padding: 0.55rem 1.25rem;
    background: var(--t-surface);
    border: 1.5px solid var(--t-border);
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    font-family: inherit;
    transition: all 0.2s var(--t-ease);
    color: var(--t-text);
}

.thirty-btn-pill:hover {
    border-color: var(--t-accent);
    color: var(--t-accent);
}

.thirty-btn-ghost {
    padding: 0.6rem 1rem;
    background: transparent;
    border: none;
    color: var(--t-muted);
    font-size: 0.88rem;
    font-family: inherit;
    cursor: pointer;
    border-radius: var(--t-sm);
    transition: color 0.2s;
}

.thirty-btn-ghost:hover {
    color: var(--t-primary);
}

/* ═══ LOADER ═══════════════════════════════════════════════════ */
.thirty-loader-wrap {
    text-align: center;
    padding: 2.5rem 0;
}

.thirty-loader-wrap p {
    color: var(--t-muted);
    margin-top: 0.75rem;
    font-size: 0.9rem;
}

.thirty-spinner {
    width: 34px;
    height: 34px;
    border: 3px solid var(--t-border);
    border-top-color: var(--t-accent);
    border-radius: 50%;
    animation: thirty-spin 0.75s linear infinite;
    margin: 0 auto;
}

@keyframes thirty-spin {
    to {
        transform: rotate(360deg);
    }
}

/* ═══ MESSAGES ═════════════════════════════════════════════════ */
#thirty-message {
    margin-top: 1.25rem;
    padding: 1rem;
    border-radius: var(--t-sm);
    font-size: 0.88rem;
    font-weight: 500;
    text-align: center;
}

.thirty-message-success {
    background: var(--t-success-bg);
    color: var(--t-success);
    border: 1px solid #bbf7d0;
}

.thirty-message-error {
    background: var(--t-error-bg);
    color: var(--t-error);
    border: 1px solid #fecaca;
}

/* ═══ PRINTER SELECTOR ═════════════════════════════════════════ */
.thirty-selector-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 0.25rem;
}

.thirty-printer-card {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 1rem;
    border: 1.5px solid var(--t-border);
    border-radius: var(--t-sm);
    background: var(--t-bg);
    cursor: pointer;
    font-size: 0.87rem;
    font-weight: 500;
    font-family: inherit;
    color: var(--t-text);
    transition: all 0.2s var(--t-ease);
    white-space: nowrap;
}

.thirty-printer-card:hover {
    border-color: var(--t-accent);
    background: var(--t-accent-bg);
    color: var(--t-accent);
}

.thirty-printer-card.selected {
    border-color: var(--t-primary);
    background: var(--t-primary);
    color: #fff;
}

/* ═══ MATERIAL COLOR GRID ═══════════════════════════════════════ */
.thirty-material-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    margin-top: 0.25rem;
}

.thirty-mat-swatch-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 3px solid transparent;
    cursor: pointer;
    position: relative;
    transition: transform 0.2s var(--t-ease), box-shadow 0.2s;
    flex-shrink: 0;
    outline: none;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.15);
}

.thirty-mat-swatch-btn:hover {
    transform: scale(1.12);
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
}

.thirty-mat-swatch-btn.selected {
    border-color: var(--t-primary);
    transform: scale(1.15);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.3);
}

/* ═══ MATERIAL CARD BUTTONS ════════════════════════════════════ */
.thirty-mat-card-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    border: 2px solid var(--t-border);
    border-radius: 10px;
    background: var(--t-surface);
    cursor: pointer;
    font-family: inherit;
    transition: all 0.2s var(--t-ease);
    text-align: left;
    min-width: 130px;
}

.thirty-mat-card-btn:hover {
    border-color: var(--t-accent);
    background: var(--t-accent-bg);
}

.thirty-mat-card-btn.selected {
    border-color: var(--t-accent);
    background: var(--t-accent-bg);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}

.thirty-mat-card-dot {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    flex-shrink: 0;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.15);
    border: 2px solid rgba(255,255,255,0.4);
}

.thirty-mat-card-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
    line-height: 1.2;
}

.thirty-mat-card-info strong {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--t-text);
}

.thirty-mat-card-info small {
    font-size: 0.75rem;
    color: var(--t-accent);
    font-weight: 600;
}

.thirty-mat-swatch-btn::after {
    content: attr(title);
    position: absolute;
    top: 110%;
    left: 50%;
    transform: translateX(-50%);
    background: var(--t-primary);
    color: #fff;
    font-size: 0.68rem;
    padding: 2px 7px;
    border-radius: 4px;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s;
    z-index: 10;
}

.thirty-mat-swatch-btn:hover::after {
    opacity: 1;
}

/* Material preview bar */
.thirty-material-preview {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.75rem 1rem;
    background: var(--t-bg);
    border: 1px solid var(--t-border);
    border-radius: var(--t-sm);
    margin-top: 0.75rem;
}

.thirty-mat-swatch {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    flex-shrink: 0;
    border: 2px solid rgba(0, 0, 0, 0.08);
    background: #ccc;
}

.thirty-mat-info strong {
    display: block;
    font-size: 0.9rem;
    color: var(--t-primary);
}

.thirty-mat-info small {
    font-size: 0.78rem;
    color: var(--t-muted);
    line-height: 1.4;
}

/* Coating cards same as printer but smaller */
.thirty-coating-card {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 0.9rem;
    border: 1.5px solid var(--t-border);
    border-radius: 20px;
    background: var(--t-bg);
    cursor: pointer;
    font-size: 0.82rem;
    font-weight: 500;
    font-family: inherit;
    color: var(--t-text);
    transition: all 0.2s var(--t-ease);
    white-space: nowrap;
}

.thirty-coating-card .thirty-coat-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #aaa;
    flex-shrink: 0;
}

.thirty-coating-card:hover {
    border-color: var(--t-accent);
    background: var(--t-accent-bg);
}

.thirty-coating-card.selected {
    border-color: var(--t-primary);
    background: var(--t-primary);
    color: #fff;
}

.thirty-coating-card.selected .thirty-coat-dot {
    border: 1px solid rgba(255, 255, 255, 0.4);
}

/* Scaling controls */
#thirty-scaling-group {
    margin-top: 1.5rem;
}

.thirty-scale-slider-wrap {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 0.75rem;
}

#thirty-scale-slider {
    flex: 1;
    cursor: pointer;
    height: 6px;
    border-radius: 5px;
    background: #e2e8f0;
    outline: none;
    -webkit-appearance: none;
    appearance: none;
}

#thirty-scale-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: var(--t-primary);
    cursor: pointer;
    border: 2px solid #fff;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

#thirty-scale-percent {
    font-weight: 600;
    color: var(--t-primary);
    min-width: 45px;
    font-size: 0.9rem;
}

.thirty-dimensions-info {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.5rem;
    background: var(--t-bg);
    padding: 0.75rem;
    border-radius: var(--t-sm);
    border: 1.5px solid var(--t-border);
}

.thirty-dim-item {
    font-size: 0.78rem;
    color: var(--t-muted);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.thirty-dim-item strong {
    color: var(--t-text);
    font-size: 0.95rem;
    margin-top: 2px;
}

.thirty-warning {
    color: #ef4444;
    font-size: 0.82rem;
    margin-top: 0.5rem;
    font-weight: 500;
    text-align: center;
}

/* ═══ UTILITY ══════════════════════════════════════════════════ */
.thirty-hidden {
    display: none !important;
}

/* Scaling controls */
#thirty-scaling-group {
    margin-top: 1.5rem;
}

.thirty-scale-slider-wrap {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 0.75rem;
}

#thirty-scale-slider {
    flex: 1;
    cursor: pointer;
    height: 6px;
    border-radius: 5px;
    background: #e2e8f0;
    outline: none;
    -webkit-appearance: none;
    appearance: none;
}

#thirty-scale-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: var(--t-primary);
    cursor: pointer;
    border: 2px solid #fff;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

#thirty-scale-percent {
    font-weight: 600;
    color: var(--t-primary);
    min-width: 45px;
    font-size: 0.9rem;
}

.thirty-dimensions-info {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.5rem;
    background: var(--t-bg);
    padding: 0.75rem;
    border-radius: var(--t-sm);
    border: 1.5px solid var(--t-border);
}

.thirty-dim-item {
    font-size: 0.78rem;
    color: var(--t-muted);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.thirty-dim-item strong {
    color: var(--t-text);
    font-size: 0.95rem;
    margin-top: 2px;
}

.thirty-warning {
    color: #ef4444;
    font-size: 0.82rem;
    margin-top: 0.5rem;
    font-weight: 500;
    text-align: center;
}

/* ═══ RESPONSIVE ════════════════════════════════════════════════ */
@media (max-width:580px) {
    .thirty-3dmc-container {
        padding: 1.5rem 1.25rem;
    }

    .thirty-3dmc-title {
        font-size: 1.3rem;
    }

    .thirty-nav-row {
        flex-direction: column;
    }

    .thirty-nav-row .thirty-btn {
        width: 100%;
    }
}

/* ═══ MY ACCOUNT TAB ════════════════════════════════════════════ */
.thirty-account-products h3 {
    margin-bottom: 0.5rem;
    color: var(--t-dark);
}

.thirty-account-card {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    position: relative;
}

.thirty-account-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.08);
}

.thirty-account-card img {
    transition: transform 0.5s ease;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.thirty-account-card:hover img {
    transform: scale(1.05);
}

.thirty-account-status {
    position: absolute;
    top: 12px;
    right: 12px;
    font-size: 0.75rem;
    padding: 4px 10px;
    border-radius: 6px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    color: #fff;
    z-index: 5;
}

.thirty-account-status.publish {
    background: #22c55e;
}

.thirty-account-status.pending {
    background: #f59e0b;
}

.thirty-account-status.draft {
    background: #94a3b8;
}

/* ==========================================================================
   WOOCOMMERCE MY ACCOUNT PREMIUM STYLING
   ========================================================================== */
.woocommerce-account .woocommerce-MyAccount-navigation {
    width: 26%;
    float: left;
    background: #ffffff;
    border-radius: 12px;
    padding: 10px 0;
    border: 1px solid #e2e8f0;
    box-shadow: 0 4px 15px rgba(0,0,0,0.02);
    margin-right: 4%;
}

.woocommerce-account .woocommerce-MyAccount-navigation ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.woocommerce-account .woocommerce-MyAccount-navigation ul li {
    margin: 0;
    border-bottom: 1px solid #f1f5f9;
}

.woocommerce-account .woocommerce-MyAccount-navigation ul li:last-child {
    border-bottom: none;
}

.woocommerce-account .woocommerce-MyAccount-navigation ul li a {
    display: block;
    padding: 14px 24px;
    color: #475569;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    font-family: 'Inter', system-ui, sans-serif;
    font-size: 0.95rem;
}

.woocommerce-account .woocommerce-MyAccount-navigation ul li a:before {
    content: "•";
    color: transparent;
    margin-right: 8px;
    transition: color 0.2s;
}

.woocommerce-account .woocommerce-MyAccount-navigation ul li a:hover,
.woocommerce-account .woocommerce-MyAccount-navigation ul li.is-active a {
    background: #f8fafc;
    color: #2563eb;
    padding-left: 28px;
    border-left: 4px solid #2563eb;
}

.woocommerce-account .woocommerce-MyAccount-navigation ul li.is-active a:before {
    color: #2563eb;
}

.woocommerce-account .woocommerce-MyAccount-content {
    width: 70%;
    float: right;
    background: #ffffff;
    padding: 35px;
    border-radius: 16px;
    box-shadow: 0 4px 25px rgba(0,0,0,0.03);
    border: 1px solid #e2e8f0;
    font-family: 'Inter', system-ui, sans-serif;
    color: #334155;
    line-height: 1.6;
}

.woocommerce-account .woocommerce-MyAccount-content h1,
.woocommerce-account .woocommerce-MyAccount-content h2,
.woocommerce-account .woocommerce-MyAccount-content h3 {
    margin-top: 0;
    color: #0f172a;
    font-weight: 700;
}

.woocommerce-account .woocommerce-MyAccount-content mark {
    background: #eff6ff;
    color: #1d4ed8;
    padding: 0 4px;
    border-radius: 4px;
}

.woocommerce-account .woocommerce-MyAccount-content a {
    color: #2563eb;
    text-decoration: none;
    font-weight: 500;
}

.woocommerce-account .woocommerce-MyAccount-content a:hover {
    text-decoration: underline;
}

@media (max-width: 768px) {
    .woocommerce-account .woocommerce-MyAccount-navigation {
        width: 100%;
        float: none;
        margin-right: 0;
        margin-bottom: 25px;
    }
    .woocommerce-account .woocommerce-MyAccount-content {
        width: 100%;
        float: none;
        padding: 20px;
    }
}