/* =====================================================================
   chortopup.net — estopup.com-style theme (2026-10-19)
   Loaded LAST in layouts/app.blade.php (after ct-premium.css).
   Selectors use `html:root body` so they outrank ct-premium (`html body`).
   Payment pages (payment/manual, payment/status) don't use this layout.
   ===================================================================== */

:root {
    --theme-color: #763aec;
    --es-p: #763aec;
    --es-p-600: #6429d6;
    --es-p-soft: color-mix(in srgb, #763aec 10%, #fff);
    --es-p-ring: color-mix(in srgb, #763aec 14%, transparent);
    --es-o: #f56b01;
    --es-navy: #101c49;
    --es-bg: #f8fafc;
    --es-line: #e2e8f0;
    --es-line-2: #d8dee8;
    --es-ink: #0f172a;
    --es-ink-2: #334155;
    --es-mute: #64748b;
    --es-title: "Bree Serif", "Hind Siliguri", serif;
    --es-font: "Inter", "Hind Siliguri", system-ui, -apple-system, "Segoe UI", sans-serif;
    /* ct-premium tokens pointed at the new palette */
    --ct-primary: #763aec;
    --ct-violet: #763aec;
    --ct-grad: linear-gradient(135deg, #763aec, #6429d6);
    --ct-bg: #f8fafc;
}

html:root, html:root body { overflow-x: clip; }
html:root body {
    font-family: var(--es-font) !important;
    background: var(--es-bg) !important;
    color: var(--es-ink-2);
}
html:root body .body-bg,
html:root body .main-page-wrapper { background: var(--es-bg) !important; background-image: none !important; }
html:root body .body-bg::before,
html:root body .body-bg::after { content: none !important; display: none !important; }

@media (min-width: 1280px) { html:root body .container { max-width: 80rem !important; } }

/* ---------------------------------------------------------------- HEADER */
html:root body .header {
    background: #fff !important;
    -webkit-backdrop-filter: none !important; backdrop-filter: none !important;
    border-bottom: 1px solid #eef0f4 !important;
    box-shadow: 0 1px 2px rgba(15, 23, 42, .04) !important;
}
html:root body .header::before, html:root body .header::after { content: none !important; display: none !important; }
html:root body .header > .container { min-height: 64px; gap: 14px; }
@media (min-width: 768px) { html:root body .header > .container { min-height: 76px; } }
html:root body .header .logo-img { max-height: 40px !important; width: auto !important; }

html:root body .es-nav { display: none; }
@media (min-width: 1024px) {
    html:root body .es-nav { display: flex; align-items: center; gap: 2px; flex: 1; margin-left: 18px; min-width: 0; }
    html:root body .es-nav-link {
        padding: 8px 9px; font-size: .9rem; font-weight: 500; white-space: nowrap;
        color: color-mix(in srgb, var(--es-navy) 56%, #64748b) !important; text-decoration: none !important;
        transition: color .15s ease;
    }
    html:root body .es-nav-link:hover, html:root body .es-nav-link.is-active { color: var(--es-o) !important; }
}

html:root body .hdr-login-btn {
    background: var(--es-p) !important; color: #fff !important;
    border-radius: 8px !important; padding: 0 18px !important; height: 40px;
    font-size: .88rem !important; font-weight: 700 !important;
    box-shadow: none !important; border: 0 !important;
}
html:root body .hdr-login-btn::after { content: none !important; }
html:root body .hdr-login-btn:hover { background: var(--es-p-600) !important; transform: none !important; }
html:root body .hdr-register-btn {
    background: #fff !important; color: var(--es-ink) !important;
    border: 1px solid var(--es-line) !important; border-radius: 8px !important;
    padding: 0 16px !important; height: 40px; font-weight: 700 !important; font-size: .88rem !important;
    box-shadow: 0 1px 2px rgba(15,23,42,.05) !important;
}
html:root body .hdr-register-btn:hover { background: #f8fafc !important; transform: none !important; }
html:root body .hdr-wallet-pill {
    border: 1px solid var(--es-line) !important; border-radius: 999px !important;
    background: #fff !important; box-shadow: none !important; padding: 5px 12px 5px 5px !important;
}
html:root body .hdr-wallet-icon { background: var(--es-p-soft) !important; color: var(--es-p) !important; }
html:root body .hdr-wallet-balance { color: var(--es-ink) !important; font-weight: 800 !important; }
html:root body .hdr-avatar { border: 2px solid #fff !important; box-shadow: 0 0 0 2px var(--es-p-ring) !important; }

/* ---------------------------------------------------------------- SIDEBAR (estopup sheet: right, 3/4 width, plain list) */
html:root body .sidebar-premium {
    width: 75% !important; max-width: 24rem !important; background: #fff !important;
    border-left: 1px solid var(--es-line) !important; box-shadow: 0 10px 15px -3px rgba(15,23,42,.18) !important;
    border-radius: 0 !important; padding: 0 0 24px !important;
}
html:root body .nav-overlay { background: rgba(0,0,0,.8) !important; opacity: .55 !important; }
html:root body .menu-header-premium {
    background: #fff !important; background-image: none !important;
    border-bottom: 1px solid #e5e7eb !important; padding: 20px 16px 20px 22px !important;
}
html:root body .menu-header-premium::before, html:root body .menu-header-premium::after { content: none !important; }
html:root body .menu-avatar { width: 48px !important; height: 48px !important; border: 1px solid var(--es-line) !important; box-shadow: none !important; }
html:root body .menu-user-name { font-size: 1.1rem !important; font-weight: 600 !important; color: var(--es-ink) !important; -webkit-text-fill-color: currentColor !important; }
html:root body .menu-user-email { font-size: .85rem !important; color: var(--es-mute) !important; }
html:root body .premium-menu-group-label { display: none !important; }
html:root body .sidebar-premium > a.premium-menu-item { margin: 0 16px !important; }
html:root body .sidebar-premium > .menu-header-premium + .premium-menu-group-label + a.premium-menu-item { margin-top: 16px !important; }
html:root body .premium-menu-item {
    display: flex !important; align-items: center !important; padding: 12px 8px !important; margin-top: 8px !important;
    border-radius: 6px !important; color: #374151 !important; font-weight: 500 !important; font-size: .95rem !important;
    background: transparent !important; border: 0 !important; box-shadow: none !important;
}
html:root body .premium-menu-item::before, html:root body .premium-menu-item::after { content: none !important; display: none !important; }
html:root body .premium-menu-item span { display: flex !important; align-items: center !important; gap: 0 !important; color: inherit !important; }
html:root body .premium-menu-item svg, html:root body .premium-menu-item i {
    width: 20px !important; height: 20px !important; margin-right: 12px !important; color: currentColor !important; font-size: 1.05rem; text-align: center;
}
html:root body .premium-menu-item:hover { background: #f3f4f6 !important; color: #374151 !important; }
html:root body .premium-menu-item:hover svg { color: currentColor !important; }
html:root body .premium-menu-item-active, html:root body .premium-menu-item-active:hover { background: #e5e7eb !important; color: #111827 !important; }
html:root body .premium-menu-item-active svg { color: currentColor !important; }
html:root body .logout-section { margin: 8px 16px 0 !important; padding: 0 !important; border: 0 !important; }
html:root body .logout-premium {
    width: 100%; justify-content: flex-start !important; padding: 12px 8px !important; border-radius: 6px !important;
    background: transparent !important; border: 0 !important; color: #ef4444 !important; box-shadow: none !important; font-weight: 500 !important; font-size: .95rem !important;
}
html:root body .logout-premium svg { margin-right: 6px; }
html:root body .logout-premium:hover { background: #f3f4f6 !important; }
html:root body .sidebar-support-wrap { margin: 12px 16px 0 !important; padding: 0 !important; }
html:root body .sidebar-support-btn { background: var(--es-p) !important; color: #fff !important; box-shadow: none !important; border-radius: 8px !important; }

/* ---------------------------------------------------------------- NOTICE: dark full-width bar */
html:root body .notice-container {
    width: 100vw !important; max-width: 100vw !important;
    margin: 0 0 0 calc(50% - 50vw) !important; padding: 0 !important;
}
html:root body .premium-notice-card {
    background: var(--es-navy) !important; background-image: none !important;
    border: 0 !important; border-radius: 0 !important; box-shadow: none !important;
    padding: 7px 12px 7px 16px !important; min-height: 38px; gap: 10px; overflow: hidden;
    color: #fff !important;
}
html:root body .premium-notice-card::before, html:root body .premium-notice-card::after { content: none !important; display: none !important; }
html:root body .premium-notice-card .notice-content { display: flex !important; align-items: center; gap: 10px; min-width: 0; overflow: hidden; }
html:root body .premium-notice-card .notice-heading {
    flex: 0 0 auto; font-size: 0 !important; line-height: 1; margin: 0 !important; padding: 0 !important;
    color: transparent !important; background: none !important;
}
html:root body .premium-notice-card .notice-heading::before {
    content: "\f0f3  Notice" !important; font-family: "Font Awesome 6 Free", "Hind Siliguri", sans-serif !important; font-weight: 900;
    display: inline-flex !important; align-items: center; gap: 5px;
    font-size: .74rem !important; color: #fff !important;
    background: var(--es-p) !important; border-radius: 999px; padding: 5px 12px;
    width: auto !important; height: auto !important; position: static !important; box-shadow: none !important;
}
html:root body .premium-notice-card .notice-text {
    flex: 1 1 auto; min-width: 0; white-space: nowrap; overflow: hidden;
    color: rgba(255,255,255,.92) !important; font-size: .86rem !important; font-weight: 500;
    -webkit-line-clamp: unset !important; display: block !important; margin: 0 !important;
}
html:root body .premium-notice-card .notice-text > .es-mq,
html:root body .premium-notice-card .notice-text {
    /* simple marquee: the text itself scrolls */
}
html:root body .premium-notice-card .notice-text {
    padding-left: 100% !important;
    animation: es-marquee 24s linear infinite;
    width: max-content !important; max-width: none !important; overflow: visible !important;
}
html:root body .premium-notice-card .notice-content:hover .notice-text,
html:root body .premium-notice-card .notice-content:active .notice-text { animation-play-state: paused; }
@keyframes es-marquee { from { transform: translateX(0); } to { transform: translateX(-100%); } }
@media (prefers-reduced-motion: reduce) {
    html:root body .premium-notice-card .notice-text { animation: none; padding-left: 0 !important; white-space: normal; width: auto !important; }
}
html:root body .notice-close-btn {
    flex: 0 0 auto; width: 26px !important; height: 26px !important; border-radius: 6px !important;
    background: transparent !important; border: 0 !important; color: #fff !important; box-shadow: none !important;
    position: relative; z-index: 2;
}
html:root body .notice-close-btn:hover { background: rgba(255,255,255,.12) !important; }

/* ---------------------------------------------------------------- SLIDER */
html:root body .premium-slider {
    border-radius: 12px !important; overflow: hidden !important; box-shadow: none !important;
    border: 0 !important; background: #e9edf5 !important; aspect-ratio: 2010 / 782; height: auto !important;
}
html:root body .premium-slider::before, html:root body .premium-slider::after { content: none !important; }
html:root body .premium-slider-track, html:root body .premium-slide, html:root body .premium-slide-link { height: 100% !important; }
html:root body .premium-slide::before { content: none !important; }
html:root body .premium-slide-img { width: 100% !important; height: 100% !important; object-fit: cover !important; border-radius: 0 !important; transform: none !important; }
html:root body .premium-prev, html:root body .premium-next {
    width: 34px !important; height: 34px !important; border-radius: 999px !important;
    background: rgba(255,255,255,.85) !important; color: var(--es-ink) !important; border: 0 !important;
    box-shadow: 0 2px 8px rgba(15,23,42,.15) !important; opacity: 0; transition: opacity .2s;
}
html:root body .premium-slider:hover .premium-prev, html:root body .premium-slider:hover .premium-next { opacity: 1; }
@media (hover: none) { html:root body .premium-prev, html:root body .premium-next { display: none !important; } }
html:root body .premium-dots {
    background: transparent !important; box-shadow: none !important; padding: 0 !important;
    bottom: 10px !important; left: 50% !important; right: auto !important; transform: translateX(-50%) !important; gap: 5px !important;
}
html:root body .premium-dot {
    width: 7px !important; height: 7px !important; border-radius: 999px !important;
    background: rgba(255,255,255,.7) !important; border: 0 !important; transition: width .25s;
}
html:root body .premium-dot::after { content: none !important; }
html:root body .premium-dot.active { width: 22px !important; background: var(--es-p) !important; }
html:root body .main-page-wrapper section.container.m-auto.my-4 { margin-top: 12px !important; margin-bottom: 10px !important; }

/* ---------------------------------------------------------------- CONTACT CHIPS (under slider) */
html:root body .es-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 10px auto 6px !important; }
html:root body .es-chip {
    display: inline-flex; align-items: center; gap: 9px; min-width: 0;
    padding: 6px 16px 6px 6px; border-radius: 10px; color: #fff !important; text-decoration: none !important;
    box-shadow: 0 6px 14px -8px rgba(15,23,42,.45); transition: transform .15s, filter .15s;
}
html:root body .es-chip:hover { transform: translateY(-2px); filter: brightness(1.05); }
html:root body .es-chip-ic {
    width: 30px; height: 30px; border-radius: 999px; background: #fff; display: grid; place-items: center; flex: 0 0 30px; font-size: .95rem;
}
html:root body .es-chip-txt { display: flex; flex-direction: column; line-height: 1.1; font-weight: 800; font-size: .9rem; font-family: "Hind Siliguri", sans-serif; }
html:root body .es-chip-txt small { font-size: .62rem; font-weight: 600; opacity: .85; }
html:root body .es-chip-tg  { background: #229ed9; } html:root body .es-chip-tg .es-chip-ic { color: #229ed9; }
html:root body .es-chip-add { background: linear-gradient(135deg, #8b5cf6, #ec4899); } html:root body .es-chip-add .es-chip-ic { color: #8b5cf6; }
html:root body .es-chip-ord { background: #25b865; } html:root body .es-chip-ord .es-chip-ic { color: #25b865; }
@media (max-width: 575px) {
    html:root body .es-chips { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
    html:root body .es-chip { padding: 6px 8px 6px 6px; gap: 7px; }
    html:root body .es-chip-ic { width: 26px; height: 26px; flex-basis: 26px; font-size: .8rem; }
    html:root body .es-chip-txt { font-size: .78rem; }
}

/* ---------------------------------------------------------------- SECTION TITLES */
html:root body .premium-category-title-v2 { text-align: center !important; margin: 26px 0 14px !important; padding: 0 !important; background: none !important; border: 0 !important; }
html:root body .premium-category-title-v2 h3 {
    display: block !important; text-align: center !important; margin: 0 !important; padding: 0 !important;
    font-family: var(--es-title) !important; font-weight: 400 !important;
    font-size: 1.5rem !important; line-height: 2rem !important; letter-spacing: -.01em;
    color: var(--es-navy) !important; background: none !important; -webkit-text-fill-color: currentColor !important;
}
@media (min-width: 640px) { html:root body .premium-category-title-v2 h3 { font-size: 1.875rem !important; line-height: 2.25rem !important; } }
html:root body .premium-category-title-v2 h3::before,
html:root body .premium-category-title-v2 h3::after,
html:root body .premium-category-title-v2 h3 span::before,
html:root body .premium-category-title-v2 h3 span::after { content: none !important; display: none !important; }
html:root body .premium-category-title-v2 h3 span {
    background: none !important; color: inherit !important; -webkit-text-fill-color: currentColor !important;
    padding: 0 !important; border: 0 !important; box-shadow: none !important; font: inherit !important;
}
html:root body .premium-category-title-v2 h3 em.hc-accent { color: inherit !important; font-style: normal; }

/* ---------------------------------------------------------------- PRODUCT GRID + CARDS */
html:root body .products-grid-container { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; gap: 8px !important; }
@media (min-width: 640px)  { html:root body .products-grid-container { grid-template-columns: repeat(4, minmax(0, 1fr)) !important; gap: 12px !important; } }
@media (min-width: 768px)  { html:root body .products-grid-container { grid-template-columns: repeat(5, minmax(0, 1fr)) !important; } }
@media (min-width: 1024px) { html:root body .products-grid-container { grid-template-columns: repeat(7, minmax(0, 1fr)) !important; } }

html:root body .product-card-wrapper { height: 100%; }
html:root body .product-card-link {
    display: flex !important; flex-direction: column !important; height: 100% !important;
    background: #fff !important; background-image: none !important;
    border: 1px solid var(--es-line) !important; border-radius: 12px !important;
    padding: 6px !important; box-shadow: 0 1px 2px rgba(15,23,42,.05) !important;
    overflow: hidden !important; text-decoration: none !important;
    transition: transform .3s ease, border-color .3s ease, box-shadow .3s ease !important;
}
html:root body .product-card-link::before, html:root body .product-card-link::after { content: none !important; display: none !important; }
html:root body .product-card-link:hover {
    transform: translateY(-2px) !important;
    border-color: color-mix(in srgb, var(--es-p) 30%, transparent) !important;
    box-shadow: 0 4px 6px -1px rgba(15,23,42,.08), 0 2px 4px -2px rgba(15,23,42,.06) !important;
}
html:root body .product-card-link:active { transform: translateY(0) scale(.99) !important; }
html:root body .single-game-product {
    border: 0 !important; border-radius: 8px !important; box-shadow: none !important;
    background: #f1f5f9 !important; overflow: hidden !important; padding: 0 !important; margin: 0 !important;
}
html:root body .single-game-product::before, html:root body .single-game-product::after { content: none !important; display: none !important; }
html:root body .product-img-wrapper { aspect-ratio: 1 / 1 !important; border-radius: 8px !important; overflow: hidden !important; background: #f1f5f9 !important; }
html:root body .game-product-img { width: 100% !important; height: 100% !important; object-fit: cover !important; transition: transform .5s ease !important; }
html:root body .product-card-link:hover .game-product-img { transform: scale(1.04) !important; }
html:root body .product-card-title {
    margin-top: auto !important; padding: 6px 2px 2px !important;
    background: none !important; border: 0 !important; min-height: 0 !important;
}
html:root body .product-card-title p {
    margin: 0 !important; text-align: center !important;
    font-family: var(--es-title) !important; font-weight: 400 !important;
    font-size: .75rem !important; line-height: 1rem !important; color: var(--es-ink-2) !important;
    -webkit-text-fill-color: currentColor !important; background: none !important;
    display: -webkit-box !important; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
    text-transform: capitalize;
}
@media (min-width: 768px) { html:root body .product-card-title p { font-size: .875rem !important; line-height: 1.25rem !important; } }
html:root body .product-card-link:hover .product-card-title p { color: var(--es-p) !important; }
/* the first card used to get a "HOT" gradient frame — keep it as a small red NEW-style tag */
html:root body .product-card-link .hot-badge,
html:root body .product-card-wrapper .hot-badge { background: #e11d48 !important; }

/* ---------------------------------------------------------------- FLASH SALE (white card version) */
html:root body .flash-sale-wrapper {
    background: #fff !important; background-image: none !important;
    border: 1px solid var(--es-line) !important; border-radius: 12px !important;
    box-shadow: 0 1px 2px rgba(15,23,42,.05) !important;
}
html:root body .flash-sale-wrapper::before, html:root body .flash-sale-wrapper::after { content: none !important; display: none !important; }
html:root body .flash-title { font-family: var(--es-title) !important; font-weight: 400 !important; color: var(--es-navy) !important; -webkit-text-fill-color: currentColor !important; }
html:root body .flash-badge { background: #ef4444 !important; color: #fff !important; }
html:root body .flash-flame-icon { background: linear-gradient(135deg, var(--es-o), #ef4444) !important; color: #fff !important; box-shadow: none !important; }
html:root body .flash-subtitle { color: var(--es-mute) !important; }
html:root body .flash-timer-box { background: #fff !important; border: 1px solid var(--es-line) !important; box-shadow: none !important; }
html:root body .flash-timer-box span { color: var(--es-ink) !important; }
html:root body .flash-timer-box.highlight { background: var(--es-p) !important; border-color: var(--es-p) !important; }
html:root body .flash-timer-box.highlight span, html:root body .flash-timer-box.highlight small { color: #fff !important; }
html:root body .flash-card {
    background: #fff !important; background-image: none !important;
    border: 1px solid var(--es-line) !important; border-radius: 10px !important; box-shadow: 0 1px 2px rgba(15,23,42,.05) !important;
}
html:root body .flash-card:hover { border-color: color-mix(in srgb, var(--es-p) 30%, transparent) !important; }
html:root body .flash-discount-tag { background: #ef4444 !important; color: #fff !important; border-radius: 6px !important; }
html:root body .flash-img-wrap { background: #f1f5f9 !important; border-radius: 6px !important; }
html:root body .flash-prod-title { color: var(--es-ink-2) !important; }
html:root body .flash-offer-price {
    display: inline-flex; background: var(--es-p-soft) !important; color: var(--es-p) !important;
    -webkit-text-fill-color: currentColor !important; border-radius: 999px; padding: 1px 9px; font-weight: 800 !important;
}
html:root body .flash-orig-price { color: #94a3b8 !important; }
html:root body .flash-progress-bar { background: var(--es-p) !important; }
html:root body .flash-buy-btn {
    background: var(--es-p-soft) !important; background-image: none !important; color: var(--es-p) !important;
    border: 1px solid color-mix(in srgb, var(--es-p) 15%, transparent) !important; box-shadow: none !important; border-radius: 8px !important;
}
html:root body .flash-card:hover .flash-buy-btn { background: var(--es-p) !important; color: #fff !important; }
html:root body .flash-slider-btn { background: #fff !important; color: var(--es-ink) !important; border: 1px solid var(--es-line) !important; box-shadow: 0 2px 6px rgba(15,23,42,.08) !important; }

/* old "Follow us" block — replaced by chips + footer contact strip */
html:root body #socialSection { display: none !important; }

/* ---------------------------------------------------------------- LATEST ORDERS */
html:root body .es-lo-section { margin: 30px auto 24px !important; }
html:root body .es-lo-card {
    background: #fff; border: 1px solid var(--es-line); border-radius: 12px;
    padding: 12px; box-shadow: 0 1px 2px rgba(15,23,42,.05);
}
@media (min-width: 768px) { html:root body .es-lo-card { padding: 16px; } }
html:root body .es-lo-head { display: flex; align-items: center; gap: 12px; padding: 4px 4px 12px; }
html:root body .es-lo-icon {
    width: 44px; height: 44px; border-radius: 10px; flex: 0 0 44px;
    background: var(--es-p-soft); color: var(--es-p); display: grid; place-items: center; font-size: 1.05rem;
}
html:root body .es-lo-titles { display: flex; flex-direction: column; flex: 1; min-width: 0; line-height: 1.2; }
html:root body .es-lo-title { font-family: "Hind Siliguri", var(--es-title); font-weight: 700; font-size: 1.1rem; color: var(--es-ink); }
html:root body .es-lo-live { display: inline-flex; align-items: center; gap: 5px; color: #059669; font-size: .78rem; font-weight: 800; }
html:root body .es-lo-live i { width: 8px; height: 8px; border-radius: 999px; background: #10b981; box-shadow: 0 0 0 0 rgba(16,185,129,.5); animation: es-live 1.8s infinite; }
@keyframes es-live { 70% { box-shadow: 0 0 0 6px rgba(16,185,129,0); } 100% { box-shadow: 0 0 0 0 rgba(16,185,129,0); } }
html:root body .es-lo-time { color: #94a3b8; font-size: .78rem; white-space: nowrap; }
html:root body .es-lo-refresh {
    width: 36px; height: 36px; border-radius: 999px; border: 1px solid var(--es-line); background: #fff; color: var(--es-mute);
    display: grid; place-items: center; transition: background .15s;
}
html:root body .es-lo-refresh:hover { background: #f8fafc; color: var(--es-p); }
html:root body .es-lo-refresh.spin i { animation: es-spin .7s linear; }
@keyframes es-spin { to { transform: rotate(360deg); } }
@media (max-width: 420px) { html:root body .es-lo-time { display: none; } }

html:root body .latest-orders-wrapper, html:root body #latest-orders-list {
    background: transparent !important; border: 0 !important; box-shadow: none !important; padding: 0 !important;
    display: flex; flex-direction: column; gap: 8px; border-radius: 0 !important;
}
html:root body .latest-order-card {
    background: color-mix(in srgb, #f8fafc 70%, #fff) !important;
    border: 1px solid #f1f5f9 !important; border-radius: 8px !important;
    padding: 10px 12px !important; margin: 0 !important; box-shadow: none !important;
    transition: background .15s, border-color .15s, box-shadow .15s;
}
html:root body .latest-order-card + .latest-order-card { border-top: 1px solid #f1f5f9 !important; margin-top: 0 !important; }
html:root body .latest-order-card:hover { background: #fff !important; border-color: var(--es-line) !important; box-shadow: 0 1px 2px rgba(15,23,42,.05) !important; transform: none !important; }
html:root body .latest-order-avatar { width: 40px !important; height: 40px !important; }
html:root body .latest-order-name { color: var(--es-ink) !important; font-weight: 700 !important; font-size: .95rem !important; }
html:root body .latest-order-subtitle { color: var(--es-mute) !important; font-weight: 500 !important; font-size: .85rem !important; }
html:root body .latest-order-amount { color: var(--es-mute) !important; font-weight: 600 !important; }
html:root body .latest-order-time { color: #94a3b8 !important; }
html:root body .latest-order-badge {
    min-width: 96px; text-align: center; border-radius: 999px !important; padding: 4px 8px !important;
    font-size: .75rem !important; font-weight: 800 !important; box-shadow: none !important; background-image: none !important;
}
html:root body .latest-order-badge.badge-status-success { background: #ecfdf5 !important; color: #047857 !important; border: 1px solid #a7f3d0 !important; }
html:root body .latest-order-badge.badge-status-pending { background: #fef2f2 !important; color: #b91c1c !important; border: 1px solid #fecaca !important; }
html:root body .latest-order-badge.badge-status-processing { background: #eff6ff !important; color: #1d4ed8 !important; border: 1px solid #bfdbfe !important; }
html:root body .latest-order-badge.badge-status-danger { background: #fef2f2 !important; color: #b91c1c !important; border: 1px solid #fecaca !important; }

/* ---------------------------------------------------------------- REVIEWS */
html:root body .review-main-card {
    background: #fff !important; background-image: none !important;
    border: 1px solid var(--es-line) !important; border-radius: 12px !important; box-shadow: 0 1px 2px rgba(15,23,42,.05) !important;
}
html:root body .review-main-card::before, html:root body .review-main-card::after { content: none !important; }
html:root body .single-review-card { background: #f8fafc !important; border: 1px solid #f1f5f9 !important; box-shadow: none !important; border-radius: 10px !important; }
html:root body .review-heading { font-family: var(--es-title) !important; color: var(--es-navy) !important; }

/* ---------------------------------------------------------------- FOOTER (dark navy) */
html:root body footer.footer-bg {
    background: linear-gradient(135deg, var(--es-navy), color-mix(in srgb, var(--es-navy) 82%, #000)) !important;
    color: #fff !important; border: 0 !important; margin-top: 40px; position: relative;
}
html:root body footer.footer-bg::before, html:root body footer.footer-bg::after { content: none !important; display: none !important; }
html:root body .es-foot-contact { text-align: center; padding: 30px 16px 6px; }
html:root body .es-foot-contact-title { font-family: "Hind Siliguri", var(--es-title); font-weight: 700; font-size: 1.15rem; color: #fff; }
html:root body .es-foot-contact-sub { font-family: "Hind Siliguri", sans-serif; font-size: .85rem; color: rgba(255,255,255,.55); margin-top: 4px; }
html:root body .es-foot-contact-btns { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 16px; }
html:root body .es-cbtn {
    display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; border-radius: 6px;
    font-family: "Hind Siliguri", sans-serif; font-weight: 700; font-size: .88rem; color: #fff !important; text-decoration: none !important;
    transition: transform .15s, filter .15s;
}
html:root body .es-cbtn:hover { transform: translateY(-2px); filter: brightness(1.08); }
html:root body .es-cbtn-tg   { background: #3f87d6; }
html:root body .es-cbtn-tgc  { background: #5aa1dc; }
html:root body .es-cbtn-fb   { background: #1877f2; }
html:root body .es-cbtn-ms   { background: #6366f1; }
html:root body .es-cbtn-mail { background: #1e293b; }

html:root body .es-foot-shell { padding: 30px 16px 36px !important; }
html:root body .es-foot-grid { display: grid; gap: 16px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 768px) {
    html:root body .es-foot-grid { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr) minmax(0, 1fr); gap: 16px; }
    html:root body .es-foot-shell { padding: 44px 16px !important; }
}
html:root body .es-foot-panel {
    background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.14); border-radius: 8px;
    box-shadow: 0 18px 44px rgba(0,0,0,.18); padding: 20px;
}
@media (max-width: 767px) { html:root body .es-foot-panel { padding: 16px; } }
html:root body .es-foot-title {
    font-family: var(--es-title); font-size: 17px; font-weight: 400; letter-spacing: .08em; color: #fff;
    position: relative; padding-bottom: .85rem; margin-bottom: .9rem;
}
html:root body .es-foot-title::after {
    content: ""; position: absolute; left: 0; bottom: .25rem; width: 3rem; height: 3px; border-radius: 999px;
    background: linear-gradient(90deg, var(--es-o), rgba(255,255,255,.2));
}
@media (min-width: 768px) {
    html:root body .es-foot-panel-app { text-align: center; }
    html:root body .es-foot-panel-app .es-foot-title::after { left: 50%; transform: translateX(-50%); }
}
html:root body .es-foot-copy { color: rgba(255,255,255,.72) !important; font-size: .82rem; line-height: 1.75; font-family: "Hind Siliguri", sans-serif; margin: 0; }
html:root body .es-foot-social { display: flex; flex-wrap: wrap; gap: .65rem; margin-top: .9rem; }
html:root body .es-social {
    width: 44px; height: 44px; border-radius: 8px; display: grid; place-items: center; color: #fff !important; font-size: 1.05rem;
    background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.13); text-decoration: none !important;
    transition: background .2s, border-color .2s, transform .2s;
}
html:root body .es-social:hover { background: var(--es-o); border-color: var(--es-o); transform: translateY(-2px); }
html:root body .es-app-badge {
    display: inline-flex; align-items: center; gap: 10px; padding: 8px 18px 8px 14px; border-radius: 10px;
    background: #000; color: #fff; border: 1px solid #a6a6a6; cursor: pointer;
    filter: drop-shadow(0 12px 20px rgba(0,0,0,.22)); transition: transform .2s;
}
html:root body .es-app-badge:hover { transform: translateY(-2px); }
html:root body .es-app-badge i { font-size: 1.9rem; color: #3ddc84; }
html:root body .es-app-badge span { display: flex; flex-direction: column; text-align: left; font-size: 1.25rem; font-weight: 600; line-height: 1.1; }
html:root body .es-app-badge small { font-size: .62rem; font-weight: 500; letter-spacing: .04em; }
html:root body .es-app-hint { margin-top: 10px; }
html:root body .es-support {
    display: flex; align-items: center; gap: .75rem; padding: .75rem; border-radius: 6px; margin-top: .75rem;
    background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); color: rgba(255,255,255,.85) !important;
    text-decoration: none !important; transition: border-color .2s, background .2s, transform .2s;
}
html:root body .es-support:first-of-type { margin-top: 0; }
html:root body .es-support:hover {
    background: color-mix(in srgb, var(--es-o) 18%, transparent); border-color: color-mix(in srgb, var(--es-o) 56%, transparent); transform: translateY(-2px);
}
html:root body .es-support-ic {
    width: 3rem; height: 3rem; flex: 0 0 3rem; border-radius: 8px; background: rgba(255,255,255,.08);
    display: grid; place-items: center; font-size: 1.35rem; color: #fff;
}
html:root body .es-support-txt {
    display: flex; flex-direction: column; padding-left: .75rem; border-left: 1px solid rgba(255,255,255,.18);
    font-family: "Hind Siliguri", var(--es-title); font-size: .9rem; color: #fff; min-width: 0; word-break: break-word;
}
html:root body .es-support-txt small { color: rgba(255,255,255,.58); font-family: var(--es-title); font-size: .72rem; }
html:root body .es-foot-bottom {
    border-top: 1px solid rgba(255,255,255,.1);
    background: color-mix(in srgb, var(--es-navy) 70%, #000); padding: 18px 16px; text-align: center;
}
html:root body .es-foot-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 20px; margin-bottom: 8px; }
html:root body .es-foot-links a { color: rgba(255,255,255,.8) !important; font-size: .82rem; text-decoration: none !important; font-family: var(--es-title); }
html:root body .es-foot-links a:hover { color: #fff !important; }
html:root body .es-foot-copyright { color: rgba(255,255,255,.72); font-family: var(--es-title); font-size: .85rem; }
/* keep room for the fixed bottom nav on phones */
@media (max-width: 767px) { html:root body footer.footer-bg { padding-bottom: 76px; margin-bottom: 0 !important; } }

/* ---------------------------------------------------------------- BOTTOM NAV (estopup: white, raised round + in the middle) */
@media (max-width: 767px) {
    html:root body { margin-bottom: calc(64px + env(safe-area-inset-bottom)) !important; }
    html:root body .es-bnav {
        position: fixed !important; left: 0; right: 0; bottom: 0; z-index: 1040 !important;
        display: flex !important; align-items: flex-end !important; justify-content: space-between !important;
        max-width: 32rem; margin: 0 auto; height: auto !important;
        padding: 0 8px env(safe-area-inset-bottom, 0px) !important;
        background: #fff !important; border-top: 1px solid #f3f4f6 !important;
        box-shadow: 0 -4px 16px rgba(15,23,42,.08) !important;
        -webkit-backdrop-filter: none !important; backdrop-filter: none !important; overflow: visible !important;
    }
}
@media (max-width: 767px) and (min-width: 512px) {
    /* bar spans full width, items stay centred like estopup's max-w-lg */
    html:root body .es-bnav { max-width: none; padding-left: calc(50% - 16rem + 8px) !important; padding-right: calc(50% - 16rem + 8px) !important; }
}
html:root body .es-bnav::before { content: none !important; display: none !important; }
html:root body .es-bnav-item {
    flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px;
    padding: 8px 0; color: #6b7280 !important; text-decoration: none !important;
    font-size: 11px; font-weight: 600; line-height: 1.2; white-space: nowrap;
    font-family: "Hind Siliguri", var(--es-font); transition: color .15s;
}
html:root body .es-bnav-item svg { width: 22px; height: 22px; flex: 0 0 22px; }
html:root body .es-bnav-item.active { color: var(--es-p) !important; }
html:root body .es-bnav-item > span:last-child { overflow: hidden; text-overflow: ellipsis; max-width: 100%; }
html:root body .es-bnav-avatar {
    width: 22px !important; height: 22px !important; flex: 0 0 22px; border-radius: 999px !important; overflow: hidden !important;
    display: grid !important; place-items: center; font-size: 10px !important; font-weight: 800; color: #fff !important;
    box-shadow: 0 0 0 1px #e5e7eb; opacity: 1 !important;
}
html:root body .es-bnav-item.active .es-bnav-avatar { box-shadow: 0 0 0 2px var(--es-p); }
html:root body .es-bnav-avatar img { width: 100% !important; height: 100% !important; object-fit: cover !important; display: block; }
html:root body .es-bnav-center { flex: 1 1 0; display: flex; flex-direction: column; align-items: center; }
html:root body .es-bnav-plus-link { margin-top: -24px; display: flex; flex-direction: column; align-items: center; text-decoration: none !important; padding-bottom: 6px; }
html:root body .es-bnav-plus {
    width: 56px; height: 56px; border-radius: 999px; display: grid; place-items: center;
    background: var(--es-p); color: #fff; box-shadow: 0 0 0 4px #fff, 0 10px 15px -3px rgba(15,23,42,.18);
    transition: transform .15s;
}
html:root body .es-bnav-plus-link:active .es-bnav-plus { transform: scale(.95); }
html:root body .es-bnav-plus-lbl { margin-top: 4px; font-size: 11px; font-weight: 600; color: #6b7280; font-family: "Hind Siliguri", var(--es-font); white-space: nowrap; }
html:root body .es-bnav-plus-link.active .es-bnav-plus-lbl { color: var(--es-p); }
@media (max-width: 359px) { html:root body .es-bnav-item, html:root body .es-bnav-plus-lbl { font-size: 10px; } html:root body .es-bnav-plus { width: 50px; height: 50px; } }

/* ---------------------------------------------------------------- HELP FAB ("Need help?" + headset) — estopup buttonizer sizes */
html:root body .fab-custom-container { right: 16px !important; bottom: calc(84px + env(safe-area-inset-bottom)) !important; }
@media (min-width: 768px) { html:root body .fab-custom-container { bottom: 24px !important; right: 20px !important; } }
html:root body .fab-custom-main-trigger { width: 52px !important; height: 52px !important; }
html:root body .fab-custom-main-trigger::before {
    inset: -4px !important; background: none !important; border: 2px solid color-mix(in srgb, var(--es-p) 40%, transparent);
    animation: es-help-pulse 2.2s ease-out infinite !important;
}
@keyframes es-help-pulse { 0% { opacity: .75; transform: scale(.96); } 80%, 100% { opacity: 0; transform: scale(1.25); } }
html:root body .fab-outer-purple-ring.es-help-ring {
    width: 52px !important; height: 52px !important; background: #fff !important; border: 0 !important; color: var(--es-p);
    box-shadow: 0 0 0 4px var(--es-p-ring), 0 8px 20px rgba(17,24,39,.16) !important;
}
html:root body .fab-outer-purple-ring.es-help-ring svg { width: 22px; height: 22px; }
html:root body .fab-open-state {
    inset: 0 !important; background: var(--es-p) !important; border: 0 !important;
    box-shadow: 0 0 0 4px var(--es-p-ring), 0 8px 20px rgba(17,24,39,.16) !important;
}
html:root body .es-help-tip {
    display: inline-flex; align-items: center; gap: .4rem; padding: .4rem .8rem .4rem .4rem;
    background: #fff; color: #111827; border: 0; border-radius: 999px; white-space: nowrap; cursor: pointer;
    font-family: "Hind Siliguri", sans-serif; font-size: .76rem; font-weight: 700; pointer-events: auto;
    box-shadow: 0 8px 24px rgba(17,24,39,.14), 0 2px 6px rgba(17,24,39,.06);
    animation: es-tip-in .42s cubic-bezier(.34,1.56,.64,1), es-tip-breathe 2.6s ease-in-out .6s infinite;
    transform-origin: right center;
}
html:root body .es-help-tip-ic { width: 22px; height: 22px; border-radius: 999px; background: var(--es-p-soft); color: var(--es-p); display: grid; place-items: center; }
html:root body .es-help-tip-ic svg { width: 13px; height: 13px; }
html:root body .fab-custom-container.active .es-help-tip { opacity: 0; pointer-events: none; }
@keyframes es-tip-in { from { opacity: 0; transform: translateX(10px) scale(.85); } to { opacity: 1; transform: none; } }
@keyframes es-tip-breathe { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.03); } }
html:root body .fab-custom-trigger-wrapper { gap: 10px !important; }
@media (max-width: 420px) {
    html:root body .fab-custom-container { right: 12px !important; }
    html:root body .fab-custom-main-trigger, html:root body .fab-outer-purple-ring.es-help-ring { width: 46px !important; height: 46px !important; }
    html:root body .fab-outer-purple-ring.es-help-ring svg { width: 20px; height: 20px; }
    html:root body .es-help-tip { font-size: .72rem; padding: .35rem .7rem .35rem .35rem; }
}
/* tooltip only on the home page; elsewhere just the round button */
html:root body:not(.es-home) .es-help-tip { display: none; }
html:root body .fab-custom-options { background: #fff !important; border: 1px solid var(--es-line) !important; box-shadow: 0 20px 45px rgba(15,23,42,.18) !important; }
html:root body .fab-options-title { color: var(--es-ink) !important; }
@media (prefers-reduced-motion: reduce) { html:root body .es-help-tip, html:root body .fab-custom-main-trigger::before { animation: none !important; } }

/* ---------------------------------------------------------------- CHECKOUT (/topup/{slug}) */
html:root body .co-page { max-width: 80rem !important; padding-left: 8px !important; padding-right: 8px !important; }
@media (min-width: 768px) { html:root body .co-page { padding-left: 16px !important; padding-right: 16px !important; } }
html:root body .co-hero {
    background: #fff !important; background-image: none !important; color: var(--es-ink) !important;
    border: 1px solid color-mix(in srgb, var(--es-navy) 14%, #e1e0f5) !important; border-radius: 8px !important;
    box-shadow: 0 10px 15px -3px color-mix(in srgb, var(--es-navy) 10%, transparent), 0 4px 6px -4px color-mix(in srgb, var(--es-navy) 10%, transparent) !important;
    padding: 12px 16px !important; margin-top: 16px !important;
}
html:root body .co-hero::before, html:root body .co-hero::after { content: none !important; display: none !important; }
html:root body .co-hero-img { width: 76px !important; height: 76px !important; border-radius: 8px !important; border: 1px solid var(--es-line) !important; box-shadow: none !important; padding: 3px; background: #fff; }
html:root body .co-hero-title { color: var(--es-ink) !important; font-family: var(--es-title) !important; font-weight: 400 !important; font-size: 1.35rem !important; -webkit-text-fill-color: currentColor !important; }
html:root body .co-hero-sub { color: var(--es-mute) !important; font-size: .8rem !important; }
html:root body .co-hero-badge {
    background: #fff !important; color: var(--es-ink) !important; border: 1px solid var(--es-line) !important;
    border-radius: 999px !important; box-shadow: none !important; font-size: .75rem !important; font-weight: 700 !important;
}
html:root body .co-card {
    background: #fff !important; background-image: none !important;
    border: 1px solid color-mix(in srgb, var(--es-navy) 14%, #e1e0f5) !important; border-radius: 8px !important;
    box-shadow: 0 10px 15px -3px color-mix(in srgb, var(--es-navy) 10%, transparent), 0 4px 6px -4px color-mix(in srgb, var(--es-navy) 10%, transparent) !important;
    overflow: hidden;
}
html:root body .co-card::before, html:root body .co-card::after { content: none !important; display: none !important; }
html:root body .co-card-head { background: #fff !important; border-bottom: 1px solid #eef0f4 !important; padding: 14px 16px !important; }
html:root body .co-card-title { color: var(--es-ink-2) !important; font-weight: 500 !important; font-size: 1rem !important; }
html:root body .co-step {
    background: linear-gradient(135deg, var(--es-o), color-mix(in srgb, var(--es-o) 78%, #111827)) !important; color: #fff !important;
    width: 1.8rem !important; height: 1.8rem !important; border-radius: 999px !important; font-weight: 800 !important; font-size: .95rem !important;
    box-shadow: 0 8px 18px color-mix(in srgb, var(--es-o) 26%, transparent) !important;
}
html:root body .co-step.co-step-muted,
html:root body .co-step[style*="f1f5f9"] { background: #f1f5f9 !important; color: var(--es-mute) !important; box-shadow: none !important; }
html:root body .co-how { color: var(--es-ink) !important; text-decoration: underline !important; }

html:root body .co-var-btn {
    background: #fff !important; background-image: none !important; border: 1px solid var(--es-line-2) !important; border-radius: .625rem !important;
    min-height: 3.25rem; color: #475569 !important; box-shadow: 0 1px 2px rgba(15,23,42,.04) !important;
    transition: border-color .2s, background .2s, box-shadow .2s, transform .2s !important;
}
html:root body .co-var-btn::before, html:root body .co-var-btn::after { content: none !important; }
html:root body .co-var-btn:hover:not([disabled]) {
    border-color: var(--es-p) !important; background: var(--es-p-soft) !important; transform: translateY(-1px) !important;
    box-shadow: 0 10px 24px color-mix(in srgb, var(--es-p) 11%, transparent) !important;
}
html:root body .co-var-btn.sel {
    background: var(--es-p-soft) !important; border-color: var(--es-p) !important; outline: 1px solid var(--es-p) !important;
    box-shadow: none !important;
}
html:root body .co-var-dot { border-color: #cbd5e1 !important; background: #e2e8f0 !important; }
html:root body .co-var-btn.sel .co-var-dot { background: var(--es-p) !important; border-color: var(--es-p) !important; box-shadow: 0 0 0 3px var(--es-p-ring) !important; }
html:root body .co-var-name { color: #475569 !important; font-weight: 700 !important; }
html:root body .co-var-stock { color: #059669 !important; }
html:root body .co-var-stock.out { color: #dc2626 !important; }
html:root body .co-var-price {
    color: var(--es-p) !important; -webkit-text-fill-color: currentColor !important; background: none !important; font-weight: 800 !important;
}
html:root body .co-hot { background: #ef4444 !important; color: #fff !important; box-shadow: none !important; }

html:root body .co-label { color: var(--es-ink-2) !important; font-weight: 600 !important; }
html:root body .co-input {
    background: #fff !important; border: 1px solid var(--es-line) !important; border-radius: 8px !important; color: var(--es-ink) !important; box-shadow: none !important;
}
html:root body .co-input:focus { border-color: var(--es-p) !important; box-shadow: 0 0 0 3px var(--es-p-ring) !important; }
html:root body .co-uid-btn, html:root body .co-qty-btn {
    background: var(--es-p) !important; background-image: none !important; color: #fff !important; border: 0 !important; border-radius: 8px !important; box-shadow: none !important;
}
html:root body .co-pm-card {
    background: #fff !important; border: 1px solid var(--es-line) !important; border-radius: 10px !important; box-shadow: none !important; position: relative; overflow: hidden;
}
html:root body .co-pm-card.co-pm-sel {
    border-color: var(--es-p) !important; outline: 1px solid var(--es-p) !important; background: var(--es-p-soft) !important; box-shadow: none !important;
}
html:root body .co-cost { background: #f8fafc !important; border: 1px solid #eef0f4 !important; border-radius: 8px !important; }
html:root body .co-cost-val { color: var(--es-p) !important; -webkit-text-fill-color: currentColor !important; background: none !important; }
html:root body .co-btn { border-radius: 8px !important; }
html:root body .co-btn-p {
    background: var(--es-p) !important; background-image: none !important; color: #fff !important; box-shadow: none !important; border: 0 !important;
}
html:root body .co-btn-p::after { content: none !important; }
html:root body .co-btn-p:hover:not([disabled]) { background: var(--es-p-600) !important; }
html:root body .co-btn-p[disabled] { background: color-mix(in srgb, var(--es-p) 55%, #fff) !important; }
html:root body .co-rules { color: var(--es-ink-2) !important; }
html:root body .co-rel-ttl {
    text-align: center !important; font-family: var(--es-title) !important; font-weight: 400 !important;
    font-size: 1.5rem !important; color: var(--es-navy) !important; margin: 34px 0 16px !important; -webkit-text-fill-color: currentColor !important;
}
html:root body .co-rel-ttl::before, html:root body .co-rel-ttl::after { content: none !important; }
html:root body .co-rel-grid { display: grid !important; grid-template-columns: repeat(3, minmax(0, 1fr)) !important; gap: 8px !important; }
@media (min-width: 640px)  { html:root body .co-rel-grid { grid-template-columns: repeat(4, minmax(0, 1fr)) !important; gap: 12px !important; } }
@media (min-width: 1024px) { html:root body .co-rel-grid { grid-template-columns: repeat(7, minmax(0, 1fr)) !important; } }
html:root body .co-rel-card {
    display: flex !important; flex-direction: column; background: #fff !important; border: 1px solid var(--es-line) !important;
    border-radius: 12px !important; padding: 6px !important; box-shadow: 0 1px 2px rgba(15,23,42,.05) !important; text-decoration: none !important;
    transition: transform .3s, border-color .3s !important;
}
html:root body .co-rel-card:hover { transform: translateY(-2px) !important; border-color: color-mix(in srgb, var(--es-p) 30%, transparent) !important; }
html:root body .co-rel-img { width: 100% !important; aspect-ratio: 1 / 1; height: auto !important; object-fit: cover; border-radius: 8px !important; }
html:root body .co-rel-name { text-align: center !important; font-family: var(--es-title) !important; font-weight: 400 !important; color: var(--es-ink-2) !important; font-size: .78rem !important; padding-top: 6px; }

/* desktop: packages left, account + payment right (like estopup) */
@media (min-width: 1024px) {
    html:root body #coForm {
        display: grid; grid-template-columns: minmax(0, 1.9fr) minmax(0, 1fr); gap: 0 16px; align-items: start;
    }
    html:root body #coForm > .co-card { margin-top: 0; }
    html:root body #coForm > .co-card:first-of-type { grid-column: 1; grid-row: 1 / span 2; min-height: 100%; }
    html:root body #coForm > .co-card:not(:first-of-type) { grid-column: 2; }
    html:root body #coForm .co-var-grid { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; }
}

/* confirm dialog */
html:root body .co-dialog { border-radius: 14px !important; }
html:root body .co-dlg-icon { background: var(--es-p-soft) !important; }
html:root body .co-sum-v.big { color: var(--es-p) !important; -webkit-text-fill-color: currentColor !important; }

/* ---------------------------------------------------------------- AUTH (login / register / forgot) */
html:root body .login-container, html:root body .register-container { background: transparent !important; }
html:root body .login-card, html:root body .register-card {
    background: #fff !important; background-image: none !important;
    border: 1px solid var(--es-line) !important; border-radius: 12px !important;
    box-shadow: 0 1px 3px rgba(15,23,42,.06) !important;
}
html:root body .login-card::before, html:root body .login-card::after,
html:root body .register-card::before, html:root body .register-card::after { content: none !important; display: none !important; }
html:root body .login-title, html:root body .register-title {
    color: var(--es-ink) !important; -webkit-text-fill-color: currentColor !important; background: none !important;
    font-weight: 800 !important; text-align: left !important;
}
html:root body .login-subtitle, html:root body .register-subtitle { color: var(--es-mute) !important; text-align: left !important; }
html:root body .form-label-custom { color: var(--es-ink) !important; font-weight: 600 !important; }
html:root body .input-custom {
    background: #fff !important; border: 1px solid var(--es-line) !important; border-radius: 8px !important; box-shadow: none !important; height: 46px;
}
html:root body .input-custom:focus { border-color: var(--es-p) !important; box-shadow: 0 0 0 3px var(--es-p-ring) !important; }
html:root body .submit-btn {
    background: var(--es-p) !important; background-image: none !important; color: #fff !important;
    border-radius: 8px !important; box-shadow: none !important; border: 0 !important;
}
html:root body .submit-btn::after, html:root body .submit-btn::before { content: none !important; }
html:root body .submit-btn:hover { background: var(--es-p-600) !important; transform: none !important; }
html:root body .google-btn { background: #fff !important; border: 1px solid var(--es-line) !important; border-radius: 8px !important; color: var(--es-ink) !important; box-shadow: none !important; }
html:root body .google-btn:hover { background: #f8fafc !important; }
html:root body .register-text a, html:root body .bottom-links a { color: var(--es-ink) !important; font-weight: 800 !important; }

/* ---------------------------------------------------------------- generic */
html:root body .btn-primary, html:root body .bg-primary-custom { background: var(--es-p) !important; border-color: var(--es-p) !important; background-image: none !important; }
html:root body .pagination .page-item.active .page-link { background: var(--es-p) !important; border-color: var(--es-p) !important; }
html:root body #topbar-loader { background: var(--es-p) !important; box-shadow: none !important; }

/* ---------------------------------------------------------------- fixes after first review */
html:root body .premium-notice-card .notice-content { flex: 1 1 0 !important; min-width: 0 !important; }
html:root body .premium-notice-card .notice-heading { position: relative; z-index: 2; background: var(--es-navy) !important; padding-right: 10px !important; }
html:root body .premium-category-title-v2 h3, html:root body .premium-category-title-v2 h3 span { text-transform: none !important; }
html:root body footer.footer-bg { border-radius: 0 !important; overflow: hidden; }
@media (max-width: 767px) { html:root body footer.footer-bg { padding-bottom: 0 !important; } }
@media (max-width: 575px) { html:root body .latest-order-time { display: none !important; } }
html:root body .co-page > #coMain > .co-card { margin-top: 16px !important; }
html:root body .co-hero-img { padding: 0 !important; }
html:root body .premium-notice-card .notice-text { flex: 0 0 auto !important; }

/* bottom nav label descenders */
html:root body .es-bnav-item { padding: 8px 0 7px !important; line-height: 1.4 !important; }
html:root body .es-bnav-plus-link { padding-bottom: 7px !important; }
html:root body .es-bnav-plus-lbl { line-height: 1.4; }
html:root body .es-bnav-item > span:last-child { overflow: visible !important; padding-bottom: 1px; }
html:root body .premium-menu-item > span { padding: 0 !important; margin: 0 !important; }
html:root body .sidebar-premium > a.premium-menu-item { margin-top: 4px !important; }

/* ---------------------------------------------------------------- checkout package names: show in full (wrap), estopup package-item */
html:root body .co-var-btn { align-items: center !important; padding: 9px 10px !important; height: auto !important; }
html:root body .co-var-info { overflow: visible !important; }
html:root body .co-var-name {
    white-space: normal !important; overflow: visible !important; text-overflow: clip !important;
    word-break: break-word; overflow-wrap: anywhere; font-size: .74rem !important; line-height: 1.25 !important;
    display: block !important; -webkit-line-clamp: unset !important;
}
html:root body .co-var-stock { white-space: normal !important; overflow: visible !important; font-size: .62rem !important; }
html:root body .co-var-price { font-size: .78rem !important; text-align: right; max-width: 42%; white-space: nowrap; }
@media (max-width: 400px) {
    html:root body .co-var-name { font-size: .7rem !important; }
    html:root body .co-var-price { font-size: .72rem !important; }
}
@media (min-width: 640px) and (max-width: 1023px) {
    html:root body .co-page { max-width: 720px !important; }
    html:root body .co-var-grid { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; }
}
@media (max-width: 479px) { html:root body .hdr-register-btn { display: none !important; } }
html:root body .header > .container { padding-left: 12px !important; padding-right: 12px !important; }
@media (min-width: 768px) { html:root body .header > .container { padding-left: 16px !important; padding-right: 16px !important; } }
@media (max-width: 359px) { html:root body .header .logo-img { max-height: 32px !important; } html:root body .hdr-wallet-pill { padding-right: 9px !important; } }

/* =====================================================================
   USER PAGES (account, orders, codes, transactions, referral, rewards,
   spin wheel, coin convert, CMS pages) — estopup cards
   ===================================================================== */
/* shared estopup card look */
html:root body .acc-wrap { max-width: 720px !important; padding: 16px 12px 40px !important; }
@media (min-width: 1024px) { html:root body .acc-wrap { max-width: 860px !important; } }
html:root body .esa-profile, html:root body .esa-stat, html:root body .esa-list,
html:root body .acc-card {
    background: #fff !important; border: 1px solid var(--es-line) !important; border-radius: 12px !important;
    box-shadow: 0 1px 2px rgba(15,23,42,.05) !important;
}
html:root body .esa-profile { padding: 16px; }
html:root body .esa-profile-top { display: flex; align-items: center; gap: 14px; }
html:root body .esa-avatar {
    width: 64px !important; height: 64px !important; flex: 0 0 64px; border-radius: 999px !important; overflow: hidden !important;
    display: grid !important; place-items: center; background: var(--es-p) !important; color: #fff !important; font-weight: 800; font-size: 1.5rem;
    box-shadow: 0 0 0 3px var(--es-p-ring) !important; border: 2px solid #fff !important;
}
html:root body .esa-avatar img { width: 100%; height: 100%; object-fit: cover; }
html:root body .esa-who { min-width: 0; }
html:root body .esa-name { font-family: var(--es-title); font-size: 1.25rem; color: var(--es-ink); line-height: 1.2; overflow-wrap: anywhere; }
html:root body .esa-email { font-size: .82rem; color: var(--es-mute); overflow-wrap: anywhere; }
html:root body .esa-tier { display: inline-flex; align-items: center; gap: 4px; margin-top: 6px; padding: 2px 9px; border-radius: 999px; background: #fef3c7; color: #b45309; font-size: .7rem; font-weight: 800; }
html:root body .esa-wallet {
    margin-top: 14px; padding: 14px; border-radius: 10px; background: var(--es-p-soft);
    border: 1px solid color-mix(in srgb, var(--es-p) 18%, transparent);
    display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap;
}
html:root body .esa-wallet-lbl { font-size: .75rem; color: var(--es-mute); font-weight: 600; }
html:root body .esa-wallet-lbl i { color: var(--es-p); margin-right: 3px; }
html:root body .esa-wallet-val { font-size: 1.6rem; font-weight: 800; color: var(--es-p); line-height: 1.2; }
html:root body .esa-btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 6px; height: 40px; padding: 0 16px; border-radius: 8px;
    background: var(--es-p) !important; color: #fff !important; font-weight: 700; font-size: .85rem; text-decoration: none !important; white-space: nowrap;
    font-family: "Hind Siliguri", var(--es-font); border: 0; transition: background .15s;
}
html:root body .esa-btn:hover { background: var(--es-p-600) !important; }
html:root body .esa-btn-sm { height: 34px; padding: 0 12px; font-size: .78rem; }
html:root body .esa-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin: 12px 0; }
html:root body .esa-stat { padding: 12px 6px; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 2px; min-width: 0; }
html:root body .esa-stat-ic { width: 32px; height: 32px; border-radius: 8px; display: grid; place-items: center; background: var(--es-p-soft); color: var(--es-p); font-size: .85rem; margin-bottom: 4px; }
html:root body .esa-stat b { font-size: 1rem; color: var(--es-ink); font-weight: 800; overflow-wrap: anywhere; }
html:root body .esa-stat small { font-size: .7rem; color: var(--es-mute); font-weight: 600; }
html:root body .esa-list { padding: 4px; margin-bottom: 12px; display: flex; flex-direction: column; }
html:root body .esa-row { display: flex; align-items: center; gap: 12px; padding: 10px; border-radius: 8px; color: var(--es-ink-2) !important; text-decoration: none !important; min-width: 0; }
html:root body .esa-row + .esa-row { border-top: 1px solid #f1f5f9; }
html:root body .esa-link:hover { background: #f8fafc; }
html:root body .esa-row-ic { width: 38px; height: 38px; flex: 0 0 38px; border-radius: 8px; display: grid; place-items: center; background: var(--es-p-soft); color: var(--es-p); }
html:root body .esa-ic-tg { background: #e0f2fe; color: #0284c7; }
html:root body .esa-row-txt { flex: 1; min-width: 0; display: flex; flex-direction: column; font-weight: 600; font-size: .92rem; color: var(--es-ink); overflow-wrap: anywhere; }
html:root body .esa-row-txt small { font-size: .7rem; color: var(--es-mute); font-weight: 600; }
html:root body .esa-row-txt em { font-style: normal; font-size: .75rem; color: #b45309; }
html:root body .esa-row-txt em.esa-green { color: #059669; }
html:root body .esa-chev { color: #94a3b8; font-size: .8rem; }
html:root body .esa-pill { flex: 0 0 auto; padding: 3px 9px; border-radius: 999px; border: 1px solid var(--es-line); font-size: .66rem; font-weight: 700; color: var(--es-mute); }

/* account: remaining sections (profile form, password, recent trx) */
html:root body .acc-section-hdr { margin: 22px 2px 10px !important; padding: 0 !important; display: flex !important; align-items: center; justify-content: center; }
html:root body .acc-section-dot { display: none !important; }
html:root body .acc-section-title {
    font-family: var(--es-title) !important; font-size: 1.25rem !important; font-weight: 400 !important; text-transform: none !important;
    letter-spacing: 0 !important; color: var(--es-navy) !important;
}
html:root body .acc-card { margin: 0 0 12px !important; overflow: hidden; }
html:root body .acc-card-hdr { background: #fff !important; border-bottom: 1px solid #eef0f4 !important; padding: 14px 16px !important; }
html:root body .acc-card-hdr-icon { background: linear-gradient(135deg, var(--es-o), color-mix(in srgb, var(--es-o) 78%, #111827)) !important; color: #fff !important; border-radius: 999px !important; box-shadow: none !important; }
html:root body .acc-card-hdr-title { color: var(--es-ink-2) !important; font-weight: 600 !important; text-transform: none !important; letter-spacing: 0 !important; font-size: 1rem !important; }
html:root body .acc-card-body { padding: 16px !important; }
html:root body .acc-lbl { color: var(--es-ink) !important; font-weight: 600 !important; text-transform: none !important; letter-spacing: 0 !important; font-size: .85rem !important; }
html:root body .acc-input { background: #fff !important; border: 1px solid var(--es-line) !important; border-radius: 8px !important; box-shadow: none !important; color: var(--es-ink) !important; }
html:root body .acc-input:focus { border-color: var(--es-p) !important; box-shadow: 0 0 0 3px var(--es-p-ring) !important; }
html:root body .acc-input[readonly], html:root body .acc-input:disabled { background: #f8fafc !important; color: var(--es-mute) !important; }
html:root body .acc-submit, html:root body .acc-photo-btn {
    background: var(--es-p) !important; background-image: none !important; color: #fff !important; border-radius: 8px !important; box-shadow: none !important; border: 0 !important;
}
html:root body .acc-trx-item { border-color: #f1f5f9 !important; }
html:root body .acc-avatar-thumb { border-radius: 999px !important; }
html:root body .esa-profile, html:root body .esa-who, html:root body .esa-list { text-align: left !important; }
html:root body .esa-who { flex: 1; }
html:root body .esa-profile-top { justify-content: flex-start !important; }
html:root body .esa-avatar { margin: 0 !important; }

/* ---------------- orders / codes / transactions (list pages) */
html:root body .orders-page-wrapper, html:root body .codes-wrapper, html:root body .trx-wrapper,
html:root body .ref-wrap, html:root body .cnc-wrap, html:root body .rw-wrap, html:root body .spin-wrap {
    max-width: 720px !important; margin-left: auto !important; margin-right: auto !important;
    padding-left: 12px !important; padding-right: 12px !important; padding-top: 16px !important;
}
@media (min-width: 1024px) {
    html:root body .orders-page-wrapper, html:root body .codes-wrapper, html:root body .trx-wrapper { max-width: 860px !important; }
}
html:root body .orders-header, html:root body .codes-header, html:root body .trx-header {
    background: #fff !important; border: 1px solid var(--es-line) !important; border-radius: 12px !important;
    box-shadow: 0 1px 2px rgba(15,23,42,.05) !important; padding: 14px 16px !important; margin-bottom: 12px !important;
}
html:root body .orders-header-icon, html:root body .codes-header-icon, html:root body .trx-header-icon {
    background: var(--es-p-soft) !important; color: var(--es-p) !important; border-radius: 10px !important; box-shadow: none !important;
}
html:root body .orders-title, html:root body .codes-header-title, html:root body .trx-header-title {
    font-family: var(--es-title) !important; font-weight: 400 !important; text-transform: none !important; letter-spacing: 0 !important;
    font-size: 1.25rem !important; color: var(--es-navy) !important;
}
html:root body .orders-subtitle, html:root body .codes-header-sub, html:root body .trx-header-sub { color: var(--es-mute) !important; }
html:root body .filter-section, html:root body .filter-group,
html:root body .orders-page-wrapper .accordion-item, html:root body .orders-page-wrapper details {
    border-radius: 12px !important;
}
html:root body .filter-section, html:root body .filter-header { background: #fff !important; border-color: var(--es-line) !important; box-shadow: none !important; }
html:root body .filter-title, html:root body .filter-label { color: var(--es-ink) !important; }
html:root body .filter-input, html:root body .filter-select { border: 1px solid var(--es-line) !important; border-radius: 8px !important; background: #fff !important; box-shadow: none !important; }
html:root body .filter-input:focus, html:root body .filter-select:focus { border-color: var(--es-p) !important; box-shadow: 0 0 0 3px var(--es-p-ring) !important; }
html:root body .filter-btn { background: var(--es-p) !important; color: #fff !important; border-radius: 8px !important; border: 0 !important; box-shadow: none !important; }
html:root body .order-item, html:root body .code-item, html:root body .trx-item {
    background: #fff !important; background-image: none !important; border: 1px solid var(--es-line) !important; border-radius: 12px !important;
    box-shadow: 0 1px 2px rgba(15,23,42,.05) !important; padding: 14px !important;
}
html:root body .order-item::before, html:root body .code-item::before, html:root body .trx-item::before { content: none !important; }
html:root body .order-serial, html:root body .trx-id { color: var(--es-ink) !important; font-weight: 800 !important; overflow-wrap: anywhere; }
html:root body .order-date, html:root body .trx-date { color: var(--es-mute) !important; }
html:root body .order-divider, html:root body .trx-divider { border-color: #f1f5f9 !important; background: #f1f5f9 !important; }
html:root body .order-details, html:root body .trx-details {
    display: grid !important; grid-template-columns: repeat(2, minmax(0, 1fr)) !important; gap: 10px 14px !important;
}
@media (min-width: 640px) { html:root body .order-details, html:root body .trx-details { grid-template-columns: repeat(4, minmax(0, 1fr)) !important; } }
html:root body .order-detail-item, html:root body .trx-detail-item { min-width: 0; margin: 0 !important; }
html:root body .order-detail-label, html:root body .trx-detail-label { color: #94a3b8 !important; font-size: .66rem !important; font-weight: 700 !important; }
html:root body .order-detail-val, html:root body .trx-detail-val { color: var(--es-ink) !important; font-weight: 700 !important; overflow-wrap: anywhere; word-break: break-word; }
html:root body .order-badge, html:root body .trx-amount-pill { border-radius: 999px !important; font-weight: 800 !important; font-size: .72rem !important; padding: 4px 12px !important; box-shadow: none !important; }
html:root body .order-pay-btn, html:root body .code-pay-btn, html:root body .order-now-btn, html:root body .codes-order-btn, html:root body .redeem-btn, html:root body .code-copy-btn {
    background: var(--es-p) !important; background-image: none !important; color: #fff !important; border-radius: 8px !important; box-shadow: none !important; border: 0 !important;
}
html:root body .code-voucher-box { background: var(--es-p-soft) !important; border: 1px dashed color-mix(in srgb, var(--es-p) 35%, transparent) !important; border-radius: 8px !important; }
html:root body .order-not-found, html:root body .codes-empty, html:root body .trx-empty {
    background: #fff !important; border: 1px solid var(--es-line) !important; border-radius: 12px !important; box-shadow: none !important;
}
html:root body .order-not-found-icon, html:root body .codes-empty-icon { background: var(--es-p-soft) !important; color: var(--es-p) !important; box-shadow: none !important; }
html:root body .orders-loader-spinner, html:root body .codes-loader-spinner { border-top-color: var(--es-p) !important; }

/* ---------------- referral + coin convert */
html:root body .ref-card, html:root body .ref-stat-box, html:root body .cnc-card {
    background: #fff !important; background-image: none !important; border: 1px solid var(--es-line) !important;
    border-radius: 12px !important; box-shadow: 0 1px 2px rgba(15,23,42,.05) !important;
}
html:root body .ref-tbl, html:root body .cnc-tbl { width: 100%; }
html:root body .ref-wrap h1, html:root body .ref-wrap h2, html:root body .cnc-wrap h1, html:root body .cnc-wrap h2 { font-family: var(--es-title) !important; font-weight: 400 !important; color: var(--es-navy) !important; }

/* ---------------- rewards (was a dark-glass design on a light page → light estopup cards) */
html:root body .rw-page-title, html:root body .spin-title {
    font-family: var(--es-title) !important; font-weight: 400 !important; color: var(--es-navy) !important;
    background: none !important; -webkit-text-fill-color: currentColor !important; text-transform: none !important; letter-spacing: 0 !important;
}
html:root body .rw-back-btn { background: #fff !important; border: 1px solid var(--es-line) !important; color: var(--es-ink) !important; }
html:root body .rw-glass-card, html:root body .vip-hero-card, html:root body .perk-box, html:root body .tier-road-item,
html:root body .rw-streak-item, html:root body .rw-log-item {
    background: #fff !important; background-image: none !important; border: 1px solid var(--es-line) !important;
    box-shadow: none !important; color: var(--es-ink) !important; -webkit-backdrop-filter: none !important; backdrop-filter: none !important;
}
html:root body .rw-glass-card, html:root body .vip-hero-card { border-radius: 12px !important; box-shadow: 0 1px 2px rgba(15,23,42,.05) !important; }
html:root body .vip-hero-card::before, html:root body .rw-glass-card::before { content: none !important; }
html:root body .perk-box { background: #f8fafc !important; border-color: #f1f5f9 !important; border-radius: 10px !important; }
html:root body .rw-log-item { border-width: 0 0 1px !important; border-color: #f1f5f9 !important; border-radius: 0 !important; }
html:root body .vip-tier-title, html:root body .perk-val, html:root body .tier-road-name, html:root body .rw-log-title,
html:root body .sec-hdr, html:root body .claim-card-hdr, html:root body .rw-glass-card h3, html:root body .rw-glass-card h4 {
    color: var(--es-ink) !important; -webkit-text-fill-color: currentColor !important;
}
html:root body .vip-progress-meta, html:root body .perk-name, html:root body .tier-road-spend, html:root body .rw-log-time { color: var(--es-mute) !important; }
html:root body .vip-progress-track { background: #eef0f4 !important; }
html:root body .vip-progress-fill { background: var(--es-p) !important; }
html:root body .tier-road-item.current { border-color: var(--es-p) !important; background: var(--es-p-soft) !important; }
html:root body .rw-streak-item { border-radius: 10px !important; color: var(--es-mute) !important; }
html:root body .rw-streak-item.active, html:root body .rw-streak-item.today { border-color: var(--es-p) !important; background: var(--es-p-soft) !important; color: var(--es-p) !important; }
html:root body .claim-btn { background: var(--es-p) !important; background-image: none !important; color: #fff !important; border-radius: 8px !important; box-shadow: none !important; }
html:root body .claimed-badge { background: #ecfdf5 !important; color: #047857 !important; border: 1px solid #a7f3d0 !important; }

/* ---------------- spin wheel (same: dark-glass → light) */
html:root body .spin-hero { background: none !important; color: var(--es-ink) !important; padding-top: 8px !important; }
html:root body .spin-hero::before, html:root body .spin-hero::after { content: none !important; }
html:root body .spin-subtitle, html:root body .spin-stat-label, html:root body .free-spin-sub, html:root body .streak-label, html:root body .spin-log-date { color: var(--es-mute) !important; }
html:root body .spin-stats { margin-top: 0 !important; }
html:root body .spin-stat-card, html:root body .wheel-card, html:root body .spin-streak-wrap, html:root body .spin-history-card {
    background: #fff !important; border: 1px solid var(--es-line) !important; border-radius: 12px !important;
    box-shadow: 0 1px 2px rgba(15,23,42,.05) !important; -webkit-backdrop-filter: none !important; backdrop-filter: none !important;
}
html:root body .spin-stat-val, html:root body .spin-history-title, html:root body .spin-log-name { color: var(--es-ink) !important; }
html:root body .spin-history-title { text-transform: none !important; letter-spacing: 0 !important; font-family: var(--es-title) !important; font-weight: 400 !important; font-size: 1rem !important; }
html:root body .free-spin-text { color: #059669 !important; }
html:root body .free-spin-banner { background: #ecfdf5 !important; border: 1px solid #a7f3d0 !important; }
html:root body .streak-day { color: #94a3b8 !important; background: #f8fafc !important; border-color: var(--es-line) !important; }
html:root body .spin-log-item { border-color: #f1f5f9 !important; }
html:root body .spin-tip { background: var(--es-p-soft) !important; color: var(--es-ink-2) !important; border-color: color-mix(in srgb, var(--es-p) 18%, transparent) !important; }
html:root body .spin-hero-badge { color: #b45309 !important; }

/* ---------------- CMS pages (/page/...) */
html:root body .page-wrapper, html:root body .cms-page, html:root body .page-content-card { border-radius: 12px !important; }
html:root body .page-hero-wrapper { max-width: 56rem !important; margin: 16px auto 0 !important; padding: 0 8px !important; }
html:root body .page-hero {
    background: #fff !important; background-image: none !important; border: 1px solid var(--es-line) !important; border-bottom: 0 !important;
    border-radius: 12px 12px 0 0 !important; box-shadow: none !important; padding: 26px 20px 6px !important;
    display: block !important; text-align: center !important; color: var(--es-ink) !important;
}
html:root body .page-hero::before, html:root body .page-hero::after { content: none !important; }
html:root body .page-hero-icon { display: none !important; }
html:root body .page-hero-text-title {
    font-family: var(--es-title) !important; font-weight: 400 !important; font-size: 1.875rem !important; line-height: 2.25rem !important;
    color: var(--es-ink) !important; text-transform: none !important; letter-spacing: 0 !important; -webkit-text-fill-color: currentColor !important;
}
html:root body .page-hero-text-sub { color: var(--es-mute) !important; font-size: .95rem !important; margin-top: 8px !important; }
html:root body .page-content-shell { max-width: 56rem !important; margin: 0 auto 24px !important; padding: 0 8px !important; }
html:root body .page-content-card {
    background: #fff !important; border: 1px solid var(--es-line) !important; border-top: 0 !important;
    border-radius: 0 0 12px 12px !important; box-shadow: 0 1px 2px rgba(15,23,42,.05) !important;
    padding: 12px 20px 26px !important; color: #475569 !important; line-height: 1.75 !important; font-size: .95rem !important;
}
html:root body .page-content-card h1, html:root body .page-content-card h2, html:root body .page-content-card h3,
html:root body .page-content-card h4, html:root body .page-content-card strong { color: var(--es-ink) !important; }
html:root body .page-content-card a { color: var(--es-p) !important; font-weight: 600; }
html:root body .contact-card { background: #fff !important; border: 1px solid var(--es-line) !important; border-radius: 12px !important; box-shadow: none !important; }
html:root body .contact-cta { background: var(--es-p) !important; background-image: none !important; color: #fff !important; border-radius: 8px !important; box-shadow: none !important; }
html:root body .contact-icon-wrap { background: var(--es-p-soft) !important; color: var(--es-p) !important; }

/* ---------------- responsive pass 2 */
/* tablet: bottom nav is hidden from 768px, so the header menu must show from 768px too */
@media (min-width: 768px) {
    html:root body .es-nav { display: flex; align-items: center; gap: 0; flex: 1; margin-left: 10px; min-width: 0; }
    html:root body .es-nav-link {
        padding: 8px 7px; font-size: .84rem; font-weight: 500; white-space: nowrap;
        color: color-mix(in srgb, var(--es-navy) 56%, #64748b) !important; text-decoration: none !important; transition: color .15s;
    }
    html:root body .es-nav-link:hover, html:root body .es-nav-link.is-active { color: var(--es-o) !important; }
}
@media (min-width: 768px) and (max-width: 1023px) { html:root body .es-nav-wide { display: none; } }
@media (min-width: 1024px) { html:root body .es-nav { margin-left: 18px; gap: 2px; } html:root body .es-nav-link { font-size: .9rem; padding: 8px 9px; } }
/* footer: 2 cols on tablet, 3 on desktop */
@media (min-width: 768px) and (max-width: 1023px) {
    html:root body .es-foot-grid { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
    html:root body .es-foot-grid > .es-foot-panel:last-child { grid-column: 1 / -1; }
}
@media (min-width: 1024px) { html:root body .es-foot-grid { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr) minmax(0, 1fr) !important; } }
html:root body .es-support-txt { overflow-wrap: anywhere; }
html:root body .co-rel-ttl, html:root body .page-hero-text-title, html:root body .page-hero-text-title * { text-transform: none !important; }
@media (min-width: 1024px) { html:root body #coForm { grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); } }
@media (min-width: 1024px) and (max-width: 1179px) { html:root body #coForm .co-var-grid { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; } }
/* containers never wider than their parent (tailwind .container max-width = breakpoint caused right-edge overflow at 768/1024) */
html:root body .container { box-sizing: border-box !important; max-width: min(80rem, 100%) !important; }
html:root body .notice-container.container { max-width: 100vw !important; width: 100vw !important; }
@media (min-width: 768px) { html:root body .header > .container { width: calc(100% - 32px) !important; max-width: min(80rem, calc(100% - 32px)) !important; padding-left: 0 !important; padding-right: 0 !important; } }
@media (min-width: 1280px) { html:root body .header > .container { width: calc(100% - 60px) !important; max-width: min(80rem, calc(100% - 60px)) !important; } }
@media (min-width: 1280px) { html:root body .header > .container { max-width: min(1220px, calc(100% - 60px)) !important; } }

/* ---- no "Need help?" pill on the FAB; translucent blurred bars ---- */
html:root body .es-help-tip { display: none !important; }
@media (max-width: 767px) {
    html:root body .es-bnav {
        background: rgba(255,255,255,.72) !important;
        -webkit-backdrop-filter: saturate(180%) blur(18px) !important; backdrop-filter: saturate(180%) blur(18px) !important;
        border-top: 1px solid rgba(255,255,255,.55) !important;
        box-shadow: 0 -6px 24px rgba(15,23,42,.08) !important;
    }
}
html:root body .es-bnav-plus { box-shadow: 0 0 0 4px rgba(255,255,255,.6), 0 10px 15px -3px rgba(15,23,42,.18) !important; }
html:root body .header {
    background: rgba(255,255,255,.72) !important;
    -webkit-backdrop-filter: saturate(180%) blur(18px) !important; backdrop-filter: saturate(180%) blur(18px) !important;
    border-bottom: 1px solid rgba(226,232,240,.7) !important;
}
