@font-face {
  font-family: 'Montserrat';
  src: url('../fonts/Montserrat-Regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
}

@font-face {
  font-family: 'SUSE';
  src: url('../assets/fonts/SUSE-Regular.ttf') format('truetype');
}

:root{
  /* Colores */
  --color-primario: #ffffff;
  --color-secundario: #000000;
  --color-resaltado: #849324;
  --color-texto-oscuro: #000000;
  --color-texto-claro: #FFFFFF;
  --color-texto-muted: #4f4f4f;
  --bg-oscuro: #000000;
  --bg-claro: #FFFFFF;
  --bg-muted: #f1f1f1;

  /* tamaño de letras*/
  --texto-sm: 0.875rem;
  --texto-base: 1rem;
  --texto-lg: 1.25rem;
  --texto-xl: 1.5rem;
  --texto-2xl: 2rem;

  /* Espaciado */
  --espacio-xs: 0.5rem;
  --espacio-sm: 1rem;
  --espacio-md: 1.5rem;
  --espacio-lg: 2rem;
  --espacio-xl: 3rem;
}


* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body{
  background-color: var(--bg-muted);
  font-family: 'SUSE', sans-serif;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  color: var(--color-texto-oscuro);
}

/*header top osea la donde esta el logo y el iniciar serion y esas cositas :3*/
.header-top {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;  
  background: #fff;
  padding: 18px 32px 12px 32px;
  border-bottom: 1.5px solid #e5e7eb;

}

/* Brand (logo + título) */
.brand {
  display: flex;
  align-items: center;
  min-width: 0;
  flex-shrink: 0;
}


.brand-logo {
  max-height: 100px;
  width: auto;
  object-fit: contain;
  display: block;
}


/* NAV bar */
.main-nav {
  background: rgba(255, 255, 255, 0.51);
  backdrop-filter: blur(12px);     
  -webkit-backdrop-filter: blur(12px);
  box-shadow: none; 
  position: static;
  z-index: 3;
  width: 100%;
  left: 0;
  top: 0;
}

.nav-link {
  display: block;
  padding: var(--espacio-xs) var(--espacio-sm);
  color: var(--color-texto-oscuro);
  text-decoration: none;
  transition: background-color 0.3s ease;
  border-radius: 30px;
}

.nav-link:hover {
  color: var(--color-resaltado);
}


 /* Estilos del dialog */
  #dialogLogin { 
    border: none; 
    border-radius: 12px; 
    padding: 0; 
    max-width: 420px;
    width: 90%;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    box-shadow: 0 6px 20px rgba(0,0,0,.08);
    margin: 0;
  }
  #dialogLogin::backdrop { 
    background: rgba(0,0,0,0.5); 
  }
  #dialogLogin .login-container { 
    background: #fff; 
    padding: 24px; 
    border-radius: 12px; 
    position: relative;
  }
  #dialogLogin h1 { 
    margin: 0 0 16px; 
    font-size: 22px; 
  }
  #dialogLogin .field { 
    margin-bottom: 12px; 
  }
  #dialogLogin label { 
    display: block; 
    font-size: 13px; 
    color: #333; 
    margin-bottom: 6px; 
  }
  #dialogLogin input { 
    width: 100%; 
    padding: 10px 12px; 
    border: 1px solid #ddd; 
    border-radius: 8px; 
    font-size: 14px; 
    box-sizing: border-box;
  }
  #dialogLogin .actions { 
    margin-top: 12px; 
  }
  #dialogLogin button[type="submit"] { 
    width: 100%; 
    padding: 10px 12px; 
    border-radius: 8px; 
    border: 0; 
    background: var(--color-resaltado); 
    color: #fff; 
    font-weight: 600; 
    cursor: pointer; 
  }
  #dialogLogin button[type="submit"]:hover {
    background: #0b5ed7;
  }
  #dialogLogin .error { 
    color: #b00020; 
    font-size: 13px; 
    margin-top: 10px; 
  }
  #dialogLogin .hint { 
    font-size: 13px; 
    color: #555; 
    margin-top: 10px; 
    text-align: center;
  }
  #dialogLogin a { 
    color: var(--color-resaltado); 
    text-decoration: none; 
  }

  /* Estilos del register dialog */
  #dialogRegister { 
    border: none; 
    border-radius: 12px; 
    padding: 0; 
    max-width: 480px;
    width: 90%;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    box-shadow: 0 6px 20px rgba(0,0,0,.08);
    margin: 0;
  }
  #dialogRegister::backdrop { 
    background: rgba(0,0,0,0.5); 
  }
  #dialogRegister .register-container { 
    background: #fff; 
    padding: 24px; 
    border-radius: 12px; 
    position: relative; 
  }
  #dialogRegister h1 { 
    margin: 0 0 16px; 
    font-size: 22px; 
  }
  #dialogRegister .field { 
    margin-bottom: 12px; 
  }
  #dialogRegister label { 
    display: block; 
    font-size: 13px; 
    color: #333; 
    margin-bottom: 6px; 
  }
  #dialogRegister input { 
    width: 100%; 
    padding: 10px 12px; 
    border: 1px solid #ddd; 
    border-radius: 8px; 
    font-size: 14px; 
    box-sizing: border-box;
  }
  #dialogRegister .actions { 
    margin-top: 12px; 
  }
  #dialogRegister button[type="submit"] { 
    width: 100%; 
    padding: 10px 12px; 
    border-radius: 8px; 
    border: 0; 
    background: #198754; 
    color: #fff; 
    font-weight: 600; 
    cursor: pointer; 
  }
  #dialogRegister button[type="submit"]:hover {
    background: #157347;
  }
  #dialogRegister .error { 
    color: #b00020; 
    font-size: 13px; 
    margin-top: 10px; 
  }
  #dialogRegister .hint { 
    font-size: 13px; 
    color: #555; 
    margin-top: 10px; 
    text-align: center;
  }
  #dialogRegister a { 
    color: var(--color-resaltado); 
    text-decoration: none; 
  }

/*nav de abajo*/
.nav-bar-cols {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.6rem 2rem;
  width: 100%;
  gap: 0;
}
.nav-col {
  display: flex;
  align-items: center;
}
.nav-col-left {
  gap: 14px;
}
.nav-col-right {
  gap: 22px;
}

/*hamburguesa categorias*/
.hamburger-btn {
  background: none;
  border: none;
  padding: 8px 12px;
  cursor: pointer;
  display: flex;
  align-items: center;
}

.hamburger-icon {
  width: 28px;
  height: 28px;
  display: inline-block;
  position: relative;
}
.hamburger-icon::before,
.hamburger-icon::after,
.hamburger-icon span {
  content: '';
  display: block;
  height: 4px;
  width: 100%;
  background: #849324;
  border-radius: 4px;
  position: absolute;
}
.hamburger-icon::before {
  top: 6px;
}
.hamburger-icon span {
  top: 12px;
}
.hamburger-icon::after {
  top: 18px;
}

/* ASIDE FILTROS CATEGORIAS*/
.offcanvas-menu-categorias {
  position: fixed;
  top: 0;
  left: 0;
  height: 100%;
  min-width: 260px;
  max-width: 380px;
  width: 80vw;
  background: #fff;
  box-shadow: 4px 0 18px #0002;
  z-index: 222;
  display: none;
  flex-direction: column;
  padding: 18px 12px 12px;
  transition: transform .25s;
  transform: translateX(-100%);
}

.offcanvas-menu-categorias.abierto {
  display: flex;
  transform: translateX(0);
}

.cerrar-menu-hamburguesa {
  background: none;
  border: none;
  font-size: 28px;
  color: #888;
  position: absolute;
  top: 8px;
  right: 14px;
  cursor: pointer;
}

/*Dialog de marcas y modelos*/

#dialogMiAuto {
  border: none;
  border-radius: 16px;
  padding: 0;
  min-width: 320px; max-width: 99vw;
  box-shadow: 0 6px 35px rgba(34, 36, 56, 0.26);
  background: #fafbfc;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%,-50%);
  z-index: 1200;
}
#dialogMiAuto::backdrop {
  background: rgba(0,0,0,0.44);
}
#dialogMiAuto form {
  background: #fff;
  border-radius: 16px;
  padding: 28px 24px 20px 24px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  min-width: 240px;
}
#dialogMiAuto h2 {
  margin-bottom: 8px;
  color: #232d47;
  font-size: 1.28rem;
  font-weight: 700;
  text-align: center;
}
#dialogMiAuto .field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 7px;
}
#dialogMiAuto label {
  font-size: 1rem;
  color: #849324;
  font-weight: 600;
}
#dialogMiAuto select {
  padding: 8px 10px;
  border-radius: 7px;
  border: 1px solid #ced4da;
  font-size: 1rem;
  background: #f4f7fd;
}
#dialogMiAuto button[type="submit"] {
  margin-top: 13px;
  border-radius: 9px;
  border: none;
  font-size: 1rem;
  font-weight: 600;
  padding: 11px 0;
  background: #849324;
  color: #fff;
  transition: background 0.18s;
  cursor: pointer;
}
#dialogMiAuto button[type="submit"]:hover {
  background: #6d7d1e;
}
#dialogMiAuto button[type="button"] {
  margin-top: 8px;
  border-radius: 9px;
  border: none;
  font-size: 1rem;
  background: #eaeaea;
  color: #424242;
  padding: 10px 0;
  cursor: pointer;
  transition: background 0.16s;
}
#dialogMiAuto button[type="button"]:hover {
  background: #e5e7eb;
} 

.mi-auto-btn {
  background: none;
  border: none;
  padding: 5px;
  cursor: pointer;
  display: flex;
  align-items: center;
  transition: transform 0.18s;
}
.mi-auto-btn svg {
  width: 40px;
  height: 40px;
  fill: #849324;
  transition: filter .18s;
}
.mi-auto-btn:hover {
  transform: scale(1.08);
}
 .mi-auto-text{
  font-size: 0.95rem;
  color: #849324;
  font-weight: 600;
  margin-left: 6px;
 }
 
/* Main */
.site-main {
  flex: 1;
  color: var(--bg-oscuro);
}

/*Seccion comprar por categoria*/

.comprar-categorias {
  max-width: 1200px;
  margin: 3rem auto 2rem auto;
  padding: 1.5rem 1.5rem 2rem 1.5rem;
  background: #fff;
  text-align: center;
  color: var(--color-texto-oscuro);
}

.comprar-categorias-title {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 2.5rem;
  color: #111;
}

.categoria-boxes {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2.2rem 1.2rem;
  margin-bottom: 2rem;
}

.categoria-box {
  background: #fafbfc;
  border-radius: 19px;
  overflow: hidden;
  box-shadow: 0 2px 10px #00000010;
  transition: box-shadow 0.2s, transform 0.18s;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  text-align: center;
  padding-bottom: 1.2rem;
}

.categoria-box img {
  width: 100%;
  height: 100%;
  min-height: 180px;
  max-height: 260px;
  aspect-ratio: 4/3;
  object-fit: cover;
  display: block;
  border: none;
  border-radius: 12px 12px 0 0;
  box-shadow: none;
}

.categoria-box-info {
  padding-top: 1rem;
}

.categoria-box-info h3 {
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: 0.7rem;
  color: var(--color-texto-oscuro);
}

.btn-categoria {
  display: inline-block;
  background: var(--color-resaltado);
  color: #fff;
  font-weight: 500;
  border-radius: 10px;
  padding: 0.5rem 1.3rem;
  text-decoration: none;
  transition: background 0.17s;
  border: none;
  cursor: pointer;
}
.btn-categoria:hover { background: #0b5bc2; }

.btn-ver-mas-categorias {
  display: inline-block;
  margin-top: 6px;
  background: #fff;
  color: var(--color-resaltado);
  font-weight: 600;
  border: 1.5px solid var(--color-resaltado);
  border-radius: 10px;
  padding: 0.65rem 2.1rem;
  text-decoration: none;
  transition: background 0.14s, color 0.14s;
  cursor: pointer;
}
.btn-ver-mas-categorias:hover { 
  background: var(--color-resaltado);
  color: #fff;
}

/* Hero section */

.hero-section {
  width: 100%;
  max-width: 100%;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  min-height: 420px;
  padding-top: 0px;
  background: transparent;
  z-index: 3;
}

.header-searchbar {
  flex: 1 1 380px;
  max-width: 500px;
  margin: 0 32px;
  display: flex;
  align-items: center;
  background: #f8faff;
  padding: 6px 16px;
  border-radius: 30px;
  border: 1px solid #e5e7eb;
  box-shadow: 0 1px 4px #0001;
  min-width: 180px;
}

.header-searchbar .search-icon {
  min-width: 24px;
  min-height: 24px;
  width: 24px;
  height: 24px;
  flex-shrink: 0;
}

.header-searchbar input[type="search"] {
  flex: 1 1 0;
  border: none;
  outline: none;
  background: transparent;
  font-size: 1rem;
  padding: 6px 4px;
}

.hero-section input[type="search"]::placeholder {
  color: #888;
  opacity: 1;
  font-size: var(--texto-sm);
  margin-left: 1rem;
}
.hero-section, .carrusel {
  position: relative;
  z-index: 1;
}

.carrusel {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  height: 450px;
  position: relative;
  overflow: hidden;
  margin: 0;
}

.carrusel-contendor {
  width: 100%;
  max-width: 100%;
  position: relative;
  margin: 0 auto;
}

.carrusel img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  filter: brightness(0.85);
  opacity: 0;
  pointer-events: none;
  position: absolute;
  left: 0;
  top: 0;
  transition: opacity 0.5s cubic-bezier(.4,0,.2,1), transform 7s cubic-bezier(.4,0,.2,1);
  transform: scale(1);
  z-index: 1;
}
.carrusel img.activo {
  opacity: 1;
  pointer-events: auto;
  position: relative;
  z-index: 2;
  transform: scale(1.09);
}

.carrusel-indicadores {
  position: absolute;
  left: 50%;
  bottom: 18px;
  top: auto;
  z-index: 3;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  pointer-events: auto;
  justify-content: center;
}
.carrusel-indicadores button {
  width: 13px;
  height: 13px;
  border-radius: 50%;
  border: none;
  background: #fff;
  cursor: pointer;
  outline: none;
  transition: background 0.2s, box-shadow 0.2s;
  box-shadow: 0 1px 5px #0002;
}
.carrusel-indicadores button.activo {
  background: #fff;
  box-shadow: 0 2px 8px #fff8;
}

/* Carrusel productos destacados */

.carrusel-productos-contendor {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  position: relative;
  margin: 0 auto 2.5rem auto;
  max-width: 1400px;
  width: 100%;
}
.carrusel-productos {
  width: 100%;
  max-width: 1200px;
  min-height: 320px;
  overflow: hidden;
  position: relative;
  display: flex;
  align-items: stretch;
}
.carrusel-productos .product-card {
  min-width: 32%;
  max-width: 32%;
  flex: 0 0 32%;
  margin: 0 1%;
  transition: transform 0.5s cubic-bezier(.4,0,.2,1), opacity 0.5s;
  opacity: 0.5;
  pointer-events: none;
  position: relative;
  left: 0;
  top: 0;
  z-index: 1;
  display: block;
}
.carrusel-productos .product-card.activo {
  opacity: 1;
  pointer-events: auto;
  z-index: 2;
  transform: scale(1.04);
}
.carrusel-flecha {
  background: #fff;
  border: none;
  width: 34px;
  height: 34px;
  min-width: 34px;
  min-height: 34px;
  border-radius: 50%;
  box-shadow: 0 2px 8px rgba(0,0,0,0.10);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.18s, box-shadow 0.18s, filter 0.18s;
  position: relative;
  z-index: 10;
  padding: 0;
  outline: none;
  border: 1.5px solid #e5e7eb;
}
.carrusel-flecha svg {
  width: 18px;
  height: 18px;
  min-width: 18px;
  min-height: 18px;
  max-width: 18px;
  max-height: 18px;
  display: block;
  fill: #0f172a;
  margin: auto;
  pointer-events: none;
}
.carrusel-flecha:hover {
  background: #f3f6fa;
  box-shadow: 0 4px 16px rgba(0,0,0,0.16);
  filter: brightness(1.08);
  border-color: #b6c2d6;
}

/* Productos destacados seccion*/
.products-section {
  width: 100%;
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 2.5rem;
  margin-top: 3rem;
  box-sizing: border-box;
  flex-wrap: wrap;
}

.destacados-title {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 3rem;
  display: block;
  width: 100%;
}
.products-container-main {
  flex: 1 1 0%;
  min-width: 0;
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
}
#cardsGrid.grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem 1.2rem;
}

.products-toolbar {
  width: 100%;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  margin-left: 20px;
}

/* ASIDE FILTROS CATEGORIAS*/
#aside-filtros {
  color: var(--color-texto-oscuro);
  background: var(--bg-claro);
  border-radius: 0px 16px 16px 0px;
  padding: 1.4rem 1.2rem 1.2rem 1.2rem;
  box-shadow: 0 10px 26px rgba(0,0,0,0.06);
  min-width: 200px;
  max-width: 270px;
  flex: 0 0 240px;
  height: fit-content;
  position: sticky;
  top: 55px;
  box-sizing: border-box;
  border: 1px solid #e5e7eb;
}

/* Árbol de categorías expandible - CONSOLIDATED */
#form-categorias ul {
  list-style: none;
  margin-left: 1em;
  padding-left: 1em;
  display: none;
  transition: max-height 0.3s, opacity 0.3s;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
}

#form-categorias ul.cat-root {
  display: block !important;
  max-height: none;
  opacity: 1;
  margin-left: 0;
  padding-left: 0;
}

#form-categorias li {
  position: relative;
}

#form-categorias li.expandido > ul {
  display: block;
  max-height: 1000px;
  opacity: 1;
}


/* Toolbar y chips */
.cats-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin: 0 0 8px 0;
}
.btn-clear {
  appearance: none;
  background: #f8fafc;
  border: 1px solid #e5e7eb;
  color: #0f172a;
  padding: 6px 10px;
  border-radius: 8px;
  font-size: 0.85rem;
  cursor: pointer;
}
.btn-clear:hover { background: #eef2f7; }
.cats-selected {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 6px 0 10px 0;
}
.cat-chip {
  border: 1px solid #e5e7eb;
  background: #f9fafb;
  color: var(--color-texto-oscuro);
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 0.80rem;
  cursor: pointer;
}
.cat-chip:hover { background: #eef2f7; }



@media (max-width: 900px) {
  #aside-filtros {
    max-width: none;
    width: 100%;
    margin: 0 0 2rem 0;
    position: static;
  }
  .products-section {
    flex-direction: column;
  }
}

/* seccion marcas destacadas*/

.seccion-marcas {
  width: 100%;
  max-width: 1200px;
  margin: 3rem auto 2rem auto;
  padding: 1.5rem;
  background: #fff;
  text-align: center;
}

.marcas-logos{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(2, auto);
  gap: 3.5rem 2.5rem;
  justify-items: center;
  align-items: center;
  margin: 2rem auto 0 auto;
  max-width: 700px;
}

.marcas-logos img {
  width: 180px;
  height: 120px;
  object-fit: contain;
  padding: 0.2rem;
  background: none;
  border-radius: 0;
  box-shadow: none;
  filter: drop-shadow(0 2px 10px rgba(0,0,0,0.18));
  transition: transform 0.2s, filter 0.2s;
}
.marcas-logos img:hover {
  transform: scale(1.10);
  filter: drop-shadow(0 4px 18px rgba(0,0,0,0.28));
}
/* Footer */

.site-footer {
  background: linear-gradient(135deg, #ffffff 0%, #f9fafb 100%);
  width: 100%;
  border-top: 1px solid #e5e7eb;
  margin-top: 4rem;
}

.site-footer li {
  list-style: none;
  margin-bottom: 0.8rem;
}

.site-footer a {
  text-decoration: none;
  color: var(--color-texto-oscuro);
  font-size: var(--texto-sm);
  transition: all 0.3s ease;
}

.site-footer a:hover {
  color: var(--color-resaltado);
  transform: translateX(4px);
}

.footer-1 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  max-width: 1200px;
  margin: 0 auto;
  padding: 3.5rem 2rem;
  width: 100%;
  gap: 3rem;
}

.footer-1 > div {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.general-footer {
  display: flex;
  align-items: flex-start;
  flex-direction: row;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.general-footer img {
  width: 100px;
  height: auto;
  object-fit: contain;
  align-self: flex-start;
  margin-right: 0.5rem;
}

.footer-utiles h4,
.footer-about h4,
.footer-redes h4{
  font-size: 1rem;
  font-weight: 700;
  margin: 0 0 1rem 0;
  color: #0f172a;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border-bottom: 2px solid var(--color-resaltado);
  padding-bottom: 0.5rem;
}

.footer-redes ul {
  display: flex;
  flex-direction: row;
  gap: 1rem;
  align-items: center;
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-utiles li,
.footer-about li {
  font-size: var(--texto-sm);
  color: var(--color-texto-oscuro);
  margin: 0;
}

.footer-2 {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  color: #ffffff;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding: 0.2rem 2rem;
  font-size: var(--texto-sm);
  border-top: 1px solid #334155;
}

.copy {
  text-align: left;
}

.copy p {
  margin: 0;
  color: var(--color-texto-muted);
}

.links-legal {
  display: flex;
  gap: 2.5rem;
  flex-wrap: wrap;
  justify-content: center;
}

.links-legal a {
  color: var(--color-texto-muted);
  transition: all 0.3s ease;
}

.links-legal a:hover {
  color: var(--color-resaltado);
  transform: translateY(-2px);
}

.footer-social {
  display: flex;
  gap: 2.5rem;
  flex-wrap: wrap;
  margin-left: auto;
}

@media (max-width: 768px) {
  .footer-1 {
    grid-template-columns: 1fr;
    padding: 2.5rem 1.5rem;
    gap: 2rem;
  }

  .footer-2 {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    text-align: center;
  }

  .copy {
    text-align: center;
  }

  .links-legal {
    justify-content: center;
    gap: 1.5rem;
  }

  .site-footer a:hover {
    transform: none;
  }

}





/*Boton autentificacion(????????????????*/
.auth-ui {
  display: flex;
  align-items: center;
}

.btn-auth {
  display: flex;
  align-items: center;
  font-family: 'SUSE', sans-serif;
  gap: 8px;
  padding: 8px 16px;
  text-decoration: none;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
}

/* Estado: Iniciar Sesión */
.btn-login {
  background: none;
  border: var(--bg-oscuro);
  color: var(--color-texto-oscuro);
  box-shadow: none;
  font-size: var(--espacio-sm);
}


/* Ajuste para el header actions */
.header-actions {
  display: flex;
  align-items: center;
}

/* Asegura visibilidad de botones en las cards */
.product-card .btn {
  display: flex !important;
  align-items: center;
  justify-content: center;
  opacity: 1 !important;
  visibility: visible !important;
  height: auto !important;
  padding: 8px 12px !important;
  text-transform: none;
}

/*Diseño para el boton de continuar con google del dialog*/

/* Estilo moderno para el botón de Google */
.btn-google-style {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 100%;
  background-color: #ffffff;
  color: #1f1f1f;
  border: 1px solid #747775;
  padding: 12px 16px;
  border-radius: 24px; /* Forma de píldora moderna */
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
  transition: background-color .2s, box-shadow .2s, border-color .2s;
  margin-top: 15px;
}

.btn-google-style:hover {
  background-color: #f8f9fa;
  border-color: #d2d2d2;
  box-shadow: 0 1px 3px 0 rgba(60,64,67,.30), 0 4px 8px 3px rgba(60,64,67,.15);
}

.btn-google-style:active {
  background-color: #eeeeee;
}

.btn-google-style img {
  display: block;
}

/* Contenedor del formulario para centrar el botón */
#loginForm {
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Evita que el texto de las cards desaparezca en modo oscuro si no está definido */
@media (prefers-color-scheme: dark) {
  .product-card .card-text { color: #9ca3af !important; }
  .product-card .price { color: #fff !important; }
}