@import url('https://fonts.googleapis.com/css2?family=Mada:ital,wght@0,200..900;1,200..900&display=swap');

h1, h2,h3,h4
{
    font-family: 'Mada', sans-serif;
    font-weight: 700;
}
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1050;
}
.navbar-offset {
    padding-top: 120px; /* Igual o mayor que la altura del header */
  }
.encabezado
{
    background-color: grey;
}
.encabezado a
{
    color: black;
    text-decoration: none;
}
.encabezado a:hover
{
    color: #e5b600; 
    text-decoration: underline;
}
.logo
{
    width: 100%;
}
.btn-carro,
.btn-atras
{
    width: 100px;
    height: 100px;
    background-color: #666;
    color: #e5b600;
    font-size:x-large;
    border-color: #e5b600;
    
}
.btn-carro:hover,
.btn-atras:hover
{
   
    border-color: grey ;
}
.btn-carro i{
    font-size: 1.5rem; /* o 2rem o lo que quieras */
    vertical-align: middle;
}
.tabla-carro
{
    margin-top: 120px;
}
.card img {
    height: 200px;
    object-fit: contain;
    padding: 10px;
}
.letrapeque
{
    font-size: smaller;
}
.letramedio
{
    font-size: smaller;
}
#conditions
{
    background-color:  #f1f1f1;
    padding: 10px;
}
#aboutus p
{
    color: #666;
    text-align: justify;
}
#offer
{
    background-color:  #f1f1f1;
    color: #666;
}
#offer p
{
    text-align: justify;
}
#offer a,
#aboutus a,
#conditions a,
#contactus a
{
    color: #e5b600;
}
#contactus
{
    background-color: grey;
}
.card-title {
    font-size: 1rem;
    font-weight: 600;
}

  
.products .card {
    border: none;
    box-shadow: none;
    text-align: center;
}

.products .card-img-top {
    height: 150px;
    width: 100%;
    object-fit: contain;
    padding: 10px;
}

.products .card-body {
    padding-top: 5px;
    padding-bottom: 15px;
}

.products .card-title {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 5px;
}

.products .card-text {
    font-size: 0.9rem;
    color: #333;
    margin-bottom: 0;
}
.product-col {
    padding: 0;
}

.product-tile {
    border: 1px solid #f1f1f1;
    height: 100%;
    background-color: white;
    text-align: center;
    position: relative;
    transition: transform 0.2s ease;
}

.product-tile:hover {
    transform: scale(1.01);
}

.product-tile::before,
.product-tile::after {
    content: '';
    position: absolute;
    background-color: orange;
}

.product-tile::before {
    top: 0;
    left: 0;
    width: 20px;
    height: 3px;
}

.product-tile::after {
    top: 0;
    left: 0;
    width: 3px;
    height: 20px;
}



.product-tile:hover {
    transform: scale(1.01);
}

.product-image-wrapper {
    padding: 10px;
    height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-image-wrapper img {
    max-height: 100%;
    max-width: 100%;
    object-fit: contain;
}

.product-details {
    border-top: 1px solid #eee;
    padding: 10px 5px;
}

.product-title {
    font-weight: 500;
    font-size: 0.95rem;
    margin-bottom: 5px;
    color: #333;
}

.product-price {
    font-size: 0.85rem;
    color: #444;
}

.add-to-cart-btn {
    position: absolute;
    top: 8px;
    right: 8px;
    background-color: #ff8000;
    color: white;
    border: none;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    font-size: 16px;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: background-color 0.2s;
    z-index: 10;
}

.add-to-cart-btn:hover {
    background-color: #ff9900;
}
#cart-alert {
    text-align: center;
    font-weight: 500;
    transition: opacity 0.3s ease-in-out;
   
  }
  .cart-bubble {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: #e3f8d8;
    color: #2e7d32;
    border: 2px solid #a5d6a7;
    border-radius: 15px;
    padding: 10px 20px;
    font-weight: bold;
    font-size: 0.9rem;
    white-space: nowrap;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    z-index: 10;
    animation: pop-in 0.2s ease-in-out;
  }
  
  .cart-bubble::after {
    content: "";
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    border-width: 0 8px 8px 8px;
    border-style: solid;
    border-color: transparent transparent #e3f8d8 transparent;
  }
  #sending-alert {
    position: absolute;
    top: -40px;
    left: 50%;
    transform: translateX(-50%);
    background: #e0f7fa;
    border: 1px solid #26a69a;
    border-radius: 8px;
    padding: 6px 12px;
    font-size: 14px;
    color: #00796b;
    white-space: nowrap;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    z-index: 1000;
  }
  
  
@keyframes pop-in {
    0% {
      transform: translateX(-50%) scale(0.8);
      opacity: 0;
    }
    100% {
      transform: translateX(-50%) scale(1);
      opacity: 1;
    }
}

#sending-alert {
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: #fff3cd;
    color: #856404;
    border: 2px solid #ffeeba;
    border-radius: 15px;
    padding: 10px 20px;
    font-weight: bold;
    font-size: 0.9rem;
    white-space: nowrap;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    z-index: 10;
    animation: pop-in 0.2s ease-in-out;
  }
  
  #sending-alert::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border-width: 8px 8px 0 8px;
    border-style: solid;
    border-color: #fff3cd transparent transparent transparent;
  }
  
  .how-it-works-section {
    background: #fff;
    color: #666;
  }
  
  .how-title {
    font-weight: 600;
    color: #666;
    text-transform: uppercase;
    border-top: 1px solid #e5b600;
    border-bottom: 1px solid transparent;
    padding-top: 1rem;
    margin-bottom: 2rem;
  }
  
  .step-icon {
    width: 80px;
    height: 80px;
    border: 3px solid #e5b600;
    border-radius: 50%;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #e5b600;
    font-size: 32px;
  }

  .fechas-overlay {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0,0,0,0.7);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  
  .fechas-card {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    max-width: 400px;
    width: 90%;
    box-shadow: 0 0 20px rgba(0,0,0,0.3);
  }

  .overlay {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background-color: rgba(0,0,0,0.6);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2000;
  }
  
  .overlay-content {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
  }
  
  @media (max-width: 1650px) {
    .navbar-offset {
        padding-top: 100px; /* Igual o mayor que la altura del header */
      }
  }
  
  @media (max-width: 768px) {
    html, body {
      overflow-y: scroll;
      scrollbar-width: none; /* Firefox */
    }
  
    body::-webkit-scrollbar {
      display: none; /* Chrome, Safari */
    }
   
    .info-header
    {
        font-size: xx-small;
    }
   
    .navbar-offset {
        padding-top: 100px; /* Igual o mayor que la altura del header */
      }
    #conditions
    {
        font-size: small;
    }
    #contactus
    {
        font-size: small;
    }
    /* Estilos para el overlay */
.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.7);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
  }
  
  /* Estilos para el contenido del overlay */
  .overlay-content {
    background-color: white;
    padding: 2rem;
    border-radius: 10px;
    width: 90%;
    max-width: 400px;
    text-align: center;
    box-shadow: 0 0 20px rgba(0,0,0,0.3);
  }
  
  /* Para asegurar que los inputs sean cómodos en móvil */
  .overlay-content input[type="date"] {
    width: 100%;
    padding: 0.5rem;
    margin: 0.5rem 0;
    font-size: 1rem;
  }
  
  }
