/* Explicit browser defaults; components below own their layout and appearance. */
*,
*::before,
*::after {
  box-sizing: border-box;
  border-width: 0;
  border-style: solid;
}
html {
  line-height: 1.5;
  -webkit-text-size-adjust: 100%;
  tab-size: 4;
}
body,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
figure,
dl,
dd,
ol,
ul {
  margin: 0;
}
h1,
h2,
h3,
h4,
h5,
h6 {
  font-size: inherit;
  font-weight: 700;
}
a {
  color: inherit;
  text-decoration: none;
}
b,
strong {
  font-weight: bolder;
}
ol,
ul {
  list-style: none;
  padding: 0;
}
fieldset {
  min-width: 0;
  margin: 0;
  padding: 0;
}
legend {
  padding: 0;
}
button,
input,
optgroup,
select,
textarea {
  font: inherit;
  letter-spacing: inherit;
  color: inherit;
  margin: 0;
  padding: 0;
}
button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
  -webkit-appearance: button;
  background: transparent;
  cursor: pointer;
}
button:disabled,
input:disabled,
select:disabled,
textarea:disabled {
  cursor: default;
}
input::placeholder,
textarea::placeholder {
  color: var(--muted);
  opacity: 1;
}
textarea {
  resize: vertical;
}
img,
svg,
video,
canvas {
  display: block;
  vertical-align: middle;
}
img,
video {
  max-width: 100%;
  height: auto;
}
table {
  text-indent: 0;
  border-collapse: collapse;
  border-color: inherit;
}
summary {
  display: list-item;
}
progress {
  vertical-align: baseline;
}
hr {
  height: 0;
  border-top-width: 1px;
  color: inherit;
}

/* Production components. Source palette: docs/ai/design/pliegue.tokens.json. */
/* Exact light values from docs/ai/design/pliegue.tokens.json. */
:root {
  --plum: #422034;
  --coral: #ff6b50;
  --coral-ink: #b83e2a;
  --page: #fff6ee;
  --card: #ffffff;
  --selected: #f5e9ee;
  --text: #2c2329;
  --muted: #6f6068;
  --border: #e4d7de;
  --control: #9b8b94;
  --success: #187451;
  --success-bg: #eaf6ef;
  --error: #b33442;
  --error-bg: #fff0f1;
  --warning: #8a5800;
  --warning-bg: #fff4d6;
  --info: #285ea8;
  --info-bg: #edf4ff;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background: var(--page);
  color: var(--text);
  font:
    16px/1.55 Inter,
    ui-sans-serif,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
}
button,
input,
select {
  font: inherit;
}
button,
a {
  -webkit-tap-highlight-color: transparent;
}
a {
  color: var(--coral-ink);
}
a:hover {
  text-decoration-color: var(--coral);
}
:focus-visible {
  outline: 3px solid var(--plum);
  outline-offset: 3px;
}
img,
svg {
  max-width: 100%;
}
h1,
h2,
h3,
p {
  margin-top: 0;
}
h1,
h2,
h3 {
  color: var(--plum);
  line-height: 1.15;
  letter-spacing: -0.035em;
}
h1 {
  font-size: clamp(2.35rem, 4.2vw, 4.25rem);
}
h2 {
  font-size: clamp(1.75rem, 2.5vw, 2.6rem);
}
h3 {
  font-size: 1.08rem;
}
p {
  margin-bottom: 0;
}
.wrap {
  width: min(1200px, calc(100% - 48px));
  margin-inline: auto;
}
.skip-link {
  position: absolute;
  top: -100px;
  left: 12px;
  background: var(--plum);
  color: #fff;
  padding: 10px;
  z-index: 100;
}
.skip-link:focus {
  top: 10px;
}
.eyebrow {
  font-size: 0.73rem;
  font-weight: 800;
  letter-spacing: 0.17em;
  color: var(--coral-ink);
  margin-bottom: 12px;
}
.muted {
  color: var(--muted);
}
.site-header {
  background: var(--card);
  border-bottom: 1px solid var(--border);
  position: relative;
  z-index: 20;
}
.header-main {
  display: grid;
  grid-template-columns: 240px minmax(220px, 1fr) auto;
  align-items: center;
  gap: 30px;
  min-height: 92px;
}
.logo {
  display: block;
  width: 214px;
}
.logo img {
  display: block;
  width: 100%;
  height: auto;
}
.site-search {
  display: flex;
  position: relative;
  align-items: center;
  gap: 4px;
  width: 100%;
  max-width: none;
  min-width: 0;
  padding: 4px;
  border: 1px solid var(--control);
  border-radius: 10px;
  background: var(--card);
}
.site-search-category {
  flex: 0 1 210px;
  width: 30%;
  min-width: 0;
  max-width: 40%;
  height: 44px;
  position: relative;
  border-radius: 6px;
  background: var(--selected);
}
.site-search-category::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 14px;
  width: 7px;
  height: 7px;
  margin-top: -5px;
  border-right: 2px solid var(--plum);
  border-bottom: 2px solid var(--plum);
  transform: rotate(45deg);
  pointer-events: none;
}
.site-search select {
  appearance: none;
  width: 100%;
  max-width: none;
  height: 44px;
  border: 0;
  border-radius: 6px;
  padding: 0 36px 0 12px;
  background: transparent;
  color: var(--plum);
  font: inherit;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
}
.site-search select option {
  background: var(--card);
  color: var(--text);
}
.site-search input[type="search"] {
  flex: 1;
  min-width: 0;
  width: 0;
  height: 44px;
  border: 0;
  border-radius: 6px;
  background: var(--card);
  padding: 0 8px;
  color: var(--text);
}
.site-search button {
  flex: 0 0 44px;
  border: 0;
  background: var(--plum);
  color: #fff;
  width: 44px;
  height: 44px;
  border-radius: 7px;
  cursor: pointer;
  font-size: 19px;
}
.header-utility {
  display: flex;
  align-items: center;
  gap: 18px;
}
.header-utility a,
.header-utility .sign-out-button {
  font-size: 0.9rem;
  font-weight: 700;
  text-decoration: none;
  color: var(--plum);
}
.header-utility a:hover,
.main-nav a:hover {
  color: var(--coral-ink);
}
.main-nav {
  border-top: 1px solid var(--border);
}
.nav-inner {
  display: flex;
  gap: 29px;
  align-items: center;
  min-height: 46px;
}
.main-nav a {
  font-size: 0.86rem;
  font-weight: 700;
  text-decoration: none;
  color: var(--plum);
  white-space: nowrap;
}
.header-note {
  font-size: 0.75rem;
  color: var(--muted);
  background: var(--page);
  text-align: center;
  border-bottom: 1px solid var(--border);
  padding: 7px 16px;
}
.mobile-category-menu {
  display: none;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 44px;
  padding: 10px 18px;
  border-radius: 9px;
  font-weight: 750;
  font-size: 0.91rem;
  text-decoration: none;
  cursor: pointer;
  border: 1.5px solid var(--plum);
  transition:
    transform 0.16s,
    background 0.16s,
    box-shadow 0.16s;
}
.button:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 14px #4220341a;
}
.button.primary {
  background: var(--plum);
  color: #fff;
}
.button.primary:hover {
  background: #5b2b48;
}
.button.secondary {
  background: var(--card);
  color: var(--plum);
}
.button.secondary:hover,
.button.ghost:hover {
  background: var(--selected);
}
.button.ghost {
  background: transparent;
  color: var(--plum);
  border-color: var(--border);
}
.button.full {
  width: 100%;
}
.text-link {
  font-weight: 800;
  text-decoration: none;
  border-bottom: 1px solid currentColor;
  padding-bottom: 2px;
}
.text-link:hover {
  color: var(--plum);
}
.section {
  padding-block: 65px;
}
.section.tight {
  padding-top: 36px;
}
.section-title {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 26px;
}
.section-title h2 {
  margin-bottom: 0;
}
.section-title > p {
  color: var(--muted);
  font-size: 0.92rem;
  padding-bottom: 4px;
}
.section-note {
  color: var(--muted);
  font-size: 0.86rem;
  margin: -12px 0 22px;
}
.intro {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(360px, 0.92fr);
  align-items: center;
  gap: clamp(28px, 5vw, 68px);
  padding-block: 24px 0;
}
.intro h1 {
  max-width: 680px;
  margin-bottom: 17px;
}
.intro h1 em {
  font-style: normal;
  color: var(--coral-ink);
}
.lead {
  font-size: 1.06rem;
  line-height: 1.7;
  color: var(--muted);
  max-width: 590px;
}
.intro-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 24px;
}
.decision-guide {
  background: var(--selected);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 22px 24px;
}
.decision-guide .eyebrow {
  margin-bottom: 5px;
}
.decision-guide h2 {
  font-size: 1.42rem;
  letter-spacing: -0.025em;
  margin-bottom: 14px;
}
.decision-steps {
  list-style: none;
  counter-reset: decision;
  display: grid;
  gap: 7px;
  margin: 0;
  padding: 0;
}
.decision-steps li {
  counter-increment: decision;
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 10px 12px;
}
.decision-steps li::before {
  content: counter(decision, decimal-leading-zero);
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  background: var(--plum);
  color: var(--card);
  border-radius: 8px;
  font-size: 0.69rem;
  font-weight: 800;
  letter-spacing: 0.04em;
}
.decision-steps h3 {
  font-size: 0.94rem;
  letter-spacing: 0;
  margin: 0 0 2px;
}
.decision-steps p {
  font-size: 0.78rem;
  color: var(--muted);
  line-height: 1.4;
}
.area-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
}
.area-card {
  min-height: 156px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 19px;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition:
    transform 0.16s,
    box-shadow 0.16s;
}
.area-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 9px 20px #42203416;
}
.area-icon {
  width: 39px;
  height: 39px;
  background: var(--selected);
  color: var(--plum);
  border-radius: 10px;
  display: grid;
  place-items: center;
  font-size: 1.7rem;
  line-height: 1;
}
.area-card strong {
  color: var(--plum);
  line-height: 1.2;
}
.area-card span:last-child {
  font-size: 0.75rem;
  color: var(--coral-ink);
  font-weight: 800;
}
.white-band {
  background: #fff;
  border-block: 1px solid var(--border);
}
.product-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 17px;
}
.home-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.product-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 13px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition:
    transform 0.16s,
    box-shadow 0.16s;
}
.product-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 9px 24px #42203418;
}
.product-card a.card-main {
  display: block;
  color: inherit;
  text-decoration: none;
  flex: 1;
}
.product-visual {
  height: 190px;
  background: #f7f2f2;
  display: grid;
  place-items: center;
  position: relative;
  overflow: hidden;
}
.visual-note {
  position: absolute;
  bottom: 7px;
  left: 10px;
  font-size: 0.62rem;
  color: var(--muted);
  background: #ffffffd9;
  padding: 2px 5px;
  border-radius: 3px;
}
.device-phone {
  width: 79px;
  height: 145px;
  border-radius: 16px;
  border: 5px solid #273345;
  background: linear-gradient(145deg, var(--device-light), var(--device-dark));
  box-shadow: 10px 11px 12px #42203424;
  position: relative;
  transform: rotate(-7deg);
}
.device-phone:before {
  content: "";
  position: absolute;
  top: 10px;
  left: 9px;
  width: 25px;
  height: 30px;
  border-radius: 9px;
  background: #273345;
  box-shadow: inset 0 0 0 4px #53647a;
}
.device-phone:after {
  content: "";
  position: absolute;
  top: 15px;
  left: 14px;
  width: 7px;
  height: 7px;
  border: 2px solid #9aa9b7;
  border-radius: 50%;
  box-shadow: 8px 11px 0 -1px #9aa9b7;
}
.device-tablet {
  width: 139px;
  height: 108px;
  border: 7px solid #28313d;
  border-radius: 11px;
  background: linear-gradient(135deg, var(--device-light), var(--device-dark));
  box-shadow: 10px 11px 12px #42203424;
  transform: rotate(-7deg);
}
.device-watch {
  width: 77px;
  height: 93px;
  border: 8px solid #273345;
  border-radius: 25px;
  background: linear-gradient(135deg, var(--device-light), var(--device-dark));
  box-shadow:
    0 -43px 0 -21px #50515d,
    0 43px 0 -21px #50515d,
    10px 10px 12px #42203424;
  transform: rotate(-7deg);
}
.device-laptop {
  width: 142px;
  height: 88px;
  border: 6px solid #28313d;
  border-radius: 7px;
  background: linear-gradient(135deg, var(--device-light), var(--device-dark));
  box-shadow: 10px 11px 12px #42203424;
  position: relative;
}
.device-laptop:after {
  content: "";
  position: absolute;
  left: -18px;
  bottom: -14px;
  width: 166px;
  height: 10px;
  background: #777983;
  border-radius: 2px 2px 9px 9px;
}
.device-component {
  width: 100px;
  height: 100px;
  border-radius: 14px;
  border: 10px solid #425460;
  background: linear-gradient(135deg, var(--device-light), var(--device-dark));
  box-shadow: 10px 11px 12px #42203424;
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 2rem;
  font-weight: 800;
}
.product-card-body {
  padding: 15px 17px 17px;
}
.product-card .brand {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.13em;
  color: var(--muted);
  font-weight: 800;
  margin-bottom: 6px;
}
.product-card h3 {
  font-size: 1rem;
  line-height: 1.34;
  margin-bottom: 2px;
  min-height: 43px;
}
.variant {
  font-size: 0.78rem;
  color: var(--muted);
}
.card-bottom {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 8px;
  margin-top: 15px;
}
.starting {
  font-size: 0.73rem;
  color: var(--muted);
}
.price {
  font-size: 1.46rem;
  font-weight: 850;
  color: var(--plum);
  line-height: 1.1;
  white-space: nowrap;
}
.shops {
  font-size: 0.73rem;
  color: var(--muted);
  margin-top: 6px;
}
.change {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  border-radius: 5px;
  padding: 4px 6px;
  font-size: 0.7rem;
  font-weight: 800;
  white-space: nowrap;
}
.change.down {
  color: var(--success);
  background: var(--success-bg);
}
.change.up {
  color: var(--error);
  background: var(--error-bg);
}
.change.flat {
  color: var(--muted);
  background: var(--selected);
}
.card-detail {
  border-top: 1px solid var(--border);
  padding: 10px 17px;
  font-size: 0.79rem;
  color: var(--coral-ink);
  font-weight: 800;
  text-decoration: none;
}
.card-detail:hover {
  background: var(--selected);
}
.guide-panel {
  background: var(--selected);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 38px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 55px;
}
.guide-panel p:not(.eyebrow) {
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: 23px;
}
.guide-steps {
  display: grid;
  gap: 12px;
}
.guide-steps > div {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 11px;
  padding: 14px 17px;
  display: grid;
  grid-template-columns: 34px 1fr;
  column-gap: 12px;
}
.guide-steps span {
  grid-row: span 2;
  color: var(--coral-ink);
  font-size: 0.82rem;
  font-weight: 850;
}
.guide-steps strong {
  color: var(--plum);
}
.guide-steps small {
  color: var(--muted);
  font-size: 0.79rem;
}
.alerts-strip {
  display: grid;
  grid-template-columns: 76px 1fr auto;
  align-items: center;
  gap: 24px;
  border-top: 1px solid var(--border);
}
.alerts-strip h2 {
  margin-bottom: 9px;
}
.alerts-strip p:last-child {
  color: var(--muted);
  max-width: 630px;
}
.alert-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--coral);
  color: var(--plum);
  font-size: 2rem;
}
.site-footer {
  background: var(--plum);
  color: #f8eff4;
  margin-top: 40px;
  padding: 42px 0 22px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 36px;
}
.footer-logo {
  width: 195px;
  display: block;
  margin-bottom: 16px;
}
.footer-grid p {
  font-size: 0.83rem;
  max-width: 320px;
  color: #e8d9e2;
}
.footer-grid h2 {
  font-size: 0.78rem;
  color: #fff;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  margin-bottom: 13px;
}
.footer-grid a {
  display: block;
  color: #f8eff4;
  text-decoration: none;
  font-size: 0.84rem;
  padding: 3px 0;
}
.footer-grid a:hover {
  text-decoration: underline;
}
.footer-bottom {
  border-top: 1px solid #79566c;
  margin-top: 26px;
  padding-top: 16px;
  font-size: 0.73rem;
  color: #ebdce5;
  display: flex;
  justify-content: space-between;
  gap: 20px;
}
.breadcrumbs {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 9px;
  color: var(--muted);
  font-size: 0.8rem;
  padding-top: 25px;
}
.breadcrumbs a {
  color: var(--coral-ink);
  text-decoration: none;
}
.breadcrumbs a:hover {
  text-decoration: underline;
}
.category-main,
.product-main {
  min-height: 65vh;
}
.category-heading {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 18px;
  margin: 31px 0 31px;
}
.category-heading h1 {
  margin-bottom: 9px;
}
.category-heading p:last-child {
  color: var(--muted);
}
.count-pill {
  background: var(--selected);
  border-radius: 40px;
  padding: 8px 13px;
  color: var(--plum);
  font-size: 0.78rem;
  font-weight: 800;
  white-space: nowrap;
}
.catalog-layout {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  gap: 32px;
}
.filters {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 13px;
  padding: 20px;
  align-self: start;
}
.filters-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.filters h2 {
  font-size: 1.17rem;
  margin: 0 0 19px;
}
.filters fieldset {
  border: 0;
  border-top: 1px solid var(--border);
  padding: 17px 0;
  margin: 17px 0 0;
}
.filters legend {
  font-size: 0.83rem;
  color: var(--plum);
  font-weight: 850;
  padding-top: 18px;
}
.field-label {
  display: block;
  color: var(--plum);
  font-size: 0.83rem;
  font-weight: 800;
  margin-bottom: 7px;
}
.filters input[type="search"],
.price-field input {
  height: 41px;
  width: 100%;
  border: 1px solid var(--control);
  border-radius: 7px;
  padding: 0 11px;
  background: #fff;
  color: var(--text);
  min-width: 0;
}
.check-list {
  display: grid;
  gap: 10px;
  margin-top: 3px;
}
.check-row {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 0.82rem;
  cursor: pointer;
}
.check-row input {
  accent-color: var(--plum);
  width: 17px;
  height: 17px;
  margin: 0;
}
.price-field {
  display: flex;
  align-items: center;
  position: relative;
}
.price-field input {
  padding-right: 33px;
}
.price-field span {
  position: absolute;
  right: 11px;
  color: var(--muted);
}
.results-toolbar {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
}
.results-toolbar label {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--muted);
}
select {
  height: 41px;
  border: 1px solid var(--control);
  border-radius: 7px;
  background: #fff;
  color: var(--text);
  padding: 0 29px 0 9px;
  max-width: 200px;
}
.category-footnote {
  font-size: 0.75rem;
  color: var(--muted);
  padding-top: 20px;
}
.empty-state {
  text-align: center;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 48px 25px;
}
.empty-state[hidden],
.filter-backdrop[hidden],
[hidden] {
  display: none !important;
}
.empty-state h2 {
  font-size: 1.45rem;
}
.empty-state p {
  max-width: 460px;
  margin: 0 auto 20px;
  color: var(--muted);
}
.empty-icon {
  font-size: 3rem;
  color: var(--plum);
}
.mobile-only {
  display: none;
}
.icon-button {
  border: 0;
  background: transparent;
  color: var(--plum);
  cursor: pointer;
  font-size: 1.75rem;
  line-height: 1;
}
.product-main {
  padding-bottom: 45px;
}
.product-top {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  gap: 35px;
  margin: 30px 0 45px;
}
.product-gallery {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 15px;
  min-height: 390px;
  display: grid;
  place-items: center;
  position: relative;
}
.product-gallery .product-visual {
  width: 100%;
  height: 100%;
  min-height: 390px;
  border-radius: 14px;
}
.product-gallery .device-phone {
  width: 155px;
  height: 280px;
  border-width: 8px;
  border-radius: 29px;
}
.product-gallery .device-phone:before {
  width: 52px;
  height: 61px;
  border-radius: 16px;
  top: 19px;
  left: 17px;
}
.product-gallery .device-phone:after {
  width: 14px;
  height: 14px;
  top: 27px;
  left: 24px;
  box-shadow: 19px 23px 0 -1px #9aa9b7;
}
.product-gallery .device-tablet {
  width: 260px;
  height: 200px;
}
.product-gallery .device-laptop {
  width: 260px;
  height: 170px;
}
.product-gallery .device-watch {
  transform: scale(1.8) rotate(-7deg);
}
.product-summary {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 15px;
  padding: 28px;
}
.product-summary .eyebrow {
  margin-bottom: 8px;
}
.product-summary h1 {
  font-size: clamp(2rem, 3vw, 3rem);
  margin-bottom: 8px;
}
.product-summary .exact-variant {
  color: var(--muted);
  margin-bottom: 19px;
}
.summary-divider {
  border-top: 1px solid var(--border);
  margin: 19px 0;
}
.summary-price-label {
  font-size: 0.78rem;
  color: var(--muted);
}
.summary-price {
  font-size: 2.8rem;
  font-weight: 850;
  color: var(--plum);
  line-height: 1.15;
  margin: 4px 0 5px;
}
.price-check {
  color: var(--muted);
  font-size: 0.76rem;
  margin: 9px 0 20px;
}
.summary-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.summary-note {
  margin-top: 18px;
  background: var(--warning-bg);
  color: var(--warning);
  border-radius: 8px;
  padding: 10px 12px;
  font-size: 0.78rem;
}
.detail-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(280px, 0.85fr);
  gap: 30px;
}
.detail-section {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 25px;
  margin-bottom: 24px;
}
.detail-section h2 {
  font-size: 1.55rem;
  margin-bottom: 7px;
}
.detail-section .subcopy {
  font-size: 0.82rem;
  color: var(--muted);
  margin-bottom: 19px;
}
.offer-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.85rem;
}
.offer-table th {
  text-align: left;
  color: var(--muted);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 10px 7px;
  border-bottom: 1px solid var(--border);
}
.offer-table td {
  padding: 14px 7px;
  border-bottom: 1px solid var(--border);
  vertical-align: middle;
}
.offer-table tr:last-child td {
  border-bottom: 0;
}
.offer-table .total {
  font-weight: 850;
  color: var(--plum);
  white-space: nowrap;
}
.offer-table .shop-name {
  font-weight: 750;
  color: var(--plum);
}
.offer-table .small {
  color: var(--muted);
  font-size: 0.73rem;
}
.offer-table .unknown {
  color: var(--warning);
  font-weight: 700;
}
.chart-wrap {
  width: 100%;
  overflow: hidden;
}
.history-chart {
  width: 100%;
  height: auto;
  display: block;
}
.chart-note {
  color: var(--muted);
  font-size: 0.73rem;
  margin-top: 11px;
}
.history-summary {
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
  margin-top: 16px;
  padding-top: 13px;
  border-top: 1px solid var(--border);
  font-size: 0.78rem;
}
.history-summary strong {
  color: var(--plum);
  display: block;
}
.related-mini {
  display: grid;
  gap: 10px;
}
.related-mini a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 9px;
  color: var(--plum);
  text-decoration: none;
  border-bottom: 1px solid var(--border);
  padding: 9px 0;
  font-size: 0.83rem;
  font-weight: 750;
}
.related-mini a:hover {
  color: var(--coral-ink);
}
.related-mini small {
  color: var(--muted);
  font-weight: 500;
}
.related-mini .price {
  font-size: 0.93rem;
}
dialog {
  border: 1px solid var(--border);
  border-radius: 16px;
  box-shadow: 0 25px 80px #24121d5c;
  padding: 30px;
  width: min(420px, calc(100% - 28px));
  color: var(--text);
}
dialog::backdrop {
  background: #2c2329a6;
}
.dialog-close {
  position: absolute;
  right: 16px;
  top: 15px;
}
.dialog-icon {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--selected);
  color: var(--plum);
  font-size: 1.8rem;
  margin-bottom: 18px;
}
.dialog-icon.success {
  background: var(--success-bg);
  color: var(--success);
}
dialog h2 {
  font-size: 1.5rem;
  margin-bottom: 9px;
}
dialog p {
  color: var(--muted);
  font-size: 0.87rem;
  margin-bottom: 20px;
}
dialog .price-field {
  margin-bottom: 9px;
}
.form-hint {
  font-size: 0.73rem;
  color: var(--muted);
  margin: 0 0 20px;
}
@media (max-width: 1000px) {
  .header-main {
    grid-template-columns: 210px 1fr auto;
    gap: 18px;
  }
  .logo {
    width: 200px;
  }
  .header-utility a {
    display: none;
  }
  .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .home-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
  .intro {
    gap: 25px;
  }
  .catalog-layout {
    grid-template-columns: 220px minmax(0, 1fr);
    gap: 20px;
  }
}
@media (max-width: 760px) {
  .wrap {
    width: min(100% - 32px, 620px);
  }
  .site-header .header-main {
    grid-template-columns: minmax(0, 1fr) auto;
    min-height: 66px;
    gap: 8px;
  }
  .logo {
    width: 178px;
    max-width: 100%;
  }
  .site-search {
    grid-column: 1/-1;
    grid-row: 2;
    max-width: none;
    margin-bottom: 11px;
  }
  .site-search-category {
    display: none;
  }
  .header-utility {
    grid-column: 2;
    grid-row: 1;
  }
  .intro {
    grid-template-columns: 1fr;
    gap: 22px;
    padding-block: 24px 8px;
  }
  .intro h1 {
    font-size: 2.55rem;
  }
  .lead {
    font-size: 0.98rem;
  }
  .decision-guide {
    padding: 18px 20px;
  }
  .section {
    padding-block: 43px;
  }
  .section.tight {
    padding-top: 26px;
  }
  .section-title {
    display: block;
  }
  .section-title > p,
  .section-title > .text-link {
    display: block;
    margin-top: 12px;
  }
  .area-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .area-card {
    min-height: 130px;
  }
  .home-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .guide-panel {
    grid-template-columns: 1fr;
    gap: 23px;
    padding: 24px;
  }
  .alerts-strip {
    grid-template-columns: 48px 1fr;
    gap: 15px;
  }
  .alert-icon {
    height: 43px;
    width: 43px;
    font-size: 1.4rem;
  }
  .alerts-strip .button {
    grid-column: 1/-1;
  }
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
  }
  .footer-grid > div:first-child {
    grid-column: 1/-1;
  }
  .catalog-layout {
    display: block;
  }
  .category-heading {
    align-items: start;
    margin: 22px 0;
  }
  .category-heading h1 {
    font-size: 2.3rem;
  }
  .category-heading .count-pill {
    margin-top: 27px;
  }
  .filters {
    position: fixed;
    z-index: 50;
    top: 0;
    right: 0;
    width: min(340px, 90vw);
    height: 100vh;
    overflow: auto;
    transform: translateX(110%);
    transition: transform 0.2s;
    border-radius: 0;
    padding: 20px;
    box-shadow: -15px 0 35px #24121d33;
  }
  .filters.open {
    transform: none;
  }
  .filters-head {
    position: sticky;
    top: -20px;
    background: #fff;
    z-index: 2;
    padding: 8px 0;
  }
  .filter-backdrop:not([hidden]) {
    display: block;
    position: fixed;
    inset: 0;
    background: #24121d88;
    z-index: 40;
  }
  .mobile-only {
    display: inline-flex;
  }
  .results-toolbar {
    justify-content: space-between;
  }
  .product-top {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .product-gallery,
  .product-gallery .product-visual {
    min-height: 300px;
  }
  .detail-grid {
    display: block;
  }
  .product-summary {
    padding: 22px;
  }
  .offer-table {
    font-size: 0.75rem;
  }
  .offer-table th,
  .offer-table td {
    padding: 10px 3px;
  }
  .footer-bottom {
    display: block;
  }
  .footer-bottom span {
    display: block;
    margin-top: 6px;
  }
}
@media (max-width: 420px) {
  .wrap {
    width: calc(100% - 28px);
  }
  .intro h1 {
    font-size: 2.25rem;
  }
  .intro-actions {
    gap: 16px;
  }
  .product-grid,
  .home-grid {
    gap: 10px;
  }
  .product-visual {
    height: 145px;
  }
  .device-phone {
    transform: scale(0.82) rotate(-7deg);
  }
  .product-card-body {
    padding: 11px;
  }
  .product-card h3 {
    font-size: 0.87rem;
    min-height: 49px;
  }
  .product-card .brand,
  .variant,
  .shops,
  .starting {
    font-size: 0.67rem;
  }
  .card-bottom {
    display: block;
  }
  .change {
    margin-top: 8px;
  }
  .price {
    font-size: 1.3rem;
  }
  .card-detail {
    padding: 8px 11px;
    font-size: 0.72rem;
  }
  .category-heading {
    display: block;
  }
  .category-heading .count-pill {
    display: inline-block;
    margin-top: 12px;
  }
  .results-toolbar label {
    display: none;
  }
  .results-toolbar select {
    max-width: 175px;
  }
  .footer-grid {
    gap: 20px;
  }
  .offer-table .delivery-col {
    display: none;
  }
}

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

@media (max-width: 420px) {
  .intro {
    padding-bottom: 2px;
    gap: 14px;
  }
  .lead {
    font-size: 0.9rem;
    line-height: 1.55;
  }
  .intro-actions {
    margin-top: 18px;
  }
  .decision-guide {
    padding: 12px;
  }
  .decision-guide .eyebrow {
    margin-bottom: 9px;
  }
  .decision-guide h2,
  .decision-steps p {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
  }
  .decision-steps {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 6px;
  }
  .decision-steps li {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    min-height: 92px;
    padding: 8px;
  }
  .decision-steps li::before {
    width: 24px;
    height: 24px;
    font-size: 0.58rem;
  }
  .decision-steps h3 {
    font-size: 0.72rem;
    line-height: 1.16;
  }
  .section.tight {
    padding-top: 18px;
  }
}

@media (max-width: 760px) {
  .history-chart {
    min-width: 520px;
  }
}

.guide-steps > a {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 11px;
  padding: 14px 17px;
  display: grid;
  grid-template-columns: 70px 1fr;
  column-gap: 12px;
  text-decoration: none;
  transition:
    transform 0.16s,
    box-shadow 0.16s;
}
.guide-steps > a:hover {
  transform: translateY(-2px);
  box-shadow: 0 7px 16px #42203416;
}
.guide-steps > a span {
  grid-row: span 2;
  color: var(--coral-ink);
  font-size: 0.69rem;
  font-weight: 850;
  letter-spacing: 0.04em;
  padding-top: 3px;
}
.guide-steps > a strong {
  color: var(--plum);
}
.guide-steps > a small {
  color: var(--muted);
  font-size: 0.79rem;
}
.editorial-main {
  min-height: 65vh;
  padding-bottom: 60px;
}
.editorial-heading {
  max-width: 760px;
  margin: 55px 0 32px;
}
.editorial-heading h1 {
  margin-bottom: 16px;
}
.editorial-heading > p:last-child {
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.7;
}
.article-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.article-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 27px;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  min-height: 250px;
  transition:
    transform 0.16s,
    box-shadow 0.16s;
}
.article-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 9px 24px #42203418;
}
.article-card h2 {
  font-size: 1.47rem;
  margin-bottom: 12px;
}
.article-card p:not(.eyebrow) {
  color: var(--muted);
  font-size: 0.9rem;
}
.article-card span {
  margin-top: auto;
  padding-top: 20px;
  color: var(--coral-ink);
  font-weight: 800;
  font-size: 0.85rem;
}
.article-layout {
  max-width: 920px;
  margin: 44px auto 0;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: clamp(24px, 5vw, 64px);
}
.article-layout .eyebrow {
  margin-bottom: 13px;
}
.article-layout h1 {
  font-size: clamp(2.2rem, 3.5vw, 3.7rem);
  margin-bottom: 20px;
}
.article-lead {
  font-size: 1.13rem;
  color: var(--muted);
  line-height: 1.75;
  margin-bottom: 34px;
}
.article-body h2 {
  font-size: 1.65rem;
  margin: 38px 0 13px;
}
.article-body p,
.article-body li {
  line-height: 1.78;
  margin-bottom: 14px;
}
.article-body ul {
  padding-left: 22px;
}
.article-back {
  display: inline-block;
  margin-top: 34px;
}
.article-body h3 {
  font-size: 1.25rem;
  margin: 30px 0 12px;
}
.article-body h4 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--plum);
  margin: 24px 0 10px;
}
.article-body ol,
.article-body ul {
  margin: 0 0 20px;
  padding-left: 22px;
}
.article-body ol {
  list-style: decimal;
}
.article-body ul {
  list-style: disc;
}
.article-body a {
  overflow-wrap: anywhere;
}
.privacy-policy h1 {
  overflow-wrap: anywhere;
}
.privacy-policy p {
  overflow-wrap: anywhere;
}

.redirect-main {
  min-height: 65vh;
  padding-bottom: 70px;
}
.redirect-card {
  max-width: 920px;
  margin: 44px auto 0;
  padding: clamp(24px, 5vw, 55px);
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px;
}
.redirect-content {
  display: grid;
  grid-template-columns: minmax(180px, 280px) minmax(0, 1fr);
  align-items: center;
  gap: clamp(24px, 4vw, 50px);
}
.redirect-image {
  display: grid;
  place-items: center;
  min-height: 220px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--card);
}
.redirect-product-image {
  width: 100%;
  height: 220px;
  object-fit: contain;
  padding: 20px;
}
.redirect-copy h1 {
  font-size: clamp(2rem, 3.2vw, 3rem);
  margin-bottom: 18px;
}
.redirect-copy p {
  line-height: 1.7;
  color: var(--muted);
  margin-bottom: 15px;
}
.redirect-copy strong {
  color: var(--text);
}
.redirect-copy .button {
  margin-top: 8px;
}
.redirect-disclosure {
  max-width: 920px;
  margin: 20px auto 0;
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.6;
}
@media (max-width: 650px) {
  .redirect-card {
    margin-top: 28px;
  }
  .redirect-content {
    grid-template-columns: 1fr;
  }
  .redirect-image {
    min-height: 180px;
  }
  .redirect-product-image {
    height: 180px;
  }
  .redirect-copy .button {
    width: 100%;
  }
}
@media (max-width: 900px) {
  .article-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 600px) {
  .article-grid {
    grid-template-columns: 1fr;
  }
  .article-card {
    min-height: 205px;
  }
  .editorial-heading {
    margin-top: 37px;
  }
  .guide-steps > a {
    grid-template-columns: 62px 1fr;
  }
  .article-layout {
    margin-top: 28px;
    padding: 24px;
  }
  .article-layout h1 {
    font-size: clamp(2rem, 8vw, 2.6rem);
  }
  .article-lead {
    font-size: 1.05rem;
  }
}

/* Header subcategory row. Palette: docs/ai/design/pliegue.tokens.json. */
.main-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 46px;
  padding: 6px 0 10px;
}
.main-nav a.active {
  color: var(--plum);
  box-shadow: inset 0 -3px var(--coral);
}
.sub-nav {
  border-top: 1px solid var(--border);
  background: var(--selected);
}
.sub-nav-inner {
  display: flex;
  align-items: stretch;
  gap: 0;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  scrollbar-width: thin;
  scrollbar-color: var(--control) transparent;
}
.sub-nav a {
  display: inline-flex;
  align-items: center;
  flex: none;
  min-height: 46px;
  padding: 9px;
  color: var(--plum);
  font-size: 0.81rem;
  font-weight: 700;
  white-space: nowrap;
  text-decoration: none;
  border-bottom: 3px solid transparent;
}
.sub-nav a:hover {
  background: var(--card);
}
.sub-nav a.active {
  color: var(--plum);
  font-weight: 850;
  border-bottom-color: var(--plum);
  background: var(--card);
}
@media (max-width: 760px) {
  .main-nav,
  .sub-nav {
    display: none;
  }
  .mobile-category-menu {
    display: block;
    border-top: 1px solid var(--border);
  }
  .mobile-category-trigger {
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 64px;
    padding-block: 10px;
    color: var(--plum);
    cursor: pointer;
    list-style: none;
  }
  .mobile-category-trigger::-webkit-details-marker,
  .mobile-category-group > summary::-webkit-details-marker {
    display: none;
  }
  .mobile-category-icon {
    width: 24px;
    height: 24px;
    flex: none;
  }
  .mobile-category-labels {
    display: grid;
    gap: 2px;
    flex: 1;
    min-width: 0;
    font-weight: 800;
  }
  .mobile-category-current {
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--muted);
    overflow-wrap: anywhere;
  }
  .category-chevron {
    width: 9px;
    height: 9px;
    margin: 0 4px 4px;
    border-right: 2px solid var(--plum);
    border-bottom: 2px solid var(--plum);
    transform: rotate(45deg);
    flex: none;
  }
  .mobile-category-menu[open] > summary .category-chevron,
  .mobile-category-group[open] > summary .category-chevron {
    transform: rotate(225deg);
    margin-block: 4px 0;
  }
  .mobile-category-panel {
    padding-bottom: 16px;
  }
  .mobile-category-link,
  .mobile-category-group > summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    min-height: 48px;
    padding: 12px;
    border-bottom: 1px solid var(--border);
    color: var(--plum);
    font-size: 0.92rem;
    font-weight: 750;
    text-decoration: none;
    cursor: pointer;
    list-style: none;
  }
  .mobile-category-link:hover,
  .mobile-category-group > summary:hover,
  .mobile-category-group > summary.selected {
    background: var(--selected);
  }
  .mobile-subcategories {
    margin: 0 0 8px 12px;
    padding-left: 8px;
    border-left: 2px solid var(--border);
  }
  .mobile-subcategories .mobile-category-link {
    font-weight: 600;
  }
  .mobile-category-link[aria-current="page"] {
    background: var(--selected);
    font-weight: 850;
    box-shadow: inset 3px 0 var(--plum);
  }
}

@media (max-width: 760px) {
  .results-toolbar label {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
  }
}

.related-more {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  padding-top: 14px;
  color: var(--coral-ink);
  font-size: 0.83rem;
  font-weight: 800;
  text-decoration: none;
}
.related-more:hover {
  text-decoration: underline;
}

.market-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}
.market-logo {
  display: grid;
  place-items: center;
  flex: none;
  width: 88px;
  height: 40px;
}
.market-logo img {
  display: block;
  max-width: 100%;
  max-height: 36px;
  width: auto;
  height: auto;
  object-fit: contain;
}
.market-initials {
  display: grid;
  place-items: center;
  min-width: 38px;
  height: 38px;
  padding: 0 5px;
  border-radius: 8px;
  background: var(--selected);
  color: var(--plum);
  font-size: 0.74rem;
  font-weight: 850;
  letter-spacing: -0.02em;
}
.market-brand .shop-name {
  line-height: 1.25;
}
.related-mini a {
  justify-content: flex-start;
  gap: 10px;
}
.related-mini .product-visual.compact {
  width: 62px;
  height: 62px;
  flex: none;
  border-radius: 8px;
}
.related-mini .product-visual.compact > div {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.38);
}
.related-mini .related-info {
  flex: 1;
  min-width: 0;
  line-height: 1.3;
}
.related-mini .price {
  flex: none;
}
@media (max-width: 420px) {
  .market-logo {
    width: 75px;
  }
  .market-brand.illustrative {
    gap: 6px;
  }
  .market-brand.illustrative .market-logo {
    width: 38px;
  }
  .related-mini .product-visual.compact {
    width: 56px;
    height: 56px;
  }
  .related-mini .product-visual.compact > div {
    transform: translate(-50%, -50%) scale(0.34);
  }
}

.header-utility {
  gap: 8px;
}
.header-utility .account-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  flex: none;
  padding: 10px;
  border-radius: 9px;
  white-space: nowrap;
}
.header-utility .account-link:hover,
.sign-out-button:hover {
  background: var(--selected);
}
.header-utility .account-link[aria-current="page"] {
  background: var(--selected);
}
.sign-out-button {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 10px;
  border: 0;
  border-radius: 9px;
  background: transparent;
  color: var(--plum);
  cursor: pointer;
}
.header-utility svg {
  display: block;
  width: 24px;
  height: 24px;
}
.account-main {
  min-height: 65vh;
  padding-bottom: 70px;
}
.account-heading h1 {
  margin-bottom: 18px;
}
.account-panel {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 32px;
}
.account-panel h2 {
  font-size: 1.55rem;
  margin-bottom: 11px;
}
.account-panel p {
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.65;
  margin-bottom: 23px;
}
.account-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  margin: 55px 0 32px;
}
.account-heading .lead {
  margin: 0;
}
.account-details,
.followed-panel {
  max-width: 850px;
}
.account-details {
  margin-bottom: 24px;
}
.account-details dl {
  margin: 0 0 20px;
}
.account-details dt {
  color: var(--muted);
  font-size: 0.9rem;
}
.account-details dd {
  margin: 6px 0 0;
  overflow-wrap: anywhere;
  font-weight: 700;
}
.followed-list {
  display: grid;
}
.followed-search {
  margin-bottom: 24px;
}
.followed-search-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.followed-search input[type="search"] {
  flex: 1 1 220px;
  min-width: 0;
  width: 100%;
  min-height: 44px;
  padding: 10px 12px;
  border: 1px solid var(--control);
  border-radius: 8px;
  background: var(--card);
  color: var(--text);
  font: inherit;
}
.followed-search input::placeholder {
  color: var(--muted);
}
.followed-search .button {
  min-height: 44px;
}
.followed-panel .account-empty {
  overflow-wrap: anywhere;
}
.followed-list .followed-product {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 0;
  color: var(--plum);
  text-decoration: none;
}
.followed-list a:hover strong {
  color: var(--coral-ink);
}
.followed-list .followed-product > span:nth-child(2) {
  display: grid;
  flex: 1;
  min-width: 0;
}
.followed-list small {
  color: var(--muted);
  font-size: 0.78rem;
}
.followed-target {
  font-size: 0.85rem;
  font-weight: 800;
  white-space: nowrap;
}
.followed-target small {
  display: block;
  color: var(--muted);
  font-weight: 400;
  white-space: normal;
}
.followed-list .product-visual.compact {
  width: 58px;
  height: 58px;
  flex: none;
  border-radius: 8px;
}
.followed-list .product-visual.compact > div {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.35);
}
.account-empty .button {
  margin-top: 2px;
}
@media (max-width: 760px) {
  .account-panel {
    padding: 25px;
  }
  .account-heading {
    display: block;
    margin: 36px 0 25px;
  }
  .account-heading .button {
    margin-top: 19px;
  }
}
@media (max-width: 420px) {
  .followed-list .followed-product {
    gap: 10px;
  }
  .followed-target {
    margin-left: 68px;
  }
}

.auth-panel {
  padding: 25px 30px 27px;
}
.auth-switch {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
  margin-bottom: 22px;
  border-bottom: 1px solid var(--border);
}
.auth-switch a {
  border: 0;
  border-bottom: 3px solid transparent;
  background: transparent;
  color: var(--muted);
  font-weight: 750;
  padding: 12px 4px;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
}
.auth-switch a:hover {
  color: var(--plum);
}
.auth-switch a.active {
  border-bottom-color: var(--coral);
  color: var(--plum);
}
.account-form {
  display: grid;
  gap: 8px;
}
.account-form[hidden] {
  display: none;
}
.account-form label {
  color: var(--plum);
  font-size: 0.84rem;
  font-weight: 750;
}
.account-form input {
  width: 100%;
  height: 44px;
  margin-bottom: 9px;
  padding: 9px 12px;
  border: 1px solid var(--control);
  border-radius: 8px;
  background: var(--card);
  color: var(--text);
}
.account-form .button {
  margin-top: 8px;
}
.account-panel .auth-note {
  font-size: 0.74rem;
  line-height: 1.5;
  margin: 17px 0 0;
}
@media (max-width: 760px) {
  .auth-panel {
    padding: 20px;
  }
}

.account-auth {
  width: min(100%, 420px);
  margin: 56px auto 84px;
}
@media (max-width: 760px) {
  .account-auth {
    margin: 36px auto 65px;
  }
}

/* Rails integration adjustments for Pliegue. */
.site-shell {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}
.site-main {
  flex: 1;
}
.search-icon {
  width: 20px;
  height: 20px;
  stroke: currentColor;
}
.site-search button {
  display: grid;
  place-items: center;
  padding: 0;
}
.site-search .search-icon {
  display: block;
}
.header-utility form {
  margin: 0;
}
.area-card {
  color: var(--plum);
}
.guide-steps > div {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 11px;
  padding: 18px;
  display: grid;
  gap: 4px;
}
.guide-steps > div span {
  color: var(--coral-ink);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}
.guide-steps > div strong {
  color: var(--plum);
}
.guide-steps > div small {
  color: var(--muted);
}
.product-visual:has(img) {
  grid-template-columns: minmax(0, 1fr);
  grid-template-rows: minmax(0, 1fr);
  background: #fff;
}
.product-visual img {
  display: block;
  min-width: 0;
  min-height: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 14px;
  background: #fff;
}
.product-gallery .product-main-image {
  height: 390px;
  padding: 25px;
}
.product-card .card-main {
  flex: 1;
}
.product-card-body h3 {
  line-height: 1.35;
}
.results-toolbar form {
  display: flex;
  align-items: center;
  gap: 10px;
}
.results-toolbar select {
  max-width: 100%;
  border: 1px solid var(--control);
  border-radius: 8px;
  padding: 8px;
  background: #fff;
  color: var(--text);
}
.catalog-pagination {
  justify-content: center;
  margin: 32px 0;
}
.pagy a:not(.gap) {
  background: var(--selected);
  color: var(--plum);
}
.pagy a:not(.gap).current {
  background: var(--plum);
  color: #fff;
}
.filters h2 {
  font-size: 1.3rem;
}
.filters form {
  display: grid;
  gap: 12px;
}
.filters fieldset {
  border: 0;
  border-top: 1px solid var(--border);
  padding: 12px 0 0;
  margin: 0;
}
.filters legend {
  font-weight: 750;
  color: var(--plum);
  padding-top: 10px;
}
.filters input[type="search"] {
  width: 100%;
  height: 43px;
  padding: 8px 10px;
  border: 1px solid var(--control);
  border-radius: 8px;
  background: #fff;
}
.filters .button {
  margin-top: 4px;
}
.filters select {
  width: 100%;
  min-width: 0;
  max-width: 100%;
  height: 44px;
}
.offer-table-wrap {
  position: relative;
  overflow-x: auto;
  container-type: inline-size;
}
.offer-table th,
.offer-table td {
  text-align: left;
}
.offer-table td strong {
  white-space: nowrap;
  color: var(--plum);
}
.offer-table td .text-link {
  white-space: nowrap;
}
.offer-table tbody th {
  padding: 14px 7px;
  vertical-align: middle;
  text-transform: none;
  letter-spacing: normal;
  font-size: inherit;
}
.offer-table tbody tr:last-child th {
  border-bottom: 0;
}
.offer-price-value {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.offer-best-label {
  display: inline-flex;
  align-items: center;
  padding: 4px 8px;
  border-radius: 999px;
  color: var(--success);
  background: var(--success-bg);
  font-size: 0.75rem;
  line-height: 1.25;
  font-weight: 750;
  white-space: nowrap;
}
.offer-observation time {
  display: block;
  min-width: 9em;
  color: var(--muted);
}
.offer-mobile-label {
  display: none;
}
.offer-note {
  font-size: 0.76rem;
  color: var(--muted);
  margin-top: 12px;
}
.product-ean {
  font-size: 0.75rem;
  color: var(--muted);
  margin-top: 15px;
}
.product-description {
  line-height: 1.75;
}
.product-description p {
  margin-bottom: 10px;
}
.follow-section p {
  line-height: 1.65;
  margin-bottom: 20px;
}
.follow-form {
  display: grid;
  gap: 10px;
  max-width: 330px;
}
.follow-form .price-field {
  margin: 0;
}
.follow-form .button {
  margin-top: 8px;
}
.related-image {
  width: 62px;
  height: 62px;
  flex: none;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
}
.related-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 4px;
}
.related-mini a {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: var(--plum);
  border-bottom: 1px solid var(--border);
  padding: 8px 0;
}
.related-info small {
  color: var(--muted);
}
.account-auth {
  width: min(100%, 450px);
}
.auth-heading {
  font-size: 1.9rem;
  margin-bottom: 18px;
}
.auth-switch .active {
  border-bottom: 3px solid var(--coral);
}
.auth-reset {
  display: inline-block;
  margin-top: 18px;
}
.registration-hint {
  margin: -9px 0 9px;
  color: var(--muted);
  font-size: 0.8rem;
}
.account-form .registration-consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  line-height: 1.5;
}
.registration-consent input[type="checkbox"] {
  flex: 0 0 18px;
  width: 18px;
  height: 18px;
  margin: 2px 0 0;
  padding: 0;
  accent-color: var(--plum);
}
.followed-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto auto;
  align-items: center;
  gap: 14px;
  border-top: 1px solid var(--border);
  padding: 13px 0;
}
.followed-product {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  flex: 1;
  color: var(--plum);
  text-decoration: none;
}
.followed-product > span:last-child {
  display: grid;
}
.followed-product small {
  color: var(--muted);
}
.followed-image {
  width: 56px;
  height: 56px;
  flex: none;
  border: 1px solid var(--border);
  border-radius: 8px;
}
.followed-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.followed-row form button {
  border: 0;
  background: transparent;
  cursor: pointer;
}
.followed-edit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 8px;
  text-decoration: none;
}
.followed-edit:hover {
  background: var(--selected);
}
.followed-edit svg {
  width: 20px;
  height: 20px;
}
@media (max-width: 760px) {
  .catalog-layout {
    display: grid;
    gap: 20px;
  }
  .filters {
    position: static;
    transform: none;
    width: auto;
    height: auto;
    box-shadow: none;
    border-radius: 13px;
  }
  .filters .check-list {
    max-height: 150px;
    overflow: auto;
  }
  .product-gallery .product-main-image {
    height: 300px;
  }
}
@media (max-width: 560px) {
  .followed-row {
    grid-template-columns: minmax(0, 1fr);
    gap: 10px;
  }
  .followed-row > .text-link,
  .followed-row > .followed-edit {
    margin-left: 68px;
  }
  .followed-target {
    margin-left: 68px;
  }
  .followed-row form {
    margin-left: 68px;
  }
  .results-toolbar form label {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
  }
}

@container (max-width: 620px) {
  .offer-table,
  .offer-table tbody,
  .offer-table tbody tr {
    display: block;
  }
  .offer-table {
    font-size: 0.9rem;
  }
  .offer-table thead {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
  }
  .offer-table tbody tr {
    padding: 14px;
    margin-top: 14px;
    border: 1px solid var(--border);
    border-radius: 10px;
  }
  .offer-table tbody th,
  .offer-table tbody td {
    display: block;
    padding: 0;
    border: 0;
  }
  .offer-table .market-brand {
    gap: 10px;
    overflow-wrap: anywhere;
  }
  .offer-table .offer-price {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 12px;
  }
  .offer-price-value {
    flex-wrap: wrap;
  }
  .offer-mobile-label {
    display: inline;
    color: var(--muted);
    font-size: 0.8rem;
  }
  .offer-table .offer-observation {
    margin-top: 8px;
  }
  .offer-observation time {
    display: inline;
    font-size: 0.8rem;
  }
  .offer-table .offer-action {
    margin-top: 12px;
  }
  .offer-action .text-link {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 5px;
    min-height: 44px;
    border: 1px solid var(--plum);
    border-radius: 8px;
    color: var(--plum);
    background: var(--card);
  }
  .offer-action .text-link:hover {
    background: var(--selected);
  }
}
.product-card .card-buy {
  display: block;
  text-align: center;
  background: var(--plum);
  color: #fff;
  text-decoration: none;
  font-size: 0.8rem;
  font-weight: 800;
  padding: 10px;
}
.product-card .card-buy:hover {
  background: #5b2b48;
}
.guide-steps > div {
  grid-template-columns: 1fr;
  align-content: center;
  gap: 8px;
}
.guide-steps > div span {
  grid-row: auto;
}
.filters .check-list {
  max-height: 240px;
  overflow: auto;
}
.cc-window.cc-banner,
.cc-window.cc-floating {
  background: #422034 !important;
  color: #ffffff !important;
}
.cc-window .cc-btn {
  background: #ff6b50 !important;
  color: #422034 !important;
  border: 1px solid #422034 !important;
}
.cc-window .cc-link {
  color: #ffffff !important;
}
.catalog-drawer-open {
  overflow: hidden;
}
.catalog-filter-dialog {
  inset: 0 0 0 auto;
  margin: 0;
  width: min(340px, 90vw);
  max-width: 100%;
  height: 100dvh;
  max-height: 100dvh;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: var(--card);
  color: var(--text);
  box-shadow: -15px 0 35px color-mix(in srgb, var(--plum) 20%, transparent);
}
.catalog-filter-dialog::backdrop {
  background: color-mix(in srgb, var(--plum) 45%, transparent);
}
.catalog-filter-dialog .filters {
  min-height: 100%;
  width: 100%;
  border: 0;
  border-radius: 0;
}
.filters-head {
  gap: 12px;
  margin-bottom: 19px;
}
.filters-head h2 {
  margin: 0;
}
.catalog-error {
  padding: 20px;
  margin-bottom: 20px;
  border-radius: 13px;
  background: var(--error-bg);
  color: var(--error);
}
.catalog-error p {
  margin-bottom: 12px;
}
@media (max-width: 760px) {
  .catalog-layout {
    grid-template-columns: minmax(0, 1fr);
  }
  .results {
    min-width: 0;
  }
  .results-toolbar {
    flex-wrap: wrap;
  }
  .results-toolbar select {
    max-width: 100%;
  }
}
.article-layout .article-back {
  margin-left: 18px;
}
@media (max-width: 600px) {
  .article-layout .article-back {
    display: block;
    margin-left: 0;
  }
}
.retired-product {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 28px;
  align-items: center;
}
.retired-product h1 {
  font-size: 2.2rem;
}
.retired-product p:last-child {
  color: var(--muted);
}
.retired-image {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 12px;
}
.retired-image img {
  width: 100%;
  height: 140px;
  object-fit: contain;
}
.site-message {
  width: min(1200px, calc(100% - 48px));
  margin: 16px auto 0;
  padding: 12px 16px;
  border-radius: 9px;
}
.site-message-error {
  color: #b33442;
  background: #fff0f1;
}
.site-message-success {
  color: #187451;
  background: #eaf6ef;
}
@media (max-width: 600px) {
  .retired-product {
    grid-template-columns: 1fr;
  }
  .retired-image {
    width: 160px;
  }
  .site-message {
    width: calc(100% - 28px);
  }
}
.home-selections {
  padding-bottom: 28px;
}
.home-selection {
  padding-block: 35px;
}
.home-selection + .home-selection {
  border-top: 1px solid var(--border);
}
.home-selection .section-title {
  margin-bottom: 22px;
}
.home-selection .section-title .text-link {
  font-size: 0.88rem;
  white-space: nowrap;
}
.home-selection-empty {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 13px;
  padding: 25px;
  color: var(--muted);
}
.home-selection-empty .text-link {
  display: inline-block;
  margin-left: 6px;
}
@media (max-width: 760px) {
  .home-selections {
    padding-bottom: 12px;
  }
  .home-selection {
    padding-block: 28px;
  }
  .home-selection .section-title .text-link {
    margin-top: 12px;
  }
  .home-selection-empty .text-link {
    margin: 10px 0 0;
  }
}

/* Observed price history. */
.price-history {
  width: 100%;
  min-width: 0;
}
.price-history-header {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.price-history-notice {
  margin-top: 4px;
  font-size: 0.875rem;
  color: var(--muted);
}
.history-periods {
  display: inline-flex;
  align-self: flex-start;
  flex-shrink: 0;
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
}
.history-periods a {
  padding: 8px 10px;
  background: var(--page);
  color: var(--plum);
  font-size: 0.8rem;
  font-weight: 700;
  white-space: nowrap;
}
.history-periods a + a {
  border-left: 1px solid var(--border);
}
.history-periods a:hover {
  background: var(--selected);
}
.history-periods a[aria-current="page"] {
  background: var(--plum);
  color: var(--card);
}
.history-periods a:focus-visible {
  outline-offset: -3px;
  outline-color: var(--coral);
}
.observation-summary {
  display: grid;
  gap: 12px;
  margin-top: 16px;
  border-radius: 9px;
  background: var(--page);
  padding: 16px;
}
.observation-summary dt {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--muted);
}
.price-history-chart {
  margin-top: 16px;
}
.price-observations {
  margin-top: 16px;
  border: 1px solid var(--border);
  border-radius: 9px;
}
.price-observations summary {
  padding: 12px;
  font-weight: 600;
  cursor: pointer;
}
.price-observations-scroll {
  overflow-x: auto;
  padding: 0 12px 12px;
}
.price-observations table {
  width: 100%;
  font-size: 0.875rem;
  text-align: left;
}
.price-observations th,
.price-observations td {
  padding: 8px 12px;
  border-bottom: 1px solid var(--border);
}
.price-observations th {
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 700;
}
.price-observations tbody tr:last-child td {
  border-bottom: 0;
}
.price-history-empty {
  margin-top: 16px;
  padding: 16px;
  background: var(--page);
  border-radius: 9px;
}
@media (min-width: 640px) {
  .price-history-header {
    flex-direction: row;
    align-items: flex-start;
    justify-content: space-between;
  }
  .observation-summary {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
/* Pagination markup is supplied by Pagy. */
.pagy {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--muted);
}
.pagy a:not(.gap) {
  display: block;
  padding: 8px 16px;
  border-radius: 8px;
  background: var(--selected);
  color: var(--plum);
}
.pagy a:not(.gap):hover {
  background: var(--border);
}
.pagy a:not([href]):not([aria-current="page"]):not(.current) {
  color: var(--muted);
  background: var(--page);
  cursor: default;
}
.pagy a.current,
.pagy a[aria-current="page"] {
  background: var(--plum);
  color: var(--card);
}
.pagy .gap {
  padding: 8px;
}
/* Shared feedback and price movement. */
.form-errors {
  margin-top: 12px;
  padding: 12px 16px;
  border-radius: 9px;
  background: var(--error-bg);
  color: var(--error);
  font-weight: 500;
}
.form-errors h2 {
  font-size: 1rem;
  color: inherit;
  margin-bottom: 8px;
}
.form-errors ul {
  list-style: disc;
  padding-left: 20px;
}
.price-change-badge {
  display: inline-block;
  padding: 0.125rem 0.5rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 600;
}
.price-change-badge--decreasing {
  color: var(--success);
  background: var(--success-bg);
}
.price-change-badge--increasing {
  color: var(--error);
  background: var(--error-bg);
}
.price-change-badge--equal {
  color: var(--muted);
  background: var(--selected);
}
.price-trend-icon {
  display: inline-block;
  width: 24px;
  height: 24px;
}
.price-trend-icon--increasing {
  color: var(--error);
}
.price-trend-icon--decreasing {
  color: var(--success);
}
.discount-badge {
  display: inline-block;
  border-radius: 9999px;
  padding: 2px 8px;
  background: var(--coral);
  color: var(--plum);
  font-weight: 700;
}
.category-links {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.category-links a:hover {
  text-decoration: underline;
}

/* Product following uses the existing Pliegue surfaces and controls. */
.follow-editor {
  max-width: 680px;
  margin: 0 auto;
}
.follow-editor h1 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  margin-bottom: 20px;
}
.follow-editor .follow-form {
  max-width: none;
}
.notification-preferences {
  border: 1px solid var(--control);
  border-radius: 8px;
  padding: 12px;
  min-width: 0;
}
.notification-preferences label {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin: 10px 0;
}
.notification-preferences input {
  width: auto;
  flex: none;
}
.follow-management {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  margin-top: 18px;
}
.follow-management form {
  margin: 0;
}

.quick-specs {
  margin: 16px 0 0;
}
.quick-specs > div {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.85rem;
  overflow-wrap: anywhere;
}
.quick-specs > div:last-child {
  border-bottom: 0;
}
.quick-specs dt {
  color: var(--muted);
}
.quick-specs dd {
  margin: 0;
  font-weight: 650;
}
