@import url('https://fonts.googleapis.com/css?family=Raleway:400,700');

/* Responsive Styles */
@media (max-width: 1280px) {
    .navbar-left, .navbar-right {
      margin-left: 50px;
      margin-right: 50px;
    }

    .social-icons {
      display: none;
    }
  
    .navbar-links {
      gap: 10px;
      margin-top: 10px;
    }
  
    .logo h1 {
      font-size: 20px;
    }
  
    .logo p {
      font-size: 10px;
    }
  }
  
  /* Media Query para pantallas más pequeñas (máximo 768px) */
  /* Media Query para pantallas de hasta 768px */
  @media (max-width: 768px) {
    .navbar {
      flex-direction: column;
      height: auto;
      padding: 20px;
      gap: 10px;
      position: relative; /* Para contener el menú hamburguesa y la capa de fondo */
    }

    .social-icons {
      display: none;
    }


    body{
        margin-top: 0px;
    }
  
    .navbar-left,
    .navbar-right {
      margin-left: 0;
      margin-right: 0;
      justify-content: center;
    }
  
    .navbar-center {
      flex: 1;
      justify-content: center;
    }
  
    .navbar-links {
      display: none;
      flex-direction: column;
      position: absolute;
      top: 0; /* Alinea el menú al principio de la pantalla */
      left: 0;
      width: 300px;
      height: 100vh; /* Hace que el menú ocupe toda la altura de la pantalla */
      background-color: #fff;
      box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
      padding: 20px 0;
      z-index: 10; /* Asegura que el menú esté por encima del contenido */
      overflow-y: auto; /* Habilita el desplazamiento si el menú es más largo que la pantalla */
    }
  
    .navbar-links li a {
      position: relative;
      display: block;
      text-align: center;
      padding: 10px 0;
      color: #000;
    }
  
    .navbar-links li a::after {
      content: '';
      position: absolute;
      left: 10%;
      bottom: 0;
      width: 90%;
      height: 2px;
      background-color: black;
    }
  
    .navbar-links li a:hover {
      color: #2cdbe3;
    }

    
  
    .navbar-links.show {
      display: flex;
      margin-top: 33px;
    }
  
    .hamburger-menu {
      display: block;
      position: absolute;
      left: 10px;
      top: 15px;
      z-index: 20; /* Asegura que el icono esté encima del menú */
      color: #000;

    }
  
    /* Agregar una capa de fondo para bloquear el contenido detrás del menú */
    .navbar-overlay {
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background-color: rgba(0, 0, 0, 0.5); /* Fondo oscuro translúcido */
      z-index: 5; /* Asegura que quede debajo del menú */
      display: none; /* Ocultar de forma predeterminada */
    }
  
    /* Mostrar la capa de fondo cuando el menú está visible */
    .navbar-overlay.show {
      display: block;
    }
  
    #home {
      background: linear-gradient(90deg, #2cdbe3, #ffffff);
      text-align: center;
      text-decoration: none;
      position: relative;
    }
  
    #home:hover {
      color: #2cdbe3;
    }
  }
  
  /* Media Query para pantallas de teléfonos móviles (máximo 480px) */
  @media (max-width: 480px) {
    .navbar {
      padding: 10px;
      height: auto;
    }

    .social-icons {
      display: none;
    }
  
    .navbar-left,
    .navbar-right {
      margin-left: 0;
      margin-right: 0;
      justify-content: center;
    }
  
    .navbar-center {
      text-align: center;
      font-size: 18px;
    }
  
    .navbar-links {
      display: none;
      flex-direction: column;
      position: absolute;
      top: 8%;
      left: 0;
      width: 100%;
      background-color: #fff;
      padding: 10px 0;
      box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
      z-index: 10;
    }
  
    .navbar-links li a {
      padding: 8px 0;
      font-size: 14px;
    }
  
    .hamburger-menu {
      display: block;
      position: absolute;
      left: 10px;
      top: 10px;
      color: #000;

    }
  
    .navbar-links.show {
      display: flex;
      width: 80%;
    }
  
    #home {
      font-size: 18px;
      padding: 10px;
    }
  }

  /* Móviles pequeños (480px o menos) */
@media (max-width: 480px) {
  .modal-carrito {
    position: fixed;
    top: 0;
    bottom: 0;
    right: 0;
    width: 50% !important; /* Ocupa solo la mitad derecha */
    height: 100vh;
    background: white;
    z-index: 1000;
  }
  
  .modal-content {
    height: 100%;
    display: flex;
    flex-direction: column;
    box-shadow: -4px 0 10px rgba(0, 0, 0, 0.1);
    border-radius: 20px 0 0 20px; /* Redondear solo el lado izquierdo */
  }


  
  /* Ocultar productos recomendados y divisor */
  .productos-recomendados,
  .divisor {
    display: none;
  }
  
  /* Ajustar el carrito */
  .carrito {
    height: 100%;
    flex: 1;
    display: flex;
    flex-direction: column;
  }
  
  .carrito .modal-header {
    padding: 10px;
  }
  
  .carrito .modal-body {
    flex: 1;
    overflow-y: auto;
    padding: 10px;
  }
  
  .carrito .modal-footer {
    padding: 10px;
    background: white;
    border-top: 1px solid #eee;
  }
}
  
  
  /* Media Query para pantallas de hasta 1280px (laptops) */
  @media (max-width: 1280px) {
    .footer-container {
      flex-direction: column; /* Cambiar a columna para pantallas más pequeñas */
      align-items: center; /* Centrar todo el contenido */
    }
  
    .footer-logo img {
      max-width: 100px; /* Reducir el tamaño del logo */
    }
  
    .footer-content {
      text-align: center; /* Centrar el contenido */
    }
  
    .footer-social a {
      font-size: 1.2em; /* Reducir el tamaño de los íconos */
      width: 35px;
      height: 35px;
      line-height: 35px;
    }
  
    .footer-rights {
      font-size: 0.85em; /* Reducir tamaño de fuente */
      text-align: center; /* Centrar el texto */
    }
  }
  
  /* Media Query para pantallas de hasta 768px (tabletas) */
  @media (max-width: 768px) {
    .custom-footer {
      padding: 20px 30px; /* Aumentar padding en pantallas pequeñas */
    }
  
    .footer-container {
      flex-direction: column;
      align-items: center;
    }
  
    .footer-logo img {
      max-width: 80px; /* Reducir el tamaño del logo */
    }
  
    .footer-social a {
      font-size: 1.5em; /* Mantener tamaño de íconos */
      width: 40px;
      height: 40px;
      line-height: 40px;
    }
  
    .footer-rights {
      font-size: 0.8em; /* Reducir tamaño de fuente */
    }
  }
  
  /* Media Query para pantallas de hasta 480px (teléfonos móviles) */
  @media (max-width: 480px) {
    .custom-footer {
      padding: 10px 20px; /* Reducir padding */
    }
  
    .footer-container {
      flex-direction: column; /* Cambio a columna para pantallas más pequeñas */
      align-items: center;
    }
  
    .footer-logo img {
      max-width: 60px; /* Reducir tamaño del logo */
    }
  
    .footer-social a {
      font-size: 1.2em; /* Reducir tamaño de los íconos */
      width: 30px;
      height: 30px;
      line-height: 30px;
    }
  
    .footer-rights {
      font-size: 0.75em; /* Reducir tamaño de fuente */
      text-align: center; /* Centrar texto */
    }
  }
  
  /* Para pantallas de hasta 1280px (laptops) */
  @media (max-width: 1280px) {
    .modal-carrito {
      width: 550px; /* Reducir el ancho del modal */
    }
  
    .modal-header h2 {
      font-size: 16px; /* Ajustar tamaño del título */
    }
  
    .checkout-btn, .view-cart-btn {
      font-size: 14px; /* Reducir tamaño de fuente en los botones */
    }
  
    .item-details h4 {
      font-size: 14px; /* Reducir tamaño de fuente de los productos */
    }
  
    .item-details p {
      font-size: 12px; /* Reducir tamaño de texto en los productos */
    }
  }
  
  /* Para pantallas de hasta 768px (tabletas) */
  @media (max-width: 768px) {
    .modal-carrito {
      width: 72%;
      height: 100%;
      border-radius: 0;
      box-shadow: none;
    }
    .recomendado{
      font-size: 14px;
    }
  
    .modal-header {
      padding: 15px;
    }
  
    .modal-header h2 {
      font-size: 14px;
    }
  
    .item-details h4 {
      font-size: 14px;
    }
  
    .item-details p {
      font-size: 12px;
    }
  
    .checkout-btn, .view-cart-btn {
      font-size: 14px;
      padding: 8px;
    }
  }
  
  /* Para pantallas de hasta 480px (teléfonos móviles) */
  @media (max-width: 480px) {
    .modal-carrito {
      width: 100%;
      height: 100%;
      border-radius: 0;
      box-shadow: none;
    }
  
    .modal-header {
      padding: 10px;
      align-items: flex-start;
    }
  
    .modal-headerr {
      padding: 10px;
      align-items: flex-start;
    }
    .recomendado{
      font-size: 14px;
    }
  
    .modal-content{
      gap: 0px;
    }
  
    .modal-header h2 {
      font-size: 14px;
    }
  
    .item-details h4 {
      font-size: 13px;
    }
  
    .item-details p {
      font-size: 11px;
    }
  
    .checkout-btn, .view-cart-btn {
      font-size: 12px;
      padding: 8px;
    }
  }

  