/**
 * RAWASYSTEM Theme Compatibility - CSS Isolation
 *
 * عزل CSS لنموذج الدفع السريع لمنع تعارضه مع أنماط القالب.
 * يضمن ظهور الفورم بشكل احترافي ومتسق في جميع القوالب.
 *
 * @package RAWASYSTEM_Express_Checkout
 * @since   2.1.0
 */

/* ─── CSS Isolation via all: initial ──────────────────── */

/*
 * نستخدم all: initial بحذر فقط على عناصر الحاوية الرئيسية
 * لإعادة تعيين جميع الأنماط الموروثة من القالب.
 * العناصر الداخلية تستخدم أنماط RAWASYSTEM فقط.
 */

.rawasystem-checkout-wrapper {
    /* إعادة تعيين جميع الخصائص الموروثة */
    all: initial;

    /* إعادة تعيين الخصائص الأساسية */
    display: block;
    position: relative;
    box-sizing: border-box;
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 0;

    /* منع overflow من القالب */
    overflow: visible;

    /* خطوط افتراضية */
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: #1f2937;
    text-align: right;

    /* اتجاه RTL */
    direction: rtl;
    unicode-bidi: normal;

    /* منع التأثر بـ CSS القالب */
    z-index: 1;
    pointer-events: auto;
    visibility: visible;
    opacity: 1;

    /* منع flex/grid conflicts */
    flex: none;
    grid-column: auto;
    grid-row: auto;

    /* تأكد من أن الحاوية ليست مطلقة أو ثابتة */
    position: relative;
    top: auto;
    right: auto;
    bottom: auto;
    left: auto;
    float: none;
    clear: none;
}

/* ─── Prevent Theme Resets from Affecting Inner Elements ── */

.rawasystem-checkout-wrapper *,
.rawasystem-checkout-wrapper *::before,
.rawasystem-checkout-wrapper *::after {
    box-sizing: border-box;
}

/* ─── Reset Specific Theme Overrides ──────────────────── */

/* منع تأثر الفورم بأنماط القالب العامة */
.rawasystem-checkout-wrapper h1,
.rawasystem-checkout-wrapper h2,
.rawasystem-checkout-wrapper h3,
.rawasystem-checkout-wrapper h4,
.rawasystem-checkout-wrapper h5,
.rawasystem-checkout-wrapper h6 {
    all: unset;
    display: block;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    font-weight: 600;
    line-height: 1.4;
    color: #1f2937;
    direction: rtl;
    margin: 0;
    padding: 0;
}

.rawasystem-checkout-wrapper p {
    all: unset;
    display: block;
    font-family: inherit;
    font-size: inherit;
    line-height: inherit;
    color: inherit;
    direction: rtl;
    margin: 0;
    padding: 0;
}

.rawasystem-checkout-wrapper label {
    all: unset;
    display: block;
    font-family: inherit;
    font-size: inherit;
    line-height: inherit;
    color: inherit;
    direction: rtl;
    cursor: pointer;
}

.rawasystem-checkout-wrapper input,
.rawasystem-checkout-wrapper textarea,
.rawasystem-checkout-wrapper select,
.rawasystem-checkout-wrapper button {
    all: unset;
    box-sizing: border-box;
    font-family: inherit;
    font-size: inherit;
    line-height: inherit;
    color: inherit;
    direction: rtl;
}

.rawasystem-checkout-wrapper input[type="text"],
.rawasystem-checkout-wrapper input[type="tel"],
.rawasystem-checkout-wrapper input[type="email"],
.rawasystem-checkout-wrapper input[type="number"],
.rawasystem-checkout-wrapper textarea,
.rawasystem-checkout-wrapper select {
    display: block;
    width: 100%;
    padding: 10px 14px;
    border: 1px solid #d1d5db;
    border-radius: var(--rawasystem-input-border-radius, 6px);
    background-color: #ffffff;
    color: #1f2937;
    font-size: 14px;
    line-height: 1.5;
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

.rawasystem-checkout-wrapper input[type="text"]:focus,
.rawasystem-checkout-wrapper input[type="tel"]:focus,
.rawasystem-checkout-wrapper input[type="email"]:focus,
.rawasystem-checkout-wrapper input[type="number"]:focus,
.rawasystem-checkout-wrapper textarea:focus,
.rawasystem-checkout-wrapper select:focus {
    border-color: var(--rawasystem-primary-color, #4f46e5);
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.15);
}

.rawasystem-checkout-wrapper textarea {
    resize: vertical;
    min-height: 60px;
}

.rawasystem-checkout-wrapper button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    border: none;
    outline: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

/* ─── Form Card ──────────────────────────────────────── */

.rawasystem-form-card {
    background-color: var(--rawasystem-form-bg-color, #ffffff);
    border: 1px solid var(--rawasystem-form-border-color, #e5e7eb);
    border-radius: var(--rawasystem-form-border-radius, 12px);
    padding: 20px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08), 0 1px 2px rgba(0, 0, 0, 0.04);
    overflow: hidden;
    position: relative;
}

/* ─── Prevent Theme-Related Overflow Issues ───────────── */

.rawasystem-checkout-wrapper .rawasystem-slider-container {
    overflow: hidden;
    position: relative;
}

.rawasystem-checkout-wrapper .rawasystem-slider-track {
    display: flex;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform;
}

.rawasystem-checkout-wrapper .rawasystem-slider-step {
    min-width: 100%;
    flex-shrink: 0;
    padding: 10px 0;
}

/* ─── Input Group ────────────────────────────────────── */

.rawasystem-input-group {
    margin-bottom: 16px;
    display: block;
}

.rawasystem-input-label {
    display: block;
    font-size: 14px;
    font-weight: 500;
    color: #374151;
    margin-bottom: 6px;
}

.rawasystem-input-label small {
    font-weight: 400;
    color: #9ca3af;
    font-size: 12px;
}

/* ─── Buttons ────────────────────────────────────────── */

.rawasystem-btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 12px 20px;
    background-color: var(--rawasystem-button-bg-color, #4f46e5);
    color: var(--rawasystem-button-text-color, #ffffff) !important;
    border: none;
    border-radius: var(--rawasystem-button-border-radius, 8px);
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none !important;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    line-height: 1.5;
}

.rawasystem-btn-primary:hover {
    filter: brightness(1.1);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(79, 70, 229, 0.3);
}

.rawasystem-btn-primary:active {
    transform: translateY(0);
}

.rawasystem-btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 16px;
    background-color: #f3f4f6;
    color: #374151 !important;
    border: 1px solid #d1d5db;
    border-radius: var(--rawasystem-button-border-radius, 8px);
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none !important;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    line-height: 1.5;
}

.rawasystem-btn-secondary:hover {
    background-color: #e5e7eb;
}

/* ─── Loading State ──────────────────────────────────── */

.rawasystem-btn--loading {
    position: relative;
    pointer-events: none;
    opacity: 0.7;
}

.rawasystem-spinner {
    display: inline-block;
    width: 18px;
    height: 18px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: #ffffff;
    animation: rawasystem-spin 0.6s linear infinite;
}

@keyframes rawasystem-spin {
    to { transform: rotate(360deg); }
}

/* ─── Step Actions ───────────────────────────────────── */

.rawasystem-step-actions {
    display: flex;
    gap: 12px;
    margin-top: 20px;
    direction: rtl;
}

.rawasystem-step-actions .rawasystem-btn-secondary {
    flex-shrink: 0;
}

.rawasystem-step-actions .rawasystem-btn-primary {
    flex: 1;
}

/* ─── Progress Bar ───────────────────────────────────── */

.rawasystem-progress-bar {
    margin-bottom: 16px;
}

.rawasystem-progress-track {
    height: 4px;
    background-color: #e5e7eb;
    border-radius: 2px;
    overflow: hidden;
    margin-bottom: 10px;
}

.rawasystem-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--rawasystem-primary-color, #4f46e5), var(--rawasystem-secondary-color, #7c3aed));
    border-radius: 2px;
    transition: width 0.4s ease;
}

.rawasystem-step-indicators {
    display: flex;
    justify-content: space-between;
    direction: rtl;
}

.rawasystem-step-indicator {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    font-size: 11px;
    color: #9ca3af;
}

.rawasystem-step-number {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background-color: #f3f4f6;
    color: #6b7280;
    font-size: 12px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.rawasystem-step-indicator--active .rawasystem-step-number {
    background-color: var(--rawasystem-primary-color, #4f46e5);
    color: #ffffff !important;
}

.rawasystem-step-indicator--completed .rawasystem-step-number {
    background-color: #10b981;
    color: #ffffff !important;
}

.rawasystem-step-label {
    font-size: 10px;
    text-align: center;
    white-space: nowrap;
}

/* ─── Urgency Bar ────────────────────────────────────── */

.rawasystem-urgency-bar {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 12px;
    background-color: #fef3c7;
    border: 1px solid #fbbf24;
    border-radius: 8px;
    margin-bottom: 16px;
    font-size: 13px;
    color: #92400e;
}

.rawasystem-viewers-count {
    font-weight: 700;
    color: #b45309;
}

/* ─── Form Header ────────────────────────────────────── */

.rawasystem-form-header {
    margin-bottom: 16px;
    text-align: center;
}

.rawasystem-form-title {
    font-size: var(--rawasystem-title-font-size, 18px);
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 4px;
}

.rawasystem-form-subtitle {
    font-size: 13px;
    color: #6b7280;
}

/* ─── Option Buttons (Size / Color) ──────────────────── */

.rawasystem-option-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    direction: rtl;
}

.rawasystem-option-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 16px;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    background-color: #ffffff;
    color: #374151 !important;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

.rawasystem-option-btn:hover {
    border-color: var(--rawasystem-primary-color, #4f46e5);
    background-color: #eef2ff;
}

.rawasystem-option-btn--selected {
    border-color: var(--rawasystem-primary-color, #4f46e5);
    background-color: var(--rawasystem-primary-color, #4f46e5);
    color: #ffffff !important;
}

/* ─── Quantity Control ───────────────────────────────── */

.rawasystem-quantity-control {
    display: flex;
    align-items: center;
    gap: 0;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    overflow: hidden;
    width: fit-content;
}

.rawasystem-qty-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background-color: #f9fafb;
    color: #374151 !important;
    border: none;
    cursor: pointer;
    font-size: 16px;
    transition: background-color 0.2s ease;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

.rawasystem-qty-btn:hover {
    background-color: #e5e7eb;
}

.rawasystem-qty-input {
    width: 50px;
    height: 36px;
    text-align: center;
    border: none !important;
    border-left: 1px solid #d1d5db !important;
    border-right: 1px solid #d1d5db !important;
    border-radius: 0 !important;
    background-color: #ffffff !important;
    font-size: 14px;
    font-weight: 600;
    -moz-appearance: textfield;
}

.rawasystem-qty-input::-webkit-inner-spin-button,
.rawasystem-qty-input::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* ─── Upsell Cards ───────────────────────────────────── */

.rawasystem-upsell-section {
    margin-bottom: 16px;
}

.rawasystem-upsell-title {
    font-size: 14px;
    font-weight: 600;
    color: #374151;
    margin-bottom: 10px;
}

.rawasystem-upsell-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    margin-bottom: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    direction: rtl;
    background-color: #ffffff;
}

.rawasystem-upsell-card:hover {
    border-color: var(--rawasystem-primary-color, #4f46e5);
    background-color: #eef2ff;
}

.rawasystem-upsell-card--selected {
    border-color: var(--rawasystem-primary-color, #4f46e5);
    background-color: #eef2ff;
}

.rawasystem-upsell-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.rawasystem-upsell-text {
    font-size: 14px;
    font-weight: 500;
    color: #1f2937;
}

.rawasystem-upsell-save {
    display: inline-block;
    padding: 2px 8px;
    background-color: #dcfce7;
    color: #166534;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
}

.rawasystem-upsell-price {
    font-size: 16px;
    font-weight: 700;
    color: var(--rawasystem-primary-color, #4f46e5);
}

/* ─── Order Summary ──────────────────────────────────── */

.rawasystem-order-summary {
    padding: 12px;
    background-color: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    margin-bottom: 16px;
}

.rawasystem-summary-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 6px 0;
    font-size: 14px;
    direction: rtl;
}

.rawasystem-summary-product-name {
    font-weight: 500;
    color: #1f2937;
}

.rawasystem-summary-divider {
    height: 1px;
    background-color: #e5e7eb;
    margin: 8px 0;
}

.rawasystem-summary-total {
    font-weight: 700;
    font-size: 16px;
    color: #1f2937;
}

.rawasystem-summary-total-amount {
    color: var(--rawasystem-primary-color, #4f46e5);
    font-size: var(--rawasystem-price-font-size, 24px);
    font-weight: 700;
}

.rawasystem-summary-discount {
    color: #10b981;
}

/* ─── Coupon Section ─────────────────────────────────── */

.rawasystem-coupon-section {
    margin-bottom: 16px;
}

.rawasystem-coupon-toggle {
    display: inline-flex;
    align-items: center;
    padding: 6px 0;
    background: none;
    border: none;
    color: var(--rawasystem-primary-color, #4f46e5) !important;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    text-decoration: underline;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

.rawasystem-coupon-input {
    display: flex;
    gap: 8px;
    margin-top: 8px;
    direction: rtl;
}

.rawasystem-coupon-input .rawasystem-input {
    flex: 1;
}

.rawasystem-coupon-message {
    padding: 8px 12px;
    border-radius: 6px;
    font-size: 13px;
    margin-top: 8px;
}

.rawasystem-coupon-message--success {
    background-color: #dcfce7;
    color: #166534;
    border: 1px solid #bbf7d0;
}

.rawasystem-coupon-message--error {
    background-color: #fef2f2;
    color: #991b1b;
    border: 1px solid #fecaca;
}

/* ─── Review Step ────────────────────────────────────── */

.rawasystem-review-title {
    font-size: 16px;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 16px;
}

.rawasystem-review-group {
    padding: 12px;
    background-color: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    margin-bottom: 12px;
}

.rawasystem-review-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
    font-weight: 600;
    font-size: 14px;
    color: #374151;
    direction: rtl;
}

.rawasystem-review-edit {
    padding: 4px 10px;
    background-color: transparent;
    border: 1px solid #d1d5db;
    border-radius: 4px;
    color: var(--rawasystem-primary-color, #4f46e5) !important;
    font-size: 12px;
    cursor: pointer;
    transition: all 0.2s ease;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

.rawasystem-review-edit:hover {
    background-color: #eef2ff;
    border-color: var(--rawasystem-primary-color, #4f46e5);
}

.rawasystem-review-item {
    font-size: 13px;
    color: #6b7280;
    padding: 2px 0;
}

.rawasystem-review-item strong {
    color: #374151;
}

/* ─── Success Step ───────────────────────────────────── */

.rawasystem-success-message {
    text-align: center;
    padding: 20px;
}

.rawasystem-success-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    background-color: #dcfce7;
    border-radius: 50%;
    margin-bottom: 16px;
    font-size: 32px;
    color: #166534;
}

.rawasystem-success-icon--animate {
    animation: rawasystem-bounce-in 0.5s ease;
}

@keyframes rawasystem-bounce-in {
    0% {
        transform: scale(0);
        opacity: 0;
    }
    50% {
        transform: scale(1.15);
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

.rawasystem-success-order-number,
.rawasystem-success-total {
    font-size: 16px;
    font-weight: 600;
    color: #1f2937;
    margin-top: 8px;
}

.rawasystem-success-note {
    font-size: 14px;
    color: #6b7280;
    margin-top: 12px;
}

/* ─── Trust Badges ───────────────────────────────────── */

.rawasystem-trust-badges {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid #e5e7eb;
}

.rawasystem-trust-badge {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    color: #6b7280;
    padding: 6px;
}

.rawasystem-trust-badge .dashicons {
    font-size: 16px;
    width: 16px;
    height: 16px;
    color: #10b981;
}

/* ─── Error States ───────────────────────────────────── */

.rawasystem-input--error {
    border-color: #ef4444 !important;
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.15) !important;
}

.rawasystem-field-error {
    display: block;
    font-size: 12px;
    color: #ef4444;
    margin-top: 4px;
}

.rawasystem-global-error {
    padding: 10px 14px;
    background-color: #fef2f2;
    border: 1px solid #fecaca;
    border-radius: 8px;
    color: #991b1b;
    font-size: 13px;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
}

/* ─── Toast Notifications ────────────────────────────── */

.rawasystem-toast {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%) translateY(-20px);
    padding: 12px 20px;
    border-radius: 8px;
    font-size: 14px;
    z-index: 999999;
    opacity: 0;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    pointer-events: none;
}

.rawasystem-toast--visible {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

.rawasystem-toast--success {
    background-color: #dcfce7;
    color: #166534;
    border: 1px solid #bbf7d0;
}

.rawasystem-toast--error {
    background-color: #fef2f2;
    color: #991b1b;
    border: 1px solid #fecaca;
}

.rawasystem-toast--info {
    background-color: #dbeafe;
    color: #1e40af;
    border: 1px solid #bfdbfe;
}

/* ─── Theme-Specific Fixes ───────────────────────────── */

/*
 * Astra
 */
.theme-astra .rawasystem-checkout-wrapper,
.astra-theme .rawasystem-checkout-wrapper {
    margin-top: 20px;
}

/*
 * WoodMart
 */
.theme-woodmart .rawasystem-checkout-wrapper,
.woodmart-theme .rawasystem-checkout-wrapper {
    margin-top: 15px;
}

/*
 * Flatsome
 */
.theme-flatsome .rawasystem-checkout-wrapper,
.flatsome-theme .rawasystem-checkout-wrapper {
    margin-top: 20px;
    clear: both;
}

/*
 * Blocksy
 */
.theme-blocksy .rawasystem-checkout-wrapper,
.blocksy-theme .rawasystem-checkout-wrapper {
    margin-top: 15px;
}

/*
 * OceanWP
 */
.theme-oceanwp .rawasystem-checkout-wrapper,
.oceanwp-theme .rawasystem-checkout-wrapper {
    margin-top: 20px;
}

/*
 * Hello Elementor
 */
.theme-hello-elementor .rawasystem-checkout-wrapper,
.hello-elementor .rawasystem-checkout-wrapper {
    margin-top: 15px;
}

/*
 * Kadence
 */
.theme-kadence .rawasystem-checkout-wrapper,
.kadence-theme .rawasystem-checkout-wrapper {
    margin-top: 15px;
}

/*
 * GeneratePress
 */
.theme-generatepress .rawasystem-checkout-wrapper,
.generatepress-theme .rawasystem-checkout-wrapper {
    margin-top: 20px;
}

/*
 * Porto
 */
.theme-porto .rawasystem-checkout-wrapper,
.porto-theme .rawasystem-checkout-wrapper {
    margin-top: 15px;
}

/*
 * Electro
 */
.theme-electro .rawasystem-checkout-wrapper,
.electro-theme .rawasystem-checkout-wrapper {
    margin-top: 15px;
}

/*
 * Divi
 */
.theme-divi .rawasystem-checkout-wrapper,
.divi-theme .rawasystem-checkout-wrapper {
    margin-top: 20px;
    clear: both;
}

/* ─── Elementor Specific Fixes ───────────────────────── */

.elementor-widget-woocommerce-product-add-to-cart .rawasystem-checkout-wrapper {
    margin-top: 20px;
    width: 100%;
}

.elementor-product-template .rawasystem-checkout-wrapper {
    margin-top: 15px;
}

/* ─── Quick View Fixes ───────────────────────────────── */

.rawasystem-quickview-modal .rawasystem-checkout-wrapper {
    margin-top: 0;
    max-width: 100%;
}

/* ─── Responsive ─────────────────────────────────────── */

@media (max-width: 768px) {
    .rawasystem-checkout-wrapper {
        font-size: 14px;
    }

    .rawasystem-form-card {
        padding: 16px;
        border-radius: 8px;
    }

    .rawasystem-form-title {
        font-size: 16px;
    }

    .rawasystem-step-label {
        display: none;
    }

    .rawasystem-step-indicators {
        gap: 0;
    }

    .rawasystem-trust-badges {
        grid-template-columns: 1fr;
        gap: 6px;
    }

    .rawasystem-upsell-card {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    .rawasystem-coupon-input {
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    .rawasystem-form-card {
        padding: 12px;
    }

    .rawasystem-btn-primary {
        padding: 10px 16px;
        font-size: 14px;
    }

    .rawasystem-step-actions {
        flex-direction: column-reverse;
        gap: 8px;
    }

    .rawasystem-step-actions .rawasystem-btn-secondary {
        width: 100%;
    }
}
