/* ==========================================================================
   📦 MASTER STYLESHEET: xs-frontend-style.css
   ========================================================================== */

/* --- Container Layout Setup --- */
.xs-modern-account-container {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
    width: 100%;
    margin: 0 auto;
    color: #333;
}

/* --- Responsive Navigation Line --- */
.xs-modern-account-navigation {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
    margin-bottom: 15px;
}

.xs-account-tab-btn, .xs-account-logout-btn {
    background: transparent;
    border: 1px solid #e2e8f0;
    padding: 10px 20px;
    font-size: 14px;
    font-weight: 500;
    color: #4a5568;
    border-radius: 6px;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.2s ease-in-out;
}

.xs-account-tab-btn:hover, .xs-account-tab-btn.is-active {
    background: #000;
    color: #fff;
    border-color: #000;
}

.xs-account-logout-btn {
    background: #fff5f5;
    color: #c53030;
    border-color: #feb2b2;
    margin-left: auto;
}

.xs-account-logout-btn:hover {
    background: #c53030;
    color: #fff;
    border-color: #c53030;
}

.xs-modern-divider {
    border: 0;
    height: 1px;
    background: #e2e8f0;
    margin: 20px 0;
}

/* --- Content Panel Animation Area --- */
#xs-account-content-target {
    transition: opacity 0.2s ease-in-out;
}

.xs-tab-wrapper {
    padding: 10px 5px;
}

/* ==========================================================================
   👥 STUDENT ROSTER MODULES
   ========================================================================== */

.xs-students-dashboard-wrapper {
    margin-top: 10px;
}

.xs-students-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 15px;
    margin-bottom: 25px;
}

.xs-student-card {
    background: #fafafa;
    border: 1px solid #e2e8f0;
    padding: 15px;
    border-radius: 8px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

.xs-student-info {
    display: flex;
    flex-direction: column;
}

.xs-student-name {
    font-size: 16px;
    color: #1a202c;
}

.xs-student-meta {
    font-size: 13px;
    color: #718096;
    margin-top: 2px;
}

.xs-remove-student-btn {
    background: transparent;
    border: none;
    font-size: 24px;
    color: #a0aec0;
    cursor: pointer;
    line-height: 1;
    padding: 0 5px;
    transition: color 0.2s ease;
}

.xs-remove-student-btn:hover {
    color: #e53e3e;
    background: none;
}

.xs-students-actions-panel {
    display: flex;
    align-items: center;
    gap: 15px;
}

.xs-count-indicator {
    font-size: 13px;
    color: #718096;
}

.xs-count-indicator.max-reached {
    color: #e53e3e;
    font-weight: 500;
}

/* ==========================================================================
   🎨 SHARED BRAND BUTTON LAYOUT ALIGNMENTS
   ========================================================================== */

.xs-primary-btn {
    background: #000;
    color: #fff;
    border: 1px solid #000;
    padding: 12px 24px;
    font-size: 14px;
    font-weight: 500;
    border-radius: 6px;
    cursor: pointer;
    transition: background 0.2s ease;
}

.xs-primary-btn:hover {
    background: #2d3748;
}

.xs-primary-btn:disabled {
    background: #cbd5e0;
    border-color: #cbd5e0;
    cursor: not-allowed;
}

.block-btn {
    width: 100%;
    margin-top: 10px;
}

/* ==========================================================================
   🛡️ UNIFIED MODAL CORE OVERLAY ENGINE (REQUIREMENT #8)
   ========================================================================== */

#xs-student-modal-overlay,
#xs-preorder-modal-overlay,
#xs-topup-modal-overlay,
#xs-staff-modal-overlay {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    background: rgba(0, 0, 0, 0.4) !important;
    backdrop-filter: blur(5px) !important;
    -webkit-backdrop-filter: blur(5px) !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    z-index: 99999999 !important;
    margin: 0 !important;
    padding: 0 !important;
    transition: all 0.2s ease-in-out;
}

.xs-modal-window,
.custom-topup-window {
    background: #fff !important;
    width: 90% !important;
    max-width: 420px !important;
    padding: 30px !important;
    border-radius: 24px !important;
    box-shadow: 0 20px 48px rgba(0, 0, 0, 0.16) !important;
    position: relative !important;
    box-sizing: border-box !important;
    z-index: 999999999 !important;
    margin: auto !important;
}

/* Functional toggle logic state wrapper */
.xs-modal-hidden {
    display: none !important;
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
}

.xs-modal-header {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    margin-bottom: 24px !important;
    padding-bottom: 10px !important;
    border-bottom: 1px solid #edf2f7 !important;
}

.xs-modal-header h4 {
    margin: 0 !important;
    font-size: 20px !important;
    font-weight: 800 !important;
    color: #1a202c !important;
}

/* --- Form Groups Configuration Inputs --- */
.xs-form-group {
    margin-bottom: 15px;
}

.xs-form-group label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: #4a5568;
    margin-bottom: 5px;
}

.xs-form-group input, .xs-form-group select {
    width: 100%;
    padding: 10px;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    font-size: 14px;
}

.xs-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.xs-error-notice {
    background: #fff5f5;
    color: #c53030;
    padding: 10px;
    border-radius: 6px;
    font-size: 13px;
    margin-bottom: 15px;
    border: 1px solid #feb2b2;
}

/* ==========================================================================
   ❌ HIGH-END HOVER-SPIN APP CLOSE TRIGGERS
   ========================================================================== */

.xs-app-close-btn {
    position: absolute !important;
    top: 16px !important;
    right: 16px !important;
    width: 32px !important;
    height: 32px !important;
    border-radius: 50% !important;
    border: 2px solid #111111 !important;
    background-color: #ffffff !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    color: #111111 !important;
    cursor: pointer !important;
    padding: 0 !important;
    margin: 0 !important;
    box-shadow: none !important;
    z-index: 9999 !important;
    outline: none !important;
    transition: all 0.2s cubic-bezier(0.2, 0, 0, 1) !important;
}

.xs-app-close-btn svg {
    width: 14px !important;
    height: 14px !important;
    display: block !important;
    stroke: #111111 !important;
    pointer-events: none !important;
    transition: transform 0.2s cubic-bezier(0.2, 0, 0, 1) !important;
}

/* Synchronized background inversion */
.xs-app-close-btn:hover {
    background-color: #111111 !important;
    border-color: #111111 !important;
    color: #ffffff !important;
}

.xs-app-close-btn:hover svg {
    transform: rotate(90deg) !important;
    stroke: #ffffff !important;
}

.xs-app-close-btn:active {
    transform: scale(0.92) !important;
}

/* Legacy element backward-compatibility fallbacks */
#xs-close-student-modal, #xs-close-staff-modal {
    background: none !important;
    border: none !important;
    font-size: 28px !important;
    color: #999 !important;
    cursor: pointer !important;
    line-height: 1;
}
#xs-close-student-modal:hover, #xs-close-staff-modal:hover {
    color: #bd2424 !important;
}

/* ==========================================================================
   💳 SEAMLESS LIGHT-MODE MAYA APP WALLET MODULE
   ========================================================================== */

.xs-wallet-balance-card {
    background: #ffffff !important;
    color: #111111 !important;
    padding: 28px 32px !important;
    border-radius: 24px !important;
    max-width: 480px;
    width: 100%;
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02), 0 10px 30px rgba(0, 0, 0, 0.02) !important;
    border: 1px solid #edf2f7 !important;
    margin-bottom: 35px !important;
    box-sizing: border-box !important;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

.xs-wallet-card-info-side {
    display: flex;
    flex-direction: column;
    justify-content: center;
    flex-grow: 1;
    padding-right: 15px;
}

.xs-wallet-card-label {
    font-size: 13px !important;
    font-weight: 600 !important;
    color: #8e949a !important;
    text-transform: none !important;
    letter-spacing: 0px !important;
    margin: 0 0 6px 0 !important;
    display: flex !important;
    align-items: center !important;
    gap: 6px !important;
}

.xs-wallet-card-label::after {
    content: '• Available Balance';
    color: #00a859 !important;
    font-weight: 700 !important;
    font-size: 12px !important;
}

.xs-wallet-card-amount {
    font-size: 36px !important;
    font-weight: 700 !important;
    color: #000000 !important;
    letter-spacing: -0.8px !important;
    margin: 0 !important;
    line-height: 1.1 !important;
    white-space: nowrap !important;
}

.xs-wallet-card-action-side {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex-shrink: 0;
}

.xs-wallet-topup-trigger-btn {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: #e5f7ed !important;
    color: #008744 !important;
    border: none !important;
    padding: 12px 24px !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    border-radius: 16px !important;
    cursor: pointer !important;
    white-space: nowrap !important; 
    flex-shrink: 0 !important;
    min-width: 110px !important;
    outline: none !important;
    box-shadow: none !important;
    transition: all 0.15s cubic-bezier(0.2, 0, 0, 1) !important;
}

.xs-wallet-topup-trigger-btn::before {
    content: '↙';
    font-size: 14px !important;
    font-weight: 800 !important;
    margin-right: 6px !important;
    transform: rotate(90deg) !important;
    display: inline-block !important;
}

.xs-wallet-topup-trigger-btn:hover {
    background: #dbf2e7 !important;
    color: #007038 !important;
    transform: translateY(-1px) !important;
}

.xs-wallet-topup-trigger-btn:active {
    transform: translateY(0) scale(0.96) !important;
}

/* ==========================================================================
   📊 FINANCIAL TRANSACTION RECORDS (LEDGER)
   ========================================================================== */

.xs-ledger-title {
    font-size: 18px;
    font-weight: 600;
    color: #1a202c;
    margin: 0 0 15px 0;
}

.xs-ledger-table-wrap {
    width: 100%;
    overflow-x: auto;
    border: 1px solid #edf2f7;
    border-radius: 8px;
}

.xs-ledger-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
    font-size: 14px;
}

.xs-ledger-table th {
    background: #f7fafc;
    padding: 12px 15px;
    font-weight: 600;
    color: #4a5568;
    border-bottom: 1px solid #edf2f7;
}

.xs-ledger-table td {
    padding: 12px 15px;
    border-bottom: 1px solid #edf2f7;
    color: #2d3748;
}

.xs-ledger-credit { color: #38a169 !important; }
.xs-ledger-debit { color: #e53e3e !important; }

.xs-ledger-badge {
    font-size: 11px;
    font-weight: 700;
    padding: 4px 8px;
    border-radius: 4px;
    background: #edf2f7;
    color: #4a5568;
}
.xs-ledger-badge.topup { background: #e6fffa; color: #234e52; }
.xs-ledger-badge.purchase { background: #ebf8ff; color: #2b6cb0; }
.xs-ledger-badge.refund { background: #f0fff4; color: #22543d; }
.xs-ledger-badge.admin_adjustment { background: #fefcbf; color: #744210; }

.xs-no-ledger-notice {
    color: #718096;
    font-style: italic;
}

/* Quick Top-Up Modal Elements Matrix */
.xs-topup-modal-hint {
    font-size: 13px;
    color: #718096;
    margin: -10px 0 20px 0;
}

.xs-topup-tiers-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin-bottom: 20px;
}

.xs-topup-tier-btn {
    background: #fff;
    border: 1px solid #e2e8f0;
    padding: 15px;
    font-size: 16px;
    font-weight: 700;
    color: #1a202c;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.15s ease-in-out;
}

.xs-topup-tier-btn:hover {
    background: #000;
    color: #fff;
    border-color: #000;
}

.xs-topup-tier-btn:disabled {
    background: #f7fafc;
    color: #cbd5e0;
    border-color: #edf2f7;
    cursor: not-allowed;
}

.xs-topup-processing-status {
    font-size: 13px;
    color: #2b6cb0;
    text-align: center;
    font-style: italic;
    margin-top: 10px;
}

/* ==========================================================================
   🛒 OVERHAULED TWO-COLUMN WORKSPACE: CART INTERFACING
   ========================================================================== */

.xs-cart-page-wrapper { max-width: 1240px; margin: 30px auto; padding: 0; font-family: -apple-system,BlinkMacSystemFont,Segoe UI,Roboto,sans-serif; color: #111; }
.xs-cart-title-main { font-size: 1.8rem; font-weight: 800; margin-bottom: 25px; display: flex; align-items: center; gap: 10px; text-transform: uppercase; letter-spacing: 0.5px; }

.xs-cart-flex-layout { display: flex; gap: 30px; align-items: flex-start; }
.xs-cart-main-table-side { flex: 1; }
.xs-cart-sidebar-totals-side { width: 360px; background: #ffffff; border: 1px solid #eee; border-radius: 8px; padding: 20px; position: sticky; top: 30px; }

.xs-cart-item-row-block { display: flex; gap: 20px; padding: 20px 0; border-bottom: 1px solid #eee; align-items: center; position: relative; }
.xs-cart-item-row-block:first-child { padding-top: 0; }
.xs-cart-item-thumb-img { width: 80px; height: 80px; object-fit: cover; border-radius: 6px; background: #fdfdfd; border: 1px solid #f0f0f0; }
.xs-cart-item-details-meta { flex: 1; }
.xs-cart-item-title-name { font-size: 1.05rem; font-weight: 700; margin: 0; color: #111; }
.xs-cart-item-price-tag { color: #bd2424; font-weight: 700; font-size: 0.95rem; }

.xs-cart-schedule-badge-box { 
    background-color: #ffffff;
    padding: 12px 16px;
    border-radius: 12px;
    font-size: 0.85rem; 
    color: #44474e;
    line-height: 1.6; 
    margin-top: 10px; 
    border: 1px solid #f4f4f4;
    max-width: 520px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.xs-cart-schedule-badge-box div { display: flex; align-items: center; gap: 8px; }
.xs-cart-schedule-badge-box strong { color: #1b1b1f; font-weight: 600; letter-spacing: 0.1px; }
.xs-cart-schedule-badge-box span { font-weight: 600; }

.xs-cart-remove-trigger { color: #bbb; text-decoration: none; font-size: 1.4rem; padding: 0 5px; transition: color 0.15s; }
.xs-cart-remove-trigger:hover { color: #cc0000; }

.xs-totals-heading { font-size: 1.1rem; font-weight: 800; margin-top: 0; margin-bottom: 15px; text-transform: uppercase; letter-spacing: 0.3px; border-bottom: 2px solid #222; padding-bottom: 6px; }
.xs-totals-row-line { display: flex; justify-content: space-between; padding: 10px 0; font-size: 0.95rem; color: #555; }
.xs-totals-row-line.xs-grand-total { font-weight: 800; font-size: 1.15rem; color: #111; border-top: 1px solid #ddd; margin-top: 5px; padding-top: 15px; }
.xs-checkout-action-btn-link { display: block; text-align: center; background: #BD2424; color: #fff; padding: 14px; border-radius: 6px; font-weight: 700; text-decoration: none; text-transform: uppercase; letter-spacing: 0.5px; transition: all 0.2s; margin-top: 15px; font-size: 0.9rem; }
.xs-checkout-action-btn-link:hover { background: #a31e1e; color: #fff; transform: translateY(-1px); }

.xs-empty-tray-canvas { text-align: center; padding: 60px 20px; border: 1px solid #eee; border-radius: 8px; background: #fff; margin-bottom: 30px; }
.xs-empty-tray-hero-icon { font-size: 4.5rem; display: block; margin-bottom: 15px; }
.xs-empty-tray-heading { font-size: 1.6rem; font-weight: 800; color: #111; margin-bottom: 6px; }
.xs-empty-tray-desc { font-size: 0.98rem; color: #666; margin-bottom: 25px; }
.xs-empty-tray-menu-btn { display: inline-block; background: #BD2424; color: #FFFFFF; padding: 12px 30px; border-radius: 6px; font-weight: 700; text-decoration: none; text-transform: uppercase; font-size: 0.85rem; letter-spacing: 0.5px; transition: all 0.2s; }
.xs-empty-tray-menu-btn:hover { background: #a31e1e; color: #fff; transform: translateY(-1px); }

/* --- Clean Flextrack Splits for Upsell Rows --- */
.xs-cart-upsell-divider { 
    display: flex; 
    align-items: center; 
    text-align: center; 
    margin: 50px 0 30px 0; 
}
.xs-cart-upsell-divider::before, .xs-cart-upsell-divider::after { content: ''; flex: 1; border-bottom: 1px solid #e2e2e2; }
.xs-cart-upsell-divider::before { margin-right: 15px; }
.xs-cart-upsell-divider::after { margin-left: 15px; }

.xs-cart-upsell-title { 
    font-size: 1.4rem; 
    font-weight: 800; 
    color: #111111; 
    text-transform: uppercase; 
    letter-spacing: 0.5px; 
    white-space: nowrap;
    margin: 0;
    padding: 0;
}

.xs-cart-upsell-grid { 
    display: grid; 
    grid-template-columns: repeat(5, 1fr); 
    gap: 20px; 
    margin-bottom: 50px;
}
.xs-cart-upsell-card { background: #fff; border: 1px solid #f0f0f0; border-radius: 12px; overflow: hidden; display: flex; flex-direction: column; text-align: left; box-shadow: 0 2px 4px rgba(0,0,0,0.02); transition: all 0.2s; height: 100%; }
.xs-cart-upsell-card:hover { transform: translateY(-2px); box-shadow: 0 6px 15px rgba(0,0,0,0.05); border-color: #e0e0e0; }
.xs-upsell-img-wrap { width: 100%; aspect-ratio: 4/3; overflow: hidden; background: #fafafa; }
.xs-upsell-img { width: 100%; height: 100%; object-fit: cover; }
.xs-upsell-body { padding: 14px; flex-grow: 1; display: flex; flex-direction: column; justify-content: space-between; }
.xs-upsell-name { font-size: 1.05rem; font-weight: 700; color: #111; margin: 0 0 4px 0; line-height: 1.3; }
.xs-upsell-price { color: #bd2424; font-weight: 800; font-size: 1.25rem; display: block; margin-bottom: 12px; }
.xs-upsell-btn { width: 100%; background: #222; color: #fff; border: none; padding: 10px; border-radius: 6px; font-weight: 700; font-size: 0.8rem; text-transform: uppercase; text-align: center; cursor: pointer; transition: background 0.15s; }
.xs-upsell-btn:hover { background: #bd2424; }

/* ==========================================================================
   🏪 CAMPUS MENU GRID SYSTEM Shortcode Matrix Renders (/store)
   ========================================================================== */

.xs-store-wrapper { font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif; margin-top: 20px; max-width: 1240px; margin-left: auto; margin-right: auto; padding: 0; }
.xs-store-header { margin-bottom: 30px; }
.xs-store-header h2 { font-size: 28px; font-weight: 700; color: #1a202c; margin: 0 0 5px 0; }
.xs-store-header p { color: #718096; margin: 0; font-size: 15px; }

.xs-store-grid { 
    display: grid; 
    grid-template-columns: repeat(5, 1fr); 
    gap: 20px; 
    margin-bottom: 50px;
}
.xs-store-card { background: #fff; border: 1px solid #edf2f7; border-radius: 12px; overflow: hidden; display: flex; flex-direction: column; box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.02), 0 2px 4px -1px rgba(0, 0, 0, 0.01); transition: transform 0.2s ease, box-shadow 0.2s ease; height: 100%; }
.xs-store-card:hover { transform: translateY(-2px); box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.05); border-color: #e2e8f0; }

.xs-store-card-image-wrap { width: 100%; height: 200px; overflow: hidden; background-color: #f7fafc; position: relative; }
.xs-store-img-render { width: 100% !important; height: 100% !important; object-fit: cover !important; display: block !important; margin: 0 !important; padding: 0 !important; }

.xs-store-card-body { padding: 20px; display: flex; flex-direction: column; flex-grow: 1; }
.xs-store-card-meta { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; margin-bottom: 10px; }
.xs-product-title { font-size: 18px; font-weight: 600; color: #111111; margin: 0; line-height: 1.3; }
.xs-product-price { font-size: 20px; font-weight: 700; color: #BD2424; white-space: nowrap; }
.xs-product-price del { font-weight: 400; color: #a0aec0; font-size: 14px; margin-right: 5px; }
.xs-product-price ins { text-decoration: none; }

.xs-product-desc { font-size: 13px; color: #4a5568; margin: 0 0 20px 0; line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.xs-store-card-footer { margin-top: auto; }

.xs-store-action-btn { width: 100%; background: #BD2424; color: #fff; border: none; padding: 12px; font-size: 14px; font-weight: 600; border-radius: 12px; cursor: pointer; text-align: center; transition: background 0.15s ease; text-transform: none !important; letter-spacing: 0px !important; }
.xs-store-action-btn:hover { background: #A31E1E; }
.xs-store-notice { background: #f7fafc; border: 1px solid #e2e8f0; padding: 20px; border-radius: 8px; text-align: center; color: #4a5568; }

#xs-continue-staff-shopping {
    background: #ffffff !important;
    color: #111111 !important;
    border: 2px solid #111111 !important;
    box-shadow: none !important;
    z-index: 999999 !important;
    outline: none !important;
}
#xs-continue-staff-shopping:hover { background: #111111 !important; color: #ffffff !important; }
#xs-continue-staff-shopping:active { transform: scale(0.96) !important; }

/* ==========================================================================
   📱 MED & MOBILE DISPLAY RESPONSIVE RECALCULATIONS
   ========================================================================== */

@media (max-width: 1024px) {
    .xs-store-wrapper { padding: 0 20px; }
    .xs-store-grid, .xs-cart-upsell-grid { grid-template-columns: repeat(3, 1fr); gap: 16px; } 
    .xs-store-card-image-wrap { height: 160px; }
}

@media (max-width: 768px) {
    .xs-modern-account-navigation { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
    .xs-account-logout-btn { margin-left: 0; grid-column: span 2; text-align: center; }
    
    .xs-cart-page-wrapper, .xs-store-wrapper { padding: 0 15px; }
    .xs-cart-flex-layout { flex-direction: column; gap: 30px; }
    .xs-cart-sidebar-totals-side { width: 100%; box-sizing: border-box; }
    
    .xs-cart-upsell-divider { margin: 40px 0 20px 0; }
    .xs-cart-upsell-title { font-size: 1.1rem; letter-spacing: 0.3px; }
    
    .xs-store-grid, .xs-cart-upsell-grid { grid-template-columns: repeat(2, 1fr) !important; gap: 12px; } 
    .xs-store-card-image-wrap { height: 130px; }
    .xs-store-card-body { padding: 12px; }
    
    .xs-product-title, .xs-upsell-name { font-size: 0.88rem; }
    .xs-product-price, .xs-upsell-price { font-size: 0.88rem; }
    .xs-product-desc { display: none; }
    .xs-store-action-btn { padding: 10px 5px; font-size: 12px; }
}

@media (max-width: 480px) {
    .xs-wallet-balance-card { flex-direction: column !important; align-items: flex-start !important; gap: 20px !important; padding: 24px !important; }
    .xs-wallet-card-action-side { width: 100% !important; justify-content: flex-start !important; }
    .xs-wallet-topup-trigger-btn { width: 100% !important; }
}

@media (max-width: 360px) {
    .xs-store-grid, .xs-cart-upsell-grid { grid-template-columns: 1fr !important; }
}


