/* RivFree v7 · Phone layout (≤ 650 px): one compact bar, side menu, lighter home.
   Desktop is not affected: every visible rule lives inside the media query, except the hidden defaults. */
.rf-m-only,.rf-m-actions{display:none}
.rf-m-drawer[hidden],.rf-m-overlay[hidden]{display:none!important}

/* ── Side menu (built by mobile-shell.js) ─────────────────────────────── */
.rf-m-overlay{position:fixed;inset:0;z-index:180;background:rgb(10 18 32 / 0%);transition:background .2s ease}
body.rf-m-drawer-open .rf-m-overlay{background:rgb(10 18 32 / 55%)}
.rf-m-drawer{position:fixed;z-index:190;top:0;bottom:0;left:0;width:min(86%,340px);overflow-y:auto;overscroll-behavior:contain;
 background:var(--surface,#fff);color:var(--ink,#172337);box-shadow:8px 0 30px rgb(10 18 32 / 25%);transform:translateX(-102%);transition:transform .22s ease;padding-bottom:24px}
body.rf-m-drawer-open .rf-m-drawer{transform:none}
body.rf-m-drawer-open{overflow:hidden}
.rf-m-head{position:sticky;top:0;z-index:2;display:flex;align-items:center;justify-content:space-between;gap:8px;min-height:54px;padding:6px 8px 6px 16px;background:#14243a;color:#fff}
.rf-m-brand{font-size:22px;font-weight:800;letter-spacing:-.02em}
.rf-m-brand .brand-name-free{color:#ffb5b9}
.rf-m-close,.rf-m-back{display:inline-flex;align-items:center;gap:4px;min-height:40px;padding:0 8px;border:0;border-radius:10px;background:transparent;color:inherit;font:inherit;font-weight:700;cursor:pointer}
.rf-m-close{width:42px;justify-content:center;padding:0}
.rf-m-back{margin-left:-8px}
.rf-m-close:focus-visible,.rf-m-back:focus-visible{outline:2px solid #ffb5c0;outline-offset:1px}
.rf-m-svg,.rf-m-row-icon,.rf-m-row-next,.rf-m-tile-icon,.rf-m-choice-icon{width:22px;height:22px;flex-shrink:0;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.rf-m-tiles{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;padding:14px 14px 4px}
.rf-m-tile{position:relative;display:grid;justify-items:center;gap:6px;padding:12px 4px 10px;border:1px solid var(--line,#dce2ea);border-radius:14px;background:var(--surface,#fff);color:var(--ink,#172337);font:inherit;font-size:12.5px;font-weight:700;cursor:pointer}
.rf-m-tile:disabled{opacity:.5}
.rf-m-tile[data-m=offers] .rf-m-tile-icon{color:#d6335a}
.rf-m-tile[data-m=stores] .rf-m-tile-icon{color:#2f74c0}
.rf-m-tile[data-m=list] .rf-m-tile-icon{color:#e5294b;fill:#e5294b}
.rf-m-tile-count{position:absolute;top:6px;right:8px;min-width:18px;height:18px;padding:0 5px;border-radius:999px;background:#e5294b;color:#fff;font-size:10.5px;line-height:18px;font-weight:800}
.rf-m-section{padding:10px 14px 2px}
.rf-m-section+.rf-m-section{border-top:1px solid var(--line,#e3e7ee);margin-top:8px;padding-top:14px}
.rf-m-section-title{margin:0 0 6px;font-size:11px;font-weight:800;letter-spacing:.08em;text-transform:uppercase;color:var(--muted,#5b6577)}
.rf-m-row{display:flex;align-items:center;gap:12px;width:100%;min-height:46px;padding:0 6px;border:0;border-radius:10px;background:transparent;color:inherit;font:inherit;font-size:15px;font-weight:600;text-align:left;cursor:pointer}
.rf-m-row:active,.rf-m-row:hover{background:color-mix(in srgb,var(--ink,#172337) 6%,transparent)}
.rf-m-row-label{flex:1;min-width:0}
.rf-m-row-count{font-size:12px;font-weight:700;color:var(--muted,#5b6577)}
.rf-m-row-next{width:18px;height:18px;color:var(--muted,#5b6577)}
.rf-m-row-icon{color:var(--muted,#5b6577)}
.rf-m-family-title{margin:4px 0 12px;font-size:22px;letter-spacing:-.02em}
.rf-m-primary{width:100%;min-height:46px;border:0;border-radius:12px;background:var(--rf-red,#ad233c);color:#fff;font:inherit;font-size:15px;font-weight:800;cursor:pointer}
.rf-m-muted{color:var(--muted,#5b6577);font-size:13px}
.rf-m-chips{display:flex;flex-wrap:wrap;gap:8px}
.rf-m-chip{display:inline-flex;align-items:center;gap:6px;min-height:38px;padding:0 12px;border:1px solid var(--line,#dce2ea);border-radius:999px;background:var(--surface,#fff);color:inherit;font:inherit;font-size:13.5px;font-weight:600;cursor:pointer}
.rf-m-chip small{font-size:11px;color:var(--muted,#5b6577);font-weight:700}
.rf-m-segment{display:grid;grid-template-columns:1fr 1fr;gap:6px;margin:4px 0 10px;padding:4px;border-radius:12px;background:color-mix(in srgb,var(--ink,#172337) 6%,transparent)}
.rf-m-choice{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:40px;border:0;border-radius:9px;background:transparent;color:inherit;font:inherit;font-size:14px;font-weight:700;cursor:pointer}
.rf-m-choice[aria-pressed=true]{background:var(--surface,#fff);box-shadow:0 1px 4px rgb(10 18 32 / 15%)}
.rf-m-choice .rf-lang-flag{width:22px;height:16px;border-radius:3px}
.rf-m-rates .rf-rate-list{display:grid;gap:4px}
.rf-m-rates .rf-rate-row{display:flex;align-items:center;gap:12px;width:100%;padding:9px 8px;border:0;border-radius:10px;background:transparent;color:inherit;font:inherit;text-align:left;cursor:pointer}
.rf-m-rates .rf-rate-row[aria-pressed=true]{background:color-mix(in srgb,var(--rf-red,#ad233c) 10%,transparent);box-shadow:inset 3px 0 0 var(--rf-red,#ad233c)}
.rf-m-rates .rf-rate-name{display:flex;flex-direction:column;flex:1;line-height:1.2}
.rf-m-rates .rf-rate-name small,.rf-m-rates .rf-rate-note{color:var(--muted,#5b6577);font-size:11.5px}
.rf-m-rates .rf-rate-value{font-weight:800}
.rf-m-rates .rf-rate-usd{display:grid;place-items:center;width:24px;height:17px;border-radius:3px;background:#2c4568;color:#6fe3a5;font-weight:900;font-size:12px}
.rf-m-rates .rf-rate-note{margin:6px 8px 0;line-height:1.45}
.rf-m-social{display:flex;flex-wrap:wrap;gap:8px}
.rf-m-social .rf-app-icon{width:34px;height:34px}
:root[data-theme=dark] .rf-m-drawer{background:#16202f;color:#eef3fa}
:root[data-theme=dark] .rf-m-tile,:root[data-theme=dark] .rf-m-chip{background:#1d2a3d;border-color:#2c3c55;color:#eef3fa}
:root[data-theme=dark] .rf-m-choice[aria-pressed=true]{background:#2a3a52}
@media (prefers-reduced-motion:reduce){.rf-m-drawer,.rf-m-overlay{transition:none}}

@media(max-width:650px){
 /* ── Header: menu · RivFree · search · Mi lista ─────────────────────── */
 .topbar{position:sticky!important;top:0;z-index:60;padding:6px 8px!important}
 .topbar-inner{display:grid!important;grid-template-columns:44px minmax(0,1fr) 44px 88px!important;align-items:center!important;gap:0!important;row-gap:6px!important}
 .rf-m-only{display:inline-grid}
 .rf-m-actions{display:flex;grid-column:4;grid-row:1;justify-self:end;gap:2px}
 .rf-m-menu{grid-column:1;grid-row:1;justify-self:start}
 .topbar .brand{grid-column:2;grid-row:1;justify-self:center;min-width:0}
 .topbar .brand-lockup{gap:0}
 .topbar .brand p,.topbar .brand-mark{display:none!important}
 .topbar .brand :is(h1,.seo-brand-title){font-size:25px!important;line-height:1.1;margin:0}
 .topbar .header-actions{display:none!important}
 .topbar .search-field{display:none!important;grid-column:1/-1!important;grid-row:2!important;margin:0 0 4px!important}
 body.rf-m-search-open .topbar .search-field{display:block!important}
 .topbar .search-field input{font-size:16px}
 .category-shortcuts{display:none!important}
 .rf-m-icon{position:relative;width:42px;height:42px;place-items:center;border:0;border-radius:12px;background:transparent;color:#fff;cursor:pointer}
 .rf-m-icon:active{background:rgb(255 255 255 / 10%)}
 .rf-m-icon:focus-visible{outline:2px solid #ffb5c0;outline-offset:1px}
 .rf-m-icon .rf-m-svg{width:24px;height:24px}
 .rf-m-list .rf-m-svg{color:#ff6b85}
 .rf-m-count{position:absolute;top:3px;right:1px;min-width:17px;height:17px;padding:0 4px;border-radius:999px;background:#e5294b;color:#fff;font-size:10px;font-weight:800;line-height:17px;text-align:center;box-shadow:0 0 0 2px #14243a}

 /* Top notice: one short line */
 .rf-disclaimer .rf-disclaimer-inner{padding:5px 8px 5px 12px!important;gap:8px!important}
 .rf-disclaimer p{font-size:11.5px!important;line-height:1.35!important}
 .rf-disclaimer .rf-disclaimer-icon{width:16px!important;height:16px!important;font-size:10px!important}
 .rf-disclaimer .rf-disclaimer-close{width:30px!important;height:30px!important}

 /* ── Home ─────────────────────────────────────────────────────────── */
 #shoppingBenefits{display:none!important}
 /* Carousel: a short banner with the same proportions on every slide */
 main>#heroCampaign:not([hidden]),#heroCampaign{height:auto!important;min-height:0!important;aspect-ratio:16/8.5;width:auto!important;margin:10px 12px 0!important;border-radius:16px!important;overflow:hidden;border:0!important}
 #heroCampaign .campaign-slide{height:100%!important;min-height:0!important;grid-template-columns:minmax(0,1.3fr) minmax(0,1fr)!important;align-items:center;gap:6px!important;padding:10px 12px 26px 16px!important}
 #heroCampaign .campaign-copy{overflow:hidden!important;max-height:100%}
 #heroCampaign .campaign-copy .eyebrow{display:block;font-size:8.5px!important;letter-spacing:1.4px!important;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
 #heroCampaign .campaign-copy h2{font-size:clamp(17px,5.6vw,22px)!important;line-height:1.08!important;letter-spacing:-.4px!important;margin:5px 0 8px!important;min-height:0!important;white-space:normal!important;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
 #heroCampaign .campaign-copy p{display:none!important}
 #heroCampaign .campaign-cta{min-height:0!important;padding:7px 12px!important;font-size:11.5px!important;border-radius:9px!important;white-space:nowrap}
 #heroCampaign .campaign-visual{height:100%!important;min-height:0}
 #heroCampaign .campaign-visual:before,#heroCampaign .campaign-visual:after{display:none!important}
 #heroCampaign .product-pedestal{width:min(30vw,118px)!important;height:min(30vw,118px)!important;margin:0!important}
 #heroCampaign .product-pedestal:nth-child(n+2){display:none!important}
 #heroCampaign .product-pedestal img{width:100%;height:100%;object-fit:contain}
 #heroCampaign .campaign-custom-image{width:100%;height:100%;object-fit:contain}
 #heroCampaign[data-layout=banner] .campaign-custom-image{object-fit:cover}
 #heroCampaign .campaign-arrow{display:none!important}
 #heroCampaign .campaign-label{top:8px!important;right:10px!important;font-size:7.5px!important}
 #heroCampaign .campaign-dots{bottom:7px!important;transform:scale(.8)}
 #heroCampaign .campaign-pause{width:24px!important;height:24px!important;bottom:6px!important;right:8px!important;font-size:10px!important}

 /* Sections: smaller titles, less padding, no empty placeholders */
 .popular-section{margin:14px 12px 0!important;padding:14px 0 10px!important}
 .popular-section .section-heading{min-height:0!important;padding:0 12px!important;margin-bottom:10px!important}
 .popular-section .section-heading .eyebrow{font-size:9.5px!important;letter-spacing:.12em!important}
 .popular-section .section-heading h2{font-size:20px!important;line-height:1.15!important;margin:2px 0 0!important}
 .popular-section .section-heading p{font-size:12px!important;margin:3px 0 0!important}
 .popular-section:not(:has(.card)){display:none!important}
 .discovery-arrow{display:none!important}
 .popular-rail{min-height:0!important;padding:0 12px 6px!important;gap:10px!important;scroll-padding-left:12px;align-items:stretch}
 .popular-rail .card{flex:0 0 46%!important;min-height:0!important}
 .popular-rail .card-price-row{min-height:0!important}

 /* Cards: photo, name, price; the whole card opens the product */
 .popular-rail .card-img,.popular-rail .card-img.product-target,.grid .card-img{height:120px!important;padding:6px 6px 0!important}
 .card .card-name{font-size:12px!important;line-height:1.3!important;min-height:0!important;max-height:3.9em!important;-webkit-line-clamp:3}
 .popular-rail .card-action,.popular-rail .card-link.card-cta{display:none!important}
 .card .card-price-amount{font-size:19px!important}

 /* SEO text at the end of the page: small, under the content */
 .seo-home-heading{width:auto!important;margin:18px 12px 0!important;padding:14px 4px 4px!important}

 /* Results page: two compact columns, the card itself opens the product */
 #grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px!important;margin:0 12px!important;padding:0!important}
 #grid .card{min-height:0!important;border-radius:14px!important}
 #grid .card-img,#grid .card-img.product-target{height:128px!important;padding:6px 6px 0!important}
 #grid .card-body{padding:8px 10px 10px!important;gap:4px!important}
 #grid .card-utility-row,#grid .card-action,#grid .card-link.card-cta,#grid .card-store-count{display:none!important}
 #grid .card-stores{gap:4px!important;padding:6px 10px 0!important}
 #grid .card-stores .card-store{font-size:9.5px!important;padding:3px 7px!important;min-height:0!important}
 #grid .card-price-row{margin-top:auto!important;min-height:0!important}
 #grid .card .heart-button{width:34px!important;height:34px!important;top:6px!important;right:6px!important}
 /* Results page */
 #catalogSection .catalog-heading{padding-top:12px!important;margin-bottom:10px!important}
 #catalogSection .catalog-heading{align-items:center!important}
 #catalogSection .catalog-heading h2{font-size:20px!important;line-height:1.15!important}
 #catalogSection .updated-badge{font-size:10px!important;padding:5px 8px!important}
 #stockNotice{margin:0 12px 12px!important}
 #stockNotice .stock-notice-inner{padding:8px 10px!important;gap:8px!important;font-size:12px!important;line-height:1.4!important}
 #catalogSection .catalog-heading p,#catalogSection .catalog-heading .eyebrow{display:none!important}
 /* Product and store pages */
 #detailPage{padding-top:4px!important}
 #detailPage h1{font-size:23px!important;letter-spacing:-.4px!important;margin:10px 0 6px!important}
 #detailPage .rf-product-visual{min-height:0!important;height:210px;padding:14px!important;border-radius:18px!important}
 #detailPage .rf-product-visual img{height:180px!important}
 /* v8: room for "Mostrar más", readable store chips, bigger tap targets, all discount tiers in view */
 .load-more-wrap{margin:16px 12px 28px!important;padding:0!important}
 .load-more-wrap .load-more-btn{width:100%;min-height:46px}
 #grid .card-stores .card-store{font-size:10.5px!important;padding:4px 8px!important}
 #grid .card .heart-button{width:40px!important;height:40px!important;top:4px!important;right:4px!important}
 #catalogSection .offer-tiers:not([hidden]){display:grid!important;grid-auto-flow:column;grid-auto-columns:minmax(0,1fr);gap:6px!important;overflow:visible!important}
 #catalogSection .offer-tiers .offer-tiers-title{display:none!important}
 #catalogSection .offer-tiers .offer-tier{min-width:0!important;height:auto!important;min-height:46px;padding:4px 2px!important;flex-direction:column!important;justify-content:center;gap:2px!important;font-size:13px!important}
 #catalogSection .offer-tiers .offer-tier-count{font-size:10.5px!important;padding:1px 6px!important}
 #catalogSection .offer-tiers .offer-tier-main span{display:none}
 .rf-store-shortcuts .rf-store-go{flex:1 1 140px}
 /* Jumps to the results stop below the sticky bar (and the open search field) */
 #catalogStart,#grid,.rf-results-bar,.empty-state{scroll-margin-top:72px!important}
 body.rf-m-search-open :is(#catalogStart,#grid,.rf-results-bar,.empty-state){scroll-margin-top:136px!important}
 /* Catalog details (i): full width inside the results bar instead of running off the screen */
 #catalogSection .rf-results-bar{position:relative}
 #catalogSection .rf-results-info .catalog-details{position:static}
 #catalogSection .rf-results-info .catalog-details>p{left:10px!important;right:10px!important;top:52px!important;width:auto!important;max-width:none!important}
}

.rf-m-head-social{display:flex;flex:1;min-width:0;flex-wrap:wrap;justify-content:flex-end;gap:2px}
.rf-m-head-social a{display:inline-flex;align-items:center;justify-content:center;min-width:36px;min-height:40px}
.rf-m-head-social .rf-app-icon{width:28px;height:28px}
.rf-m-brand,.rf-m-close{flex-shrink:0}
@media(max-width:650px){.rf-m-settings{grid-column:3;grid-row:1;justify-self:center;color:#ffb5b9}.topbar .brand :is(h1,.seo-brand-title){font-size:23px!important}}
