/*
 * Réplica de Google Ads (2026): resultados de Google con el bloque patrocinado (o el
 * carrusel de productos), la web del negocio y otra web con su anuncio (remarketing) y el
 * panel de ads.google.com. Colores y medidas de las interfaces reales como variables
 * dentro de `.rp-ads` (ADR 0010). Teléfono por debajo de 560 px de escenario.
 */

.rp-ads {
  --ads-band: #e8eaed;
  --ads-link-m: #1558d6;
  --ads-ui-blue: #0b57d0;
  --ads-line: #dadce0;
  --ads-soft: #f1f3f4;
  --aw-text: #1f1f1f;
  --aw-text-2: #444746;
  --aw-text-3: #5f6368;
  --aw-sel: #d3e3fd;
  --aw-surface: #f8fafd;
  --ads-L: 16px;
}

/* Favicon de la pestaña en el panel (marca esquemática de Google Ads). */
.ads-fav-aw .rp-tab-fav {
  color: transparent !important;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9.2 4.6 3.4 14.7' stroke='%23fbbc04' stroke-width='5.4' stroke-linecap='round'/%3E%3Cpath d='m9.2 4.6 9.4 14.8' stroke='%234285f4' stroke-width='5.4' stroke-linecap='round'/%3E%3Ccircle cx='5.6' cy='18.6' r='2.9' fill='%2334a853'/%3E%3C/svg%3E")
      center / 14px no-repeat,
    #fff !important;
}

.ads {
  position: relative;
  height: 100%;
  overflow: hidden;
  background: #fff;
}
.ads-view {
  position: absolute;
  inset: 0;
  overflow: hidden;
  background: #fff;
  will-change: transform, opacity;
}

.ads-avatar {
  flex: none;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #8d6e63;
  box-shadow: inset 0 -11px 0 #6d4c41;
}

/* Rótulo propio («Tu anuncio») sobre la pieza del negocio. */
.ads-tag {
  position: absolute;
  z-index: 3;
  top: 10px;
  right: 12px;
  height: 22px;
  padding: 0 10px;
  border-radius: 999px;
  background: var(--primary);
  color: #fff;
  font: 600 12px/22px var(--font-sans);
  white-space: nowrap;
}
.ads-later {
  position: absolute;
  z-index: 6;
  top: 44%;
  left: 0;
  right: 0;
  width: max-content;
  margin: 0 auto;
  padding: 10px 16px;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  box-shadow: 0 0 0 1px rgb(255 255 255 / 0.2), 0 12px 30px -10px rgb(0 0 0 / 0.6);
  font: 600 13px/1 var(--font-sans);
  white-space: nowrap;
  will-change: transform, opacity;
}

/* =====================================================================
 * Google: resultados (móvil por defecto)
 * ===================================================================== */
.ads-g {
  display: flex;
  flex-direction: column;
}
.ads-g-head {
  flex: none;
  position: relative;
  z-index: 2;
  background: #fff;
  border-bottom: 1px solid #ebebeb;
}
.ads-g-top {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  grid-template-areas:
    ". logo right"
    "box box box";
  align-items: center;
  row-gap: 10px;
  padding: 10px 16px 0;
}
.ads-g-logo {
  grid-area: logo;
  font: 500 28px/1 var(--g-font-ui);
  letter-spacing: -1.3px;
  white-space: nowrap;
}
.ads-g-logo b {
  font-weight: inherit;
}
.ads-g-logo .lg-b {
  color: var(--g-blue);
}
.ads-g-logo .lg-r {
  color: var(--g-red);
}
.ads-g-logo .lg-y {
  color: var(--g-yellow);
}
.ads-g-logo .lg-g {
  color: var(--g-green);
}
.ads-g-right {
  grid-area: right;
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 14px;
  color: #5f6368;
}
.ads-g-right svg {
  width: 22px;
  height: 22px;
}
.ads-g-apps {
  display: none !important;
}
.ads-g-bell {
  color: #444746;
}
.ads-g-box {
  grid-area: box;
  display: flex;
  align-items: center;
  gap: 12px;
  height: 46px;
  padding: 0 16px;
  border-radius: 23px;
  background: #fff;
  box-shadow:
    0 0 0 1px rgb(0 0 0 / 0.03),
    0 2px 6px rgb(32 33 36 / 0.26);
}
.ads-g-box svg {
  flex: none;
  width: 22px;
  height: 22px;
}
.ads-g-box-s {
  color: #5f6368;
}
.ads-g-q {
  flex: 1;
  min-width: 0;
  display: flex;
  align-items: center;
  font: 16px/24px var(--g-font);
  color: var(--g-text);
  white-space: nowrap;
  overflow: hidden;
}
.ads-g-caret {
  flex: none;
  width: 1.5px;
  height: 21px;
  margin-left: 1px;
  background: #1f1f1f;
  opacity: 0;
}
.ads-g-x,
.ads-g-sep {
  display: none !important;
}
.ads-g-lens {
  color: #444746;
}
.ads-g-tabs {
  display: flex;
  align-items: stretch;
  gap: 22px;
  height: 46px;
  margin-top: 6px;
  padding: 0 16px;
  font: 15px/1 var(--g-font-ui);
  color: #5f6368;
  white-space: nowrap;
  overflow: hidden;
}
.ads-g-tab {
  display: flex;
  align-items: center;
  gap: 2px;
  border-bottom: 3px solid transparent;
}
.ads-g-tab svg {
  width: 18px;
  height: 18px;
}
.ads-g-tab-on {
  color: #1f1f1f;
  font-weight: 500;
  border-bottom-color: #1f1f1f;
}
.ads-g-tools {
  display: none;
}
.ads-g-body {
  flex: 1;
  min-height: 0;
  overflow: hidden;
  will-change: transform, opacity;
}
.ads-g-loc {
  display: flex;
  align-items: center;
  gap: 6px;
  height: 40px;
  padding: 0 16px;
  font: 15px/1 var(--g-font);
  color: #474747;
  white-space: nowrap;
}
.ads-g-loc svg {
  flex: none;
  width: 19px;
  height: 19px;
  color: #474747;
}
.ads-g-loc b {
  margin-left: 4px;
  color: #474747;
}
.ads-g-zone {
  color: var(--ads-link-m);
}
.ads-g-loc-k {
  margin-left: auto;
}
.ads-g-sp-head,
.ads-g-hide {
  display: none;
}

/* Anuncio de texto */
.ads-ad {
  position: relative;
  padding: 14px 16px 16px;
  border-top: 8px solid var(--ads-band);
  background: #fff;
  will-change: transform, opacity;
}
.ads-ad-sp {
  margin-bottom: 10px;
  font: 700 14px/20px var(--g-font);
  color: #1f1f1f;
}
.ads-ad-src {
  display: flex;
  align-items: center;
  gap: 12px;
}
.ads-ad-fav {
  display: grid;
  place-items: center;
  flex: none;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  font: 700 13px/1 var(--g-font-ui);
  box-shadow: 0 0 0 1px rgb(0 0 0 / 0.08);
}
.ads-ad-srct {
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.ads-ad-name {
  font: 15px/20px var(--g-font);
  color: #1f1f1f;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.ads-ad-url {
  font: 12.5px/18px var(--g-font);
  color: #4d5156;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.ads-ad-kebab {
  flex: none;
  width: 20px;
  height: 20px;
  margin-left: auto;
  color: #4d5156;
}
.ads-ad-title {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  margin: 10px 0 6px;
  font: 20px/26px var(--g-font);
  color: var(--ads-link-m);
}
.ads-ad-info,
.ads-ad-rate,
.ads-ad-links {
  font: 14px/22px var(--g-font);
  color: #4d5156;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.ads-open {
  color: var(--g-open);
}
.ads-ad-rate {
  display: flex;
  align-items: center;
  gap: 4px;
  color: #70757a;
}
.ads-stars {
  display: flex;
  color: var(--g-star);
}
.ads-stars svg {
  width: 14px;
  height: 14px;
}
.ads-ad-desc {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  font: 14px/21px var(--g-font);
  color: #4d5156;
}
.ads-ad-links {
  margin-top: 2px;
}
.ads-ad-links i {
  font-style: normal;
  color: #4d5156;
}
.ads-ad-link {
  color: var(--ads-link-m);
}
.ads-ad-pills {
  display: flex;
  gap: 8px;
  margin-top: 12px;
}
.ads-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 36px;
  padding: 0 16px 0 13px;
  border: 1px solid var(--ads-line);
  border-radius: 18px;
  background: #fff;
  font: 500 14px/1 var(--g-font-ui);
  color: #1f1f1f;
  white-space: nowrap;
}
.ads-pill svg {
  width: 18px;
  height: 18px;
  color: var(--ads-ui-blue);
}
.ads-pill.ads-hov {
  background: #e9eef6;
}

/* Productos patrocinados (sin precio) */
.ads-pla {
  padding: 12px 0 0 16px;
  border-top: 8px solid var(--ads-band);
}
.ads-pla-head {
  display: flex;
  align-items: center;
  gap: 6px;
  height: 26px;
  padding-right: 16px;
  font: 16px/1 var(--g-font);
  color: #1f1f1f;
}
.ads-pla-head b {
  font: 700 14px/1 var(--g-font);
}
.ads-pla-dot {
  color: #70757a;
}
.ads-pla-k {
  width: 20px;
  height: 20px;
  margin-left: auto;
  color: #4d5156;
}
.ads-pla-track {
  display: flex;
  gap: 10px;
  margin-top: 10px;
}
.ads-pla-card {
  position: relative;
  flex: none;
  width: 150px;
  padding-bottom: 10px;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 0 0 1px var(--ads-line);
  will-change: transform;
}
.ads-pla-img {
  width: 100%;
  height: 132px;
  border-radius: 12px 12px 0 0;
}
.ads-pla-title {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  height: 40px;
  margin: 8px 10px 4px;
  font: 14px/20px var(--g-font);
  color: #1f1f1f;
}
.ads-pla-card.ads-hov .ads-pla-title {
  text-decoration: underline;
}
.ads-pla-store,
.ads-pla-rate,
.ads-pla-ship {
  display: flex;
  align-items: center;
  gap: 5px;
  margin: 0 10px;
  font: 12.5px/19px var(--g-font);
  color: #4d5156;
  white-space: nowrap;
  overflow: hidden;
}
.ads-pla-store {
  color: #1f1f1f;
}
.ads-pla-fav {
  display: grid;
  place-items: center;
  flex: none;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  font: 700 8px/1 var(--g-font-ui);
}
.ads-pla-rate svg {
  width: 12px;
  height: 12px;
  margin-right: -2px;
  color: var(--g-star);
}
.ads-pla-ship {
  color: var(--g-open);
}
.ads-pla-card .ads-tag {
  top: 8px;
  left: 8px;
  right: auto;
}

/* ---------- Google: escritorio ---------- */
@container rp (min-width: 560px) {
  .rp-ads {
    --ads-L: clamp(20px, 4cqw, 28px);
  }
  .ads-g-top {
    grid-template-columns: auto minmax(0, 1fr) auto;
    grid-template-areas: "logo box right";
    column-gap: 22px;
    height: 64px;
    padding: 14px 18px 0 var(--ads-L);
  }
  .ads-g-logo {
    font-size: 26px;
    letter-spacing: -1.2px;
  }
  .ads-g-right {
    gap: 14px;
  }
  .ads-g-bell {
    display: none !important;
  }
  .ads-g-apps {
    display: block !important;
  }
  .ads-g-box {
    height: 44px;
    max-width: 560px;
    padding: 0 14px 0 20px;
    border-radius: 22px;
    box-shadow:
      0 0 0 1px rgb(0 0 0 / 0.02),
      0 2px 5px 1px rgb(64 60 67 / 0.16);
  }
  .ads-g-box-s {
    display: none !important;
  }
  .ads-g-q {
    font-size: 16px;
  }
  .ads-g-x,
  .ads-g-sep {
    display: block !important;
  }
  .ads-g-x {
    color: #1f1f1f;
    width: 20px !important;
    height: 20px !important;
  }
  .ads-g-sep {
    width: 1px;
    height: 24px;
    background: var(--ads-line);
  }
  .ads-g-box .ads-g-mic,
  .ads-g-box .ads-g-lens {
    width: 22px;
    height: 22px;
  }
  .ads-g-tabs {
    gap: 24px;
    height: 44px;
    margin-top: 0;
    padding: 0 var(--ads-L);
    font-size: 14px;
    color: #474747;
  }
  .ads-g-tools {
    display: flex;
    margin-left: auto;
  }
  .ads-g-body {
    padding: 12px var(--ads-L) 0;
  }
  .ads-g-loc {
    height: 22px;
    padding: 0;
    font-size: 14px;
    gap: 5px;
  }
  .ads-g-loc svg {
    width: 17px;
    height: 17px;
  }
  .ads-g-loc b {
    margin-left: 3px;
    color: #1f1f1f;
  }
  .ads-g-zone {
    color: var(--g-link);
  }
  .ads-g-loc-k {
    margin-left: 10px;
    width: 18px !important;
    height: 18px !important;
  }
  .ads-g-sp {
    max-width: 652px;
  }
  .ads-g-sp-head {
    display: block;
    margin-top: 14px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--ads-line);
    font: 20px/26px var(--g-font-ui);
    color: #1f1f1f;
  }
  .ads-ad {
    padding: 16px 0 0;
    border: 0;
  }
  .ads-ad + .ads-ad {
    margin-top: 12px;
  }
  .ads-ad-sp {
    display: none;
  }
  .ads-ad-fav {
    width: 26px;
    height: 26px;
    font-size: 12px;
  }
  .ads-ad-src {
    gap: 12px;
  }
  .ads-ad-name {
    font-size: 14px;
  }
  .ads-ad-url {
    display: flex;
    align-items: center;
    font-size: 12px;
  }
  .ads-ad-kebab {
    width: 18px;
    height: 18px;
    margin-left: 0;
    align-self: flex-end;
    margin-bottom: -1px;
  }
  .ads-ad-title {
    -webkit-line-clamp: 1;
    display: block;
    white-space: nowrap;
    text-overflow: ellipsis;
    margin: 4px 0 4px;
    color: var(--g-link);
  }
  .ads-ad-desc {
    line-height: 20px;
  }
  .ads-ad-link {
    color: var(--g-link);
  }
  .ads-ad-pills {
    margin-top: 10px;
  }
  .ads-ad .ads-tag {
    top: 18px;
    right: 0;
  }
  .ads-g-hide {
    display: flex;
    justify-content: center;
    position: relative;
    margin-top: 22px;
  }
  .ads-g-hide::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    border-top: 1px solid var(--ads-line);
  }
  .ads-g-hide span {
    position: relative;
    display: flex;
    align-items: center;
    gap: 10px;
    height: 40px;
    padding: 0 40px;
    border-radius: 20px;
    background: var(--ads-soft);
    font: 500 14px/1 var(--g-font-ui);
    color: #1f1f1f;
  }
  .ads-g-hide svg {
    width: 18px;
    height: 18px;
    transform: rotate(180deg);
  }

  .ads-pla {
    padding: 14px 0 0;
    border: 0;
  }
  .ads-pla-head {
    padding-right: 0;
    max-width: 652px;
  }
  .ads-pla-track {
    gap: 12px;
    margin-top: 12px;
  }
  .ads-pla-card {
    width: 148px;
  }
}

/* =====================================================================
 * Web del negocio, otra web y formulario (remarketing)
 * ===================================================================== */
.ads-web {
  --web-ink: #1b1f3b;
  --web-brand: #283593;
  --web-cream: #fbf7f0;
  display: flex;
  flex-direction: column;
  background: var(--web-cream);
  font-family: var(--g-font-ui);
  color: var(--web-ink);
}
.ads-web-nav {
  flex: none;
  display: flex;
  align-items: center;
  gap: 18px;
  height: 54px;
  padding: 0 18px;
  background: #fff;
  border-bottom: 1px solid #ece6da;
}
.ads-web-logo {
  display: flex;
  align-items: center;
  gap: 9px;
  font: 700 16px/1 var(--g-font-ui);
  letter-spacing: -0.2px;
}
.ads-web-mark {
  display: grid;
  place-items: center;
  flex: none;
  width: 26px;
  height: 26px;
  border-radius: 7px;
  font: 700 14px/1 var(--g-font-ui);
}
.ads-web-links {
  display: none;
  margin-left: auto;
  gap: 18px;
  font-size: 13.5px;
  color: #4a4f6a;
}
.ads-web-burger {
  width: 24px;
  height: 24px;
  margin-left: auto;
  color: var(--web-ink);
}
.ads-web-main {
  flex: 1;
  display: grid;
  align-content: center;
  gap: 18px;
  padding: 26px 20px;
}
.ads-web-rate {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 16px;
  font: 13px/1 var(--g-font-ui);
  color: #4a4f6a;
}
.ads-web-rate .ads-stars svg {
  width: 13px;
  height: 13px;
}
.ads-web-kicker {
  font: 600 12px/1 var(--g-font-ui);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #b4632a;
}
.ads-web-title {
  margin: 10px 0 10px;
  font: 700 30px/1.12 var(--g-font-ui);
  letter-spacing: -0.6px;
}
.ads-web-lead {
  font: 15px/1.45 var(--g-font-ui);
  color: #4a4f6a;
}
.ads-web-cta {
  display: inline-flex;
  align-items: center;
  height: 44px;
  margin-top: 18px;
  padding: 0 20px;
  border-radius: 22px;
  background: var(--web-brand);
  color: #fff;
  font: 600 15px/1 var(--g-font-ui);
}
.ads-web-cta.ads-hov {
  background: #1a237e;
}
.ads-web-groups {
  padding: 14px 16px 6px;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 0 0 1px #ece6da;
}
.ads-web-gt {
  margin-bottom: 4px;
  font: 700 14px/1.4 var(--g-font-ui);
}
.ads-web-g {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  padding: 9px 0;
  border-top: 1px solid #f0ebe1;
  font: 13.5px/1.3 var(--g-font-ui);
  color: #4a4f6a;
}
.ads-web-g b {
  color: var(--web-ink);
}

/* Otra web (periódico local) con el anuncio de display */
.ads-news {
  display: flex;
  flex-direction: column;
  font-family: Georgia, "DejaVu Serif", "Times New Roman", serif;
  color: #1a1a1a;
}
.ads-news-top {
  flex: none;
  display: flex;
  align-items: center;
  gap: 14px;
  height: 52px;
  padding: 0 16px;
  border-bottom: 3px solid #1a1a1a;
}
.ads-news-burger {
  width: 22px;
  height: 22px;
}
.ads-news-logo {
  font: 700 22px/1 Georgia, "DejaVu Serif", serif;
  letter-spacing: -0.4px;
}
.ads-news-nav {
  display: none;
  margin-left: auto;
  gap: 16px;
  font: 13px/1 var(--g-font);
  color: #555;
}
.ads-news-nav b {
  color: #b71c1c;
}
.ads-news-body {
  padding: 16px 16px 0;
}
.ads-news-sec {
  font: 700 11px/1 var(--g-font);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #b71c1c;
}
.ads-news-title {
  margin: 8px 0 8px;
  font: 700 24px/1.18 Georgia, "DejaVu Serif", serif;
}
.ads-news-by {
  font: 12px/1 var(--g-font);
  color: #666;
}
.ads-news-img {
  display: none !important;
}
.ads-news-p {
  margin: 12px 0 0;
  font: 15px/1.5 Georgia, "DejaVu Serif", serif;
  color: #333;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 4;
  overflow: hidden;
}
.ads-dsp {
  position: relative;
  margin: 24px 0 0;
  padding: 12px 12px 14px;
  border: 1px solid #e0e0e0;
  background: #fff;
  font-family: var(--g-font-ui);
  display: grid;
  grid-template-columns: 92px 1fr;
  grid-template-areas:
    "art brand"
    "art title"
    "art text"
    "art cta";
  column-gap: 12px;
  will-change: transform;
}
.ads-dsp-label {
  position: absolute;
  top: -15px;
  left: 0;
  font: 10px/1 var(--g-font);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #8a8a8a;
}
.ads-dsp-choices {
  position: absolute;
  top: 0;
  right: 0;
  width: 30px;
  height: 15px;
  background: #fff;
}
.ads-dsp-art {
  grid-area: art;
  position: relative;
  border-radius: 8px;
  background: #283593;
  overflow: hidden;
}
.ads-dsp-bubble {
  position: absolute;
  top: 14px;
  left: 10px;
  padding: 5px 9px;
  border-radius: 12px 12px 12px 3px;
  background: #ffd180;
  color: #1b1f3b;
  font: 700 13px/1 var(--g-font-ui);
}
.ads-dsp-level {
  position: absolute;
  right: 8px;
  bottom: 4px;
  font: 800 34px/1 var(--g-font-ui);
  color: #fff;
  opacity: 0.9;
}
.ads-dsp-brand {
  grid-area: brand;
  display: flex;
  align-items: center;
  gap: 7px;
  font: 600 12px/1 var(--g-font-ui);
  color: #444;
}
.ads-dsp-brand .ads-web-mark {
  width: 18px;
  height: 18px;
  border-radius: 5px;
  font-size: 10px;
}
.ads-dsp-title {
  grid-area: title;
  margin-top: 7px;
  font: 700 16px/1.2 var(--g-font-ui);
  color: #1b1f3b;
}
.ads-dsp-text {
  grid-area: text;
  margin-top: 4px;
  font: 13px/1.3 var(--g-font-ui);
  color: #555;
}
.ads-dsp-cta {
  grid-area: cta;
  justify-self: start;
  display: inline-flex;
  align-items: center;
  height: 32px;
  margin-top: 9px;
  padding: 0 16px;
  border-radius: 16px;
  background: #283593;
  color: #fff;
  font: 600 13px/1 var(--g-font-ui);
}
.ads-dsp-cta.ads-hov {
  background: #1a237e;
}
.ads-dsp .ads-tag {
  top: -10px;
  right: 38px;
}

/* Formulario de la prueba de nivel */
.ads-form-main {
  display: grid;
  gap: 16px;
  padding: 22px 20px;
}
.ads-form .ads-web-title {
  margin-top: 0;
  font-size: 26px;
}
.ads-form-card {
  display: grid;
  gap: 12px;
  padding: 16px;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 0 0 1px #ece6da;
}
.ads-form-row {
  display: grid;
  gap: 5px;
}
.ads-form-l {
  font: 600 12.5px/1 var(--g-font-ui);
  color: #4a4f6a;
}
.ads-form-in {
  display: flex;
  align-items: center;
  height: 40px;
  padding: 0 12px;
  border: 1px solid #cfc8bb;
  border-radius: 8px;
  background: #fff;
  font: 15px/1 var(--g-font-ui);
  color: var(--web-ink);
  white-space: nowrap;
  overflow: hidden;
}
.ads-form-in.ads-hov {
  border-color: var(--web-brand);
  box-shadow: inset 0 0 0 1px var(--web-brand);
}
.ads-form-sel {
  justify-content: space-between;
}
.ads-form-sel svg {
  width: 20px;
  height: 20px;
  color: #4a4f6a;
}
.ads-form-caret {
  flex: none;
  width: 1.5px;
  height: 19px;
  margin-left: 1px;
  background: var(--web-ink);
  opacity: 0;
}
.ads-form-foot {
  position: relative;
  display: grid;
  margin-top: 4px;
}
.ads-form-foot > * {
  grid-area: 1 / 1;
}
.ads-form-send {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 44px;
  border-radius: 22px;
  background: var(--web-brand);
  color: #fff;
  font: 600 15px/1 var(--g-font-ui);
  will-change: transform, opacity;
}
.ads-form-send.ads-hov {
  background: #1a237e;
}
.ads-form-done {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding: 0 12px;
  border-radius: 10px;
  background: #e6f4ea;
  color: #137333;
  font: 600 13.5px/1.3 var(--g-font-ui);
  opacity: 0;
  will-change: transform, opacity;
}
.ads-form-done svg {
  flex: none;
  width: 20px;
  height: 20px;
  color: #1e8e3e;
}

@container rp (min-width: 560px) {
  .ads-web-nav {
    padding: 0 28px;
  }
  .ads-web-links {
    display: flex;
  }
  .ads-web-burger {
    display: none !important;
  }
  .ads-web-main {
    grid-template-columns: 1fr 210px;
    align-items: center;
    gap: 26px;
    padding: 0 28px 20px;
  }
  .ads-web-title {
    font-size: 34px;
  }
  .ads-news-top {
    padding: 0 24px;
  }
  .ads-news-burger {
    display: none !important;
  }
  .ads-news-nav {
    display: flex;
  }
  .ads-news-body {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 210px;
    column-gap: 24px;
    align-content: start;
    padding: 20px 24px 0;
  }
  .ads-news-body > * {
    grid-column: 1;
  }
  .ads-news-img {
    display: block !important;
    width: 100%;
    height: 110px;
    margin-top: 14px;
  }
  .ads-news-p {
    -webkit-line-clamp: 3;
  }
  .ads-dsp {
    grid-column: 2;
    grid-row: 1 / span 5;
    align-self: start;
    margin-top: 18px;
    grid-template-columns: 1fr;
    grid-template-areas:
      "art"
      "brand"
      "title"
      "text"
      "cta";
    padding: 0 0 14px;
  }
  .ads-dsp-art {
    height: 120px;
    border-radius: 0;
    margin-bottom: 12px;
  }
  .ads-dsp-bubble {
    top: 22px;
    left: 18px;
    font-size: 16px;
    padding: 7px 12px;
  }
  .ads-dsp-level {
    font-size: 52px;
    right: 14px;
  }
  .ads-dsp > :not(.ads-dsp-art, .ads-dsp-label, .ads-dsp-choices, .ads-tag) {
    margin-left: 14px;
    margin-right: 14px;
  }
  .ads-dsp-label {
    top: -16px;
  }
  .ads-form-main {
    grid-template-columns: 1fr 270px;
    align-items: start;
    gap: 28px;
    padding: 40px 28px;
  }
  .ads-form .ads-web-title {
    font-size: 30px;
  }
}

/* =====================================================================
 * Google Ads (ads.google.com, 2026). Móvil por defecto.
 * ===================================================================== */
.ads-aw {
  --chart-h: 84px;
  --row-h: 38px;
  display: flex;
  flex-direction: column;
  font-family: var(--g-font-ui);
  color: var(--aw-text);
  background: #fff;
}
.ads-aw-top {
  position: relative;
  flex: none;
  display: flex;
  align-items: center;
  gap: 12px;
  height: 54px;
  padding: 0 14px 0 14px;
  border-bottom: 1px solid var(--ads-line);
}
.ads-aw-burger {
  width: 24px;
  height: 24px;
  color: var(--aw-text-3);
}
.ads-aw-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font: 400 19px/1 var(--g-font-ui);
  color: var(--aw-text-3);
  white-space: nowrap;
}
.ads-aw-logo svg {
  width: 26px;
  height: 26px;
}
.ads-aw-logo b {
  font-weight: 400;
}
.ads-aw-acct {
  display: none;
}
.ads-aw-tools {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-left: auto;
  color: var(--aw-text-3);
}
.ads-aw-tools svg {
  width: 22px;
  height: 22px;
}
.ads-aw-tools .ads-avatar {
  width: 30px;
  height: 30px;
  box-shadow: inset 0 -10px 0 #6d4c41;
}
.ads-aw-t-search,
.ads-aw-t-help {
  display: none !important;
}
.ads-aw-load {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -2px;
  height: 3px;
  background: #1a73e8;
  transform-origin: 0 50%;
  will-change: transform, opacity;
}
.ads-aw-body {
  flex: 1;
  min-height: 0;
  display: flex;
}
.ads-aw-rail {
  display: none;
}
.ads-aw-main {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 12px 14px 0;
  overflow: hidden;
  will-change: opacity;
}
.ads-aw-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 10px;
}
.ads-aw-ttl,
.ads-aw-date {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}
.ads-aw-ttl small,
.ads-aw-date small {
  display: flex;
  align-items: center;
  font: 12px/1.2 var(--g-font-ui);
  color: var(--aw-text-3);
  white-space: nowrap;
}
.ads-aw-ttl small svg {
  width: 16px;
  height: 16px;
}
.ads-aw-ttl > span {
  font: 400 20px/1.2 var(--g-font-ui);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.ads-aw-date {
  align-items: flex-end;
  flex: none;
}
.ads-aw-date small {
  display: none;
}
.ads-aw-date-m {
  display: inline;
}
.ads-aw-date-d {
  display: none;
}
.ads-aw-date > span {
  display: flex;
  align-items: center;
  gap: 2px;
  height: 30px;
  padding: 0 4px 0 12px;
  border: 1px solid var(--ads-line);
  border-radius: 8px;
  font: 500 12.5px/1 var(--g-font-ui);
  color: var(--aw-text-2);
  white-space: nowrap;
}
.ads-aw-date svg {
  width: 18px;
  height: 18px;
}
.ads-aw-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.ads-aw-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 58px;
  padding: 9px 12px 8px;
  border-radius: 10px;
  box-shadow: inset 0 0 0 1px var(--ads-line);
  color: var(--aw-text);
  min-width: 0;
}
.ads-aw-card-on {
  background: var(--c);
  box-shadow: none;
  color: #fff;
}
.ads-aw-card[data-c="yellow"] {
  color: #202124;
}
.ads-aw-card-l {
  display: flex;
  align-items: center;
  font: 500 12px/1 var(--g-font-ui);
  white-space: nowrap;
  opacity: 0.92;
}
.ads-aw-card:not(.ads-aw-card-on) .ads-aw-card-l {
  color: var(--aw-text-3);
}
.ads-aw-card-l svg {
  width: 16px;
  height: 16px;
  margin-left: 1px;
}
.ads-aw-card-v {
  font: 400 22px/1 var(--g-font-ui);
  letter-spacing: -0.2px;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

/* Gráfico */
.ads-aw-chart {
  flex: none;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  grid-template-rows: var(--chart-h) 16px;
  column-gap: 6px;
}
.ads-aw-ax {
  position: relative;
  width: 18px;
  font: 10.5px/1 var(--g-font-ui);
  color: var(--aw-text-3);
  text-align: right;
}
.ads-aw-ax-r {
  text-align: left;
}
.ads-aw-ax i {
  position: absolute;
  right: 0;
  font-style: normal;
  transform: translateY(-50%);
}
.ads-aw-ax-r i {
  left: 0;
  right: auto;
}
.ads-aw-ax i:nth-child(1) {
  top: 12%;
}
.ads-aw-ax i:nth-child(2) {
  top: 52%;
}
.ads-aw-ax i:nth-child(3) {
  top: 92%;
}
.ads-aw-plot {
  position: relative;
}
.ads-aw-plot > svg:first-child {
  width: 100%;
  height: 100%;
  overflow: visible;
}
.ads-aw-grid {
  fill: none;
  stroke: #e3e3e3;
  stroke-width: 1;
  vector-effect: non-scaling-stroke;
}
.ads-aw-line {
  fill: none;
  stroke-width: 2;
  stroke-linejoin: round;
  stroke-linecap: round;
  vector-effect: non-scaling-stroke;
}
.ads-aw-mark {
  fill: none;
  stroke: #5f6368;
  stroke-width: 1;
  stroke-dasharray: 3 3;
  vector-effect: non-scaling-stroke;
}
.ads-aw-plot .ads-aw-flag {
  position: absolute;
  top: 92%;
  left: 58%;
  width: 14px;
  height: 14px;
  margin: -7px 0 0 -7px;
}
.ads-aw-x {
  grid-column: 2;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  font: 10.5px/1 var(--g-font-ui);
  color: var(--aw-text-3);
}
.ads-aw-x i {
  font-style: normal;
}

/* Tabla */
.ads-aw-table {
  position: relative;
  flex: none;
  border-radius: 10px;
  box-shadow: inset 0 0 0 1px var(--ads-line);
  overflow: hidden;
}
.ads-aw-tr {
  position: relative;
  display: flex;
  align-items: center;
  gap: 8px;
  height: var(--row-h);
  padding: 0 12px;
  border-top: 1px solid #e9eaec;
  font: 13px/1.2 var(--g-font-ui);
  white-space: nowrap;
}
.ads-aw-th {
  height: 32px;
  border-top: 0;
  background: var(--aw-surface);
  font: 500 12px/1 var(--g-font-ui);
  color: var(--aw-text-2);
}
.ads-aw-name {
  position: relative;
  flex: 1;
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 8px;
}
.ads-aw-name > span {
  overflow: hidden;
  text-overflow: ellipsis;
}
.ads-aw-tr:not(.ads-aw-th) .ads-aw-name > span {
  color: #0b57d0;
}
.ads-aw-dot {
  flex: none;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #1e8e3e;
}
.ads-aw-thumb {
  flex: none;
  width: 30px;
  height: 30px;
  border-radius: 6px;
}
.ads-aw-num {
  position: relative;
  flex: none;
  width: 76px;
  text-align: right;
  font-variant-numeric: tabular-nums;
}
.ads-aw-txt {
  position: relative;
  flex: none;
  display: grid;
  width: 74px;
  color: var(--aw-text-2);
}
.ads-aw-txt > * {
  grid-area: 1 / 1;
}
.ads-aw-dsk {
  display: none;
}
.ads-aw-flash,
.ads-aw-rowsel {
  position: absolute;
  inset: 0;
  background: #e8f0fe;
  pointer-events: none;
}
.ads-aw-tr > :not(.ads-aw-flash, .ads-aw-rowsel, .ads-aw-sel) {
  position: relative;
}
.ads-aw-ex .ads-aw-num {
  color: #80868b;
}
.ads-aw-excl {
  display: flex;
  align-items: center;
  gap: 4px;
  color: #c5221f;
}
.ads-aw-excl svg {
  flex: none;
  width: 14px;
  height: 14px;
}

/* Casillas y barra de selección (auditoría) */
.ads-aw-chk {
  position: relative;
  flex: none;
  display: grid;
  place-items: center;
  width: 20px;
  height: 20px;
}
.ads-aw-box {
  width: 16px;
  height: 16px;
  border: 2px solid #5f6368;
  border-radius: 2px;
}
.ads-aw-on {
  position: absolute;
  inset: 2px;
  display: grid;
  place-items: center;
  border-radius: 2px;
  background: #0b57d0;
  color: #fff;
}
.ads-aw-on svg {
  width: 13px;
  height: 13px;
}
.ads-aw-sel {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 0 12px 0 40px;
  background: var(--aw-sel);
  font: 500 12.5px/1 var(--g-font-ui);
  color: #041e49;
  will-change: opacity;
}
.ads-aw-neg {
  display: flex;
  align-items: center;
  height: 26px;
  padding: 0 10px;
  margin-left: auto;
  border-radius: 13px;
  color: #0b57d0;
  font-weight: 500;
  overflow: hidden;
  text-overflow: ellipsis;
}
.ads-aw-neg.ads-hov {
  background: rgb(11 87 208 / 0.1);
}
.ads-aw-snack {
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 14px;
  z-index: 3;
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 0 16px;
  border-radius: 6px;
  background: #313033;
  color: #f2f2f2;
  font: 13.5px/1.3 var(--g-font-ui);
  box-shadow: 0 6px 16px -4px rgb(0 0 0 / 0.35);
  will-change: transform, opacity;
}

/* Auditoría en el teléfono: más filas, gráfico más bajo, dos tarjetas */
.ads-aw-audit {
  --chart-h: 70px;
  --row-h: 38px;
}
.ads-aw-audit .ads-aw-card:nth-child(n + 3) {
  display: none;
}
.ads-aw-audit .ads-aw-num {
  width: 46px;
}
.ads-aw-name .ads-aw-xico {
  display: none;
  flex: none;
  width: 14px;
  height: 14px;
  margin: 0 -3px;
  color: #c5221f;
}
.ads-aw-ex .ads-aw-name .ads-aw-xico {
  display: block;
}
.ads-aw-ex .ads-aw-dot {
  display: none;
}
.ads-aw-ex .ads-aw-name > span {
  color: #5f6368 !important;
}
.ads-aw-audit .ads-aw-sel {
  padding-left: 42px;
}

/* ---------- Google Ads: escritorio ---------- */
@container rp (min-width: 560px) {
  .ads-aw {
    --chart-h: 96px;
    --row-h: 33px;
  }
  .ads-aw-top {
    height: 52px;
    padding: 0 16px 0 20px;
  }
  .ads-aw-burger {
    display: none !important;
  }
  .ads-aw-logo {
    font-size: 19px;
  }
  .ads-aw-acct {
    display: flex;
    flex-direction: column;
    gap: 3px;
    margin-left: 6px;
    padding-left: 16px;
    border-left: 1px solid var(--ads-line);
    min-width: 0;
  }
  .ads-aw-acct-n {
    font: 500 13px/1.1 var(--g-font-ui);
    color: var(--aw-text);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .ads-aw-acct-id {
    font: 11px/1 var(--g-font-ui);
    color: var(--aw-text-3);
  }
  .ads-aw-t-search,
  .ads-aw-t-help {
    display: block !important;
  }
  .ads-aw-tools {
    gap: 18px;
  }
  .ads-aw-rail {
    flex: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    width: 76px;
    padding-top: 12px;
    background: var(--aw-surface);
    border-right: 1px solid #edeef0;
  }
  .ads-aw-ri {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    height: 54px;
    font: 500 10.5px/1 var(--g-font-ui);
    color: var(--aw-text-2);
    white-space: nowrap;
  }
  .ads-aw-ri-ico {
    display: grid;
    place-items: center;
    width: 52px;
    height: 30px;
    border-radius: 15px;
  }
  .ads-aw-ri-ico svg {
    width: 21px;
    height: 21px;
  }
  .ads-aw-ri-on .ads-aw-ri-ico {
    background: var(--aw-sel);
    color: #041e49;
  }
  .ads-aw-ri-on {
    color: #041e49;
    font-weight: 700;
  }
  .ads-aw-create {
    height: 66px;
  }
  .ads-aw-create .ads-aw-ri-ico {
    width: 44px;
    height: 44px;
    border-radius: 14px;
    background: #fff;
    box-shadow:
      0 1px 2px rgb(0 0 0 / 0.2),
      0 1px 4px 1px rgb(0 0 0 / 0.1);
    color: #0b57d0;
  }
  .ads-aw-create .ads-aw-ri-ico svg {
    width: 24px;
    height: 24px;
  }
  .ads-aw-main {
    gap: 12px;
    padding: 12px 18px 0;
  }
  .ads-aw-date small {
    display: flex;
    justify-content: flex-end;
  }
  .ads-aw-date-m {
    display: none;
  }
  .ads-aw-date-d {
    display: inline;
  }
  .ads-aw-date > span {
    height: auto;
    padding: 0;
    border: 0;
    font: 500 13px/1.2 var(--g-font-ui);
    color: var(--aw-text);
  }
  .ads-aw-ttl > span {
    font-size: 21px;
  }
  .ads-aw-cards {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
  .ads-aw-card {
    height: 62px;
  }
  .ads-aw-card-v {
    font-size: 23px;
  }
  .ads-aw-ax {
    width: 20px;
  }
  .ads-aw-dsk {
    display: grid;
  }
  .ads-aw-num.ads-aw-dsk {
    display: block;
  }
  .ads-aw-num {
    width: 70px;
  }
  .ads-aw-txt {
    width: 112px;
  }
  .ads-aw-tr {
    gap: 10px;
    padding: 0 14px;
  }
  .ads-aw-th {
    height: 32px;
  }
  .ads-aw-thumb {
    width: 26px;
    height: 26px;
  }
  .ads-aw-snack {
    left: auto;
    right: 18px;
    bottom: 16px;
    width: max-content;
  }

  .ads-aw-audit {
    --chart-h: 60px;
    --row-h: 29px;
  }
  .ads-aw-audit .ads-aw-main {
    gap: 9px;
  }
  .ads-aw-audit .ads-aw-th {
    height: 30px;
  }
  .ads-aw-audit .ads-aw-card:nth-child(n + 3) {
    display: flex;
  }
  .ads-aw-audit .ads-aw-num {
    width: 70px;
  }
  .ads-aw-name .ads-aw-xico,
  .ads-aw-ex .ads-aw-name .ads-aw-xico {
    display: none;
  }
  .ads-aw-ex .ads-aw-dot {
    display: block;
  }
  .ads-aw-ex .ads-aw-name > span {
    color: #0b57d0 !important;
  }
  .ads-aw-audit .ads-aw-cards .ads-aw-card {
    height: 56px;
  }
  .ads-aw-audit .ads-aw-txt {
    width: 120px;
  }
  .ads-aw-audit .ads-aw-sel {
    padding-left: 44px;
  }
}

/* El producto de la tienda pasa por encima de los que adelanta. */
.ads-pla-card[data-k="pla-0"] {
  z-index: 2;
}
