body.page-id-49 .entry-header {
  display: none !important;
}

body.page-id-49 .entry-content {
  margin-top: 0;
}

.tmd-catalog-shell {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  font-family: 'Work Sans', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: #3c3c3c;
}

.editor-styles-wrapper .tmd-catalog-shell {
  width: 100%;
  margin-left: 0;
}

.tmd-catalog-container {
  width: min(1180px, calc(100% - 32px));
  margin-left: auto !important;
  margin-right: auto !important;
}

.editor-styles-wrapper .tmd-catalog-container {
  width: 100%;
}

.tmd-catalog-hero {
  background:
    radial-gradient(circle at 80% 22%, rgba(18,140,235,.22), transparent 34%),
    linear-gradient(135deg, #262e4f 0%, #1a2240 100%);
  color: #fff;
  padding: 76px 0 58px;
}

.tmd-catalog-hero h1 {
  color: #fff;
  font-size: clamp(38px, 5vw, 62px);
  line-height: 1;
  letter-spacing: -.04em;
  font-weight: 800;
  margin: 0;
}

.tmd-catalog-hero p {
  color: rgba(255,255,255,.78);
  font-size: 18px;
  line-height: 1.65;
  max-width: 720px;
}

.tmd-catalog-kicker {
  color: #ffc33c;
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .14em;
}

.tmd-catalog-section {
  background: #f5f7fa;
  padding: 54px 0 78px;
}

.tmd-catalog-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 28px;
  align-items: start;
}

.tmd-catalog-filters {
  background: #fff;
  border: 1px solid #e8ecf2;
  border-radius: 18px;
  padding: 22px;
  box-shadow: 0 14px 36px rgba(38,46,79,.06);
  position: sticky;
  top: 86px;
}

.tmd-catalog-filters h2 {
  color: #262e4f;
  font-size: 18px;
  margin: 0 0 12px;
}

.tmd-catalog-filters p {
  color: #5e748b;
  font-size: 14px;
  line-height: 1.55;
}

.tmd-catalog-heading-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  margin-bottom: 24px;
}

.tmd-catalog-heading-row h2 {
  color: #262e4f;
  font-size: clamp(28px, 3vw, 40px);
  margin: 0;
  line-height: 1.1;
}

.tmd-catalog-heading-row p {
  color: #5e748b;
  margin: 8px 0 0;
}

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

.tmd-equipment-card {
  background: #fff;
  border: 1px solid #e8ecf2;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 14px 36px rgba(38,46,79,.06);
  transition: .2s ease;
  display: flex;
  flex-direction: column;
}

.tmd-equipment-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 22px 48px rgba(18,140,235,.13);
}

.tmd-equipment-image {
  height: 188px;
  background:
    radial-gradient(circle at 24% 28%, rgba(255,195,60,.42), transparent 30%),
    radial-gradient(circle at 78% 66%, rgba(18,140,235,.34), transparent 36%),
    #eef3f9;
  display: block;
  overflow: hidden;
}

.tmd-equipment-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.tmd-equipment-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.tmd-equipment-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-bottom: 12px;
}

.tmd-equipment-tag {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 0 9px;
  border-radius: 999px;
  background: rgba(18,140,235,.1);
  color: #128ceb;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .04em;
}

.tmd-equipment-title {
  color: #262e4f;
  font-size: 21px;
  line-height: 1.18;
  margin: 0 0 8px;
  font-weight: 800;
}

.tmd-equipment-title a {
  color: inherit;
  text-decoration: none;
}

.tmd-equipment-excerpt {
  color: #5e748b;
  font-size: 14px;
  line-height: 1.55;
  margin: 0 0 16px;
}

.tmd-equipment-specs {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin: 0 0 18px;
}

.tmd-equipment-spec {
  border: 1px solid #e8ecf2;
  border-radius: 12px;
  padding: 10px;
  background: #fbfcfe;
}

.tmd-equipment-spec span {
  display: block;
  color: #5e748b;
  font-size: 11px;
  margin-bottom: 4px;
}

.tmd-equipment-spec strong {
  display: block;
  color: #262e4f;
  font-size: 13px;
}

.tmd-equipment-actions {
  margin-top: auto;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.tmd-equipment-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 15px;
  border-radius: 7px;
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
  transition: .2s ease;
}

.tmd-equipment-btn-primary {
  background: #128ceb;
  color: #fff;
}

.tmd-equipment-btn-primary:hover {
  filter: brightness(1.05);
}

.tmd-equipment-btn-secondary {
  border: 1px solid #128ceb;
  color: #128ceb;
}

.tmd-equipment-empty {
  background: #fff;
  border: 1px dashed #b9c4d2;
  border-radius: 18px;
  padding: 28px;
  color: #5e748b;
}

.tmd-catalog-cta {
  margin-top: 46px;
  border-radius: 24px;
  background:
    radial-gradient(circle at 15% 20%, rgba(255,195,60,.28), transparent 28%),
    linear-gradient(135deg, #128ceb, #262e4f);
  color: #fff;
  padding: 38px;
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: center;
}

.tmd-catalog-cta h2 {
  color: #fff;
  margin: 0;
  font-size: clamp(24px, 3vw, 36px);
  line-height: 1.12;
}

.tmd-catalog-cta p {
  color: rgba(255,255,255,.78);
  margin: 10px 0 0;
}

.tmd-catalog-btn-yellow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 24px;
  border-radius: 7px;
  background: #ffc33c;
  color: #262e4f;
  font-weight: 800;
  text-decoration: none;
  white-space: nowrap;
}

@media (max-width: 1060px) {
  .tmd-catalog-layout {
    grid-template-columns: 1fr;
  }

  .tmd-catalog-filters {
    position: static;
  }

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

@media (max-width: 680px) {
  .tmd-catalog-hero {
    padding: 58px 0 44px;
  }

  .tmd-catalog-section {
    padding: 38px 0 58px;
  }

  .tmd-equipment-grid {
    grid-template-columns: 1fr;
  }

  .tmd-catalog-heading-row,
  .tmd-catalog-cta {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* Ajuste visual página Equipos */
body.page-id-49 .site-main,
body.page-id-49 main,
body.page-id-49 [data-content="normal"],
body.page-id-49 [data-content="narrow"],
body.page-id-49 .ct-container,
body.page-id-49 .ct-container-full {
  padding-top: 0 !important;
  margin-top: 0 !important;
}

body.page-id-49 .tmd-catalog-shell {
  margin-top: 0 !important;
}

body.page-id-49 .tmd-catalog-hero {
  margin-top: 0 !important;
}

/* Mejor visibilidad de /equipos dentro del editor */
.editor-styles-wrapper .tmd-catalog-hero h1,
.editor-styles-wrapper .tmd-catalog-hero .wp-block-heading {
  color: #ffffff !important;
}

.editor-styles-wrapper .tmd-catalog-hero p:not(.tmd-catalog-kicker) {
  color: rgba(255,255,255,.78) !important;
}

.editor-styles-wrapper .tmd-catalog-kicker {
  color: #ffc33c !important;
}

/* Mejor visualización de /equipos dentro del editor Gutenberg */
.editor-styles-wrapper .tmd-catalog-shell {
  width: 100%;
  margin-left: 0;
  background: #f5f7fa;
}

.editor-styles-wrapper .tmd-catalog-container {
  width: 100%;
  max-width: 1180px;
  margin-left: auto !important;
  margin-right: auto !important;
}

.editor-styles-wrapper .tmd-catalog-hero {
  background:
    radial-gradient(circle at 80% 22%, rgba(18,140,235,.22), transparent 34%),
    linear-gradient(135deg, #262e4f 0%, #1a2240 100%) !important;
  color: #ffffff !important;
  padding: 76px 48px 58px !important;
}

.editor-styles-wrapper .tmd-catalog-hero h1,
.editor-styles-wrapper .tmd-catalog-hero .wp-block-heading {
  color: #ffffff !important;
}

.editor-styles-wrapper .tmd-catalog-hero p:not(.tmd-catalog-kicker) {
  color: rgba(255,255,255,.78) !important;
}

.editor-styles-wrapper .tmd-catalog-kicker {
  color: #ffc33c !important;
}

.editor-styles-wrapper .tmd-catalog-section {
  background: #f5f7fa !important;
  padding: 54px 48px 78px !important;
}

.editor-styles-wrapper .tmd-catalog-filters,
.editor-styles-wrapper .tmd-equipment-card,
.editor-styles-wrapper .tmd-catalog-cta {
  border-radius: 18px;
}

.editor-styles-wrapper .tmd-catalog-cta {
  background:
    radial-gradient(circle at 15% 20%, rgba(255,195,60,.28), transparent 28%),
    linear-gradient(135deg, #128ceb, #262e4f) !important;
  color: #ffffff !important;
}

.editor-styles-wrapper .tmd-catalog-cta h2 {
  color: #ffffff !important;
}

.editor-styles-wrapper .tmd-catalog-cta p {
  color: rgba(255,255,255,.78) !important;
}

.editor-styles-wrapper .tmd-catalog-btn-yellow {
  background: #ffc33c !important;
  color: #262e4f !important;
  border-radius: 7px;
  padding: 12px 22px;
  font-weight: 800;
  text-decoration: none;
}

/* Orden y legibilidad de /equipos dentro del editor Gutenberg */
.editor-styles-wrapper .tmd-catalog-layout {
  display: block !important;
}

.editor-styles-wrapper .tmd-catalog-layout > .wp-block-column {
  width: 100% !important;
  max-width: 100% !important;
  flex-basis: auto !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
}

.editor-styles-wrapper .tmd-catalog-filters {
  display: block !important;
  position: relative !important;
  top: auto !important;
  margin: 0 0 32px 0 !important;
  padding: 28px !important;
  background: #ffffff !important;
  border: 1px solid #e8ecf2 !important;
  border-radius: 18px !important;
  box-shadow: 0 14px 36px rgba(38,46,79,.06) !important;
}

.editor-styles-wrapper .tmd-catalog-heading-row {
  display: block !important;
  margin: 0 0 24px 0 !important;
}

.editor-styles-wrapper .tmd-catalog-cta {
  display: block !important;
  position: relative !important;
  clear: both !important;
  margin-top: 48px !important;
  margin-bottom: 0 !important;
  padding: 38px !important;
  border-radius: 24px !important;
  background:
    radial-gradient(circle at 15% 20%, rgba(255,195,60,.28), transparent 28%),
    linear-gradient(135deg, #128ceb, #262e4f) !important;
}

.editor-styles-wrapper .tmd-catalog-cta .wp-block-group {
  margin: 0 !important;
}

.editor-styles-wrapper .tmd-catalog-cta h2,
.editor-styles-wrapper .tmd-catalog-cta .wp-block-heading {
  color: #ffffff !important;
}

.editor-styles-wrapper .tmd-catalog-cta p {
  color: rgba(255,255,255,.82) !important;
}

.editor-styles-wrapper .tmd-catalog-btn-yellow {
  display: inline-flex !important;
  background: #ffc33c !important;
  color: #262e4f !important;
  padding: 12px 22px !important;
  border-radius: 7px !important;
  font-weight: 800 !important;
  text-decoration: none !important;
}

/* Shortcodes: que se vean ordenados en editor */
.editor-styles-wrapper .wp-block-shortcode {
  background: #ffffff !important;
  border: 1px solid #d9e1ec !important;
  border-radius: 14px !important;
  padding: 18px !important;
  box-shadow: 0 8px 24px rgba(38,46,79,.05) !important;
}

.editor-styles-wrapper .wp-block-shortcode textarea {
  border-radius: 8px !important;
  border-color: #cfd8e3 !important;
  background: #f8fafc !important;
  color: #262e4f !important;
  font-weight: 600 !important;
}

/* Igualar visualmente /equipos en Gutenberg con el frontend */
.editor-styles-wrapper {
  font-family: 'Work Sans', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif !important;
  color: #3c3c3c !important;
}

/* Canvas del editor */
.editor-styles-wrapper .is-root-container {
  background: #f5f7fa !important;
}

/* Quitar diferencias de tipografía que mete Gutenberg */
.editor-styles-wrapper .tmd-catalog-shell,
.editor-styles-wrapper .tmd-catalog-shell p,
.editor-styles-wrapper .tmd-catalog-shell h1,
.editor-styles-wrapper .tmd-catalog-shell h2,
.editor-styles-wrapper .tmd-catalog-shell h3,
.editor-styles-wrapper .tmd-catalog-shell a {
  font-family: 'Work Sans', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif !important;
}

/* Hero en editor igual al frontend */
.editor-styles-wrapper .tmd-catalog-hero {
  background:
    radial-gradient(circle at 80% 22%, rgba(18,140,235,.22), transparent 34%),
    linear-gradient(135deg, #262e4f 0%, #1a2240 100%) !important;
  color: #ffffff !important;
  padding: 76px 48px 58px !important;
  margin-top: 0 !important;
}

.editor-styles-wrapper .tmd-catalog-hero .tmd-catalog-container {
  max-width: 1180px !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

.editor-styles-wrapper .tmd-catalog-kicker {
  color: #ffc33c !important;
  font-size: 13px !important;
  font-weight: 800 !important;
  text-transform: uppercase !important;
  letter-spacing: .14em !important;
  line-height: 1.4 !important;
  margin-bottom: 18px !important;
}

/* Título del hero */
.editor-styles-wrapper .tmd-catalog-hero h1,
.editor-styles-wrapper .tmd-catalog-hero .wp-block-heading {
  color: #ffffff !important;
  font-size: clamp(38px, 5vw, 62px) !important;
  line-height: 1 !important;
  letter-spacing: -.04em !important;
  font-weight: 800 !important;
  margin-top: 0 !important;
  margin-bottom: 10px !important;
}

/* Párrafo del hero */
.editor-styles-wrapper .tmd-catalog-hero p:not(.tmd-catalog-kicker) {
  color: rgba(255,255,255,.78) !important;
  font-size: 18px !important;
  line-height: 1.65 !important;
  font-weight: 400 !important;
  max-width: 720px !important;
  margin-top: 0 !important;
}

/* Sección de catálogo */
.editor-styles-wrapper .tmd-catalog-section {
  background: #f5f7fa !important;
  padding: 54px 48px 78px !important;
}

.editor-styles-wrapper .tmd-catalog-section .tmd-catalog-container {
  max-width: 1180px !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

/* Layout en editor: una columna para que no se cruce raro */
.editor-styles-wrapper .tmd-catalog-layout {
  display: block !important;
}

.editor-styles-wrapper .tmd-catalog-layout > .wp-block-column {
  width: 100% !important;
  max-width: 100% !important;
  flex-basis: auto !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
}

/* Caja de filtros */
.editor-styles-wrapper .tmd-catalog-filters {
  display: block !important;
  position: relative !important;
  top: auto !important;
  margin: 0 0 32px 0 !important;
  padding: 28px !important;
  background: #ffffff !important;
  border: 1px solid #e8ecf2 !important;
  border-radius: 18px !important;
  box-shadow: 0 14px 36px rgba(38,46,79,.06) !important;
}

.editor-styles-wrapper .tmd-catalog-filters h2,
.editor-styles-wrapper .tmd-catalog-heading-row h2,
.editor-styles-wrapper .tmd-catalog-heading-row .wp-block-heading {
  color: #262e4f !important;
  font-size: clamp(28px, 3vw, 40px) !important;
  line-height: 1.1 !important;
  letter-spacing: -.03em !important;
  font-weight: 800 !important;
  margin-top: 0 !important;
  margin-bottom: 12px !important;
}

.editor-styles-wrapper .tmd-catalog-filters p,
.editor-styles-wrapper .tmd-catalog-heading-row p {
  color: #5e748b !important;
  font-size: 15px !important;
  line-height: 1.6 !important;
  font-weight: 400 !important;
}

/* Título “Equipos disponibles” */
.editor-styles-wrapper .tmd-catalog-heading-row {
  display: block !important;
  margin: 0 0 24px 0 !important;
}

/* Shortcodes más limpios en editor */
.editor-styles-wrapper .wp-block-shortcode {
  background: #ffffff !important;
  border: 1px solid #d9e1ec !important;
  border-radius: 14px !important;
  padding: 18px !important;
  box-shadow: 0 8px 24px rgba(38,46,79,.05) !important;
}

.editor-styles-wrapper .wp-block-shortcode textarea {
  border-radius: 8px !important;
  border-color: #cfd8e3 !important;
  background: #f8fafc !important;
  color: #262e4f !important;
  font-family: 'Work Sans', system-ui, sans-serif !important;
  font-size: 13px !important;
  font-weight: 700 !important;
}

/* CTA final en editor igual al frontend */
.editor-styles-wrapper .tmd-catalog-cta {
  display: block !important;
  position: relative !important;
  clear: both !important;
  margin-top: 48px !important;
  margin-bottom: 0 !important;
  padding: 38px !important;
  border-radius: 24px !important;
  background:
    radial-gradient(circle at 15% 20%, rgba(255,195,60,.28), transparent 28%),
    linear-gradient(135deg, #128ceb, #262e4f) !important;
  color: #ffffff !important;
}

.editor-styles-wrapper .tmd-catalog-cta h2,
.editor-styles-wrapper .tmd-catalog-cta .wp-block-heading {
  color: #ffffff !important;
  font-size: clamp(24px, 3vw, 36px) !important;
  line-height: 1.12 !important;
  font-weight: 800 !important;
  margin-top: 0 !important;
}

.editor-styles-wrapper .tmd-catalog-cta p {
  color: rgba(255,255,255,.82) !important;
  font-size: 16px !important;
  line-height: 1.55 !important;
}

.editor-styles-wrapper .tmd-catalog-btn-yellow {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  background: #ffc33c !important;
  color: #262e4f !important;
  min-height: 46px !important;
  padding: 0 24px !important;
  border-radius: 7px !important;
  font-weight: 800 !important;
  text-decoration: none !important;
  white-space: nowrap !important;
}

/* Filtros personalizados conectados al set Filter Everything */
.tmd-equipment-filters-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.tmd-equipment-filter-group {
  border: 0;
  margin: 0;
  padding: 0 0 18px;
  border-bottom: 1px solid #e8ecf2;
}

.tmd-equipment-filter-group:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.tmd-equipment-filter-group legend {
  color: #262e4f;
  font-size: 14px;
  font-weight: 800;
  margin-bottom: 12px;
}

.tmd-equipment-filter-option {
  display: grid;
  grid-template-columns: 18px 1fr auto;
  align-items: center;
  gap: 9px;
  min-height: 32px;
  color: #5e748b;
  font-size: 14px;
  cursor: pointer;
}

.tmd-equipment-filter-option input {
  width: 16px;
  height: 16px;
  accent-color: #128ceb;
}

.tmd-equipment-filter-option span {
  color: #3c3c3c;
}

.tmd-equipment-filter-option em {
  font-style: normal;
  color: #5e748b;
  background: #f5f7fa;
  border-radius: 999px;
  min-width: 24px;
  height: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 700;
}

.tmd-equipment-active-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tmd-equipment-active-chip {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 0 10px;
  border-radius: 999px;
  background: rgba(18,140,235,.1);
  color: #128ceb;
  font-size: 11px;
  font-weight: 800;
}

.tmd-equipment-clear-filters {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  color: #262e4f;
  font-size: 12px;
  font-weight: 800;
  text-decoration: underline;
}

.tmd-equipment-apply-filters {
  border: 0;
  background: #128ceb;
  color: #fff;
  border-radius: 7px;
  min-height: 42px;
  padding: 0 16px;
  font-weight: 800;
}
