/* Dark theme variables for plan-checkout pages (no theme toggle on these pages) */
html[id^="PlanCheckout-"] {
  --btcpay-neutral-50: #0d1117;
  --btcpay-neutral-100: var(--btcpay-neutral-dark-900);
  --btcpay-neutral-200: var(--btcpay-neutral-dark-800);
  --btcpay-neutral-300: var(--btcpay-neutral-dark-700);
  --btcpay-neutral-400: var(--btcpay-neutral-dark-600);
  --btcpay-neutral-500: var(--btcpay-neutral-dark-500);
  --btcpay-neutral-600: var(--btcpay-neutral-dark-400);
  --btcpay-neutral-700: var(--btcpay-neutral-dark-300);
  --btcpay-neutral-800: var(--btcpay-neutral-dark-200);
  --btcpay-neutral-900: var(--btcpay-neutral-dark-100);
  --btcpay-bg-dark: var(--btcpay-neutral-50);
  --btcpay-bg-tile: var(--btcpay-bg-dark);
  --btcpay-body-bg-light: var(--btcpay-neutral-50);
  --btcpay-body-bg-hover: var(--btcpay-neutral-50);
  --btcpay-body-bg-rgb: 22, 27, 34;
  --btcpay-body-text: var(--btcpay-white);
  --btcpay-body-text-muted: var(--btcpay-neutral-600);
  --btcpay-body-text-warning-rgb: 255, 192, 67;
  --btcpay-body-text-rgb: 255, 255, 255;
  --btcpay-body-link-accent: var(--btcpay-primary-accent);
  --btcpay-body-link-accent-rgb: var(--btcpay-primary-accent-rgb);
  --btcpay-form-bg: var(--btcpay-bg-dark);
  --btcpay-form-text: var(--btcpay-neutral-800);
  --btcpay-form-text-label: var(--btcpay-neutral-900);
  --btcpay-form-border: var(--btcpay-neutral-200);
  --btcpay-header-bg: var(--btcpay-bg-dark);
  --btcpay-nav-link: var(--btcpay-neutral-500);
  --btcpay-nav-link-active: var(--btcpay-white);
  --btcpay-footer-link-accent: var(--btcpay-neutral-800);
  --btcpay-pre-bg: var(--btcpay-bg-dark);
  --btcpay-primary-accent: rgb(var(--btcpay-primary-accent-rgb));
  --btcpay-primary-accent-rgb: 30, 122, 68;
  --btcpay-secondary: transparent;
  --btcpay-secondary-text-active: var(--btcpay-primary);
  --btcpay-secondary-rgb: 22, 27, 34;
  --btcpay-warning-text: var(--btcpay-neutral-100);
  --btcpay-warning-text-hover: var(--btcpay-neutral-100);
  --btcpay-warning-text-active: var(--btcpay-neutral-100);
  --btcpay-warning-dim-text: var(--btcpay-neutral-200);
  --btcpay-light-dim-bg: var(--btcpay-neutral-50);
  --btcpay-light-shadow: rgba(66, 70, 73, 0.33);
  --btcpay-light-rgb: 33, 38, 45;
  --btcpay-dark-accent: var(--btcpay-neutral-600);
  --btcpay-dark-dim-bg: var(--btcpay-white);
  --btcpay-dark-shadow: rgba(211, 212, 213, 0.33);
  --btcpay-dark-rgb: 201, 209, 217;
}

/* Larger logo on login / signed-out pages */
.main-logo,
.main-logo-custom {
    height: 8rem !important;
    max-width: 28rem !important;
}

/* ── Desktop dashboard header: logo at top, controls overlaid in corners ── */
@media (min-width: 577px) {
    /* Relative container so absolute children anchor to it */
    #mainMenuHead {
        position: relative !important;
        display: flex !important;
        flex-wrap: wrap !important;
        align-items: center !important;
        padding: 0.25rem 1rem 0 !important;
        gap: 0 !important;
    }

    /* Notification pinned top-left — z-index keeps the dropdown above StoreSelector */
    #Notifications {
        position: absolute !important;
        left: 1rem !important;
        top: 0.25rem !important;
        margin-left: 0 !important;
        z-index: 2001 !important;
    }

    /* Notifications dropdown above store selector (both default to 2000) */
    #NotificationsDropdown {
        z-index: 2002 !important;
    }

    /* Hamburger pinned top-right */
    #mainMenuToggle {
        position: absolute !important;
        right: 1rem !important;
        top: 0.25rem !important;
    }

    /* Logo: full-width flex row, centred — now the only in-flow element in row 1 */
    #mainMenuHead .navbar-brand {
        flex: 0 0 100% !important;
        display: flex !important;
        justify-content: center !important;
        padding: 0.25rem 0 !important;
        margin: 0 !important;
    }

    /* Store selector below logo */
    #StoreSelector {
        min-width: 100% !important;
        margin-top: 0.25rem !important;
        margin-bottom: 0.25rem !important;
    }
}

/* ── Mobile: slim navbar, small logo ── */
@media (max-width: 576px) {
    /* Login page: scale logo down but keep it prominent */
    .main-logo,
    .main-logo-custom {
        height: 4rem !important;
        max-width: 14rem !important;
    }

    /* Dashboard navbar: compact logo so the header bar stays slim */
    #mainMenuHead .main-logo,
    #mainMenuHead .main-logo-custom {
        height: 2rem !important;
        max-width: 8rem !important;
    }

    /* Remove extra vertical padding from the logo link inside the navbar */
    #mainMenuHead .navbar-brand {
        padding-top: 0.25rem !important;
        padding-bottom: 0.25rem !important;
    }

    /* Fill the full 4rem header height so align-items: center works */
    #mainMenuHead {
        height: 100% !important;
        padding: 0 !important;
    }
}

/* Hide the hardcoded "Recommendation (Kraken)" option from the rate provider select.
   New user stores are pre-configured with Yadio via DB trigger, so this keeps
   the UI consistent without the misleading Kraken recommendation showing up. */
select[name="PreferredExchange"] option[value=""] {
    display: none !important;
}

/* Spanish text overrides for SamRock checkout page */
.checkout-title {
    font-size: 0 !important;
}
.checkout-title::before {
    content: "Completa tu orden";
    font-size: 1.25rem;
    font-weight: 600;
    display: block;
}

.checkout-subtitle {
    font-size: 0 !important;
}
.checkout-subtitle::before {
    content: "Ingresa tu correo para continuar con el pago";
    font-size: 0.9rem;
    display: block;
}

label[for="customerEmail"] {
    font-size: 0 !important;
}
label[for="customerEmail"]::before {
    content: "Correo electrónico";
    font-size: 0.875rem;
    font-weight: 600;
    display: block;
}

/* ══════════════════════════════════════════════════════
   Tienda Libertad — Banksy / Street Art Theme
   Scoped to POS app: H1Rca7AXgWZs3VYXc8YYo43YuYG
   ══════════════════════════════════════════════════════ */

#POS-H1Rca7AXgWZs3VYXc8YYo43YuYG body,
#POS-H1Rca7AXgWZs3VYXc8YYo43YuYG .public-page-wrap {
    background-color: #1a1a1a !important;
    background-image:
        repeating-linear-gradient(0deg, transparent, transparent 29px, rgba(255,255,255,0.018) 29px, rgba(255,255,255,0.018) 30px),
        repeating-linear-gradient(90deg, transparent, transparent 29px, rgba(255,255,255,0.018) 29px, rgba(255,255,255,0.018) 30px);
    color: #f0ede8;
}

/* Hide entire POS app until our hero sections are ready — prevents flash on load */
#POS-H1Rca7AXgWZs3VYXc8YYo43YuYG #PosCart {
    visibility: hidden;
    opacity: 0;
}
#POS-H1Rca7AXgWZs3VYXc8YYo43YuYG.tl-ready #PosCart {
    visibility: visible;
    opacity: 1;
    transition: opacity 0.15s ease;
}

#POS-H1Rca7AXgWZs3VYXc8YYo43YuYG #content header {
    background: transparent !important;
    border-bottom: 3px solid #ff6600;
    padding: 0 !important;
}

/* ── Section 1: Hero ── */
/* ── Horizontal-overflow guard (phone) ──────────────────────────────────
   #TLStoreName is a flex child of #TLHeroSection. With the flex default
   (min-width:auto) the oversized title can be wider than the viewport —
   especially before the Bebas Neue web font loads and the wide fallback
   (Impact/Arial Black) is in use — which stretches the hero past the screen
   and pushes the centred logo off to the right. These rules keep all POS
   content within the viewport width. */
#POS-H1Rca7AXgWZs3VYXc8YYo43YuYG { overflow-x: clip; }

#TLHeroSection,
#TLDescSection {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

#TLStoreName {
    min-width: 0;
    max-width: 100%;
    overflow-wrap: anywhere;
}

#TLHeroSection {
    min-height: 100svh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 3rem 1.5rem;
}

#TLStoreLogo {
    display: block;
    max-height: 220px;
    width: auto;
    max-width: 100%;
    margin: 0 auto 1.5rem;
    object-fit: contain;
}

/* Hide the original BTCPay store name — we render it ourselves in #TLHeroSection */
#POS-H1Rca7AXgWZs3VYXc8YYo43YuYG #content header h1 {
    display: none !important;
}

#TLStoreName {
    font-family: 'Bebas Neue', 'Impact', 'Arial Black', sans-serif;
    font-size: clamp(4.5rem, 12vw, 9rem);
    font-weight: 400;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    color: #f0ede8;
    text-shadow: 4px 4px 0 #ff6600, 8px 8px 0 rgba(255,102,0,0.18);
    line-height: 1;
    margin-bottom: 0;
}

#TLVerMasBtn {
    display: block;
    width: fit-content;
    margin: 2.5rem auto 0;
    background: transparent;
    color: #ff6600;
    border: 2px solid #ff6600;
    font-family: 'Bebas Neue', 'Impact', 'Arial Black', sans-serif;
    font-size: 1.3rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    padding: 0.5rem 2rem;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}
#TLVerMasBtn:hover {
    background: #ff6600;
    color: #111;
    box-shadow: 0 0 20px rgba(255,102,0,0.3);
}

/* ── Section 2: Description ── */
#TLDescSection {
    min-height: 100svh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 3rem 1.5rem;
    border-top: 1px solid #2a2a2a;
}

#TLDescSection .lead {
    color: #999;
    font-size: 1.4rem;
    line-height: 1.75;
    border-left: 4px solid #ff6600;
    padding-left: 1rem;
    font-style: italic;
    max-width: 800px;
}

#TLEnterBtn {
    display: block;
    width: fit-content;
    margin: 2.5rem auto 0;
    background: #ff6600;
    color: #111 !important;
    font-family: 'Bebas Neue', 'Impact', 'Arial Black', sans-serif;
    font-size: 1.5rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    padding: 0.55rem 2.5rem;
    border: none;
    border-radius: 0;
    cursor: pointer;
    transition: background 0.2s ease, box-shadow 0.2s ease;
}
#TLEnterBtn:hover {
    background: #cc5200;
    box-shadow: 0 0 24px rgba(255,102,0,0.45);
}

/* ── Section 3: Shop ── */
#POS-H1Rca7AXgWZs3VYXc8YYo43YuYG #Categories {
    padding: 2rem 1.5rem 1.25rem;
    border-bottom: 1px solid #2a2a2a;
}

#POS-H1Rca7AXgWZs3VYXc8YYo43YuYG #Categories label[for="Category-*"] {
    font-size: 0;
}
#POS-H1Rca7AXgWZs3VYXc8YYo43YuYG #Categories label[for="Category-*"]::before {
    content: 'Todo';
    font-size: 1rem;
}

#POS-H1Rca7AXgWZs3VYXc8YYo43YuYG #PosItems {
    padding-top: 2rem !important;
    padding-bottom: 4rem !important;
}

#POS-H1Rca7AXgWZs3VYXc8YYo43YuYG .tile.card {
    background: #232323 !important;
    border: 1px solid #2e2e2e !important;
    border-radius: 0 !important;
    position: relative;
    overflow: hidden;
    transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

#POS-H1Rca7AXgWZs3VYXc8YYo43YuYG .tile.card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, #ff6600, #ff3300);
    z-index: 1;
}

#POS-H1Rca7AXgWZs3VYXc8YYo43YuYG .tile.card:hover {
    transform: translateY(-5px);
    border-color: #ff6600 !important;
    box-shadow: 0 10px 30px rgba(255,102,0,0.2) !important;
}

#POS-H1Rca7AXgWZs3VYXc8YYo43YuYG .card-img-top {
    filter: grayscale(40%) contrast(1.1);
    transition: filter 0.3s ease;
}

#POS-H1Rca7AXgWZs3VYXc8YYo43YuYG .tile.card:hover .card-img-top {
    filter: grayscale(0%) contrast(1.1);
}

#POS-H1Rca7AXgWZs3VYXc8YYo43YuYG .card-title {
    font-family: 'Bebas Neue', 'Impact', 'Arial Black', sans-serif;
    font-size: 1.3rem !important;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #f0ede8 !important;
}

#POS-H1Rca7AXgWZs3VYXc8YYo43YuYG .card-text {
    color: #6e6e6e !important;
    font-size: 0.8rem;
    line-height: 1.55;
}

#POS-H1Rca7AXgWZs3VYXc8YYo43YuYG .fw-semibold {
    color: #ff6600 !important;
    font-size: 1.15rem;
}

#POS-H1Rca7AXgWZs3VYXc8YYo43YuYG .badge.text-bg-warning {
    background: transparent !important;
    color: #ff6600 !important;
    border: 1px solid #ff6600;
    border-radius: 0 !important;
    font-size: 0.65rem;
    letter-spacing: 0.04em;
}

#POS-H1Rca7AXgWZs3VYXc8YYo43YuYG .card-footer {
    background: #1a1a1a !important;
    border-top: 1px solid #2e2e2e !important;
}

#POS-H1Rca7AXgWZs3VYXc8YYo43YuYG .btn-primary {
    background: #ff6600 !important;
    border: none !important;
    border-radius: 0 !important;
    color: #111 !important;
    font-family: 'Bebas Neue', 'Impact', 'Arial Black', sans-serif;
    font-size: 1.05rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    padding: 0.6rem 1rem;
    transition: background 0.2s ease, box-shadow 0.2s ease;
}

#POS-H1Rca7AXgWZs3VYXc8YYo43YuYG .btn-primary:hover,
#POS-H1Rca7AXgWZs3VYXc8YYo43YuYG .btn-primary:focus {
    background: #cc5200 !important;
    color: #111 !important;
    box-shadow: 0 0 20px rgba(255,102,0,0.35) !important;
}

#POS-H1Rca7AXgWZs3VYXc8YYo43YuYG .store-footer {
    border-top: 1px solid #262626;
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.75rem;
}

#POS-H1Rca7AXgWZs3VYXc8YYo43YuYG .store-powered-by {
    color: #444 !important;
    transition: color 0.2s;
}

#POS-H1Rca7AXgWZs3VYXc8YYo43YuYG .store-powered-by:hover {
    color: #ff6600 !important;
}

.tl-footer-sep {
    color: #333;
    user-select: none;
}

#TLProvidedBy {
    display: inline-flex;
    align-items: center;
    gap: 0.4em;
    color: #444;
    text-decoration: none;
    font-size: 0.875rem;
    transition: color 0.2s;
}

#TLProvidedBy:hover {
    color: #ff6600 !important;
}

#TLProvidedBy img {
    width: 16px;
    height: 16px;
    border-radius: 2px;
    flex-shrink: 0;
}

/* ── Shared across all view modes ── */

#POS-H1Rca7AXgWZs3VYXc8YYo43YuYG .bg-body {
    background-color: #1a1a1a !important;
}

#POS-H1Rca7AXgWZs3VYXc8YYo43YuYG .form-control {
    background: #2a2a2a !important;
    border: 1px solid #3a3a3a !important;
    color: #f0ede8 !important;
    border-radius: 0 !important;
}

#POS-H1Rca7AXgWZs3VYXc8YYo43YuYG .form-control:focus {
    background: #2a2a2a !important;
    border-color: #ff6600 !important;
    box-shadow: 0 0 0 0.2rem rgba(255,102,0,0.2) !important;
    color: #f0ede8 !important;
}

#POS-H1Rca7AXgWZs3VYXc8YYo43YuYG .form-control::placeholder {
    color: #555 !important;
}

#POS-H1Rca7AXgWZs3VYXc8YYo43YuYG .input-group-text {
    background: #333 !important;
    border: 1px solid #3a3a3a !important;
    color: #ff6600 !important;
    border-radius: 0 !important;
    font-weight: 700;
}

#POS-H1Rca7AXgWZs3VYXc8YYo43YuYG .btcpay-pill {
    background: #2a2a2a;
    color: #888;
    border: 1px solid #333;
    border-radius: 0 !important;
}

#POS-H1Rca7AXgWZs3VYXc8YYo43YuYG .btcpay-pill:hover,
#POS-H1Rca7AXgWZs3VYXc8YYo43YuYG input[type="radio"]:checked + .btcpay-pill {
    background: #ff6600 !important;
    color: #111 !important;
    border-color: #ff6600 !important;
}

/* ── Keypad view ── */

#POS-H1Rca7AXgWZs3VYXc8YYo43YuYG #PosKeypad {
    background-color: #1a1a1a;
}

#POS-H1Rca7AXgWZs3VYXc8YYo43YuYG #Currency {
    color: #555 !important;
    font-family: 'Bebas Neue', 'Impact', sans-serif;
    letter-spacing: 0.15em;
}

#POS-H1Rca7AXgWZs3VYXc8YYo43YuYG #Amount {
    color: #f0ede8 !important;
    font-family: 'Bebas Neue', 'Impact', sans-serif;
}

#POS-H1Rca7AXgWZs3VYXc8YYo43YuYG #Total,
#POS-H1Rca7AXgWZs3VYXc8YYo43YuYG #Calculation {
    color: #666 !important;
}

#POS-H1Rca7AXgWZs3VYXc8YYo43YuYG .keypad .btn-secondary,
#POS-H1Rca7AXgWZs3VYXc8YYo43YuYG .keypad .btn-lg {
    background: #242424 !important;
    border: 1px solid #2e2e2e !important;
    color: #f0ede8 !important;
    border-radius: 0 !important;
    font-family: 'Bebas Neue', 'Impact', sans-serif;
    font-size: 1.5rem;
    letter-spacing: 0.05em;
    transition: background 0.15s, border-color 0.15s, color 0.15s;
}

#POS-H1Rca7AXgWZs3VYXc8YYo43YuYG .keypad .btn-secondary:hover,
#POS-H1Rca7AXgWZs3VYXc8YYo43YuYG .keypad .btn-lg:hover {
    background: #333 !important;
    border-color: #ff6600 !important;
    color: #ff6600 !important;
}

#POS-H1Rca7AXgWZs3VYXc8YYo43YuYG #pay-button {
    font-family: 'Bebas Neue', 'Impact', sans-serif;
    font-size: 1.3rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    border-radius: 0 !important;
}

#POS-H1Rca7AXgWZs3VYXc8YYo43YuYG #ItemsListToggle {
    background: #ff6600 !important;
    border: none !important;
    color: #111 !important;
}

#POS-H1Rca7AXgWZs3VYXc8YYo43YuYG .offcanvas {
    background: #1c1c1c !important;
    border-left: 2px solid #ff6600 !important;
}

#POS-H1Rca7AXgWZs3VYXc8YYo43YuYG .offcanvas-header {
    background: #161616 !important;
    border-bottom: 1px solid #2a2a2a;
}

#POS-H1Rca7AXgWZs3VYXc8YYo43YuYG .offcanvas-title {
    font-family: 'Bebas Neue', 'Impact', sans-serif;
    font-size: 1.4rem;
    letter-spacing: 0.07em;
    color: #f0ede8 !important;
}

#POS-H1Rca7AXgWZs3VYXc8YYo43YuYG .offcanvas-body {
    background: #1c1c1c;
    color: #f0ede8;
}

/* ── Keypad POS iOS "+/-" lockup fix (all merchants, store-agnostic) ──────
   BTCPay's keypad item list adds `.posItem--added` (→ pointer-events:none) when
   an item is added. That class is only cleared by a `transitionend` from the
   `.posItem-added` overlay's opacity transition — but the keypad view markup
   (VueLight.cshtml) has no such overlay element, so on iOS Safari the class
   never clears and the +/- buttons go dead after one tap. The pointer-events
   guard has no visual purpose in the keypad view, so keep items interactive. */
#ItemsListOffcanvas .posItem--added {
    pointer-events: auto;
}

/* ── Cart view ── */

#POS-H1Rca7AXgWZs3VYXc8YYo43YuYG #PosCart,
#POS-H1Rca7AXgWZs3VYXc8YYo43YuYG #content {
    background-color: #1a1a1a;
}

#POS-H1Rca7AXgWZs3VYXc8YYo43YuYG #PosCart .sticky-top {
    background: #1a1a1a !important;
    border-bottom: 3px solid #ff6600;
}

#POS-H1Rca7AXgWZs3VYXc8YYo43YuYG #content header.sticky-top {
    position: relative !important;
}

#POS-H1Rca7AXgWZs3VYXc8YYo43YuYG #CartToggle {
    position: fixed !important;
    top: 1rem !important;
    right: 1rem !important;
    left: auto !important;
    z-index: 1040 !important;
    background: #232323 !important;
    display: inline-flex !important;
    visibility: visible !important;
}


#POS-H1Rca7AXgWZs3VYXc8YYo43YuYG #SearchTerm {
    display: none !important;
}

#RecentTransactionsToggle {
    display: none !important;
}

#TLBackToTop {
    position: fixed !important;
    top: 1rem !important;
    left: 1rem !important;
    width: 40px !important;
    height: 40px !important;
    z-index: 1040 !important;
    display: inline-flex !important;
    visibility: visible !important;
    align-items: center;
    justify-content: center;
    background: #232323 !important;
    border: 1px solid #333 !important;
    color: #f0ede8 !important;
    cursor: pointer;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}
#TLBackToTop.visible {
    opacity: 1 !important;
    pointer-events: auto !important;
}
#TLBackToTop:hover {
    border-color: #ff6600;
    color: #ff6600;
}

#TLCartOverlay {
    position: fixed;
    top: 1rem;
    right: 1rem;
    width: 40px;
    height: 40px;
    z-index: 1041;
    cursor: pointer;
    display: none;
}

#TLRecentToggle {
    position: fixed;
    top: 1rem !important;
    right: calc(1rem + 48px) !important;
    left: auto !important;
    z-index: 1040;
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #232323;
    border: 1px solid #333;
    color: #f0ede8;
    cursor: pointer;
}
#TLRecentToggle:hover {
    border-color: #ff6600;
    color: #ff6600;
}


#POS-H1Rca7AXgWZs3VYXc8YYo43YuYG #PosCart h1 {
    font-family: 'Bebas Neue', 'Impact', 'Arial Black', sans-serif;
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 400;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    color: #f0ede8 !important;
    text-shadow: 2px 2px 0 #ff6600;
}

#POS-H1Rca7AXgWZs3VYXc8YYo43YuYG .cart-toggle-btn {
    background: transparent !important;
    border: 1px solid #333 !important;
    color: #f0ede8 !important;
    border-radius: 0 !important;
}

#POS-H1Rca7AXgWZs3VYXc8YYo43YuYG #CartBadge {
    background: #ff6600 !important;
    color: #111 !important;
}

#POS-H1Rca7AXgWZs3VYXc8YYo43YuYG #cart {
    background: #1c1c1c !important;
    border-left: 2px solid #ff6600 !important;
}

#POS-H1Rca7AXgWZs3VYXc8YYo43YuYG #cart .bg-tile {
    background: #161616 !important;
    border-bottom: 1px solid #2a2a2a !important;
}

#POS-H1Rca7AXgWZs3VYXc8YYo43YuYG #cart h1 {
    font-family: 'Bebas Neue', 'Impact', sans-serif;
    font-size: 1.8rem;
    letter-spacing: 0.07em;
    color: #f0ede8 !important;
    text-transform: uppercase;
    text-shadow: none;
}

#POS-H1Rca7AXgWZs3VYXc8YYo43YuYG .table {
    color: #f0ede8 !important;
    --bs-table-color: #f0ede8;
    --bs-table-bg: transparent;
    --bs-table-border-color: #2a2a2a;
}

#POS-H1Rca7AXgWZs3VYXc8YYo43YuYG .table td,
#POS-H1Rca7AXgWZs3VYXc8YYo43YuYG .table th {
    border-color: #2a2a2a !important;
    color: #f0ede8 !important;
}

#POS-H1Rca7AXgWZs3VYXc8YYo43YuYG #CartClear {
    color: #ff6600 !important;
}

#POS-H1Rca7AXgWZs3VYXc8YYo43YuYG .btn-minus,
#POS-H1Rca7AXgWZs3VYXc8YYo43YuYG .btn-plus {
    background: #2a2a2a !important;
    border: 1px solid #333 !important;
    color: #f0ede8 !important;
    border-radius: 0 !important;
    transition: background 0.15s, border-color 0.15s, color 0.15s;
}

#POS-H1Rca7AXgWZs3VYXc8YYo43YuYG .btn-minus:hover,
#POS-H1Rca7AXgWZs3VYXc8YYo43YuYG .btn-plus:hover {
    background: #ff6600 !important;
    border-color: #ff6600 !important;
    color: #111 !important;
}

#POS-H1Rca7AXgWZs3VYXc8YYo43YuYG .posItem-added {
    background: rgba(255,102,0,0.12) !important;
}

/* ── Responsive header size ── */

@media (max-width: 575px) {
    #TLStoreName {
        font-size: 2.75rem;
        text-shadow: 2px 2px 0 #ff6600;
    }
    #TLHeroSection, #TLDescSection { padding: 2rem 1.25rem; }
    #POS-H1Rca7AXgWZs3VYXc8YYo43YuYG #PosCart h1 {
        font-size: 1.6rem;
        text-shadow: 1px 1px 0 #ff6600;
    }
}

@media (min-width: 576px) and (max-width: 992px) {
    #TLStoreName {
        font-size: 3.75rem;
        text-shadow: 3px 3px 0 #ff6600;
    }
    #POS-H1Rca7AXgWZs3VYXc8YYo43YuYG #PosCart h1 {
        font-size: 2rem;
    }
}

/* ── Cart closed by default on all viewports ── */
#POS-H1Rca7AXgWZs3VYXc8YYo43YuYG #cart {
    transform: translateX(100%);
    transition: transform var(--btcpay-transition-duration-fast) ease-in-out;
}
#POS-H1Rca7AXgWZs3VYXc8YYo43YuYG #cart.show {
    transform: none;
}

/* ── Desktop: manage content margin and show toggle button ── */
@media (min-width: 992px) {
    #POS-H1Rca7AXgWZs3VYXc8YYo43YuYG #content {
        margin-right: 0;
        transition: margin-right var(--btcpay-transition-duration-fast) ease-in-out;
    }
    #POS-H1Rca7AXgWZs3VYXc8YYo43YuYG:has(#cart.show) #content {
        margin-right: var(--sidebar-width);
    }
    #POS-H1Rca7AXgWZs3VYXc8YYo43YuYG .cart-toggle-btn {
        display: inline-flex !important;
    }
}
