/* =========================================================
   PLUSRP Store — Stylesheet
   Tienda RP/Tebex premium con branding azul celeste
   ========================================================= */

/* ===================== CUSTOM PROPERTIES ===================== */
:root {
    /* Backgrounds */
    --bg-body: #08090D;
    --bg-secondary: #0D1117;
    --bg-panel: #11161E;
    --bg-card: #141A23;
    --bg-card-hover: #1A2230;

    /* Borders */
    --border-subtle: rgba(255, 255, 255, 0.06);
    --border-medium: rgba(255, 255, 255, 0.1);
    --border-active: rgba(30, 183, 255, 0.3);

    /* Brand Colors */
    --blue-primary: #1EB7FF;
    --blue-secondary: #7EDCFF;
    --blue-dark: #0C6A9E;
    --blue-glow: rgba(30, 183, 255, 0.15);
    --blue-glow-strong: rgba(30, 183, 255, 0.25);

    /* Text */
    --text-primary: #F3F7FB;
    --text-secondary: #9AA7B6;
    --text-muted: #5C6A7A;
    --text-accent: #1EB7FF;

    /* Sizing */
    --header-height: 78px;
    --sidebar-width: 260px;
    --radius-sm: 3px;
    --radius-md: 4px;
    --radius-lg: 5px;
    --radius-xl: 6px;

    /* Transitions */
    --transition-fast: 0.15s ease;
    --transition-normal: 0.25s ease;
    --transition-smooth: 0.35s cubic-bezier(0.4, 0, 0.2, 1);

    /* Shadows */
    --shadow-card: 0 2px 12px rgba(0, 0, 0, 0.3);
    --shadow-card-hover: 0 8px 32px rgba(0, 0, 0, 0.4);
    --shadow-blue: 0 4px 20px rgba(30, 183, 255, 0.15);
    --shadow-drawer: -8px 0 40px rgba(0, 0, 0, 0.6);
}

/* ===================== RESET & BASE ===================== */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background-color: var(--bg-body);
    color: var(--text-primary);
    line-height: 1.5;
    min-height: 100vh;
    overflow-x: hidden;
}

/* Custom Dark Scrollbar (Eliminates white scrollbar lines) */
::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}
::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.2);
}
::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.12);
    border-radius: 3px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--blue-primary);
}

* {
    scrollbar-width: thin;
    scrollbar-color: rgba(255, 255, 255, 0.12) transparent;
}

a {
    color: inherit;
    text-decoration: none;
}

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
    color: inherit;
}

img {
    max-width: 100%;
    display: block;
}

ul {
    list-style: none;
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 6px;
}
::-webkit-scrollbar-track {
    background: var(--bg-secondary);
}
::-webkit-scrollbar-thumb {
    background: var(--text-muted);
    border-radius: 3px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--text-secondary);
}

/* ===================== HEADER ===================== */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    height: var(--header-height);
    background: var(--bg-secondary);
    border-bottom: 1px solid var(--border-subtle);
    backdrop-filter: blur(12px);
}

.header-inner {
    max-width: 1400px;
    margin: 0 auto;
    height: 100%;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.header-logo {
    font-size: 30px;
    font-weight: 900;
    letter-spacing: -0.5px;
    display: flex;
    align-items: center;
    gap: 0;
    transition: opacity var(--transition-fast);
}
.header-logo:hover {
    opacity: 0.85;
}
.logo-plus {
    color: var(--text-primary);
}
.logo-rp {
    color: var(--blue-primary);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.btn-header {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 11px 18px;
    border-radius: var(--radius-sm);
    font-size: 15px;
    font-weight: 700;
    transition: all var(--transition-fast);
    position: relative;
}

.btn-login {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    color: var(--text-secondary);
}
.btn-login:hover {
    background: var(--bg-card-hover);
    border-color: var(--border-medium);
    color: var(--text-primary);
}

.btn-cart {
    background: var(--blue-primary);
    color: #fff;
    border: 1px solid transparent;
}
.btn-cart:hover {
    background: #17a3e8;
    box-shadow: var(--shadow-blue);
}

.cart-badge {
    position: absolute;
    top: -4px;
    right: -4px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #fff;
    color: var(--blue-primary);
    font-size: 10px;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transform: scale(0.5);
    transition: all var(--transition-fast);
}
.cart-badge.visible {
    opacity: 1;
    transform: scale(1);
}

.btn-mobile-menu {
    display: none;
    padding: 8px;
    color: var(--text-secondary);
    border-radius: var(--radius-sm);
}
.btn-mobile-menu:hover {
    color: var(--text-primary);
    background: var(--bg-card);
}

/* ===================== HERO BANNER ===================== */
.hero-banner {
    position: relative;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    height: 280px;
    overflow: hidden;
    border-radius: 0;
}

.banner-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}
.banner-bg-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 40%;
}
.banner-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        90deg,
        rgba(8, 9, 13, 0.92) 0%,
        rgba(8, 9, 13, 0.6) 40%,
        rgba(8, 9, 13, 0.3) 70%,
        rgba(8, 9, 13, 0.5) 100%
    );
}
.banner-glow {
    position: absolute;
    bottom: -60px;
    left: 30%;
    width: 400px;
    height: 200px;
    background: radial-gradient(ellipse, var(--blue-glow-strong) 0%, transparent 70%);
    pointer-events: none;
}

.banner-content {
    position: relative;
    z-index: 1;
    height: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.banner-text {
    flex: 1;
}
.banner-kicker {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2.5px;
    color: var(--blue-primary);
    text-transform: uppercase;
    margin-bottom: 12px;
    padding: 4px 10px;
    background: rgba(30, 183, 255, 0.1);
    border: 1px solid rgba(30, 183, 255, 0.2);
    border-radius: var(--radius-sm);
}
.banner-title {
    font-size: 36px;
    font-weight: 900;
    line-height: 1.1;
    letter-spacing: -1px;
    color: var(--text-primary);
    margin-bottom: 12px;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.5);
}
.banner-subtitle {
    font-size: 14px;
    color: var(--text-secondary);
    max-width: 420px;
    line-height: 1.6;
}

/* Promo card removed for cleaner banner layout */

/* Banner decorative lines */
.banner-line {
    position: absolute;
    background: linear-gradient(90deg, transparent, var(--blue-glow), transparent);
    height: 1px;
    pointer-events: none;
    z-index: 1;
}
.banner-line-1 {
    bottom: 0;
    left: 0;
    width: 100%;
}
.banner-line-2 {
    bottom: 40px;
    right: 0;
    width: 40%;
    opacity: 0.3;
}

/* ===================== STORE MAIN LAYOUT ===================== */
.store-main {
    max-width: 1400px;
    margin: 0 auto;
    padding: 24px 24px 60px;
    display: flex;
    gap: 24px;
    position: relative;
    min-height: 600px;
}

.btn-sidebar-toggle {
    display: none;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    color: var(--text-secondary);
    font-size: 13px;
    font-weight: 600;
    width: 100%;
    margin-bottom: 16px;
    transition: all var(--transition-fast);
}
.btn-sidebar-toggle:hover {
    border-color: var(--border-medium);
    color: var(--text-primary);
}

/* ===================== SIDEBAR ===================== */
.sidebar {
    width: var(--sidebar-width);
    flex-shrink: 0;
    position: sticky;
    top: calc(var(--header-height) + 24px);
    align-self: flex-start;
    max-height: calc(100vh - var(--header-height) - 48px);
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.sidebar-nav {
    background: var(--bg-panel);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    overflow: hidden;
}

.category-list {
    padding: 6px;
}

.category-item {
    position: relative;
}

.category-btn {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 11px 14px;
    font-size: 13px;
    font-weight: 500;
    color: var(--text-secondary);
    border-radius: var(--radius-sm);
    transition: all var(--transition-fast);
    text-align: left;
    border: 1px solid transparent;
}
.category-btn:hover {
    color: var(--text-primary);
    background: rgba(255, 255, 255, 0.03);
}
.category-btn.active {
    color: #ffffff;
    background: rgba(30, 183, 255, 0.14);
    border-color: transparent;
    box-shadow: inset 3px 0 0 var(--blue-primary);
}
.category-btn.active .cat-icon {
    color: var(--blue-primary);
}

.cat-icon {
    font-size: 15px;
    width: 22px;
    text-align: center;
    flex-shrink: 0;
    transition: color var(--transition-fast);
}

.cat-label {
    flex: 1;
}

/* Sidebar Trust Badge */
.sidebar-trust {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    background: var(--bg-panel);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
}
.trust-icon {
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(30, 183, 255, 0.08);
    border-radius: var(--radius-sm);
}
.trust-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.trust-title {
    font-size: 12px;
    font-weight: 600;
    color: var(--text-primary);
}
.trust-sub {
    font-size: 11px;
    color: var(--text-muted);
}

/* ===================== HOME VIEW ===================== */
.home-view {
    flex: 1;
    min-width: 0;
    display: none;
}
.home-view.active {
    display: block;
}

.home-panel {
    background: var(--bg-panel);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    padding: 36px 40px;
}

.home-welcome-text {
    font-size: 14px;
    color: var(--text-primary);
    margin-bottom: 4px;
}
.home-welcome-sub {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 32px;
}

.home-main-title {
    font-size: 28px;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 20px;
    letter-spacing: -0.5px;
}

.home-faq-sub {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 20px;
}

.home-step-title {
    font-size: 22px;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 24px;
    letter-spacing: -0.3px;
}

.home-step-list {
    list-style: none;
    padding: 0;
    margin: 0 0 32px 0;
}
.home-step-list li {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 12px;
}
.home-step-list li strong {
    color: var(--text-primary);
}

.home-terms-btn-wrap {
    margin-top: 16px;
}
.home-terms-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 24px;
    background: #e0e0e0;
    color: #111;
    font-size: 13px;
    font-weight: 700;
    border: none;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: all var(--transition-fast);
}
.home-terms-btn:hover {
    background: #ffffff;
    box-shadow: 0 2px 12px rgba(255, 255, 255, 0.2);
}

/* ===================== CATALOG VIEW ===================== */
.catalog {
    flex: 1;
    min-width: 0;
}

.catalog-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    margin-bottom: 24px;
    gap: 16px;
}

.catalog-kicker {
    display: block;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 2.5px;
    color: var(--blue-primary);
    text-transform: uppercase;
    margin-bottom: 4px;
}
.catalog-title {
    font-size: 24px;
    font-weight: 800;
    color: var(--text-primary);
    letter-spacing: -0.5px;
}
.catalog-count {
    font-size: 12px;
    font-weight: 500;
    color: var(--text-muted);
    flex-shrink: 0;
    padding: 4px 10px;
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-sm);
}

/* ===================== PRODUCT GRID ===================== */
.product-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

/* ===================== PRODUCT CARD ===================== */
.product-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    overflow: hidden;
    cursor: pointer;
    transition: all var(--transition-smooth);
    display: flex;
    flex-direction: column;
    position: relative;
}
.product-card:hover {
    border-color: var(--border-active);
    box-shadow: var(--shadow-card-hover), 0 0 30px rgba(30, 183, 255, 0.06);
    transform: translateY(-3px);
}

.card-image-wrap {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 0.85;
    background: var(--bg-panel);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}
.card-image-wrap img {
    max-width: 70%;
    max-height: 70%;
    width: auto;
    height: auto;
    object-fit: contain;
    transition: transform var(--transition-smooth);
    filter: drop-shadow(0 6px 16px rgba(0, 0, 0, 0.5));
}
.product-card:hover .card-image-wrap img {
    transform: scale(1.08);
}

.card-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    padding: 3px 8px;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    border-radius: 4px;
    z-index: 2;
}
.badge-vip {
    background: var(--blue-primary);
    color: #fff;
}
.badge-vehicle {
    background: rgba(30, 183, 255, 0.15);
    color: var(--blue-secondary);
    border: 1px solid rgba(30, 183, 255, 0.25);
}
.badge-money {
    background: rgba(46, 204, 113, 0.15);
    color: #6ee7a0;
    border: 1px solid rgba(46, 204, 113, 0.25);
}
.badge-subscription {
    background: rgba(255, 193, 7, 0.15);
    color: #ffd54f;
    border: 1px solid rgba(255, 193, 7, 0.25);
}

.card-body {
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex: 1;
    text-align: center;
}

.card-name {
    font-size: 14px;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1.3;
}

.card-desc {
    font-size: 12px;
    color: var(--text-secondary);
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.card-footer {
    padding: 0 16px 16px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    text-align: center;
}

.card-price {
    font-size: 18px;
    font-weight: 800;
    color: var(--text-primary);
    letter-spacing: -0.3px;
}
.card-price .currency {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-secondary);
}

.btn-add-cart {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 10px 16px;
    font-size: 13px;
    font-weight: 700;
    color: #fff;
    background: var(--blue-primary);
    border: none;
    border-radius: var(--radius-sm);
    transition: all var(--transition-fast);
    letter-spacing: 0.2px;
}
.btn-add-cart:hover {
    background: #17a3e8;
    box-shadow: var(--shadow-blue);
    transform: translateY(-1px);
}
.btn-add-cart:active {
    transform: translateY(0);
}

/* Added to cart animation */
.btn-add-cart.added {
    background: #2ecc71;
    pointer-events: none;
}

/* ===================== PRODUCT DETAIL MODAL ===================== */
.detail-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
    z-index: 300;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-normal);
    backdrop-filter: blur(4px);
}
.detail-overlay.open {
    opacity: 1;
    visibility: visible;
}

.detail-modal {
    position: fixed;
    top: 50%;
    left: 50%;
    width: 750px;
    max-width: 92vw;
    max-height: 85vh;
    background: var(--bg-secondary);
    border: 1px solid var(--border-medium);
    border-radius: var(--radius-md);
    z-index: 301;
    overflow-y: auto;
    transform: translate(-50%, -45%) scale(0.95);
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-normal);
    box-shadow: 0 16px 50px rgba(0, 0, 0, 0.8), 0 0 30px rgba(30, 183, 255, 0.1);
}
.detail-modal.open {
    transform: translate(-50%, -50%) scale(1);
    opacity: 1;
    visibility: visible;
}

.detail-modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-sm);
    color: var(--text-muted);
    cursor: pointer;
    z-index: 5;
    transition: all var(--transition-fast);
}
.detail-modal-close:hover {
    color: var(--text-primary);
    border-color: var(--border-medium);
}

.detail-modal-body {
    display: flex;
    gap: 0;
}

.detail-image-wrap {
    flex: 1;
    min-width: 0;
}

.detail-image-container {
    background: var(--bg-panel);
    overflow: hidden;
    aspect-ratio: 1 / 1;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 28px;
}
.detail-image {
    max-width: 70%;
    max-height: 70%;
    width: auto;
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 8px 24px rgba(0, 0, 0, 0.6));
}
.detail-badge-overlay {
    position: absolute;
    bottom: 12px;
    left: 50%;
    transform: translateX(-50%);
    padding: 3px 10px;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    border-radius: 3px;
    background: rgba(255, 193, 7, 0.9);
    color: #000;
}

.detail-purchase-box {
    width: 280px;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    gap: 14px;
    padding: 24px;
    border-left: 1px solid var(--border-subtle);
}

.detail-name {
    font-size: 20px;
    font-weight: 800;
    color: var(--text-primary);
    letter-spacing: -0.3px;
    line-height: 1.2;
}

.detail-price {
    font-size: 24px;
    font-weight: 900;
    color: var(--text-primary);
    letter-spacing: -0.3px;
}

.btn-add-cart-detail {
    padding: 12px 20px;
    font-size: 14px;
    font-weight: 700;
    background: var(--blue-primary);
    color: #fff;
    border: none;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: all var(--transition-fast);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
}
.btn-add-cart-detail:hover {
    background: #17a3e8;
    box-shadow: var(--shadow-blue);
}
.btn-add-cart-detail.added {
    background: #2ecc71;
    pointer-events: none;
}

/* Detail Description */
.detail-description {
    border-top: 1px solid var(--border-subtle);
    padding: 28px;
}
.detail-desc-title {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--border-subtle);
}
.detail-desc-content {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.75;
}
.detail-desc-content p {
    margin-bottom: 12px;
}
.detail-desc-content ul {
    padding-left: 20px;
    list-style: disc;
    margin-bottom: 12px;
}
.detail-desc-content li {
    margin-bottom: 4px;
}
.detail-desc-content strong {
    color: var(--text-primary);
    font-weight: 600;
}

/* ===================== CART DRAWER ===================== */
.cart-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    z-index: 200;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-normal);
    backdrop-filter: blur(4px);
}
.cart-overlay.open {
    opacity: 1;
    visibility: visible;
}

.cart-drawer {
    position: fixed;
    top: 0;
    right: 0;
    width: 400px;
    max-width: 100vw;
    height: 100vh;
    background: var(--bg-secondary);
    border-left: 1px solid var(--border-subtle);
    z-index: 201;
    display: flex;
    flex-direction: column;
    transform: translateX(100%);
    transition: transform var(--transition-smooth);
    box-shadow: var(--shadow-drawer);
}
.cart-drawer.open {
    transform: translateX(0);
}

.cart-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    border-bottom: 1px solid var(--border-subtle);
    flex-shrink: 0;
}
.cart-title {
    font-size: 16px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 10px;
}
.btn-cart-close {
    padding: 6px;
    color: var(--text-muted);
    border-radius: var(--radius-sm);
    transition: all var(--transition-fast);
}
.btn-cart-close:hover {
    color: var(--text-primary);
    background: var(--bg-card);
}

.cart-items {
    flex: 1;
    overflow-y: auto;
    padding: 16px 24px;
}

.cart-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 0;
    border-bottom: 1px solid var(--border-subtle);
    animation: fadeSlideIn 0.3s ease;
}

@keyframes fadeSlideIn {
    from { opacity: 0; transform: translateX(20px); }
    to { opacity: 1; transform: translateX(0); }
}

.cart-item-img {
    width: 56px;
    height: 56px;
    border-radius: var(--radius-sm);
    overflow: hidden;
    background: var(--bg-card);
    flex-shrink: 0;
}
.cart-item-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cart-item-info {
    flex: 1;
    min-width: 0;
}
.cart-item-name {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 2px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.cart-item-price {
    font-size: 14px;
    font-weight: 700;
    color: var(--blue-primary);
}

.btn-cart-remove {
    padding: 6px;
    color: var(--text-muted);
    border-radius: var(--radius-sm);
    transition: all var(--transition-fast);
    flex-shrink: 0;
}
.btn-cart-remove:hover {
    color: #e74c3c;
    background: rgba(231, 76, 60, 0.1);
}

.cart-empty {
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 60px 24px;
    text-align: center;
    gap: 12px;
    flex: 1;
}
.cart-empty.visible {
    display: flex;
}
.cart-empty p {
    font-size: 15px;
    font-weight: 600;
    color: var(--text-secondary);
}
.cart-empty span {
    font-size: 12px;
    color: var(--text-muted);
}

.cart-footer {
    padding: 20px 24px;
    border-top: 1px solid var(--border-subtle);
    background: var(--bg-panel);
    flex-shrink: 0;
    display: none;
}
.cart-footer.visible {
    display: block;
}

.cart-total {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-secondary);
}
.cart-total-price {
    font-size: 22px;
    font-weight: 800;
    color: var(--text-primary);
}

.btn-checkout {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 14px 20px;
    font-size: 14px;
    font-weight: 700;
    color: #fff;
    background: var(--blue-primary);
    border: none;
    border-radius: var(--radius-md);
    transition: all var(--transition-fast);
}
.btn-checkout:hover {
    background: #17a3e8;
    box-shadow: var(--shadow-blue);
}

/* ===================== FOOTER ===================== */
.site-footer {
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-subtle);
    margin-top: 40px;
}

.footer-inner {
    max-width: 1400px;
    margin: 0 auto;
    padding: 32px 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    text-align: center;
}

.footer-logo {
    font-size: 18px;
    font-weight: 800;
    letter-spacing: -0.5px;
}

.footer-desc {
    font-size: 12px;
    color: var(--text-muted);
    max-width: 400px;
}

.footer-links {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    justify-content: center;
}
.footer-links a {
    font-size: 12px;
    color: var(--text-secondary);
    transition: color var(--transition-fast);
}
.footer-links a:hover {
    color: var(--blue-primary);
}
.footer-sep {
    color: var(--text-muted);
    font-size: 12px;
}

.footer-copy {
    font-size: 11px;
    color: var(--text-muted);
}

/* ===================== RESPONSIVE ===================== */

/* Large tablets / small desktops */
@media (max-width: 1100px) {
    .product-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .hero-banner {
        height: 240px;
    }

    .banner-title {
        font-size: 28px;
    }

    .promo-card {
        width: 170px;
        height: 150px;
    }
    .promo-brand {
        font-size: 26px;
    }
}

/* Tablets */
@media (max-width: 900px) {
    .header-actions .btn-login span,
    .header-actions .btn-cart span {
        display: none;
    }
    .btn-header {
        padding: 8px 10px;
    }

    .btn-mobile-menu {
        display: flex;
    }

    .store-main {
        flex-direction: column;
        padding: 16px 16px 40px;
    }

    .btn-sidebar-toggle {
        display: flex;
    }

    .sidebar {
        position: fixed;
        top: 0;
        left: 0;
        width: 280px;
        height: 100vh;
        z-index: 150;
        background: var(--bg-secondary);
        padding: 20px;
        transform: translateX(-100%);
        transition: transform var(--transition-smooth);
        max-height: 100vh;
        border-right: 1px solid var(--border-subtle);
        border-radius: 0;
    }
    .sidebar.open {
        transform: translateX(0);
    }

    .sidebar-overlay {
        position: fixed;
        inset: 0;
        background: rgba(0, 0, 0, 0.6);
        z-index: 149;
        opacity: 0;
        visibility: hidden;
        transition: all var(--transition-normal);
    }
    .sidebar-overlay.open {
        opacity: 1;
        visibility: visible;
    }

    .sidebar-nav {
        border: none;
        background: none;
    }

    .banner-promo {
        display: none;
    }

    .banner-content {
        padding: 0 24px;
    }

    .detail-modal-body {
        flex-direction: column;
    }

    .detail-purchase-box {
        width: 100%;
        border-left: none;
        border-top: 1px solid var(--border-subtle);
    }

    .hero-banner {
        height: 200px;
        border-radius: 0;
    }

    .banner-title {
        font-size: 24px;
    }

    .cart-drawer {
        width: 100%;
    }
}

/* Mobile */
@media (max-width: 600px) {
    :root {
        --header-height: 56px;
    }

    .header-inner {
        padding: 0 16px;
    }

    .header-logo {
        font-size: 18px;
    }

    .hero-banner {
        height: 180px;
    }

    .banner-title {
        font-size: 20px;
    }
    .banner-subtitle {
        font-size: 12px;
    }
    .banner-kicker {
        font-size: 9px;
    }

    .product-grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .catalog-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    .catalog-title {
        font-size: 20px;
    }

    .detail-description {
        padding: 20px;
    }

    .footer-inner {
        padding: 24px 16px;
    }
}

/* ===================== UTILITY ANIMATIONS ===================== */
@keyframes pulseGlow {
    0%, 100% { box-shadow: 0 0 0 0 rgba(30, 183, 255, 0.2); }
    50% { box-shadow: 0 0 20px 4px rgba(30, 183, 255, 0.1); }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.fade-in {
    animation: fadeIn 0.4s ease;
}

/* Body scroll lock when drawers are open */
body.no-scroll {
    overflow: hidden;
}

/* ===================== TOAST NOTIFICATIONS ===================== */
.toast-notification {
    position: fixed;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%) translateY(20px);
    padding: 12px 24px;
    border-radius: var(--radius-md);
    font-size: 13px;
    font-weight: 600;
    z-index: 500;
    opacity: 0;
    transition: all 0.3s ease;
    pointer-events: none;
    white-space: nowrap;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
}
.toast-notification.show {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}
.toast-info {
    background: var(--bg-card);
    color: var(--text-primary);
    border: 1px solid var(--border-active);
}
.toast-success {
    background: #1a3a2a;
    color: #6ee7a0;
    border: 1px solid rgba(46, 204, 113, 0.3);
}
.toast-error {
    background: #3a1a1a;
    color: #f87171;
    border: 1px solid rgba(231, 76, 60, 0.3);
}

/* ===================== SKELETON LOADING ===================== */
.skeleton-card {
    pointer-events: none;
}
.skeleton-shimmer {
    background: linear-gradient(90deg, var(--bg-panel) 25%, var(--bg-card-hover) 50%, var(--bg-panel) 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
    border-radius: var(--radius-sm);
}
.skeleton-line {
    display: block;
    border-radius: 4px;
}
@keyframes shimmer {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

/* ===================== CARD PLACEHOLDER (no image) ===================== */
.card-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-panel);
    color: var(--text-muted);
}

/* ===================== PRICE WITH DISCOUNT ===================== */
.card-price-original {
    font-size: 13px;
    font-weight: 500;
    color: var(--text-muted);
    text-decoration: line-through;
    margin-right: 6px;
}

/* ===================== PLAYER ID PROMPT MODAL ===================== */
.id-prompt-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.8);
    z-index: 400;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-normal);
    backdrop-filter: blur(5px);
}
.id-prompt-overlay.open {
    opacity: 1;
    visibility: visible;
}

.id-prompt-modal {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -45%) scale(0.95);
    width: 480px;
    max-width: 90vw;
    background: var(--bg-card);
    border: 1px solid var(--border-medium);
    border-radius: var(--radius-md);
    padding: 32px 28px;
    z-index: 401;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-normal);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.9), 0 0 30px rgba(30, 183, 255, 0.15);
}
.id-prompt-modal.open {
    transform: translate(-50%, -50%) scale(1);
    opacity: 1;
    visibility: visible;
}

.id-prompt-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: none;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    border-radius: var(--radius-sm);
    transition: all var(--transition-fast);
}
.id-prompt-close:hover {
    color: var(--text-primary);
    background: rgba(255, 255, 255, 0.05);
}

.id-prompt-title {
    font-size: 18px;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 8px;
    line-height: 1.35;
}
.id-prompt-title span {
    color: var(--blue-primary);
}

.id-prompt-desc {
    font-size: 13px;
    color: var(--text-secondary);
    margin-bottom: 20px;
    line-height: 1.5;
}

.id-prompt-input-wrap {
    margin-bottom: 20px;
}

.id-prompt-input {
    width: 100%;
    padding: 12px 14px;
    background: #0d1117;
    border: 1px solid var(--border-medium);
    border-radius: var(--radius-sm);
    color: var(--text-primary);
    font-size: 13px;
    font-family: inherit;
    outline: none;
    transition: all var(--transition-fast);
}
.id-prompt-input:focus {
    border-color: var(--blue-primary);
    box-shadow: 0 0 12px rgba(30, 183, 255, 0.2);
}
.id-prompt-input::placeholder {
    color: var(--text-muted);
}

.btn-id-prompt-confirm {
    width: 100%;
    padding: 12px 20px;
    background: var(--blue-primary);
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    border: none;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: all var(--transition-fast);
}
.btn-id-prompt-confirm:hover {
    background: #17a3e8;
    box-shadow: var(--shadow-blue);
}

/* ===================== TERMS OF SERVICE MODAL ===================== */
.terms-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.85);
    z-index: 450;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-normal);
    backdrop-filter: blur(5px);
}
.terms-overlay.open {
    opacity: 1;
    visibility: visible;
}

.terms-modal {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -45%) scale(0.95);
    width: 720px;
    max-width: 92vw;
    max-height: 85vh;
    background: var(--bg-card);
    border: 1px solid var(--border-medium);
    border-radius: var(--radius-md);
    padding: 36px;
    z-index: 451;
    overflow-y: auto;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-normal);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.9), 0 0 30px rgba(30, 183, 255, 0.15);
}
.terms-modal.open {
    transform: translate(-50%, -50%) scale(1);
    opacity: 1;
    visibility: visible;
}

.terms-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-panel);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-sm);
    color: var(--text-muted);
    cursor: pointer;
    transition: all var(--transition-fast);
}
.terms-close:hover {
    color: var(--text-primary);
    border-color: var(--border-medium);
}

.terms-modal-title {
    font-size: 22px;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--border-subtle);
    letter-spacing: -0.3px;
}

.terms-modal-body {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.75;
}
.terms-modal-body p {
    margin-bottom: 16px;
}
.terms-modal-body h3 {
    font-size: 16px;
    font-weight: 700;
    color: var(--blue-primary);
    margin: 24px 0 10px 0;
}
.terms-modal-body strong {
    color: var(--text-primary);
}
.terms-modal-body ul {
    padding-left: 20px;
    margin-bottom: 16px;
    list-style: disc;
}
.terms-modal-body li {
    margin-bottom: 6px;
}




/* ===================== FIVEM / CFX LOGIN MODAL ===================== */
.login-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.82);
    z-index: 430;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-normal);
    backdrop-filter: blur(5px);
}
.login-overlay.open {
    opacity: 1;
    visibility: visible;
}
.login-modal {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -45%) scale(0.96);
    width: 440px;
    max-width: 92vw;
    background: #0b0f14;
    border: 1px solid rgba(255, 255, 255, 0.10);
    border-radius: 10px;
    padding: 34px 30px 28px;
    z-index: 431;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-normal);
    box-shadow: 0 24px 80px rgba(0, 0, 0, 0.75), 0 0 34px rgba(30, 183, 255, 0.10);
}
.login-modal.open {
    transform: translate(-50%, -50%) scale(1);
    opacity: 1;
    visibility: visible;
}
.login-close {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 34px;
    height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 0;
    background: transparent;
    color: var(--text-muted);
    border-radius: 7px;
    cursor: pointer;
}
.login-close:hover {
    background: rgba(255,255,255,.06);
    color: #fff;
}
.login-modal-title {
    margin: 0 44px 10px 0;
    font-size: 24px;
    line-height: 1.2;
    font-weight: 800;
    color: #fff;
}
.login-modal-desc {
    margin: 0 0 24px;
    color: var(--text-secondary);
    font-size: 14px;
    line-height: 1.55;
}
.btn-fivem-login {
    width: 100%;
    min-height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border: 0;
    border-radius: 6px;
    background: var(--blue-primary);
    color: #fff;
    font-family: inherit;
    font-weight: 800;
    font-size: 15px;
    cursor: pointer;
    transition: transform var(--transition-fast), filter var(--transition-fast), opacity var(--transition-fast);
}
.btn-fivem-login:hover {
    filter: brightness(1.08);
    transform: translateY(-1px);
}
.btn-fivem-login:disabled {
    cursor: wait;
    opacity: .68;
    transform: none;
}
.fivem-login-icon {
    width: 24px;
    height: 24px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 5px;
    background: rgba(0,0,0,.20);
    font-size: 13px;
    font-weight: 900;
}
.login-modal-note {
    margin: 14px 0 0;
    text-align: center;
    color: var(--text-muted);
    font-size: 11px;
    line-height: 1.45;
}


/* ===================== LOGIN V9 — PLUSRP CELESTE ===================== */
.btn-login.authenticated {
    border-color: rgba(30, 183, 255, .45);
    background: rgba(30, 183, 255, .10);
    color: #eaf8ff;
}
.btn-login.authenticated svg { color: var(--blue-primary); }
.login-user-content[hidden], #login-guest-content[hidden] { display: none !important; }
.login-user-card {
    display: flex; align-items: center; gap: 12px; padding: 14px 15px; margin: 4px 0 16px;
    border-radius: 8px; border: 1px solid rgba(30, 183, 255, .28); background: rgba(30, 183, 255, .07);
}
.login-user-avatar {
    width: 38px; height: 38px; display: inline-flex; align-items: center; justify-content: center;
    border-radius: 8px; background: var(--blue-primary); color: #fff; font-weight: 900;
}
.login-user-card > div { min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.login-user-label { color: var(--text-muted); font-size: 11px; text-transform: uppercase; letter-spacing: .08em; }
#login-user-name { color: #fff; font-size: 15px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.btn-switch-account {
    width: 100%; min-height: 46px; border: 1px solid rgba(30, 183, 255, .42); border-radius: 6px;
    background: rgba(30, 183, 255, .10); color: #dff6ff; font-family: inherit; font-weight: 800; cursor: pointer;
    transition: background var(--transition-fast), border-color var(--transition-fast), transform var(--transition-fast);
}
.btn-switch-account:hover { background: rgba(30, 183, 255, .17); border-color: rgba(30, 183, 255, .70); transform: translateY(-1px); }

/* ===================== LOGIN V10 — ESTADO VISIBLE EN MÓVIL ===================== */
.btn-login.authenticated::after {
    content: '';
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #1eb7ff;
    box-shadow: 0 0 10px rgba(30, 183, 255, .85);
    flex: 0 0 auto;
}

@media (max-width: 900px) {
    /* V9 ocultaba el texto del login en móvil; por eso aunque Tebex hubiera
       autenticado el basket, visualmente seguía pareciendo el mismo botón. */
    .header-actions .btn-login.authenticated span {
        display: inline-block !important;
        max-width: 88px;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }
}


/* =========================================================
   V12 — CART / PASSPORT SAFE UX
   ========================================================= */
.product-cart-stepper {
    width: 100%;
    min-height: 40px;
    display: grid;
    grid-template-columns: 44px minmax(0, 1fr) 44px;
    align-items: stretch;
    border: 1px solid rgba(37, 183, 255, .72);
    border-radius: 7px;
    overflow: hidden;
    background: rgba(8, 18, 28, .76);
}
.product-step-btn,
.product-step-label {
    border: 0;
    color: #fff;
    background: transparent;
    font-weight: 800;
    min-height: 40px;
}
.product-step-btn {
    font-size: 20px;
    transition: background .16s ease, color .16s ease;
}
.product-step-btn:hover,
.product-step-label:hover {
    background: rgba(37, 183, 255, .12);
    color: var(--blue-primary);
}
.product-step-label {
    font-size: 12.5px;
    border-left: 1px solid rgba(37, 183, 255, .25);
    border-right: 1px solid rgba(37, 183, 255, .25);
    cursor: pointer;
}

.cart-item {
    align-items: center;
}
.cart-item-passport {
    margin-top: 3px;
    font-size: 11.5px;
    color: var(--text-secondary);
}
.cart-item-passport strong {
    color: var(--blue-primary);
    font-weight: 800;
}
.cart-item-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}
.cart-qty-control {
    display: grid;
    grid-template-columns: 30px 34px 30px;
    height: 34px;
    border: 1px solid var(--border-medium);
    border-radius: 7px;
    overflow: hidden;
    background: rgba(5, 12, 18, .75);
}
.cart-qty-btn {
    border: 0;
    background: transparent;
    color: var(--text-primary);
    font-size: 18px;
    font-weight: 800;
    transition: background .16s ease, color .16s ease;
}
.cart-qty-btn:hover {
    background: rgba(37, 183, 255, .12);
    color: var(--blue-primary);
}
.cart-qty-number {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 12px;
    font-weight: 800;
    border-left: 1px solid var(--border-subtle);
    border-right: 1px solid var(--border-subtle);
}
.btn-cart-remove {
    width: 34px;
    height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,.06);
    border: 1px solid var(--border-subtle);
}

@media (max-width: 520px) {
    .cart-item { gap: 10px; }
    .cart-item-img { width: 46px; height: 46px; }
    .cart-item-actions { gap: 5px; }
    .cart-qty-control { grid-template-columns: 27px 29px 27px; }
}

/* V13: categorías usan exclusivamente el nombre configurado en Tebex. */
.category-btn { gap: 0; }
.cat-icon { display: none !important; }


/* V15: solo la categoría pulsada queda sombreada.
   Si activeCategory está vacío, ninguna opción se resalta. */
.category-btn:not(.active) {
    box-shadow: none;
}
.category-btn.active:hover {
    background: rgba(30, 183, 255, 0.18);
}


/* V16 — trust icon con símbolo de dólar */
.trust-icon {
    color: var(--blue-primary);
    font-size: 22px;
    line-height: 1;
    font-weight: 900;
    font-family: Inter, system-ui, sans-serif;
}

/* V16 — las tarjetas no muestran descripción; se ve al abrir el producto */
.product-card .card-desc { display: none !important; }
.card-body { justify-content: center; min-height: 58px; }


/* V17 — categoría seleccionada sombreada a TODO el ancho del panel */
.sidebar-nav { overflow: hidden; }
.category-list { padding: 0 !important; margin: 0; }
.category-item { margin: 0 !important; padding: 0 !important; }
.category-btn {
    width: 100%;
    margin: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    padding: 14px 16px;
    box-shadow: none !important;
}
.category-btn.active {
    background: rgba(30, 183, 255, 0.16) !important;
    color: #fff;
    box-shadow: none !important;
}
.category-btn.active:hover {
    background: rgba(30, 183, 255, 0.20) !important;
}
.category-btn:not(.active):hover {
    background: rgba(255,255,255,0.035);
}

/* V17 — restaurar icono de protección; el dólar va en el PRECIO */
.trust-icon {
    color: var(--blue-primary);
    font-size: initial;
    line-height: normal;
    font-weight: normal;
    font-family: inherit;
}

/* V17 — símbolo monetario en precios */
.card-price .currency { color: inherit; }


/* =====================================================
   V18 — PRODUCT DETAIL + AUTH GATE
   ===================================================== */

/* Modal más ancho y con proporciones cercanas a una tienda Tebex de escritorio. */
.detail-modal {
    width: 1040px !important;
    max-width: min(95vw, 1040px) !important;
    max-height: 90vh !important;
}

.detail-modal-body {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) 370px !important;
    align-items: stretch;
}

.detail-image-wrap {
    min-width: 0;
}

.detail-image-container {
    aspect-ratio: auto !important;
    min-height: 410px;
    height: 100%;
    padding: 34px !important;
}

.detail-image {
    max-width: 68% !important;
    max-height: 340px !important;
}

.detail-purchase-box {
    width: auto !important;
    min-width: 0;
    padding: 34px 32px !important;
    gap: 18px !important;
}

.detail-name {
    font-size: 23px !important;
    line-height: 1.16 !important;
}

.detail-price {
    font-size: 27px !important;
}

.detail-description {
    padding: 32px 38px 38px !important;
}

.detail-desc-title {
    font-size: 19px !important;
    margin-bottom: 20px !important;
    padding-bottom: 14px !important;
}

.detail-desc-content {
    font-size: 15px !important;
    line-height: 1.82 !important;
    max-width: 940px;
}

.detail-desc-content p {
    margin-bottom: 15px !important;
}

.detail-desc-content ul,
.detail-desc-content ol {
    padding-left: 24px !important;
    margin: 10px 0 16px !important;
}

.detail-desc-content li {
    margin-bottom: 7px !important;
}

/* Se elimina el tag amarillo tipo "VIP" de TODOS los detalles de producto. */
.detail-badge-overlay {
    display: none !important;
}

@media (max-width: 820px) {
    .detail-modal {
        width: 94vw !important;
        max-height: 90vh !important;
    }
    .detail-modal-body {
        display: block !important;
    }
    .detail-image-container {
        min-height: 300px;
        height: 300px;
        padding: 24px !important;
    }
    .detail-image {
        max-width: 62% !important;
        max-height: 235px !important;
    }
    .detail-purchase-box {
        border-left: 0 !important;
        border-top: 1px solid var(--border-subtle);
        padding: 24px !important;
    }
    .detail-description {
        padding: 24px !important;
    }
    .detail-desc-content {
        font-size: 14px !important;
        line-height: 1.72 !important;
    }
}

/* V19 - login FiveM limpio: sin letra F decorativa */
.btn-fivem-login { justify-content: center; gap: 0; }
.login-user-avatar { display:inline-flex; align-items:center; justify-content:center; color:var(--blue-primary); }


/* =====================================================
   V21 — BANNER GLOBAL PLUSRP + FOTO
   - Banner panorámico visible al entrar a cualquier categoría.
   - Sin texto/gradientes encima: el diseño vive dentro de la imagen.
   - Reemplaza assets/images/banner_store.png (actual 1920x400).
   ===================================================== */
.global-store-banner {
    position: relative;
    width: calc(100% - 48px);
    max-width: 1400px;
    height: auto;
    aspect-ratio: 4.8 / 1;
    margin: 20px auto 0;
    overflow: hidden;
    border-radius: 2px;
    background: #080b10;
    border: 1px solid rgba(255,255,255,0.05);
}

.global-store-banner .banner-bg-img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 100%;
}

/* Oculta cualquier decoración heredada del hero viejo si queda cacheada. */
.global-store-banner .banner-bg,
.global-store-banner .banner-overlay,
.global-store-banner .banner-glow,
.global-store-banner .banner-content,
.global-store-banner .banner-line {
    display: none !important;
}

@media (max-width: 768px) {
    .global-store-banner {
        width: calc(100% - 24px);
        margin-top: 12px;
        aspect-ratio: 3 / 1;
    }
    .global-store-banner .banner-bg-img {
        object-fit: cover;
        object-position: center 96%;
    }
}

@media (max-width: 480px) {
    .global-store-banner {
        width: calc(100% - 16px);
        aspect-ratio: 2.4 / 1;
    }
}


/* V24 - SOLO DISENO: ocultar encabezado visual del catalogo sin tocar HTML/JS */
.catalog-header { display: none !important; }
