/* ===== AMA TWO-COLUMN LAYOUT ===== */
.ama-layout {
    display: grid;
    grid-template-columns: 8fr 4fr;
    gap: 2.5rem;
    padding-top: 1.5rem;
    padding-bottom: 3rem;
    align-items: start;
}

/* Center form content within the 8-col column */
.ama-form { max-width: 580px; margin: 0 auto; }
.ama-form .pf-card { max-width: none; }
.ama-form .pf-nav { max-width: none; }
.ama-form .pf-steps { padding: 0; }

/* Hide coupon + price breakdown on pay step */
#stepPay div:has(> .pf-coupon-row) { display: none; }
#stepPay .pf-price-table { display: none; }

/* Next button = primary color */
.ama-form .pf-nav-btn--next {
    background: var(--primary);
}
.ama-form .pf-nav-btn--next:hover {
    background: var(--primary); opacity: 0.9;
}

/* ===== SIDEBAR ===== */
.ama-sidebar { position: sticky; top: 5rem; }
.ama-sidebar-card {
    background: #fff; border: 1px solid var(--border);
    border-radius: 1rem; padding: 1.75rem;
    box-shadow: 0 2px 12px rgba(0,0,0,0.04);
}
.ama-sidebar-icon {
    width: 44px; height: 44px; border-radius: 50%;
    border: 2px solid var(--border);
    display: flex; align-items: center; justify-content: center;
    margin-bottom: 1rem;
}
.ama-sidebar-icon i { font-size: 1.125rem; color: var(--primary); }
.ama-sidebar-card h1 {
    font-family: "Exo 2", sans-serif;
    font-size: 1.375rem; font-weight: 800;
    color: var(--foreground);
    margin: 0 0 0.5rem; line-height: 1.2;
}
.ama-desc {
    font-size: 0.8125rem; color: var(--muted-foreground);
    line-height: 1.6; margin: 0 0 1.25rem;
}

/* Sidebar stats */
.ama-stats {
    display: flex; gap: 0.5rem;
    margin-bottom: 1.25rem; padding-bottom: 1.25rem;
    border-bottom: 1px solid var(--border);
}
.ama-stat {
    flex: 1; text-align: center;
    padding: 0.5rem 0.25rem; background: var(--muted);
    border-radius: 0.5rem;
}
.ama-stat-value {
    font-family: "Exo 2", sans-serif;
    font-size: 1rem; font-weight: 700;
    color: var(--primary); line-height: 1;
}
.ama-stat-label {
    font-size: 0.6rem; color: var(--muted-foreground);
    text-transform: uppercase; letter-spacing: 0.04em;
    margin-top: 0.2rem;
}

/* Sidebar headings */
.ama-sidebar-heading {
    font-size: 0.6875rem; font-weight: 700;
    text-transform: uppercase; letter-spacing: 0.08em;
    color: var(--muted-foreground); margin-bottom: 0.5rem;
}

/* Example questions / highlights */
.ama-example-list {
    list-style: none; padding: 0;
    margin: 0 0 1.25rem;
}
.ama-example-list li {
    font-size: 0.78rem; color: var(--foreground);
    padding: 0.35rem 0;
    border-bottom: 1px solid rgba(0,0,0,0.04);
    display: flex; align-items: flex-start;
    gap: 0.375rem; line-height: 1.4;
}
.ama-example-list li:last-child { border-bottom: none; }
.ama-example-list li i {
    color: var(--primary); font-size: 0.625rem;
    margin-top: 0.25rem; flex-shrink: 0;
}

/* Benefits */
.ama-benefits { list-style: none; padding: 0; margin: 0; }
.ama-benefits li {
    font-size: 0.78rem; color: var(--foreground);
    padding: 0.3rem 0;
    display: flex; align-items: center; gap: 0.4rem;
}
.ama-benefits li i { color: var(--primary); font-size: 0.6875rem; }

/* ===== ORDER SUMMARY (receipt style) ===== */
.ama-order {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0,0,0,0.04);
}
.ama-order-edge {
    height: 4px;
    background: linear-gradient(90deg, var(--primary) 0%, #f59e0b 100%);
}
.ama-order-header {
    display: flex; align-items: center; gap: 0.5rem;
    padding: 0.875rem 1.25rem;
    font-size: 0.875rem; font-weight: 700;
    color: var(--foreground);
    border-bottom: 1px dashed var(--border);
    font-family: "Exo 2", sans-serif;
}
.ama-order-header i { color: var(--primary); font-size: 1rem; }
.ama-order-body { padding: 1rem 1.25rem; }
.ama-order-item {
    display: flex; align-items: flex-start; gap: 0.625rem;
    padding: 0.5rem 0;
}
.ama-order-icon {
    width: 28px; height: 28px; border-radius: 0.375rem;
    background: var(--muted);
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
}
.ama-order-icon i { font-size: 0.75rem; color: var(--primary); }
.ama-order-detail { min-width: 0; flex: 1; }
.ama-order-label {
    display: block;
    font-size: 0.625rem; font-weight: 600;
    text-transform: uppercase; letter-spacing: 0.06em;
    color: var(--muted-foreground);
    line-height: 1;
}
.ama-order-value {
    display: block;
    font-size: 0.8125rem; font-weight: 600;
    color: var(--foreground);
    margin-top: 0.15rem;
    overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.ama-order-value--wrap {
    white-space: normal;
    display: -webkit-box; -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    line-height: 1.35;
}
.ama-order-sep {
    border-top: 1px dashed var(--border);
    margin: 0.375rem 0;
}
.ama-order-footer {
    padding: 0.625rem 1.25rem;
    background: var(--muted);
    font-size: 0.6875rem; font-weight: 500;
    color: var(--muted-foreground);
    text-align: center;
    display: flex; align-items: center; justify-content: center; gap: 0.35rem;
}
.ama-order-footer i { color: #16a34a; font-size: 0.75rem; }

/* Mobile: stack */
@media (max-width: 1024px) {
    .ama-layout {
        grid-template-columns: 1fr;
        gap: 1.5rem; padding-top: 1rem;
    }
    .ama-sidebar { position: static; order: -1; }
}
