/* Reset de estilos para evitar diferencias entre navegadores */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  
  /* Estilos generales del body */
  body {
    font-family: Arial, sans-serif;
    background-color: #f2f2f2;
  }
  
  /* Estilos del encabezado (header) */
  header {
    background-color: #a10e0e;
    color: white;
    padding: 10px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  header .logo a img {
    width: 200px;
    height: 80px;
  }
  .bar-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
  }
  
  .bar-header a {
    color: white;
    text-decoration: none;
    text-align: center;
    padding: 0 10px;
    font-size: 20px; /* Espaciado entre los elementos */
  }
  
  .bar-header a img {
    width: 30px;
    background-color: #333;
    padding: 5px;
    border-radius: 5px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  }
  .bar-header ion-icon {
    color: white;
    font-size: 34px;
    vertical-align: middle;
  }
  
  nav {
    display: flex;
    background-color: #333;
    padding: 5px 10px;
    justify-content: space-between;
    align-items: center;
  }
  
  .bar-nav {
    align-items: center;
    display: flex;
  }
  .bar-nav a {
    color: white;
    text-decoration: none;
    text-align: center;
    padding: 0 10px; /* Espaciado entre los elementos */
  }
  
  /* Estilos de las tarjetas (cards) */
  #cards {
    position: fixed;
    bottom: 20px;
    right: 20px;
  }
  
  #cards a {
    display: block;
    background-color: #333;
    color: white;
    padding: 10px;
    text-align: center;
    text-decoration: none;
    border-radius: 5px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  }
  
  #cards img {
    width: 30px;
  }

  .hidden form {
    display: flex;
    flex-direction: column;
    max-width: 500px;
    margin: 0 auto;
    transition: cubic-bezier(0.075, 0.82, 0.165, 1);
    border-radius: 5px;
    margin-top: 50px;
    width: 250px;
    right: 0;
    top: 0;
    background: #333333b9;
    border: 2px solid rgba(245, 64, 64, 0.719);
    border-radius: 20px;
    box-shadow: 0 0 30px rgb(255, 40, 40);
    padding: 50px;
    width: 500px;
    overflow-y: auto;
    max-height: 80%;
    scrollbar-width: thin; /* Anchura de la barra de desplazamiento (puede ser "auto", "thin", o "none") */
    scrollbar-color: #610101 #ccc; /* Color de la barra de desplazamiento y el fondo del track (puede ser dos valores: thumb color y track color) */
  }
  .hidden ::-webkit-scrollbar {
    width: 10px; /* Anchura de la barra de desplazamiento */
  }
  .hidden ::-webkit-scrollbar-thumb {
    background-color: #610101; /* Color del "pulgar" de la barra de desplazamiento */
    border-radius: 5px;
  }
  .hidden ::-webkit-scrollbar-track {
    background-color: #33333350; /* Color del track de la barra de desplazamiento */
    border-radius: 5px;
  }
  .hidden form::placeholder {
    color: #333;
  }
  label {
    margin-bottom: 5px #333;
    padding: 0%;
  }
  
  input {
    margin-bottom: 2px #ffffff;
    background-color:#ffffff00;
  }
  
  .hidden {
    display: none;
  }
  
  /* style.css */
  
  /* Estilo general del formulario */
  #registrationFormContainer {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    z-index: 999;
  }
  
  /* Estilo del formulario interno */
  .login_form {
    max-width: 300px;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(54, 20, 20, 0.1);
    color: #333;
    text-decoration: none;
  }
  
  /* Clase para mostrar el formulario */
  #registrationFormContainer.active {
    opacity: 1;
    visibility: visible;
    border: 5px #333;
  }
  
  /* Clase para ocultar el formulario */
  .hidden {
    display: none;
  }
  #close_form {
    width: 20px;
    height: 20px;
    background-color: #33333300;
    font-weight: 200;
    left: 1;
    top: 5;
    position: absolute;
    font-size: large;
    border-radius: 5px;
    text-align: center;
    padding: 1px;
  }
  #close_form1 {
    width: 30px;
    height: 30px;
    background-color: #333;
    font-weight: 200;
    right: 0;
    top: 0;
    position: absolute;
    font-size: large;
    border-radius: 5px;
    text-align: center;
    padding: 5px;
  }
  
  /*---variante 1---*/
  .wrap_form {
    position: absolute;
    margin-top: 50px;
    width: 250px;
    right: 0;
    top: 0;
    height: auto;
    background: #333333a2;
    border: 2px solid rgba(245, 64, 64, 0.719);
    border-radius: 20px;
    box-shadow: 0 0 30px rgb(255, 40, 40);
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    transform: scale(0);
    transition: transform 0.2s ease;
  }
  
  .active_wrap {
    transform: scale(1);
  }
  
  .wrap_form .form-box {
    width: 100%;
    padding: 40px;
    color: rgb(255, 255, 255);
  }
  
  .form-box h2 {
    font-size: 2em;
    text-align: center;
  }
  
  .input-box {
    position: relative;
    width: 100%;
    height: 50px;
    border-bottom: 2px solid #610101;
    margin: 30px 0;
  }
  
  ::placeholder {
    color: rgb(255, 255, 255);
    font-size: 1em;
  }
  
  .input-box input {
    width: 100%;
    height: 100%;
    background-color: #ffffff00;
    border: none;
    outline: none;
    color: rgb(0, 0, 0);
  }
  .input-box .icon {
    position: absolute;
    right: 8px;
    font-size: 1.5em;
    color: #700000;
    line-height: 60px;
  }
  
  .btn-login {
    padding: 20px 40px;
    color: rgb(255, 255, 255);
    font-size: 1em;
    border: none;
    border-radius: 5px;
    background-color: #a1000050;
    text-align: center;
    padding: 10px;
  }
  
  .btn-login:hover {
    background-color: #a10000;
  }
  
  .wrap_form .icon-close {
    position: absolute;
    top: 0;
    right: 0;
    width: 45px;
    height: 45px;
    font-size: 2em;
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    border-bottom-left-radius: 20px;
    cursor: pointer;
  }
  
  .login-register p {
    color: white;
    text-align: center;
  }
  
  .login-register a {
    color: #610101;
    text-align: center;
  }
  
  /* Otros estilos */
  /* Estilos generales */
  
  /* Estilos del aside y la lista emergente */
  aside {
    width: auto;
    background-color: #333;
    padding: 10px;
    height: 800px;
    float: left;
    max-width: 200px;
  }
  aside h3 {
    color: #fff;
  }
  
  .dropdown-btn {
    width: 100%;
    padding: 10px;
    background-color: #333;
    color: white;
    border: none;
    text-align: left;
    cursor: pointer;
  }
  
  .dropdown-content {
    display: none;
  }
  
  .dropdown-content a {
    display: block;
    padding: 10px;
    text-decoration: none;
    color: #fff;
  }
  
  /* Pseudoclase :hover para mostrar la lista emergente */
  .dropdown-btn:hover + .dropdown-content,
  .dropdown-content:hover {
    display: block;
  }
  
  section {
    background: white;
    text-align: center;
    align-items: center;
  }
  
  section ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: inline-flex;
  }
  
  section ul li {
    padding: 10px;
  }
  
  .prod_card {
    background: #333333a1;
    border-radius: 5px;
    height: 300px;
    width: 300px;
    position: inherit;
  }
  
  echo {
    font-size: 24px;
  }
  
  .shop-card {
    width: 25%;
    padding: 10px;
    box-sizing: border-box;
    display: inline-block;
    vertical-align: top;
  }
  
  .shop-card:hover {
    box-shadow: 0 8px 16px 0 rgba(0, 0, 0, 0.2);
  }
  
  .shop-card h2 {
    margin-top: 0;
  }
  
  .shop-card img {
    width: 100%;
    height: auto;
  }
  
  .shop-card p {
    margin-bottom: 0;
  }
  
  .btn-shop {
    text-align: center;
  }
  
  .btn-shop a {
    color: #fff;
    background-color: #a10000;
    border: none;
    border-radius: 5px;
    padding: 10px 20px;
   text-decoration: none;
    display: inline-block;
    font-size: 16px;
    margin: 4px 2px;
    transition: 0.3s;
  }
  
  .btn-shop a:hover {
    background-color: #700000;
  }

  
  ion-icon {
    color: #fff;
  }
  
  .search-form {
    display: flex;
    align-items: center;
    margin-right: 2rem;
  }
  
  .search-input {
    border: 1px solid #ccc;
    border-radius: 3px;
    padding: 0.5rem;
    font-size: 1rem;
    width: 20rem;
  }
  
  .search-button {
    border: none;
    background: none;
    cursor: pointer;
    font-size: 1.2rem;
    margin-left: -3rem;
    padding: 0.5rem;
  }
  
  
  .php table {
    width: 100%;
    border-collapse: collapse;
  }
  
  .php th,
  .php td {
    padding: 8px;
    text-align: left;
    border-bottom: 1px solid #ddd;
  }
  
  .php th {
    background-color: #333;
    color: white;
  }
  
  .php tr:nth-child(even) {
    background-color: #f2f2f2
  }
  
  .php tr:hover {
    background-color: #ddd;
  }
  
  .php img {
    width: 100px;
    height: 100px;
    object-fit: cover;
  }
  
  .dropdown {
    position: relative;
    display: inline-block;
  }
  
  .dropdown-content {
    display: none;
    position: absolute;
    background-color: #f9f9f9;
    min-width: 160px;
    box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
    z-index: 1;
  }
  
  .dropdown-content a {
    color: black;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
  }
  
  .dropdown-content a:hover {
    background-color: #f1f1f1;
  }
  
  .dropdown:hover .dropdown-content {
    display: block;
  }
  
  main {
    color: #333;
    text-align: center;
    border-radius: 10px;
    top: 20%;
    bottom: 20%;
    margin-left: auto;
    margin-right: auto;
    position: auto;
    padding: 5% 10%;
  }
  
  .content {
    text-align: center;
    font-style: none;
  }
  
  .content p,
  .content h1 {
    margin: 0 auto;
    padding: 20px 20px;
  }
  
  .content h1 {
    padding-top: 10px;
  }
  
  .whatsapp-btn {
    background-color: green;
    color: rgb(0, 0, 0);
    text-align: center;
    border-bottom: #333;
    font-style: none;
    width: 50%;
    height: 50%;
    padding: 10px 0;
    border-radius: 5px;
    text-decoration: none;
  }
  
  .whatsapp-btn:hover {
    background-color: rgb(5, 73, 5);
    color: rgb(146, 146, 146);
    text-align: center;
  }
  
  .mail-btn{
    border-radius: 5px;
    border-bottom: #333;
    color: white;
    width: 50%;
    height: 50%;
    background-color: #a10000;
    font-style: none;
    padding: 10px 0;
    text-align: center;
    border-bottom: #333;
    text-decoration: none;
  }
  .mail-btn:hover{
    background-color: rgb(114, 21, 21);
    color: rgb(146, 146, 146);
    text-align: center;
  }
  .email-form {
    text-align: center;
    font-style: none;
    margin-top: 50px;
  }
  
  .email-form h2 {
    font-size: 2rem;
    margin-bottom: 30px;
  }
  
  .email-form label {
    display: block;
    margin-bottom: 5px;
  }
  
  .email-form input[type="text"],
  .email-form input[type="email"],
  .email-form textarea {
    width: 50%;
    padding: 10px;
    border-radius: 5px;
    border: 1px solid #ccc;
    margin-bottom: 20px;
    box-sizing: border-box;
  }
  
  .email-form input[type="submit"] {
    background-color: #a10000;
    color: white;
    text-align: center;
    padding: 10px 20px;
    border-radius: 5px;
    border: none;
    cursor: pointer;
  }
  
  .email-form input[type="submit"]:hover {
    background-color: rgb(114, 21, 21);
    color: rgb(146, 146, 146);
  }