.ap-studio-wrap {
    max-width: 1100px;
    margin: 30px auto;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: #0F172A;
}
.ap-studio-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    background: #FFFBF5;
    padding: 32px;
    border-radius: 24px;
    border: 1px solid rgba(15, 23, 42, 0.08);
    box-shadow: 0 12px 32px -12px rgba(15, 23, 42, 0.14);
}
.ap-preview-box {
    position: relative;
    background: #E2E8F0;
    border: 2px dashed #94A3B8;
    border-radius: 18px;
    min-height: 380px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    user-select: none;
}
.ap-preview-box img {
    max-width: 100%;
    max-height: 440px;
    object-fit: contain;
    display: block;
    pointer-events: none;
}
.ap-placeholder { text-align: center; padding: 24px; color: #475569; }
.ap-icon { font-size: 2.6rem; display: block; margin-bottom: 8px; }
.ap-loader {
    position: absolute; inset: 0;
    background: rgba(15, 23, 42, 0.78); color: #FFF;
    display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; font-weight: 600;
}
.ap-spinner {
    width: 42px; height: 42px;
    border: 4px solid rgba(255,255,255,0.25); border-top-color: #E11D48;
    border-radius: 50%; animation: apSpin 0.8s linear infinite;
}
@keyframes apSpin { to { transform: rotate(360deg); } }
.ap-status-bar { margin-top: 12px; font-size: 0.85rem; color: #475569; text-align: center; }
.ap-contact-mini {
    margin-top: 12px; padding: 12px 14px; border-radius: 12px;
    background: #FFFFFF; border: 1px solid #E2E8F0;
    font-size: 0.82rem; color: #334155; text-align: center; line-height: 1.5;
}
.ap-contact-mini a { color: #E11D48; font-weight: 600; text-decoration: none; }
.ap-controls-col { display: flex; flex-direction: column; gap: 16px; }
.ap-field label { display: block; font-weight: 700; font-size: 0.92rem; margin-bottom: 6px; }
.ap-input { width: 100%; padding: 12px 14px; border-radius: 12px; border: 2px solid #CBD5E1; background: #FFF; font-size: 0.96rem; }
.ap-style-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.ap-style-btn { padding: 11px 8px; border-radius: 12px; border: 2px solid #CBD5E1; background: #FFF; font-weight: 700; cursor: pointer; transition: all 0.18s; }
.ap-style-btn.active { border-color: #E11D48; background: rgba(225, 29, 72, 0.08); color: #E11D48; }
.ap-divider { border: none; border-top: 1px solid #E2E8F0; margin: 4px 0; }
.ap-btn { padding: 12px 20px; border-radius: 999px; font-weight: 700; font-size: 0.95rem; cursor: pointer; border: none; transition: transform 0.15s, background 0.15s; }
.ap-btn:hover { transform: translateY(-1px); }
.ap-btn-dark { width: 100%; background: #0F172A; color: #FFF; }
.ap-btn-dark:hover { background: #1E293B; }
.ap-btn-primary { background: #E11D48; color: #FFF; }
.ap-btn-primary:hover { background: #BE123C; }
.ap-btn-outline { background: transparent; border: 2px solid #FFF; color: #FFF; }
.ap-checkout-bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; background: #0F172A; color: #FFF; padding: 16px 20px; border-radius: 16px; }
.ap-checkout-bar small { color: #94A3B8; display: block; }
.ap-total { font-size: 1.6rem; font-weight: 800; color: #F59E0B; }
.ap-actions { display: flex; gap: 8px; flex-wrap: wrap; }
@media (max-width: 820px) { .ap-studio-grid { grid-template-columns: 1fr; padding: 20px; } }
