:root {
  color-scheme: light;
  --display: "Fredoka", system-ui, sans-serif;
  --body: "Poppins", system-ui, sans-serif;
  --ink: #252a2a;
  --muted: #66706f;
  --paper: #ffffff;
  --surface: #f7f7fb;
  --soft-violet: #f2eefb;
  --soft-blue: #edf8fd;
  --soft-gold: #fff8e3;
  --violet-blue: #4e58b7;
  --hero-purple: #6b2c83;
  --navy: #293b7b;
  --green: #07823f;
  --orange: #f4a13d;
  --pink: #e00070;
  --gold: #d9a62e;
  --line: #dde1e6;
  --danger: #b3261e;
  --shadow: 0 1.4rem 3.5rem rgb(37 42 42 / 14%);
  --shadow-soft: 0 0.85rem 2.25rem rgb(41 59 123 / 10%);
  --container: min(1200px, calc(100% - 40px));
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 8rem;
  background: var(--paper);
}

body {
  min-width: 320px;
  margin: 0;
  overflow-x: clip;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--body);
  font-size: 1rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

body:has(dialog[open]) {
  overflow: hidden;
}

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

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

button,
input {
  color: inherit;
  font: inherit;
}

button {
  border: 0;
  cursor: pointer;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  margin-bottom: 0.75rem;
  font-family: var(--display);
  line-height: 1.04;
  text-wrap: balance;
}

h1 {
  font-size: clamp(3rem, 6vw, 6rem);
  letter-spacing: -0.052em;
}

h2 {
  font-size: clamp(2.35rem, 4.3vw, 4.2rem);
  letter-spacing: -0.042em;
}

h3 {
  font-size: clamp(1.35rem, 2vw, 1.75rem);
  letter-spacing: -0.025em;
}

[hidden] {
  display: none !important;
}

.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;
  z-index: 1000;
  top: 0.75rem;
  left: 0.75rem;
  padding: 0.75rem 1rem;
  border-radius: 0.8rem;
  color: var(--paper);
  background: var(--navy);
  font-weight: 700;
  transform: translateY(-150%);
  transition: transform 180ms ease;
}

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

:focus-visible {
  outline: 3px solid #fff;
  outline-offset: 2px;
  box-shadow: 0 0 0 5px var(--store-navy-deep, var(--navy));
}

.catalog-container {
  width: var(--container);
  margin-inline: auto;
}

.catalog-eyebrow {
  margin-bottom: 0.65rem;
  color: var(--violet-blue);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.catalog-header {
  position: sticky;
  z-index: 50;
  top: 0;
  border-bottom: 1px solid rgb(41 59 123 / 9%);
  background: rgb(255 255 255 / 92%);
  box-shadow: 0 0.35rem 1.5rem rgb(37 42 42 / 5%);
  backdrop-filter: blur(18px);
}

.catalog-header__inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  min-height: 92px;
  gap: 1.25rem;
}

.catalog-brand {
  display: inline-flex;
  width: 78px;
  height: 78px;
  align-items: center;
  justify-content: center;
}

.catalog-brand img,
.catalog-footer__brand img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.catalog-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(0.55rem, 1.6vw, 1.6rem);
  font-weight: 600;
}

.catalog-nav > a:not(.catalog-nav__experience) {
  padding: 0.55rem 0.3rem;
}

.catalog-nav > a:not(.catalog-nav__experience):hover {
  color: var(--violet-blue);
}

.catalog-nav__experience {
  padding: 0.7rem 1rem;
  border: 1px solid var(--violet-blue);
  border-radius: 999px;
  color: var(--navy);
  background: var(--paper);
  text-align: center;
}

.catalog-nav__experience:hover {
  color: var(--paper);
  background: var(--navy);
}

.catalog-header__actions {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.icon-button,
.cart-button {
  min-height: 46px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--paper);
}

.icon-button {
  display: grid;
  width: 46px;
  place-items: center;
}

.icon-button svg,
.cart-button svg,
.catalog-search svg {
  width: 21px;
  height: 21px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.cart-button {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.55rem 0.75rem 0.55rem 1rem;
  color: var(--paper);
  border-color: var(--navy);
  background: var(--navy);
  font-weight: 700;
}

.cart-button__count {
  display: grid;
  min-width: 27px;
  min-height: 27px;
  padding-inline: 0.35rem;
  place-items: center;
  border-radius: 999px;
  color: var(--navy);
  background: var(--paper);
  font-size: 0.75rem;
}

.catalog-hero {
  position: relative;
  overflow: hidden;
  padding: clamp(4.75rem, 8vw, 8.5rem) 0;
  color: var(--paper);
  background:
    radial-gradient(circle at 86% 22%, rgb(244 161 61 / 34%), transparent 25rem),
    radial-gradient(circle at 68% 90%, rgb(224 0 112 / 21%), transparent 28rem),
    linear-gradient(125deg, var(--navy), var(--violet-blue) 58%, var(--hero-purple));
}

.catalog-hero::before {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgb(255 255 255 / 12%) 1px, transparent 1px);
  background-size: 22px 22px;
  content: "";
  mask-image: linear-gradient(90deg, transparent, #000 68%);
}

.catalog-hero__inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(280px, 0.75fr);
  align-items: center;
  gap: clamp(2rem, 5vw, 5rem);
}

.catalog-hero__copy {
  max-width: 850px;
}

.catalog-hero__copy .catalog-eyebrow {
  color: #ffe2a0;
}

.catalog-hero__copy > p:last-child {
  max-width: 720px;
  margin: 1.5rem 0 0;
  color: rgb(255 255 255 / 84%);
  font-size: clamp(1rem, 1.5vw, 1.2rem);
}

.catalog-hero__mark {
  justify-self: end;
  width: min(390px, 100%);
  padding: 1.2rem;
  border: 1px solid rgb(255 255 255 / 18%);
  border-radius: 3rem;
  background: rgb(255 255 255 / 8%);
  box-shadow: inset 0 1px rgb(255 255 255 / 20%);
  transform: rotate(3deg);
}

.catalog-hero__mark img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: contain;
}

.catalog-main {
  padding: clamp(4.5rem, 8vw, 8rem) 0;
  background: var(--paper);
}

.catalog-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: 2rem;
}

.catalog-heading :is(h1, h2) {
  margin-bottom: 0;
}

.catalog-heading > p {
  max-width: 380px;
  margin-bottom: 0.45rem;
  color: var(--muted);
  text-align: right;
}

.catalog-tools {
  display: flex;
  margin-bottom: 1.2rem;
}

.catalog-search {
  display: grid;
  width: min(630px, 100%);
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 0.75rem;
  padding: 0.4rem 0.45rem 0.4rem 1rem;
  border: 1px solid var(--line);
  border-radius: 1.15rem;
  background: var(--surface);
  transition: border-color 180ms ease, box-shadow 180ms ease;
}

.catalog-search:focus-within {
  border-color: var(--violet-blue);
  box-shadow: 0 0 0 4px rgb(78 88 183 / 12%);
}

.catalog-search input {
  min-width: 0;
  padding: 0.75rem 0;
  border: 0;
  outline: 0;
  background: transparent;
}

.catalog-search button {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 999px;
  background: var(--paper);
  font-size: 1.35rem;
}

.category-filter {
  display: flex;
  padding: 0.15rem 0 1.75rem;
  overflow-x: auto;
  gap: 0.65rem;
  scrollbar-width: thin;
}

.category-chip {
  flex: 0 0 auto;
  min-height: 42px;
  padding: 0.6rem 1rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  background: var(--paper);
  font-weight: 600;
}

.category-chip:hover,
.category-chip.is-active {
  color: var(--paper);
  border-color: var(--navy);
  background: var(--navy);
}

.catalog-status {
  display: flex;
  min-height: 260px;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  padding: 2rem;
  border: 1px dashed #cbd2df;
  border-radius: 1.5rem;
  color: var(--muted);
  background: var(--surface);
  text-align: left;
}

.catalog-status strong {
  display: block;
  margin-bottom: 0.2rem;
  color: var(--ink);
  font-family: var(--display);
  font-size: 1.35rem;
}

.catalog-status p {
  margin-bottom: 0;
}

.catalog-status__action {
  margin-top: 1rem;
}

.catalog-spinner {
  width: 34px;
  height: 34px;
  flex: 0 0 auto;
  border: 3px solid rgb(78 88 183 / 18%);
  border-top-color: var(--violet-blue);
  border-radius: 50%;
  animation: catalog-spin 750ms linear infinite;
}

@keyframes catalog-spin {
  to { transform: rotate(360deg); }
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1rem, 2vw, 1.6rem);
}

.product-card {
  display: flex;
  min-width: 0;
  min-height: 100%;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid rgb(41 59 123 / 10%);
  border-radius: 1.6rem;
  background: var(--paper);
  box-shadow: var(--shadow-soft);
  transition: transform 220ms ease, box-shadow 220ms ease;
}

.product-card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-5px);
}

.product-card__media {
  position: relative;
  display: block;
  aspect-ratio: 1 / 0.88;
  overflow: hidden;
  background: linear-gradient(135deg, var(--soft-blue), var(--soft-violet));
}

.product-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 420ms ease;
}

.product-card:hover .product-card__media img {
  transform: scale(1.035);
}

.product-card__placeholder {
  display: grid;
  width: 100%;
  height: 100%;
  place-items: center;
  padding: 2.5rem;
}

.product-card__placeholder img {
  width: min(180px, 72%);
  height: auto;
  object-fit: contain;
  opacity: 0.72;
}

.product-card__badge {
  position: absolute;
  z-index: 1;
  top: 1rem;
  left: 1rem;
  padding: 0.42rem 0.7rem;
  border-radius: 999px;
  color: var(--navy);
  background: rgb(255 255 255 / 91%);
  box-shadow: 0 0.35rem 1rem rgb(37 42 42 / 10%);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  backdrop-filter: blur(10px);
}

.product-card__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 1.25rem;
}

.product-card__categories {
  min-height: 1.3rem;
  margin-bottom: 0.45rem;
  overflow: hidden;
  color: var(--violet-blue);
  font-size: 0.78rem;
  font-weight: 600;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.product-card h3 {
  margin-bottom: 0.45rem;
}

.product-card h3 a::after {
  position: absolute;
  inset: 0;
  content: "";
}

.product-card__copy {
  position: relative;
}

.product-card__description {
  display: -webkit-box;
  margin-bottom: 1rem;
  overflow: hidden;
  color: var(--muted);
  font-size: 0.9rem;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.product-card__footer {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.85rem;
  margin-top: auto;
  padding-top: 0.7rem;
  border-top: 1px solid var(--line);
}

.product-price {
  display: block;
  color: var(--navy);
  font-family: var(--display);
  font-size: 1.35rem;
  line-height: 1.1;
}

.commerce-price-list {
  display: grid;
  min-width: 0;
  gap: 0.32rem;
}

.commerce-price-row {
  display: flex;
  min-width: 0;
  align-items: center;
  justify-content: space-between;
  gap: 0.55rem;
  color: var(--navy);
  font-size: 0.78rem;
  line-height: 1.2;
}

.commerce-price-row > span:first-child,
.commerce-price-row__label {
  padding: 0.2rem 0.42rem;
  border-radius: 999px;
  color: var(--navy);
  background: var(--soft-gold);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.045em;
  text-transform: uppercase;
}

.commerce-price-row > strong,
.commerce-price-row__value {
  color: inherit;
  font-family: var(--body);
  font-size: 0.84rem;
  font-weight: 700;
  white-space: nowrap;
}

.product-card__footer .commerce-price-list {
  width: 100%;
}

.product-card__footer .commerce-price-row {
  padding-inline: 0.1rem;
}

.cart-item .commerce-price-list {
  margin-top: 0.3rem;
}

.cart-item .commerce-price-row {
  justify-content: flex-start;
}

.cart-item__mode {
  display: inline-flex;
  width: max-content;
  margin-top: 0.18rem;
  padding: 0.18rem 0.45rem;
  border-radius: 999px;
  color: var(--navy);
  background: var(--soft-gold);
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.add-button {
  min-height: 42px;
  padding: 0.58rem 0.9rem;
  border-radius: 999px;
  color: var(--paper);
  background: var(--violet-blue);
  font-size: 0.85rem;
  font-weight: 700;
}

.add-button:hover {
  background: var(--navy);
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.2rem;
  border-radius: 999px;
  font-weight: 700;
  text-align: center;
}

.button--primary {
  color: var(--paper);
  background: var(--navy);
}

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

.button--light {
  color: var(--navy);
  background: var(--paper);
}

.button--full {
  width: 100%;
}

.text-button {
  padding: 0.6rem;
  color: var(--violet-blue);
  background: transparent;
  font-weight: 600;
}

.catalog-experience {
  padding: clamp(4rem, 7vw, 7rem) 0;
  color: var(--paper);
  background: linear-gradient(125deg, var(--hero-purple), var(--pink));
}

.catalog-experience__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.catalog-experience__inner > div {
  max-width: 790px;
}

.catalog-experience .catalog-eyebrow {
  color: #ffe2a0;
}

.catalog-experience h2 {
  font-size: clamp(2.3rem, 4.2vw, 4rem);
}

.catalog-experience p:last-child {
  margin-bottom: 0;
  color: rgb(255 255 255 / 82%);
}

.catalog-footer {
  padding: 4rem 0 1.5rem;
  color: var(--paper);
  background: #16204a;
}

.catalog-footer__inner {
  display: grid;
  grid-template-columns: minmax(180px, 1.25fr) 1fr 1.2fr;
  gap: 2.5rem;
}

.catalog-footer__brand {
  width: 160px;
  height: 160px;
}

.catalog-footer h2 {
  margin-bottom: 1rem;
  font-size: 1.25rem;
}

.catalog-footer__inner > div {
  display: flex;
  align-items: flex-start;
  flex-direction: column;
  gap: 0.55rem;
}

.catalog-footer a,
.catalog-footer p {
  color: rgb(255 255 255 / 73%);
}

.catalog-footer a:hover {
  color: var(--paper);
}

.catalog-footer p {
  margin-bottom: 0;
}

.catalog-footer__bottom {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 3rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgb(255 255 255 / 14%);
  color: rgb(255 255 255 / 58%);
  font-size: 0.8rem;
}

dialog {
  max-width: none;
  max-height: none;
  padding: 0;
  border: 0;
  color: var(--ink);
  background: transparent;
}

dialog::backdrop {
  background: rgb(16 20 35 / 68%);
  backdrop-filter: blur(5px);
}

.sheet-dialog {
  width: min(520px, 100%);
  height: 100%;
  margin: 0 0 0 auto;
}

.sheet-dialog[open] {
  display: block;
  animation: cart-enter 220ms ease-out;
}

@keyframes cart-enter {
  from { transform: translateX(100%); }
}

.sheet-dialog__panel {
  display: flex;
  min-height: 100%;
  flex-direction: column;
  padding: 1.5rem;
  background: var(--paper);
  box-shadow: -1.5rem 0 4rem rgb(0 0 0 / 18%);
}

.sheet-dialog__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  padding-bottom: 1.2rem;
  border-bottom: 1px solid var(--line);
}

.sheet-dialog__header h2 {
  margin-bottom: 0;
  font-size: 2rem;
}

.dialog-close {
  display: grid;
  width: 44px;
  height: 44px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 999px;
  background: var(--surface);
  font-size: 1.6rem;
  line-height: 1;
}

.cart-empty {
  display: grid;
  flex: 1;
  align-content: center;
  justify-items: center;
  padding: 3rem 1rem;
  color: var(--muted);
  text-align: center;
}

.cart-empty strong {
  color: var(--ink);
  font-family: var(--display);
  font-size: 1.45rem;
}

.cart-items {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  padding: 1.1rem 0;
  overflow-y: auto;
}

.cart-item {
  display: grid;
  grid-template-columns: 76px 1fr auto;
  gap: 0.85rem;
  padding: 0.8rem;
  border: 1px solid var(--line);
  border-radius: 1rem;
}

.cart-item__media {
  display: grid;
  width: 76px;
  height: 76px;
  overflow: hidden;
  place-items: center;
  border-radius: 0.8rem;
  background: var(--soft-violet);
}

.cart-item__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cart-item__body {
  min-width: 0;
}

.cart-item__body strong,
.cart-item__body small {
  display: block;
}

.cart-item__body strong {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.cart-item__body small {
  color: var(--muted);
}

.quantity-control {
  display: inline-grid;
  grid-template-columns: 34px 42px 34px;
  align-items: center;
  margin-top: 0.55rem;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--paper);
}

.quantity-control button {
  height: 34px;
  background: var(--surface);
  font-size: 1.1rem;
}

.quantity-control span,
.quantity-control input {
  width: 42px;
  padding: 0;
  border: 0;
  outline: 0;
  text-align: center;
}

.cart-item__remove {
  align-self: start;
  padding: 0.35rem;
  color: var(--danger);
  background: transparent;
  font-size: 0.78rem;
  font-weight: 600;
}

.cart-summary {
  margin-top: auto;
  padding-top: 1.2rem;
  border-top: 1px solid var(--line);
  text-align: center;
}

.cart-summary > div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.45rem;
}

.cart-summary strong {
  color: var(--navy);
  font-family: var(--display);
  font-size: 1.65rem;
}

.cart-summary p {
  color: var(--muted);
  font-size: 0.78rem;
}

.choice-dialog {
  width: min(520px, calc(100% - 32px));
  margin: auto;
}

.choice-dialog__panel {
  position: relative;
  padding: clamp(1.5rem, 5vw, 2.5rem);
  border-radius: 1.5rem;
  background: var(--paper);
  box-shadow: var(--shadow);
}

.choice-dialog__panel > .dialog-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
}

.choice-dialog__panel h2 {
  max-width: 370px;
  font-size: clamp(2rem, 5vw, 3rem);
}

.choice-dialog__panel > p:not(.catalog-eyebrow) {
  color: var(--muted);
}

.choice-dialog__options {
  display: grid;
  gap: 0.7rem;
  margin-top: 1.3rem;
}

.whatsapp-choice {
  display: flex;
  min-height: 56px;
  align-items: center;
  justify-content: center;
  padding: 0.8rem 1rem;
  border-radius: 999px;
  color: var(--paper);
  background: var(--green);
  font-weight: 700;
  text-align: center;
}

.whatsapp-choice:hover {
  background: #056f35;
}

.noscript-message {
  position: fixed;
  z-index: 100;
  right: 1rem;
  bottom: 1rem;
  left: 1rem;
  padding: 1rem;
  border-radius: 0.8rem;
  color: var(--paper);
  background: var(--navy);
  text-align: center;
}

/* Product detail */
.detail-main {
  min-height: 65vh;
  padding: 2rem 0 clamp(4.5rem, 8vw, 8rem);
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  margin: 0.75rem 0 2rem;
  color: var(--muted);
  font-size: 0.85rem;
}

.breadcrumb a:hover {
  color: var(--violet-blue);
}

.product-detail {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(340px, 0.95fr);
  align-items: start;
  gap: clamp(2rem, 5vw, 5rem);
}

.product-gallery {
  display: grid;
  grid-template-columns: 84px minmax(0, 1fr);
  gap: 1rem;
}

.product-gallery__thumbnails {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.gallery-thumb {
  width: 84px;
  height: 84px;
  padding: 0;
  overflow: hidden;
  border: 2px solid transparent;
  border-radius: 0.9rem;
  background: var(--soft-violet);
}

.gallery-thumb.is-active {
  border-color: var(--violet-blue);
}

.gallery-thumb img,
.product-gallery__main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-gallery__main {
  display: grid;
  min-height: 520px;
  overflow: hidden;
  place-items: center;
  border-radius: 1.6rem;
  background: linear-gradient(135deg, var(--soft-blue), var(--soft-violet));
  box-shadow: var(--shadow-soft);
}

.product-gallery__main .product-card__placeholder {
  min-height: 520px;
}

.product-detail__info {
  position: sticky;
  top: 120px;
}

.detail-badge {
  display: inline-flex;
  margin-bottom: 1rem;
  padding: 0.4rem 0.7rem;
  border-radius: 999px;
  color: var(--navy);
  background: var(--soft-gold);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.product-detail__info h1 {
  font-size: clamp(2.8rem, 5vw, 5rem);
}

.detail-code {
  margin-bottom: 1rem;
  color: var(--muted);
  font-size: 0.8rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.detail-price {
  display: block;
  margin: 1rem 0 1.35rem;
  color: var(--navy);
  font-family: var(--display);
  font-size: clamp(2rem, 4vw, 3.2rem);
}

.detail-description {
  color: #4f5857;
  white-space: pre-line;
}

.detail-categories {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 1.2rem 0;
}

.detail-category {
  padding: 0.4rem 0.7rem;
  border-radius: 999px;
  color: var(--violet-blue);
  background: var(--soft-violet);
  font-size: 0.78rem;
  font-weight: 600;
}

.detail-purchase {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin-top: 1.5rem;
}

.detail-purchase .quantity-control {
  grid-template-columns: 42px 50px 42px;
  margin-top: 0;
}

.detail-purchase .quantity-control button {
  height: 48px;
}

.detail-purchase .quantity-control input {
  width: 50px;
}

.detail-purchase .button {
  flex: 1;
}

.combo-contents {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
}

.combo-contents h2 {
  font-size: 1.7rem;
}

.combo-list {
  display: grid;
  gap: 0.6rem;
  padding: 0;
  list-style: none;
}

.combo-list li {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 0.7rem;
  padding: 0.75rem;
  border-radius: 0.9rem;
  background: var(--surface);
}

.combo-list__quantity {
  display: grid;
  min-width: 34px;
  min-height: 34px;
  place-items: center;
  border-radius: 999px;
  color: var(--paper);
  background: var(--violet-blue);
  font-size: 0.78rem;
  font-weight: 700;
}

.combo-list a {
  font-weight: 600;
}

.combo-list small {
  color: var(--muted);
}

.detail-state {
  min-height: 470px;
}

@media (max-width: 960px) {
  .catalog-header__inner {
    grid-template-columns: auto 1fr;
    padding: 0.6rem 0;
  }

  .catalog-nav {
    grid-column: 1 / -1;
    grid-row: 2;
    justify-content: flex-start;
    padding-bottom: 0.35rem;
    overflow-x: auto;
  }

  .catalog-header__actions {
    justify-self: end;
  }

  .catalog-hero__inner {
    grid-template-columns: 1fr minmax(210px, 0.42fr);
  }

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

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

  .product-detail__info {
    position: static;
  }
}

@media (max-width: 680px) {
  :root {
    --container: min(100% - 28px, 1200px);
  }

  html {
    scroll-padding-top: 11rem;
  }

  .catalog-header__inner {
    gap: 0.6rem;
  }

  .catalog-brand {
    width: 64px;
    height: 64px;
  }

  .catalog-nav {
    gap: 0.8rem;
    font-size: 0.82rem;
  }

  .catalog-nav > a:not(.catalog-nav__experience) {
    display: none;
  }

  .catalog-nav__experience {
    width: 100%;
  }

  .icon-button {
    display: none;
  }

  .catalog-hero {
    padding: 4rem 0;
  }

  .catalog-hero__inner {
    grid-template-columns: 1fr;
  }

  .catalog-hero__mark {
    position: absolute;
    right: -3.5rem;
    bottom: -6rem;
    width: 230px;
    opacity: 0.2;
  }

  .catalog-heading {
    display: block;
  }

  .catalog-heading > p {
    margin-top: 0.8rem;
    text-align: left;
  }

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

  .product-card__media {
    aspect-ratio: 1.12 / 1;
  }

  .catalog-experience__inner {
    align-items: stretch;
    flex-direction: column;
  }

  .catalog-footer__inner {
    grid-template-columns: 1fr;
  }

  .catalog-footer__brand {
    width: 130px;
    height: 130px;
  }

  .catalog-footer__bottom {
    flex-direction: column;
  }

  .sheet-dialog {
    width: 100%;
  }

  .sheet-dialog__panel {
    padding: 1rem;
  }

  .cart-item {
    grid-template-columns: 64px 1fr;
  }

  .cart-item__media {
    width: 64px;
    height: 64px;
  }

  .cart-item__remove {
    grid-column: 2;
    justify-self: start;
  }

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

  .product-gallery__thumbnails {
    grid-row: 2;
    flex-direction: row;
    overflow-x: auto;
  }

  .gallery-thumb {
    flex: 0 0 auto;
  }

  .product-gallery__main,
  .product-gallery__main .product-card__placeholder {
    min-height: 390px;
  }

  .detail-purchase {
    align-items: stretch;
    flex-direction: column;
  }

  .detail-purchase .quantity-control {
    align-self: flex-start;
  }

  .combo-list li {
    grid-template-columns: auto 1fr;
  }

  .combo-list small {
    grid-column: 2;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* Public catalog storefront */
:root {
  --store-navy: #20274f;
  --store-navy-deep: #171c38;
  --store-purple: #4f57b7;
  --store-gold: #e2b13f;
  --store-bg: #f3f4f7;
  --store-border: #dfe2e8;
  --store-text-soft: #6c7180;
  --container: min(1240px, calc(100% - 40px));
}

html {
  scroll-padding-top: 10.5rem;
}

body {
  background: var(--store-bg);
}

select {
  color: inherit;
  font: inherit;
}

.catalog-header {
  position: sticky;
  z-index: 70;
  top: 0;
  border-bottom: 0;
  background: var(--paper);
  box-shadow: 0 0.3rem 1.25rem rgb(23 28 56 / 10%);
  backdrop-filter: none;
}

.utility-bar {
  min-height: 29px;
  color: #666b76;
  border-bottom: 1px solid #e6e7eb;
  background: #f8f8f9;
  font-size: 0.69rem;
  line-height: 1.2;
}

.utility-bar__inner {
  display: flex;
  min-height: 29px;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.utility-bar p {
  margin: 0;
}

.utility-bar nav {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.utility-bar a:hover {
  color: var(--store-purple);
}

.catalog-header__inner {
  display: grid;
  min-height: 88px;
  grid-template-columns: 96px minmax(260px, 1fr) auto auto;
  align-items: center;
  gap: clamp(0.9rem, 2vw, 1.75rem);
}

.catalog-brand {
  width: 86px;
  height: 86px;
}

.catalog-search {
  display: grid;
  width: 100%;
  grid-template-columns: auto minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 0;
  padding: 0;
  overflow: hidden;
  border: 1px solid #cfd3dc;
  border-radius: 2px;
  background: var(--paper);
  transition: border-color 180ms ease, box-shadow 180ms ease;
}

.catalog-search:focus-within {
  border-color: var(--store-purple);
  box-shadow: 0 0 0 3px rgb(79 87 183 / 12%);
}

.catalog-search__icon {
  padding-left: 0.9rem;
  color: #747a89;
  font-size: 1.25rem;
  line-height: 1;
}

.catalog-search input {
  min-width: 0;
  height: 45px;
  padding: 0 0.75rem;
  border: 0;
  outline: 0;
  background: transparent;
  font-size: 0.83rem;
}

.catalog-search__clear {
  width: 36px;
  height: 36px;
  color: #697080;
  background: transparent;
  font-size: 1.25rem;
}

.catalog-search .catalog-search__submit {
  display: block;
  width: auto;
  height: auto;
  align-self: stretch;
  min-width: 92px;
  padding: 0 1rem;
  border-radius: 0;
  color: var(--paper);
  background: var(--store-purple);
  font-size: 0.8rem;
  font-weight: 700;
}

.catalog-search .catalog-search__submit:hover {
  background: var(--store-navy);
}

.header-contact {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--store-text-soft);
  line-height: 1.25;
}

.header-contact > span:first-child {
  color: var(--store-purple);
  font-size: 1.55rem;
}

.header-contact small,
.header-contact strong {
  display: block;
}

.header-contact small {
  margin-bottom: 0.15rem;
  font-size: 0.66rem;
}

.header-contact strong {
  color: var(--store-navy);
  font-size: 0.78rem;
}

.cart-button {
  display: flex;
  min-height: 56px;
  align-items: center;
  gap: 0.65rem;
  padding: 0.65rem 0.9rem;
  color: var(--paper);
  border: 0;
  border-radius: 2px;
  background: var(--store-purple);
  line-height: 1.18;
  text-align: left;
}

.cart-button:hover {
  background: var(--store-navy);
}

.cart-button small,
.cart-button strong {
  display: block;
}

.cart-button small {
  margin-bottom: 0.18rem;
  font-size: 0.67rem;
  font-weight: 500;
}

.cart-button strong {
  font-size: 0.76rem;
}

.catalog-nav {
  color: var(--paper);
  background: var(--store-navy-deep);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
}

.catalog-nav__inner {
  display: flex;
  min-height: 45px;
  align-items: stretch;
  gap: 0;
  scrollbar-width: none;
}

.catalog-nav__inner::-webkit-scrollbar {
  display: none;
}

.catalog-nav a,
.catalog-nav__offer {
  display: inline-flex;
  align-items: center;
  padding: 0 1.05rem;
  white-space: nowrap;
}

.catalog-nav a:hover,
.catalog-nav__home {
  background: var(--store-purple);
}

.catalog-nav__home {
  min-width: 49px;
  justify-content: center;
  font-size: 1.2rem;
}

.catalog-nav__offer {
  margin-left: auto;
  color: #ffe3a1;
}

.catalog-hero {
  position: relative;
  min-height: 255px;
  padding: 0;
  overflow: hidden;
  color: var(--paper);
  background: var(--store-navy) url("/assets/evento-sillas-mesas.jpg") center 58% / cover no-repeat;
}

.catalog-hero::before {
  display: none;
}

.catalog-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgb(23 28 56 / 88%), rgb(41 59 123 / 60%) 52%, rgb(107 44 131 / 42%));
}

.catalog-hero__inner {
  position: relative;
  display: flex;
  min-height: 255px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 0;
  text-align: center;
}

.catalog-hero .catalog-eyebrow {
  margin-bottom: 0.45rem;
  color: #ffe3a1;
}

.catalog-hero h1 {
  margin: 0;
  font-size: clamp(2.8rem, 5.5vw, 5.2rem);
  letter-spacing: -0.035em;
  text-shadow: 0 0.2rem 1.2rem rgb(0 0 0 / 22%);
}

.catalog-breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  margin: 0.9rem 0 0;
  color: rgb(255 255 255 / 78%);
  font-size: 0.75rem;
}

.catalog-breadcrumb a:hover {
  color: var(--paper);
}

.catalog-main {
  padding: clamp(3rem, 5vw, 5rem) 0;
  background: var(--store-bg);
}

.catalog-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: 2rem;
}

.catalog-heading :is(h1, h2) {
  margin: 0;
  color: var(--store-navy-deep);
  font-size: clamp(2.25rem, 4vw, 3.7rem);
}

.catalog-heading > p {
  max-width: 510px;
  margin: 0 0 0.35rem;
  color: var(--store-text-soft);
  font-size: 0.86rem;
  text-align: right;
}

.mobile-catalog-tools {
  display: none;
}

.shop-layout {
  display: grid;
  grid-template-columns: 245px minmax(0, 1fr);
  align-items: start;
  gap: 1.4rem;
}

.filter-panel {
  overflow: hidden;
  border: 1px solid var(--store-border);
  border-radius: 3px;
  background: var(--paper);
}

.filter-panel__header {
  display: flex;
  min-height: 49px;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1rem;
  color: var(--paper);
  background: var(--store-navy-deep);
}

.filter-panel__header h2 {
  margin: 0;
  font-family: var(--body);
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.filter-panel__header button {
  display: none;
  width: 36px;
  height: 36px;
  place-items: center;
  color: var(--paper);
  background: transparent;
  font-size: 1.45rem;
}

.filter-group,
.best-sellers {
  padding: 1.1rem 1rem;
  border-bottom: 1px solid var(--store-border);
}

.filter-group h3,
.best-sellers h3 {
  margin-bottom: 0.8rem;
  color: var(--store-navy-deep);
  font-family: var(--body);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.category-filter {
  display: grid;
  padding: 0;
  overflow: visible;
  gap: 0.15rem;
}

.category-chip {
  display: block;
  min-height: 34px;
  padding: 0.45rem 0;
  color: #575e6c;
  border: 0;
  border-radius: 0;
  background: transparent;
  font-size: 0.78rem;
  font-weight: 500;
  text-align: left;
}

.category-chip:hover,
.category-chip.is-active {
  color: var(--store-purple);
  border-color: transparent;
  background: transparent;
  font-weight: 700;
}

.price-filter {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.55rem;
}

.price-filter label {
  color: var(--store-text-soft);
  font-size: 0.68rem;
}

.price-filter label > span {
  display: flex;
  height: 38px;
  align-items: center;
  gap: 0.3rem;
  margin-top: 0.25rem;
  padding: 0 0.55rem;
  border: 1px solid var(--store-border);
  color: #717786;
  background: #fafafa;
}

.price-filter input {
  width: 100%;
  min-width: 0;
  padding: 0;
  border: 0;
  outline: 0;
  background: transparent;
  font-size: 0.78rem;
}

.filter-apply {
  width: 100%;
  min-height: 36px;
  margin-top: 0.65rem;
  color: var(--paper);
  background: var(--store-purple);
  font-size: 0.72rem;
  font-weight: 700;
}

.filter-apply:hover {
  background: var(--store-navy);
}

.filter-select,
.filter-select select {
  display: block;
  width: 100%;
}

.filter-select select {
  height: 40px;
  padding: 0 0.65rem;
  border: 1px solid var(--store-border);
  outline: 0;
  background: var(--paper);
  font-size: 0.76rem;
}

.filter-group--checks {
  display: grid;
  gap: 0.65rem;
}

.filter-group--checks label {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  color: #59606f;
  font-size: 0.78rem;
}

.filter-group--checks input {
  width: 16px;
  height: 16px;
  accent-color: var(--store-purple);
}

.best-sellers {
  border-bottom: 0;
}

.best-sellers__list {
  color: var(--store-text-soft);
  font-size: 0.72rem;
  line-height: 1.5;
}

.best-sellers__list p {
  margin: 0;
}

.best-seller-item {
  display: grid;
  grid-template-columns: 55px 1fr;
  align-items: center;
  gap: 0.65rem;
  padding: 0.6rem 0;
  border-bottom: 1px solid var(--store-border);
}

.best-seller-item img {
  width: 55px;
  height: 55px;
  object-fit: cover;
}

.shop-results {
  min-width: 0;
}

.shop-toolbar {
  display: flex;
  min-height: 54px;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
  padding: 0.55rem 0.75rem;
  border: 1px solid var(--store-border);
  border-radius: 2px;
  background: var(--paper);
}

.shop-toolbar__summary {
  margin: 0;
  color: var(--store-text-soft);
  font-size: 0.74rem;
}

.shop-toolbar__controls,
.shop-toolbar__controls label,
.view-switcher {
  display: flex;
  align-items: center;
}

.shop-toolbar__controls {
  gap: 0.75rem;
}

.shop-toolbar__controls label {
  gap: 0.4rem;
  color: var(--store-text-soft);
  font-size: 0.7rem;
  white-space: nowrap;
}

.shop-toolbar select {
  height: 34px;
  padding: 0 1.7rem 0 0.55rem;
  border: 1px solid var(--store-border);
  outline: 0;
  background: var(--paper);
  font-size: 0.72rem;
}

.view-switcher {
  overflow: hidden;
  border: 1px solid var(--store-border);
  border-radius: 2px;
}

.view-switcher button {
  width: 35px;
  height: 33px;
  color: #747b89;
  background: var(--paper);
  font-size: 1rem;
}

.view-switcher button + button {
  border-left: 1px solid var(--store-border);
}

.view-switcher button:hover,
.view-switcher button.is-active {
  color: var(--paper);
  background: var(--store-purple);
}

.catalog-status {
  min-height: 350px;
  border: 1px dashed #c7ccd6;
  border-radius: 3px;
  background: var(--paper);
}

.product-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.product-card {
  border: 1px solid var(--store-border);
  border-radius: 2px;
  box-shadow: none;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.product-card:hover {
  border-color: #c7cbd5;
  box-shadow: 0 0.8rem 2rem rgb(23 28 56 / 11%);
  transform: translateY(-3px);
}

.product-card__media {
  aspect-ratio: 1 / 0.9;
  background: #f7f7f8;
}

.product-card__media img {
  object-fit: contain;
}

.product-card__badge {
  top: 0.75rem;
  left: 0.75rem;
  border-radius: 2px;
  color: var(--paper);
  background: var(--store-purple);
  box-shadow: none;
}

.product-card__body {
  padding: 1rem;
  text-align: center;
}

.product-card__categories {
  color: var(--store-text-soft);
  font-size: 0.67rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.product-card h3 {
  min-height: 2.5em;
  margin-bottom: 0.45rem;
  color: var(--store-navy-deep);
  font-family: var(--body);
  font-size: 0.82rem;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: 0.025em;
  text-transform: uppercase;
}

.product-card__description {
  margin-bottom: 0.75rem;
  color: var(--store-text-soft);
  font-size: 0.76rem;
  -webkit-line-clamp: 2;
}

.product-card__footer {
  align-items: stretch;
  flex-direction: column;
  gap: 0.7rem;
  padding-top: 0.8rem;
}

.product-price {
  color: var(--store-purple);
  font-family: var(--body);
  font-size: 1rem;
  font-weight: 700;
}

.product-card .commerce-price-row {
  color: var(--store-purple);
}

.product-card .commerce-price-row > span:first-child,
.product-card .commerce-price-row__label {
  color: var(--store-navy-deep);
  background: #fff6d8;
}

.add-button {
  width: 100%;
  min-height: 39px;
  padding: 0.55rem 0.75rem;
  border-radius: 2px;
  color: var(--store-navy-deep);
  border: 1px solid var(--store-gold);
  background: var(--paper);
  font-size: 0.68rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.add-button:hover {
  color: var(--paper);
  background: var(--store-navy);
  border-color: var(--store-navy);
}

.product-grid.is-list-view {
  grid-template-columns: 1fr;
}

.product-grid.is-list-view .product-card {
  display: grid;
  grid-template-columns: minmax(180px, 30%) 1fr;
}

.product-grid.is-list-view .product-card__media {
  min-height: 230px;
  aspect-ratio: auto;
}

.product-grid.is-list-view .product-card__body {
  align-items: flex-start;
  text-align: left;
}

.product-grid.is-list-view .product-card h3 {
  min-height: 0;
}

.product-grid.is-list-view .product-card__footer {
  width: 100%;
  align-items: center;
  justify-content: space-between;
  flex-direction: row;
}

.product-grid.is-list-view .add-button {
  width: auto;
}

.catalog-pagination {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.35rem;
  margin-top: 1rem;
  padding: 0.75rem;
  border: 1px solid var(--store-border);
  background: var(--paper);
}

.catalog-pagination > div {
  display: flex;
  gap: 0.35rem;
}

.catalog-pagination button {
  display: grid;
  min-width: 34px;
  height: 34px;
  place-items: center;
  color: #666d7b;
  border: 1px solid var(--store-border);
  background: var(--paper);
  font-size: 0.78rem;
}

.catalog-pagination button:hover,
.catalog-pagination button.is-active {
  color: var(--paper);
  border-color: var(--store-purple);
  background: var(--store-purple);
}

.catalog-pagination button:disabled {
  cursor: not-allowed;
  opacity: 0.45;
}

.filter-backdrop {
  display: none;
}

.catalog-experience {
  padding: clamp(3.5rem, 6vw, 5.5rem) 0;
  background:
    linear-gradient(115deg, rgb(23 28 56 / 96%), rgb(41 59 123 / 92%)),
    url("/assets/evento-sillon-virreinal.jpg") center / cover no-repeat;
}

.catalog-experience h2 {
  font-size: clamp(2.2rem, 4vw, 3.7rem);
}

.catalog-footer {
  padding: 3.6rem 0 1.2rem;
  background: #14172d;
}

.catalog-footer__inner {
  grid-template-columns: 1.35fr repeat(3, 1fr);
  gap: clamp(1.5rem, 4vw, 4rem);
}

.catalog-footer__inner > section {
  display: flex;
  align-items: flex-start;
  flex-direction: column;
  gap: 0.55rem;
}

.catalog-footer__about p {
  max-width: 270px;
  margin: 0;
  color: rgb(255 255 255 / 68%);
  font-size: 0.82rem;
}

.catalog-footer__brand {
  width: 128px;
  height: 128px;
}

.catalog-footer h2 {
  margin-bottom: 0.65rem;
  font-family: var(--body);
  font-size: 0.8rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.catalog-footer a,
.catalog-footer p {
  font-size: 0.78rem;
}

.catalog-footer__bottom {
  margin-top: 2.5rem;
}

@media (max-width: 1080px) {
  .catalog-header__inner {
    grid-template-columns: 86px minmax(240px, 1fr) auto;
  }

  .header-contact {
    display: none;
  }

  .catalog-nav a,
  .catalog-nav__offer {
    padding-inline: 0.8rem;
  }

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

@media (max-width: 900px) {
  html {
    scroll-padding-top: 8.5rem;
  }

  .utility-bar__inner > p {
    display: none;
  }

  .utility-bar__inner {
    justify-content: flex-end;
  }

  .utility-bar nav {
    width: 100%;
    justify-content: space-between;
  }

  .catalog-header__inner {
    min-height: 82px;
    grid-template-columns: 72px minmax(0, 1fr) auto;
    gap: 0.7rem;
  }

  .catalog-brand {
    width: 70px;
    height: 70px;
  }

  .catalog-search__submit {
    min-width: 74px;
    padding-inline: 0.7rem;
  }

  .cart-button {
    width: 50px;
    min-height: 48px;
    justify-content: center;
    padding: 0.5rem;
  }

  .cart-button__text small {
    display: none;
  }

  .cart-button__text strong {
    font-size: 0;
  }

  .cart-button__text [data-cart-count] {
    display: grid;
    min-width: 27px;
    min-height: 27px;
    padding: 0 0.3rem;
    place-items: center;
    border-radius: 999px;
    color: var(--store-navy);
    background: var(--paper);
    font-size: 0.72rem;
  }

  .catalog-nav__inner {
    overflow-x: auto;
  }

  .catalog-nav a.catalog-nav__offer {
    display: none;
  }

  .catalog-hero,
  .catalog-hero__inner {
    min-height: 220px;
  }

  .catalog-heading {
    display: block;
  }

  .catalog-heading > p {
    margin-top: 0.75rem;
    text-align: left;
  }

  .mobile-catalog-tools {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1rem;
    color: var(--store-text-soft);
    font-size: 0.74rem;
  }

  .filter-toggle {
    min-height: 42px;
    padding: 0.6rem 0.85rem;
    color: var(--paper);
    background: var(--store-navy);
    font-size: 0.74rem;
    font-weight: 700;
  }

  .shop-layout {
    grid-template-columns: 1fr;
  }

  .filter-panel {
    position: fixed;
    z-index: 120;
    top: 0;
    bottom: 0;
    left: 0;
    width: min(335px, calc(100% - 38px));
    overflow-y: auto;
    border: 0;
    border-radius: 0;
    box-shadow: 1rem 0 3rem rgb(0 0 0 / 20%);
    transform: translateX(-105%);
    transition: transform 220ms ease;
  }

  .filter-panel.is-open {
    transform: translateX(0);
  }

  .filter-panel__header {
    position: sticky;
    z-index: 2;
    top: 0;
  }

  .filter-panel__header button {
    display: grid;
  }

  .filter-backdrop {
    position: fixed;
    z-index: 110;
    inset: 0;
    background: rgb(14 17 34 / 66%);
  }

  .filter-backdrop.is-open {
    display: block;
  }

  .catalog-footer__inner {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 560px) {
  :root {
    --container: min(100% - 24px, 1240px);
  }

  .utility-bar nav a:first-child {
    display: none;
  }

  .catalog-header__inner {
    min-height: 72px;
    grid-template-columns: 58px minmax(0, 1fr) 44px;
  }

  .catalog-brand {
    width: 58px;
    height: 58px;
  }

  .catalog-search__icon,
  .catalog-search__submit {
    display: none;
  }

  .catalog-search {
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .catalog-search input {
    height: 42px;
    padding-inline: 0.75rem;
    font-size: 0.76rem;
  }

  .cart-button {
    width: 44px;
    min-height: 44px;
  }

  .catalog-nav a {
    padding-inline: 0.8rem;
    font-size: 0.68rem;
  }

  .catalog-nav__home {
    min-width: 44px;
  }

  .catalog-hero,
  .catalog-hero__inner {
    min-height: 190px;
  }

  .catalog-hero h1 {
    font-size: clamp(2.5rem, 13vw, 3.8rem);
  }

  .catalog-main {
    padding-block: 2.6rem;
  }

  .catalog-heading {
    margin-bottom: 1.4rem;
  }

  .catalog-heading :is(h1, h2) {
    font-size: 2.25rem;
  }

  .mobile-catalog-tools {
    align-items: flex-start;
    flex-direction: column;
  }

  .shop-toolbar {
    align-items: stretch;
    flex-direction: column;
  }

  .shop-toolbar__summary {
    display: none;
  }

  .shop-toolbar__controls {
    justify-content: space-between;
    flex-wrap: wrap;
  }

  .shop-toolbar__controls label:first-child {
    flex: 1 1 100%;
  }

  .shop-toolbar__controls label:first-child select {
    flex: 1;
  }

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

  .product-card__media {
    aspect-ratio: 1 / 0.82;
  }

  .commerce-price-list {
    gap: 0.28rem;
  }

  .commerce-price-row {
    font-size: 0.74rem;
  }

  .product-grid.is-list-view .product-card {
    grid-template-columns: 120px minmax(0, 1fr);
  }

  .product-grid.is-list-view .product-card__media {
    min-height: 190px;
  }

  .catalog-pagination {
    justify-content: center;
  }

  .catalog-experience__inner {
    align-items: stretch;
    flex-direction: column;
  }

  .catalog-footer__inner {
    grid-template-columns: 1fr;
  }

  .catalog-footer__bottom {
    align-items: flex-start;
    flex-direction: column;
  }
}

/* Auditoría de catálogo: búsqueda, foco, filtros y estados dinámicos. */
.catalog-search input::-webkit-search-cancel-button,
.catalog-search input::-webkit-search-decoration {
  display: none;
  -webkit-appearance: none;
  appearance: none;
}

.catalog-search input::-ms-clear,
.catalog-search input::-ms-reveal {
  display: none;
  width: 0;
  height: 0;
}

body.has-open-catalog-filters {
  overflow: hidden;
  overscroll-behavior: contain;
}

.price-filter label > span:focus-within,
.quantity-control:focus-within {
  border-color: var(--store-purple);
  box-shadow: 0 0 0 3px rgb(79 87 183 / 14%);
}

.filter-select select:focus-visible,
.shop-toolbar select:focus-visible {
  outline: 3px solid var(--orange);
  outline-offset: 2px;
}

.best-seller-item__media {
  display: block;
}

.best-seller-item__body {
  display: grid;
  min-width: 0;
  gap: 0.12rem;
}

.best-seller-item__body small,
.best-seller-item__name,
.best-seller-item__price {
  display: block;
  min-width: 0;
}

.best-seller-item__body small {
  color: var(--store-text-soft);
  font-size: 0.62rem;
  line-height: 1.3;
}

.best-seller-item__name {
  overflow: hidden;
  color: var(--store-navy-deep);
  font-weight: 700;
  line-height: 1.3;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.best-seller-item__price {
  color: var(--store-purple);
  font-size: 0.7rem;
  line-height: 1.35;
}

.cart-item__warning {
  margin: 0.45rem 0 0;
  padding: 0.45rem 0.55rem;
  color: #7a251b;
  border: 1px solid #f1b8ad;
  border-radius: 0.55rem;
  background: #fff2ef;
  font-size: 0.72rem;
  line-height: 1.4;
}

.cart-button--floating .cart-button__label,
body[data-product-app] .cart-button--floating .cart-button__label {
  max-width: 12rem;
  overflow: hidden;
  opacity: 1;
  transition: max-width 180ms ease, opacity 140ms ease;
}

@media (max-width: 900px) {
  .catalog-nav {
    position: relative;
  }

  body[data-catalog-app] .catalog-nav::after {
    position: absolute;
    z-index: 2;
    top: 0;
    right: 0;
    bottom: 0;
    width: 28px;
    background: linear-gradient(90deg, transparent, var(--store-navy-deep));
    content: "";
    pointer-events: none;
  }
}

@media (max-width: 560px) {
  .cart-button.cart-button--floating.is-compact,
  body[data-product-app] .cart-button.cart-button--floating.is-compact {
    gap: 0.35rem;
    padding-inline: 0.65rem;
  }

  .cart-button.cart-button--floating.is-compact .cart-button__label,
  body[data-product-app] .cart-button.cart-button--floating.is-compact .cart-button__label {
    max-width: 0;
    opacity: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .cart-button--floating .cart-button__label,
  body[data-product-app] .cart-button--floating .cart-button__label {
    transition: none;
  }
}

.product-card__colors {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-top: 0.75rem;
}

.catalog-color-swatch {
  position: relative;
  width: 27px;
  height: 27px;
  padding: 0;
  border: 2px solid transparent;
  border-radius: 50%;
  background: var(--variant-color, #c8cad2);
  box-shadow: inset 0 0 0 1px rgb(18 23 44 / 18%);
  cursor: pointer;
}

.catalog-color-swatch[aria-pressed="true"] {
  border-color: var(--paper);
  box-shadow: 0 0 0 2px var(--store-purple, var(--violet-blue));
}

.catalog-color-swatch:disabled {
  cursor: not-allowed;
  opacity: 0.42;
}

.product-grid.is-list-view .product-card__colors {
  justify-content: flex-start;
}

.cart-item__selections {
  display: grid;
  grid-column: 1 / -1;
  gap: 0.7rem;
  padding-top: 0.2rem;
}

.cart-unit-selection {
  display: grid;
  min-width: 0;
  gap: 0.55rem;
  margin: 0;
  padding: 0.7rem;
  border: 1px solid var(--line);
  border-radius: 0.75rem;
  background: var(--surface);
}

.cart-unit-selection > legend {
  padding: 0 0.3rem;
  color: var(--ink);
}

.cart-color-control {
  display: grid;
  min-width: 0;
  gap: 0.35rem;
}

.cart-color-control__label {
  overflow: hidden;
  color: var(--ink);
  text-overflow: ellipsis;
  white-space: nowrap;
}

.cart-color-control__field {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 0.55rem;
}

.cart-color-control__swatch {
  width: 19px;
  height: 19px;
  flex: 0 0 auto;
  border: 1px solid rgb(18 23 44 / 18%);
  border-radius: 50%;
}

.cart-color-control select {
  width: 100%;
  min-width: 0;
  min-height: 38px;
  padding: 0 0.55rem;
  border: 1px solid var(--line);
  border-radius: 0.5rem;
  color: var(--ink);
  background: var(--paper);
}

.cart-color-control select:disabled {
  opacity: 0.78;
}

/* Compact storefront and photographic combination builder */
.combination-open {
  display: inline-flex;
  min-height: 36px;
  align-items: center;
  gap: 0.45rem;
  padding: 0.45rem 0.7rem;
  color: var(--paper);
  border: 0;
  border-radius: 3px;
  background: var(--store-purple);
  font-size: 0.75rem;
  font-weight: 750;
  white-space: nowrap;
}

.combination-open span {
  display: grid;
  min-width: 22px;
  height: 22px;
  place-items: center;
  border-radius: 999px;
  color: var(--store-navy-deep);
  background: var(--paper);
  font-size: 0.7rem;
}

.sheet-dialog {
  width: min(980px, 100%);
}

.sheet-dialog__panel {
  height: 100dvh;
  min-height: 0;
  padding: 1rem 1.1rem;
  overflow: hidden;
}

.sheet-dialog__header {
  padding-bottom: 0.75rem;
}

.sheet-dialog__header h2 {
  font-size: 1.55rem;
}

.combination-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.45rem;
  margin: 0.75rem 0;
  padding: 0;
  list-style: none;
}

.combination-steps li {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 0.4rem;
  padding: 0.45rem 0.55rem;
  border-radius: 0.7rem;
  color: #555c6d;
  background: var(--surface);
  font-size: 0.75rem;
  font-weight: 650;
}

.combination-steps span {
  display: grid;
  width: 22px;
  height: 22px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 50%;
  color: var(--paper);
  background: var(--store-purple);
  font-size: 0.68rem;
}

.cart-workspace {
  display: grid;
  min-height: 0;
  flex: 1;
  grid-template-columns: minmax(0, 1.08fr) minmax(350px, 0.92fr);
  gap: 0.9rem;
}

.combination-preview,
.cart-selection-panel {
  min-height: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 1rem;
  background: var(--paper);
}

.combination-preview {
  display: flex;
  flex-direction: column;
  padding: 0.85rem;
  background: linear-gradient(145deg, #f4f0ff, #f8f9ff 52%, #fff8e7);
}

.combination-preview[hidden] + .cart-selection-panel {
  grid-column: 1 / -1;
}

.combination-preview > header,
.detail-combination-preview > header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.7rem;
  margin-bottom: 0.65rem;
}

.combination-preview h3,
.detail-combination-preview h3 {
  margin: 0;
  color: var(--store-navy-deep);
  font-family: var(--body);
  font-size: 1rem;
  line-height: 1.25;
}

.combination-preview > header > span,
.detail-combination-preview > header > span {
  flex: 0 0 auto;
  padding: 0.3rem 0.5rem;
  border-radius: 999px;
  color: var(--store-purple);
  background: rgb(255 255 255 / 82%);
  font-size: 0.68rem;
  font-weight: 750;
}

.combination-preview__grid {
  display: grid;
  min-height: 0;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-content: start;
  gap: 0.55rem;
  overflow-y: auto;
  scrollbar-gutter: stable;
}

.combination-card {
  position: relative;
  min-width: 0;
  overflow: hidden;
  border: 1px solid rgb(38 44 87 / 10%);
  border-radius: 0.8rem;
  background: var(--paper);
  box-shadow: 0 0.45rem 1rem rgb(30 35 75 / 8%);
}

.combination-card__media {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #ececf3;
}

.combination-card__media > img,
.combination-card__placeholder,
.combination-card__placeholder img {
  width: 100%;
  height: 100%;
}

.combination-card__media > img {
  object-fit: cover;
}

.combination-card__placeholder {
  display: grid;
  place-items: center;
  background: linear-gradient(145deg, #eef1ff, #f7ecff);
}

.combination-card__placeholder img {
  max-width: 68%;
  object-fit: contain;
}

.combination-card__copy {
  position: relative;
  display: grid;
  gap: 0.1rem;
  min-height: 51px;
  padding: 0.45rem 1.7rem 0.45rem 0.5rem;
}

.combination-card__copy strong,
.combination-card__copy small {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.combination-card__copy strong {
  color: var(--store-navy-deep);
  font-size: 0.8rem;
}

.combination-card__copy small {
  color: var(--store-text-soft);
  font-size: 0.75rem;
  display: -webkit-box;
  white-space: normal;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.combination-card__swatch {
  position: absolute;
  right: 0.5rem;
  bottom: 0.55rem;
  width: 15px;
  height: 15px;
  border: 2px solid var(--paper);
  border-radius: 50%;
  background: var(--combination-color, #c8cad2);
  box-shadow: 0 0 0 1px rgb(23 28 56 / 18%);
}

.combination-card--more {
  display: grid;
  min-height: 112px;
  place-content: center;
  padding: 0.8rem;
  color: var(--store-purple);
  border-style: dashed;
  background: rgb(255 255 255 / 66%);
  text-align: center;
}

.combination-card--more strong {
  font-size: 1.4rem;
}

.combination-card--more small {
  color: var(--store-text-soft);
  font-size: 0.75rem;
}

.combination-preview__note {
  margin: 0.6rem 0 0;
  color: var(--store-text-soft);
  font-size: 0.75rem;
  line-height: 1.4;
}

.cart-selection-panel {
  display: flex;
  flex-direction: column;
  padding: 0 0.8rem 0.75rem;
}

.cart-selection-panel .cart-items {
  min-height: 0;
  flex: 1;
  padding-block: 0.75rem;
}

.cart-selection-panel .cart-empty {
  min-height: 210px;
  padding: 1.5rem 0.8rem;
}

.cart-selection-panel .cart-summary {
  padding-top: 0.75rem;
  background: var(--paper);
}

.detail-combination-preview {
  margin: 0.8rem 0 1rem;
  padding: 0.75rem;
  border: 1px solid #dcd9ee;
  border-radius: 0.9rem;
  background: linear-gradient(145deg, #f7f3ff, #fffaf0);
}

.detail-combination-preview .combination-preview__grid {
  grid-template-columns: repeat(auto-fit, minmax(96px, 145px));
  justify-content: start;
  max-height: 285px;
}

/* Personalización V2 */
.product-card__badge--customizable {
  color: #fff;
  background: linear-gradient(135deg, #7650d7, #e5006d);
}

.cart-customization {
  margin: 0.55rem 0 0;
  padding: 0.5rem 0.65rem;
  color: #4e3293;
  background: #f1ebff;
  border-radius: 0.65rem;
  font-size: 0.78rem;
  font-weight: 700;
}

.detail-combination-preview > p {
  margin: 0.55rem 0 0;
  color: var(--store-text-soft);
  font-size: 0.75rem;
}

body[data-catalog-app] {
  font-size: 15px;
}

body[data-catalog-app] .utility-bar,
body[data-catalog-app] .utility-bar__inner {
  min-height: 24px;
}

body[data-catalog-app] .catalog-header__inner {
  min-height: 64px;
  grid-template-columns: 64px minmax(250px, 1fr) auto auto;
  gap: clamp(0.65rem, 1.5vw, 1.2rem);
}

body[data-catalog-app] .catalog-brand {
  width: 58px;
  height: 58px;
}

body[data-catalog-app] .catalog-search input {
  height: 40px;
}

body[data-catalog-app] .cart-button {
  min-height: 44px;
  padding: 0.5rem 0.72rem;
}

body[data-catalog-app] .catalog-nav__inner {
  min-height: 40px;
}

body[data-catalog-app] .catalog-hero,
body[data-catalog-app] .catalog-hero__inner {
  min-height: 176px;
}

body[data-catalog-app] .catalog-hero h1 {
  font-size: clamp(2.05rem, 3vw, 3.25rem);
}

body[data-catalog-app] .catalog-breadcrumb {
  margin-top: 0.55rem;
}

body[data-catalog-app] .catalog-main {
  padding: clamp(1.35rem, 2.2vw, 2rem) 0;
}

body[data-catalog-app] .catalog-heading {
  margin-bottom: 0.9rem;
}

body[data-catalog-app] .catalog-heading :is(h1, h2) {
  font-size: clamp(1.75rem, 2.4vw, 2.6rem);
}

body[data-catalog-app] .shop-layout {
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 1rem;
}

body[data-catalog-app] .product-card__media {
  aspect-ratio: 4 / 3;
}

body[data-catalog-app] .product-card__body {
  padding: 0.65rem 0.7rem 0.7rem;
}

body[data-catalog-app] .product-card__badge {
  top: 0.6rem;
  left: 0.6rem;
  padding: 0.32rem 0.55rem;
  font-size: 0.62rem;
  letter-spacing: 0.06em;
}

body[data-catalog-app] .product-card__categories {
  min-height: 0;
  margin-bottom: 0.18rem;
  font-size: 0.64rem;
  line-height: 1.25;
}

body[data-catalog-app] .product-card h3 {
  display: -webkit-box;
  min-height: 0;
  margin-bottom: 0.2rem;
  overflow: hidden;
  font-size: 0.78rem;
  line-height: 1.18;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

body[data-catalog-app] .product-card__description {
  margin-bottom: 0.45rem;
  font-size: 0.7rem;
  line-height: 1.4;
  -webkit-line-clamp: 2;
}

body[data-catalog-app] .product-card__colors {
  gap: 0.3rem;
  margin-top: 0.4rem;
}

body[data-catalog-app] .catalog-color-swatch {
  width: 24px;
  height: 24px;
}

body[data-catalog-app] .product-card__footer {
  gap: 0.45rem;
  padding-top: 0.5rem;
}

body[data-catalog-app] .product-card__footer .commerce-price-list {
  grid-template-columns: repeat(auto-fit, minmax(92px, 1fr));
  gap: 0.25rem 0.4rem;
}

body[data-catalog-app] .product-card__footer .commerce-price-row {
  gap: 0.3rem;
  line-height: 1.15;
}

body[data-catalog-app] .product-card__footer .commerce-price-row__label {
  padding: 0.14rem 0.32rem;
  font-size: 0.58rem;
}

body[data-catalog-app] .product-card__footer .commerce-price-row__value {
  font-size: 0.76rem;
}

body[data-catalog-app] .add-button {
  min-height: 36px;
  padding: 0.4rem 0.6rem;
  font-size: 0.75rem;
  line-height: 1.1;
}

body[data-catalog-app] .price-filter label {
  font-size: 0.75rem;
}

body[data-catalog-app] .catalog-experience {
  padding: clamp(2.6rem, 4vw, 3.8rem) 0;
}

body[data-catalog-app] .catalog-experience h2 {
  font-size: clamp(1.8rem, 2.8vw, 2.8rem);
}

body[data-catalog-app] .catalog-footer {
  padding-top: 2.7rem;
}

body[data-product-app] {
  font-size: 15px;
}

body[data-product-app] .catalog-header__inner {
  min-height: 68px;
  grid-template-columns: 62px minmax(0, 1fr) auto;
  gap: 0.9rem;
}

body[data-product-app] .catalog-brand {
  width: 60px;
  height: 60px;
}

body[data-product-app] .catalog-nav {
  color: var(--ink);
  background: transparent;
  font-size: 0.8rem;
  text-transform: none;
}

body[data-product-app] .catalog-nav a {
  padding-inline: 0.7rem;
}

body[data-product-app] .catalog-nav a:hover {
  color: var(--violet-blue);
  background: var(--surface);
}

body[data-product-app] .cart-button {
  min-height: 44px;
}

body[data-product-app] .detail-main {
  padding: 1rem 0 clamp(2.5rem, 5vw, 4rem);
}

body[data-product-app] .breadcrumb {
  margin: 0.45rem 0 1.2rem;
}

body[data-product-app] .product-detail {
  gap: clamp(1.4rem, 3vw, 2.6rem);
}

body[data-product-app] .product-gallery {
  grid-template-columns: 68px minmax(0, 1fr);
  gap: 0.7rem;
}

body[data-product-app] .gallery-thumb {
  width: 68px;
  height: 68px;
}

body[data-product-app] .product-gallery__main,
body[data-product-app] .product-gallery__main .product-card__placeholder {
  min-height: clamp(340px, 38vw, 440px);
}

body[data-product-app] .product-detail__info {
  top: 84px;
}

body[data-product-app] .product-detail__info h1 {
  font-size: clamp(2rem, 3.2vw, 3.1rem);
}

body[data-product-app] .detail-price {
  margin: 0.75rem 0 1rem;
  font-size: clamp(1.55rem, 2.5vw, 2.25rem);
}

body[data-product-app] .detail-categories,
body[data-product-app] .detail-purchase,
body[data-product-app] .combo-contents {
  margin-top: 1rem;
}

body[data-product-app] .catalog-footer__inner {
  grid-template-columns: 1.2fr 1fr 1.25fr;
}

body[data-product-app] .combo-contents {
  padding-top: 1rem;
}

@media (min-width: 1280px) {
  body[data-catalog-app] .product-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 820px) {
  .sheet-dialog {
    width: min(720px, 100%);
  }

  .sheet-dialog__panel {
    overflow-y: auto;
  }

  .cart-workspace {
    display: flex;
    overflow: visible;
    flex-direction: column;
  }

  .combination-preview,
  .cart-selection-panel {
    overflow: visible;
  }

  .combination-preview {
    flex: 0 0 auto;
  }

  .combination-preview__grid {
    flex: 0 0 auto;
    max-height: 420px;
  }

  body[data-catalog-app] .catalog-header__inner {
    min-height: 68px;
    grid-template-columns: 60px minmax(0, 1fr) auto;
  }

  body[data-catalog-app] .catalog-hero,
  body[data-catalog-app] .catalog-hero__inner {
    min-height: 160px;
  }

  body[data-catalog-app] .shop-layout {
    grid-template-columns: 1fr;
  }

  body[data-product-app] .catalog-footer__inner {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  body[data-catalog-app] .utility-bar {
    display: none;
  }

  body[data-catalog-app] .catalog-header__inner {
    min-height: 60px;
    grid-template-columns: 52px minmax(0, 1fr) 44px;
  }

  body[data-catalog-app] .catalog-brand {
    width: 52px;
    height: 52px;
  }

  body[data-catalog-app] .catalog-search input,
  body[data-catalog-app] input,
  body[data-catalog-app] select,
  body[data-catalog-app] textarea,
  body[data-product-app] input,
  body[data-product-app] select {
    font-size: 16px;
  }

  body[data-catalog-app] .catalog-nav__inner {
    min-height: 38px;
  }

  body[data-catalog-app] .catalog-hero,
  body[data-catalog-app] .catalog-hero__inner {
    min-height: 148px;
  }

  body[data-catalog-app] .catalog-hero h1 {
    font-size: clamp(2rem, 9vw, 2.6rem);
  }

  body[data-catalog-app] .catalog-main {
    padding-block: 1.8rem;
  }

  body[data-catalog-app] .catalog-heading :is(h1, h2) {
    font-size: 1.8rem;
  }

  body[data-catalog-app] .product-card__media {
    aspect-ratio: 16 / 10;
  }

  body[data-catalog-app] .add-button {
    min-height: 42px;
  }

  body[data-catalog-app] .catalog-color-swatch {
    width: 28px;
    height: 28px;
  }

  .combination-open {
    min-height: 40px;
  }

  .sheet-dialog__panel {
    padding: 0.75rem;
  }

  .combination-steps {
    gap: 0.3rem;
  }

  .combination-steps li {
    align-items: flex-start;
    flex-direction: column;
    padding: 0.4rem;
    font-size: 0.75rem;
  }

  .combination-preview__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-height: min(42dvh, 420px);
    overflow-y: auto;
  }

  .combination-card__copy strong {
    font-size: 0.78rem;
  }

  .combination-card__copy {
    min-height: 74px;
    padding-right: 0.5rem;
  }

  .combination-card__copy small {
    overflow: visible;
    line-height: 1.25;
    text-overflow: clip;
    white-space: normal;
  }

  .combination-card__swatch {
    position: static;
    width: 100%;
    height: 6px;
    margin-top: 0.25rem;
    border-radius: 999px;
  }

  .combination-card__copy small,
  .combination-preview__note {
    font-size: 0.75rem;
  }

  body[data-product-app] .catalog-header__inner {
    min-height: 60px;
    grid-template-columns: 52px minmax(0, 1fr) 44px;
  }

  body[data-product-app] .catalog-brand {
    width: 52px;
    height: 52px;
  }

  body[data-product-app] .catalog-nav {
    grid-column: auto;
    grid-row: auto;
    justify-content: center;
    padding: 0;
    overflow: visible;
  }

  body[data-product-app] .catalog-nav > a {
    display: none;
  }

  body[data-product-app] .catalog-nav > a:first-child {
    display: inline-flex;
    min-height: 40px;
    align-items: center;
    padding: 0.45rem 0.75rem;
  }

  body[data-product-app] .cart-button {
    position: relative;
    width: 44px;
    min-height: 44px;
    justify-content: center;
    gap: 0;
    padding: 0;
  }

  body[data-product-app] .cart-button > span:not(.cart-button__count) {
    display: none;
  }

  body[data-product-app] .cart-button svg {
    width: 19px;
    height: 19px;
  }

  body[data-product-app] .cart-button__count {
    position: absolute;
    top: -5px;
    right: -5px;
    min-width: 20px;
    min-height: 20px;
    padding: 0 0.2rem;
    border: 2px solid var(--paper);
    font-size: 0.62rem;
  }

  body[data-product-app] .detail-state {
    min-height: 320px;
  }

  body[data-product-app] .catalog-footer__inner {
    grid-template-columns: minmax(0, 1fr);
  }

  body[data-product-app] .product-gallery {
    grid-template-columns: minmax(0, 1fr);
  }

  body[data-product-app] .gallery-thumb {
    width: 54px;
    height: 54px;
  }

  body[data-product-app] .product-gallery__main,
  body[data-product-app] .product-gallery__main .product-card__placeholder {
    min-height: 300px;
  }

  body[data-product-app] .product-detail__info h1 {
    font-size: 2rem;
  }
}

/* Correcciones de catálogo: conteos legibles, destacados y acceso único al carrito. */
.category-chip {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.category-chip small {
  color: inherit;
  font: inherit;
}

.product-card__featured-badge {
  position: absolute;
  z-index: 2;
  top: 0.6rem;
  right: 0.6rem;
  padding: 0.34rem 0.58rem;
  color: #4d3600;
  border: 1px solid rgb(255 255 255 / 72%);
  border-radius: 999px;
  background: #ffd66b;
  box-shadow: 0 0.25rem 0.65rem rgb(22 29 65 / 18%);
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  line-height: 1;
  text-transform: uppercase;
}

.detail-badge--featured {
  color: #4d3600;
  background: #ffd66b;
}

body[data-catalog-app],
body[data-product-app] {
  padding-bottom: 0;
}

body[data-catalog-app] .catalog-footer,
body[data-product-app] .catalog-footer {
  padding-bottom: 76px;
}

body[data-catalog-app] .catalog-header__inner {
  grid-template-columns: 64px minmax(250px, 1fr) auto;
}

body[data-product-app] .catalog-header__inner {
  grid-template-columns: 62px minmax(0, 1fr);
}

.cart-button.cart-button--floating,
body[data-product-app] .cart-button.cart-button--floating {
  position: fixed;
  z-index: 95;
  right: max(18px, env(safe-area-inset-right));
  bottom: max(18px, env(safe-area-inset-bottom));
  display: inline-flex;
  width: auto;
  min-height: 52px;
  justify-content: center;
  gap: 0.58rem;
  padding: 0.65rem 0.72rem 0.65rem 0.9rem;
  color: var(--paper);
  border: 1px solid rgb(255 255 255 / 42%);
  border-radius: 999px;
  background: var(--store-purple);
  box-shadow: 0 0.7rem 1.8rem rgb(22 29 65 / 30%);
  font-size: 0.78rem;
  line-height: 1.1;
  text-align: left;
  transform: translateY(var(--cart-collision-shift, 0px));
}

.cart-button.cart-button--floating:hover,
body[data-product-app] .cart-button.cart-button--floating:hover {
  background: var(--store-navy-deep);
  transform: translateY(calc(var(--cart-collision-shift, 0px) - 2px));
}

.cart-button.cart-button--floating.is-collision-hidden,
body[data-product-app] .cart-button.cart-button--floating.is-collision-hidden {
  visibility: hidden;
  pointer-events: none;
  opacity: 0;
  transform: translateY(calc(var(--cart-collision-shift, 0px) + 10px)) scale(0.94);
}

.cart-button--floating svg,
body[data-product-app] .cart-button--floating svg {
  display: block;
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
}

.cart-button.cart-button--floating > .cart-button__label,
body[data-product-app] .cart-button.cart-button--floating > .cart-button__label {
  display: inline;
  font-weight: 750;
  white-space: nowrap;
}

.cart-button--floating .cart-button__count,
body[data-product-app] .cart-button--floating .cart-button__count {
  position: static;
  display: grid;
  min-width: 28px;
  min-height: 28px;
  padding: 0 0.35rem;
  place-items: center;
  color: var(--store-navy-deep);
  border: 0;
  border-radius: 999px;
  background: var(--paper);
  font-size: 0.72rem;
}

.whatsapp-choice--pdf {
  color: #3f3007;
  border-color: #e7bd4e;
  background: #fff4cf;
}

.whatsapp-choice--pdf:hover {
  color: var(--store-navy-deep);
  border-color: var(--store-gold);
  background: #ffe9a7;
}

@media (max-width: 1080px) {
  body[data-catalog-app] .catalog-header__inner {
    grid-template-columns: 64px minmax(240px, 1fr);
  }
}

@media (max-width: 560px) {
  body[data-catalog-app] .catalog-header__inner,
  body[data-product-app] .catalog-header__inner {
    grid-template-columns: 52px minmax(0, 1fr);
  }

  .cart-button.cart-button--floating,
  body[data-product-app] .cart-button.cart-button--floating {
    right: max(12px, env(safe-area-inset-right));
    bottom: max(12px, env(safe-area-inset-bottom));
    min-height: 48px;
    padding: 0.55rem 0.62rem 0.55rem 0.75rem;
    font-size: 0.7rem;
  }

  .cart-button.cart-button--floating > .cart-button__label,
  body[data-product-app] .cart-button.cart-button--floating > .cart-button__label {
    display: inline;
  }

  .cart-button.cart-button--floating.is-compact,
  body[data-product-app] .cart-button.cart-button--floating.is-compact {
    width: 48px;
    min-height: 48px;
    gap: 0;
    padding: 0;
  }

  .cart-button.cart-button--floating.is-compact > .cart-button__label,
  body[data-product-app] .cart-button.cart-button--floating.is-compact > .cart-button__label {
    display: none;
  }

  .cart-button--floating.is-compact .cart-button__count,
  body[data-product-app] .cart-button--floating.is-compact .cart-button__count {
    position: absolute;
    top: -4px;
    right: -4px;
    min-width: 22px;
    min-height: 22px;
    padding: 0 0.25rem;
    font-size: 0.62rem;
  }
}

/* Auditoría responsive 2026-08-27: interacción táctil, filtros y carrito. */
.filter-panel__actions {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.85rem 1rem;
  border-top: 1px solid var(--store-border);
  background: var(--paper);
}

.filter-reset,
.filter-results-button {
  min-height: 44px;
  flex: 1;
  padding: 0.65rem 0.8rem;
  border: 1px solid var(--store-purple);
  border-radius: 3px;
  font-size: 0.76rem;
  font-weight: 750;
}

.filter-reset {
  color: var(--store-purple);
  background: var(--paper);
}

.filter-results-button {
  display: none;
  color: var(--paper);
  background: var(--store-purple);
}

.product-card__colors {
  position: relative;
  z-index: 3;
}

.catalog-search:focus-within,
.price-filter label > span:focus-within,
.quantity-control:focus-within {
  border-color: var(--store-navy-deep);
  box-shadow: 0 0 0 3px #fff, 0 0 0 6px var(--store-navy-deep);
}

.filter-select select:focus-visible,
.shop-toolbar select:focus-visible {
  outline-color: #fff;
  box-shadow: 0 0 0 5px var(--store-navy-deep);
}

.cart-button.cart-button--floating.is-compact,
body[data-product-app] .cart-button.cart-button--floating.is-compact {
  width: 48px;
  min-height: 48px;
  gap: 0;
  padding: 0;
}

.cart-button.cart-button--floating.is-compact > .cart-button__label,
body[data-product-app] .cart-button.cart-button--floating.is-compact > .cart-button__label {
  display: none;
}

.cart-button--floating.is-compact .cart-button__count,
body[data-product-app] .cart-button--floating.is-compact .cart-button__count {
  position: absolute;
  top: -4px;
  right: -4px;
  min-width: 22px;
  min-height: 22px;
  padding: 0 0.25rem;
  font-size: 0.62rem;
}

@media (max-width: 900px) {
  .filter-panel__actions {
    position: sticky;
    z-index: 3;
    bottom: 0;
    box-shadow: 0 -0.6rem 1.2rem rgb(23 28 56 / 8%);
  }

  .filter-results-button {
    display: block;
  }

  .filter-panel__header button,
  .category-chip,
  .filter-apply,
  .filter-select select,
  .filter-toggle,
  .shop-toolbar select,
  .view-switcher button {
    min-height: 44px;
  }

  .filter-panel__header button {
    width: 44px;
    height: 44px;
  }

  .price-filter label > span {
    height: 44px;
  }

  .view-switcher button {
    width: 44px;
    height: 44px;
  }

  body[data-catalog-app] .product-card h3 {
    font-size: 0.9rem;
  }

  body[data-catalog-app] .product-card__description {
    font-size: 0.8rem;
  }

  body[data-catalog-app] .product-card__footer .commerce-price-row__label {
    font-size: 0.66rem;
  }

  body[data-catalog-app] .product-card__footer .commerce-price-row__value {
    font-size: 0.84rem;
  }

  body[data-catalog-app] .catalog-color-swatch {
    width: 44px;
    height: 44px;
  }

  body[data-catalog-app] .add-button {
    min-height: 44px;
    font-size: 0.8rem;
  }

  .sheet-dialog__panel {
    overflow-y: auto;
  }

  .cart-workspace,
  .combination-preview,
  .cart-selection-panel,
  .cart-selection-panel .cart-items {
    min-height: auto;
    flex: 0 0 auto;
  }

  .cart-selection-panel .cart-items {
    overflow: visible;
  }

  .sheet-dialog__header {
    position: sticky;
    z-index: 5;
    top: -1rem;
    padding-top: 1rem;
    background: var(--paper);
  }
}

@media (max-width: 560px) {
  body[data-catalog-app] .catalog-search input {
    height: 44px;
  }

  body[data-catalog-app] .catalog-search .catalog-search__submit {
    display: none;
  }

  body[data-catalog-app] .catalog-nav a {
    min-height: 44px;
    align-items: center;
  }

  .mobile-catalog-tools > span {
    display: none;
  }

  .shop-toolbar__summary {
    display: block;
    width: 100%;
    padding: 0.65rem 0.75rem;
    color: var(--store-text-soft);
    border: 1px solid var(--store-border);
    border-radius: 3px;
    background: var(--paper);
    font-size: 0.78rem;
    line-height: 1.4;
  }
}
