/* SCAM · Mascotas al Momento · Encabezado editorial 2026-10-20 */
/* Se mantiene el módulo existente y solamente se redefine el encabezado. */
.pets-wrap .pets-brandbar { display: none; }
.pets-wrap .pets-masthead.pets-masthead--editorial {
  display: grid; grid-template-columns: minmax(180px, 255px) minmax(0,1fr) auto;
  gap: clamp(18px,3.1vw,42px); align-items: center;
  min-height: 156px; padding: 23px 24px; background: #fff;
  color: #1b222c; border: 0; border-bottom: 1px solid #e2e4e8;
  overflow: visible;
}
.pets-wrap .pets-masthead-logo { width:100%; min-width:0; text-align:center; }
.pets-wrap .pets-masthead-logo a { display:block; line-height:0; }
.pets-wrap .pets-masthead-logo img { display:block; width:100%; max-width:255px; height:auto; margin:0 auto; object-fit:contain; }
.pets-wrap .pets-masthead-logo small { display:block; font:400 10px/1.4 system-ui,sans-serif; color:#656d7b; margin-top:3px; letter-spacing:0; }
.pets-wrap .pets-masthead-summary { min-width:0; }
.pets-wrap .pets-masthead-summary .pets-masthead-headline { font-size:clamp(19px,2.05vw,27px); line-height:1.16; font-weight:800; color:#151b26; margin:0 0 8px; letter-spacing:-.025em; }
.pets-wrap .pets-masthead-summary .pets-masthead-deck { font-size:clamp(11px,1.05vw,13px); line-height:1.5; color:#657083; margin:0; font-weight:400; }
.pets-wrap .pets-masthead-cta {
  display:inline-flex; justify-content:center; align-items:center; min-height:44px;
  min-width:168px; padding:12px 21px; border-radius:5px;
  color:#fff; background:#bc071c; font:750 13px/1.2 system-ui,sans-serif;
  white-space:nowrap; text-decoration:none; transition:background .15s ease;
}
.pets-wrap .pets-masthead-cta:hover,.pets-wrap .pets-masthead-cta:focus-visible { color:#fff; background:#970515; }
.pets-wrap .pets-masthead-cta:focus-visible,.pets-wrap .pets-header-tabs a:focus-visible { outline:3px solid #f49fab; outline-offset:3px; }
.pets-wrap .pets-header-tabs { background:#fafafa; border-left:0; border-right:0; border-bottom:1px solid #dfe1e5; border-top:0; min-height:47px; overflow-x:auto; }
.pets-wrap .pets-header-tabs a { padding:14px 12px 13px; min-height:47px; display:inline-flex; align-items:center; font-size:12px; font-weight:650; }
.pets-wrap .pets-header-tabs .pets-header-home { margin-left:auto; color:#657083; font-weight:450; }
.pets-wrap .pets-header-tabs .pets-header-home:hover { color:#bc071c; }
@media (max-width: 850px) {
  .pets-wrap .pets-masthead.pets-masthead--editorial { grid-template-columns:minmax(140px,215px) minmax(0,1fr); gap:18px 23px; padding:18px 18px 20px; }
  .pets-wrap .pets-masthead-cta { grid-column:2; width:max-content; min-width:150px; justify-self:start; }
  .pets-wrap .pets-masthead-summary .pets-masthead-headline { font-size:clamp(19px,3vw,25px); }
  .pets-wrap .pets-header-tabs .pets-header-home { margin-left:12px; }
}
@media (max-width: 540px) {
  .pets-wrap .pets-masthead.pets-masthead--editorial { display:grid; grid-template-columns:minmax(0,1fr); gap:13px; padding:17px 16px 18px; min-height:0; }
  .pets-wrap .pets-masthead-logo { text-align:left; }
  .pets-wrap .pets-masthead-logo img { margin:0; width:min(64vw,240px); }
  .pets-wrap .pets-masthead-logo small { font-size:10px; margin-top:2px; padding-left:3px; }
  .pets-wrap .pets-masthead-summary .pets-masthead-headline { font-size:20px; margin-bottom:4px; }
  .pets-wrap .pets-masthead-summary .pets-masthead-deck { font-size:12px; }
  .pets-wrap .pets-masthead-cta { grid-column:1; min-width:0; width:100%; min-height:44px; justify-self:stretch; font-size:13px; }
  .pets-wrap .pets-header-tabs a { font-size:12px; min-height:47px; padding:14px 13px 12px; }
}
@media (prefers-reduced-motion:reduce) {
  .pets-wrap .pets-masthead-cta { transition:none; }
}
@media (max-width:640px) {
  /* El CSS anterior desplazaba el menú -1 px y provocaba desborde horizontal. */
  .pets-wrap .pets-header-tabs { margin:0; }
}
