/* Layout general de la tienda pública: header, banner, footer */

.shop-header {
  position: sticky;
  top: 0;
  z-index: 300;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border-color);
}
.shop-header-inner {
  height: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-md);
}

.shop-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-heading);
  font-size: var(--fs-lg);
  color: var(--color-black);
  flex-shrink: 0;
}
.shop-logo img { width: 36px; height: 36px; border-radius: 50%; object-fit: cover; }
.shop-logo span { color: var(--color-secondary); }

.shop-nav {
  display: flex;
  align-items: center;
  gap: var(--space-lg);
}
.shop-nav a {
  font-size: var(--fs-sm);
  font-weight: 500;
  color: var(--color-text);
  transition: color var(--transition-fast);
}
.shop-nav a:hover { color: var(--color-primary-dark); }

.shop-header-actions {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.icon-btn {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text);
  transition: background var(--transition-fast);
  position: relative;
}
.icon-btn:hover { background: var(--color-gray-light); }
.cart-badge {
  position: absolute;
  top: 2px;
  right: 2px;
  background: var(--color-secondary);
  color: var(--color-black);
  font-size: 10px;
  font-weight: 700;
  min-width: 18px;
  height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 4px;
}

/* ===== Banner principal ===== */
.shop-banner {
  background: linear-gradient(120deg, var(--color-primary-light) 0%, var(--color-white) 60%);
  padding: var(--space-xxl) 0;
  overflow: hidden;
  position: relative;
}
.shop-banner-content {
  max-width: 560px;
  animation: fade-in var(--transition-slow) ease both;
}
.shop-banner-eyebrow {
  color: var(--color-secondary-dark);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: var(--fs-xs);
  margin-bottom: var(--space-sm);
}
.shop-banner h1 {
  font-size: clamp(2rem, 5vw, var(--fs-display));
  margin-bottom: var(--space-md);
}
.shop-banner p {
  color: var(--color-text-muted);
  font-size: var(--fs-md);
  margin-bottom: var(--space-lg);
}
.shop-banner-blob {
  position: absolute;
  right: -80px;
  top: -80px;
  width: 380px;
  height: 380px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--color-primary) 0%, transparent 70%);
  opacity: 0.6;
}

/* ===== Secciones ===== */
.shop-section {
  padding: var(--space-xxl) 0;
}
.shop-section-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: var(--space-lg);
}
.shop-section-header h2 { margin-bottom: 4px; }
.shop-section-header p { color: var(--color-text-muted); margin: 0; font-size: var(--fs-sm); }

/* ===== Footer ===== */
.shop-footer {
  background: var(--color-black);
  color: rgba(255,255,255,0.8);
  padding: var(--space-xxl) 0 var(--space-lg);
  margin-top: var(--space-xxl);
}
.shop-footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--space-xl);
  margin-bottom: var(--space-xl);
}
.shop-footer h4 {
  color: var(--color-white);
  font-family: var(--font-body);
  font-size: var(--fs-sm);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: var(--space-md);
}
.shop-footer a, .shop-footer p { font-size: var(--fs-sm); color: rgba(255,255,255,0.65); }
.shop-footer-social {
  display: flex;
  gap: var(--space-sm);
  margin-top: var(--space-sm);
}
.shop-footer-social a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
}
.shop-footer-bottom {
  text-align: center;
  font-size: var(--fs-xs);
  color: rgba(255,255,255,0.4);
  padding-top: var(--space-lg);
  border-top: 1px solid rgba(255,255,255,0.08);
}

@media (max-width: 768px) {
  .shop-nav { display: none; }
}
