:root {
  /* Colores marca (aprox) */
  --paris-blue: #00AEEF;
  --falabella-green: #AAD500;
  --ripley-yellow: #FECF00;
  --hites-orange: #FFA423;

  /* Neutros */
  --dark: #111111;
  --gray-900: #1f2933;
  --gray-700: #4b5563;
  --gray-600: #6b7280;
  --gray-500: #9ca3af;
  --gray-200: #e5e7eb;
  --gray-100: #f3f4f6;
  --white: #ffffff;

  /* Misceláneos */
  --danger: #e11d48;
  --success: #16a34a;
  --radius-lg: 18px;
  --shadow-soft: 0 18px 45px rgba(15, 23, 42, 0.14);
  --transition-fast: 0.18s ease-out;
  --transition-med: 0.26s ease-out;
}

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

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: radial-gradient(circle at top left, #f9fafb, #e5e7eb);
  color: var(--gray-900);
  line-height: 1.5;
}

img {
  max-width: 100%;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
}

.page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* HEADER / NAV */

header {
  backdrop-filter: blur(12px);
  background: linear-gradient(to right, rgba(255, 255, 255, 0.9), rgba(243, 244, 246, 0.9));
  border-bottom: 1px solid rgba(148, 163, 184, 0.4);
  position: sticky;
  top: 0;
  z-index: 20;
}

.nav {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0.7rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.nav-left {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

/* Logo */

.brand-logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.25rem 0.5rem;
  border-radius: 999px;
}

.brand-logo-svg {
  height: 32px;
  width: auto;
}

/* Menú */

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  font-size: 0.9rem;
  color: var(--gray-700);
}

.nav-links a {
  position: relative;
  padding: 0.1rem 0;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.15rem;
  width: 0;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(
    to right,
    var(--paris-blue),
    var(--falabella-green),
    var(--ripley-yellow),
    var(--hites-orange)
  );
  transition: width var(--transition-fast);
}

.nav-links a:hover::after {
  width: 100%;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.btn {
  border-radius: 999px;
  border: 0;
  padding: 0.45rem 1rem;
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast), background var(--transition-fast), color var(--transition-fast);
  white-space: nowrap;
}

.btn-outline {
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid var(--gray-200);
  color: var(--gray-900);
}

.btn-outline:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 25px rgba(15, 23, 42, 0.18);
}

.btn-primary {
  background: linear-gradient(120deg, var(--falabella-green), var(--paris-blue));
  color: var(--dark);
  box-shadow: 0 12px 30px rgba(34, 197, 94, 0.3);
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 16px 36px rgba(22, 163, 74, 0.4);
}

/* MAIN LAYOUT */

main {
  flex: 1;
}

.shell {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1.5rem 1.25rem 3.5rem;
}

/* HERO */

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
  gap: 2.5rem;
  margin-top: 1.5rem;
  margin-bottom: 2.5rem;
  align-items: center;
}

.hero-copy-eyebrow {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.17em;
  color: var(--gray-700);
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin-bottom: 0.8rem;
}

.hero-pill-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: radial-gradient(circle at 30% 30%, #ffffff, var(--paris-blue));
}

.hero-title {
  font-size: clamp(2rem, 3vw + 1rem, 2.9rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  color: var(--gray-900);
  margin-bottom: 0.7rem;
}

.hero-highlight {
  background: linear-gradient(120deg, var(--paris-blue), var(--falabella-green), var(--ripley-yellow));
  -webkit-background-clip: text;
  color: transparent;
  display: inline-block;
}

.hero-subtitle {
  font-size: 0.98rem;
  color: var(--gray-700);
  max-width: 32rem;
  margin-bottom: 1.2rem;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
  margin-bottom: 1.5rem;
}

.meta-item {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.8rem;
  color: var(--gray-700);
  background: rgba(255, 255, 255, 0.8);
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.4);
}

.meta-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--paris-blue);
}

.meta-dot.fala {
  background: var(--falabella-green);
}

.meta-dot.hites {
  background: var(--hites-orange);
}

.meta-dot.ripley {
  background: var(--ripley-yellow);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-bottom: 1.1rem;
}

.hero-note {
  font-size: 0.78rem;
  color: var(--gray-500);
}

.hero-note strong {
  color: var(--gray-700);
}

.hero-visual {
  background: radial-gradient(circle at 0% 0%, rgba(255, 255, 255, 0.95), rgba(15, 23, 42, 0.95));
  border-radius: 30px;
  padding: 1.4rem;
  box-shadow: var(--shadow-soft);
  position: relative;
  overflow: hidden;
}

.hero-badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  padding: 0.3rem 0.9rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  color: var(--white);
  backdrop-filter: blur(10px);
  font-size: 0.8rem;
  border: 1px solid rgba(148, 163, 184, 0.4);
}

.hero-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.9rem;
}

.mini-card {
  border-radius: var(--radius-lg);
  padding: 0.8rem;
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.96), rgba(15, 23, 42, 0.82));
  color: var(--white);
  border: 1px solid rgba(148, 163, 184, 0.45);
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  font-size: 0.8rem;
}

.mini-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.78rem;
  opacity: 0.9;
}

.pill-brand {
  padding: 0.18rem 0.6rem;
  border-radius: 999px;
  font-size: 0.7rem;
}

.pill-paris {
  background: rgba(0, 174, 239, 0.2);
  border: 1px solid rgba(0, 174, 239, 0.7);
}

.pill-fala {
  background: rgba(170, 213, 0, 0.18);
  border: 1px solid rgba(170, 213, 0, 0.7);
}

.pill-ripley {
  background: rgba(254, 207, 0, 0.22);
  border: 1px solid rgba(254, 207, 0, 0.8);
}

.pill-hites {
  background: rgba(255, 164, 35, 0.22);
  border: 1px solid rgba(255, 164, 35, 0.8);
}

.mini-card-title {
  font-weight: 600;
  font-size: 0.9rem;
}

.mini-card-meta {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-top: 0.15rem;
}

.price {
  font-weight: 700;
  font-size: 1rem;
}

.price small {
  font-size: 0.75rem;
  font-weight: 500;
  opacity: 0.8;
  margin-left: 0.25rem;
  text-decoration: line-through;
}

.badge-off {
  font-size: 0.7rem;
  padding: 0.12rem 0.55rem;
  border-radius: 999px;
  background: rgba(34, 197, 94, 0.12);
  color: #bbf7d0;
  border: 1px solid rgba(34, 197, 94, 0.7);
}

.hero-ring {
  position: absolute;
  inset: -40%;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.35);
  opacity: 0.5;
}

.hero-ring:nth-of-type(1) { transform: rotate(8deg); }
.hero-ring:nth-of-type(2) { transform: rotate(-14deg); }

/* BRANDS STRIP */

.brands-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.85rem;
  margin-bottom: 2.3rem;
}

.brand-chip {
  border-radius: 999px;
  padding: 0.25rem 0.7rem;
  font-size: 0.75rem;
  color: var(--dark);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(255, 255, 255, 0.9);
}

.brand-chip-badge {
  padding: 0.1rem 0.45rem;
  border-radius: 999px;
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  background: rgba(15, 23, 42, 0.1);
}

.brand-card {
  border-radius: var(--radius-lg);
  padding: 0.85rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 0.4rem;
  color: var(--white);
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.25);
  position: relative;
  overflow: hidden;
}

.brand-card h3 {
  font-size: 0.95rem;
  font-weight: 700;
}

.brand-card p {
  font-size: 0.78rem;
  opacity: 0.95;
}

.brand-card span {
  font-size: 0.7rem;
  opacity: 0.85;
}

.brand-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 110% -10%, rgba(255, 255, 255, 0.4), transparent 55%);
  opacity: 0.8;
  mix-blend-mode: screen;
  pointer-events: none;
}

.brand-paris { background: linear-gradient(135deg, var(--paris-blue), #0090c7); }
.brand-fala { background: linear-gradient(135deg, var(--falabella-green), #82b400); }
.brand-ripley { background: linear-gradient(135deg, #111827, var(--ripley-yellow)); }
.brand-hites { background: linear-gradient(135deg, #111827, var(--hites-orange)); }

/* FILTERS + PRODUCTS */

.section-header {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: flex-end;
  margin-bottom: 1rem;
}

.section-header h2 {
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.section-header p {
  font-size: 0.85rem;
  color: var(--gray-600);
}

.filters-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-bottom: 1.3rem;
}

.filter-pill {
  border-radius: 999px;
  border: 1px solid var(--gray-200);
  background: rgba(255, 255, 255, 0.9);
  padding: 0.3rem 0.9rem;
  font-size: 0.8rem;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  cursor: pointer;
  color: var(--gray-700);
  transition: background var(--transition-fast), color var(--transition-fast), border-color var(--transition-fast), transform var(--transition-fast), box-shadow var(--transition-fast);
}

.filter-pill span.dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--gray-500);
}

.filter-pill.active {
  background: radial-gradient(circle at 0% 0%, var(--paris-blue), var(--falabella-green));
  color: var(--dark);
  border-color: transparent;
  box-shadow: 0 12px 30px rgba(59, 130, 246, 0.35);
  transform: translateY(-1px);
}

.filter-pill.active span.dot {
  background: var(--white);
}

.filter-pill[data-brand="paris"] span.dot { background: var(--paris-blue); }
.filter-pill[data-brand="falabella"] span.dot { background: var(--falabella-green); }
.filter-pill[data-brand="ripley"] span.dot { background: var(--ripley-yellow); }
.filter-pill[data-brand="hites"] span.dot { background: var(--hites-orange); }

.products-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.1rem;
  margin-bottom: 2rem;
}

.product-card {
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.97);
  border: 1px solid rgba(148, 163, 184, 0.35);
  box-shadow: 0 18px 40px rgba(148, 163, 184, 0.25);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform var(--transition-med), box-shadow var(--transition-med), border-color var(--transition-med);
  cursor: pointer;
}

.product-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 55px rgba(15, 23, 42, 0.25);
  border-color: rgba(59, 130, 246, 0.4);
}

.product-media {
  position: relative;
  padding: 0.9rem;
  background: radial-gradient(circle at 10% 0%, rgba(255, 255, 255, 0.9), rgba(15, 23, 42, 0.95));
}

.product-tag {
  position: absolute;
  top: 0.8rem;
  left: 0.9rem;
  padding: 0.16rem 0.55rem;
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--white);
  background: rgba(15, 23, 42, 0.7);
}

.product-tag.paris { background: rgba(0, 174, 239, 0.9); }
.product-tag.falabella { background: rgba(170, 213, 0, 0.95); color: #052e16; }
.product-tag.ripley { background: rgba(254, 207, 0, 0.95); color: #111827; }
.product-tag.hites { background: rgba(255, 164, 35, 0.98); color: #111827; }

.product-discount {
  position: absolute;
  top: 0.8rem;
  right: 0.9rem;
  padding: 0.16rem 0.6rem;
  border-radius: 999px;
  font-size: 0.7rem;
  background: rgba(220, 38, 38, 0.96);
  color: var(--white);
  font-weight: 700;
}

.product-img-placeholder {
  height: 150px;
  border-radius: 14px;
  background: conic-gradient(
    from 180deg,
    var(--paris-blue),
    var(--falabella-green),
    var(--ripley-yellow),
    var(--hites-orange),
    var(--paris-blue)
  );
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.product-body {
  padding: 0.8rem 0.9rem 0.85rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  font-size: 0.85rem;
}

.product-brand {
  font-size: 0.78rem;
  color: var(--gray-500);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.product-name {
  font-weight: 600;
  color: var(--gray-900);
  min-height: 2.1em;
}

.product-meta-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-top: 0.1rem;
}

.product-price {
  font-weight: 700;
  font-size: 1rem;
}

.product-price small {
  display: block;
  font-size: 0.7rem;
  color: var(--gray-500);
  text-decoration: line-through;
  margin-top: -0.05rem;
}

.product-footer {
  margin-top: 0.35rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.78rem;
  color: var(--gray-500);
}

.badge-envio {
  padding: 0.15rem 0.55rem;
  border-radius: 999px;
  background: rgba(22, 163, 74, 0.08);
  color: var(--success);
  font-weight: 600;
  font-size: 0.72rem;
}

/* CATEGORY / BANNERS */

.layout-columns {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 1.25fr);
  gap: 1.1rem;
  margin-bottom: 2.3rem;
}

.banner-main {
  border-radius: 22px;
  padding: 1.25rem;
  background: linear-gradient(135deg, var(--paris-blue), var(--falabella-green));
  color: var(--dark);
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}

.banner-main h3 {
  font-size: 1.2rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 0.3rem;
}

.banner-main p {
  font-size: 0.85rem;
  max-width: 25rem;
}

.banner-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-top: 0.8rem;
  font-size: 0.75rem;
}

.banner-pill {
  padding: 0.2rem 0.65rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.4);
  border: 1px solid rgba(15, 23, 42, 0.1);
}

.banner-main-cta {
  margin-top: 1rem;
}

.banner-main-cta .btn {
  font-size: 0.8rem;
}

.banner-main-tagline {
  position: absolute;
  right: 1.4rem;
  bottom: 1.2rem;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  opacity: 0.6;
}

.banner-main-tagline strong {
  font-weight: 800;
}

.badge-circle {
  position: absolute;
  right: 1.4rem;
  top: 1.1rem;
  width: 68px;
  height: 68px;
  border-radius: 999px;
  background: radial-gradient(circle at 30% 30%, #ffffff, rgba(15, 23, 42, 0.9));
  border: 1px solid rgba(15, 23, 42, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--white);
  text-align: center;
  line-height: 1.15;
}

.badge-circle small {
  font-size: 0.6rem;
  font-weight: 500;
  opacity: 0.85;
}

.banner-side {
  display: grid;
  grid-template-rows: repeat(2, minmax(0, 1fr));
  gap: 0.9rem;
}

.banner {
  border-radius: 20px;
  padding: 0.95rem;
  background: rgba(15, 23, 42, 0.98);
  color: var(--white);
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(148, 163, 184, 0.6);
}

.banner h4 {
  font-size: 0.95rem;
  margin-bottom: 0.2rem;
}

.banner p {
  font-size: 0.78rem;
  opacity: 0.9;
  max-width: 16rem;
}

.banner-link {
  margin-top: 0.6rem;
  font-size: 0.78rem;
  text-decoration: underline;
  text-underline-offset: 3px;
  opacity: 0.9;
}

.banner-paris { border-left: 4px solid var(--paris-blue); }
.banner-fala { border-left: 4px solid var(--falabella-green); }

.banner-badge {
  position: absolute;
  right: 0.8rem;
  bottom: 0.85rem;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  opacity: 0.72;
}

/* NEWSLETTER / FOOTER */

.newsletter {
  border-radius: 24px;
  padding: 1.3rem 1.3rem 1.1rem;
  background: rgba(15, 23, 42, 0.98);
  color: var(--white);
  display: flex;
  flex-wrap: wrap;
  gap: 1.4rem;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2.6rem;
  box-shadow: var(--shadow-soft);
}

.newsletter h3 {
  font-size: 1.05rem;
  margin-bottom: 0.25rem;
}

.newsletter p {
  font-size: 0.8rem;
  opacity: 0.9;
  max-width: 24rem;
}

.newsletter-form {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  align-items: center;
}

.newsletter-form input[type="email"] {
  padding: 0.5rem 0.8rem;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.8);
  background: rgba(15, 23, 42, 0.7);
  color: var(--white);
  font-size: 0.8rem;
  min-width: 210px;
  outline: none;
}

.newsletter-form input::placeholder {
  color: rgba(148, 163, 184, 0.9);
}

.newsletter-note {
  font-size: 0.7rem;
  opacity: 0.65;
  margin-top: 0.2rem;
}

footer {
  border-top: 1px solid rgba(148, 163, 184, 0.45);
  background: #020617;
  color: #e5e7eb;
  padding: 1.6rem 1.25rem 1.4rem;
}

.footer-shell {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.8fr) repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
  font-size: 0.78rem;
}

.footer-logo {
  margin-bottom: 0.55rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 0.8rem;
}

.footer-logo span {
  color: var(--paris-blue);
}

.footer-col h5 {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  margin-bottom: 0.5rem;
  color: #9ca3af;
}

.footer-col ul {
  list-style: none;
  display: grid;
  gap: 0.26rem;
}

.footer-col a {
  color: #e5e7eb;
  opacity: 0.82;
}

.footer-col a:hover {
  opacity: 1;
}

.footer-bottom {
  max-width: 1200px;
  margin: 0.8rem auto 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.7rem;
  color: #9ca3af;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.footer-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.footer-tag {
  padding: 0.1rem 0.45rem;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.6);
}

/* RESPONSIVE */

@media (max-width: 960px) {
  .hero {
    grid-template-columns: minmax(0, 1fr);
  }
  .hero-visual {
    order: -1;
  }
  .brands-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .products-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .layout-columns {
    grid-template-columns: minmax(0, 1.6fr) minmax(0, 1.2fr);
  }
  .footer-shell {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .nav-links {
    display: none;
  }
}

@media (max-width: 720px) {
  .shell {
    padding-inline: 1rem;
  }
  .hero {
    margin-top: 1.2rem;
  }
  .brands-strip {
    grid-template-columns: minmax(0, 1fr);
  }
  .products-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .layout-columns {
    grid-template-columns: minmax(0, 1fr);
  }
  .newsletter {
    padding: 1.1rem 1rem;
  }
  .footer-shell {
    grid-template-columns: minmax(0, 1fr);
  }
  .nav {
    padding-inline: 1rem;
  }
  .nav-actions .btn-outline {
    display: none;
  }
}

@media (max-width: 480px) {
  .products-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .hero-meta {
    flex-direction: column;
    align-items: flex-start;
  }
}
