/* RD Nueva home 1.1 — blanco, negro y el verde del logo */
.rdh { --g: #2e8b3d; --g2: #22a447; --soft: #f4f4f2; --line: #e7e7e4; --ink: #111; --muted: #5f6368; --r: 14px;
  color: var(--ink); font-family: inherit; max-width: 1760px; margin: 0 auto 40px; }
.rdh *, .rdh *::before, .rdh *::after { box-sizing: border-box; }
.rdh a { color: var(--ink); text-decoration: none; }
.rdh a:hover { color: var(--g); }
.rdh h1, .rdh h2 { color: var(--ink); text-transform: none; letter-spacing: -0.01em; }
.rdh svg { fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

.rdh-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 0 22px; height: 52px; border: 1px solid var(--ink);
  background: #fff; color: var(--ink) !important; font: inherit; font-weight: 700; font-size: 15px; border-radius: 8px; cursor: pointer; white-space: nowrap; }
.rdh-btn--dark { background: var(--ink); color: #fff !important; }
.rdh-btn--dark:hover { background: var(--g); border-color: var(--g); }
.rdh-btn--light { background: #fff; color: var(--ink) !important; border-color: #fff; width: 100%; }
.rdh-btn--light:hover { background: var(--g); border-color: var(--g); color: #fff !important; }
.rdh-more { font-size: 15px; font-weight: 700; color: var(--g) !important; white-space: nowrap; }
.rdh-green { color: var(--g) !important; font-weight: 700; }

/* 1 · portada */
.rdh-top { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 18px; padding: 18px 0 18px; }
.rdh-hero { position: relative; background: var(--soft); border-radius: var(--r); overflow: hidden; min-height: 530px; display: flex; flex-direction: column; justify-content: space-between; }
.rdh-hero__photo { position: absolute; top: 0; right: 0; width: 52%; height: 64%; background-size: cover; background-position: center; }
.rdh-hero__photo::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--soft) 0%, rgba(244,244,242,0.7) 18%, rgba(244,244,242,0) 45%); }
.rdh-hero__text { position: relative; padding: 52px 40px 24px; max-width: 640px; }
.rdh-eyebrow { display: block; color: var(--g); font-size: 13px; font-weight: 800; letter-spacing: 0.16em; margin-bottom: 16px; }
.rdh-h1 { margin: 0; font-size: 54px; line-height: 1.04; font-weight: 800; }
.rdh-lead { margin: 16px 0 0; font-size: 18px; color: var(--muted); }

.rdh-finder { position: relative; margin: 0 18px 18px; background: #fff; border-radius: 12px; padding: 24px 28px 20px; box-shadow: 0 6px 24px rgba(0,0,0,0.07); }
.rdh-steps { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.2fr) minmax(0, 0.9fr) auto; gap: 14px; align-items: end; }
.rdh-step label { display: block; font-size: 14px; font-weight: 700; margin-bottom: 8px; }
.rdh-step select, .rdh-combo input { width: 100%; height: 52px; padding: 0 16px; border: 1px solid #d9d9d6; background: #fff; font: inherit; font-size: 15px; color: var(--ink); border-radius: 8px; }
.rdh-step select:focus, .rdh-combo input:focus { outline: 2px solid var(--ink); outline-offset: -1px; }
.rdh-combo { position: relative; }
.rdh-combo > svg { position: absolute; left: 15px; top: 16px; width: 20px; height: 20px; color: #444; pointer-events: none; }
.rdh-combo input { padding-left: 44px; }
.rdh-combo input:disabled { background: #fafafa; }
.rdh-combo__list { position: absolute; z-index: 30; left: 0; right: 0; top: 56px; max-height: 320px; overflow: auto; margin: 0; padding: 6px; list-style: none;
  background: #fff; border: 1px solid #d9d9d6; border-radius: 10px; box-shadow: 0 12px 30px rgba(0,0,0,0.12); }
.rdh-combo__list li { padding: 10px 12px; border-radius: 6px; font-size: 15px; cursor: pointer; }
.rdh-combo__list li[aria-selected="true"], .rdh-combo__list li:hover { background: var(--soft); }
.rdh-combo__list li.is-empty { color: var(--muted); cursor: default; background: none; }
.rdh-go { height: 52px; }
.rdh-pop { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; align-items: center; font-size: 13px; color: var(--muted); }
.rdh-pop a { font-size: 14px; font-weight: 600; border: 1px solid #ddd; padding: 7px 14px; border-radius: 18px; }
.rdh-pop a:hover { border-color: var(--ink); }

.rdh-pro { background: var(--ink); color: #fff; border-radius: var(--r); padding: 44px 30px 34px; display: flex; flex-direction: column; gap: 16px; }
.rdh-pro__k { color: var(--g2); font-size: 13px; font-weight: 800; letter-spacing: 0.16em; }
.rdh-pro h2 { color: #fff; margin: 0; font-size: 40px; line-height: 1.06; font-weight: 800; }
.rdh-pro p { margin: 0; color: #cfcfcf; font-size: 16px; }
.rdh-pro ul { list-style: none; margin: 10px 0 14px; padding: 0; display: flex; flex-direction: column; gap: 18px; font-size: 16px; }
.rdh-pro li { position: relative; padding-left: 40px; line-height: 26px; }
.rdh-pro li::before { content: ""; position: absolute; left: 0; top: 0; width: 26px; height: 26px; border-radius: 50%; background: var(--g2); }
.rdh-pro li::after { content: ""; position: absolute; left: 8px; top: 8px; width: 10px; height: 6px; border-left: 2.5px solid #fff; border-bottom: 2.5px solid #fff; transform: rotate(-45deg); }
.rdh-pro .rdh-btn--light { margin-top: auto; }
.rdh .rdh-pro__link { color: #fff; text-align: center; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.rdh .rdh-pro__link:hover { color: var(--g2); }

/* 2 · confianza */
.rdh-trust { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); background: var(--soft); border-radius: var(--r); padding: 20px 10px; margin-bottom: 40px; }
.rdh-trust > div { display: flex; align-items: center; gap: 18px; padding: 0 26px; }
.rdh-trust > div + div { border-left: 1px solid var(--line); }
.rdh-ico { flex: none; width: 70px; height: 70px; border-radius: 50%; background: #e3f2e6; display: flex; align-items: center; justify-content: center; }
.rdh-ico svg { width: 32px; height: 32px; color: var(--ink); }
.rdh-trust p, .rdh-serv p { margin: 0; display: flex; flex-direction: column; gap: 4px; }
.rdh-trust b { font-size: 17px; }
.rdh-trust span { font-size: 14px; color: var(--muted); }

/* secciones */
.rdh-sec { margin-bottom: 44px; }
.rdh-head { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; margin-bottom: 18px; }
.rdh-head h2 { margin: 0; font-size: 30px; font-weight: 800; flex: 1 1 auto; }

.rdh-brands { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 10px; }
.rdh-brand { border: 1px solid var(--line); border-radius: 10px; padding: 18px 16px 18px 22px; display: flex; align-items: center; justify-content: space-between; gap: 8px; background: #fff; }
.rdh-brand > span { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.rdh-brand b { font-size: 19px; font-weight: 800; }
.rdh-brand small { font-size: 12px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rdh-brand svg { flex: none; width: 18px; height: 18px; color: #555; }
.rdh-brand:hover { border-color: var(--ink); }

/* 4 · novedades */
.rdh-new .rdh-head h2 { flex: 0 1 auto; margin-right: auto; }
.rdh-tabs { display: flex; flex-wrap: wrap; gap: 6px; margin-right: auto; }
.rdh-tabs button { height: 38px; padding: 0 16px; border: 1px solid #dcdcd8; border-radius: 6px; background: #fff; color: var(--ink); font: inherit; font-size: 14px; font-weight: 600; cursor: pointer; }
.rdh-tabs button.is-on { background: var(--ink); border-color: var(--ink); color: #fff; }
.rdh .rdh-grid { display: grid !important; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin: 0 !important; }
.rdh .rdh-grid > * { width: auto !important; max-width: none !important; flex: none !important; padding: 0 !important; margin: 0 !important; }
.rdh .rdh-grid .product-miniature { border: 1px solid var(--line); border-radius: 12px; overflow: hidden; background: #fff; height: 100%; }
.rdh .rdh-grid .lazy-product-image.product-thumbnail-first { opacity: 1 !important; }

/* 5 · destacados */
.rdh-feat { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin-bottom: 26px; }
.rdh-feat__card { position: relative; border-radius: var(--r); overflow: hidden; min-height: 240px; display: flex; align-items: stretch; justify-content: space-between; }
.rdh-feat__txt { position: relative; z-index: 1; padding: 38px 36px; display: flex; flex-direction: column; gap: 10px; max-width: 70%; }
.rdh-feat small { font-size: 13px; font-weight: 800; letter-spacing: 0.16em; }
.rdh-feat b { font-size: 34px; line-height: 1.08; font-weight: 800; }
.rdh-feat__txt > span { font-size: 17px; }
.rdh-feat em { font-style: normal; font-weight: 800; font-size: 18px; margin-top: 8px; }
.rdh .rdh-feat__card--dark { background: var(--ink); color: #fff; }
.rdh .rdh-feat__card--dark:hover { color: #fff; }
.rdh-feat__card--dark small { color: var(--g2); }
.rdh-feat__card--dark .rdh-feat__txt > span { color: #d8d8d8; }
.rdh-feat__card--dark .rdh-feat__brands { color: #fff; font-weight: 800; letter-spacing: 0.08em; font-size: 14px; }
.rdh-feat__card--light { background: var(--soft); }
.rdh-feat__card--light small { color: var(--g); }
.rdh-feat__card--light .rdh-feat__txt > span { color: var(--muted); }
.rdh-feat__img { position: absolute; right: 0; bottom: 0; height: 100%; width: auto; object-fit: cover; }
.rdh-feat__img--screen { right: 44px; top: 16px; bottom: 16px; height: calc(100% - 32px); border-radius: 10px; }
.rdh-feat__img--tools { width: 46%; height: 100%; object-fit: cover; mix-blend-mode: multiply; }

/* 6 · servicio */
.rdh-serv { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--line); padding-top: 24px; }
.rdh-serv > div { display: flex; align-items: center; gap: 16px; padding: 6px 24px; }
.rdh-serv > div + div { border-left: 1px solid var(--line); }
.rdh-serv svg { flex: none; width: 36px; height: 36px; color: var(--ink); }
.rdh-serv b { font-size: 16px; }
.rdh-serv span, .rdh-serv p > a:not(.rdh-green) { font-size: 14px; color: var(--muted) !important; }

/* responsive */
@media (max-width: 1199px) {
  .rdh-top { grid-template-columns: 1fr; }
  .rdh-pro { padding: 30px; }
  .rdh-pro h2 { font-size: 32px; }
  .rdh-brands { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .rdh-serv { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 18px; }
  .rdh-serv > div:nth-child(3) { border-left: 0; }
}
@media (max-width: 991px) {
  .rdh-steps { grid-template-columns: 1fr 1fr; }
  .rdh-go { grid-column: 1 / -1; }
  .rdh-h1 { font-size: 42px; }
  .rdh .rdh-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .rdh-feat { grid-template-columns: 1fr; }
  .rdh-trust { grid-template-columns: 1fr; gap: 14px; }
  .rdh-trust > div + div { border-left: 0; }
}
@media (max-width: 767px) {
  .rdh-top { padding-top: 8px; gap: 12px; }
  .rdh-hero { min-height: 0; border-radius: 10px; }
  .rdh-hero__photo { position: relative; width: 100%; height: 190px; order: -1; }
  .rdh-hero__photo::before { background: linear-gradient(0deg, var(--soft) 0%, rgba(244,244,242,0) 45%); }
  .rdh-hero__text { padding: 8px 18px 16px; }
  .rdh-eyebrow { font-size: 11px; margin-bottom: 10px; }
  .rdh-h1 { font-size: 30px; }
  .rdh-lead { font-size: 15px; }
  .rdh-finder { margin: 0 10px 10px; padding: 16px; }
  .rdh-steps { grid-template-columns: 1fr; gap: 10px; }
  .rdh-pro { padding: 24px 20px; gap: 12px; }
  .rdh-pro h2 { font-size: 28px; }
  .rdh-pro ul { gap: 12px; font-size: 15px; }
  .rdh-trust { padding: 16px 6px; }
  .rdh-trust > div { padding: 0 12px; gap: 12px; }
  .rdh-ico { width: 52px; height: 52px; }
  .rdh-ico svg { width: 26px; height: 26px; }
  .rdh-head h2 { font-size: 24px; }
  .rdh-brands { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .rdh-brand { padding: 14px; }
  .rdh-brand b { font-size: 16px; }
  .rdh .rdh-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .rdh-feat__card { min-height: 200px; }
  .rdh-feat__txt { padding: 24px 20px; max-width: 64%; }
  .rdh-feat b { font-size: 24px; }
  .rdh-feat__txt > span { font-size: 15px; }
  .rdh-feat__card--dark .rdh-feat__brands { font-size: 12px; }
  .rdh-feat__img--screen { right: 14px; }
  .rdh-serv { grid-template-columns: 1fr; }
  .rdh-serv > div { border-left: 0 !important; padding: 4px 0; }
}

/* ajustes */
.rdh-feat__card--light .rdh-feat__txt { max-width: 56%; }
.rdh-feat__img--tools { -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 22%); mask-image: linear-gradient(90deg, transparent 0, #000 22%); }
@media (max-width: 767px) {
  .rdh .rdh-grid > *:nth-child(n+5) { display: none !important; }
  .rdh-feat__card--light .rdh-feat__txt { max-width: 62%; }
}
/* ancho y enlaces del panel pro */
@media (min-width: 1200px) { .rdh-top { grid-template-columns: minmax(0, 1fr) 380px; } }
.rdh .rdh-pro a.rdh-pro__link, .rdh .rdh-pro a.rdh-pro__link:visited { color: #fff !important; }
.rdh .rdh-pro a.rdh-pro__link:hover { color: #22a447 !important; }
@media (min-width: 1600px) { .rdh-h1 { font-size: 60px; } .rdh-hero__photo { width: 50%; } }
/* banner Service Pack (imagen completa) y textos del bloque claro siempre visibles */
.rdh-feat__card--banner { background: #0e0e10; min-height: 0; }
.rdh-feat__card--banner img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: left center; }
.rdh .rdh-feat__card--light b, .rdh .rdh-feat__card--light em { color: #111 !important; }
.rdh .rdh-feat__card--light small { color: #2e8b3d !important; }
@media (max-width: 767px) { .rdh-feat__card--banner img { height: auto; } }
/* soporte → botón de WhatsApp */
.rdh-trust > a.rdh-trust__wa { display: flex; align-items: center; gap: 18px; padding: 0 26px; border-left: 1px solid var(--line); color: var(--ink); }
.rdh-trust > a.rdh-trust__wa p { flex: 1; min-width: 0; }
.rdh-wa-btn { flex: none; display: inline-flex; align-items: center; gap: 8px; height: 44px; padding: 0 18px; border-radius: 22px; background: #25d366; color: #fff; font-weight: 700; font-size: 15px; transition: background .15s; }
.rdh-wa-btn svg { width: 20px; height: 20px; stroke: #fff; }
.rdh-trust > a.rdh-trust__wa:hover .rdh-wa-btn { background: #1da851; }
.rdh-trust > a.rdh-trust__wa:hover b { color: var(--g); }
@media (max-width: 991px) { .rdh-trust > a.rdh-trust__wa { border-left: 0; } }
@media (max-width: 767px) { .rdh-trust > a.rdh-trust__wa { padding: 0 12px; gap: 12px; } .rdh-wa-btn { height: 40px; padding: 0 14px; font-size: 14px; } }
.rdh .rdh-trust .rdh-wa-btn { color: #fff !important; font-size: 15px; }

/* 1.2.5 · fila de confianza con ventanas */
.rdh-trust > .rdh-trust__btn { display: flex; align-items: center; gap: 18px; padding: 0 26px; margin: 0; border: 0; background: none; font: inherit; color: var(--ink); text-align: left; cursor: pointer; width: 100%; }
.rdh-trust > .rdh-trust__btn + .rdh-trust__btn { border-left: 1px solid var(--line); }
.rdh-trust__btn p em, .rdh-trust__btn p em i { font-style: normal; font-size: 13px; font-weight: 700; color: var(--g) !important; }
.rdh-trust__btn:hover b { color: var(--g); }
.rdh-trust__btn:hover .rdh-ico { background: #d3ebd8; }
.rdh-trust__btn:focus-visible { outline: 2px solid var(--g); outline-offset: 4px; border-radius: 8px; }
@media (max-width: 991px) { .rdh-trust > .rdh-trust__btn + .rdh-trust__btn { border-left: 0; } }
@media (max-width: 767px) { .rdh-trust > .rdh-trust__btn { padding: 0 12px; gap: 12px; } }

.rdh-dlg { width: min(620px, calc(100vw - 32px)); max-height: calc(100vh - 48px); overflow: auto; border: 0; border-radius: 16px; padding: 32px; color: var(--ink); box-shadow: 0 24px 60px rgba(0,0,0,.25); }
.rdh-dlg::backdrop { background: rgba(17,17,17,.55); }
.rdh-dlg h2 { font-size: 24px; margin: 0 40px 10px 0; color: var(--ink); text-transform: none; }
.rdh-dlg__x { position: absolute; top: 14px; right: 14px; width: 40px; height: 40px; border: 0; border-radius: 50%; background: var(--soft); font-size: 26px; line-height: 1; cursor: pointer; color: var(--ink); }
.rdh-dlg__x:hover { background: var(--line); }
.rdh-dlg__lead { color: var(--muted); font-size: 15px; line-height: 1.5; margin: 0 0 18px; }
.rdh-dlg__paths { margin: 0 0 14px; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; }
.rdh-dlg__paths > div { display: grid; grid-template-columns: 170px 1fr; gap: 12px; padding: 11px 14px; font-size: 14px; }
.rdh-dlg__paths > div + div { border-top: 1px solid var(--line); }
.rdh-dlg__paths dt { font-weight: 700; margin: 0; }
.rdh-dlg__paths dd { margin: 0; color: #333; }
.rdh-dlg__note { font-size: 14px; color: var(--muted); margin: 0 0 22px; }
.rdh-dlg__search label { display: block; font-weight: 700; font-size: 15px; margin-bottom: 8px; }
.rdh-dlg__search > div { display: flex; gap: 8px; }
.rdh-dlg__search input { flex: 1; min-width: 0; height: 52px; border: 2px solid var(--ink); border-radius: 8px; padding: 0 14px; font: inherit; font-size: 15px; }
.rdh-dlg__steps { list-style: none; counter-reset: s; margin: 8px 0 24px; padding: 0; }
.rdh-dlg__steps li { counter-increment: s; position: relative; padding: 0 0 18px 50px; display: flex; flex-direction: column; gap: 4px; }
.rdh-dlg__steps li::before { content: counter(s); position: absolute; left: 0; top: -2px; width: 34px; height: 34px; border-radius: 50%; background: #e3f2e6; color: var(--g); font-weight: 700; display: flex; align-items: center; justify-content: center; }
.rdh-dlg__steps b { font-size: 16px; }
.rdh-dlg__steps span { font-size: 14px; color: var(--muted); line-height: 1.5; }
.rdh-dlg__actions { display: flex; gap: 10px; flex-wrap: wrap; }
.rdh-dlg__actions .rdh-btn { flex: 1; }
@media (max-width: 575px) {
  .rdh-dlg { padding: 24px 18px; }
  .rdh-dlg h2 { font-size: 20px; }
  .rdh-dlg__paths > div { grid-template-columns: 1fr; gap: 2px; }
  .rdh-dlg__search > div { flex-direction: column; }
  .rdh-dlg__search input { flex: none; width: 100%; }
}

/* 1.2.6 · tarjeta de cuenta con últimos pedidos */
.rdh-pro h2.rdh-pro__hi { font-size: 34px; overflow-wrap: anywhere; }
.rdh-pro__sub { color: #9a9a9a; font-size: 12px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; margin-top: 6px; }
.rdh-pro ul.rdh-orders { margin: 0; gap: 10px; }
.rdh-pro .rdh-orders li { padding: 0; line-height: 1.3; display: flex; align-items: center; gap: 10px; background: #1e1e1e; border: 1px solid #2c2c2c; border-radius: 10px; padding: 12px 12px 12px 14px; }
.rdh-pro .rdh-orders li::before, .rdh-pro .rdh-orders li::after { display: none; }
.rdh .rdh-pro .rdh-orders__main { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; color: #fff !important; }
.rdh-orders__main b { font-size: 15px; letter-spacing: .02em; }
.rdh-orders__main small { color: #a8a8a8; font-size: 13px; }
.rdh-orders__main em { font-style: normal; font-size: 13px; color: #d8d8d8; display: flex; align-items: center; gap: 6px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rdh-orders__main em i { flex: none; width: 8px; height: 8px; border-radius: 50%; }
.rdh .rdh-pro a.rdh-orders__again { flex: none; font-size: 13px; font-weight: 700; color: #fff !important; background: var(--g); border-radius: 8px; padding: 9px 12px; white-space: nowrap; }
.rdh .rdh-pro a.rdh-orders__again:hover { background: var(--g2); }
.rdh .rdh-pro .rdh-orders__main:hover b { color: var(--g2); }
.rdh-pro__links { display: flex; justify-content: center; flex-wrap: wrap; gap: 6px 18px; }
.rdh .rdh-pro .rdh-pro__links a.rdh-pro__link { font-size: 14px; }
@media (max-width: 575px) { .rdh-pro h2.rdh-pro__hi { font-size: 26px; } }

/* 1.2.7 · portada a todo el ancho, como la cabecera */
body#index #inner-wrapper.container { max-width: none !important; width: 100% !important; }
body#index .rdh { max-width: none; }
