/* Embed inside Elementor slider / hero section */
.pk-wizard-widget,
.pk-wizard-widget * {
    box-sizing: border-box;
}

.pk-wizard-widget {
    width: 100%;
    direction: rtl;
    font-family: Vazirmatn, Tahoma, "Segoe UI", sans-serif;
}

.pk-wizard-widget--hero {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 1rem;
    text-align: center;
}

.pk-wizard-hero-headings {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.pk-wizard-hero-title,
.pk-wizard-hero-subtitle,
.pk-wizard-hero-hint {
    margin: 0;
    line-height: 1.45;
}

.pk-wizard-widget--light-text .pk-wizard-hero-title,
.pk-wizard-widget--light-text .pk-wizard-hero-subtitle,
.pk-wizard-widget--light-text .pk-wizard-hero-hint {
    color: #ffffff;
}

.pk-wizard-widget--light-text .pk-wizard-hero-title {
    font-size: clamp(1.35rem, 3vw, 2rem);
    font-weight: 700;
}

.pk-wizard-widget--light-text .pk-wizard-hero-subtitle {
    font-size: clamp(1rem, 2.2vw, 1.35rem);
    font-weight: 600;
}

.pk-wizard-hero-hint {
    font-size: 1rem;
    font-weight: 600;
}

.pk-wizard-cta-wrap {
    display: flex;
    justify-content: center;
    margin-top: 0.25rem;
}

.pk-wizard-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #ffffff;
    color: #f26525 !important;
    border: 1px solid rgba(255, 255, 255, 0.85);
    border-radius: 999px;
    padding: 0.55rem 1.25rem;
    font-weight: 700;
    text-decoration: none !important;
    transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.pk-wizard-cta:hover {
    background: #f26525;
    color: #ffffff !important;
    transform: translateY(-1px);
}

.pk-wizard-error {
    color: #b91c1c;
    background: #fef2f2;
    border: 1px solid #fecaca;
    border-radius: 10px;
    padding: 0.75rem 1rem;
}

/* Wizard compact inside hero — no full-page layout */
.wizard-root.wizard-embed {
    min-height: 0;
    width: 100%;
}

.wizard-root.wizard-embed .wizard-entry {
    min-height: 0;
    padding: 0;
    align-items: stretch;
}

.wizard-root.wizard-embed-hero .wizard-entry-header {
    display: none;
}

.wizard-root.wizard-embed .wizard-entry-card {
    max-width: none;
    margin: 0;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
    border-top-width: 3px;
}

.wizard-root.wizard-embed .wizard-brand-grid {
    gap: 0.5rem;
}

.wizard-root.wizard-embed .wizard-brand-item,
.wizard-root.wizard-embed .wizard-other-brands {
    min-height: 6.5rem;
    padding: 0.5rem 0.35rem;
}

.wizard-root.wizard-embed .wizard-brand-figure {
    width: 3.5rem;
    height: 3.5rem;
}

.wizard-root.wizard-embed .wizard-btn-primary {
    width: 100%;
    max-width: 360px;
    margin: 0 auto;
}

.wizard-root.wizard-embed .wizard-flow .wizard-container {
    max-width: none;
    padding-left: 0;
    padding-right: 0;
}

@media (max-width: 767px) {
    .wizard-root.wizard-embed .wizard-brand-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}
