:root {
    --primary-yellow: #FFCC29;
    --primary-blue: #0EB3EF;
    --deep-blue: #0A84B1;
    --dark-onyx: #1a1a2e;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    background-color: #ffffff;
    color: #1a1a1a;
    overflow-x: hidden;
}

.bg-yellow-brand {
    background-color: var(--primary-yellow);
}

.text-yellow-brand {
    color: var(--primary-yellow);
}

.bg-blue-brand {
    background-color: var(--primary-blue);
}

.text-blue-brand {
    color: var(--primary-blue);
}

/* Glassmorphism */
.glass-nav {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

/* Hover Effects */
.service-card {
    transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
    border: 1px solid rgba(0, 0, 0, 0.03);
}

.service-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 30px 60px -12px rgba(14, 179, 239, 0.15);
    border-color: var(--primary-blue);
}

.category-block {
    position: relative;
    overflow: hidden;
    border-radius: 1.5rem;
    cursor: pointer;
    height: 320px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
}

.category-block img {
    transition: transform 1.2s cubic-bezier(0.19, 1, 0.22, 1);
    filter: brightness(0.8);
}

.category-block:hover img {
    transform: scale(1.1);
    filter: brightness(0.6);
}

.category-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.108) 0%, transparent 70%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 2rem;
    transition: all 0.4s ease;
    opacity: 1;
}

.category-overlay::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 50%;
    background: linear-gradient(to top, rgba(14, 179, 239, 0.924) 0%, transparent 100%);
    opacity: 0.7;
    transition: all 0.4s ease;
}

.category-block:hover .category-overlay::after {
    background: linear-gradient(to top, rgba(255, 205, 41, 0.783) 0%, transparent 100%);
    opacity: 0.9;
}

.category-block:hover .category-overlay {
    background: linear-gradient(to top, rgba(0, 0, 0, 0.318) 0%, transparent 70%);
}

/* Slider Elite */
.slider-container {
    height: 100vh;
    overflow: hidden;
    position: relative;
}

.slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 1.5s ease-in-out, transform 2s ease-out;
    background-size: cover;
    background-position: center;
    transform: scale(1.1);
}

.slide.active {
    opacity: 1;
    transform: scale(1);
}

/* Custom Tabs */
.tab-active {
    background-color: var(--primary-blue) !important;
    color: white !important;
    transform: scale(1.05);
    box-shadow: 0 10px 20px rgba(14, 179, 239, 0.3);
}

.float-btn {
    position: fixed;
    z-index: 100;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #0EB3EF;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.float-btn:hover {
    transform: scale(1.1) rotate(5deg);
}

.btn-whatsapp {
    bottom: 30px;
    right: 30px;
    background-color: #ffffff;
    animation: pulse-whatsapp 2s infinite;
}

.btn-call {
    bottom: 105px;
    right: 30px;
    background-color: #ffffff;
    animation: pulse-call 3s infinite;
}

/* Scrollbar */
.custom-scrollbar::-webkit-scrollbar {
    height: 4px;
}

.custom-scrollbar::-webkit-scrollbar-track {
    background: #f1f1f1;
}

.custom-scrollbar::-webkit-scrollbar-thumb {
    background: var(--primary-blue);
    border-radius: 10px;
}

/* Mobile Menu */
#mobile-menu {
    transition: all 0.5s ease-in-out;
    transform: translateX(100%);
}

#mobile-menu.active {
    transform: translateX(0);
}

/* Tienda Modal */
#tienda-modal,
#producto-detalle-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: white;
    z-index: 9999;
    overflow-y: auto;
    display: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

#tienda-modal.active,
#producto-detalle-modal.active {
    display: block;
    opacity: 1;
}

.tienda-header {
    background: white;
    border-bottom: 1px solid #e5e7eb;
    padding: 1.5rem 2rem;
    position: sticky;
    top: 0;
    z-index: 50;
}

.tienda-body {
    min-height: calc(100vh - 180px);
}

.producto-card {
    border-radius: 1rem;
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid #f3f4f6;
}

.producto-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
}

.producto-imagen {
    height: 250px;
    object-fit: contain; /* ← LA IMAGEN SE VERÁ COMPLETA */
    background-color: #f5f5f5; /* fondo gris suave para darle contexto */
    padding: 10px; /* opcional: espacio alrededor de la imagen */
    box-sizing: border-box;
}

.carrito-sidebar {
    position: fixed;
    top: 0;
    right: 0;
    width: 100%;
    max-width: 450px;
    height: 100%;
    background: white;
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.1);
    z-index: 10000;
    transform: translateX(100%);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
}

.carrito-sidebar.active {
    transform: translateX(0);
}

.carrito-item {
    border-bottom: 1px solid #f3f4f6;
    padding: 1rem 0;
}

.productos-relacionados {
    margin-top: 3rem;
    padding-top: 3rem;
    border-top: 1px solid #e5e7eb;
}

/* Animaciones para elementos al hacer scroll */
.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in-up.visible {
    opacity: 1;
    transform: translateY(0);
}

.fade-in-left {
    opacity: 0;
    transform: translateX(-30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in-left.visible {
    opacity: 1;
    transform: translateX(0);
}

.fade-in-right {
    opacity: 0;
    transform: translateX(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in-right.visible {
    opacity: 1;
    transform: translateX(0);
}

/* Animaciones para botones flotantes */
@keyframes pulse-whatsapp {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(37, 211, 102, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

@keyframes pulse-call {
    0% {
        box-shadow: 0 0 0 0 rgba(14, 179, 239, 0.7);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(14, 179, 239, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(14, 179, 239, 0);
    }
}

/* Galería de imágenes de productos */
.producto-gallery {
    display: flex;
    gap: 10px;
    margin-top: 10px;
}

.producto-gallery img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 8px;
    cursor: pointer;
    transition: transform 0.3s ease;
    border: 2px solid transparent;
}

.producto-gallery img:hover,
.producto-gallery img.active {
    transform: scale(1.1);
    border-color: var(--primary-blue);
}

.main-product-image {
    width: 100%;
    height: 400px;
    object-fit: contain; /* ← AHORA SE VERÁ COMPLETA */
    background-color: #f8f8f8; /* fondo gris suave */
    border-radius: 1rem;
    margin-bottom: 15px;
    padding: 20px; /* espacio alrededor de la imagen */
    box-sizing: border-box;
}

/* Sección corporativa */
.seccion-corporativa {
    background: linear-gradient(135deg, #0EB3EF 0%, #00a0db 100%);
    color: white;
    padding: 6rem 0;
}

/* Sección trabajo */
.seccion-trabajo {
    background: linear-gradient(135deg, #0EB3EF 0%, #0594c7 100%);
    color: white;
    padding: 6rem 0;
}

/* Efecto granulado en categorías */
.category-overlay::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 40%;
    background: linear-gradient(to top, rgba(14, 179, 239, 0.818) 0%, transparent 100%);
    opacity: 0.6;
    mix-blend-mode: overlay;
    pointer-events: none;
}

.category-block:hover .category-overlay::before {
    background: linear-gradient(to top, rgba(255, 205, 41, 0.929) 0%, transparent 100%);
    opacity: 0.8;
}

.logo-header {
    height: 100px;
    width: auto;
    max-width: 200px;
    object-fit: contain;
    display: block;
}

@media (max-width: 1024px) {
    .logo-header {
        height: 70px !important;
        max-width: 200px !important;
    }
}

@media (max-width: 768px) {
    .logo-header {
        height: 60px !important;
        max-width: 180px !important;
    }
}

@media (max-width: 640px) {
    .logo-header {
        height: 55px !important;
        max-width: 170px !important;
    }
}

@media (max-width: 480px) {
    .logo-header {
        height: 50px !important;
        max-width: 160px !important;
    }
}

/* Estilos para el mapa de Street View */
#mapa-street-view {
    width: 100%;
    height: 500px;
    background-color: #f0f0f0;
}

/* Estilos para el carrito */
#carrito-items-container {
    overflow-y: auto;
    flex: 1;
}

.carrito-item {
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateX(20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* ==================== PREVENIR DESPLAZAMIENTO HORIZONTAL EN MÓVIL ==================== */
html,
body {
    overflow-x: hidden;
    width: 100%;
    position: relative;
}

body {
    margin: 0;
    padding: 0;
}

.max-w-7xl,
.max-w-6xl,
.max-w-5xl,
.max-w-4xl,
.max-w-3xl {
    width: 100%;
    max-width: 100%;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
    margin-left: auto;
    margin-right: auto;
    box-sizing: border-box;
}

@media (max-width: 640px) {
    .max-w-7xl,
    .max-w-6xl,
    .max-w-5xl,
    .max-w-4xl,
    .max-w-3xl {
        padding-left: 1rem;
        padding-right: 1rem;
    }
}

* {
    box-sizing: border-box;
}

img {
    max-width: 100%;
    height: auto;
    vertical-align: middle;
}

.slider-container {
    width: 100%;
    overflow: hidden;
}

.slide {
    width: 100%;
    background-size: cover;
    background-position: center;
}

#mobile-menu {
    width: 100%;
    right: 0;
    left: auto;
}

#tienda-modal,
#producto-detalle-modal,
.carrito-sidebar {
    max-width: 100vw;
}

.carrito-sidebar {
    width: 100%;
}

@media (min-width: 640px) {
    .carrito-sidebar {
        width: 450px;
    }
}

.logo-header {
    max-width: 200px;
    height: auto;
}

@media (max-width: 768px) {
    .logo-header {
        max-width: 140px;
    }
}

.grid {
    margin-left: 0;
    margin-right: 0;
    width: 100%;
}

h1,
h2,
h3,
h4,
h5,
h6,
p {
    word-wrap: break-word;
    overflow-wrap: break-word;
}

[style*="width:"]:not([style*="width: auto"]):not([style*="width: 100%"]):not([style*="width: 100vw"]) {
    max-width: 100% !important;
}

@media (max-width: 768px) {
    .px-6,
    .px-8 {
        padding-left: 1rem !important;
        padding-right: 1rem !important;
    }
    .px-10,
    .px-12,
    .px-16 {
        padding-left: 1.25rem !important;
        padding-right: 1.25rem !important;
    }
    .glass-nav {
        padding-left: 1rem;
        padding-right: 1rem;
        width: 100%;
    }
    section {
        overflow-x: hidden;
    }
}

@media (max-width: 480px) {
    .px-6,
    .px-8,
    .px-10,
    .px-12 {
        padding-left: 0.75rem !important;
        padding-right: 0.75rem !important;
    }
}

@media screen and (-webkit-min-device-pixel-ratio: 0) {
    select,
    textarea,
    input {
        font-size: 16px;
    }
}

.slide img,
.category-block img,
.service-card img,
.producto-imagen,
.main-product-image {
    object-fit: cover;
    transition: transform 0.3s ease;
}

.category-block:hover img {
    transform: scale(1.1);
}

.service-card:hover img {
    transform: scale(1.1);
}

.category-block {
    height: 320px;
}

.slider-container {
    height: 100vh;
}

/* ==================== MEJORA DEL MENÚ MÓVIL ==================== */
#mobile-menu {
    transition: all 0.5s ease-in-out;
    transform: translateX(100%);
    background: linear-gradient(135deg, #0A1A2F 0%, #0EB3EF 100%);
    background-attachment: fixed;
}

#mobile-menu {
    background: linear-gradient(145deg, #0A1F2E 0%, #0C2A3C 100%);
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100" opacity="0.05"><path fill="white" d="M20 20 L30 20 L25 30 Z M60 40 L70 40 L65 50 Z M30 70 L40 70 L35 80 Z"/></svg>'),
        linear-gradient(145deg, #0A1F2E 0%, #0C2A3C 100%);
    background-blend-mode: overlay;
}

#mobile-menu {
    background: radial-gradient(circle at 20% 30%, rgba(14, 179, 239, 0.2) 0%, transparent 30%),
        radial-gradient(circle at 80% 70%, rgba(255, 204, 41, 0.15) 0%, transparent 35%),
        linear-gradient(135deg, #0A1F2E 0%, #0EB3EF 120%);
}

#mobile-menu a:not(.bg-yellow-brand) {
    position: relative;
    display: inline-block;
    padding: 0.75rem 1.5rem;
    color: white;
    font-size: 1.8rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    transition: all 0.3s ease;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

#mobile-menu a:not(.bg-yellow-brand):hover {
    color: #FFCC29;
    transform: translateX(10px);
    text-shadow: 0 0 20px rgba(255, 204, 41, 0.5);
}

#mobile-menu a:not(.bg-yellow-brand)::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 1.5rem;
    right: 1.5rem;
    height: 3px;
    background: #FFCC29;
    transform: scaleX(0);
    transition: transform 0.3s ease;
    border-radius: 3px;
}

#mobile-menu a:not(.bg-yellow-brand):hover::after {
    transform: scaleX(1);
}

#mobile-menu a.bg-yellow-brand {
    background: #FFCC29 !important;
    color: #000 !important;
    padding: 1.2rem 3rem !important;
    font-size: 1.5rem !important;
    border-radius: 50px;
    box-shadow: 0 10px 30px rgba(255, 204, 41, 0.3);
    transition: all 0.3s ease !important;
    margin-top: 1rem;
    border: 2px solid transparent;
}

#mobile-menu a.bg-yellow-brand:hover {
    background: white !important;
    color: #000 !important;
    transform: scale(1.05);
    box-shadow: 0 15px 40px rgba(255, 204, 41, 0.5);
}

#mobile-menu button {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

#mobile-menu button:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: rotate(90deg);
    border-color: #FFCC29;
    color: #FFCC29;
}

#mobile-menu::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, #FFCC29, #0EB3EF, #FFCC29);
    animation: gradientMove 3s ease infinite;
    background-size: 200% 100%;
}

@keyframes gradientMove {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

#mobile-menu::after {
    content: 'SPA DEPORTIVO';
    position: absolute;
    top: 30px;
    left: 30px;
    color: rgba(255, 255, 255, 0.1);
    font-size: 2rem;
    font-weight: 900;
    letter-spacing: 0.2em;
    white-space: nowrap;
    transform: rotate(-90deg) translateX(-100%);
    transform-origin: left top;
    pointer-events: none;
}

@media (max-width: 768px) {
    #mobile-menu a:not(.bg-yellow-brand) {
        font-size: 1.5rem;
        padding: 0.6rem 1.2rem;
    }
    #mobile-menu a.bg-yellow-brand {
        padding: 1rem 2rem !important;
        font-size: 1.3rem !important;
    }
    #mobile-menu::after {
        font-size: 1.5rem;
        top: 20px;
        left: 20px;
    }
}

@media (max-width: 480px) {
    #mobile-menu a:not(.bg-yellow-brand) {
        font-size: 1.3rem;
        padding: 0.5rem 1rem;
    }
    #mobile-menu a.bg-yellow-brand {
        padding: 0.8rem 1.5rem !important;
        font-size: 1.1rem !important;
    }
    #mobile-menu::after {
        font-size: 1.2rem;
        opacity: 0.5;
    }
}

#mobile-menu.simplified {
    background: linear-gradient(145deg, #0A1F2E, #0EB3EF);
}

#mobile-menu.simplified a {
    color: white;
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

#mobile-menu.simplified a:hover {
    color: #FFCC29;
}

#mobile-menu {
    box-shadow: inset 0 0 50px rgba(0, 0, 0, 0.3);
    border-left: 1px solid rgba(255, 255, 255, 0.1);
}

/* ==================== SOLUCIÓN DE EMERGENCIA - FORZAR VISIBILIDAD ==================== */
footer a[href*="facebook"],
footer a[href*="instagram"],
footer a[href*="twitter"],
footer a[href*="tiktok"],
#contacto a[href*="facebook"],
#contacto a[href*="instagram"],
#contacto a[href*="twitter"],
#contacto a[href*="tiktok"] {
    background-color: #0EB3EF !important;
    border: 1px solid rgba(255, 255, 255, 0.3) !important;
    color: white !important;
    opacity: 1 !important;
    visibility: visible !important;
    display: flex !important;
    transition: all 0.3s ease !important;
}

footer a[href*="facebook"] i,
footer a[href*="instagram"] i,
footer a[href*="twitter"] i,
footer a[href*="tiktok"] i,
#contacto a[href*="facebook"] i,
#contacto a[href*="instagram"] i,
#contacto a[href*="twitter"] i,
#contacto a[href*="tiktok"] i {
    color: white !important;
    opacity: 1 !important;
    visibility: visible !important;
}

footer a[href*="facebook"]:hover {
    background-color: #1877f2 !important;
}

footer a[href*="instagram"]:hover {
    background: linear-gradient(45deg, #f09433, #d62976, #962fbf, #4f5bd5) !important;
}

footer a[href*="twitter"]:hover {
    background-color: #1da1f2 !important;
}

footer a[href*="tiktok"]:hover {
    background-color: #000000 !important;
}

/* ==================== CORRECCIÓN DE HORARIOS Y REDES SOCIALES ==================== */
#contacto .bg-white\/5 .border-b span:last-child,
footer .bg-white\/5 .border-b span:last-child,
.bg-white\/5 .flex.justify-between span.font-bold {
    color: white !important;
    font-weight: 900 !important;
    font-size: 0.875rem !important;
    opacity: 1 !important;
    visibility: visible !important;
    display: inline-block !important;
}

.bg-white\/5 .border-b span.text-sm.font-bold,
footer .bg-white\/5 span.text-sm.font-bold {
    color: white !important;
    background: transparent !important;
}

.bg-white\/5 .flex.justify-between span.text-yellow-brand,
footer .bg-white\/5 span.text-yellow-brand {
    color: #FFCC29 !important;
    font-weight: 900 !important;
}

footer a[href*="facebook"],
#contacto a[href*="facebook"],
a[href*="facebook"].w-12 {
    background-color: #1877f2 !important;
    border: none !important;
}

footer a[href*="instagram"],
#contacto a[href*="instagram"],
a[href*="instagram"].w-12 {
    background: linear-gradient(45deg, #f09433, #d62976, #962fbf, #4f5bd5) !important;
    border: none !important;
}

footer a[href*="twitter"],
#contacto a[href*="twitter"],
a[href*="twitter"].w-12 {
    background-color: #1da1f2 !important;
    border: none !important;
}

footer a[href*="tiktok"],
#contacto a[href*="tiktok"],
a[href*="tiktok"].w-12 {
    background-color: #000000 !important;
    border: none !important;
}

footer a i,
#contacto a i,
a.w-12 i {
    color: white !important;
}

footer a[href*="facebook"]:hover,
#contacto a[href*="facebook"]:hover {
    background-color: #0e5a9c !important;
    transform: scale(1.1);
}

footer a[href*="instagram"]:hover,
#contacto a[href*="instagram"]:hover {
    background: linear-gradient(45deg, #e68a2e, #c13584, #8a3ab9) !important;
    transform: scale(1.1);
}

footer a[href*="twitter"]:hover,
#contacto a[href*="twitter"]:hover {
    background-color: #0c85d0 !important;
    transform: scale(1.1);
}

footer a[href*="tiktok"]:hover,
#contacto a[href*="tiktok"]:hover {
    background-color: #1a1a1a !important;
    transform: scale(1.1);
}

/* ==================== MEGA EMERGENCIA - INYECTAR HORARIOS MANUALMENTE ==================== */
#contacto .bg-white\/5,
footer .bg-white\/5 {
    all: initial !important;
    display: block !important;
    background: rgba(255, 255, 255, 0.05) !important;
    padding: 1.5rem !important;
    border-radius: 1rem !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    font-family: inherit !important;
}

#contacto .bg-white\/5 .border-b,
footer .bg-white\/5 .border-b {
    display: flex !important;
    justify-content: space-between !important;
    padding: 0.5rem 0 !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
}

#contacto .bg-white\/5 .border-b span:first-child::before,
footer .bg-white\/5 .border-b span:first-child::before {
    content: "Lun - Vie" !important;
    color: #9ca3af !important;
    font-size: 14px !important;
}

#contacto .bg-white\/5 .border-b span:last-child::before,
footer .bg-white\/5 .border-b span:last-child::before {
    content: "8 AM - 8 PM" !important;
    color: white !important;
    font-size: 14px !important;
    font-weight: bold !important;
}

#contacto .bg-white\/5 .flex.justify-between:last-child,
footer .bg-white\/5 .flex.justify-between:last-child {
    display: flex !important;
    justify-content: space-between !important;
    padding: 0.5rem 0 !important;
}

#contacto .bg-white\/5 .flex.justify-between span:first-child::before,
footer .bg-white\/5 .flex.justify-between span:first-child::before {
    content: "Sábados" !important;
    color: #9ca3af !important;
    font-size: 14px !important;
}

#contacto .bg-white\/5 .flex.justify-between span.text-yellow-brand::before,
footer .bg-white\/5 .flex.justify-between span.text-yellow-brand::before {
    content: "9 AM - 1 PM" !important;
    color: #FFCC29 !important;
    font-size: 14px !important;
    font-weight: bold !important;
}

#contacto .bg-white\/5 span,
footer .bg-white\/5 span {
    font-size: 0 !important;
}

/* ==================== OVERLAY Y TEXTOS DEL SLIDER ==================== */
.slide-overlay {
    background: linear-gradient(90deg, 
        rgba(0,0,0,0.0) 50%,    /* Transparente hasta el 50% */
        rgba(0,0,0,0.5) 75%,    /* Empieza a aparecer al 50% */
        rgba(0,0,0,0.5) 100%    /* Se mantiene hasta el final */
    ) !important;
    height: 100%;
    display: flex;
    align-items: center;
}


/* ==================== BOTONES DEL SLIDER ==================== */
.slide-overlay a.bg-green-500 {
    background-color: transparent !important;
    color: white !important;
    border: 2px solid rgba(255, 255, 255, 0.3) !important;
    backdrop-filter: blur(4px) !important;
    padding: 0.75rem 2.5rem !important;
    border-radius: 9999px !important;
    font-weight: 900 !important;
    font-size: 0.75rem !important;
    letter-spacing: 0.1em !important;
    transition: all 0.3s ease !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 0.75rem !important;
    text-transform: uppercase !important;
}

.slide-overlay a.bg-green-500:hover {
    background-color: rgba(255, 255, 255, 0.1) !important;
    border-color: rgba(255, 255, 255, 0.5) !important;
    color: white !important;
    transform: translateY(-2px) !important;
}

.slide-overlay a.bg-green-500 i {
    color: white !important;
}

/* ==================== LOGO DEL HEADER ==================== */
.logo-header {
    height: 100px;
    width: auto;
    max-width: 200px;
    object-fit: contain;
    display: block;
}

@media (max-width: 1024px) {
    .logo-header {
        height: 70px !important;
        max-width: 200px !important;
    }
}

@media (max-width: 768px) {
    .logo-header {
        height: 60px !important;
        max-width: 180px !important;
    }
}

@media (max-width: 640px) {
    .logo-header {
        height: 55px !important;
        max-width: 170px !important;
    }
}

/* ==================== TEXTOS DEL SLIDER A CELESTE ==================== */
/* Títulos en azul */
.slide h1,
.slide h1 span,
.slide .text-blue-brand {
    color: #0EB3EF !important;
}

/* Descripciones (párrafos) en blanco */
.slide p,
.slide .text-gray-200 {
    color: #FFFFFF !important;
}

/* Texto amarillo específico */
.slide .text-yellow-brand {
    color: #FFCC29 !important;
}

/* Botones en blanco */
.slide .max-w-3xl a,
.slide .fade-in-left a,
.slide .fade-in-up a,
.slide .fade-in-right a {
    color: white !important;
}

/* ==================== TAMAÑO DE TEXTOS DEL SLIDER ==================== */
.slide h1 {
    font-size: 3rem !important;
    line-height: 1.1 !important;
}

/* ==================== SEGUNDO BOTÓN CON FONDO CELESTE ==================== */
.slide .flex-col.sm\:flex-row a:last-child,
.slide .gap-5 a:last-child,
.slide-overlay a.bg-white\/10,
.slide-overlay a.backdrop-blur-md,
.slide-overlay a.border-white\/30,
.slide-overlay a[href="#contacto"],
.slide-overlay a[onclick="openTiendaModal()"],
.slide-overlay a[href="#portafolio"] {
    background-color: #0EB3EF !important;
    color: white !important;
    border: none !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    box-shadow: 0 10px 25px rgba(14, 179, 239, 0.3) !important;
    font-weight: 900 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.1em !important;
    padding: 1.5rem 3rem !important;
    border-radius: 9999px !important;
    transition: all 0.3s ease !important;
}

.slide .flex-col.sm\:flex-row a:last-child:hover,
.slide .gap-5 a:last-child:hover,
.slide-overlay a.bg-white\/10:hover,
.slide-overlay a.backdrop-blur-md:hover,
.slide-overlay a.border-white\/30:hover {
    background-color: #000000 !important;
    color: white !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2) !important;
}

.slide .flex-col.sm\:flex-row a:last-child span,
.slide .gap-5 a:last-child span,
.slide-overlay a.bg-white\/10 span,
.slide-overlay a.backdrop-blur-md span {
    color: white !important;
    font-size: 0.75rem !important;
}

.slide .flex-col.sm\:flex-row a:last-child i,
.slide .gap-5 a:last-child i,
.slide-overlay a.bg-white\/10 i,
.slide-overlay a.backdrop-blur-md i {
    color: white !important;
}

/* ==================== MOVER TEXTOS Y BOTONES MÁS A LA DERECHA ==================== */
.slide .max-w-7xl {
    margin-left: auto !important;
    margin-right: 2rem !important;  /* ← Cambia este valor */
    padding-left: 0.5rem !important;
    padding-right: 2rem !important;
}

.slide .max-w-3xl {
    margin-left: auto !important;
    margin-right: 0 !important;
    max-width: 650px !important;
}

.slide .max-w-3xl > * {
    text-align: left !important;
}

@media (min-width: 1024px) {
    .slide .max-w-7xl {
        margin-right: 5rem !important;  /* ← Cambia este valor también */
    }
    .slide .max-w-3xl {
        max-width: 700px !important;
    }
}

/* ==================== SLIDERS INDEPENDIENTES PARA MÓVIL - CORREGIDO ==================== */
@media only screen and (max-width: 768px) {
    
    .slide,
    .slide.active {
        background-image: none !important;
    }
    
    .slide:nth-child(1) {
        background-image: url('imagen/mobil1.jpeg') !important;
        background-size: cover !important;
        background-position: center !important;
        background-repeat: no-repeat !important;
    }
    
    .slide:nth-child(2) {
        background-image: url('imagen/mobil2.jpeg') !important;
        background-size: cover !important;
        background-position: center !important;
        background-repeat: no-repeat !important;
    }
    
    .slide:nth-child(3) {
        background-image: url('imagen/mobil3.jpeg') !important;
        background-size: cover !important;
        background-position: center !important;
        background-repeat: no-repeat !important;
    }
    
    .slide {
        transition: opacity 1.5s ease-in-out !important;
        transform: scale(1) !important;
    }
    
    .slide:not(.active) {
        opacity: 0 !important;
    }
    
    .slide.active {
        opacity: 1 !important;
        z-index: 2 !important;
    }
    
    /* DEGRADADO DE ABAJO HACIA ARRIBA - SOLO PARA MÓVIL */
    .slide-overlay {
    background: linear-gradient(to top, 
        rgba(0,0,0,0.3) 0%,
        rgba(0,0,0,0.3) 20%,
        rgba(0,0,0,0.2) 40%,
        rgba(0,0,0,0.1) 60%,
        rgba(0,0,0,0.05) 80%,
        rgba(0,0,0,0.0) 100%
    ) !important;
}
    
    /* POSICIÓN DE TEXTOS EN MÓVIL */
    .slide .max-w-7xl {
        margin-left: 0 !important;
        margin-right: auto !important;
        padding-left: 1.5rem !important;  /* Ajusta este valor */
        padding-right: 1.5rem !important;
    }
    
    .slide .max-w-3xl {
        margin-left: 0 !important;
        margin-right: auto !important;
        max-width: 100% !important;
    }
    
    .slide h1 {
        font-size: 2.2rem !important;  /* Texto más pequeño */
    }
    
    .slide p {
        font-size: 1rem !important;
    }
    
    /* Botones más pequeños en móvil */
    .slide .flex-col.sm\:flex-row a {
        padding: 1rem 2rem !important;
        font-size: 0.7rem !important;
    }
}
/* ==================== IGUALAR TAMAÑO DE BOTONES EN SLIDERS ==================== */

/* Todos los botones secundarios (VISITAR TIENDA) */
.slide .flex-col.sm\:flex-row a:last-child,
.slide .gap-5 a:last-child,
.slide-overlay a.bg-white\/10,
.slide-overlay a.backdrop-blur-md,
.slide-overlay a.border-white\/30,
.slide-overlay a[onclick="openTiendaModal()"],
.slide-overlay a.bg-green-500 {
    padding: 1.5rem 3rem !important;  /* Mismo padding para todos */
    font-size: 0.75rem !important;    /* Mismo tamaño de texto */
    font-weight: 900 !important;
    border-radius: 9999px !important;
    width: auto !important;            /* Ancho automático */
    min-width: 220px !important;       /* Ancho mínimo igual para todos */
    text-align: center !important;
}

/* Botón principal (EXPLORAR TRATAMIENTOS) */
.slide .flex-col.sm\:flex-row a:first-child,
.slide .gap-5 a:first-child,
.slide-overlay a.bg-blue-brand {
    padding: 1.5rem 3rem !important;   /* Mismo padding */
    font-size: 0.75rem !important;     /* Mismo tamaño de texto */
    min-width: 220px !important;       /* Mismo ancho mínimo */
}

/* En móvil, botones más pequeños */
@media only screen and (max-width: 768px) {
    .slide .flex-col.sm\:flex-row a:last-child,
    .slide .flex-col.sm\:flex-row a:first-child,
    .slide-overlay a.bg-white\/10,
    .slide-overlay a.bg-blue-brand,
    .slide-overlay a.bg-green-500 {
        padding: 1rem 1.5rem !important;
        min-width: 180px !important;
        font-size: 0.7rem !important;
    }
}

/* ==================== TEXTOS DESTACADOS ESPECÍFICOS DEL SLIDER ==================== */
/* Para "5 técnicas especializadas en una sola sesión." */

/* ==================== DESCRIPCIONES MÁS PEQUEÑAS EN SLIDERS ==================== */
/* ==================== DESCRIPCIONES DEL SLIDER ==================== */
/* Todo el texto de la descripción con la misma fuente */
.slide .max-w-3xl p {
    font-family: 'Inter', system-ui, -apple-system, sans-serif !important;
    font-weight: 900 !important;        /* Todos en negrita como "30 MINUTOS" */
    text-transform: uppercase !important;
    letter-spacing: 0.05em !important;
    line-height: 1.4 !important;
}

/* Tamaños específicos */
.slide .max-w-3xl p {
    font-size: 1.2rem !important;       /* Tamaño para el texto normal */
}

.slide .max-w-3xl p span.text-4xl {
    font-size: 2.5rem !important;       /* Más grande para "5 técnicas", "30 MINUTOS", "20 MINUTOS" */
}

/* Ajustes responsivos */
@media (max-width: 768px) {
    .slide .max-w-3xl p {
        font-size: 1rem !important;
    }
    .slide .max-w-3xl p span.text-4xl {
        font-size: 2rem !important;
    }
}

@media (max-width: 480px) {
    .slide .max-w-3xl p {
        font-size: 0.9rem !important;
    }
    .slide .max-w-3xl p span.text-4xl {
        font-size: 1.5rem !important;
    }
}
/* SOLO PARA LA VISTA DETALLADA - Imagen principal del producto Masaje a Cuatro Manos */
#producto-detalle-modal.active .main-product-image[src*="Mesa de trabajo 1.png"] {
    object-fit: contain !important;
    width: 100% !important;
    height: 400px !important;
    background-color: #f5f5f5 !important;
    padding: 30px !important;
    box-sizing: border-box !important;
    border-radius: 1rem !important;
}