:root {
  --ink: #121216;
  --text: #50505a;
  --muted: #74747e;
  --white: #ffffff;
  --soft: #f7f7f8;
  --soft-purple: #f2efff;
  --line: #e5e5e8;
  --purple: #6f35df;
  --purple-dark: #5522b8;
  --coral: #ff554d;
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.5;
}

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

a {
  color: inherit;
}

button,
input,
select,
textarea {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

:focus-visible {
  outline: 3px solid #b69bef;
  outline-offset: 3px;
}

.container {
  width: min(1320px, calc(100% - 48px));
  margin-inline: auto;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 100;
  padding: 10px 14px;
  color: var(--white);
  background: var(--purple);
  transform: translateY(-160%);
}

.skip-link:focus {
  transform: translateY(0);
}

.top-message {
  color: var(--white);
  background: var(--ink);
}

.top-message p {
  margin: 0;
  padding-block: 8px;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-align: center;
}

.shop-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(255, 255, 255, 0.98);
}

.shop-header-inner {
  min-height: 84px;
  display: grid;
  grid-template-columns: 118px minmax(280px, 680px) auto;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

.shop-logo {
  width: 80px;
  height: 70px;
  display: grid;
  place-items: center;
  text-decoration: none;
}

.shop-logo img,
.footer-brand-block img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.search-form {
  display: grid;
  grid-template-columns: 1fr auto;
  border-bottom: 1px solid #a9a9b0;
}

.search-form:focus-within {
  border-color: var(--purple);
}

.search-form input {
  min-width: 0;
  padding: 12px 8px 10px 0;
  border: 0;
  outline: 0;
  color: var(--ink);
  background: transparent;
  font-size: 0.92rem;
}

.search-form input::placeholder {
  color: #8a8a92;
}

.search-form button {
  padding: 8px 0 8px 18px;
  border: 0;
  color: var(--ink);
  background: transparent;
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  cursor: pointer;
}

.header-links {
  display: flex;
  align-items: center;
  gap: 22px;
}

.header-links a {
  font-size: 0.76rem;
  font-weight: 700;
  text-decoration: none;
  text-transform: uppercase;
}

.header-links a:hover {
  color: var(--purple);
}

.category-nav {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.category-nav-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 42px;
  min-height: 46px;
  overflow-x: auto;
}

.category-nav a {
  flex: 0 0 auto;
  color: #303038;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-decoration: none;
  text-transform: uppercase;
}

.category-nav a:hover,
.category-nav .nav-highlight {
  color: var(--purple);
}

.intro-banner {
  background: var(--soft-purple);
  border-bottom: 1px solid #e1dafa;
}

.intro-banner-inner {
  min-height: 340px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 0.8fr;
  align-items: center;
  gap: 60px;
  padding-block: 52px;
}

.eyebrow {
  margin: 0 0 8px;
  color: var(--purple);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

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

h1,
h2,
h3 {
  line-height: 1.08;
  letter-spacing: -0.035em;
}

h1 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(2.5rem, 5vw, 4.9rem);
}

.intro-banner p:not(.eyebrow) {
  max-width: 630px;
  margin: 18px 0 24px;
  color: var(--text);
}

.banner-wordmark {
  justify-self: end;
  color: var(--ink);
  font-weight: 950;
  font-style: italic;
  line-height: 0.68;
  letter-spacing: -0.09em;
  text-align: center;
  transform: skewX(-7deg);
}

.banner-wordmark span {
  display: block;
  padding-right: 10px;
  font-size: clamp(2.7rem, 7vw, 6.4rem);
}

.banner-wordmark strong {
  display: block;
  color: var(--purple);
  font-size: clamp(6rem, 14vw, 12rem);
  text-shadow: 7px 7px 0 var(--coral);
}

.button {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 20px;
  border: 0;
  border-radius: 2px;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.03em;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
  cursor: pointer;
}

.button-primary {
  color: var(--white);
  background: var(--ink);
}

.button-primary:hover {
  background: var(--purple);
}

.category-section,
.catalog-section,
.selection-section {
  padding-block: 72px;
}

.store-section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 28px;
}

.store-section-heading h2,
.selection-section h2 {
  margin: 0;
  font-size: clamp(1.8rem, 3.4vw, 3rem);
  text-transform: uppercase;
}

.store-section-heading > p,
.catalog-heading > p {
  max-width: 470px;
  margin: 0;
  color: var(--muted);
  font-size: 0.88rem;
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.category-grid a {
  min-height: 190px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 24px;
  border: 1px solid var(--line);
  background: var(--soft);
  text-decoration: none;
  transition: border-color 150ms ease, background 150ms ease;
}

.category-grid a:nth-child(2),
.category-grid a:nth-child(4) {
  background: var(--soft-purple);
}

.category-grid a:hover {
  border-color: #bfb1e8;
  background: var(--white);
}

.category-number {
  margin-bottom: auto;
  color: var(--purple);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.category-grid strong {
  font-size: 1.2rem;
  text-transform: uppercase;
}

.category-grid small {
  margin-top: 7px;
  color: var(--muted);
  font-size: 0.79rem;
}

.catalog-section {
  border-top: 1px solid var(--line);
}

.catalog-heading {
  align-items: end;
}

.catalog-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-block: 14px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.filters {
  display: flex;
  gap: 8px;
  overflow-x: auto;
}

.filter-button {
  min-height: 38px;
  flex: 0 0 auto;
  padding: 8px 13px;
  border: 1px solid var(--line);
  border-radius: 2px;
  color: var(--text);
  background: var(--white);
  font-size: 0.78rem;
  font-weight: 700;
  cursor: pointer;
}

.filter-button:hover {
  color: var(--purple);
  border-color: #b9a9e7;
}

.filter-button.is-active {
  color: var(--white);
  background: var(--ink);
  border-color: var(--ink);
}

.results-count {
  flex: 0 0 auto;
  margin: 0;
  color: var(--muted);
  font-size: 0.77rem;
}

.affiliate-label {
  margin: 20px 0 12px;
  color: var(--muted);
  font-size: 0.65rem;
  letter-spacing: 0.07em;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.product-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--white);
}

.product-media {
  position: relative;
  aspect-ratio: 4 / 5;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: var(--white);
  border-bottom: 1px solid var(--line);
}

.product-media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 12px;
  background: var(--white);
}

.product-placeholder {
  max-width: 190px;
  padding: 20px;
  color: var(--muted);
  font-weight: 700;
  text-align: center;
}

.product-category {
  position: absolute;
  left: 10px;
  bottom: 10px;
  padding: 5px 8px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid var(--line);
  font-size: 0.62rem;
  font-weight: 800;
  text-transform: uppercase;
}

.product-content {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 15px;
}

.product-ad-label {
  margin: 0 0 7px;
  color: var(--purple);
  font-size: 0.58rem;
  font-weight: 800;
  letter-spacing: 0.06em;
}

.product-content h3 {
  margin: 0 0 9px;
  font-size: 1.02rem;
}

.product-description {
  margin: 0 0 12px;
  color: var(--text);
  font-size: 0.82rem;
}

.product-indication {
  margin: 0 0 15px;
  padding-top: 10px;
  border-top: 1px solid var(--line);
  color: var(--text);
  font-size: 0.76rem;
}

.product-content .button {
  width: 100%;
  margin-top: auto;
  font-size: 0.7rem;
}

.empty-state {
  padding: 66px 24px;
  border: 1px solid var(--line);
  text-align: center;
  background: var(--soft);
}

.empty-state h3 {
  max-width: 560px;
  margin: 8px auto;
  font-size: clamp(1.35rem, 3vw, 2rem);
}

.empty-state p {
  margin: 0;
  color: var(--muted);
}

.empty-icon {
  color: var(--purple);
  font-size: 2rem;
  font-weight: 900;
}

.notice {
  padding: 16px;
  background: var(--soft-purple);
}

.information-strip {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--soft);
}

.information-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.information-grid article {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 14px;
  padding: 30px;
  border-right: 1px solid var(--line);
}

.information-grid article:last-child {
  border-right: 0;
}

.information-grid span {
  color: var(--purple);
  font-size: 0.68rem;
  font-weight: 900;
}

.information-grid strong {
  display: block;
  font-size: 0.85rem;
  text-transform: uppercase;
}

.information-grid p {
  margin: 5px 0 0;
  color: var(--muted);
  font-size: 0.77rem;
}

.selection-section {
  background: var(--white);
}

.selection-layout {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 80px;
}

.selection-copy {
  padding-left: 30px;
  border-left: 3px solid var(--purple);
}

.selection-copy p {
  margin: 0 0 14px;
  color: var(--text);
}

.selection-copy p:last-child {
  margin-bottom: 0;
}

.site-footer {
  padding-top: 50px;
  color: var(--text);
  background: var(--soft);
  border-top: 1px solid var(--line);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 50px;
  padding-bottom: 42px;
}

.footer-brand-block img {
  width: 88px;
  height: 88px;
}

.footer-brand-block p {
  max-width: 360px;
  margin: 12px 0 0;
  font-size: 0.85rem;
}

.footer-column {
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.footer-column strong {
  margin-bottom: 5px;
  color: var(--ink);
  font-size: 0.76rem;
  text-transform: uppercase;
}

.footer-column a {
  color: var(--text);
  font-size: 0.8rem;
}

.legal-line {
  display: flex;
  justify-content: space-between;
  gap: 30px;
  padding-block: 20px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.71rem;
}

.legal-line p {
  margin: 0;
}

.legal-line p:first-child {
  max-width: 760px;
}

/* Páginas informativas */
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  color: var(--ink);
  background: var(--white);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  min-height: 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 850;
  text-decoration: none;
}

.brand-mark {
  width: 38px;
  height: 38px;
  display: inline-grid;
  place-items: center;
  color: var(--white);
  background: var(--purple);
  font-size: 0.75rem;
  font-weight: 900;
}

.back-link {
  color: var(--text);
  font-size: 0.83rem;
  font-weight: 700;
  text-decoration: none;
}

.legal-page {
  background: var(--white);
}

.legal-content {
  max-width: 820px;
  padding-block: 64px 84px;
}

.legal-content h1 {
  margin: 0;
  font-size: clamp(2.4rem, 6vw, 4rem);
}

.legal-content h2 {
  margin: 36px 0 9px;
  font-size: 1.35rem;
}

.legal-content p {
  color: var(--text);
}

.legal-highlight {
  margin: 28px 0;
  padding: 20px;
  border-left: 4px solid var(--purple);
  background: var(--soft-purple);
  font-weight: 750;
}

.updated-at {
  margin-top: 46px;
  color: var(--muted) !important;
  font-size: 0.82rem;
}

.simple-footer {
  padding-top: 0;
}

.error-page {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 24px;
  color: var(--ink);
  background: var(--white);
}

.error-card {
  width: min(610px, 100%);
  padding: 48px;
  border: 1px solid var(--line);
  text-align: center;
}

.error-card .brand-mark {
  margin-bottom: 24px;
}

.error-card h1 {
  margin: 0;
  font-size: clamp(2.1rem, 7vw, 3.6rem);
}

.error-card p:not(.eyebrow) {
  margin: 16px 0 26px;
  color: var(--text);
}

@media (max-width: 1000px) {
  .shop-header-inner {
    grid-template-columns: 90px 1fr;
  }

  .header-links {
    display: none;
  }

  .category-nav-inner {
    justify-content: flex-start;
    gap: 28px;
  }

  .category-grid,
  .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .information-grid {
    grid-template-columns: 1fr;
  }

  .information-grid article {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .information-grid article:last-child {
    border-bottom: 0;
  }
}

@media (max-width: 720px) {
  .container {
    width: min(100% - 28px, 1320px);
  }

  .top-message p {
    font-size: 0.59rem;
  }

  .shop-header {
    position: static;
  }

  .shop-header-inner {
    min-height: auto;
    grid-template-columns: 70px 1fr;
    gap: 16px;
    padding-block: 10px;
  }

  .shop-logo {
    width: 62px;
    height: 58px;
  }

  .search-form input {
    font-size: 0.82rem;
  }

  .search-form button {
    font-size: 0.68rem;
  }

  .category-nav-inner {
    min-height: 43px;
    gap: 24px;
  }

  .intro-banner-inner {
    min-height: auto;
    grid-template-columns: 1fr;
    gap: 34px;
    padding-block: 42px;
  }

  .banner-wordmark {
    justify-self: center;
  }

  .banner-wordmark span {
    font-size: 3.2rem;
  }

  .banner-wordmark strong {
    font-size: 7rem;
    text-shadow: 5px 5px 0 var(--coral);
  }

  .category-section,
  .catalog-section,
  .selection-section {
    padding-block: 52px;
  }

  .store-section-heading,
  .catalog-toolbar {
    align-items: flex-start;
    flex-direction: column;
  }

  .store-section-heading {
    display: flex;
  }

  .catalog-toolbar {
    display: flex;
  }

  .filters {
    width: 100%;
  }

  .category-grid,
  .product-grid {
    grid-template-columns: 1fr;
  }

  .category-grid a {
    min-height: 150px;
  }

  .selection-layout,
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .selection-copy {
    padding-left: 18px;
  }

  .legal-line {
    flex-direction: column;
  }

  .legal-content {
    padding-block: 52px 68px;
  }

  .error-card {
    padding: 36px 20px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}
