/* ============================================
   HavenCraft Store — Premium Styles
   ============================================ */

/* --- Store Hero --- */
.store-hero {
    padding-top: calc(var(--nav-height) + 24px);
    padding-bottom: 12px;
    position: relative;
}

.store-hero-bar {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
    max-width: 1080px;
    width: 100%;
    margin: 0 auto;
    padding-bottom: 18px;
    border-bottom: 1px solid var(--border);
}

.store-hero-left {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    gap: 6px;
}

.store-hero-title-row {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}

.store-hero h1 {
    font-size: clamp(1.85rem, 3vw, 2.4rem);
    font-weight: 800;
    margin: 0;
    line-height: 1.15;
    background: linear-gradient(135deg, #e8eaf0 0%, #a0a6bc 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.store-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 12px;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.15), rgba(59, 130, 246, 0.15));
    border: 1px solid rgba(139, 92, 246, 0.25);
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
    color: #a78bfa;
    margin-bottom: 0;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.store-hero-desc {
    font-size: 0.92rem;
    color: var(--text-secondary);
    max-width: 520px;
    margin: 0;
    line-height: 1.5;
}

/* --- Store Tabs --- */
.store-tabs {
    display: inline-flex;
    gap: 4px;
    background: var(--surface);
    backdrop-filter: blur(var(--blur));
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 4px;
}

.store-tab {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 18px;
    border: none;
    background: transparent;
    color: var(--text-secondary);
    font-family: var(--font-body);
    font-size: 0.88rem;
    font-weight: 600;
    border-radius: 10px;
    cursor: pointer;
    transition: all var(--transition);
}

.store-tab:hover {
    color: var(--text);
    background: var(--surface-hover);
}

.store-tab.active {
    color: #fff;
    background: linear-gradient(135deg, var(--primary), #6ba0ff);
    box-shadow: 0 4px 16px rgba(79, 140, 255, 0.3);
}

/* --- Store Controls & Currency Toggle --- */
.store-controls-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
    flex-shrink: 0;
    margin: 0;
}

.currency-toggle {
    display: inline-flex;
    gap: 4px;
    background: var(--surface);
    backdrop-filter: blur(var(--blur));
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 4px;
}

.currency-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    border: none;
    background: transparent;
    color: var(--text-secondary);
    font-family: var(--font-body);
    font-size: 0.88rem;
    font-weight: 700;
    border-radius: 10px;
    cursor: pointer;
    transition: all var(--transition);
}

.currency-btn:hover {
    color: var(--text);
    background: var(--surface-hover);
}

.currency-btn.active {
    color: #fff;
    background: linear-gradient(135deg, var(--primary), #6ba0ff);
    box-shadow: 0 4px 14px rgba(0, 200, 150, 0.35);
}

.price-val {
    transition: opacity 0.15s ease;
}


/* --- Store Section --- */
.store-section {
    padding: 16px 0 28px;
}

/* --- Ranks Grid --- */
.ranks-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    align-items: stretch;
    max-width: 1080px;
    width: 100%;
    margin: 0 auto;
}

/* --- Rank Card --- */
.rank-card {
    position: relative;
    background: var(--surface);
    backdrop-filter: blur(var(--blur));
    -webkit-backdrop-filter: blur(var(--blur));
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 32px 24px 24px;
    display: flex;
    flex-direction: column;
    height: 100%;
    transition: transform var(--transition), box-shadow var(--transition);
    overflow: hidden;
}

.rank-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-xl);
}

.rank-card .rank-glow {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at center, rgba(0, 200, 150, 0.04) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
}

.rank-tier-badge,
.rank-header,
.rank-body,
.rank-buy-btn {
    position: relative;
    z-index: 1;
}

.rank-card[data-tier="prime"] .rank-glow {
    background: radial-gradient(circle at center, rgba(52, 211, 153, 0.06) 0%, transparent 70%);
}

.rank-card[data-tier="legend"] .rank-glow {
    background: radial-gradient(circle at center, rgba(251, 191, 36, 0.06) 0%, transparent 70%);
}

.rank-card[data-tier="elite"] .rank-glow {
    background: radial-gradient(circle at center, rgba(139, 92, 246, 0.08) 0%, transparent 70%);
}

/* Popular Card */
.rank-card.popular {
    border-color: rgba(139, 92, 246, 0.4);
    box-shadow: 0 0 35px rgba(139, 92, 246, 0.12);
    padding-top: 32px;
}

.popular-badge {
    position: absolute !important;
    top: 32px !important;
    right: 24px !important;
    left: auto !important;
    transform: none !important;
    padding: 3px 10px;
    background: linear-gradient(135deg, #8b5cf6, #6366f1);
    color: #ffffff;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    border-radius: 50px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    z-index: 10;
    white-space: nowrap;
    box-shadow: 0 2px 10px rgba(139, 92, 246, 0.35);
    border: 1px solid rgba(255, 255, 255, 0.2);
    line-height: 1.4;
}

.popular-badge i {
    font-size: 0.65rem;
    color: #fbbf24;
}

/* Rank Tier Badge */
.rank-tier-badge {
    display: inline-block;
    padding: 3px 12px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border);
    border-radius: 50px;
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 16px;
    width: fit-content;
}

/* Rank Header */
.rank-header {
    text-align: center;
    margin-bottom: 24px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border);
}

.rank-icon {
    font-size: 2.4rem;
    margin-bottom: 8px;
}

.rank-header h3 {
    font-size: 1.6rem;
    font-weight: 800;
    margin-bottom: 8px;
}

.rank-card[data-tier="prime"] .rank-header h3 {
    color: #34d399;
}

.rank-card[data-tier="legend"] .rank-header h3 {
    color: #fbbf24;
}

.rank-card[data-tier="elite"] .rank-header h3 {
    color: #a78bfa;
}

.rank-price {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 800;
    color: var(--text);
}

.rank-price span {
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-muted);
}

/* Rank Body */
.rank-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 24px;
}

.perk-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.perk-group-title {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 4px;
}

.perk-group-title i {
    color: var(--primary);
}

.rank-perks {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.rank-perks li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.88rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

.rank-perks li strong {
    color: var(--text);
}

.rank-perks li em {
    color: var(--text-muted);
    font-size: 0.82rem;
}

.perk-icon {
    flex-shrink: 0;
    width: 22px;
    text-align: center;
    font-size: 1rem;
}

/* Command Tags */
.command-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.cmd-tag {
    display: inline-block;
    padding: 3px 10px;
    background: rgba(0, 200, 150, 0.08);
    border: 1px solid rgba(0, 200, 150, 0.15);
    border-radius: 6px;
    font-family: 'JetBrains Mono', 'Courier New', monospace;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--primary);
}

.cmd-inherit {
    font-size: 0.82rem;
    color: var(--text-muted);
    margin-bottom: 4px;
}

.cmd-inherit i {
    color: var(--primary);
    margin-right: 4px;
}

/* Buy Button */
.rank-buy-btn {
    width: 100%;
    justify-content: center;
    padding: 14px 20px;
    font-size: 0.95rem;
    margin-top: auto;
}

/* --- Store Notice --- */
.store-notice {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-top: 40px;
    padding: 20px 24px;
    background: rgba(251, 191, 36, 0.06);
    border: 1px solid rgba(251, 191, 36, 0.15);
    border-radius: var(--radius-md);
}

.notice-icon {
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(251, 191, 36, 0.12);
    border-radius: var(--radius-sm);
    color: #fbbf24;
    font-size: 1.1rem;
}

.notice-content strong {
    display: block;
    margin-bottom: 8px;
    color: #fbbf24;
    font-size: 0.9rem;
}

.notice-content ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.notice-content li {
    font-size: 0.85rem;
    color: var(--text-secondary);
    padding-left: 16px;
    position: relative;
}

.notice-content li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: #fbbf24;
}

/* ============================================
   SPAWNER SECTION
   ============================================ */

.spawner-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    max-width: 1080px;
    width: 100%;
    margin: 0 auto;
}

.spawner-category {
    background: var(--surface);
    backdrop-filter: blur(var(--blur));
    -webkit-backdrop-filter: blur(var(--blur));
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 24px;
    transition: transform var(--transition), box-shadow var(--transition);
    overflow: hidden;
}

.spawner-category:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

/* Category color accents */
.spawner-category[data-category="basic"] {
    border-top: 3px solid #34d399;
}

.spawner-category[data-category="combat"] {
    border-top: 3px solid #f87171;
}

.spawner-category[data-category="advanced"] {
    border-top: 3px solid #60a5fa;
}

.spawner-category[data-category="special"] {
    border-top: 3px solid #fbbf24;
}

.spawner-cat-header {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--border);
}

.spawner-cat-icon {
    font-size: 2rem;
    flex-shrink: 0;
}

.spawner-cat-header h3 {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 2px;
}

.spawner-cat-price {
    display: inline-flex;
    align-items: baseline;
    gap: 6px;
    font-family: var(--font-heading);
    margin-top: 4px;
}

.spawner-cat-price .price-val {
    font-size: 1.45rem;
    font-weight: 800;
    color: var(--primary);
    line-height: 1;
}

.spawner-cat-price .price-unit,
.spawner-cat-price span:not(.price-val) {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-muted);
}

.spawner-list {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.spawner-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text);
    transition: all var(--transition);
}

.spawner-item:hover {
    background: rgba(0, 200, 150, 0.04);
    border-color: rgba(0, 200, 150, 0.15);
    transform: translateX(4px);
}

.sp-emoji {
    font-size: 1.2rem;
    flex-shrink: 0;
    width: 24px;
    text-align: center;
}

.sp-note {
    font-size: 0.78rem;
    color: var(--text-muted);
    font-style: italic;
    margin-left: auto;
}

/* Spawner CTA */
.spawner-cta {
    text-align: center;
    max-width: 1080px;
    width: 100%;
    margin: 28px auto 0;
    padding: 24px 32px;
    background: var(--surface);
    backdrop-filter: blur(var(--blur));
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    box-sizing: border-box;
}

.spawner-cta p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    margin-bottom: 16px;
}

/* ============================================
   RESPONSIVE
   ============================================ */

@media (max-width: 1024px) {
    .ranks-grid {
        grid-template-columns: 1fr;
        max-width: 500px;
        margin: 0 auto;
    }

    .store-hero-bar,
    .spawner-grid,
    .spawner-cta,
    .store-disclaimer-box {
        max-width: 100%;
    }
}

@media (max-width: 860px) {
    .store-hero-bar {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 14px;
        padding-bottom: 14px;
    }

    .store-hero-left {
        align-items: center;
        text-align: center;
    }

    .store-hero-title-row {
        justify-content: center;
    }

    .store-controls-row {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .store-hero h1 {
        font-size: 2rem;
    }

    .spawner-grid {
        grid-template-columns: 1fr;
    }

    .store-tabs {
        width: 100%;
    }

    .store-tab {
        flex: 1;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .rank-card {
        padding: 24px 16px 20px;
    }

    .rank-card.popular {
        padding-top: 24px;
    }

    .popular-badge {
        top: 24px !important;
        right: 16px !important;
        font-size: 0.62rem;
        padding: 2px 8px;
    }

    .rank-price {
        font-size: 1.6rem;
    }

    .store-hero h1 {
        font-size: 1.8rem;
    }

    .spawner-item {
        font-size: 0.85rem;
        padding: 8px 12px;
    }

    .sp-note {
        font-size: 0.72rem;
    }
}

/* ============================================
   CARD ENTRANCE ANIMATION
   ============================================ */

@keyframes cardSlideIn {
    from {
        opacity: 0;
        transform: translateY(30px) scale(0.97);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* Cards are visible by default — JS adds .will-animate before animating */
.rank-card.will-animate,
.spawner-category.will-animate {
    opacity: 0;
    transform: translateY(30px);
}

.rank-card.animate-in,
.spawner-category.animate-in {
    animation: cardSlideIn 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* ============================================
   SPAWNER STEPPERS & ITEM STYLES
   ============================================ */

.spawner-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text);
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.spawner-item.has-qty {
    background: linear-gradient(90deg, rgba(0, 200, 150, 0.12) 0%, rgba(15, 23, 42, 0.6) 100%);
    border-color: rgba(0, 200, 150, 0.5);
    border-left: 3px solid #00c896;
    box-shadow: 0 4px 18px rgba(0, 200, 150, 0.15), inset 0 0 16px rgba(0, 200, 150, 0.04);
}

.sp-name {
    flex: 1;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-weight: 600;
    color: var(--text);
    transition: color 0.2s ease;
}

.spawner-item.has-qty .sp-name {
    color: #ffffff;
    font-weight: 700;
}

.sp-stepper {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    background: rgba(8, 11, 19, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: 9px;
    padding: 3px 5px;
    margin-left: auto;
    transition: all 0.25s ease;
}

.sp-stepper.active {
    background: rgba(0, 200, 150, 0.1);
    border-color: rgba(0, 200, 150, 0.5);
    box-shadow: 0 0 14px rgba(0, 200, 150, 0.2);
}

.sp-btn {
    width: 26px;
    height: 26px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text);
    border-radius: 6px;
    font-size: 1.05rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.15s ease;
    user-select: none;
    line-height: 1;
}

.sp-btn:hover:not(:disabled) {
    background: var(--primary);
    color: #0b0f19;
    border-color: var(--primary);
    transform: scale(1.06);
}

.sp-btn:active:not(:disabled) {
    transform: scale(0.92);
}

.sp-btn:disabled {
    opacity: 0.25;
    cursor: not-allowed;
    background: transparent;
    border-color: rgba(255, 255, 255, 0.04);
    color: var(--text-muted);
}

/* Middle Number (.sp-qty) */
.sp-qty {
    min-width: 28px;
    padding: 2px 6px;
    text-align: center;
    font-size: 0.95rem;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
    color: #8fa0bc; /* Clear, sharp, crisp slate gray when 0 */
    border-radius: 6px;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    user-select: none;
    display: inline-block;
}

/* When User clicks "+" and count > 0 */
.sp-qty.has-qty,
.sp-stepper.active .sp-qty,
.spawner-item.has-qty .sp-qty {
    color: #00ffb7;
    font-weight: 800;
    font-size: 1.05rem;
    background: rgba(0, 200, 150, 0.2);
    border: 1px solid rgba(0, 200, 150, 0.4);
    box-shadow: 0 0 12px rgba(0, 200, 150, 0.35);
    text-shadow: 0 0 8px rgba(0, 255, 183, 0.6);
}

/* Number Pop Animation */
@keyframes spQtyPop {
    0% { transform: scale(0.8); }
    50% { transform: scale(1.24); }
    100% { transform: scale(1); }
}

.sp-qty.qty-pop {
    animation: spQtyPop 0.25s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* ============================================
   FLOATING SPAWNER CART BAR
   ============================================ */

.spawner-cart-bar {
    position: fixed;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1000;
    width: calc(100% - 32px);
    max-width: 640px;
    background: rgba(15, 20, 32, 0.94);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(0, 200, 150, 0.35);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.6), 0 0 30px rgba(0, 200, 150, 0.18);
    border-radius: 16px;
    padding: 12px 20px;
    animation: cartBarSlideUp 0.35s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes cartBarSlideUp {
    from {
        opacity: 0;
        transform: translate(-50%, 40px) scale(0.96);
    }
    to {
        opacity: 1;
        transform: translate(-50%, 0) scale(1);
    }
}

.cart-bar-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.cart-bar-info {
    display: flex;
    align-items: center;
    gap: 14px;
}

.cart-bar-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(0, 200, 150, 0.2), rgba(59, 130, 246, 0.2));
    border: 1px solid rgba(0, 200, 150, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 1.25rem;
}

.cart-bar-title {
    font-size: 0.85rem;
    color: var(--text-secondary);
    font-weight: 500;
}

.cart-bar-title span {
    color: #fff;
    font-weight: 700;
}

.cart-bar-price {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--primary);
}

.cart-bar-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

/* ============================================
   CHECKOUT MODAL
   ============================================ */

.checkout-modal-overlay {
    position: fixed;
    inset: 0;
    z-index: 2000;
    background: rgba(8, 11, 19, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    overflow-y: auto;
    overflow-x: hidden;
    box-sizing: border-box;
    -webkit-overflow-scrolling: touch;
    animation: modalFadeIn 0.25s ease-out;
}

@keyframes modalFadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.checkout-modal {
    position: relative;
    width: 100%;
    max-width: 620px;
    background: #0f1422;
    border: 1px solid rgba(139, 92, 246, 0.25);
    border-radius: var(--radius-lg);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.8), 0 0 50px rgba(139, 92, 246, 0.15);
    padding: 32px 28px;
    max-height: 90vh;
    overflow-y: auto;
    overflow-x: hidden;
    box-sizing: border-box;
    animation: modalPopUp 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes modalPopUp {
    from {
        opacity: 0;
        transform: translateY(20px) scale(0.96);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.modal-close-btn {
    position: absolute;
    top: 18px;
    right: 18px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border);
    color: var(--text-muted);
    font-size: 1.4rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all var(--transition);
    line-height: 1;
}

.modal-close-btn:hover {
    background: rgba(239, 68, 68, 0.15);
    border-color: rgba(239, 68, 68, 0.4);
    color: #ef4444;
}

/* Modal Header */
.modal-header {
    text-align: center;
    margin-bottom: 24px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border);
}

.modal-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 14px;
    background: rgba(0, 200, 150, 0.1);
    border: 1px solid rgba(0, 200, 150, 0.25);
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 10px;
}

.modal-header h2 {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--text);
    margin-bottom: 12px;
}

.modal-order-summary-chip {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 6px 18px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border);
    border-radius: 12px;
    font-size: 0.95rem;
}

.chip-item-name {
    font-weight: 700;
    color: #fff;
}

.chip-item-price {
    font-family: var(--font-heading);
    font-weight: 800;
    color: var(--primary);
}

/* Checkout Steps */
.checkout-step {
    margin-bottom: 24px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.step-label {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 14px;
}

.step-num {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--primary);
    color: #0b0f19;
    font-size: 0.78rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
}

.quota-badge {
    margin-left: auto;
    padding: 3px 10px;
    background: rgba(251, 191, 36, 0.12);
    border: 1px solid rgba(251, 191, 36, 0.3);
    color: #fbbf24;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
}

.quota-badge.complete {
    background: rgba(0, 200, 150, 0.12);
    border-color: rgba(0, 200, 150, 0.35);
    color: var(--primary);
}

.step-desc {
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-bottom: 12px;
}

/* Player Identity Row */
.player-identity-row {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.player-avatar-box {
    width: 68px;
    height: 68px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: inset 0 2px 6px rgba(0, 0, 0, 0.4);
    overflow: hidden;
}

.player-avatar-box img {
    image-rendering: pixelated;
    border-radius: 6px;
}

.player-inputs {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.player-field-label {
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--text);
    display: flex;
    align-items: center;
    gap: 4px;
}

.player-field-label .req {
    color: #f87171;
}

.player-info-notice {
    font-size: 0.82rem;
    color: #e2e8f0;
    background: rgba(251, 191, 36, 0.08);
    border: 1px solid rgba(251, 191, 36, 0.25);
    border-radius: 8px;
    padding: 8px 12px;
    line-height: 1.45;
}

.player-info-notice i {
    color: #fbbf24;
    margin-right: 4px;
}

.player-info-notice code {
    background: rgba(255, 255, 255, 0.12);
    color: #fbbf24;
    padding: 2px 6px;
    border-radius: 4px;
    font-weight: 700;
}

.input-with-icon {
    position: relative;
    display: flex;
    align-items: center;
}

.input-with-icon i {
    position: absolute;
    left: 14px;
    color: var(--text-muted);
    font-size: 0.95rem;
}

.input-with-icon .form-input {
    padding-left: 38px;
}

.input-hint {
    font-size: 0.75rem;
    color: var(--text-muted);
}

/* Form Controls */
.form-input {
    width: 100%;
    padding: 10px 14px;
    background: rgba(0, 0, 0, 0.35);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    color: var(--text);
    font-family: var(--font-body);
    font-size: 0.9rem;
    outline: none;
    transition: border-color var(--transition), box-shadow var(--transition);
}

.form-input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(0, 200, 150, 0.18);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.form-group label {
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--text-secondary);
}

.form-group label .req {
    color: #f87171;
}

/* Rank Included Spawners Selector */
.rank-spawner-selectors {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.spawner-choice-group {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 14px;
}

.spawner-choice-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 10px;
    font-size: 0.86rem;
    font-weight: 700;
}

.spawner-choice-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.spawner-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 10px;
    background: rgba(0, 0, 0, 0.35);
    border: 1px solid var(--border);
    border-radius: 8px;
    font-size: 0.82rem;
    color: var(--text);
    cursor: default;
    transition: all var(--transition);
}

.spawner-chip.selected {
    background: rgba(0, 200, 150, 0.08);
    border-color: rgba(0, 200, 150, 0.4);
    color: #fff;
}

.chip-stepper {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    margin-left: 4px;
}

.chip-btn {
    width: 22px;
    height: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: var(--text);
    font-size: 0.8rem;
    font-weight: 700;
    cursor: pointer;
    line-height: 1;
}

.chip-btn:hover:not(:disabled) {
    background: var(--primary);
    color: #0b0f19;
}

.chip-btn:disabled {
    opacity: 0.35;
    cursor: not-allowed;
}

.chip-count {
    min-width: 18px;
    padding: 1px 4px;
    text-align: center;
    font-weight: 700;
    font-size: 0.82rem;
    color: #8fa0bc;
    border-radius: 4px;
    transition: all 0.2s ease;
}

.chip-count.has-qty,
.spawner-chip.selected .chip-count {
    color: #00ffb7;
    font-weight: 800;
    background: rgba(0, 200, 150, 0.2);
    border: 1px solid rgba(0, 200, 150, 0.4);
    text-shadow: 0 0 6px rgba(0, 255, 183, 0.5);
}

/* Spawner Cart Review Table in Modal */
.cart-items-review {
    display: flex;
    flex-direction: column;
    gap: 6px;
    max-height: 180px;
    overflow-y: auto;
    background: rgba(0, 0, 0, 0.25);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 10px 14px;
}

.cart-review-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.85rem;
    padding: 4px 0;
    border-bottom: 1px dashed rgba(255, 255, 255, 0.06);
}

.cart-review-item:last-child {
    border-bottom: none;
}

.cart-review-item strong {
    color: var(--primary);
}

/* Payment Method Tabs */
.payment-tabs {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin-bottom: 16px;
    width: 100%;
    box-sizing: border-box;
}

.pay-tab {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.03);
    border: 1.5px solid var(--border);
    border-radius: 14px;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    min-width: 0;
    box-sizing: border-box;
    position: relative;
    outline: none;
    user-select: none;
}

.pay-tab:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.pay-tab:active {
    transform: translateY(0);
}

.pay-tab.active#tabBkash {
    background: linear-gradient(135deg, rgba(226, 19, 110, 0.16) 0%, rgba(209, 32, 83, 0.06) 100%);
    border-color: #e2136e;
    box-shadow: 0 0 20px rgba(226, 19, 110, 0.25), inset 0 0 12px rgba(226, 19, 110, 0.08);
}

.pay-tab.active#tabNagad {
    background: linear-gradient(135deg, rgba(247, 148, 29, 0.16) 0%, rgba(237, 28, 36, 0.06) 100%);
    border-color: #f7941d;
    box-shadow: 0 0 20px rgba(247, 148, 29, 0.25), inset 0 0 12px rgba(247, 148, 29, 0.08);
}

.pay-tab-inner {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
}

.pay-brand-img {
    height: 30px;
    width: auto;
    max-width: 105px;
    object-fit: contain;
    display: block;
    flex-shrink: 0;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
    transition: transform 0.2s ease;
}

.pay-tab:hover .pay-brand-img {
    transform: scale(1.04);
}

.pay-badge {
    font-size: 0.7rem;
    padding: 3px 8px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.08);
    color: var(--text-muted);
    font-weight: 700;
    letter-spacing: 0.3px;
    white-space: nowrap;
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.pay-tab.active#tabBkash .bkash-badge {
    background: rgba(226, 19, 110, 0.2);
    color: #ff5c9e;
    border-color: rgba(226, 19, 110, 0.4);
}

.pay-tab.active#tabNagad .nagad-badge {
    background: rgba(247, 148, 29, 0.2);
    color: #ffb052;
    border-color: rgba(247, 148, 29, 0.4);
}

.pay-check-indicator {
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.15);
    transition: all 0.25s ease;
    flex-shrink: 0;
}

.pay-tab.active#tabBkash .pay-check-indicator {
    color: #e2136e;
    filter: drop-shadow(0 0 6px rgba(226, 19, 110, 0.6));
}

.pay-tab.active#tabNagad .pay-check-indicator {
    color: #f7941d;
    filter: drop-shadow(0 0 6px rgba(247, 148, 29, 0.6));
}

/* Payment Instruction Box */
.payment-box {
    background: rgba(15, 20, 32, 0.85);
    border: 1.5px solid var(--border);
    border-radius: 16px;
    padding: 20px 22px;
    position: relative;
    transition: border-color 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
    overflow: hidden;
    box-sizing: border-box;
}

.payment-box.method-bkash {
    background: linear-gradient(160deg, rgba(226, 19, 110, 0.08) 0%, rgba(15, 20, 32, 0.95) 40%, rgba(8, 11, 19, 0.98) 100%);
    border-color: rgba(226, 19, 110, 0.35);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4), 0 0 24px rgba(226, 19, 110, 0.1);
}

.payment-box.method-nagad {
    background: linear-gradient(160deg, rgba(247, 148, 29, 0.08) 0%, rgba(15, 20, 32, 0.95) 40%, rgba(8, 11, 19, 0.98) 100%);
    border-color: rgba(247, 148, 29, 0.35);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4), 0 0 24px rgba(247, 148, 29, 0.1);
}

.payment-box-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 14px;
    flex-wrap: wrap;
}

.pay-header-info {
    display: flex;
    flex-direction: column;
    gap: 3px;
    min-width: 0;
}

.pay-method-badge {
    display: inline-flex;
    align-items: center;
    font-size: 1rem;
    font-weight: 800;
    color: #fff;
    letter-spacing: 0.3px;
}

.payment-box.method-bkash .pay-method-badge {
    color: #ff5c9e;
}

.payment-box.method-nagad .pay-method-badge {
    color: #f7941d;
}

.pay-action-note {
    font-size: 0.78rem;
    color: #fbbf24;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-weight: 600;
}

.copy-num-btn {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 7px 16px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 9px;
    color: #fff;
    font-size: 0.82rem;
    font-weight: 700;
    cursor: pointer;
    transition: all var(--transition);
    flex-shrink: 0;
}

.copy-num-btn:hover {
    background: var(--primary);
    color: #0b0f19;
    border-color: var(--primary);
    box-shadow: 0 0 14px rgba(0, 200, 150, 0.35);
}

.copy-num-btn.copied {
    background: #10b981;
    color: #fff;
    border-color: #10b981;
    box-shadow: 0 0 16px rgba(16, 185, 129, 0.4);
}

/* Interactive Number Box */
.payment-number-container {
    position: relative;
    background: rgba(0, 0, 0, 0.45);
    border: 1.5px dashed rgba(255, 255, 255, 0.15);
    border-radius: 12px;
    padding: 12px 14px 10px;
    text-align: center;
    margin-bottom: 16px;
    cursor: pointer;
    transition: all 0.25s ease;
    user-select: none;
    -webkit-user-select: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.payment-number-container:hover {
    background: rgba(0, 0, 0, 0.65);
    border-color: var(--primary);
    box-shadow: 0 0 18px rgba(0, 200, 150, 0.2);
    transform: translateY(-1px);
}

.payment-number-container:active {
    transform: scale(0.99);
}

.payment-number-container.copy-pulse {
    border-color: #10b981;
    background: rgba(16, 185, 129, 0.1);
    box-shadow: 0 0 20px rgba(16, 185, 129, 0.3);
}

.payment-number-display {
    font-family: var(--font-heading);
    font-size: clamp(1.4rem, 4.5vw, 1.75rem);
    font-weight: 800;
    letter-spacing: 2.5px;
    color: #ffffff;
    line-height: 1.2;
    margin-bottom: 4px;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.6);
}

.payment-copy-pill {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--text-muted);
    transition: color 0.2s ease;
}

.payment-number-container:hover .payment-copy-pill {
    color: var(--primary);
}

/* Step-by-Step Payment Instructions */
.guide-steps-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.guide-step-card {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    background: rgba(255, 255, 255, 0.025);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    padding: 10px 14px;
    transition: background 0.2s ease;
}

.guide-step-card:hover {
    background: rgba(255, 255, 255, 0.04);
}

.guide-step-num {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    color: var(--primary);
    font-size: 0.75rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 1px;
    border: 1px solid rgba(0, 200, 150, 0.25);
}

.guide-step-body {
    flex: 1;
    font-size: 0.84rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

.guide-step-body strong {
    color: #ffffff;
}

.guide-step-body code {
    background: rgba(0, 200, 150, 0.12);
    color: var(--primary);
    border: 1px solid rgba(0, 200, 150, 0.3);
    padding: 2px 7px;
    border-radius: 6px;
    font-family: 'JetBrains Mono', monospace;
    font-weight: 700;
    font-size: 0.88rem;
}

.guide-amount-tag {
    display: inline-block;
    background: rgba(251, 191, 36, 0.15);
    color: #fbbf24;
    border: 1px solid rgba(251, 191, 36, 0.4);
    padding: 1px 8px;
    border-radius: 6px;
    font-size: 0.88rem;
    font-weight: 800;
    margin: 0 4px;
}

.guide-ref-box {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 5px;
    background: rgba(226, 19, 110, 0.08);
    border: 1px solid rgba(226, 19, 110, 0.25);
    border-radius: 6px;
    padding: 3px 8px;
    font-size: 0.78rem;
    color: #e2e8f0;
}

.guide-ref-box i {
    color: #fbbf24;
}

.guide-ref-box strong {
    color: #ff5c9e;
}

/* Modal Footer */
.modal-footer {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 20px;
}

.btn-block {
    width: 100%;
    padding: 14px;
    font-size: 1rem;
    font-weight: 700;
    justify-content: center;
}

.modal-security-note {
    font-size: 0.75rem;
    color: var(--text-muted);
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

/* ============================================
   ORDER SUCCESS / MINIMAL PREMIUM INVOICE VIEW
   ============================================ */
.order-success-view {
    text-align: left;
    padding: 4px 0 2px;
    animation: modalFadeIn 0.3s ease-out;
}

.invoice-sheet {
    position: relative;
    background: linear-gradient(180deg, rgba(19, 25, 40, 0.95) 0%, rgba(11, 15, 25, 0.98) 100%);
    border: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: 16px;
    padding: 22px;
    margin-bottom: 18px;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.06);
    overflow: hidden;
}

.invoice-sheet::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary) 0%, #f59e0b 55%, #6366f1 100%);
}

/* 1. Brand & Status Header */
.inv-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding-bottom: 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
    flex-wrap: wrap;
}

.inv-brand {
    display: flex;
    align-items: center;
    gap: 11px;
}

.inv-brand-logo {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    object-fit: contain;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 3px;
}

.inv-brand-text {
    display: flex;
    flex-direction: column;
    gap: 1px;
}

.inv-brand-title {
    font-family: var(--font-heading);
    font-size: 1.08rem;
    font-weight: 800;
    color: #ffffff;
    letter-spacing: -0.2px;
    line-height: 1.2;
}

.inv-brand-sub {
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.7px;
}

.inv-status-badge {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 5px 12px;
    background: rgba(245, 158, 11, 0.12);
    border: 1px solid rgba(245, 158, 11, 0.35);
    border-radius: 999px;
    color: #fbbf24;
    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: 0.3px;
    white-space: nowrap;
}

.inv-status-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #fbbf24;
    box-shadow: 0 0 8px #fbbf24;
    animation: invPulse 1.8s infinite ease-in-out;
}

@keyframes invPulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.45; transform: scale(0.85); }
}

/* 2. Meta Strip */
.inv-meta-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 12px 14px;
    margin: 14px 0;
    background: rgba(0, 0, 0, 0.28);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 10px;
}

.inv-meta-item {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.inv-meta-label {
    font-size: 0.68rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    color: var(--text-muted);
}

.inv-meta-item strong {
    font-size: 0.84rem;
    font-weight: 700;
    color: #f1f5f9;
    white-space: nowrap;
}

.inv-id-group {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.inv-id-group strong#receiptOrderId {
    font-family: 'JetBrains Mono', 'Courier New', monospace;
    color: var(--primary);
    font-size: 0.9rem;
    font-weight: 800;
    letter-spacing: 0.4px;
}

.inv-id-copy {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-secondary);
    width: 22px;
    height: 22px;
    border-radius: 5px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    cursor: pointer;
    transition: all 0.18s ease;
}

.inv-id-copy:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: #090d16;
}

.inv-meta-divider {
    width: 1px;
    height: 26px;
    background: rgba(255, 255, 255, 0.07);
    flex-shrink: 0;
}

.inv-delivery-tag {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: #cbd5e1 !important;
}

.inv-delivery-tag i {
    color: var(--primary);
    font-size: 0.78rem;
}

/* 3. Manual Payment Verification Tracker & Callout */
.inv-verification-box {
    background: rgba(245, 158, 11, 0.05);
    border: 1px solid rgba(245, 158, 11, 0.22);
    border-radius: 12px;
    padding: 14px;
    margin-bottom: 14px;
}

.inv-steps-track {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 6px;
    padding-bottom: 12px;
    margin-bottom: 12px;
    border-bottom: 1px dashed rgba(245, 158, 11, 0.2);
}

.inv-step {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.74rem;
    font-weight: 700;
    color: var(--text-muted);
    white-space: nowrap;
}

.inv-step-icon {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.65rem;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: var(--text-muted);
    flex-shrink: 0;
}

.inv-step.done {
    color: var(--primary);
}

.inv-step.done .inv-step-icon {
    background: rgba(0, 200, 150, 0.16);
    border-color: rgba(0, 200, 150, 0.45);
    color: var(--primary);
}

.inv-step.active {
    color: #fbbf24;
}

.inv-step.active .inv-step-icon {
    background: rgba(245, 158, 11, 0.2);
    border-color: #fbbf24;
    color: #fbbf24;
    box-shadow: 0 0 10px rgba(245, 158, 11, 0.3);
}

.inv-step-line {
    flex: 1;
    height: 1.5px;
    background: rgba(255, 255, 255, 0.08);
    min-width: 12px;
}

.inv-step-line.active {
    background: linear-gradient(90deg, var(--primary), #fbbf24);
}

.inv-verify-note {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.inv-verify-note > i {
    color: #fbbf24;
    font-size: 1rem;
    margin-top: 2px;
    flex-shrink: 0;
}

.inv-verify-note strong {
    display: block;
    font-size: 0.82rem;
    font-weight: 700;
    color: #fef3c7;
    margin-bottom: 2px;
}

.inv-verify-note p {
    font-size: 0.77rem;
    color: #cbd5e1;
    line-height: 1.45;
    margin: 0 0 4px;
}

.inv-verify-bn {
    display: block;
    font-size: 0.75rem;
    color: #fbbf24;
    font-weight: 600;
    line-height: 1.4;
}

/* 4. Customer & Payment 2-Column Grid */
.inv-info-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin-bottom: 14px;
}

.inv-info-card {
    background: rgba(255, 255, 255, 0.025);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 11px;
    padding: 12px 13px;
    display: flex;
    flex-direction: column;
    gap: 9px;
    min-width: 0;
}

.inv-card-label {
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 6px;
}

.inv-card-label i {
    color: var(--primary);
    font-size: 0.72rem;
}

.inv-player-row {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
}

.inv-player-avatar {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    image-rendering: pixelated;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(0, 0, 0, 0.3);
    flex-shrink: 0;
}

.inv-player-meta {
    display: flex;
    flex-direction: column;
    gap: 3px;
    min-width: 0;
}

.inv-player-name-wrap {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
}

.inv-player-name-wrap strong {
    font-size: 0.88rem;
    font-weight: 700;
    color: #ffffff;
    word-break: break-all;
}

.inv-edition-badge {
    font-size: 0.64rem;
    font-weight: 700;
    padding: 1px 6px;
    border-radius: 4px;
    background: rgba(0, 200, 150, 0.12);
    border: 1px solid rgba(0, 200, 150, 0.3);
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.inv-discord-tag {
    font-size: 0.76rem;
    color: var(--text-secondary);
    display: inline-flex;
    align-items: center;
    gap: 5px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.inv-discord-tag i {
    color: #818cf8;
    font-size: 0.78rem;
}

.inv-pay-rows {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.inv-pay-line {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    font-size: 0.77rem;
    color: var(--text-secondary);
}

.inv-pay-line strong {
    color: #f1f5f9;
    font-weight: 600;
    text-align: right;
}

.inv-trx-code {
    font-family: 'JetBrains Mono', 'Courier New', monospace;
    font-size: 0.75rem;
    font-weight: 700;
    color: #38bdf8;
    background: rgba(56, 189, 248, 0.1);
    border: 1px solid rgba(56, 189, 248, 0.25);
    padding: 1px 6px;
    border-radius: 4px;
    letter-spacing: 0.3px;
}

/* 5. Itemized Package & Spawners Breakdown */
.inv-items-section {
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 12px;
    overflow: hidden;
}

.inv-items-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 9px 14px;
    background: rgba(255, 255, 255, 0.03);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    color: var(--text-muted);
}

.inv-main-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 13px 14px;
}

.inv-item-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.inv-item-title {
    font-size: 0.94rem;
    font-weight: 700;
    color: #ffffff;
    line-height: 1.3;
}

.inv-item-type {
    font-size: 0.73rem;
    color: var(--text-muted);
}

.inv-item-price {
    font-family: var(--font-heading);
    font-size: 1.05rem;
    font-weight: 800;
    color: #ffffff;
    white-space: nowrap;
}

/* Clean Spawner Groups & Pills */
.inv-spawners-block {
    padding: 11px 14px 13px;
    border-top: 1px dashed rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.012);
    display: flex;
    flex-direction: column;
    gap: 9px;
}

.inv-spawners-label {
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 6px;
}

.inv-spawners-label i {
    color: var(--primary);
    font-size: 0.74rem;
}

.inv-spawners-list {
    display: flex;
    flex-direction: column;
    gap: 7px;
}

.inv-spawner-group {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 10px;
    flex-wrap: wrap;
    padding: 6px 9px;
    background: rgba(255, 255, 255, 0.025);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 8px;
}

.inv-spawner-cat {
    font-size: 0.76rem;
    font-weight: 700;
    color: #cbd5e1;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding-top: 2px;
}

.inv-spawner-cat-count {
    font-size: 0.68rem;
    font-weight: 600;
    color: var(--text-muted);
}

.inv-spawner-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    justify-content: flex-end;
    flex: 1;
}

.inv-spawner-tag {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 3px 8px;
    background: rgba(0, 200, 150, 0.1);
    border: 1px solid rgba(0, 200, 150, 0.25);
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 600;
    color: #e2e8f0;
    white-space: nowrap;
}

.inv-spawner-tag strong {
    color: var(--primary);
    font-weight: 800;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.73rem;
}

/* Total & Terms Bar */
.inv-total-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 11px 14px;
    background: rgba(0, 200, 150, 0.06);
    border-top: 1px solid rgba(0, 200, 150, 0.18);
    flex-wrap: wrap;
}

.inv-terms-status {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.74rem;
    font-weight: 600;
    color: #94a3b8;
}

.inv-terms-status i {
    color: var(--primary);
}

.inv-total-amount {
    display: flex;
    align-items: baseline;
    gap: 8px;
    margin-left: auto;
}

.inv-total-amount span {
    font-size: 0.74rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    color: var(--text-secondary);
}

.inv-total-amount strong {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--primary);
}

/* 6. Action Buttons */
.inv-actions-wrap {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 12px;
}

.inv-utility-btns {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.inv-action-btn {
    width: 100%;
    justify-content: center;
    padding: 11px 14px;
    font-size: 0.86rem;
    font-weight: 600;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: #f1f5f9;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.2s ease;
}

.inv-action-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.24);
    transform: translateY(-1px);
}

.inv-action-btn.copied-state {
    background: rgba(16, 185, 129, 0.15);
    border-color: rgba(16, 185, 129, 0.45);
    color: #34d399;
}

.inv-discord-btn {
    width: 100%;
    justify-content: center;
    padding: 13px 18px;
    font-size: 0.92rem;
    font-weight: 700;
    border-radius: 10px;
}

.close-success-btn {
    display: block;
    margin: 0 auto;
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 0.82rem;
    cursor: pointer;
    text-decoration: underline;
    transition: color var(--transition);
}

.close-success-btn:hover {
    color: #fff;
}

/* Modal Responsive */
@media (max-width: 600px) {
    .checkout-modal-overlay {
        padding: 12px 8px;
        overflow-x: hidden;
    }

    .checkout-modal {
        padding: 20px 14px;
        max-height: 94vh;
        overflow-x: hidden;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .player-identity-row {
        flex-direction: column;
        align-items: stretch;
    }

    .player-avatar-box {
        margin: 0 auto;
    }

    .invoice-sheet {
        padding: 16px 14px;
    }

    .inv-meta-bar {
        flex-wrap: wrap;
        gap: 8px;
    }

    .inv-meta-divider {
        display: none;
    }

    .inv-info-grid {
        grid-template-columns: 1fr;
    }

    .inv-steps-track {
        flex-wrap: wrap;
        gap: 6px;
    }

    .inv-step-line {
        display: none;
    }

    .inv-utility-btns {
        grid-template-columns: 1fr;
    }

    .inv-spawner-tags {
        justify-content: flex-start;
    }
}

@media (max-width: 480px) {
    .payment-tabs {
        gap: 8px;
    }

    .pay-tab {
        padding: 10px 6px;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 6px;
        text-align: center;
    }

    .pay-tab-inner {
        flex-direction: column;
        gap: 6px;
        align-items: center;
    }

    .pay-brand-img {
        height: 25px;
        max-width: 80px;
    }

    .pay-badge {
        font-size: 0.64rem;
        padding: 2px 6px;
    }

    .pay-check-indicator {
        position: absolute;
        top: 6px;
        right: 6px;
        font-size: 0.85rem;
    }

    .payment-box {
        padding: 14px 12px;
    }

    .payment-box-header {
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
    }

    .copy-num-btn {
        width: 100%;
        justify-content: center;
        padding: 8px;
    }

    .payment-number-display {
        font-size: 1.45rem;
        letter-spacing: 1.5px;
    }

    .guide-step-card {
        padding: 8px 10px;
        gap: 10px;
    }

    .guide-step-body {
        font-size: 0.8rem;
    }

    .guide-ref-box {
        display: flex;
        font-size: 0.74rem;
    }
}

/* ============================================
   CHECKOUT STORE TERMS AGREEMENT STEP
   ============================================ */
.checkout-step.terms-step {
    padding-top: 14px;
    border-top: 1px solid var(--border);
}

.terms-notice-card {
    background: rgba(255, 138, 0, 0.06);
    border: 1px solid rgba(255, 138, 0, 0.28);
    border-radius: var(--radius-md);
    padding: 14px 16px;
    margin-bottom: 14px;
}

.terms-notice-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 8px;
    flex-wrap: wrap;
}

.terms-notice-title-group {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #ffaa33;
    font-size: 0.88rem;
    font-weight: 700;
}

.terms-notice-title-group i {
    font-size: 0.95rem;
}

.btn-read-terms-inline {
    background: rgba(255, 170, 51, 0.12);
    border: 1px solid rgba(255, 170, 51, 0.35);
    color: #ffaa33;
    border-radius: 6px;
    padding: 3px 9px;
    font-size: 0.76rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.btn-read-terms-inline:hover {
    background: rgba(255, 170, 51, 0.25);
    color: #fff;
    border-color: #ffaa33;
}

.terms-notice-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.terms-notice-list li {
    font-size: 0.82rem;
    color: var(--text-secondary);
    line-height: 1.5;
    position: relative;
    padding-left: 14px;
}

.terms-notice-list li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: #ffaa33;
    font-weight: bold;
}

.terms-notice-list li strong {
    color: #ffaa33;
}

.terms-checkbox-wrapper {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 10px 14px;
    transition: border-color var(--transition);
}

.terms-checkbox-wrapper:hover {
    border-color: rgba(0, 200, 150, 0.3);
}

.terms-checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    cursor: pointer;
    font-size: 0.86rem;
    color: var(--text);
    line-height: 1.45;
    user-select: none;
}

.terms-checkbox-label input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin-top: 2px;
    cursor: pointer;
    accent-color: var(--primary);
    flex-shrink: 0;
}

.terms-highlight-link {
    color: var(--primary);
    text-decoration: underline;
    font-weight: 600;
    transition: opacity var(--transition);
}

.terms-highlight-link:hover {
    opacity: 0.85;
}

/* ============================================
   STORE BOTTOM LEGAL DISCLAIMER
   ============================================ */
.store-disclaimer-section {
    padding: 0 0 48px;
}

.store-disclaimer-box {
    display: flex;
    align-items: center;
    gap: 16px;
    max-width: 1080px;
    width: 100%;
    margin: 0 auto;
    box-sizing: border-box;
    padding: 18px 24px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
}

.store-disclaimer-box i {
    font-size: 1.8rem;
    color: var(--text-muted);
    flex-shrink: 0;
}

.store-disclaimer-box strong {
    display: block;
    font-size: 0.92rem;
    color: var(--text);
    margin-bottom: 2px;
}

.store-disclaimer-box p {
    font-size: 0.84rem;
    color: var(--text-secondary);
    margin: 0;
    line-height: 1.5;
}

.store-disclaimer-box a {
    color: var(--primary);
    text-decoration: underline;
}

/* --- Custom Field Validation & Error States --- */
.form-input.input-error {
    border-color: #ef4444 !important;
    background: rgba(239, 68, 68, 0.08) !important;
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.25) !important;
}

.terms-checkbox-wrapper.input-error {
    border-color: #ef4444 !important;
    background: rgba(239, 68, 68, 0.08) !important;
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.25) !important;
}

@keyframes fieldShake {
    0%, 100% { transform: translateX(0); }
    20%, 60% { transform: translateX(-6px); }
    40%, 80% { transform: translateX(6px); }
}

.shake-error {
    animation: fieldShake 0.4s ease-in-out !important;
}

/* ============================================
   STORE TERMS MODAL (IN-PAGE POPUP & BILINGUAL)
   ============================================ */
.store-terms-modal-overlay {
    position: fixed;
    inset: 0;
    z-index: 3000;
    background: rgba(6, 9, 16, 0.88);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    overflow-y: auto;
    overflow-x: hidden;
    box-sizing: border-box;
    -webkit-overflow-scrolling: touch;
    animation: modalFadeIn 0.22s ease-out;
}

.store-terms-modal {
    position: relative;
    width: 100%;
    max-width: 680px;
    max-height: 86vh;
    display: flex;
    flex-direction: column;
    background: #0c101c;
    border: 1px solid rgba(0, 200, 150, 0.35);
    border-radius: 18px;
    box-shadow: 0 25px 70px rgba(0, 0, 0, 0.85), 0 0 50px rgba(0, 200, 150, 0.12);
    overflow: hidden;
    animation: modalPopUp 0.28s cubic-bezier(0.16, 1, 0.3, 1);
    box-sizing: border-box;
}

.store-terms-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 22px;
    background: rgba(15, 20, 35, 0.96);
    border-bottom: 1px solid var(--border);
    gap: 12px;
    flex-shrink: 0;
}

.terms-header-title-wrap {
    display: flex;
    align-items: center;
    gap: 12px;
}

.terms-header-icon {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: rgba(0, 200, 150, 0.12);
    border: 1px solid rgba(0, 200, 150, 0.25);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
    flex-shrink: 0;
}

.store-terms-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: #fff;
    margin: 0;
    line-height: 1.25;
}

.store-terms-subtitle {
    font-size: 0.76rem;
    color: var(--text-muted);
    margin: 0;
    display: block;
}

.terms-header-right {
    display: flex;
    align-items: center;
    gap: 12px;
}

.terms-lang-switch {
    display: flex;
    background: rgba(255, 255, 255, 0.05);
    padding: 3px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    gap: 2px;
}

.terms-lang-btn {
    background: transparent;
    border: none;
    color: var(--text-secondary);
    padding: 4px 12px;
    border-radius: 16px;
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    user-select: none;
}

.terms-lang-btn.active {
    background: var(--primary);
    color: #080d16;
    font-weight: 700;
    box-shadow: 0 2px 8px rgba(0, 200, 150, 0.35);
}

.terms-modal-close {
    background: transparent;
    border: none;
    color: var(--text-muted);
    font-size: 1.6rem;
    cursor: pointer;
    width: 32px;
    height: 32px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
    line-height: 1;
}

.terms-modal-close:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.08);
}

.store-terms-modal-body {
    padding: 20px 22px;
    overflow-y: auto;
    overflow-x: hidden;
    flex: 1;
    -webkit-overflow-scrolling: touch;
    box-sizing: border-box;
}

.store-terms-modal-body::-webkit-scrollbar {
    width: 6px;
}

.store-terms-modal-body::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.2);
}

.store-terms-modal-body::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.15);
    border-radius: 3px;
}

.store-terms-modal-body::-webkit-scrollbar-thumb:hover {
    background: var(--primary);
}

.terms-content-pane {
    display: none;
    flex-direction: column;
    gap: 12px;
}

.terms-content-pane.active {
    display: flex;
}

.terms-banner-card {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 12px 14px;
    border-radius: 10px;
    background: rgba(0, 200, 150, 0.08);
    border: 1px solid rgba(0, 200, 150, 0.25);
    color: var(--text);
    font-size: 0.85rem;
    line-height: 1.5;
}

.terms-banner-card i {
    color: var(--primary);
    font-size: 1.1rem;
    margin-top: 2px;
    flex-shrink: 0;
}

.terms-banner-card strong {
    color: var(--primary);
    display: block;
    margin-bottom: 2px;
    font-size: 0.88rem;
}

.terms-banner-card p {
    margin: 0;
    color: var(--text-secondary);
}

.terms-clause-card {
    background: rgba(18, 23, 38, 0.65);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 12px;
    padding: 13px 15px;
    display: flex;
    flex-direction: column;
    gap: 7px;
}

.clause-badge {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-size: 0.88rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 2px;
}

.clause-badge i {
    color: var(--primary);
    font-size: 0.95rem;
}

.terms-clause-card p {
    margin: 0;
    font-size: 0.84rem;
    color: var(--text-secondary);
    line-height: 1.55;
}

.terms-clause-card p strong {
    color: var(--text);
}

.clause-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.clause-list li {
    font-size: 0.84rem;
    color: var(--text-secondary);
    line-height: 1.55;
    padding-left: 0;
}

.clause-list li strong {
    color: #fff;
}

.clause-card-warning {
    background: rgba(255, 138, 0, 0.07);
    border-color: rgba(255, 138, 0, 0.32);
}

.warning-badge {
    color: #ffaa33;
}

.warning-badge i {
    color: #ffaa33;
}

.clause-card-warning p strong {
    color: #ffaa33;
}

.terms-agreement-callout {
    background: rgba(0, 200, 150, 0.06);
    border: 1px dashed rgba(0, 200, 150, 0.35);
    border-radius: 12px;
    padding: 12px 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.84rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

.terms-agreement-callout i {
    font-size: 1.35rem;
    color: var(--primary);
    flex-shrink: 0;
}

.terms-agreement-callout strong {
    color: var(--primary);
    display: block;
    margin-bottom: 2px;
}

.terms-agreement-callout p {
    margin: 0;
}

.store-terms-modal-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 22px;
    background: rgba(15, 20, 35, 0.96);
    border-top: 1px solid var(--border);
    gap: 12px;
    flex-shrink: 0;
}

.terms-full-page-link {
    font-size: 0.82rem;
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: opacity 0.2s;
}

.terms-full-page-link:hover {
    opacity: 0.8;
    text-decoration: underline;
}

.terms-footer-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-left: auto;
}

.terms-btn-agree {
    padding: 9px 18px;
    font-size: 0.88rem;
    font-weight: 700;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    cursor: pointer;
}

.terms-btn-dismiss {
    padding: 9px 14px;
    font-size: 0.86rem;
    border-radius: 8px;
    cursor: pointer;
}

@media (max-width: 600px) {
    .store-terms-modal {
        width: 95%;
        max-height: 90vh;
        border-radius: 14px;
    }

    .store-terms-modal-header {
        padding: 12px 16px;
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
    }

    .terms-header-right {
        justify-content: space-between;
        width: 100%;
    }

    .store-terms-modal-body {
        padding: 14px 16px;
    }

    .store-terms-modal-footer {
        padding: 12px 16px;
        flex-direction: column-reverse;
        align-items: stretch;
        gap: 8px;
    }

    .terms-footer-actions {
        width: 100%;
        flex-direction: column-reverse;
        margin-left: 0;
        gap: 8px;
    }

    .terms-btn-agree,
    .terms-btn-dismiss {
        width: 100%;
        justify-content: center;
        text-align: center;
    }

    .terms-full-page-link {
        justify-content: center;
        width: 100%;
        text-align: center;
    }

    .btn-read-terms-inline {
        font-size: 0.72rem;
        padding: 2px 7px;
    }
}


