/* GAM-010 (October 3, 2026): paid landing headers in the main-site style
 * (each keeps its own items), approved paid hero typography, readable paid
 * Back controls, tidy shop-information band and the A/C recharge ribbon. Loaded after the existing stylesheets. Every rule is
 * scoped to the elements it corrects; nothing here changes forms or runtimes. */

/* ------------------------------------------------------------------
 * 1. A/C recharge ribbon (regular site only; paid landers have none)
 * ------------------------------------------------------------------ */
.rib.rib-ac {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 16px;
  background: var(--cream);
  color: var(--ink);
  border-bottom: 1px solid var(--line);
  text-align: center;
}
.rib.rib-ac a.rib-ac-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 44px;
  max-width: 100%;
  margin: 0;
  padding: 5px 2px;
  color: var(--ink);
  font-family: var(--text);
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: 0;
  line-height: 1.3;
  text-align: center;
  text-decoration: none;
  text-transform: none;
  white-space: normal;
}
.rib.rib-ac .rib-ac-text { min-width: 0; text-wrap: balance; }
.rib.rib-ac .rib-ac-price { color: var(--amber-dark); font-weight: 700; white-space: nowrap; }
.rib.rib-ac .rib-ac-arrow {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--amber);
  color: var(--ink);
  transition: transform .15s ease, background-color .15s ease;
}
.rib.rib-ac .rib-ac-arrow svg { display: block; width: 15px; height: 15px; }
.rib.rib-ac a.rib-ac-link:hover { color: var(--ink); }
.rib.rib-ac a.rib-ac-link:hover .rib-ac-text { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.rib.rib-ac a.rib-ac-link:hover .rib-ac-arrow { background: var(--amber-600); transform: translateX(2px); }
.rib.rib-ac a.rib-ac-link:focus-visible { outline: 3px solid var(--amber-dark); outline-offset: 2px; border-radius: 4px; }
@media (max-width: 640px) {
  .rib.rib-ac { padding: 0 12px; }
  .rib.rib-ac a.rib-ac-link { gap: 8px; font-size: 12.5px; }
  .rib.rib-ac .rib-ac-arrow { width: 24px; height: 24px; }
  .rib.rib-ac .rib-ac-arrow svg { width: 14px; height: 14px; }
}
@media (max-width: 359px) {
  .rib.rib-ac a.rib-ac-link { font-size: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  .rib.rib-ac .rib-ac-arrow { transition: none; }
  .rib.rib-ac a.rib-ac-link:hover .rib-ac-arrow { transform: none; }
}

/* ------------------------------------------------------------------
 * 2. Shop-information band (regular pages, receipts and paid landers).
 *    Below 700px the shop name sits on its own line so the address never
 *    wraps into a narrow column beside it; hours stack without an orphaned
 *    separator on phones. Paid landers keep their existing contents (their
 *    desktop band layout is in section 3).
 * ------------------------------------------------------------------ */
@media (max-width: 1250px) {
  body > .shop > .wrap { row-gap: 2px; padding-top: 8px; padding-bottom: 6px; }
  body > .shop > .wrap > .shop-identity { align-items: center; flex-wrap: nowrap; gap: 0 12px; }
  body > .shop > .wrap > .shop-identity .shop-address { flex: 0 1 auto; }
  body > .shop > .wrap > .hrs { min-height: 22px; align-items: center; }
  body > .shop > .wrap > .shop-status { margin-top: 2px; }
}
@media (max-width: 699px) {
  body > .shop > .wrap { padding: 10px 16px 6px; }
  body > .shop > .wrap > .shop-identity { flex-direction: column; align-items: flex-start; gap: 0; }
  body > .shop > .wrap > .shop-identity .caps { font-size: 13.5px; line-height: 1.2; letter-spacing: .03em; }
  body > .shop > .wrap > .shop-identity .shop-address { width: 100%; }
  body > .shop > .wrap > .shop-identity .shop-address .tellink { min-height: 40px; }
  /* Paid landers that show only the address keep a compact two-row band. */
  body.paid-search-page > .shop > .wrap { row-gap: 0; padding: 6px 16px 8px; }
  body.paid-search-page > .shop > .wrap > .shop-identity .caps { padding-top: 6px; }
}
@media (max-width: 459px) {
  body > .shop > .wrap > .hrs { flex-direction: column; align-items: flex-start; row-gap: 3px; min-height: 0; }
  body > .shop > .wrap > .hrs .hours-separator { display: none; }
  body > .shop > .wrap > .shop-status { margin-top: 4px; }
}
@media (max-width: 379px) {
  /* When the address cannot fit on one line it breaks into two even lines
   * ("841 W Anaheim St APT A," / "Wilmington, CA 90744") instead of
   * stranding the ZIP code. */
  body > .shop > .wrap > .shop-identity .shop-address { font-size: 12.5px; letter-spacing: 0; }
  body > .shop > .wrap > .shop-identity .shop-address .tellink { text-wrap: balance; }
}

/* ------------------------------------------------------------------
 * 3. Paid lander header in the main-site style. Each paid page keeps its
 *    own items (About / Offers or Request / Reviews, its own menu, CTA and
 *    language link); only layout and styling follow the regular header:
 *    white bar, 76px row, same logo, nav type, phone, button and menu
 *    button at every width, and the language link in the shop band.
 * ------------------------------------------------------------------ */
html body.paid-search-page[data-paid-lander] #top {
  background: var(--white);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 2px 10px rgba(0, 0, 0, .06);
}
/* The inline paid R26 shell switches the row to a grid with !important at 1251px+. */
html body.paid-search-page[data-paid-lander] #top .ad-head-row {
  display: flex !important;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  max-width: 1360px;
  height: 76px;
  min-height: 0;
  padding: 0 24px;
}
html body.paid-search-page[data-paid-lander] #top .ad-logo { flex: 0 0 auto; }
html body.paid-search-page[data-paid-lander] #top .ad-logo img { width: auto; max-width: none; height: 52px; object-fit: contain; }

/* Desktop paid links, typeset like the regular navigation. */
/* Type is set on the links only, so the Reviews panel content keeps its own type. */
html body.paid-search-page[data-paid-lander] #top .r19-paid-nav { align-self: stretch; gap: 24px; margin: 0 !important; }
html body.paid-search-page[data-paid-lander] #top .r19-paid-nav > a,
html body.paid-search-page[data-paid-lander] #top .r19-paid-nav > .mnav > a {
  display: block;
  min-height: 0;
  padding: 6px 0;
  border-bottom: 3px solid transparent;
  color: var(--ink);
  font-family: var(--disp);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: .04em;
  text-decoration: none;
  text-transform: uppercase;
  white-space: nowrap;
}
html body.paid-search-page[data-paid-lander] #top .r19-paid-nav > a:hover,
html body.paid-search-page[data-paid-lander] #top .r19-paid-nav > a:focus-visible,
html body.paid-search-page[data-paid-lander] #top .r19-paid-nav > .mnav > a:hover,
html body.paid-search-page[data-paid-lander] #top .r19-paid-nav > .mnav > a:focus-visible { color: var(--amber-dark); border-color: var(--amber); }
html body.paid-search-page[data-paid-lander] #top .r19-paid-nav > .mnav > a::before { content: none; }
html[lang="es-MX"] body.paid-search-page[data-paid-lander] #top .r19-paid-nav { gap: 14px; }
html[lang="es-MX"] body.paid-search-page[data-paid-lander] #top .r19-paid-nav > a,
html[lang="es-MX"] body.paid-search-page[data-paid-lander] #top .r19-paid-nav > .mnav > a { font-size: 14px; }

/* Phone, after-hours button and the open-hours request button. */
html body.paid-search-page[data-paid-lander] #top .ad-head-actions { gap: 18px; }
html[lang="es-MX"] body.paid-search-page[data-paid-lander] #top .ad-head-actions { gap: 10px; }
html body.paid-search-page[data-paid-lander] #top .ad-head-phone { display: inline-flex; align-items: center; font-size: inherit; }
html body.paid-search-page[data-paid-lander] #top .ad-head-phone .hph:not(.hph-book) {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-end;
  height: auto;
  min-width: 0;
  min-height: 44px;
  color: var(--red);
  font-family: var(--disp);
  font-size: 16.5px;
  font-weight: 700;
  letter-spacing: .02em;
  line-height: 1.05;
  text-align: right;
  white-space: nowrap;
}
/* The inline paid R26 shell rules use !important for the old Call/Appointment pseudo-labels. */
html body.paid-search-page[data-paid-lander] #top .ad-head-phone .hph::after { content: none !important; }
html body.paid-search-page[data-paid-lander] #top .ad-head-phone .hph:not(.hph-book) small {
  display: block;
  color: var(--muted);
  font-family: var(--text);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .09em;
  text-transform: uppercase;
}
html body.paid-search-page[data-paid-lander] #top .ad-head-phone .hph:not(.hph-book):hover { color: var(--red-700); }
html body.paid-search-page[data-paid-lander] #top .ad-head-phone .hph-book,
html body.paid-search-page[data-paid-lander] #top .ad-head-request {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  height: auto;
  min-width: 0;
  min-height: 42px;
  padding: 10px 16px;
  border: 0;
  border-radius: 4px;
  background: var(--amber);
  box-shadow: none;
  color: var(--ink);
  font-family: var(--disp);
  font-size: 12.5px !important;
  font-weight: 700;
  letter-spacing: .05em;
  line-height: 1.05;
  text-align: center;
  text-transform: uppercase;
  white-space: nowrap;
}
html body.paid-search-page[data-paid-lander] #top .ad-head-phone .hph-book:hover,
html body.paid-search-page[data-paid-lander] #top .ad-head-request:hover { background: var(--amber-600); color: var(--ink); transform: none; }
/* The request button keeps its production rule: shown only while the shop is open. */
html:not([data-hs-state="open"]) body.paid-search-page[data-paid-lander] #top .ad-head-request { display: none !important; }
.paid-search-page #top .hph-book .gz-book-short { display: none; }

/* Language moves to the shop band, as on the regular site. */
html body.paid-search-page[data-paid-lander] #top .ad-lang { display: none !important; }
html body.paid-search-page[data-paid-lander] #top .mburger { margin-left: 10px; }
/* The paid menu panel opens directly under the 77px bar, as on the regular site
 * (the paid shells pinned it to the old 71px and 65px bar heights). */
html body.paid-search-page[data-paid-lander] #top .mpanel { top: 77px; min-height: calc(100svh - 77px); }

@media (min-width: 1251px) and (max-width: 1320px) {
  /* Spanish paid links fit at these widths; keep their Reseñas panel working. */
  html[lang="es-MX"] body.paid-search-page[data-paid-lander] #top .r19-paid-nav .mega { display: block; }
}
@media (max-width: 1250px) {
  html body.paid-search-page[data-paid-lander] #top .ad-head-request { display: none !important; }
  .paid-search-page #top .hph-book .gz-book-full { display: none; }
  .paid-search-page #top .hph-book .gz-book-short { display: inline; }
}
@media (max-width: 640px) {
  html body.paid-search-page[data-paid-lander] #top .ad-head-phone .hph:not(.hph-book) { display: flex; align-items: center; height: 42px; font-size: 17px; text-align: left; }
  html body.paid-search-page[data-paid-lander] #top .ad-head-phone .hph-book { display: flex; height: 42px; text-align: left; }
}
@media (max-width: 560px) {
  html body.paid-search-page[data-paid-lander] #top .ad-head-row { gap: 10px; padding-left: 16px; padding-right: 16px; }
  html body.paid-search-page[data-paid-lander] #top .ad-logo img { height: 44px; }
  html body.paid-search-page[data-paid-lander] #top .ad-head-phone .hph-book { padding: 9px 12px; font-size: 11.5px !important; }
}
@media (max-width: 430px) {
  html body.paid-search-page[data-paid-lander] #top .ad-head-row { gap: 8px; padding-left: 13px; padding-right: 13px; }
  html body.paid-search-page[data-paid-lander] #top .ad-logo img { height: 40px; }
  html body.paid-search-page[data-paid-lander] #top .ad-head-phone .hph-book { padding: 8px 10px; font-size: 11px !important; letter-spacing: .03em; }
}
@media (max-width: 360px) {
  html body.paid-search-page[data-paid-lander] #top .ad-head-row { gap: 6px; padding-left: 10px; padding-right: 10px; }
  html body.paid-search-page[data-paid-lander] #top .ad-logo img { height: 30px; }
  html body.paid-search-page[data-paid-lander] #top .ad-head-actions { gap: 6px; }
  html body.paid-search-page[data-paid-lander] #top .ad-head-phone .hph:not(.hph-book) { min-height: 44px; height: 44px; font-size: 14px; }
  html body.paid-search-page[data-paid-lander] #top .ad-head-phone .hph:not(.hph-book) small { display: none; }
  html body.paid-search-page[data-paid-lander] #top .ad-head-phone .hph-book { min-height: 44px; height: 44px; padding: 7px; font-size: 10px !important; letter-spacing: .02em; }
  html body.paid-search-page[data-paid-lander] #top .mburger { width: 44px; margin-left: 0; }
}

/* Shop band on paid landers: same desktop row as the regular site (name when
 * the page has it, address, status, language), aligned with the header. */
html body.paid-search-page[data-paid-lander] > .shop .lang-switch { display: inline-flex; }
@media (min-width: 1251px) {
  html body.paid-search-page[data-paid-lander] > .shop > .wrap {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    gap: 14px;
    max-width: 1360px;
    padding: 9px 24px;
    white-space: nowrap;
  }
  html body.paid-search-page[data-paid-lander] > .shop > .wrap > .shop-identity,
  html body.paid-search-page[data-paid-lander] > .shop > .wrap > .shop-status { display: contents; }
  /* Spanish pages carry the narrow-screen band rules up to 1320px; restate the desktop values. */
  html body.paid-search-page[data-paid-lander] > .shop .caps { display: block; color: var(--amber); font-size: 12.5px; letter-spacing: .06em; line-height: 1.6; }
  html body.paid-search-page[data-paid-lander] > .shop .shop-address { display: block; flex: 0 1 auto; width: auto; font-size: 13px; letter-spacing: normal; line-height: 1.6; }
  html body.paid-search-page[data-paid-lander] > .shop .shop-address .tellink {
    display: inline;
    min-height: 0;
    line-height: inherit;
    white-space: nowrap;
    text-decoration: underline dotted 1px rgba(255, 255, 255, .42);
    text-underline-offset: 4px;
  }
  html body.paid-search-page[data-paid-lander] > .shop .hs-pill { padding: 4px 11px; font-size: 11.5px; letter-spacing: .06em; line-height: 1.6; white-space: nowrap; }
  html body.paid-search-page[data-paid-lander] > .shop .lang-switch {
    display: inline-flex;
    min-height: 44px;
    margin: 0;
    padding: 7px 9px;
    font-size: 12.5px;
  }
}
@media (max-width: 1250px) {
  html body.paid-search-page[data-paid-lander] > .shop .lang-switch { font-size: 12px; }
}

/* ------------------------------------------------------------------
 * 4. Approved paid hero typography (wording unchanged): 22px desktop,
 *    20px narrow, Poppins 500, #28343f, line-height 1.5.
 * ------------------------------------------------------------------ */
body.paid-search-page #main .paid-landing-hero h1 { margin-bottom: 0; }
body.paid-search-page #main .paid-landing-hero .ad-hero-lead {
  margin-top: 18px;
  color: #28343f;
  font-family: var(--text);
  font-size: 22px;
  font-weight: 500;
  line-height: 1.5;
}
@media (max-width: 700px) {
  body.paid-search-page #main .paid-landing-hero .ad-hero-lead { margin-top: 16px; font-size: 20px; }
}

/* ------------------------------------------------------------------
 * 5. Readable paid Back controls: dark text and arrow on the light
 *    hover/press surface, dark amber keyboard outline.
 * ------------------------------------------------------------------ */
body.paid-search-page #main .guided-brand-form .guided-back:hover,
body.paid-search-page #main .guided-brand-form .guided-back:active,
body.paid-search-page #main .guided-brand-form [data-guided-back-choice]:hover,
body.paid-search-page #main .guided-brand-form [data-guided-back-choice]:active,
body.paid-search-page #main .guided-brand-form [data-guided-back-contact]:hover,
body.paid-search-page #main .guided-brand-form [data-guided-back-contact]:active,
body.paid-search-page #main [data-ac-back]:hover,
body.paid-search-page #main [data-ac-back]:active {
  border-color: var(--amber-600);
  background: #fff8e9;
  color: #0d1218;
}
body.paid-search-page #main .guided-brand-form .guided-back:focus-visible,
body.paid-search-page #main .guided-brand-form [data-guided-back-choice]:focus-visible,
body.paid-search-page #main .guided-brand-form [data-guided-back-contact]:focus-visible,
body.paid-search-page #main [data-ac-back]:focus-visible {
  background: #fff8e9;
  color: #0d1218;
  outline: 3px solid var(--amber-dark);
  outline-offset: 2px;
}

/* ------------------------------------------------------------------
 * 6. Appointment availability: keep the shop number on one line.
 * ------------------------------------------------------------------ */
.appointment-availability a[href^="tel:"],
.apnotice a[href^="tel:"] { white-space: nowrap; }
