/* Public interface: common scale and components, separate from the private panel. */
:root{--surface:#fff;--surface-soft:#f0f6f1;--radius-card:22px;--radius-control:12px}
.header{max-width:none;padding-inline:max(24px,calc((100vw - 1184px)/2));background:#fbfaf6f5;backdrop-filter:blur(14px)}
.header nav a{text-decoration:none;border-radius:10px;padding:8px 10px;gap:7px}
.header nav a:hover,.header nav a[aria-current]{background:#e9f2eb;color:var(--green-dark)}
.intro{padding:32px 0 26px;gap:32px}.intro h1{font-size:clamp(30px,3.6vw,46px);max-width:720px;letter-spacing:-.045em}.intro .lead{margin:12px 0 0;max-width:58ch}.intro .eyebrow{margin:0}
.stamp{border-radius:24px;width:auto;height:auto;padding:18px 22px;background:#edf4d9;gap:12px}.stamp strong{font-size:36px}.stamp span{line-height:1.45}
.monthly-feature{margin:0 0 32px;box-shadow:none}
.catalog-heading{margin-top:28px}.catalog-heading h2{font-size:clamp(23px,3vw,30px);letter-spacing:-.035em}.catalog-search{margin-top:18px}.catalog-search input{padding:16px 18px;border-color:#acbfb2;box-shadow:0 4px 16px #17352c05}
.catalog-controls{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:12px;margin:12px 0 18px}.catalog-controls .quick-filters{margin:0}.catalog-controls .clear-filters{font-size:.875rem}.catalog-controls #my-brands{margin:0}.favorites-note{margin:0 0 12px;color:var(--muted);font-size:.875rem;line-height:1.5}.catalog-results{display:flex;align-items:center;justify-content:space-between;margin:18px 0 14px}.catalog-results #result-count{margin:0}.catalog-results a{font-size:.875rem;color:var(--green);text-underline-offset:3px}
.offers{gap:22px}.offers .card{padding:22px;border-radius:var(--radius-card);border-color:#dfe8e1;box-shadow:0 5px 18px #17352c05}.card.premium{border-color:#c7d9b5}.premium-badge{background:#edf4d9;color:#365321;border-color:#c7d9b5}
.card .card-top{justify-content:space-between;gap:8px;min-height:44px}.favorite-brand{padding:8px 11px;border:1px solid #d5e1d8;border-radius:999px;background:#fff;color:var(--green-dark);font-weight:600}.favorite-brand[aria-pressed=true]{background:#e9f2eb;border-color:#9cbaa8}.card .tag{font-size:.75rem;padding:6px 9px;max-width:100%;overflow-wrap:anywhere}
.brand-visual{min-height:132px;gap:14px;padding:20px 0 10px}.brand-visual .brand-identity{background:#fafcf9;border:1px solid #edf1eb;border-radius:16px;padding:12px;min-height:100px}.brand-visual .brand-logo{max-width:150px;height:74px}.brand-visual .brand-logo-dogfy{width:86px;height:86px}.brand-visual .brand-identity h3{font-size:1.25rem;text-align:center}.card .brand-visual .amount{width:72px;height:72px;min-height:72px;font-size:24px;letter-spacing:-.04em}.card .brand-visual .amount.discount-other{width:94px;font-size:1rem}
.card h4{font-size:1.2rem;line-height:1.4;margin:16px 0 12px}.card .detail{border:0;padding:0;line-height:1.65;font-size:.9375rem;margin-bottom:20px}.coupon{min-height:52px;background:#f5f9f4;border-color:#91ad9a}.coupon span{font-weight:600}.visit{min-height:48px;display:flex;align-items:center;justify-content:center;line-height:1.4}.video-slot{padding-top:8px}.brand-page-link{font-size:.875rem;line-height:1.45;min-height:44px;display:flex;align-items:center;justify-content:center;color:var(--green);text-align:center;text-underline-offset:3px}
.brand-directory{padding:20px 22px;border-radius:var(--radius-card)}.brand-directory summary{min-height:44px;display:flex;align-items:center;gap:12px}.brand-directory summary::after{content:'+';margin-left:auto;font-size:24px;font-weight:400}.brand-directory[open] summary::after{content:'−'}#brand-directory button{background:#f7faf5;display:flex;align-items:center;gap:10px}#brand-directory button:hover{border-color:#91ad9a}.directory-mark{flex-shrink:0;width:36px;height:36px;display:grid;place-items:center;border-radius:10px;background:#e8f1e9;color:var(--green);font-weight:750}.directory-caption{display:grid;gap:3px}.directory-caption small{font-size:.75rem;color:var(--muted)}
.assistant-box{margin:24px 0;background:#f3f7f1}.trust{margin-top:28px}.newsletter{display:block;margin:24px 0;padding:18px 22px;background:#f3f5ed;border:1px solid var(--line);border-radius:18px}.newsletter summary{cursor:pointer;min-height:44px;display:flex;align-items:center;gap:10px;font-weight:650}.newsletter summary span{font-size:.75rem;color:var(--muted);font-weight:500}.newsletter h2{font-size:1.2rem}.newsletter-form{max-width:520px;margin-top:16px}.newsletter p{font-size:.875rem;line-height:1.6}.push-signup{border-radius:var(--radius-card);padding:24px}.push-signup>summary{cursor:pointer;min-height:48px;display:flex;align-items:center;gap:12px;font-size:1.125rem;font-weight:700}.push-signup>summary span{margin-left:auto;font-size:.75rem;font-weight:500;color:var(--muted)}
.public-footer{align-items:flex-start;flex-wrap:wrap;padding-top:28px;padding-bottom:32px}.public-footer nav{display:flex;flex-wrap:wrap;gap:8px 18px;max-width:360px;align-items:flex-start}.public-footer nav a{display:inline-flex;align-items:center;min-height:44px;font-size:.875rem;text-underline-offset:4px}.public-footer .powered{margin-top:6px}.public-footer .powered img{width:115px;height:auto}.public-footer .brand{font-size:24px}
.brand-page{padding-top:28px;padding-bottom:32px}.brand-page>h1{font-size:clamp(28px,4vw,42px);max-width:800px}.brand-breadcrumb{font-size:.875rem;color:var(--muted)}.brand-heading{display:flex;align-items:center;gap:20px;margin:18px 0}.brand-page-logo{width:112px;height:84px;object-fit:contain;border:1px solid var(--line);background:#fff;border-radius:16px;padding:10px}.brand-heading h1{font-size:clamp(28px,4vw,42px);margin:0;letter-spacing:-.04em}.brand-tools{display:flex;gap:10px;flex-wrap:wrap;margin:18px 0}.brand-tools button{min-height:44px;padding:10px 16px;border:1px solid #b6cabb;border-radius:12px;color:var(--green-dark);background:#fff;font-weight:600}.brand-main-offer{padding:26px;border:1px solid #aac4ad;border-radius:var(--radius-card);background:#fff;box-shadow:0 6px 24px #17352c06}.brand-main-offer h2{font-size:clamp(22px,3vw,28px);margin-top:0;line-height:1.4}.brand-main-offer .offer-description,.secondary-offer .offer-description{font-size:1rem;line-height:1.7;color:var(--muted);white-space:pre-wrap}.brand-main-offer .visit{max-width:440px}.brand-coupon{display:flex;gap:10px;align-items:center;flex-wrap:wrap;background:#f3f8f0;padding:14px 16px;border:1px dashed #a3b7a7;border-radius:12px}.brand-coupon button{margin-left:auto;min-height:44px;border:1px solid #b6cabb;border-radius:10px;background:#fff;padding:8px 14px;color:var(--green-dark);font-weight:600}.secondary-heading{font-size:1.25rem;margin:30px 0 14px}.secondary-offer{border:1px solid var(--line);border-radius:16px;background:#fff;padding:20px;margin:12px 0}.secondary-offer h2{font-size:1.125rem;margin:0 0 10px}.secondary-offer .visit{max-width:340px}.report-offer{display:inline-flex;align-items:center;min-height:44px;font-size:.875rem;color:var(--muted);text-underline-offset:3px}.contact-page,.legal-page{padding-top:32px}
.mobile-navigation{display:none}.public-footer+.mobile-navigation{margin:0}
.discover-summary-actions{display:flex;flex-wrap:wrap;gap:10px}.discover-summary-actions #discover-show-all{background:#14533e;color:#fff;border-color:#14533e}.discover-choice[aria-pressed=true]{border-color:#3e7750;background:#eaf3e2;box-shadow:inset 0 0 0 1px #3e7750}button.discover-choice{color:#17352c;text-align:left;font-family:inherit}
@media(max-width:650px){
 body.has-app-navigation{padding-bottom:calc(74px + env(safe-area-inset-bottom))}.header{padding:14px 18px}.intro{padding:24px 0 20px}.intro h1{font-size:32px}.intro .lead{font-size:1rem}.monthly-feature{margin-bottom:26px}.catalog-heading{gap:8px}.catalog-heading h2{font-size:25px}.catalog-controls{gap:12px}.catalog-controls .quick-filters{width:100%}.catalog-controls #my-brands{width:auto;flex:1}.catalog-controls #clear-filters{padding-inline:12px}.favorites-note{font-size:.8125rem}.catalog-results a{max-width:42%;text-align:right}.offers .card{padding:20px}.card h4{font-size:1.25rem}.card .detail{font-size:1rem}.brand-visual .brand-identity{min-height:96px}.brand-directory,.push-signup{padding:16px}.newsletter{padding:12px 16px}.public-footer{gap:14px}.public-footer nav{width:100%;justify-content:flex-start}.brand-heading{align-items:flex-start;gap:14px}.brand-page-logo{width:78px;height:72px;padding:8px}.brand-heading h1{font-size:27px;line-height:1.2}.brand-main-offer{padding:20px}.brand-coupon{gap:8px}.brand-coupon button{width:100%;margin:4px 0 0}.secondary-offer{padding:18px}
 .mobile-navigation{position:fixed;z-index:65;bottom:0;left:0;right:0;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));padding:7px 12px calc(7px + env(safe-area-inset-bottom));gap:8px;border-top:1px solid #d9e4da;background:#fffffff5;backdrop-filter:blur(14px)}.mobile-navigation a{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;min-height:48px;border-radius:13px;font-size:.75rem;font-weight:650;text-decoration:none;color:#52645c}.mobile-navigation a[aria-current]{background:#edf4e7;color:#173f2c}.mobile-navigation svg{width:21px;height:21px;stroke:currentColor;fill:none;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.has-app-navigation .chat-launcher{bottom:calc(88px + env(safe-area-inset-bottom));width:52px;height:52px}.has-app-navigation .chat-launcher>span:first-child{font-size:29px}.has-app-navigation .chat-launcher-label{display:none}.has-app-navigation .chat-welcome{bottom:calc(151px + env(safe-area-inset-bottom))}.has-app-navigation .feedback:not(:empty){bottom:calc(88px + env(safe-area-inset-bottom));z-index:90}.keyboard-open .mobile-navigation,.keyboard-open .chat-launcher,.keyboard-open .chat-welcome{display:none!important}
}
.directory-mark{width:56px;height:44px;background:#fff;border:1px solid #e2eae1;overflow:hidden}.directory-mark>span,.directory-mark>img{grid-area:1/1}.directory-mark>img{width:56px;height:44px;object-fit:contain;padding:5px;background:#fff}
@media(max-width:650px){#brand-directory button{flex-direction:column;align-items:center;text-align:center;gap:8px}.directory-caption{width:100%;min-height:40px}.directory-mark{width:76px;height:48px}.directory-mark>img{width:76px;height:48px}}
@media(prefers-reduced-motion:no-preference){.header nav a,.mobile-navigation a,.favorite-brand,.visit,#brand-directory button{transition:background-color .16s ease,border-color .16s ease,transform .16s ease}.favorite-brand:active,.visit:active,#brand-directory button:active{transform:scale(.98)}.offers .card{transition:box-shadow .18s ease,transform .18s ease}}
@media(hover:hover) and (pointer:fine) and (prefers-reduced-motion:no-preference){.offers .card:hover{transform:translateY(-2px)}#brand-directory button:hover{transform:translateY(-2px)}}
.discover-link{display:inline-flex;align-items:center;justify-content:center;gap:12px;min-height:46px;padding:12px 18px;border-radius:12px;background:#14533e;color:#fff;text-decoration:none;font-weight:700}.header nav .discover-link{color:#fff;background:#14533e;padding-inline:15px}.header nav .discover-link:hover{background:#0f4534;color:#fff}.discover-invitation{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:20px 22px;margin:0 0 28px;border:1px solid #d8e5d1;border-radius:20px;background:#f0f5e8}.discover-invitation>div{display:grid;gap:6px}.discover-invitation strong{font-size:1.125rem}.discover-invitation>div>span{font-size:.9375rem;color:var(--muted)}
.discover-summary{display:flex;align-items:center;justify-content:space-between;gap:16px;border:1px solid #c4d9be;border-radius:16px;background:#f0f5e8;padding:18px;margin:16px 0;scroll-margin-top:calc(var(--header-height,90px) + 18px)}.discover-summary[hidden]{display:none}.discover-summary p{font-size:.875rem;color:var(--muted);line-height:1.6;margin:6px 0 0}.discover-summary button{flex-shrink:0;border:1px solid #a6c0aa;border-radius:10px;padding:10px 14px;background:#fff;color:var(--green-dark);min-height:44px;font-weight:650}
body.guide-open{overflow:hidden}#discover-dialog{width:640px;max-width:calc(100% - 28px);max-height:calc(100dvh - 32px);margin:auto;padding:0;border:1px solid #d4dfd1;border-radius:24px;background:#fbfaf6;color:#17352c;box-shadow:0 20px 65px #122a2c25}#discover-dialog::backdrop{background:#142d27b3}.discover-top{display:flex;align-items:center;justify-content:space-between;padding:16px 22px;font-size:.875rem;font-weight:750}.discover-top button{width:44px;height:44px;border:1px solid #d9e2d5;border-radius:12px;background:#fff;font-size:24px;color:inherit}.discover-progress{display:flex;gap:8px;list-style:none;margin:0 22px 22px;padding:0}.discover-progress li{flex:1;border-top:4px solid #dce5d7;padding-top:9px;font-size:.75rem;color:#61705d}.discover-progress li[aria-current],.discover-progress li.is-complete{border-color:#4b8055;color:#17352c}.discover-progress li[aria-current]{font-weight:750}#discover-form{padding:0 22px 22px}#discover-form .eyebrow{font-size:.6875rem;margin:0 0 8px}#discover-title{font-size:clamp(25px,4vw,32px);letter-spacing:-.035em;line-height:1.2;margin:0;outline:none}#discover-description{font-size:.9375rem;line-height:1.55;color:var(--muted);margin:12px 0 18px}
#discover-choices{border:0;padding:2px;margin:0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;max-height:38dvh;overflow:auto}#discover-choices[hidden]{display:none}.discover-choice{display:flex;align-items:center;gap:10px;min-height:66px;padding:14px;border:1px solid #ccdaca;border-radius:14px;background:#fff;cursor:pointer;font-size:.9375rem;line-height:1.4}.discover-choice input{accent-color:#195b40;width:18px;height:18px;flex-shrink:0;margin:0}.discover-choice:has(input:checked){border-color:#3e7750;background:#eaf3e2;box-shadow:inset 0 0 0 1px #3e7750}.discover-choice:focus-within{outline:2px solid #206948;outline-offset:2px}#discover-preview{font-size:.875rem;color:#416048;line-height:1.5;min-height:21px;margin:16px 0}.discover-actions{display:flex;justify-content:space-between;gap:14px}.discover-actions button{min-height:48px;border:1px solid #acc5ac;border-radius:12px;padding:12px 18px;background:#fff;font-weight:700;color:#17352c}#discover-next{margin-left:auto;background:#14533e;color:#fff;border-color:#14533e}#discover-next:disabled{opacity:.45;cursor:not-allowed}.discover-note{font-size:.75rem;line-height:1.6;color:#677363;margin:16px 0 0}#discover-status{font-size:.9375rem;line-height:1.5}#discover-retry{min-height:44px;padding:10px 16px;border:1px solid #adc6af;background:#fff;border-radius:10px;color:inherit}
@media(max-width:650px){.mobile-navigation{grid-template-columns:repeat(4,minmax(0,1fr));gap:4px;padding-inline:8px}.mobile-navigation [data-nav=discover]{color:#16563c}.discover-invitation{align-items:stretch;flex-direction:column;padding:18px;gap:16px}.discover-invitation .discover-link{width:100%}.discover-summary{flex-direction:column;align-items:stretch}.discover-summary button{align-self:flex-start}.discover-choice{padding:12px;min-height:62px;font-size:.875rem}.discover-progress{margin-bottom:18px}.discover-top{padding:12px 18px}#discover-form{padding:0 18px 18px}}
@media(prefers-reduced-motion:no-preference){.discover-link,.discover-choice{transition:background-color .16s,border-color .16s}#discover-dialog[open]{animation:discover-appear .16s ease-out}@keyframes discover-appear{from{opacity:.4;transform:translateY(8px)}to{opacity:1;transform:none}}}
@media(max-width:360px){.brand-heading h1{font-size:24px}.brand-page-logo{width:64px;height:64px}.catalog-controls .quick-filters{gap:6px}.quick-filters button{padding-inline:11px}.card .tag{font-size:.7rem}.card .card-top{gap:5px}}
.chollo-loading{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:16px;min-height:180px;padding:24px;color:#0b513d;font-weight:750;text-align:center}.chollo-loading[hidden]{display:none!important}.chollo-loading-paw{display:grid;place-items:center;width:72px;height:72px;border:2px solid #b4d6bf;border-radius:25px;background:#e4f2e9;box-shadow:0 6px 0 #0b513d12;font-size:34px;animation:chollo-paw-pulse 1s ease-in-out infinite}.chat-box .chollo-loading{min-height:140px}@keyframes chollo-paw-pulse{0%,100%{transform:translateY(0) rotate(-8deg)}50%{transform:translateY(-7px) rotate(8deg)}}@media(prefers-reduced-motion:reduce){.chollo-loading-paw{animation:none}}
.brand-description{font-size:14px;line-height:1.55;color:#466451;margin:12px 0 16px}.card .brand-description{min-height:0}

/* Shared header accommodates the two beta links without wrapping individual labels. */
.header{flex-wrap:wrap}.header>nav{display:flex;flex:1 1 620px;flex-wrap:wrap;align-items:center;justify-content:flex-end;gap:6px}
.header>nav a{white-space:nowrap;font-size:.9375rem;line-height:1.35;min-height:44px}
@media(min-width:651px) and (max-width:1100px){.header{gap:8px;padding-block:14px}.header>nav{flex-basis:100%;justify-content:flex-start}}
@media(max-width:650px){.has-mobile-nav .header>nav{justify-content:flex-start}.has-mobile-nav .header>nav a{white-space:normal}}

/* Capa editorial compartida */
.public-section,
.offer-card,
.brand-card,
.blog-card {
  border-radius: 20px;
  box-shadow: 0 12px 30px rgba(20,45,40,.08);
  transition: transform .2s ease, box-shadow .2s ease;
}

.public-section:hover,
.offer-card:hover,
.brand-card:hover,
.blog-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 38px rgba(20,45,40,.13);
}


/* Descuentos primero; comparación como ayuda complementaria. */
.home-actions{display:flex;align-items:center;gap:20px;flex-wrap:wrap;margin-top:24px}.home-actions .visit{width:auto;padding:14px 24px;text-decoration:none}.home-actions>a:not(.visit){font-weight:650;color:#23593e}.comparison-invitation{display:flex;align-items:center;justify-content:space-between;gap:24px;border:1px solid #d5dfd2;border-radius:18px;padding:24px;margin:30px 0;background:#f3f6ed}.comparison-invitation h2{font-size:1.2rem;margin:0 0 8px}.comparison-invitation p{margin:0;line-height:1.6;max-width:650px}.comparison-invitation>a{color:#23593e;font-weight:700;white-space:nowrap}.back-to-discounts{display:inline-block;color:#23593e;font-weight:650;margin:0 0 20px;min-height:32px}#descuentos,#productos{scroll-margin-top:120px}.brand-offer-code button{padding:10px 14px;min-height:44px;border:1px solid #b3c5a6;border-radius:9px;background:#eff5e6;color:#17352c;font:inherit;cursor:pointer}.compare-energy-note{background:#edf3e6;border-left:4px solid #759759;padding:16px;border-radius:8px;line-height:1.65}.compare-choice .comparison-discount{margin-top:14px;display:block;font-weight:700;color:#23593e}.compare-reset{margin-bottom:18px}.compare-energy-target{display:grid;gap:8px;max-width:320px;margin:18px 0}.compare-energy-target input{padding:12px;min-height:44px;border:1px solid #b8cbb0;border-radius:9px}.compare-energy-help{font-size:.9rem;line-height:1.65}.brand-offer-code{overflow-wrap:anywhere}@media(max-width:650px){.comparison-invitation{display:block;padding:20px}.comparison-invitation>a{display:inline-block;margin-top:16px}.home-actions .visit{min-height:46px}.home-actions{gap:16px}.brand-public-actions{flex-wrap:wrap}}

/* === MOBILE PUSH / APP NAV COLLISION FIX 2026-10-06 === */
@media (max-width:650px) {
  body.has-app-navigation .push-invitation {
    bottom: calc(82px + env(safe-area-inset-bottom)) !important;
    z-index: 70 !important;
    max-height: calc(100dvh - 110px - env(safe-area-inset-bottom)) !important;
  }
}

/* Si aparece el teclado, la navegación inferior desaparece.
   La invitación puede volver a utilizar el borde inferior normal. */
@media (max-width:650px) {
  body.has-app-navigation.keyboard-open .push-invitation {
    bottom: max(16px, env(safe-area-inset-bottom)) !important;
  }
}

