/* High-clarity entrance. The centered logo holds legibly, then accelerates
   continuously on a compositor layer for a smooth, uninterrupted close-in. */
:root { --pp-green: #07845f; --pp-green-soft: #e8fbf3; --pp-ink: #142033; }
.login-intro-overlay { display: none; position: fixed; inset: 0; z-index: 90; place-items: center; overflow: hidden; pointer-events: none; background: transparent; isolation: isolate; }
body.site-intro-running .login-intro-overlay { display: grid; }
.login-intro-overlay::before { content: ""; position: absolute; z-index: 0; width: min(82vmin, 620px); aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, rgba(255,255,255,.76) 0%, rgba(255,255,255,.33) 48%, rgba(255,236,239,0) 73%); opacity: 0; transform: translateZ(0) scale(.65); will-change: transform, opacity; animation: pp-intro-halo 2000ms cubic-bezier(.22,.6,.2,1) both; }
.login-intro-overlay::after { content: ""; position: absolute; z-index: 0; width: min(98vmin, 650px); aspect-ratio: 1; border: 1px solid rgba(255, 72, 91, .56); border-radius: 50%; box-shadow: 0 0 22px rgba(255, 55, 79, .2), inset 0 0 22px rgba(255, 55, 79, .1); opacity: 0; transform: translateZ(0) scale(.72) rotate(-12deg); will-change: transform, opacity; animation: pp-intro-ring 2000ms cubic-bezier(.22,.6,.2,1) both; }
/* Keep the branded logo shine, while the real page remains visible from first paint. */
body.site-intro-running #app-content { position: relative; z-index: 1; opacity: 1; }
body.site-intro-running .login-intro-overlay img { position: relative; z-index: 1; width: min(90vw, 55vh, 512px); height: auto; max-height: 70vh; object-fit: contain; image-rendering: auto; opacity: 0; transform: translateZ(0) scale(1); filter: drop-shadow(0 5px 14px rgba(255,255,255,.2)) drop-shadow(0 0 24px rgba(239,39,64,.32)); backface-visibility: hidden; will-change: transform, opacity; animation: pp-logo-zoom 2000ms cubic-bezier(.42,0,1,1) both, pp-logo-presence 2000ms linear both; }
@keyframes pp-logo-zoom { from { transform: translateZ(0) scale(1); } to { transform: translateZ(0) scale(1.08); } }
@keyframes pp-logo-presence { 0% { opacity: 0; } 10% { opacity: .78; } 20%, 84% { opacity: 1; } 100% { opacity: 0; } }
@keyframes pp-intro-halo { 0%, 10% { opacity: 0; transform: translateZ(0) scale(.65); } 30% { opacity: .32; transform: translateZ(0) scale(.78); } 70% { opacity: .2; transform: translateZ(0) scale(1.08); } 100% { opacity: 0; transform: translateZ(0) scale(1.25); } }
@keyframes pp-intro-ring { 0%, 10% { opacity: 0; transform: translateZ(0) scale(.72) rotate(-12deg); } 28% { opacity: .68; transform: translateZ(0) scale(.84) rotate(-5deg); } 76% { opacity: .35; transform: translateZ(0) scale(1.04) rotate(5deg); } 100% { opacity: 0; transform: translateZ(0) scale(1.16) rotate(12deg); } }
@keyframes pp-page-reveal { from { opacity: 0; } to { opacity: 1; } }
@keyframes pp-content-settle { from { opacity: 0; transform: translateY(14px) scale(.985); } to { opacity: 1; transform: translateY(0) scale(1); } }

/* Buttons respond without layout changes. */
#app-content button, #login-sec button { -webkit-tap-highlight-color: transparent; transition: transform .16s cubic-bezier(.2,.7,.2,1), box-shadow .18s ease, background-color .18s ease, border-color .18s ease, color .18s ease; }
#app-content button:not(:disabled):active, #login-sec button:not(:disabled):active { transform: translateY(1px) scale(.975); box-shadow: inset 0 1px 3px rgba(15,23,42,.12); }
#app-content a[href], #app-content .product-card, #app-content [role="button"] { -webkit-tap-highlight-color: transparent; transition: transform .18s cubic-bezier(.2,.7,.2,1), box-shadow .18s ease, border-color .18s ease, background-color .18s ease; }
#app-content a[href]:active, #app-content .product-card:active, #app-content [role="button"]:active { transform: translateY(1px) scale(.985); box-shadow: 0 2px 7px rgba(15,23,42,.11); }
#app-content button:focus-visible, #login-sec button:focus-visible { outline: 0; box-shadow: 0 0 0 4px rgba(37,99,235,.25); }

/* Keep archived services visible as clear, non-interactive maintenance cards. */
#services-list .service-card { min-width: 0; animation: pp-catalog-card-in .3s cubic-bezier(.2,.7,.2,1) both; }
#services-list .service-card:nth-child(2) { animation-delay: 25ms; }
#services-list .service-card:nth-child(3) { animation-delay: 50ms; }
#services-list .service-card:nth-child(4) { animation-delay: 75ms; }
#services-list .service-card:nth-child(5) { animation-delay: 100ms; }
#services-list .service-card:nth-child(6) { animation-delay: 125ms; }
#services-list .service-card-media { isolation: isolate; }
#services-list .service-card-image { display: block; width: 100%; height: 100%; object-fit: cover; transition: filter .28s ease, transform .35s cubic-bezier(.2,.7,.2,1); }
#services-list .service-card:not(.is-maintenance):hover .service-card-image { transform: scale(1.045); }
#services-list .service-card-caption { min-height: 40px; }
#services-list .service-card.is-maintenance { cursor: not-allowed; border-color: rgba(148,163,184,.4); background: #f9fafb; opacity: .94; }
#services-list .service-card.is-maintenance:hover { transform: none !important; }
#services-list .service-card.is-maintenance .service-card-image,
#services-list .service-card.is-maintenance .service-card-fallback { filter: blur(1.1px) saturate(.84); opacity: .9; }
#services-list .maintenance-lock-overlay { position: absolute; z-index: 2; inset: 0; display: grid; place-items: center; color: rgba(255,255,255,.94); background: rgba(15,23,42,.12); text-shadow: 0 2px 12px rgba(15,23,42,.55); pointer-events: none; }
#services-list .maintenance-lock-overlay i { display: grid; width: 52px; height: 52px; place-items: center; border: 1px solid rgba(255,255,255,.58); border-radius: 50%; background: rgba(15,23,42,.34); box-shadow: 0 5px 20px rgba(15,23,42,.18); font-size: 22px; }
#services-list .maintenance-status { display: block; margin-top: 4px; color: #9a5a00; font-size: 8px; font-weight: 800; letter-spacing: .07em; line-height: 1.2; }
#products-grid .product-card { animation: pp-catalog-card-in .24s cubic-bezier(.2,.7,.2,1) both; }
.storefront-section-enter { animation: pp-section-enter .28s cubic-bezier(.2,.7,.2,1) both; }
@keyframes pp-catalog-card-in { from { opacity: 0; transform: translateY(8px) scale(.985); } to { opacity: 1; transform: translateY(0) scale(1); } }
@keyframes pp-section-enter { from { opacity: 0; transform: translateY(7px); } to { opacity: 1; transform: translateY(0); } }

/* Blue auth actions, green wallet entry points, and a visible add-balance control. */
#site-top-shell #guest-header-actions button:first-child { border: 1px solid #1d4ed8; background: linear-gradient(135deg,#3b82f6,#1d4ed8); color: #fff; }
#site-top-shell #guest-header-actions button:last-child { border: 1px solid #60a5fa; background: #eff6ff; color: #1d4ed8; }
.header-add-balance-btn { min-height: 40px; border: 2px solid #3b82f6; background: linear-gradient(135deg,#ef3340,#c81e3a); box-shadow: 0 7px 18px rgba(37,99,235,.18), 0 4px 12px rgba(220,38,38,.12); }
.header-add-balance-btn:hover { border-color: #1d4ed8; box-shadow: 0 0 0 3px rgba(59,130,246,.13), 0 9px 22px rgba(37,99,235,.2); }
/* Add-balance method cards stay neutral until selected. */
#addmoney-sec .wallet-method-card { min-height: 98px; border-color: transparent !important; background: #fff; box-shadow: 0 5px 18px rgba(15,23,42,.055); color: #172033; }
#addmoney-sec .wallet-method-card:not(.is-selected) { border-color: transparent !important; }
#addmoney-sec .wallet-method-card:hover { border-color: #cbd5e1 !important; transform: translateY(-2px); box-shadow: 0 10px 24px rgba(15,23,42,.10); }
#addmoney-sec .wallet-method-card.is-selected { border-color: var(--pp-green) !important; background: var(--pp-green-soft) !important; box-shadow: 0 0 0 3px rgba(7,132,95,.11), 0 12px 28px rgba(7,132,95,.13); }
#addmoney-sec .wallet-method-card img { display: block; border: 0 !important; border-radius: 9px; }
#addmoney-sec > div:first-child > div { box-shadow: 0 8px 24px rgba(7,132,95,.08); }
#addmoney-sec > div:nth-child(2), #addmoney-sec > div:nth-child(3) { border-color: rgba(148,163,184,.16) !important; box-shadow: 0 12px 34px rgba(15,23,42,.055) !important; }
#addmoney-sec #wallet-topup-form:not(.hidden) { animation: pp-content-settle .2s ease-out both; }
#wallet-topup-form input { min-height: 48px; transition: border-color .18s ease, box-shadow .18s ease; }
#wallet-topup-form input:focus { border-color: var(--pp-green) !important; box-shadow: 0 0 0 4px rgba(7,132,95,.11); }
#wallet-receiver-number { overflow-wrap: anywhere; }
#deposit-history-list > div { transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease; }
#deposit-history-list > div:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(15,23,42,.08); }

/* Latest five orders. */
#latest-orders-section { padding: 18px; border: 1px solid rgba(148,163,184,.18); border-radius: 22px; background: linear-gradient(145deg, rgba(255,255,255,.94), rgba(248,250,252,.86)); box-shadow: 0 14px 36px rgba(15,23,42,.055); }
#latest-orders-section > h3 { text-align: left !important; font-family: 'Poppins', sans-serif !important; letter-spacing: -.025em; }
.latest-order-card { border-radius: 16px !important; border-color: #e8edf3 !important; box-shadow: 0 4px 14px rgba(15,23,42,.045) !important; transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease; }
.latest-order-card:hover { transform: translateY(-2px); border-color: #cbd5e1 !important; box-shadow: 0 12px 26px rgba(15,23,42,.09) !important; }
.latest-order-customer-avatar { display: flex; flex: 0 0 40px; width: 40px; height: 40px; align-items: center; justify-content: center; border: 2px solid #fff; border-radius: 50%; background: linear-gradient(145deg,#60a5fa,#1d4ed8); color: #fff; font-size: 15px; font-weight: 800; box-shadow: 0 0 0 2px rgba(59,130,246,.13), 0 5px 13px rgba(37,99,235,.16); }
.latest-order-trailing { display: flex; flex: 0 0 auto; min-width: 50px; flex-direction: column; align-items: center; gap: 3px; }
.latest-order-product-mark { display: flex; width: 46px; height: 46px; align-items: center; justify-content: center; overflow: hidden; border: 2px solid #fff; border-radius: 50%; background: linear-gradient(145deg,#eff6ff,#dbeafe); box-shadow: 0 0 0 2px rgba(59,130,246,.16), 0 5px 12px rgba(15,23,42,.09); }
.latest-order-product-mark .latest-order-product-image, .latest-order-product-mark .latest-order-product-placeholder { width: 100%; height: 100%; min-width: 0; border: 0; border-radius: inherit; box-shadow: none; }
.latest-order-status { display: inline-flex; flex: 0 0 auto; align-items: center; justify-content: center; gap: 5px; min-height: 30px; padding: 6px 10px; border: 1px solid transparent; border-radius: 999px; font-size: 10px; font-weight: 800; letter-spacing: .025em; text-transform: capitalize; white-space: nowrap; }
.latest-order-trailing .latest-order-status { min-height: 0; gap: 3px; padding: 2px 6px; font-size: 8px; }
.latest-order-status.is-complete { border-color: #b7ead3; background: linear-gradient(145deg,#ecfdf5,#d9fbe9); color: #087b55; }
.latest-order-status.is-pending { border-color: #f5dda0; background: linear-gradient(145deg,#fff9e8,#fff0bf); color: #8c5b00; }
.latest-order-status.is-failed { border-color: #fecaca; background: linear-gradient(145deg,#fff1f2,#ffe4e6); color: #b42338; }
.latest-order-product-image img { display: block; width: 100%; height: 100%; object-fit: cover; }
.latest-order-product-placeholder { position: relative; flex: 0 0 auto; overflow: hidden; border: 1px solid #bfdbfe; background: linear-gradient(145deg,#eff6ff,#dbeafe); color: #2563eb; box-shadow: 0 4px 12px rgba(37,99,235,.12); }
.latest-order-product-placeholder i { font-size: 15px; }
.latest-order-product-placeholder span { position: absolute; right: 3px; bottom: 1px; font-size: 8px; font-weight: 800; }

/* Account and profile. */
#account-sec > div:first-child { border-radius: 24px !important; background: linear-gradient(145deg, rgba(255,255,255,.96), rgba(248,250,252,.88)); box-shadow: 0 16px 40px rgba(15,23,42,.065) !important; }
#profile-avatar { background: linear-gradient(145deg, #60a5fa, #1d4ed8) !important; box-shadow: 0 0 0 5px rgba(59,130,246,.12), 0 12px 30px rgba(37,99,235,.25), inset 0 2px 6px rgba(255,255,255,.25) !important; }
#account-sec button[data-csp-action="handleLogout"] { border: 1px solid #bfdbfe; background: linear-gradient(145deg,#eff6ff,#dbeafe); color: #1d4ed8 !important; }
#account-sec button[data-csp-action="handleLogout"]:hover { border-color: #60a5fa; background: #dbeafe; }
#account-sec .how-to-add-money-icon { background: #dcfce7 !important; color: #07845f !important; }
#account-sec .how-to-add-money-label { color: #07845f !important; }
#account-sec button:hover { filter: brightness(1.04); }

/* Smooth, compact dialog transitions. */
.swal2-popup { border: 1px solid rgba(226,232,240,.92) !important; border-radius: 22px !important; box-shadow: 0 24px 70px rgba(15,23,42,.22) !important; }
.swal2-show { animation: pp-dialog-in .22s cubic-bezier(.2,.8,.25,1) both !important; }
.swal2-hide { animation: pp-dialog-out .14s ease-in both !important; }
.swal2-confirm, .swal2-cancel { border-radius: 12px !important; font-weight: 700 !important; transition: transform .16s ease, filter .16s ease !important; }
.swal2-confirm:active, .swal2-cancel:active { transform: scale(.97); }
@keyframes pp-dialog-in { from { opacity: 0; transform: translateY(10px) scale(.97); } to { opacity: 1; transform: translateY(0) scale(1); } }
@keyframes pp-dialog-out { from { opacity: 1; transform: scale(1); } to { opacity: 0; transform: scale(.98); } }

@media (max-width: 420px) {
    #addmoney-sec .wallet-method-card { min-height: 88px; padding: 10px 6px !important; }
    #latest-orders-section { padding: 14px 12px; }
}
@media (prefers-reduced-motion: reduce) {
    body.site-intro-running .login-intro-overlay img { animation: pp-reduced-fade 100ms ease-out both !important; }
    body.site-intro-running .login-intro-overlay::before,
    body.site-intro-running .login-intro-overlay::after { animation-duration: .01ms !important; }
    body.site-intro-running #app-content { animation: pp-reduced-fade 100ms ease-out 80ms both !important; }
    #addmoney-sec #wallet-topup-form:not(.hidden), .swal2-show, .swal2-hide { animation-duration: .01ms !important; animation-delay: 0ms !important; }
    #app-content button, #login-sec button, .latest-order-card, #deposit-history-list > div, #app-content a[href], #app-content .product-card, #app-content [role="button"] { transition-duration: .01ms !important; }
    #services-list .service-card, #products-grid .product-card, .storefront-section-enter { animation-duration: .01ms !important; animation-delay: 0ms !important; }
    .notice-scroll { animation-duration: 36s !important; }
}
@keyframes pp-reduced-fade { from { opacity: 0; } to { opacity: 1; } }

/* Keep the notice visibly moving on normal devices while allowing a gentler
   pace for people who request reduced motion. */
#app-content .notice-scroll { animation-duration: 13s; }

/* A colorful, readable top-up experience with restrained movement. */
#addmoney-sec > div:nth-child(2) {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    border-color: rgba(148,163,184,.24) !important;
    background: linear-gradient(145deg,#fff 0%,#fbfdff 54%,#f0fdf7 100%) !important;
    box-shadow: 0 18px 48px rgba(15,23,42,.075), 0 4px 16px rgba(7,132,95,.045) !important;
}
#addmoney-sec > div:nth-child(2)::after {
    content: "";
    position: absolute;
    z-index: 0;
    top: -30%;
    bottom: -30%;
    left: -45%;
    width: 32%;
    pointer-events: none;
    background: linear-gradient(105deg,transparent,rgba(255,255,255,.62),rgba(167,243,208,.2),transparent);
    transform: skewX(-18deg);
    animation: pp-wallet-panel-sheen 9s cubic-bezier(.45,0,.55,1) infinite;
}
#addmoney-sec > div:nth-child(2) > * { position: relative; z-index: 1; }
#addmoney-sec > div:first-child > div { border: 1px solid rgba(16,185,129,.16); background: linear-gradient(145deg,#ecfdf5,#d1fae5) !important; }
#addmoney-sec .wallet-method-card { position: relative; overflow: hidden; min-height: 94px; border: 1px solid rgba(148,163,184,.16) !important; border-radius: 18px !important; background: linear-gradient(155deg,#fff,#f8fafc) !important; box-shadow: 0 8px 20px rgba(15,23,42,.065); }
#addmoney-sec .wallet-method-card::after { content: ""; position: absolute; inset: 0; border-radius: inherit; opacity: 0; pointer-events: none; background: linear-gradient(115deg,transparent 20%,rgba(255,255,255,.72) 48%,transparent 76%); transform: translateX(-110%); }
#addmoney-sec .wallet-method-card:hover::after { opacity: .8; animation: pp-wallet-card-sheen 900ms ease-out both; }
#addmoney-sec .wallet-method-card.is-selected { transform: translateY(-3px); }
#addmoney-sec .wallet-method-card[data-wallet-method="bKash"].is-selected { border-color: #d91b72 !important; background: linear-gradient(145deg,#fff1f7,#ffe4ef) !important; box-shadow: 0 0 0 3px rgba(217,27,114,.1),0 12px 28px rgba(217,27,114,.16); }
#addmoney-sec .wallet-method-card[data-wallet-method="Nagad"].is-selected { border-color: #ed6d23 !important; background: linear-gradient(145deg,#fff7ed,#ffedd5) !important; box-shadow: 0 0 0 3px rgba(237,109,35,.1),0 12px 28px rgba(237,109,35,.15); }
#addmoney-sec .wallet-method-card[data-wallet-method="Rocket"].is-selected { border-color: #773db5 !important; background: linear-gradient(145deg,#f7f1ff,#eee3ff) !important; box-shadow: 0 0 0 3px rgba(119,61,181,.1),0 12px 28px rgba(119,61,181,.16); }
#addmoney-sec .wallet-method-card img { transition: transform .25s cubic-bezier(.2,.7,.2,1),filter .25s ease; }
#addmoney-sec .wallet-method-card.is-selected img { transform: translateY(-2px) scale(1.08); filter: drop-shadow(0 4px 7px rgba(15,23,42,.18)); }
#wallet-topup-form { border-color: rgba(148,163,184,.2) !important; background: linear-gradient(150deg,#f8fafc,#f0fdf7) !important; }
#wallet-topup-form > div:first-child { min-height: 62px; padding: 10px 12px; border: 1px solid rgba(16,185,129,.14); border-radius: 16px; background: linear-gradient(120deg,rgba(236,253,245,.94),rgba(240,249,255,.9)); }
#wallet-receiver-number.is-animating { color: #067a58; text-shadow: 0 3px 18px rgba(5,150,105,.2); animation: pp-wallet-receiver-float 4.2s ease-in-out infinite, pp-wallet-receiver-glow 5s linear infinite; }
#wallet-topup-form input { min-height: 52px; border-color: rgba(148,163,184,.26) !important; border-radius: 15px !important; box-shadow: 0 3px 12px rgba(15,23,42,.035); }
#wallet-topup-form button[data-csp-action="submitDeposit"] { min-height: 54px; border: 0; border-radius: 16px !important; background: linear-gradient(105deg,#0b8f68,#0b766c 48%,#1769aa) !important; box-shadow: 0 10px 22px rgba(8,126,103,.22); letter-spacing: .01em; }
#wallet-topup-form button[data-csp-action="submitDeposit"]:hover { box-shadow: 0 14px 30px rgba(8,126,103,.3); filter: saturate(1.12) brightness(1.03); }
.wallet-instructions { counter-reset: wallet-step; display: grid; gap: 9px; margin: 8px 0 0; padding: 14px 13px 14px 12px; border: 1px solid #b7e4c7; border-radius: 17px; background: linear-gradient(145deg,#effcf3,#e8f8ed 55%,#f2fbf4); color: #185b3c; font-size: 12px; font-weight: 600; line-height: 1.65; }
.wallet-instructions > ol, .wallet-instructions > ul { display: contents; margin: 0; padding: 0; list-style: none; }
.wallet-instructions > p { margin: 2px 0 0; }
.wallet-instructions li { counter-increment: wallet-step; display: grid; grid-template-columns: 26px minmax(0,1fr); align-items: start; gap: 9px; }
.wallet-instructions li::before { content: counter(wallet-step); display: grid; width: 24px; height: 24px; place-items: center; border: 1px solid rgba(22,101,52,.2); border-radius: 50%; background: linear-gradient(145deg,#d1fae5,#bbf7d0); color: #166534; font-size: 11px; font-weight: 800; line-height: 1; }
@keyframes pp-wallet-panel-sheen { 0%,52% { transform: translateX(0) skewX(-18deg); opacity: 0; } 60% { opacity: .75; } 82%,100% { transform: translateX(520%) skewX(-18deg); opacity: 0; } }
@keyframes pp-wallet-card-sheen { to { transform: translateX(110%); } }
@keyframes pp-wallet-receiver-float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-4px); } }
@keyframes pp-wallet-receiver-glow { 0%,100% { text-shadow: 0 2px 12px rgba(5,150,105,.12); } 50% { text-shadow: 0 4px 21px rgba(5,150,105,.38); } }

@media (prefers-reduced-motion: reduce) {
    #addmoney-sec > div:nth-child(2)::after,
    #addmoney-sec .wallet-method-card::after,
    #wallet-receiver-number.is-animating { animation: none !important; }
    #addmoney-sec .wallet-method-card img { transition-duration: .01ms !important; }
}

/* Mobile-first category rail: white glass cards with the requested blue type. */
#app-content .catalog-category-tabs {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 9px;
    width: 100%;
    min-height: 56px;
    margin: 2px 0 16px;
    padding: 6px 2px 10px;
    overflow-x: auto;
    overflow-y: hidden;
    overscroll-behavior-inline: contain;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
}
#app-content .catalog-category-tabs::-webkit-scrollbar { display: none; }
#app-content .catalog-category-tab {
    position: relative;
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 42px;
    padding: 0 15px;
    overflow: hidden;
    border: 1px solid rgba(59,130,246,.2);
    border-radius: 999px;
    background: linear-gradient(145deg,#fff,#f8fbff);
    color: #1763c6;
    box-shadow: 0 5px 14px rgba(30,64,175,.08), inset 0 1px 0 rgba(255,255,255,.95);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .015em;
    white-space: nowrap;
    cursor: pointer;
    transition: transform .2s cubic-bezier(.2,.7,.2,1), box-shadow .22s ease, border-color .22s ease, background .22s ease, color .22s ease;
    -webkit-tap-highlight-color: transparent;
}
#app-content .catalog-category-tab i { color: #3b82f6; font-size: 12px; }
#app-content .catalog-category-tab:hover { transform: translateY(-2px); border-color: rgba(37,99,235,.48); box-shadow: 0 9px 19px rgba(37,99,235,.14); }
#app-content .catalog-category-tab:focus-visible { outline: 3px solid rgba(59,130,246,.3); outline-offset: 2px; }
#app-content .catalog-category-tab.is-active {
    border-color: #3b82f6;
    background: linear-gradient(120deg,#eff6ff,#fff 58%,#eaf5ff);
    color: #104da9;
    box-shadow: 0 0 0 3px rgba(59,130,246,.1), 0 8px 20px rgba(37,99,235,.16), inset 0 1px 0 #fff;
}
#app-content .catalog-category-tab.is-active i { color: #1d4ed8; }
#app-content .catalog-category-tab.is-personal-tab:not(.is-active) { border-color: rgba(14,165,233,.27); }
#app-content .catalog-category-tab.is-personal-tab.is-active { background: linear-gradient(120deg,#e0f2fe,#fff 55%,#eff6ff); }
#app-content .catalog-category-tab.is-popular-tab.is-active { background: linear-gradient(120deg,#eff6ff,#fff 55%,#dbeafe); }
.catalog-tabs-loading { padding: 9px 14px; border: 1px solid #dbeafe; border-radius: 999px; background: #fff; color: #2563eb; font-size: 12px; font-weight: 700; }
#services-list .catalog-panel-section { margin: 0 0 22px; }
#services-list .catalog-section-heading {
    margin: 0 0 12px;
    padding: 2px 0 2px 11px;
    border-left: 4px solid #3b82f6;
    color: #1557ad;
    font-size: clamp(17px,4.5vw,21px);
    font-weight: 850;
    letter-spacing: -.025em;
    text-shadow: 0 2px 12px rgba(59,130,246,.13);
}
#services-list .catalog-loading-skeleton { pointer-events: none; }
#services-list .catalog-skeleton-heading { display: block; width: min(42%, 170px); height: 27px; margin: 0 0 12px; border-left: 4px solid #dbeafe; border-radius: 3px; background: linear-gradient(90deg,#eef2f7,#f7f9fc); }
#services-list .catalog-skeleton-card { min-width: 0; overflow: hidden; border: 1px solid #e6ebf2; border-radius: 12px; background: #fff; }
#services-list .catalog-skeleton-media { display: block; width: 100%; aspect-ratio: 1; background: linear-gradient(145deg,#eef2f7,#f7f9fc); }
#services-list .catalog-skeleton-copy { display: flex; min-height: 58px; flex-direction: column; justify-content: center; gap: 7px; padding: 9px; border-top: 1px solid #f1f5f9; }
#services-list .catalog-skeleton-copy i { display: block; width: 82%; height: 8px; border-radius: 999px; background: #edf1f6; }
#services-list .catalog-skeleton-copy i + i { width: 54%; }
html[data-theme="dark"] #services-list .catalog-skeleton-card { border-color: #273449; background: #151e2d; }
html[data-theme="dark"] #services-list .catalog-skeleton-heading,
html[data-theme="dark"] #services-list .catalog-skeleton-media { background: linear-gradient(145deg,#1b2638,#202d41); }
html[data-theme="dark"] #services-list .catalog-skeleton-copy { border-color: #253247; }
html[data-theme="dark"] #services-list .catalog-skeleton-copy i { background: #29364b; }
#services-list .catalog-empty-state {
    display: grid;
    justify-items: center;
    gap: 9px;
    min-height: 180px;
    margin: 2px 0 22px;
    padding: 25px 18px;
    border: 1px solid rgba(59,130,246,.16);
    border-radius: 22px;
    background: radial-gradient(circle at 50% 0%,rgba(219,234,254,.72),transparent 62%),linear-gradient(145deg,#fff,#f8fbff);
    color: #52647a;
    text-align: center;
    box-shadow: 0 10px 28px rgba(30,64,175,.07);
}
#services-list .catalog-empty-state strong { color: #1557ad; font-size: 16px; font-weight: 850; }
#services-list .catalog-empty-state > span:last-child { max-width: 34rem; font-size: 13px; line-height: 1.6; }
#services-list .catalog-empty-icon { display: grid; width: 46px; height: 46px; place-items: center; border: 1px solid #bfdbfe; border-radius: 16px; background: linear-gradient(145deg,#eff6ff,#fff); color: #2563eb; box-shadow: 0 7px 18px rgba(37,99,235,.12); }
#services-list .choice-count-badge {
    position: absolute;
    z-index: 3;
    top: 7px;
    left: 7px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    max-width: calc(100% - 14px);
    padding: 5px 7px;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,.82);
    border-radius: 999px;
    background: rgba(239,246,255,.94);
    color: #1557ad;
    box-shadow: 0 3px 12px rgba(15,23,42,.18);
    font-size: 9px;
    font-weight: 850;
    line-height: 1;
    white-space: nowrap;
    backdrop-filter: blur(8px);
}
#services-list .choice-count-badge i { color: #2563eb; }
#services-list .your-choices-grid .your-choice-card {
    z-index: 1;
    border-color: rgba(59,130,246,.4) !important;
    box-shadow: 0 10px 24px rgba(37,99,235,.18), 0 0 0 1px rgba(96,165,250,.12), 0 0 20px rgba(59,130,246,.16) !important;
    animation: pp-your-choice-float 2.8s ease-in-out infinite;
    will-change: translate;
}
#services-list .your-choices-grid .your-choice-card:nth-child(3n + 2) { animation-delay: -900ms; }
#services-list .your-choices-grid .your-choice-card:nth-child(3n) { animation-delay: -1800ms; }
#services-list .your-choices-grid .your-choice-card:hover { z-index: 2; }
@keyframes pp-your-choice-float { 0%,100% { translate: 0 0; } 50% { translate: 0 -8px; } }

.product-fulfillment-badge { display: inline-flex; align-items: center; margin: 3px 0 0 4px; padding: 2px 6px; border: 1px solid #bfdbfe; border-radius: 999px; background: #eff6ff; color: #1d4ed8; font-size: 9px; font-weight: 850; line-height: 1.35; }
.product-fulfillment-badge.is-api { border-color: #93c5fd; background: #dbeafe; color: #1e40af; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 2px; }
.product-fulfillment-badge.is-warning { border-color: #fcd34d; background: #fffbeb; color: #92400e; }
.product-stock-badge { display: inline-flex; align-items: center; margin: 3px 0 0 4px; padding: 2px 6px; border: 1px solid transparent; border-radius: 999px; font-size: 9px; font-weight: 850; line-height: 1.35; }
.product-stock-badge.is-available { border-color: #a7f3d0; background: #ecfdf5; color: #047857; }
.product-stock-badge.is-empty { border-color: #fecdd3; background: #fff1f2; color: #be123c; }
.product-availability-badge { display: inline-flex; align-items: center; margin: 4px 0 0 4px; padding: 3px 8px; border: 1px solid transparent; border-radius: 999px; font-size: 9px; font-weight: 900; letter-spacing: .035em; line-height: 1.25; text-transform: uppercase; white-space: nowrap; }
.product-availability-badge.is-in-stock { color: #087451; border-color: #a7f3d0; background: #ecfdf5; }
.product-availability-badge.is-stock-out { color: #be123c; border-color: #fecdd3; background: #fff1f2; }
#products-grid .product-card.is-stock-out { cursor: not-allowed; opacity: .72; }
#products-grid .product-card.is-stock-out:active { transform: none; }
.admin-product-availability-note { margin-top: 5px; font-size: 10px; font-weight: 700; }
.admin-product-availability-note.is-available { color: #047857; }
.admin-product-availability-note.is-unavailable { color: #be123c; }
.admin-product-availability-save { min-height: 34px; padding: 0 12px; border: 1px solid #bbf7d0; border-radius: 9px; background: #ecfdf5; color: #047857; font-size: 10px; font-weight: 850; }
.admin-product-availability-save:hover { background: #d1fae5; }
html[data-theme="dark"] .product-fulfillment-badge { border-color: rgba(96,165,250,.35); background: rgba(30,64,175,.26); color: #bfdbfe; }

html[data-theme="dark"] #app-content .catalog-category-tab {
    border-color: rgba(96,165,250,.25);
    background: linear-gradient(145deg,#17243a,#111a2b);
    color: #9cc7ff;
    box-shadow: 0 5px 15px rgba(0,0,0,.2), inset 0 1px 0 rgba(255,255,255,.045);
}
html[data-theme="dark"] #app-content .catalog-category-tab i { color: #7db5ff; }
html[data-theme="dark"] #app-content .catalog-category-tab.is-active { border-color: #60a5fa; background: linear-gradient(120deg,#1b3c68,#17243a 60%,#18314e); color: #e5f2ff; box-shadow: 0 0 0 3px rgba(59,130,246,.15),0 9px 22px rgba(0,0,0,.28); }
html[data-theme="dark"] #app-content .catalog-category-tab.is-active i { color: #93c5fd; }
html[data-theme="dark"] .catalog-tabs-loading,
html[data-theme="dark"] #services-list .catalog-empty-state { border-color: rgba(96,165,250,.2); background: radial-gradient(circle at 50% 0%,rgba(30,64,115,.35),transparent 62%),linear-gradient(145deg,#172033,#111827); color: #bdcbe0; }
html[data-theme="dark"] #services-list .catalog-section-heading,
html[data-theme="dark"] #services-list .catalog-empty-state strong { color: #9cc7ff; }
html[data-theme="dark"] #services-list .catalog-empty-icon { border-color: rgba(96,165,250,.25); background: #1d2d45; color: #93c5fd; }
html[data-theme="dark"] #services-list .choice-count-badge { border-color: rgba(191,219,254,.26); background: rgba(20,39,66,.94); color: #bfdbfe; }
html[data-theme="dark"] #services-list .your-choices-grid .your-choice-card { border-color: rgba(96,165,250,.55) !important; }
@media (min-width: 768px) {
    #app-content .catalog-category-tabs { flex-wrap: wrap; overflow: visible; }
}
@media (prefers-reduced-motion: reduce) {
    #app-content .catalog-category-tab,
    #services-list .your-choices-grid .your-choice-card { animation: none !important; transition-duration: .01ms !important; }
    #services-list .your-choices-grid .your-choice-card { translate: 0 0 !important; }
}
