:root {
    /* Color Palette */
    --gym-black: #141414;
    --gym-aqua: #00cccc;
    --gym-purple: #67528a;
    --gym-white: #ffffff;
    --gym-gray: #2b2b2b;

    /* Tipografía: base ~19px para mejor legibilidad en móvil */
    --gym-font-size-root: 118.75%;
    --gym-line-height: 1.55;
    --text-caption: 0.8125rem;
    --text-label: 0.875rem;
    --text-body-sm: 0.9375rem;
    --text-body: 1.0625rem;
    
    /* Bootstrap Overrides for Dark Mode (Default) */
    --bs-body-bg: var(--gym-black);
    --bs-body-color: var(--gym-white);
    --bs-primary: var(--gym-aqua);
    --bs-secondary: var(--gym-purple);
    --bs-body-font-size: var(--text-body);
    --bs-body-line-height: var(--gym-line-height);
    --bs-font-sans-serif: var(--font-body);
    
    /* Libre Franklin ≈ Franklin Gothic Demi (web friendly) */
    --font-primary: 'Libre Franklin', 'Franklin Gothic Medium', 'Franklin Gothic', 'ITC Franklin Gothic Demi', 'Arial Narrow', Arial, sans-serif;
    --font-heading: var(--font-primary);
    --font-body: var(--font-primary);
    --font-avatar: var(--font-primary);
}

/**
 * Escala tipográfica global: eleva el rem base y refuerza textos secundarios de Bootstrap.
 */
html {
    font-size: var(--gym-font-size-root);
}

[data-bs-theme="light"] {
    --bs-body-bg: #f4f6f8;
    --bs-body-color: #141414;
    --gym-card-bg: #ffffff;
    --gym-text-muted: #6c757d;
}

[data-bs-theme="dark"] {
    --bs-body-bg: var(--gym-black);
    --bs-body-color: var(--gym-white);
    --gym-card-bg: #1e1e1e;
    --gym-text-muted: #a0a0a0;
}

body {
    font-family: var(--font-body);
    font-weight: 400;
    line-height: var(--gym-line-height);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    transition: background-color 0.3s ease, color 0.3s ease;
}

h1, h2, h3, h4, h5, h6, .navbar-brand, .btn-lg {
    font-family: var(--font-heading);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.small,
small,
.form-text,
.text-muted {
    font-size: var(--text-body-sm);
}

.sidebar-link {
    font-size: var(--text-body);
    font-weight: 500;
}

.form-label,
label.form-label {
    font-size: var(--text-label);
}

.table {
    font-size: var(--text-body-sm);
}

.dropdown-item {
    font-size: var(--text-body-sm);
}

.btn {
    font-size: var(--text-body-sm);
}

.btn-lg {
    font-size: 1.125rem;
}

/* Brand logo in navbar */
.brand-logo {
    max-width: 100%;
    width: auto;
    height: 24px;
    object-fit: contain;
    display: none;
}

[data-bs-theme="light"] .brand-logo-white {
    display: inline-block;
}

[data-bs-theme="dark"] .brand-logo-black {
    display: inline-block;
}

.topbar-nav .container-fluid {
    flex-wrap: nowrap;
}

/* Avatar de usuario en topbar (sin API externa) */
.user-avatar {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background-color: var(--gym-aqua);
    color: #000;
    font-family: var(--font-avatar);
    font-size: var(--text-caption);
    font-weight: 600;
    line-height: 1;
    letter-spacing: 0.04em;
    flex-shrink: 0;
    user-select: none;
}

@media (min-width: 768px) {
    .brand-logo {
        height: 30px;
    }
}

/* Custom Card Styling */
.gym-card {
    background-color: var(--gym-card-bg);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

[data-bs-theme="light"] .gym-card {
    border: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.gym-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 15px rgba(0, 204, 204, 0.15); /* Aqua glow on hover */
}

/* Dashboard: contacto por WhatsApp (temprano en el CSS para evitar caché truncada en PWA móvil) */
a.gym-card.dash-whatsapp-card,
a.gym-card.dash-whatsapp-card:link,
a.gym-card.dash-whatsapp-card:visited,
a.gym-card.dash-whatsapp-card:hover,
a.gym-card.dash-whatsapp-card:active,
a.gym-card.dash-whatsapp-card:focus-visible {
    --dash-whatsapp-green: #25d366;
    --dash-whatsapp-green-dark: #128c7e;
    color: var(--bs-body-color);
    -webkit-text-fill-color: currentColor;
    text-decoration: none;
    border: 1px solid rgba(37, 211, 102, 0.22);
    background-color: rgba(37, 211, 102, 0.08);
    background-image: linear-gradient(
        135deg,
        rgba(37, 211, 102, 0.12) 0%,
        rgba(18, 140, 126, 0.06) 55%,
        transparent 100%
    );
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

[data-bs-theme="light"] a.gym-card.dash-whatsapp-card,
[data-bs-theme="light"] a.gym-card.dash-whatsapp-card:link,
[data-bs-theme="light"] a.gym-card.dash-whatsapp-card:visited,
[data-bs-theme="light"] a.gym-card.dash-whatsapp-card:hover,
[data-bs-theme="light"] a.gym-card.dash-whatsapp-card:active,
[data-bs-theme="light"] a.gym-card.dash-whatsapp-card:focus-visible {
    border-color: rgba(37, 211, 102, 0.28);
    background-color: rgba(37, 211, 102, 0.1);
    background-image: linear-gradient(
        135deg,
        rgba(37, 211, 102, 0.14) 0%,
        rgba(37, 211, 102, 0.05) 60%,
        #ffffff 100%
    );
}

a.gym-card.dash-whatsapp-card:hover,
a.gym-card.dash-whatsapp-card:focus-visible {
    color: var(--bs-body-color);
    transform: translateY(-2px);
    border-color: rgba(37, 211, 102, 0.45);
    box-shadow: 0 10px 28px rgba(37, 211, 102, 0.18);
}

.dash-whatsapp-icon {
    width: 3.5rem;
    height: 3.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(37, 211, 102, 0.16);
    box-shadow: 0 0 0 6px rgba(37, 211, 102, 0.08);
}

.dash-whatsapp-icon .bi {
    font-size: 2rem;
    line-height: 1;
    color: #25d366;
}

.dash-whatsapp-titulo {
    font-family: var(--font-heading);
    font-weight: 600;
    letter-spacing: 0.03em;
    color: var(--bs-body-color);
    margin-bottom: 0.5rem;
}

.dash-whatsapp-texto {
    font-size: var(--text-body-sm);
    line-height: 1.55;
    color: var(--bs-secondary-color);
    margin-bottom: 0;
}

.dash-whatsapp-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.15rem;
    font-family: var(--font-heading);
    font-size: var(--text-label);
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: #25d366;
}

.dash-whatsapp-cta .bi {
    font-size: 1.35rem;
    line-height: 1;
    color: #25d366;
    transition: transform 0.2s ease;
}

a.gym-card.dash-whatsapp-card:hover .dash-whatsapp-cta .bi,
a.gym-card.dash-whatsapp-card:focus-visible .dash-whatsapp-cta .bi {
    transform: translateX(3px);
}

/* Dashboard: tarjeta Menú Sabores Integra */
a.gym-card.dash-sabores-card,
a.gym-card.dash-sabores-card:link,
a.gym-card.dash-sabores-card:visited,
a.gym-card.dash-sabores-card:hover,
a.gym-card.dash-sabores-card:active,
a.gym-card.dash-sabores-card:focus-visible {
    color: var(--bs-body-color);
    -webkit-text-fill-color: currentColor;
    text-decoration: none;
    border: 1px solid rgba(0, 204, 204, 0.22);
    background-color: rgba(0, 204, 204, 0.06);
    background-image: linear-gradient(
        135deg,
        rgba(0, 204, 204, 0.1) 0%,
        rgba(0, 204, 204, 0.03) 55%,
        transparent 100%
    );
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

[data-bs-theme="light"] a.gym-card.dash-sabores-card,
[data-bs-theme="light"] a.gym-card.dash-sabores-card:link,
[data-bs-theme="light"] a.gym-card.dash-sabores-card:visited,
[data-bs-theme="light"] a.gym-card.dash-sabores-card:hover,
[data-bs-theme="light"] a.gym-card.dash-sabores-card:active,
[data-bs-theme="light"] a.gym-card.dash-sabores-card:focus-visible {
    border-color: rgba(0, 204, 204, 0.28);
    background-color: rgba(0, 204, 204, 0.08);
    background-image: linear-gradient(
        135deg,
        rgba(0, 204, 204, 0.12) 0%,
        rgba(0, 204, 204, 0.04) 60%,
        #ffffff 100%
    );
}

a.gym-card.dash-sabores-card:hover,
a.gym-card.dash-sabores-card:focus-visible {
    color: var(--bs-body-color);
    transform: translateY(-2px);
    border-color: rgba(0, 204, 204, 0.45);
    box-shadow: 0 10px 28px rgba(0, 204, 204, 0.16);
}

.dash-sabores-icon {
    width: 3.5rem;
    height: 3.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(0, 204, 204, 0.14);
    box-shadow: 0 0 0 6px rgba(0, 204, 204, 0.07);
}

.dash-sabores-icon .bi {
    font-size: 1.85rem;
    line-height: 1;
    color: var(--gym-aqua);
}

.dash-sabores-titulo {
    font-family: var(--font-heading);
    font-weight: 600;
    letter-spacing: 0.03em;
    color: var(--bs-body-color);
    margin-bottom: 0.5rem;
}

.dash-sabores-texto {
    font-size: var(--text-body-sm);
    line-height: 1.55;
    color: var(--bs-secondary-color);
    margin-bottom: 0;
}

.dash-sabores-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.15rem;
    font-family: var(--font-heading);
    font-size: var(--text-label);
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--gym-aqua);
}

.dash-sabores-cta .bi {
    font-size: 1.35rem;
    line-height: 1;
    color: var(--gym-aqua);
    transition: transform 0.2s ease;
}

a.gym-card.dash-sabores-card:hover .dash-sabores-cta .bi,
a.gym-card.dash-sabores-card:focus-visible .dash-sabores-cta .bi {
    transform: translateX(3px);
}

/* Página embebida: menú Sabores Integra */
.menu-sabores-frame-wrap {
    min-height: calc(100dvh - 11rem);
}

.menu-sabores-frame {
    display: block;
    width: 100%;
    min-height: calc(100dvh - 11rem);
    height: 72vh;
    border: 0;
    background: #fff;
}

@media (min-width: 992px) {
    .menu-sabores-frame {
        height: calc(100dvh - 10rem);
    }
}

/* Primary Button (Aqua) */
.btn-primary {
    background-color: var(--gym-aqua);
    border-color: var(--gym-aqua);
    color: #000; /* Black text for contrast on Aqua */
    font-weight: 700;
}

.btn-primary:hover, .btn-primary:focus, .btn-primary:active {
    background-color: #00b3b3;
    border-color: #00b3b3;
    color: #000;
    box-shadow: 0 0 15px rgba(0, 204, 204, 0.4);
}

/* Secondary/Alternative Elements */
.text-aqua {
    color: var(--gym-aqua) !important;
}

.text-purple {
    color: var(--gym-purple) !important;
}

.bg-purple-subtle {
    background-color: rgba(103, 82, 138, 0.2);
}

/* Check-in Button Special Styling */
.btn-checkin {
    width: 100%;
    padding: 1.5rem;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: linear-gradient(135deg, var(--gym-aqua) 0%, #00a3a3 100%);
    border: none;
    position: relative;
    overflow: hidden;
}

.btn-checkin::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: 0.5s;
}

.btn-checkin:hover::after {
    left: 100%;
}

.btn-checkin:disabled,
.btn-checkin.disabled,
a.btn-checkin.disabled {
    opacity: 0.55;
    cursor: not-allowed;
    pointer-events: none;
    filter: grayscale(0.35);
}

.btn-checkin:disabled::after,
.btn-checkin.disabled::after,
a.btn-checkin.disabled::after {
    display: none;
}

/* Sidebar / Offcanvas */
@media (min-width: 992px) {
    /**
     * En desktop el sidebar es position-fixed y debe quedar sobre el main.
     * En móvil no aplicar z-index aquí: Bootstrap usa 1045 en el panel y 1040
     * en el backdrop; un z-index 1040 inline dejaba el menú bajo el backdrop.
     */
    #sidebarMenu.offcanvas-lg {
        z-index: 1040;
    }
}

.sidebar-link {
    display: flex;
    align-items: center;
    padding: 12px 20px;
    color: var(--bs-body-color);
    text-decoration: none;
    border-left: 3px solid transparent;
    transition: all 0.2s;
}

.sidebar-link:hover, .sidebar-link.active {
    background-color: rgba(0, 204, 204, 0.1);
    border-left-color: var(--gym-aqua);
    color: var(--gym-aqua);
}

.sidebar-link i {
    width: 24px;
    margin-right: 10px;
    text-align: center;
}

/**
 * Pie del sidebar: WhatsApp destacado y buzón de quejas y sugerencias.
 */
.sidebar-footer-inner {
    padding: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.sidebar-whatsapp-card {
    --sidebar-whatsapp-green: #25d366;
    --sidebar-whatsapp-green-dark: #128c7e;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.875rem 1rem;
    border-radius: 0.75rem;
    text-decoration: none;
    color: var(--bs-body-color);
    border: 1px solid rgba(37, 211, 102, 0.35);
    background-color: rgba(37, 211, 102, 0.1);
    background-image: linear-gradient(
        135deg,
        rgba(37, 211, 102, 0.18) 0%,
        rgba(18, 140, 126, 0.08) 55%,
        transparent 100%
    );
    box-shadow: 0 4px 16px rgba(37, 211, 102, 0.12);
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

[data-bs-theme="light"] .sidebar-whatsapp-card {
    border-color: rgba(37, 211, 102, 0.4);
    background-color: rgba(37, 211, 102, 0.12);
    background-image: linear-gradient(
        135deg,
        rgba(37, 211, 102, 0.2) 0%,
        rgba(37, 211, 102, 0.06) 60%,
        #ffffff 100%
    );
}

.sidebar-whatsapp-card:hover,
.sidebar-whatsapp-card:focus-visible {
    color: var(--bs-body-color);
    transform: translateY(-1px);
    border-color: rgba(37, 211, 102, 0.55);
    box-shadow: 0 8px 22px rgba(37, 211, 102, 0.2);
}

.sidebar-whatsapp-icon {
    flex-shrink: 0;
    width: 2.5rem;
    height: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(37, 211, 102, 0.2);
    box-shadow: 0 0 0 4px rgba(37, 211, 102, 0.1);
}

.sidebar-whatsapp-icon .bi {
    font-size: 1.35rem;
    line-height: 1;
    color: var(--sidebar-whatsapp-green);
}

.sidebar-whatsapp-copy {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
}

.sidebar-whatsapp-eyebrow {
    font-size: 0.6875rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--sidebar-whatsapp-green);
}

.sidebar-whatsapp-title {
    font-family: var(--font-heading);
    font-size: 0.9375rem;
    font-weight: 600;
    line-height: 1.25;
    color: var(--bs-body-color);
}

.sidebar-whatsapp-arrow {
    flex-shrink: 0;
    font-size: 0.875rem;
    color: var(--sidebar-whatsapp-green);
    transition: transform 0.2s ease;
}

.sidebar-whatsapp-card:hover .sidebar-whatsapp-arrow,
.sidebar-whatsapp-card:focus-visible .sidebar-whatsapp-arrow {
    transform: translate(2px, -2px);
}

.sidebar-buzon-link {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    padding: 0.625rem 0.75rem;
    border-radius: 0.5rem;
    font-size: var(--text-body-sm);
    font-weight: 500;
    line-height: 1.35;
    text-decoration: none;
    color: var(--bs-secondary-color);
    border: 1px solid var(--bs-border-color);
    background-color: rgba(var(--bs-body-color-rgb), 0.03);
    transition: color 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
}

.sidebar-buzon-link i {
    flex-shrink: 0;
    width: 1.25rem;
    font-size: 1rem;
    text-align: center;
    color: var(--gym-aqua);
}

.sidebar-buzon-link:hover,
.sidebar-buzon-link:focus-visible,
.sidebar-buzon-link.active {
    color: var(--gym-aqua);
    background-color: rgba(0, 204, 204, 0.08);
    border-color: rgba(0, 204, 204, 0.35);
}

/* Status Badges (semáforo: verde / ámbar / rojo) */
.badge-status-active {
    background-color: rgba(34, 197, 94, 0.2);
    color: #22c55e;
    border: 1px solid #22c55e;
}

.badge-status-expired {
    background-color: rgba(220, 38, 38, 0.2);
    color: #ef4444;
    border: 1px solid #ef4444;
}

.badge-status-warning {
    background-color: rgba(234, 179, 8, 0.25);
    color: #eab308;
    border: 1px solid #eab308;
}

.btn-checkout.btn-checkin {
    background: var(--gym-purple);
    border: none;
    color: #fff;
}

.btn-checkout.btn-checkin:hover,
.btn-checkout.btn-checkin:focus,
.btn-checkout.btn-checkin:active {
    background: #564470;
    color: #fff;
}

/* Dashboard: locker activo tras check-in */
.dash-locker-card {
    border: 2px solid var(--gym-aqua);
    background: linear-gradient(180deg, rgba(0, 204, 204, 0.14) 0%, rgba(0, 204, 204, 0.04) 100%);
    box-shadow: 0 0 20px rgba(0, 204, 204, 0.15);
}

.dash-locker-num {
    font-family: var(--font-heading);
    font-size: clamp(3rem, 12vw, 4.5rem);
    font-weight: 700;
    line-height: 1;
    letter-spacing: 0.02em;
}

.dash-locker-ubicacion {
    font-size: var(--text-label);
    letter-spacing: 0.08em;
}

/* Dashboard: tarjeta Saldo Cuenta Integra con acciones en fila */
.dash-saldo-card {
    background: linear-gradient(
        145deg,
        rgba(139, 92, 246, 0.07) 0%,
        rgba(139, 92, 246, 0.02) 45%,
        transparent 100%
    );
}

[data-bs-theme="light"] .dash-saldo-card {
    background: linear-gradient(
        145deg,
        rgba(139, 92, 246, 0.08) 0%,
        rgba(139, 92, 246, 0.03) 50%,
        #ffffff 100%
    );
}

.dash-saldo-acciones {
    width: 100%;
}

.dash-saldo-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.3rem;
    min-width: 0;
    padding: 0.5rem 0.35rem;
    font-size: clamp(0.8125rem, 2.8vw, 0.9375rem);
    font-weight: 600;
    line-height: 1.15;
    white-space: nowrap;
    border-radius: 0.5rem;
    transition: color 0.15s ease, background-color 0.15s ease, border-color 0.15s ease;
}

.dash-saldo-btn .bi {
    flex-shrink: 0;
    font-size: 0.9em;
}

.dash-saldo-btn--cafe:hover,
.dash-saldo-btn--cafe:focus-visible {
    border-color: rgba(255, 193, 7, 0.55);
    color: #ffc107;
    background: rgba(255, 193, 7, 0.08);
}

@media (min-width: 576px) {
    .dash-saldo-btn {
        gap: 0.4rem;
        padding: 0.375rem 0.65rem;
    }
}

/* Dashboard: aviso / anuncio activo (encima del check-in) */
.dash-aviso-card {
    border-left: 3px solid rgba(0, 204, 204, 0.55);
    background: linear-gradient(
        135deg,
        rgba(0, 204, 204, 0.07) 0%,
        rgba(0, 204, 204, 0.02) 55%,
        transparent 100%
    );
    box-shadow: none;
}

.dash-aviso-card:hover {
    transform: none;
    box-shadow: none;
}

[data-bs-theme="light"] .dash-aviso-card {
    border-left-color: rgba(0, 163, 163, 0.65);
    background: linear-gradient(
        135deg,
        rgba(0, 204, 204, 0.09) 0%,
        rgba(0, 204, 204, 0.03) 60%,
        #ffffff 100%
    );
}

.dash-aviso-icon {
    width: 2.5rem;
    height: 2.5rem;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(0, 204, 204, 0.12);
    color: var(--gym-aqua);
    font-size: 1.15rem;
}

.dash-aviso-titulo {
    font-family: var(--font-heading);
    font-size: 1.05rem;
    font-weight: 600;
    line-height: 1.35;
    color: var(--bs-body-color);
}

.dash-aviso-mensaje {
    font-size: var(--text-body-sm);
    line-height: 1.55;
    color: var(--bs-secondary-color);
    margin-bottom: 0;
    text-align: justify;
    text-justify: inter-word;
    hyphens: auto;
}

/* Check-in: sin locker + lockers grid (mobile-first) */
.btn-sin-locker {
    padding: 0.85rem 1rem;
    font-family: var(--font-heading);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    border: 2px dashed rgba(255, 255, 255, 0.2);
    color: inherit;
    background: transparent;
}

[data-bs-theme="light"] .btn-sin-locker {
    border-color: rgba(0, 0, 0, 0.15);
}

.btn-sin-locker:hover,
.btn-sin-locker:focus-visible {
    border-color: var(--gym-aqua);
    color: var(--gym-aqua);
    background: rgba(0, 204, 204, 0.08);
}

.btn-sin-locker:disabled {
    opacity: 0.6;
}

/* Check-in: lockers grid (mobile-first) */
.checkin-page .checkin-pulse-icon {
    animation: checkin-pulse 1.5s ease-in-out infinite;
}

@keyframes checkin-pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.7; transform: scale(1.05); }
}

.lockers-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.65rem;
}

@media (min-width: 576px) {
    .lockers-grid {
        grid-template-columns: repeat(5, 1fr);
        gap: 0.75rem;
    }
}

@media (min-width: 768px) {
    .lockers-grid {
        grid-template-columns: repeat(6, 1fr);
    }
}

.locker-tile {
    display: grid;
    grid-template-rows: 1.4rem 1.15rem;
    align-items: center;
    justify-items: center;
    width: 100%;
    min-height: 3.75rem;
    padding: 0.5rem 0.2rem;
    border: 2px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    background: var(--gym-card-bg);
    color: inherit;
    cursor: pointer;
    transition: border-color 0.15s ease, background-color 0.15s ease, transform 0.1s ease;
    -webkit-tap-highlight-color: transparent;
}

.locker-tile-row {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    line-height: 1.1;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

[data-bs-theme="light"] .locker-tile {
    border-color: rgba(0, 0, 0, 0.08);
}

.locker-tile:active {
    transform: scale(0.96);
}

.locker-tile:hover,
.locker-tile:focus-visible {
    border-color: rgba(0, 204, 204, 0.5);
    outline: none;
}

.locker-tile.selected {
    border-color: var(--gym-aqua);
    background: rgba(0, 204, 204, 0.12);
    box-shadow: 0 0 12px rgba(0, 204, 204, 0.25);
}

.locker-tile-num {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 700;
}

.locker-tile-ubicacion {
    font-size: var(--text-caption);
    text-transform: uppercase;
    letter-spacing: 0.03em;
    color: var(--gym-text-muted);
    padding: 0 0.15rem;
}

a.btn-checkin {
    color: #000;
}

/* Dashboard: tarjeta unificada de progreso y asistencias */
.dash-progreso-card {
    border-color: rgba(0, 204, 204, 0.12);
}

.dash-progreso-glow {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 80% 60% at 100% 0%, rgba(0, 204, 204, 0.16) 0%, transparent 55%),
        radial-gradient(ellipse 50% 40% at 0% 100%, rgba(103, 82, 138, 0.12) 0%, transparent 50%);
    pointer-events: none;
}

.dash-progreso-ring {
    position: relative;
    width: 5.5rem;
    height: 5.5rem;
}

.dash-progreso-ring svg {
    width: 100%;
    height: 100%;
    transform: rotate(-90deg);
}

.dash-progreso-ring-track {
    color: rgba(255, 255, 255, 0.12);
}

[data-bs-theme="light"] .dash-progreso-ring-track {
    color: rgba(0, 0, 0, 0.08);
}

.dash-progreso-ring-fill {
    stroke-linecap: round;
}

.dash-progreso-ring-label {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    line-height: 1.1;
    text-align: center;
}

.dash-progreso-ring-pct {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 700;
}

.dash-progreso-ring-label small {
    font-size: var(--text-caption);
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.dash-progreso-num {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 6vw, 2.5rem);
    font-weight: 700;
    line-height: 0.9;
    letter-spacing: -0.02em;
}

.dash-progreso-mes-label {
    font-family: var(--font-heading);
    font-size: var(--text-label);
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--gym-text-muted);
}

.dash-progreso-card .badge {
    font-size: var(--text-label);
    font-weight: 600;
    letter-spacing: 0.02em;
}

/* Tabla de historial de transacciones (sin scroll horizontal en móvil) */
.hist-tx-table-wrap {
    overflow-x: visible;
    width: 100%;
}

.hist-tx-table {
    --bs-table-bg: transparent;
    --bs-table-color: inherit;
    table-layout: fixed;
    width: 100%;
    margin-bottom: 0;
}

.hist-tx-col-concepto {
    width: 48%;
}

.hist-tx-col-fecha {
    width: 22%;
}

.hist-tx-col-monto {
    width: 30%;
}

.hist-tx-table th,
.hist-tx-table td {
    padding-left: 0.35rem;
    padding-right: 0.35rem;
    vertical-align: middle;
}

.hist-tx-concepto-wrap {
    gap: 0.5rem;
    min-width: 0;
}

.hist-tx-concepto-cell {
    overflow: hidden;
}

.hist-tx-concepto {
    font-size: var(--text-body-sm);
    line-height: 1.3;
    word-break: break-word;
    overflow-wrap: anywhere;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.hist-tx-fecha {
    font-size: var(--text-label);
    line-height: 1.25;
    white-space: normal;
}

.hist-tx-monto {
    font-size: var(--text-body-sm);
    line-height: 1.25;
    white-space: nowrap;
}

.hist-tx-icon {
    width: 2.25rem;
    height: 2.25rem;
    flex-shrink: 0;
}

.hist-tx-icon .bi {
    font-size: 1rem;
}

@media (max-width: 575.98px) {
    .hist-tx-col-concepto {
        width: 44%;
    }

    .hist-tx-col-fecha {
        width: 24%;
    }

    .hist-tx-col-monto {
        width: 32%;
    }

    .hist-tx-table th,
    .hist-tx-table td {
        padding-left: 0.2rem;
        padding-right: 0.2rem;
    }

    .hist-tx-th-concepto,
    .hist-tx-th-fecha,
    .hist-tx-th-monto {
        font-size: var(--text-caption);
    }

    .hist-tx-concepto {
        font-size: var(--text-body-sm);
        -webkit-line-clamp: 3;
    }

    .hist-tx-fecha {
        font-size: var(--text-caption);
    }

    .hist-tx-monto {
        font-size: var(--text-label);
    }

    .hist-tx-icon {
        width: 2rem;
        height: 2rem;
    }

    .hist-tx-icon .bi {
        font-size: 0.9375rem;
    }

    .hist-tx-concepto-wrap {
        gap: 0.35rem;
    }
}

/* Mobile Bottom Nav (Optional, good for mobile-first) */
@media (max-width: 768px) {
    .bottom-nav-spacer {
        height: 70px;
    }
}

/* Mi Membresía: tarjeta digital y secciones (mobile-first) */
.membresia-page {
    max-width: 640px;
}

@media (min-width: 992px) {
    .membresia-page {
        max-width: none;
    }
}

.membresia-card {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    color: #fff;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
}

.membresia-card.membresia-card--activo {
    box-shadow:
        0 12px 40px rgba(0, 0, 0, 0.35),
        0 0 0 2px rgba(34, 197, 94, 0.55),
        0 0 24px rgba(34, 197, 94, 0.2);
}

.membresia-card.membresia-card--retrasado {
    box-shadow:
        0 12px 40px rgba(0, 0, 0, 0.35),
        0 0 0 2px rgba(234, 179, 8, 0.65),
        0 0 24px rgba(234, 179, 8, 0.25);
}

.membresia-card.membresia-card--inactivo {
    box-shadow:
        0 12px 40px rgba(0, 0, 0, 0.35),
        0 0 0 2px rgba(239, 68, 68, 0.6),
        0 0 24px rgba(239, 68, 68, 0.25);
}

.membresia-card.bg-gradient-teal {
    background: linear-gradient(135deg, #00cccc 0%, #008f8f 55%, #006666 100%);
}

.membresia-card.bg-gradient-purple {
    background: linear-gradient(135deg, #8b6cb0 0%, #67528a 55%, #4a3a63 100%);
}

.membresia-card.bg-gradient-aqua {
    background: linear-gradient(135deg, #00e5e5 0%, #00b3b3 50%, #009999 100%);
}

.membresia-card.bg-gradient-gold {
    background: linear-gradient(135deg, #e8c547 0%, #c9a227 55%, #9a7b1a 100%);
}

.membresia-card-pattern {
    position: absolute;
    inset: 0;
    opacity: 0.12;
    background-image:
        radial-gradient(circle at 20% 80%, #fff 0%, transparent 45%),
        radial-gradient(circle at 90% 10%, #fff 0%, transparent 35%);
    pointer-events: none;
}

/* Barra semáforo de status (ancho completo, muy visible) */
.membresia-status-bar {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    padding: 0.75rem 1rem;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: var(--text-body-sm);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.membresia-status-activo {
    background: linear-gradient(90deg, #15803d 0%, #22c55e 50%, #15803d 100%);
    color: #fff;
}

.membresia-status-retrasado {
    background: linear-gradient(90deg, #a16207 0%, #eab308 50%, #a16207 100%);
    color: #1a1a1a;
}

.membresia-status-inactivo {
    background: linear-gradient(90deg, #b91c1c 0%, #ef4444 50%, #b91c1c 100%);
    color: #fff;
}

.membresia-status-dot {
    width: 11px;
    height: 11px;
    border-radius: 50%;
    flex-shrink: 0;
}

.membresia-status-activo .membresia-status-dot {
    background: #bbf7d0;
    box-shadow: 0 0 10px #86efac, 0 0 20px rgba(134, 239, 172, 0.6);
    animation: membresia-pulse-dot 1.8s ease-in-out infinite;
}

.membresia-status-retrasado .membresia-status-dot {
    background: #fef9c3;
    box-shadow: 0 0 10px #fde047, 0 0 18px rgba(253, 224, 71, 0.7);
    animation: membresia-pulse-dot 1.1s ease-in-out infinite;
}

.membresia-status-inactivo .membresia-status-dot {
    background: #fecaca;
    box-shadow: 0 0 10px #f87171, 0 0 18px rgba(248, 113, 113, 0.7);
}

.membresia-status-text {
    display: inline-flex;
    align-items: center;
}

@keyframes membresia-pulse-dot {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.75; transform: scale(1.15); }
}

.membresia-card-body {
    position: relative;
    padding: 0.5rem 1.25rem 1.25rem;
}

@media (min-width: 576px) {
    .membresia-card-body {
        padding: 0.75rem 1.5rem 1.5rem;
    }
}

.membresia-hero-foto {
    display: flex;
    justify-content: center;
    margin-bottom: 1rem;
}

.membresia-foto-ring {
    padding: 6px;
    border-radius: 50%;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.95) 0%, rgba(255, 255, 255, 0.45) 100%);
    box-shadow:
        0 12px 40px rgba(0, 0, 0, 0.45),
        0 0 0 1px rgba(255, 255, 255, 0.25);
}

.membresia-foto {
    display: block;
    width: clamp(148px, 38vw, 168px);
    height: clamp(148px, 38vw, 168px);
    border-radius: 50%;
    object-fit: cover;
    border: none;
}

.membresia-foto-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.25);
    font-size: clamp(3.25rem, 10vw, 4rem);
    color: rgba(255, 255, 255, 0.85);
}

.membresia-identity {
    padding: 0 0.25rem;
}

.membresia-card-label {
    font-size: var(--text-caption);
    text-transform: uppercase;
    letter-spacing: 0.12em;
    opacity: 0.85;
    margin-bottom: 0.15rem;
}

.membresia-card-nombre {
    font-family: var(--font-heading);
    font-size: clamp(1.25rem, 5vw, 1.6rem);
    font-weight: 700;
    line-height: 1.15;
    text-transform: none;
    letter-spacing: 0.02em;
    color: #fff;
}

.membresia-card-plan {
    font-size: var(--text-body-sm);
    font-weight: 500;
    opacity: 0.92;
}

.membresia-card-footer {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.membresia-card-meta-label {
    display: block;
    font-size: var(--text-caption);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    opacity: 0.75;
}

.membresia-card-meta-value {
    font-family: var(--font-heading);
    font-size: 1.05rem;
    font-weight: 600;
    letter-spacing: 0.02em;
}

.membresia-card-precio {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    color: #fff;
    opacity: 0.95;
    margin-top: 0.15rem;
    margin-bottom: 0.15rem;
}

.membresia-beneficio-card {
    border-color: rgba(0, 204, 204, 0.08);
}

.membresia-beneficio-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    border-radius: 8px;
    flex-shrink: 0;
}

.membresia-beneficio-num {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 700;
    line-height: 1.2;
}

.membresia-beneficio-bar {
    background-color: rgba(255, 255, 255, 0.08);
}

[data-bs-theme="light"] .membresia-beneficio-bar {
    background-color: rgba(0, 0, 0, 0.06);
}

.progress-bar.bg-purple {
    background-color: var(--gym-purple) !important;
}

.membresia-seccion {
    padding: 0;
    overflow: hidden;
}

.membresia-seccion-header {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    padding: 0.85rem 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    background: rgba(0, 204, 204, 0.04);
}

.membresia-seccion-header .badge {
    font-weight: 600;
    letter-spacing: 0.02em;
}

[data-bs-theme="light"] .membresia-seccion-header {
    border-bottom-color: rgba(0, 0, 0, 0.06);
    background: rgba(0, 204, 204, 0.06);
}

.membresia-seccion-header .h6 {
    font-family: var(--font-heading);
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.membresia-dl {
    padding: 0.25rem 0;
}

.membresia-dl-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1rem;
    padding: 0.75rem 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

[data-bs-theme="light"] .membresia-dl-row {
    border-bottom-color: rgba(0, 0, 0, 0.05);
}

.membresia-dl-row:last-child {
    border-bottom: none;
}

.membresia-dl-row dt {
    flex: 0 0 42%;
    font-size: var(--text-label);
    color: var(--gym-text-muted);
    margin: 0;
    font-weight: 400;
}

.membresia-dl-row dd {
    flex: 1 1 auto;
    margin: 0;
    text-align: right;
    font-size: var(--text-body-sm);
    font-weight: 500;
    word-break: break-word;
}

.membresia-dl-row-block {
    flex-direction: column;
    gap: 0.35rem;
}

.membresia-dl-row-block dt,
.membresia-dl-row-block dd {
    flex: none;
    text-align: left;
    width: 100%;
}

.membresia-link {
    color: var(--gym-aqua);
    text-decoration: none;
    word-break: break-all;
}

.membresia-link:hover,
.membresia-link:focus-visible {
    text-decoration: underline;
    color: #00e5e5;
}

/* Cuenta maestra: grid de integrantes */
.membresia-integrantes-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.75rem 0.5rem;
    padding: 1rem;
}

@media (min-width: 400px) {
    .membresia-integrantes-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

@media (min-width: 576px) {
    .membresia-integrantes-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 1rem 0.75rem;
        padding: 1.25rem;
    }
}

.membresia-integrante {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    min-width: 0;
}

.membresia-integrante-foto-wrap {
    position: relative;
    margin-bottom: 0.5rem;
}

.membresia-integrante-foto {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(255, 255, 255, 0.12);
    display: block;
}

[data-bs-theme="light"] .membresia-integrante-foto {
    border-color: rgba(0, 0, 0, 0.08);
}

.membresia-integrante-foto-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(103, 82, 138, 0.25);
    color: var(--gym-purple);
    font-family: var(--font-avatar);
    font-size: var(--text-label);
    font-weight: 600;
    letter-spacing: 0.04em;
}

.membresia-integrante-foto-placeholder .bi {
    font-size: 1.5rem;
}

.membresia-integrante--actual .membresia-integrante-foto,
.membresia-integrante--actual .membresia-integrante-foto-placeholder {
    border-color: var(--gym-aqua);
    box-shadow: 0 0 0 2px rgba(0, 204, 204, 0.35);
}

.membresia-integrante-badge {
    position: absolute;
    bottom: -4px;
    left: 50%;
    transform: translateX(-50%);
    padding: 0.1rem 0.45rem;
    border-radius: 999px;
    background: var(--gym-aqua);
    color: #000;
    font-size: var(--text-caption);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    line-height: 1.3;
    white-space: nowrap;
}

.membresia-integrante-nombre {
    font-size: var(--text-label);
    font-weight: 500;
    line-height: 1.25;
    width: 100%;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    word-break: break-word;
}

/* Corregir datos: formulario y botón principal */
.corregir-datos-page {
    max-width: 640px;
}

@media (min-width: 992px) {
    .corregir-datos-page {
        max-width: 720px;
    }
}

.corregir-datos-fields {
    padding: 1rem;
}

@media (min-width: 576px) {
    .corregir-datos-fields {
        padding: 1.25rem;
    }
}

.corregir-datos-fields .form-label {
    font-size: var(--text-label);
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--gym-text-muted);
    margin-bottom: 0.35rem;
}

.corregir-datos-fields .form-control,
.corregir-datos-fields .form-select {
    border-radius: 10px;
    border-color: rgba(255, 255, 255, 0.1);
    background-color: var(--gym-card-bg);
    color: inherit;
}

[data-bs-theme="light"] .corregir-datos-fields .form-control,
[data-bs-theme="light"] .corregir-datos-fields .form-select {
    border-color: rgba(0, 0, 0, 0.1);
}

.corregir-datos-fields .form-control:focus,
.corregir-datos-fields .form-select:focus {
    border-color: var(--gym-aqua);
    box-shadow: 0 0 0 0.2rem rgba(0, 204, 204, 0.2);
}

.btn-corregir-datos {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    padding: 1.25rem 1.5rem;
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    color: #000;
    background: linear-gradient(135deg, var(--gym-purple) 0%, #564470 100%);
    border: none;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

a.btn-corregir-datos {
    color: #fff;
}

.btn-corregir-datos:hover,
.btn-corregir-datos:focus-visible {
    color: #fff;
    background: linear-gradient(135deg, #7560a0 0%, var(--gym-purple) 100%);
    box-shadow: 0 8px 24px rgba(103, 82, 138, 0.45);
    transform: translateY(-1px);
}

button.btn-corregir-datos {
    color: #fff;
}

button.btn-corregir-datos:hover,
button.btn-corregir-datos:focus-visible {
    color: #fff;
}

.btn-corregir-datos:disabled {
    opacity: 0.75;
    transform: none;
}

.corregir-datos-exito {
    border-color: rgba(0, 204, 204, 0.2);
    box-shadow: 0 8px 28px rgba(0, 204, 204, 0.12);
}

/* Cafetería: contenedor interno (no aplicar width al main col-lg-10) */
.cafe-page {
    width: 100%;
}

.cafe-saldo-banner {
    background: linear-gradient(
        135deg,
        rgba(139, 92, 246, 0.1) 0%,
        rgba(0, 204, 204, 0.06) 55%,
        transparent 100%
    );
}

[data-bs-theme="light"] .cafe-saldo-banner {
    background: linear-gradient(
        135deg,
        rgba(139, 92, 246, 0.08) 0%,
        rgba(0, 204, 204, 0.05) 60%,
        #ffffff 100%
    );
}

.cafe-saldo-banner-inner {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 1rem;
    padding: 1.25rem 1.25rem;
}

@media (min-width: 576px) {
    .cafe-saldo-banner-inner {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        padding: 1.25rem 1.5rem;
    }
}

.cafe-saldo-info {
    min-width: 0;
}

.cafe-saldo-label {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--bs-secondary-color);
}

.cafe-saldo-monto {
    font-family: var(--font-heading);
    font-size: clamp(1.75rem, 6vw, 2.25rem);
    font-weight: 700;
    line-height: 1.1;
    word-break: break-word;
}

.cafe-saldo-recarga {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    width: 100%;
    flex-shrink: 0;
    white-space: nowrap;
    padding: 0.5rem 1rem;
}

@media (min-width: 576px) {
    .cafe-saldo-recarga {
        width: auto;
        align-self: center;
    }
}

.cafe-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.875rem;
}

@media (min-width: 576px) {
    .cafe-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 1rem;
    }
}

@media (min-width: 768px) {
    .cafe-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

@media (min-width: 1200px) {
    .cafe-grid {
        grid-template-columns: repeat(5, minmax(0, 1fr));
        gap: 1.125rem;
    }
}

@media (min-width: 1400px) {
    .cafe-grid {
        grid-template-columns: repeat(6, minmax(0, 1fr));
    }
}

.cafe-product {
    position: relative;
    display: block;
    width: 100%;
    padding: 0;
    margin: 0;
    border: none;
    border-radius: 14px;
    overflow: hidden;
    background: #ffffff;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    aspect-ratio: 3 / 4;
}

[data-bs-theme="dark"] .cafe-product {
    background: rgba(255, 255, 255, 0.96);
}

.cafe-product:hover,
.cafe-product:focus-visible {
    transform: translateY(-3px);
    box-shadow: 0 10px 24px rgba(0, 204, 204, 0.2);
    outline: none;
}

.cafe-product:active {
    transform: translateY(-1px);
}

.cafe-product-img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    padding: 0.75rem;
    background: #ffffff;
}

.cafe-product-price {
    position: absolute;
    top: 0.5rem;
    right: 0.5rem;
    z-index: 2;
    padding: 0.25rem 0.55rem;
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 700;
    line-height: 1.2;
    color: #fff;
    background: rgba(15, 23, 42, 0.82);
    backdrop-filter: blur(4px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.cafe-product--disabled {
    cursor: not-allowed;
    pointer-events: none;
    opacity: 0.42;
    filter: grayscale(0.35);
    transform: none !important;
    box-shadow: 0 1px 6px rgba(0, 0, 0, 0.06) !important;
}

.cafe-product--disabled .cafe-product-price {
    background: rgba(100, 116, 139, 0.75);
}

.cafe-bloqueados-aviso {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    padding: 1.25rem 1.25rem;
    text-align: center;
    border-left: 4px solid var(--gym-aqua);
    background: linear-gradient(
        135deg,
        rgba(0, 204, 204, 0.12) 0%,
        rgba(0, 204, 204, 0.04) 55%,
        transparent 100%
    );
    box-shadow: 0 4px 20px rgba(0, 204, 204, 0.1);
}

[data-bs-theme="light"] .cafe-bloqueados-aviso {
    border-left-color: rgba(0, 163, 163, 0.75);
    background: linear-gradient(
        135deg,
        rgba(0, 204, 204, 0.14) 0%,
        rgba(0, 204, 204, 0.05) 60%,
        #ffffff 100%
    );
}

.cafe-bloqueados-aviso:hover {
    transform: none;
}

.cafe-bloqueados-aviso-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 3rem;
    height: 3rem;
    flex-shrink: 0;
    border-radius: 50%;
    background: rgba(0, 204, 204, 0.15);
    color: var(--gym-aqua);
    font-size: 1.35rem;
}

.cafe-bloqueados-titulo {
    font-family: var(--font-heading);
    font-size: clamp(1rem, 4.2vw, 1.15rem);
    font-weight: 700;
    line-height: 1.35;
    color: var(--bs-body-color);
}

.cafe-bloqueados-subtitulo {
    font-size: 0.875rem;
    color: var(--bs-secondary-color);
}

.cafe-bloqueados-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    width: 100%;
    white-space: nowrap;
}

@media (min-width: 576px) {
    .cafe-bloqueados-aviso {
        flex-direction: row;
        align-items: center;
        text-align: left;
        padding: 1.25rem 1.5rem;
    }

    .cafe-bloqueados-cta {
        width: auto;
        flex-shrink: 0;
    }
}

.cafe-seccion--bloqueados {
    padding-top: 0.75rem;
    border-top: none;
}

[data-bs-theme="light"] .cafe-seccion--bloqueados {
    border-top-color: transparent;
}

.cafe-modal-img {
    width: 7.5rem;
    height: 7.5rem;
    object-fit: contain;
    border-radius: 12px;
    background: #ffffff;
    padding: 0.5rem;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

.cafe-modal-resumen {
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

[data-bs-theme="light"] .cafe-modal-resumen {
    border-color: rgba(0, 0, 0, 0.08);
}

.cafe-modal-resumen-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.75rem 1rem;
    margin: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

[data-bs-theme="light"] .cafe-modal-resumen-row {
    border-bottom-color: rgba(0, 0, 0, 0.06);
}

.cafe-modal-resumen-row:last-child {
    border-bottom: none;
}

.cafe-modal-resumen-row dt {
    margin: 0;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--bs-secondary-color);
}

.cafe-modal-resumen-row dd {
    margin: 0;
    font-family: var(--font-heading);
    font-size: 1.05rem;
    font-weight: 700;
}

.cafe-modal-resumen-row--destacado {
    background: rgba(0, 204, 204, 0.08);
}

[data-bs-theme="light"] .cafe-modal-resumen-row--destacado {
    background: rgba(0, 204, 204, 0.06);
}

