/* =====================================================
   Walletly — Main Stylesheet
   Premium, Apple/WooCommerce-inspired design
   Mobile-first, responsive
   ===================================================== */

/* ---------- Design Tokens ---------- */
:root {
    --color-primary: #4338CA;
    --color-primary-dark: #3730A3;
    --color-primary-light: #6366F1;
    --color-accent: #7C3AED;
    --color-success: #16A34A;
    --color-danger: #DC2626;
    --color-warning: #D97706;

    --color-text: #1F2330;
    --color-text-muted: #6B7280;
    --color-border: #E5E7EB;
    --color-surface: #FFFFFF;
    --color-surface-alt: #F8F8FC;
    --color-bg: #FBFBFE;

    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 20px;
    --radius-xl: 28px;

    --shadow-sm: 0 1px 3px rgba(31, 35, 48, 0.06);
    --shadow-md: 0 8px 24px rgba(31, 35, 48, 0.08);
    --shadow-lg: 0 16px 40px rgba(31, 35, 48, 0.12);

    --font-base: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

/* ---------- Base ---------- */
* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    font-family: var(--font-base);
    color: var(--color-text);
    background-color: var(--color-bg);
    font-size: 16px;
    line-height: 1.6;
}

a { text-decoration: none; color: var(--color-primary); transition: color .2s ease; }
a:hover { color: var(--color-primary-dark); }

h1, h2, h3, h4, h5, h6 { font-weight: 700; letter-spacing: -0.02em; color: var(--color-text); }

.section-subheading {
    font-size: 1.75rem;
    font-weight: 800;
    margin-bottom: 1rem;
}

.btn { border-radius: var(--radius-md); font-weight: 600; padding: 0.6rem 1.4rem; transition: all .2s ease; }
.btn-primary { background-color: var(--color-primary); border-color: var(--color-primary); }
.btn-primary:hover { background-color: var(--color-primary-dark); border-color: var(--color-primary-dark); transform: translateY(-1px); }
.btn-outline-primary { color: var(--color-primary); border-color: var(--color-primary); }
.btn-outline-primary:hover { background-color: var(--color-primary); border-color: var(--color-primary); transform: translateY(-1px); }
.btn-lg { padding: 0.85rem 2rem; font-size: 1.02rem; }
.btn-sm { padding: 0.4rem 0.9rem; font-size: 0.85rem; }

.form-control, .form-select {
    border-radius: var(--radius-sm);
    border: 1.5px solid var(--color-border);
    padding: 0.65rem 0.9rem;
    font-size: 0.95rem;
}
.form-control:focus, .form-select:focus {
    border-color: var(--color-primary-light);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.15);
}
.form-label { font-weight: 600; font-size: 0.9rem; margin-bottom: 0.4rem; }
.form-label-sm { font-size: 0.78rem; color: var(--color-text-muted); margin-bottom: 0.3rem; }

.container { max-width: 1240px; }

/* =====================================================
   HEADER
   ===================================================== */
.site-header {
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--color-border);
    z-index: 1040;
}

.navbar-brand {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--color-text) !important;
    display: flex;
    align-items: center;
    gap: 2px;
}

.brand-mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    background: linear-gradient(135deg, var(--color-primary), var(--color-accent));
    color: #fff;
    border-radius: 10px;
    font-weight: 800;
    margin-right: 6px;
}

.main-nav-links .nav-link {
    color: var(--color-text);
    font-weight: 600;
    font-size: 0.95rem;
    padding: 0.5rem 1rem;
    border-radius: var(--radius-sm);
    transition: all .2s ease;
}
.main-nav-links .nav-link:hover { background: var(--color-surface-alt); color: var(--color-primary); }

.cart-icon-link {
    position: relative;
    font-size: 1.4rem;
    color: var(--color-text);
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--color-surface-alt);
}
.cart-icon-link:hover { background: var(--color-primary); color: #fff; }

.cart-count-badge {
    position: absolute;
    top: -4px;
    right: -4px;
    background: var(--color-accent);
    color: #fff;
    font-size: 0.68rem;
    font-weight: 700;
    min-width: 19px;
    height: 19px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #fff;
}

.navbar-toggler { border: none; font-size: 1.6rem; }
.navbar-toggler:focus { box-shadow: none; }

/* =====================================================
   HERO BANNER
   ===================================================== */
.hero-banner {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-accent) 100%);
    color: #fff;
    padding: 70px 0 90px;
    position: relative;
    overflow: hidden;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(255, 255, 255, 0.15);
    padding: 6px 16px;
    border-radius: 30px;
    font-size: 0.82rem;
    font-weight: 600;
    margin-bottom: 1.2rem;
}

.hero-title {
    font-size: clamp(2.1rem, 5vw, 3.4rem);
    font-weight: 800;
    color: #fff;
    line-height: 1.15;
    margin-bottom: 1.2rem;
}
.hero-title span { color: #FDE68A; }

.hero-subtitle {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.88);
    max-width: 520px;
    margin-bottom: 1.6rem;
}

.hero-trust-row {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 2rem;
}
.hero-trust-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.88rem;
    font-weight: 600;
    background: rgba(255, 255, 255, 0.12);
    padding: 8px 14px;
    border-radius: var(--radius-md);
}

.hero-cta {
    color: var(--color-primary);
    font-weight: 700;
    box-shadow: var(--shadow-md);
}

.hero-image { max-width: 100%; filter: drop-shadow(0 20px 40px rgba(0,0,0,0.25)); }

/* =====================================================
   CATEGORY PILLS
   ===================================================== */
.section-categories { padding: 60px 0 20px; }

.section-heading { margin-bottom: 2.2rem; }
.section-heading h2 { font-size: 2rem; font-weight: 800; }
.section-heading p { color: var(--color-text-muted); }

.category-scroll {
    display: flex;
    gap: 14px;
    overflow-x: auto;
    padding-bottom: 12px;
    scrollbar-width: thin;
}
.category-scroll::-webkit-scrollbar { height: 5px; }
.category-scroll::-webkit-scrollbar-thumb { background: var(--color-border); border-radius: 10px; }

.category-pill {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    gap: 10px;
    background: var(--color-surface);
    border: 1.5px solid var(--color-border);
    border-radius: 50px;
    padding: 8px 20px 8px 8px;
    font-weight: 600;
    color: var(--color-text);
    white-space: nowrap;
    transition: all .25s ease;
    box-shadow: var(--shadow-sm);
}
.category-pill:hover {
    border-color: var(--color-primary);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    color: var(--color-primary);
}
.category-pill-icon {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-surface-alt);
}
.category-pill-icon img { width: 100%; height: 100%; object-fit: cover; }

/* =====================================================
   PRODUCT CARDS
   ===================================================== */
.section-products { padding: 50px 0 70px; }

.product-card {
    background: var(--color-surface);
    border-radius: var(--radius-lg);
    border: 1px solid var(--color-border);
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: all .25s ease;
    box-shadow: var(--shadow-sm);
}
.product-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
    border-color: transparent;
}

.product-card-image {
    display: block;
    position: relative;
    aspect-ratio: 16/10;
    overflow: hidden;
    background: var(--color-surface-alt);
}
.product-card-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.product-card:hover .product-card-image img { transform: scale(1.06); }

.badge-stock {
    position: absolute;
    top: 12px;
    left: 12px;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 20px;
}
.badge-instock { background: rgba(22, 163, 74, 0.92); color: #fff; }
.badge-outofstock { background: rgba(220, 38, 38, 0.92); color: #fff; }

.product-card-body { padding: 18px; display: flex; flex-direction: column; flex-grow: 1; }

.product-card-badges { display: flex; gap: 6px; margin-bottom: 8px; flex-wrap: wrap; }
.badge-mini {
    font-size: 0.66rem;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 20px;
    display: inline-flex;
    align-items: center;
    gap: 3px;
}
.badge-digital { background: #EEF2FF; color: var(--color-primary); }
.badge-trusted { background: #ECFDF5; color: var(--color-success); }

.product-card-title { font-size: 1.05rem; margin-bottom: 6px; }
.product-card-title a { color: var(--color-text); }
.product-card-title a:hover { color: var(--color-primary); }

.product-card-desc {
    font-size: 0.84rem;
    color: var(--color-text-muted);
    margin-bottom: 14px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    flex-grow: 1;
}

.quick-add-form { margin-top: auto; }
.amount-select { margin-bottom: 12px; }

.product-card-actions { display: flex; gap: 8px; align-items: center; }

.qty-stepper {
    display: flex;
    align-items: center;
    border: 1.5px solid var(--color-border);
    border-radius: var(--radius-sm);
    overflow: hidden;
}
.qty-stepper-sm { height: 31px; }
.qty-btn {
    background: var(--color-surface-alt);
    border: none;
    width: 30px;
    height: 100%;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--color-text);
    cursor: pointer;
    line-height: 1;
}
.qty-btn:hover { background: var(--color-border); }
.qty-input {
    width: 38px;
    border: none;
    text-align: center;
    font-weight: 700;
    font-size: 0.9rem;
    -moz-appearance: textfield;
}
.qty-input::-webkit-outer-spin-button, .qty-input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

/* =====================================================
   TRUST STRIP
   ===================================================== */
.section-trust-strip {
    background: var(--color-surface);
    padding: 40px 0;
    border-top: 1px solid var(--color-border);
    border-bottom: 1px solid var(--color-border);
}
.section-trust-strip i { font-size: 1.8rem; color: var(--color-primary); margin-bottom: 8px; display: block; }
.section-trust-strip h6 { font-size: 0.88rem; font-weight: 700; margin: 0; }

/* =====================================================
   BREADCRUMB
   ===================================================== */
.breadcrumb-bar { background: var(--color-surface-alt); padding: 14px 0; border-bottom: 1px solid var(--color-border); }
.breadcrumb { font-size: 0.85rem; }
.breadcrumb-item a { color: var(--color-text-muted); }
.breadcrumb-item.active { color: var(--color-text); font-weight: 600; }

/* =====================================================
   PAGE INTRO (About / Contact / Support / FAQ / Legal)
   ===================================================== */
.section-page-intro {
    background: linear-gradient(135deg, var(--color-primary), var(--color-accent));
    color: #fff;
    padding: 60px 0;
    text-align: center;
}
.section-page-intro h1 { color: #fff; font-size: 2.3rem; margin-bottom: 8px; }
.section-page-intro p { color: rgba(255,255,255,0.85); font-size: 1.05rem; margin: 0; }

.support-search-box {
    max-width: 480px;
    margin: 24px auto 0;
    background: #fff;
    border-radius: 50px;
    display: flex;
    align-items: center;
    padding: 6px 18px;
    box-shadow: var(--shadow-md);
}
.support-search-box i { color: var(--color-text-muted); margin-right: 10px; }
.support-search-box input { border: none; outline: none; flex: 1; padding: 8px 0; font-size: 0.95rem; }

/* =====================================================
   SHOP PAGE
   ===================================================== */
.section-shop { padding: 50px 0 80px; }
.shop-header { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 1.5rem; flex-wrap: wrap; gap: 8px; }
.shop-header h1 { font-size: 1.9rem; margin: 0; }
.shop-header p { color: var(--color-text-muted); margin: 0; }

.shop-filter-bar {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: 16px;
    margin-bottom: 2rem;
    box-shadow: var(--shadow-sm);
}

.shop-pagination { margin-top: 3rem; }
.page-link { color: var(--color-text); border-radius: var(--radius-sm); margin: 0 3px; border: 1.5px solid var(--color-border); }
.page-item.active .page-link { background: var(--color-primary); border-color: var(--color-primary); }

.empty-state {
    text-align: center;
    padding: 80px 20px;
    color: var(--color-text-muted);
}
.empty-state i { font-size: 3.5rem; color: var(--color-border); margin-bottom: 1rem; display: block; }
.empty-state h4 { color: var(--color-text); margin-bottom: 0.5rem; }

/* =====================================================
   PRODUCT DETAIL PAGE
   ===================================================== */
.section-product-detail { padding: 50px 0 70px; }

.product-detail-image {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-xl);
    padding: 30px;
    box-shadow: var(--shadow-sm);
}
.product-detail-image img { width: 100%; border-radius: var(--radius-lg); }

.product-trust-badges { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.product-trust-badges span {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--color-text-muted);
    display: flex;
    align-items: center;
    gap: 5px;
    background: var(--color-surface-alt);
    padding: 6px 12px;
    border-radius: 20px;
}
.product-trust-badges i { color: var(--color-success); }

.product-detail-brand { font-weight: 700; color: var(--color-primary); font-size: 0.9rem; text-transform: uppercase; letter-spacing: .03em; }
.product-detail-title { font-size: 2rem; margin: 6px 0 12px; }
.product-detail-desc { color: var(--color-text-muted); margin-bottom: 1.6rem; }

.amount-select-group { margin-bottom: 1.6rem; }
.amount-radio-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 8px; }
.amount-radio-btn { width: 100%; border-radius: var(--radius-md); font-weight: 700; padding: 12px 8px; }

.quantity-select-group { margin-bottom: 1.8rem; }
.quantity-select-group .qty-stepper { width: fit-content; height: 46px; margin-top: 8px; }
.quantity-select-group .qty-btn { width: 42px; font-size: 1.3rem; }
.quantity-select-group .qty-input { width: 56px; font-size: 1.05rem; }

.product-detail-actions { display: flex; gap: 14px; margin-bottom: 1.6rem; flex-wrap: wrap; }
.product-detail-actions .btn { flex: 1; min-width: 160px; }

.product-delivery-note {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    background: var(--color-surface-alt);
    border-radius: var(--radius-md);
    padding: 14px 16px;
    font-size: 0.88rem;
    color: var(--color-text-muted);
}
.product-delivery-note i { color: var(--color-primary); font-size: 1.1rem; margin-top: 1px; }

.product-tabs-section { margin-top: 3.5rem; }
.nav-tabs { border-bottom: 2px solid var(--color-border); }
.nav-tabs .nav-link {
    border: none;
    color: var(--color-text-muted);
    font-weight: 600;
    padding: 12px 20px;
    border-radius: 0;
}
.nav-tabs .nav-link.active {
    color: var(--color-primary);
    border-bottom: 3px solid var(--color-primary);
    background: transparent;
}
.tab-content { padding: 28px 0; }

.feature-list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.feature-list li { display: flex; align-items: flex-start; gap: 8px; font-size: 0.95rem; }
.feature-list i { color: var(--color-success); margin-top: 3px; }

.howitworks-list { padding-left: 1.2rem; }
.howitworks-list li { margin-bottom: 10px; font-size: 0.95rem; }

.accordion-button { font-weight: 600; }
.accordion-button:focus { box-shadow: none; }
.accordion-button:not(.collapsed) { color: var(--color-primary); background: var(--color-surface-alt); }

.related-products-section { margin-top: 4rem; }

/* =====================================================
   CART PAGE
   ===================================================== */
.section-cart { padding: 50px 0 80px; }
.cart-page-title { font-size: 1.9rem; margin-bottom: 1.8rem; }

.cart-table-wrapper { overflow-x: auto; background: var(--color-surface); border-radius: var(--radius-lg); border: 1px solid var(--color-border); }
.cart-table { width: 100%; border-collapse: collapse; min-width: 640px; }
.cart-table th {
    text-align: left;
    font-size: 0.78rem;
    text-transform: uppercase;
    color: var(--color-text-muted);
    padding: 16px;
    border-bottom: 1px solid var(--color-border);
}
.cart-table td { padding: 16px; border-bottom: 1px solid var(--color-border); vertical-align: middle; }
.cart-table tr:last-child td { border-bottom: none; }
.cart-item-image img { width: 56px; height: 56px; border-radius: var(--radius-sm); object-fit: cover; background: var(--color-surface-alt); }
.cart-item-subtotal { font-weight: 700; }
.btn-remove-item {
    background: none;
    border: none;
    color: var(--color-danger);
    font-size: 1.1rem;
    cursor: pointer;
    padding: 6px;
}
.btn-remove-item:hover { color: #991b1b; }

.cart-actions-row { display: flex; justify-content: space-between; margin-top: 1.2rem; flex-wrap: wrap; gap: 10px; }

.cart-coupon-box, .order-summary-box {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: 22px;
    height: 100%;
}
.cart-coupon-box h6 { margin-bottom: 12px; font-weight: 700; }

.order-summary-box h5 { font-weight: 800; margin-bottom: 16px; }
.summary-row { display: flex; justify-content: space-between; padding: 8px 0; font-size: 0.95rem; color: var(--color-text-muted); }
.summary-total { font-size: 1.15rem; font-weight: 800; color: var(--color-text); border-top: 1.5px solid var(--color-border); margin-top: 6px; padding-top: 14px; }

/* =====================================================
   CHECKOUT PAGE
   ===================================================== */
.section-checkout { padding: 50px 0 80px; }
.checkout-page-title { font-size: 1.9rem; margin-bottom: 1.8rem; }

.checkout-card {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: 26px;
    margin-bottom: 24px;
}
.checkout-card-title { font-weight: 800; margin-bottom: 1.4rem; display: flex; align-items: center; gap: 8px; }
.checkout-card-title i { color: var(--color-primary); }

.payment-method-options { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.payment-method-option { cursor: pointer; }
.payment-method-option input { display: none; }
.payment-method-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    border: 2px solid var(--color-border);
    border-radius: var(--radius-md);
    padding: 18px 10px;
    font-weight: 600;
    font-size: 0.85rem;
    text-align: center;
    transition: all .2s ease;
}
.payment-method-card i { font-size: 1.6rem; color: var(--color-text-muted); }
.payment-method-option input:checked + .payment-method-card {
    border-color: var(--color-primary);
    background: #EEF2FF;
}
.payment-method-option input:checked + .payment-method-card i { color: var(--color-primary); }

.payment-demo-note {
    font-size: 0.82rem;
    color: var(--color-text-muted);
    background: #FFFBEB;
    border: 1px solid #FDE68A;
    border-radius: var(--radius-sm);
    padding: 10px 14px;
    margin-top: 16px;
    margin-bottom: 0;
}

.order-summary-sticky { position: sticky; top: 100px; }
.checkout-items-list { max-height: 280px; overflow-y: auto; margin-bottom: 14px; }
.checkout-item-row { display: flex; align-items: center; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--color-border); }
.checkout-item-row:last-child { border-bottom: none; }
.checkout-item-row img { width: 44px; height: 44px; border-radius: var(--radius-sm); object-fit: cover; background: var(--color-surface-alt); }
.checkout-item-info { flex: 1; display: flex; flex-direction: column; }
.checkout-item-info strong { font-size: 0.88rem; }
.checkout-item-info span { font-size: 0.78rem; color: var(--color-text-muted); }
.checkout-item-price { font-weight: 700; font-size: 0.9rem; }

/* =====================================================
   PAYMENT PAGE
   ===================================================== */
.section-payment { padding: 70px 0; display: flex; justify-content: center; }
.payment-box {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-xl);
    padding: 36px;
    max-width: 460px;
    margin: 0 auto;
    box-shadow: var(--shadow-lg);
}
.payment-box-header { text-align: center; margin-bottom: 20px; }
.payment-merchant-label { font-size: 0.78rem; color: var(--color-text-muted); text-transform: uppercase; letter-spacing: .05em; }
.payment-box-header h3 { font-weight: 800; margin-top: 4px; }

.payment-box-amount { text-align: center; padding: 20px 0; border-top: 1px dashed var(--color-border); border-bottom: 1px dashed var(--color-border); margin-bottom: 20px; }
.payment-box-amount span { font-size: 0.85rem; color: var(--color-text-muted); }
.payment-box-amount h2 { font-size: 2.4rem; font-weight: 800; color: var(--color-primary); margin: 6px 0 0; }

.payment-box-meta { margin-bottom: 20px; }
.payment-meta-row { display: flex; justify-content: space-between; padding: 6px 0; font-size: 0.9rem; }
.payment-meta-row span { color: var(--color-text-muted); }

.payment-method-icons { display: flex; justify-content: space-between; margin-bottom: 24px; }
.payment-method-icons span { font-size: 0.72rem; color: var(--color-border); display: flex; flex-direction: column; align-items: center; gap: 4px; font-weight: 600; }
.payment-method-icons span.active { color: var(--color-primary); }
.payment-method-icons i { font-size: 1.4rem; }

.spinner-ring {
    width: 50px;
    height: 50px;
    border: 4px solid var(--color-border);
    border-top-color: var(--color-primary);
    border-radius: 50%;
    margin: 0 auto;
    animation: spin 0.8s linear infinite;
}
.spinner-ring-payment { width: 64px; height: 64px; margin-bottom: 18px; }
@keyframes spin { to { transform: rotate(360deg); } }
.processing-text { font-weight: 600; color: var(--color-text-muted); }

/* Global page loader (initial nav) */
.page-loader {
    position: fixed;
    inset: 0;
    background: rgba(255,255,255,0.85);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 2000;
}
.page-loader.active { display: flex; }

/* =====================================================
   ORDER SUCCESS / FAILED PAGES
   ===================================================== */
.section-order-result { padding: 70px 0; }
.order-result-box {
    max-width: 680px;
    margin: 0 auto;
    background: var(--color-surface);
    border-radius: var(--radius-xl);
    border: 1px solid var(--color-border);
    padding: 44px;
    text-align: center;
    box-shadow: var(--shadow-lg);
}
.order-result-icon { font-size: 4.5rem; color: var(--color-success); margin-bottom: 1rem; }
.order-result-icon-failed { color: var(--color-danger); }
.order-result-box h1 { font-size: 1.9rem; margin-bottom: 10px; }
.order-result-sub { color: var(--color-text-muted); margin-bottom: 1.8rem; }

.order-result-meta {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
    background: var(--color-surface-alt);
    border-radius: var(--radius-md);
    padding: 20px;
    margin-bottom: 1.8rem;
    text-align: left;
}
.order-result-meta div span { display: block; font-size: 0.76rem; color: var(--color-text-muted); }
.order-result-meta div strong { font-size: 0.98rem; }

.order-result-details { text-align: left; margin-bottom: 1.8rem; }
.order-result-details h6 { font-weight: 800; margin-bottom: 8px; }
.order-result-items { margin-bottom: 14px; }
.order-result-item-row { display: flex; justify-content: space-between; padding: 8px 0; border-bottom: 1px solid var(--color-border); font-size: 0.92rem; }
.order-result-totals div { display: flex; justify-content: space-between; padding: 6px 0; font-size: 0.92rem; }
.order-result-totals div.fw-bold { border-top: 1.5px solid var(--color-border); margin-top: 6px; padding-top: 12px; font-size: 1.05rem; }

.order-result-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-bottom: 1rem; }
.order-result-help { font-size: 0.88rem; color: var(--color-text-muted); }

/* =====================================================
   ABOUT PAGE
   ===================================================== */
.section-about-content { padding: 60px 0 80px; }
.about-info-card {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: 28px;
    height: 100%;
}
.about-info-card i { font-size: 1.8rem; color: var(--color-primary); margin-bottom: 10px; display: block; }
.about-info-card h4 { margin-bottom: 8px; }
.about-info-card p { color: var(--color-text-muted); margin: 0; }

.why-choose-card {
    text-align: center;
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: 28px 20px;
    height: 100%;
    transition: all .2s ease;
}
.why-choose-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.why-choose-card i { font-size: 2rem; color: var(--color-primary); margin-bottom: 12px; display: block; }
.why-choose-card h5 { margin-bottom: 8px; }
.why-choose-card p { color: var(--color-text-muted); font-size: 0.9rem; margin: 0; }

/* =====================================================
   CONTACT PAGE
   ===================================================== */
.section-contact { padding: 60px 0 80px; }
.contact-info-card {
    text-align: center;
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: 26px;
}
.contact-info-card i { font-size: 1.8rem; color: var(--color-primary); margin-bottom: 10px; display: block; }
.contact-info-card h6 { font-weight: 700; margin-bottom: 4px; }
.contact-info-card p { color: var(--color-text-muted); margin: 0; }

.map-placeholder {
    background: var(--color-surface-alt);
    border: 2px dashed var(--color-border);
    border-radius: var(--radius-lg);
    height: 320px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--color-text-muted);
}
.map-placeholder i { font-size: 2.5rem; margin-bottom: 10px; }

/* =====================================================
   SUPPORT PAGE
   ===================================================== */
.section-support { padding: 60px 0 80px; }
.support-category-card {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: 26px;
    height: 100%;
}
.support-category-card i { font-size: 1.8rem; color: var(--color-primary); margin-bottom: 12px; display: block; }
.support-category-card h5 { margin-bottom: 8px; }
.support-category-card p { color: var(--color-text-muted); font-size: 0.9rem; margin-bottom: 12px; }
.support-category-card ul { padding-left: 1.1rem; margin: 0; font-size: 0.86rem; color: var(--color-text-muted); }
.support-category-card ul li { margin-bottom: 6px; }

.support-contact-cta {
    background: var(--color-surface-alt);
    border-radius: var(--radius-lg);
    padding: 40px;
}
.support-contact-cta h4 { margin-bottom: 6px; }
.support-contact-cta p { color: var(--color-text-muted); margin-bottom: 1.2rem; }

/* =====================================================
   FAQ PAGE
   ===================================================== */
.section-faq { padding: 60px 0 80px; }
.faq-category-title { font-size: 1.3rem; font-weight: 800; margin-bottom: 1rem; color: var(--color-primary); }

/* =====================================================
   LEGAL PAGES
   ===================================================== */
.section-legal { padding: 60px 0 80px; }
.legal-content { max-width: 760px; margin: 0 auto; }
.legal-content h3 { font-size: 1.25rem; margin-top: 2rem; margin-bottom: 0.8rem; }
.legal-content p, .legal-content li { color: var(--color-text-muted); font-size: 0.97rem; }
.legal-content ul { padding-left: 1.3rem; }

/* =====================================================
   404 PAGE
   ===================================================== */
.section-404 { padding: 100px 0; display: flex; justify-content: center; }
.error-404-box { text-align: center; max-width: 520px; }
.error-404-number {
    font-size: 7rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--color-primary), var(--color-accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
}
.error-404-box h1 { margin-bottom: 10px; }
.error-404-box p { color: var(--color-text-muted); margin-bottom: 1.8rem; }
.error-404-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* =====================================================
   FOOTER
   ===================================================== */
.site-footer { background: #14142B; color: rgba(255,255,255,0.75); padding: 64px 0 24px; margin-top: 40px; }
.footer-top { margin-bottom: 30px; }
.footer-brand { font-size: 1.4rem; font-weight: 800; color: #fff !important; display: inline-flex; align-items: center; margin-bottom: 14px; }
.footer-about { font-size: 0.88rem; line-height: 1.7; color: rgba(255,255,255,0.6); }
.footer-social { display: flex; gap: 10px; margin-top: 16px; }
.footer-social a {
    width: 36px; height: 36px;
    display: flex; align-items: center; justify-content: center;
    background: rgba(255,255,255,0.08);
    border-radius: 50%;
    color: #fff;
    font-size: 0.95rem;
}
.footer-social a:hover { background: var(--color-primary); }

.footer-heading { color: #fff; font-weight: 700; font-size: 0.95rem; margin-bottom: 16px; text-transform: uppercase; letter-spacing: .04em; }
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: 10px; }
.footer-links a { color: rgba(255,255,255,0.65); font-size: 0.9rem; }
.footer-links a:hover { color: #fff; }

.newsletter-form .form-control { border-radius: var(--radius-sm) 0 0 var(--radius-sm); border: none; }
.newsletter-form .btn { border-radius: 0 var(--radius-sm) var(--radius-sm) 0; }
.footer-contact p { font-size: 0.85rem; color: rgba(255,255,255,0.6); margin-bottom: 6px; display: flex; align-items: center; gap: 8px; }

.footer-divider { border-color: rgba(255,255,255,0.1); margin: 30px 0 20px; }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; font-size: 0.82rem; color: rgba(255,255,255,0.5); }

/* =====================================================
   TOASTS
   ===================================================== */
.toast { border-radius: var(--radius-md); border: none; box-shadow: var(--shadow-lg); }
.toast.text-bg-success { background-color: var(--color-success) !important; }
.toast.text-bg-danger { background-color: var(--color-danger) !important; }

/* =====================================================
   RESPONSIVE ADJUSTMENTS
   ===================================================== */
@media (max-width: 991px) {
    .main-nav-links { margin: 16px 0; gap: 4px; }
    .header-actions { justify-content: flex-end; margin-bottom: 10px; }
    .order-summary-sticky { position: static; }
    .feature-list { grid-template-columns: 1fr; }
}

@media (max-width: 767px) {
    .hero-banner { padding: 50px 0 60px; text-align: center; }
    .hero-trust-row, .product-detail-actions { justify-content: center; }
    .amount-radio-grid { grid-template-columns: repeat(2, 1fr); }
    .payment-method-options { grid-template-columns: 1fr; }
    .order-result-meta { grid-template-columns: 1fr; }
    .footer-bottom { flex-direction: column; text-align: center; }
    .cart-actions-row { justify-content: center; text-align: center; }
}

@media (max-width: 575px) {
    .section-page-intro h1 { font-size: 1.8rem; }
    .product-detail-title { font-size: 1.6rem; }
    .payment-box { padding: 24px; }
}