/* ==========================================================================
   PetErnita: shared layer (common.css), adopted 1:1 from the PerErnidad ES
   common.css v1 (Sept 2026). Loaded LAST on every page. Controls, site-wide:
     1. page background   2. top header strip   3. bottom footer
   The ES WhatsApp box styles are not used on the DE site and are omitted.
   ========================================================================== */

/* 1. Page background — cream everywhere */
html body { background-color: #f5f1ec; }

/* 2. Header — logo (links to homepage) + nav */
body > header.site-header {
  box-sizing: border-box;
  margin: 0;
  background: #ffffff;
  border-bottom: 1px solid #ede8e1;
  padding: 0 24px;
  height: 58px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 1px 6px rgba(0,0,0,0.06);
}
body > header.site-header .site-logo-link { display: flex; align-items: center; flex: 0 0 auto; line-height: 0; }
body > header.site-header .site-logo { display: block; height: 36px; width: auto; max-width: none; }
body > header.site-header .site-nav { display: flex; align-items: center; gap: 22px; font-size: 0.87rem; margin: 0; padding: 0; }
body > header.site-header .site-nav a { text-decoration: none; font-weight: 600; white-space: nowrap; line-height: 1.4; transition: background 0.15s, color 0.15s; }
body > header.site-header .site-nav a:not(.nav-cta) {
  border: 1.5px solid #7a4b4a; color: #7a4b4a !important; background: transparent;
  padding: 6px 14px; border-radius: 6px; font-size: 0.82rem;
}
body > header.site-header .site-nav a:not(.nav-cta):hover { background: #7a4b4a; color: #ffffff !important; }
body > header.site-header .site-nav a.nav-cta {
  background: #7a4b4a !important; color: #ffffff !important; border: 0;
  padding: 7px 16px; border-radius: 6px; font-size: 0.82rem !important;
}
body > header.site-header .site-nav a.nav-cta:hover { background: #4a2c2a !important; text-decoration: none !important; }

@media (max-width: 640px) {
  body > header.site-header { padding: 0 14px; height: 52px; gap: 10px; }
  body > header.site-header .site-nav { gap: 8px; }
  body > header.site-header .site-nav a:not(.nav-cta) { padding: 6px 10px; font-size: 0.76rem; }
  body > header.site-header .site-nav a.nav-cta { padding: 6px 12px; font-size: 0.76rem !important; }
  body > header.site-header .site-logo { height: 30px; }
}
@media (max-width: 400px) {
  body > header.site-header .site-logo { height: 26px; }
}
@media (max-width: 360px) {
  body > header.site-header { padding: 0 10px; gap: 8px; }
  body > header.site-header .site-nav { gap: 6px; }
  body > header.site-header .site-nav a:not(.nav-cta) { padding: 5px 8px; }
  body > header.site-header .site-nav a.nav-cta { padding: 5px 9px; }
  body > header.site-header .site-logo { height: 22px; }
}

/* 3. Footer */
body > footer.site-footer {
  display: block;
  box-sizing: border-box;
  margin: 0;
  background: #ffffff;
  border-top: 1px solid #ede8e1;
  text-align: center;
  padding: 20px;
  font-size: 0.82rem;
  line-height: 1.7;
  color: #777777;
}
body > footer.site-footer.site-footer--gap { margin-top: 64px; }
body > footer.site-footer p { margin: 1em 0; color: #777777; font-size: inherit; line-height: inherit; text-align: center; }
body > footer.site-footer p.legal-note { margin: 8px auto 0.7rem; max-width: 720px; font-size: 0.7rem; line-height: 1.4; }
body > footer.site-footer a { color: #777777; text-decoration: none; }
body > footer.site-footer a:hover { text-decoration: underline; }
