/* Estilos personalizados */
:root {
    --color-primary: #39351D;
    --color-secondary: #79743E;
    --color-bg: #FCF9ED;
    --color-white: #FFFFFF;
    --color-gray-light: #F8F9FA;
    --color-gray: #E9ECEF;
    --color-gray-dark: #6C757D;
    --color-text: #212529;
    --color-success: #25D366;
    --color-success-hover: #128C7E;
    --color-danger: #DC3545;
    --color-danger-hover: #BB2D3B;
    --shadow-sm: 0 2px 8px rgba(0,0,0,0.05);
    --shadow-md: 0 4px 16px rgba(0,0,0,0.1);
    --shadow-lg: 0 8px 24px rgba(0,0,0,0.15);
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
}


body {
    background-color: var(--color-bg);
}

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


/* Reset de márgenes de Bootstrap */
.container-fluid {
    padding-left: 12px !important;
    padding-right: 12px !important;
}

@media (min-width: 768px) {
    .container-fluid {
        padding-left: 24px !important;
        padding-right: 24px !important;
    }
}

/* Logo circular SOLO para desktop */
.logo-circular {
    position: absolute;
    left: 50%;
    top: 15px; 
    transform: translateX(-50%);
    z-index: 1000;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    overflow: hidden;
    border: 4px solid white;
    
    background-color: white;

        
    /* Sombra base */
    box-shadow: 
        0 5px 15px rgba(0, 0, 0, 0.1),
        0 2px 5px rgba(0, 0, 0, 0.05);
    
    /* Transición para animación suave */
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    
    /* Efecto 3D inicial */
    transform: translateX(-50%) perspective(500px) rotateX(0deg) rotateY(0deg);
}


.logo-circular:hover {
    /* Efecto de elevación - parece que sobresale */
    transform: 
        translateX(-50%) 
        translateY(-5px) 
        scale(1.08) 
        perspective(500px) 
        rotateX(5deg) 
        rotateY(5deg);
    
    /* Sombra más intensa y difusa - efecto flotante */
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.15),
        0 10px 20px rgba(0, 0, 0, 0.1),
        0 0 10px  8px rgba(106, 17, 203, 0.1),
        
        /* Sombra interior para efecto de profundidad */
        inset 0 2px 4px rgba(255, 255, 255, 0.8),
        inset 0 -2px 8px rgba(0, 0, 0, 0.1);
    
    /* Brillo sutil en el borde */
    border-color: rgba(255, 255, 255, 0.9);
    
    /* Efecto de brillo */
    filter: brightness(1.05) saturate(1.1);
}

.logo-circular img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Navbar principal */
.navbar {
    background-color: #efd9ac !important;
    padding-top: 8px;
    padding-bottom: 8px;
    min-height: 60px;
}

.navbar .container-fluid {
    position: relative;
}

/* Logo para móviles */
.navbar-brand img {
    border-radius: 50%;
}

/* Botón hamburguesa ajustado */
.navbar-toggler {
    border: none;
    padding: 4px 8px;
}

/* Estructura del menú colapsado */
@media (max-width: 991.98px) {
    .navbar-collapse {
        background: white;
        border-radius: 8px;
        box-shadow: 0 4px 12px rgba(0,0,0,0.1);
        padding: 16px;
        margin-top: 8px;
        position: absolute;
        top: 100%;
        left: 12px;
        right: 12px;
        z-index: 1000;
                /* CENTRAR CONTENIDO */
        flex-direction: column;
        align-items: center !important;
        justify-content: center !important;
        text-align: center !important;
    }
    
    /* Menú principal centrado */
    .navbar-nav {
        text-align: center;
        border-bottom: 1px solid #eee;
        padding-bottom: 16px;
        margin-bottom: 16px;
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center !important;
    }
    
    .nav-item {
        margin: 4px 0;
        width: 100%;
        display: flex;
        justify-content: center;
    }

    .nav-link {
        padding: 8px 20px;
        border-radius: 6px;
        transition: all 0.2s;
        display: inline-block;
        width: auto;
        min-width: 150px;
        text-align: center;
    }
    
    .nav-link:hover {
        background-color: #f8f9fa;
    }

        /* Barra de búsqueda centrada */
    .search-container {
        width: 100%;
        max-width: 280px;
        margin: 0 auto 16px auto !important;
        display: flex;
        justify-content: center;
    }

        /* Contenedor del carrito centrado */
    .carrito-container {
        margin: 0 auto !important;
        display: flex;
        justify-content: center;
        width: auto;
    }
    

        /* Ajustar el ancho de los inputs de búsqueda */
    .search-input, .search-button {
        height: 40px;
    }
    
}

/* Barra de búsqueda */
.search-container {
    width: 100%;
    max-width: 300px;
    margin: 0 auto;
}



@media (min-width: 992px) {
    .search-container {
        max-width: 250px;
        margin: 0;
    }
}

.search-input {
    border-radius: 20px 0 0 20px !important;
    border: 1px solid #ddd;
    border-right: none;
    padding: 8px 16px;
    font-size: 14px;
}

.search-button {
    border-radius: 0 20px 20px 0 !important;
    border: 1px solid #ddd;
    border-left: none;
    padding: 8px 16px;
    background: white;
    color: var(--primary-color) ;
}

.search-button:hover {
    background-color: #39351D;
}

/* ============================================
   SUGERENCIAS DE BÚSQUEDA
   ============================================ */
.search-container {
    position: relative;
}

.sugerencias-container {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    border: 1px solid #e9ecef;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.15);
    margin-top: 5px;
    z-index: 1050;
    max-height: 400px;
    overflow-y: auto;
    animation: slideDown 0.2s ease;
}

.sugerencias-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    border-bottom: 1px solid #e9ecef;
    background: #f8f9fa;
    border-radius: 12px 12px 0 0;
}

.sugerencias-header span {
    font-size: 0.85rem;
    font-weight: 600;
    color: #6c757d;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.sugerencias-cerrar {
    background: none;
    border: none;
    font-size: 1.5rem;
    line-height: 1;
    color: #6c757d;
    cursor: pointer;
    padding: 0 5px;
}

.sugerencias-cerrar:hover {
    color: #dc3545;
}

.sugerencias-lista {
    padding: 8px 0;
    max-height: 300px;
    overflow-y: auto;
}

.sugerencia-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 16px;
    cursor: pointer;
    transition: background 0.2s;
    border-bottom: 1px solid #f1f1f1;
}

.sugerencia-item:last-child {
    border-bottom: none;
}

.sugerencia-item:hover {
    background: #f8f9fa;
}

.sugerencia-item img {
    width: 40px;
    height: 40px;
    object-fit: cover;
    border-radius: 6px;
    border: 1px solid #e9ecef;
}

.sugerencia-info {
    flex: 1;
}

.sugerencia-nombre {
    font-weight: 600;
    color: #212529;
    margin-bottom: 2px;
    font-size: 0.9rem;
}

.sugerencia-categoria {
    font-size: 0.75rem;
    color: #6c757d;
    text-transform: uppercase;
}

.sugerencia-precio {
    font-weight: 700;
    color: #39351D;
    font-size: 0.9rem;
}

.sugerencias-footer {
    padding: 12px 16px;
    border-top: 1px solid #e9ecef;
    text-align: center;
    background: #f8f9fa;
    border-radius: 0 0 12px 12px;
}

.sugerencias-footer a {
    color: #39351D;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
}

.sugerencias-footer a:hover {
    text-decoration: underline;
}

/* Cargando */
.sugerencias-cargando {
    padding: 20px;
    text-align: center;
    color: #6c757d;
}

.sugerencias-cargando .spinner-mini {
    width: 30px;
    height: 30px;
    border: 2px solid #e9ecef;
    border-top-color: #39351D;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 10px;
}

.sin-sugerencias {
    padding: 30px 20px;
    text-align: center;
    color: #6c757d;
}

.sin-sugerencias i {
    font-size: 2rem;
    margin-bottom: 10px;
    opacity: 0.5;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Responsive */
@media (max-width: 768px) {
    .sugerencias-container {
        position: fixed;
        top: auto;
        left: 12px;
        right: 12px;
        max-height: 70vh;
        z-index: 1060;
    }
}

/* Distribución en desktop */
@media (min-width: 992px) {
    .navbar {
        min-height: 80px;
        padding-top: 0;
        padding-bottom: 0;
    }
    
    /* Posicionamiento de elementos en desktop */
    .navbar-collapse {
        display: flex !important;
        justify-content: space-between;
        align-items: center;
    }
    
    /* Menú a la izquierda */
    .navbar-nav {
        display: flex;
        flex-direction: row;
        margin-right: auto;
        margin-left: 0 !important;
    }
    
    .nav-item {
        margin: 0 8px;
    }
    
    .nav-link {
        padding: 12px 16px;
    }
    
    /* Espacio para el logo central */
    .navbar-collapse::before {
        content: '';
        width: 100px; /* Mismo ancho que el logo */
        visibility: hidden;
    }
    
    /* Asegurar que todo quede alineado */
    .search-container {
        margin: 0 16px;
    }
    
    .btn-contacto-container {
        margin-left: auto;
    }
}

/* Ajustes para pantallas muy pequeñas */
@media (max-width: 575.98px) {
    .container-fluid {
        padding-left: 8px !important;
        padding-right: 8px !important;
    }
    
    .logo-circular {
        width: 80px;
        height: 80px;
    }
    
    .search-container {
        max-width: 100%;
    }
    
    .btn-contacto {
        padding: 8px 16px;
        font-size: 13px;
    }
}

/* Contenido principal */
main {
    padding-top: 40px !important;
}

@media (min-width: 992px) {
    main {
        padding-top: 60px !important;
    }
}

/* Footer ajustado */
footer {
    font-size: 14px;
}



/* Estilos del formulario de contacto */
.contacto-form .form-control {
    border: 1px solid #dee2e6;
    border-radius: 8px;
    padding: 10px 15px;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.contacto-form .form-control:focus {
    border-color: #6a11cb;
    box-shadow: 0 0 0 0.2rem rgba(106, 17, 203, 0.25);
}

.contacto-form .form-control.is-valid {
    border-color: #198754;
}

.contacto-form .form-control.is-invalid {
    border-color: #dc3545;
}

.contacto-form .invalid-feedback {
    font-size: 0.85rem;
    margin-top: 5px;
}

.contacto-form .form-check-input:checked {
    background-color: #6a11cb;
    border-color: #6a11cb;
}

.contacto-form .form-check-input:focus {
    box-shadow: 0 0 0 0.2rem rgba(106, 17, 203, 0.25);
}

.contacto-form .form-check-label {
    color: #495057;
}

.contacto-form button[type="submit"] {
    background: linear-gradient(135deg, #25D366, #128C7E);
    border: none;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.contacto-form button[type="submit"]:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(37, 211, 102, 0.3);
}

/* Para móviles */
@media (max-width: 768px) {
    #contacto {
        padding: 3rem 0 !important;
    }
    
    .contacto-form .form-control {
        font-size: 1rem;
    }
}

.contactus{
    background-color: #efd9ac;
    padding: 30px;
    border-radius: 30px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
}

.carousel-inner {
  border-radius: 0% !important;
}

/* ============================================
   CONTENEDOR Y ESTRUCTURA PRINCIPAL
   ============================================ */
.img-hover-container {
  position: relative !important;
  width: 100% !important;
  height: 260px !important;
  overflow: hidden !important;
  border-radius: 8px 8px 0 0 !important;
  background-color: #f8f9fa !important; /* Fondo mientras carga/transiciona */
}

/* ============================================
   IMÁGENES - ESTILOS BASE
   ============================================ */
.img-normal,
.img-hover {
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  object-position: center !important;
  transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94) !important;
  will-change: opacity, transform !important;
}

/* ============================================
   IMAGEN NORMAL (visible por defecto)
   ============================================ */
.img-normal {
  opacity: 1 !important;
  transform: scale(1) !important;
  z-index: 10 !important;
}

/* ============================================
   IMAGEN HOVER (invisible por defecto)
   ============================================ */
.img-hover {
  opacity: 0 !important;
  transform: scale(1.05) !important;
  z-index: 20 !important;
}

/* ============================================
   EFECTO HOVER - FADE LENTO CON ZOOM SUAVE
   ============================================ */
.card:hover .img-normal,
.col-md-4:hover .img-normal,
.anchor-cards:hover .img-normal {
  opacity: 0 !important;
  transform: scale(1.05) !important;
  transition-delay: 0s !important;
}

.card:hover .img-hover,
.col-md-4:hover .img-hover,
.anchor-cards:hover .img-hover {
  opacity: 1 !important;
  transform: scale(1) !important;
  transition-delay: 0.1s !important;
}

/* ============================================
   ESTILOS DE LAS CARDS
   ============================================ */
.card {
  border: 1px solid #e9ecef !important;
  border-radius: 12px !important;
  overflow: hidden !important;
  height: 100% !important;
  transition: all 0.4s ease !important;
  background: white !important;
}

.card:hover {
  transform: translateY(-8px) !important;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15) !important;
  border-color: #dee2e6 !important;
}

/* ============================================
   CONTENIDO DE LA CARD
   ============================================ */
.card-body {
  padding: 1.25rem !important;
  background: white !important;
}

.card-title {
  font-size: 1rem !important;
  font-weight: 600 !important;
  color: #212529 !important;
  margin-bottom: 0.75rem !important;
  line-height: 1.4 !important;
  min-height: 2.8rem !important;
  display: -webkit-box !important;
  -webkit-line-clamp: 2 !important;
  -webkit-box-orient: vertical !important;
  overflow: hidden !important;
}

/* ============================================
   ESTILOS DE PRECIOS
   ============================================ */
.precio {
  color: #000000 !important;
  margin: 12px 0 !important;
  min-height: 50px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

.precio-box {
  display: flex !important;
  flex-direction: column !important;
  gap: 4px !important;
  align-items: center !important;
  justify-content: center !important;
  width: 100% !important;
}

.precio-viejo {
  text-decoration: line-through !important;
  color: #6c757d !important;
  font-size: 0.85rem !important;
  font-weight: 400 !important;
  opacity: 0.8 !important;
}

.precio-nuevo {
  font-size: 1.25rem !important;
  font-weight: 700 !important;
  color: #28A745 !important;
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
  line-height: 1 !important;
}

.precio-normal {
  font-size: 1.25rem !important;
  font-weight: 700 !important;
  color: #000000 !important;
  line-height: 1 !important;
}

.badge-desc {
  background: linear-gradient(135deg, #2ECC71, #28A745) !important;
  color: white !important;
  padding: 3px 10px !important;
  border-radius: 12px !important;
  font-size: 0.75rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.3px !important;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2) !important;
  line-height: 1 !important;
}

/* ============================================
   BOTÓN VER
   ============================================ */
.card .btn-dark {
  background-color: #39351D !important;
  border-color: #212529 !important;
  border-radius: 6px !important;
  padding: 0.5rem 1rem !important;
  font-weight: 500 !important;
  font-size: 0.9rem !important;
  transition: all 0.3s ease !important;
  margin-top: 0.5rem !important;
}

.card .btn-dark:hover {
  background-color: #000 !important;
  border-color: #000 !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2) !important;
}


/* ============================================
   BOTONES DE NAVEGACIÓN DEL CARRUSEL
   ============================================ */
.destacados-prev,
.destacados-next {
  width: 45px !important;
  height: 45px !important;
  background: #39351D !important;
  border-radius: 50px !important;
  border: 1px solid #dee2e6 !important;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15) !important;
  opacity: 0.9 !important;
  transition: all 0.3s ease !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
}

.destacados-prev:hover,
.destacados-next:hover {
  opacity: 1 !important;
  transform: translateY(-50%) scale(1.1) !important;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2) !important;
}

.destacados-prev {
  left: -25px !important;
}

.destacados-next {
  right: -25px !important;
}

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

@media (max-width: 768px) {
  .img-hover-container {
    height: 260px !important;
  }
  
  .destacados-prev,
  .destacados-next {
    display: none !important;
  }
  
  .card-title {
    font-size: 0.95rem !important;
    min-height: 2.6rem !important;
  }
  
  .precio-nuevo,
  .precio-normal {
    font-size: 1.1rem !important;
  }
  
  .col-md-4 {
    margin-bottom: 20px !important;
  }
}

@media (max-width: 576px) {
  .img-hover-container {
    height: 260px !important;
  }
  
  .card-title {
    font-size: 0.9rem !important;
    min-height: 2.4rem !important;
  }
  
  .precio-nuevo,
  .precio-normal {
    font-size: 1rem !important;
  }
}

/* ============================================
   EFECTO DE CARGA (OPCIONAL)
   ============================================ */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.card {
  animation: fadeInUp 0.5s ease forwards !important;
}


/* Estilos para sección de redes sociales */

/* Tarjetas de redes sociales */
.red-social-card {
    background: white;
    border-radius: 16px;
    min-height: 360px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    border: 1px solid #f0f0f0;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: flex;
    flex-direction: column;
}

.red-social-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}

/* Tarjeta específica WhatsApp */
.whatsapp-card {
    border-top: 4px solid #25D366;
}

.whatsapp-card:hover {
    border-color: #25D366;
    box-shadow: 0 20px 40px rgba(37, 211, 102, 0.15);
}

/* Tarjeta específica Instagram */
.instagram-card {
    border-top: 4px solid #E4405F;
}

.instagram-card:hover {
    border-color: #E4405F;
    box-shadow: 0 20px 40px rgba(228, 64, 95, 0.15);
}

/* Iconos de redes sociales */
.red-social-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    font-size: 28px;
    transition: all 0.3s ease;
}

.whatsapp-card .red-social-icon {
    background: linear-gradient(135deg, #25D366, #128C7E);
    color: white;
}

.instagram-card .red-social-icon {
    background: linear-gradient(45deg, #405DE6, #5851DB, #833AB4, #C13584, #E1306C, #FD1D1D);
    color: white;
}

/* Tarjeta TikTok */
.tiktok-card {
    border-top: 4px solid #000;
}

.tiktok-card:hover {
    border-color: #000;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.tiktok-card .red-social-icon {
    background: linear-gradient(45deg, #000000, #313131) !important;
    color: white;
}


.red-social-card:hover .red-social-icon {
    transform: scale(1.1) rotate(5deg);
}

/* Botones de redes sociales */
.btn-whatsapp {
    background: linear-gradient(135deg, #25D366, #128C7E);
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-tiktok {
    background: linear-gradient(135deg, #000000, #292929);
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-whatsapp:hover {
    background: linear-gradient(135deg, #128C7E, #25D366);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(37, 211, 102, 0.3);
}

.btn-instagram {
    background: linear-gradient(45deg, #405DE6, #833AB4, #E1306C);
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-instagram:hover {
    background: linear-gradient(45deg, #E1306C, #833AB4, #405DE6);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(228, 64, 95, 0.3);
}



/* Mini items de redes */
.redes-mini-item {
    flex: 0 0 30%;
    max-width: 30%;
    background: white;
    border-radius: 12px;
    padding: 15px;
    text-align: center;
    border: 2px solid transparent;
    transition: all 0.3s ease;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    cursor: default;
}

.redes-mini-item:hover {
    transform: translateY(-5px);
}

.tiktok-video:hover {
    border-color: #000000;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.instagram-photo:hover {
    border-color: #E4405F;
    box-shadow: 0 8px 20px rgba(228, 64, 95, 0.1);
}

.whatsapp-chat:hover {
    border-color: #25D366;
    box-shadow: 0 8px 20px rgba(37, 211, 102, 0.1);
}

.mini-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 10px;
    font-size: 18px;
    color: white;
}

.tiktok-video .mini-icon {
    background: linear-gradient(45deg, #000000, #333333);
}

.instagram-photo .mini-icon {
    background: linear-gradient(45deg, #405DE6, #833AB4, #E1306C);
}

.whatsapp-chat .mini-icon {
    background: linear-gradient(135deg, #25D366, #128C7E);
}

/* Animación especial para TikTok */
@keyframes tiktokGlow {
    0% {
        box-shadow: 0 0 0 0 rgba(255, 0, 80, 0.4);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(255, 0, 80, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(255, 0, 80, 0);
    }
}

.tiktok-card:hover .red-social-icon {
    animation: tiktokGlow 1.5s infinite;
}

/* Ajustes responsive para 3 tarjetas */
@media (max-width: 768px) {
    .red-social-card {
        margin-bottom: 15px;
    }
    
    .redes-mini-item {
        padding: 12px 8px;
    }
    
    .redes-mini-item p {
        font-size: 0.8rem;
    }
}

/* Para pantallas muy pequeñas */
@media (max-width: 576px) {
    .col-md-4 {
        flex: 0 0 100%;
        max-width: 100%;
    }
}


/* Ajuste mini cards */
.redes-mini-item {
    flex: 0 0 30%;
    max-width: 30%;
}

/* Altura pareja cards */
.red-social-card {
    min-height: 360px;
}

/* Tarjeta TikTok */
.tiktok-card {
    border-top: 4px solid #000;
}

.tiktok-card:hover {
    border-color: #000;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.tiktok-card .red-social-icon {
    background: linear-gradient(45deg, #000000, #333333);
    color: white;
}


/* Ajustes para tablets y pantallas chicas horizontales */
@media (max-width: 1100px) {

    .red-social-card {
        padding: 18px 14px;
    }

    .red-social-card h5 {
        font-size: 1.1rem;
    }

    .red-social-card p {
        font-size: 0.9rem;
    }

    .red-social-card .btn {
        font-size: 0.85rem;
        padding: 6px 10px;
        width: 100%;
    }

}

@media (max-width: 1100px) {

    .red-social-card {
        min-height: 340px;
    }

}


/* Botón flotante de WhatsApp */
.whatsapp-float {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 60px;
    height: 60px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.8rem;
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
    z-index: 1000;
    transition: all 0.3s ease;
    text-decoration: none;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 16px rgba(37, 211, 102, 0.6);
    color: white;
}

/* Animación de pulso opcional */
@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); }
}

.whatsapp-float {
    animation: pulse-whatsapp 2s infinite;
}