/* NATIVA · Catálogo orientado a conversión (v10)
   Mantiene la góndola, modal, carrito y funcionalidades anteriores. */
.nativa-body{position:relative;overflow-x:clip!important;background:#f6f5ee}
.nativa-body [hidden]{display:none!important}
.nativa-body button,.nativa-body input,.nativa-body select{font-family:var(--ff-b)}
.nativa-body :is(button,a,input,select):focus-visible{outline:3px solid #e4ac35;outline-offset:3px}
html{scroll-padding-top:170px;overflow-x:clip}
.nativa-body .nav-hamburger{position:absolute!important;top:53px!important;right:16px;z-index:998;width:43px;height:43px;border-radius:12px;background:#faf3e6;color:#1c482e;border:1px solid #e1d5bb;box-shadow:0 4px 16px #0002}
.nativa-body .nav-hamburger:hover{background:#f0dfbc}
.nativa-body .nav-hamburger svg{width:21px;height:21px}
body.admin-bar.nativa-body .nav-hamburger{top:calc(53px + 32px)!important}
@media(max-width:782px){body.admin-bar.nativa-body .nav-hamburger{top:calc(53px + 46px)!important}}

/* Marca visible sin ocupar la primera pantalla completa */
.shop-masthead{background:var(--g1);color:white;border-bottom:1px solid #2e7241;position:relative;z-index:1;padding:17px 22px 16px;box-shadow:0 10px 28px #17312114}
.shop-masthead-inner{max-width:1160px;margin:auto;display:flex;justify-content:space-between;gap:15px;align-items:center;padding-right:59px}
.shop-brand{display:flex;align-items:center;gap:13px;min-width:0;text-decoration:none;color:#fff}
.shop-brand img{width:70px;height:70px;border-radius:50%;object-fit:cover;flex-shrink:0;background:#fff;box-shadow:0 0 0 3px #f9f2df22}
.shop-brand-copy{display:flex;flex-direction:column;gap:3px;min-width:0}
.shop-brand-name{font-family:var(--ff-h);font-size:clamp(1.2rem,2.7vw,1.75rem);font-weight:700;line-height:1.15;letter-spacing:-.015em;color:#fffef8}
.shop-brand-sub{font-size:.74rem;color:#e1d6b9;font-weight:500;letter-spacing:.03em}
.shop-header-actions{display:flex;align-items:center;gap:9px}
.shop-header-deals,.shop-header-catalog{display:inline-flex;align-items:center;justify-content:center;text-decoration:none;white-space:nowrap;border:1px solid #d9cd9d;border-radius:9px;font-weight:800;font-size:.78rem;padding:11px 14px;cursor:pointer}
.shop-header-deals{background:#f4c553;color:#422712;border-color:#f4c553;box-shadow:0 3px 0 #b97f18}
.shop-header-deals:hover{background:#ffe394;color:#2c2018}
.shop-header-catalog{background:transparent;color:#f7f4e8;gap:8px}
.shop-header-catalog:hover{background:#ffffff1a}

/* Buscador protagonista */
.shop-discovery{background:linear-gradient(180deg,#f7f4ec 0%,#f4efe4 100%);padding:20px 20px 18px;border-bottom:1px solid #e3ddce}
.shop-discovery-inner{max-width:1100px;margin:0 auto}
.shop-discovery-heading{display:none}
.shop-discovery-eyebrow,.shop-discovery-heading h1,.shop-discovery-hint{display:none}
.shop-search-wrap{position:relative;display:flex;align-items:center;border:1.5px solid #d9dfd5;background:#fffdf9;border-radius:18px;box-shadow:0 12px 30px #1731210c,0 2px 0 #ffffff;overflow:hidden;min-height:64px;transition:border-color .16s,box-shadow .16s}
.shop-search-wrap:focus-within{border-color:var(--g1);box-shadow:0 0 0 4px #1e5c2e14,0 14px 36px #17312112}
.shop-search-wrap>svg{width:22px;height:22px;margin-left:19px;color:#5f7b63;flex-shrink:0}
.shop-search-wrap input{border:0!important;outline:none!important;box-shadow:none!important;min-width:0;flex:1;height:62px;font-size:1rem;color:#1e3224;background:transparent!important;padding:0 14px}
.shop-search-wrap input::placeholder{color:#9b9b92;opacity:1}
.shop-search-wrap input::-webkit-search-cancel-button{display:none}
.shop-search-clear{border:none;background:#edf1ea;color:#244c30;cursor:pointer;border-radius:10px;width:36px;height:36px;font-weight:800;margin-right:10px;flex-shrink:0}
.shop-search-shortcut{display:none}

/* Menú realmente visible y arriba; pegajoso debajo del ticker */
.cat-nav{position:sticky!important;top:var(--nativa-ticker, 0px)!important;overflow:visible!important;z-index:290!important;background:var(--g1)!important;border-bottom:3px solid #eac56c!important;box-shadow:0 5px 16px #112a1c18}
.admin-bar .cat-nav{top:calc(var(--nativa-ticker, 0px) + 32px)!important}
@media(max-width:782px){.admin-bar .cat-nav{top:calc(var(--nativa-ticker, 0px) + 46px)!important}}
.cat-nav-shell{max-width:1180px;margin:auto;padding:10px 14px 12px}
.cat-nav-title{display:flex;align-items:center;gap:9px;color:#f1d79b;font-size:.66rem;font-weight:900;letter-spacing:.13em;margin:0 0 9px 3px}
.cat-nav-dot{height:7px;width:7px;border-radius:50%;background:#f2c961;box-shadow:0 0 0 3px #f2c9612d;flex-shrink:0}
.cat-nav-side-hint{font-size:.68rem;color:#bfd3c2;margin-left:auto;text-transform:none;letter-spacing:0;font-weight:500}
.cat-nav-inner{min-width:0!important;display:flex;justify-content:center;flex-wrap:wrap;gap:6px;padding:0!important}
.cat-btn{border:1px solid #729780!important;color:#fffdf5!important;background:#25533a!important;border-radius:9px!important;font-size:.76rem!important;font-weight:700!important;letter-spacing:0!important;text-transform:none!important;padding:9px 11px!important;min-height:35px;transition:background .16s,border-color .16s!important;scroll-snap-align:start}
.cat-btn:hover{background:#3c7753!important;border-color:#b1dfae!important;transform:none!important}
.cat-btn.active{background:#f3d17a!important;color:#173321!important;border-color:#f3d17a!important;box-shadow:0 2px 0 #ac8340;font-weight:900!important}
.cat-select-wrap{display:none}

/* Siete ofertas: filas fijas, no slider */
.ofertas-sec{background:#f6f5ee!important;position:relative;padding:28px 18px 34px!important;overflow:hidden;border-bottom:1px solid #e8e1d1}
.ofertas-sec:before,.ofertas-sec:after{display:none}
.ofertas-container{max-width:1110px;margin:0 auto;position:relative;z-index:1;background:linear-gradient(180deg,var(--g1) 0%,#255f38 185px,#fffdf9 185px,#fffdf9 100%);border:1px solid #d7dfd1;border-radius:28px;padding:26px 24px 24px;box-shadow:0 24px 60px #17312112,0 2px 0 #fff inset}
.ofertas-promo-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;margin-bottom:22px}
.ofertas-copy{min-width:0}
.ofertas-eyebrow{display:inline-flex!important;align-items:center;gap:8px;border-radius:8px!important;font-size:.65rem!important;letter-spacing:.11em!important;padding:6px 10px!important;background:#bc3027!important;color:white!important;margin-bottom:9px!important;animation:none!important}
.live-dot{width:7px;height:7px;background:#fff;border-radius:50%;box-shadow:0 0 0 3px #ffffff35}
.ofertas-title{font-size:clamp(1.9rem,3.7vw,3rem)!important;letter-spacing:-.04em!important;line-height:1.07!important;color:#fffdf5!important;font-weight:900!important;text-shadow:none!important}
.ofertas-title em{font-family:var(--ff-h);font-weight:600;color:#f6d281;font-style:italic}
.ofertas-description{font-size:.86rem;color:#d5ddcd;margin-top:9px;max-width:510px;line-height:1.45}
.ofertas-countdown{flex:0 0 auto;background:#fff6de;border:1px solid #edd394;border-radius:18px;padding:14px 16px;box-shadow:0 10px 25px #031e1321;color:#1c3424;min-width:310px;text-align:center}
.ofertas-countdown-label{display:block;color:#9b2519;font-size:.67rem;font-weight:900;letter-spacing:.12em;margin-bottom:9px}
.ofertas-timer-numbers{display:flex;justify-content:center;align-items:flex-start;gap:6px}
.ofertas-timer-numbers>span{display:flex;align-items:center;flex-direction:column;gap:2px;min-width:49px}
.ofertas-timer-numbers strong{font-size:clamp(1.4rem,2.5vw,2rem);line-height:1;color:#153725;letter-spacing:-.04em;font-weight:900;font-variant-numeric:tabular-nums}
.ofertas-timer-numbers small{font-size:.56rem;font-weight:800;letter-spacing:.1em;color:#857250}
.ofertas-timer-numbers b{font-size:1.55rem;font-weight:500;color:#b89d71;line-height:1}
.ofertas-countdown-date{display:block;color:#756a56;font-size:.68rem;margin-top:10px}
.ofertas-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.oferta-list-item{appearance:none;min-width:0;width:100%;padding:13px;display:flex;align-items:center;gap:13px;text-align:left;color:#1e3424;background:linear-gradient(180deg,#ffffff 0%,#fbfaf5 100%);border:1px solid #e3e8de;border-radius:18px;box-shadow:0 12px 24px #1731210a;cursor:pointer;transition:transform .16s,background .16s,border-color .16s,box-shadow .16s}
.oferta-list-item:hover{transform:translateY(-2px);background:#fffdf8;border-color:#b9d0bb;box-shadow:0 16px 28px #17312112}
.oferta-list-item:active{transform:translateY(1px)}
.oferta-item-photo{width:96px;height:99px;display:flex;align-items:center;justify-content:center;flex-shrink:0;background:#f6f4ec;border-radius:14px;overflow:hidden;border:1px solid #ece6d8;padding:7px}
.oferta-item-photo img{max-width:100%;width:100%;height:100%;object-fit:contain;display:block}
.oferta-fallback{font-size:2rem}
.oferta-item-details{display:flex;flex-direction:column;flex:1;min-width:0;gap:5px}
.oferta-item-topline{font-size:.56rem;letter-spacing:.1em;color:#8b7c65;font-weight:900}
.oferta-item-name{font-size:clamp(.79rem,1.45vw,.97rem);font-weight:850;line-height:1.24;color:#1b3b26;overflow-wrap:anywhere}
.oferta-item-weight{align-self:flex-start;font-size:.74rem;font-weight:700;color:#4c654f;background:#edf4eb;padding:5px 10px;border-radius:999px}
.oferta-item-pricewrap{display:flex;flex-direction:column;align-items:flex-end;justify-content:center;gap:5px;flex:0 0 auto;min-width:93px}
.oferta-item-off{font-size:.64rem;background:#bd2a24;color:#fff;padding:5px 7px;border-radius:5px;font-weight:950;letter-spacing:.02em;line-height:1}
.oferta-item-was{text-decoration:line-through;font-size:.76rem;color:#8f8f86;line-height:1}
.oferta-item-price{font-size:clamp(1.2rem,2vw,1.55rem);font-weight:950;line-height:1;color:#1d693a;letter-spacing:-.045em;font-variant-numeric:tabular-nums;white-space:nowrap}
.oferta-item-cta{color:#a03222;font-weight:900;font-size:.69rem;white-space:nowrap}
.oferta-item-cta span{font-size:1rem;vertical-align:-1px}
.ofertas-note{color:#6f7f6c;font-size:.74rem;margin-top:17px;text-align:center;letter-spacing:.015em}
.ofertas-expired{background:#fff9e5;border-radius:14px;padding:22px;display:flex;flex-direction:column;align-items:center;gap:10px;text-align:center;color:#22402e}
.ofertas-expired strong{font-size:1.25rem}
.ofertas-expired span{font-size:.87rem;color:#776c57}
.ofertas-expired a{font-size:.8rem;font-weight:800;color:#1c663a}

/* Resultados del buscador: foto, gramaje, precio y acceso al mismo modal de compra */
.shop-search-results{background:#eef3eb;padding:21px 18px 26px;border-bottom:1px solid #d6e0d1}
.shop-search-results-inner{max-width:1100px;margin:auto}
.shop-results-header{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:14px}
.shop-results-header h2{font-family:var(--ff-h);font-size:1.25rem;color:#1c432a}
.shop-results-header span{font-size:.8rem;font-weight:800;color:#397049}
.shop-results-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.shop-result-item{border:1px solid #d5e1d0;border-radius:11px;background:white;padding:10px;display:flex;align-items:center;gap:11px;text-align:left;cursor:pointer;min-width:0}
.shop-result-item:hover{border-color:#317044;background:#f9fff7}
.shop-result-photo{width:67px;height:67px;flex-shrink:0;display:flex;align-items:center;justify-content:center;border-radius:8px;background:#f5f3ed;overflow:hidden;color:#28633d}
.shop-result-photo img{max-width:100%;width:100%;height:100%;object-fit:contain}
.shop-result-body{flex:1;display:flex;flex-direction:column;gap:4px;min-width:0}
.shop-result-name{font-size:.82rem;color:#183d26;font-weight:800;line-height:1.2}
.shop-result-detail{font-size:.7rem;color:#747e6d}
.shop-result-price{font-weight:900;font-size:.95rem;color:#1e6e39}
.shop-result-view{font-size:.72rem;color:#a15c2d;font-weight:800;flex-shrink:0}
.shop-search-empty{color:#52634f;font-size:.9rem;background:#fff;border-radius:10px;padding:20px;text-align:center}
#store-sec{scroll-margin-top:160px}
.cat-section{scroll-margin-top:165px}

@media(max-width:780px){
 .shop-masthead{padding:13px 12px}
 .shop-masthead-inner{padding-right:48px}
 .shop-brand{gap:9px}
 .shop-brand img{width:56px;height:56px}
 .shop-brand-name{font-size:1.15rem;line-height:1.1}
 .shop-brand-sub{font-size:.62rem;line-height:1.25}
 .shop-header-catalog{display:none}
 .shop-header-deals{padding:9px 10px;font-size:.7rem}
 .nativa-body .nav-hamburger{top:50px!important;right:8px!important;width:38px;height:38px}
 .shop-discovery{padding:18px 14px 16px}
  .shop-search-wrap{min-height:54px;border-radius:15px}
 .shop-search-wrap input{height:52px;font-size:.92rem;padding:0 10px}
 .shop-search-wrap>svg{width:19px;height:19px;margin-left:12px}
 .shop-search-shortcut{display:none}
 .cat-nav-shell{padding:9px 11px 10px}
 .cat-nav-title{font-size:.63rem;margin-bottom:7px}
 .cat-select-wrap{display:block;margin-bottom:8px}
 .cat-select-wrap select{appearance:none;width:100%;height:43px;font-size:.83rem;color:#1a4229;border:2px solid #e7cf8f;border-radius:8px;font-weight:800;background:#fff8e9 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231d552d' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 13px center / 19px;padding:0 40px 0 12px}
 .cat-nav-inner{flex-wrap:nowrap;justify-content:flex-start;overflow-x:auto;overscroll-behavior-x:contain;scroll-snap-type:x proximity;scrollbar-width:none;padding-bottom:3px!important}
 .cat-nav-inner::-webkit-scrollbar{display:none}
 .cat-btn{font-size:.72rem!important;padding:8px 10px!important;flex-shrink:0}
 .ofertas-sec{padding:22px 12px 28px!important}
 .ofertas-promo-heading{flex-direction:column;align-items:stretch;gap:15px}
 .ofertas-copy{text-align:center}
 .ofertas-description{font-size:.78rem;margin-top:8px}
 .ofertas-title{font-size:2.1rem!important}
 .ofertas-container{padding:20px 14px 18px;border-radius:22px}
 .ofertas-countdown{min-width:0;max-width:440px;width:100%;margin:auto}
 .ofertas-list{grid-template-columns:minmax(0,1fr);gap:9px}
 .oferta-list-item{padding:10px;gap:10px;min-height:112px}
 .oferta-item-photo{width:84px;height:89px;padding:5px}
 .oferta-item-name{font-size:.86rem}
 .oferta-item-price{font-size:1.35rem}
 .shop-results-list{grid-template-columns:1fr}
 .cat-section{scroll-margin-top:165px}
}
@media(max-width:390px){
 .shop-brand img{width:49px;height:49px}
 .shop-brand-name{font-size:1.03rem}
 .shop-brand-sub{font-size:.57rem}
 .shop-header-deals{padding:7px;font-size:.64rem}
 .oferta-list-item{gap:7px;padding:8px}
 .oferta-item-photo{width:69px;height:78px}
 .oferta-item-name{font-size:.78rem}
 .oferta-item-topline{font-size:.49rem}
 .oferta-item-weight{font-size:.64rem}
 .oferta-item-pricewrap{min-width:84px}
 .oferta-item-price{font-size:1.17rem}
 .oferta-item-cta{font-size:.62rem}
 .oferta-item-off{font-size:.59rem}
}
@media(prefers-reduced-motion:reduce){
 .oferta-list-item,.shop-search-wrap,.cat-btn{transition:none!important}
}

/* NATIVA v10.4 · cerrar ficha y volver sin salir del catálogo */
.nativa-body .modal-handle{margin:10px auto 5px;background:#bccabb}
.nativa-body .modal-navigation{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:9px 16px 13px;background:#faf6ee;border-bottom:1px solid #e4e4d9;flex:0 0 auto;min-height:66px}
.nativa-body .modal-back-catalog{display:inline-flex;align-items:center;gap:9px;min-height:46px;padding:10px 16px;border:1.5px solid #bbd4c1;border-radius:13px;background:#e9f2e7;color:#1e5c2e;font-size:.94rem;font-weight:800;line-height:1.2;cursor:pointer;letter-spacing:-.01em;box-shadow:0 2px 0 #d2e1d1}
.nativa-body .modal-back-catalog:hover,.nativa-body .modal-back-catalog:focus-visible{background:#dcecdc;border-color:#73a980}
.nativa-body .modal-back-catalog:active{transform:translateY(1px)}
.nativa-body .modal-close-btn{position:static;top:auto;right:auto;width:46px;height:46px;min-width:46px;background:#fff;border:1.5px solid #d8ded3;color:#1e5c2e;border-radius:13px;box-shadow:none;flex-shrink:0}
.nativa-body .modal-close-btn:hover{background:#edf4eb;border-color:#97b99b}
@media(max-width:420px){
  .nativa-body .modal-navigation{padding:8px 13px 11px;gap:8px}
  .nativa-body .modal-back-catalog{padding:10px 12px;font-size:.87rem;gap:7px}
}
