/* =================================================================
   ThePriceMonkey — Base styles (compartido entre páginas)
   Tokens · reset · chrome (header/drawer/footer) · product card
   Cualquier estilo específico de una página se mantiene inline.
   ================================================================= */

/* ---------- 1. TOKENS ------------------------------------- */
:root {
  /* Color base — neutros con tinte cálido sutil */
  --tpm-bg:            #f6f5f2;
  --tpm-surface:       #ffffff;
  --tpm-surface-alt:   #faf9f6;
  --tpm-border:        #e7e4dd;
  --tpm-border-strong: #d6d2c8;
  --tpm-text:          #181715;
  --tpm-text-muted:    #6c6862;
  --tpm-text-faint:    #9a958d;

  /* Brand */
  --tpm-blue:          #0095db;
  --tpm-blue-dark:     #006eaf;
  --tpm-blue-soft:     #d5ecf8;
  --tpm-blue-soft-br:  #a8d4ea;

  /* CTA Amazon — no se toca */
  --tpm-cta:           #ff9200;
  --tpm-cta-hover:     #e88a00;
  --tpm-cta-text:      #1a1308;

  /* Prime */
  --tpm-prime:         #00A8E1;

  /* Señales */
  --tpm-discount:      #b42318;
  --tpm-fresh:         #c45a00;
  --tpm-flame:         #c45a00;

  /* Stats colors — usados en trío max/actual/min */
  --tpm-stat-max:      #b42318;
  --tpm-stat-max-bg:   #fdecea;
  --tpm-stat-min:      #1f7a4f;
  --tpm-stat-min-bg:   #e8f4ed;

  /* Geometría */
  --tpm-radius:        6px;
  --tpm-radius-sm:     3px;
  --tpm-radius-lg:     12px;
  --tpm-shadow:        0 1px 2px rgba(20, 18, 14, 0.04);
  --tpm-shadow-hover:  0 4px 16px rgba(20, 18, 14, 0.08);

  /* Chrome tint */
  --tpm-header-bg:     #e8f2fa;

  /* Tipografía */
  --tpm-font:          'Roboto', system-ui, -apple-system, 'Segoe UI', sans-serif;
}

/* ---------- 2. DARK MODE OVERRIDES ------------------------ */
body.dark-mode,
.dark-mode {
  --tpm-bg:            #161a1f;
  --tpm-surface:       #1f242a;
  --tpm-surface-alt:   #242931;
  --tpm-border:        #2f343d;
  --tpm-border-strong: #3d434c;
  --tpm-text:          #ececeb;
  --tpm-text-muted:    #9a9690;
  --tpm-text-faint:    #6a6660;

  --tpm-blue:          #4ab5e0;
  --tpm-blue-dark:     #1a8fc8;
  --tpm-blue-soft:     #163a52;
  --tpm-blue-soft-br:  #1f4763;

  --tpm-cta:           #ff9900;
  --tpm-cta-hover:     #ffae33;
  --tpm-cta-text:      #1a1308;

  --tpm-prime:         #1ec3ff;

  --tpm-discount:      #ff6b5c;
  --tpm-fresh:         #e89554;
  --tpm-flame:         #e89554;

  --tpm-stat-max:      #ff7060;
  --tpm-stat-max-bg:   #3a1a16;
  --tpm-stat-min:      #4cc28b;
  --tpm-stat-min-bg:   #142a1f;

  --tpm-header-bg:     #181c22;

  --tpm-shadow:        0 1px 2px rgba(0, 0, 0, 0.4);
  --tpm-shadow-hover:  0 6px 20px rgba(0, 0, 0, 0.5);
}

/* ---------- 3. RESET MÍNIMO + BASE ------------------------ */
* { box-sizing: border-box; }
html, body {
  margin: 0;
  padding: 0;
  max-width: 100%;
  overflow-x: hidden;
}
body {
  font-family: var(--tpm-font);
  color: var(--tpm-text);
  background: var(--tpm-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.5;
}
/* Cualquier imagen, svg o iframe debe respetar el ancho del contenedor */
img, svg, iframe, video, canvas, table { max-width: 100%; }
a { color: inherit; }
img { max-width: 100%; height: auto; display: block; }

/* =========================================================
   HEADER
   ========================================================= */
.tpm-header {
  background: var(--tpm-header-bg);
  border-bottom: 1px solid var(--tpm-border);
  height: 64px;
  position: relative;
}
.tpm-header::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: var(--tpm-blue);
  z-index: 1;
}
.tpm-header__inner {
  max-width: 1280px;
  margin: 0 auto;
  height: 100%;
  display: flex;
  align-items: center;
  gap: 28px;
  padding: 0 24px;
}

/* Brand (monkey + wordmark) */
.tpm-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: inherit;
  flex-shrink: 0;
}
.tpm-brand__monkey {
  width: 40px; height: 40px;
  background: url('../images/monkey.png') center/contain no-repeat;
  display: inline-block;
  flex-shrink: 0;
  text-indent: -9999px;
  overflow: hidden;
  white-space: nowrap;
}
.tpm-brand__wordmark {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--tpm-blue-dark);
  line-height: 1;
}
.tpm-brand__wordmark span {
  color: var(--tpm-blue);
  font-weight: 800;
}
body.dark-mode .tpm-brand__wordmark,
.dark-mode .tpm-brand__wordmark { color: var(--tpm-blue); }
body.dark-mode .tpm-brand__wordmark span,
.dark-mode .tpm-brand__wordmark span { color: #5fbfee; }

/* Nav primaria */
.tpm-nav {
  display: flex;
  align-items: center;
  gap: 22px;
  list-style: none;
  margin: 0; padding: 0;
}
.tpm-nav__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0;
  text-decoration: none;
  color: var(--tpm-text-muted);
  padding: 8px 0;
  position: relative;
  transition: color 0.12s ease;
}
.tpm-nav__link:hover { color: var(--tpm-text); }
.tpm-nav__link--active { color: var(--tpm-blue-dark); }
.tpm-nav__link--active::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: -4px;
  height: 3px;
  background: var(--tpm-blue);
  border-radius: 1.5px;
}
.tpm-nav__link--flagship .tpm-nav__flame {
  display: inline-flex;
  color: var(--tpm-flame);
}
.tpm-nav__link--flagship .tpm-nav__flame svg { width: 11px; height: 11px; }
body.dark-mode .tpm-nav__link--active,
.dark-mode .tpm-nav__link--active { color: var(--tpm-blue); }

/* Utility area */
.tpm-util {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 8px;
}

/* Search */
.tpm-search {
  display: flex;
  align-items: center;
  gap: 6px;
  background: var(--tpm-surface);
  border: 1px solid var(--tpm-border);
  border-radius: 999px;
  padding: 0 4px 0 12px;
  height: 36px;
  width: 240px;
  transition: border-color 0.12s ease, background 0.12s ease, width 0.18s ease;
}
.tpm-search:focus-within {
  border-color: var(--tpm-blue);
  width: 280px;
}
.tpm-search__icon {
  width: 13px; height: 13px;
  color: var(--tpm-text-faint);
  flex-shrink: 0;
}
.tpm-search input {
  flex: 1;
  border: 0; background: transparent; outline: none;
  font: inherit;
  font-size: 13px;
  color: var(--tpm-text);
  min-width: 0;
}
.tpm-search input::placeholder { color: var(--tpm-text-faint); }
.tpm-search__submit {
  appearance: none;
  border: 0;
  background: var(--tpm-blue);
  color: #fff;
  height: 28px;
  padding: 0 12px;
  border-radius: 999px;
  font: inherit;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: background 0.12s ease;
}
.tpm-search__submit:hover { background: var(--tpm-blue-dark); }

/* Icon buttons */
.tpm-icon-btn {
  appearance: none;
  border: 1px solid var(--tpm-border);
  background: var(--tpm-surface);
  color: var(--tpm-text-muted);
  width: 36px; height: 36px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: border-color 0.12s ease, color 0.12s ease, background 0.12s ease;
}
.tpm-icon-btn:hover {
  border-color: var(--tpm-border-strong);
  color: var(--tpm-text);
}
.tpm-icon-btn svg { width: 14px; height: 14px; }
.tpm-icon-btn--accent {
  background: var(--tpm-blue);
  border-color: var(--tpm-blue);
  color: #fff;
}
.tpm-icon-btn--accent:hover {
  background: var(--tpm-blue-dark);
  border-color: var(--tpm-blue-dark);
  color: #fff;
}

/* Login pill */
.tpm-login {
  appearance: none;
  height: 36px;
  padding: 0 18px;
  border-radius: 999px;
  border: 1px solid var(--tpm-blue);
  background: transparent;
  color: var(--tpm-blue-dark);
  font: inherit;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  transition: background 0.12s ease, color 0.12s ease;
}
.tpm-login:hover { background: var(--tpm-blue); color: #fff; }
.tpm-login svg { width: 12px; height: 12px; }
body.dark-mode .tpm-login,
.dark-mode .tpm-login { color: var(--tpm-blue); }

/* Account chip */
.tpm-account {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  height: 36px;
  padding: 0 14px 0 5px;
  border-radius: 999px;
  border: 1px solid var(--tpm-border);
  background: var(--tpm-surface);
  color: var(--tpm-text);
  font: inherit;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  text-decoration: none;
}
.tpm-account:hover { border-color: var(--tpm-border-strong); }
.tpm-account__avatar {
  width: 26px; height: 26px;
  border-radius: 50%;
  background: var(--tpm-blue);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 11.5px;
  font-weight: 700;
  flex-shrink: 0;
}
.tpm-account__caret { width: 8px; height: 8px; color: var(--tpm-text-faint); margin-left: -2px; transition: transform 0.15s ease; }
.tpm-account[aria-expanded="true"] .tpm-account__caret { transform: rotate(180deg); }

/* Dropdown menu (Mi cuenta) — solo desktop. En mobile el drawer ya cubre los links. */
.tpm-account-wrap { position: relative; }
.tpm-account-menu {
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  min-width: 200px;
  background: var(--tpm-surface);
  border: 1px solid var(--tpm-border);
  border-radius: 10px;
  box-shadow: var(--tpm-shadow-hover, 0 10px 30px rgba(0,0,0,0.18));
  padding: 6px;
  z-index: 200;
}
.tpm-account-menu[hidden] { display: none; }
.tpm-account-menu__item {
  display: block;
  padding: 9px 12px;
  border-radius: 6px;
  color: var(--tpm-text);
  font-size: 13.5px;
  text-decoration: none;
  white-space: nowrap;
}
.tpm-account-menu__item:hover { background: var(--tpm-surface-alt); color: var(--tpm-text); }
.tpm-account-menu__item--logout { color: var(--tpm-stat-max); }
.tpm-account-menu__item--logout:hover { background: rgba(214, 78, 78, 0.10); color: var(--tpm-stat-max); }
.tpm-account-menu__sep { margin: 6px 4px; border: 0; border-top: 1px solid var(--tpm-border); }

/* Botón hamburguesa: oculto en desktop, visible en mobile */
.tpm-menu-btn { display: none; }

/* Header mobile */
@media (max-width: 880px) {
  .tpm-header { height: 56px; }
  .tpm-header__inner { gap: 12px; padding: 0 16px; }
  .tpm-nav,
  .tpm-search,
  .tpm-login,
  .tpm-account,
  .tpm-account-wrap,
  #tpm-dark-toggle { display: none; }
  .tpm-brand__wordmark { display: none; }
  .tpm-util { gap: 6px; margin-left: auto; }
  .tpm-icon-btn { width: 38px; height: 38px; border-radius: 8px; }
  .tpm-menu-btn { display: inline-flex; }
}

/* Mobile drawer */
.tpm-drawer {
  background: var(--tpm-surface);
  border-bottom: 1px solid var(--tpm-border);
  padding: 8px 14px 18px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  position: relative;
  z-index: 50;
}
/* El user agent stylesheet pone display:none al atributo [hidden], pero
   el display:flex de arriba lo sobrescribe. Forzar override explícito. */
.tpm-drawer[hidden] { display: none !important; }
/* El drawer solo tiene sentido en mobile — esconderlo en desktop incluso
   si alguien lo deja abierto al redimensionar. */
@media (min-width: 881px) {
  .tpm-drawer { display: none !important; }
}
.tpm-drawer__group {
  display: flex; flex-direction: column;
  padding: 12px 0 4px;
}
.tpm-drawer__group + .tpm-drawer__group {
  border-top: 1px solid var(--tpm-border);
}
.tpm-drawer__label {
  font-size: 10.5px; font-weight: 500;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--tpm-text-faint);
  margin-bottom: 6px;
}
.tpm-drawer__link {
  display: flex; align-items: center; gap: 8px;
  padding: 10px 4px;
  text-decoration: none;
  color: var(--tpm-text);
  font-size: 15px;
  font-weight: 500;
}
.tpm-drawer__link svg { width: 14px; height: 14px; }
.tpm-drawer__link--flagship .tpm-nav__flame { color: var(--tpm-flame); }
.tpm-drawer__search {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--tpm-surface-alt);
  border: 1px solid var(--tpm-border);
  border-radius: 8px;
  padding: 8px 12px;
  margin-bottom: 4px;
}
.tpm-drawer__search svg { width: 14px; height: 14px; color: var(--tpm-text-faint); flex-shrink: 0; }
.tpm-drawer__search input {
  flex: 1; border: 0; background: transparent; outline: none;
  font: inherit; font-size: 14px; color: var(--tpm-text);
  min-width: 0;
}
.tpm-drawer__cta {
  display: flex; align-items: center; justify-content: center;
  gap: 8px;
  margin: 10px 0 4px;
  height: 44px;
  background: var(--tpm-blue);
  color: #fff;
  border-radius: 8px;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
}
.tpm-drawer__cta:hover { background: var(--tpm-blue-dark); }
.tpm-drawer__cta svg { width: 13px; height: 13px; }

/* Estado abierto del drawer: cambia los iconos del botón */
.tpm-menu-btn[aria-expanded="true"] .tpm-menu-btn__open { display: none; }
.tpm-menu-btn[aria-expanded="true"] .tpm-menu-btn__close { display: block !important; }

/* =========================================================
   FOOTER
   ========================================================= */
.tpm-footer {
  background: var(--tpm-surface-alt);
  border-top: 1px solid var(--tpm-border);
  color: var(--tpm-text);
}
.tpm-footer__inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 56px 24px 0;
}
.tpm-footer__cols {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  align-items: start;
  padding-bottom: 36px;
}
.tpm-footer__brand-col {
  display: flex; flex-direction: column;
  gap: 14px;
  max-width: 340px;
}
.tpm-footer__brand {
  display: inline-flex; align-items: center; gap: 10px;
  text-decoration: none; color: inherit;
}
.tpm-footer__brand .tpm-brand__monkey { width: 36px; height: 36px; }
.tpm-footer__tagline {
  font-size: 13px;
  line-height: 1.5;
  color: var(--tpm-text-muted);
  margin: 0;
}
.tpm-footer__social {
  display: flex; gap: 8px;
  margin-top: 4px;
}
.tpm-footer__social-link {
  width: 32px; height: 32px;
  border-radius: 50%;
  border: 1px solid var(--tpm-border);
  background: var(--tpm-surface);
  color: var(--tpm-text-muted);
  display: inline-flex; align-items: center; justify-content: center;
  text-decoration: none;
  transition: border-color 0.12s ease, color 0.12s ease;
}
.tpm-footer__social-link:hover {
  border-color: var(--tpm-border-strong);
  color: var(--tpm-text);
}
.tpm-footer__social-link svg { width: 13px; height: 13px; }
.tpm-footer__col h4 {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--tpm-text-faint);
  margin: 0 0 14px;
}
.tpm-footer__col ul {
  list-style: none;
  margin: 0; padding: 0;
  display: flex; flex-direction: column;
  gap: 9px;
}
.tpm-footer__col a {
  text-decoration: none;
  color: var(--tpm-text);
  font-size: 13.5px;
  font-weight: 400;
  transition: color 0.12s ease;
}
.tpm-footer__col a:hover { color: var(--tpm-blue-dark); }
.tpm-footer__col a .tpm-nav__flame {
  color: var(--tpm-flame);
  margin-right: 4px;
}

/* Banda inferior brand blue — firma editorial */
.tpm-footer__band {
  background: var(--tpm-blue-dark);
  color: rgba(255, 255, 255, 0.92);
}
.tpm-footer__band-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 18px 24px;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 12px;
  line-height: 1.55;
}
.tpm-footer__bottom-meta {
  display: flex; align-items: baseline; gap: 16px;
  flex-wrap: wrap;
}
.tpm-footer__bottom-meta span { white-space: nowrap; }
.tpm-footer__bottom-meta a {
  color: rgba(255, 255, 255, 0.95);
  text-decoration: none;
  border-bottom: 1px dotted rgba(255, 255, 255, 0.4);
}
.tpm-footer__bottom-meta a:hover { color: #fff; border-bottom-color: #fff; }
.tpm-footer__disclosure {
  max-width: 560px;
  font-size: 11.5px;
  color: rgba(255, 255, 255, 0.78);
  margin: 0;
}

@media (max-width: 768px) {
  .tpm-footer__inner { padding: 40px 20px 0; }
  .tpm-footer__cols { grid-template-columns: 1fr 1fr; gap: 28px 24px; }
  .tpm-footer__brand-col { grid-column: 1 / -1; max-width: none; }
  .tpm-footer__band-inner { flex-direction: column; align-items: flex-start; gap: 12px; }
}

/* =========================================================
   PRODUCT CARD (componente de iteración 1)
   ========================================================= */
.product-card {
  display: flex; flex-direction: column;
  background: var(--tpm-surface);
  border: 1px solid var(--tpm-border);
  border-radius: var(--tpm-radius);
  overflow: hidden;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
  position: relative;
}
.product-card:hover {
  border-color: var(--tpm-border-strong);
  box-shadow: var(--tpm-shadow-hover);
}
.product-card__image {
  position: relative;
  aspect-ratio: 1 / 1;
  background: #ffffff;
  display: flex; align-items: center; justify-content: center;
  border-bottom: 1px solid var(--tpm-border);
  overflow: hidden;
}
.product-card__image > a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
}
.product-card__image img,
.product-card__image svg.placeholder {
  max-width: 78%; max-height: 78%;
  width: auto; height: auto;
  object-fit: contain;
}
.product-card__discount {
  position: absolute;
  top: 10px; left: 10px;
  display: inline-flex; align-items: center;
  font-size: 11px; font-weight: 700; line-height: 1;
  letter-spacing: 0.02em;
  padding: 6px 9px;
  border-radius: var(--tpm-radius-sm);
  background: var(--tpm-discount);
  color: #fff;
  font-variant-numeric: tabular-nums;
  z-index: 2;
}
.product-card__body {
  display: flex; flex-direction: column;
  gap: 6px;
  padding: 14px 14px 12px;
  flex: 1 1 auto;
}
.product-card__meta {
  display: flex; align-items: center;
  gap: 8px;
  min-height: 14px;
  margin: 0;
}
.product-card__brand {
  font-size: 10.5px; font-weight: 500;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--tpm-text-faint);
  margin: 0;
}
.product-card__prime {
  display: inline-flex; align-items: center;
  gap: 3px;
  font-size: 10.5px; font-weight: 700;
  color: var(--tpm-prime);
  line-height: 1;
}
.product-card__prime svg { width: 9px; height: 9px; }
.product-card__prime-text { font-style: italic; font-weight: 700; }
.product-card__title {
  font-size: 14.5px; font-weight: 500;
  line-height: 1.35;
  color: var(--tpm-text);
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  min-height: 2.7em;
}
.product-card__title a { color: inherit; text-decoration: none; }
.product-card__title a:hover { text-decoration: underline; text-underline-offset: 2px; }
.product-card__price-row {
  display: flex; align-items: baseline; flex-wrap: wrap;
  gap: 8px;
  margin-top: auto;
  padding-top: 8px;
}
.product-card__price {
  font-size: 22px; font-weight: 700; line-height: 1.1;
  color: var(--tpm-text);
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.01em;
}
.product-card__price--unavailable {
  font-size: 15px; font-weight: 500;
  color: var(--tpm-text-muted);
  font-style: italic;
}
.product-card__price-old {
  font-size: 13px;
  color: var(--tpm-text-faint);
  text-decoration: line-through;
  font-variant-numeric: tabular-nums;
}
.product-card__fresh {
  display: inline-flex; align-items: center;
  gap: 5px;
  align-self: flex-start;
  font-size: 11px; font-weight: 500;
  color: var(--tpm-text-muted);
  margin-top: 2px;
}
.product-card__fresh svg {
  width: 10px; height: 10px;
  color: var(--tpm-fresh);
  flex-shrink: 0;
}
.product-card__strip {
  display: flex; align-items: center;
  gap: 8px;
  padding: 9px 14px;
  font-size: 11px; font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  line-height: 1;
  border-top: 1px solid var(--tpm-border);
}
.product-card__strip svg { width: 12px; height: 12px; flex-shrink: 0; }
.product-card__strip--min {
  background: var(--tpm-blue);
  color: #fff;
  border-top-color: var(--tpm-blue);
}
.product-card__strip--soft {
  background: var(--tpm-blue-soft);
  color: var(--tpm-blue-dark);
  border-top-color: var(--tpm-blue-soft-br);
}
.dark-mode .product-card__strip--soft,
body.dark-mode .product-card__strip--soft { color: var(--tpm-blue); }
.product-card__cta-wrap {
  padding: 12px 14px 14px;
  border-top: 1px solid var(--tpm-border);
}
.product-card__strip + .product-card__cta-wrap {
  border-top: none;
  padding-top: 10px;
}
.product-card__cta {
  display: flex; align-items: center; justify-content: center;
  gap: 6px;
  width: 100%;
  font: inherit; font-size: 13.5px; font-weight: 700;
  letter-spacing: 0.01em;
  color: var(--tpm-cta-text);
  background: var(--tpm-cta);
  border: 1px solid transparent;
  border-radius: var(--tpm-radius);
  padding: 10px 12px;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.15s ease;
  white-space: nowrap;
}
.product-card__cta:hover,
.product-card__cta:focus-visible {
  background: var(--tpm-cta-hover);
  outline: none;
}
.product-card__cta:focus-visible {
  box-shadow: 0 0 0 3px rgba(0, 125, 195, 0.35);
}
.product-card__cta svg { width: 11px; height: 11px; }
.product-card--unavailable .product-card__image {
  opacity: 0.55;
  filter: saturate(0.6);
}
.product-card--unavailable .product-card__title {
  color: var(--tpm-text-muted);
}

/* =========================================================
   UTILIDADES COMUNES
   ========================================================= */
.tpm-page {
  max-width: 1280px;
  margin: 0 auto;
  padding: 36px 24px 60px;
}
.tpm-page-wide {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 24px;
}
.tpm-section-title {
  font-size: 32px;
  font-weight: 700;
  letter-spacing: -0.015em;
  color: var(--tpm-text);
  margin: 0 0 24px;
  display: flex; align-items: center;
  gap: 14px;
}
.tpm-section-title::before,
.tpm-section-title::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--tpm-border);
}
.tpm-section-title--left {
  justify-content: flex-start;
}
.tpm-section-title--left::before { display: none; }
.tpm-section-title--left::after {
  margin-left: 8px;
  max-width: 80px;
}
.tpm-eyebrow {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--tpm-text-faint);
}
.tpm-grid-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 20px;
}
.tpm-link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--tpm-blue-dark);
  text-decoration: none;
}
.tpm-link-arrow:hover { text-decoration: underline; text-underline-offset: 2px; }
body.dark-mode .tpm-link-arrow,
.dark-mode .tpm-link-arrow { color: var(--tpm-blue); }
