/* ================================
   FLOATING CARDS
   ================================ */

.floating-cards {
  position: relative;
  z-index: 10;
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: -56px;
  flex-wrap: wrap;
  padding: 0 20px;
}

.floating-cards .card {
  background: rgba(255,255,255,0.72);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  width: 210px;
  padding: 18px 14px;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,0.8);
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
  text-align: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  flex-shrink: 0;
}

.floating-cards .card:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 18px rgba(0,0,0,0.1);
}

.floating-cards .card a {
  text-decoration: none;
  color: #1d1d1f;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.card-icon {
  width: 28px;
  height: 28px;
  object-fit: contain;
  opacity: 0.8;
}

.card-title {
  font-size: 13px;
  font-weight: 600;
  color: #1d1d1f;
  letter-spacing: -0.01em;
}

.card-desc {
  font-size: 11px;
  color: #6e6e73;
  line-height: 1.4;
}

/* ================================
   ABOUT CARD
   ================================ */

.about-section {
  width: 100%;
  max-width: 760px;
  margin: 60px auto 0;
  padding: 0 20px;
}

.about-card {
  background: rgba(255,255,255,0.72);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,0.8);
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
  border-radius: 20px;
  padding: 52px 60px;
  text-align: center;
}

.about-card h2 {
  font-size: 30px;
  font-weight: 600;
  letter-spacing: -0.03em;
  color: #1d1d1f;
  margin-bottom: 18px;
}

.about-card p {
  font-size: 15px;
  line-height: 1.8;
  color: #6e6e73;
  margin-bottom: 12px;
}

.about-card p:last-of-type {
  margin-bottom: 0;
}

.about-card strong {
  color: #1d1d1f;
  font-weight: 500;
}

.about-stats {
  display: flex;
  justify-content: center;
  gap: 48px;
  margin-top: 32px;
  padding-top: 28px;
  border-top: 1px solid #d2d2d7;
}

.about-stat .stat-number {
  display: block;
  font-size: 26px;
  font-weight: 600;
  color: #149440;
  letter-spacing: -0.03em;
}

.about-stat .stat-label {
  display: block;
  font-size: 12px;
  color: #6e6e73;
  margin-top: 3px;
}

/* ================================
   PRODUCTO CARD
   ================================ */

.contenedor-catalogo {
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 20px 40px;
  width: 100%;
}

.grid-title {
  text-align: center;
  font-size: 26px;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: #1d1d1f;
  margin-bottom: 28px;
}

.catalogo-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
}

.producto-card {
  background: rgba(255,255,255,0.72);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,0.8);
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
  border-radius: 16px;
  padding: 20px 16px;
  width: 210px;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 8px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.producto-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 18px rgba(0,0,0,0.1);
  border-color: rgba(255,255,255,0.95);
}

.producto-card img {
  width: 100%;
  height: 160px;
  object-fit: contain;
}

.producto-card h3 {
  font-size: 14px;
  font-weight: 500;
  color: #1d1d1f;
  line-height: 1.3;
}

.producto-card p {
  font-size: 13px;
  color: #6e6e73;
  line-height: 1.5;
}

.producto-card .precio {
  font-size: 16px;
  font-weight: 600;
  color: #149440;
}

.producto-card .btn-ver,
.btn-agregar,
.btn-ver{
  display: inline-block;
  background-color: #149440;
  color: #fff;
  text-decoration: none;
  padding: 8px 20px;
  border-radius: 100px;
  font-size: 13px;
  font-weight: 500;
  transition: background-color 0.2s ease;
  margin-top: auto;
}

.producto-card .btn-ver:hover,
.btn-agregar:hover,
.btn-ver:hover{
  background-color: #0f7333;
}

/* ================================
   CATÁLOGO — FILTROS
   ================================ */

.filtros-bar {
  display: flex;
  flex-direction: column;
  gap: 0;
  width: 100%;
  max-width: 1200px;
  margin: 24px auto 0;
  background: rgba(255,255,255,0.72);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,0.8);
  border-radius: 16px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
  overflow: hidden;
}

.filtros-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 20px;
}

.filtros-toggle {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 6px 14px;
  font-size: 13px;
  color: #1d1d1f;
  background: #fff;
  border: 1px solid #d2d2d7;
  border-radius: 100px;
  cursor: pointer;
  transition: border-color 0.2s;
}

.filtros-toggle:hover {
  border-color: #149440;
}

.filtros-chevron {
  font-size: 11px;
  color: #6e6e73;
}

.filtros-cuerpo {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  padding: 0 20px 14px;
}

.filtros-bar:has(.filtros-cuerpo:not([style*="none"])) .filtros-header {
  border-bottom: 1px solid #f0f0f0;
  padding-bottom: 12px;
}

.filtro-grupo {
  display: flex;
  align-items: center;
  gap: 7px;
}

.filtro-grupo label {
  font-size: 12px;
  color: #6e6e73;
  white-space: nowrap;
}

.filtro-grupo select {
  padding: 6px 28px 6px 12px;
  font-size: 13px;
  border-radius: 100px;
  border: 1px solid #d2d2d7;
  background-color: #fff;
  color: #1d1d1f;
  cursor: pointer;
  outline: none;
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='10' viewBox='0 0 12 12'%3E%3Cpath fill='%236e6e73' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 10px center;
}

.filtro-sep {
  width: 1px;
  height: 24px;
  background: #d2d2d7;
  flex-shrink: 0;
}

.filtro-precio {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 1;
  min-width: 160px;
}

.precio-toggle {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 6px 14px;
  font-size: 13px;
  color: #1d1d1f;
  background: #fff;
  border: 1px solid #d2d2d7;
  border-radius: 100px;
  cursor: pointer;
  white-space: nowrap;
  transition: border-color 0.2s;
}

.precio-toggle:hover {
  border-color: #149440;
}

.precio-chevron {
  font-size: 11px;
  color: #6e6e73;
}

.precio-inputs {
  display: flex;
  align-items: center;
  gap: 6px;
}

.precio-prefix {
  font-size: 13px;
  color: #6e6e73;
}

.precio-dash {
  font-size: 13px;
  color: #d2d2d7;
}

.precio-inputs input[type="number"] {
  width: 90px;
  padding: 6px 10px;
  font-size: 13px;
  border-radius: 100px;
  border: 1px solid #d2d2d7;
  background-color: #fff;
  color: #1d1d1f;
  outline: none;
  -moz-appearance: textfield;
}

.precio-inputs input[type="number"]::-webkit-inner-spin-button,
.precio-inputs input[type="number"]::-webkit-outer-spin-button {
  -webkit-appearance: none;
}

.precio-inputs input[type="number"]:focus {
  border-color: #149440;
}

.filtro-reset {
  font-size: 12px;
  color: #6e6e73;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px 8px;
  border-radius: 6px;
  transition: color 0.2s, background 0.2s;
  white-space: nowrap;
}

.filtro-reset:hover {
  color: #1d1d1f;
  background: rgba(0,0,0,0.05);
}

/* ================================
   CATÁLOGO — TÍTULOS
   ================================ */

.catalogo-wrapper {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px 40px;
}

.titulo-categoria {
  text-align: center;
  padding: 48px 0 8px;
}

.titulo-categoria h2 {
  font-size: 42px;
  font-weight: 600;
  letter-spacing: -0.03em;
  color: #1d1d1f;
}

.titulo-marca {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 28px 0 12px;
}

.titulo-marca::after {
  content: '';
  flex: 1;
  height: 1px;
  background: #d2d2d7;
}

.titulo-marca h3 {
  font-size: 18px;
  font-weight: 500;
  color: #1d1d1f;
  letter-spacing: -0.01em;
  white-space: nowrap;
}

/* ================================
   PERFIL
   ================================ */

.perfil-contenido {
  width: 100%;
  max-width: 1200px;
  margin: 40px auto 60px;
  padding: 0 20px;
}

.perfil-header {
  text-align: center;
  margin-bottom: 36px;
}

.perfil-nombre {
  font-size: 32px;
  font-weight: 600;
  letter-spacing: -0.03em;
  color: #1d1d1f;
  margin-bottom: 6px;
}

.perfil-email {
  font-size: 15px;
  color: #6e6e73;
}

/* ================================
   CERRAR SESIÓN
   ================================ */

.cerrar-sesion-container {
  display: flex;
  justify-content: center;
  margin-top: 40px;
}

.btn-cerrar-sesion {
  background: #c0392b;
  border: none;
  color: #fff;
  padding: 10px 28px;
  border-radius: 100px;
  font-size: 14px;
  font-weight: 500;
  font-family: inherit;
  cursor: pointer;
  transition: background 0.2s ease;
}

.btn-cerrar-sesion:hover {
  background: #a93226;
}

/* ================================
   FOOTER
   ================================ */

.footer {
  width: 100%;
  border-top: 1px solid #d2d2d7;
  padding: 24px 20px;
  margin-top: auto;
}

.footer .container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

.footer-copy {
  font-size: 13px;
  color: #6e6e73;
}

/* ================================
   RESPONSIVE
   ================================ */

@media (max-width: 768px) {
  .floating-cards {
    gap: 10px;
    margin-top: -40px;
  }

  .floating-cards .card {
    width: 148px;
    padding: 14px 10px;
    border-radius: 14px;
  }

  .filtros-cuerpo {
    gap: 8px;
    padding: 0 14px 12px;
  }

  .filtro-sep {
    display: none;
  }

  .filtro-precio {
    min-width: unset;
    flex-wrap: wrap;
  }

  .precio-inputs input[type="number"] {
    width: 76px;
  }

  .perfil-contenido {
    margin-top: 24px;
  }

  .perfil-nombre {
    font-size: 24px;
  }
}

@media (max-width: 600px) {
  .floating-cards {
    margin-top: -28px;
  }

  .floating-cards .card {
    width: calc(50% - 8px);
    min-height: 100px;
  }

  .about-card {
    padding: 32px 24px;
  }

  .about-card h2 {
    font-size: 22px;
  }

  .about-card p {
    font-size: 14px;
  }

  .about-stats {
    gap: 20px;
  }

  .about-stat .stat-number {
    font-size: 20px;
  }

  .producto-card {
    width: calc(50% - 8px);
  }

  .titulo-categoria h2 {
    font-size: 28px;
  }

  .titulo-marca h3 {
    font-size: 15px;
  }
}

@media (max-width: 400px) {
  .producto-card {
    width: 100%;
  }
}