/* ══════════════════════════════════════════════
   HYPERKEY DESIGN SYSTEM
   ══════════════════════════════════════════════ */

/* ── BASE ─────────────────────────────────── */

html {
    scroll-behavior: smooth;
    scroll-padding-top: 92px;
}

/* ══════════════════════════════════════════════
   HYPERKEY DESIGN SYSTEM — TOKENS
   Inspired by Stripe, Linear, Vercel, Framer
   ══════════════════════════════════════════════ */

:root {
    /* ── Brand Colors (unchanged) ── */
    --gv-ink: #181715;
    --gv-muted: #64686e;
    --gv-primary: #ff6a13;
    --gv-primary-dark: #d94f05;
    --gv-cyan: #8f969f;
    --gv-lime: #ffc07a;
    --gv-violet: #7c4de0;
    --gv-violet-glow: rgba(124, 77, 224, 0.24);
    --gv-panel: #ffffff;
    --gv-soft: #f3f1ed;
    --gv-border: rgba(24, 23, 21, 0.10);
    --gv-glow: rgba(255, 106, 19, 0.28);
    --gv-shadow: rgba(24, 23, 21, 0.08);
    --bs-body-bg: #f7f5f0;
    --bs-body-color: #181715;
    --font-display: Manrope, "Cairo", Arial, system-ui, sans-serif;

    /* ── Spacing (8px system) ── */
    --space-1: 4px;
    --space-2: 8px;
    --space-3: 12px;
    --space-4: 16px;
    --space-5: 24px;
    --space-6: 32px;
    --space-7: 48px;
    --space-8: 64px;
    --space-9: 96px;

    /* ── Border Radius ── */
    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-2xl: 32px;
    --radius-full: 9999px;

    /* ── Elevation Shadows ── */
    --shadow-xs: 0 1px 3px rgba(24, 23, 21, 0.06), 0 1px 2px rgba(24, 23, 21, 0.04);
    --shadow-sm: 0 2px 8px rgba(24, 23, 21, 0.06), 0 1px 3px rgba(24, 23, 21, 0.04);
    --shadow-md: 0 8px 24px rgba(24, 23, 21, 0.08), 0 2px 6px rgba(24, 23, 21, 0.04);
    --shadow-lg: 0 16px 48px rgba(24, 23, 21, 0.10), 0 4px 12px rgba(24, 23, 21, 0.06);
    --shadow-xl: 0 32px 80px rgba(24, 23, 21, 0.14), 0 8px 24px rgba(24, 23, 21, 0.08);

    /* ── Legacy shadow tokens (mapped to new system) ── */
    --shadow-card: var(--shadow-sm);
    --shadow-card-hover: var(--shadow-md);
    --shadow-elevated: var(--shadow-lg);
    --card-highlight: rgba(24, 23, 21, 0.04);

    /* ── Transitions ── */
    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
    --duration-fast: 200ms;
    --duration-normal: 300ms;
    --duration-slow: 500ms;

    /* ── Animation ── */
    --reveal-y: 20px;
}

[data-bs-theme="dark"] {
    --gv-ink: #f4f2ee;
    --gv-muted: #a9adb4;
    --gv-primary: #ff7a1a;
    --gv-primary-dark: #ff9b3d;
    --gv-cyan: #c2c7cf;
    --gv-lime: #ffbd72;
    --gv-violet: #9d7bf5;
    --gv-violet-glow: rgba(157, 123, 245, 0.34);
    --gv-panel: #131313;
    --gv-soft: #1e1e1e;
    --gv-border: rgba(255, 255, 255, 0.10);
    --gv-glow: rgba(255, 106, 19, 0.36);
    --gv-shadow: rgba(0, 0, 0, 0.32);
    --bs-body-bg: #0a0a0a;
    --bs-body-color: #f4f2ee;

    --shadow-xs: 0 1px 3px rgba(0, 0, 0, 0.20), 0 1px 2px rgba(0, 0, 0, 0.10);
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.24), 0 1px 3px rgba(0, 0, 0, 0.12);
    --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.30), 0 2px 6px rgba(0, 0, 0, 0.14);
    --shadow-lg: 0 16px 48px rgba(0, 0, 0, 0.36), 0 4px 12px rgba(0, 0, 0, 0.18);
    --shadow-xl: 0 32px 80px rgba(0, 0, 0, 0.42), 0 8px 24px rgba(0, 0, 0, 0.22);

    --shadow-card: var(--shadow-sm);
    --shadow-card-hover: var(--shadow-md);
    --shadow-elevated: var(--shadow-lg);
    --card-highlight: rgba(255, 255, 255, 0.04);
}

body {
    background: var(--bs-body-bg);
    color: var(--gv-ink);
    font-family: Manrope, Arial, system-ui, sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.home-hero h1,
.home-hero .eyebrow,
.home-section-compact h2,
.hero-console-top strong,
#productPageTitle,
.price,
.product-price {
    font-family: var(--font-display);
    letter-spacing: 0.01em;
}

a {
    color: inherit;
}

.fw-black {
    font-weight: 850;
}

.ltr-value,
.phone-ltr,
.guide-form-control,
.guide-mini-input,
.order-id-display,
.payment-recipient-card code,
.delivery-code-row code {
    direction: ltr;
    text-align: left;
    unicode-bidi: isolate;
}

input[type="tel"],
input[inputmode="tel"] {
    direction: ltr;
    text-align: left;
    unicode-bidi: plaintext;
}

.form-control:focus,
.form-select:focus {
    border-color: var(--gv-primary);
    box-shadow: 0 0 0 3px var(--gv-glow);
}

[dir="rtl"] .ltr-value,
[dir="rtl"] .phone-ltr,
[dir="rtl"] .guide-form-control,
[dir="rtl"] .guide-mini-input,
[dir="rtl"] .order-id-display,
[dir="rtl"] .payment-recipient-card code,
[dir="rtl"] .delivery-code-row code,
[dir="rtl"] input[type="tel"],
[dir="rtl"] input[inputmode="tel"] {
    direction: ltr;
    text-align: left;
}

/* ── NAVBAR ───────────────────────────────── */

.navbar {
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    backdrop-filter: blur(16px) saturate(180%);
    -webkit-backdrop-filter: blur(16px) saturate(180%);
    background: rgba(255, 255, 255, 0.78) !important;
    border-bottom: 1px solid var(--gv-border);
    transition: background var(--duration-normal) var(--ease-out),
                box-shadow var(--duration-normal) var(--ease-out);
}

[data-bs-theme="dark"] .navbar {
    background: rgba(10, 10, 10, 0.80) !important;
}

.navbar-brand {
    align-items: center;
    display: inline-flex;
    gap: 10px;
    line-height: 1.1;
}

.brand-mark {
    align-items: center;
    background: #050505;
    border-radius: var(--radius-md);
    box-shadow: 0 0 0 1px rgba(255, 122, 26, 0.30), 0 8px 20px var(--gv-glow);
    display: inline-flex;
    height: 42px;
    justify-content: center;
    margin-right: 0;
    overflow: hidden;
    flex: 0 0 auto;
    width: 42px;
    transition: box-shadow var(--duration-fast) var(--ease-out);
}

.brand-mark img {
    animation: logoBreath 4.8s ease-in-out infinite;
    display: block;
    height: 100%;
    mix-blend-mode: screen;
    object-fit: contain;
    transition: transform 220ms var(--ease-out);
    width: 100%;
}

.navbar-brand:hover .brand-mark {
    box-shadow: 0 0 0 1px rgba(255, 122, 26, 0.50), 0 10px 28px var(--gv-glow);
}

.navbar-brand:hover .brand-mark img {
    transform: scale(1.08) rotate(-2deg);
}

.nav-link {
    font-weight: 650;
    padding: 0.5rem 0.85rem !important;
    border-radius: var(--radius-sm);
    transition: background var(--duration-fast) var(--ease-out),
                color var(--duration-fast) var(--ease-out);
}

.nav-link:hover {
    background: rgba(255, 122, 26, 0.08);
    color: var(--gv-primary);
}

/* Active nav indicator */
.nav-link.active {
    background: rgba(255, 122, 26, 0.10);
    color: var(--gv-primary);
    font-weight: 750;
}

.nav-link:hover,
.nav-link:focus {
    color: var(--gv-primary);
    transform: translateY(-1px);
}

/* ── Seller unread alert ─────────────────── */
.aff-unread-alert {
    align-items: center;
    background: linear-gradient(135deg, rgba(255, 106, 19, 0.08), rgba(255, 106, 19, 0.03));
    border: 1px solid rgba(255, 106, 19, 0.35);
    border-radius: var(--radius-md);
    color: var(--gv-ink);
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: space-between;
    margin-bottom: var(--space-4);
    padding: 12px 16px;
}

.aff-unread-alert > i { color: var(--gv-primary); font-size: 1.15rem; }

.aff-unread-alert > span { font-weight: 650; line-height: 1.4; }

.aff-unread-alert .btn { white-space: nowrap; }

/* ── BUTTONS ──────────────────────────────── */

.btn {
    border-radius: var(--radius-md);
    font-weight: 700;
    overflow: hidden;
    position: relative;
    padding: 0.6rem 1.25rem;
    transition: background var(--duration-fast) var(--ease-out),
                border-color var(--duration-fast) var(--ease-out),
                box-shadow var(--duration-fast) var(--ease-out),
                color var(--duration-fast) var(--ease-out),
                transform var(--duration-normal) var(--ease-out);
}

.btn:active {
    transform: scale(0.97);
}

/* Primary */
.btn-primary {
    background: linear-gradient(135deg, var(--gv-primary), var(--gv-primary-dark));
    border: 0;
    box-shadow: var(--shadow-md), 0 0 0 1px rgba(255, 255, 255, 0.08) inset;
    color: #fff;
    font-weight: 750;
    padding: 0.7rem 1.5rem;
}

.btn-primary:hover,
.btn-primary:focus {
    background: linear-gradient(135deg, var(--gv-primary-dark), var(--gv-primary));
    box-shadow: var(--shadow-lg), 0 0 30px var(--gv-glow), 0 0 0 1px rgba(255, 255, 255, 0.12) inset;
    color: #fff;
    transform: translateY(-2px);
}

.btn-primary:active {
    transform: scale(0.97) translateY(0);
}

.whatsapp-order-button {
    align-items: center;
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.25), transparent 42%),
        linear-gradient(135deg, #25d366 0%, #15b95b 58%, #0f8f49 100%);
    border: 1px solid rgba(37, 211, 102, 0.7);
    box-shadow:
        0 16px 34px rgba(37, 211, 102, 0.2),
        0 0 0 1px rgba(255, 122, 26, 0.15) inset;
    border-radius: var(--radius-md);
    color: #04140a;
    display: inline-flex;
    font-weight: 800;
    gap: 10px;
    justify-content: center;
    letter-spacing: 0;
    min-height: 54px;
    padding: 14px 22px;
    text-align: center;
}

.whatsapp-order-button:hover,
.whatsapp-order-button:focus {
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.36), transparent 42%),
        linear-gradient(135deg, #31e879 0%, #1bc765 58%, #109b4f 100%);
    border-color: rgba(37, 211, 102, 0.95);
    box-shadow:
        0 20px 44px rgba(37, 211, 102, 0.34),
        0 0 0 3px rgba(255, 122, 26, 0.12);
    color: #04140a;
    transform: translateY(-4px) scale(1.02);
}

.whatsapp-order-button i {
    align-items: center;
    background: rgba(255, 255, 255, 0.35);
    border-radius: 999px;
    display: inline-flex;
    flex: 0 0 auto;
    font-size: 1.25rem;
    height: 34px;
    justify-content: center;
    margin-right: 0 !important;
    width: 34px;
}

.whatsapp-order-button-lg {
    border-radius: var(--radius-lg);
    font-size: 1.05rem;
    min-height: 58px;
}

.whatsapp-order-button--compact {
    animation: none;
    box-shadow: none;
    min-height: 44px;
    padding: 10px 18px;
}

.whatsapp-order-button--compact i {
    font-size: 1rem;
    height: 26px;
    width: 26px;
}

.theme-toggle {
    align-items: center;
    display: inline-flex;
    height: 38px;
    justify-content: center;
    margin-right: 16px;
    width: 42px;
}

[data-bs-theme="dark"] .bg-white,
[data-bs-theme="dark"] .bg-body-tertiary {
    background-color: #0d0d0d !important;
}

[data-bs-theme="dark"] .border-bottom {
    border-color: var(--gv-border) !important;
}

[data-bs-theme="dark"] .btn-outline-dark {
    border: 1.5px solid rgba(255, 255, 255, 0.15);
    color: #f4f2ee;
    background: transparent;
}

[data-bs-theme="dark"] .btn-outline-dark:hover,
[data-bs-theme="dark"] .btn-outline-dark:focus {
    background: rgba(255, 122, 26, 0.10);
    border-color: rgba(255, 122, 26, 0.4);
    color: var(--gv-primary);
    transform: translateY(-1px);
}

.cart-count {
    position: absolute;
    right: -6px;
    top: -6px;
    transform-origin: center;
}

.cart-add-popup {
    align-items: flex-start;
    background:
        linear-gradient(135deg, rgba(255, 122, 26, 0.14), transparent 42%),
        var(--gv-panel);
    border: 1px solid rgba(255, 122, 26, 0.3);
    border-radius: var(--radius-lg);
    box-shadow: 0 28px 78px rgba(0, 0, 0, 0.38), 0 0 44px rgba(255, 122, 26, 0.2);
    display: grid;
    gap: 14px;
    grid-template-columns: auto minmax(0, 1fr);
    max-width: min(440px, calc(100vw - 28px));
    opacity: 0;
    padding: 18px;
    pointer-events: none;
    position: fixed;
    right: 18px;
    top: 86px;
    transform: translateY(-18px) scale(0.96);
    transition: opacity 220ms ease, transform 260ms cubic-bezier(0.16, 1, 0.3, 1);
    width: 440px;
    z-index: 1085;
}

.cart-add-popup.is-visible {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0) scale(1);
}

.cart-add-popup.is-hiding {
    animation: popupCrossOut 280ms ease both;
}

.cart-add-popup-close {
    align-items: center;
    background: var(--gv-soft);
    border: 1px solid var(--gv-border);
    border-radius: var(--radius-sm);
    color: var(--gv-ink);
    display: inline-flex;
    height: 36px;
    justify-content: center;
    position: absolute;
    right: 14px;
    top: 14px;
    width: 36px;
}

.cart-add-popup-icon {
    align-items: center;
    background: var(--gv-primary);
    border-radius: var(--radius-sm);
    box-shadow: 0 14px 34px rgba(255, 122, 26, 0.34);
    color: #17110b;
    display: inline-flex;
    font-size: 1.45rem;
    height: 52px;
    justify-content: center;
    width: 52px;
}

.cart-add-popup-body {
    min-width: 0;
    padding-right: 34px;
}

.cart-add-popup-body strong,
.cart-add-popup-body span {
    display: block;
}

.cart-add-popup-body strong {
    font-size: 1.08rem;
    font-weight: 950;
    margin-bottom: 3px;
}

.cart-add-popup-body span {
    color: var(--gv-muted);
    font-size: 0.92rem;
}

.cart-add-popup-stats {
    display: grid;
    gap: 10px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-top: 14px;
}

.cart-add-popup-stats div {
    background: var(--gv-soft);
    border: 1px solid var(--gv-border);
    border-radius: var(--radius-sm);
    padding: 12px 14px;
}

.cart-add-popup-stats small,
.cart-add-popup-stats b {
    display: block;
}

.cart-add-popup-stats small {
    color: var(--gv-muted);
    font-size: 0.76rem;
    font-weight: 850;
    margin-bottom: 3px;
}

.cart-add-popup-stats b {
    color: var(--gv-primary);
    font-size: 1.05rem;
    font-weight: 950;
}

.cart-add-popup-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 12px;
}

.hero {
    animation: heroShift 16s ease-in-out infinite;
    background:
        linear-gradient(120deg, rgba(255, 106, 19, 0.18), transparent 38%),
        linear-gradient(250deg, rgba(143, 150, 159, 0.24), transparent 42%),
        linear-gradient(135deg, #fff7ed, #f2f1ee 48%, #e8ebee);
    background-size: 180% 180%;
}

[data-bs-theme="dark"] .hero {
    background:
        linear-gradient(120deg, rgba(255, 106, 19, 0.22), transparent 34%),
        linear-gradient(250deg, rgba(194, 199, 207, 0.12), transparent 42%),
        linear-gradient(135deg, #080808, #151311 50%, #1b120b);
}

.eyebrow {
    color: var(--gv-primary);
    font-size: 0.82rem;
    font-weight: 850;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

/* ── HERO ─────────────────────────────────── */

.home-hero {
    background:
        radial-gradient(circle at 8% 20%, rgba(255, 106, 19, 0.20), transparent 40%),
        radial-gradient(circle at 85% 70%, rgba(124, 77, 224, 0.12), transparent 35%),
        linear-gradient(160deg, #070707 0%, #11100f 50%, #1a0e06 100%);
    color: #f7f4ef;
    overflow: hidden;
    padding: clamp(3.5rem, 7vw, 6rem) 0 clamp(2.5rem, 5vw, 4.5rem);
    position: relative;
}

/* Hero animated gradient blobs */
.home-hero::before {
    animation: heroBlob1 12s ease-in-out infinite alternate;
    background: radial-gradient(circle at center, rgba(255, 106, 19, 0.15), transparent 70%);
    content: "";
    height: 600px;
    left: -10%;
    pointer-events: none;
    position: absolute;
    top: -20%;
    width: 600px;
    will-change: transform;
}

.home-hero::after {
    animation: heroBlob2 16s ease-in-out infinite alternate;
    background: radial-gradient(circle at center, rgba(124, 77, 224, 0.12), transparent 60%);
    bottom: -15%;
    content: "";
    height: 500px;
    pointer-events: none;
    position: absolute;
    right: -5%;
    width: 500px;
    will-change: transform;
}

.home-hero .container {
    position: relative;
    z-index: 2;
}

.home-hero .display-3 {
    line-height: 1.05;
    max-width: 780px;
    text-wrap: balance;
    letter-spacing: -0.02em;
}

.home-hero-copy {
    color: rgba(247, 244, 239, 0.70);
    font-size: clamp(1.05rem, 2vw, 1.2rem);
    line-height: 1.7;
    max-width: 620px;
}

.home-hero-ctas {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

.hero-primary-cta {
    align-items: center;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg), 0 0 40px rgba(255, 122, 26, 0.30);
    display: inline-flex;
    min-height: 54px;
    padding: 0 28px;
    font-size: 1.05rem;
}

.hero-primary-cta:hover {
    box-shadow: var(--shadow-xl), 0 0 60px rgba(255, 122, 26, 0.40);
}

.home-hero .hero-secondary-cta {
    align-items: center;
    background: rgba(255, 255, 255, 0.04);
    border: 1.5px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--radius-md);
    color: rgba(255, 255, 255, 0.80);
    display: inline-flex;
    font-size: 0.95rem;
    min-height: 48px;
    padding: 0 22px;
    transition: background var(--duration-fast) var(--ease-out),
                border-color var(--duration-fast) var(--ease-out),
                color var(--duration-fast) var(--ease-out),
                transform var(--duration-normal) var(--ease-out);
}

.home-hero .hero-secondary-cta:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.25);
    color: #ffffff;
    transform: translateY(-1px);
}

.hero-delivery-note {
    align-items: center;
    color: rgba(255, 255, 255, 0.65);
    display: inline-flex;
    font-size: 0.88rem;
    font-weight: 700;
    gap: 8px;
    padding: 10px 4px;
}

.hero-delivery-note i {
    color: var(--gv-primary);
    filter: drop-shadow(0 0 10px rgba(255, 122, 26, 0.40));
}

.home-hero .btn-outline-dark {
    border-color: rgba(255, 255, 255, 0.18);
    color: #ffffff;
    background: transparent;
}

.home-hero .btn-outline-dark:hover,
.home-hero .btn-outline-dark:focus {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.30);
    color: #ffffff;
    transform: translateY(-1px);
}

.home-trust-strip {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.home-trust-strip span {
    align-items: center;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-full);
    color: rgba(255, 255, 255, 0.75);
    display: inline-flex;
    font-size: 0.88rem;
    font-weight: 650;
    gap: 7px;
    padding: 8px 16px;
    transition: background var(--duration-fast) var(--ease-out),
                border-color var(--duration-fast) var(--ease-out);
}

.home-trust-strip span:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.15);
}

.home-trust-strip i {
    color: var(--gv-primary);
}

.hero-console {
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.06), transparent),
        rgba(16, 16, 16, 0.92);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg), 0 0 60px rgba(255, 122, 26, 0.12);
    padding: clamp(1.25rem, 4vw, 2rem);
    position: relative;
    transition: box-shadow var(--duration-normal) var(--ease-out);
}

.hero-console:hover {
    box-shadow: var(--shadow-lg), 0 0 80px rgba(255, 122, 26, 0.18);
}

.hero-console-top {
    align-items: center;
    display: flex;
    gap: 14px;
    margin-bottom: 22px;
}

.hero-logo-mark {
    flex: 0 0 auto;
    height: 64px;
    margin-right: 0;
    width: 64px;
}

.hero-console-top strong {
    color: #ffffff;
    display: block;
    font-size: clamp(1.24rem, 2.5vw, 1.82rem);
    letter-spacing: 0;
    line-height: 1.1;
}

.hero-payment-list {
    display: grid;
    gap: 12px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.hero-payment-list > div {
    align-items: flex-start;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    background: rgba(255, 255, 255, 0.04);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-lg);
    display: grid;
    gap: 6px;
    min-height: 126px;
    padding: 20px;
    transition: background var(--duration-fast) var(--ease-out),
                border-color var(--duration-fast) var(--ease-out),
                box-shadow var(--duration-normal) var(--ease-out),
                transform var(--duration-normal) var(--ease-out);
}

.hero-payment-list > div:hover {
    background: rgba(255, 122, 26, 0.10);
    border-color: rgba(255, 122, 26, 0.35);
    box-shadow: 0 16px 40px rgba(255, 122, 26, 0.15);
    transform: translateY(-4px);
}

.hero-payment-list i {
    align-items: center;
    background: rgba(255, 122, 26, 0.12);
    border-radius: var(--radius-md);
    color: var(--gv-primary);
    display: inline-flex;
    font-size: 1.25rem;
    height: 42px;
    justify-content: center;
    margin-bottom: 10px;
    width: 42px;
    transition: background var(--duration-fast) var(--ease-out);
}

.hero-payment-list > div:hover i {
    background: rgba(255, 122, 26, 0.20);
}

.hero-payment-list span {
    color: rgba(255, 255, 255, 0.72);
    display: block;
    font-size: 0.85rem;
    font-weight: 750;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.hero-payment-list strong {
    color: #ffffff;
    display: block;
    font-size: clamp(0.98rem, 1.8vw, 1.12rem);
}

.home-quick-steps {
    background: #0d0d0d;
    border-top: 1px solid rgba(255, 122, 26, 0.18);
    color: #f7f4ef;
    padding: 24px 0;
}

.quick-steps-layout {
    align-items: center;
    display: grid;
    gap: 18px;
    grid-template-columns: minmax(180px, 0.45fr) minmax(0, 1.55fr);
}

.quick-steps-heading h2 {
    color: #ffffff;
}

.quick-steps-grid {
    display: grid;
    gap: 12px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.quick-steps-grid article {
    align-items: flex-start;
    background:
        linear-gradient(135deg, rgba(255, 122, 26, 0.1), transparent 46%),
        rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-md);
    display: flex;
    gap: 14px;
    min-height: 112px;
    padding: 18px;
}

.quick-steps-grid article > span {
    align-items: center;
    background: var(--gv-primary);
    border-radius: var(--radius-sm);
    color: #17110b;
    display: inline-flex;
    flex: 0 0 auto;
    font-weight: 800;
    height: 36px;
    justify-content: center;
    width: 36px;
}

.quick-steps-grid strong {
    color: #ffffff;
    display: block;
    font-size: 1rem;
    margin-bottom: 5px;
}

.quick-steps-grid p {
    color: rgba(247, 244, 239, 0.72);
    font-size: 0.93rem;
    line-height: 1.45;
    margin: 0;
}

.home-band {
    background: rgba(255, 255, 255, 0.56);
    border-bottom: 1px solid var(--gv-border);
    border-top: 1px solid var(--gv-border);
}

[data-bs-theme="dark"] .home-band {
    background: rgba(255, 255, 255, 0.035);
}

.home-section-compact {
    padding: clamp(2rem, 4vw, 3rem) 0;
}

.section-heading-row {
    align-items: end;
    display: flex;
    gap: 18px;
    justify-content: space-between;
    margin-bottom: 22px;
}

#homeCategoryGrid .category-card {
    align-items: flex-start;
    background:
        linear-gradient(135deg, rgba(255, 122, 26, 0.08), transparent 42%),
        var(--gv-panel);
    flex-direction: column;
    min-height: 148px;
    overflow: hidden;
    position: relative;
}

#homeCategoryGrid .category-card::after {
    background: var(--gv-primary);
    bottom: 20px;
    content: "";
    height: 3px;
    left: 24px;
    position: absolute;
    transition: width 250ms ease;
    width: 28px;
}

#homeCategoryGrid .category-card:hover::after {
    width: calc(100% - 48px);
}

#homeCategoryGrid .category-card i {
    box-shadow: 0 12px 24px rgba(255, 122, 26, 0.14);
}

.category-photo {
    align-items: center;
    background: var(--gv-soft);
    border-radius: var(--radius-sm);
    display: inline-block;
    height: 48px;
    object-fit: cover;
    width: 48px;
}

.product-variation-chip {
    background: var(--gv-soft);
    border: 1px solid var(--gv-border);
    border-radius: var(--radius-xl);
    cursor: pointer;
    font-weight: 600;
    min-height: 40px;
    padding: 8px 18px;
    transition: border-color 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.product-variation-chip:hover,
.product-variation-chip:focus-visible {
    border-color: var(--gv-primary);
    background: rgba(255, 122, 26, 0.08);
}

.product-variation-chip.active {
    background: var(--gv-primary);
    border-color: var(--gv-primary);
    color: #17110b;
    font-weight: 700;
}

#homeCategoryGrid .category-card span {
    font-size: 1.12rem;
}

#homeCategoryGrid .category-card small {
    color: var(--gv-muted);
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    line-height: 1.45;
    overflow: hidden;
}

.home-process {
    align-items: start;
    display: grid;
    gap: 28px;
    grid-template-columns: minmax(240px, 0.78fr) minmax(0, 1.65fr);
}

.process-steps {
    display: grid;
    gap: 14px;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
}

.process-steps div {
    background: var(--gv-panel);
    border: 1px solid var(--gv-border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-card);
    min-height: 152px;
    padding: 22px;
    position: relative;
    overflow: hidden;
    transition: border-color 250ms ease, box-shadow 250ms ease, transform 250ms ease;
}

.process-steps div::after {
    background: linear-gradient(90deg, transparent, var(--card-highlight), transparent);
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
    content: "";
    height: 1px;
    left: 1px;
    position: absolute;
    right: 1px;
    top: 0;
}

.process-steps div:hover {
    border-color: rgba(255, 122, 26, 0.42);
    box-shadow: var(--shadow-card-hover);
    transform: translateY(-4px);
}

.process-steps i {
    align-items: center;
    background: var(--gv-soft);
    border-radius: var(--radius-sm);
    color: var(--gv-primary);
    display: inline-flex;
    font-size: 1.35rem;
    height: 48px;
    justify-content: center;
    margin-bottom: 20px;
    width: 48px;
}

.process-steps strong,
.process-steps span {
    display: block;
}

.process-steps strong {
    font-size: 0.98rem;
    margin-bottom: 8px;
}

.process-steps span {
    color: var(--gv-muted);
    line-height: 1.45;
}

#featuredProducts .product-card .card-body {
    padding: 1rem;
}

#featuredProducts .product-card p.text-secondary {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    min-height: 2.9em;
    overflow: hidden;
}

.hero-media,
.product-showcase {
    border-radius: var(--radius-lg);
    overflow: hidden;
    position: relative;
}

.hero-media {
    min-height: 430px;
}

.product-showcase {
    aspect-ratio: 1 / 1;
    min-height: 0;
}

.hero-media img {
    animation: mediaDrift 18s ease-in-out infinite alternate;
    height: 100%;
    min-height: 430px;
    object-fit: cover;
    width: 100%;
}

.floating-card {
    align-items: center;
    background: #ffffff;
    border-radius: var(--radius-md);
    bottom: 24px;
    box-shadow: var(--shadow-elevated);
    display: flex;
    gap: 16px;
    left: 24px;
    max-width: calc(100% - 48px);
    padding: 18px 22px;
    position: absolute;
}

[data-bs-theme="dark"] .floating-card {
    background: #171614;
}

.floating-card i,
.service-card i {
    color: var(--gv-primary);
    font-size: 1.6rem;
}

.floating-card span,
.trust-row span {
    color: var(--gv-muted);
    display: block;
    font-size: 0.85rem;
}

.floating-card strong,
.trust-row strong {
    display: block;
    font-size: 1.25rem;
}

.trust-row {
    display: grid;
    gap: 16px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

/* ── CARDS ─────────────────────────────────── */

.category-card,
.service-card,
.content-panel,
.summary-card {
    background: var(--gv-panel);
    border: 1px solid var(--gv-border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    transition: box-shadow var(--duration-normal) var(--ease-out),
                transform var(--duration-normal) var(--ease-out);
}

.category-card:hover,
.service-card:hover,
.content-panel:hover,
.summary-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.content-panel--narrow {
    max-width: 420px;
    margin: 0 auto;
}

[data-bs-theme="dark"] .category-card,
[data-bs-theme="dark"] .service-card,
[data-bs-theme="dark"] .content-panel,
[data-bs-theme="dark"] .summary-card,
[data-bs-theme="dark"] .product-card {
    background: var(--gv-panel);
}

/* Category card variants */
.category-card {
    align-items: center;
    display: flex;
    gap: 16px;
    min-height: 94px;
    padding: 20px 24px;
    text-decoration: none;
}

.category-card i {
    align-items: center;
    background: linear-gradient(135deg, var(--gv-primary), var(--gv-violet));
    border-radius: var(--radius-md);
    color: #ffffff;
    display: inline-flex;
    font-size: 1.3rem;
    height: 46px;
    justify-content: center;
    width: 46px;
    transition: transform var(--duration-fast) var(--ease-out);
}

.category-card:hover i {
    transform: scale(1.08);
}

.category-card span {
    font-weight: 700;
    font-size: 0.95rem;
}

.catalog-category-card {
    align-items: flex-start;
    flex-direction: column;
    min-height: 150px;
}

.catalog-category-card small {
    color: var(--gv-muted);
    line-height: 1.35;
}

.catalog-category-card strong {
    color: var(--gv-primary);
    font-size: 0.92rem;
}

.product-section-heading {
    margin-bottom: 24px;
    margin-top: 56px;
}

.product-section-heading:first-of-type {
    margin-top: 0;
}

/* Filter chips */
.filter-pills .btn {
    border: 1.5px solid var(--gv-border);
    border-radius: var(--radius-full);
    padding: 0.4rem 1rem;
    font-size: 0.88rem;
    font-weight: 650;
    color: var(--gv-muted);
    background: transparent;
    transition: all var(--duration-fast) var(--ease-out);
}

.filter-pills .btn:hover,
.filter-pills .btn.active {
    border-color: var(--gv-primary);
    color: var(--gv-primary);
    background: rgba(255, 122, 26, 0.08);
}

/* Product cards */
.product-card {
    border: 0;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    position: relative;
    transition: box-shadow var(--duration-normal) var(--ease-out),
                transform var(--duration-normal) var(--ease-out);
}

.product-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-4px);
}

.product-card img {
    transition: transform var(--duration-slow) var(--ease-out);
}

.product-card:hover img {
    transform: scale(1.03);
}

/* Product card inner refinements */
.product-card .card-body {
    padding: 1rem 1rem 1.1rem;
}

.product-card .card-body .h6 {
    font-weight: 700;
}

.product-card .card-body .border-top {
    margin: 0 -1rem 0;
    padding: 0.75rem 1rem 0;
}

.product-card .card-body .price {
    font-size: 1.1rem;
}

.product-card .card-body .btn.rounded-pill {
    padding: 0.3rem 0.85rem;
    font-size: 0.82rem;
}

.product-card .card-body > .d-flex.justify-content-between > [data-add-to-cart] {
    flex-shrink: 0;
    white-space: nowrap;
}

.product-cta-row .btn {
    flex-shrink: 0;
    white-space: nowrap;
}

/* Pagination */
.pagination {
    gap: 4px;
}

.page-link {
    border-radius: var(--radius-md);
    border: 1px solid var(--gv-border);
    color: var(--gv-muted);
    font-weight: 600;
    min-width: 40px;
    text-align: center;
    transition: all var(--duration-fast) var(--ease-out);
}

.page-link:hover {
    background: rgba(255, 122, 26, 0.08);
    border-color: var(--gv-primary);
    color: var(--gv-primary);
}

.page-item.active .page-link {
    background: var(--gv-primary);
    border-color: var(--gv-primary);
    color: #17110b;
}

/* Breadcrumb refinement */
.breadcrumb {
    background: transparent;
    font-size: 0.88rem;
    padding: 0;
}

.breadcrumb-item a {
    color: var(--gv-muted);
    text-decoration: none;
    transition: color var(--duration-fast) var(--ease-out);
}

.breadcrumb-item a:hover {
    color: var(--gv-primary);
}

/* Product detail page showcase enhancements */
.product-showcase {
    border-radius: var(--radius-xl);
    overflow: hidden;
}

.product-showcase i {
    font-size: 6rem;
    opacity: 0.9;
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.3));
}

/* Variation chips refinement */
.product-variation-chip {
    border-radius: var(--radius-full);
    font-size: 0.9rem;
    min-height: 42px;
}

.product-variation-chip.active {
    background: var(--gv-primary);
    border-color: var(--gv-primary);
    color: #17110b;
    box-shadow: 0 2px 8px rgba(255, 122, 26, 0.25);
}

/* Info list refinement */
.info-list {
    display: grid;
    gap: 10px;
}

.info-list div {
    align-items: center;
    display: flex;
    gap: 10px;
    font-size: 0.95rem;
    padding: 8px 12px;
    background: var(--gv-soft);
    border-radius: var(--radius-sm);
}

.info-list i {
    color: #1c9c53;
    font-size: 1.1rem;
    flex-shrink: 0;
}

/* Search bar refinement */
.search-bar {
    border-radius: var(--radius-full);
    border: 1.5px solid var(--gv-border);
    min-height: 46px;
    padding-left: 1rem;
    padding-right: 1rem;
    transition: border-color var(--duration-fast) var(--ease-out), box-shadow var(--duration-fast) var(--ease-out);
}

.search-bar:focus {
    border-color: var(--gv-primary);
    box-shadow: 0 0 0 3px rgba(255, 122, 26, 0.15);
    outline: none;
}

/* Search bar group for marketplace */
.search-bar-group {
    border-radius: var(--radius-full);
    overflow: hidden;
}

.search-bar-group .search-bar {
    border: 1.5px solid var(--gv-border);
    border-left: 0;
    border-radius: 0 var(--radius-full) var(--radius-full) 0;
    min-height: 46px;
}

.search-bar-prepend {
    background: transparent;
    border: 1.5px solid var(--gv-border);
    border-radius: var(--radius-full) 0 0 var(--radius-full);
    border-right: 0;
    color: var(--gv-muted);
    padding-left: 1.2rem;
    padding-right: 0.6rem;
}

.search-bar-group:focus-within .search-bar,
.search-bar-group:focus-within .search-bar-prepend {
    border-color: var(--gv-primary);
}

.search-bar-group:focus-within .search-bar-prepend {
    color: var(--gv-primary);
}

/* Sold-by badge refinement */
.sold-by-badge {
    background: color-mix(in srgb, var(--gv-primary) 12%, transparent);
    border: 1px solid color-mix(in srgb, var(--gv-primary) 20%, transparent);
    border-radius: var(--radius-full);
    color: var(--gv-primary);
    font-size: 0.78rem;
    padding: 0.15rem 0.7rem;
}

.chip-angled {
    clip-path: polygon(8px 0, 100% 0, calc(100% - 8px) 100%, 0 100%);
    border-radius: 0;
    padding-left: 10px;
    padding-right: 10px;
}

.category-chip {
    background: color-mix(in srgb, var(--gv-violet) 18%, transparent);
    color: var(--gv-violet);
    border: 1px solid color-mix(in srgb, var(--gv-violet) 25%, transparent);
    border-radius: var(--radius-sm);
    font-size: 0.82rem;
    padding: 0.2rem 0.6rem;
    transition: all var(--duration-fast) var(--ease-out);
}

.category-chip:hover {
    background: color-mix(in srgb, var(--gv-violet) 28%, transparent);
    border-color: var(--gv-violet);
}

.stock-chip--available {}

@media (min-width: 992px) and (max-width: 1199.98px) {
    #categoryGrid > .col-lg-3 {
        flex: 0 0 33.3333%;
        max-width: 33.3333%;
    }
}

.product-art {
    aspect-ratio: 1 / 1;
    align-items: center;
    color: #ffffff;
    display: flex;
    justify-content: center;
    min-height: 0;
    overflow: hidden;
    position: relative;
    text-decoration: none;
    width: 100%;
}

.product-image,
.product-showcase-image {
    height: 100%;
    object-fit: cover;
    width: 100%;
}

.product-image {
    display: block;
    transition: filter 260ms ease, transform 360ms ease;
}

.product-art i {
    font-size: 4rem;
    transition: transform 320ms ease;
}

.product-card:hover .product-art i {
    transform: scale(1.18) rotate(-7deg);
}

.product-card:hover .product-image {
    filter: saturate(1.12) contrast(1.06);
    transform: scale(1.1);
}

.product-title-link {
    color: inherit;
    text-decoration: none;
}

.product-title-link:hover {
    color: var(--gv-primary);
}

.steam-art {
    background: linear-gradient(135deg, #101010, #39414a 48%, #ff6a13);
}

.xbox-art {
    background: linear-gradient(135deg, #0c1710, #236c44 48%, #ff7a1a);
}

.playstation-art {
    background: linear-gradient(135deg, #111821, #626b76 52%, #ff6a13);
}

.topup-art {
    background: linear-gradient(135deg, #1d1410, #704021 52%, #ff8a2a);
}

.vbucks-art {
    background: linear-gradient(135deg, #0b2027, #2f7787 52%, #ff7a1a);
}

.valorant-art {
    background: linear-gradient(135deg, #111111, #8e2d34 52%, #ff7a1a);
}

.gamekey-art {
    background: linear-gradient(135deg, #131a15, #53735c 52%, #ff7a1a);
}

.account-art {
    background: linear-gradient(135deg, #151515, #7d8188 48%, #ff8a2a);
}

.roblox-art {
    background: linear-gradient(135deg, #161719, #bfc4ca 56%, #ff6a13);
}

.steam-art,
.xbox-art,
.playstation-art,
.topup-art,
.vbucks-art,
.valorant-art,
.gamekey-art,
.account-art,
.roblox-art {
    background-size: 200% 200%;
    animation: heroShift 10s ease-in-out infinite;
    position: relative;
}

.product-art::before {
    background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.35), transparent);
    content: "";
    height: 40%;
    left: 0;
    opacity: 0;
    pointer-events: none;
    position: absolute;
    right: 0;
    top: 0;
    transform: translateY(-120%);
}

.product-card:hover .product-art {
    animation: heroShift 10s ease-in-out infinite, artRimPulse 2.4s ease-in-out infinite;
}

.product-card:hover .product-art::before {
    animation: artScanline 1.6s ease-in-out infinite;
}

.product-art--muted {
    filter: saturate(0.35) brightness(0.72);
}

.product-card:hover .product-art--muted {
    animation: heroShift 10s ease-in-out infinite;
}

.rating {
    color: #ff9b3d;
    font-size: 0.9rem;
    font-weight: 800;
}

.price,
.product-price {
    font-size: 1.35rem;
    font-weight: 850;
}

.product-price {
    font-size: 2rem;
}

.deal-panel {
    background:
        linear-gradient(135deg, rgba(8, 8, 8, 0.94), rgba(255, 122, 26, 0.72)),
        url("https://images.unsplash.com/photo-1542751371-adc38448a05e?auto=format&fit=crop&w=1400&q=80")
            center / cover;
    border-radius: var(--radius-lg);
    color: #ffffff;
    padding: 40px;
}

.deal-panel .eyebrow {
    color: #ffd2a7;
}

.service-card,
.content-panel,
.summary-card {
    height: 100%;
    padding: 28px;
    position: relative;
    overflow: hidden;
}

.summary-card::before {
    background: linear-gradient(90deg, var(--gv-primary), var(--gv-violet));
    content: "";
    height: 3px;
    left: 0;
    position: absolute;
    right: 0;
    top: 0;
}

.page-heading {
    background: linear-gradient(135deg, #fff7ed, #f5f3ef);
    overflow: hidden;
    position: relative;
}

[data-bs-theme="dark"] .page-heading {
    background: linear-gradient(135deg, #0d0c0b, #16110d);
}

.page-heading::after {
    background: linear-gradient(90deg, transparent, var(--gv-primary), transparent);
    bottom: 0;
    content: "";
    height: 2px;
    left: 0;
    opacity: 0.5;
    position: absolute;
    width: 100%;
}

.page-heading .container {
    padding-bottom: 1.8rem !important;
    padding-top: 1.8rem !important;
}

.page-heading h1 {
    font-size: clamp(1.85rem, 4vw, 2.7rem);
}

.page-heading-compact .container {
    padding-bottom: 1.65rem;
    padding-top: 1.65rem;
}

.page-heading-compact h1 {
    font-size: clamp(1.75rem, 4vw, 2.45rem);
}

.product-showcase {
    align-items: center;
    color: #ffffff;
    display: flex;
    flex-direction: column;
    gap: 16px;
    justify-content: center;
    padding: 32px;
    text-align: center;
}

.product-showcase.has-image {
    align-items: flex-start;
    justify-content: flex-end;
}

.product-showcase.has-image::after {
    background: linear-gradient(180deg, transparent 35%, rgba(0, 0, 0, 0.72));
    content: "";
    inset: 0;
    position: absolute;
    z-index: 1;
}

.product-showcase-image {
    inset: 0;
    position: absolute;
    z-index: 0;
}

.product-showcase > i,
.product-showcase > div {
    position: relative;
    z-index: 2;
}

.product-showcase.has-image > div {
    background: rgba(9, 9, 9, 0.68);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 8px;
    padding: 14px 16px;
    text-align: left;
}

.product-showcase i {
    font-size: 7rem;
}

.product-showcase span {
    display: block;
    font-weight: 700;
    opacity: 0.82;
}

.product-showcase strong {
    display: block;
    font-size: clamp(2rem, 5vw, 4rem);
    font-weight: 850;
}

.info-list {
    display: grid;
    gap: 12px;
}

.info-list div {
    align-items: center;
    display: flex;
    gap: 10px;
}

.info-list i {
    color: #1c9c53;
    font-size: 1.15rem;
}

/* ── CART & CHECKOUT ─────────────────────────── */

.cart-item {
    align-items: center;
    border-bottom: 1px solid var(--gv-border);
    display: grid;
    gap: 16px;
    grid-template-columns: 64px minmax(0, 1fr) auto;
    padding: 18px 0;
    transition: background var(--duration-fast) var(--ease-out);
}

.cart-item:first-child {
    padding-top: 0;
}

.cart-item:last-child {
    border-bottom: 0;
    padding-bottom: 0;
}

.cart-item:hover {
    background: rgba(255, 122, 26, 0.03);
    border-radius: var(--radius-sm);
    margin: 0 -8px;
    padding-left: 8px;
    padding-right: 8px;
}

.cart-item strong a {
    color: inherit;
    text-decoration: none;
}

.cart-item strong a:hover {
    color: var(--gv-primary);
}

.cart-thumb {
    align-items: center;
    aspect-ratio: 1 / 1;
    border-radius: var(--radius-md);
    color: #ffffff;
    display: flex;
    height: 64px;
    justify-content: center;
    overflow: hidden;
    width: 64px;
}

.cart-thumb-image {
    height: 100%;
    object-fit: cover;
    width: 100%;
}

.cart-thumb i {
    font-size: 1.6rem;
}

.qty-control {
    align-items: center;
    background: var(--gv-soft);
    border: 1px solid var(--gv-border);
    border-radius: var(--radius-md);
    display: inline-flex;
    gap: 0;
    overflow: hidden;
}

.qty-control button {
    align-items: center;
    background: transparent;
    border: 0;
    color: var(--gv-muted);
    display: inline-flex;
    font-size: 1.1rem;
    height: 34px;
    justify-content: center;
    transition: all var(--duration-fast) var(--ease-out);
    width: 34px;
}

.qty-control button:hover {
    background: rgba(255, 122, 26, 0.1);
    color: var(--gv-primary);
}

.qty-control span {
    font-weight: 700;
    min-width: 24px;
    text-align: center;
}

.summary-line {
    border-bottom: 1px solid var(--gv-border);
    display: flex;
    justify-content: space-between;
    padding: 14px 0;
}

.summary-line:last-of-type {
    border-bottom: 0;
}

.summary-line.total {
    font-size: 1.2rem;
    padding-top: 18px;
}

.empty-state {
    padding: 48px 0;
    text-align: center;
}

.empty-state i {
    font-size: 3rem;
    color: var(--gv-muted);
    margin-bottom: 16px;
}

.checkout-form .form-control,
.checkout-form .form-select {
    border-radius: var(--radius-md);
    border: 1.5px solid var(--gv-border);
    min-height: 50px;
    padding: 0.6rem 1rem;
    transition: border-color var(--duration-fast) var(--ease-out), box-shadow var(--duration-fast) var(--ease-out);
}

.checkout-form .form-control:focus,
.checkout-form .form-select:focus {
    border-color: var(--gv-primary);
    box-shadow: 0 0 0 3px rgba(255, 122, 26, 0.12);
}

.checkout-form .form-label {
    font-weight: 650;
    font-size: 0.9rem;
    margin-bottom: 6px;
}

.payment-radio-list {
    display: grid;
    gap: 10px;
}

.payment-radio-option {
    align-items: flex-start;
    background: var(--gv-soft);
    border: 1px solid var(--gv-border);
    border-radius: var(--radius-md);
    cursor: pointer;
    display: grid;
    gap: 14px;
    grid-template-columns: auto minmax(0, 1fr);
    min-height: 58px;
    padding: 16px 18px;
    transition: border-color 180ms ease, background-color 180ms ease, box-shadow 180ms ease;
}

.payment-radio-option:hover,
.payment-radio-option:focus-within {
    background: rgba(255, 122, 26, 0.08);
    border-color: rgba(255, 122, 26, 0.55);
    box-shadow: 0 14px 34px rgba(255, 122, 26, 0.12);
}

.payment-radio-option .form-check-input {
    border-color: rgba(255, 122, 26, 0.75);
    margin: 3px 0 0;
}

.payment-radio-option .form-check-input:checked {
    background-color: var(--gv-primary);
    border-color: var(--gv-primary);
}

.payment-radio-option:has(.form-check-input:checked) {
    background: rgba(255, 122, 26, 0.12);
    border-color: var(--gv-primary);
}

.payment-radio-option strong {
    color: var(--gv-ink);
    display: block;
    font-size: 1rem;
    font-weight: 950;
}

.payment-radio-option small {
    color: var(--gv-muted);
    display: block;
    font-size: 0.86rem;
    font-weight: 750;
    line-height: 1.35;
    margin-top: 3px;
}

.payment-total-grid {
    display: grid;
    gap: 14px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.payment-total-item {
    background: var(--gv-soft);
    border: 1px solid var(--gv-border);
    border-radius: var(--radius-md);
    padding: 20px;
}

.payment-total-item span {
    color: var(--gv-muted);
    display: block;
    font-size: 0.86rem;
    font-weight: 750;
    margin-bottom: 6px;
}

.payment-total-item strong {
    display: block;
    font-size: 1.35rem;
    font-weight: 850;
}

.payment-total-item.highlight {
    border-color: rgba(255, 122, 26, 0.52);
    box-shadow: 0 14px 30px rgba(255, 122, 26, 0.12);
}

.payment-recipient-card {
    align-items: center;
    background: linear-gradient(135deg, rgba(255, 122, 26, 0.12), transparent), var(--gv-soft);
    border: 1px solid rgba(255, 122, 26, 0.38);
    border-radius: var(--radius-md);
    display: flex;
    gap: 16px;
    justify-content: space-between;
    padding: 18px 20px;
}

.payment-recipient-card span {
    color: var(--gv-muted);
    display: block;
    font-size: 0.84rem;
    font-weight: 800;
    margin-bottom: 4px;
}

.payment-recipient-card strong {
    display: block;
    font-size: 1.1rem;
    font-weight: 900;
    margin-bottom: 4px;
}

.payment-recipient-card code {
    background: rgba(255, 122, 26, 0.12);
    border: 1px solid rgba(255, 122, 26, 0.28);
    border-radius: 8px;
    color: var(--gv-ink);
    display: inline-block;
    font-size: 1rem;
    font-weight: 850;
    padding: 6px 9px;
}

.customer-trust-card {
    background: var(--gv-soft);
    border: 1px solid var(--gv-border);
    border-radius: var(--radius-md);
    padding: 20px;
}

.customer-trust-grid {
    display: grid;
    gap: 12px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.customer-trust-grid div {
    background: var(--gv-panel);
    border: 1px solid var(--gv-border);
    border-radius: var(--radius-sm);
    padding: 16px;
}

.customer-trust-grid i {
    color: var(--gv-primary);
    display: inline-block;
    font-size: 1.25rem;
    margin-bottom: 8px;
}

.customer-trust-grid strong {
    display: block;
    font-weight: 900;
    margin-bottom: 4px;
}

.customer-trust-grid span {
    color: var(--gv-muted);
    display: block;
    font-size: 0.9rem;
    line-height: 1.45;
}

.payment-code-grid {
    display: grid;
    gap: 12px;
    grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
}

.payment-guide {
    background: var(--gv-soft);
    border: 1px solid var(--gv-border);
    border-radius: 8px;
    padding: 14px;
}

.payment-guide img {
    border-radius: 8px;
    display: block;
    max-height: 520px;
    object-fit: contain;
    width: 100%;
}

.order-success-box {
    color: var(--gv-ink);
}

.order-success-box .btn {
    border-radius: var(--radius-md);
}

.order-id-display {
    background: var(--gv-soft);
    border: 1px solid var(--gv-border);
    border-radius: var(--radius-sm);
    color: var(--gv-primary);
    font-size: clamp(1.7rem, 6vw, 2.6rem);
    font-weight: 800;
    letter-spacing: 0.08em;
    padding: 16px 20px;
    text-align: center;
}

.order-id-warning {
    align-items: flex-start;
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.14), transparent 45%),
        #c41321;
    border: 1px solid rgba(255, 99, 99, 0.65);
    border-radius: var(--radius-md);
    box-shadow: 0 18px 42px rgba(196, 19, 33, 0.3);
    color: #ffffff;
    display: flex;
    gap: 16px;
    padding: 18px;
}

.order-id-warning i {
    font-size: 1.55rem;
    line-height: 1;
}

.order-id-warning strong,
.order-id-warning span {
    display: block;
}

.order-id-warning strong {
    font-size: 1.05rem;
    font-weight: 950;
    margin-bottom: 4px;
}

.order-id-warning span {
    color: rgba(255, 255, 255, 0.86);
    line-height: 1.45;
}

.order-received-example {
    background: var(--gv-soft);
    border: 1px solid var(--gv-border);
    border-radius: var(--radius-md);
    padding: 20px;
}

.order-received-example-grid {
    display: grid;
    gap: 14px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.order-delivery-box,
.customer-input-form {
    background: var(--gv-soft);
    border: 1px solid var(--gv-border);
    border-radius: var(--radius-md);
    padding: 20px;
}

.order-delivery-box > .d-flex i,
.customer-input-form > .d-flex i {
    color: var(--gv-primary);
    font-size: 1.2rem;
}

.delivery-code-list,
.customer-input-list {
    display: grid;
    gap: 12px;
}

.delivery-code-row {
    align-items: center;
    background: var(--gv-panel);
    border: 1px solid var(--gv-border);
    border-radius: var(--radius-sm);
    display: flex;
    gap: 12px;
    justify-content: space-between;
    padding: 14px 16px;
}

.delivery-code-row span,
.delivery-code-row code {
    display: block;
}

.delivery-code-row span {
    color: var(--gv-muted);
    font-size: 0.84rem;
    font-weight: 800;
    margin-bottom: 4px;
}

.delivery-code-row code {
    color: var(--gv-ink);
    font-family: "Cascadia Code", "SFMono-Regular", Consolas, monospace;
    font-size: 0.95rem;
    overflow-wrap: anywhere;
}

.order-status-header {
    align-items: flex-start;
    display: flex;
    gap: 14px;
    justify-content: space-between;
}

.order-status-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: flex-end;
}

.current-status-panel {
    align-items: stretch;
    background:
        linear-gradient(135deg, var(--status-glow, rgba(255, 190, 70, 0.14)), transparent 42%),
        var(--gv-soft);
    border: 1px solid var(--status-border, var(--gv-border));
    border-radius: var(--radius-lg);
    box-shadow: 0 24px 58px var(--status-glow, rgba(255, 190, 70, 0.14));
    display: grid;
    gap: 16px;
    grid-template-columns: auto minmax(0, 1fr);
    padding: 20px;
}

.current-status-icon {
    align-items: center;
    align-self: flex-start;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid var(--status-border, var(--gv-border));
    border-radius: var(--radius-sm);
    box-shadow: 0 0 0 5px var(--status-halo, rgba(255, 190, 70, 0.12)), 0 0 24px var(--status-color, #ffbe46);
    color: var(--status-color, #ffbe46);
    display: inline-flex;
    font-size: 1.4rem;
    height: 50px;
    justify-content: center;
    width: 50px;
}

.current-status-content span,
.next-step-box small {
    color: var(--gv-muted);
    display: block;
    font-size: 0.78rem;
    font-weight: 900;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.current-status-content strong {
    color: var(--status-text, var(--gv-ink));
    display: block;
    font-size: clamp(1.35rem, 3vw, 2rem);
    font-weight: 950;
    line-height: 1.1;
    margin-top: 4px;
}

.current-status-content p {
    color: var(--gv-muted);
    margin: 8px 0 0;
}

.next-step-box {
    background: var(--gv-panel);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-sm);
    margin-top: 14px;
    padding: 14px 16px;
}

.next-step-box b {
    display: block;
    font-weight: 700;
    margin-top: 4px;
}


.current-status-action {
    color: var(--gv-ink) !important;
    font-size: 1rem;
    font-weight: 850;
    line-height: 1.45;
    margin-top: 10px !important;
}

.status-reason-box {
    background: rgba(255, 83, 97, 0.08);
    border: 1px solid rgba(255, 83, 97, 0.24);
    border-radius: var(--radius-sm);
    padding: 12px 16px;
}

.confirm-delivery-box {
    background: rgba(25, 135, 84, 0.08);
    border: 1px solid rgba(25, 135, 84, 0.28);
    border-radius: var(--radius-sm);
    padding: 12px 16px;
}

.confirm-delivery-btn {
    background: linear-gradient(135deg, #34d399, #16a34a 58%, #15803d);
    border: 1px solid rgba(52, 211, 153, 0.55);
    box-shadow: var(--shadow-md), 0 0 0 1px rgba(255, 255, 255, 0.12) inset;
    color: #fff;
    font-weight: 750;
    padding: 0.7rem 1.5rem;
}

.confirm-delivery-btn:hover,
.confirm-delivery-btn:focus {
    background: linear-gradient(135deg, #15803d, #16a34a);
    box-shadow: var(--shadow-lg), 0 0 30px rgba(52, 211, 153, 0.35), 0 0 0 1px rgba(255, 255, 255, 0.15) inset;
    color: #fff;
    transform: translateY(-2px);
}

.confirm-delivery-btn:active {
    transform: scale(0.97) translateY(0);
}

.confirm-delivery-btn:disabled {
    background: linear-gradient(135deg, #34d399, #16a34a 58%, #15803d);
    box-shadow: none;
    opacity: 0.6;
    transform: none;
}

.confirm-delivery-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.confirm-delivery-btn,
.report-admin-btn {
    min-width: 0;
}

.confirm-delivery-actions .btn {
    flex: 1 1 auto;
    white-space: nowrap;
}

@media (max-width: 480px) {
    .confirm-delivery-actions .btn {
        flex: 1 1 100%;
        white-space: normal;
        padding: 0.6rem 1rem;
    }
}

@media (max-width: 576px) {
    #sellerDashboardSection .table-responsive {
        overflow: visible;
    }

    #sellerDashboardSection .table > thead {
        display: none;
    }

    #sellerDashboardSection .table > tbody > tr {
        background: var(--gv-panel);
        border: 1px solid var(--gv-border);
        border-radius: var(--radius-md);
        display: flex;
        flex-direction: column;
        gap: 4px;
        margin-bottom: 10px;
        padding: 12px;
    }

    #sellerDashboardSection .table > tbody > tr > td {
        border: 0;
        display: flex;
        flex-direction: column;
        gap: 2px;
        padding: 2px 0;
    }

    #sellerDashboardSection .table > tbody > tr > td::before {
        color: var(--gv-muted);
        content: attr(data-th);
        font-size: 0.7rem;
        font-weight: 700;
        letter-spacing: 0.04em;
        text-transform: uppercase;
    }

    #sellerDashboardSection .table td .btn {
        width: 100%;
    }
}

.report-admin-btn {
    background: linear-gradient(135deg, var(--gv-primary), var(--gv-primary-dark));
    border: 1px solid rgba(255, 106, 19, 0.55);
    box-shadow: var(--shadow-md), 0 0 0 1px rgba(255, 255, 255, 0.12) inset;
    color: #fff;
    font-weight: 750;
    padding: 0.7rem 1.5rem;
}

.report-admin-btn:hover,
.report-admin-btn:focus {
    background: linear-gradient(135deg, var(--gv-primary-dark), var(--gv-primary));
    box-shadow: var(--shadow-lg), 0 0 30px var(--gv-glow), 0 0 0 1px rgba(255, 255, 255, 0.15) inset;
    color: #fff;
    transform: translateY(-2px);
}

.report-admin-btn:active {
    transform: scale(0.97) translateY(0);
}

.report-admin-btn:disabled {
    background: linear-gradient(135deg, var(--gv-primary), var(--gv-primary-dark));
    box-shadow: none;
    opacity: 0.6;
    transform: none;
}

[data-bs-theme="dark"] .report-admin-btn,
[data-bs-theme="dark"] .report-admin-btn:hover,
[data-bs-theme="dark"] .report-admin-btn:focus,
[data-bs-theme="dark"] .report-admin-btn:disabled {
    color: #1a0f05;
}

.report-admin-feedback {
    color: #16a34a;
    font-size: 0.85rem;
    font-weight: 650;
}

[data-bs-theme="dark"] .report-admin-feedback {
    color: #4ade80;
}

.customer-confirmed-box {
    background: rgba(25, 135, 84, 0.08);
    border: 1px solid rgba(25, 135, 84, 0.28);
    border-radius: var(--radius-sm);
    color: #198754;
    display: flex;
    align-items: center;
    font-weight: 750;
    padding: 12px 16px;
}

[data-bs-theme="dark"] .customer-confirmed-box {
    color: #4ade80;
}

.status-reason-box span {
    color: #ff9aa4;
    display: block;
    font-size: 0.76rem;
    font-weight: 700;
    text-transform: uppercase;
}

.status-reason-box b {
    color: var(--gv-ink);
    display: block;
    font-weight: 700;
    margin-top: 2px;
}

.order-progress-bar {
    background: var(--gv-soft);
    border: 1px solid var(--gv-border);
    border-radius: var(--radius-md);
    padding: 20px;
}

.order-progress-scroll {
    overflow-x: auto;
    padding-bottom: 2px;
}

.order-progress-inner {
    direction: ltr;
    min-width: 440px;
    padding-top: 4px;
    position: relative;
}

.order-progress-track {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 999px;
    height: 8px;
    left: 12.5%;
    overflow: hidden;
    position: absolute;
    right: 12.5%;
    top: 17px;
}

.order-progress-track span {
    background: #2cec84;
    border-radius: inherit;
    box-shadow: none;
    display: block;
    height: 100%;
    transition: width 260ms ease;
}

.order-progress-steps {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    position: relative;
    z-index: 1;
}

.order-progress-step {
    align-items: center;
    color: var(--gv-muted);
    display: grid;
    gap: 9px;
    justify-items: center;
    min-width: 0;
    text-align: center;
}

.order-progress-step span {
    align-items: center;
    background: #55565a;
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 999px;
    box-shadow: 0 0 0 4px rgba(85, 86, 90, 0.14);
    color: #ffffff;
    display: inline-flex;
    font-size: 0.78rem;
    font-weight: 800;
    height: 36px;
    justify-content: center;
    width: 36px;
}

.order-progress-step strong {
    display: block;
    font-size: 0.8rem;
    font-weight: 700;
    line-height: 1.25;
    max-width: 104px;
}

.order-progress-step.progress-complete {
    color: #bfffd8;
}

.order-progress-step.progress-complete span {
    animation: dotGlow 3.4s ease-in-out infinite;
    background: #2cec84;
    border-color: rgba(191, 255, 216, 0.4);
    box-shadow: 0 0 0 4px rgba(44, 236, 132, 0.14), 0 0 20px rgba(44, 236, 132, 0.38);
    color: #062313;
}

.order-progress-step.progress-current {
    color: var(--gv-primary);
}

.order-progress-step.progress-current span {
    animation: statusPulse 1.8s ease-in-out infinite, dotGlow 3.4s ease-in-out infinite;
    background: var(--gv-primary);
    border-color: rgba(255, 255, 255, 0.45);
    box-shadow: 0 0 0 4px rgba(255, 122, 26, 0.16), 0 0 22px rgba(255, 122, 26, 0.42);
    color: #17110b;
}

.order-progress-step.progress-bad {
    color: #ffc2c8;
}

.order-progress-step.progress-bad span {
    background: #ff5361;
    box-shadow: 0 0 0 4px rgba(255, 83, 97, 0.16), 0 0 20px rgba(255, 83, 97, 0.38);
}

.order-products-details {
    background: var(--gv-soft);
    border: 1px solid var(--gv-border);
    border-radius: var(--radius-sm);
    overflow: hidden;
}

.order-products-details summary {
    align-items: center;
    cursor: pointer;
    display: flex;
    font-weight: 900;
    gap: 14px;
    justify-content: space-between;
    list-style: none;
    padding: 14px;
}

.order-products-details summary::-webkit-details-marker {
    display: none;
}

.order-products-summary-copy {
    display: grid;
    gap: 3px;
    min-width: 0;
}

.order-products-summary-copy small {
    color: var(--gv-muted);
    font-size: 0.76rem;
    font-weight: 900;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.order-products-summary-copy strong {
    color: var(--gv-ink);
    display: block;
    font-weight: 950;
}

.order-products-summary-line {
    align-items: center;
    direction: ltr;
    display: inline-flex;
    flex-wrap: wrap;
    gap: 6px;
    text-align: left;
    unicode-bidi: isolate;
}

.order-products-summary-line [data-product-count-value],
.order-products-summary-line .ltr-value {
    direction: ltr;
    unicode-bidi: isolate;
    white-space: nowrap;
}

.order-products-details summary i {
    color: var(--gv-primary);
    transition: transform 180ms ease;
}

.order-products-details[open] summary i {
    transform: rotate(180deg);
}

.order-products-details-body {
    border-top: 1px solid var(--gv-border);
    padding: 14px;
}

.order-timeline {
    display: grid;
    gap: 10px;
    grid-template-columns: repeat(5, minmax(0, 1fr));
}

.order-timeline-step {
    background: var(--gv-soft);
    border: 1px solid var(--gv-border);
    border-radius: var(--radius-sm);
    min-height: 88px;
    padding: 16px;
    position: relative;
}

.order-timeline-step span {
    background: #7f8796;
    border-radius: 999px;
    box-shadow: 0 0 0 4px rgba(127, 135, 150, 0.12);
    display: block;
    height: 12px;
    margin-bottom: 12px;
    width: 12px;
}

.order-timeline-step strong {
    display: block;
    font-size: 0.9rem;
    line-height: 1.25;
}

.timeline-complete {
    border-color: rgba(44, 236, 132, 0.32);
}

.timeline-complete span {
    background: #2cec84;
    box-shadow: 0 0 0 4px rgba(44, 236, 132, 0.14), 0 0 18px rgba(44, 236, 132, 0.4);
}

.timeline-current {
    border-color: rgba(255, 190, 70, 0.42);
}

.timeline-current span {
    animation: statusPulse 1.8s ease-in-out infinite;
    background: #ffbe46;
    box-shadow: 0 0 0 4px rgba(255, 190, 70, 0.16), 0 0 18px rgba(255, 190, 70, 0.46);
}

.timeline-bad {
    border-color: rgba(255, 83, 97, 0.42);
}

.timeline-bad span {
    background: #ff5361;
    box-shadow: 0 0 0 4px rgba(255, 83, 97, 0.16), 0 0 18px rgba(255, 83, 97, 0.42);
}

.order-delivery-box-ready {
    animation: deliveryGlow 4.4s ease-in-out infinite;
    border-color: rgba(44, 236, 132, 0.34);
    box-shadow: 0 20px 46px rgba(44, 236, 132, 0.12);
}

.order-delivery-header {
    margin-bottom: 16px;
}

.guide-card .guide-icon {
    color: var(--gv-primary);
    display: inline-block;
    font-size: 2rem;
    margin-bottom: 18px;
}

.guide-steps {
    color: var(--gv-muted);
    display: grid;
    gap: 9px;
    margin: 0;
    padding-left: 18px;
}

.guide-status-preview,
.guide-delivery-mock,
.guide-player-mock {
    background:
        linear-gradient(135deg, rgba(255, 122, 26, 0.12), transparent 44%),
        var(--gv-panel);
    border: 1px solid rgba(255, 122, 26, 0.3);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-card);
    display: grid;
    gap: 14px;
    padding: 22px;
}

.guide-action-steps {
    display: grid;
    gap: 16px;
}

.guide-action-step {
    align-items: stretch;
    background: var(--gv-panel);
    border: 1px solid var(--gv-border);
    border-radius: var(--radius-lg);
    display: grid;
    gap: 20px;
    grid-template-columns: minmax(0, 1fr) minmax(280px, 0.85fr);
    padding: 22px;
}

.guide-action-copy {
    display: flex;
    gap: 14px;
}

.guide-action-copy > span {
    align-items: center;
    background: var(--gv-primary);
    border-radius: 999px;
    box-shadow: 0 0 0 5px rgba(255, 122, 26, 0.1), 0 0 18px rgba(255, 122, 26, 0.28);
    color: #17110b;
    display: inline-flex;
    flex: 0 0 auto;
    font-size: 0.92rem;
    font-weight: 800;
    height: 40px;
    justify-content: center;
    width: 40px;
}

.guide-action-copy strong {
    display: block;
    font-size: 1.08rem;
    font-weight: 950;
    margin-bottom: 6px;
}

.guide-action-copy p {
    color: var(--gv-muted);
    line-height: 1.55;
    margin: 0;
}

.guide-mini-screen {
    background:
        linear-gradient(135deg, rgba(255, 122, 26, 0.1), transparent 44%),
        var(--gv-soft);
    border: 1px solid rgba(255, 122, 26, 0.24);
    border-radius: var(--radius-md);
    display: grid;
    gap: 10px;
    min-width: 0;
    padding: 18px;
}

.guide-mini-screen small,
.guide-mini-screen label {
    color: var(--gv-muted);
    font-size: 0.82rem;
    font-weight: 700;
}

.guide-mini-screen strong {
    font-weight: 800;
}

.guide-mini-screen code,
.guide-mini-input {
    background: var(--gv-panel);
    border: 1px solid var(--gv-border);
    border-radius: var(--radius-sm);
    color: var(--gv-ink);
    display: block;
    font-family: "Cascadia Code", "SFMono-Regular", Consolas, monospace;
    font-weight: 700;
    overflow-wrap: anywhere;
    padding: 12px 14px;
}

.guide-mini-success code {
    color: var(--gv-primary);
    font-size: clamp(1.5rem, 4vw, 2.2rem);
    letter-spacing: 0.08em;
    text-align: center;
}

.guide-mini-screen button {
    align-items: center;
    background: var(--gv-primary);
    border: 0;
    border-radius: var(--radius-sm);
    color: #17110b;
    display: inline-flex;
    font-weight: 700;
    gap: 8px;
    justify-content: center;
    min-height: 42px;
    padding: 10px 16px;
}

.guide-mini-status {
    align-items: center;
    background: rgba(255, 190, 70, 0.1);
    border: 1px solid rgba(255, 190, 70, 0.3);
    border-radius: var(--radius-xl);
    color: #ffcf72;
    display: inline-flex;
    font-weight: 700;
    gap: 10px;
    padding: 10px 16px;
    width: fit-content;
}

.guide-mini-status span {
    background: #ffbe46;
    border-radius: 999px;
    box-shadow: 0 0 0 5px rgba(255, 190, 70, 0.14), 0 0 18px rgba(255, 190, 70, 0.4);
    height: 10px;
    width: 10px;
}

.guide-preview-top {
    align-items: flex-start;
    display: flex;
    justify-content: space-between;
    gap: 14px;
}

.guide-preview-top span,
.guide-player-mock span {
    color: var(--gv-primary);
    display: block;
    font-size: 0.78rem;
    font-weight: 900;
    letter-spacing: 0.06em;
}

.guide-preview-top strong {
    color: var(--gv-ink);
    font-size: 1.55rem;
    font-weight: 950;
}

.guide-preview-status {
    align-items: center;
    background: rgba(44, 236, 132, 0.1);
    border: 1px solid rgba(44, 236, 132, 0.34);
    border-radius: 8px;
    color: #6ff5a6;
    display: inline-flex;
    font-weight: 900;
    gap: 10px;
    padding: 10px 12px;
    width: fit-content;
}

.guide-preview-status span {
    background: #2cec84;
    border-radius: 999px;
    box-shadow: 0 0 0 5px rgba(44, 236, 132, 0.14), 0 0 18px rgba(44, 236, 132, 0.4);
    height: 10px;
    width: 10px;
}

.guide-preview-code,
.guide-delivery-row {
    background: var(--gv-soft);
    border: 1px solid var(--gv-border);
    border-radius: var(--radius-sm);
    display: grid;
    gap: 10px;
    padding: 14px;
}

.guide-preview-code small,
.guide-delivery-row span {
    color: var(--gv-muted);
    font-weight: 700;
}

.guide-preview-code code,
.guide-delivery-row code,
.guide-player-mock div {
    background: rgba(255, 122, 26, 0.1);
    border: 1px solid rgba(255, 122, 26, 0.24);
    border-radius: var(--radius-sm);
    color: var(--gv-ink);
    display: block;
    font-size: 1rem;
    font-weight: 700;
    overflow-wrap: anywhere;
    padding: 12px 14px;
}

.guide-preview-copy,
.guide-delivery-row button,
.guide-player-mock button {
    align-items: center;
    background: var(--gv-primary);
    border: 0;
    border-radius: var(--radius-sm);
    color: #17110b;
    display: inline-flex;
    font-weight: 700;
    gap: 8px;
    justify-content: center;
    min-height: 42px;
    padding: 10px 16px;
}

.guide-delivery-row {
    grid-template-columns: minmax(0, 1fr) minmax(140px, 1.1fr) auto;
    align-items: center;
}

.guide-player-mock strong {
    display: block;
    font-size: 1.1rem;
    font-weight: 900;
}

.guide-hero-status {
    padding: 16px;
}

.guide-current-flow {
    display: grid;
    gap: 18px;
}

.guide-current-step {
    align-items: stretch;
    background:
        linear-gradient(135deg, rgba(255, 122, 26, 0.08), transparent 42%),
        var(--gv-panel);
    border: 1px solid var(--gv-border);
    border-radius: var(--radius-lg);
    display: grid;
    gap: 20px;
    grid-template-columns: minmax(0, 0.72fr) minmax(340px, 1fr);
    padding: 22px;
    transition: box-shadow var(--duration-normal) var(--ease-out),
                transform var(--duration-normal) var(--ease-out);
}

.guide-current-step:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.guide-step-copy {
    align-items: flex-start;
    display: flex;
    gap: 14px;
}

.guide-step-copy > span {
    align-items: center;
    background: var(--gv-primary);
    border-radius: 999px;
    box-shadow: 0 0 0 5px rgba(255, 122, 26, 0.1), 0 0 18px rgba(255, 122, 26, 0.28);
    color: #17110b;
    display: inline-flex;
    flex: 0 0 auto;
    font-size: 0.92rem;
    font-weight: 800;
    height: 40px;
    justify-content: center;
    width: 40px;
}

.guide-step-copy strong {
    display: block;
    font-size: 1.08rem;
    font-weight: 800;
    margin-bottom: 6px;
}

.guide-step-copy p {
    color: var(--gv-muted);
    line-height: 1.55;
    margin: 0;
}

.guide-real-panel {
    background:
        linear-gradient(135deg, rgba(44, 236, 132, 0.06), transparent 44%),
        var(--gv-soft);
    border: 1px solid rgba(255, 122, 26, 0.22);
    border-radius: var(--radius-lg);
    display: grid;
    gap: 14px;
    min-width: 0;
    padding: 20px;
}

.guide-cart-products {
    display: grid;
    gap: 12px;
}

.guide-real-panel .cart-item {
    background: var(--gv-panel);
    border: 1px solid var(--gv-border);
    border-radius: 8px;
    padding: 12px;
}

.guide-real-panel .cart-thumb {
    height: 54px;
    width: 54px;
}

.guide-form-control {
    background: var(--gv-panel);
    border: 1px solid var(--gv-border);
    border-radius: var(--radius-sm);
    color: var(--gv-ink);
    font-family: "Cascadia Code", "SFMono-Regular", Consolas, monospace;
    font-weight: 700;
    min-height: 48px;
    overflow-wrap: anywhere;
    padding: 12px 14px;
}

.guide-lookup-card {
    background: transparent;
    border: 0;
    box-shadow: none;
    padding: 0;
}

.guide-real-panel .order-id-warning {
    padding: 14px;
}

.guide-real-panel .order-id-display {
    font-size: clamp(1.55rem, 5vw, 2.2rem);
}

.guide-real-panel .current-status-panel {
    padding: 14px;
}

.guide-real-panel .order-delivery-box {
    margin: 0;
}

.guide-real-panel .delivery-code-row {
    align-items: center;
}

.policy-panel {
    display: grid;
    gap: 14px;
}

.policy-panel p {
    color: var(--gv-muted);
    margin-bottom: 6px;
}

.status-grid {
    display: grid;
    gap: 12px;
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.status-grid div {
    background: var(--gv-soft);
    border: 1px solid var(--gv-border);
    border-radius: var(--radius-sm);
    padding: 16px;
}

.status-grid span {
    color: var(--gv-muted);
    display: block;
    font-size: 0.82rem;
    font-weight: 750;
    margin-bottom: 5px;
}

.status-grid strong {
    display: block;
    font-weight: 850;
}

.status-badge {
    align-items: center;
    border: 1px solid var(--status-border, var(--gv-border));
    border-radius: 8px;
    animation: statusBadgeGlow 4s ease-in-out infinite;
    box-shadow: 0 0 22px var(--status-glow, rgba(255, 255, 255, 0.08));
    color: var(--status-text, var(--gv-ink));
    display: inline-flex;
    gap: 9px;
    justify-content: flex-start;
    line-height: 1.2;
    min-height: 38px;
    padding: 9px 11px;
    vertical-align: middle;
    width: fit-content;
}

.status-dot {
    align-self: center;
    animation: statusPulse 1.8s ease-in-out infinite;
    background: var(--status-color, #a9adb4);
    border-radius: 999px;
    box-shadow: 0 0 0 4px var(--status-halo, rgba(169, 173, 180, 0.16)), 0 0 18px var(--status-color, #a9adb4);
    flex: 0 0 auto;
    height: 10px;
    width: 10px;
}

.status-good {
    --status-border: rgba(44, 236, 132, 0.36);
    --status-color: #2cec84;
    --status-glow: rgba(44, 236, 132, 0.18);
    --status-halo: rgba(44, 236, 132, 0.14);
    --status-text: #bfffd8;
}

.status-pending {
    --status-border: rgba(255, 190, 70, 0.42);
    --status-color: #ffbe46;
    --status-glow: rgba(255, 190, 70, 0.2);
    --status-halo: rgba(255, 190, 70, 0.16);
    --status-text: #ffe1a8;
}

.status-bad {
    --status-border: rgba(255, 83, 97, 0.42);
    --status-color: #ff5361;
    --status-glow: rgba(255, 83, 97, 0.2);
    --status-halo: rgba(255, 83, 97, 0.16);
    --status-text: #ffc2c8;
}

.status-neutral {
    --status-border: rgba(169, 173, 180, 0.32);
    --status-color: #a9adb4;
    --status-glow: rgba(169, 173, 180, 0.12);
    --status-halo: rgba(169, 173, 180, 0.14);
    --status-text: #dde0e5;
}

[data-bs-theme="light"] .status-good {
    --status-text: #0f6835;
}

[data-bs-theme="light"] .status-pending {
    --status-text: #765000;
}

[data-bs-theme="light"] .status-bad {
    --status-text: #8a1c28;
}

[data-bs-theme="light"] .status-neutral {
    --status-text: #4e545e;
}

[data-bs-theme="dark"] .form-control,
[data-bs-theme="dark"] .form-select,
[data-bs-theme="dark"] .input-group-text {
    background-color: #101010;
    border-color: var(--gv-border);
    color: #f4f2ee;
}

[data-bs-theme="dark"] .form-control:focus,
[data-bs-theme="dark"] .form-select:focus {
    background-color: #151515;
    border-color: var(--gv-primary);
}

[data-bs-theme="dark"] .form-control::placeholder {
    color: #7f8796;
}

/* ── FOOTER ─────────────────────────────────── */

.site-footer {
    background: linear-gradient(180deg, #0d0d0d 0%, #070707 100%);
    color: #ffffff;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.site-footer a {
    color: rgba(255, 255, 255, 0.65);
    text-decoration: none;
    transition: color var(--duration-fast) var(--ease-out);
}

.site-footer a:hover {
    color: #ffffff;
}

.site-footer h6 {
    font-size: 0.82rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.50);
    font-weight: 800;
    margin-bottom: var(--space-4);
}

.site-footer hr {
    border-color: rgba(255, 255, 255, 0.06) !important;
    opacity: 1;
}

.support-whatsapp {
    align-items: center;
    background: #25d366;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: var(--radius-xl);
    bottom: 20px;
    box-shadow: 0 16px 34px rgba(0, 0, 0, 0.26);
    color: #06150b;
    display: inline-flex;
    font-weight: 800;
    gap: 10px;
    padding: 12px 20px;
    position: fixed;
    right: 20px;
    text-decoration: none;
    transition: box-shadow 180ms ease, transform 180ms ease;
    z-index: 1040;
}

.support-whatsapp:hover,
.support-whatsapp:focus {
    box-shadow: 0 20px 42px rgba(37, 211, 102, 0.28);
    color: #06150b;
    transform: translateY(-2px);
}

.support-whatsapp i {
    font-size: 1.25rem;
}

.language-toggle {
    align-items: center;
    display: inline-flex;
    gap: 6px;
    margin-right: 0;
    min-width: 62px;
    justify-content: center;
}

.language-toggle-desktop {
    margin-right: 16px;
}

.language-toggle-mobile {
    flex: 0 0 auto;
}

[dir="rtl"] body {
    text-align: right;
}

[dir="rtl"] .navbar-brand,
[dir="rtl"] .nav-link,
[dir="rtl"] .dropdown-item,
[dir="rtl"] .language-toggle,
[dir="rtl"] .theme-toggle,
[dir="rtl"] .status-badge,
[dir="rtl"] .order-timeline-step,
[dir="rtl"] .home-trust-strip span {
    flex-direction: row-reverse;
}

[dir="rtl"] .navbar-nav {
    padding-right: 0;
}

[dir="rtl"] .language-toggle {
    margin-left: 0;
    margin-right: 0;
}

[dir="rtl"] .language-toggle-desktop {
    margin-left: 8px;
}

[dir="rtl"] .support-whatsapp {
    left: 20px;
    right: auto;
}

[dir="rtl"] .cart-count {
    left: -6px;
    right: auto;
}

.admin-shell {
    min-height: calc(100vh - 72px);
}

.admin-panel {
    height: auto;
}

.admin-navbar {
    box-shadow: 0 1px 4px rgba(0,0,0,0.15);
}

.admin-navbar .container-fluid {
    align-items: center;
    display: flex;
    gap: 12px;
}

.admin-header-actions {
    align-items: center;
    display: flex;
    gap: 8px;
    margin-left: auto;
}

.admin-page-title {
    align-items: center;
    display: flex;
    justify-content: space-between;
}

.admin-tabs {
    background: var(--gv-panel);
    border: 1px solid var(--gv-border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-card);
    flex-wrap: nowrap;
    gap: 4px;
    overflow-x: auto;
    padding: 4px;
    position: sticky;
    scrollbar-width: thin;
    top: 76px;
    z-index: 1010;
}

.admin-tabs .nav-link {
    border-radius: var(--radius-sm);
    color: var(--gv-ink);
    font-weight: 700;
}

.admin-tabs .nav-link.active {
    background: var(--gv-primary);
    box-shadow: 0 0 20px rgba(255, 122, 26, 0.25);
    color: #17110b;
}

.admin-tab-content {
    min-height: 55vh;
}

.admin-product-sidebar {
    position: sticky;
    top: 150px;
}

.admin-editor-header {
    align-items: flex-start;
    display: flex;
    gap: 16px;
    justify-content: space-between;
    margin-bottom: 22px;
}

.admin-editor-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.admin-form-section {
    border-top: 1px solid var(--gv-border);
    padding: 22px 0;
}

.admin-form-section:first-of-type {
    border-top: 0;
    padding-top: 0;
}

.admin-editor-details {
    background: var(--gv-soft);
    border: 1px solid var(--gv-border);
    border-radius: var(--radius-sm);
    margin-top: 12px;
    overflow: hidden;
    padding: 0;
}

.admin-editor-details:first-of-type {
    margin-top: 0;
}

.admin-editor-details summary {
    align-items: center;
    cursor: pointer;
    display: flex;
    gap: 14px;
    justify-content: space-between;
    list-style: none;
    padding: 16px;
}

.admin-editor-details summary::-webkit-details-marker {
    display: none;
}

.admin-editor-details summary > i {
    color: var(--gv-primary);
    flex: 0 0 auto;
    transition: transform 180ms ease;
}

.admin-editor-details[open] summary {
    border-bottom: 1px solid var(--gv-border);
}

.admin-editor-details[open] summary > i {
    transform: rotate(180deg);
}

.admin-form-section-body {
    padding: 16px;
}

.admin-section-heading {
    align-items: flex-start;
    display: flex;
    gap: 12px;
    margin-bottom: 16px;
}

.admin-step {
    align-items: center;
    background: rgba(255, 122, 26, 0.14);
    border: 1px solid rgba(255, 122, 26, 0.38);
    border-radius: 999px;
    color: var(--gv-primary);
    display: inline-flex;
    flex: 0 0 auto;
    font-weight: 700;
    height: 36px;
    justify-content: center;
    width: 36px;
}

.admin-preview-details {
    background: var(--gv-soft);
    border: 1px solid var(--gv-border);
    border-radius: var(--radius-sm);
    margin-top: 8px;
    padding: 14px;
}

.admin-preview-details summary {
    cursor: pointer;
    font-weight: 600;
}

.admin-catalog-details,
.admin-workspace-details,
.admin-method-details,
.admin-category-row {
    background: var(--gv-soft);
    border: 1px solid var(--gv-border);
    border-radius: var(--radius-sm);
    overflow: hidden;
}

.admin-catalog-details summary,
.admin-workspace-details summary,
.admin-method-details summary,
.admin-category-row summary {
    align-items: center;
    cursor: pointer;
    display: flex;
    gap: 12px;
    justify-content: space-between;
    list-style: none;
    padding: 14px;
}

.admin-catalog-details summary::-webkit-details-marker,
.admin-workspace-details summary::-webkit-details-marker,
.admin-method-details summary::-webkit-details-marker,
.admin-category-row summary::-webkit-details-marker {
    display: none;
}

.admin-catalog-details summary span,
.admin-workspace-details summary span,
.admin-category-row summary span {
    display: grid;
    gap: 2px;
    min-width: 0;
}

.admin-workspace-details summary small,
.admin-catalog-details summary small,
.admin-category-row summary small,
.admin-method-details summary small {
    color: var(--gv-muted);
    font-size: 0.76rem;
    font-weight: 600;
}

.admin-workspace-details summary strong,
.admin-method-details summary span,
.admin-category-row summary strong {
    color: var(--gv-ink);
    font-weight: 700;
}

.admin-catalog-details summary > i,
.admin-workspace-details summary > i,
.admin-method-details summary > i,
.admin-category-row summary > i {
    color: var(--gv-primary);
    flex: 0 0 auto;
    transition: transform 180ms ease;
}

.admin-catalog-details[open] summary,
.admin-workspace-details[open] summary,
.admin-method-details[open] summary,
.admin-category-row[open] summary {
    border-bottom: 1px solid var(--gv-border);
}

.admin-catalog-details[open] summary > i,
.admin-workspace-details[open] summary > i,
.admin-method-details[open] summary > i,
.admin-category-row[open] summary > i {
    transform: rotate(180deg);
}

.admin-catalog-body,
.admin-workspace-body,
.admin-method-body,
.admin-category-body {
    padding: 14px;
}

.admin-mobile-product-picker {
    background: var(--gv-panel);
    border: 1px solid var(--gv-border);
    border-radius: var(--radius-sm);
    padding: 14px;
}

.admin-save-bar {
    align-items: center;
    border-top: 1px solid var(--gv-border);
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 22px;
    padding-top: 18px;
}

.admin-file-box {
    background: var(--gv-soft);
    border: 1px solid var(--gv-border);
    border-radius: var(--radius-sm);
    height: 100%;
    padding: 16px;
}

.admin-file-actions {
    display: grid;
    gap: 8px;
    grid-template-columns: 1fr 1fr;
    margin-top: 12px;
}

.admin-sticky,
.admin-tools-stack {
    position: sticky;
    top: 92px;
}

.admin-tools-stack {
    display: grid;
    gap: 14px;
}

.admin-accordion {
    display: grid;
    gap: 12px;
}

.admin-accordion .accordion-item {
    background: var(--gv-panel);
    border: 1px solid var(--gv-border);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-card);
    overflow: hidden;
}

.admin-accordion .accordion-button {
    background: var(--gv-panel);
    border: 0;
    box-shadow: none;
    color: var(--gv-ink);
    font-weight: 700;
    padding: 18px 20px;
}

.admin-accordion .accordion-button:not(.collapsed) {
    background: linear-gradient(135deg, rgba(255, 122, 26, 0.12), transparent), var(--gv-panel);
    color: var(--gv-ink);
}

.admin-accordion .accordion-button:focus {
    box-shadow: inset 0 0 0 2px rgba(255, 122, 26, 0.42);
}

.admin-accordion .accordion-button::after {
    filter: invert(0.5);
}

.admin-accordion .accordion-body {
    border-top: 1px solid var(--gv-border);
    padding: 20px;
}

.admin-list {
    display: grid;
    gap: 10px;
    max-height: calc(100vh - 230px);
    overflow: auto;
    padding-right: 4px;
}

.admin-product-item {
    align-items: center;
    background: var(--gv-soft);
    border: 1px solid var(--gv-border);
    border-radius: var(--radius-md);
    color: var(--gv-ink);
    display: flex;
    gap: 14px;
    justify-content: space-between;
    padding: 14px 16px;
    text-align: left;
    transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
    width: 100%;
}

.admin-product-item:hover,
.admin-product-item.active {
    border-color: rgba(255, 122, 26, 0.52);
    box-shadow: 0 14px 32px rgba(255, 122, 26, 0.14), 0 0 0 1px rgba(255, 122, 26, 0.18);
    transform: translateY(-2px);
}

.admin-product-item strong,
.admin-product-item small {
    display: block;
}

.admin-product-item small,
.admin-item-meta {
    color: var(--gv-muted);
    font-size: 0.82rem;
}

.admin-item-meta {
    align-items: flex-end;
    display: inline-flex;
    flex-direction: column;
    gap: 4px;
}

.admin-variation-list {
    display: grid;
    gap: 12px;
}

.admin-settings-list {
    display: grid;
    gap: 14px;
}

.admin-category-list {
    display: grid;
    gap: 12px;
}

.admin-category-row {
    background: var(--gv-soft);
    border: 1px solid var(--gv-border);
    border-radius: var(--radius-sm);
    overflow: hidden;
    padding: 0;
}

.admin-category-row .form-label {
    font-size: 0.78rem;
    font-weight: 700;
    margin-bottom: 4px;
}

.admin-setting-group {
    background: var(--gv-soft);
    border: 1px solid var(--gv-border);
    border-radius: var(--radius-sm);
    overflow: hidden;
    padding: 0;
}

.product-customer-input .admin-switch {
    background: var(--gv-panel);
}

.admin-variation-row {
    align-items: end;
    background: var(--gv-soft);
    border: 1px solid var(--gv-border);
    border-radius: var(--radius-sm);
    display: grid;
    gap: 12px;
    grid-template-columns: 1fr 1fr 1.35fr 0.8fr auto;
    padding: 16px;
}

.admin-switch {
    background: var(--gv-soft);
    border: 1px solid var(--gv-border);
    border-radius: var(--radius-sm);
    padding: 16px 18px 16px 48px;
    width: 100%;
}

.admin-json-output {
    font-family: "Cascadia Code", "SFMono-Regular", Consolas, monospace;
    min-height: 280px;
    resize: vertical;
}

.admin-order-toolbar {
    align-items: end;
    display: grid;
    gap: 10px;
    grid-template-columns: minmax(220px, 320px) auto auto;
}

.admin-order-filters {
    align-items: end;
    display: grid;
    gap: 12px;
    grid-template-columns: minmax(220px, 1fr) minmax(150px, 220px) minmax(150px, 220px);
}

.admin-orders-list {
    display: grid;
    gap: 16px;
}

.admin-order-card {
    background: var(--gv-soft);
    border: 1px solid var(--gv-border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xs);
    padding: 20px;
    transition: box-shadow 200ms ease, transform 200ms ease;
}

.admin-order-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-1px);
}

.admin-delivery-box {
    background: var(--gv-panel);
    border: 1px solid var(--gv-border);
    border-radius: 8px;
    padding: 14px;
}

.admin-delivery-text {
    font-family: "Cascadia Code", "SFMono-Regular", Consolas, monospace;
    resize: vertical;
}

.admin-order-actions,
.admin-status-controls {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.admin-order-grid {
    display: grid;
    gap: 14px;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
}

.admin-order-line,
.admin-proof-line {
    align-items: center;
    border-bottom: 1px solid var(--gv-border);
    display: flex;
    gap: 12px;
    justify-content: space-between;
    padding: 10px 0;
}

.admin-order-line:last-child,
.admin-proof-line:last-child {
    border-bottom: 0;
}

.admin-proof-line strong {
    font-family: "Cascadia Code", "SFMono-Regular", Consolas, monospace;
    word-break: break-all;
}

.admin-status-controls .form-select {
    max-width: 220px;
}


.admin-shell > .container-fluid,
.admin-navbar .container-fluid {
    margin-left: auto;
    margin-right: auto;
    max-width: 1320px;
}

#ordersAdminPanel {
    margin-left: auto;
    margin-right: auto;
    max-width: 1120px;
    padding: 24px;
}

#ordersAdminPanel::before,
.admin-order-card::before {
    display: none;
}

#ordersAdminPanel:hover,
.admin-order-card:hover {
    transform: none;
}

.admin-order-toolbar {
    grid-template-columns: minmax(180px, 280px) auto auto;
}

.admin-order-filters {
    grid-template-columns: minmax(220px, 1fr) minmax(150px, 180px) minmax(150px, 180px);
}

.admin-order-card {
    background: rgba(255, 255, 255, 0.035);
    border-color: rgba(255, 122, 26, 0.2);
    box-shadow: 0 18px 42px rgba(0, 0, 0, 0.18);
    padding: 16px;
}

.admin-order-card:hover {
    border-color: rgba(255, 122, 26, 0.34);
    box-shadow: 0 22px 52px rgba(0, 0, 0, 0.24);
}

.admin-order-card-header {
    align-items: flex-start;
    display: grid;
    gap: 14px;
    grid-template-columns: minmax(0, 1fr) auto;
}

.admin-order-title-block h3 {
    line-height: 1;
}

.admin-order-meta-row {
    align-items: center;
    color: var(--gv-muted);
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.admin-order-meta-row span,
.admin-order-meta-row strong {
    align-items: center;
    background: var(--gv-panel);
    border: 1px solid var(--gv-border);
    border-radius: var(--radius-sm);
    display: inline-flex;
    font-size: 0.88rem;
    gap: 8px;
    min-height: 36px;
    padding: 8px 12px;
}

.admin-order-meta-row strong {
    color: var(--gv-ink);
    font-weight: 700;
}

.admin-order-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: flex-end;
}

.admin-order-actions .btn {
    min-height: 38px;
    padding-left: 0.65rem;
    padding-right: 0.65rem;
}

.admin-order-body {
    display: grid;
    gap: 14px;
    grid-template-columns: 260px minmax(0, 1fr);
    margin-top: 14px;
}

.admin-order-body-groups {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
}

.admin-order-status-panel,
.admin-order-detail-stack {
    display: grid;
    gap: 12px;
}

.admin-status-card {
    background: var(--gv-panel);
    border: 1px solid var(--gv-border);
    border-radius: var(--radius-sm);
    padding: 16px;
}

.admin-status-card > span {
    color: var(--gv-muted);
    display: block;
    font-size: 0.78rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.admin-status-card .status-badge {
    align-items: center;
    border: 1px solid var(--status-border, var(--gv-border));
    border-radius: var(--radius-sm);
    color: var(--status-text, var(--gv-ink));
    display: inline-flex;
    gap: 9px;
    justify-content: flex-start;
    line-height: 1.2;
    min-height: 38px;
    padding: 10px 14px;
    vertical-align: middle;
    width: fit-content;
}

.admin-status-controls {
    display: grid;
    gap: 8px;
}

.admin-status-controls .form-select,
.admin-status-controls .btn {
    max-width: none;
    width: 100%;
}

.admin-order-details,
.admin-delivery-box {
    background: var(--gv-panel);
    border: 1px solid var(--gv-border);
    border-radius: var(--radius-sm);
    overflow: hidden;
}

.admin-order-details summary {
    align-items: center;
    cursor: pointer;
    display: flex;
    gap: 10px;
    font-weight: 600;
    justify-content: space-between;
    list-style: none;
    padding: 13px 14px;
}

.admin-order-details summary span {
    align-items: center;
    display: inline-flex;
    gap: 4px;
    min-width: 0;
}

.admin-order-details summary small {
    color: var(--gv-muted);
    font-size: 0.78rem;
    font-weight: 600;
    margin-left: auto;
    overflow-wrap: anywhere;
}

.admin-order-details summary::-webkit-details-marker {
    display: none;
}

.admin-order-details summary .bi-chevron-down {
    color: var(--gv-primary);
    transition: transform 180ms ease;
}

.admin-order-details[open] summary {
    border-bottom: 1px solid var(--gv-border);
}

.admin-order-details[open] summary .bi-chevron-down {
    transform: rotate(180deg);
}

.admin-order-detail-grid {
    display: grid;
    gap: 16px;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    padding: 18px;
}

.admin-order-detail-grid-single {
    grid-template-columns: minmax(0, 1fr);
}

.admin-order-status-details,
.admin-delivery-details {
    grid-column: 1 / -1;
}

.admin-order-status-details .admin-order-status-panel {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    padding: 14px;
}

.admin-order-status-details .admin-status-controls {
    align-items: end;
    grid-column: 1 / -1;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) auto;
}

.admin-status-reasons,
.admin-reason-controls,
.admin-quick-actions {
    grid-column: 1 / -1;
}

.admin-status-reasons {
    background: rgba(255, 190, 70, 0.07);
    border: 1px solid rgba(255, 190, 70, 0.2);
    border-radius: var(--radius-sm);
    color: var(--gv-ink);
    display: grid;
    gap: 8px;
    font-size: 0.88rem;
    font-weight: 700;
    padding: 12px 16px;
}

.admin-reason-controls {
    display: grid;
    gap: 10px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.admin-reason-controls label {
    display: grid;
    gap: 6px;
}

.admin-reason-controls span {
    color: var(--gv-muted);
    font-size: 0.78rem;
    font-weight: 600;
    text-transform: uppercase;
}

.admin-quick-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.faq-list {
    display: grid;
    gap: 12px;
    margin-inline: auto;
    max-width: 880px;
}

.faq-item {
    background: var(--gv-panel);
    border: 1px solid var(--gv-border);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-card);
    height: auto;
    overflow: hidden;
    padding: 0;
}

.faq-item summary {
    align-items: center;
    cursor: pointer;
    display: flex;
    font-weight: 700;
    justify-content: space-between;
    list-style: none;
    padding: 18px 20px;
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item summary i {
    color: var(--gv-primary);
    transition: transform 180ms ease;
}

.faq-item[open] summary {
    border-bottom: 1px solid var(--gv-border);
}

.faq-item[open] summary i {
    transform: rotate(180deg);
}

.faq-item:hover {
    border-color: rgba(255, 122, 26, 0.35);
    box-shadow: var(--shadow-md);
}

.faq-item p {
    padding: 16px 20px 20px;
    color: var(--gv-muted);
    line-height: 1.6;
}

.admin-order-line,
.admin-proof-line {
    padding: 8px 0;
}


.admin-customer-inputs-block {
    grid-column: 1 / -1;
}

.admin-customer-input-list {
    display: grid;
    gap: 10px;
}

.admin-customer-input-row {
    align-items: center;
    background: #111111;
    border: 1px solid var(--gv-border);
    border-radius: var(--radius-sm);
    display: flex;
    gap: 14px;
    justify-content: space-between;
    padding: 14px 16px;
}

.admin-customer-input-row span,
.admin-customer-input-row em {
    color: var(--gv-muted);
    display: block;
    font-size: 0.82rem;
    font-style: normal;
    font-weight: 700;
    margin-bottom: 5px;
}

.admin-customer-input-row code {
    color: var(--gv-ink);
    display: block;
    font-family: "Cascadia Code", "SFMono-Regular", Consolas, monospace;
    font-size: 0.95rem;
    font-weight: 700;
    max-width: 100%;
    word-break: break-all;
}

.admin-customer-input-row .btn {
    flex: 0 0 auto;
    border-radius: var(--radius-sm);
}

.admin-customer-input-row-pending {
    background: rgba(255, 190, 70, 0.08);
    border-color: rgba(255, 190, 70, 0.2);
}

.admin-customer-input-row-pending em {
    color: #ffcf66;
    margin-bottom: 0;
}

.admin-delivery-box {
    margin-top: 0 !important;
}

.admin-delivery-details .admin-delivery-box {
    border: 0;
    border-radius: 0;
}

.admin-delivery-box .btn {
    min-height: 38px;
    border-radius: var(--radius-sm);
}

.admin-delivery-text {
    min-height: 96px;
}

@media (max-width: 1199.98px) {
    .admin-shell > .container-fluid,
    .admin-navbar .container-fluid {
        max-width: 100%;
    }

    #ordersAdminPanel {
        max-width: none;
    }
}

@media (max-width: 991.98px) {
    #ordersAdminPanel {
        padding: 16px;
    }

    .admin-order-card-header,
    .admin-order-body,
    .admin-order-body-groups,
    .admin-order-detail-grid {
        grid-template-columns: 1fr;
    }

    .admin-order-status-details .admin-order-status-panel,
    .admin-order-status-details .admin-status-controls {
        grid-template-columns: 1fr;
    }

    .admin-reason-controls,
    .admin-quick-actions {
        grid-template-columns: 1fr;
    }

    .admin-quick-actions {
        display: grid;
    }

    .admin-quick-actions .btn {
        width: 100%;
    }

    .admin-order-actions {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        justify-content: stretch;
    }

    .admin-order-actions .btn {
        width: 100%;
    }
}

@media (max-width: 575.98px) {
    .admin-shell {
        padding-top: 0.85rem !important;
    }

    .admin-panel,
    .admin-order-card {
        padding: 12px;
    }

    .admin-page-title h1,
    .admin-order-title-block h3 {
        font-size: 1.45rem;
    }

    .admin-tabs {
        margin-left: -4px;
        margin-right: -4px;
        padding: 5px;
    }

    .admin-tabs .nav-link {
        min-height: 40px;
        min-width: max-content;
        padding: 0.55rem 0.8rem;
    }

    .admin-editor-details summary,
    .admin-order-details summary {
        padding: 12px;
    }

    .admin-form-section-body,
    .admin-order-detail-grid,
    .admin-order-status-details .admin-order-status-panel,
    .admin-delivery-box {
        padding: 12px;
    }

    .admin-editor-details .admin-section-heading p,
    .admin-order-details summary small {
        display: none;
    }

    .admin-order-toolbar,
    .admin-order-filters {
        grid-template-columns: 1fr;
    }

    .admin-order-actions {
        grid-template-columns: 1fr;
    }

    .admin-order-meta-row span,
    .admin-order-meta-row strong {
        width: 100%;
    }
}

/* ── ANIMATIONS ────────────────────────────── */

/* Hero floating blobs */
@keyframes heroBlob1 {
    0% { transform: translate(0, 0) scale(1) rotate(0deg); }
    50% { transform: translate(60px, -30px) scale(1.1) rotate(3deg); }
    100% { transform: translate(30px, -60px) scale(0.95) rotate(-2deg); }
}

@keyframes heroBlob2 {
    0% { transform: translate(0, 0) scale(1) rotate(0deg); }
    50% { transform: translate(-40px, 40px) scale(1.15) rotate(-4deg); }
    100% { transform: translate(-20px, 20px) scale(0.9) rotate(2deg); }
}

/* Scroll reveal */
.hk-reveal {
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    opacity: 0;
    pointer-events: none;
    transform: translateY(var(--reveal-y, 20px));
    transition: opacity 600ms var(--ease-out), transform 600ms var(--ease-out);
}

.hk-reveal.hk-visible {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}

/* Skeleton shimmer */
.hk-skeleton {
    background: linear-gradient(90deg, var(--gv-soft) 25%, var(--gv-panel) 50%, var(--gv-soft) 75%);
    background-size: 200% 100%;
    animation: skeletonShimmer 1.5s ease-in-out infinite;
    border-radius: var(--radius-sm);
}

@keyframes skeletonShimmer {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

/* Button ripple */
.hk-ripple {
    background: rgba(255, 255, 255, 0.35);
    border-radius: 50%;
    height: 100px;
    left: 0;
    pointer-events: none;
    position: absolute;
    top: 0;
    transform: scale(0);
    width: 100px;
}

.hk-ripple.hk-ripple-anim {
    animation: rippleAnim 600ms var(--ease-out) forwards;
}

@keyframes rippleAnim {
    to { opacity: 0; transform: scale(4); }
}

/* Toast */
.hk-toast {
    align-items: center;
    background: var(--gv-panel);
    border: 1px solid var(--gv-border);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    display: flex;
    gap: 10px;
    padding: 14px 18px;
    pointer-events: auto;
    transform: translateX(120%);
    transition: transform 400ms var(--ease-out);
}

.hk-toast.hk-toast-show {
    transform: translateX(0);
}

.hk-toast.hk-toast-success { border-left: 3px solid #25d366; }
.hk-toast.hk-toast-error { border-left: 3px solid #ff4d4d; }
.hk-toast.hk-toast-info { border-left: 3px solid var(--gv-primary); }

/* Existing animations preserved below */
@keyframes actionGlow {
    0%,
    100% {
        filter: drop-shadow(0 0 0 var(--action-glow, rgba(255, 122, 26, 0)));
    }

    50% {
        filter: drop-shadow(0 0 16px var(--action-glow, rgba(255, 122, 26, 0.42)));
    }
}

@keyframes surfaceGlowSweep {
    0%,
    100% {
        filter: saturate(1);
        transform: translate3d(-10%, -6%, 0) rotate(0deg) scale(0.96);
    }

    50% {
        filter: saturate(1.24);
        transform: translate3d(8%, 5%, 0) rotate(8deg) scale(1.05);
    }
}

@keyframes brandGlow {
    0%,
    100% {
        box-shadow: 0 0 0 1px rgba(255, 122, 26, 0.28), 0 10px 24px rgba(255, 122, 26, 0.22);
    }

    50% {
        box-shadow: 0 0 0 1px rgba(255, 122, 26, 0.58), 0 14px 34px rgba(255, 122, 26, 0.42);
    }
}

@keyframes statusPanelGlow {
    0%,
    100% {
        box-shadow: 0 20px 46px var(--status-glow, rgba(255, 190, 70, 0.14));
    }

    50% {
        box-shadow: 0 28px 66px var(--status-glow, rgba(255, 190, 70, 0.26));
    }
}

@keyframes iconGlow {
    0%,
    100% {
        box-shadow: 0 0 0 4px var(--status-halo, rgba(255, 190, 70, 0.12)), 0 0 18px var(--status-color, #ffbe46);
        transform: scale(1);
    }

    50% {
        box-shadow: 0 0 0 7px var(--status-halo, rgba(255, 190, 70, 0.2)), 0 0 32px var(--status-color, #ffbe46);
        transform: scale(1.03);
    }
}

@keyframes progressGlow {
    0%,
    100% {
        box-shadow: 0 0 16px rgba(44, 236, 132, 0.18);
        filter: saturate(1);
    }

    50% {
        box-shadow: 0 0 30px rgba(44, 236, 132, 0.36);
        filter: saturate(1.12);
    }
}

@keyframes dotGlow {
    0%,
    100% {
        filter: brightness(1);
    }

    50% {
        filter: brightness(1.16);
    }
}

@keyframes deliveryGlow {
    0%,
    100% {
        box-shadow: 0 18px 40px rgba(44, 236, 132, 0.1);
    }

    50% {
        box-shadow: 0 24px 58px rgba(44, 236, 132, 0.18);
    }
}

@keyframes statusBadgeGlow {
    0%,
    100% {
        box-shadow: 0 0 18px var(--status-glow, rgba(255, 255, 255, 0.08));
    }

    50% {
        box-shadow: 0 0 30px var(--status-glow, rgba(255, 255, 255, 0.16));
    }
}

@keyframes logoBreath {
    0%,
    100% {
        filter: drop-shadow(0 0 0 rgba(255, 122, 26, 0));
        transform: scale(1);
    }

    50% {
        filter: drop-shadow(0 0 10px rgba(255, 122, 26, 0.36));
        transform: scale(1.04);
    }
}

@keyframes heroShift {
    0%,
    100% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }
}

@keyframes mediaDrift {
    from {
        transform: scale(1);
    }

    to {
        transform: scale(1.05);
    }
}

@keyframes panelFloat {
    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-8px);
    }
}

@keyframes statusPulse {
    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.22);
    }
}

@keyframes homeSweep {
    from {
        transform: translateX(-55%);
    }

    to {
        transform: translateX(55%);
    }
}

@keyframes lineSweep {
    0%,
    100% {
        opacity: 0.35;
        transform: translateX(-45%);
    }

    50% {
        opacity: 1;
        transform: translateX(90%);
    }
}

@keyframes artRimPulse {
    0%,
    100% {
        box-shadow: inset 0 0 0 1px rgba(255, 122, 26, 0.25), 0 0 0 rgba(255, 122, 26, 0);
    }

    50% {
        box-shadow: inset 0 0 0 1px rgba(255, 122, 26, 0.45), 0 0 24px rgba(255, 122, 26, 0.28);
    }
}

@keyframes artScanline {
    0% {
        transform: translateY(-120%);
        opacity: 0;
    }

    15% {
        opacity: 0.5;
    }

    85% {
        opacity: 0.5;
    }

    100% {
        transform: translateY(120%);
        opacity: 0;
    }
}

@keyframes chipGlowViolet {
    0%,
    100% {
        box-shadow: 0 0 0 rgba(124, 77, 224, 0);
    }

    50% {
        box-shadow: 0 0 14px var(--gv-violet-glow);
    }
}

@keyframes pageRise {
    from {
        opacity: 0;
        transform: translateY(26px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes softReveal {
    from {
        opacity: 0;
        transform: translateY(18px) scale(0.965);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes buttonShine {
    0%,
    45% {
        transform: translateX(-130%) skewX(-16deg);
    }

    70%,
    100% {
        transform: translateX(130%) skewX(-16deg);
    }
}

@keyframes badgePop {
    0%,
    100% {
        transform: scale(1);
    }

    45% {
        transform: scale(1.36);
    }
}

@keyframes popupCrossOut {
    from {
        clip-path: inset(0 0 0 0);
        opacity: 1;
        transform: translateY(0) scale(1);
    }

    to {
        clip-path: inset(0 0 0 100%);
        opacity: 0;
        transform: translateY(-12px) scale(0.97);
    }
}

main > section {
    animation: pageRise 420ms ease-out both;
}

main > section:nth-of-type(2) {
    animation-delay: 80ms;
}

main > section:nth-of-type(3) {
    animation-delay: 140ms;
}

main > section:nth-of-type(4) {
    animation-delay: 200ms;
}

.content-panel,
.summary-card,
.product-card,
.category-card,
.hero-console,
.guide-action-step,
.guide-current-step,
.guide-real-panel,
.order-status-card,
.payment-recipient-card,
.customer-trust-card {
    animation: softReveal 620ms cubic-bezier(0.16, 1, 0.3, 1) both;
}

.product-card:nth-child(2n),
.category-card:nth-child(2n),
.process-steps div:nth-child(2n),
.hero-payment-list div:nth-child(2n) {
    animation-delay: 90ms;
}

.product-card:nth-child(3n),
.category-card:nth-child(3n),
.process-steps div:nth-child(3n),
.hero-payment-list div:nth-child(3n) {
    animation-delay: 160ms;
}

.product-card:nth-child(4n),
.category-card:nth-child(4n),
.process-steps div:nth-child(4n),
.hero-payment-list div:nth-child(4n) {
    animation-delay: 230ms;
}

.product-card,
.category-card,
.content-panel,
.summary-card,
.payment-recipient-card,
.guide-action-step,
.guide-current-step,
.guide-real-panel,
.delivery-code-row,
.admin-order-card {
    transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.content-panel:hover,
.summary-card:hover,
.payment-recipient-card:hover,
.guide-action-step:hover,
.guide-current-step:hover,
.guide-real-panel:hover,
.delivery-code-row:hover,
.admin-order-card:hover {
    border-color: rgba(255, 122, 26, 0.48);
    box-shadow: 0 26px 62px rgba(255, 122, 26, 0.2);
    transform: translateY(-6px);
}


.btn-primary {
    --action-glow: rgba(255, 122, 26, 0.48);
}

.whatsapp-order-button,
.support-whatsapp {
    --action-glow: rgba(37, 211, 102, 0.42);
}

.btn-primary,
.whatsapp-order-button,
.support-whatsapp {
    animation: actionGlow 4.2s ease-in-out infinite;
}

.product-card,
.category-card,
.service-card,
.content-panel,
.summary-card,
.payment-recipient-card,
.customer-trust-card,
.checkout-form,
.process-steps div,
.guide-action-step,
.guide-current-step,
.guide-real-panel,
.guide-mini-screen,
.guide-status-preview,
.guide-delivery-mock,
.guide-player-mock,
.order-status-card,
.delivery-code-row,
.admin-order-card {
    isolation: isolate;
    overflow: hidden;
    position: relative;
}

.product-card > *,
.category-card > *,
.service-card > *,
.content-panel > *,
.summary-card > *,
.payment-recipient-card > *,
.customer-trust-card > *,
.checkout-form > *,
.process-steps div > *,
.guide-action-step > *,
.guide-current-step > *,
.guide-real-panel > *,
.guide-mini-screen > *,
.guide-status-preview > *,
.guide-delivery-mock > *,
.guide-player-mock > *,
.order-status-card > *,
.delivery-code-row > *,
.admin-order-card > * {
    position: relative;
    z-index: 1;
}

.product-card::before,
.category-card::before,
.service-card::before,
.content-panel::before,
.summary-card::before,
.payment-recipient-card::before,
.customer-trust-card::before,
.checkout-form::before,
.process-steps div::before,
.guide-action-step::before,
.guide-current-step::before,
.guide-real-panel::before,
.guide-mini-screen::before,
.guide-status-preview::before,
.guide-delivery-mock::before,
.guide-player-mock::before,
.order-status-card::before,
.delivery-code-row::before,
.admin-order-card::before {
    animation: surfaceGlowSweep 5.6s ease-in-out infinite;
    background:
        radial-gradient(circle at 18% 12%, rgba(255, 122, 26, 0.28), transparent 28%),
        radial-gradient(circle at 82% 76%, rgba(44, 236, 132, 0.12), transparent 24%),
        linear-gradient(115deg, transparent 20%, rgba(255, 255, 255, 0.08) 46%, transparent 68%);
    content: "";
    inset: -42%;
    opacity: 0;
    pointer-events: none;
    position: absolute;
    transform: translate3d(-8%, -5%, 0) rotate(0deg) scale(0.96);
    transition: opacity 220ms ease;
    z-index: 0;
}

.product-card:hover::before,
.product-card:focus-within::before,
.category-card:hover::before,
.category-card:focus-within::before,
.service-card:hover::before,
.service-card:focus-within::before,
.content-panel:hover::before,
.content-panel:focus-within::before,
.summary-card:hover::before,
.summary-card:focus-within::before,
.customer-trust-card:hover::before,
.customer-trust-card:focus-within::before,
.process-steps div:hover::before,
.guide-action-step:hover::before,
.guide-action-step:focus-within::before,
.guide-current-step:hover::before,
.guide-current-step:focus-within::before,
.guide-real-panel:hover::before,
.guide-real-panel:focus-within::before,
.guide-mini-screen:hover::before,
.guide-status-preview:hover::before,
.guide-delivery-mock:hover::before,
.guide-player-mock:hover::before,
.order-status-card:hover::before,
.delivery-code-row:hover::before,
.admin-order-card:hover::before {
    opacity: 0.95;
}

.payment-recipient-card::before,
.checkout-form::before {
    opacity: 0.24;
}

.payment-recipient-card:hover::before,
.payment-recipient-card:focus-within::before,
.checkout-form:hover::before,
.checkout-form:focus-within::before {
    opacity: 0.85;
}

.btn:active {
    transform: translateY(0) scale(0.985);
}

.cart-count.cart-count-pop {
    animation: badgePop 360ms ease;
}

.guide-mini-screen,
.guide-status-preview,
.guide-delivery-mock,
.guide-player-mock {
    transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.guide-mini-screen:hover,
.guide-status-preview:hover,
.guide-delivery-mock:hover,
.guide-player-mock:hover {
    border-color: rgba(255, 122, 26, 0.5);
    box-shadow: 0 24px 56px rgba(255, 122, 26, 0.24);
    transform: translateY(-6px);
}

.guide-mini-screen button:hover,
.guide-preview-copy:hover,
.guide-delivery-row button:hover,
.guide-player-mock button:hover {
    box-shadow: 0 14px 34px rgba(255, 122, 26, 0.34);
    transform: translateY(-2px) scale(1.02);
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.001ms !important;
        animation-iteration-count: 1 !important;
        scroll-behavior: auto !important;
        transition-duration: 0.001ms !important;
    }

}

@media (max-width: 767.98px) {
    .page-heading .container {
        padding-bottom: 1rem !important;
        padding-top: 1rem !important;
    }

    .page-heading h1 {
        font-size: 1.6rem;
        line-height: 1.18;
        margin-bottom: 0.35rem !important;
    }

    .page-heading .eyebrow {
        margin-bottom: 0.25rem !important;
    }

    .page-heading p:not(.eyebrow) {
        font-size: 0.92rem;
        line-height: 1.35;
    }

    .cart-add-popup {
        grid-template-columns: 1fr;
        left: 14px;
        max-width: none;
        padding: 14px;
        right: 14px;
        top: 74px;
        width: auto;
    }

    .cart-add-popup-icon {
        height: 44px;
        width: 44px;
    }

    .cart-add-popup-body {
        padding-right: 0;
    }

    .cart-add-popup-stats {
        grid-template-columns: 1fr;
    }

    .cart-add-popup-actions .btn {
        flex: 1 1 130px;
    }

    .page-heading-compact .container {
        padding-bottom: 0.95rem;
        padding-top: 0.95rem;
    }

    .page-heading-compact h1 {
        font-size: 1.55rem;
        margin-bottom: 0.35rem !important;
    }

    .page-heading-compact .eyebrow {
        margin-bottom: 0.25rem !important;
    }

    .page-heading-compact p:not(.eyebrow) {
        font-size: 0.92rem;
        line-height: 1.35;
    }

    .order-received-main {
        padding-top: 1.25rem !important;
    }

    .admin-navbar .container-fluid {
        align-items: flex-start;
        flex-wrap: wrap;
    }

    .admin-header-actions {
        display: grid;
        grid-template-columns: 1fr 1.35fr;
        margin-left: 0;
        width: 100%;
    }

    .admin-header-actions .btn {
        width: 100%;
    }

    .admin-page-title {
        align-items: flex-start;
        display: block;
    }

    .admin-tabs {
        position: static;
    }

    .admin-tabs .nav-link {
        min-width: 80px;
        text-align: center;
    }

    .admin-product-sidebar {
        position: static;
    }

    .admin-editor-header {
        display: block;
    }

    .admin-editor-actions {
        display: grid;
        grid-template-columns: 1fr 1fr;
        margin-top: 14px;
    }

    .admin-section-heading {
        gap: 10px;
    }

    .admin-save-bar {
        display: grid;
        background: var(--gv-panel);
        border: 1px solid var(--gv-border);
        border-radius: 8px;
        bottom: 10px;
        grid-template-columns: 1fr;
        padding: 10px;
        position: sticky;
        z-index: 12;
    }

    .admin-save-bar .btn {
        width: 100%;
    }

    .home-hero {
        padding-bottom: 2.75rem;
        padding-top: 3rem;
    }

    .home-hero .display-3 {
        max-width: 100%;
    }

    .home-hero-ctas {
        align-items: stretch;
    }

    .hero-primary-cta {
        width: 100%;
    }

    .home-hero .hero-secondary-cta {
        flex: 1 1 calc(50% - 8px);
        justify-content: center;
    }

    .hero-delivery-note {
        flex: 1 1 100%;
        justify-content: center;
    }

    .home-trust-strip span {
        flex: 1 1 calc(50% - 10px);
        justify-content: center;
    }

    .hero-console {
        animation: none;
    }

    .hero-payment-list,
    .home-process,
    .quick-steps-layout,
    .process-steps,
    .quick-steps-grid {
        grid-template-columns: 1fr;
    }

    .section-heading-row {
        align-items: flex-start;
        flex-direction: column;
    }

    .hero-media,
    .hero-media img {
        min-height: 320px;
    }

    .trust-row {
        grid-template-columns: 1fr;
    }

    .cart-item {
        align-items: start;
        grid-template-columns: 60px minmax(0, 1fr);
    }

    .cart-actions {
        grid-column: 1 / -1;
    }

    .deal-panel {
        padding: 28px;
    }

    .admin-list {
        max-height: none;
    }

    .admin-sticky,
    .admin-tools-stack {
        position: static;
    }

    .admin-variation-row {
        grid-template-columns: 1fr;
    }

    .admin-item-meta {
        align-items: flex-start;
    }

    .payment-total-grid {
        grid-template-columns: 1fr;
    }

    .payment-recipient-card {
        align-items: stretch;
        flex-direction: column;
    }

    .payment-recipient-card .btn {
        width: 100%;
    }

    .guide-status-preview,
    .guide-delivery-mock,
    .guide-player-mock {
        padding: 14px;
    }

    .guide-current-step {
        grid-template-columns: 1fr;
        padding: 14px;
    }

    .guide-current-step,
    .guide-real-panel,
    .guide-hero-status {
        gap: 14px;
    }

    .guide-action-step {
        grid-template-columns: 1fr;
        padding: 14px;
    }

    .guide-step-copy,
    .guide-action-copy {
        gap: 12px;
    }

    .guide-real-panel .cart-item {
        grid-template-columns: 54px minmax(0, 1fr);
    }

    .guide-real-panel .cart-item > strong {
        grid-column: 2;
    }

    .guide-mini-screen button {
        width: 100%;
    }

    .order-id-warning {
        flex-direction: column;
    }

    .order-received-example-grid {
        grid-template-columns: 1fr;
    }

    .guide-preview-top {
        flex-direction: column;
    }

    .guide-delivery-row {
        align-items: stretch;
        grid-template-columns: 1fr;
    }

    .guide-preview-copy,
    .guide-delivery-row button,
    .guide-player-mock button {
        width: 100%;
    }

    .customer-trust-grid {
        grid-template-columns: 1fr;
    }

    .status-grid {
        grid-template-columns: 1fr;
    }

    .order-status-header,
    .order-status-actions {
        display: grid;
        grid-template-columns: 1fr;
    }

    .order-status-actions .btn {
        width: 100%;
    }

    .current-status-panel {
        grid-template-columns: 1fr;
        padding: 16px;
    }

    .current-status-icon {
        height: 44px;
        width: 44px;
    }

    .order-progress-bar {
        overflow: visible;
        padding: 12px;
    }

    .order-progress-scroll {
        overflow-x: visible;
        padding-bottom: 0;
    }

    .order-progress-inner {
        min-width: 0;
        padding-top: 0;
        width: 100%;
    }

    .order-progress-track {
        display: none;
    }

    .order-progress-steps {
        gap: 10px;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .order-progress-step {
        align-items: center;
        background: rgba(255, 255, 255, 0.035);
        border: 1px solid var(--gv-border);
        border-radius: 8px;
        gap: 8px;
        grid-template-columns: auto minmax(0, 1fr);
        justify-items: start;
        min-height: 64px;
        padding: 10px;
        text-align: left;
    }

    [dir="rtl"] .order-progress-step {
        direction: rtl;
        text-align: right;
    }

    .order-progress-step span {
        font-size: 0.76rem;
        height: 30px;
        width: 30px;
    }

    .order-progress-step strong {
        font-size: 0.82rem;
        max-width: none;
        overflow-wrap: anywhere;
    }

    .order-timeline {
        grid-template-columns: 1fr;
    }

    .order-timeline-step {
        min-height: auto;
    }

    .delivery-code-row {
        align-items: stretch;
        flex-direction: column;
    }

    .delivery-code-row .btn {
        width: 100%;
    }

    .admin-order-toolbar,
    .admin-order-filters,
    .admin-order-body,
    .admin-order-grid {
        grid-template-columns: 1fr;
    }

    .admin-status-controls .form-select {
        max-width: none;
    }

    .support-whatsapp {
        bottom: 14px;
        padding: 12px;
        right: 14px;
    }

    [dir="rtl"] .support-whatsapp {
        left: 14px;
        right: auto;
    }

    .support-whatsapp span {
        display: none;
    }

    .whatsapp-order-button {
        border-radius: 10px;
        font-size: 1rem;
        line-height: 1.25;
        min-height: 60px;
        padding: 14px 12px;
        white-space: normal;
    }

    .whatsapp-order-button i {
        font-size: 1.35rem;
        height: 38px;
        width: 38px;
    }
}

@media (max-width: 380px) {
    .order-progress-steps {
        grid-template-columns: 1fr;
    }
}
/* ==========================================================
   Mobile overflow / viewport safety patch
   Add this at the END of styles.css.
   Also make sure every HTML page has:
   <meta name="viewport" content="width=device-width, initial-scale=1">
   ========================================================== */

*,
*::before,
*::after {
    box-sizing: border-box;
}

html,
body {
    width: 100%;
    max-width: 100%;
    min-width: 0;
}

html {
    overflow-x: hidden;
}

body {
    overflow-x: clip;
}

@supports not (overflow-x: clip) {
    body {
        overflow-x: hidden;
    }
}

img,
svg,
video,
canvas,
iframe {
    max-width: 100%;
}

.container,
.container-fluid,
.row,
[class^="col-"],
[class*=" col-"] {
    min-width: 0;
}

.navbar,
.navbar .container,
.navbar .container-fluid,
.navbar-brand,
.navbar-collapse,
.navbar-nav,
.home-hero,
.hero-console,
.hero-console-top,
.home-trust-strip,
.category-card,
.product-card,
.service-card,
.content-panel,
.summary-card,
.deal-panel,
.cart-item,
.summary-line,
.payment-recipient-card,
.delivery-code-row,
.order-delivery-box,
.customer-input-form,
.admin-product-item,
.admin-item-meta,
.admin-editor-header,
.admin-header-actions,
.admin-save-bar {
    max-width: 100%;
    min-width: 0;
}

.navbar-brand,
.hero-console-top,
.summary-line,
.payment-recipient-card,
.delivery-code-row,
.admin-product-item,
.admin-editor-header,
.admin-header-actions,
.admin-save-bar {
    flex-wrap: wrap;
}

.navbar-brand span,
.navbar-brand strong,
.home-trust-strip span,
.category-card span,
.category-card small,
.product-title-link,
.price,
.product-price,
.summary-line span,
.summary-line strong,
.payment-recipient-card strong,
.payment-recipient-card code,
.delivery-code-row code,
.admin-product-item strong,
.admin-product-item small,
.admin-item-meta {
    overflow-wrap: anywhere;
    word-break: normal;
}

.summary-line {
    gap: 10px;
}

.summary-line span {
    flex: 1 1 120px;
}

.summary-line strong {
    flex: 0 1 auto;
}

.payment-recipient-card > *,
.delivery-code-row > *,
.cart-item > * {
    min-width: 0;
}

.payment-recipient-card code {
    max-width: 100%;
    white-space: normal;
}

.home-trust-strip span {
    min-width: 0;
    text-align: center;
}

@media (max-width: 575.98px) {
    body {
        padding-bottom: 72px;
    }

    .home-trust-strip span {
        flex: 1 1 100%;
    }

    .hero-console-top {
        align-items: flex-start;
    }

    .hero-logo-mark {
        height: 52px;
        width: 52px;
    }

    .product-showcase {
        padding: 22px;
    }

    .product-showcase i {
        font-size: clamp(4rem, 22vw, 7rem);
    }

    .deal-panel,
    .service-card,
    .content-panel,
    .summary-card {
        padding: 22px;
    }

    .support-whatsapp {
        bottom: 12px;
        padding: 10px 12px;
        right: 12px;
    }
}

@media (max-width: 380px) {
    .language-toggle {
        min-width: 52px;
        padding-left: 8px;
        padding-right: 8px;
    }

    .theme-toggle {
        width: 38px;
    }
}

/* ── PERFORMANCE ────────────────────────────── */
/* Animations are kept. prefers-reduced-motion handles accessibility.
   Specific overrides for mobile moved to responsive section. */

/* Final admin layout override: full-width, calmer, clearer workspace. */
.admin-navbar .admin-header-fluid,
.admin-shell > .admin-fluid {
    max-width: none;
    width: 100%;
}

.admin-workspace-shell {
    padding: 10px 0 18px !important;
}

.admin-page-title-compact {
    align-items: center;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 122, 26, 0.18);
    border-radius: var(--radius-sm);
    box-shadow: 0 1px 3px rgba(0,0,0,0.10);
    display: flex;
    gap: 16px;
    justify-content: space-between;
    min-height: 0;
    padding: 14px 18px;
}

.admin-section-tabs {
    box-shadow: none;
    margin-bottom: 14px !important;
    top: 60px;
}

.admin-tab-content {
    width: 100%;
}

.admin-pane-heading {
    align-items: center;
    background: var(--gv-soft);
    border: 1px solid var(--gv-border);
    border-left: 3px solid var(--gv-primary);
    border-radius: var(--radius-sm);
    box-shadow: 0 1px 3px rgba(0,0,0,0.08);
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: space-between;
    margin-bottom: 14px;
    padding: 14px 18px;
}

.admin-products-layout {
    gap: 16px;
    grid-template-columns: minmax(280px, 360px) minmax(560px, 1fr) minmax(280px, 380px);
}

.admin-product-sidebar,
.admin-preview-column {
    top: 118px;
}

.admin-product-editor,
.admin-product-sidebar,
.admin-preview-column,
#ordersAdminPanel,
.admin-provider-card,
.admin-file-box,
.admin-settings-grid > .content-panel,
#categoriesPane > .content-panel {
    box-shadow: none;
}

#ordersAdminPanel {
    max-width: none;
    padding: 16px;
    width: 100%;
}

.admin-order-toolbar {
    grid-template-columns: minmax(260px, 420px) auto auto;
}

.admin-order-card {
    padding: 14px;
}

.admin-order-body-groups {
    gap: 12px;
    grid-template-columns: repeat(2, minmax(320px, 1fr));
}

.admin-provider-grid,
.admin-import-grid,
.admin-settings-grid {
    grid-template-columns: repeat(2, minmax(360px, 1fr));
}

.admin-form-section-body,
.admin-preview-body {
    padding: 14px;
}

.admin-editor-details summary {
    padding: 14px;
}

.admin-list-tall {
    max-height: calc(100dvh - 285px);
    scrollbar-gutter: stable;
}


/* Compact public mobile UI */
@media (max-width: 767.98px) {
    body {
        font-size: 0.92rem;
    }

    .container {
        --bs-gutter-x: 1rem;
    }

/* ── NAVBAR ───────────────────────────────── */

.navbar {
        min-height: 58px;
    }

    .navbar-brand {
        font-size: 1rem;
        gap: 8px;
    }

    .brand-mark {
        border-radius: 7px;
        height: 34px;
        width: 34px;
    }

    .navbar .btn,
    .language-toggle,
    .navbar-toggler {
        min-height: 38px;
        padding: 0.42rem 0.62rem;
    }

    .home-hero {
        padding: 2rem 0 1.35rem;
    }

    .home-hero .display-3 {
        font-size: clamp(2rem, 10vw, 2.65rem);
        line-height: 1.04;
    }

    .home-hero-copy,
    .page-heading p,
    .text-secondary {
        line-height: 1.38;
    }

    .home-hero-ctas {
        gap: 8px;
        margin-bottom: 1rem !important;
    }

    .btn,
    .btn-lg {
        border-radius: 8px;
        min-height: 40px;
        padding: 0.55rem 0.75rem;
    }

    .btn-lg {
        font-size: 0.95rem;
    }

    main .py-5,
    .home-band,
    .home-section-compact {
        padding-bottom: 1.45rem !important;
        padding-top: 1.45rem !important;
    }

    .page-heading .container {
        padding-bottom: 1rem !important;
        padding-top: 1rem !important;
    }

    .page-heading h1,
    .section-heading-row h2,
    .home-process h2 {
        font-size: 1.45rem;
        line-height: 1.12;
    }

    .section-heading-row {
        align-items: center;
        gap: 10px;
        margin-bottom: 1rem;
    }

    .row.g-4,
    .row.g-3 {
        --bs-gutter-x: 0.65rem;
        --bs-gutter-y: 0.65rem;
    }

    .content-panel,
    .summary-card,
    .checkout-form,
    .customer-trust-card,
    .hero-console,
    .home-process,
    .payment-recipient-card,
    .order-status-card {
        padding: 14px;
    }

    .form-control,
    .form-select,
    .checkout-form .form-control,
    .checkout-form .form-select {
        min-height: 42px;
        padding: 0.52rem 0.7rem;
    }

    .form-label {
        font-size: 0.86rem;
        margin-bottom: 0.35rem;
    }

    .alert {
        font-size: 0.86rem;
        padding: 0.75rem;
    }

    .payment-radio-option {
        gap: 9px;
        min-height: 50px;
        padding: 10px;
    }

    .payment-radio-option strong {
        font-size: 0.9rem;
    }

    .payment-radio-option small {
        font-size: 0.76rem;
    }

    .customer-trust-grid,
    .process-steps,
    .hero-payment-list {
        gap: 8px;
    }

    .customer-trust-grid > div,
    .process-steps > div,
    .hero-payment-list > div {
        padding: 10px;
    }

    .product-card {
        border-radius: 8px;
        min-width: 0;
    }

    .product-card .product-art {
        aspect-ratio: 1 / 1;
    }

    .product-card .product-art i {
        font-size: 2.35rem;
    }

    .product-card .card-body {
        padding: 9px;
    }

    .product-card .card-body .d-flex.flex-wrap {
        gap: 4px !important;
        margin-bottom: 0.4rem !important;
    }

    .product-card .badge {
        font-size: 0.58rem;
        max-width: 100%;
        overflow: hidden;
        padding: 0.24rem 0.35rem;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .product-card h2 {
        font-size: 0.88rem;
        line-height: 1.16;
        margin-bottom: 0.35rem;
    }

    .product-card p.text-secondary {
        display: none;
    }

    .product-card .card-body > .d-flex.justify-content-between {
        align-items: stretch !important;
        flex-direction: column;
        gap: 7px;
    }

    .product-card .price {
        font-size: 0.84rem;
        line-height: 1.15;
    }

    .product-card .btn-sm {
        font-size: 0.75rem;
        min-height: 32px;
        padding: 0.34rem 0.4rem;
        width: 100%;
    }

    .category-card {
        gap: 8px;
        padding: 12px;
    }

    .category-card i {
        font-size: 1rem;
        height: 34px;
        width: 34px;
    }

    .category-card span {
        font-size: 0.9rem;
        line-height: 1.15;
    }

    .category-card small,
    .catalog-category-card strong {
        font-size: 0.72rem;
    }

    .support-whatsapp {
        bottom: 10px;
        min-height: 42px;
        padding: 10px 11px;
        right: 10px;
    }

    [dir="rtl"] .support-whatsapp {
        left: 10px;
        right: auto;
    }
}

@media (max-width: 380px) {
    .product-card .card-body {
        padding: 8px;
    }

    .product-card h2 {
        font-size: 0.82rem;
    }

    .product-card .badge {
        font-size: 0.54rem;
    }

    .product-card .price {
        font-size: 0.78rem;
    }
}


@media (min-width: 1600px) {
    .admin-products-layout {
        grid-template-columns: minmax(300px, 400px) minmax(720px, 1fr) minmax(320px, 420px);
    }
}

@media (max-width: 1199.98px) {
    .admin-products-layout,
    .admin-provider-grid,
    .admin-import-grid,
    .admin-settings-grid,
    .admin-order-body-groups {
        grid-template-columns: 1fr;
    }

    .admin-product-sidebar,
    .admin-preview-column {
        position: static;
    }

    .admin-order-toolbar {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 767.98px) {
    .admin-header-fluid,
    .admin-fluid {
        padding-left: 10px !important;
        padding-right: 10px !important;
    }

    .admin-page-title-compact,
    .admin-pane-heading,
    #ordersAdminPanel {
        padding: 12px;
    }

    .admin-page-title-compact {
        align-items: flex-start;
        flex-direction: column;
    }

    .admin-section-tabs {
        margin-left: -2px;
        margin-right: -2px;
        position: static;
    }

    .admin-products-layout {
        display: block;
    }

    .admin-order-card {
        padding: 12px;
    }
}

/* Performance mode: remove scroll/reveal effects that felt laggy. */
html {
    scroll-behavior: auto;
}

main > section,
.content-panel,
.summary-card,
.product-card,
.category-card,
.hero-console,
.guide-action-step,
.guide-current-step,
.guide-real-panel,
/* Deliberate pause on hover effects removed — now handled by CSS transitions. */

/* Admin workspace refinement */
.admin-workspace-shell {
    padding-top: 0.85rem !important;
}

.admin-page-title-compact {
    padding: 14px 18px;
}

.admin-section-tabs {
    gap: 8px;
    top: 64px;
}

.admin-pane-heading {
    align-items: center;
    display: flex;
    gap: 16px;
    justify-content: space-between;
    margin-bottom: 14px;
}

.admin-products-layout {
    align-items: start;
    display: grid;
    gap: 14px;
    grid-template-columns: minmax(260px, 320px) minmax(0, 1fr) minmax(260px, 340px);
}

.admin-product-sidebar,
.admin-preview-column {
    position: sticky;
    top: 136px;
}

.admin-sidebar-heading {
    align-items: flex-start;
    display: flex;
    gap: 12px;
    justify-content: space-between;
    margin-bottom: 14px;
}

.admin-sidebar-heading small {
    color: var(--gv-muted);
    font-weight: 600;
}

.admin-sidebar-filters {
    display: grid;
    gap: 10px;
}

.admin-list-tall {
    max-height: calc(100vh - 330px);
}

.admin-product-editor {
    padding-bottom: 0;
}

.admin-section-state {
    border: 1px solid var(--gv-border);
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 700;
    padding: 6px 10px;
    white-space: nowrap;
}

.admin-section-state-complete {
    background: rgba(44, 236, 132, 0.12);
    border-color: rgba(44, 236, 132, 0.34);
    color: #8dffc0;
}

.admin-section-state-missing {
    background: rgba(255, 190, 70, 0.12);
    border-color: rgba(255, 190, 70, 0.38);
    color: #ffcf72;
}

.admin-section-state-optional {
    background: rgba(169, 173, 180, 0.12);
    color: var(--gv-muted);
}

.admin-save-bar {
    background: var(--gv-panel);
    border: 1px solid var(--gv-border);
    border-radius: var(--radius-md);
    bottom: 12px;
    box-shadow: var(--shadow-card);
    padding: 14px 18px;
    position: sticky;
    z-index: 20;
}

.admin-unsaved-indicator {
    align-items: center;
    color: var(--gv-muted);
    display: inline-flex;
    font-weight: 600;
    gap: 8px;
    margin-right: auto;
}

.admin-unsaved-indicator span {
    background: #2cec84;
    border-radius: 999px;
    box-shadow: 0 0 18px rgba(44, 236, 132, 0.5);
    height: 10px;
    width: 10px;
}

.admin-unsaved-indicator.is-dirty {
    color: #ffcf72;
}

.admin-unsaved-indicator.is-dirty span {
    background: #ffbe46;
    box-shadow: 0 0 18px rgba(255, 190, 70, 0.52);
}

.admin-provider-grid,
.admin-import-grid,
.admin-settings-grid {
    align-items: start;
    display: grid;
    gap: 14px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.admin-provider-card {
    border-radius: var(--radius-sm);
}

.admin-provider-card summary {
    align-items: center;
    cursor: pointer;
    display: flex;
    gap: 12px;
    justify-content: space-between;
    list-style: none;
}

.admin-provider-card summary::-webkit-details-marker {
    display: none;
}

.admin-provider-status {
    color: var(--gv-muted);
    display: block;
    font-size: 0.78rem;
    font-weight: 600;
    margin-bottom: 4px;
}

.admin-inline-control {
    align-items: center;
    display: flex;
    gap: 8px;
}

/* Seller marketplace editor */
.slr-product-modal-dialog {
    max-width: min(1500px, calc(100vw - 2rem));
}

@media (min-width: 992px) {
    .slr-product-modal-dialog {
        margin-left: auto;
        margin-right: auto;
        max-width: min(1600px, calc(100vw - 64px));
        width: auto;
    }
}

.slr-product-modal-body {
    background: var(--bs-body-bg);
    padding: 16px;
}

.slr-product-editor-layout {
    align-items: start;
    display: grid;
    gap: 16px;
    grid-template-columns: minmax(0, 1fr) minmax(280px, 360px);
}

.slr-product-editor-layout .admin-product-editor,
.slr-product-preview-column .admin-preview-body {
    box-shadow: none;
}

.slr-product-editor-layout .admin-variation-row {
    grid-template-columns: 1fr 1.35fr 0.8fr auto;
}

.slr-product-preview-column {
    position: sticky;
    top: 0;
}

.slr-image-preview {
    align-items: center;
    aspect-ratio: 16 / 10;
    background: var(--gv-soft);
    border: 1px solid var(--gv-border);
    border-radius: var(--radius-sm);
    display: flex;
    justify-content: center;
    overflow: hidden;
}

.slr-image-preview img {
    height: 100%;
    object-fit: cover;
    width: 100%;
}

@media (max-width: 991.98px) {
    .slr-product-editor-layout {
        grid-template-columns: 1fr;
    }

    .slr-product-preview-column {
        position: static;
    }
}

@media (max-width: 767.98px) {
    .slr-product-modal-dialog {
        margin: 0;
        max-width: none;
        min-height: 100dvh;
        width: 100%;
    }

    .slr-product-modal-dialog .modal-content {
        border: 0;
        border-radius: 0;
        min-height: 100dvh;
    }

    .slr-product-modal-body {
        padding: 10px;
    }

    .slr-product-editor-layout .admin-variation-row {
        align-items: stretch;
        grid-template-columns: 1fr;
    }

    .slr-product-editor-layout .admin-editor-details summary {
        grid-template-columns: minmax(0, 1fr) auto;
    }

    .slr-product-editor-layout .admin-save-bar {
        display: grid;
        grid-template-columns: 1fr;
    }

    .slr-product-editor-layout .admin-save-bar .btn {
        min-height: 46px;
        width: 100%;
    }
}

.admin-order-card.order-priority-pending {
    border-color: rgba(255, 190, 70, 0.52);
    box-shadow: 0 18px 48px rgba(255, 190, 70, 0.12);
}

.admin-order-card.order-priority-delivering {
    border-color: rgba(255, 122, 26, 0.42);
}

.admin-order-card.order-priority-completed {
    border-color: rgba(44, 236, 132, 0.36);
}

.admin-order-card.order-priority-cancelled {
    border-color: rgba(255, 83, 97, 0.42);
}

.admin-category-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: flex-end;
}

@media (max-width: 1199.98px) {
    .admin-products-layout,
    .admin-provider-grid,
    .admin-import-grid,
    .admin-settings-grid {
        grid-template-columns: 1fr;
    }

    .admin-product-sidebar,
    .admin-preview-column {
        position: static;
    }

    .admin-list-tall {
        max-height: none;
    }
}

@media (max-width: 767.98px) {
    .admin-workspace-shell {
        padding-top: 0.5rem !important;
    }

    .admin-pane-heading {
        align-items: stretch;
        flex-direction: column;
    }

    .admin-pane-heading .btn {
        width: 100%;
    }

    .admin-section-tabs {
        position: static;
    }

    .admin-order-toolbar,
    .admin-order-filters,
    .admin-order-body {
        grid-template-columns: 1fr;
    }

    .admin-inline-control,
    .admin-category-actions {
        align-items: stretch;
        flex-direction: column;
    }

    .admin-save-bar {
        bottom: 8px;
    }

    .admin-section-state {
        display: none;
    }
}

/* Mobile admin product workflow */
.admin-mobile-product-toolbar,
.admin-preview-details-shell > summary {
    display: none;
}

.admin-preview-details-shell {
    display: block;
}

.admin-preview-body {
    display: block;
}

.admin-mobile-catalog-sheet {
    background: var(--gv-bg);
    color: var(--gv-ink);
}

.admin-mobile-catalog-sheet .offcanvas-header,
.admin-mobile-catalog-sheet .offcanvas-body {
    background:
        linear-gradient(rgba(255, 122, 26, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 122, 26, 0.03) 1px, transparent 1px),
        var(--gv-bg);
    background-size: 32px 32px;
}

.admin-mobile-catalog-controls {
    display: grid;
    gap: 10px;
}

.admin-mobile-catalog-meta {
    color: var(--gv-muted);
    font-size: 0.84rem;
    font-weight: 600;
    margin: 12px 0;
}

.admin-mobile-product-list {
    display: grid;
    gap: 10px;
}

.admin-mobile-product-row {
    align-items: stretch;
    background: var(--gv-soft);
    border: 1px solid var(--gv-border);
    border-radius: 8px;
    display: grid;
    gap: 8px;
    grid-template-columns: minmax(0, 1fr) auto;
    padding: 10px;
}

.admin-mobile-product-row.active {
    border-color: rgba(255, 122, 26, 0.62);
    box-shadow: 0 14px 36px rgba(255, 122, 26, 0.18);
}

.admin-mobile-product-main {
    align-items: center;
    background: transparent;
    border: 0;
    color: var(--gv-ink);
    display: grid;
    gap: 8px;
    grid-template-columns: minmax(0, 1fr) auto;
    min-height: 48px;
    padding: 0;
    text-align: left;
}

.admin-mobile-product-main strong,
.admin-mobile-product-main small,
.admin-mobile-product-meta em,
.admin-mobile-product-status {
    display: block;
}

.admin-mobile-product-main strong {
    font-weight: 700;
    line-height: 1.2;
}

.admin-mobile-product-main small,
.admin-mobile-product-meta em {
    color: var(--gv-muted);
    font-size: 0.82rem;
    font-style: normal;
    font-weight: 600;
}

.admin-mobile-product-meta {
    display: grid;
    gap: 5px;
    justify-items: end;
    text-align: right;
}

.admin-mobile-product-status {
    border: 1px solid var(--gv-border);
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 700;
    padding: 4px 8px;
}

.admin-mobile-product-status.status-published {
    background: rgba(44, 236, 132, 0.12);
    border-color: rgba(44, 236, 132, 0.34);
    color: #8dffc0;
}

.admin-mobile-product-status.status-draft {
    background: rgba(255, 190, 70, 0.12);
    border-color: rgba(255, 190, 70, 0.36);
    color: #ffcf72;
}

.admin-mobile-product-status.status-hidden {
    background: rgba(169, 173, 180, 0.12);
    color: var(--gv-muted);
}

.admin-row-menu {
    align-items: center;
    display: inline-flex;
    height: 44px;
    justify-content: center;
    padding: 0;
    width: 44px;
}

@media (max-width: 767.98px) {
    .admin-shell {
        padding-bottom: 96px;
    }

    .admin-tabs {
        flex-wrap: nowrap !important;
        overflow-x: auto;
        scroll-padding-inline: 16px;
    }

    .admin-tabs .nav-item {
        flex: 0 0 auto;
    }

    .admin-tabs .nav-link {
        min-width: max-content;
    }

    #adminWorkspaceTabs .nav-item:nth-child(1) {
        order: 1;
    }

    #adminWorkspaceTabs .nav-item:nth-child(2) {
        order: 2;
    }

    #adminWorkspaceTabs .nav-item:nth-child(6) {
        order: 3;
    }

    #adminWorkspaceTabs .nav-item:nth-child(3) {
        order: 4;
    }

    #adminWorkspaceTabs .nav-item:nth-child(4) {
        order: 5;
    }

    #adminWorkspaceTabs .nav-item:nth-child(5) {
        order: 6;
    }

    .admin-mobile-product-toolbar {
        display: grid;
        margin-bottom: 12px;
    }

    .admin-mobile-catalog-trigger {
        justify-content: center;
        min-height: 48px;
    }

    .admin-products-layout {
        display: block;
    }

    .admin-product-sidebar {
        display: none;
    }

    .admin-editor-column,
    .admin-preview-column {
        width: 100%;
    }

    .admin-editor-actions {
        display: none;
    }

    .admin-editor-details summary {
        display: grid;
        gap: 10px;
        grid-template-columns: minmax(0, 1fr) auto auto;
        min-height: 58px;
    }

    .admin-section-heading {
        align-items: center;
        margin-bottom: 0;
        min-width: 0;
    }

    .admin-section-heading h3 {
        font-size: 1rem;
        margin-bottom: 0 !important;
    }

    .admin-section-state {
        align-self: center;
        display: inline-flex;
    }

    .admin-preview-column {
        margin-top: 14px;
        padding: 0;
    }

    .admin-preview-details-shell {
        background: var(--gv-soft);
        border: 1px solid var(--gv-border);
        border-radius: 8px;
        overflow: hidden;
    }

    .admin-preview-details-shell > summary {
        align-items: center;
        cursor: pointer;
        display: flex;
        font-weight: 950;
        gap: 10px;
        justify-content: space-between;
        list-style: none;
        min-height: 52px;
        padding: 14px;
    }

    .admin-preview-details-shell > summary::-webkit-details-marker {
        display: none;
    }

    .admin-preview-details-shell > summary .bi-chevron-down {
        color: var(--gv-primary);
        transition: transform 180ms ease;
    }

    .admin-preview-details-shell[open] > summary {
        border-bottom: 1px solid var(--gv-border);
    }

    .admin-preview-details-shell[open] > summary .bi-chevron-down {
        transform: rotate(180deg);
    }

    .admin-preview-body {
        padding: 14px;
    }

    .admin-preview-body .admin-sidebar-heading {
        display: none;
    }

    .admin-save-bar {
        display: grid;
        gap: 10px;
        grid-template-columns: minmax(0, 1fr);
    }

    .admin-save-bar #resetFormButton,
    .admin-save-bar #deleteProductButton {
        display: none;
    }

    .admin-save-bar .btn-primary {
        min-height: 48px;
        width: 100%;
    }

    .admin-unsaved-indicator {
        justify-content: center;
        margin-right: 0;
        min-height: 24px;
    }

    .admin-mobile-catalog-sheet {
        border-right: 1px solid rgba(255, 122, 26, 0.3);
        height: 100dvh;
        max-width: 100vw;
        width: 100vw !important;
    }

    .admin-mobile-catalog-sheet .offcanvas-header {
        border-bottom: 1px solid var(--gv-border);
        padding: 14px;
    }

    .admin-mobile-catalog-sheet .offcanvas-body {
        padding: 14px;
    }

    .admin-shell .btn,
    .admin-shell .form-control,
    .admin-shell .form-select,
    .admin-shell .input-group-text,
    .admin-mobile-catalog-sheet .btn,
    .admin-mobile-catalog-sheet .form-control,
    .admin-mobile-catalog-sheet .form-select,
    .admin-mobile-catalog-sheet .input-group-text,
    .admin-mobile-catalog-sheet .dropdown-item {
        min-height: 44px;
    }
}

/* ---- Mobile performance: simplify backgrounds disable heavy animations ---- */
@media (max-width: 767.98px) {
  body {
    background: var(--bs-body-bg);
  }
  .brand-mark,
  .home-hero {
    background:
      radial-gradient(circle at 12% 22%, rgba(245, 158, 11, 0.2), transparent 28%),
      linear-gradient(145deg, #070707 0%, #11100f 46%, #1a0e00 100%);
  }
  .home-hero .display-3 {
    font-size: clamp(2rem, 10vw, 2.65rem);
    line-height: 1.04;
    max-width: 100%;
  }
  .home-hero-copy {
    font-size: 0.92rem;
  }
  .home-hero-ctas {
    align-items: stretch;
  }
  .hero-primary-cta {
    width: 100%;
  }
  .home-hero .hero-secondary-cta {
    flex: 1 1 calc(50% - 8px);
    justify-content: center;
  }
  .hero-delivery-note {
    flex: 1 1 100%;
    justify-content: center;
  }
  .home-trust-strip span {
    flex: 1 1 calc(50% - 10px);
    justify-content: center;
  }
  .hero-payment-list,
  .home-process,
  .quick-steps-layout,
  .process-steps,
  .quick-steps-grid {
    grid-template-columns: 1fr;
  }
  .section-heading-row {
    align-items: flex-start;
    flex-direction: column;
  }
  .hero-media,
  .hero-media img {
    min-height: 320px;
  }
  .trust-row {
    grid-template-columns: 1fr;
  }
  .cart-item {
    align-items: start;
    grid-template-columns: 60px minmax(0, 1fr);
  }
  .cart-actions {
    grid-column: 1 / -1;
  }
  .deal-panel {
    padding: 28px;
  }
  .page-heading .container {
    padding-bottom: 1rem !important;
    padding-top: 1rem !important;
  }
  .page-heading h1 {
    font-size: 1.6rem;
    line-height: 1.18;
  }
  .page-heading .eyebrow {
    margin-bottom: 0.25rem !important;
  }
  .page-heading p:not(.eyebrow) {
    font-size: 0.92rem;
    line-height: 1.35;
  }
  .cart-add-popup {
    grid-template-columns: 1fr;
    left: 14px;
    max-width: none;
    padding: 14px;
    right: 14px;
    top: 74px;
    width: auto;
  }
  .container {
    --bs-gutter-x: 1rem;
  }
  .navbar {
    min-height: 58px;
  }
  .navbar-brand {
    font-size: 1rem;
    gap: 8px;
  }
  .brand-mark {
    border-radius: 7px;
    height: 34px;
    width: 34px;
  }
  .navbar .btn,
  .language-toggle,
  .navbar-toggler {
    min-height: 38px;
    padding: 0.42rem 0.62rem;
  }
  .whatsapp-order-button {
    border-radius: 10px;
    font-size: 1rem;
    line-height: 1.25;
    min-height: 60px;
    padding: 14px 12px;
    white-space: normal;
  }
  .whatsapp-order-button i {
    font-size: 1.35rem;
    height: 38px;
    width: 38px;
  }
  .hero-console-top {
    align-items: flex-start;
  }
  .hero-logo-mark {
    height: 52px;
    width: 52px;
  }
  .product-showcase {
    padding: 22px;
  }
}

/* ---- Tiny mobile (<= 360px) ---- */
@media (max-width: 360px) {
  body {
    font-size: 0.85rem;
    padding-bottom: 56px;
  }
  .container {
    --bs-gutter-x: 0.75rem;
    padding-left: calc(var(--bs-gutter-x) * 0.5) !important;
    padding-right: calc(var(--bs-gutter-x) * 0.5) !important;
  }
  .navbar-brand {
    font-size: 0.9rem;
    gap: 6px;
  }
  .brand-mark {
    height: 28px;
    width: 28px;
  }
  .home-hero {
    padding: 1.35rem 0 0.85rem;
  }
  .home-hero .display-3 {
    font-size: clamp(1.5rem, 8vw, 1.85rem);
    line-height: 1.02;
  }
  .home-hero-copy {
    font-size: 0.82rem;
    line-height: 1.45;
  }
  .home-hero-ctas {
    gap: 8px;
  }
  .hero-primary-cta {
    width: 100%;
  }
  .home-hero .hero-secondary-cta {
    flex: 1 1 100%;
    justify-content: center;
  }
  .hero-delivery-note {
    font-size: 0.78rem;
  }
  .home-hero .row {
    --bs-gutter-y: 1.25rem;
  }
  .home-process,
  .process-steps {
    gap: 14px;
  }
  .section-heading-row .btn {
    font-size: 0.84rem;
    padding: 0.35rem 0.75rem;
    width: 100%;
  }
  .section-heading-row .h2 {
    font-size: 1.25rem;
  }
  .page-heading h1 {
    font-size: 1.3rem;
    line-height: 1.12;
  }
  .page-heading p:not(.eyebrow) {
    font-size: 0.82rem;
  }
  .page-heading .container {
    padding-bottom: 0.75rem !important;
    padding-top: 0.75rem !important;
  }
  h2.h4 {
    font-size: 1.1rem;
  }
  .product-card {
    padding: 14px;
  }
  .product-card-body h3 {
    font-size: 0.95rem;
  }
  .product-card .price {
    font-size: 1rem;
  }
  .category-card-body h3 {
    font-size: 0.9rem;
  }
  .cart-item {
    gap: 10px;
    grid-template-columns: 48px minmax(0, 1fr);
    padding: 12px;
  }
  .cart-item img {
    height: 48px;
    width: 48px;
  }
  .cart-item h3 {
    font-size: 0.88rem;
  }
  .summary-card {
    padding: 16px;
  }
  .summary-card .h4 {
    font-size: 1rem;
  }
  .checkout-form {
    padding: 16px;
  }
  .checkout-form .h4 {
    font-size: 1rem;
  }
  .payment-radio-option {
    gap: 8px;
    padding: 10px;
  }
  .payment-radio-option strong {
    font-size: 0.85rem;
  }
  .payment-radio-option small {
    font-size: 0.75rem;
  }
  .deal-panel {
    padding: 16px;
  }
  .deal-panel .display-5 {
    font-size: 1.6rem;
  }
  .content-panel {
    padding: 14px;
  }
  .alert {
    font-size: 0.82rem;
    padding: 10px;
  }
  .whatsapp-order-button {
    font-size: 0.88rem;
    min-height: 50px;
    padding: 12px 10px;
  }
  .whatsapp-order-button i {
    font-size: 1.15rem;
    height: 32px;
    width: 32px;
  }
  .btn {
    font-size: 0.85rem;
  }
  .btn-lg {
    font-size: 0.92rem;
    padding: 0.45rem 0.85rem;
  }
  .form-label {
    font-size: 0.82rem;
  }
  .form-control {
    font-size: 0.88rem;
  }
  .hero-console {
    padding: 16px;
  }
  .hero-console-top .eyebrow {
    font-size: 0.75rem;
  }
  .hero-console-top strong {
    font-size: 0.82rem;
  }
  .hero-logo-mark {
    height: 40px;
    width: 40px;
  }
  .hero-payment-list {
    gap: 8px;
  }
  .hero-payment-list div {
    font-size: 0.82rem;
    gap: 8px;
    padding: 8px;
  }
  .hero-payment-list div i {
    font-size: 1.1rem;
    height: 28px;
    width: 28px;
  }
  .hero-payment-list div strong {
    font-size: 0.78rem;
  }
  .home-trust-strip {
    flex-direction: column;
    gap: 6px;
    padding: 12px;
  }
  .home-trust-strip span {
    flex: 1 1 100%;
    font-size: 0.78rem;
    justify-content: flex-start;
  }
  .order-progress-steps {
    gap: 8px;
  }
  .order-progress-step {
    min-height: 52px;
    padding: 8px;
  }
  .current-status-panel {
    padding: 12px;
  }
  .order-progress-bar {
    padding: 8px;
  }
  .order-timeline {
    padding: 12px;
  }
  .auth-container {
    padding: 16px;
  }
  .admin-tabs .nav-link {
    font-size: 0.8rem;
    min-width: 64px;
    padding: 0.4rem 0.6rem;
  }
  .admin-header-actions {
    gap: 6px;
  }
  .admin-header-actions .btn {
    font-size: 0.78rem;
    padding: 0.3rem 0.5rem;
  }
  #ordersAdminPanel {
    padding: 8px;
  }
  .admin-order-card {
    padding: 10px;
  }
  .admin-page-title-compact {
    padding: 8px;
  }
  .admin-save-bar {
    bottom: 6px;
    padding: 8px;
  }
  .guide-current-step,
  .guide-action-step {
    padding: 10px;
  }
  .guide-mini-screen {
    padding: 12px;
  }
  .guide-real-panel .cart-item {
    grid-template-columns: 42px minmax(0, 1fr);
  }
  .support-whatsapp {
    bottom: 10px;
    padding: 10px;
    right: 10px;
  }
  .product-showcase {
    padding: 14px;
  }
  .product-showcase i {
    font-size: 4rem;
  }
  .home-section-compact {
    padding-bottom: 1.25rem !important;
    padding-top: 1.25rem !important;
  }
  .py-5 {
    padding-bottom: 1.25rem !important;
    padding-top: 1.25rem !important;
  }
  footer .nav {
    flex-direction: column;
    gap: 4px;
  }
  footer .nav-link {
    font-size: 0.82rem;
    padding: 0.2rem 0;
  }
}

/* ---- Lock Screen (admin) ---- */
.admin-lock-screen {
  align-items: center;
  background: radial-gradient(ellipse at 20% 50%, rgba(255, 106, 19, 0.08) 0%, transparent 60%),
              radial-gradient(ellipse at 80% 50%, rgba(124, 77, 224, 0.10) 0%, transparent 60%),
              var(--bs-body-bg, #000);
  display: flex;
  inset: 0;
  justify-content: center;
  position: fixed;
  z-index: 9999;
}

.admin-lock-card {
  animation: lockFadeIn 0.4s ease-out;
  background: rgba(20, 20, 22, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-xl);
  box-shadow: 0 24px 80px rgba(0,0,0,0.5), 0 0 0 1px rgba(255, 122, 26, 0.10);
  max-width: 380px;
  padding: 40px 32px;
  text-align: center;
  width: 100%;
}

@keyframes lockFadeIn {
  from { opacity: 0; transform: translateY(12px) scale(0.97); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.admin-lock-card .form-control:focus {
  border-color: rgba(255, 122, 26, 0.5);
  box-shadow: 0 0 0 3px rgba(255, 122, 26, 0.15);
}

.admin-lock-card .btn-primary {
  background: linear-gradient(135deg, var(--gv-primary), #e85a00);
  border: none;
  border-radius: var(--radius-md);
  font-weight: 700;
  padding: 10px 20px;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.admin-lock-card .btn-primary:hover {
  box-shadow: 0 8px 24px rgba(255, 122, 26, 0.35);
  transform: translateY(-1px);
}

.admin-lock-logo img {
  aspect-ratio: 1;
  border-radius: 50%;
  box-shadow: 0 0 0 3px rgba(255, 122, 26, 0.20), 0 8px 24px rgba(255, 122, 26, 0.15);
  height: 68px;
  margin-bottom: 20px;
  mix-blend-mode: screen;
  object-fit: cover;
  width: 68px;
}

.admin-sellers-table,
.admin-affiliates-table,
.admin-payouts-list .table {
    border-collapse: separate;
    border-spacing: 0;
    width: 100%;
}

.admin-sellers-table thead th,
.admin-affiliates-table thead th,
.admin-payouts-list .table thead th {
    background: rgba(255, 255, 255, 0.03);
    border-bottom: 2px solid var(--gv-border);
    color: var(--gv-muted);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    padding: 10px 12px;
    text-transform: uppercase;
    white-space: nowrap;
}

.admin-sellers-table tbody td,
.admin-affiliates-table tbody td,
.admin-payouts-list .table tbody td {
    padding: 10px 12px;
    vertical-align: middle;
}

.admin-sellers-table tbody tr,
.admin-affiliates-table tbody tr,
.admin-payouts-list .table tbody tr {
    transition: background 150ms ease;
}

.admin-sellers-table tbody tr:hover,
.admin-affiliates-table tbody tr:hover,
.admin-payouts-list .table tbody tr:hover {
    background: rgba(255, 255, 255, 0.02);
}

.admin-affiliates-list td,
.admin-payouts-list td {
    vertical-align: middle;
}

.admin-affiliates-list .table,
.admin-payouts-list .table {
    margin-bottom: 0;
}

.admin-affiliates-table [data-expand-affiliate] {
    transition: transform 0.2s;
}
.admin-affiliates-table [data-expand-affiliate]:hover {
    background: var(--gv-hover-bg, rgba(128,128,128,0.1));
}
.affiliate-detail-row > td {
    padding: 0 !important;
    border: none;
}
.affiliate-detail-content {
    background: var(--gv-panel-alt, rgba(128,128,128,0.04));
    border-top: 1px solid var(--gv-border);
}
.affiliate-detail-content .table th {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    color: var(--text-secondary);
    font-weight: 600;
    border-bottom-width: 1px;
}
.affiliate-detail-content .table td {
    font-size: 0.8125rem;
    vertical-align: middle;
}
.affiliate-detail-content .border.rounded {
    background: var(--gv-panel);
}
[data-bs-theme="light"] .affiliate-detail-content {
    background: rgba(0,0,0,0.02);
}

/* ── Seller admin list ──────────────────────────── */

.admin-sellers-list td {
    vertical-align: middle;
}

.admin-sellers-list .table {
    margin-bottom: 0;
}

.admin-sellers-table [data-expand-seller] {
    transition: transform 0.2s;
}
.admin-sellers-table [data-expand-seller]:hover {
    background: var(--gv-hover-bg, rgba(128,128,128,0.1));
}
.seller-detail-row > td {
    padding: 0 !important;
    border: none;
}
.seller-detail-content {
    background: var(--gv-panel-alt, rgba(128,128,128,0.04));
    border-top: 1px solid var(--gv-border);
}
.seller-detail-content .table th {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    color: var(--text-secondary);
    font-weight: 600;
    border-bottom-width: 1px;
}
.seller-detail-content .table td {
    font-size: 0.8125rem;
    vertical-align: middle;
}
.seller-detail-content .border.rounded {
    background: var(--gv-panel);
}
[data-bs-theme="light"] .seller-detail-content {
    background: rgba(0,0,0,0.02);
}

/* ── Seller dashboard page ──────────────────── */

#sellerDashboardSection {
    max-width: 1120px;
    margin: 0 auto;
    padding: 0 12px 64px;
}
#sellerDashboardSection .content-panel {
    padding: 20px;
    margin-bottom: 16px;
}
#sellerDashboardSection .collapse-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 20px;
    cursor: pointer;
    user-select: none;
}
#sellerDashboardSection .collapse-header h3 {
    margin-bottom: 0;
    font-size: 1rem;
}
#sellerDashboardSection .collapse-chevron {
    transition: transform 0.25s;
    font-size: 1.1rem;
    color: var(--text-secondary);
}
@media (hover: hover) {
    #sellerDashboardSection .content-panel:has(.collapse:not(.show)) .collapse-chevron {
        transform: rotate(-90deg);
    }
    #sellerDashboardSection .collapse.show + .collapse-chevron {
        transform: rotate(0deg);
    }
    #sellerDashboardSection .collapse-header {
        border-bottom: 1px solid var(--gv-border);
    }
}
#sellerLoginSection .content-panel {
    max-width: 420px;
    margin: 0 auto;
}
#sellerLoginSection .content-panel .aff-login-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--gv-violet-glow);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
}

#sellerDashboardHeader {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 24px;
}
#sellerDashboardHeader .aff-dash-greeting {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0;
}
#sellerStatsCards {
    margin-bottom: 32px;
}

#sellerDashboardSection .content-panel h3.h5 {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 1rem;
}
#sellerDashboardSection .content-panel h3.h5 i {
    font-size: 1.15rem;
}

/* ── Affiliate page ──────────────────────────── */

/* Stat cards */
.aff-stat-card {
    align-items: flex-start;
    background: var(--gv-panel);
    border: 1px solid var(--gv-border);
    border-radius: var(--radius-sm);
    box-shadow: 0 18px 42px var(--gv-shadow);
    display: flex;
    flex-direction: column;
    gap: 14px;
    min-height: 136px;
    overflow: hidden;
    padding: 20px;
    position: relative;
    transition: border-color 220ms ease, box-shadow 220ms ease, transform 220ms ease;
}

.aff-stat-card::after {
    background: linear-gradient(110deg, transparent 0%, rgba(255, 122, 26, 0.12) 48%, transparent 100%);
    content: "";
    inset: 0;
    opacity: 0;
    pointer-events: none;
    position: absolute;
    transform: translateX(-120%);
    transition: opacity 220ms ease, transform 520ms ease;
}

.aff-stat-card:hover {
    border-color: rgba(255, 122, 26, 0.42);
    box-shadow: 0 24px 58px rgba(255, 122, 26, 0.16);
    transform: translateY(-6px);
}

.aff-stat-card:hover::after {
    opacity: 1;
    transform: translateX(120%);
}

.aff-stat-card__icon {
    align-items: center;
    border-radius: var(--radius-sm);
    display: inline-flex;
    flex: 0 0 auto;
    font-size: 1.25rem;
    height: 42px;
    justify-content: center;
    width: 42px;
}

.aff-stat-card__icon--info {
    background: rgba(143, 150, 159, 0.14);
    box-shadow: 0 8px 18px rgba(143, 150, 159, 0.12);
    color: var(--gv-cyan);
}

.aff-stat-card__icon--success {
    background: rgba(37, 211, 102, 0.14);
    box-shadow: 0 8px 18px rgba(37, 211, 102, 0.12);
    color: #25d366;
}

.aff-stat-card__icon--warning {
    background: rgba(255, 190, 70, 0.14);
    box-shadow: 0 8px 18px rgba(255, 190, 70, 0.12);
    color: #ffbe46;
}

.aff-stat-card__icon--paid {
    background: rgba(44, 236, 132, 0.14);
    box-shadow: 0 8px 18px rgba(44, 236, 132, 0.12);
    color: #2cec84;
}

.aff-stat-card__body {
    min-width: 0;
}

.aff-stat-card__value {
    font-size: 1.35rem;
    font-weight: 950;
    line-height: 1.1;
    margin-bottom: 4px;
}

.aff-stat-card__label {
    color: var(--gv-muted);
    font-size: 0.86rem;
    font-weight: 800;
    margin: 0;
}

/* Loading overlay */
.aff-loading {
    align-items: center;
    display: flex;
    inset: 0;
    justify-content: center;
    min-height: 200px;
    position: absolute;
    z-index: 5;
}

.aff-loading-inner {
    text-align: center;
}

/* Tables */
.aff-table {
    margin-bottom: 0;
}

.aff-table thead th {
    background: var(--gv-soft);
    border-bottom: 1px solid var(--gv-border);
    color: var(--gv-muted);
    font-size: 0.78rem;
    font-weight: 900;
    letter-spacing: 0.04em;
    padding: 10px 12px;
    text-transform: uppercase;
}

.aff-table tbody td {
    border-bottom: 1px solid var(--gv-border);
    padding: 10px 12px;
    vertical-align: middle;
}

.aff-table tbody tr:last-child td {
    border-bottom: 0;
}

.aff-order-id {
    background: var(--gv-soft);
    border-radius: 4px;
    font-family: "Cascadia Code", "SFMono-Regular", Consolas, monospace;
    font-size: 0.85rem;
    font-weight: 800;
    padding: 2px 6px;
}

.aff-table .status-badge {
    align-items: center;
    border: 1px solid var(--status-border, var(--gv-border));
    border-radius: 999px;
    color: var(--status-text, var(--gv-ink));
    display: inline-flex;
    font-size: 0.78rem;
    font-weight: 800;
    gap: 6px;
    line-height: 1.1;
    min-height: 26px;
    padding: 4px 10px;
}
.aff-table .status-dot {
    animation: statusPulse 1.8s ease-in-out infinite;
    background: var(--status-color, #a9adb4);
    border-radius: 999px;
    box-shadow: 0 0 0 3px var(--status-halo, rgba(169, 173, 180, 0.16)), 0 0 10px var(--status-color, #a9adb4);
    flex: 0 0 auto;
    height: 7px;
    width: 7px;
}

/* Badge */
.aff-badge {
    border-radius: 8px;
    font-size: 0.76rem;
    font-weight: 850;
    letter-spacing: 0.03em;
    padding: 4px 10px;
    text-transform: capitalize;
}

/* Empty state */
.aff-empty {
    padding: 36px 0;
    text-align: center;
}

.aff-empty-icon {
    color: var(--gv-muted);
    font-size: 2.4rem;
    margin-bottom: 12px;
}

/* Toasts */
.aff-toast-container {
    display: grid;
    gap: 10px;
    max-width: min(400px, calc(100vw - 28px));
    pointer-events: none;
    position: fixed;
    right: 18px;
    top: 86px;
    z-index: 1085;
}

.aff-toast {
    background:
        linear-gradient(135deg, rgba(255, 122, 26, 0.16), transparent 42%),
        var(--gv-panel);
    border: 1px solid rgba(255, 122, 26, 0.34);
    border-left: 4px solid var(--gv-primary);
    border-radius: 8px;
    box-shadow: 0 28px 78px rgba(0, 0, 0, 0.38), 0 0 44px rgba(255, 122, 26, 0.2);
    color: var(--gv-ink);
    font-size: 0.92rem;
    font-weight: 800;
    opacity: 0;
    padding: 14px 18px;
    pointer-events: auto;
    transform: translateX(calc(100% + 28px));
    transition: opacity 260ms ease, transform 360ms cubic-bezier(0.16, 1, 0.3, 1);
}

.aff-toast--show {
    opacity: 1;
    transform: translateX(0);
}

.aff-toast--danger {
    border-left-color: #ff5361;
}

.aff-toast--success {
    border-left-color: #2cec84;
}

/* Section layout */
#affiliateDashboardSection {
    position: relative;
}

/* Section content-panel overrides */
#affiliateDashboardSection .content-panel {
    background: var(--gv-panel);
    border: 1px solid var(--gv-border);
    border-radius: 8px;
    padding: 28px;
}

/* Collapsible section headers */
#affiliateDashboardSection .collapse-header {
    align-items: center;
    cursor: pointer;
    display: flex;
    gap: 8px;
    justify-content: space-between;
    margin: -28px -28px 0;
    padding: 14px 28px;
    user-select: none;
}

#affiliateDashboardSection .collapse-header h3 {
    font-size: 1rem;
}

#affiliateDashboardSection .collapse-chevron {
    color: var(--gv-muted);
    font-size: 1rem;
    transition: transform 0.25s ease;
}

@media (max-width: 767.98px) {
    #affiliateDashboardSection .content-panel:has(.collapse:not(.show)) .collapse-chevron {
        transform: rotate(-90deg);
    }

    #affiliateDashboardSection .collapse.show {
        margin-top: 18px;
    }
}

@media (min-width: 768px) {
    #affiliateDashboardSection .collapse-header {
        cursor: default;
        pointer-events: none;
    }
}

/* Login panel accent */
#affiliateLoginSection .content-panel {
    border-top: 3px solid var(--gv-primary);
}

#affiliateLoginSection .content-panel .aff-login-icon {
    background: linear-gradient(135deg, var(--gv-primary), var(--gv-primary-dark));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    font-size: 2.8rem;
    margin-bottom: 8px;
}

/* Balance card */
.aff-balance-card {
    background: linear-gradient(135deg, var(--gv-primary) 0%, var(--gv-primary-dark) 100%);
    border-radius: var(--radius-md);
    padding: 28px 32px;
    margin-bottom: 28px;
    position: relative;
    overflow: hidden;
}

.aff-balance-card::after {
    background: radial-gradient(circle at 82% 24%, rgba(255, 255, 255, 0.18), transparent 52%);
    content: "";
    inset: 0;
    pointer-events: none;
    position: absolute;
}

.aff-balance-card__label {
    color: rgba(255, 255, 255, 0.75);
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    margin-bottom: 4px;
    position: relative;
    z-index: 1;
}

.aff-balance-card__value {
    color: #fff;
    font-size: 2.2rem;
    font-weight: 950;
    line-height: 1.1;
    margin-bottom: 6px;
    position: relative;
    z-index: 1;
}

.aff-balance-card__hint {
    color: rgba(255, 255, 255, 0.65);
    font-size: 0.85rem;
    font-weight: 700;
    position: relative;
    z-index: 1;
}

/* Dashboard header improvements */
#affiliateDashboardHeader {
    margin-bottom: 28px;
}

#affiliateDashboardHeader .aff-dash-greeting {
    font-size: 1.05rem;
    font-weight: 850;
    color: var(--gv-muted);
}

/* Stats cards row spacing */
#affiliateStatsCards {
    margin-bottom: 32px;
}

/* Copy button feedback */
#copyReferralLinkButton.btn-success {
    border-color: #25d366;
    background: #25d366;
}

/* Better table section headers */
#affiliateDashboardSection .content-panel h3.h5 {
    display: flex;
    align-items: center;
    gap: 8px;
}

#affiliateDashboardSection .content-panel h3.h5 i {
    color: var(--gv-muted);
    font-size: 1.1rem;
}

/* ── Payout method radio cards ── */
.aff-method-radio input {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
    pointer-events: none;
}
.aff-method-radio__card {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 90px;
    padding: 8px 18px;
    border-radius: var(--radius-sm);
    border: 2px solid var(--gv-border);
    background: var(--gv-panel);
    cursor: pointer;
    font-weight: 700;
    font-size: 0.875rem;
    letter-spacing: 0.02em;
    transition: border-color 0.2s, background 0.2s, box-shadow 0.2s;
    user-select: none;
}
.aff-method-radio__card:hover {
    border-color: var(--gv-muted);
}
.aff-method-radio input:checked + .aff-method-radio__card--d17 {
    border-color: var(--gv-primary);
    background: color-mix(in srgb, var(--gv-primary) 12%, transparent);
    box-shadow: 0 0 0 1px color-mix(in srgb, var(--gv-primary) 30%, transparent);
}
.aff-method-radio input:checked + .aff-method-radio__card--flouci {
    border-color: var(--gv-violet);
    background: color-mix(in srgb, var(--gv-violet) 12%, transparent);
    box-shadow: 0 0 0 1px color-mix(in srgb, var(--gv-violet) 30%, transparent);
}
.aff-method-radio input:focus-visible + .aff-method-radio__card {
    outline: 2px solid var(--gv-primary);
    outline-offset: 2px;
}

/* ── Affiliate info page ── */
.aff-info-spotlight {
    position: relative;
    background:
        linear-gradient(135deg, rgba(255, 122, 26, 0.12), rgba(124, 77, 224, 0.06) 60%),
        var(--gv-panel);
    border: 0;
    border-radius: 12px;
    padding: 24px;
    overflow: hidden;
}
.aff-info-spotlight::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 12px;
    padding: 1.5px;
    background: linear-gradient(135deg, var(--gv-primary), var(--gv-violet), var(--gv-primary));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
}
.aff-info-spotlight-amount {
    font-size: clamp(2.2rem, 6vw, 3.2rem);
    font-weight: 950;
    line-height: 1;
    letter-spacing: -0.03em;
    background: linear-gradient(135deg, var(--gv-primary), var(--gv-violet));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
@keyframes affPulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.65; }
}
.aff-info-spotlight-amount {
    animation: affPulse 3s ease-in-out infinite;
}

.aff-info-receipt {
    background: var(--gv-panel);
    border: 1px solid var(--gv-border);
    border-radius: 10px;
    padding: 20px;
    position: relative;
}
.aff-info-receipt::before {
    content: "";
    position: absolute;
    top: 0;
    left: 14px;
    right: 14px;
    border-top: 2px dashed var(--gv-border);
}
.aff-info-receipt-line {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    font-size: 0.95rem;
}
.aff-info-receipt-line + .aff-info-receipt-line {
    border-top: 1px solid var(--gv-border);
}
.aff-info-receipt-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0 0;
    margin-top: 8px;
    border-top: 2px solid var(--gv-primary);
    font-weight: 850;
    font-size: 1.05rem;
}
.aff-info-receipt-total span:last-child {
    color: var(--gv-primary);
}

.aff-info-code-display {
    font-size: 1.4rem;
    font-weight: 800;
    font-family: var(--gv-font-mono, ui-monospace, "SF Mono", SFMono-Regular, "Cascadia Code", "JetBrains Mono", Consolas, monospace);
    text-align: center;
    padding: 14px 18px;
    background: var(--gv-surface-alt, #f5f5f5);
    border: 2px dashed var(--gv-primary, #0d6efd);
    border-radius: 8px;
    color: var(--gv-primary, #0d6efd);
    letter-spacing: 0.04em;
    user-select: all;
}

.aff-info-step-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    position: relative;
}
@media (max-width: 991.98px) {
    .aff-info-step-grid {
        grid-template-columns: 1fr 1fr;
    }
}
@media (max-width: 575.98px) {
    .aff-info-step-grid {
        grid-template-columns: 1fr;
    }
}
.aff-info-step {
    background: var(--gv-panel);
    border: 1px solid var(--gv-border);
    border-radius: 10px;
    padding: 20px;
    text-align: center;
    position: relative;
    transition: border-color 0.25s, transform 0.2s;
}
.aff-info-step:hover {
    border-color: color-mix(in srgb, var(--gv-primary) 50%, transparent);
    transform: translateY(-2px);
}
.aff-info-step-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--gv-primary), var(--gv-primary-dark));
    color: #17110b;
    font-weight: 950;
    font-size: 1rem;
    margin-bottom: 14px;
}
.aff-info-step h3 {
    font-size: 1rem;
    font-weight: 850;
    margin-bottom: 8px;
}
.aff-info-step p {
    color: var(--gv-muted);
    font-size: 0.85rem;
    margin: 0;
    line-height: 1.5;
}

/* ================================================================
   Order chat (customer <-> seller)
   ================================================================ */

.order-chat-panel {
    border: 1px solid color-mix(in srgb, var(--gv-primary) 35%, transparent);
    border-radius: 16px;
    overflow: hidden;
    background: color-mix(in srgb, var(--gv-primary) 6%, transparent);
}

.order-chat-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 12px 16px;
    border-bottom: 1px solid color-mix(in srgb, var(--gv-primary) 25%, transparent);
    font-weight: 750;
    font-size: 0.9rem;
}

.order-chat-header small {
    color: var(--gv-muted);
    font-weight: 500;
}

.order-chat-messages {
    height: 260px;
    max-height: 45vh;
    overflow-y: auto;
    padding: 14px 16px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    scroll-behavior: smooth;
}

#slrChatModal .modal-dialog,
#adminChatModal .modal-dialog {
    width: min(1000px, 96vw);
    max-width: none;
}

#slrChatModal .order-chat-messages,
#adminChatModal .order-chat-messages {
    height: 60vh;
    max-height: 60vh;
}

#orderChatPanel .order-chat-messages {
    height: 55vh;
    max-height: 62vh;
}

.order-chat-composer {
    display: flex;
    gap: 8px;
    padding: 12px 16px;
    border-top: 1px solid color-mix(in srgb, var(--gv-primary) 25%, transparent);
}

.order-chat-composer .form-control {
    border-radius: 999px;
}

.order-chat-composer .btn {
    border-radius: 999px;
    flex-shrink: 0;
    width: 46px;
}

.chat-bubble {
    max-width: 80%;
    padding: 9px 13px;
    border-radius: 14px;
    font-size: 0.9rem;
    line-height: 1.45;
    word-break: break-word;
}

.chat-bubble--mine {
    align-self: flex-end;
    background: linear-gradient(135deg, var(--gv-primary), var(--gv-primary-dark));
    color: #17110b;
    border-bottom-right-radius: 4px;
}

.chat-bubble--theirs {
    align-self: flex-start;
    background: var(--gv-surface-2, rgba(255, 255, 255, 0.06));
    border-bottom-left-radius: 4px;
}

.chat-bubble-sender {
    font-size: 0.72rem;
    font-weight: 750;
    opacity: 0.75;
    margin-bottom: 2px;
}

.chat-bubble-time {
    font-size: 0.68rem;
    opacity: 0.6;
    margin-top: 3px;
    text-align: right;
}

.slr-chat-badge,
.admin-chat-badge {
    vertical-align: middle;
    font-size: 0.65rem;
}

.chat-photo-btn {
    border-radius: 999px;
    flex-shrink: 0;
    width: 46px;
}

.chat-bubble-image-link {
    display: block;
    max-width: 220px;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 4px;
}

.chat-bubble-image {
    display: block;
    width: 100%;
    max-width: 220px;
    border-radius: 10px;
    object-fit: cover;
}

.chat-image-overlay {
    position: fixed;
    inset: 0;
    z-index: 1050;
    background: rgba(0, 0, 0, 0.85);
    display: none;
    align-items: center;
    justify-content: center;
    padding: 24px;
}

.chat-image-overlay-open {
    display: flex;
}

.chat-image-full {
    max-width: 100%;
    max-height: 100%;
    border-radius: 8px;
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.5);
}

.chat-image-close {
    position: absolute;
    top: 16px;
    right: 20px;
    border: none;
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
    font-size: 26px;
    line-height: 1;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    cursor: pointer;
}

.chat-image-close:hover {
    background: rgba(255, 255, 255, 0.3);
}

/* ── Seller drawer navigation ───────────────────── */
.slr-menu-toggle { display: none; margin-inline-start: 8px; }
.slr-menu-toggle:hover { opacity: 0.85; }

.slr-mobile-section { scroll-margin-top: 76px; }

.slr-sidebar {
    --slr-slide: -102%;
    background: var(--bs-body-bg);
    bottom: 0;
    display: none;
    flex-direction: column;
    left: 0;
    position: fixed;
    right: 0;
    top: 0;
    transform: translateX(var(--slr-slide));
    transition: transform 0.3s ease, visibility 0.3s ease;
    visibility: hidden;
    z-index: 1100;
}
[dir="rtl"] .slr-sidebar { --slr-slide: 102%; }
.slr-sidebar.open {
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
    transform: translateX(0);
    visibility: visible;
}

.slr-sidebar-head {
    align-items: center;
    border-bottom: 1px solid var(--gv-border);
    display: flex;
    justify-content: space-between;
    padding: 16px;
}

.slr-sidebar-body {
    display: flex;
    flex: 1;
    flex-direction: column;
    gap: 6px;
    overflow-y: auto;
    padding: 16px;
}

.slr-sidebar-link {
    align-items: center;
    border-radius: var(--radius-md);
    color: var(--gv-ink);
    display: flex;
    font-size: 1.05rem;
    gap: 14px;
    padding: 15px 16px;
    text-decoration: none;
}
.slr-sidebar-link i {
    color: var(--gv-primary);
    font-size: 1.3rem;
    text-align: center;
    width: 26px;
}
.slr-sidebar-link:hover { background: var(--gv-soft); }
.slr-sidebar-link.is-active {
    background: linear-gradient(135deg, rgba(255, 106, 19, 0.16), rgba(255, 106, 19, 0.05));
    color: var(--gv-primary-dark);
    font-weight: 700;
}

.slr-sidebar-foot {
    border-top: 1px solid var(--gv-border);
    padding: 14px 16px;
}

@media (max-width: 991.98px) {
    .slr-body .navbar-expand-lg .navbar-collapse,
    .slr-body .navbar .navbar-toggler[data-bs-toggle] { display: none !important; }

    .slr-menu-toggle { display: block; }
    .slr-sidebar { display: flex; }

    .slr-body .collapse-header {
        cursor: default;
        pointer-events: none;
    }
    .slr-body .collapse-header .collapse-chevron { display: none; }
    #sellerDashboardSection .collapse:not(.show) { display: block !important; }
}

/* ── Seller delivery items ───────────────────── */
.slr-deliver-row {
    align-items: center;
    display: grid;
    gap: 8px;
    grid-template-columns: 1fr 1.4fr auto;
    margin-bottom: 8px;
}

@media (max-width: 575.98px) {
    .slr-deliver-row {
        grid-template-columns: 1fr;
    }
}

.verified-seller-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    margin-left: 0.35rem;
    padding: 0.15rem 0.5rem;
    border-radius: 999px;
    background: rgba(13, 110, 253, 0.12);
    color: #0d6efd;
    font-size: 0.72rem;
    font-weight: 700;
    line-height: 1.2;
    text-transform: none;
    white-space: nowrap;
    vertical-align: middle;
}
.verified-seller-badge .bi {
    font-size: 0.85rem;
}
[data-bs-theme="dark"] .verified-seller-badge,
.dark .verified-seller-badge {
    background: rgba(110, 168, 254, 0.15);
    color: #6ea8fe;
}
@media (max-width: 576px) {
    .verified-seller-badge {
        font-size: 0.75rem;
        padding: 0.18rem 0.55rem;
    }
}
/* Sell page (community sellers) */
.sell-product-thumb {
    width: 72px;
    height: 72px;
    border-radius: 12px;
    overflow: hidden;
    flex-shrink: 0;
    background: rgba(255, 255, 255, 0.06);
    display: flex;
    align-items: center;
    justify-content: center;
}
.sell-product-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.sell-product-image-placeholder {
    font-size: 1.4rem;
    color: #6c757d;
}

/* Sell page: bigger chat area */
.slr-body .order-chat-messages {
    height: 420px;
    max-height: 60vh;
}

/* Brand outline buttons (orange, matching .btn-primary) */
.btn-outline-primary {
    --bs-btn-color: var(--gv-primary);
    --bs-btn-border-color: var(--gv-primary);
    --bs-btn-hover-color: #fff;
    --bs-btn-hover-bg: var(--gv-primary);
    --bs-btn-hover-border-color: var(--gv-primary);
    --bs-btn-active-color: #fff;
    --bs-btn-active-bg: var(--gv-primary);
    --bs-btn-active-border-color: var(--gv-primary);
    --bs-btn-disabled-color: var(--gv-primary);
    --bs-btn-disabled-border-color: var(--gv-primary);
}

/* Sell page: orange active nav-pill + tidy order cards */
.slr-body .nav-pills .nav-link.active,
.slr-body .nav-pills .show > .nav-link {
    background-color: var(--gv-primary);
    color: #fff;
}
.slr-body .card.border-0.shadow-sm .d-flex.flex-column.align-items-end {
    min-width: 0;
}

/* Sell page: multi-image previews */
.sell-image-preview {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 12px;
    height: 84px;
    overflow: hidden;
    width: 84px;
}
.sell-image-preview img {
    display: block;
    height: 100%;
    object-fit: cover;
    width: 100%;
}
.sell-image-preview-note {
    background: rgba(11, 14, 19, 0.7);
    border-radius: 999px;
    bottom: 5px;
    color: #c9cdd3;
    font-size: 0.68rem;
    left: 50%;
    padding: 2px 8px;
    position: absolute;
    transform: translateX(-50%);
    white-space: nowrap;
}
.sell-image-remove {
    --bs-btn-padding-x: 0.35rem;
    --bs-btn-padding-y: 0.1rem;
    border-radius: 999px;
    font-size: 0.8rem;
    line-height: 1;
    position: absolute;
    right: 4px;
    top: 4px;
}
.sell-image-count-badge {
    background: rgba(11, 14, 19, 0.75);
    border-radius: 999px;
    bottom: 5px;
    color: #fff;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 2px 8px;
    position: absolute;
    right: 5px;
}

/* Product page: image gallery */
.product-image-gallery {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.product-image-gallery-thumb {
    background: transparent;
    border: 2px solid transparent;
    border-radius: 10px;
    cursor: pointer;
    overflow: hidden;
    padding: 0;
    transition: border-color 0.2s ease;
}

.product-image-gallery-thumb img {
    display: block;
    height: 64px;
    object-fit: cover;
    width: 64px;
}

.product-image-gallery-thumb.active {
    border-color: var(--gv-primary);
}

.product-image-gallery-thumb:hover {
    border-color: var(--gv-primary);
}

/* Admin panel: upload zones */
.admin-upload-zone {
    align-items: center;
    background: rgba(255, 255, 255, 0.03);
    border: 1.5px dashed rgba(255, 122, 26, 0.45);
    border-radius: 12px;
    color: var(--gv-muted);
    cursor: pointer;
    display: flex;
    flex-direction: column;
    gap: 6px;
    justify-content: center;
    min-height: 96px;
    padding: 12px;
    text-align: center;
    transition: border-color 0.2s ease, background 0.2s ease;
}

.admin-upload-zone:hover,
.admin-upload-zone.dragging {
    background: rgba(255, 122, 26, 0.07);
    border-color: var(--gv-primary);
    color: var(--gv-ink);
}

.admin-upload-zone i {
    font-size: 1.5rem;
}

.admin-upload-zone span {
    font-size: 0.8rem;
}

.admin-upload-zone-preview {
    border-radius: 8px;
    height: 56px;
    object-fit: cover;
    width: 56px;
}

.admin-upload-zone {
    position: relative;
}

.admin-upload-zone-input {
    cursor: pointer;
    height: 100%;
    left: 0;
    opacity: 0;
    position: absolute;
    top: 0;
    width: 100%;
}

.admin-upload-zone-input:hover {
    cursor: pointer;
}
