  .logo-top img {
    width: 140px; /* Ajusta el tamaño del logo con nombre */
    height: auto;
    margin-bottom: 5px;
  }
  .main-header {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .logo-left {
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .navbar-logo {
    width: 80px;
    height: auto; /* Mantén las proporciones */
    display: inline-block;
    margin-right: 1px; /* Espaciado entre el logo y las demás opciones */
    vertical-align: middle;
    
  }


  .logo-left .navbar-logo {
    height: 80%; /* Abarca la altura completa de la cabecera */
    max-height: 120px; /* Ajusta según lo necesario */
  }

  body {
      font-family: 'Playfair Display', serif;
      margin: 0;
      padding: 0;
  }
  .productos {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
      gap: 20px;
      padding: 20px;
  }
  .producto {
      border: 1px solid #ddd;
      padding: 10px;
      text-align: center;
  }
  .producto img {
      max-width: 100%;
      height: auto;
  }

  .navbar {
      background-color: #733F2D; /* Fondo oscuro elegante */

  }

  .fas {
    color: #FBE3D4;
    font-size: 1.3rem;
  }

  .img-spa {
    width: auto;
    height: 380px;
    display: block;
  }

  .navbar-brand {
      font-family: 'Georgia', serif; /* Tipografía sofisticada */
      font-size: 1.5rem;
      font-weight: bold;
      color: #f8f9fa; /* Texto claro */
  }

  .navbar-brand:hover {
      color: #ffc107; /* Efecto hover dorado */
  }

  .nav-link {
      color: #FBE3D4; /* Enlaces claros */
      font-size: 1rem;
  }

  .nav-link:hover {
      color: #FFC89A; /* Hover en dorado */
  }

  .navbar-toggler-icon {
      background-color: #f8f9fa; /* Icono claro */
  }



  .logo-container img {
      max-width: 60px; /* Ajusta el tamaño según tus necesidades */
      height: 50px;
      margin-bottom: 20px;
  }


  .container-header {
    margin: 0;
    padding: 0;
  }

  nav {
    margin-bottom: 0;
    padding-bottom: 0;
  }

  .navbar-nav .nav-item .nav-link {
      white-space: nowrap;
  }

  .navbar-nav .nav-item .nav-link.active {
    background-color: #FFF8DC; /* Fondo azul para resaltar */
    color: #733F2D; /* Color blanco para el texto */
  }

  /* Fondo oscuro y translúcido para el menú */
  .navbar-collapse {
    background-color: rgba(0, 0, 0, 0.7); /* Fondo translúcido */
    position: fixed; /* Asegurarnos de que esté fijo en la pantalla */
    top: 0;
    left: 0;
    right: 0;
    bottom: 0; /* Extiende el fondo hasta el fondo de la pantalla */
    z-index: 1050; /* Asegurarse de que esté encima de otros elementos */
    display: none; /* Inicialmente oculto */
  }

  /* Menú dentro de la ventana emergente */
  .navbar-collapse.show {
    display: block; /* Mostrar el menú cuando está activo */
    overflow-y: auto; /* Añadir desplazamiento si es necesario */
    height: 100vh; /* El menú ocupará solo la altura de la pantalla */
  }

  .close-menu {
    position: absolute;
    top: 10px;
    right: 15px;
    background: none;
    border: none;
    font-size: 30px;
    color: white;
    cursor: pointer;
  }

  .close-menu:hover {
    color: #ffcccc;
  }

  .card-header {
      background-color: #733F2D !important; /* ejemplo para Teralma */
  }


  .bg-primary {
      background-color: #733F2D !important;
  }

  @media (min-width: 992px) { /* A partir de pantallas grandes (computadoras) */
    .close-menu {
        display: none !important;
    }
  }

  body, html {
    margin: 0;
    padding: 0;
  }


  /* Estilo para el encabezado de la tienda */
  .header-tienda {
    background-color: #733F2D; /* Café oscuro */
    color: #FFF8DC; /* Blanco cálido para el texto */
    text-align: center;
    padding: 10px 0;
    margin-bottom: 10px;
    margin-top: 0px;
  }

  .titulo-tienda {
    font-family: 'Playfair Display', serif; /* Elegante y estilizado */
    font-size: 45px;
    margin: 0;
    letter-spacing: 1px;
  }

  /* Aseguramos que el div ocupe el 100% en pantallas pequeñas */
  .contain-ppal {
    width: auto; /* En pantallas grandes, tendrá un ancho automático */
  }

  .contain-inicio {
    font-size: 9px !important;
    position: absolute;
    right: 100px;
    top: 5px; /* Ajusta la distancia desde la parte superior */
    overflow: visible !important;
  }

  .dropdown-menu {
   
    z-index: 999999 !important;
   
  }


  .contain-lg-carr{
    width:12%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 10px;   
  }

  @media (max-width: 600px) {

    .contain-lg-carr{
      width: 100%;
      background-color: #834F3D; /* Café oscuro */
      display: flex;
      justify-content: space-between;
      align-items: center;
      border-top: 1px solid #531F0D;   
    }

    .contain-inicio {
      padding-left: 5px;  /* Reduce el espacio izquierdo */
      padding-right: 5px;
      font-size: 8px !important;
      position: absolute;
      right: 0;
      top: 5px; /* Ajusta la distancia en dispositivos móviles */
      
    }

    .contain-ppal {
      width: 100% !important;
    }
    
    .navbar-logo {
          width: 85px;
          height: auto; /* Mantén las proporciones */
          display: inline-block;
          vertical-align: middle;
      }
      
      .logo-left .navbar-logo {
        height: 80%; /* Abarca la altura completa de la cabecera */
        max-height: 120px; /* Ajusta según lo necesario */
      }
      .logo-left {
        display: flex;
        align-items: center;
        padding-right: 1px;
      }
          

    .titulo-tienda {
      font-size: 24px; /* Tamaño más pequeño en móviles */
    }
    .main-header {
      flex-direction: row;
      align-items: center;
      justify-content: center;
    }

    .logo-top img {
      width: 120px; /* Ajusta el tamaño si es necesario para móviles */
      height: auto; /* Mantén las proporciones */
      margin-bottom: 0;

    }

    .navbar-brand {
      
      padding: 0;
      margin-right: 1px;
    }

    .container {
      flex-direction: row;
      justify-content: space-between;
      align-items: center;
    }
    
  }

  .hero-section {
      position: relative;
      width: 100%;
      height: 100vh; /* Ocupa toda la altura de la pantalla */
      overflow: hidden;
  }

  .hero-image {
      width: 100%;
      height: 100%;
      object-fit: cover; /* Asegura que la imagen se ajuste correctamente */
      filter: brightness(80%); /* Oscurece un poco la imagen para resaltar el texto */
  }


  .hero-content {
      position: absolute;
      top: 50%;
      left: 50%;
      transform: translate(-50%, -50%);
      text-align: center;
  }

  .hero-content .btn {
      background-color: #733F2D; /* Color personalizado para el botón */
      color: white;
      font-size: 1.2rem;
      padding: 10px 20px;
      border: none;
      border-radius: 25px;
      text-decoration: none;
      transition: background-color 0.3s ease;
  }

  .btn-visitar {
    background-color: #834F3D; /* Color personalizado para el botón */
    color: white;
    font-size: 1rem;
    padding: 10px 20px;
    border: none;
    border-radius: 25px;
    text-decoration: none;
    margin-top: 15px;
    transition: background-color 0.3s ease;
  }

  .hero-content .btn:hover {
      background-color: #a57558; /* Color al pasar el cursor */
  }

  .footer {
      background-color: #8B5A46; /* Color de fondo */
      color: #F5E8E4; /* Color de texto */
      padding: 20px 10px;
      text-align: center;
    }
    
    .footer h2 {
      font-size: 1.8rem;
      margin-bottom: 10px;
    }
    
    .footer p {
      margin: 5px 0;
      font-size: 1rem;
    }
    
    .footer-icons {
      margin: 10px 0;
    }
    
    .footer-icons a {
      margin: 0 10px;
      font-size: 1.5rem;
      color: #F5E8E4;
      text-decoration: none;
      transition: color 0.3s ease;
    }
    
    .footer-icons a:hover {
      color: #D4A373; /* Color al pasar el cursor */
    }
    
    .footer .credit {
      font-style: italic;
    }
    
  
    /* Asegúrate de que el pie sea responsivo */
    @media (max-width: 768px) {
      .footer h2 {
        font-size: 1.5rem;
      }
    
      .footer p {
        font-size: 0.9rem;
      }
    
      .footer-icons a {
        font-size: 1.3rem;
      }

      .btn-comprar {
        font-size: .75em !important;
      }
      .btn-small {
        font-size: .75em !important; /* Ajusta el tamaño del texto */
      }

      .card-footer .btn {
        margin: 0 1px; /* separa los botones 8px entre sí */
      }
    
    }

    .btn {
        text-decoration: none;
        border-radius: 6px;
        margin-right: 10px;
        cursor: pointer;
    }

    .btn-comprar {
      background-color: #c89273 !important; /* Color personalizado para el botón */
      color: rgb(253, 243, 221) !important;
      font-size: .90em !important;
      padding: 6px 12px;
      border: none;
      border-radius: 6px;
      text-decoration: none;
      text-align: center;  /* Centra el texto */
      transition: background-color 0.3s ease;
      
    }
    
    /* Hover para el botón Comprar */
    .btn-comprar:hover {
      background-color: #e3d2b8; /* Un tono crema más oscuro al pasar el mouse */
      color: #ffffff; /* Texto blanco para contraste */
      cursor: pointer;
    }

    .btn-small {
      font-size: .90em !important; /* Ajusta el tamaño del texto */
      padding: 6px 12px; /* Opcional: ajusta el relleno del botón */
    }

    .card-footer .btn {
      margin: 0 6px; /* separa los botones 8px entre sí */
    }

  
    .detalle-producto {
      display: flex;
      flex-wrap: wrap;
      gap: 20px;
      margin: 20px;
      justify-content: center;
      align-items: center;
  }

  .detalle-producto-imagen {
      max-width: 400px;
      width: 100%;
      border-radius: 10px;
  }

  .detalle-producto-info {
      max-width: 600px;
      padding: 20px;
      background-color: #f8f0e3;
      border-radius: 10px;
      box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  }

  .detalle-producto-info h1 {
      font-size: 2rem;
      margin-bottom: 10px;
  }

  .detalle-producto-info p {
      margin-bottom: 10px;
      font-size: 1.1rem;
  }

  .detalle-producto-botones {
      margin-top: 20px;
  }

  .btn-regresar {
      background-color: #c5a880 !important;
      color: #a58860;
      box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15); /* sombra leve */
      border: none;
      padding: 8px 16px;
      border-radius: 6px;
      cursor: pointer;
      transition: box-shadow 0.3s ease;
  }

  .btn-regresar:hover {
      box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2); /* sombra un poco más marcada al pasar el mouse */
  }

  .btn-agregar-carrito {
      background-color: #c5a880 !important;
      color: #a58860;
      box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15); /* sombra leve */
      border: none;
      padding: 8px 16px;
      border-radius: 6px;
      cursor: pointer;
      transition: box-shadow 0.3s ease;

  }

  .btn-regresar:hover {
      box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2); /* sombra un poco más marcada al pasar el mouse */
  }

  /* para las letras pequeñas del carrito */
  .text-xs {
    font-size: .75rem; /* Tamaño extra pequeño */
  }

  .carrito-icono {
    position: relative;
    font-size: 20px; /* Tamaño del ícono del carrito */
    text-decoration: none;
    color: white !important;
    display: inline-block;
  }

  #carrito-cantidad {
    position: absolute;
    top: -5px; /* Ajusta para posicionar el contador sobre el carrito */
    right: -5px; /* Ajusta para que se vea bien alineado */
    background: #e5c8a0; /* Color de fondo del contador */
    color: #795548; /* Color del texto */
    font-size: 12px; /* Tamaño del número */
    font-weight: bold;
    border-radius: 50%; /* Hace el contador circular */
    padding: 2px 4px; /* Espaciado interno */
    min-width: 17px; /* Asegura que el círculo no se deforme */
    text-align: center;
    line-height: 1;
  }


  .table-sm td,
  .table-sm th {
      padding: 0.3rem; /* Reduce el espacio dentro de las celdas */
      font-size: 0.75rem; /* Tamaño de fuente pequeño */
  }

  .text-sm {
      font-size: 0.8rem; /* Tamaño de fuente para texto general */
  }

  .img-thumbnail {
    max-width: 60px; /* Limitar tamaño de imágenes */
    height: auto;
  }

  .table-responsive {
    overflow-x: auto; /* Asegura que la tabla sea desplazable en pantallas pequeñas */
  }

  .fs-6 {
    font-size: 0.85rem; /* Tamaño pequeño para encabezados */
  }


  .contact-container {
    max-width: 600px;
    margin: 0 auto;
    padding: 20px;
    text-align: center;
    background-color: #f9f9f9;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  }

  .contact-container h1 {
    color: #333;
    margin-bottom: 20px;
  }

  .contact-container p {
    color: #555;
    line-height: 1.6;
  }

  .contact-container a {
    color: #007bff;
    text-decoration: none;
    font-weight: 700;
  }

  .contact-container a:hover {
    text-decoration: underline;
  }

  h1,  h3 {
    font-family: 'Playfair Display', serif;
    font-weight: 700; /* Negrita */
    color: #941d1d; 
  }

  p, a, span {
    font-family: 'Playfair Display', serif;
    font-weight: 400; /* Regular */
  }

  .bg-container {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 20px;
    border-radius: 10px;
    color: white;
    background-color: rgba(255, 255, 255, 0.5); /* Fondo negro semitransparente */
    background-blend-mode: overlay; /* Mezcla la imagen y el color */
  }

  .image-container {
    position: relative;
    width: 100px; /* Tamaño inicial */
    height: auto; /* Tamaño inicial */
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .product-image {
    width: 100%; /* Tamaño inicial de la imagen */
    height: auto; /* Mantiene la proporción */
    transition: transform 0.3s ease, width 0.3s ease, height 0.3s ease; /* Suavidad en el crecimiento */
  }


  .btn-small-compra {
    font-size: 14px; /* Ajusta el tamaño del texto */
    padding: 9px 16px; /* Opcional: ajusta el relleno del botón */
  }

  .image-container:hover .product-image {
    width: 180px; /* Cambia el tamaño de la imagen al pasar el mouse */
    height: auto; /* Mantiene la proporción */
    z-index: 10; /* Asegura que se muestre sobre otros elementos */
    position: absolute; /* La imagen se expande hacia afuera */
  }

  .full-screen-menu {
    background-color: rgba(0, 0, 0, 0.8);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1050;
    display: none; /* Cambiamos de 'flex' a 'none' por defecto */
    align-items: center;
    justify-content: center;
    transition: visibility 0.3s, opacity 0.3s;
  }

  .full-screen-menu.show {
    display: flex;
  }

  @media (min-width: 992px) {
    .full-screen-menu {
        display: block; /* El menú se muestra normalmente en pantallas grandes */
        position: static;
        height: auto;
        background-color: transparent;
        align-items: center;
        display: inline-block;
        
    }

    .full-screen-menu ul {
        display: flex;
        justify-content: center;
        text-align: center;
        padding: 0;
    }

    .full-screen-menu .nav-link {
        font-size: 14px;
        color: #F5E8E4;
        padding: 0 15px;
    }
    
  

  }

  .txt-lenguaje{
    color: #F5E8E4;
  }

  .language-selector {
    position: relative;
    display: inline-block;
    cursor: pointer;
    width: 100px;
  }

  .language-options {
    display: none;
    position: absolute;
    top: 100%;
    width: 100px;
    left: 0;
    background-color: white;
    border: 1px solid #ccc;
    padding: 5px;
    z-index: 1000;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  }

  .language-selector:hover .language-options {
    display: block;
  }

  #language-select {
    width: 100%;
    border: none;
    outline: none;
    font-size: 12px;
    background-color: #c89273;
    color:#f8f0e3;
  }

  .language-flag {
    width: 20px;
    margin-right: 5px;
  }


  .estilo-linea {
    border: 0;
    height: 12px;
    top: 2px;
    margin-top: 3px;
    background-color: #733F2D;
    opacity: .7;
  }

  .navbar hr {
    /*border: 1px solid #ffffff; /* Define un borde visible */
    border: none;
    height: 2px; /* Opcional, dependiendo del diseño */
    background: white; 
    /*box-shadow: 0 0 1px #ff22dd;*/
    width: 100%;
    margin-top: 0;
    margin-bottom: 0;
  }

  .contain-estadistica{
    width:60%
  }

  @media (max-width: 576px) {
    .contain-estadistica{
      width:100%
    } 
    .btn-comprar {
        font-size: .75em !important;
      }
      .btn-small {
        font-size: .75em !important; /* Ajusta el tamaño del texto */
      }

      .card-footer .btn {
        margin: 0 1px; /* separa los botones 8px entre sí */
      }
  }

  .btn-filtros {
    background-color: white;
    border: 2px solid #8B4513;
    color: #dB9563!important;
    padding: 8px 16px;
    font-size: 16px;
    cursor: pointer;
    border-radius: 5px;
  }

  .btn-filtros:hover {
    background-color: #8B4513;
    color: white !important;
  }

  .description-section {
    display: flex;
    flex-wrap: wrap; /* Para hacerlo responsive */
    align-items: center;
    width: 100%;
    margin: 50px 0;
  }

  .description-text {
    flex: 1; /* El texto ocupa la mitad del ancho */
    position: relative;
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
  }


  .text-background {
    background-color: rgba(200, 146, 115, 0.8); /* Fondo con baja transparencia */
    padding: 20px;
    border-radius: 10px;
    color: white; /* Asegura que el texto sea legible */
    text-align: left;
    max-width: 90%; /* Ajusta el ancho del contenido */
  }

  .text-background h2 {
    font-size: 2rem;
    margin-bottom: 15px;
  }

  .text-background h3 {
    font-size: 1rem;
    margin-bottom: 15px;
  }

  .text-background p {
    font-size: 1.1rem;
    line-height: 1.6;
  }

  .description-image {
    flex: 1; /* La imagen ocupa la otra mitad del ancho */
  }

  .description-image img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    object-fit: cover; /* Ajusta la imagen sin deformarla */
  }

  /* Ajustes responsivos */
  @media (max-width: 768px) {
    .description-section {
        flex-direction: column; /* Cambia la dirección a columna para apilar */
    }

    .description-text,
    .description-image {
        flex: none; /* Anula el comportamiento de dividir el ancho */
        width: 100%; /* Cada sección ocupa todo el ancho */
    }

    .description-image img {
        border-radius: 0; /* Quita los bordes redondeados si prefieres un diseño más limpio */
    }

    .text-background {
        text-align: center; /* Centra el texto en dispositivos móviles */
    }

    .text-background h2 {
        font-size: 1.5rem; /* Reduce el tamaño del encabezado */
    }

    .text-background h3 {
        font-size: 1rem; /* Reduce el tamaño del encabezado */
    }

    .text-background p {
        font-size: 1rem; /* Reduce el tamaño del texto */
    }
  }

  .section-text {
    text-align: center;
    margin-top: -30px;
  }
  .section-text h2 {
    font-size: 32px;
    color: #d4a373;
    font-weight: bold;
    margin-bottom: 15px;
  }
  .section-text p {
    font-size: 22px;
    color: #343;
  }

  .section-text span{
    color:#c58c3c; 
    font-size: 34px;
  }

  .section-text li{
    font-size: 14px;
  }

  @media (max-width: 768px) {
    .section-text {
        margin-top: 20px;
    }
    .section-text h2 {
      font-size: 26px;
    }
    .section-text p {
      font-size: 16px;
    }
    .section-text span{
      font-size: 28px;
    }
    .section-text li{
      font-size: 12px;
    }
  }


  /*CSS Categorías*/
  .modal-overlay {
    display: none;
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.8);
    justify-content: center;
    align-items: center;
    z-index: 9999;
  }
  .modal-content {
    width: 60%;
    background: white;
    padding: 20px;
    border-radius: 8px;
    min-width: 300px;
    max-width: 800px;
    position: relative;
    z-index: 10000;
  }


  .slider-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 10px;
    height: 80px;
  }

  .range-slider {
    position: relative;
    width: 80%;
    height: 60px;
  }

  .range-slider input[type=range] {
    position: absolute;
    width: 100%;
    pointer-events: none;
    appearance: none;
    background: transparent;
  }

  .range-slider input[type=range]::-webkit-slider-thumb {
    pointer-events: all;
    appearance: none;
    width: 15px;
    height: 15px;
    background: #8B4513;
    border-radius: 50%;
    cursor: pointer;
  }
  .slider-track {
    position: absolute;
    height: 5px;
    background: #8B4513;
    top: 50%;
    transform: translateY(-50%);
    left: 0;
    right: 0;
    z-index: -1;
  }

  .categoria-btn {
    background: white;
    border: 2px solid #8B4513;
    color: #8B4513;
    padding: 8px 16px;
    cursor: pointer;
    border-radius: 5px;
  }

  @media (max-width: 600px) {
    .categoria-btn {
        padding: 5px 10px;
        font-size: 12px;
    }
  }

  .categoria-btn:hover, .categoria-btn.selected {
    background-color: #8B4513;
    color: white;
  }



  .close-button {
    position: absolute;
    top: 10px;
    right: 10px;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: white;
    background-color: black;
    width: auto;
    height: auto;
  }


  .filtros-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
  }

  .filtro-seccion {
    display: flex;
    flex-direction: column;
    gap: 10px;
  }

  .filtro-seccion label {
    font-weight: bold;
  }

  /** Fin de CSS Categorías **/