:root {
  color-scheme: light;
  --ink: #161616;
  --muted: #5f6268;
  --paper: #ffffff;
  --soft: #f4f6f8;
  --line: #dfe4ea;
  --accent: #e4472f;
  --accent-dark: #b92f1f;
  --mint: #00a384;
  --gold: #f2c14e;
  --blue: #2468e8;
  --shadow: 8px 8px 0 var(--ink);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 1px 1px, rgba(22, 22, 22, 0.08) 1px, transparent 0) 0 0 / 18px 18px,
    var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
}

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

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

a:hover {
  color: var(--accent-dark);
}

a:focus-visible,
button:focus-visible {
  outline: 3px solid rgba(0, 163, 132, 0.45);
  outline-offset: 3px;
}

.wrap {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 72px;
  padding: 12px 28px;
  border-bottom: 3px solid var(--ink);
  background:
    linear-gradient(90deg, rgba(242, 193, 78, 0.18), rgba(255, 255, 255, 0.94) 34%, rgba(36, 104, 232, 0.1)),
    rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 900;
}

.brand-mark {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 3px solid var(--ink);
  border-radius: 8px;
  background: var(--gold);
  box-shadow: 5px 5px 0 var(--ink);
  color: var(--ink);
  font-size: 1.7rem;
  line-height: 1;
  transform: rotate(-2deg);
}

.brand-text {
  font-size: 1.22rem;
  text-transform: uppercase;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 8px 18px;
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 700;
}

.site-nav a[aria-current="page"] {
  color: var(--accent-dark);
}

.site-nav a {
  position: relative;
}

.site-nav a::after {
  position: absolute;
  right: 0;
  bottom: -6px;
  left: 0;
  height: 4px;
  background: var(--gold);
  content: "";
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 160ms ease;
}

.site-nav a:hover::after,
.site-nav a[aria-current="page"]::after {
  transform: scaleX(1);
}

.intro-band {
  position: relative;
  overflow: hidden;
  padding: 72px 0 44px;
  background:
    radial-gradient(circle at 78% 22%, rgba(242, 193, 78, 0.48) 0 2px, transparent 2px 12px),
    linear-gradient(110deg, rgba(228, 71, 47, 0.16), transparent 38%),
    linear-gradient(90deg, rgba(0, 163, 132, 0.12), transparent 42%),
    linear-gradient(180deg, #ffffff, var(--soft));
  border-bottom: 4px solid var(--ink);
}

.intro-layout {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 360px);
  gap: 42px;
  align-items: end;
}

.eyebrow {
  display: inline-block;
  margin: 0 0 12px;
  padding: 7px 12px;
  border: 2px solid var(--ink);
  border-radius: 4px;
  background: var(--gold);
  color: var(--ink);
  box-shadow: 3px 3px 0 var(--ink);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
  transform: rotate(-1deg);
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.05;
}

h1 {
  max-width: 920px;
  font-size: 5rem;
  letter-spacing: 0;
  text-shadow: 3px 3px 0 rgba(242, 193, 78, 0.8);
}

h2 {
  font-size: 2.1rem;
}

h3 {
  font-size: 1.35rem;
}

.lead {
  max-width: 760px;
  margin: 20px 0 0;
  color: var(--muted);
  font-size: 1.2rem;
}

.intro-points {
  display: grid;
  gap: 10px;
  align-self: center;
}

.intro-points a,
.intro-points span {
  display: block;
  min-height: 46px;
  padding: 12px 14px;
  border: 3px solid var(--ink);
  border-radius: 6px;
  background: var(--paper);
  box-shadow: 5px 5px 0 var(--ink);
  font-weight: 900;
  text-transform: uppercase;
}

.intro-points span:nth-child(2) {
  background: #ddf7f1;
}

.intro-points span:nth-child(3) {
  background: #ffe4df;
}

.product-band {
  padding: 56px 0 72px;
  background:
    linear-gradient(90deg, rgba(36, 104, 232, 0.05), transparent 46%),
    var(--paper);
}

.section-heading {
  margin-bottom: 24px;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 22px;
}

.product-card {
  position: relative;
  display: grid;
  overflow: hidden;
  border: 3px solid var(--ink);
  border-radius: 6px;
  background: var(--paper);
  box-shadow: var(--shadow);
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.product-card:hover {
  transform: translate(-2px, -2px);
  box-shadow: 11px 11px 0 var(--ink);
}

.product-card::before {
  position: absolute;
  top: 14px;
  left: -8px;
  z-index: 2;
  padding: 7px 14px 7px 18px;
  border: 2px solid var(--ink);
  background: var(--accent);
  color: #ffffff;
  content: "Selección";
  font-size: 0.72rem;
  font-weight: 1000;
  text-transform: uppercase;
  transform: rotate(-3deg);
}

.product-media {
  display: grid;
  aspect-ratio: 4 / 5;
  place-items: center;
  overflow: hidden;
  background:
    radial-gradient(circle at 4px 4px, rgba(22, 22, 22, 0.18) 1px, transparent 2px) 0 0 / 14px 14px,
    linear-gradient(135deg, rgba(242, 193, 78, 0.32), rgba(0, 163, 132, 0.16)),
    var(--soft);
}

.product-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-body {
  display: grid;
  gap: 12px;
  padding: 22px;
}

.product-category {
  width: fit-content;
  margin: 0;
  padding: 5px 9px;
  border: 2px solid var(--ink);
  border-radius: 4px;
  background: #ddf7f1;
  color: var(--ink);
  font-size: 0.76rem;
  font-weight: 900;
  text-transform: uppercase;
}

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

.product-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 4px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 18px;
  border: 3px solid var(--ink);
  border-radius: 6px;
  background: var(--accent);
  color: #ffffff;
  box-shadow: 5px 5px 0 var(--ink);
  font-weight: 900;
  line-height: 1.1;
  text-align: center;
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.button:hover {
  color: #ffffff;
  transform: translate(2px, 2px);
  box-shadow: 3px 3px 0 var(--ink);
}

.button-secondary {
  background: var(--mint);
}

.seo-band {
  padding: 54px 0;
  border-top: 4px solid var(--ink);
  border-bottom: 4px solid var(--ink);
  background:
    radial-gradient(circle at 2px 2px, rgba(22, 22, 22, 0.09) 1px, transparent 2px) 0 0 / 16px 16px,
    var(--soft);
}

.text-columns {
  display: grid;
  grid-template-columns: 0.8fr 1fr;
  gap: 36px;
  align-items: start;
}

.text-columns p:last-child {
  margin: 0;
  color: var(--muted);
  font-size: 1.08rem;
}

.category-hero {
  position: relative;
  overflow: hidden;
  padding: 70px 0 46px;
  background:
    radial-gradient(circle at 82% 24%, rgba(242, 193, 78, 0.5) 0 2px, transparent 2px 12px),
    linear-gradient(90deg, rgba(228, 71, 47, 0.12), transparent 46%),
    var(--soft);
  border-bottom: 4px solid var(--ink);
}

.product-detail {
  padding: 64px 0;
}

.detail-layout {
  display: grid;
  grid-template-columns: minmax(280px, 520px) minmax(0, 1fr);
  gap: 48px;
  align-items: center;
}

.detail-media {
  display: grid;
  aspect-ratio: 4 / 5;
  place-items: center;
  overflow: hidden;
  border: 3px solid var(--ink);
  border-radius: 6px;
  background:
    linear-gradient(135deg, rgba(242, 193, 78, 0.3), rgba(0, 163, 132, 0.16)),
    var(--soft);
  box-shadow: var(--shadow);
}

.detail-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.breadcrumb {
  display: inline-block;
  margin-bottom: 14px;
  padding: 6px 10px;
  border: 2px solid var(--ink);
  border-radius: 4px;
  background: var(--gold);
  color: var(--ink);
  box-shadow: 3px 3px 0 var(--ink);
  font-size: 0.85rem;
  font-weight: 900;
  text-transform: uppercase;
}

.detail-list {
  display: grid;
  gap: 8px;
  margin: 22px 0 26px;
  padding-left: 20px;
  color: var(--muted);
}

.detail-button {
  width: min(100%, 280px);
}

.store-note {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.site-footer {
  padding: 28px 0;
  background: var(--ink);
  color: #ffffff;
}

.footer-layout {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
}

.footer-layout p {
  max-width: 780px;
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px 16px;
  min-width: 280px;
}

.footer-layout a,
.footer-links a {
  color: #ffffff;
  font-weight: 900;
}

.legal-band {
  padding: 54px 0 72px;
  background: var(--paper);
}

.legal-content {
  display: grid;
  gap: 22px;
  max-width: 860px;
}

.legal-content h2 {
  margin-top: 16px;
  font-size: 1.55rem;
}

.legal-content p,
.legal-content li {
  color: var(--muted);
}

.legal-content a {
  color: var(--accent-dark);
  font-weight: 900;
}

.legal-list {
  display: grid;
  gap: 8px;
  margin: 0;
  padding-left: 20px;
}

.notice-box {
  padding: 18px;
  border: 3px solid var(--ink);
  border-radius: 6px;
  background: #fff2c8;
  box-shadow: 4px 4px 0 var(--ink);
}

@media (max-width: 980px) {
  h1 {
    font-size: 3.8rem;
  }
}

@media (max-width: 760px) {
  .site-header {
    position: static;
    align-items: flex-start;
    flex-direction: column;
    padding: 14px 16px;
  }

  .site-nav {
    justify-content: flex-start;
  }

  .intro-band {
    padding-top: 44px;
  }

  .intro-layout,
  .text-columns,
  .detail-layout {
    grid-template-columns: 1fr;
  }

  h1 {
    font-size: 2.7rem;
  }

  h2 {
    font-size: 1.75rem;
  }

  .lead {
    font-size: 1.05rem;
  }

  .footer-layout {
    align-items: flex-start;
    flex-direction: column;
  }

  .footer-links {
    justify-content: flex-start;
    min-width: 0;
  }
}
