:root {
  --bone: #F7F3EE;
  --sand: #D7C1A7;
  --coffee: #533C2C;
  --graphite: #2B2623;
  --line: rgba(83, 60, 44, 0.14);
  --line-strong: rgba(83, 60, 44, 0.24);
  --surface: rgba(255, 255, 255, 0.72);
  --surface-solid: #fffaf4;
  --white: #ffffff;
  --accent: #A56150;
  --accent-rgb: 165, 97, 80;
  --accent-contrast: #ffffff;
  --radius: 18px;
  --shadow: 0 1px 2px rgba(43, 38, 35, 0.05);
}

body[data-segment="hogar"] {
  --accent: #A56150;
  --accent-rgb: 165, 97, 80;
}

body[data-segment="horeca"] {
  --accent: #1E2F42;
  --accent-rgb: 30, 47, 66;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Poppins", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--bone);
  color: var(--graphite);
  line-height: 1.55;
  padding-bottom: 0;
}
body.has-samples { padding-bottom: 88px; }
body.modal-open { overflow: hidden; overscroll-behavior: none; }
img { display: block; width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
button { border: 0; background: none; cursor: pointer; color: inherit; }
input {
  width: 100%;
  min-height: 52px;
  border: 1px solid var(--line-strong);
  background: rgba(255, 255, 255, 0.78);
  color: var(--graphite);
  border-radius: 16px;
  padding: 0 16px;
}
input:focus-visible, button:focus-visible, a:focus-visible {
  outline: 2px solid rgba(var(--accent-rgb), 0.38);
  outline-offset: 3px;
}
[hidden] { display: none !important; }

.shell {
  width: min(100%, 1200px);
  margin-inline: auto;
  padding-inline: 20px;
}
.skip-link {
  position: absolute;
  left: -999px;
  top: auto;
}
.skip-link:focus {
  left: 20px;
  top: 14px;
  z-index: 100;
  background: var(--white);
  padding: 10px 14px;
  border-radius: 12px;
  border: 1px solid var(--line-strong);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 54;
  background: rgba(247, 243, 238, 0.98);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(10px);
  transition: transform 0.18s ease, opacity 0.18s ease;
}
body.catalog-filter-mode .site-header {
  transform: translateY(-100%);
  opacity: 0;
  pointer-events: none;
}
body.is-detail .site-header { display: none; }
.header-inner {
  min-height: 64px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 16px;
}
.brand { justify-self: start; display: inline-flex; align-items: center; }
.brand img { width: auto; height: 34px; }
.header-title {
  justify-self: center;
  color: var(--coffee);
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: 0.02em;
}
.header-spacer { min-width: 34px; }

main > section,
.catalog-app > section { padding-block: 48px; }
.section-label {
  margin: 0;
  color: var(--coffee);
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.section-head,
.decision-copy,
.gate-copy {
  display: grid;
  gap: 10px;
  max-width: 760px;
}
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { color: var(--coffee); line-height: 1.1; }
p { color: var(--graphite); }
.segment-gate {
  min-height: calc(100dvh - 64px);
  display: grid;
  align-content: center;
  gap: 28px;
}
.gate-copy h1 {
  margin: 0;
  font-size: clamp(2rem, 8vw, 4.2rem);
  font-weight: 800;
  letter-spacing: -0.04em;
}
.decision-copy h1 {
  margin: 0;
  font-size: clamp(1.35rem, 5.8vw, 4.2rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  white-space: nowrap;
}
.gate-copy p:not(.section-label),
.decision-copy p:not(.section-label) {
  margin: 0;
  max-width: 620px;
  font-size: clamp(1rem, 2.6vw, 1.18rem);
}
.segment-choice-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}
.segment-choice-card,
.intent-card,
.direct-search-card,
.swatch-card,
.detail-card,
.detail-title-card,
.empty-state,
.compare-sheet-panel {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.segment-choice-card {
  position: relative;
  overflow: hidden;
  min-height: 168px;
  display: grid;
  align-content: start;
  gap: 12px;
  padding: 22px;
  text-align: left;
  transition: transform 0.18s ease, border-color 0.18s ease, background-color 0.18s ease;
}
.segment-choice-card:hover,
.intent-card:hover,
.swatch-card:hover {
  transform: translateY(-1px);
  border-color: rgba(var(--accent-rgb), 0.42);
  background: rgba(255, 255, 255, 0.86);
}
.segment-choice-card strong {
  color: var(--coffee);
  font-size: 1.35rem;
  letter-spacing: 0.04em;
}
.segment-choice-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 4px;
  background: var(--card-accent, var(--accent));
}
.segment-choice-card[data-segment-select="hogar"] { --card-accent: #A56150; }
.segment-choice-card[data-segment-select="horeca"] { --card-accent: #1E2F42; }
.segment-choice-card[data-segment-select="hogar"] strong { color: #A56150; }
.segment-choice-card[data-segment-select="horeca"] strong { color: #1E2F42; }
.segment-choice-card small {
  display: block;
  color: var(--accent);
  font-size: 0.82rem;
  font-weight: 600;
  margin-top: -8px;
}
.segment-choice-card span {
  max-width: 320px;
  color: var(--graphite);
}
.segment-choice-card em {
  margin-top: 8px;
  color: var(--card-accent, var(--accent));
  font-size: 0.88rem;
  font-style: normal;
  font-weight: 700;
}

.decision-screen {
  min-height: calc(100dvh - 64px);
  display: grid;
  align-content: center;
  gap: 24px;
}
.intent-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}
.intent-card {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  column-gap: 12px;
  row-gap: 4px;
  align-items: start;
  padding: 18px;
  text-align: left;
  transition: transform 0.18s ease, border-color 0.18s ease, background-color 0.18s ease;
}
.intent-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 4px;
  background: var(--accent);
}
.intent-icon {
  grid-column: 1;
  grid-row: 1 / span 2;
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: rgba(var(--accent-rgb), 0.1);
  color: var(--accent);
}
.intent-icon svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.intent-card strong {
  grid-column: 2;
  color: var(--coffee);
  font-size: 1rem;
}
.intent-card > span:not(.intent-icon) {
  grid-column: 2;
  color: rgba(43, 38, 35, 0.82);
  font-size: 0.92rem;
}
.intent-card .intent-icon {
  color: var(--accent);
  font-size: 1rem;
}
.free-explore-card {
  display: grid;
  gap: 10px;
  justify-items: start;
  padding: 2px 0 4px;
}
.free-explore-card p {
  margin: 0;
  color: var(--coffee);
  font-size: 0.94rem;
  font-weight: 600;
}
.free-explore-card .button {
  width: 100%;
  background: rgba(255, 255, 255, 0.62);
  border-color: var(--line-strong);
}
.direct-search-card {
  display: grid;
  gap: 12px;
  padding: 18px;
}
.direct-search-card label {
  color: var(--coffee);
  font-weight: 600;
}
.button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  border: 1px solid transparent;
  padding: 0 18px;
  font-weight: 600;
  transition: transform 0.18s ease, background-color 0.18s ease, border-color 0.18s ease;
}
.button:hover { transform: translateY(-1px); }
.button-primary {
  background: var(--accent);
  color: var(--accent-contrast);
}
.button-secondary {
  border-color: var(--line-strong);
  background: rgba(255, 255, 255, 0.68);
  color: var(--coffee);
}
.button:disabled,
.button[disabled],
.button.button-primary:disabled {
  cursor: not-allowed;
  transform: none;
  opacity: 1;
  background: rgba(43, 38, 35, 0.12);
  border-color: rgba(43, 38, 35, 0.1);
  color: rgba(43, 38, 35, 0.44);
}
.button-card {
  width: 100%;
  min-height: 44px;
  border-radius: 14px;
  background: var(--accent);
  color: var(--accent-contrast);
  font-size: 0.9rem;
}
.button-card.is-selected,
.detail-save.is-selected {
  background: rgba(var(--accent-rgb), 0.12);
  color: var(--accent);
  border-color: rgba(var(--accent-rgb), 0.32);
}
.button-card.is-blocked,
.detail-save.is-blocked {
  background: rgba(43, 38, 35, 0.08);
  color: rgba(43, 38, 35, 0.56);
  border-color: var(--line);
}

.catalog-section { padding-top: 56px; }
.catalog-head { margin-bottom: 18px; }
.catalog-head h2 {
  margin: 0;
  font-size: clamp(1.8rem, 5.6vw, 3rem);
  font-weight: 700;
}
.catalog-head p { margin: 0; }
.catalog-toolbar {
  position: sticky;
  top: 0;
  z-index: 58;
  display: grid;
  gap: 12px;
  margin-inline: -20px;
  padding: 12px 20px;
  background: rgba(247, 243, 238, 0.98);
  border-block: 1px solid var(--line);
  backdrop-filter: blur(10px);
}
.search-wrap {
  position: relative;
  display: block;
}
.search-wrap::before {
  content: "";
  position: absolute;
  left: 18px;
  top: 50%;
  z-index: 1;
  width: 13px;
  height: 13px;
  border: 2px solid rgba(83, 60, 44, 0.62);
  border-radius: 999px;
  transform: translateY(-50%);
  pointer-events: none;
}
.search-wrap::after {
  content: "";
  position: absolute;
  left: 31px;
  top: 50%;
  z-index: 1;
  width: 8px;
  height: 2px;
  border-radius: 999px;
  background: rgba(83, 60, 44, 0.62);
  transform: translateY(6px) rotate(45deg);
  pointer-events: none;
}
.search-wrap input { padding-left: 48px; }
.filter-select-row {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 10px;
}
.filter-select-row > span {
  color: var(--coffee);
  font-size: 0.86rem;
  font-weight: 650;
  white-space: nowrap;
}
.filter-picker {
  position: relative;
  display: grid;
  gap: 8px;
}
.filter-menu-button {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  border-radius: 14px;
  border: 1px solid var(--line-strong);
  background: rgba(255, 255, 255, 0.78);
  color: var(--coffee);
  padding: 0 14px;
  font-size: 0.9rem;
  font-weight: 650;
}
.filter-menu-button::after {
  content: "⌄";
  color: var(--accent);
  font-size: 1rem;
  line-height: 1;
}
.filter-menu {
  position: absolute;
  inset: calc(100% + 8px) 0 auto 0;
  z-index: 8;
  display: grid;
  gap: 6px;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--surface-solid);
  box-shadow: 0 10px 28px rgba(43, 38, 35, 0.12);
}
.filter-chip-strip {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 2px;
  scrollbar-width: none;
}
.filter-chip-strip::-webkit-scrollbar { display: none; }
.filter-status {
  margin: 0;
  color: rgba(43, 38, 35, 0.72);
  font-size: 0.82rem;
  font-weight: 600;
}
.filter-type,
.filter-chip {
  min-height: 38px;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  background: rgba(255, 255, 255, 0.68);
  color: var(--coffee);
  padding: 0 14px;
  font-size: 0.82rem;
  font-weight: 500;
}
.filter-menu .filter-type {
  width: 100%;
  justify-content: flex-start;
  border-radius: 12px;
}
.filter-type.is-active,
.filter-chip.is-active {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--accent-contrast);
}
.catalog-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-block: 16px;
}
.catalog-meta p { margin: 0; font-size: 0.9rem; }
.text-action {
  color: var(--accent);
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: underline;
  text-underline-offset: 4px;
}
.catalog-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
.swatch-card {
  overflow: hidden;
  text-align: left;
  cursor: pointer;
  transition: transform 0.18s ease, border-color 0.18s ease, background-color 0.18s ease;
}
.swatch-media {
  aspect-ratio: 1 / 1;
  background: var(--sand);
  overflow: hidden;
}
.swatch-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.swatch-copy {
  display: grid;
  gap: 8px;
  padding: 12px;
}
.swatch-family-tag {
  color: var(--coffee);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}
.swatch-copy h3 {
  margin: 0;
  font-size: 0.96rem;
  line-height: 1.18;
}
.swatch-copy p {
  margin: 0;
  font-size: 0.78rem;
  color: rgba(43, 38, 35, 0.72);
}
.swatch-view-link {
  display: inline-flex;
  width: fit-content;
  margin-top: 4px;
  color: var(--accent);
  font-size: 0.86rem;
  font-weight: 700;
}
.empty-state {
  display: grid;
  gap: 10px;
  padding: 22px;
  text-align: center;
}
.empty-state h3 { margin: 0; }
.empty-state p { margin: 0; }

.advice-section {
  padding-block: 40px 36px;
}
.advice-card {
  display: grid;
  gap: 14px;
  max-width: 1100px;
  margin-inline: auto;
  padding: 22px;
  border-radius: 22px;
  border: 1px solid var(--line);
  background: rgba(255, 250, 244, 0.78);
  box-shadow: 0 8px 24px rgba(43, 38, 35, 0.05);
}
.advice-card h2 {
  margin: 0;
  font-size: clamp(1.5rem, 6vw, 2.5rem);
}
.advice-card p {
  margin: 0;
  max-width: 680px;
}
.advice-button { width: 100%; }
.advice-desktop-label { display: none; }
.advice-mobile-label { display: inline; }
.site-footer {
  padding-block: 48px 32px;
}
.footer-inner {
  display: grid;
  gap: 12px;
  border-top: 1px solid var(--line);
  padding-top: 24px;
}
.footer-logo { width: auto; height: 38px; }
.footer-inner p { margin: 0; max-width: 420px; }

.fabric-detail {
  min-height: 100dvh;
  background: var(--bone);
}
.detail-header {
  position: sticky;
  top: 0;
  z-index: 60;
  min-height: 56px;
  display: flex;
  align-items: center;
  background: rgba(247, 243, 238, 0.98);
  border-bottom: 1px solid var(--line);
  padding-inline: 16px;
  backdrop-filter: blur(10px);
}
.detail-back {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  gap: 16px;
  color: var(--coffee);
  font-size: 0.92rem;
  font-weight: 600;
}
.detail-header-title {
  max-width: 52vw;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  opacity: 0;
  transform: translateY(4px);
  transition: opacity 0.16s ease, transform 0.16s ease;
}
.detail-header.is-scrolled .detail-header-title {
  opacity: 1;
  transform: translateY(0);
}
.detail-shell {
  display: grid;
  gap: 14px;
  padding-top: 16px;
  padding-bottom: 96px;
}
.detail-title-card,
.detail-card {
  padding: 16px;
}
.detail-hero-card {
  display: grid;
  gap: 12px;
}
.detail-hero-card h1 {
  margin: 0;
  font-size: 1.38rem;
  font-weight: 700;
}
.detail-subtitle {
  margin: -6px 0 0;
  color: rgba(43, 38, 35, 0.76);
  font-size: 0.86rem;
}
.detail-summary-block {
  display: grid;
  gap: 8px;
  padding-top: 2px;
}
.detail-summary-block h2 { margin-bottom: 0; }
.detail-chip-row,
.detail-related-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.detail-chip-row span,
.detail-related-chip {
  min-height: 28px;
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  border: 1px solid rgba(var(--accent-rgb), 0.28);
  background: rgba(var(--accent-rgb), 0.08);
  color: var(--accent);
  padding: 0 10px;
  font-size: 0.74rem;
  font-weight: 600;
}
.detail-media-card {
  display: grid;
  gap: 12px;
}
.detail-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  min-height: 38px;
  padding: 4px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(215, 193, 167, 0.28);
}
.detail-tab {
  min-height: 30px;
  border-radius: 999px;
  background: transparent;
  color: var(--coffee);
  font-size: 0.86rem;
  font-weight: 600;
}
.detail-tab.is-active {
  background: var(--accent);
  color: var(--accent-contrast);
}
.detail-image {
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: var(--sand);
  cursor: pointer;
}
.detail-caption {
  margin: 0;
  font-size: 0.84rem;
  color: rgba(43, 38, 35, 0.75);
}
.color-note {
  margin: 0;
  font-size: 0.74rem;
  color: rgba(43, 38, 35, 0.58);
}
.detail-card h2 {
  margin: 0 0 10px;
  font-size: 1.08rem;
  font-weight: 650;
}
.detail-card h3 {
  margin: 0 0 6px;
  font-size: 0.9rem;
  font-weight: 650;
}
.detail-card p {
  margin: 0;
  font-size: 0.93rem;
}
.detail-save {
  width: 100%;
  min-height: 50px;
  margin-top: 14px;
  border-radius: 16px;
}
.saved-note {
  margin-top: 8px !important;
  color: var(--accent);
  font-size: 0.82rem !important;
}
.detail-two-col {
  display: grid;
  gap: 14px;
}
.combination-block + .combination-block { margin-top: 14px; }
.combination-block span {
  display: block;
  color: rgba(43, 38, 35, 0.62);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 4px;
}
.combination-block strong {
  color: var(--coffee);
  font-size: 1rem;
}
.detail-related-chip {
  min-height: 34px;
  padding: 0 12px;
  background: rgba(255, 255, 255, 0.72);
  color: var(--coffee);
  border-color: var(--line-strong);
  text-decoration: none;
}
.detail-related-chip:hover { border-color: rgba(var(--accent-rgb), 0.4); color: var(--accent); }

.sample-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 55;
  background: rgba(247, 243, 238, 0.98);
  border-top: 1px solid var(--line);
  padding-block: 10px calc(10px + env(safe-area-inset-bottom));
  backdrop-filter: blur(10px);
}
.sample-bar-inner { display: grid; }
.sample-bar-button { width: 100%; border-radius: 16px; }
.compare-sheet-backdrop {
  position: fixed;
  inset: 0;
  z-index: 90;
  background: rgba(43, 38, 35, 0.28);
  touch-action: none;
}
.compare-sheet {
  position: fixed;
  inset: auto 0 0 0;
  z-index: 95;
}
.compare-sheet-panel {
  position: relative;
  width: min(100%, 760px);
  max-height: min(86dvh, 760px);
  overflow: auto;
  overscroll-behavior: contain;
  margin-inline: auto;
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
  padding: 18px;
  background: var(--bone);
}
.compare-sheet-handle {
  width: 44px;
  height: 4px;
  border-radius: 999px;
  margin: 0 auto 12px;
  background: rgba(83, 60, 44, 0.22);
}
.compare-sheet-close {
  position: absolute;
  right: 18px;
  top: 16px;
  min-width: 76px;
  min-height: 38px;
  border-radius: 999px;
  border: 1px solid var(--accent);
  background: var(--accent);
  color: var(--accent-contrast);
  padding: 0 16px;
  font-size: 0.82rem;
  font-weight: 700;
  line-height: 1;
}
.compare-sheet-head h2 {
  margin: 0 92px 4px 0;
  font-size: 1.28rem;
}
.compare-sheet-head p { margin: 0; color: rgba(43, 38, 35, 0.72); }
.replace-prompt {
  margin-top: 14px;
  padding: 12px;
  border-radius: 14px;
  border: 1px solid rgba(var(--accent-rgb), 0.22);
  background: rgba(var(--accent-rgb), 0.08);
}
.replace-prompt p { margin: 4px 0 0; font-size: 0.86rem; }
.compare-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin-top: 16px;
}
.compare-card {
  position: relative;
  display: grid;
  gap: 6px;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.68);
}
.compare-card-swatch {
  aspect-ratio: 1 / 1;
  border-radius: 10px;
  overflow: hidden;
}
.compare-card-swatch img { height: 100%; object-fit: cover; }
.compare-card-family {
  color: rgba(43, 38, 35, 0.62);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.compare-card-name {
  color: var(--coffee);
  font-size: 0.8rem;
  line-height: 1.15;
}
.compare-matrix {
  display: grid;
  gap: 10px;
  margin-top: 16px;
}
.compare-row {
  display: grid;
  gap: 6px;
}
.compare-label {
  color: var(--coffee);
  font-size: 0.78rem;
  font-weight: 700;
}
.compare-values {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}
.compare-pill {
  min-height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid var(--line);
  font-size: 0.74rem;
  text-align: center;
}
.compare-pill-empty { color: rgba(43, 38, 35, 0.38); }
.compare-sheet-actions {
  display: grid;
  margin-top: 18px;
}

@media (min-width: 720px) {
  .shell { padding-inline: 40px; }
  .segment-choice-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .decision-copy h1 { font-size: clamp(2.5rem, 6vw, 4.2rem); }
  .intent-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .free-explore-card { justify-items: center; }
  .free-explore-card .button { width: min(100%, 280px); }
  .direct-search-card { grid-template-columns: 1fr auto; align-items: end; }
  .direct-search-card label { grid-column: 1 / -1; }
  .swatch-view-link {
    width: 100%;
    min-height: 44px;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    background: var(--accent);
    color: var(--accent-contrast);
    font-size: 0.9rem;
  }
  .advice-section { padding-block: 56px 48px; }
  .advice-card {
    padding: 44px 48px;
    border-radius: 26px;
    justify-items: center;
    text-align: center;
  }
  .advice-button { width: auto; min-width: 320px; }
  .advice-desktop-label { display: inline; }
  .advice-mobile-label { display: none; }
  .catalog-toolbar { margin-inline: 0; border: 1px solid var(--line); border-radius: 22px; padding: 16px; }
  .catalog-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
  .swatch-copy { padding: 14px; }
  .detail-shell { max-width: 860px; }
  .detail-two-col { grid-template-columns: 1fr 1fr; }
  .detail-hero-card h1 { font-size: 1.8rem; }
}


.maintenance-chip {
  min-height: 28px;
  display: inline-flex;
  align-items: center;
  width: fit-content;
  border-radius: 999px;
  padding: 0 11px;
  font-size: 0.76rem;
  font-weight: 700;
}
.maintenance-facil {
  background: rgba(157, 174, 141, 0.26);
  color: #294434;
}
.maintenance-regular {
  background: rgba(215, 193, 167, 0.48);
  color: #6f5038;
}
.maintenance-delicado {
  background: rgba(165, 97, 80, 0.14);
  color: #7a3f35;
}
.maintenance-description { margin-top: 10px !important; }

.quick-sheet-backdrop {
  position: fixed;
  inset: 0;
  z-index: 80;
  background: rgba(43, 38, 35, 0.34);
  touch-action: none;
}
.quick-sheet {
  position: fixed;
  inset: auto 0 0 0;
  z-index: 85;
}
.quick-sheet-panel {
  width: min(100%, 760px);
  height: min(78dvh, 720px);
  max-height: 78dvh;
  overflow: auto;
  overscroll-behavior: contain;
  margin-inline: auto;
  display: grid;
  gap: 14px;
  padding: 18px 18px calc(18px + env(safe-area-inset-bottom));
  border-radius: 24px 24px 0 0;
  background: var(--bone);
  border: 1px solid var(--line);
  border-bottom: 0;
  box-shadow: 0 -16px 44px rgba(43, 38, 35, 0.16);
}
.quick-sheet-head {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: start;
  gap: 14px;
}
.quick-sheet-head h2 {
  margin: 0 0 4px;
  font-size: 1.18rem;
  font-weight: 700;
}
.quick-sheet-head p {
  margin: 0;
  color: rgba(43, 38, 35, 0.72);
  font-size: 0.84rem;
}
.quick-sheet-close {
  min-width: 76px;
  height: 38px;
  border-radius: 999px;
  background: var(--accent);
  color: var(--accent-contrast);
  padding: 0 16px;
  font-size: 0.82rem;
  font-weight: 700;
  line-height: 1;
}
.quick-chip-row { margin-top: -6px; }
.quick-tabs { margin-top: 2px; }
.quick-image {
  aspect-ratio: 1 / 1;
  width: 100%;
  max-height: min(42dvh, 420px);
  object-fit: cover;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: var(--sand);
  cursor: pointer;
}
.quick-section,
.quick-facts {
  display: grid;
  gap: 10px;
}
.quick-section h3,
.quick-facts h3 {
  margin: 0 0 4px;
  color: var(--coffee);
  font-size: 0.9rem;
  font-weight: 700;
}
.quick-section p,
.quick-facts p {
  margin: 0;
  font-size: 0.9rem;
}
.quick-facts {
  padding-top: 2px;
}
.quick-actions {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  padding-top: 2px;
}
.quick-actions .detail-save { margin-top: 0; }

@media (min-width: 720px) {
  .quick-actions { grid-template-columns: 1fr 1fr; }
  .quick-actions .saved-note { grid-column: 1 / -1; }
}

.detail-related-subtitle {
  margin: -4px 0 12px !important;
  color: rgba(43, 38, 35, 0.68);
  font-size: 0.84rem !important;
}
.detail-related-row {
  flex-wrap: nowrap;
  overflow-x: auto;
  padding: 2px 2px 8px;
  margin-inline: -2px;
  scrollbar-width: none;
}
.detail-related-row::-webkit-scrollbar { display: none; }
.detail-related-card {
  flex: 0 0 92px;
  width: 92px;
  display: grid;
  gap: 6px;
  align-content: start;
  padding: 8px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.72);
  text-align: left;
  transition: border-color 0.18s ease, transform 0.18s ease;
}
.detail-related-card:hover {
  transform: translateY(-1px);
  border-color: rgba(var(--accent-rgb), 0.42);
}
.detail-related-card img,
.related-placeholder {
  width: 64px;
  height: 64px;
  border-radius: 11px;
  object-fit: cover;
  background: var(--sand);
  border: 1px solid var(--line);
}
.detail-related-card span {
  color: rgba(43, 38, 35, 0.62);
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.detail-related-card strong {
  color: var(--coffee);
  font-size: 0.76rem;
  line-height: 1.15;
  font-weight: 650;
}
.detail-related-card em {
  color: var(--accent);
  font-style: normal;
}
.detail-related-card.is-static { cursor: default; }

.compare-view {
  display: grid;
  gap: 8px;
  margin-top: 14px;
}
.compare-view > span {
  color: var(--coffee);
  font-size: 0.78rem;
  font-weight: 700;
}
.compare-view-tabs {
  width: min(100%, 320px);
}
.compare-view-help {
  margin: 0;
  color: rgba(43, 38, 35, 0.66);
  font-size: 0.78rem;
}
.compare-pill-maintenance,
.compare-pill-level {
  background: rgba(255, 255, 255, 0.64);
}
.compare-pill-maintenance .maintenance-chip { margin-inline: auto; }
.level-chip {
  min-height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 0 10px;
  background: rgba(var(--accent-rgb), 0.09);
  color: var(--accent);
  font-size: 0.72rem;
  font-weight: 700;
}
.compare-pill-text {
  min-height: 34px;
  align-items: flex-start;
  justify-content: flex-start;
  text-align: left;
  line-height: 1.25;
}

.fabric-finish-block {
  display: grid;
  gap: 4px;
  padding-top: 2px;
}
.fabric-finish-block h2 {
  margin: 0;
  color: var(--coffee);
  font-size: 0.82rem;
  font-weight: 650;
}
.fabric-finish-block p {
  margin: 0;
  color: rgba(43, 38, 35, 0.82);
  font-size: 0.88rem;
  line-height: 1.55;
}
.quick-sheet-head .quick-finish {
  margin-top: 4px;
  color: rgba(83, 60, 44, 0.78);
  font-size: 0.8rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.quick-continue {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: rgba(83, 60, 44, 0.78);
  font-size: 0.92rem;
  font-weight: 650;
}

@media (min-width: 720px) {
  .quick-actions .quick-continue { grid-column: 1 / -1; }
}

html {
  overflow-x: clip;
}
body {
  width: 100%;
  max-width: 100%;
  overflow-x: clip;
  overscroll-behavior-x: none;
}
@supports not (overflow: clip) {
  html { overflow-x: hidden; }
}
main,
.catalog-app,
.segment-gate,
.decision-screen,
.catalog-section,
.advice-section,
.site-footer {
  max-width: 100%;
}

.quick-sheet,
.compare-sheet {
  overflow-x: clip;
}

.quick-sheet-panel,
.compare-sheet-panel {
  width: min(calc(100vw - 16px), 760px);
  max-width: calc(100vw - 16px);
  overflow-x: clip;
}

.quick-sheet-panel > *,
.compare-sheet-panel > *,
.quick-sheet-head > div {
  min-width: 0;
}
.quick-sheet-head .quick-finish,
.detail-finish {
  max-width: 100%;
  white-space: normal;
  overflow-wrap: break-word;
}
.sample-bar-button {
  min-width: 0;
  white-space: normal;
  text-align: center;
  line-height: 1.2;
}

.detail-finish {
  margin: -4px 0 0;
  color: rgba(83, 60, 44, 0.78);
  font-size: 0.84rem;
  font-weight: 500;
}

.saved-note {
  white-space: pre-line;
}

.sample-bar-button:disabled {
  cursor: default;
  opacity: 0.88;
}
.sample-bar-button.is-ready {
  opacity: 1;
}
.sample-bar-button.is-pulsing {
  animation: samplePulse 0.9s ease;
}

@keyframes samplePulse {
  0% { transform: scale(1); box-shadow: 0 0 0 rgba(var(--accent-rgb), 0); }
  35% { transform: scale(1.015); box-shadow: 0 0 0 7px rgba(var(--accent-rgb), 0.12); }
  100% { transform: scale(1); box-shadow: 0 0 0 rgba(var(--accent-rgb), 0); }
}

.advice-quiz {
  width: 100%;
  max-width: 720px;
  margin: 18px auto 0;
  opacity: 0;
  transform: translateY(-8px);
  transition: opacity 0.2s ease, transform 0.2s ease;
}
.advice-quiz.is-open {
  opacity: 1;
  transform: translateY(0);
}
.quiz-panel {
  display: grid;
  gap: 18px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(255, 250, 244, 0.92);
  box-shadow: 0 8px 22px rgba(43, 38, 35, 0.05);
  animation: quizSlide 0.22s ease;
}
.quiz-head {
  display: grid;
  gap: 7px;
}
.quiz-head h3 {
  margin: 0;
  font-size: 1.1rem;
}
.quiz-head span {
  color: rgba(43, 38, 35, 0.68);
  font-size: 0.82rem;
  font-weight: 600;
}
.quiz-progress {
  height: 8px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(83, 60, 44, 0.12);
}
.quiz-progress i {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: var(--accent);
  transition: width 0.22s ease;
}
.quiz-question h4 {
  margin: 0 0 12px;
  color: var(--coffee);
  font-size: 1.05rem;
}
.quiz-options {
  display: grid;
  gap: 8px;
}
.quiz-option {
  min-height: 50px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 10px;
  padding: 0 14px;
  border: 1px solid var(--line-strong);
  border-radius: 15px;
  background: rgba(255, 255, 255, 0.72);
  color: var(--graphite);
  font-size: 0.92rem;
  font-weight: 500;
  text-align: left;
}
.quiz-option.is-selected {
  border-color: var(--accent);
  background: rgba(var(--accent-rgb), 0.09);
  color: var(--coffee);
}
.quiz-option b {
  color: var(--accent);
  font-size: 0.92rem;
}
.quiz-actions {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 12px;
  align-items: center;
}
.quiz-light-action {
  min-height: 48px;
  color: rgba(83, 60, 44, 0.78);
  font-size: 0.9rem;
  font-weight: 650;
}
.quiz-actions .button {
  min-height: 50px;
}
.quiz-actions .button:disabled {
  opacity: 0.42;
  cursor: not-allowed;
}

@keyframes quizSlide {
  from { opacity: 0; transform: translateX(12px); }
  to { opacity: 1; transform: translateX(0); }
}

@media (min-width: 720px) {
  .quiz-panel { padding: 30px; }
}
.quiz-panel {
  text-align: left;
}

.compare-mode-control {
  display: grid;
  gap: 8px;
  margin-top: 14px;
}
.compare-mode-control > span {
  color: var(--coffee);
  font-size: 0.78rem;
  font-weight: 700;
}
.compare-mode-tabs,
.compare-view-tabs,
.compare-detail-tabs {
  width: min(100%, 360px);
}
.compare-main-view,
.compare-detail-view {
  min-width: 0;
}
.compare-card-open {
  display: grid;
  gap: 6px;
  min-width: 0;
  text-align: left;
}
.compare-card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 12px;
  align-items: center;
  justify-content: space-between;
  margin-top: 2px;
}
.compare-card-actions .text-action {
  font-size: 0.72rem;
  font-weight: 700;
}
.compare-photo-carousel {
  display: grid;
  gap: 12px;
  margin-top: 16px;
  max-width: 100%;
  overflow: hidden;
}
.compare-photo-track {
  display: flex;
  gap: 14px;
  max-width: 100%;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  padding: 2px 2px 10px;
  scrollbar-width: none;
}
.compare-photo-track::-webkit-scrollbar { display: none; }
.compare-photo-card {
  flex: 0 0 min(84%, 420px);
  scroll-snap-align: start;
  display: grid;
  gap: 8px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.72);
}
.compare-photo-card img {
  aspect-ratio: 1 / 1;
  width: 100%;
  object-fit: cover;
  border-radius: 14px;
  border: 1px solid var(--line);
}
.compare-photo-card strong {
  color: var(--coffee);
  font-size: 0.98rem;
  line-height: 1.2;
}
.compare-photo-card span,
.compare-photo-card p,
.compare-photo-card small {
  margin: 0;
  color: rgba(43, 38, 35, 0.72);
  font-size: 0.8rem;
}
.compare-photo-card small { font-weight: 700; }
.compare-photo-dots {
  display: flex;
  justify-content: center;
  gap: 6px;
}
.compare-photo-dots span {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: rgba(83, 60, 44, 0.24);
}
.compare-photo-dots span.is-active { background: var(--accent); }
.compare-full-link {
  justify-self: center;
}
.compare-sheet-actions {
  gap: 10px;
  justify-items: center;
}
.compare-sheet-actions .button {
  width: 100%;
}
.compare-link-action {
  min-height: 38px;
  color: rgba(83, 60, 44, 0.78);
  font-size: 0.9rem;
  font-weight: 700;
}
.compare-clear-prompt {
  display: grid;
  gap: 10px;
  margin-top: 14px;
  padding: 12px;
  border: 1px solid rgba(var(--accent-rgb), 0.18);
  border-radius: 14px;
  background: rgba(var(--accent-rgb), 0.07);
}
.compare-clear-prompt p {
  margin: 0;
  color: var(--coffee);
  font-size: 0.88rem;
  font-weight: 650;
}
.compare-clear-prompt div {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}
.compare-detail-top {
  display: flex;
  justify-content: flex-start;
  padding-right: 92px;
}
.compare-detail-back {
  min-height: 40px;
  color: var(--coffee);
  font-size: 0.92rem;
  font-weight: 700;
}
.compare-detail-card {
  display: grid;
  gap: 13px;
  margin-top: 8px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.72);
}
.compare-detail-card h2,
.compare-detail-card h3,
.compare-detail-card p { margin: 0; }
.compare-detail-card h2 {
  color: var(--coffee);
  font-size: 1.15rem;
  line-height: 1.18;
}
.compare-detail-card h3 {
  color: var(--coffee);
  font-size: 0.9rem;
}
.compare-detail-card p {
  font-size: 0.88rem;
}
.compare-detail-card section {
  display: grid;
  gap: 7px;
}
.compare-detail-image {
  aspect-ratio: 1 / 1;
  width: 100%;
  object-fit: cover;
  border-radius: 16px;
  border: 1px solid var(--line);
}

@media (min-width: 720px) {
  .compare-sheet-actions .button { width: min(100%, 420px); }
  .compare-photo-card { flex-basis: min(58%, 460px); }
}
.compare-card-swatch { display: block; }

.filter-chip-helper {
  margin: 0 0 8px;
  color: rgba(43, 38, 35, 0.7);
  font-size: 0.78rem;
  line-height: 1.35;
  animation: filterHelperFade 1.2s ease both;
}
.filter-chip-strip.is-intro .filter-chip {
  animation: filterChipIntro 0.28s ease both;
}
.filter-chip-strip.is-intro .filter-chip:nth-child(2) { animation-delay: 0.04s; }
.filter-chip-strip.is-intro .filter-chip:nth-child(3) { animation-delay: 0.08s; }
.filter-chip-strip.is-intro .filter-chip:nth-child(4) { animation-delay: 0.12s; }
.filter-chip.is-guided {
  box-shadow: 0 0 0 5px rgba(var(--accent-rgb), 0.12);
}
@keyframes filterChipIntro {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes filterHelperFade {
  0% { opacity: 0; transform: translateY(4px); }
  18% { opacity: 1; transform: translateY(0); }
  82% { opacity: 1; transform: translateY(0); }
  100% { opacity: 0; transform: translateY(-2px); }
}
.compare-clear-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
}
.compare-clear-action svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.compare-photo-card {
  cursor: pointer;
}
.quick-image,
.detail-image,
.compare-detail-image {
  touch-action: pan-y;
  user-select: none;
}

.quiz-result-panel {
  gap: 20px;
}
.quiz-result {
  display: grid;
  gap: 14px;
}
.quiz-result h4 {
  margin: 0;
  color: var(--coffee);
  font-size: 1.05rem;
  line-height: 1.28;
}
.quiz-recommendations {
  display: grid;
  gap: 10px;
}
.quiz-recommendation {
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.74);
}
.quiz-recommendation strong {
  display: block;
  margin-bottom: 5px;
  color: var(--coffee);
  font-size: 0.96rem;
}
.quiz-recommendation p {
  margin: 0;
  color: var(--graphite);
  font-size: 0.9rem;
  line-height: 1.45;
}
.quiz-whatsapp-button {
  min-height: 52px;
  margin-top: 2px;
}
.quiz-microcopy {
  margin: 0;
  color: rgba(43, 38, 35, 0.66);
  font-size: 0.82rem;
  line-height: 1.45;
}

.quiz-criteria {
  display: grid;
  gap: 8px;
}
.quiz-criteria p {
  margin: 0;
  color: rgba(43, 38, 35, 0.7);
  font-size: 0.82rem;
  font-weight: 600;
}
.quiz-criteria div {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}
.quiz-criteria span {
  min-height: 27px;
  display: inline-flex;
  align-items: center;
  padding: 0 10px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: rgba(215, 193, 167, 0.22);
  color: rgba(43, 38, 35, 0.78);
  font-size: 0.72rem;
  font-weight: 650;
}
.quiz-recommendation-card {
  display: grid;
  grid-template-columns: minmax(112px, 38%) minmax(0, 1fr);
  gap: 12px;
  align-items: stretch;
  overflow: hidden;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.76);
}
.quiz-recommendation-media {
  position: relative;
  min-width: 0;
}
.quiz-recommendation-applied {
  width: 100%;
  height: 100%;
  min-height: 148px;
  object-fit: cover;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--bone);
}
.quiz-recommendation-texture {
  position: absolute;
  left: 8px;
  bottom: 8px;
  width: 54px;
  height: 54px;
  object-fit: cover;
  border: 2px solid rgba(255, 250, 244, 0.94);
  border-radius: 12px;
  box-shadow: 0 6px 14px rgba(43, 38, 35, 0.16);
}
.quiz-recommendation-body {
  min-width: 0;
  display: grid;
  align-content: center;
  gap: 6px;
  padding: 4px 2px;
}
.quiz-role-chip {
  width: fit-content;
  max-width: 100%;
  min-height: 26px;
  display: inline-flex;
  align-items: center;
  padding: 0 9px;
  border-radius: 999px;
  background: rgba(var(--accent-rgb), 0.1);
  color: var(--accent);
  font-size: 0.7rem;
  font-weight: 800;
}
.quiz-recommendation-body strong {
  color: var(--coffee);
  font-size: 0.98rem;
  line-height: 1.18;
}
.quiz-recommendation-body small {
  color: rgba(43, 38, 35, 0.68);
  font-size: 0.74rem;
  font-weight: 700;
  line-height: 1.25;
}
.quiz-recommendation-body p {
  margin: 0;
  color: var(--graphite);
  font-size: 0.82rem;
  line-height: 1.4;
}
.quiz-view-fabric {
  justify-self: start;
  min-height: 36px;
  color: var(--accent);
  font-size: 0.84rem;
  font-weight: 800;
}

@media (max-width: 480px) {
  .quiz-recommendation-card {
    grid-template-columns: 108px minmax(0, 1fr);
    gap: 10px;
    padding: 9px;
  }
  .quiz-recommendation-applied { min-height: 156px; }
  .quiz-recommendation-texture { width: 48px; height: 48px; }
  .quiz-recommendation-body p { font-size: 0.79rem; }
}

@media (min-width: 780px) {
  .quiz-recommendation-card {
    grid-template-columns: 220px minmax(0, 1fr);
  }
  .quiz-recommendation-applied { min-height: 214px; }
  .quiz-recommendation-texture { width: 64px; height: 64px; }
}
