 @import url('https://fonts.googleapis.com/css2?family=Vazirmatn:wght@300;400;500;600;700;800;900&display=swap');

        :root {
            --bg-deep: #031428;
            --card-glass: rgba(6, 26, 48, 0.72);
            --card-border: rgba(56, 189, 248, 0.18);
            --card-border-glow: rgba(56, 189, 248, 0.6);
            --primary-cyan: #38bdf8;
            --primary-blue: #0284c7;
            --accent-glow: rgba(56, 189, 248, 0.28);
            --text-main: #f0f9ff;
            --text-muted: #94a3b8;
            --disabled: rgba(255, 255, 255, 0.05);
        }

        * {
            box-sizing: border-box;
            margin: 0;
            padding: 0;
            font-family: 'Vazirmatn', sans-serif;
            -webkit-font-smoothing: antialiased;
        }

        body {
            background-color: var(--bg-deep);
            color: var(--text-main);
            min-height: 100vh;
            display: flex;
            flex-direction: column;
            justify-content: flex-start;
            align-items: center;
            overflow-x: hidden;
            position: relative;
            padding: 0 1rem 1.5rem 1rem;
        }

        /* --- MINI TOP NAVIGATION HEADER --- */
        .top-mini-header {
            width: 100%;
            max-width: 1200px;
            display: flex;
            align-items: center;
            justify-content: space-between;
            padding: 1.2rem 0.5rem;
            position: fixed;
            top: 0;
            z-index: 20;
            margin-bottom: 1rem;
        }

        .back-to-home-btn {
            display: inline-flex;
            align-items: center;
            gap: 10px;
            color: var(--text-main);
            text-decoration: none;
            font-size: 0.88rem;
            font-weight: 600;
            padding: 8px 16px;
            border-radius: 12px;
            background: rgba(6, 26, 48, 0.6);
            border: 1px solid var(--card-border);
            backdrop-filter: blur(10px);
            transition: all 0.3s ease;
        }

        .back-to-home-btn i {
            color: var(--primary-cyan);
            font-size: 0.9rem;
            transition: transform 0.3s ease;
        }

        .back-to-home-btn:hover {
            border-color: var(--primary-cyan);
            background: rgba(56, 189, 248, 0.12);
            color: #fff;
            box-shadow: 0 0 20px rgba(56, 189, 248, 0.25);
        }

        .back-to-home-btn:hover i {
            transform: translateX(4px);
        }

        .mini-header-brand {
            display: flex;
            align-items: center;
            gap: 10px;
        }

        .mini-header-brand i {
            color: var(--primary-cyan);
            font-size: 1.1rem;
            filter: drop-shadow(0 0 8px var(--primary-cyan));
        }

        .mini-header-brand span {
            font-size: 0.95rem;
            font-weight: 800;
            color: #fff;
            letter-spacing: -0.3px;
        }
        /* --- END MINI TOP NAVIGATION HEADER --- */

        #webgl-bg {
            position: fixed;
            top: 0;
            left: 0;
            width: 100vw;
            height: 100vh;
            z-index: 0;
            pointer-events: none;
        }

        .brand-header {
            margin-top: 0.5rem;
            position: relative;
            z-index: 10;
            top: 10px;
            text-align: center;
            margin-bottom: 1.8rem;
            animation: fadeInDown 1s cubic-bezier(0.16, 1, 0.3, 1);
        }

        .brand-logo-badge {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            padding: 6px 18px;
            border-radius: 100px;
            background: rgba(56, 189, 248, 0.08);
            border: 1px solid rgba(56, 189, 248, 0.25);
            box-shadow: 0 0 30px rgba(2, 132, 199, 0.25);
            margin-bottom: 0.8rem;
            transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
        }

        .brand-logo-badge:hover {
            transform: translateY(-2px);
            border-color: var(--primary-cyan);
            box-shadow: 0 0 25px rgba(56, 189, 248, 0.4);
        }

        .brand-logo-badge i {
            color: var(--primary-cyan);
            font-size: 0.8rem;
            animation: waterPulse 3s infinite ease-in-out;
        }

        .brand-logo-badge span {
            font-size: 0.72rem;
            font-weight: 700;
            letter-spacing: 2px;
            color: var(--primary-cyan);
            text-transform: uppercase;
        }

        .brand-title {
            font-size: 1.55rem;
            font-weight: 900;
            letter-spacing: -0.5px;
            background: linear-gradient(180deg, #ffffff 30%, #e0f2fe 100%);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            text-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
        }

        .brand-subtitle {
            font-size: 0.8rem;
            color: var(--text-muted);
            font-weight: 400;
            margin-top: 4px;
        }

        .checkout-container {
            width: 100%;
            max-width: 620px;
            background: var(--card-glass);
            backdrop-filter: blur(32px) saturate(180%);
            -webkit-backdrop-filter: blur(32px) saturate(180%);
            border: 1px solid var(--card-border);
            border-radius: 28px;
            padding: 2.2rem 2.2rem;
            box-shadow:
                0 30px 90px rgba(2, 6, 23, 0.85),
                0 0 50px rgba(3, 105, 161, 0.15),
                inset 0 1px 0 rgba(255, 255, 255, 0.15);
            position: relative;
            z-index: 10;
            overflow: hidden;
            transition: border-color 0.5s ease, box-shadow 0.5s ease;
        }

        .checkout-container:hover {
            border-color: rgba(56, 189, 248, 0.3);
            box-shadow:
                0 35px 100px rgba(2, 6, 23, 0.9),
                0 0 60px rgba(56, 189, 248, 0.2),
                inset 0 1px 0 rgba(255, 255, 255, 0.2);
        }

        .checkout-container::before {
            content: '';
            position: absolute;
            top: -50%;
            left: -50%;
            width: 200%;
            height: 200%;
            background: radial-gradient(circle, rgba(56, 189, 248, 0.05) 0%, transparent 65%);
            pointer-events: none;
        }

        .stepper {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 2.2rem;
            position: relative;
            padding: 0 0.5rem;
        }

        .stepper-progress-bg {
            position: absolute;
            top: 50%;
            left: 0;
            right: 0;
            height: 2px;
            background: var(--disabled);
            transform: translateY(-50%);
            z-index: 1;
        }

        .stepper-progress-bar {
            position: absolute;
            top: 50%;
            right: 0;
            height: 2px;
            background: linear-gradient(270deg, var(--primary-cyan), var(--primary-blue));
            box-shadow: 0 0 15px var(--primary-cyan);
            transform: translateY(-50%);
            z-index: 1;
            width: 0%;
            transition: width 0.7s cubic-bezier(0.16, 1, 0.3, 1);
        }

        .step-item {
            position: relative;
            z-index: 2;
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 8px;
        }

        .step-node {
            width: 42px;
            height: 42px;
            border-radius: 50%;
            background: rgba(4, 18, 38, 0.95);
            border: 1px solid var(--card-border);
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 0.95rem;
            color: var(--text-muted);
            transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
            box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
        }

        .step-node:hover {
            transform: scale(1.12) translateY(-2px);
            border-color: var(--primary-cyan);
            color: var(--primary-cyan);
        }

        .step-item.active .step-node {
            border-color: #fff;
            color: #031428;
            background: linear-gradient(135deg, var(--primary-cyan), var(--primary-blue));
            box-shadow: 0 0 30px var(--primary-cyan), inset 0 0 12px rgba(255, 255, 255, 0.8);
            transform: scale(1.2) translateY(-3px);
            animation: nodePulse 2s infinite ease-in-out;
        }

        @keyframes nodePulse {
            0%, 100% {
                box-shadow: 0 0 25px var(--primary-cyan), inset 0 0 10px rgba(255, 255, 255, 0.7);
                transform: scale(1.2) translateY(-3px);
            }
            50% {
                box-shadow: 0 0 40px var(--primary-cyan), inset 0 0 18px rgba(255, 255, 255, 1);
                transform: scale(1.25) translateY(-4px);
            }
        }

        .step-item.completed .step-node {
            border-color: var(--primary-cyan);
            background: var(--primary-cyan);
            color: #031428;
            box-shadow: 0 0 20px rgba(56, 189, 248, 0.5);
            animation: checkBounce 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
        }

        @keyframes checkBounce {
            0% { transform: scale(1); }
            50% { transform: scale(1.25); }
            100% { transform: scale(1); }
        }

        .step-label {
            font-size: 0.75rem;
            color: var(--text-muted);
            font-weight: 500;
            transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
            white-space: nowrap;
        }

        .step-item.active .step-label {
            color: var(--primary-cyan);
            font-weight: 800;
            letter-spacing: 0.5px;
            text-shadow: 0 0 12px rgba(56, 189, 248, 0.6);
            transform: translateY(-1px);
        }

        .form-section {
            display: none;
            opacity: 0;
            transform: translateY(20px) scale(0.98);
            filter: blur(8px);
            will-change: transform, opacity, filter;
        }

        .form-section.active {
            display: block;
        }

        .section-title {
            font-size: 1.1rem;
            font-weight: 700;
            margin-bottom: 1.5rem;
            color: #fff;
            display: flex;
            align-items: center;
            gap: 10px;
            border-bottom: 1px solid rgba(255, 255, 255, 0.06);
            padding-bottom: 0.8rem;
        }

        .section-title span.step-num {
            font-family: monospace;
            background: linear-gradient(135deg, var(--primary-cyan), var(--primary-blue));
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            font-size: 0.9rem;
            border: 1px solid var(--card-border);
            padding: 2px 8px;
            border-radius: 6px;
            background-color: rgba(56, 189, 248, 0.05);
        }

        .animated-item {
            opacity: 0;
            transform: translateY(20px);
            will-change: transform, opacity;
        }

        /* PRODUCT CARDS & SUMMARY */
        .cart-products-list {
            display: flex;
            flex-direction: column;
            gap: 1.1rem;
            margin-bottom: 1.5rem;
        }

        .cart-product-card {
            background: rgba(4, 18, 38, 0.7);
            border: 1px solid rgba(255, 255, 255, 0.07);
            border-radius: 18px;
            padding: 16px;
            display: flex;
            align-items: center;
            gap: 16px;
            position: relative;
            overflow: hidden;
            transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
        }

        .cart-product-card:hover {
            border-color: var(--card-border-glow);
            transform: translateY(-3px);
            box-shadow: 0 15px 35px rgba(2, 6, 23, 0.7), 0 0 25px rgba(56, 189, 248, 0.18);
            background: rgba(6, 26, 50, 0.85);
        }

        .product-img-wrapper {
            width: 85px;
            height: 85px;
            border-radius: 14px;
            overflow: hidden;
            position: relative;
            flex-shrink: 0;
            border: 1px solid rgba(56, 189, 248, 0.25);
            background: rgba(3, 16, 32, 0.9);
        }

        .product-img-wrapper img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform 0.5s ease;
        }

        .cart-product-card:hover .product-img-wrapper img {
            transform: scale(1.08);
        }

        .product-badge {
            position: absolute;
            top: 6px;
            right: 6px;
            background: rgba(3, 20, 40, 0.85);
            color: var(--primary-cyan);
            font-size: 0.65rem;
            padding: 2px 6px;
            border-radius: 6px;
            border: 1px solid var(--primary-cyan);
            font-weight: 700;
        }

        .product-info {
            flex-grow: 1;
            display: flex;
            flex-direction: column;
            gap: 4px;
        }

        .product-category {
            font-size: 0.72rem;
            color: var(--primary-cyan);
            font-weight: 600;
            text-transform: uppercase;
            letter-spacing: 0.5px;
        }

        .product-title {
            font-size: 0.95rem;
            font-weight: 800;
            color: #fff;
            line-height: 1.3;
        }

        .product-specs {
            display: flex;
            gap: 12px;
            font-size: 0.75rem;
            color: var(--text-muted);
            margin-top: 2px;
        }

        .product-price-qty {
            display: flex;
            align-items: center;
            justify-content: space-between;
            margin-top: 6px;
        }

        .product-qty {
            font-size: 0.78rem;
            color: var(--text-muted);
            background: rgba(255, 255, 255, 0.05);
            padding: 2px 10px;
            border-radius: 20px;
            border: 1px solid rgba(255, 255, 255, 0.08);
        }

        .product-price {
            font-size: 0.95rem;
            font-weight: 800;
            color: var(--text-main);
        }
/* ==========================================================================
   ENHANCED CART PRODUCTS & SUMMARY STYLES
   ========================================================================== */

.cart-products-list {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    margin-bottom: 1.75rem;
}

.cart-product-card {
    background: linear-gradient(135deg, rgba(8, 25, 48, 0.289) 0%, rgba(4, 15, 30, 0.393) 100%);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(56, 189, 248, 0.12);
    border-radius: 20px;
    padding: 18px;
    display: flex;
    align-items: stretch;
    gap: 18px;
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Accent Glow Line on Hover */
.cart-product-card .card-glow-bar {
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--primary-cyan), transparent);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.cart-product-card:hover {
    border-color: rgba(56, 189, 248, 0.35);
    transform: translateY(-3px);
    box-shadow: 0 16px 36px rgba(2, 6, 23, 0.6), 0 0 25px rgba(56, 189, 248, 0.12);
    background: linear-gradient(135deg, rgba(12, 35, 66, 0.85) 0%, rgba(6, 20, 40, 0.9) 100%);
}

.cart-product-card:hover .card-glow-bar {
    opacity: 1;
}

/* Image Wrapper */
.product-img-wrapper {
    width: 105px;
    min-height: 105px;
    border-radius: 14px;
    overflow: hidden;
    position: relative;
    flex-shrink: 0;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: #020b14;
}

.product-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.cart-product-card:hover .product-img-wrapper img {
    transform: scale(1.1);
}

/* گروه کنترل‌های محصول (تعداد و دکمه مشاهده) */
.product-controls-group {
    display: flex;
    align-items: center;
    gap: 10px;
}

/* کنترلر هوشمند کم/زیاد تعداد */
.qty-counter {
    display: flex;
    align-items: center;
    background: rgba(15, 23, 42, 0.6);
    border: 1px solid rgba(56, 189, 248, 0.25);
    border-radius: 8px;
    padding: 3px;
    gap: 6px;
    backdrop-filter: blur(8px);
}

.qty-btn {
    background: rgba(56, 189, 248, 0.08);
    border: 1px solid rgba(56, 189, 248, 0.2);
    color: #38bdf8;
    width: 26px;
    height: 26px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 0.75rem;
    transition: all 0.2s ease;
}

.qty-btn:hover:not(:disabled) {
    background: rgba(56, 189, 248, 0.25);
    color: #ffffff;
    box-shadow: 0 0 10px rgba(56, 189, 248, 0.3);
}

.qty-btn:disabled {
    opacity: 0.3;
    cursor: not-allowed;
    border-color: transparent;
}

.qty-val {
    color: #f8fafc;
    font-weight: 700;
    font-size: 0.88rem;
    min-width: 18px;
    text-align: center;
}

/* دکمه مشاهده محصول */
.btn-view-product {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(56, 189, 248, 0.05);
    border: 1px solid rgba(56, 189, 248, 0.2);
    color: #cbd5e1;
    padding: 5px 12px;
    border-radius: 8px;
    font-size: 0.78rem;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.25s ease;
    backdrop-filter: blur(4px);
}

.btn-view-product:hover {
    background: rgba(56, 189, 248, 0.15);
    border-color: rgba(56, 189, 248, 0.5);
    color: #38bdf8;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(56, 189, 248, 0.15);
}

.btn-view-product i {
    font-size: 0.8rem;
    color: #38bdf8;
}

.product-badge {
    position: absolute;
    top: 8px;
    right: 8px;
    background: rgba(2, 12, 24, 0.85);
    backdrop-filter: blur(4px);
    color: var(--primary-cyan);
    font-size: 0.62rem;
    padding: 3px 8px;
    border-radius: 6px;
    border: 1px solid rgba(56, 189, 248, 0.4);
    font-weight: 700;
    letter-spacing: 0.3px;
    z-index: 2;
}

.product-badge.badge-hitech {
    color: #38ef7d;
    border-color: rgba(56, 239, 125, 0.4);
}

/* Product Info */
.product-info {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 8px;
}

.product-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.product-category {
    font-size: 0.72rem;
    color: var(--primary-cyan);
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 6px;
    opacity: 0.9;
}

.btn-remove-item {
    background: transparent;
    border: none;
    color: rgba(255, 255, 255, 0.3);
    font-size: 0.85rem;
    cursor: pointer;
    padding: 4px;
    border-radius: 6px;
    transition: all 0.2s ease;
}

.btn-remove-item:hover {
    color: #ff5252;
    background: rgba(255, 82, 82, 0.1);
}

.product-title {
    font-size: 0.98rem;
    font-weight: 700;
    color: #ffffff;
    line-height: 1.4;
    margin: 0;
}

/* Spec Pills */
.product-specs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 2px;
}

.spec-pill {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.75);
    font-size: 0.72rem;
    padding: 3px 10px;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.spec-pill i {
    color: var(--primary-cyan);
    font-size: 0.7rem;
}

/* Footer Section */
.product-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 8px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    margin-top: 4px;
}

.product-qty-badge {
    display: flex;
    align-items: center;
    gap: 6px;
    background: rgba(56, 189, 248, 0.06);
    border: 1px solid rgba(56, 189, 248, 0.15);
    padding: 3px 10px;
    border-radius: 20px;
    font-size: 0.75rem;
}

.qty-label {
    color: var(--text-muted);
}

.qty-val {
    color: #fff;
    font-weight: 700;
}

.product-price {
    display: flex;
    align-items: baseline;
    gap: 5px;
}

.price-val {
    font-size: 1.05rem;
    font-weight: 800;
    color: #ffffff;
    letter-spacing: 0.5px;
}

.price-currency {
    font-size: 0.72rem;
    color: var(--text-muted);
}

.cart-summary-box {
    background: linear-gradient(180deg, rgba(6, 22, 42, 0.319) 0%, rgba(2, 10, 20, 0.358) 100%);
    border: 1px solid rgba(56, 189, 248, 0.2);
    border-radius: 20px;
    padding: 20px 24px;
    margin-top: 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 12px;
    box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.08);
}

.summary-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.88rem;
}

.summary-label {
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 8px;
}

.summary-label i {
    font-size: 0.8rem;
    color: var(--primary-cyan);
    opacity: 0.8;
}

.summary-value {
    color: #e2e8f0;
    font-weight: 600;
}

.summary-value small {
    font-size: 0.72rem;
    color: var(--text-muted);
    font-weight: 400;
    margin-right: 2px;
}

.summary-divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.12), transparent);
    margin: 4px 0;
}

.summary-row.total {
    padding-top: 2px;
}

.summary-row.total .summary-label {
    color: #ffffff;
    font-size: 0.9rem;
    font-weight: 700;
}

.summary-row.total .summary-label i {
    color: var(--primary-cyan);
}

.total-amount-wrapper {
    display: flex;
    align-items: baseline;
    gap: 6px;
    background: rgba(56, 189, 248, 0.08);
    padding: 4px 12px;
    border-radius: 12px;
    border: 1px solid rgba(56, 189, 248, 0.25);
}

.total-amount {
    color: var(--primary-cyan);
    font-size: 1rem;
    font-weight: 800;
    text-shadow: 0 0 18px rgba(56, 189, 248, 0.45);
    letter-spacing: 0.5px;
}

.total-currency {
    color: var(--primary-cyan);
    font-size: 0.78rem;
    font-weight: 600;
    opacity: 0.9;
}


/* ==========================================================================
   LUXURY FORM SECTION & INPUTS SYSTEM
   ========================================================================== */

/* کارت اصلی فرم (Glassmorphism Container) */
.luxury-card {
    background: linear-gradient(135deg, rgba(8, 25, 48, 0.234) 0%, rgba(4, 15, 30, 0.262) 100%);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(56, 189, 248, 0.12);
    border-radius: 20px;
    padding: 2.2rem;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.216),
                inset 0 1px 0 rgba(255, 255, 255, 0.08);
    position: relative;
    overflow: hidden;
}
/* هدر مرحله */
.section-header {
    margin-bottom: 2rem;
    position: relative;
    width: 100%;
}

.section-title {
    display: flex;
    align-items: center;
    gap: 16px;
}

.step-num {
    background: linear-gradient(135deg, rgba(56, 189, 248, 0.2), rgba(2, 132, 199, 0.05));
    border: 1px solid rgba(56, 189, 248, 0.3);
    color: #38bdf8;
    width: 46px;
    height: 46px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 15px rgba(56, 189, 248, 0.15);
    flex-shrink: 0;
    font-size: 1.2rem;
    font-weight: 800;
    color: #38bdf8;
    letter-spacing: -1px;
    text-shadow: 0 0 15px rgba(56, 189, 248, 0.4);
}

.step-line {
    width: 2px;
    height: 24px;
    background: linear-gradient(180deg, #38bdf8 0%, transparent 100%);
}

/* چیدمان افقی و یکپارچه متن‌ها */
.title-text {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap; /* برای نمایش عالی در گوشی بدون بهم‌ریختگی */
}

.title-text h3 {
    font-size: 1.15rem;
    font-weight: 700;
    color: #f8fafc;
    margin: 0;
    letter-spacing: -0.3px;
    white-space: nowrap;
}

/* جداکننده ظریف بین عنوان و توضیح */
.title-divider {
    color: rgba(56, 189, 248, 0.4);
    font-size: 0.8rem;
    line-height: 1;
}

.title-text p {
    font-size: 0.85rem;
    color: #94a3b8;
    margin: 0;
    font-weight: 400;
}

/* خط افقی درخشان */
.header-glow-line {
    width: 100%;
    height: 1px;
    background: linear-gradient(270deg, rgba(56, 189, 248, 0.3) 0%, rgba(56, 189, 248, 0.05) 70%, transparent 100%);
    margin-top: 1rem;
}
/* شبکه ورودی‌ها (Grid System) */
.input-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-bottom: 2.2rem;
}

.input-group.full-width {
    grid-column: span 2;
}

.input-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

/* لیبل‌ها و آیکون‌ها */
label {
    font-size: 0.82rem;
    color: #94a3b8;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

label i {
    color: #38bdf8;
    font-size: 0.9rem;
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.input-group:focus-within label {
    color: #f1f5f9;
}

.input-group:focus-within label i {
    transform: scale(1.25) rotate(-6deg);
    color: #7dd3fc;
    text-shadow: 0 0 10px rgba(56, 189, 248, 0.6);
}

/* باکس ورودی‌ها (Wrapper & Inputs) */
.input-wrapper {
    position: relative;
    width: 100%;
}

input, select, textarea {
    width: 100%;
    background: rgba(3, 16, 32, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: 12px;
    padding: 13px 18px;
    color: #f8fafc;
    font-size: 0.9rem;
    outline: none;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: inset 0 2px 6px rgba(0, 0, 0, 0.4);
    font-family: inherit;
}

textarea {
    resize: vertical;
    min-height: 130px;
}

input::placeholder, textarea::placeholder {
    color: #627187;
    font-size: 0.82rem;
}

/* Hover & Focus Effects */
input:hover, select:hover, textarea:hover {
    border-color: rgba(56, 189, 248, 0.3);
    background: rgba(4, 21, 42, 0.75);
}

input:focus, select:focus, textarea:focus {
    border-color: #38bdf8;
    background: rgba(5, 26, 51, 0.85);
    box-shadow: 0 0 20px rgba(56, 189, 248, 0.25),
                inset 0 1px 3px rgba(0, 0, 0, 0.5);
    transform: translateY(-2px);
}

/* اکشن بار پایین فرم */
.actions-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 1.2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}


/* ==========================================================================
   EXECUTIVE GLASS SEGMENTS SYSTEM
   ========================================================================== */

/* هدر لوکس خطی */
.section-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 2.2rem;
    padding-bottom: 1.2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.header-indicator {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
}

.header-titles h3 {
    margin: 0 0 4px 0;
    font-size: 1.15rem;
    font-weight: 800;
    color: #f8fafc;
    letter-spacing: -0.3px;
}

.header-titles p {
    margin: 0;
    font-size: 0.8rem;
    color: #64748b;
}

/* بلوک‌های تفکیک‌شده */
.segment-block {
    margin-bottom: 2rem;
}

.segment-label {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.85rem;
    font-weight: 700;
    color: #94a3b8;
    margin-bottom: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.segment-label i {
    color: #38bdf8;
    font-size: 0.9rem;
}

/* کانتینر گزینه‌ها */
.luxury-options-container {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

/* ردیف‌های کشیده شیشه‌ای (Luxury Option Row) */
.lux-option-row {
    position: relative;
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 16px 20px;
    background: rgba(3, 14, 28, 0.279);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 14px;
    cursor: pointer;
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    backdrop-filter: blur(10px);
}

.lux-input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

/* آیکون گزینه‌ها */
.lux-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.06);
    color: #64748b;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    flex-shrink: 0;
    transition: all 0.35s ease;
}

/* بخش اطلاعات */
.lux-info {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.lux-title {
    font-size: 0.95rem;
    font-weight: 700;
    color: #cbd5e1;
    transition: color 0.3s ease;
}

.lux-sub {
    font-size: 0.87rem;
    color: #64748b;
    line-height: 1.45;
    transition: color 0.3s ease;
}

/* سمی‌انتخابگر Radio (دایره دقیق نئونی) */
.lux-selector {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    border: 1.5px solid rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.lux-dot {
    width: 8px;
    height: 8px;
    border-radius: 40%;
    background: #38bdf8;
    transform: scale(0);
    transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* سوییچ نئونی اختصاصی برای Checkbox */
.lux-toggle-switch {
    width: 45px;
    height: 25px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.toggle-knob {
    width: 19px;
    height: 19px;
    border-radius: 50%;
    background: #64748b;
    position: absolute;
    top: 2px;
    right: 2px;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* نشانگر متمایز کننده */
.lux-status-tag {
    font-size: 0.68rem;
    font-weight: 700;
    color: #38bdf8;
    background: rgba(56, 189, 248, 0.08);
    border: 1px solid rgba(56, 189, 248, 0.2);
    padding: 3px 10px;
    border-radius: 20px;
    letter-spacing: 0.3px;
}

.lux-option-row:hover {
    background: rgba(8, 26, 50, 0.6);
    border-color: rgba(56, 189, 248, 0.25);
    transform: translateX(-4px); /* حرکت نرم به سمت چپ برای RTL */
}

.lux-option-row:hover .lux-icon {
    color: #38bdf8;
    background: rgba(56, 189, 248, 0.08);
    border-color: rgba(56, 189, 248, 0.2);
}

.lux-option-row:hover .lux-title {
    color: #f8fafc;
}

/* حالت انتخاب شده (Active State) */
.lux-option-row.selected {
    background: linear-gradient(90deg, rgba(14, 42, 77, 0.7) 0%, rgba(3, 16, 32, 0.8) 100%);
    border-color: rgba(56, 189, 248, 0.5);
    box-shadow: -5px 0 25px rgba(56, 189, 248, 0.12),
                inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.lux-option-row.selected .lux-title {
    color: #38bdf8;
    text-shadow: 0 0 12px rgba(56, 189, 248, 0.3);
}

.lux-option-row.selected .lux-sub {
    color: #94a3b8;
}

.lux-option-row.selected .lux-icon {
    background: #38bdf8;
    color: #020d1a;
    border-color: #7dd3fc;
    box-shadow: 0 0 15px rgba(56, 189, 248, 0.4);
}

/* انتخاب Radio */
.lux-option-row.selected .lux-selector {
    border-color: #38bdf8;
    background: rgba(56, 189, 248, 0.1);
}

.lux-option-row.selected .lux-dot {
    transform: scale(1);
}

/* انتخاب Checkbox */
.lux-option-row.selected .lux-toggle-switch {
    background: rgba(56, 189, 248, 0.2);
    border-color: #38bdf8;
}

.lux-option-row.selected .toggle-knob {
    background: #38bdf8;
    transform: translateX(-16px);
    box-shadow: 0 0 10px #38bdf8;
}

/* اکشن بار */
.actions-bar {
    margin-top: 2.2rem;
    padding-top: 1.2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    justify-content: space-between;
}
/* ==========================================================================
   LUXURY AQUA BUTTONS SYSTEM
   ========================================================================== */

.btn {
    padding: 13px 30px;
    border-radius: 14px;
    font-weight: 700;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    border: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    position: relative;
    overflow: hidden;
    letter-spacing: 0.3px;
    z-index: 1;
}

/* آیکون داخل دکمه */
.btn i {
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn:hover i {
    transform: translateX(-4px); /* جابجایی نرم آیکون به سمت چپ برای فرم‌های فارسی */
}

/* نوار درخشان عبوری (Light Sweep Effect) */
.btn::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -150%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        60deg,
        transparent 30%,
        rgba(255, 255, 255, 0.4) 50%,
        transparent 70%
    );
    transition: all 0.8s ease;
    transform: rotate(25deg);
    pointer-events: none;
    z-index: 2;
}

.btn:hover::after {
    left: 100%;
}

/* --------------------------------------------------------------------------
   PRIMARY BUTTON (سفارشی‌شده با لایه‌های رنگی گرادینت چندبعدی)
   -------------------------------------------------------------------------- */
.btn-primary {
    background: linear-gradient(135deg, #38bdf8 0%, #0284c7 50%, #0369a1 100%);
    background-size: 200% 200%;
    background-position: 0% 50%;
    color: #020d1a;
    box-shadow: 0 4px 20px rgba(56, 189, 248, 0.35),
                inset 0 1px 1px rgba(255, 255, 255, 0.6);
}

.btn-primary:hover:not(:disabled) {
    background-position: 100% 50%;
    color: #000;
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 12px 35px rgba(56, 189, 248, 0.6),
                0 0 25px rgba(56, 189, 248, 0.4),
                inset 0 1px 2px rgba(255, 255, 255, 0.8);
}

.btn-primary:active:not(:disabled) {
    transform: translateY(-1px) scale(0.98);
    box-shadow: 0 4px 15px rgba(56, 189, 248, 0.4);
}

.btn-primary:disabled {
    opacity: 0.3;
    cursor: not-allowed;
    box-shadow: none;
    filter: grayscale(0.8);
}

/* --------------------------------------------------------------------------
   SECONDARY BUTTON (افکت Glassmorphic و هایلایت سیان)
   -------------------------------------------------------------------------- */
.btn-secondary {
    background: rgba(8, 28, 54, 0.6);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    color: var(--text-muted, #94a3b8);
    border: 1px solid rgba(56, 189, 248, 0.18);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.btn-secondary:hover {
    color: #ffffff;
    border-color: rgba(56, 189, 248, 0.6);
    background: linear-gradient(135deg, rgba(56, 189, 248, 0.15) 0%, rgba(2, 132, 199, 0.25) 100%);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(2, 6, 23, 0.5),
                0 0 18px rgba(56, 189, 248, 0.25),
                inset 0 1px 1px rgba(255, 255, 255, 0.2);
}

.btn-secondary:active {
    transform: translateY(-1px);
}


/* باکس کد تخفیف لوکس */
.coupon-box {
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(3, 14, 28, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 14px;
    padding: 8px 8px 8px 16px;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.coupon-box:focus-within {
    border-color: rgba(56, 189, 248, 0.4);
    box-shadow: 0 0 20px rgba(56, 189, 248, 0.1);
}

.coupon-input-wrapper {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-grow: 1;
}

.coupon-icon {
    color: #64748b;
    font-size: 1.1rem;
    transition: color 0.3s ease;
}

.coupon-box:focus-within .coupon-icon {
    color: #38bdf8;
}

.coupon-input-wrapper input {
    width: 100%;
    background: transparent;
    border: none;
    outline: none;
    color: #f8fafc;
    font-size: 0.88rem;
    font-family: inherit;
}

.coupon-input-wrapper input::placeholder {
    color: #475569;
}

/* دکمه اعمال کد تخفیف */
.btn-apply-coupon {
    background: rgba(56, 189, 248, 0.08);
    border: 1px solid rgba(56, 189, 248, 0.25);
    color: #38bdf8;
    padding: 10px 20px;
    border-radius: 10px;
    font-size: 0.82rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.btn-apply-coupon:hover {
    background: #38bdf8;
    color: #020d1a;
    box-shadow: 0 0 15px rgba(56, 189, 248, 0.35);
}

/* بنر اعتمادسازی و گارانتی امنیتی */
.trust-banner {
    display: flex;
    align-items: center;
    gap: 16px;
    background: linear-gradient(135deg, rgba(56, 189, 248, 0.05) 0%, rgba(3, 16, 32, 0.4) 100%);
    border: 1px dashed rgba(56, 189, 248, 0.25);
    border-radius: 14px;
    padding: 16px 20px;
    margin-top: 1.5rem;
    margin-bottom: 0.5rem;
}

.trust-icon {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(56, 189, 248, 0.1);
    color: #38bdf8;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    flex-shrink: 0;
    border: 1px solid rgba(56, 189, 248, 0.2);
}

.trust-content {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.trust-title {
    font-size: 0.88rem;
    font-weight: 700;
    color: #e2e8f0;
}

.trust-desc {
    font-size: 0.77rem;
    color: #94a3b8;
    line-height: 1.5;
}

/* دکمه اختصاصی پرداخت نهایی */
.btn-submit-final {
    background: linear-gradient(135deg, #38bdf8 0%, #0284c7 100%) !important;
    color: #020d1a !important;
    font-weight: 800 !important;
    box-shadow: 0 0 25px rgba(56, 189, 248, 0.35);
}

.btn-submit-final:hover {
    box-shadow: 0 0 35px rgba(56, 189, 248, 0.5);
    transform: translateY(-2px);
}

/* Responsive */
@media (max-width: 600px) {
    .coupon-box {
        flex-direction: column;
        align-items: stretch;
        padding: 12px;
    }

    .btn-apply-coupon {
        width: 100%;
        text-align: center;
    }

    .trust-banner {
        flex-direction: column;
        text-align: center;
        align-items: center;
    }
}
        .success-wrapper {
            text-align: center;
            padding: 0.8rem 0;
        }

        .tracking-code-box {
            background: rgba(56, 189, 248, 0.05);
            border: 1px dashed var(--primary-cyan);
            border-radius: 12px;
            padding: 12px 20px;
            display: inline-flex;
            align-items: center;
            gap: 10px;
            margin: 1.5rem 0;
            font-family: monospace;
            font-size: 1.05rem;
            color: var(--primary-cyan);
            letter-spacing: 1.5px;
            box-shadow: 0 0 25px rgba(56, 189, 248, 0.12);
            transition: all 0.3s ease;
        }

        .tracking-code-box:hover {
            box-shadow: 0 0 30px rgba(56, 189, 248, 0.25);
            border-color: #fff;
            transform: scale(1.02);
        }

        .status-timeline {
            margin: 1.8rem 0;
            background: rgba(4, 18, 38, 0.85);
            border: 1px solid rgba(56, 189, 248, 0.18);
            border-radius: 16px;
            padding: 18px;
            display: flex;
            align-items: center;
            justify-content: space-around;
        }

        .timeline-step {
            display: flex;
            align-items: center;
            gap: 10px;
            font-size: 0.82rem;
            color: var(--text-muted);
            transition: all 0.3s ease;
        }

        .timeline-step:hover {
            color: var(--text-main);
        }

        .timeline-step.active {
            color: var(--primary-cyan);
            font-weight: 700;
            text-shadow: 0 0 12px rgba(56, 189, 248, 0.6);
            transform: scale(1.05);
        }

        .timeline-step.active i {
            animation: timelinePulse 2s infinite ease-in-out;
        }

        @keyframes timelinePulse {
            0%, 100% { transform: scale(1); filter: drop-shadow(0 0 2px rgba(56, 189, 248, 0.4)); }
            50% { transform: scale(1.25); filter: drop-shadow(0 0 8px rgba(56, 189, 248, 0.9)); }
        }

        .timeline-step i {
            font-size: 1.1rem;
            transition: transform 0.3s ease;
        }

        .timeline-step:hover i {
            transform: scale(1.2);
        }

        .pdf-stamp-btn {
            background: linear-gradient(135deg, rgba(6, 22, 44, 0.95), rgba(12, 38, 70, 0.95));
            border: 1px solid var(--primary-cyan);
            color: #fff;
            padding: 14px 24px;
            border-radius: 16px;
            cursor: pointer;
            display: inline-flex;
            align-items: center;
            gap: 14px;
            box-shadow: 0 8px 25px rgba(0,0,0,0.6), 0 0 15px rgba(56, 189, 248, 0.2);
            transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
        }

        .pdf-stamp-btn:hover {
            box-shadow: 0 12px 35px rgba(56, 189, 248, 0.4);
            transform: translateY(-3px) scale(1.02);
            border-color: #fff;
        }

        .stamp-badge {
            width: 36px;
            height: 36px;
            border-radius: 50%;
            background: linear-gradient(135deg, var(--primary-cyan), var(--primary-blue));
            color: #031428;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 0.75rem;
            font-weight: 900;
            box-shadow: 0 0 12px var(--primary-cyan);
            border: 1.5px solid #fff;
            transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
        }

        .pdf-stamp-btn:hover .stamp-badge {
            transform: rotate(360deg) scale(1.1);
        }

        @keyframes fadeInDown {
            from { opacity: 0; transform: translateY(-15px); }
            to { opacity: 1; transform: translateY(0); }
        }

        @keyframes waterPulse {
            0%, 100% { transform: scale(1); filter: drop-shadow(0 0 2px rgba(56, 189, 248, 0.4)); }
            50% { transform: scale(1.15); filter: drop-shadow(0 0 8px rgba(56, 189, 248, 0.8)); }
        }

        /* ==========================================================================
   EXECUTIVE MOBILE & TABLET RESPONSIVE SYSTEM (ONLY < 1024px)
   تضمین عدم دستکاری حالت دسکتاپ
   ========================================================================== */

@media screen and (max-width: 1024px) {

    /* --- ۱. تنظیمات عمومی و کانتینر اصلی --- */
    .checkout-container {
        width: 95% !important;
        max-width: 680px !important;
        margin: 1rem auto 2rem auto !important;
        padding: 1.25rem 1rem !important;
        border-radius: 20px !important;
        background: rgba(3, 14, 28, 0.75) !important;
        backdrop-filter: blur(20px) !important;
        -webkit-backdrop-filter: blur(20px) !important;
        border: 1px solid rgba(255, 255, 255, 0.08) !important;
    }

    .top-mini-header {
        padding: 0.75rem 1rem !important;
    }

    .brand-header {
        margin: 1rem auto 0.75rem auto !important;
        text-align: center;
    }

    .brand-title {
        font-size: 1.2rem !important;
        line-height: 1.4 !important;
    }

    .brand-subtitle {
        font-size: 0.78rem !important;
        opacity: 0.8;
    }

    /* --- ۲. بازطراحی کامل استپر به سبک اپلیکیشن‌های لوکس --- */
    .stepper {
        position: relative !important;
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        background: rgba(255, 255, 255, 0.03) !important;
        border: 1px solid rgba(255, 255, 255, 0.06) !important;
        padding: 8px 12px !important;
        border-radius: 14px !important;
        margin-bottom: 1.5rem !important;
    }

    .stepper-progress-bg,
    .stepper-progress-bar {
        display: none !important; /* حذف خطوط زیرین مزاحم در موبایل */
    }

    .step-item {
        flex: 1;
        display: flex;
        justify-content: center;
        align-items: center;
        position: relative;
    }

    .step-node {
        width: 36px !important;
        height: 36px !important;
        font-size: 0.85rem !important;
        border-radius: 10px !important;
        border-width: 1px !important;
        box-shadow: none !important;
    }

    .step-item.active .step-node {
        background: #38bdf8 !important;
        color: #020d1a !important;
        box-shadow: 0 0 15px rgba(56, 189, 248, 0.4) !important;
    }

    .step-label {
        display: none !important; /* مخفی‌سازی متون برای خلوت شدن نوار بالایی */
    }

    /* --- ۳. کارت محصولات سبد خرید (Step 0) --- */
    .cart-product-card {
        display: flex !important;
        flex-direction: column !important;
        padding: 12px !important;
        gap: 12px !important;
        background: rgba(2, 10, 22, 0.6) !important;
        border-radius: 16px !important;
    }

    .product-img-wrapper {
        width: 100% !important;
        height: 140px !important;
        border-radius: 10px !important;
        overflow: hidden;
    }

    .product-img-wrapper img {
        width: 100% !important;
        height: 100% !important;
        object-fit: cover !important;
    }

    .product-header {
        display: flex !important;
        justify-content: space-between !important;
        align-items: center !important;
    }

    .product-title {
        font-size: 0.88rem !important;
        line-height: 1.4 !important;
        margin: 6px 0 !important;
    }

    .product-specs {
        display: flex !important;
        flex-wrap: wrap !important;
        gap: 6px !important;
    }

    .spec-pill {
        font-size: 0.7rem !important;
        padding: 3px 8px !important;
    }

    .product-footer {
        display: flex !important;
        justify-content: space-between !important;
        align-items: center !important;
        padding-top: 10px !important;
        margin-top: 4px !important;
        border-top: 1px dashed rgba(255, 255, 255, 0.08) !important;
    }

    .price-val {
        font-size: 1.05rem !important;
        font-weight: 800 !important;
        color: #38bdf8 !important;
    }

    /* --- ۴. خلاصه فاکتور و کادرهای محاسباتی --- */
    .cart-summary-box {
        padding: 1rem !important;
        border-radius: 14px !important;
        margin-top: 1.2rem !important;
    }

    .summary-row {
        font-size: 0.78rem !important;
        margin-bottom: 8px !important;
    }

    .total-amount {
        font-size: 1.2rem !important;
    }

    /* --- ۵. اینپوت‌ها و گزینه‌های انتخابی (Steps 1, 2, 3) --- */
    .input-grid {
        display: flex !important;
        flex-direction: column !important;
        gap: 12px !important;
    }

    .lux-option-row {
        padding: 12px 14px !important;
        gap: 12px !important;
        border-radius: 12px !important;
    }

    .lux-icon {
        width: 36px !important;
        height: 36px !important;
        font-size: 0.9rem !important;
        border-radius: 8px !important;
    }

    .lux-title {
        font-size: 0.83rem !important;
    }

    .lux-sub {
        font-size: 0.72rem !important;
        line-height: 1.4 !important;
    }

    .lux-status-tag {
        display: none !important; /* حذف بج اضافه‌کننده شلوغی */
    }

    /* کادر کد تخفیف */
    .coupon-box {
        flex-direction: column !important;
        align-items: stretch !important;
        padding: 10px !important;
        gap: 10px !important;
    }

    .btn-apply-coupon {
        width: 100% !important;
        padding: 10px !important;
        text-align: center !important;
    }

    /* بنر اطمینان و گارانتی */
    .trust-banner {
        flex-direction: column !important;
        text-align: center !important;
        padding: 12px !important;
        gap: 8px !important;
    }

    .trust-icon {
        width: 36px !important;
        height: 36px !important;
        font-size: 1rem !important;
    }

    /* --- ۶. دکمه‌های ناوبری پایینی (Thumb-Friendly Actions) --- */
    .actions-bar {
        display: flex !important;
        flex-direction: row !important;
        gap: 10px !important;
        margin-top: 1.5rem !important;
        padding-top: 1rem !important;
        border-top: 1px solid rgba(255, 255, 255, 0.06) !important;
    }

    .actions-bar .btn {
        flex: 1 !important;
        padding: 12px 10px !important;
        font-size: 0.82rem !important;
        justify-content: center !important;
        border-radius: 12px !important;
    }

    /* --- ۷. صفحه ثبت موفق سفارش --- */
    .status-timeline {
        flex-direction: column !important;
        gap: 10px !important;
    }

    .status-timeline .fa-chevron-left {
        transform: rotate(-90deg) !important;
    }

    .pdf-stamp-btn {
        flex-direction: column !important;
        text-align: center !important;
        gap: 8px !important;
        padding: 12px !important;
    }

    .pdf-stamp-btn div[style*="text-align: right"] {
        text-align: center !important;
    }

    .pdf-stamp-btn i {
        margin-right: 0 !important;
    }

    .brand-header {
        margin-top: 4.6rem;
    }
}

/* --------------------------------------------------------------------------
   8. EXTRA SMALL PHONES (Max-width: 400px)
   -------------------------------------------------------------------------- */
@media screen and (max-width: 400px) {
    .checkout-container {
        width: 98% !important;
        padding: 1rem 0.75rem !important;
    }

    .lux-option-row {
        flex-wrap: wrap !important;
    }

    .lux-info {
        width: 100% !important;
        order: 3 !important;
    }

    .lux-selector,
    .lux-toggle-switch {
        margin-right: auto !important;
    }

}

        @media (max-width: 650px) {
            .top-mini-header {
                padding: 1rem 0;
            }
            .mini-header-brand span {
                font-size: 0.82rem;
            }
            .checkout-container {
                padding: 1.6rem 1.2rem;
            }
            .step-label {
                display: none;
            }
            .status-timeline {
                flex-direction: column;
                gap: 14px;
                align-items: flex-start;
            }
            .cart-product-card {
                flex-direction: row;
                align-items: flex-start;
            }
            .product-img-wrapper {
                width: 70px;
                height: 70px;
            }

            .brand-header {
                margin-top: 4.6rem;
            }
        }