:root {
  --cream: #faf6f0;
  --sand: #ede5d8;
  --sand-soft: #f4ede4;
  --white: #fffdf9;
  --charcoal: #2c2822;
  --warm-gray: #6b6057;
  --terracota: #c4714a;
  --terracota-dark: #9f5235;
  --terracota-deep: #7e3f2c;
  --sage: #7a9e8c;
  --sage-dark: #56715f;
  --line: rgba(44, 40, 34, 0.12);
  --promo-height: 34px;
  --nav-height: 66px;
  --content-width: 1380px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  width: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--promo-height) + var(--nav-height) + 16px);
  overflow-x: hidden;
}

body {
  min-width: 280px;
  width: 100%;
  max-width: 100vw;
  background: var(--cream);
  color: var(--charcoal);
  font-family: "DM Sans", sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

button,
select {
  font: inherit;
}

button {
  color: inherit;
}

img {
  max-width: 100%;
}

a {
  color: inherit;
}

.skip-link {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 1000;
  padding: 10px 14px;
  border-radius: 8px;
  background: var(--charcoal);
  color: white;
  text-decoration: none;
  transform: translateY(-150%);
}

.skip-link:focus {
  transform: translateY(0);
}

:focus-visible {
  outline: 3px solid var(--terracota);
  outline-offset: 3px;
}

.toy-promo {
  position: fixed;
  inset: 0 0 auto;
  z-index: 130;
  height: var(--promo-height);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 6px 14px;
  background: linear-gradient(90deg, var(--terracota-deep), var(--terracota-dark));
  color: white;
  font-size: clamp(9px, 1.8vw, 12px);
  font-weight: 700;
  letter-spacing: 0.15px;
  line-height: 1;
  text-align: center;
  white-space: nowrap;
}

.toy-nav {
  position: fixed;
  top: var(--promo-height);
  left: 0;
  right: 0;
  z-index: 120;
  height: var(--nav-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px clamp(18px, 4vw, 60px);
  border-bottom: 1px solid rgba(196, 113, 74, 0.11);
  background: rgba(250, 246, 240, 0.93);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
}

.toy-logo {
  display: block;
  line-height: 0;
}

.toy-logo img {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  object-fit: cover;
  box-shadow: 0 5px 16px rgba(44, 40, 34, 0.1);
}

.toy-menu-button {
  width: 42px;
  height: 42px;
  display: grid;
  place-content: center;
  gap: 5px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.78);
  color: var(--charcoal);
  cursor: pointer;
  box-shadow: 0 5px 18px rgba(44, 40, 34, 0.08);
}

.toy-menu-button span {
  width: 21px;
  height: 2px;
  display: block;
  border-radius: 2px;
  background: currentColor;
}

.toy-menu-overlay {
  position: fixed;
  inset: 0;
  z-index: 200;
  border: 0;
  background: rgba(44, 40, 34, 0.46);
  backdrop-filter: blur(4px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.toy-menu-panel {
  position: fixed;
  top: 0;
  right: 0;
  z-index: 210;
  width: min(370px, 88vw);
  height: 100dvh;
  display: flex;
  flex-direction: column;
  padding: 26px 30px;
  background: var(--cream);
  box-shadow: -24px 0 70px rgba(44, 40, 34, 0.18);
  transform: translateX(105%);
  transition: transform 0.38s cubic-bezier(0.65, 0, 0.35, 1);
  overflow-y: auto;
}

.menu-open .toy-menu-overlay {
  opacity: 1;
  pointer-events: auto;
}

.menu-open .toy-menu-panel {
  transform: translateX(0);
}

.toy-menu-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 30px;
}

.toy-menu-head img {
  width: 38px;
  height: 38px;
  border-radius: 8px;
}

.toy-menu-close {
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 50%;
  background: rgba(196, 113, 74, 0.09);
  font-size: 20px;
  cursor: pointer;
}

.toy-menu-links {
  display: flex;
  flex-direction: column;
}

.toy-menu-links a {
  padding: 11px 0;
  border-bottom: 1px solid rgba(196, 113, 74, 0.13);
  font-family: "Playfair Display", serif;
  font-size: 20px;
  font-weight: 700;
  text-decoration: none;
  transition: color 0.2s ease, padding-left 0.2s ease;
}

.toy-menu-links a:hover,
.toy-menu-links a[aria-current="page"] {
  padding-left: 7px;
  color: var(--terracota);
}

.toy-menu-whatsapp {
  margin-top: auto;
  padding-top: 28px;
}

.toy-menu-whatsapp a {
  min-height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: var(--terracota-dark);
  color: white;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.8px;
  text-decoration: none;
  text-transform: uppercase;
}

.toy-hero {
  min-height: 640px;
  position: relative;
  display: flex;
  align-items: center;
  padding: calc(var(--promo-height) + var(--nav-height) + 62px) clamp(28px, 6vw, 92px) 74px;
  overflow: hidden;
  isolation: isolate;
}

.toy-hero::before {
  position: absolute;
  inset: 0;
  z-index: -1;
  content: "";
  background:
    linear-gradient(90deg, rgba(250, 246, 240, 0.98) 0%, rgba(250, 246, 240, 0.92) 27%, rgba(250, 246, 240, 0.5) 52%, rgba(250, 246, 240, 0.05) 76%),
    linear-gradient(0deg, rgba(44, 40, 34, 0.08), transparent 34%);
}

.toy-hero-media {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.toy-hero-media img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
}

.toy-hero-copy {
  width: min(620px, 52vw);
  position: relative;
  z-index: 2;
}

.toy-section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 15px;
  color: var(--terracota-dark);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 2.1px;
  text-transform: uppercase;
}

.toy-section-eyebrow::before {
  width: 28px;
  height: 1px;
  content: "";
  background: currentColor;
}

.toy-hero h1 {
  max-width: 720px;
  font-family: "Playfair Display", serif;
  font-size: clamp(58px, 7vw, 108px);
  font-weight: 900;
  letter-spacing: -0.055em;
  line-height: 0.9;
  text-wrap: balance;
}

.toy-hero h1 em {
  display: block;
  color: var(--terracota);
  font-weight: 500;
}

.toy-hero-lead {
  max-width: 470px;
  margin-top: 23px;
  color: #554d45;
  font-size: clamp(16px, 1.35vw, 20px);
  font-weight: 500;
  line-height: 1.55;
  text-wrap: pretty;
}

.toy-primary-action {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 28px;
  padding: 13px 24px;
  border-radius: 999px;
  background: var(--charcoal);
  color: white;
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
  box-shadow: 0 14px 30px rgba(44, 40, 34, 0.2);
  transition: background 0.24s ease, transform 0.24s ease;
}

.toy-primary-action:hover {
  background: var(--terracota-dark);
  transform: translateY(-2px);
}

.toy-primary-action:active {
  transform: translateY(0) scale(0.98);
}

.toy-categories {
  padding: 76px clamp(20px, 5vw, 76px) 84px;
  background: var(--cream);
}

.toy-section-head {
  max-width: var(--content-width);
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 36px;
  margin: 0 auto 30px;
}

.toy-section-head h2,
.toy-catalog-head h2 {
  font-family: "Playfair Display", serif;
  font-size: clamp(38px, 4.4vw, 66px);
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 0.98;
  text-wrap: balance;
}

.toy-category-reset {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 10px 0;
  border: 0;
  border-bottom: 1px solid var(--charcoal);
  background: transparent;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
}

.toy-category-reset[aria-pressed="true"] {
  color: var(--terracota-dark);
  border-color: var(--terracota-dark);
}

.toy-category-grid {
  max-width: var(--content-width);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin: 0 auto;
}

.toy-category-card {
  min-width: 0;
  min-height: 178px;
  position: relative;
  display: grid;
  grid-template-columns: minmax(130px, 0.7fr) minmax(0, 1fr);
  align-items: stretch;
  border: 1px solid transparent;
  border-radius: 22px;
  background: var(--sand-soft);
  text-align: left;
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.toy-category-card:nth-child(3n + 2) {
  background: #f0e7df;
}

.toy-category-card:nth-child(3n) {
  background: #e9eee8;
}

.toy-category-card:hover,
.toy-category-card[aria-pressed="true"] {
  border-color: rgba(159, 82, 53, 0.65);
  box-shadow: 0 18px 38px rgba(70, 53, 40, 0.11);
  transform: translateY(-4px);
}

.toy-category-card[aria-pressed="true"]::after {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 3;
  width: 26px;
  height: 26px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--charcoal);
  color: white;
  content: "✓";
  font-size: 12px;
  font-weight: 900;
}

.toy-category-card-copy {
  min-width: 0;
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 24px 24px 24px 8px;
}

.toy-category-card-copy small {
  margin-bottom: 7px;
  color: var(--terracota-dark);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 1.2px;
  text-transform: uppercase;
}

.toy-category-card-copy strong {
  font-family: "Playfair Display", serif;
  font-size: clamp(23px, 2.2vw, 34px);
  line-height: 1;
  text-wrap: balance;
}

.toy-category-card-copy > span {
  margin-top: 12px;
  color: var(--warm-gray);
  font-size: 12px;
  font-weight: 700;
}

.toy-category-visual {
  min-width: 0;
  position: relative;
  display: grid;
  place-items: center;
  padding: 16px;
}

.toy-category-visual::before {
  position: absolute;
  inset: 18px;
  border-radius: 50%;
  content: "";
  background: rgba(255, 255, 255, 0.55);
}

.toy-category-visual img {
  width: 100%;
  height: 100%;
  position: relative;
  z-index: 1;
  display: block;
  object-fit: contain;
  mix-blend-mode: multiply;
  transition: transform 0.35s ease;
}

.toy-category-card:hover .toy-category-visual img {
  transform: scale(1.05) rotate(-1deg);
}

.toy-catalog {
  padding: 82px clamp(20px, 5vw, 76px) 104px;
  background: #f5eee5;
}

.toy-catalog-head {
  max-width: var(--content-width);
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 40px;
  margin: 0 auto 34px;
}

.toy-catalog-intro {
  max-width: 430px;
  color: var(--warm-gray);
  font-size: 15px;
  line-height: 1.65;
  text-wrap: pretty;
}

.toy-controls {
  max-width: var(--content-width);
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 28px;
  margin: 0 auto;
  padding: 18px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.toy-control-summary {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.toy-control-summary strong {
  font-family: "Playfair Display", serif;
  font-size: 24px;
}

.toy-control-summary span {
  color: var(--warm-gray);
  font-size: 12px;
  font-weight: 600;
}

.toy-selects {
  display: flex;
  align-items: end;
  gap: 12px;
}

.toy-selects label {
  display: grid;
  gap: 6px;
}

.toy-selects label > span {
  color: var(--warm-gray);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.toy-category-select-wrap {
  display: none !important;
}

.toy-sort {
  min-height: 44px;
  min-width: 210px;
  padding: 9px 40px 9px 15px;
  border: 1.5px solid rgba(196, 113, 74, 0.25);
  border-radius: 999px;
  appearance: none;
  -webkit-appearance: none;
  background:
    white
    url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%239f5235' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'/%3e%3c/svg%3e")
    no-repeat right 15px center;
  color: var(--charcoal);
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}

.toy-sort:hover,
.toy-sort:focus {
  border-color: var(--terracota);
  box-shadow: 0 5px 18px rgba(196, 113, 74, 0.12);
}

.toy-grid {
  max-width: var(--content-width);
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
  margin: 22px auto 0;
}

.toy-card {
  --toy-card-accent: #9b583d;
  --toy-card-tint: #f3e3d8;
  min-width: 0;
  position: relative;
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(44, 40, 34, 0.06);
  border-radius: 24px;
  background: var(--white);
  overflow: hidden;
  transition: transform 0.36s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.36s ease;
}

.toy-card:hover {
  box-shadow: 0 28px 58px rgba(70, 53, 40, 0.14);
  transform: translateY(-8px);
}

.toy-stage {
  position: relative;
  aspect-ratio: 1.04;
  display: grid;
  place-items: center;
  padding: 20px;
  border-bottom: 4px solid var(--toy-card-accent);
  background: var(--toy-card-tint);
  color: inherit;
  overflow: hidden;
  text-decoration: none;
}

.toy-stage::after {
  position: absolute;
  width: 58%;
  height: 14px;
  left: 21%;
  bottom: 8%;
  border-radius: 50%;
  content: "";
  background: rgba(44, 40, 34, 0.1);
  filter: blur(10px);
}

.toy-stage img {
  width: 100%;
  height: 100%;
  position: relative;
  z-index: 2;
  display: block;
  border-radius: 14px;
  background: white;
  object-fit: contain;
  mix-blend-mode: normal;
  transition: transform 0.4s ease;
}

.toy-card:hover .toy-stage img {
  transform: scale(1.04);
}

.toy-card-copy {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 20px 21px 21px;
}

.toy-card-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
}

.toy-category {
  min-width: 0;
  display: inline-flex;
  align-items: center;
  padding: 4px 8px;
  border-radius: 999px;
  background: var(--toy-card-tint);
  color: var(--toy-card-accent);
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 0.9px;
  text-transform: uppercase;
}

.toy-card h3 {
  min-height: 46px;
  font-family: "Playfair Display", serif;
  font-size: clamp(20px, 1.5vw, 24px);
  font-weight: 800;
  line-height: 1.04;
  text-wrap: balance;
}

.toy-card h3 a {
  color: inherit;
  text-decoration: none;
}

.toy-card h3 a:hover {
  color: var(--toy-card-accent);
}

.toy-description {
  display: -webkit-box;
  margin-top: 9px;
  color: var(--warm-gray);
  font-size: 12.5px;
  line-height: 1.48;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.toy-price-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: auto;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.toy-price:last-child {
  text-align: right;
}

.toy-price small {
  min-height: 20px;
  display: block;
  margin-bottom: 3px;
  color: var(--warm-gray);
  font-size: 8.5px;
  font-weight: 800;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.toy-price strong {
  display: block;
  color: var(--terracota-dark);
  font-family: "Playfair Display", serif;
  font-size: 20px;
  font-variant-numeric: tabular-nums;
  line-height: 1;
}

.toy-price--cash strong {
  color: var(--toy-card-accent);
}

.toy-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-top: 16px;
}

.toy-add,
.toy-consult,
.toy-more {
  min-width: 0;
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 10px 11px;
  border: 1px solid var(--charcoal);
  border-radius: 999px;
  font: inherit;
  font-size: 12px;
  font-weight: 800;
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.22s ease, transform 0.22s ease;
}

.toy-add {
  border-color: var(--toy-card-accent);
  background: var(--toy-card-accent);
  color: white;
  cursor: pointer;
}

.toy-consult {
  background: white;
  border-color: var(--toy-card-accent);
  color: var(--toy-card-accent);
}

.toy-add:hover,
.toy-consult:hover {
  border-color: var(--charcoal);
  background: var(--charcoal);
  color: white;
  transform: translateY(-2px);
}

.toy-add:active,
.toy-consult:active,
.toy-more:active {
  transform: scale(0.98);
}

.toy-more {
  min-height: 44px;
  justify-content: space-between;
  margin-top: 8px;
  padding-inline: 16px;
  border-color: transparent;
  background: var(--toy-card-tint);
  color: var(--toy-card-accent);
}

.toy-more:hover {
  border-color: var(--toy-card-accent);
  background: var(--toy-card-tint);
}

.toy-grid-status {
  grid-column: 1 / -1;
  min-height: 220px;
  display: grid;
  place-items: center;
  color: var(--warm-gray);
  text-align: center;
}

.toy-grid-status a {
  color: var(--terracota-dark);
  font-weight: 800;
}

.toy-load-more-wrap {
  max-width: var(--content-width);
  display: flex;
  justify-content: center;
  margin: 38px auto 0;
}

.toy-load-more {
  min-height: 50px;
  padding: 12px 26px;
  border: 1.5px solid var(--terracota);
  border-radius: 999px;
  background: transparent;
  color: var(--terracota-dark);
  font-size: 13px;
  font-weight: 900;
  cursor: pointer;
  transition: background 0.22s ease, color 0.22s ease, transform 0.22s ease;
}

.toy-load-more:hover {
  background: var(--terracota-dark);
  color: white;
  transform: translateY(-2px);
}

.toy-load-more[hidden] {
  display: none;
}

.toy-directory {
  position: relative;
  padding: calc(var(--promo-height) + var(--nav-height) + 18px) clamp(16px, 4.6vw, 68px) 46px;
  background: #f8f3ec;
  overflow: hidden;
}

.toy-directory::before {
  display: none;
}

.toy-directory-inner {
  max-width: 1260px;
  position: relative;
  margin: 0 auto;
  padding: clamp(40px, 4.4vw, 64px) clamp(28px, 4.4vw, 64px) 24px;
  border: 1px solid rgba(105, 73, 53, 0.07);
  border-radius: 30px;
  background: #f1e9de;
  box-shadow: 0 20px 54px rgba(81, 58, 43, 0.09);
  isolation: isolate;
  overflow: hidden;
}

.toy-directory-scene {
  width: min(52%, 650px);
  height: 350px;
  position: absolute;
  top: -8px;
  right: -2%;
  z-index: 0;
  pointer-events: none;
}

.toy-directory-scene::after {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, #f1e9de 0%, rgba(241, 233, 222, 0.84) 17%, rgba(241, 233, 222, 0.16) 54%, transparent 76%),
    linear-gradient(0deg, #f1e9de 0%, rgba(241, 233, 222, 0.05) 34%);
  content: "";
}

.toy-directory-scene img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
  filter: saturate(0.88) contrast(0.96);
}

.toy-directory-heading {
  width: min(54%, 610px);
  min-height: 244px;
  position: relative;
  z-index: 1;
}

.toy-directory-heading h2 {
  max-width: 610px;
  font-family: "Playfair Display", serif;
  font-size: clamp(42px, 4.2vw, 62px);
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 0.94;
  text-wrap: balance;
}

.toy-directory-heading p {
  max-width: 490px;
  margin-top: 22px;
  color: var(--warm-gray);
  font-size: 15px;
  line-height: 1.6;
  text-wrap: pretty;
}

.toy-directory-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
  gap: 11px;
  margin-top: 18px;
}

.toy-directory-group {
  min-width: 0;
  border: 1px solid rgba(86, 62, 47, 0.075);
  border-radius: 19px;
  background: rgba(255, 253, 249, 0.94);
  box-shadow: 0 8px 20px rgba(76, 54, 41, 0.075);
  overflow: hidden;
  transition:
    border-color 0.24s ease,
    box-shadow 0.24s ease;
}

.toy-directory-group:hover,
.toy-directory-group[open] {
  border-color: rgba(159, 82, 53, 0.18);
  box-shadow: 0 12px 28px rgba(76, 54, 41, 0.11);
}

.toy-directory-group summary {
  min-width: 0;
  min-height: 80px;
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr) 44px 20px;
  align-items: center;
  gap: 12px;
  padding: 6px 12px 6px 6px;
  list-style: none;
  cursor: pointer;
  user-select: none;
}

.toy-directory-group summary::-webkit-details-marker {
  display: none;
}

.toy-directory-thumb {
  width: 96px;
  height: 66px;
  display: block;
  border-radius: 14px;
  background: #eee4d7;
  overflow: hidden;
}

.toy-directory-thumb img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.toy-directory-name {
  min-width: 0;
  font-family: "Playfair Display", serif;
  font-size: clamp(20px, 1.8vw, 26px);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.04;
  overflow-wrap: normal;
}

.toy-directory-group summary > strong {
  width: 44px;
  height: 44px;
  display: inline-grid;
  place-items: center;
  border-radius: 13px;
  background: #eee8dc;
  color: var(--terracota-dark);
  font-size: 12px;
  font-variant-numeric: tabular-nums;
  font-weight: 750;
  line-height: 1;
}

.toy-directory-chevron {
  color: #8b847c;
  font-family: Arial, sans-serif;
  font-size: 25px;
  font-weight: 300;
  line-height: 1;
  text-align: center;
  transition: transform 0.24s ease;
}

.toy-directory-group[open] .toy-directory-chevron {
  transform: rotate(90deg);
}

.toy-directory-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 18px;
  padding: 7px 16px 14px;
  border-top: 1px solid var(--line);
}

.toy-directory-links a {
  min-width: 0;
  min-height: 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 10px 3px;
  border-bottom: 1px solid rgba(44, 40, 34, 0.08);
  color: var(--warm-gray);
  font-size: 12.5px;
  font-weight: 700;
  line-height: 1.35;
  text-decoration: none;
  overflow-wrap: anywhere;
  transition: color 0.2s ease, padding 0.2s ease;
}

.toy-directory-links a:last-child {
  border-bottom: 0;
}

.toy-directory-links a > span {
  flex: 0 0 auto;
  color: var(--terracota);
  font-size: 16px;
  transition: transform 0.2s ease;
}

.toy-directory-links a:hover {
  padding-left: 6px;
  color: var(--terracota-dark);
}

.toy-directory-links a:hover > span {
  transform: translateX(3px);
}

.toy-directory-group summary:focus-visible,
.toy-directory-links a:focus-visible {
  position: relative;
  z-index: 2;
}

.toy-footer {
  padding: 54px clamp(20px, 6vw, 88px) 26px;
  background: #241f1b;
  color: white;
}

.toy-footer-inner {
  max-width: 1240px;
  display: grid;
  grid-template-columns: 1.4fr 0.8fr 0.8fr;
  gap: 40px;
  margin: 0 auto;
}

.toy-footer-logo {
  width: 44px;
  height: 44px;
  border-radius: 9px;
}

.toy-footer-brand p {
  max-width: 420px;
  margin-top: 15px;
  color: rgba(255, 255, 255, 0.55);
  font-size: 13px;
  line-height: 1.65;
}

.toy-footer h3 {
  margin-bottom: 13px;
  color: #e7b89d;
  font-size: 11px;
  letter-spacing: 1.8px;
  text-transform: uppercase;
}

.toy-footer-links {
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.toy-footer-links a {
  color: rgba(255, 255, 255, 0.72);
  font-size: 13px;
  text-decoration: none;
}

.toy-footer-copy {
  max-width: 1240px;
  margin: 38px auto 0;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.66);
  font-size: 11px;
  text-align: center;
}

.toy-floating-whatsapp {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 90;
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #146c37;
  color: white;
  font-size: 22px;
  text-decoration: none;
  box-shadow: 0 14px 30px rgba(19, 119, 58, 0.32);
}

@media (max-width: 1120px) {
  .toy-hero {
    min-height: 590px;
  }

  .toy-category-card {
    grid-template-columns: minmax(105px, 0.68fr) minmax(0, 1fr);
  }

  .toy-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 960px) {
  .toy-hero-copy {
    width: min(600px, 65vw);
  }

  .toy-category-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .toy-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
  }

  .toy-directory-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .toy-hero {
    min-height: 460px;
    align-items: flex-start;
    padding: calc(var(--promo-height) + var(--nav-height) + 34px) 20px 34px;
  }

  .toy-hero::before {
    background:
      linear-gradient(180deg, rgba(250, 246, 240, 0.96) 0%, rgba(250, 246, 240, 0.87) 47%, rgba(250, 246, 240, 0.14) 74%, rgba(44, 40, 34, 0.08) 100%),
      linear-gradient(90deg, rgba(250, 246, 240, 0.55), transparent 82%);
  }

  .toy-hero-media img {
    object-position: 61% center;
  }

  .toy-hero-copy {
    width: min(100%, 410px);
  }

  .toy-hero h1 {
    max-width: 390px;
    font-size: clamp(43px, 12vw, 66px);
    line-height: 0.91;
  }

  .toy-hero-lead {
    max-width: 340px;
    margin-top: 15px;
    font-size: 14px;
    line-height: 1.45;
  }

  .toy-primary-action {
    min-height: 46px;
    margin-top: 18px;
    padding: 11px 20px;
    font-size: 13px;
  }

  .toy-categories {
    padding: 48px 16px 56px;
  }

  .toy-section-head,
  .toy-catalog-head {
    display: block;
  }

  .toy-section-head {
    margin-bottom: 22px;
  }

  .toy-section-head h2,
  .toy-catalog-head h2 {
    font-size: clamp(34px, 9vw, 48px);
  }

  .toy-category-reset {
    margin-top: 14px;
  }

  .toy-category-grid {
    gap: 12px;
  }

  .toy-category-card {
    min-height: 154px;
    display: flex;
    flex-direction: column;
    border-radius: 17px;
  }

  .toy-category-card-copy {
    flex: 1;
    justify-content: flex-start;
    padding: 10px 12px 13px;
    border-top: 1px solid rgba(44, 40, 34, 0.07);
    background: var(--white);
  }

  .toy-category-card-copy small {
    display: none;
  }

  .toy-category-card-copy strong {
    min-height: 36px;
    font-size: clamp(18px, 5vw, 22px);
    line-height: 0.98;
  }

  .toy-category-card-copy > span {
    margin-top: 5px;
    font-size: 9px;
  }

  .toy-category-visual {
    height: 82px;
    flex: 0 0 82px;
    padding: 8px 12px 0;
  }

  .toy-category-visual::before {
    inset: 8px 24px 0;
  }

  .toy-category-card[aria-pressed="true"]::after {
    top: 8px;
    right: 8px;
    width: 22px;
    height: 22px;
  }

  .toy-catalog {
    padding: 58px 16px 72px;
  }

  .toy-catalog-intro {
    margin-top: 13px;
    font-size: 13px;
  }

  .toy-catalog-head {
    margin-bottom: 26px;
  }

  .toy-controls {
    position: static;
    align-items: stretch;
    flex-direction: column;
    gap: 15px;
    padding: 15px 0;
  }

  .toy-control-summary {
    flex-direction: row;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
  }

  .toy-control-summary strong {
    font-size: 21px;
  }

  .toy-selects {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 9px;
  }

  .toy-category-select-wrap {
    display: grid !important;
  }

  .toy-sort {
    width: 100%;
    min-width: 0;
    min-height: 44px;
    padding: 8px 32px 8px 11px;
    border-radius: 12px;
    background-position: right 11px center;
    font-size: 13px;
  }

  .toy-price strong {
    font-size: 19px;
  }

  .toy-directory {
    padding: calc(var(--promo-height) + var(--nav-height) + 28px) 20px 64px;
  }

  .toy-directory-heading {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .toy-directory-heading h2 {
    font-size: clamp(34px, 9vw, 48px);
  }

  .toy-directory-heading p {
    font-size: 13px;
  }

  .toy-directory-grid {
    grid-template-columns: 1fr;
    gap: 12px;
    margin-top: 30px;
  }

  .toy-directory-group summary {
    min-height: 60px;
  }

  .toy-footer-inner {
    grid-template-columns: 1fr 1fr;
  }

  .toy-footer-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 620px) {
  .toy-hero {
    min-height: 420px;
  }

  .toy-catalog {
    padding-inline: 12px;
  }

  .toy-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px 10px;
  }

  .toy-card,
  .toy-card:hover {
    border-radius: 18px;
    box-shadow: 0 8px 22px rgba(70, 53, 40, 0.09);
    transform: none;
  }

  .toy-stage {
    aspect-ratio: 1;
    padding: 7px;
    border-bottom-width: 3px;
  }

  .toy-stage::after {
    display: none;
  }

  .toy-stage img {
    border-radius: 11px;
  }

  .toy-card-copy {
    padding: 11px 10px 12px;
  }

  .toy-card-meta {
    min-height: 22px;
    margin-bottom: 6px;
  }

  .toy-category {
    padding: 3px 6px;
    font-size: 7.5px;
    letter-spacing: 0.4px;
    line-height: 1.2;
  }

  .toy-card h3 {
    min-height: 3.45em;
    font-size: clamp(15px, 4.1vw, 17px);
    line-height: 1.15;
    text-wrap: pretty;
  }

  .toy-description {
    display: none;
  }

  .toy-price-row {
    grid-template-columns: minmax(0, 1fr);
    gap: 3px;
    padding-top: 10px;
  }

  .toy-price,
  .toy-price:last-child {
    text-align: left;
  }

  .toy-price--cash {
    grid-row: 1;
  }

  .toy-price:not(.toy-price--cash) {
    grid-row: 2;
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 4px;
  }

  .toy-price small {
    min-height: 0;
    margin: 0;
    font-size: 7.5px;
    letter-spacing: 0.25px;
    line-height: 1.2;
  }

  .toy-price--cash small {
    margin-bottom: 3px;
  }

  .toy-price--cash strong {
    font-size: 19px;
  }

  .toy-price:not(.toy-price--cash) strong {
    color: var(--warm-gray);
    font-family: "DM Sans", sans-serif;
    font-size: 11.5px;
    font-weight: 650;
    text-decoration: line-through;
  }

  .toy-actions {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 5px;
    margin-top: 10px;
  }

  .toy-actions [aria-hidden="true"] {
    display: none;
  }

  .toy-add,
  .toy-consult,
  .toy-more {
    min-height: 44px;
    gap: 3px;
    padding: 7px 4px;
    border-radius: 12px;
    font-size: 10.5px;
  }

  .toy-more {
    margin-top: 6px;
    padding-inline: 10px;
  }

  .toy-card a:focus-visible,
  .toy-card button:focus-visible {
    outline-color: var(--toy-card-accent);
    outline-offset: -3px;
  }

  .toy-floating-whatsapp {
    display: none;
  }
}

@media (max-width: 420px) {
  .toy-promo {
    padding-inline: 6px;
  }

  .toy-nav {
    padding-inline: 15px;
  }

  .toy-hero {
    min-height: 400px;
    padding-inline: 18px;
  }

  .toy-category-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .toy-category-card {
    min-height: 150px;
  }

  .toy-category-card-copy > span {
    font-size: 8.5px;
  }

  .toy-directory {
    padding-inline: 16px;
  }

  .toy-directory-group summary {
    padding-left: 15px;
  }

  .toy-directory-links {
    padding-inline: 15px;
  }

  .toy-footer-inner {
    grid-template-columns: 1fr;
  }

  .toy-footer-brand {
    grid-column: auto;
  }
}

@media (max-width: 360px) {
  .toy-actions {
    grid-template-columns: minmax(0, 1fr);
  }

  .toy-add,
  .toy-consult,
  .toy-more {
    font-size: 11px;
  }
}

@media (max-width: 340px) {
  .toy-hero {
    min-height: 390px;
  }

  .toy-hero h1 {
    font-size: 40px;
  }

  .toy-category-card-copy {
    padding-left: 12px;
  }

  .toy-category-card-copy strong {
    font-size: 16px;
  }

  .toy-category-card-copy > span {
    display: none;
  }

  .toy-selects {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 300px) {
  .toy-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* Colección de juguetes: recorrido corto, filtros compactos y fichas limpias. */
.sr-only {
  width: 1px !important;
  height: 1px !important;
  position: absolute !important;
  margin: -1px !important;
  padding: 0 !important;
  border: 0 !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
}

.toy-hero {
  min-height: 430px;
  align-items: flex-end;
  padding: calc(var(--promo-height) + var(--nav-height) + 48px) clamp(24px, 5vw, 76px) 48px;
  color: white;
}

.toy-hero::before {
  background:
    linear-gradient(180deg, rgba(38, 31, 26, 0.08) 30%, rgba(38, 31, 26, 0.68) 100%),
    linear-gradient(90deg, rgba(126, 63, 44, 0.12), transparent 60%);
}

.toy-hero-media img {
  object-position: center 55%;
}

.toy-hero-copy {
  width: min(720px, 100%);
}

.toy-hero h1 {
  max-width: none;
  color: white;
  font-size: clamp(58px, 6vw, 88px);
  letter-spacing: -0.045em;
  line-height: 0.95;
  text-shadow: 0 2px 28px rgba(25, 18, 14, 0.24);
}

.toy-hero-lead {
  max-width: 520px;
  margin-top: 10px;
  color: rgba(255, 255, 255, 0.92);
  font-size: clamp(15px, 1.25vw, 18px);
  line-height: 1.4;
}

.toy-catalog {
  padding: 0 clamp(20px, 5vw, 76px) 96px;
  background: var(--white);
}

.toy-controls {
  min-height: 74px;
  align-items: center;
  gap: 24px;
  margin: 0 auto;
  padding: 12px 0;
  border-top: 0;
  border-bottom: 1px solid var(--line);
}

.toy-filter-disclosure {
  position: relative;
  z-index: 30;
}

.toy-filter-disclosure summary {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  gap: 11px;
  padding: 9px 16px;
  border: 1px solid rgba(44, 40, 34, 0.16);
  border-radius: 999px;
  background: white;
  font-size: 13px;
  font-weight: 750;
  list-style: none;
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.toy-filter-disclosure summary::-webkit-details-marker {
  display: none;
}

.toy-filter-disclosure summary::after {
  width: 7px;
  height: 7px;
  margin-left: 3px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  content: "";
  transform: translateY(-2px) rotate(45deg);
  transition: transform 0.2s ease;
}

.toy-filter-disclosure[open] summary {
  border-color: var(--terracota);
  background: #fffaf6;
}

.toy-filter-disclosure[open] summary::after {
  transform: translateY(2px) rotate(225deg);
}

.toy-filter-icon {
  width: 17px;
  height: 14px;
  position: relative;
  display: inline-block;
  background:
    linear-gradient(currentColor, currentColor) 0 2px / 17px 1.5px no-repeat,
    linear-gradient(currentColor, currentColor) 0 7px / 17px 1.5px no-repeat,
    linear-gradient(currentColor, currentColor) 0 12px / 17px 1.5px no-repeat;
}

.toy-filter-icon::before,
.toy-filter-icon::after {
  width: 4px;
  height: 4px;
  position: absolute;
  border: 1.5px solid currentColor;
  border-radius: 50%;
  content: "";
  background: white;
}

.toy-filter-icon::before {
  top: -1px;
  left: 4px;
}

.toy-filter-icon::after {
  top: 9px;
  right: 3px;
}

.toy-selects {
  width: min(560px, calc(100vw - 40px));
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  padding: 18px;
  border: 1px solid rgba(44, 40, 34, 0.1);
  border-radius: 18px;
  background: white;
  box-shadow: 0 22px 52px rgba(44, 40, 34, 0.16);
}

.toy-selects label,
.toy-category-select-wrap {
  display: grid !important;
  gap: 7px;
}

.toy-selects label > span {
  font-size: 9px;
  letter-spacing: 0.8px;
}

.toy-sort {
  width: 100%;
  min-width: 0;
  border-color: rgba(44, 40, 34, 0.16);
  border-radius: 12px;
}

.toy-control-summary {
  margin-left: auto;
}

.toy-control-summary strong {
  font-family: "DM Sans", sans-serif;
  font-size: 13px;
  font-weight: 650;
}

.toy-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px 20px;
  margin-top: 28px;
}

.toy-card {
  min-width: 0;
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(44, 40, 34, 0.07);
  border-radius: 18px;
  background: white;
  box-shadow: 0 6px 20px rgba(44, 40, 34, 0.08);
  overflow: hidden;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.toy-card:hover {
  box-shadow: 0 22px 44px rgba(44, 40, 34, 0.15);
  transform: translateY(-6px);
}

.toy-card-link {
  min-height: 44px;
  display: flex;
  flex-direction: column;
  flex: 1;
  color: inherit;
  text-decoration: none;
}

.toy-stage {
  aspect-ratio: 1;
  padding: clamp(9px, 1.2vw, 16px);
  border: 0;
  border-radius: 0;
  background: var(--sand-soft);
}

.toy-stage::after {
  display: none;
}

.toy-stage picture {
  display: block;
  width: 100%;
  height: 100%;
}

.toy-stage img {
  border-radius: 10px;
  background: white;
  mix-blend-mode: normal;
}

.toy-card:hover .toy-stage img {
  transform: scale(1.025);
}

.toy-card-copy {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 13px 14px 0;
  background: white;
}

.toy-card h3 {
  min-height: 2.35em;
  font-family: "Playfair Display", serif;
  font-size: clamp(17px, 1.35vw, 20px);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.15;
  text-wrap: pretty;
}

.toy-price-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

.toy-price {
  min-width: 0;
}

.toy-price:last-child {
  text-align: right;
}

.toy-price small {
  min-height: 3.5em;
  display: block;
  margin-bottom: 5px;
  color: var(--warm-gray);
  font-size: 8.5px;
  font-weight: 700;
  letter-spacing: 0.1px;
  line-height: 1.3;
}

.toy-price strong {
  display: block;
  color: var(--charcoal);
  font-family: "DM Sans", sans-serif;
  font-size: 18px;
  font-weight: 750;
  font-variant-numeric: tabular-nums;
  line-height: 1.15;
}

.toy-price--cash small,
.toy-price--cash strong {
  color: var(--terracota-dark);
}

.toy-card-link:hover h3 {
  color: var(--terracota-dark);
}

.toy-card-link:focus-visible {
  border-radius: 14px;
  outline-color: var(--terracota);
  outline-offset: -4px;
}

.toy-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-top: 14px;
  padding: 0 14px 14px;
  background: white;
}

.toy-add,
.toy-more {
  min-width: 0;
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  margin: 0;
  padding: 8px 8px;
  border: 1px solid var(--terracota-dark);
  border-radius: 11px;
  font: inherit;
  font-size: 12px;
  font-weight: 750;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.toy-add {
  background: var(--terracota-dark);
  color: white;
  cursor: pointer;
}

.toy-more {
  justify-content: center;
  background: white;
  color: var(--terracota-dark);
}

.toy-add:hover,
.toy-more:hover {
  border-color: var(--charcoal);
  background: var(--charcoal);
  color: white;
  transform: translateY(-1px);
}

.toy-add:active,
.toy-more:active {
  transform: scale(0.98);
}

.toy-actions [aria-hidden="true"] {
  display: inline;
}

.toy-load-more-wrap {
  margin-top: 48px;
}

@media (max-width: 1120px) {
  .toy-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 840px) {
  .toy-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 620px) {
  .toy-hero {
    min-height: 320px;
    padding: calc(var(--promo-height) + var(--nav-height) + 30px) 18px 28px;
  }

  .toy-hero::before {
    background: linear-gradient(180deg, rgba(38, 31, 26, 0.04) 28%, rgba(38, 31, 26, 0.7) 100%);
  }

  .toy-hero-media img {
    object-position: 61% center;
  }

  .toy-hero h1 {
    font-size: clamp(44px, 14vw, 58px);
  }

  .toy-hero-lead {
    max-width: 310px;
    margin-top: 7px;
    font-size: 13px;
  }

  .toy-catalog {
    padding: 0 10px 68px;
  }

  .toy-controls {
    min-height: 66px;
    align-items: center;
    flex-direction: row;
    gap: 10px;
    padding: 10px 2px;
  }

  .toy-filter-disclosure summary {
    min-height: 44px;
    gap: 8px;
    padding: 8px 12px;
    font-size: 12px;
  }

  .toy-selects {
    width: min(350px, calc(100vw - 24px));
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
    padding: 15px;
  }

  .toy-control-summary strong {
    font-size: 11px;
    white-space: nowrap;
  }

  .toy-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px 10px;
    margin-top: 18px;
  }

  .toy-card,
  .toy-card:hover {
    border-radius: 16px;
    box-shadow: 0 6px 18px rgba(44, 40, 34, 0.08);
    transform: none;
  }

  .toy-stage {
    aspect-ratio: 1;
    padding: 7px;
    border-radius: 0;
  }

  .toy-stage img {
    border-radius: 8px;
  }

  .toy-card-copy {
    padding: 10px 9px 0;
  }

  .toy-card h3 {
    min-height: 3.6em;
    font-size: clamp(13px, 3.8vw, 15px);
    line-height: 1.2;
  }

  .toy-price-row {
    gap: 5px;
    padding-top: 9px;
  }

  .toy-price,
  .toy-price:last-child,
  .toy-price--cash,
  .toy-price:not(.toy-price--cash) {
    grid-row: auto;
    display: block;
    text-align: left;
  }

  .toy-price--list {
    grid-column: 1;
  }

  .toy-price.toy-price--cash {
    grid-column: 2;
    text-align: right;
  }

  .toy-price small {
    min-height: 4.4em;
    margin-bottom: 4px;
    font-size: clamp(7px, 2.1vw, 8px);
    line-height: 1.25;
    text-transform: none;
  }

  .toy-price strong,
  .toy-price:not(.toy-price--cash) strong {
    display: block;
    color: var(--charcoal);
    font-family: "DM Sans", sans-serif;
    font-size: clamp(13.5px, 4.3vw, 17px);
    font-weight: 750;
    text-decoration: none;
  }

  .toy-price--cash strong {
    color: var(--terracota-dark);
  }

  .toy-actions {
    gap: 5px;
    margin-top: 11px;
    padding: 0 9px 11px;
  }

  .toy-add,
  .toy-more {
    min-height: 44px;
    gap: 3px;
    padding: 6px 3px;
    border-radius: 10px;
    font-size: 10.5px;
  }
}

@media (max-width: 340px) {
  .toy-filter-disclosure summary > span:nth-child(2) {
    max-width: 68px;
    line-height: 1.05;
  }

  .toy-actions [aria-hidden="true"] {
    display: none;
  }
}

@media (max-width: 300px) {
  .toy-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* Store layout approved from the mobile reference — 2026-07-24 */
:root {
  --promo-height: 34px;
  --nav-height: 84px;
  --store-surface: #fcf9f4;
  --store-field: #f3eee7;
  --store-accent: #b95c3b;
  --store-accent-dark: #95472f;
}

body {
  background: var(--store-surface);
}

.toy-promo {
  background: var(--store-accent);
  font-size: clamp(9px, 2.2vw, 12px);
  font-weight: 600;
}

.toy-nav {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) auto;
  justify-content: initial;
  padding: 8px clamp(14px, 3.8vw, 48px);
  border-bottom-color: rgba(112, 73, 53, 0.08);
  background: rgba(252, 249, 244, 0.97);
}

.toy-menu-button {
  grid-column: 1;
  justify-self: start;
  width: 44px;
  height: 44px;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.toy-menu-button span {
  width: 20px;
  height: 1.5px;
}

.toy-logo {
  width: min(142px, 42vw);
  position: absolute;
  left: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  color: #a85e45;
  line-height: 1;
  text-align: center;
  text-decoration: none;
  transform: translateX(-50%);
}

.toy-logo svg {
  width: 45px;
  height: 21px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.15;
}

.toy-logo strong {
  margin-top: -1px;
  font-family: "Playfair Display", serif;
  font-size: clamp(16px, 4.8vw, 22px);
  font-weight: 500;
  letter-spacing: 0.035em;
}

.toy-logo small {
  margin-top: 4px;
  font-size: clamp(5px, 1.35vw, 7px);
  font-weight: 700;
  letter-spacing: 0.28em;
}

.toy-nav-actions {
  grid-column: 3;
  display: flex;
  align-items: center;
  justify-self: end;
  gap: 2px;
}

.toy-nav-action {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--charcoal);
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.toy-nav-action svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.55;
}

.toy-nav-action:hover {
  background: rgba(185, 92, 59, 0.08);
  color: var(--store-accent-dark);
}

.toy-nav-action:active {
  transform: scale(0.96);
}

.toy-catalog {
  min-height: 70vh;
  padding: 30px clamp(16px, 4.6vw, 68px) 96px;
  background: var(--store-surface);
}

.toy-controls {
  max-width: 1260px;
  min-height: 52px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 0;
  margin: 0 auto;
  padding: 4px;
  border: 0;
  border-radius: 999px;
  background: var(--store-field);
}

.toy-search-field {
  min-width: 0;
  min-height: 44px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 8px 0 13px;
  color: #958a80;
}

.toy-search-field svg {
  width: 19px;
  height: 19px;
  flex: 0 0 auto;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-width: 1.6;
}

.toy-search-field input {
  min-width: 0;
  width: 100%;
  height: 42px;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--charcoal);
  font: inherit;
  font-size: 13px;
}

.toy-search-field input::placeholder {
  color: #a59b92;
  opacity: 1;
}

.toy-search-field:focus-within {
  color: var(--store-accent-dark);
}

.toy-filter-disclosure {
  position: relative;
  z-index: 40;
}

.toy-filter-disclosure summary {
  min-height: 44px;
  gap: 8px;
  padding: 0 15px;
  border: 0;
  border-left: 1px solid rgba(44, 40, 34, 0.08);
  border-radius: 999px;
  background: transparent;
  color: #7a7067;
  font-size: 12px;
  font-weight: 500;
  box-shadow: none;
}

.toy-filter-disclosure summary::after {
  display: none;
}

.toy-filter-disclosure[open] summary,
.toy-filter-disclosure summary:hover {
  border-left-color: transparent;
  background: white;
  color: var(--charcoal);
}

.toy-selects {
  width: min(520px, calc(100vw - 24px));
  top: calc(100% + 9px);
  right: 0;
  left: auto;
  gap: 12px;
  padding: 15px;
  border: 1px solid rgba(44, 40, 34, 0.08);
  border-radius: 14px;
  box-shadow: 0 18px 45px rgba(76, 53, 39, 0.15);
}

.toy-sort {
  border-color: rgba(44, 40, 34, 0.12);
  border-radius: 10px;
  box-shadow: none;
}

.toy-control-summary {
  width: 1px;
  height: 1px;
  position: absolute;
  padding: 0;
  margin: -1px;
  border: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

.toy-grid {
  max-width: 1260px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px 14px;
  margin-top: 16px;
}

.toy-card,
.toy-card:hover {
  border: 1px solid rgba(80, 55, 41, 0.07);
  border-radius: 11px;
  background: #fff;
  box-shadow: 0 5px 18px rgba(87, 62, 47, 0.075);
  transform: none;
}

.toy-card:hover {
  box-shadow: 0 13px 30px rgba(87, 62, 47, 0.12);
  transform: translateY(-2px);
}

.toy-card-link {
  color: inherit;
}

.toy-stage {
  aspect-ratio: 1.15;
  padding: 0;
  border: 0;
  background: #f3eee7;
}

.toy-stage img {
  width: 100%;
  height: 100%;
  border-radius: 0;
  background: #f3eee7;
  object-fit: contain;
}

.toy-card:hover .toy-stage img {
  transform: scale(1.012);
}

.toy-card-copy {
  padding: 11px 12px 0;
  background: #fff;
}

.toy-card h3 {
  min-height: 2.3em;
  font-size: clamp(16px, 1.35vw, 19px);
  font-weight: 600;
  line-height: 1.15;
}

.toy-card h3::after {
  width: 19px;
  height: 1.5px;
  display: block;
  margin-top: 8px;
  content: "";
  background: var(--store-accent);
}

.toy-price-row {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
  margin-top: 10px;
  padding-top: 0;
  border: 0;
}

.toy-price,
.toy-price:last-child,
.toy-price--cash,
.toy-price:not(.toy-price--cash) {
  min-width: 0;
  display: block;
  text-align: left;
}

.toy-price--list {
  padding-right: 10px;
}

.toy-price.toy-price--cash {
  padding-left: 10px;
  border-left: 1px solid rgba(44, 40, 34, 0.09);
  text-align: left;
}

.toy-price small {
  min-height: 2.5em;
  display: block;
  margin: 0 0 5px;
  color: #7c7168;
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0;
  line-height: 1.25;
  text-transform: none;
}

.toy-price--cash small {
  color: #7c7168;
}

.toy-price strong,
.toy-price:not(.toy-price--cash) strong {
  display: block;
  color: var(--charcoal);
  font-family: "Playfair Display", serif;
  font-size: clamp(19px, 1.65vw, 24px);
  font-weight: 500;
  line-height: 1;
  text-decoration: none;
}

.toy-price--cash strong {
  color: var(--store-accent);
}

.toy-actions {
  grid-template-columns: minmax(0, 1fr) 46px;
  gap: 8px;
  margin-top: auto;
  padding: 12px;
  background: #fffdfa;
}

.toy-add,
.toy-more {
  min-height: 44px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 650;
}

.toy-add {
  border-color: var(--store-accent);
  background: var(--store-accent);
}

.toy-more {
  width: 46px;
  padding: 0;
  border-color: rgba(185, 92, 59, 0.65);
  background: transparent;
  color: var(--store-accent-dark);
  font-family: "Playfair Display", serif;
  font-size: 21px;
}

.toy-add:hover,
.toy-more:hover {
  border-color: var(--store-accent-dark);
  background: var(--store-accent-dark);
  color: white;
}

.toy-more [aria-hidden="true"] {
  display: inline;
  transform: translateY(-1px);
}

#cwRoot .cw-fab {
  display: none !important;
}

@media (max-width: 1120px) {
  .toy-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 840px) {
  .toy-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 620px) {
  :root {
    --nav-height: 82px;
  }

  .toy-nav {
    padding-inline: 10px;
  }

  .toy-logo {
    width: 122px;
  }

  .toy-logo svg {
    width: 39px;
    height: 18px;
  }

  .toy-logo strong {
    font-size: 17px;
  }

  .toy-logo small {
    margin-top: 3px;
    font-size: 5.5px;
  }

  .toy-nav-action {
    width: 40px;
    height: 44px;
  }

  .toy-nav-action svg {
    width: 20px;
    height: 20px;
  }

  .toy-catalog {
    padding: 18px 14px 70px;
  }

  .toy-controls {
    min-height: 48px;
  }

  .toy-search-field {
    min-height: 42px;
    gap: 8px;
    padding-left: 10px;
  }

  .toy-search-field svg {
    width: 17px;
    height: 17px;
  }

  .toy-search-field input {
    height: 40px;
    font-size: 11px;
  }

  .toy-filter-disclosure summary {
    min-height: 40px;
    gap: 6px;
    padding: 0 11px;
    font-size: 10.5px;
  }

  .toy-selects {
    width: min(350px, calc(100vw - 20px));
    grid-template-columns: minmax(0, 1fr);
  }

  .toy-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px 8px;
    margin-top: 12px;
  }

  .toy-card,
  .toy-card:hover {
    border-radius: 9px;
    box-shadow: 0 4px 14px rgba(87, 62, 47, 0.07);
  }

  .toy-stage {
    aspect-ratio: 1.15;
    padding: 0;
  }

  .toy-stage img {
    border-radius: 0;
  }

  .toy-card-copy {
    padding: 8px 8px 0;
  }

  .toy-card h3 {
    min-height: 2.5em;
    font-size: clamp(13px, 3.7vw, 15px);
    line-height: 1.18;
  }

  .toy-card h3::after {
    width: 17px;
    margin-top: 6px;
  }

  .toy-price-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0;
    margin-top: 8px;
    padding-top: 0;
  }

  .toy-price,
  .toy-price:last-child,
  .toy-price--cash,
  .toy-price:not(.toy-price--cash) {
    display: block;
    text-align: left;
  }

  .toy-price--list {
    padding-right: 6px;
  }

  .toy-price.toy-price--cash {
    padding-left: 6px;
    text-align: left;
  }

  .toy-price small {
    min-height: 2.7em;
    margin-bottom: 4px;
    font-size: clamp(7px, 2vw, 8px);
    line-height: 1.22;
  }

  .toy-price strong,
  .toy-price:not(.toy-price--cash) strong {
    font-family: "Playfair Display", serif;
    font-size: clamp(15.5px, 4.5vw, 19px);
    font-weight: 500;
  }

  .toy-actions {
    grid-template-columns: minmax(0, 1fr) 44px;
    gap: 6px;
    margin-top: auto;
    padding: 9px 8px 8px;
  }

  .toy-add,
  .toy-more {
    min-height: 44px;
    padding: 5px 4px;
    border-radius: 999px;
    font-size: clamp(8px, 2.35vw, 10.5px);
  }

  .toy-more {
    width: 44px;
    padding: 0;
    font-size: 19px;
  }
}

@media (max-width: 340px) {
  .toy-logo {
    width: 106px;
  }

  .toy-logo strong {
    font-size: 15px;
  }

  .toy-logo small {
    font-size: 5px;
  }

  .toy-nav-actions {
    gap: 0;
  }

  .toy-nav-action {
    width: 36px;
  }

  .toy-filter-disclosure summary {
    padding-inline: 8px;
  }

  .toy-filter-disclosure summary > span:nth-child(2) {
    max-width: none;
  }

  .toy-add {
    font-size: 8px;
  }

  .toy-more [aria-hidden="true"] {
    display: inline;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* Category index matched to the approved miniature-row reference — 2026-07-24 */
@media (max-width: 720px) {
  .toy-directory {
    padding: calc(var(--promo-height) + var(--nav-height) + 10px) 8px 28px;
  }

  .toy-directory-inner {
    padding: 28px 10px 12px;
    border-radius: 22px;
    box-shadow: 0 13px 38px rgba(81, 58, 43, 0.08);
  }

  .toy-directory-scene {
    width: 59%;
    height: 246px;
    top: 2px;
    right: -13%;
  }

  .toy-directory-scene::after {
    background:
      linear-gradient(90deg, #f1e9de 0%, rgba(241, 233, 222, 0.96) 23%, rgba(241, 233, 222, 0.24) 62%, transparent 84%),
      linear-gradient(0deg, #f1e9de 0%, rgba(241, 233, 222, 0.1) 36%);
  }

  .toy-directory-heading {
    width: 64%;
    min-height: 242px;
  }

  .toy-directory-heading h2 {
    font-size: clamp(34px, 9.4vw, 40px);
    line-height: 0.95;
  }

  .toy-directory-heading p {
    margin-top: 16px;
    font-size: 12.5px;
    line-height: 1.53;
  }

  .toy-directory-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 8px;
    margin-top: 0;
  }

  .toy-directory-group {
    border-radius: 17px;
  }

  .toy-directory-group summary {
    min-height: 68px;
    grid-template-columns: 82px minmax(0, 1fr) 42px 18px;
    gap: 8px;
    padding: 5px 10px 5px 5px;
  }

  .toy-directory-thumb {
    width: 82px;
    height: 58px;
    border-radius: 13px;
  }

  .toy-directory-name {
    font-size: clamp(17.5px, 5vw, 21px);
  }

  .toy-directory-group summary > strong {
    width: 42px;
    height: 42px;
    border-radius: 13px;
  }

  .toy-directory-chevron {
    font-size: 22px;
  }

  .toy-directory-links {
    grid-template-columns: minmax(0, 1fr);
    padding: 6px 12px 12px;
  }
}

@media (max-width: 420px) {
  .toy-directory-inner {
    padding-inline: 8px;
  }

  .toy-directory-scene {
    width: 63%;
    right: -17%;
  }

  .toy-directory-heading {
    width: 66%;
    min-height: 236px;
  }

  .toy-directory-heading h2 {
    font-size: clamp(33px, 9.2vw, 37px);
  }

  .toy-directory-heading p {
    font-size: 12px;
  }

  .toy-directory-group summary {
    grid-template-columns: 76px minmax(0, 1fr) 40px 16px;
    gap: 7px;
    padding-left: 5px;
  }

  .toy-directory-thumb {
    width: 76px;
    height: 56px;
  }

  .toy-directory-group summary > strong {
    width: 40px;
    height: 40px;
  }
}

@media (max-width: 340px) {
  .toy-directory-heading {
    width: 69%;
    min-height: 226px;
  }

  .toy-directory-heading h2 {
    font-size: 31px;
  }

  .toy-directory-heading p {
    margin-top: 13px;
    font-size: 11.5px;
  }

  .toy-directory-group summary {
    min-height: 62px;
    grid-template-columns: 68px minmax(0, 1fr) 36px 14px;
    gap: 5px;
    padding-right: 7px;
  }

  .toy-directory-thumb {
    width: 68px;
    height: 52px;
    border-radius: 11px;
  }

  .toy-directory-name {
    font-size: 16px;
  }

  .toy-directory-group summary > strong {
    width: 36px;
    height: 36px;
    border-radius: 11px;
    font-size: 11px;
  }

  .toy-directory-chevron {
    font-size: 19px;
  }
}

/* Product rows matched to the approved sales-card reference — 2026-07-24 */
.toy-grid {
  max-width: 960px;
  grid-template-columns: minmax(0, 1fr);
  gap: 14px;
  margin-top: 18px;
}

.toy-card,
.toy-card:hover {
  height: 240px;
  min-height: 240px;
  position: relative;
  display: block;
  border: 1px solid rgba(91, 65, 48, 0.07);
  border-radius: 16px;
  background: #fffdfa;
  box-shadow: 0 5px 18px rgba(87, 62, 47, 0.07);
  overflow: hidden;
  transform: none;
}

.toy-card:hover {
  box-shadow: 0 10px 24px rgba(87, 62, 47, 0.1);
  transform: translateY(-1px);
}

.toy-card-link {
  height: 240px;
  min-height: 240px;
  display: grid;
  grid-template-columns: minmax(0, 45%) minmax(0, 55%);
  color: inherit;
  text-decoration: none;
}

.toy-stage {
  min-height: 240px;
  height: 100%;
  aspect-ratio: auto;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: #fff;
}

.toy-stage::after {
  display: none;
}

.toy-image-frame {
  position: absolute;
  inset: 18px;
  display: grid;
  place-items: center;
  overflow: hidden;
  isolation: isolate;
  border-radius: 11px;
  background: #fff;
}

.toy-stage img {
  width: auto;
  height: auto;
  min-width: 0;
  min-height: 0;
  max-width: 100%;
  max-height: 100%;
  position: relative;
  z-index: 0;
  border-radius: 0;
  background: #fff;
  object-fit: contain;
  transform: none;
}

.toy-card:hover .toy-stage img {
  transform: none;
}

.toy-measure-badge {
  position: absolute;
  top: 18px;
  left: 18px;
  z-index: 2;
  padding: 5px 9px;
  border: 1px solid rgba(145, 102, 74, 0.08);
  border-radius: 7px;
  background: rgba(245, 235, 224, 0.96);
  color: #765a48;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.01em;
  line-height: 1;
  white-space: nowrap;
  box-shadow: 0 2px 8px rgba(85, 60, 45, 0.07);
}

.toy-stage--top img {
  clip-path: inset(9% 0 0);
}

.toy-stage--top-wide img {
  clip-path: inset(12% 0 0);
}

.toy-stage--bottom img {
  clip-path: inset(0 0 15%);
}

.toy-stage--left-narrow img {
  clip-path: inset(0 0 0 9%);
}

.toy-stage--left-wide img {
  clip-path: inset(0 0 0 19%);
}

.toy-stage--magneticos-26 img {
  clip-path: inset(0 4% 19% 11%);
}

.toy-stage--figuras img {
  clip-path: inset(2% 4% 13% 10%);
}

.toy-stage--alfombra img {
  clip-path: inset(0 0 35%);
}

.toy-stage--chifles img {
  clip-path: inset(12% 7% 21% 20%);
}

.toy-stage--piano img {
  clip-path: inset(4% 5% 17% 12%);
}

.toy-stage--frame-barril img {
  clip-path: inset(0 4% 10% 12%);
}

.toy-stage--frame-square img {
  clip-path: inset(0 4% 12% 11%);
}

.toy-stage--frame-doctor img {
  clip-path: inset(0 5% 12% 12%);
}

.toy-stage--frame-masses img {
  clip-path: inset(0 4% 17% 11%);
}

.toy-stage--top-product img {
  clip-path: inset(0 0 59%);
}

.toy-stage--frame-bingo img {
  clip-path: inset(0 4% 13% 12%);
}

.toy-stage--frame-kitchen img {
  clip-path: inset(5% 15% 12% 18%);
}

.toy-stage--bottom-product img {
  clip-path: inset(43% 0 0 30%);
}

.toy-stage--mask-factory img,
.toy-stage--mask-table img,
.toy-stage--mask-tejo img,
.toy-stage--mask-ajedrez img,
.toy-stage--mask-kitchen img {
  clip-path: none;
}

.toy-stage--table-masks .toy-image-frame::before,
.toy-stage--table-masks .toy-image-frame::after,
.toy-stage--tejo-masks .toy-image-frame::before,
.toy-stage--tejo-masks .toy-image-frame::after,
.toy-stage--ajedrez-mask .toy-image-frame::after {
  content: "";
  position: absolute;
  z-index: 1;
  background: #fff;
  pointer-events: none;
}

/* Hide only printed measurement marks inside collection cards.
   Product-detail images remain untouched and show the complete original photo. */
:is(
  #juguete-9910,
  #juguete-5336,
  #juguete-9553,
  #juguete-4064,
  #juguete-4101,
  #juguete-4175,
  #juguete-4242,
  #juguete-5149,
  #juguete-3761,
  #juguete-3760,
  #juguete-3609,
  #juguete-2459,
  #juguete-4007,
  #juguete-9921,
  #juguete-9315,
  #juguete-7088,
  #juguete-9134,
  #juguete-7042
) .toy-image-frame::before,
:is(
  #juguete-9910,
  #juguete-5336,
  #juguete-9553,
  #juguete-4064,
  #juguete-4101,
  #juguete-4175,
  #juguete-4242,
  #juguete-5149,
  #juguete-3761,
  #juguete-3760,
  #juguete-3609,
  #juguete-2459,
  #juguete-4007,
  #juguete-9921,
  #juguete-9315,
  #juguete-7088,
  #juguete-9134,
  #juguete-7042
) .toy-image-frame::after {
  content: "";
  position: absolute;
  width: 0;
  height: 0;
  z-index: 10;
  background: #fff;
  pointer-events: none;
}

#juguete-9910 .toy-image-frame::after {
  bottom: 0;
  left: 0;
  width: 14%;
  height: 45%;
}

#juguete-5336 .toy-image-frame::after {
  top: 74%;
  left: 0;
  width: 100%;
  height: 14%;
}

#juguete-9553 .toy-image-frame::after {
  top: 0;
  left: 0;
  width: 24%;
  height: 100%;
}

#juguete-4064 .toy-image-frame::before {
  top: 0;
  left: 0;
  width: 18%;
  height: 100%;
}

#juguete-4064 .toy-image-frame::after {
  top: 77%;
  left: 0;
  width: 100%;
  height: 18%;
}

#juguete-4101 .toy-image-frame::after {
  top: 15%;
  left: 23%;
  width: 52%;
  height: 11%;
}

#juguete-4175 .toy-image-frame::after {
  top: 39%;
  left: 0;
  width: 60%;
  height: 12%;
}

#juguete-4242 .toy-image-frame::after {
  top: 73%;
  left: 0;
  width: 100%;
  height: 20%;
}

#juguete-5149 .toy-image-frame::after {
  top: 72%;
  left: 0;
  width: 70%;
  height: 20%;
}

#juguete-3761 .toy-image-frame::before {
  top: 0;
  left: 0;
  width: 16%;
  height: 62%;
}

#juguete-3761 .toy-image-frame::after {
  top: 78%;
  left: 55%;
  width: 45%;
  height: 22%;
}

#juguete-3760 .toy-image-frame::before {
  top: 0;
  left: 9%;
  width: 60%;
  height: 15%;
}

#juguete-3760 .toy-image-frame::after {
  right: 0;
  top: 80%;
  width: 50%;
  height: 20%;
}

#juguete-3609 .toy-image-frame::after {
  top: 0;
  left: 0;
  width: 29%;
  height: 100%;
}

#juguete-2459 .toy-image-frame::after {
  top: 18%;
  left: 0;
  width: 48%;
  height: 15%;
}

#juguete-4007 .toy-image-frame::after {
  top: 0;
  left: 0;
  width: 18%;
  height: 100%;
}

#juguete-9921 .toy-image-frame::before {
  top: 0;
  left: 0;
  width: 16%;
  height: 100%;
}

#juguete-9921 .toy-image-frame::after {
  top: 0;
  right: 0;
  width: 12%;
  height: 100%;
}

#juguete-9921 .toy-image-frame img {
  clip-path: inset(0 0 10%);
}

#juguete-9315 .toy-image-frame::after {
  top: 73%;
  left: 0;
  width: 85%;
  height: 24%;
}

#juguete-7088 .toy-image-frame::after {
  top: 32%;
  left: 0;
  width: 55%;
  height: 25%;
}

#juguete-9134 .toy-image-frame::after,
#juguete-7042 .toy-image-frame::after {
  top: 0;
  left: 0;
  width: 32%;
  height: 100%;
}

.toy-stage--table-masks .toy-image-frame::before {
  top: 0;
  left: 0;
  width: 34%;
  height: 30%;
}

.toy-stage--table-masks .toy-image-frame::after {
  right: 0;
  bottom: 0;
  width: 43%;
  height: 23%;
}

.toy-stage--tejo-masks .toy-image-frame::before {
  top: 0;
  left: 0;
  width: 68%;
  height: 41%;
}

.toy-stage--tejo-masks .toy-image-frame::after {
  right: 0;
  bottom: 0;
  width: 42%;
  height: 18%;
}

.toy-stage--ajedrez-mask .toy-image-frame::after {
  top: 0;
  left: 0;
  width: 47%;
  height: 46%;
}

.toy-card-copy {
  min-width: 0;
  display: flex;
  flex-direction: column;
  padding: 22px 24px 74px;
  background: #fff;
}

.toy-card h3 {
  min-height: 0;
  display: -webkit-box;
  color: var(--charcoal);
  font-family: "Playfair Display", serif;
  font-size: 26px;
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 1.05;
  text-wrap: pretty;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.toy-card h3::after {
  display: none;
}

.toy-description {
  display: -webkit-box;
  margin-top: 8px;
  color: #746a62;
  font-size: 13px;
  line-height: 1.4;
  text-wrap: pretty;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.toy-price-row {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
  margin-top: auto;
  padding-top: 14px;
  border: 0;
}

.toy-price,
.toy-price:last-child,
.toy-price--cash,
.toy-price:not(.toy-price--cash) {
  min-width: 0;
  display: block;
  text-align: left;
}

.toy-price--list {
  padding-right: 18px;
}

.toy-price.toy-price--cash {
  padding-left: 18px;
  border-left: 1px solid rgba(44, 40, 34, 0.1);
  text-align: left;
}

.toy-price small {
  min-height: 0;
  display: block;
  margin: 0 0 5px;
  color: #7c7168;
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0;
  line-height: 1.2;
  text-transform: none;
}

.toy-price strong,
.toy-price:not(.toy-price--cash) strong {
  display: block;
  color: var(--charcoal);
  font-family: "Playfair Display", serif;
  font-size: 26px;
  font-weight: 500;
  font-variant-numeric: tabular-nums;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
}

.toy-price--cash strong {
  color: var(--store-accent);
}

.toy-actions {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 45%;
  z-index: 3;
  display: grid;
  grid-template-columns: minmax(260px, 320px) 44px;
  justify-content: end;
  gap: 10px;
  margin: 0;
  padding: 0 24px 20px;
  background: transparent;
}

.toy-add,
.toy-more {
  min-height: 44px;
  margin: 0;
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 650;
}

.toy-add {
  border-color: var(--store-accent);
  background: var(--store-accent);
}

.toy-more {
  width: 44px;
  padding: 0;
  border-color: rgba(185, 92, 59, 0.45);
  background: transparent;
  color: var(--store-accent-dark);
  font-family: "DM Sans", sans-serif;
  font-size: 18px;
}

.toy-more [aria-hidden="true"] {
  display: inline;
  transform: translateY(-1px);
}

.toy-card-link:hover h3 {
  color: var(--store-accent-dark);
}

.toy-card-link:focus-visible {
  border-radius: 18px;
  outline: 3px solid var(--store-accent);
  outline-offset: -4px;
}

@media (max-width: 900px) {
  .toy-grid {
    max-width: 720px;
    gap: 10px;
  }

  .toy-card,
  .toy-card:hover,
  .toy-card-link {
    height: 205px;
    min-height: 205px;
  }

  .toy-card-link {
    grid-template-columns: minmax(0, 45%) minmax(0, 55%);
  }

  .toy-stage {
    min-height: 205px;
    padding: 0;
  }

  .toy-image-frame {
    inset: 14px;
  }

  .toy-card-copy {
    padding: 17px 18px 62px;
  }

  .toy-card h3 {
    font-size: clamp(19px, 2.8vw, 22px);
  }

  .toy-description {
    font-size: 11.5px;
  }

  .toy-price-row {
    padding-top: 10px;
  }

  .toy-price--list {
    padding-right: 14px;
  }

  .toy-price.toy-price--cash {
    padding-left: 14px;
  }

  .toy-price strong,
  .toy-price:not(.toy-price--cash) strong {
    font-size: clamp(20px, 3vw, 22px);
  }

  .toy-actions {
    left: 45%;
    grid-template-columns: minmax(0, 1fr) 40px;
    gap: 8px;
    padding: 0 18px 14px;
  }

  .toy-add,
  .toy-more {
    min-height: 40px;
    font-size: 11px;
  }

  .toy-more {
    width: 40px;
    font-size: 17px;
  }

  .toy-measure-badge {
    top: 14px;
    left: 14px;
    font-size: 10px;
  }
}

@media (max-width: 620px) {
  .toy-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 8px;
    margin-top: 12px;
  }

  .toy-card,
  .toy-card:hover,
  .toy-card-link {
    height: 150px;
    min-height: 150px;
  }

  .toy-card,
  .toy-card:hover {
    border-radius: 11px;
    box-shadow: 0 4px 12px rgba(87, 62, 47, 0.065);
  }

  .toy-card-link {
    grid-template-columns: minmax(0, 45%) minmax(0, 55%);
  }

  .toy-stage {
    min-height: 150px;
    padding: 0;
  }

  .toy-image-frame {
    inset: 10px;
    border-radius: 7px;
  }

  .toy-card-copy {
    padding: 10px 8px 42px 10px;
  }

  .toy-card h3 {
    font-size: clamp(14.5px, 4.1vw, 16px);
    font-weight: 600;
    letter-spacing: -0.03em;
    line-height: 1.08;
  }

  .toy-description {
    margin-top: 4px;
    font-size: clamp(8.8px, 2.45vw, 9.5px);
    line-height: 1.25;
    -webkit-line-clamp: 1;
  }

  .toy-price-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0;
    margin-top: auto;
    padding-top: 5px;
  }

  .toy-price--list {
    padding-right: 5px;
  }

  .toy-price.toy-price--cash {
    padding-left: 7px;
  }

  .toy-price small {
    min-height: 0;
    margin-bottom: 2px;
    font-size: clamp(6.7px, 1.85vw, 7.25px);
    line-height: 1.15;
  }

  .toy-price strong,
  .toy-price:not(.toy-price--cash) strong {
    font-size: clamp(14.5px, 4.1vw, 16px);
  }

  .toy-actions {
    left: 45%;
    grid-template-columns: minmax(0, 1fr) 32px;
    gap: 7px;
    padding: 0 16px 8px 10px;
  }

  .toy-add,
  .toy-more {
    min-height: 32px;
    padding: 3px 4px;
    font-size: clamp(8px, 2.4vw, 9.5px);
  }

  .toy-more {
    width: 32px;
    padding: 0;
    font-size: 14px;
  }

  .toy-measure-badge {
    top: 10px;
    left: 10px;
    padding: 4px 7px;
    border-radius: 6px;
    font-size: 8.5px;
  }
}

@media (max-width: 340px) {
  .toy-card,
  .toy-card:hover,
  .toy-card-link {
    height: 146px;
    min-height: 146px;
  }

  .toy-stage {
    min-height: 146px;
    padding: 0;
  }

  .toy-image-frame {
    inset: 8px;
  }

  .toy-card-copy {
    padding: 8px 6px 39px 8px;
  }

  .toy-card h3 {
    font-size: 14.5px;
  }

  .toy-description {
    font-size: 8.5px;
  }

  .toy-price strong,
  .toy-price:not(.toy-price--cash) strong {
    font-size: 14.2px;
  }

  .toy-actions {
    grid-template-columns: minmax(0, 1fr) 30px;
    gap: 5px;
    padding: 0 10px 7px 8px;
  }

  .toy-add,
  .toy-more {
    min-height: 30px;
  }

  .toy-add {
    font-size: 8px;
  }

  .toy-more {
    width: 30px;
    font-size: 13px;
  }
}

/* Category rows are links to dedicated collection pages — 2026-07-24 */
a.toy-directory-group {
  min-width: 0;
  min-height: 80px;
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr) 44px 20px;
  align-items: center;
  gap: 12px;
  padding: 6px 12px 6px 6px;
  color: inherit;
  text-decoration: none;
  cursor: pointer;
}

a.toy-directory-group > strong {
  width: 44px;
  height: 44px;
  display: inline-grid;
  place-items: center;
  border-radius: 13px;
  background: #eee8dc;
  color: var(--terracota-dark);
  font-size: 12px;
  font-variant-numeric: tabular-nums;
  font-weight: 750;
  line-height: 1;
}

a.toy-directory-group:hover .toy-directory-chevron {
  transform: translateX(2px);
}

a.toy-directory-group:focus-visible {
  position: relative;
  z-index: 2;
}

.toy-category-hero {
  padding: calc(var(--promo-height) + var(--nav-height) + 18px) clamp(16px, 4.6vw, 68px) 18px;
  background: #f8f3ec;
}

.toy-category-hero-inner {
  max-width: 960px;
  min-height: 210px;
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(240px, 34%);
  align-items: center;
  gap: 28px;
  margin: 0 auto;
  padding: 30px 34px;
  border: 1px solid rgba(105, 73, 53, 0.07);
  border-radius: 24px;
  background: #f1e9de;
  box-shadow: 0 14px 38px rgba(81, 58, 43, 0.08);
  overflow: hidden;
}

.toy-category-hero-copy {
  position: relative;
  z-index: 1;
}

.toy-category-back {
  display: inline-block;
  margin-bottom: 24px;
  color: var(--terracota-dark);
  font-size: 12px;
  font-weight: 750;
  text-decoration: none;
}

.toy-category-back:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.toy-category-hero-copy > p {
  margin-bottom: 6px;
  color: var(--terracota-dark);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.toy-category-hero h1 {
  max-width: 620px;
  font-family: "Playfair Display", serif;
  font-size: clamp(38px, 5vw, 58px);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 0.98;
}

.toy-category-hero-copy > span {
  display: block;
  margin-top: 12px;
  color: var(--warm-gray);
  font-size: 13px;
  font-weight: 650;
}

.toy-category-hero-image {
  width: 100%;
  aspect-ratio: 1.35;
  display: block;
  border-radius: 18px;
  background: #eee4d7;
  overflow: hidden;
}

.toy-category-hero-image img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.toy-category-page .toy-catalog {
  padding-top: 12px;
}

@media (max-width: 720px) {
  a.toy-directory-group {
    min-height: 68px;
    grid-template-columns: 82px minmax(0, 1fr) 42px 18px;
    gap: 8px;
    padding: 5px 10px 5px 5px;
  }

  a.toy-directory-group > strong {
    width: 42px;
    height: 42px;
    border-radius: 13px;
  }

  .toy-category-hero {
    padding: calc(var(--promo-height) + var(--nav-height) + 10px) 10px 10px;
  }

  .toy-category-hero-inner {
    min-height: 166px;
    grid-template-columns: minmax(0, 1fr) minmax(112px, 39%);
    gap: 14px;
    padding: 20px 16px;
    border-radius: 19px;
  }

  .toy-category-back {
    margin-bottom: 18px;
    font-size: 10.5px;
  }

  .toy-category-hero-copy > p {
    font-size: 8.5px;
  }

  .toy-category-hero h1 {
    font-size: clamp(27px, 8.4vw, 36px);
  }

  .toy-category-hero-copy > span {
    margin-top: 8px;
    font-size: 11px;
  }

  .toy-category-hero-image {
    border-radius: 14px;
  }

  .toy-category-page .toy-catalog {
    padding-top: 10px;
  }
}

@media (max-width: 420px) {
  a.toy-directory-group {
    grid-template-columns: 76px minmax(0, 1fr) 40px 16px;
    gap: 7px;
    padding-left: 5px;
  }

  a.toy-directory-group > strong {
    width: 40px;
    height: 40px;
  }
}

@media (max-width: 340px) {
  a.toy-directory-group {
    min-height: 62px;
    grid-template-columns: 68px minmax(0, 1fr) 36px 14px;
    gap: 5px;
    padding-right: 7px;
  }

  a.toy-directory-group > strong {
    width: 36px;
    height: 36px;
    border-radius: 11px;
    font-size: 11px;
  }

  .toy-category-hero-inner {
    grid-template-columns: minmax(0, 1fr) 104px;
    gap: 10px;
    padding: 17px 13px;
  }

  .toy-category-hero h1 {
    font-size: 25px;
  }
}

/* Slightly quieter card actions — 2026-07-24 */
.toy-actions {
  grid-template-columns: minmax(220px, 286px) 40px;
  gap: 8px;
  padding: 0 24px 20px;
}

.toy-add,
.toy-more {
  min-height: 40px;
  font-size: 11.5px;
}

.toy-more {
  width: 40px;
  border-color: var(--store-accent);
  background: var(--store-accent);
  color: white;
  font-size: 16px;
}

.toy-more:hover {
  border-color: var(--store-accent-dark);
  background: var(--store-accent-dark);
  color: white;
}

@media (max-width: 900px) {
  .toy-actions {
    grid-template-columns: 76% 36px;
    gap: 7px;
    padding: 0 18px 14px;
  }

  .toy-add,
  .toy-more {
    min-height: 36px;
    font-size: 10px;
  }

  .toy-more {
    width: 36px;
    font-size: 15px;
  }
}

@media (max-width: 620px) {
  .toy-actions {
    grid-template-columns: 72% 30px;
    justify-content: start;
    gap: 10px;
    padding: 0 17px 9px 10px;
  }

  .toy-add,
  .toy-more {
    min-height: 30px;
    padding-block: 2px;
    font-size: clamp(7.8px, 2.2vw, 8.75px);
  }

  .toy-more {
    width: 30px;
    padding-inline: 0;
    font-size: 13px;
  }
}

@media (max-width: 340px) {
  .toy-actions {
    grid-template-columns: 72% 30px;
    gap: 8px;
    padding: 0 10px 7px 8px;
  }
}

/* Catálogo de escritorio: tarjetas verticales alineadas con Productos con precio de Descanso.
   La composición horizontal de móvil queda aislada en las reglas de hasta 620 px. */
@media (min-width: 621px) {
  .toy-grid {
    max-width: 1260px;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
    margin: 28px auto 0;
  }

  .toy-card,
  .toy-card:hover {
    min-height: 0;
    height: auto;
    position: relative;
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(82, 63, 47, 0.1);
    border-radius: 16px;
    background: var(--white);
    box-shadow: 0 14px 38px rgba(78, 55, 37, 0.09);
    overflow: hidden;
    transform: none;
  }

  .toy-card:hover {
    box-shadow: 0 20px 48px rgba(78, 55, 37, 0.13);
    transform: translateY(-3px);
  }

  .toy-card-link {
    min-height: 0;
    height: auto;
    display: flex;
    flex: 1;
    flex-direction: column;
  }

  .toy-stage {
    min-height: 0;
    height: auto;
    aspect-ratio: 1;
    display: block;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: #e7ded1;
  }

  .toy-image-frame {
    width: 100%;
    height: 100%;
    position: relative;
    inset: auto;
    display: block;
    border-radius: 0;
    background: #fff;
  }

  .toy-stage img {
    width: 100%;
    height: 100%;
    max-width: none;
    max-height: none;
    display: block;
    border-radius: 0;
    object-fit: contain;
    transform: none;
  }

  .toy-card:hover .toy-stage img {
    transform: none;
  }

  .toy-measure-badge {
    top: 14px;
    left: 14px;
  }

  .toy-card-copy {
    min-height: 162px;
    flex: 1;
    padding: 20px 20px 0;
    background: var(--white);
  }

  .toy-card h3 {
    min-height: 0;
    display: -webkit-box;
    color: var(--charcoal);
    font-size: 23px;
    font-weight: 700;
    line-height: 1.12;
    letter-spacing: -0.02em;
    -webkit-line-clamp: 2;
  }

  .toy-description {
    display: none;
  }

  .toy-price-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    margin-top: auto;
    padding-top: 13px;
    border-top: 1px solid rgba(44, 40, 34, 0.12);
  }

  .toy-price--list,
  .toy-price.toy-price--cash {
    padding: 0;
    border: 0;
  }

  .toy-price small {
    min-height: 0;
    margin-bottom: 5px;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.5px;
    line-height: 1.2;
    text-transform: uppercase;
  }

  .toy-price strong,
  .toy-price:not(.toy-price--cash) strong,
  .toy-price--cash strong {
    font-family: "Playfair Display", serif;
    font-size: 23px;
    font-weight: 500;
    line-height: 1;
  }

  .toy-price:not(.toy-price--cash) strong {
    color: var(--terracota);
  }

  .toy-price--cash small,
  .toy-price--cash strong {
    color: #5f806c;
  }

  .toy-actions {
    position: static;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    margin: 0;
    padding: 18px 20px 22px;
    background: var(--white);
  }

  .toy-add,
  .toy-more {
    width: auto;
    min-height: 42px;
    padding: 8px;
    border-radius: 22px;
    font-size: 11px;
    font-weight: 700;
  }

  .toy-add {
    border: 0;
    background: var(--terracota);
  }

  .toy-add:hover {
    border-color: transparent;
    background: var(--terracota-dark);
    transform: none;
  }

  .toy-more {
    border-color: var(--charcoal);
    background: #fff;
    color: var(--charcoal);
  }

  .toy-more:hover {
    border-color: var(--charcoal);
    background: var(--charcoal);
    color: #fff;
    transform: none;
  }

  .toy-more [aria-hidden="true"] {
    display: none;
  }

  .toy-more::before {
    content: "Ver ficha";
  }
}

@media (min-width: 621px) and (max-width: 1100px) {
  .toy-grid {
    max-width: 720px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
