* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background-color: #f5f5f7;
  color: #111827;
}

a {
  text-decoration: none;
  color: inherit;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* HEADER SIMPLE */
.site-header {
  padding: 12px 24px;
  background-color: #ffffff;
  box-shadow: 1px solid #ddd;
}
.logo-link {
    display: inline-block;
}

.logo-header {
    height: 60px;   /* cambia este valor si lo quieres más grande o más chico */
    width: auto;
    display: block;
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.site-logo {
  font-weight: 800;
  font-size: 1.3rem;
  color: #ef4444;
}

.site-nav a {
  margin-left: 1.5rem;
  font-size: 0.95rem;
  color: #4b5563;
}

/* HERO */
.hero {
  background: radial-gradient(circle at top left, #fecaca 0, #fde68a 40%, #ffffff 100%);
  padding: 3.5rem 0 4rem;
  text-align: center;
}

.hero-badge {
  display: inline-block;
  padding: 0.2rem 0.7rem;
  border-radius: 999px;
  background-color: #fee2e2;
  color: #b91c1c;
  font-size: 0.75rem;
  font-weight: 600;
  margin-bottom: 0.8rem;
}

.hero-title {
  font-size: 3rem;
  font-weight: 800;
}

.hero-title span {
  color: #ec4899;
}

.hero-subtitle {
  margin-top: 0.8rem;
  color: #4b5563;
}

.hero-actions {
  margin-top: 1.8rem;
  display: flex;
  justify-content: center;
  gap: 1rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.7rem 1.6rem;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  font-size: 0.9rem;
  font-weight: 600;
}

.btn-primary {
  background: linear-gradient(to right, #f97316, #ef4444);
  color: white;
  box-shadow: 0 10px 25px rgba(248, 113, 113, 0.5);
}

.btn-outline {
  background-color: white;
  color: #111827;
  border: 1px solid #e5e7eb;
}

/* SECCIÓN DE TÍTULO */
.section {
  padding: 2.5rem 0 3rem;
}

.section-title {
  font-size: 1.5rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 1.5rem;
}

.section-title span {
  border-bottom: 3px solid #ef4444;
  padding-bottom: 0.3rem;
}

/* GRID DE PRODUCTOS */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 1.5rem;
}

.product-card {
  background-color: white;
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.06);
  display: flex;
  flex-direction: column;
}

.product-card__image-wrapper {
  width: 100%;
  height: 190px;
  overflow: hidden;
}

.product-card__image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-card__body {
  padding: 0.9rem 1rem 1rem;
}

.product-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem;
  margin-bottom: 0.4rem;
}

.tag {
  padding: 0.15rem 0.55rem;
  border-radius: 999px;
  background-color: #fee2e2;
  font-size: 0.65rem;
  font-weight: 600;
  color: #b91c1c;
}

.tag--brand {
  background-color: #e5e7eb;
  color: #374151;
}

.product-name {
  font-weight: 600;
  margin-bottom: 0.35rem;
}

.product-price {
  color: #ef4444;
  font-weight: 700;
}

.product-stock {
  font-size: 0.8rem;
  color: #6b7280;
}

.product-card__footer {
  margin-top: 0.7rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.btn-sm {
  padding: 0.45rem 0.9rem;
  font-size: 0.8rem;
}

/* BARRA DE BÚSQUEDA Y FILTROS */
.filters-bar {
  padding: 1.8rem 0 1rem;
}

.search-input-wrapper {
  background-color: white;
  border-radius: 999px;
  padding: 0.7rem 1.2rem;
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.06);
  display: flex;
  align-items: center;
}

.search-input-wrapper input {
  border: none;
  outline: none;
  flex: 1;
  font-size: 0.95rem;
}

.filters-chips {
  margin-top: 1.2rem;
  display: flex;
  gap: 0.6rem;
}

.chip {
  padding: 0.35rem 0.9rem;
  border-radius: 999px;
  border: 1px solid #e5e7eb;
  font-size: 0.8rem;
  cursor: pointer;
  background-color: white;
}

.chip--active {
  background-color: #111827;
  color: white;
  border-color: #111827;
}

.catalog-summary {
  font-size: 0.85rem;
  color: #6b7280;
  margin-bottom: 0.9rem;
}

/* CARRITO */
.cart-container {
  padding: 2.5rem 0 3rem;
}

.cart-layout {
  display: grid;
  grid-template-columns: 2fr 1.1fr;
  gap: 2rem;
}

.cart-card,
.cart-summary {
  background-color: white;
  border-radius: 1rem;
  padding: 1.5rem;
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.06);
}

.cart-item {
  display: grid;
  grid-template-columns: 70px 1fr auto;
  gap: 1rem;
  align-items: center;
  padding-bottom: 1rem;
  border-bottom: 1px solid #e5e7eb;
  margin-bottom: 1rem;
}

.cart-item:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.cart-item img {
  width: 70px;
  height: 70px;
  object-fit: cover;
  border-radius: 0.7rem;
}

.cart-item-title {
  font-weight: 600;
}

.cart-item-meta {
  font-size: 0.8rem;
  color: #6b7280;
}

.cart-item-actions {
  text-align: right;
  font-size: 0.85rem;
}

.cart-total-row {
  display: flex;
  justify-content: space-between;
  margin-top: 1rem;
  font-weight: 600;
}

/* FOOTER */
.site-footer {
  margin-top: 3rem;
  padding: 2.5rem 0 1.5rem;
  background-color: #f9fafb;
  border-top: 1px solid #e5e7eb;
  font-size: 0.9rem;
}

.site-footer__top {
  display: grid;
  grid-template-columns: 2fr 1fr 1.3fr;
  gap: 2rem;
  margin-bottom: 1.5rem;
}

.site-footer__logo {
  font-weight: 800;
  color: #ef4444;
  margin-bottom: 0.5rem;
}

.site-footer__heading {
  font-weight: 600;
  margin-bottom: 0.6rem;
}

.site-footer ul {
  list-style: none;
}

.site-footer li + li {
  margin-top: 0.3rem;
}

.site-footer__bottom {
  border-top: 1px solid #e5e7eb;
  padding-top: 1rem;
  text-align: center;
  color: #9ca3af;
  font-size: 0.8rem;
}

@media (max-width: 900px) {
  .cart-layout {
    grid-template-columns: 1fr;
  }

  .site-footer__top {
    grid-template-columns: 1fr;
  }
}
.admin-table {
    width: 100%;
    border-collapse: collapse; /* para que las líneas se vean limpias */
    font-size: 0.95rem;
}

.admin-table th,
.admin-table td {
    padding: 10px 14px;          /* más espacio interno */
    border-bottom: 1px solid #946161; /* raya que separa cada fila */
    text-align: left;
}

.admin-table thead th {
    background-color: #f5f5f5;   /* fondo del encabezado */
    border-bottom: 2px solid #d0d0d0;
    font-weight: 600;
}

.admin-table tbody tr:nth-child(even) {
    background-color: #fafafa;   /* rayas tipo “zebra” para alternar filas */
}

.admin-table tbody tr:hover {
    background-color: #f0f4ff;   /* resalta la fila al pasar el mouse */
}
.talla-label {
  font-weight: 600;
  margin-right: 8px;
  color: #333;
}

.talla-select {
  padding: 8px 16px;
  border: 1.5px solid #bdbdbd;
  border-radius: 8px;
  background: #fafbfc;
  font-size: 1rem;
  color: #222;
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
  margin-bottom: 0.5rem;
  box-shadow: 0 1px 2px rgba(0,0,0,0.03);
}

.talla-select:focus {
  border-color: #6c63ff;
  box-shadow: 0 0 0 2px #e0e7ff;
}

.talla-select option {
  background: #fff;
  color: #222;
}