@import url("https://fonts.googleapis.com/css2?family=Spartan:wght@100;200;300;400;500;600;700;800;900&display=swap");
@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&display=swap');
@font-face {
  font-family: 'Bebas Neue';
  src: url('ruta/a/tu/BebasNeue.woff2') format('woff2'),
       url('ruta/a/tu/BebasNeue.woff') format('woff');
}
:root {
  --primary-color: rgb(221, 12, 12);
  --secondary-color: #222;
  --background-color: #E3E6F3;
  --text-color: #1a1a1a;
  --hover-color: rgba(221, 12, 12, 0.8);
}

/* General styles */
* {
  font-family: 'Bebas Neue', sans-serif;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  line-height: 1.6;
  color: var(--text-color);
}

::selection {
  background: #f4f4f4;
  color: var(--primary-color);
}

h1, h2, h4, h6 {
  color: var(--secondary-color);
}

h1 { font-size: 4.125rem; line-height: 5rem; }
h2 { font-size: 3.875rem; line-height: 4.375rem; }
h4 { font-size: 3.25rem; }
h6 { font-size: 2.75rem; font-weight: 700; }

/* Header styles */
#header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 3.125rem;
  background: var(--background-color);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  position: sticky;
  top: 0;
  left: 0;
  z-index: 999;
}

#navbar {
  display: flex;
  align-items: center;
  margin: 0;
  padding: 0;
  font-weight: 800;
}

#navbar li {
  list-style: none;
  padding: 0 1.25rem;
}

#navbar li a {
  text-decoration: none;
  font-size: 1.5rem;
  color: #1a1a1a;
  transition: 0.3s ease;
  display: flex;
  align-items: center;
}

#navbar li a:hover {
  color: var(--primary-color);
}

/* Asegurarse de que el ícono sea visible en móvil */
@media (max-width: 768px) {
  #navbar li a {
    font-size: 1.8rem; /* Aumentamos el tamaño en móvil */
    padding: 0.5rem;
  }
}

/* Hero section */
#hero {
  background-image: url(../img/herocart.png);
  height: 90vh;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding-top: 10px;
  padding: 0 10rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  background-color: #f8f9fa;
}

#herocontact {
  background-image: url(../img/hero2.png);
  height: 110vh;
  background-size: cover;
  background-position: center;
  padding-top: 10px;
  padding: 0 10rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  color: var(--text-color);
}

#herocontact h1 {
  color: black;
  font-size: 3rem;
  line-height: 1.2;
  margin-bottom: 1rem;
  background-color: white;
  padding: 0.5rem;
  border-radius: 10px;
}

#herocontact button {
  background-image: url(../img/btn2.png);
  background-color: transparent;
  color: black;
  border: none;
  padding: 0.875rem 5rem 0.875rem 4.0625rem;
  background-repeat: no-repeat;
  cursor: pointer;
  font-weight: 700;
  font-size: 0.9375rem;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

#herocontact button:hover {
  opacity: 0.8;
  transform: scale(1.05);
}

#hero h1 {
  color: rgb(230, 0, 0);
  padding: 0.5rem;
}

#hero button {
  background-image: url(../img/btn2.png);
  background-color: transparent;
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
  padding: 0.875rem 5rem 0.875rem 4.0625rem;
  background-repeat: no-repeat;
  cursor: pointer;
  font-weight: 700;
  font-size: 0.9375rem;
  border-radius: 5px;
  transition: opacity 0.3s ease, transform 0.3s ease, background-color 0.3s ease;
}

#hero button:hover {
  opacity: 0.8;
  transform: scale(1.05);
  background-color: var(--primary-color);
  color: white;
}

@media (max-width: 480px) {
  #hero button {
    padding: 0.5rem 2rem;
    font-size: 0.75rem;
  }
}

/* Benefits section */
#benefits {
  display: flex;
  justify-content: space-between;
  padding: 2rem 4.375rem 2rem 2.5rem;
  flex-wrap: wrap;
}

.benefitcard {
  display: flex;
  align-items: center;
  background-color: #f9f9f9;
  padding: 0.625rem;
  border-radius: 5px;
  min-height: 6.25rem;
  width: calc(33.33% - 1.25rem);
  margin-bottom: 1.25rem;
}

.benefitcard .icon {
  font-size: 1.1875rem;
  color: var(--primary-color);
  width: 2.5rem;
  height: 2.5rem;
  margin: 0 0.625rem 0 0.9375rem;
}

/* Benefits section styles */
#benefits-section {
  padding: 40px 20px;
  background-color: #f5f5f5;
}

.benefit-container {
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
  max-width: 1200px;
  margin: 0 auto;
}

.benefit-item {
  background-color: white;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 6px rgba(245, 2, 2, 0.856);
  text-align: center;
  flex: 1;
  min-width: 250px;
  max-width: 350px;
  transition: transform 0.3s ease;
}

.benefit-item:hover {
  transform: translateY(-5px);
}

.benefit-item .icon {
  width: 50px;
  height: 50px;
  color: crimson;
  margin-bottom: 15px;
}

.benefit-item h3 {
  font-size: 1.5rem;
  margin-bottom: 10px;
  color: #1a1a1a;
}

.benefit-item p {
  color: #666;
  line-height: 1.4;
}

/* Feature carousel */
#feature {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  gap: 1.25rem;
  padding: 1.25rem;
  justify-content: center;
  width: 100%;
}

.fe-box {
  padding-top: 25rpm;
  flex: 0 0 60%;
  height: auto;
  position: relative;
  scroll-snap-align: start;
}

.fe-box img {
  width: 100%;
  height: auto;
  object-fit: contain;
  border-radius: 10px;
}

/* Category buttons */
.category-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: rgba(255, 255, 255, 0.8);
  color: black;
  font-size: 1.5rem;
  font-weight: bold;
  padding: 0.625rem 1.25rem;
  text-align: center;
  box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.3s, color 0.3s;
}

.category-btn:hover {
  background-color: var(--hover-color);
  color: white;
}

/* Catalog section */
.cat {
  background-image: url('../img/cat-marble.jpg');
  background-size: cover;
  background-position: center;
  color: white;
  font-size: 4em;
  text-align: center;
  padding: 3.125rem;
  text-shadow: 4px 4px 4px rgba(0, 0, 0, 1);
  margin: 1.25rem 1.875rem;
}
.increment-button, .decrement-button {
  background-color: #f0f0f0;
  border: 1px solid #ccc;
  color: #333;
  padding: 5px 10px;
  cursor: pointer;
  font-size: 16px;
  margin: 0 5px;
  border-radius: 3px;
}

.increment-button:hover, .decrement-button:hover {
  background-color: #e0e0e0;
}

input[type="number"] {
  width: 50px;
  text-align: center;
}
/* Modal styles */
.modal {
  display: none; /* Oculto por defecto */
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.5); /* Fondo oscuro con opacidad */
}

.modal-content {
  background-color: #fff;
  margin: 10% auto; /* 10% desde la parte superior y centrado */
  padding: 20px;
  border: 1px solid #888;
  width: 80%; /* Puede ser más o menos según lo necesites */
  max-width: 500px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  animation: modalopen 0.5s;
}

.modal-content h2 {
  margin-top: 0;
  color:crimson; /* Cambia este color según tus necesidades */
}

.modal-content label {
  display: block;
  margin-top: 10px;
  font-weight: bold;
  color: #333;
}

.modal-content input,
.modal-content select {
  width: calc(100% - 20px);
  padding: 10px;
  margin-top: 5px;
  border: 1px solid #ccc;
  border-radius: 5px;
}

.modal-content .btn {
  display: block;
  width: 100%;
  padding: 10px;
  margin-top: 20px;
  background-color: crimson; /* Cambia este color según tus necesidades */
  color: #fff;
  border: none;
  border-radius: 5px;
  cursor: pointer;
}

.modal-content .btn:hover {
  background-color: #830b0b;
}

.close-btn {
  position: absolute;
  right: 20px;
  top: 20px;
  background: transparent;
  border: none;
  font-size: 20px;
  cursor: pointer;
  color: #888;
}

close-btn:hover {
  color: #000;
}

@keyframes modalopen {
  from { opacity: 0; transform: translateY(-50px); }
  to { opacity: 1; transform: translateY(0); }
}
/* Product catalog */
.product {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(15.625rem, 1fr));
  gap: 1.25rem;
  padding: 1.25rem;
  max-width: 75rem;
  margin: 0 auto;
}

.card {
  background: white;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  padding: 0.9375rem;
  text-align: center;
  transition: transform 0.3s ease;
}

.card:hover {
  transform: translateY(-5px);
}

.card img {
  width: 100%;
  height: 18.75rem;
  object-fit: cover;
  border-radius: 4px;
  margin-bottom: 0.9375rem;
}

.card h2 {
  font-size: 1.2rem;
  margin: 0.625rem 0;
  color: #333;
}

.btn-agregar {
  background: #4CAF50;
  color: white;
  border: none;
  padding: 0.625rem 1.25rem;
  border-radius: 5px;
  cursor: pointer;
  width: 100%;
  margin-top: 0.625rem;
  transition: background 0.3s ease;
}

.btn-agregar:hover {
  background: var(--primary-color);
}

/* Footer styles */
.footer {
  background-color: #f8f9fa;
  padding: 1.25rem 0;
  text-align: center;
}

.footer_nav {
  list-style: none;
  display: flex;
  justify-content: center;
  margin-bottom: 1.25rem;
}

.footer_nav li {
  margin: 0 0.625rem;
}

.social-icons {
  display: flex;
  justify-content: center;
  margin-top: 1.25rem;
}

.social-icons a {
  color: #555;
  font-size: 3rem;
  margin: 0 0.625rem;
  transition: color 0.3s ease;
}

social-icons a:hover {
  color: var(--primary-color);
}

.cr, .footer_nav li a {
  font-size: 0.875rem;
  color: #555;
  transition: color 0.3s ease;
}

.footer_nav li a:hover,
.cr a:hover {
  color: var(--primary-color);
}

.cr {
  padding-top: 3.75rem;
}

/* Media Queries */
@media (max-width: 1200px) {
  #header { padding: 0 1.25rem; }
  #navbar li { padding: 0 0.625rem; }
  #hero { padding: 0 2.5rem; }
  #benefits { padding: 2rem 1.25rem; }
  .benefitcard { width: calc(45% - 1rem); }
}

@media (max-width: 768px) {
  /* Header adjustments */
  #header {
    padding: 1rem;
    flex-wrap: wrap;
  }

  #navbar {
    position: static;
    width: auto;
    height: auto;
    background: none;
    padding: 0;
  }

  #navbar li {
    margin: 0;
    padding: 0;
  }

  #navbar li a {
    font-size: 1.8rem; /* Aumentamos el tamaño en móvil */
    padding: 0.5rem;
  }

  /* Hero section adjustments */
  #hero {
    padding: 0 1.25rem;
    height: 70vh;
  }

  #herocontact {
    padding: 0 1.25rem;
    height: 80vh;
  }

  /* Catalog title adjustments */
  .cat {
    font-size: 2.5em;
    padding: 1.5rem;
    margin: 0.625rem;
  }

  /* Product grid adjustments */
  .product {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.5rem;
    padding: 0.5rem;
  }

  .card {
    margin-bottom: 0.5rem;
  }

  .card img {
    height: 150px;
  }

  .card h2 {
    font-size: 0.875rem;
    margin: 0.25rem 0;
  }

  .btn-agregar {
    padding: 0.5rem;
    font-size: 0.75rem;
  }

  /* Ajustes de responsividad para el banner y las benefit cards */
  #hero {
    background-size: contain; /* Ajusta la imagen del banner para que no se muestre con zoom */
    background-position: center;
    height: auto; /* Ajusta la altura del banner */
    padding: 2rem 1rem; /* Ajusta el padding del banner */
    font-size: 0.875rem; /* Ajusta el tamaño de la fuente del texto del banner */
  }

  #benefits {
    flex-direction: column; /* Muestra las benefit cards en pila */
    align-items: center; /* Centra las benefit cards */
  }

  .benefitcard {
    width: 100%; /* Ajusta el ancho de las benefit cards */
    margin-bottom: 1rem; /* Ajusta el margen inferior de las benefit cards */
  }
}
.popup-content {
  background-color: #ffffff;
  padding: 15px; /* Reduce el padding para minimizar el espacio interno */
  border-radius: 15px;
  text-align: left;
  position: relative;
  width: 70%; /* Reduce el ancho general */
  max-width: 300px; /* Ajusta el ancho máximo */
  max-height: 600px; /* Limita la altura máxima del popup */
  overflow-y: auto; /* Habilita scroll si el contenido excede la altura */
  margin: 20px auto;
  animation: slideIn 0.4s ease-out;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
  font-family: 'Segoe UI', sans-serif;
}

.popup-imagen {
  width: 100%;
  align-items: left;
  max-width: 200px; /* Reduce el tamaño máximo de la imagen */
  height: auto;
  border-radius: 12px;
  margin: 0 auto 15px; /* Reduce el margen inferior */
  display: block;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.popup-imagen:hover {
  transform: scale(1.02);
}


@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes slideIn {
  from {
    transform: translateY(-20px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}
/* Small mobile devices */
@media (max-width: 480px) {
  .product {
    grid-template-columns: repeat(2, 1fr);
    padding: 0.25rem;
  }

  .card img {
    height: 120px;
  }

  .cat {
    font-size: 2em;
    padding: 1rem;
  }

  #header {
    padding: 0.25rem;
  }

  #logo {
    max-width: 120px;
  }

  /* Hero section adjustments */
  #hero {
    padding: 0 0.625rem;
    height: 60vh;
  }

  #herocontact {
    padding: 0 0.625rem;
    height: 70vh;
  }

  .popup-content {
    max-width: 90%;
    padding: 10px;
  }

  .popup-content h2 {
    font-size: 1.25rem;
  }

  .popup-content .colores-disponibles,
  .popup-content .tallas-disponibles {
    padding: 5px;
    margin-top: 10px;
  }

  .popup-content .btn-confirmar {
    padding: 6px;
  }

  .popup-content .colores-disponibles div,
  .popup-content .tallas-disponibles div {
    margin-bottom: 5px;
  }

  .popup-content .colores-disponibles input[type="number"] {
    width: 40px;
    padding: 3px;
  }
}
/* Estilos para el menú lateral en vista móvil */
#menu-toggle {
  display: none;
}

@media (max-width: 768px) {
  h1{
    font-size: 2rem;
  }
  p{
    font-size: 0.755rem;
  }

  #navbar {
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 1.8rem;
    font-weight: 800;
    transition: all 0.3s ease;
    margin-top: 2rem;
    
  }

  /* Ajustes de responsividad para el banner y las benefit cards */
  #hero {
    background-size: contain; /* Ajusta la imagen del banner para que no se muestre con zoom */
    background-position: center;
    height: auto; /* Ajusta la altura del banner */
    padding: 2rem 1rem; /* Ajusta el padding del banner */
    font-size: 0.875rem; /* Ajusta el tamaño de la letra del banner en móvil */
  }

  #benefits {
    flex-direction: column; /* Muestra las benefit cards en pila */
    align-items: center; /* Centra las benefit cards */
  }

  .benefitcard {
    width: 100%; /* Ajusta el ancho de las benefit cards */
    margin-bottom: 1rem; /* Ajusta el margen inferior de las benefit cards */
  }
}
@media (max-width: 768px) {
  .herocontact {
      padding: 10px;
  }
}

@media (max-width: 480px) {
  .herocontact {
      padding: 5px;
  }
}

/* Pop-up para agregar al carrito */
.popup-container {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    justify-content: center;
    align-items: center;
    z-index: 1000;
    animation: fadeIn 0.5s;
}

.popup-content {
    background-color: #fff;
    padding: 15px;
    border-radius: 10px;
    max-width: 500px;
    width: 95%;
    margin: 10px auto;
}

.popup-content > div {
    flex-direction: column;
}

.popup-content img {
    max-width: 200px;
    margin: 0 auto;
    display: block;
}

#popup-colores, 
#popup-tallas {
    margin-top: 10px;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
}

#color-checkboxes {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    margin-top: 10px;
    padding: 5px;
    justify-items: center;
    align-items: center;
}

.color {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    border: 2px solid #ddd;
    cursor: pointer;
    transition: transform 0.2s;
}

.color:hover {
    transform: scale(1.1);
}

.color.selected {
    border: 2px solid #000;
}

@media (max-width: 480px) {
    #color-checkboxes {
        grid-template-columns: repeat(3, 1fr);
        gap: 8px;
    }
    
    .color {
        width: 25px;
        height: 25px;
    }
}

#select-talla {
    width: 100%;
    margin-top: 5px;
    padding: 8px;
}

@media (max-width: 480px) {
    .popup-content {
        padding: 10px;
        margin: 5px;
    }
    
    #popup-precio,
    #popup-precio_may {
        font-size: 30px !important;
    }
    
    .popup-content h2 {
        font-size: 18px;
    }
    
    #color-checkboxes {
        grid-template-columns: repeat(3, 1fr);
        gap: 8px;
    }
    
    .color {
        width: 25px;
        height: 25px;
    }
    
    .popup-content .colores-disponibles,
    .popup-content .tallas-disponibles {
        padding: 5px;
        margin-top: 10px;
    }
    
    .popup-content .btn-confirmar {
        padding: 6px;
    }
    
    .popup-content .colores-disponibles div,
    .popup-content .tallas-disponibles div {
        margin-bottom: 5px;
    }
    
    .popup-content .colores-disponibles input[type="number"] {
        width: 40px;
        padding: 3px;
    }
}

.color-container {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 5px 10px;
    margin: 2px 0;
}

.color-name {
    font-size: 12px;
    text-align: left;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100px;
}

.quantity-controls {
    display: flex;
    align-items: center;
    gap: 5px;
}

@media (max-width: 480px) {
    .color-container {
        padding: 3px 8px;
    }
    
    .color-name {
        font-size: 11px;
        max-width: 80px;
    }
}

.quantity-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
}

.quantity-input {
    width: 40px;
    text-align: center;
    padding: 2px;
    border: 1px solid #ddd;
    border-radius: 3px;
}

.increment-button,
.decrement-button {
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #ddd;
    border-radius: 3px;
    background: #f5f5f5;
    cursor: pointer;
}

@media (max-width: 480px) {
    .color-name {
        font-size: 11px;
        max-width: 50px;
    }

    .quantity-input {
        width: 35px;
    }

    .increment-button,
    .decrement-button {
        width: 18px;
        height: 18px;
    }
}

/* Estilos generales para todas las secciones */
section {
  display: block;
  width: 100%;
  height: 40%;
  padding: 15em 0;
  margin: 0;
  clear: both;
}

/* Category section */
.category-section {
  background-color: #ffffff;
}

.category-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2em;
}

/* Benefits section */
#benefits-section {
  background-color: #f8f9fa;
}

.benefit-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2em;
}
.bebas-neue-regular {
  font-family: "Bebas Neue", serif;
  font-weight: 400;
  font-style: normal;
}
/* Section */
#Section {
  background-image: url('../img/cat-marble.jpg');
  background-size: cover;
  background-position: center;
  height: 45vh; /* Aumentamos un poco la altura */
  color: white;
  display: flex;
  justify-content: center;
  align-items: center;
  font-family: "Bebas Neue", serif;
  text-align: center;
  position: relative;
  overflow: hidden;
  transition: transform 0.3s ease;
  margin: 20px 0;
  cursor: pointer;
}

#Section:hover {
  transform: scale(1.005); /* Reducimos la escala del hover */
}

#Section:before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.1); /* Aumentamos un poco la opacidad inicial */
  transition: background 0.3s ease;
}

#Section:hover:before {
  background: rgba(0, 0, 0, 0.5); /* Ajustamos la opacidad en hover */
}

#Section .section-shop {
  position: relative;
  z-index: 2;
  padding: 20px;
  transform: translateY(10px); /* Reducimos la distancia de la animación */
  transition: transform 0.3s ease;
}

#Section:hover .section-shop {
  transform: translateY(0);
}

#Section h1 {
  background-color: rgba(255, 255, 255, 0.85);
  width: 20em;
  padding: 12px 25px;
  border: 2px solid #000;
  margin-bottom: 12px;
  font-size: 2em; /* Reducimos el tamaño de la fuente */
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #1a1a1a;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

#Section h5 {
  background-color: rgba(255, 255, 255, 0.85);
  color: #1a1a1a;
  padding: 8px 16px;
  border: 1px solid #000;
  font-size: 1em; /* Reducimos el tamaño de la fuente */
  max-width: 70%;
  margin: 0 auto;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

#Section:hover h1,
#Section:hover h5 {
  transform: scale(1.02); /* Reducimos la escala del hover */
  background-color: rgba(255, 255, 255, 0.9);
}

/* Media queries mejorados */
@media (max-width: 768px) {
  #Section {
    height: 30vh;
    margin: 10px 0;
  }

  #Section h1 {
    font-size: 1.75em;
    padding: 8px 16px;
  }

  #Section h5 {
    font-size: 0.9em;
    padding: 6px 12px;
    max-width: 85%;
  }
}

@media (max-width: 480px) {
  #Section {
    height: 25vh;
    margin: 5px 0;
  }

  #Section h1 {
    font-size: 1.25em;
    padding: 6px 12px;
    border-width: 2px;
    width: 10em;
  }

  #Section h5 {
    font-size: 0.8em;
    padding: 4px 10px;
    border-width: 1px;
    max-width: 90%;
  }
}

.register-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2em;
}

/* Media query para dispositivos móviles */
@media (max-width: 768px) {
  #Section,#Section-dama {
    height: 20vh;
    padding: 2em 1em;
  }

  .register-content {
    padding: 0 1em;
  }
}

@media (max-width: 480px) {
  #Section,#Section-dama {
    height: 30vh;
    padding: 1em 0.5em;
  }

  .register-content {
    padding: 0 0.5em;
  }
}

/* Estilos para la página Cómo Comprar */
.steps-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    padding: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.step-card {
    background-color: rgba(255, 255, 255, 0.95);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.step-card:hover {
    transform: translateY(-5px);
}

.step-card h3 {
    color: crimson;
    margin-bottom: 1rem;
    font-size: 1.5rem;
    font-family: "Bebas Neue", serif;
}

.step-card ul {
    list-style: none;
    padding-left: 0;
}

.step-card ul li {
    margin-bottom: 0.5rem;
    position: relative;
    padding-left: 1.5rem;
}

.step-card ul li:before {
    content: "•";
    color: crimson;
    font-size: 1.5rem;
    position: absolute;
    left: 0;
    top: -5px;
}

/* Media queries para responsividad */
@media (max-width: 768px) {
    .steps-container {
        padding: 1rem;
        gap: 1rem;
    }

    .step-card {
        padding: 1.5rem;
    }

    .step-card h3 {
        font-size: 1.25rem;
    }
}

@media (max-width: 480px) {
    .steps-container {
        grid-template-columns: 1fr;
    }

    .step-card {
        padding: 1rem;
    }
}

.pagination {
    display: flex;
    justify-content: center;
    margin: 20px 0;
}

.pagination a {
    color: #333;
    padding: 8px 16px;
    text-decoration: none;
    border: 1px solid #ddd;
    margin: 0 4px;
    border-radius: 4px;
    transition: background-color 0.3s;
}

.pagination a:hover {
    background-color: #f1f1f1;
}

.pagination a.active {
    background-color: #4CAF50;
    color: white;
    border: 1px solid #4CAF50;
}