/*
Theme Name: Termodinámica Catálogo
Theme URI: https://www.termodinamicaltd.com/
Author: Termodinámica Ltda.
Description: Catálogo profesional de productos con fichas técnicas, filtros y contacto directo por WhatsApp.
Version: 2.22.0
Requires at least: 6.4
Tested up to: 6.8
Requires PHP: 7.4
Text Domain: termodinamica-catalogo
*/

/* Protección disuasoria de recursos visuales. No afecta enlaces ni accesibilidad. */
img,
video {
	-webkit-user-drag: none;
	-webkit-touch-callout: none;
	-webkit-user-select: none;
	user-select: none;
}

:root {
  --tdm-red: #d60025;
  --tdm-logo-red: #ae162b;
  --tdm-red-dark: #a9001d;
  --tdm-red-soft: #fff0f3;
  --tdm-charcoal: #242424;
  --tdm-ink: #141414;
  --tdm-muted: #656565;
  --tdm-line: #e6e6e6;
  --tdm-surface: #f5f5f4;
  --tdm-white: #ffffff;
  --tdm-radius-sm: 10px;
  --tdm-radius: 18px;
  --tdm-radius-lg: 28px;
  --tdm-shadow: 0 18px 55px rgba(21, 21, 21, 0.1);
  --tdm-container: 1220px;
}

/* V48: logo KRUGEN con letras negras y transparencia real, sin caja de fondo. */
.brand-heading-logo[alt="KRUGEN"] {
  width: auto;
  height: auto;
  max-width: 190px;
  max-height: 42px;
}

@media (max-width: 620px) {
  .brand-heading-logo[alt="KRUGEN"] {
    max-width: 150px;
    max-height: 34px;
  }
}

.catalog-site-title.is-brand-logo img[alt="KRUGEN"] {
  width: auto;
  height: auto;
  max-width: 150px;
  max-height: 38px;
}

@media (max-width: 620px) {
  .catalog-site-title.is-brand-logo img[alt="KRUGEN"] {
    max-width: 102px;
    max-height: 30px;
  }
}

/* Catálogo institucional 2.0 — conserva la paleta y el lenguaje visual original. */
.home-hero,
.why-section,
.products-showcase,
.experience-section,
.catalog-contact-section {
  scroll-margin-top: 92px;
}

.home-hero {
  padding: 46px 0 86px;
}

.home-hero-panel {
  min-height: 620px;
  grid-template-columns: minmax(0, 850px);
  align-content: center;
}

.home-hero-panel::after {
  position: absolute;
  z-index: 0;
  inset: 0;
  background: linear-gradient(90deg, rgba(16, 16, 16, 0.92) 0%, rgba(16, 16, 16, 0.69) 57%, rgba(16, 16, 16, 0.2) 100%);
  content: "";
  pointer-events: none;
}

.home-hero-panel .catalog-intro-video {
  opacity: 1;
}

.home-hero-panel .catalog-label {
  max-width: 620px;
  line-height: 1.4;
}

.home-hero-panel .catalog-intro-copy > p {
  max-width: 760px;
  color: rgba(255, 255, 255, 0.84);
  font-size: 1.08rem;
}

.why-section {
  padding: 104px 0;
  background: var(--tdm-white);
}

.why-heading {
  max-width: 940px;
}

.why-heading p {
  max-width: 850px;
}

.why-grid {
  display: grid;
  overflow: hidden;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-radius: var(--tdm-radius-lg);
  box-shadow: var(--tdm-shadow);
}

.why-card {
  min-height: 330px;
  padding: 38px 34px;
}

.why-card-dark {
  background: var(--tdm-charcoal);
  color: var(--tdm-white);
}

.why-card-red {
  background: var(--tdm-red);
  color: var(--tdm-white);
}

.why-card-light {
  background: #efefed;
  color: var(--tdm-charcoal);
}

.why-card-number {
  display: inline-flex;
  width: 42px;
  height: 31px;
  align-items: center;
  justify-content: center;
  margin-bottom: 48px;
  border: 1px solid currentColor;
  border-radius: 999px;
  opacity: 0.58;
  font-size: 0.7rem;
  font-weight: 900;
  letter-spacing: 0.1em;
}

.why-card h3 {
  margin: 0 0 15px;
  font-size: 1.48rem;
  letter-spacing: -0.025em;
  line-height: 1.12;
}

.why-card p {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.68;
}

.why-card-dark p,
.why-card-red p {
  color: rgba(255, 255, 255, 0.78);
}

.years-banner {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 18px;
  margin-top: 20px;
  padding: 30px;
  border-radius: 18px;
  background: var(--tdm-charcoal);
  color: var(--tdm-white);
  text-align: center;
  text-transform: uppercase;
}

.years-banner strong {
  color: var(--tdm-red);
  font-size: clamp(2.25rem, 5vw, 4.8rem);
  letter-spacing: -0.06em;
  line-height: 0.9;
}

.years-banner span {
  font-size: clamp(1rem, 2vw, 1.5rem);
  font-weight: 900;
  letter-spacing: 0.08em;
}

.products-showcase {
  padding: 104px 0;
}

.products-heading {
  max-width: 900px;
}

.catalog-filter span {
  margin-left: 5px;
  opacity: 0.72;
}

.catalog-filter-fields {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(250px, 330px);
  gap: 14px;
}

.catalog-type-filter {
  display: grid;
  gap: 6px;
}

.catalog-type-filter > span {
  color: var(--tdm-muted);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.catalog-type-filter select {
  width: 100%;
  min-height: 54px;
  padding: 12px 42px 12px 16px;
  border: 1px solid #d8d8d8;
  border-radius: 12px;
  outline: 0;
  background: var(--tdm-white);
  color: var(--tdm-ink);
}

.catalog-type-filter select:focus {
  border-color: var(--tdm-red);
  box-shadow: 0 0 0 4px rgba(214, 0, 37, 0.08);
}

.brand-catalog {
  display: grid;
  gap: 34px;
}

.brand-product-group {
  padding: 26px;
  border: 1px solid #dddddc;
  border-radius: 18px;
  background: var(--tdm-white);
  box-shadow: 0 12px 32px rgba(22, 22, 22, 0.055);
}

.brand-product-group[hidden] {
  display: none;
}

.brand-product-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 22px;
  margin-bottom: 24px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--tdm-line);
}

.brand-product-heading > div {
  display: grid;
}

.brand-product-heading span {
  color: var(--tdm-red);
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.brand-product-heading h2,
.brand-product-heading h3 {
  margin: 3px 0 0;
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  letter-spacing: -0.045em;
  line-height: 1;
}

.brand-product-heading > strong {
  padding: 8px 13px;
  border-radius: 999px;
  background: var(--tdm-red-soft);
  color: var(--tdm-red);
  font-size: 0.76rem;
  white-space: nowrap;
}

.experience-section {
  padding: 104px 0;
  background: var(--tdm-white);
}

.experience-panel {
  display: grid;
  overflow: hidden;
  grid-template-columns: minmax(0, 1.25fr) minmax(360px, 0.75fr);
  border-radius: var(--tdm-radius-lg);
  background: var(--tdm-charcoal);
  box-shadow: var(--tdm-shadow);
  color: var(--tdm-white);
}

.experience-copy {
  padding: clamp(42px, 6vw, 76px);
}

.experience-copy h2 {
  max-width: 740px;
  margin: 0;
  font-size: clamp(2.35rem, 5vw, 4.65rem);
  letter-spacing: -0.058em;
  line-height: 0.98;
}

.experience-stats {
  display: grid;
  grid-template-rows: repeat(2, 1fr);
  background: var(--tdm-red);
}

.experience-stats > div {
  display: grid;
  align-content: center;
  padding: 34px 42px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.24);
}

.experience-stats > div:last-child {
  border-bottom: 0;
}

.experience-stats strong {
  font-size: clamp(2.8rem, 5.5vw, 5.6rem);
  letter-spacing: -0.07em;
  line-height: 0.9;
}

.experience-stats span {
  margin-top: 10px;
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.form-notice {
  margin-top: 20px;
  padding: 13px 15px;
  border-radius: 10px;
  font-size: 0.86rem;
  font-weight: 800;
}

.form-notice-success {
  border: 1px solid #b6ddbf;
  background: #edf8ef;
  color: #176c2b;
}

.form-notice-error {
  border: 1px solid #efb3bd;
  background: var(--tdm-red-soft);
  color: var(--tdm-red-dark);
}

.tdm-honeypot {
  position: absolute !important;
  overflow: hidden !important;
  width: 1px !important;
  height: 1px !important;
  clip: rect(1px, 1px, 1px, 1px) !important;
  white-space: nowrap !important;
}

@media (max-width: 1080px) {
  .why-grid {
    grid-template-columns: 1fr 1fr;
  }

  .why-card-light {
    grid-column: 1 / -1;
  }

  .experience-panel {
    grid-template-columns: 1fr;
  }

  .experience-stats {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: none;
  }

  .experience-stats > div {
    border-right: 1px solid rgba(255, 255, 255, 0.24);
    border-bottom: 0;
  }

  .experience-stats > div:last-child {
    border-right: 0;
  }
}

@media (max-width: 860px) {
  .home-hero-panel {
    min-height: 560px;
  }

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

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

  .why-card-light {
    grid-column: auto;
  }

  .years-banner {
    align-items: center;
    flex-direction: column;
    gap: 9px;
  }
}

@media (max-width: 620px) {
  .home-hero,
  .products-showcase {
    padding-top: 20px;
  }

  .home-hero-panel {
    min-height: 520px;
  }

  .home-hero-panel::after {
    background: linear-gradient(180deg, rgba(16, 16, 16, 0.78) 0%, rgba(16, 16, 16, 0.9) 100%);
  }

  .home-hero-panel .catalog-label {
    font-size: 0.62rem;
  }

  .why-section,
  .products-showcase,
  .experience-section,
  .catalog-contact-section {
    padding-bottom: 72px;
  }

  .why-card {
    min-height: 0;
    padding: 29px 24px;
  }

  .why-card-number {
    margin-bottom: 28px;
  }

  .catalog-console-heading,
  .brand-product-heading {
    align-items: start;
    flex-direction: column;
  }

  .brand-product-group {
    padding: 18px 14px;
  }

  .experience-stats {
    grid-template-columns: 1fr;
  }

  .experience-stats > div {
    min-height: 180px;
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.24);
  }
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--tdm-white);
  color: var(--tdm-ink);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
}

body.admin-bar .site-header {
  top: 32px;
}

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

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

button,
input,
select,
textarea {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

.container {
  width: min(calc(100% - 40px), var(--tdm-container));
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  z-index: 9999;
  top: 8px;
  left: 8px;
  padding: 10px 16px;
  transform: translateY(-160%);
  border-radius: 8px;
  background: var(--tdm-charcoal);
  color: var(--tdm-white);
}

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

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 14px;
  color: var(--tdm-red);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.eyebrow::before {
  width: 28px;
  height: 3px;
  background: var(--tdm-red);
  content: "";
}

.section-heading {
  max-width: 780px;
  margin-bottom: 36px;
}

.section-heading h2,
.product-archive-header h1,
.contact-intro h2 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.7rem);
  font-weight: 900;
  letter-spacing: -0.045em;
  line-height: 1.02;
}

.section-heading p,
.product-archive-header p,
.contact-intro p {
  max-width: 680px;
  margin: 18px 0 0;
  color: var(--tdm-muted);
  font-size: 1.05rem;
}

.button {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 22px;
  border: 1px solid transparent;
  border-radius: 10px;
  cursor: pointer;
  font-weight: 800;
  line-height: 1.15;
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
}

.button-primary {
  background: var(--tdm-red);
  box-shadow: 0 12px 25px rgba(214, 0, 37, 0.23);
  color: var(--tdm-white);
}

.button-primary:hover,
.button-primary:focus-visible {
  background: var(--tdm-red-dark);
}

.button-dark {
  background: var(--tdm-charcoal);
  color: var(--tdm-white);
}

.button-light {
  border-color: #d8d8d8;
  background: var(--tdm-white);
  color: var(--tdm-charcoal);
}

.button-light:hover,
.button-light:focus-visible {
  border-color: var(--tdm-red);
  color: var(--tdm-red);
}

.button svg,
.icon-inline {
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
}

/* Header */
.site-header {
  position: sticky;
  z-index: 1000;
  top: 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.07);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.04);
  backdrop-filter: blur(14px);
}

.header-inner {
  position: relative;
  display: flex;
  min-height: 82px;
  align-items: center;
  gap: 14px;
}

.brand {
  width: auto;
  flex: 0 0 auto;
}

.brand img {
  display: block;
  width: auto;
  height: 62px;
  max-width: 238px;
  object-fit: contain;
  object-position: left center;
}

.site-nav {
  position: absolute;
  z-index: 30;
  top: calc(100% + 1px);
  right: 0;
  display: none;
  width: min(430px, calc(100vw - 40px));
  max-height: calc(100vh - 110px);
  overflow-y: auto;
  align-items: stretch;
  flex-direction: column;
  gap: 2px;
  padding: 14px;
  border: 1px solid var(--tdm-line);
  border-radius: 14px;
  background: linear-gradient(145deg, #ececea, #dededb);
  box-shadow: var(--tdm-shadow);
}

.site-nav.is-open {
  display: flex;
}

.site-nav a {
  position: relative;
  padding: 11px 12px;
  border-radius: 8px;
  color: #363636;
  font-size: 0.94rem;
  font-weight: 750;
}

.site-nav a::after {
  display: none;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  background: var(--tdm-red-soft);
  color: var(--tdm-red);
}

.site-nav-categories {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px;
  margin-top: 8px;
  padding-top: 12px;
  border-top: 1px solid var(--tdm-line);
}

.site-nav-categories-title {
  grid-column: 1 / -1;
  padding: 2px 4px 5px;
  color: var(--tdm-red);
  font-size: 0.65rem;
  font-weight: 900;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.site-nav .site-nav-category {
  padding: 9px 10px;
  background: #f5f5f3;
  color: var(--tdm-charcoal);
  font-size: 0.78rem;
}

.header-cta {
  min-height: 44px;
  padding: 11px 16px;
  font-size: 0.88rem;
}

.menu-toggle {
  display: inline-flex;
  width: 46px;
  height: 46px;
  align-items: center;
  justify-content: center;
  margin-left: auto;
  border: 1px solid var(--tdm-line);
  border-radius: 10px;
  background: var(--tdm-white);
  color: var(--tdm-charcoal);
  cursor: pointer;
}

.menu-toggle svg {
  width: 24px;
  height: 24px;
}

/* Hero */
.hero {
  position: relative;
  overflow: hidden;
  padding: 76px 0 0;
  background:
    radial-gradient(circle at 76% 25%, rgba(214, 0, 37, 0.1), transparent 24%),
    linear-gradient(135deg, #fff 0%, #f3f3f2 100%);
}

.hero::before {
  position: absolute;
  top: -100px;
  right: -110px;
  width: 430px;
  height: 430px;
  border: 42px solid rgba(214, 0, 37, 0.05);
  transform: rotate(18deg);
  content: "";
}

.hero-grid {
  position: relative;
  display: grid;
  min-height: 610px;
  align-items: center;
  grid-template-columns: 0.92fr 1.08fr;
  gap: 28px;
}

.hero-copy {
  z-index: 2;
  align-self: start;
  padding-top: 42px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 22px;
  padding: 9px 17px;
  clip-path: polygon(8px 0, 100% 0, calc(100% - 8px) 100%, 0 100%);
  background: var(--tdm-red);
  color: var(--tdm-white);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 660px;
  margin: 0;
  font-family: "Arial Black", Arial, Helvetica, sans-serif;
  font-size: clamp(3.2rem, 6vw, 6.15rem);
  font-style: italic;
  font-weight: 900;
  letter-spacing: -0.07em;
  line-height: 0.9;
  text-transform: uppercase;
}

.hero h1 span {
  display: block;
  color: var(--tdm-red);
}

.hero-copy > p {
  max-width: 590px;
  margin: 28px 0 0;
  color: #4c4c4c;
  font-size: 1.08rem;
  line-height: 1.72;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.hero-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 26px;
  margin-top: 38px;
}

.hero-proof-item {
  display: flex;
  align-items: center;
  gap: 11px;
  color: #4b4b4b;
  font-size: 0.88rem;
  font-weight: 700;
}

.hero-proof-icon,
.contact-icon,
.benefit-icon,
.spec-check {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--tdm-red);
  color: var(--tdm-white);
}

.hero-proof-icon {
  width: 34px;
  height: 34px;
}

.hero-proof-icon svg {
  width: 18px;
  height: 18px;
}

.hero-visual {
  position: relative;
  min-height: 570px;
  align-self: end;
}

.hero-visual::after {
  position: absolute;
  right: 1%;
  bottom: 43px;
  width: 87%;
  height: 50px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.13);
  content: "";
  filter: blur(18px);
}

.hero-machine {
  position: absolute;
  z-index: 2;
  right: -2%;
  bottom: 36px;
  width: min(720px, 108%);
  max-height: 535px;
  object-fit: contain;
  filter: drop-shadow(0 25px 26px rgba(0, 0, 0, 0.17));
}

.hero-model-card {
  position: absolute;
  z-index: 3;
  top: 44px;
  right: 10px;
  width: 210px;
  padding: 20px 21px;
  border-left: 5px solid var(--tdm-red);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.91);
  box-shadow: var(--tdm-shadow);
  backdrop-filter: blur(8px);
}

.hero-model-card small {
  display: block;
  color: var(--tdm-red);
  font-size: 0.7rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero-model-card strong {
  display: block;
  margin-top: 4px;
  font-size: 1.05rem;
  line-height: 1.2;
}

.hero-feature-strip {
  position: relative;
  z-index: 4;
  margin-top: 8px;
  background: var(--tdm-charcoal);
  color: var(--tdm-white);
}

.feature-strip-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.feature-strip-item {
  display: flex;
  min-height: 104px;
  align-items: center;
  gap: 16px;
  padding: 24px 30px;
  border-right: 1px solid rgba(255, 255, 255, 0.16);
}

.feature-strip-item:last-child {
  border-right: 0;
}

.feature-strip-item svg {
  width: 35px;
  height: 35px;
  flex: 0 0 auto;
  color: var(--tdm-red);
}

.feature-strip-item strong {
  display: block;
  max-width: 190px;
  font-size: 0.88rem;
  line-height: 1.35;
  text-transform: uppercase;
}

/* Brands and benefits */
.brand-band {
  padding: 34px 0;
  border-bottom: 1px solid var(--tdm-line);
  background: var(--tdm-white);
}

.brand-band-grid {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.brand-band-label {
  flex: 0 0 auto;
  color: var(--tdm-muted);
  font-size: 0.72rem;
  font-weight: 850;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.brand-list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 13px;
}

.brand-pill {
  padding: 8px 14px;
  border: 1px solid #dedede;
  border-radius: 999px;
  color: #393939;
  font-size: 0.75rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.why-section {
  padding: 100px 0;
  background: var(--tdm-white);
}

.benefit-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.benefit-card {
  padding: 28px;
  border: 1px solid var(--tdm-line);
  border-radius: var(--tdm-radius);
  background: var(--tdm-white);
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.benefit-card:hover {
  transform: translateY(-4px);
  border-color: rgba(214, 0, 37, 0.3);
  box-shadow: var(--tdm-shadow);
}

.benefit-icon {
  width: 48px;
  height: 48px;
}

.benefit-icon svg {
  width: 24px;
  height: 24px;
}

.benefit-card h3 {
  margin: 20px 0 9px;
  font-size: 1.08rem;
  line-height: 1.25;
}

.benefit-card p {
  margin: 0;
  color: var(--tdm-muted);
  font-size: 0.92rem;
  line-height: 1.62;
}

/* Catalog */
.catalog-section,
.product-archive {
  padding: 100px 0;
  background: var(--tdm-surface);
}

.catalog-toolbar {
  display: grid;
  align-items: end;
  grid-template-columns: 1fr auto;
  gap: 24px;
  margin-bottom: 30px;
}

.catalog-search {
  position: relative;
  max-width: 540px;
}

.catalog-search svg {
  position: absolute;
  top: 50%;
  left: 18px;
  width: 21px;
  height: 21px;
  transform: translateY(-50%);
  color: #7a7a7a;
  pointer-events: none;
}

.catalog-search input {
  width: 100%;
  min-height: 54px;
  padding: 13px 18px 13px 50px;
  border: 1px solid #d8d8d8;
  border-radius: 12px;
  outline: 0;
  background: var(--tdm-white);
  color: var(--tdm-ink);
}

.catalog-search input:focus {
  border-color: var(--tdm-red);
  box-shadow: 0 0 0 4px rgba(214, 0, 37, 0.08);
}

.catalog-count {
  color: var(--tdm-muted);
  font-size: 0.9rem;
  font-weight: 700;
}

.catalog-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-bottom: 35px;
}

.catalog-filter {
  min-height: 42px;
  padding: 9px 15px;
  border: 1px solid #d6d6d6;
  border-radius: 999px;
  background: var(--tdm-white);
  color: #4f4f4f;
  cursor: pointer;
  font-size: 0.82rem;
  font-weight: 800;
  transition: background 160ms ease, border-color 160ms ease, color 160ms ease;
}

.catalog-filter:hover,
.catalog-filter:focus-visible,
.catalog-filter.is-active {
  border-color: var(--tdm-red);
  background: var(--tdm-red);
  color: var(--tdm-white);
}

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

.product-card {
  position: relative;
  display: flex;
  min-width: 0;
  overflow: hidden;
  flex-direction: column;
  border: 1px solid #e1e1e1;
  border-radius: var(--tdm-radius);
  background: var(--tdm-white);
  box-shadow: 0 8px 24px rgba(22, 22, 22, 0.045);
  transition: transform 190ms ease, box-shadow 190ms ease, border-color 190ms ease;
}

.product-card:hover {
  transform: translateY(-5px);
  border-color: rgba(214, 0, 37, 0.28);
  box-shadow: 0 22px 45px rgba(22, 22, 22, 0.11);
}

.product-card[hidden] {
  display: none;
}

.product-card-image {
  position: relative;
  display: flex;
  min-height: 270px;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 26px;
  background: linear-gradient(145deg, #ececea, #dededb);
}

.product-card-image::after {
  position: absolute;
  right: -32px;
  bottom: -48px;
  width: 145px;
  height: 145px;
  border: 26px solid rgba(214, 0, 37, 0.07);
  transform: rotate(20deg);
  content: "";
}

.product-card-image img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 220px;
  object-fit: contain;
  object-position: center;
  transition: transform 220ms ease;
}

.product-card:hover .product-card-image img {
  transform: none;
}

.product-brand {
  position: absolute;
  z-index: 2;
  top: 16px;
  left: 16px;
  padding: 6px 10px;
  border-radius: 6px;
  background: var(--tdm-red);
  color: var(--tdm-white);
  font-size: 0.67rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.product-card-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 24px;
}

.product-category {
  margin-bottom: 8px;
  color: var(--tdm-red);
  font-size: 0.7rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.product-card h3 {
  margin: 0;
  font-size: 1.19rem;
  line-height: 1.3;
}

.product-mini-specs {
  display: grid;
  gap: 7px;
  margin: 19px 0 22px;
  padding: 0;
  color: var(--tdm-muted);
  font-size: 0.84rem;
  list-style: none;
}

.product-mini-specs li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.product-mini-specs li::before {
  width: 7px;
  height: 7px;
  flex: 0 0 auto;
  margin-top: 7px;
  border-radius: 50%;
  background: var(--tdm-red);
  content: "";
}

.product-price {
  display: grid;
  gap: 3px;
  margin: 0 0 18px;
  padding: 14px 15px;
  border: 1px solid #ededed;
  border-left: 4px solid var(--tdm-red);
  border-radius: 12px;
  background: #fafaf9;
}

.product-price > span {
  color: var(--tdm-muted);
  font-size: 0.67rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.product-price strong {
  color: var(--tdm-red);
  font-size: 1.23rem;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.product-price small {
  color: #777;
  font-size: 0.7rem;
}

.product-price.is-unavailable {
  border-left-color: #777;
}

.product-price.is-unavailable strong {
  color: var(--tdm-charcoal);
  font-size: 1rem;
}

.product-card-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-top: auto;
  padding-top: 18px;
  border-top: 1px solid var(--tdm-line);
  color: var(--tdm-charcoal);
  font-size: 0.88rem;
  font-weight: 900;
}

.product-card-link span:last-child {
  display: inline-flex;
  width: 34px;
  height: 34px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--tdm-red-soft);
  color: var(--tdm-red);
  transition: background 160ms ease, color 160ms ease;
}

.product-card:hover .product-card-link span:last-child {
  background: var(--tdm-red);
  color: var(--tdm-white);
}

.catalog-empty {
  display: none;
  padding: 34px;
  border: 1px dashed #cfcfcf;
  border-radius: var(--tdm-radius);
  background: var(--tdm-white);
  color: var(--tdm-muted);
  text-align: center;
}

.catalog-empty.is-visible {
  display: block;
}

.catalog-more {
  display: flex;
  justify-content: center;
  margin-top: 38px;
}

/* Contact */
.contact-section {
  padding: 100px 0;
  background: var(--tdm-white);
}

.contact-layout {
  display: grid;
  align-items: start;
  grid-template-columns: 0.82fr 1.18fr;
  gap: 48px;
}

.contact-intro {
  position: sticky;
  top: 118px;
}

.advisor-card {
  margin-top: 28px;
  padding: 26px;
  border-radius: var(--tdm-radius);
  background: var(--tdm-red);
  box-shadow: 0 20px 40px rgba(214, 0, 37, 0.2);
  color: var(--tdm-white);
}

.advisor-card small {
  display: block;
  opacity: 0.78;
  font-size: 0.73rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.advisor-card strong {
  display: block;
  margin: 5px 0 2px;
  font-size: 1.35rem;
}

.advisor-card a {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-top: 17px;
  padding: 10px 15px;
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 9px;
  font-weight: 800;
}

.contact-panel {
  overflow: hidden;
  border-radius: var(--tdm-radius-lg);
  background: var(--tdm-charcoal);
  box-shadow: var(--tdm-shadow);
}

.contact-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.contact-card {
  min-height: 225px;
  padding: 30px;
  color: var(--tdm-white);
}

.contact-card:nth-child(2) {
  background: var(--tdm-red);
}

.contact-card.location-card {
  grid-column: 1 / -1;
  border-top: 1px solid rgba(255, 255, 255, 0.13);
}

.contact-icon {
  width: 48px;
  height: 48px;
  margin-bottom: 18px;
}

.contact-card:nth-child(2) .contact-icon {
  background: var(--tdm-charcoal);
}

.contact-icon svg {
  width: 23px;
  height: 23px;
}

.contact-card h3 {
  margin: 0 0 10px;
  font-size: 1.2rem;
}

.contact-card p,
.contact-card address {
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.92rem;
  font-style: normal;
  line-height: 1.55;
}

.contact-card a:hover,
.contact-card a:focus-visible {
  color: #fff;
  text-decoration: underline;
}

.location-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.whatsapp-form {
  padding: 32px;
  background: #f6f6f5;
}

.whatsapp-form h3 {
  margin: 0;
  font-size: 1.45rem;
}

.whatsapp-form > p {
  margin: 8px 0 24px;
  color: var(--tdm-muted);
  font-size: 0.92rem;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
}

.form-field {
  display: grid;
  gap: 7px;
}

.form-field.is-wide {
  grid-column: 1 / -1;
}

.form-field label {
  font-size: 0.78rem;
  font-weight: 800;
}

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  border: 1px solid #d6d6d6;
  border-radius: 9px;
  outline: 0;
  background: var(--tdm-white);
}

.form-field input,
.form-field select {
  min-height: 48px;
  padding: 10px 13px;
}

.form-field textarea {
  min-height: 112px;
  padding: 12px 13px;
  resize: vertical;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  border-color: var(--tdm-red);
  box-shadow: 0 0 0 4px rgba(214, 0, 37, 0.08);
}

.form-submit {
  margin-top: 18px;
}

/* Single product */
.product-hero {
  padding: 58px 0 80px;
  background:
    radial-gradient(circle at 20% 20%, rgba(214, 0, 37, 0.08), transparent 26%),
    var(--tdm-surface);
}

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 30px;
  color: var(--tdm-muted);
  font-size: 0.82rem;
}

.breadcrumbs a:hover,
.breadcrumbs a:focus-visible {
  color: var(--tdm-red);
}

.product-detail-grid {
  display: grid;
  align-items: start;
  grid-template-columns: 0.96fr 1.04fr;
  gap: 55px;
}

.product-detail-visual {
  position: sticky;
  top: 115px;
  display: flex;
  min-height: 530px;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 50px;
  border: 1px solid #e0e0e0;
  border-radius: var(--tdm-radius-lg);
  background: var(--tdm-white);
  box-shadow: var(--tdm-shadow);
}

.product-detail-visual::before {
  position: absolute;
  top: -90px;
  left: -95px;
  width: 250px;
  height: 250px;
  border: 34px solid rgba(214, 0, 37, 0.07);
  transform: rotate(18deg);
  content: "";
}

.product-detail-visual img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: min(440px, 60vw);
  object-fit: contain;
  object-position: center;
}

.product-detail-content {
  padding-top: 12px;
}

.detail-labels {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-bottom: 18px;
}

.detail-label {
  padding: 7px 11px;
  border-radius: 999px;
  background: var(--tdm-red-soft);
  color: var(--tdm-red);
  font-size: 0.7rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.product-detail-content h1 {
  margin: 0;
  font-size: clamp(2.3rem, 4.6vw, 4.5rem);
  font-weight: 900;
  letter-spacing: -0.05em;
  line-height: 1;
}

.product-summary {
  margin: 24px 0 0;
  color: #555;
  font-size: 1.04rem;
  line-height: 1.72;
}

.product-price-detail {
  max-width: 460px;
  margin: 26px 0 0;
  padding: 18px 20px;
  background: var(--tdm-white);
  box-shadow: 0 12px 30px rgba(22, 22, 22, 0.07);
}

.product-price-detail strong {
  font-size: clamp(1.65rem, 3vw, 2.2rem);
}

.product-price-detail + .detail-actions {
  margin-top: 18px;
}

.detail-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 11px;
  margin: 28px 0 34px;
}

.assurance-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  padding: 18px 0;
  border-top: 1px solid #dedede;
  border-bottom: 1px solid #dedede;
}

.assurance-item {
  display: flex;
  align-items: center;
  gap: 9px;
  color: #494949;
  font-size: 0.78rem;
  font-weight: 800;
  line-height: 1.3;
}

.specifications-section {
  padding: 80px 0;
  background: var(--tdm-white);
}

.specifications-layout {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: 40px;
}

.specifications-panel,
.usage-panel,
.quote-panel {
  border: 1px solid var(--tdm-line);
  border-radius: var(--tdm-radius);
  background: var(--tdm-white);
}

.panel-heading {
  padding: 24px 28px;
  border-bottom: 1px solid var(--tdm-line);
}

.panel-heading h2,
.panel-heading h3 {
  margin: 0;
  font-size: 1.4rem;
}

.spec-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin: 0;
  padding: 10px 28px 22px;
  list-style: none;
}

.spec-list li {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  padding: 15px 15px 15px 0;
  border-bottom: 1px solid #ececec;
  color: #4f4f4f;
  font-size: 0.91rem;
}

.spec-check {
  width: 23px;
  height: 23px;
  flex: 0 0 auto;
  margin-top: 1px;
  font-size: 0.72rem;
  font-weight: 900;
}

.spec-list strong {
  color: var(--tdm-ink);
}

.product-side-panels {
  display: grid;
  align-content: start;
  gap: 18px;
}

.usage-panel p,
.quote-panel p {
  margin: 0;
  padding: 24px 28px 28px;
  color: var(--tdm-muted);
  font-size: 0.94rem;
}

.quote-panel {
  overflow: hidden;
  border-color: var(--tdm-red);
  background: var(--tdm-red);
  color: var(--tdm-white);
}

.quote-panel .panel-heading {
  border-bottom-color: rgba(255, 255, 255, 0.2);
}

.quote-panel p {
  color: rgba(255, 255, 255, 0.84);
}

.quote-panel .button {
  margin: 0 28px 28px;
  background: var(--tdm-white);
  color: var(--tdm-red);
}

.related-section {
  padding: 82px 0 100px;
  background: var(--tdm-surface);
}

/* Footer and generic pages */
.site-footer {
  background: var(--tdm-red);
  color: var(--tdm-white);
}

.footer-main {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 1fr;
  gap: 50px;
  padding: 55px 0;
}

.footer-brand img {
  width: 250px;
  max-height: 110px;
  object-fit: contain;
  object-position: left center;
  filter: brightness(0) invert(1);
}

.footer-brand p {
  max-width: 390px;
  margin: 15px 0 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.9rem;
}

.footer-column h3 {
  margin: 0 0 16px;
  font-size: 0.88rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.footer-links {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.88rem;
  list-style: none;
}

.footer-links a:hover,
.footer-links a:focus-visible {
  color: var(--tdm-white);
  text-decoration: underline;
}

.footer-bottom {
  padding: 17px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.78rem;
}

.generic-page {
  min-height: 60vh;
  padding: 70px 0 100px;
}

.generic-page article {
  max-width: 820px;
  margin-inline: auto;
}

.generic-page h1 {
  font-size: clamp(2.4rem, 5vw, 4.4rem);
  letter-spacing: -0.05em;
  line-height: 1;
}

.generic-page .entry-content {
  color: #3f3f3f;
  line-height: 1.8;
}

.not-found {
  display: grid;
  min-height: 65vh;
  place-items: center;
  padding: 70px 0;
  text-align: center;
}

.not-found strong {
  display: block;
  color: var(--tdm-red);
  font-size: clamp(5rem, 15vw, 10rem);
  line-height: 0.9;
}

.screen-reader-text {
  position: absolute !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(1px, 1px, 1px, 1px);
  white-space: nowrap;
}

.screen-reader-text:focus {
  z-index: 100000;
  top: 8px;
  left: 8px;
  width: auto;
  height: auto;
  padding: 12px 16px;
  clip: auto;
  background: var(--tdm-white);
  color: var(--tdm-ink);
}

@media (max-width: 1080px) {
  .header-cta {
    display: none;
  }

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

  .hero h1 {
    font-size: clamp(3rem, 7vw, 5rem);
  }

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

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

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

  .contact-intro {
    position: static;
  }

  .footer-main {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 860px) {
  body.admin-bar .site-header {
    top: 46px;
  }

  .header-inner {
    min-height: 72px;
    gap: 10px;
  }

  .brand {
    width: auto;
  }

  .brand img {
    height: 54px;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .site-nav {
    right: 0;
    left: 0;
    width: auto;
    max-height: calc(100vh - 96px);
  }

  .hero {
    padding-top: 52px;
  }

  .hero-grid {
    min-height: auto;
    grid-template-columns: 1fr;
  }

  .hero-copy {
    padding-top: 10px;
  }

  .hero-visual {
    min-height: 450px;
  }

  .hero-machine {
    right: 0;
    left: 0;
    width: min(650px, 100%);
    margin-inline: auto;
  }

  .hero-model-card {
    top: 15px;
    right: 2%;
  }

  .feature-strip-grid {
    grid-template-columns: 1fr;
  }

  .feature-strip-item {
    min-height: auto;
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  }

  .brand-band-grid {
    align-items: flex-start;
    flex-direction: column;
  }

  .brand-list {
    justify-content: flex-start;
  }

  .catalog-toolbar {
    align-items: start;
    grid-template-columns: 1fr;
    gap: 12px;
  }

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

  .product-detail-visual {
    position: relative;
    top: auto;
    min-height: 440px;
  }

  .spec-list {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 620px) {
  .container {
    width: min(calc(100% - 28px), var(--tdm-container));
  }

  .hero {
    padding-top: 34px;
  }

  .hero h1 {
    font-size: clamp(2.65rem, 14vw, 4.2rem);
  }

  .hero-copy > p {
    font-size: 0.98rem;
  }

  .hero-actions .button {
    width: 100%;
  }

  .hero-proof {
    align-items: flex-start;
    flex-direction: column;
    gap: 13px;
  }

  .hero-visual {
    min-height: 350px;
  }

  .hero-machine {
    bottom: 20px;
    max-height: 340px;
  }

  .hero-model-card {
    width: 176px;
    padding: 15px;
  }

  .feature-strip-item {
    padding: 20px 16px;
  }

  .brand-band-label {
    line-height: 1.35;
  }

  .why-section,
  .catalog-section,
  .product-archive,
  .contact-section {
    padding: 72px 0;
  }

  .benefit-grid,
  .product-grid,
  .contact-cards,
  .form-grid,
  .location-columns,
  .footer-main {
    grid-template-columns: 1fr;
  }

  .contact-card.location-card,
  .form-field.is-wide {
    grid-column: auto;
  }

  .product-card-image {
    min-height: 245px;
  }

  .product-card-image img {
    height: 205px;
  }

  .product-detail-visual {
    min-height: 340px;
    padding: 30px;
  }

  .product-detail-content h1 {
    font-size: clamp(2.1rem, 12vw, 3.5rem);
  }

  .assurance-row {
    grid-template-columns: 1fr;
  }

  .specifications-section {
    padding: 58px 0;
  }

  .spec-list {
    padding-inline: 20px;
  }

  .contact-card,
  .whatsapp-form {
    padding: 24px;
  }

  .footer-main {
    gap: 34px;
  }
}

/* Separación visual reforzada entre ubicación, fondo y formulario comercial. */
.directory-card-light {
  border-top: 5px solid var(--tdm-red);
  background: linear-gradient(145deg, #292929 0%, #171717 100%);
  color: var(--tdm-white);
}

.directory-card-light address {
  color: rgba(255, 255, 255, 0.82);
}

.directory-card-light address strong {
  color: var(--tdm-white);
}

.directory-card-light .map-button {
  border-color: var(--tdm-white);
  background: var(--tdm-white);
  color: var(--tdm-red);
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.2);
}

.directory-card-light .map-button:hover,
.directory-card-light .map-button:focus-visible {
  border-color: var(--tdm-red);
  background: var(--tdm-red);
  color: var(--tdm-white);
  text-decoration: none;
}

.catalog-contact-form {
  position: relative;
  overflow: hidden;
  margin-top: 34px;
  border: 1px solid rgba(215, 0, 38, 0.28);
  background: linear-gradient(135deg, #ffffff 0%, #f8f8f6 100%);
  box-shadow: 0 22px 55px rgba(17, 17, 17, 0.12);
}

.catalog-contact-form::before {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 5px;
  background: var(--tdm-red);
  content: "";
}

@media (max-width: 720px) {
  .location-columns,
  .form-grid {
    grid-template-columns: 1fr;
  }

  .form-field.is-wide {
    grid-column: auto;
  }

  .catalog-contact-form {
    gap: 24px;
    padding: 28px 22px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}

/* Prioridad final: separación visual de ubicación y formulario comercial. */
.contact-directory .directory-card-light {
  border-top: 5px solid var(--tdm-red);
  background: linear-gradient(145deg, #292929 0%, #171717 100%);
  color: var(--tdm-white);
}

.contact-directory .directory-card-light address {
  color: rgba(255, 255, 255, 0.82);
}

.contact-directory .directory-card-light address strong {
  color: var(--tdm-white);
}

.contact-directory .directory-card-light .map-button {
  border-color: var(--tdm-white);
  background: var(--tdm-white);
  color: var(--tdm-red);
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.2);
}

.contact-directory .directory-card-light .map-button:hover,
.contact-directory .directory-card-light .map-button:focus-visible {
  border-color: var(--tdm-red);
  background: var(--tdm-red);
  color: var(--tdm-white);
  text-decoration: none;
}

.catalog-contact-section .catalog-contact-form {
  position: relative;
  overflow: hidden;
  margin-top: 34px;
  border: 1px solid rgba(215, 0, 38, 0.28);
  background: linear-gradient(135deg, #ffffff 0%, #f8f8f6 100%);
  box-shadow: 0 22px 55px rgba(17, 17, 17, 0.12);
}

.catalog-contact-section .catalog-contact-form::before {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 5px;
  background: var(--tdm-red);
  content: "";
}

@media (max-width: 720px) {
  .contact-directory .location-columns,
  .catalog-contact-form .form-grid {
    grid-template-columns: 1fr;
  }

  .catalog-contact-form .form-field.is-wide {
    grid-column: auto;
  }

  .catalog-contact-section .catalog-contact-form {
    gap: 24px;
    padding: 28px 22px;
  }
}

/* V43: acceso flotante a WhatsApp visible durante el desplazamiento. */
.floating-whatsapp {
  position: fixed;
  z-index: 9998;
  right: max(22px, env(safe-area-inset-right));
  bottom: max(22px, env(safe-area-inset-bottom));
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 58px;
  padding: 13px 20px 13px 15px;
  border: 2px solid rgba(255, 255, 255, 0.92);
  border-radius: 999px;
  background: #25d366;
  box-shadow: 0 12px 30px rgba(13, 77, 38, 0.32);
  color: #ffffff;
  font-size: 0.94rem;
  font-weight: 900;
  letter-spacing: 0.01em;
  line-height: 1;
  text-decoration: none;
  transform: translateZ(0);
  transition: transform 180ms ease, background-color 180ms ease, box-shadow 180ms ease;
}

.floating-whatsapp:hover,
.floating-whatsapp:focus-visible {
  background: #1fbd5a;
  box-shadow: 0 16px 38px rgba(13, 77, 38, 0.4);
  color: #ffffff;
  transform: translateY(-3px) scale(1.02);
}

.floating-whatsapp:focus-visible {
  outline: 3px solid #ffffff;
  outline-offset: 3px;
}

.floating-whatsapp-icon {
  width: 30px;
  height: 30px;
  flex: 0 0 auto;
}

/* V44: segundo nivel de filtro dependiente de la marca seleccionada. */
.catalog-machine-filter {
  display: grid;
  grid-template-columns: minmax(210px, 0.72fr) minmax(0, 2fr);
  gap: 20px;
  align-items: center;
  margin-top: 22px;
  padding-top: 22px;
  border-top: 1px solid var(--tdm-line);
}

.catalog-machine-filter[hidden] {
  display: none;
}

.catalog-machine-filter-heading {
  display: grid;
  gap: 4px;
}

.catalog-machine-filter-heading span {
  color: var(--tdm-red);
  font-size: 0.66rem;
  font-weight: 900;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.catalog-machine-filter-heading strong {
  color: var(--tdm-ink);
  font-size: 1rem;
  line-height: 1.25;
}

.catalog-machine-options {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(145px, 1fr));
  gap: 8px;
}

.catalog-console .catalog-machine-option {
  min-height: 44px;
}

@media (max-width: 760px) {
  .catalog-machine-filter {
    grid-template-columns: 1fr;
    gap: 12px;
    margin-top: 16px;
    padding-top: 16px;
  }

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

@media (max-width: 380px) {
  .catalog-machine-options {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 620px) {
  .floating-whatsapp {
    right: max(14px, env(safe-area-inset-right));
    bottom: max(14px, env(safe-area-inset-bottom));
    min-width: 56px;
    min-height: 56px;
    padding: 12px 16px 12px 13px;
    gap: 8px;
    font-size: 0.82rem;
  }

  .floating-whatsapp-icon {
    width: 29px;
    height: 29px;
  }
}

@media (max-width: 380px) {
  .floating-whatsapp {
    width: 56px;
    padding: 11px;
  }

  .floating-whatsapp span {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    clip-path: inset(50%);
    white-space: nowrap;
  }
}

/* Catálogo 1.1: experiencia centrada exclusivamente en los equipos */
.catalog-site-title {
  display: grid;
  gap: 1px;
  padding-left: 12px;
  border-left: 1px solid var(--tdm-line);
  color: var(--tdm-charcoal);
  line-height: 1;
  text-transform: uppercase;
}

.catalog-site-title span {
  color: var(--tdm-red);
  font-size: 0.62rem;
  font-weight: 900;
  letter-spacing: 0.17em;
}

.catalog-site-title strong {
  font-size: 0.82rem;
  letter-spacing: 0.07em;
}

.catalog-showcase {
  padding: 46px 0 100px;
  background: var(--tdm-surface);
}

.catalog-intro {
  position: relative;
  display: grid;
  overflow: hidden;
  align-items: center;
  grid-template-columns: minmax(0, 1.28fr) minmax(290px, 0.72fr);
  gap: 55px;
  padding: 52px 56px;
  border-radius: var(--tdm-radius-lg);
  background: var(--tdm-charcoal);
  box-shadow: var(--tdm-shadow);
  color: var(--tdm-white);
}

.catalog-intro-video {
  position: absolute;
  z-index: 0;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0.6;
  pointer-events: none;
}

.catalog-intro-copy,
.catalog-summary {
  position: relative;
  z-index: 1;
}

.catalog-label {
  display: inline-flex;
  margin-bottom: 18px;
  padding: 8px 13px;
  border-radius: 6px;
  background: var(--tdm-red);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.catalog-intro h1 {
  max-width: 740px;
  margin: 0;
  font-size: clamp(2.65rem, 5.6vw, 5.5rem);
  font-weight: 900;
  letter-spacing: -0.065em;
  line-height: 0.94;
}

.catalog-intro-copy > p {
  max-width: 650px;
  margin: 22px 0 0;
  color: rgba(255, 255, 255, 0.7);
  font-size: 1rem;
}

.catalog-summary {
  display: grid;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(8px);
}

.catalog-summary div {
  display: grid;
  min-height: 90px;
  align-content: center;
  padding: 18px 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.13);
}

.catalog-summary div:last-child {
  border-bottom: 0;
}

.catalog-summary strong {
  color: var(--tdm-white);
  font-size: 2rem;
  letter-spacing: -0.04em;
  line-height: 1;
}

.catalog-summary span {
  margin-top: 5px;
  color: rgba(255, 255, 255, 0.64);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.catalog-console {
  margin: 20px 0 30px;
  padding: 25px 28px 22px;
  border: 1px solid var(--tdm-line);
  border-left: 7px solid var(--tdm-red);
  border-radius: 15px;
  background: var(--tdm-white);
  box-shadow: 0 12px 30px rgba(22, 22, 22, 0.06);
}

.catalog-console-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 16px;
}

.catalog-console-heading > div:first-child {
  display: grid;
  line-height: 1.15;
}

.catalog-console-heading span {
  color: var(--tdm-red);
  font-size: 0.66rem;
  font-weight: 900;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.catalog-console-heading strong {
  margin-top: 4px;
  font-size: 1.25rem;
}

.catalog-console .catalog-search {
  display: block;
  max-width: none;
}

.catalog-console .catalog-search input {
  background: #f8f8f7;
}

.catalog-console .catalog-filters {
  margin: 16px 0 0;
}

.catalog-department-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 34px;
  margin: 20px 0 18px;
  padding: 25px 28px;
  border: 1px solid var(--tdm-line);
  border-left: 7px solid var(--tdm-red);
  border-radius: 15px;
  background: var(--tdm-white);
  box-shadow: 0 12px 30px rgba(22, 22, 22, 0.06);
}

.catalog-department-heading > div {
  display: grid;
  line-height: 1.15;
}

.catalog-department-heading span {
  color: var(--tdm-red);
  font-size: 0.66rem;
  font-weight: 900;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.catalog-department-heading strong {
  margin-top: 4px;
  font-size: 1.25rem;
}

.catalog-department-heading p {
  max-width: 520px;
  margin: 0;
  color: var(--tdm-muted);
  font-size: 0.84rem;
}

.exchange-rate-notice {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 0 0 28px;
  padding: 18px 20px;
  border: 1px solid #dedede;
  border-radius: 14px;
  background: var(--tdm-white);
  box-shadow: 0 10px 24px rgba(22, 22, 22, 0.045);
}

.exchange-rate-mark {
  display: inline-flex;
  width: 48px;
  height: 48px;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: var(--tdm-red);
  color: var(--tdm-white);
  font-size: 1.05rem;
  font-weight: 900;
}

.exchange-rate-notice > div {
  min-width: 0;
  flex: 1;
}

.exchange-rate-notice strong {
  display: block;
  font-size: 0.92rem;
  line-height: 1.35;
}

.exchange-rate-notice p {
  margin: 3px 0 0;
  color: var(--tdm-muted);
  font-size: 0.78rem;
  line-height: 1.5;
}

.exchange-rate-notice > a {
  flex: 0 0 auto;
  color: var(--tdm-red);
  font-size: 0.76rem;
  font-weight: 900;
}

.catalog-departments {
  display: grid;
  gap: 14px;
}

.catalog-category-sections {
  display: grid;
  gap: 34px;
}

.catalog-category-section {
  padding: 26px;
  scroll-margin-top: 104px;
  border: 1px solid #dddddc;
  border-radius: 18px;
  background: var(--tdm-white);
  box-shadow: 0 12px 32px rgba(22, 22, 22, 0.055);
}

.catalog-category-header {
  display: grid;
  align-items: center;
  grid-template-columns: 54px minmax(0, 1fr) auto;
  gap: 18px;
  margin-bottom: 24px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--tdm-line);
}

.catalog-category-number {
  display: inline-flex;
  width: 54px;
  height: 54px;
  align-items: center;
  justify-content: center;
  border-radius: 15px;
  background: var(--tdm-red-soft);
  color: var(--tdm-red);
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.catalog-category-copy h2 {
  margin: 0;
  font-size: 1.55rem;
  letter-spacing: -0.03em;
}

.catalog-category-copy p {
  margin: 6px 0 0;
  color: var(--tdm-muted);
  font-size: 0.8rem;
  line-height: 1.45;
}

.catalog-category-count {
  padding: 7px 12px;
  border-radius: 999px;
  background: #eeeeec;
  color: #505050;
  font-size: 0.72rem;
  font-weight: 900;
  white-space: nowrap;
}

.catalog-department {
  overflow: hidden;
  border: 1px solid #dddddc;
  border-radius: 18px;
  background: var(--tdm-white);
  box-shadow: 0 8px 24px rgba(22, 22, 22, 0.035);
  transition: border-color 180ms ease, box-shadow 180ms ease;
}

.catalog-department[open] {
  border-color: rgba(214, 0, 37, 0.34);
  box-shadow: 0 17px 42px rgba(22, 22, 22, 0.09);
}

.catalog-department-summary {
  display: grid;
  min-height: 102px;
  align-items: center;
  grid-template-columns: 54px minmax(0, 1fr) auto 44px;
  gap: 18px;
  padding: 20px 24px;
  cursor: pointer;
  list-style: none;
  transition: background 180ms ease;
}

.catalog-department-summary::-webkit-details-marker {
  display: none;
}

.catalog-department-summary::marker {
  content: "";
}

.catalog-department-summary:hover,
.catalog-department-summary:focus-visible,
.catalog-department[open] > .catalog-department-summary {
  background: #fff8f9;
}

.catalog-department-number {
  display: inline-flex;
  width: 54px;
  height: 54px;
  align-items: center;
  justify-content: center;
  border-radius: 15px;
  background: var(--tdm-red-soft);
  color: var(--tdm-red);
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.catalog-department-copy {
  display: grid;
  min-width: 0;
  line-height: 1.2;
}

.catalog-department-copy strong {
  font-size: 1.35rem;
  letter-spacing: -0.025em;
}

.catalog-department-copy small {
  margin-top: 6px;
  color: var(--tdm-muted);
  font-size: 0.8rem;
  line-height: 1.45;
}

.catalog-department-count {
  padding: 7px 12px;
  border-radius: 999px;
  background: #eeeeec;
  color: #505050;
  font-size: 0.72rem;
  font-weight: 900;
  white-space: nowrap;
}

.catalog-department-toggle {
  display: inline-flex;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  border: 1px solid #d9d9d9;
  border-radius: 50%;
  color: var(--tdm-red);
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease, color 180ms ease;
}

.catalog-department-toggle svg {
  width: 20px;
  height: 20px;
}

.catalog-department[open] .catalog-department-toggle {
  transform: rotate(180deg);
  border-color: var(--tdm-red);
  background: var(--tdm-red);
  color: var(--tdm-white);
}

.catalog-department-content {
  padding: 0 24px 24px;
  border-top: 1px solid var(--tdm-line);
}

.catalog-department-content .product-grid {
  margin-top: 24px;
}

.catalog-showcase .product-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.catalog-showcase .product-card-image {
  min-height: 210px;
  padding: 20px;
}

.catalog-showcase .product-card-image img {
  height: 168px;
}

.catalog-showcase .product-card-body {
  padding: 20px;
}

.catalog-showcase .product-card h3 {
  font-size: 1.03rem;
}

.catalog-showcase .product-mini-specs {
  margin: 15px 0 18px;
  font-size: 0.78rem;
}

.catalog-showcase .product-brand {
  top: 13px;
  left: 13px;
}

.catalog-contact-section {
  padding: 96px 0;
}

.contact-heading-row {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 34px;
}

.contact-heading-row h2 {
  max-width: 780px;
  margin: 0;
  font-size: clamp(2.25rem, 4.8vw, 4.6rem);
  letter-spacing: -0.055em;
  line-height: 0.98;
}

.contact-heading-row p {
  max-width: 620px;
  margin: 17px 0 0;
  color: var(--tdm-muted);
}

.contact-heading-row > .button {
  flex: 0 0 auto;
}

.contact-directory {
  display: grid;
  overflow: hidden;
  grid-template-columns: 0.8fr 0.9fr 1.3fr;
  border-radius: var(--tdm-radius-lg);
  box-shadow: var(--tdm-shadow);
}

.directory-card {
  position: relative;
  min-height: 270px;
  padding: 34px;
}

.directory-card-dark {
  background: var(--tdm-charcoal);
  color: var(--tdm-white);
}

.directory-card-red {
  background: var(--tdm-red);
  color: var(--tdm-white);
}

.directory-card-light {
  background: #efefed;
  color: var(--tdm-charcoal);
}

.directory-number {
  display: inline-flex;
  width: 40px;
  height: 29px;
  align-items: center;
  justify-content: center;
  margin-bottom: 35px;
  border: 1px solid currentColor;
  border-radius: 999px;
  opacity: 0.55;
  font-size: 0.69rem;
  font-weight: 900;
  letter-spacing: 0.1em;
}

.directory-card h3 {
  margin: 0 0 13px;
  font-size: 1.35rem;
}

.directory-card p,
.directory-card address {
  margin: 0;
  font-size: 0.89rem;
  font-style: normal;
  line-height: 1.65;
}

.directory-card-dark p,
.directory-card-red p {
  color: rgba(255, 255, 255, 0.78);
}

.directory-card a:hover,
.directory-card a:focus-visible {
  text-decoration: underline;
}

.catalog-contact-form {
  display: grid;
  align-items: start;
  grid-template-columns: 0.72fr 1.28fr;
  gap: 48px;
  margin-top: 20px;
  padding: 34px;
  border: 1px solid var(--tdm-line);
  border-radius: var(--tdm-radius-lg);
  background: var(--tdm-surface);
}

.contact-form-copy > span {
  color: var(--tdm-red);
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.contact-form-copy h3 {
  margin: 8px 0 11px;
  font-size: 1.75rem;
  letter-spacing: -0.035em;
  line-height: 1.08;
}

.contact-form-copy p {
  margin: 0;
  color: var(--tdm-muted);
  font-size: 0.9rem;
}

.catalog-contact-form .form-submit.is-wide {
  width: 100%;
}

.recommended-video-section {
  padding: 96px 0;
  scroll-margin-top: 104px;
  background: var(--tdm-surface);
}

.recommended-video-layout {
  display: grid;
  align-items: center;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 380px);
  gap: clamp(44px, 8vw, 110px);
  padding: clamp(34px, 5vw, 66px);
  border: 1px solid var(--tdm-line);
  border-radius: var(--tdm-radius-lg);
  background: var(--tdm-white);
  box-shadow: var(--tdm-shadow);
}

.recommended-video-copy h2 {
  max-width: 700px;
  margin: 0;
  font-size: clamp(2.4rem, 5vw, 4.8rem);
  letter-spacing: -0.055em;
  line-height: 0.96;
}

.recommended-video-copy > p {
  max-width: 620px;
  margin: 22px 0 0;
  color: var(--tdm-muted);
  font-size: 1rem;
}

.recommended-video-note {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  margin-top: 28px;
  padding: 13px 17px;
  border: 1px solid #efc9d0;
  border-radius: 14px;
  background: var(--tdm-red-soft);
}

.recommended-video-note-icon {
  display: inline-flex;
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--tdm-red);
  color: var(--tdm-white);
}

.recommended-video-note-icon svg {
  width: 18px;
  height: 18px;
}

.recommended-video-note-text {
  display: grid;
  line-height: 1.25;
}

.recommended-video-note-text strong {
  font-size: 0.88rem;
}

.recommended-video-note-text small {
  margin-top: 3px;
  color: var(--tdm-muted);
  font-size: 0.72rem;
}

.recommended-video-stage {
  position: relative;
  width: min(100%, 380px);
  justify-self: center;
  padding: 10px;
  border-radius: 26px;
  background: var(--tdm-charcoal);
  box-shadow: 0 28px 65px rgba(20, 20, 20, 0.25);
}

.recommended-video-stage::after {
  position: absolute;
  z-index: 0;
  right: -18px;
  bottom: 38px;
  width: 58px;
  height: 156px;
  border-radius: 10px;
  background: var(--tdm-red);
  content: "";
}

.recommended-video-tag {
  position: absolute;
  z-index: 2;
  top: 24px;
  left: 24px;
  padding: 7px 12px;
  border-radius: 999px;
  background: var(--tdm-red);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.24);
  color: var(--tdm-white);
  font-size: 0.66rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.recommended-video {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  aspect-ratio: 9 / 16;
  border-radius: 18px;
  background: #000;
  object-fit: contain;
}

.social-section {
  padding: 0 0 96px;
  scroll-margin-top: 104px;
}

.social-panel {
  position: relative;
  overflow: hidden;
  padding: 48px;
  border-radius: var(--tdm-radius-lg);
  background: linear-gradient(135deg, #1d1d1d 0%, #292929 68%, #3a0b13 100%);
  box-shadow: var(--tdm-shadow);
  color: var(--tdm-white);
}

.social-panel::after {
  position: absolute;
  top: -115px;
  right: -90px;
  width: 310px;
  height: 310px;
  border: 42px solid rgba(214, 0, 37, 0.22);
  border-radius: 50%;
  content: "";
}

.social-heading {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 36px;
  margin-bottom: 30px;
}

.social-heading .eyebrow {
  color: #ff758c;
}

.social-heading .eyebrow::before {
  background: #ff758c;
}

.social-heading h2 {
  max-width: 700px;
  margin: 0;
  font-size: clamp(2.15rem, 4.5vw, 4.25rem);
  letter-spacing: -0.05em;
  line-height: 0.98;
}

.social-heading p {
  max-width: 390px;
  margin: 0;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.95rem;
}

.social-links {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
}

.social-button {
  display: flex;
  min-width: 0;
  min-height: 116px;
  align-items: center;
  gap: 13px;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--tdm-white);
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease, color 180ms ease;
}

.social-button:hover,
.social-button:focus-visible {
  transform: translateY(-3px);
  border-color: var(--tdm-white);
  background: var(--tdm-white);
  color: var(--tdm-charcoal);
}

.social-icon {
  display: inline-flex;
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
  align-items: center;
  justify-content: center;
  border-radius: 13px;
  background: var(--tdm-red);
  color: var(--tdm-white);
}

.social-icon svg {
  width: 24px;
  height: 24px;
}

.social-label {
  display: grid;
  min-width: 0;
  line-height: 1.2;
}

.social-label strong {
  font-size: 0.95rem;
}

.social-label small {
  overflow: hidden;
  margin-top: 5px;
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.69rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.social-button:hover .social-label small,
.social-button:focus-visible .social-label small {
  color: var(--tdm-muted);
}

.social-arrow {
  width: 17px;
  height: 17px;
  flex: 0 0 17px;
  margin-left: auto;
  opacity: 0.65;
}

.site-footer {
  border-top: 8px solid var(--tdm-red);
  background: var(--tdm-charcoal);
}

@media (max-width: 1080px) {
  .catalog-showcase .product-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .social-links {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .contact-directory {
    grid-template-columns: 1fr 1fr;
  }

  .directory-card-light {
    grid-column: 1 / -1;
  }
}

@media (max-width: 860px) {
  .catalog-site-title {
    margin-right: auto;
  }

  .catalog-intro {
    grid-template-columns: 1fr;
    gap: 28px;
    padding: 42px;
  }

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

  .catalog-summary div {
    min-height: 82px;
    border-right: 1px solid rgba(255, 255, 255, 0.13);
    border-bottom: 0;
  }

  .catalog-summary div:last-child {
    border-right: 0;
  }

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

  .catalog-department-summary {
    grid-template-columns: 50px minmax(0, 1fr) auto 42px;
    gap: 14px;
  }

  .contact-heading-row,
  .catalog-contact-form {
    align-items: start;
    grid-template-columns: 1fr;
  }

  .contact-heading-row {
    flex-direction: column;
  }

  .catalog-contact-form {
    gap: 28px;
  }

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

  .social-heading {
    align-items: start;
    flex-direction: column;
    gap: 16px;
  }

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

@media (max-width: 620px) {
  .catalog-site-title {
    display: grid;
    padding-left: 7px;
  }

  .catalog-site-title span {
    font-size: 0.5rem;
    letter-spacing: 0.09em;
  }

  .catalog-site-title strong {
    font-size: 0.64rem;
    letter-spacing: 0.03em;
  }

  .header-inner {
    gap: 6px;
  }

  .brand img {
    height: clamp(40px, 13vw, 48px);
    max-width: 105px;
  }

  .menu-toggle,
  .header-cta {
    width: 42px;
    height: 42px;
    min-width: 42px;
    min-height: 42px;
  }

  .header-cta {
    padding: 9px;
    font-size: 0;
  }

  .catalog-showcase {
    padding: 20px 0 72px;
  }

  .catalog-intro {
    gap: 24px;
    padding: 30px 24px;
    border-radius: 20px;
  }

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

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

  .catalog-summary div {
    min-height: 68px;
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.13);
  }

  .catalog-console {
    padding: 21px 18px 18px;
  }

  .catalog-console-heading {
    align-items: start;
    flex-direction: column;
    gap: 8px;
  }

  .catalog-department-heading {
    align-items: start;
    flex-direction: column;
    gap: 10px;
    padding: 21px 18px;
  }

  .exchange-rate-notice {
    align-items: flex-start;
    flex-direction: column;
    padding: 18px;
  }

  .exchange-rate-notice > a {
    padding-left: 0;
  }

  .catalog-showcase .product-grid,
  .contact-directory {
    grid-template-columns: 1fr;
  }

  .catalog-department {
    border-radius: 15px;
  }

  .catalog-category-sections {
    gap: 22px;
  }

  .catalog-category-section {
    padding: 16px 14px;
    border-radius: 15px;
  }

  .catalog-category-header {
    grid-template-columns: 42px minmax(0, 1fr);
    gap: 11px;
    margin-bottom: 14px;
    padding-bottom: 14px;
  }

  .catalog-category-number {
    width: 42px;
    height: 42px;
    border-radius: 12px;
  }

  .catalog-category-copy h2 {
    font-size: 1.18rem;
  }

  .catalog-category-copy p {
    font-size: 0.73rem;
  }

  .catalog-category-count {
    grid-column: 2;
    justify-self: start;
    padding: 5px 9px;
  }

  .catalog-department-summary {
    min-height: 0;
    grid-template-columns: 42px minmax(0, 1fr) 38px;
    gap: 11px;
    padding: 16px 14px;
  }

  .catalog-department-number {
    width: 42px;
    height: 42px;
    border-radius: 12px;
  }

  .catalog-department-copy strong {
    font-size: 1.08rem;
  }

  .catalog-department-copy small {
    font-size: 0.73rem;
  }

  .catalog-department-count {
    grid-column: 2;
    justify-self: start;
    padding: 5px 9px;
  }

  .catalog-department-toggle {
    width: 36px;
    height: 36px;
    grid-column: 3;
    grid-row: 1 / span 2;
  }

  .catalog-department-content {
    padding: 0 14px 14px;
  }

  .catalog-department-content .product-grid {
    margin-top: 14px;
  }

  .directory-card-light {
    grid-column: auto;
  }

  .directory-card {
    min-height: 0;
    padding: 28px 24px;
  }

  .directory-number {
    margin-bottom: 23px;
  }

  .catalog-contact-form {
    padding: 25px 20px;
  }

  .recommended-video-section {
    padding: 72px 0;
  }

  .recommended-video-layout {
    gap: 34px;
    padding: 26px 20px;
    border-radius: 20px;
  }

  .recommended-video-copy h2 {
    font-size: clamp(2.25rem, 12vw, 3.45rem);
  }

  .recommended-video-note {
    width: 100%;
  }

  .recommended-video-stage {
    width: min(100%, 340px);
  }

  .recommended-video-stage::after {
    display: none;
  }

  .social-section {
    padding-bottom: 72px;
  }

  .social-panel {
    padding: 30px 20px 20px;
    border-radius: 20px;
  }

  .social-heading h2 {
    font-size: clamp(2.2rem, 11vw, 3.2rem);
  }

  .social-links {
    grid-template-columns: 1fr;
  }

  .social-button {
    min-height: 78px;
    padding: 15px;
  }
}

/* Ajustes finales de cascada para la portada institucional. */
.catalog-showcase.home-hero {
  padding: 46px 0 86px;
}

.catalog-intro.home-hero-panel {
  min-height: 620px;
  grid-template-columns: minmax(0, 850px);
  align-content: center;
}

.catalog-showcase.products-showcase {
  padding: 104px 0;
}

@media (max-width: 860px) {
  .catalog-intro.home-hero-panel {
    min-height: 560px;
    grid-template-columns: 1fr;
  }
}

@media (max-width: 620px) {
  .catalog-showcase.home-hero {
    padding: 20px 0 72px;
  }

  .catalog-intro.home-hero-panel {
    min-height: 520px;
  }

  .catalog-showcase.products-showcase {
    padding: 72px 0;
  }
}

/* Ajustes solicitados - agosto 2026 */
.catalog-showcase.home-hero {
  padding: 24px 0 54px;
}

.catalog-intro.home-hero-panel {
  min-height: 430px;
  grid-template-columns: minmax(0, 900px);
  align-content: center;
  padding-top: 54px;
  padding-bottom: 54px;
}

.home-hero-panel .catalog-label {
  font-size: 0.82rem;
  line-height: 1.45;
}

.catalog-intro h1 {
  margin-top: 14px;
  font-size: clamp(3rem, 6.4vw, 5.2rem);
  line-height: 0.98;
}

.home-hero-panel .catalog-intro-copy > p {
  max-width: 780px;
  margin-top: 20px;
  font-size: clamp(1.05rem, 1.55vw, 1.22rem);
  line-height: 1.68;
}

.catalog-console .catalog-filters {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin: 0;
}

.catalog-console .catalog-filter {
  display: inline-flex;
  width: 100%;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 10px 14px;
  text-align: center;
}

.directory-card {
  min-height: 0;
}

.location-columns address {
  display: flex;
  align-items: flex-start;
  flex-direction: column;
}

.map-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 14px;
  padding: 9px 13px;
  border: 1px solid currentColor;
  border-radius: 999px;
  font-size: 0.76rem;
  font-style: normal;
  font-weight: 900;
  line-height: 1.2;
  text-decoration: none;
}

.directory-card-light .map-button {
  border-color: var(--tdm-red);
  color: var(--tdm-red);
}

.product-description-title {
  margin: 24px 0 8px;
  font-size: 1rem;
  letter-spacing: -0.01em;
}

.product-price-detail {
  max-width: 460px;
  margin: 22px 0 0;
}

.product-price-detail + .detail-actions {
  margin-top: 18px;
}

.usage-panel .usage-content {
  margin: 0;
  padding: 24px 28px 28px;
  color: var(--tdm-muted);
  font-size: 0.94rem;
  line-height: 1.65;
  white-space: pre-line;
}

@media (max-width: 860px) {
  .catalog-intro.home-hero-panel {
    min-height: 390px;
    padding-top: 46px;
    padding-bottom: 46px;
  }

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

@media (max-width: 620px) {
  .catalog-showcase.home-hero {
    padding: 12px 0 46px;
  }

  .catalog-intro.home-hero-panel {
    min-height: 350px;
    padding: 36px 20px;
  }

  .home-hero-panel .catalog-label {
    font-size: 0.74rem;
  }

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

  .home-hero-panel .catalog-intro-copy > p {
    font-size: 1rem;
    line-height: 1.58;
  }

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

/* Logos de marca en filtros y encabezados del catálogo */
.catalog-filter.brand-logo-filter {
  position: relative;
  min-height: 62px;
  padding: 10px 38px 10px 14px;
  background: #fff;
}

.catalog-brand-logo {
  display: block;
  width: auto;
  max-width: 128px;
  height: 38px;
  object-fit: contain;
}

.catalog-filter.brand-logo-filter .brand-count {
  position: absolute;
  top: 7px;
  right: 8px;
  min-width: 22px;
  height: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 6px;
  border-radius: 999px;
  font-size: 0.68rem;
  line-height: 1;
}

.catalog-filter.brand-logo-filter.is-active,
.catalog-filter.brand-logo-filter:hover,
.catalog-filter.brand-logo-filter:focus-visible {
  background: #fff;
}

.brand-heading-logo-wrap {
  display: flex;
  align-items: center;
  min-height: 52px;
}

.brand-heading-logo {
  display: block;
  width: auto;
  max-width: 180px;
  height: 48px;
  object-fit: contain;
}

@media (max-width: 620px) {
  .catalog-filter.brand-logo-filter {
    min-height: 58px;
  }

  .catalog-brand-logo {
    max-width: 116px;
    height: 34px;
  }

  .brand-heading-logo {
    max-width: 155px;
    height: 42px;
  }
}

/* Optimización móvil final + pie de escritorio — agosto 2026 */
.footer-bottom .container {
  text-align: center;
}

@media (max-width: 620px) {
  html,
  body {
    overflow-x: hidden;
  }

  .container {
    width: min(100% - 28px, var(--tdm-container));
  }

  .site-header {
    backdrop-filter: blur(10px);
  }

  .header-inner {
    min-height: 66px;
    gap: 8px;
  }

  .brand img {
    height: 44px;
    max-width: 112px;
  }

  .catalog-site-title {
    min-width: 0;
    padding-left: 2px;
  }

  .catalog-site-title strong {
    font-size: 0.61rem;
    line-height: 1.15;
  }

  .menu-toggle,
  .header-cta {
    width: 40px;
    height: 40px;
    min-width: 40px;
    min-height: 40px;
    border-radius: 10px;
  }

  .site-nav {
    right: 0;
    width: calc(100vw - 28px);
    max-height: calc(100dvh - 82px);
    padding: 12px;
    border-radius: 12px;
  }

  .catalog-showcase.home-hero {
    padding: 10px 0 36px;
  }

  .catalog-intro.home-hero-panel {
    min-height: 310px;
    padding: 30px 18px;
    border-radius: 18px;
  }

  .catalog-intro h1 {
    margin-top: 10px;
    font-size: clamp(2.25rem, 12vw, 3.35rem);
    line-height: 1;
    overflow-wrap: anywhere;
  }

  .home-hero-panel .catalog-intro-copy > p {
    margin-top: 16px;
    font-size: 0.96rem;
    line-height: 1.55;
  }

  .catalog-showcase.products-showcase {
    padding: 58px 0;
  }

  .products-heading {
    margin-bottom: 22px;
  }

  .section-heading h2,
  .products-heading h2 {
    font-size: clamp(2rem, 10vw, 2.75rem);
    line-height: 1.02;
  }

  .section-heading p,
  .products-heading p {
    font-size: 0.92rem;
    line-height: 1.55;
  }

  .catalog-console {
    margin: 16px 0 26px;
    padding: 18px 14px 14px;
    border-left-width: 5px;
    border-radius: 13px;
  }

  .catalog-console-heading {
    gap: 6px;
    margin-bottom: 13px;
  }

  .catalog-console-heading strong {
    font-size: 1.08rem;
  }

  .catalog-count {
    font-size: 0.74rem;
  }

  .catalog-console .catalog-filters {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .catalog-console .catalog-filter {
    min-height: 44px;
    padding: 9px 8px;
    font-size: 0.78rem;
    line-height: 1.15;
  }

  .catalog-filter-fields {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .catalog-search input,
  .catalog-type-filter select {
    min-height: 48px;
    font-size: 16px;
  }

  .brand-product-group {
    padding-top: 8px;
  }

  .brand-product-heading {
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
    padding-bottom: 14px;
  }

  .brand-product-heading > strong {
    padding: 6px 9px;
    font-size: 0.68rem;
  }

  .brand-heading-logo-wrap {
    min-height: 42px;
  }

  .brand-heading-logo {
    max-width: 138px;
    height: 38px;
  }

  .catalog-showcase .product-grid {
    gap: 14px;
  }

  .catalog-showcase .product-card {
    border-radius: 14px;
  }

  .catalog-showcase .product-card-image {
    min-height: 190px;
    padding: 16px;
  }

  .catalog-showcase .product-card-image img {
    height: 154px;
  }

  .catalog-showcase .product-card-body {
    padding: 17px;
  }

  .catalog-showcase .product-card h3 {
    font-size: 1.08rem;
  }

  .catalog-showcase .product-mini-specs {
    margin: 13px 0 15px;
    font-size: 0.8rem;
  }

  .product-price {
    margin-bottom: 14px;
    padding: 12px 13px;
  }

  .product-card-link {
    min-height: 44px;
    padding-top: 14px;
  }

  .catalog-contact-section {
    padding: 62px 0;
  }

  .contact-heading-row {
    gap: 18px;
    margin-bottom: 24px;
  }

  .contact-heading-row h2 {
    font-size: clamp(2rem, 10vw, 2.85rem);
    line-height: 1.02;
  }

  .contact-heading-row > .button {
    width: 100%;
    justify-content: center;
  }

  .directory-card {
    padding: 24px 20px;
  }

  .location-columns {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .map-button {
    min-height: 42px;
    padding: 10px 14px;
  }

  .catalog-contact-form {
    gap: 22px;
    padding: 22px 16px;
    border-radius: 16px;
  }

  .contact-form-copy h3 {
    font-size: 1.55rem;
  }

  .form-grid {
    grid-template-columns: 1fr;
    gap: 13px;
  }

  .form-field.is-wide {
    grid-column: auto;
  }

  .form-field input,
  .form-field select {
    min-height: 50px;
    font-size: 16px;
  }

  .form-field textarea {
    min-height: 120px;
    font-size: 16px;
  }

  .site-footer .footer-main {
    grid-template-columns: 1fr;
    gap: 30px;
    padding: 38px 0;
  }

  .footer-brand img {
    width: min(220px, 76vw);
  }

  .footer-bottom {
    padding: 15px 0;
    font-size: 0.72rem;
    line-height: 1.45;
  }
}

@media (max-width: 380px) {
  .catalog-site-title {
    display: none;
  }

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

  .brand-product-heading {
    align-items: flex-start;
    flex-direction: column;
  }
}

/* Ajuste móvil V7: marca al costado, igual que en escritorio */
@media (max-width: 620px) {
  .brand-product-heading {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
  }

  .brand-product-heading > div {
    min-width: 0;
  }

  .brand-heading-logo-wrap {
    justify-content: flex-start;
    text-align: left;
  }

  .brand-heading-logo {
    margin: 0;
  }

  .brand-product-heading > strong {
    flex: 0 0 auto;
  }
}

@media (max-width: 380px) {
  .brand-product-heading {
    flex-direction: row;
    align-items: center;
  }
}


/* V8: logos de marca sin caja/fondo blanco visible */
.brand-heading-logo-wrap,
.brand-heading-logo {
  background: transparent !important;
}

.brand-heading-logo {
  border: 0;
  box-shadow: none;
  padding: 0;
}

/* V9: carrusel automático de marcas debajo del hero */
.brand-marquee {
  position: relative;
  width: 100%;
  overflow: hidden;
  background: transparent;
  padding: 24px 0 28px;
}

.brand-marquee-viewport {
  width: 100%;
  overflow: hidden;
  background: transparent;
}

.brand-marquee-track {
  display: flex;
  width: max-content;
  animation: tdm-brand-marquee 28s linear infinite;
  will-change: transform;
}

.brand-marquee-set {
  display: flex;
  align-items: center;
  gap: clamp(42px, 5vw, 88px);
  padding-right: clamp(42px, 5vw, 88px);
}

.brand-marquee img {
  display: block;
  width: auto;
  height: clamp(46px, 5vw, 76px);
  max-width: clamp(150px, 16vw, 250px);
  object-fit: contain;
  background: transparent !important;
  border: 0;
  box-shadow: none;
  flex: 0 0 auto;
}

.brand-marquee img[alt="Ducati Garden"] {
  height: clamp(50px, 5.4vw, 82px);
}

.brand-marquee img[alt="SEZER Tecnologías de Ordeño"] {
  height: clamp(56px, 6vw, 88px);
}

@keyframes tdm-brand-marquee {
  from { transform: translate3d(0, 0, 0); }
  to { transform: translate3d(-50%, 0, 0); }
}

@media (max-width: 620px) {
  .brand-marquee {
    padding: 18px 0 22px;
  }

  .brand-marquee-track {
    animation-duration: 22s;
  }

  .brand-marquee-set {
    gap: 34px;
    padding-right: 34px;
  }

  .brand-marquee img {
    height: 42px;
    max-width: 145px;
  }

  .brand-marquee img[alt="Ducati Garden"] {
    height: 46px;
  }

  .brand-marquee img[alt="SEZER Tecnologías de Ordeño"] {
    height: 50px;
    max-width: 160px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .brand-marquee-track {
    animation: none;
  }

  .brand-marquee-viewport {
    overflow-x: auto;
    scrollbar-width: none;
  }

  .brand-marquee-viewport::-webkit-scrollbar {
    display: none;
  }
}

/* V10: apartado de redes sociales en el pie */
.site-footer .footer-main {
  grid-template-columns: minmax(240px, 1.35fr) repeat(3, minmax(160px, 1fr));
}

.footer-social-links {
  display: grid;
  gap: 10px;
  margin-top: 14px;
}

.footer-social-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  width: fit-content;
  color: inherit;
  text-decoration: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.footer-social-link:hover,
.footer-social-link:focus-visible {
  opacity: 0.82;
  transform: translateX(3px);
}

.social-icon {
  display: inline-grid;
  place-items: center;
  flex: 0 0 30px;
  width: 30px;
  height: 30px;
  border: 1px solid currentColor;
  border-radius: 50%;
  font-size: 17px;
  font-weight: 800;
  line-height: 1;
  background: transparent;
}

.social-icon-instagram {
  font-size: 22px;
  font-weight: 500;
}

.social-icon-tiktok {
  font-size: 18px;
}

.social-icon-linkedin {
  font-size: 13px;
  letter-spacing: -0.04em;
}

@media (max-width: 980px) {
  .site-footer .footer-main {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 620px) {
  .site-footer .footer-main {
    grid-template-columns: 1fr;
  }

  .footer-social-links {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px 18px;
  }

  .footer-social-link {
    width: 100%;
  }
}


/* V11: conservar los logos originales; el blanco de origen se integra visualmente con el fondo sin redibujar la marca */
.brand-marquee img {
  filter: none !important;
  opacity: 1 !important;
}
.brand-marquee img.logo-white-source {
  mix-blend-mode: multiply;
}

/* V12: carrusel corregido — logos originales, tamaño visual uniforme y sin cajas */
.brand-marquee {
  background: transparent !important;
  padding: 26px 0 30px;
}

.brand-marquee-track {
  animation-duration: 32s;
}

.brand-marquee-set {
  gap: clamp(34px, 4vw, 64px);
  padding-right: clamp(34px, 4vw, 64px);
}

.brand-marquee-item {
  width: clamp(190px, 16vw, 230px);
  height: 92px;
  flex: 0 0 clamp(190px, 16vw, 230px);
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent !important;
  overflow: hidden;
}

.brand-marquee .brand-marquee-item img {
  display: block;
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 74px;
  object-fit: contain;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  padding: 0 !important;
  margin: 0 !important;
}

/* Las fuentes que llegan con fondo blanco se integran con el fondo real de la página
   sin redibujar ni cambiar el archivo del logo. */
.brand-marquee .logo-white-source {
  mix-blend-mode: multiply;
}

/* Ajustes ópticos para igualar el tamaño percibido, conservando proporciones. */
.brand-marquee .brand-goodyear img { max-width: 218px; max-height: 68px; }
.brand-marquee .brand-ducati img { max-width: 210px; max-height: 72px; }
.brand-marquee .brand-serap img { width: 218px; max-width: none; max-height: none; }
.brand-marquee .brand-sezer img { width: 220px; max-width: none; max-height: none; transform: scale(1.52); }
.brand-marquee .brand-echo img { max-width: 212px; max-height: 70px; }
.brand-marquee .brand-shindaiwa img { max-width: 212px; max-height: 70px; }
.brand-marquee .brand-oregon img { width: 205px; max-width: none; max-height: none; transform: scale(1.42); }

@media (max-width: 620px) {
  .brand-marquee {
    padding: 20px 0 24px;
  }

  .brand-marquee-track {
    animation-duration: 26s;
  }

  .brand-marquee-set {
    gap: 24px;
    padding-right: 24px;
  }

  .brand-marquee-item {
    width: 158px;
    height: 74px;
    flex-basis: 158px;
  }

  .brand-marquee .brand-marquee-item img {
    max-height: 56px;
  }

  .brand-marquee .brand-goodyear img,
  .brand-marquee .brand-ducati img,
  .brand-marquee .brand-echo img,
  .brand-marquee .brand-shindaiwa img {
    max-width: 150px;
    max-height: 54px;
  }

  .brand-marquee .brand-serap img { width: 150px; }
  .brand-marquee .brand-sezer img { width: 154px; transform: scale(1.52); }
  .brand-marquee .brand-oregon img { width: 146px; transform: scale(1.42); }
}

/* V14: logo de la marca en el encabezado de la ficha de producto */
.catalog-site-title.is-brand-logo {
  display: flex;
  align-items: center;
  min-width: 116px;
  min-height: 42px;
  padding-left: 14px;
}

.catalog-site-title.is-brand-logo img {
  display: block;
  width: auto;
  height: auto;
  max-width: 132px;
  max-height: 42px;
  object-fit: contain;
}

@media (max-width: 620px) {
  .catalog-site-title.is-brand-logo {
    display: flex;
    min-width: 0;
    min-height: 34px;
    margin-right: auto;
    padding-left: 8px;
  }

  .catalog-site-title.is-brand-logo img {
    max-width: 92px;
    max-height: 32px;
  }
}

@media (max-width: 380px) {
  .catalog-site-title.is-brand-logo {
    display: flex;
  }

  .catalog-site-title.is-brand-logo img {
    max-width: 76px;
    max-height: 28px;
  }
}

/* V15: logos de marca del encabezado sin fondo blanco */
.catalog-site-title.is-brand-logo,
.catalog-site-title.is-brand-logo img {
  background: transparent !important;
  box-shadow: none !important;
  border: 0 !important;
}

/* V16: carrusel limpio, compacto y uniforme. Sin deformar logos. */
.brand-marquee {
  background: transparent !important;
  padding: 18px 0 22px !important;
}
.brand-marquee-viewport,
.brand-marquee-track,
.brand-marquee-set,
.brand-marquee-item {
  background: transparent !important;
}
.brand-marquee-track {
  animation-duration: 34s !important;
}
.brand-marquee-set {
  gap: clamp(24px, 3vw, 42px) !important;
  padding-right: clamp(24px, 3vw, 42px) !important;
  align-items: center !important;
}
.brand-marquee-item {
  width: 150px !important;
  height: 64px !important;
  flex: 0 0 150px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  overflow: hidden !important;
  padding: 0 !important;
  border: 0 !important;
  box-shadow: none !important;
}
.brand-marquee .brand-marquee-item img,
.brand-marquee .brand-goodyear img,
.brand-marquee .brand-ducati img,
.brand-marquee .brand-serap img,
.brand-marquee .brand-sezer img,
.brand-marquee .brand-echo img,
.brand-marquee .brand-shindaiwa img,
.brand-marquee .brand-oregon img {
  width: 138px !important;
  height: 52px !important;
  max-width: 138px !important;
  max-height: 52px !important;
  object-fit: contain !important;
  object-position: center !important;
  transform: none !important;
  padding: 0 !important;
  margin: 0 !important;
  border: 0 !important;
  box-shadow: none !important;
  background: transparent !important;
  filter: none !important;
}
/* Los archivos externos que traen blanco se funden con la pagina: no queda caja blanca visible. */
.brand-marquee .logo-white-source {
  mix-blend-mode: multiply !important;
}
@media (max-width: 620px) {
  .brand-marquee { padding: 14px 0 18px !important; }
  .brand-marquee-track { animation-duration: 28s !important; }
  .brand-marquee-set { gap: 18px !important; padding-right: 18px !important; }
  .brand-marquee-item {
    width: 118px !important;
    height: 54px !important;
    flex-basis: 118px !important;
  }
  .brand-marquee .brand-marquee-item img,
  .brand-marquee .brand-goodyear img,
  .brand-marquee .brand-ducati img,
  .brand-marquee .brand-serap img,
  .brand-marquee .brand-sezer img,
  .brand-marquee .brand-echo img,
  .brand-marquee .brand-shindaiwa img,
  .brand-marquee .brand-oregon img {
    width: 108px !important;
    height: 42px !important;
    max-width: 108px !important;
    max-height: 42px !important;
    transform: none !important;
  }
}

/* V17: cabecera fija en móvil */
@media (max-width: 620px) {
  body {
    padding-top: 66px;
  }

  .site-header {
    position: fixed !important;
    top: 0;
    right: 0;
    left: 0;
    width: 100%;
    z-index: 9999;
  }

  body.admin-bar .site-header {
    top: 46px;
  }
}


/* V18: titulo del catalogo en rojo y negro */
.catalog-title-bicolor .catalog-title-red {
  color: #c50000;
}
.catalog-title-bicolor .catalog-title-black {
  color: #111111;
}


/* V20: product images must never sit on a white image background. */
.product-card-image,
.catalog-showcase .product-card-image,
.product-detail-visual {
  background-color: #e6e6e3 !important;
  background-image: linear-gradient(145deg, #ececea, #dededb) !important;
}

.product-card-image img,
.product-detail-visual img {
  background: transparent !important;
}

/* V21: catalog title stacked, Catálogo black / de productos red */
.catalog-title-bicolor strong {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  line-height: 1;
}

.catalog-title-bicolor .catalog-title-black,
.catalog-title-bicolor .catalog-title-red {
  display: block;
  white-space: nowrap;
}

.catalog-title-bicolor .catalog-title-black {
  color: #111111;
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.07em;
}

.catalog-title-bicolor .catalog-title-red {
  color: #c50000;
  font-size: 0.62rem;
  font-weight: 900;
  letter-spacing: 0.17em;
}

/* V22: logos ARIENS, SEZER y OREGON en encabezados de marca */
.brand-heading-logo-wrap { background: transparent !important; }
.brand-heading-logo { background: transparent !important; mix-blend-mode: normal; }
.brand-product-heading img[alt="ARIENS"] { height: 58px; max-width: 190px; }
.brand-product-heading img[alt="SEZER"] { height: 58px; max-width: 220px; }
.brand-product-heading img[alt="OREGON"] { height: 48px; max-width: 190px; }
@media (max-width: 620px) {
 .brand-product-heading img[alt="ARIENS"], .brand-product-heading img[alt="SEZER"] { height: 46px; max-width: 170px; }
 .brand-product-heading img[alt="OREGON"] { height: 40px; max-width: 160px; }
}
/* V25: fondos transparentes y logos robustos en cabecera movil */
.product-card-image,
.catalog-showcase .product-card-image,
.product-detail-visual,
.brand-heading-logo-wrap,
.catalog-site-title.is-brand-logo,
.catalog-site-title.is-brand-logo img,
.brand-heading-logo,
.product-card-image img,
.product-detail-visual img {
  background: transparent !important;
  background-image: none !important;
  box-shadow: none !important;
}

@media (max-width: 620px) {
  .header-inner {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
  }
  .brand {
    flex: 0 1 auto !important;
    min-width: 0 !important;
  }
  .brand img,
  .brand .custom-logo {
    display: block !important;
    width: auto !important;
    max-width: 150px !important;
    height: auto !important;
    max-height: 42px !important;
    object-fit: contain !important;
    background: transparent !important;
  }
  .catalog-site-title.is-brand-logo {
    flex: 0 0 86px !important;
    width: 86px !important;
    min-width: 86px !important;
    height: 36px !important;
    min-height: 36px !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: visible !important;
  }
  .catalog-site-title.is-brand-logo img {
    display: block !important;
    width: 86px !important;
    height: 34px !important;
    max-width: 86px !important;
    max-height: 34px !important;
    object-fit: contain !important;
  }
}

/* V26: recursos recortados, transparentes y sin sombras incrustadas. */
.hero-visual::after,
.product-card-image::after {
  content: none !important;
  display: none !important;
}

.hero-machine,
.product-card-image img,
.product-detail-visual img,
.catalog-brand-logo,
.brand-heading-logo,
.catalog-site-title.is-brand-logo img,
.brand-marquee img {
  background: transparent !important;
  background-image: none !important;
  box-shadow: none !important;
  filter: none !important;
}

/* V28: separador centrado a la misma distancia entre ambos logos. */
.catalog-site-title.is-brand-logo {
  border: 0 !important;
  border-left: 1px solid rgba(36, 36, 36, 0.24) !important;
  padding-left: 14px !important;
}

@media (max-width: 860px) {
  .catalog-site-title.is-brand-logo {
    padding-left: 10px !important;
  }
}

@media (max-width: 620px) {
  .catalog-site-title.is-brand-logo {
    width: 90px !important;
    min-width: 90px !important;
    flex-basis: 90px !important;
    padding-left: 8px !important;
  }

  .catalog-site-title.is-brand-logo img {
    width: 80px !important;
    max-width: 80px !important;
  }
}

@media (max-width: 380px) {
  .catalog-site-title.is-brand-logo {
    width: 84px !important;
    min-width: 84px !important;
    flex-basis: 84px !important;
    padding-left: 8px !important;
  }

  .catalog-site-title.is-brand-logo img {
    width: 74px !important;
    max-width: 74px !important;
  }
}

/* V30: DUCATI y ARIENS siempre completos, centrados y sin recorte. */
.catalog-filter.brand-logo-filter,
.brand-heading-logo-wrap,
.brand-marquee-item,
.catalog-site-title.is-brand-logo {
  overflow: visible !important;
}

.catalog-brand-logo[alt="DUCATI"],
.catalog-brand-logo[alt="ARIENS"],
.brand-heading-logo[alt="DUCATI"],
.brand-heading-logo[alt="ARIENS"],
.brand-marquee img[alt="Ducati Garden"],
.brand-marquee img[alt="ARIENS"],
.catalog-site-title.is-brand-logo img[alt="DUCATI"],
.catalog-site-title.is-brand-logo img[alt="ARIENS"] {
  box-sizing: border-box !important;
  object-fit: contain !important;
  object-position: center !important;
  clip-path: none !important;
  transform: none !important;
}

.catalog-site-title.is-brand-logo img[alt="DUCATI"],
.catalog-site-title.is-brand-logo img[alt="ARIENS"] {
  width: 100% !important;
  height: 100% !important;
  max-width: 100% !important;
  max-height: 100% !important;
}

/* V31: proporciones originales de los logos completos ARIENS y DUCATI GARDEN. */
.catalog-brand-logo[alt="DUCATI"],
.catalog-brand-logo[alt="ARIENS"] {
  width: auto !important;
  height: auto !important;
  max-width: 128px !important;
  max-height: 38px !important;
}

.brand-heading-logo[alt="DUCATI"],
.brand-heading-logo[alt="ARIENS"] {
  width: auto !important;
  height: auto !important;
  max-width: 220px !important;
  max-height: 58px !important;
}

@media (min-width: 621px) {
  .catalog-site-title.is-brand-logo img[alt="DUCATI"],
  .catalog-site-title.is-brand-logo img[alt="ARIENS"] {
    width: auto !important;
    height: auto !important;
    max-width: 132px !important;
    max-height: 42px !important;
  }
}

@media (max-width: 620px) {
  .catalog-site-title.is-brand-logo {
    box-sizing: border-box !important;
    width: 112px !important;
    min-width: 112px !important;
    height: 40px !important;
    min-height: 40px !important;
    flex-basis: 112px !important;
  }

  .catalog-site-title.is-brand-logo img[alt="DUCATI"],
  .catalog-site-title.is-brand-logo img[alt="ARIENS"] {
    width: 100% !important;
    height: 100% !important;
    max-width: 100% !important;
    max-height: 100% !important;
  }

  .catalog-brand-logo[alt="DUCATI"],
  .catalog-brand-logo[alt="ARIENS"] {
    max-width: 116px !important;
    max-height: 34px !important;
  }

  .brand-heading-logo[alt="DUCATI"],
  .brand-heading-logo[alt="ARIENS"] {
    max-width: 170px !important;
    max-height: 46px !important;
  }
}

@media (max-width: 380px) {
  .catalog-site-title.is-brand-logo {
    width: 104px !important;
    min-width: 104px !important;
    flex-basis: 104px !important;
  }
}

/* V33: filtro móvil compacto, equilibrado y sin espacios vacíos. */
@media (max-width: 620px) {
  .catalog-console {
    margin: 14px 0 24px;
    padding: 14px 12px 12px;
  }

  .catalog-console-heading {
    display: flex;
    align-items: flex-end !important;
    flex-direction: row !important;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 10px;
  }

  .catalog-console-heading strong {
    font-size: 1rem;
  }

  .catalog-count {
    flex: 0 0 auto;
    max-width: 108px;
    font-size: 0.7rem;
    line-height: 1.25;
    text-align: right;
  }

  .catalog-console .catalog-filters {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 6px;
  }

  .catalog-console .catalog-filter:first-child {
    grid-column: 1 / -1;
  }

  .catalog-console .catalog-filter {
    min-height: 42px;
    padding: 7px 5px;
    font-size: 0.7rem;
    line-height: 1.1;
  }

  .catalog-console .catalog-filter span {
    margin-left: 2px;
  }

  .catalog-filter-fields {
    gap: 8px;
    margin-top: 10px;
  }

  .catalog-type-filter {
    gap: 4px;
  }

  .catalog-type-filter > span {
    font-size: 0.68rem;
  }

  .catalog-search input,
  .catalog-type-filter select {
    min-height: 44px;
    border-radius: 10px;
  }
}

@media (max-width: 380px) {
  .catalog-console .catalog-filters {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* V34: logo institucional rojo transparente y movimiento progresivo. */
.brand-link {
  display: flex;
  align-items: center;
  color: inherit;
}

/* V36: catálogo oculto hasta elegir una marca. */
.catalog-brand-prompt {
  margin-bottom: 34px;
}

.catalog-console .catalog-filters {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

@media (max-width: 620px) {
  .catalog-console .catalog-filter:first-child {
    grid-column: auto;
  }

  .catalog-console .catalog-filters {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 380px) {
  .catalog-console .catalog-filters {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.brand .brand-logo {
  display: block;
  width: min(250px, 24vw);
  max-width: 250px;
  height: auto;
  max-height: 54px;
  object-fit: contain;
  object-position: left center;
  background: transparent;
  filter: none;
}

.footer-brand img {
  width: min(100%, 320px);
  height: auto;
  max-height: none;
}

html.tdm-motion-ready .brand,
html.tdm-motion-ready .catalog-site-title,
html.tdm-motion-ready .menu-toggle,
html.tdm-motion-ready .header-cta {
  animation: tdm-header-arrive 560ms cubic-bezier(0.2, 0.75, 0.25, 1) both;
}

html.tdm-motion-ready .catalog-site-title {
  animation-delay: 80ms;
}

html.tdm-motion-ready .menu-toggle {
  animation-delay: 140ms;
}

html.tdm-motion-ready .header-cta {
  animation-delay: 200ms;
}

html.tdm-motion-ready .home-hero-panel .catalog-intro-copy > * {
  opacity: 0;
  animation: tdm-hero-reveal 760ms cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

html.tdm-motion-ready .home-hero-panel .catalog-intro-copy > :nth-child(1) {
  animation-delay: 180ms;
}

html.tdm-motion-ready .home-hero-panel .catalog-intro-copy > :nth-child(2) {
  animation-delay: 300ms;
}

html.tdm-motion-ready .home-hero-panel .catalog-intro-copy > :nth-child(3) {
  animation-delay: 420ms;
}

html.tdm-motion-ready .tdm-reveal {
  opacity: 0;
  transform: translate3d(0, 24px, 0);
  transition:
    opacity 640ms cubic-bezier(0.2, 0.75, 0.25, 1),
    transform 640ms cubic-bezier(0.2, 0.75, 0.25, 1);
  transition-delay: var(--tdm-reveal-delay, 0ms);
}

html.tdm-motion-ready .tdm-reveal.is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

.catalog-filter.is-active {
  animation: tdm-filter-confirm 360ms ease-out;
}

@media (hover: hover) and (pointer: fine) {
  .button,
  .catalog-filter,
  .directory-card,
  .brand-link {
    transition-property: color, background-color, border-color, box-shadow, transform;
    transition-duration: 190ms;
    transition-timing-function: ease;
  }

  .button:hover,
  .button:focus-visible {
    transform: translateY(-2px);
  }

  .brand-link:hover,
  .brand-link:focus-visible {
    transform: translateY(-1px) scale(1.012);
  }

  html.tdm-motion-ready .product-card.tdm-reveal.is-visible:hover {
    transform: translate3d(0, -7px, 0);
  }

  html.tdm-motion-ready .directory-card.tdm-reveal.is-visible:hover {
    transform: translate3d(0, -4px, 0);
    box-shadow: 0 20px 45px rgba(21, 21, 21, 0.13);
  }
}

@keyframes tdm-header-arrive {
  from {
    opacity: 0;
    transform: translate3d(0, -12px, 0);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

@keyframes tdm-hero-reveal {
  from {
    opacity: 0;
    transform: translate3d(0, 28px, 0);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

/* V38: fondo técnico gris, grafito y rojo integrado con la paleta de la página. */
.product-card-image,
.catalog-showcase .product-card-image,
.product-detail-visual {
  isolation: isolate;
  border-color: rgba(174, 22, 43, 0.28) !important;
  background-color: #dfe1e1 !important;
  background-image:
    radial-gradient(
      ellipse at 50% 46%,
      rgba(247, 247, 245, 0.96) 0%,
      rgba(238, 238, 236, 0.9) 37%,
      rgba(220, 221, 221, 0.7) 66%,
      rgba(199, 201, 202, 0.2) 100%
    ),
    linear-gradient(
      148deg,
      transparent 0%,
      transparent 67%,
      rgba(174, 22, 43, 0.18) 67.5%,
      rgba(214, 0, 37, 0.09) 73%,
      transparent 73.5%
    ),
    linear-gradient(
      152deg,
      transparent 0%,
      transparent 82%,
      rgba(36, 36, 36, 0.18) 82.5%,
      rgba(20, 20, 20, 0.24) 100%
    ),
    repeating-linear-gradient(
      135deg,
      rgba(174, 22, 43, 0.1) 0,
      rgba(174, 22, 43, 0.1) 1px,
      transparent 1px,
      transparent 28px
    ),
    linear-gradient(
      145deg,
      #f1f1ef 0%,
      #d9dbdb 58%,
      #c5c8c9 100%
    ) !important;
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.48),
    inset 0 -42px 70px rgba(36, 36, 36, 0.06),
    0 16px 34px rgba(23, 23, 23, 0.1) !important;
}

.product-detail-visual::before {
  display: none !important;
  content: none !important;
}

.product-card-image::before,
.product-detail-visual::after {
  position: absolute;
  z-index: 2;
  right: 0;
  bottom: 0;
  left: 0;
  height: 4px;
  background: linear-gradient(
    90deg,
    var(--tdm-logo-red) 0%,
    var(--tdm-red) 42%,
    rgba(214, 0, 37, 0) 92%
  ) !important;
  content: "" !important;
  pointer-events: none;
}

.product-card-image img,
.product-detail-visual img {
  filter: drop-shadow(0 14px 12px rgba(18, 18, 18, 0.17)) !important;
}

.product-card:hover .product-card-image img {
  transform: scale(1.018);
  filter: drop-shadow(0 18px 15px rgba(18, 18, 18, 0.22)) !important;
}

@media (max-width: 620px) {
  .product-card-image,
  .catalog-showcase .product-card-image,
  .product-detail-visual {
    background-image:
      radial-gradient(
        ellipse at 50% 46%,
        rgba(247, 247, 245, 0.96) 0%,
        rgba(235, 235, 233, 0.88) 43%,
        rgba(207, 209, 210, 0.42) 100%
      ),
      linear-gradient(
        148deg,
        transparent 0%,
        transparent 68%,
        rgba(174, 22, 43, 0.17) 68.5%,
        rgba(214, 0, 37, 0.08) 75%,
        transparent 75.5%
      ),
      linear-gradient(
        152deg,
        transparent 0%,
        transparent 84%,
        rgba(36, 36, 36, 0.2) 84.5%,
        rgba(20, 20, 20, 0.23) 100%
      ),
      repeating-linear-gradient(
        135deg,
        rgba(174, 22, 43, 0.1) 0,
        rgba(174, 22, 43, 0.1) 1px,
        transparent 1px,
        transparent 24px
      ),
      linear-gradient(
        145deg,
        #f0f0ee 0%,
        #d8dada 60%,
        #c4c7c8 100%
      ) !important;
  }
}

/* V39: disponibilidad visible en todas las tarjetas y fichas de máquinas. */
.product-stock {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 11px;
  border: 1px solid rgba(255, 255, 255, 0.48);
  border-radius: 999px;
  background: rgba(20, 20, 20, 0.92);
  box-shadow: 0 8px 20px rgba(20, 20, 20, 0.2);
  color: var(--tdm-white);
  font-size: 0.67rem;
  font-weight: 900;
  letter-spacing: 0.07em;
  line-height: 1;
  text-transform: uppercase;
  white-space: nowrap;
}

.product-stock-dot {
  width: 8px;
  height: 8px;
  flex: 0 0 auto;
  border: 2px solid rgba(255, 255, 255, 0.58);
  border-radius: 50%;
  background: #39c66d;
  box-shadow: 0 0 0 3px rgba(57, 198, 109, 0.16);
}

.product-card-stock {
  position: absolute;
  z-index: 3;
  top: 16px;
  right: 16px;
}

.product-detail-stock {
  border-color: rgba(174, 22, 43, 0.2);
  background: var(--tdm-charcoal);
}

@media (max-width: 620px) {
  .product-card-stock {
    top: 12px;
    right: 12px;
    gap: 6px;
    padding: 6px 9px;
    font-size: 0.6rem;
  }

  .product-stock-dot {
    width: 7px;
    height: 7px;
  }
}

@keyframes tdm-filter-confirm {
  0% { transform: scale(0.98); }
  55% { transform: scale(1.025); }
  100% { transform: scale(1); }
}

@media (max-width: 860px) {
  .brand .brand-logo {
    width: min(205px, 29vw);
    max-width: 205px;
    max-height: 46px;
  }
}

@media (max-width: 620px) {
  .brand .brand-logo {
    width: min(112px, 31vw) !important;
    max-width: 112px !important;
    height: auto !important;
    max-height: 32px !important;
  }

  .footer-brand img {
    width: min(100%, 280px);
  }

  html.tdm-motion-ready .tdm-reveal {
    transform: translate3d(0, 16px, 0);
  }
}

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

  .tdm-reveal,
  .tdm-reveal.is-visible {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}
/* Ubicación: composición centrada y paleta cálida de alto contraste. */
.contact-directory {
  background: #f3f1ed;
}

.contact-directory .directory-card-light {
  width: 100%;
  margin: 0;
  padding: 38px clamp(24px, 5vw, 64px);
  justify-self: stretch;
  border: 1px solid #ded9d2;
  border-top: 0;
  border-radius: 0 0 var(--tdm-radius-lg) var(--tdm-radius-lg);
  background: linear-gradient(145deg, #f7f5f1 0%, #ebe7e1 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9);
  color: #252525;
  text-align: center;
  transform: none !important;
}

.contact-directory .directory-card-light h3 {
  margin: 0 auto 24px;
  color: #252525;
  font-size: clamp(1.45rem, 2.4vw, 1.9rem);
  text-align: center;
}

.contact-directory .directory-card-light h3::after {
  display: block;
  width: 46px;
  height: 3px;
  margin: 12px auto 0;
  border-radius: 999px;
  background: var(--tdm-logo-red);
  content: "";
}

.contact-directory .location-columns {
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
  align-items: stretch;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.contact-directory .directory-card-light address {
  display: flex;
  min-height: 190px;
  align-items: center;
  justify-content: flex-start;
  padding: 24px;
  border: 1px solid #ddd7cf;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 12px 30px rgba(37, 37, 37, 0.07);
  color: #4d4b48;
  text-align: center;
}

.contact-directory .directory-card-light address strong {
  color: #252525;
  font-size: 1.02rem;
}

.contact-directory .directory-card-light .map-button {
  min-width: 190px;
  margin-top: auto;
  border-color: #252525;
  background: #252525;
  box-shadow: none;
  color: #ffffff;
}

.contact-directory .directory-card-light .map-button:hover,
.contact-directory .directory-card-light .map-button:focus-visible {
  border-color: var(--tdm-logo-red);
  background: var(--tdm-logo-red);
  color: #ffffff;
  text-decoration: none;
}

@media (max-width: 720px) {
  .contact-directory .directory-card-light {
    padding: 28px 18px;
    border-radius: 0 0 18px 18px;
  }

  .contact-directory .location-columns {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .contact-directory .directory-card-light address {
    min-height: 175px;
  }

  .contact-directory .directory-card-light .map-button {
    width: 100%;
    min-width: 0;
  }
}
/* Panel independiente de ubicación: dos columnas equilibradas sin desbordes. */
.contact-directory {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  background: transparent;
}

@media (max-width: 860px) {
  .contact-directory {
    grid-template-columns: 1fr;
  }
}

.location-panel {
  width: 100%;
  margin-top: 18px;
  padding: clamp(32px, 5vw, 56px);
  border: 1px solid #dedbd6;
  border-radius: var(--tdm-radius-lg);
  background: #f7f6f3;
  box-shadow: 0 18px 44px rgba(31, 31, 31, 0.09);
  color: #252525;
  text-align: center;
}

.location-panel h3 {
  margin: 0 0 32px;
  color: #252525;
  font-size: clamp(1.65rem, 3vw, 2.2rem);
  letter-spacing: -0.025em;
}

.location-panel h3::after {
  display: block;
  width: 44px;
  height: 3px;
  margin: 13px auto 0;
  border-radius: 999px;
  background: var(--tdm-logo-red);
  content: "";
}

.location-panel .location-columns {
  display: grid;
  width: min(100%, 860px);
  margin: 0 auto;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
}

.location-panel address {
  display: flex;
  min-width: 0;
  min-height: 230px;
  align-items: center;
  flex-direction: column;
  padding: 8px clamp(24px, 5vw, 52px);
  color: #55524f;
  font-size: 0.98rem;
  font-style: normal;
  line-height: 1.7;
  text-align: center;
}

.location-panel address + address {
  border-left: 1px solid #d8d4ce;
}

.location-panel address strong {
  margin-bottom: 16px;
  color: #252525;
  font-size: 1.18rem;
}

.location-panel address span {
  display: block;
}

.location-panel .map-button {
  width: 100%;
  max-width: 230px;
  min-height: 46px;
  margin-top: auto;
  padding: 11px 18px;
  border: 1px solid var(--tdm-logo-red);
  border-radius: 12px;
  background: var(--tdm-logo-red);
  box-shadow: 0 8px 18px rgba(174, 22, 43, 0.16);
  color: #ffffff;
  font-size: 0.82rem;
}

.location-panel .map-button:hover,
.location-panel .map-button:focus-visible {
  border-color: #252525;
  background: #252525;
  color: #ffffff;
  text-decoration: none;
}

@media (max-width: 720px) {
  .location-panel {
    padding: 28px 20px;
    border-radius: 20px;
  }

  .location-panel .location-columns {
    grid-template-columns: 1fr;
  }

  .location-panel address {
    min-height: 210px;
    padding: 20px 8px;
  }

  .location-panel address + address {
    border-top: 1px solid #d8d4ce;
    border-left: 0;
  }
}

/* V62: tipografía técnica del título del catálogo. */
.catalog-title-bicolor strong {
  font-family: "Bahnschrift SemiCondensed", "Bahnschrift", "Arial Narrow", Arial, sans-serif;
  font-style: normal;
  font-variant-numeric: lining-nums;
  text-rendering: geometricPrecision;
}

.catalog-title-bicolor .catalog-title-black {
  font-size: 0.86rem;
  font-weight: 700;
  letter-spacing: 0.055em;
  line-height: 0.98;
}

.catalog-title-bicolor .catalog-title-red {
  font-size: 0.61rem;
  font-weight: 700;
  letter-spacing: 0.185em;
  line-height: 1;
}

/* V63: separador del encabezado más visible. */
.catalog-site-title {
  padding-left: 18px;
  border-left: 2px solid rgba(36, 36, 36, 0.38);
}

@media (max-width: 620px) {
  .catalog-site-title {
    padding-left: 12px;
    border-left-width: 2px;
  }
}

/* V64: separador negro con el grosor original. */
.catalog-site-title {
  padding-left: 12px;
  border-left: 1px solid #000000;
}

/* V65: iconos y tipografías fieles de redes sociales. */
.footer-social-link .social-icon svg {
  display: block;
  width: 18px;
  height: 18px;
}

.footer-social-link .social-brand-name {
  line-height: 1;
  text-transform: none;
}

.footer-social-link .social-brand-facebook {
  font-family: "Segoe UI", Arial, Helvetica, sans-serif;
  font-size: 1rem;
  font-weight: 650;
  letter-spacing: -0.025em;
}

.footer-social-link .social-brand-instagram {
  font-family: "Segoe Script", "Brush Script MT", cursive;
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: -0.035em;
}

.footer-social-link .social-brand-tiktok {
  font-family: "Arial Black", "Bahnschrift", Arial, sans-serif;
  font-size: 0.93rem;
  font-weight: 900;
  letter-spacing: -0.045em;
}

.footer-social-link .social-brand-linkedin {
  font-family: "Segoe UI", Arial, Helvetica, sans-serif;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: -0.035em;
}


/* V66: encuadres revisados, fondos integrados y stock rojo. */
.product-stock {
  background: var(--tdm-red);
  box-shadow: 0 8px 20px rgba(214, 0, 37, .22);
}

.product-card-image img[src*="espada-oregon-160sdea041.jpg"],
.product-detail-visual img[src*="espada-oregon-160sdea041.jpg"],
.product-card-image img[src*="espada-oregon-180sdea041.png"],
.product-detail-visual img[src*="espada-oregon-180sdea041.png"] {
  mix-blend-mode: multiply;
}


/* V67: integración visual de la fotografía de las limas Oregon. */
.product-card-image img[src*="lima-oregon-caja-12.jpg"],
.product-detail-visual img[src*="lima-oregon-caja-12.jpg"] {
  mix-blend-mode: multiply;
}


/* V71: logo TIGER original mejorado técnicamente, sin rediseño. */
.catalog-site-title.is-brand-logo img[alt="TIGER"] {
  width: auto !important;
  height: auto !important;
  max-width: 150px !important;
  max-height: 54px !important;
  object-fit: contain !important;
}

.brand-heading-logo[alt="TIGER"] {
  width: auto !important;
  height: auto !important;
  max-width: 210px !important;
  max-height: 96px !important;
  object-fit: contain !important;
}

@media (max-width: 620px) {
  .catalog-site-title.is-brand-logo img[alt="TIGER"] {
    max-width: 80px !important;
    max-height: 34px !important;
  }
}


/* V73: logo TIGER proporcionado con las demás marcas. */
.catalog-site-title.is-brand-logo img[alt="TIGER"] {
  display: block !important;
  width: 132px !important;
  height: 42px !important;
  max-width: 132px !important;
  max-height: 42px !important;
  object-fit: contain !important;
  object-position: center !important;
}

.brand-heading-logo[alt="TIGER"] {
  display: block !important;
  width: 168px !important;
  height: 66px !important;
  max-width: 168px !important;
  max-height: 66px !important;
  object-fit: contain !important;
  object-position: center !important;
}

@media (max-width: 620px) {
  .catalog-site-title.is-brand-logo img[alt="TIGER"] {
    width: 80px !important;
    height: 32px !important;
    max-width: 80px !important;
    max-height: 32px !important;
  }
  .brand-heading-logo[alt="TIGER"] {
    width: 132px !important;
    height: 52px !important;
    max-width: 132px !important;
    max-height: 52px !important;
  }
}


/* V74: icono oficial y uniforme de WhatsApp. */
.whatsapp-brand-icon {
  display: block;
  width: 26px;
  height: 26px;
  flex: 0 0 26px;
  fill: currentColor;
  stroke: none;
}

.detail-actions .whatsapp-brand-icon {
  width: 23px;
  height: 23px;
  flex-basis: 23px;
}

/* 2.21.5: logo institucional ampliado, título sin cambios. */
.site-header .brand .brand-logo {
  width: 172px !important;
  height: 42px !important;
  max-width: 172px !important;
  max-height: 42px !important;
  object-fit: contain;
  object-position: left center;
}
.site-header .catalog-title-bicolor {
  display: grid;
  flex: 0 0 auto;
}
.site-header .catalog-title-bicolor strong {
  gap: 2px;
}
.site-header .catalog-title-bicolor .catalog-title-black {
  font-size: 1rem;
  line-height: 1.05;
  letter-spacing: 0.045em;
}
.site-header .catalog-title-bicolor .catalog-title-red {
  font-size: 0.71875rem;
  line-height: 1.05;
  letter-spacing: 0.08em;
}
@media (max-width: 620px) {
  .site-header .brand .brand-logo {
    width: 128px !important;
    height: 34px !important;
    max-width: 128px !important;
    max-height: 34px !important;
  }
  .site-header .catalog-title-bicolor {
    padding-left: 8px;
  }
  .site-header .catalog-title-bicolor .catalog-title-black {
    font-size: 0.9375rem;
  }
  .site-header .catalog-title-bicolor .catalog-title-red {
    font-size: 0.6875rem;
    letter-spacing: 0.065em;
  }
}
@media (max-width: 380px) {
  .site-header .header-inner {
    gap: 6px !important;
  }
  .site-header .brand .brand-logo {
    width: 96px !important;
    max-width: 96px !important;
    height: 32px !important;
    max-height: 32px !important;
  }
  .site-header .catalog-title-bicolor .catalog-title-black {
    font-size: 0.875rem;
  }
  .site-header .catalog-title-bicolor .catalog-title-red {
    font-size: 0.65625rem;
    letter-spacing: 0.04em;
  }
}
