:root{
  --blue:#124b93;
  --blue-dark:#062b59;
  --blue-deep:#041d3d;
  --red:#ed1b24;
  --yellow:#ffd31a;
  --cream:#f6f2ea;
  --paper:#fffdf9;
  --ink:#10213a;
  --muted:#687487;
  --line:#dfe4ea;
  --stage:#746a62;
  --white:#ffffff;
  --pageW:800px;
  --pageH:1131px;
}
*{box-sizing:border-box}
html,body{height:100%;margin:0;overflow:hidden;background:#0b0d12;font-family:Arial,Helvetica,sans-serif;color:var(--ink)}
button,input{font:inherit}
button{touch-action:manipulation}
.viewer{height:100%;display:grid;grid-template-rows:44px 1fr 46px;background:var(--stage)}
.topbar,.toolbar{background:#0b0d12;color:#fff;display:flex;align-items:center;z-index:60}
.topbar{padding:0 13px;gap:12px;border-bottom:1px solid #ffffff1c}
.icon-btn,.topbar button,.toolbar button,.drawer button{border:0;background:transparent;color:inherit;cursor:pointer}
.icon-btn{font-size:25px;width:28px;height:36px}
.viewer-brand{display:flex;align-items:center;gap:12px;min-width:0}
.viewer-brand img{width:97px;height:32px;object-fit:contain;background:#fff;border-radius:4px;padding:2px 8px}
.viewer-brand span{font-weight:900;letter-spacing:.08em;font-size:12px;white-space:nowrap}
.search-box{margin-left:auto;width:min(325px,42vw);height:31px;background:#4a4749;border:1px solid #777;display:flex;border-radius:2px;overflow:hidden}
.search-box input{min-width:0;flex:1;border:0;background:transparent;color:#fff;padding:0 10px;outline:none}
.search-box input::placeholder{color:#ddd}
.search-box button{width:38px;font-size:19px;background:#ffffff0d}
.stage{position:relative;display:grid;place-items:center;overflow:hidden;padding:9px 56px;perspective:2600px}
.book-shell{transform-origin:center center;filter:drop-shadow(0 16px 21px #0007);transition:transform .18s ease}
.book{position:relative;width:calc(var(--pageW)*2);height:var(--pageH);transition:width .15s ease}
.book.single{width:var(--pageW)}
.catalog-page{position:absolute;top:0;width:var(--pageW);height:var(--pageH);background:var(--paper);overflow:hidden;display:none;box-shadow:inset 0 0 0 1px #d3d7dc}
.catalog-page.visible{display:block}
.catalog-page.left-page{left:0}
.catalog-page.right-page{left:var(--pageW)}
.book.single .catalog-page.single-page{left:0}
.catalog-page.left-page:after{content:"";position:absolute;right:0;top:0;bottom:0;width:17px;background:#00000008;pointer-events:none}
.catalog-page.right-page:after{content:"";position:absolute;left:0;top:0;bottom:0;width:17px;background:#00000006;pointer-events:none}
.loading-card{width:var(--pageW);height:var(--pageH);background:#fff;display:grid;place-items:center;align-content:center;gap:18px}
.loading-card img{width:330px;height:170px;object-fit:contain}
.loading-card strong{font-size:27px;color:var(--blue)}
.loading-card span{color:var(--muted)}

/* PORTADA PREMIUM */
.cover-page{background:var(--blue-deep);color:#fff}
.cover-page:before{content:"";position:absolute;left:0;right:0;top:0;height:18px;background:var(--red);z-index:1}
.cover-page:after{content:"";position:absolute;right:-125px;bottom:142px;width:470px;height:470px;border-radius:50%;background:var(--yellow);z-index:1}
.cover-logo-panel{position:absolute;left:44px;top:54px;width:315px;height:140px;background:#fff;z-index:5;display:grid;place-items:center;padding:13px 28px;box-shadow:11px 11px 0 var(--red)}
.cover-logo{width:100%;height:100%;object-fit:contain}
.cover-kicker{position:absolute;left:45px;top:235px;z-index:5;color:var(--yellow);font-weight:900;letter-spacing:.18em;font-size:15px}
.cover-title{position:absolute;left:42px;top:275px;width:700px;z-index:5}
.cover-title small{display:block;font-size:29px;font-weight:900;letter-spacing:.02em;color:#fff;margin-bottom:2px}
.cover-title strong{display:block;font-size:91px;line-height:.84;letter-spacing:-.055em;color:var(--yellow);font-weight:1000}
.cover-title em{display:block;font-style:normal;font-size:30px;font-weight:900;letter-spacing:.015em;margin-top:17px;color:#fff}
.cover-period{position:absolute;right:45px;top:60px;width:262px;z-index:6;background:var(--yellow);color:var(--blue-deep);padding:18px 20px 17px;border-bottom:10px solid var(--red)}
.cover-period span{display:block;font-size:12px;font-weight:900;letter-spacing:.12em}
.cover-period b{display:block;font-size:27px;line-height:1.05;margin-top:6px}
.cover-period i{display:block;font-style:normal;font-size:15px;font-weight:900;margin:4px 0}
.cover-showcase{position:absolute;left:34px;right:33px;bottom:122px;height:500px;z-index:4;background:var(--cream);border:11px solid #fff}
.cover-showcase:before{content:"";position:absolute;left:0;top:0;bottom:0;width:13px;background:var(--red)}
.cover-showcase:after{content:"";position:absolute;left:13px;right:0;bottom:0;height:13px;background:var(--yellow)}
.cover-product{position:absolute;width:235px;height:235px;object-fit:contain;filter:drop-shadow(0 13px 8px #0003);z-index:2}
.cp1{left:14px;bottom:17px}
.cp2{left:156px;top:13px}
.cp3{left:307px;bottom:21px}
.cp4{right:142px;top:21px}
.cp5{right:8px;bottom:18px}
.cp6{left:281px;top:117px;width:265px;height:265px;z-index:3}
.cover-seal{position:absolute;left:54px;bottom:162px;z-index:8;width:155px;height:155px;border-radius:50%;background:var(--red);color:#fff;border:8px solid #fff;display:grid;place-items:center;align-content:center;text-align:center;transform:rotate(-5deg)}
.cover-seal strong{font-size:31px;line-height:.9}
.cover-seal span{font-size:11px;font-weight:900;letter-spacing:.08em;margin-top:7px}
.cover-bottom{position:absolute;left:0;right:0;bottom:0;height:112px;background:#fff;color:var(--ink);z-index:10;border-top:12px solid var(--yellow);display:grid;grid-template-columns:1fr auto;align-items:center;padding:0 45px;gap:28px}
.cover-bottom strong{display:block;font-size:24px;color:var(--blue-deep)}
.cover-bottom span{display:block;font-size:13px;color:var(--muted);font-weight:700;margin-top:3px}
.cover-bottom b{background:var(--blue);color:#fff;padding:12px 16px;font-size:14px;letter-spacing:.06em}

/* CABECERAS */
.page-head,.category-head{height:108px;padding:20px 33px 14px;display:flex;justify-content:space-between;align-items:center;background:#fff;border-bottom:8px solid var(--yellow);position:relative}
.page-head:before,.category-head:before{content:"";position:absolute;left:0;top:0;bottom:0;width:8px;background:var(--red)}
.page-head img,.category-head img{width:140px;height:62px;object-fit:contain}
.page-head span,.category-head span{font-size:10px;font-weight:900;letter-spacing:.14em;color:var(--red)}
.page-head h2,.category-head h2{font-size:31px;margin:3px 0 0;color:var(--blue-deep);letter-spacing:-.025em}
.category-head{height:94px;padding-top:15px;padding-bottom:9px}
.category-head h2{font-size:30px}
.category-head .cat-counter{font-size:10px;color:var(--muted);font-weight:800;letter-spacing:.07em;margin-top:5px}
.category-head .head-period{text-align:right}
.category-head .head-period strong{display:block;color:var(--blue);font-size:12px;margin-top:2px}

/* ÍNDICE */
.contents-page{background:var(--cream)}
.lead{margin:28px 42px 13px;font-size:17px;line-height:1.45;color:#445369;max-width:690px}
.contents-grid{padding:10px 42px;display:grid;gap:12px}
.contents-card{height:108px;background:#fff;border:1px solid #d9dee5;border-left:10px solid var(--blue);display:grid;grid-template-columns:62px 1fr 58px;align-items:center;padding:0 18px;text-align:left;cursor:pointer;box-shadow:0 5px 0 #00000009}
.contents-card:hover{border-left-color:var(--red)}
.contents-card>span{font-size:27px;color:var(--red);font-weight:1000}
.contents-card div strong{display:block;color:var(--blue-deep);font-size:20px;letter-spacing:-.015em}
.contents-card div small{display:block;color:#6b7789;font-size:12px;margin-top:6px}
.contents-card>b{display:grid;place-items:center;width:47px;height:47px;background:var(--yellow);color:var(--blue-deep);font-size:17px}
.period-note{margin:24px 42px;background:var(--blue-deep);color:#fff;padding:18px 22px;display:flex;justify-content:space-between;align-items:center;gap:20px;font-size:12px;border-left:8px solid var(--red)}
.period-note b{font-size:15px;color:var(--yellow)}

/* PÁGINAS DE PRODUCTO: 3 PRODUCTOS GRANDES */
.products-page{background:#f5f3ef}
.products-list{height:calc(100% - 130px);padding:17px 25px 47px;display:grid;grid-template-rows:repeat(3,minmax(0,1fr));gap:12px}
.products-list.count-1{grid-template-rows:1fr;padding:75px 50px 105px}
.products-list.count-2{grid-template-rows:1fr 1fr;padding:60px 35px 85px}
.product-card{background:#fff;border:1px solid #d9dee4;display:grid;grid-template-columns:285px 1fr;min-height:0;position:relative;overflow:hidden;box-shadow:0 5px 0 #00000008}
.product-card:before{content:"";position:absolute;left:0;top:0;bottom:0;width:7px;background:var(--blue)}
.product-card:nth-child(even):before{background:var(--red)}
.product-image-wrap{display:grid;place-items:center;min-height:0;padding:10px 14px 10px 22px;position:relative;background:#fff}
.product-image-wrap img{width:100%;height:100%;max-width:260px;max-height:260px;object-fit:contain}
.product-info{min-width:0;padding:18px 19px 15px 11px;display:flex;flex-direction:column}
.brand-row{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:4px}
.brand{text-transform:uppercase;color:var(--red);font-size:10px;letter-spacing:.14em;font-weight:1000;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.ref{font-size:9px;color:#98a0aa;font-weight:700}
.product-info h3{margin:1px 0 0;font-size:21px;line-height:1.12;color:var(--blue-deep);letter-spacing:-.025em;max-height:48px;overflow:hidden}
.product-desc{margin:7px 0 0;font-size:11px;color:#687487;line-height:1.35;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;min-height:30px}
.tags{display:flex;gap:5px;flex-wrap:wrap;margin:8px 0 0}
.tag{font-size:8px;font-weight:1000;padding:5px 7px;background:var(--red);color:#fff;letter-spacing:.04em}
.tag.stock{background:#246548}
.tag.explosive{background:#111;color:var(--yellow)}
.price-box{margin-top:auto;min-height:80px;background:var(--yellow);display:grid;grid-template-columns:92px 1fr;grid-template-rows:auto auto;align-items:center;padding:8px 12px;column-gap:12px;border-right:8px solid var(--red)}
.price-box .price-kicker{grid-row:1/3;align-self:stretch;background:var(--red);color:#fff;display:grid;place-items:center;text-align:center;font-size:9px;line-height:1.05;padding:8px 6px;font-weight:1000;letter-spacing:.03em}
.price-main{display:flex;align-items:flex-end;gap:3px;color:var(--blue-deep);line-height:.86;white-space:nowrap}
.price-main .euros{font-size:52px;font-weight:1000;letter-spacing:-.06em}
.price-main .cents{font-size:28px;font-weight:1000;line-height:1.05;margin-bottom:3px}
.price-main .currency{font-size:22px;font-weight:1000;margin:0 0 3px 2px}
.price-box small{font-size:10px;color:#6d5b00;font-weight:800;align-self:start;margin-top:4px}
.price-box.pending{background:#f2f4f7;border-right-color:var(--blue)}
.price-box.pending .price-kicker{background:var(--blue)}
.price-box.pending .pending-label{font-size:22px;font-weight:1000;color:var(--blue-deep);line-height:1.05}
.price-box.adult{background:#edf1f5;border-right-color:#48576b}
.price-box.adult .price-kicker{background:#48576b}
.price-box.adult strong{font-size:15px;line-height:1.15;color:var(--blue-deep)}
.price-box.explosive{background:var(--red);border-right-color:var(--yellow)}
.price-box.explosive .price-kicker{background:#111;color:var(--yellow)}
.price-box.explosive .price-main,.price-box.explosive small{color:#fff}

/* PIE */
.page-footer{position:absolute;left:29px;right:29px;bottom:14px;height:25px;border-top:1px solid #d7dce2;display:flex;align-items:flex-end;justify-content:space-between;font-size:9px;color:#667488;font-weight:800}
.page-footer b{background:var(--blue-deep);color:#fff;padding:4px 8px;min-width:29px;text-align:center}

/* INFORMACIÓN Y CONTRAPORTADA */
.info-page{background:var(--cream)}
.info-hero{padding:55px 45px 25px;display:grid;gap:16px}
.info-hero>div{background:#fff;border-left:9px solid var(--yellow);padding:23px;box-shadow:0 5px 0 #00000008}
.info-hero span{font-size:25px;color:var(--red);font-weight:1000}
.info-hero h3{font-size:23px;color:var(--blue-deep);margin:4px 0}
.info-hero p{font-size:15px;line-height:1.45;color:#4f5d70;margin:0}
.legal-box{margin:8px 45px;padding:24px;background:var(--blue-deep);color:#fff;border-left:9px solid var(--red)}
.legal-box strong{font-size:18px;color:var(--yellow)}
.legal-box p{line-height:1.5;margin-bottom:0}
.back-page{background:var(--blue-deep);color:#fff}
.back-page:before{content:"";position:absolute;left:0;right:0;top:0;height:18px;background:var(--red)}
.back-logo-panel{position:absolute;left:82px;right:82px;top:95px;height:250px;background:#fff;display:grid;place-items:center;padding:25px 55px;box-shadow:0 13px 0 var(--yellow)}
.back-logo{width:100%;height:100%;object-fit:contain}
.back-copy{position:absolute;left:70px;right:70px;top:425px;text-align:center}
.back-copy span{display:inline-block;background:var(--yellow);color:var(--blue-deep);padding:10px 14px;font-weight:1000;letter-spacing:.1em}
.back-copy h2{font-size:58px;line-height:.98;margin:29px 0 14px;letter-spacing:-.04em}
.back-copy p{font-size:22px}
.back-badge{position:absolute;left:130px;right:130px;bottom:165px;background:#fff;color:var(--blue-deep);padding:28px 35px;text-align:center;border-left:10px solid var(--red)}
.back-badge b{display:block;font-size:23px}
.back-badge strong{display:block;font-size:39px;color:var(--red);line-height:1.06;margin-top:7px}
.back-foot{position:absolute;bottom:61px;left:0;right:0;text-align:center;font-size:13px;font-weight:800;letter-spacing:.08em;color:#e5ecf5}

/* VISOR */
.edge-nav{position:absolute;top:50%;transform:translateY(-50%);z-index:25;border:0;background:transparent;color:#fff;font-size:78px;font-weight:200;cursor:pointer;text-shadow:0 2px 7px #0008}
.edge-nav.prev{left:18px}.edge-nav.next{right:18px}.edge-nav:disabled{opacity:.15;cursor:default}
.toolbar{justify-content:space-between;padding:0 12px;border-top:1px solid #ffffff1a}
.tool-group{display:flex;align-items:center;gap:2px}
.toolbar button{min-width:38px;height:39px;color:#fff;font-size:20px}
.toolbar button:hover,.drawer button:hover{background:#ffffff14}
.page-indicator{min-width:92px;text-align:center;background:#fff;color:#141414;padding:6px 9px;font-size:13px;font-weight:900}
.drawer{position:fixed;z-index:100;left:0;top:0;bottom:0;width:min(405px,90vw);background:#11141a;color:#fff;transform:translateX(-102%);transition:.25s ease;box-shadow:12px 0 32px #0006;display:grid;grid-template-rows:60px 46px 1fr}
.drawer.open{transform:none}
.drawer-backdrop{position:fixed;inset:0;background:#0007;z-index:90;opacity:0;pointer-events:none;transition:.25s}
.drawer-backdrop.open{opacity:1;pointer-events:auto}
.drawer-head{display:flex;align-items:center;justify-content:space-between;padding:0 18px;border-bottom:1px solid #ffffff1d}
.drawer-head strong{font-size:18px}.drawer-head button{font-size:29px}
.drawer-tabs{display:grid;grid-template-columns:1fr 1fr}.drawer-tabs button{font-size:13px;font-weight:900;border-bottom:3px solid transparent}.drawer-tabs button.active{border-color:var(--yellow);color:var(--yellow)}
.drawer-body{overflow:auto;padding:12px}
.drawer-item{width:100%;background:#1a1f29;border:1px solid #ffffff10;color:#fff;margin-bottom:8px;padding:13px;text-align:left;cursor:pointer;border-left:5px solid transparent}
.drawer-item:hover{border-left-color:var(--yellow)}
.drawer-item strong{display:block}.drawer-item small{display:block;color:#b9c0cb;margin-top:4px}
.thumb-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px}.thumb{aspect-ratio:1/1.414;background:#fff;color:#122;padding:7px;font-size:10px;display:flex;flex-direction:column;justify-content:space-between;cursor:pointer;border:3px solid transparent}.thumb.current{border-color:var(--yellow)}.thumb .mini-head{background:var(--blue-deep);color:#fff;padding:5px;font-weight:900}.thumb img{width:100%;height:68%;object-fit:contain}.search-results{position:fixed;right:12px;top:43px;width:min(480px,calc(100vw - 24px));max-height:65vh;overflow:auto;background:#fff;z-index:120;box-shadow:0 15px 40px #0006;border-top:5px solid var(--yellow)}.search-result{display:block;width:100%;text-align:left;border:0;border-bottom:1px solid #e5e8ee;background:#fff;padding:13px 15px;cursor:pointer}.search-result:hover{background:#f4f7fb}.search-result strong{display:block;color:var(--blue-deep)}.search-result small{color:#6d7889}.fatal{position:fixed;inset:0;z-index:200;background:#f4f7fb;display:grid;place-items:center;align-content:center;text-align:center;padding:30px}.fatal[hidden]{display:none}.fatal img{width:260px}.fatal h1{color:var(--blue)}.fatal p{max-width:650px}.fatal button{border:0;background:var(--red);color:#fff;font-weight:900;padding:12px 18px;border-radius:3px}
.flip-leaf{display:block;position:absolute;top:0;width:var(--pageW);height:var(--pageH);z-index:30;pointer-events:none;transform-style:preserve-3d;backface-visibility:hidden}.flip-next{animation:turnNext .44s ease}.flip-prev{animation:turnPrev .44s ease}@keyframes turnNext{0%{transform:rotateY(0);filter:brightness(1)}50%{filter:brightness(.72)}100%{transform:rotateY(-92deg);opacity:.1}}@keyframes turnPrev{0%{transform:rotateY(0);filter:brightness(1)}50%{filter:brightness(.72)}100%{transform:rotateY(92deg);opacity:.1}}

@media(max-width:900px){
  :root{--pageW:430px;--pageH:608px}
  .viewer{grid-template-rows:47px 1fr 55px}.stage{padding:8px 31px}.book{width:var(--pageW);height:var(--pageH)}.catalog-page.left-page,.catalog-page.right-page,.catalog-page.single-page{left:0}.viewer-brand span{display:none}.viewer-brand img{width:88px}.search-box{width:min(214px,53vw)}.edge-nav{font-size:56px}.edge-nav.prev{left:1px}.edge-nav.next{right:1px}
  .cover-page:before{height:10px}.cover-page:after{width:250px;height:250px;right:-72px;bottom:82px}
  .cover-logo-panel{left:24px;top:31px;width:170px;height:76px;padding:7px 14px;box-shadow:6px 6px 0 var(--red)}
  .cover-kicker{left:24px;top:127px;font-size:8px}.cover-title{left:23px;top:147px;width:385px}.cover-title small{font-size:15px}.cover-title strong{font-size:48px}.cover-title em{font-size:16px;margin-top:9px}
  .cover-period{right:22px;top:32px;width:139px;padding:9px 10px 8px;border-bottom-width:6px}.cover-period span{font-size:6px}.cover-period b{font-size:14px}.cover-period i{font-size:8px;margin:2px 0}
  .cover-showcase{left:18px;right:18px;bottom:68px;height:270px;border-width:6px}.cover-showcase:before{width:7px}.cover-showcase:after{left:7px;height:7px}.cover-product{width:126px;height:126px}.cp1{left:7px;bottom:9px}.cp2{left:83px;top:7px}.cp3{left:165px;bottom:10px}.cp4{right:76px;top:11px}.cp5{right:4px;bottom:8px}.cp6{left:151px;top:64px;width:144px;height:144px}.cover-seal{left:29px;bottom:86px;width:84px;height:84px;border-width:4px}.cover-seal strong{font-size:17px}.cover-seal span{font-size:6px;margin-top:3px}.cover-bottom{height:63px;border-top-width:7px;padding:0 24px;gap:10px}.cover-bottom strong{font-size:12px}.cover-bottom span{font-size:7px}.cover-bottom b{padding:7px 8px;font-size:7px}
  .page-head,.category-head{height:62px;padding:9px 18px 6px;border-bottom-width:5px}.page-head:before,.category-head:before{width:5px}.page-head img,.category-head img{width:86px;height:41px}.page-head span,.category-head span{font-size:5px}.page-head h2,.category-head h2{font-size:17px}.category-head{height:51px}.category-head h2{font-size:16px}.category-head .cat-counter{font-size:5px;margin-top:2px}.category-head .head-period strong{font-size:6px}
  .lead{margin:15px 22px 6px;font-size:9px}.contents-grid{padding:5px 22px;gap:6px}.contents-card{height:58px;padding:0 9px;grid-template-columns:32px 1fr 28px;border-left-width:6px}.contents-card>span{font-size:13px}.contents-card div strong{font-size:10px}.contents-card div small{font-size:6px;margin-top:2px}.contents-card>b{font-size:9px;width:24px;height:24px}.period-note{margin:11px 22px;padding:8px 10px;font-size:6px;border-left-width:5px}.period-note b{font-size:7px}
  .products-list{height:calc(100% - 70px);padding:8px 10px 24px;gap:6px}.products-list.count-1{padding:40px 24px 55px}.products-list.count-2{padding:30px 16px 46px}.product-card{grid-template-columns:153px 1fr;box-shadow:0 3px 0 #00000008}.product-card:before{width:4px}.product-image-wrap{padding:4px 6px 4px 11px}.product-image-wrap img{max-width:139px;max-height:139px}.product-info{padding:8px 9px 7px 6px}.brand-row{margin-bottom:1px}.brand{font-size:5px}.ref{font-size:4px}.product-info h3{font-size:10.5px;max-height:24px}.product-desc{font-size:5.4px;min-height:14px;margin-top:3px}.tags{gap:2px;margin-top:3px}.tag{font-size:4px;padding:2px 3px}.price-box{min-height:44px;grid-template-columns:50px 1fr;padding:4px 6px;column-gap:6px;border-right-width:5px}.price-box .price-kicker{font-size:4px;padding:4px 2px}.price-main .euros{font-size:27px}.price-main .cents{font-size:15px;margin-bottom:2px}.price-main .currency{font-size:11px;margin-bottom:2px}.price-box small{font-size:4.7px;margin-top:2px}.price-box.pending .pending-label{font-size:11px}.price-box.adult strong{font-size:7px}
  .page-footer{left:15px;right:15px;bottom:7px;height:12px;font-size:5px}.page-footer b{padding:1px 3px;min-width:16px}
  .info-hero{padding:26px 22px 12px;gap:9px}.info-hero>div{padding:11px;border-left-width:5px}.info-hero span{font-size:12px}.info-hero h3{font-size:11px}.info-hero p{font-size:7px}.legal-box{margin:3px 22px;padding:11px;font-size:7px;border-left-width:5px}.legal-box strong{font-size:9px}
  .back-page:before{height:10px}.back-logo-panel{left:45px;right:45px;top:52px;height:134px;padding:13px 29px;box-shadow:0 7px 0 var(--yellow)}.back-copy{left:38px;right:38px;top:228px}.back-copy span{padding:5px 7px;font-size:6px}.back-copy h2{font-size:30px;margin:15px 0 7px}.back-copy p{font-size:12px}.back-badge{left:70px;right:70px;bottom:89px;padding:14px;border-left-width:5px}.back-badge b{font-size:11px}.back-badge strong{font-size:20px}.back-foot{bottom:30px;font-size:6px}
  .toolbar{padding:0 5px}.toolbar button{min-width:29px;font-size:17px}.toolbar .right button:nth-of-type(1n+5){display:none}.page-indicator{min-width:70px;font-size:10px}.tool-group{gap:0}
}
@media print{html,body{overflow:visible;background:#fff}.topbar,.toolbar,.edge-nav,.drawer,.drawer-backdrop,.search-results{display:none!important}.viewer{display:block;height:auto;background:#fff}.stage{display:block;padding:0;overflow:visible}.book-shell{transform:none!important;filter:none}.book,.book.single{display:block;width:auto;height:auto}.catalog-page{display:block!important;position:relative!important;left:auto!important;top:auto!important;width:210mm;height:297mm;page-break-after:always;box-shadow:none!important}}

/* =========================================================
   V7 · MOBILE PREMIUM · PRIORIDAD MÓVIL
   ========================================================= */
:root{
  --stage:#6f665f;
}
.stage{
  display:flex;
  align-items:center;
  justify-content:center;
  padding:10px 58px;
}
.book-shell{
  flex:0 0 auto;
  transform-origin:center center;
}

/* Portada editorial V7 */
.cover-page{
  background:var(--blue-deep);
  color:#fff;
  isolation:isolate;
}
.cover-page:before,
.cover-page:after{content:none!important}
.cover-accent-red{
  position:absolute;left:0;top:0;width:18px;height:100%;background:var(--red);z-index:1
}
.cover-brand{
  position:absolute;left:48px;top:48px;z-index:10;width:300px;height:126px;
  background:#fff;border-bottom:12px solid var(--red);display:flex;flex-direction:column;
  justify-content:center;align-items:center;padding:13px 28px 9px;
  box-shadow:14px 14px 0 var(--yellow)
}
.cover-brand .cover-logo{width:100%;height:80px;object-fit:contain}
.cover-brand span{color:var(--blue-deep);font-size:9px;letter-spacing:.22em;font-weight:1000;margin-top:1px}
.cover-season{
  position:absolute;left:48px;top:207px;z-index:10;background:var(--yellow);color:var(--blue-deep);
  padding:10px 16px;font-size:13px;font-weight:1000;letter-spacing:.10em
}
.cover-title{position:absolute;left:46px;top:260px;width:710px;z-index:10}
.cover-title span{display:block;color:#fff;font-size:35px;font-weight:1000;line-height:1}
.cover-title strong{display:block;color:var(--yellow);font-size:93px;line-height:.88;letter-spacing:-.055em;font-weight:1000}
.cover-title em{display:block;font-style:normal;color:#fff;font-size:31px;line-height:1.02;font-weight:1000;margin-top:18px;letter-spacing:-.02em}
.cover-period{
  position:absolute;right:42px;top:50px;z-index:12;width:278px;min-height:190px;
  background:var(--red);color:#fff;padding:20px 22px 18px;border:8px solid #fff;
  box-shadow:-10px 10px 0 var(--yellow);text-align:left
}
.cover-period span{font-size:11px;font-weight:1000;letter-spacing:.16em;display:block}
.cover-period b{font-size:37px;line-height:.95;font-weight:1000;display:block;margin:7px 0 0;letter-spacing:-.04em}
.cover-period i{font-style:normal;font-size:12px;font-weight:1000;display:block;margin:6px 0 0;color:var(--yellow)}
.cover-period strong{display:block;font-size:20px;margin-top:8px;letter-spacing:.12em}
.cover-yellow-field{
  position:absolute;left:18px;right:0;top:470px;height:488px;background:var(--yellow);z-index:2
}
.cover-yellow-field:before{
  content:"";position:absolute;left:0;top:0;width:360px;height:100%;background:var(--red)
}
.cover-showcase{
  position:absolute;left:42px;right:34px;top:492px;height:444px;background:#fff;z-index:4;
  border:0;overflow:visible;box-shadow:0 16px 0 #00000012
}
.cover-showcase:before,.cover-showcase:after{content:none!important}
.cover-stage-line{position:absolute;left:30px;right:30px;bottom:38px;height:9px;background:var(--blue-deep);z-index:1}
.cover-product{
  position:absolute;object-fit:contain;filter:drop-shadow(0 17px 11px #0004);z-index:5;
  width:255px;height:255px
}
.hero-1{left:8px;bottom:31px;width:235px;height:235px;transform:rotate(-3deg)}
.hero-2{left:142px;top:22px;width:265px;height:265px;z-index:7}
.hero-3{left:295px;bottom:27px;width:315px;height:315px;z-index:9}
.hero-4{right:133px;top:18px;width:255px;height:255px;z-index:7}
.hero-5{right:3px;bottom:30px;width:225px;height:225px;transform:rotate(3deg)}
.hero-6{left:502px;bottom:35px;width:195px;height:195px;z-index:6}
.cover-count{
  position:absolute;left:59px;top:795px;z-index:14;width:170px;height:170px;border-radius:50%;
  background:var(--blue-deep);color:#fff;border:9px solid var(--yellow);display:flex;flex-direction:column;
  align-items:center;justify-content:center;text-align:center;box-shadow:0 0 0 8px #fff
}
.cover-count strong{font-size:58px;line-height:.82;color:var(--yellow);font-weight:1000}
.cover-count span{font-size:10px;line-height:1.1;font-weight:1000;letter-spacing:.08em;margin-top:9px}
.cover-claim{
  position:absolute;left:263px;right:47px;top:944px;height:86px;z-index:12;background:var(--blue-deep);color:#fff;
  border-left:12px solid var(--red);padding:14px 22px;display:flex;flex-direction:column;justify-content:center
}
.cover-claim b{font-size:22px;color:var(--yellow);letter-spacing:.04em}
.cover-claim span{font-size:13px;font-weight:800;margin-top:6px}
.cover-bottom{
  position:absolute;left:18px;right:0;bottom:0;height:84px;z-index:15;background:#fff;border:0;
  display:flex;align-items:center;justify-content:space-between;padding:0 42px;color:var(--blue-deep)
}
.cover-bottom strong{font-size:20px;font-weight:1000;color:var(--blue-deep)}
.cover-bottom span{font-size:11px;font-weight:800;color:var(--muted);margin:0;max-width:330px;text-align:right}

/* Interior: más aire, imagen y precio */
.category-head{
  height:112px;padding:21px 34px 15px 39px;border-bottom-width:10px
}
.category-head h2{font-size:34px;line-height:1;max-width:600px}
.category-head span{font-size:11px}
.category-head .cat-counter{font-size:11px;margin-top:7px}
.category-head img{width:145px;height:63px}
.category-head .head-period strong{font-size:13px}
.products-list{
  height:calc(100% - 150px);padding:22px 28px 54px;display:grid;grid-template-rows:repeat(2,minmax(0,1fr));gap:18px
}
.products-list.count-1{grid-template-rows:1fr;padding:125px 48px 140px}
.products-list.count-2{grid-template-rows:1fr 1fr;padding:22px 28px 54px}
.product-card{
  grid-template-columns:345px 1fr;border:1px solid #d4dbe3;box-shadow:0 8px 0 #00000008;background:#fff
}
.product-card:before{width:10px}
.product-image-wrap{padding:18px 20px 18px 28px}
.product-image-wrap img{max-width:320px;max-height:320px}
.product-info{padding:27px 25px 22px 12px}
.brand-row{margin-bottom:7px}
.brand{font-size:12px;letter-spacing:.13em}
.ref{font-size:10px}
.product-info h3{font-size:31px;line-height:1.06;max-height:68px;margin-top:1px}
.product-desc{font-size:20px;line-height:1.25;min-height:50px;margin-top:9px;-webkit-line-clamp:2}
.tags{gap:7px;margin-top:10px}
.tag{font-size:10px;padding:7px 9px}
.price-box{
  min-height:118px;grid-template-columns:112px 1fr;padding:10px 15px;column-gap:15px;border-right-width:10px;margin-top:auto
}
.price-box .price-kicker{font-size:11px;padding:10px 7px;line-height:1.05}
.price-main .euros{font-size:84px}
.price-main .cents{font-size:38px;margin-bottom:6px}
.price-main .currency{font-size:28px;margin-bottom:7px}
.price-box small{font-size:12px;margin-top:5px}
.price-box.pending .pending-label{font-size:29px}
.price-box.adult strong{font-size:18px}
.page-footer{left:30px;right:30px;bottom:15px;height:28px;font-size:10px}
.page-footer b{font-size:10px;padding:5px 9px}

/* Índice más legible */
.page-head{height:122px;padding:22px 40px 17px;border-bottom-width:10px}
.page-head img{width:158px;height:72px}
.page-head span{font-size:11px}.page-head h2{font-size:34px}
.lead{margin:31px 42px 16px;font-size:19px;line-height:1.4}
.contents-grid{gap:14px;padding:10px 42px}
.contents-card{height:114px;grid-template-columns:68px 1fr 64px;border-left-width:11px}
.contents-card>span{font-size:30px}.contents-card div strong{font-size:22px}.contents-card div small{font-size:13px}.contents-card>b{width:52px;height:52px;font-size:19px}

/* ===== MÓVIL: el lienzo sigue siendo 800×1131 y se ajusta al viewport ===== */
@media(max-width:900px){
  :root{--pageW:800px;--pageH:1131px}
  html,body{overscroll-behavior:none}
  .viewer{grid-template-rows:54px 1fr 58px}
  .topbar{padding:0 max(8px,env(safe-area-inset-left));gap:8px}
  .icon-btn{width:38px;height:44px;font-size:27px;flex:0 0 auto}
  .viewer-brand{flex:0 0 auto}
  .viewer-brand img{width:104px;height:38px;padding:3px 8px}
  .viewer-brand span{display:none}
  .search-box{width:auto;flex:1;min-width:0;height:38px;margin-left:4px;border-radius:3px}
  .search-box input{font-size:16px;padding:0 11px}
  .search-box button{width:42px;font-size:21px}
  .stage{padding:10px 16px;display:flex;align-items:center;justify-content:center;overflow:hidden}
  .book,.book.single{width:var(--pageW);height:var(--pageH)}
  .catalog-page.left-page,.catalog-page.right-page,.catalog-page.single-page{left:0}
  .book-shell{margin:0 auto;filter:drop-shadow(0 15px 20px #0007)}
  .edge-nav{font-size:68px;text-shadow:0 2px 8px #000b;z-index:40}
  .edge-nav.prev{left:1px}.edge-nav.next{right:1px}
  .toolbar{padding:0 max(8px,env(safe-area-inset-left));height:58px}
  .toolbar button{height:46px;min-width:44px;font-size:24px}
  .toolbar .left button:first-child,.toolbar .right button:nth-child(2),.toolbar .right button:nth-child(4),.toolbar .right button:nth-child(5),.toolbar .right button:nth-child(6){display:none}
  .page-indicator{min-width:86px;padding:8px 11px;font-size:15px}

  /* No reducimos tipografías del folleto: el zoom global hace el ajuste y conserva legibilidad */
  .cover-page,.products-page,.contents-page,.info-page,.back-page{font-size:initial}
  .cover-accent-red{width:18px}
  .cover-brand{left:48px;top:48px;width:300px;height:126px;padding:13px 28px 9px;box-shadow:14px 14px 0 var(--yellow)}
  .cover-brand .cover-logo{height:80px}.cover-brand span{font-size:9px}
  .cover-season{left:48px;top:207px;padding:10px 16px;font-size:13px}
  .cover-title{left:46px;top:260px;width:710px}.cover-title span{font-size:35px}.cover-title strong{font-size:93px}.cover-title em{font-size:31px;margin-top:18px}
  .cover-period{right:42px;top:50px;width:278px;min-height:190px;padding:20px 22px 18px;border-width:8px;box-shadow:-10px 10px 0 var(--yellow)}
  .cover-period span{font-size:11px}.cover-period b{font-size:37px}.cover-period i{font-size:12px}.cover-period strong{font-size:20px}
  .cover-yellow-field{left:18px;top:470px;height:488px}.cover-showcase{left:42px;right:34px;top:492px;height:444px}
  .cover-product{width:255px;height:255px}.hero-1{left:8px;bottom:31px;width:235px;height:235px}.hero-2{left:142px;top:22px;width:265px;height:265px}.hero-3{left:295px;bottom:27px;width:315px;height:315px}.hero-4{right:133px;top:18px;width:255px;height:255px}.hero-5{right:3px;bottom:30px;width:225px;height:225px}.hero-6{left:502px;bottom:35px;width:195px;height:195px}
  .cover-count{left:59px;top:795px;width:170px;height:170px;border-width:9px;box-shadow:0 0 0 8px #fff}.cover-count strong{font-size:58px}.cover-count span{font-size:10px}
  .cover-claim{left:263px;right:47px;top:944px;height:86px;padding:14px 22px}.cover-claim b{font-size:22px}.cover-claim span{font-size:13px}
  .cover-bottom{left:18px;height:84px;padding:0 42px}.cover-bottom strong{font-size:20px}.cover-bottom span{font-size:11px}

  .page-head{height:122px;padding:22px 40px 17px;border-bottom-width:10px}.page-head:before,.category-head:before{width:8px}.page-head img{width:158px;height:72px}.page-head span{font-size:11px}.page-head h2{font-size:34px}
  .category-head{height:112px;padding:21px 34px 15px 39px;border-bottom-width:10px}.category-head img{width:145px;height:63px}.category-head span{font-size:11px}.category-head h2{font-size:34px}.category-head .cat-counter{font-size:11px}.category-head .head-period strong{font-size:13px}
  .lead{margin:31px 42px 16px;font-size:19px}.contents-grid{padding:10px 42px;gap:14px}.contents-card{height:114px;padding:0 18px;grid-template-columns:68px 1fr 64px;border-left-width:11px}.contents-card>span{font-size:30px}.contents-card div strong{font-size:22px}.contents-card div small{font-size:13px}.contents-card>b{font-size:19px;width:52px;height:52px}.period-note{margin:24px 42px;padding:18px 22px;font-size:12px;border-left-width:8px}.period-note b{font-size:15px}
  .products-list{height:calc(100% - 150px);padding:22px 28px 54px;gap:18px}.products-list.count-1{padding:125px 48px 140px}.products-list.count-2{padding:22px 28px 54px}.product-card{grid-template-columns:345px 1fr;box-shadow:0 8px 0 #00000008}.product-card:before{width:10px}.product-image-wrap{padding:18px 20px 18px 28px}.product-image-wrap img{max-width:320px;max-height:320px}.product-info{padding:27px 25px 22px 12px}.brand-row{margin-bottom:7px}.brand{font-size:12px}.ref{font-size:10px}.product-info h3{font-size:31px;max-height:68px}.product-desc{font-size:20px;min-height:50px;margin-top:9px}.tags{gap:7px;margin-top:10px}.tag{font-size:10px;padding:7px 9px}.price-box{min-height:118px;grid-template-columns:112px 1fr;padding:10px 15px;column-gap:15px;border-right-width:10px}.price-box .price-kicker{font-size:11px;padding:10px 7px}.price-main .euros{font-size:84px}.price-main .cents{font-size:38px;margin-bottom:6px}.price-main .currency{font-size:28px;margin-bottom:7px}.price-box small{font-size:12px}.price-box.pending .pending-label{font-size:29px}.price-box.adult strong{font-size:18px}
  .page-footer{left:30px;right:30px;bottom:15px;height:28px;font-size:10px}.page-footer b{font-size:10px;padding:5px 9px}
  .info-hero{padding:55px 45px 25px;gap:16px}.info-hero>div{padding:23px;border-left-width:9px}.info-hero span{font-size:25px}.info-hero h3{font-size:23px}.info-hero p{font-size:15px}.legal-box{margin:8px 45px;padding:24px;font-size:16px;border-left-width:9px}.legal-box strong{font-size:18px}
  .back-page:before{height:18px}.back-logo-panel{left:82px;right:82px;top:95px;height:250px;padding:25px 55px;box-shadow:0 13px 0 var(--yellow)}.back-copy{left:70px;right:70px;top:425px}.back-copy span{padding:10px 14px;font-size:13px}.back-copy h2{font-size:58px;margin:29px 0 14px}.back-copy p{font-size:22px}.back-badge{left:130px;right:130px;bottom:165px;padding:28px 35px;border-left-width:10px}.back-badge b{font-size:23px}.back-badge strong{font-size:39px}.back-foot{bottom:61px;font-size:13px}
}

@media(max-width:430px){
  .stage{padding-left:12px;padding-right:12px}
  .edge-nav{font-size:60px}
  .viewer-brand img{width:94px}
  .search-box input{font-size:15px}
}

/* =========================================================
   V8 · FICHA EDITORIAL + PRECIO PEGATINA + AUDIO POR PÁGINA
   ========================================================= */
.product-card{
  grid-template-columns:330px 1fr;
  border-color:#d8dde4;
  box-shadow:0 7px 0 #00000008;
}
.product-image-wrap{padding:18px 18px 18px 27px}
.product-image-wrap img{max-width:305px;max-height:305px}
.product-info{padding:24px 24px 19px 13px;min-height:0}
.brand-row{margin-bottom:5px}
.product-info h3{
  max-height:none!important;overflow:visible!important;
  color:var(--blue-deep);font-weight:1000;letter-spacing:-.026em;
  margin:1px 0 0;line-height:1.06
}
.product-info h3.title-lg{font-size:31px}
.product-info h3.title-md{font-size:28px}
.product-info h3.title-sm{font-size:24px}
.product-info h3.title-xs{font-size:21px;line-height:1.08}
.product-desc{
  display:block!important;-webkit-line-clamp:unset!important;-webkit-box-orient:initial!important;
  max-height:none!important;overflow:visible!important;min-height:0!important;
  color:#556377;margin:8px 0 0;line-height:1.25;font-weight:650
}
.product-desc.desc-lg{font-size:17px}
.product-desc.desc-md{font-size:15px}
.product-desc.desc-sm{font-size:13px;line-height:1.22}
.product-desc.desc-xs{font-size:11.4px;line-height:1.2}
.tags{margin-top:7px;gap:6px}
.tag{font-size:9px;padding:5px 8px}

.price-box{
  margin-top:auto;min-height:118px;background:transparent!important;border:0!important;
  padding:4px 0 0;display:flex!important;flex-direction:column;align-items:center;justify-content:flex-end;
  gap:6px;overflow:visible
}
.price-sticker{
  position:relative;width:min(100%,330px);min-height:86px;background:var(--yellow);
  border:4px solid var(--blue-deep);border-radius:17px;display:flex;align-items:center;justify-content:center;
  padding:7px 22px;box-shadow:7px 7px 0 #ed1b24;transform:rotate(-.35deg)
}
.price-sticker:after{content:"";position:absolute;inset:5px;border:1px solid #ffffff9c;border-radius:10px;pointer-events:none}
.price-main{justify-content:center;color:var(--blue-deep);position:relative;z-index:2;line-height:.82}
.price-main .euros{font-size:89px;font-weight:1000;letter-spacing:-.075em}
.price-main .cents{font-size:41px;font-weight:1000;margin:0 0 6px 3px;line-height:1}
.price-main .currency{font-size:31px;font-weight:1000;margin:0 0 8px 4px}
.unit-line{
  width:100%;text-align:center;color:var(--blue-deep);font-size:13px;line-height:1.08;
  font-weight:1000;letter-spacing:.015em;text-transform:uppercase;min-height:15px
}
.unit-line.is-derived-empty{color:#87919e;font-size:10px;font-weight:800}
.price-box.pending .price-sticker{background:#fff4b8;border-color:#c9a900;box-shadow:7px 7px 0 #d8dde4;transform:none}
.price-box.pending .pending-label{font-size:26px;color:var(--blue-deep);font-weight:1000;letter-spacing:.02em}
.price-box.adult{min-height:86px;background:#eef1f5!important;border-radius:12px!important;padding:14px!important;align-items:flex-start;justify-content:center;gap:5px}
.price-box.adult strong{font-size:17px;color:var(--blue-deep)}
.price-box.adult small{font-size:12px;color:#59687a}
.product-card.is-explosive .price-sticker{background:var(--yellow);border-color:#111;box-shadow:7px 7px 0 var(--red)}

.sound-btn.has-audio{color:var(--yellow)!important}
.sound-btn.is-playing{background:#ffffff18!important;box-shadow:inset 0 -3px 0 var(--yellow)}
.audio-prompt{position:fixed;left:50%;bottom:76px;transform:translateX(-50%);z-index:130;width:min(460px,calc(100vw - 28px));display:flex;justify-content:center;pointer-events:none}
.audio-prompt[hidden]{display:none!important}
.audio-prompt button{pointer-events:auto;border:0;background:#071f43;color:#fff;font-weight:900;padding:12px 16px;border-radius:999px;box-shadow:0 9px 28px #0007;font-size:14px;border:2px solid var(--yellow)}

@media(max-width:900px){
  .product-card{grid-template-columns:330px 1fr}
  .product-image-wrap{padding:18px 18px 18px 27px}.product-image-wrap img{max-width:305px;max-height:305px}
  .product-info{padding:24px 24px 19px 13px}
  .product-info h3.title-lg{font-size:31px}.product-info h3.title-md{font-size:28px}.product-info h3.title-sm{font-size:24px}.product-info h3.title-xs{font-size:21px}
  .product-desc.desc-lg{font-size:17px}.product-desc.desc-md{font-size:15px}.product-desc.desc-sm{font-size:13px}.product-desc.desc-xs{font-size:11.4px}
  .price-box{min-height:118px;padding-top:4px}.price-sticker{width:min(100%,330px);min-height:86px;padding:7px 22px;border-width:4px;border-radius:17px}
  .price-main .euros{font-size:89px}.price-main .cents{font-size:41px}.price-main .currency{font-size:31px}.unit-line{font-size:13px}
  .toolbar .right button:nth-child(7){display:none}
  .audio-prompt{bottom:70px}.audio-prompt button{font-size:13px;padding:10px 14px}
}

/* =========================================================
   V9 · VISIBILIDAD REAL + PORTADA MANUAL + CONTRAPORTADA MINIMAL
   Diseño editorial mobile-first. No mostrar productos programados.
   ========================================================= */
.manual-cover-page{background:#fff!important}
.manual-cover-page:before,.manual-cover-page:after{content:none!important}
.manual-cover-image{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center;display:block}
.cover-placeholder{background:#f5f7fa!important;color:var(--blue-deep)!important}
.cover-placeholder:before,.cover-placeholder:after{content:none!important}
.cover-placeholder-inner{position:absolute;inset:70px;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;border:4px dashed #b8c3d2;background:#fff;padding:55px}
.cover-placeholder-inner img{width:330px;height:160px;object-fit:contain;margin-bottom:35px}
.cover-placeholder-inner span{font-size:14px;letter-spacing:.22em;font-weight:1000;color:var(--red)}
.cover-placeholder-inner h1{font-size:68px;line-height:.92;letter-spacing:-.055em;margin:13px 0 22px;color:var(--blue-deep)}
.cover-placeholder-inner strong{font-size:24px;color:var(--blue)}
.cover-placeholder-inner p{font-size:18px;color:#657287;max-width:560px;line-height:1.4}

/* Producto: jerarquía gráfica más limpia y lectura completa */
.products-page{background:#f3f4f5}
.products-list.count-2{padding:22px 28px 54px;gap:18px}
.product-card{grid-template-columns:350px minmax(0,1fr);border:1px solid #d6dce4;box-shadow:0 7px 0 #00000008;background:#fff}
.product-card:before{width:8px;background:var(--red)!important}
.product-image-wrap{padding:18px 18px 18px 27px;background:#fff}
.product-image-wrap img{max-width:326px;max-height:326px;object-fit:contain}
.product-info{padding:23px 25px 20px 12px}
.brand-row{margin-bottom:6px}
.brand{font-size:11px;letter-spacing:.13em}
.ref{font-size:9px}
.product-info h3{color:#0a274d!important;letter-spacing:-.027em!important;line-height:1.03!important;margin:0!important}
.product-info h3.title-lg{font-size:30px}
.product-info h3.title-md{font-size:27px}
.product-info h3.title-sm{font-size:23px}
.product-info h3.title-xs{font-size:20px;line-height:1.07!important}
.product-desc{color:#5c6879!important;margin-top:8px!important;font-weight:600!important;max-width:100%}
.product-desc.desc-lg{font-size:16px!important;line-height:1.28!important}
.product-desc.desc-md{font-size:14.3px!important;line-height:1.26!important}
.product-desc.desc-sm{font-size:12.5px!important;line-height:1.23!important}
.product-desc.desc-xs{font-size:10.9px!important;line-height:1.19!important}
.product-desc.desc-xxs{font-size:9.6px!important;line-height:1.16!important;letter-spacing:-.005em!important}
.product-desc.desc-xxxs{font-size:8.7px!important;line-height:1.13!important;letter-spacing:-.008em!important}

.tags{margin-top:7px}

/* Pegatina amarilla: precio y precio por medida dentro del mismo elemento */
.price-box{min-height:126px!important;padding:8px 0 0!important;gap:0!important;display:flex!important;justify-content:flex-end!important;align-items:center!important}
.price-sticker{width:min(100%,350px)!important;min-height:112px!important;padding:9px 22px 10px!important;border:4px solid #082a55!important;border-radius:19px!important;background:var(--yellow)!important;box-shadow:7px 7px 0 var(--red)!important;transform:none!important;display:flex!important;flex-direction:column!important;justify-content:center!important;align-items:center!important;gap:4px!important}
.price-sticker:after{inset:5px!important;border-radius:12px!important}
.price-main{display:flex!important;align-items:flex-end!important;justify-content:center!important;line-height:.82!important;min-height:70px}
.price-main .euros{font-size:82px!important;line-height:.78!important;letter-spacing:-.075em!important}
.price-main .cents{font-size:37px!important;line-height:.92!important;margin:0 0 7px 4px!important}
.price-main .currency{font-size:27px!important;line-height:1!important;margin:0 0 8px 4px!important}
.unit-line{position:relative;z-index:2;width:100%;min-height:0!important;text-align:center!important;color:#082a55!important;font-size:12.2px!important;line-height:1.08!important;font-weight:1000!important;letter-spacing:.02em!important;margin:1px 0 0!important;padding-top:5px;border-top:1px solid #0a2b5438}
.price-box.pending .price-sticker{box-shadow:7px 7px 0 #d8dde4!important}
.price-box.pending .pending-label{font-size:27px!important;line-height:1!important}
.price-box.pending .unit-line{font-size:10.5px!important}

/* Contraportada: únicamente marca, claim e iconos de redes */
.back-page{background:#fff!important;color:var(--blue-deep)!important}
.back-page:before,.back-page:after{content:none!important}
.back-minimal{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:90px 70px 70px;text-align:center;background:#fff}
.back-logo-minimal{width:370px;height:210px;object-fit:contain;margin-bottom:48px}
.back-minimal h2{margin:0;color:#0a2d5f;font-size:66px;line-height:.97;letter-spacing:-.045em;font-weight:1000}
.back-rule{width:86px;height:9px;background:var(--red);border-radius:999px;margin:35px 0 0}
.social-links{position:absolute;left:0;right:0;bottom:92px;display:flex;align-items:center;justify-content:center;gap:22px}
.social-link{width:64px;height:64px;border-radius:50%;display:grid;place-items:center;background:#0a2d5f;color:#fff;text-decoration:none;transition:transform .18s ease,background .18s ease}
.social-link:hover{transform:translateY(-4px);background:var(--red)}
.social-link svg{width:31px;height:31px;fill:currentColor;stroke:currentColor;stroke-width:1.8}
.social-link.instagram svg rect,.social-link.instagram svg circle{fill:none}
.social-link.instagram svg .dot{fill:currentColor;stroke:none}
.social-link.youtube svg .play{fill:#fff;stroke:none}

/* Índice: texto alineado con la regla de visibilidad */
.contents-page .lead strong{color:var(--red)}

@media(max-width:900px){
  .product-card{grid-template-columns:350px minmax(0,1fr)}
  .product-image-wrap img{max-width:326px;max-height:326px}
  .product-info h3.title-lg{font-size:30px}.product-info h3.title-md{font-size:27px}.product-info h3.title-sm{font-size:23px}.product-info h3.title-xs{font-size:20px}
  .product-desc.desc-lg{font-size:16px!important}.product-desc.desc-md{font-size:14.3px!important}.product-desc.desc-sm{font-size:12.5px!important}.product-desc.desc-xs{font-size:10.9px!important}
  .price-sticker{width:min(100%,350px)!important;min-height:112px!important}
  .price-main .euros{font-size:82px!important}.price-main .cents{font-size:37px!important}.price-main .currency{font-size:27px!important}.unit-line{font-size:12.2px!important}
  .back-logo-minimal{width:370px;height:210px}.back-minimal h2{font-size:66px}.social-links{bottom:92px}.social-link{width:64px;height:64px}
}

@media print{
  .manual-cover-image{object-fit:cover}
  .social-link{print-color-adjust:exact;-webkit-print-color-adjust:exact}
}

/* =========================================================
   V10 · ARRASTRE DE PÁGINA CON BOTÓN DERECHO DEL RATÓN
   ========================================================= */
.stage{user-select:none;-webkit-user-select:none}
.stage.right-dragging{cursor:grabbing!important}
.stage.right-dragging .catalog-page.visible{will-change:transform,filter}
@media (hover:hover) and (pointer:fine){
  .stage{cursor:default}
  .catalog-page.visible{cursor:grab}
  .stage.right-dragging .catalog-page.visible{cursor:grabbing}
}


/* =========================================================
   V12 · HOJA ARRASTRABLE CON RATÓN
   ========================================================= */
.catalog-page.visible{
  cursor:grab;
  user-select:none;
  -webkit-user-select:none;
  -moz-user-select:none;
  touch-action:pan-y;
  will-change:transform,filter;
}
.catalog-page.visible img{
  -webkit-user-drag:none;
  user-drag:none;
  pointer-events:none;
}
.stage.page-dragging .catalog-page.visible,
html.catalog-mouse-dragging .catalog-page.visible{
  cursor:grabbing!important;
}
html.catalog-mouse-dragging,
html.catalog-mouse-dragging body{
  user-select:none!important;
  -webkit-user-select:none!important;
  cursor:grabbing!important;
}

/* =========================================================
   V13 · PASO DE PÁGINA FÍSICO / EFECTO LIBRO REAL
   ========================================================= */
.book{
  perspective:2500px;
  perspective-origin:50% 48%;
  transform-style:preserve-3d;
  isolation:isolate;
}
.book.turning-book{overflow:visible}
.book.turning-book>.catalog-page.visible{z-index:1}
.real-turn-underlay,
.real-turn-leaf,
.real-turn-cast{
  position:absolute;
  top:0;
  width:var(--pageW);
  height:var(--pageH);
  pointer-events:none;
}
.real-turn-underlay{
  z-index:18;
  overflow:hidden;
  background:var(--paper);
  box-shadow:inset 0 0 0 1px #d3d7dc;
}
.real-turn-underlay:after{
  content:"";
  position:absolute;
  inset:0;
  pointer-events:none;
  background:linear-gradient(90deg,rgba(0,0,0,.09),transparent 8%,transparent 92%,rgba(0,0,0,.035));
  mix-blend-mode:multiply;
}
.real-turn-leaf{
  z-index:80;
  transform-style:preserve-3d;
  backface-visibility:visible;
  will-change:transform,filter;
  border-radius:0 3px 3px 0;
}
.real-turn-leaf.prev{border-radius:3px 0 0 3px}
.real-turn-face{
  position:absolute;
  inset:0;
  overflow:hidden;
  transform-style:preserve-3d;
  backface-visibility:hidden;
  -webkit-backface-visibility:hidden;
  background:var(--paper);
  box-shadow:inset 0 0 0 1px rgba(19,31,50,.13);
}
.real-turn-front{transform:rotateY(0deg) translateZ(.35px)}
.real-turn-back{transform:rotateY(180deg) translateZ(.35px);background:#fffdf8}
.real-turn-front:after,
.real-turn-back:after{
  content:"";
  position:absolute;
  inset:0;
  pointer-events:none;
  opacity:.9;
}
.real-turn-leaf.next .real-turn-front:after{
  background:linear-gradient(90deg,rgba(0,0,0,.13),transparent 10%,transparent 72%,rgba(255,255,255,.28) 88%,rgba(0,0,0,.12));
}
.real-turn-leaf.next .real-turn-back:after{
  background:linear-gradient(90deg,rgba(255,255,255,.18),transparent 14%,transparent 72%,rgba(0,0,0,.16));
}
.real-turn-leaf.prev .real-turn-front:after{
  background:linear-gradient(270deg,rgba(0,0,0,.13),transparent 10%,transparent 72%,rgba(255,255,255,.28) 88%,rgba(0,0,0,.12));
}
.real-turn-leaf.prev .real-turn-back:after{
  background:linear-gradient(270deg,rgba(255,255,255,.18),transparent 14%,transparent 72%,rgba(0,0,0,.16));
}
.real-turn-gloss{
  position:absolute;
  inset:0;
  z-index:6;
  pointer-events:none;
  opacity:0;
  mix-blend-mode:screen;
  background:linear-gradient(90deg,transparent 20%,rgba(255,255,255,.10) 42%,rgba(255,255,255,.72) 50%,rgba(255,255,255,.12) 58%,transparent 80%);
  transform:translateX(-18%);
  backface-visibility:hidden;
}
.real-turn-leaf.prev .real-turn-gloss{background:linear-gradient(270deg,transparent 20%,rgba(255,255,255,.10) 42%,rgba(255,255,255,.72) 50%,rgba(255,255,255,.12) 58%,transparent 80%)}
.real-turn-paper-edge{
  position:absolute;
  top:0;
  bottom:0;
  width:2px;
  z-index:8;
  background:linear-gradient(#fff,#d8d3c9 48%,#fff);
  box-shadow:0 0 2px rgba(0,0,0,.28);
}
.real-turn-leaf.next .real-turn-paper-edge{right:0}
.real-turn-leaf.prev .real-turn-paper-edge{left:0}
.real-turn-cast{
  z-index:35;
  opacity:0;
  transform-origin:center;
  will-change:opacity,transform;
}
.real-turn-cast.next{
  background:linear-gradient(90deg,rgba(0,0,0,.36),rgba(0,0,0,.13) 18%,transparent 58%);
  transform-origin:left center;
}
.real-turn-cast.prev{
  background:linear-gradient(270deg,rgba(0,0,0,.36),rgba(0,0,0,.13) 18%,transparent 58%);
  transform-origin:right center;
}
/* sombra del lomo, muy sutil: da sensación de dos hojas físicas */
.book:not(.single):before{
  content:"";
  position:absolute;
  z-index:12;
  top:0;
  bottom:0;
  left:calc(var(--pageW) - 12px);
  width:24px;
  pointer-events:none;
  background:linear-gradient(90deg,transparent,rgba(0,0,0,.13) 48%,rgba(255,255,255,.22) 52%,transparent);
}
.book.single:before{display:none}
.stage.page-dragging .book-shell{filter:drop-shadow(0 20px 28px rgba(0,0,0,.48))}
@media (prefers-reduced-motion:reduce){
  .real-turn-leaf,.real-turn-cast{transition:none!important}
}

/* =========================================================
   V14 · PRODUCTO +15% / SEPARACIÓN VISUAL SANGÜI
   - Imagen de producto exactamente ~15% mayor (326 -> 375 px)
   - Zona de imagen con azul Sangüi muy suave
   - Zona editorial de título/descripción en blanco
   - Separador sutil para reforzar jerarquía sin recargar
   ========================================================= */
.product-card{
  grid-template-columns:380px minmax(0,1fr)!important;
  background:#ffffff!important;
  border-color:#d3dce7!important;
}
.product-image-wrap{
  padding:12px 8px 12px 18px!important;
  background:#f1f6fc!important;
  border-right:2px solid #d9e6f4!important;
  box-shadow:inset -5px 0 0 rgba(18,75,147,.025)!important;
}
.product-image-wrap img{
  max-width:375px!important;
  max-height:375px!important;
  width:100%!important;
  height:100%!important;
  object-fit:contain!important;
}
.product-info{
  background:#ffffff!important;
  padding:23px 20px 20px 16px!important;
}
.product-info:before{
  content:"";
  display:block;
  width:38px;
  height:4px;
  background:var(--yellow);
  margin:0 0 9px 0;
  border-radius:999px;
}
.brand-row{margin-bottom:5px!important}
.price-sticker{
  width:min(100%,325px)!important;
}

/* Mantener el mismo diseño interno al escalar el visor para móvil. */
@media(max-width:900px){
  .product-card{grid-template-columns:380px minmax(0,1fr)!important}
  .product-image-wrap{padding:12px 8px 12px 18px!important;background:#f1f6fc!important;border-right:2px solid #d9e6f4!important}
  .product-image-wrap img{max-width:375px!important;max-height:375px!important}
  .product-info{padding:23px 20px 20px 16px!important;background:#fff!important}
  .price-sticker{width:min(100%,325px)!important}
}

@media print{
  .product-image-wrap{
    background:#f1f6fc!important;
    -webkit-print-color-adjust:exact;
    print-color-adjust:exact;
  }
}


/* V15 · navegación estable: sin arrastre ni giro 3D */
.catalog-page.visible{cursor:pointer;user-select:none}
.catalog-page.visible button,.catalog-page.visible a,.catalog-page.visible input,.catalog-page.visible select,.catalog-page.visible textarea,.catalog-page.visible label{cursor:auto}
.real-turn-leaf,.real-turn-underlay,.real-turn-cast,.real-turn-gloss,.real-turn-paper-edge{display:none!important}
#book.turning-book{transform-style:flat!important}
#stage.page-dragging,#stage.right-dragging,.catalog-mouse-dragging{cursor:default!important}
@media (hover:none){.catalog-page.visible{cursor:default}}

/* =========================================================
   V16 · JERARQUÍA TIPOGRÁFICA UNIFORME + VISIBILIDAD ESTRICTA
   Todos los productos usan exactamente el mismo tamaño de
   título y descripción para evitar desorden visual.
   ========================================================= */
.product-info h3,
.product-info h3.title-lg,
.product-info h3.title-md,
.product-info h3.title-sm,
.product-info h3.title-xs,
.product-info h3.title-uniform{
  font-size:27px!important;
  line-height:1.08!important;
  font-weight:900!important;
  letter-spacing:-.018em!important;
  margin:0 0 8px!important;
  max-height:none!important;
  min-height:0!important;
  overflow:visible!important;
  display:block!important;
  -webkit-line-clamp:unset!important;
  text-overflow:clip!important;
}
.product-desc,
.product-desc.desc-lg,
.product-desc.desc-md,
.product-desc.desc-sm,
.product-desc.desc-xs,
.product-desc.desc-xxs,
.product-desc.desc-xxxs,
.product-desc.desc-uniform{
  font-size:14px!important;
  line-height:1.32!important;
  font-weight:500!important;
  letter-spacing:0!important;
  margin:5px 0 10px!important;
  min-height:0!important;
  max-height:none!important;
  overflow:visible!important;
  display:block!important;
  -webkit-line-clamp:unset!important;
  text-overflow:clip!important;
  overflow-wrap:anywhere!important;
  hyphens:auto;
}
.product-info{
  min-width:0!important;
  overflow:hidden!important;
}
.price-box{margin-top:auto!important}
.price-sticker{
  text-align:center!important;
  align-items:center!important;
  justify-content:center!important;
}
.unit-line{
  width:100%!important;
  text-align:center!important;
  line-height:1.15!important;
}
@media(max-width:900px){
  .product-info h3,
  .product-info h3.title-lg,
  .product-info h3.title-md,
  .product-info h3.title-sm,
  .product-info h3.title-xs,
  .product-info h3.title-uniform{font-size:27px!important;line-height:1.08!important}
  .product-desc,
  .product-desc.desc-lg,
  .product-desc.desc-md,
  .product-desc.desc-sm,
  .product-desc.desc-xs,
  .product-desc.desc-xxs,
  .product-desc.desc-xxxs,
  .product-desc.desc-uniform{font-size:14px!important;line-height:1.32!important}
}

/* =========================================================
   V17 · TÍTULOS DE PRODUCTO MÁS LIMPIOS Y UNIFORMES
   Reducción aproximada del 20% respecto a V16 (27px -> 22px).
   Se mantiene un único tamaño para TODOS los productos.
   ========================================================= */
.product-info h3,
.product-info h3.title-lg,
.product-info h3.title-md,
.product-info h3.title-sm,
.product-info h3.title-xs,
.product-info h3.title-uniform{
  font-size:22px!important;
  line-height:1.12!important;
  font-weight:900!important;
  letter-spacing:-.012em!important;
  margin:0 0 9px!important;
  max-height:none!important;
  overflow:visible!important;
  text-wrap:balance;
}

/* Mantener el mismo criterio tipográfico en móvil: el visor ya escala la hoja. */
@media(max-width:900px){
  .product-info h3,
  .product-info h3.title-lg,
  .product-info h3.title-md,
  .product-info h3.title-sm,
  .product-info h3.title-xs,
  .product-info h3.title-uniform{
    font-size:22px!important;
    line-height:1.12!important;
    margin-bottom:9px!important;
  }
}

/* =========================================================
   V19 · DESCRIPCIONES JUSTIFICADAS
   Alineación editorial homogénea a ambos márgenes, conservando
   la legibilidad en columnas estrechas y evitando huecos excesivos.
   ========================================================= */
.product-desc,
.product-desc.desc-lg,
.product-desc.desc-md,
.product-desc.desc-sm,
.product-desc.desc-xs,
.product-desc.desc-xxs,
.product-desc.desc-xxxs,
.product-desc.desc-uniform{
  text-align:justify!important;
  text-align-last:left!important;
  text-justify:inter-word!important;
  hyphens:auto!important;
  -webkit-hyphens:auto!important;
  word-break:normal!important;
  overflow-wrap:break-word!important;
  word-spacing:normal!important;
}

/* =========================================================
   V22 · ESCENARIO CORPORATIVO SANGÜI
   - Sustituye el fondo marrón por azul corporativo profundo.
   - Fotografía real de tienda a baja presencia para dar identidad.
   - Sin degradados: color plano + velo azul uniforme.
   - Topbar/toolbar integradas con la paleta Sangüi.
   ========================================================= */
:root{
  --stage:#082f63!important;
}
html,body{
  background:#061a34!important;
}
.viewer{
  background:#082f63!important;
}
.topbar,
.toolbar{
  background:#072b5d!important;
  color:#fff!important;
}
.topbar{
  border-bottom:3px solid var(--red)!important;
}
.toolbar{
  border-top:2px solid #164f91!important;
}
.search-box{
  background:#0b376e!important;
  border:1px solid #5d83b0!important;
  box-shadow:inset 0 0 0 1px rgba(255,255,255,.04)!important;
}
.search-box input::placeholder{
  color:#dbe8f6!important;
}
.stage{
  position:relative!important;
  background:#082f63!important;
  isolation:isolate;
}
.stage::before{
  content:"";
  position:absolute;
  inset:0;
  z-index:-2;
  background-image:url('stage-sangui.webp');
  background-size:cover;
  background-position:center 44%;
  background-repeat:no-repeat;
  opacity:.32;
  pointer-events:none;
}
.stage::after{
  content:"";
  position:absolute;
  inset:0;
  z-index:-1;
  background:rgba(4,29,61,.68);
  pointer-events:none;
}
.book-shell{
  position:relative;
  z-index:2;
  filter:drop-shadow(0 18px 28px rgba(0,0,0,.48))!important;
}
.edge-nav{
  color:#fff!important;
  text-shadow:0 3px 10px rgba(0,0,0,.65)!important;
}
.viewer-brand span{
  color:#fff!important;
}
.page-indicator{
  border:1px solid #d9e3ef;
}
@media(max-width:900px){
  .stage::before{opacity:.20;background-position:center center}
  .stage::after{background:rgba(4,29,61,.78)}
}
@media print{
  .viewer,.stage{background:#fff!important}
  .stage::before,.stage::after{display:none!important}
}

/* =========================================================
   V24 · MÓVIL SIN DESPLAZAMIENTO HORIZONTAL
   La página completa se encaja siempre en el ancho y alto
   disponibles. El book-shell sale del flujo para que sus
   800 px de diseño no generen una barra horizontal real.
   ========================================================= */
html,body{
  width:100%;
  max-width:100%;
  overflow-x:hidden!important;
}
.viewer{
  width:100%;
  max-width:100vw;
  overflow:hidden;
}
.stage{
  min-width:0;
  max-width:100%;
}
.book-shell{
  position:absolute!important;
  left:50%;
  top:50%;
  margin:0!important;
  transform-origin:center center!important;
}

@supports(height:100dvh){
  .viewer{height:100dvh}
}

@media(max-width:900px){
  html,body{
    width:100vw;
    max-width:100vw;
    overflow:hidden!important;
    overscroll-behavior-x:none;
    touch-action:pan-y;
  }
  .viewer{
    width:100vw;
    max-width:100vw;
    min-width:0;
    overflow:hidden!important;
  }
  .topbar,.toolbar,.stage{
    width:100%;
    max-width:100%;
    min-width:0;
    overflow:hidden;
  }
  .topbar{padding-left:max(7px,env(safe-area-inset-left));padding-right:max(7px,env(safe-area-inset-right));gap:7px}
  .viewer-brand{min-width:0;flex:0 0 auto}
  .viewer-brand img{width:92px;max-width:24vw}
  .search-box{flex:1 1 0!important;width:0!important;min-width:0!important;max-width:none!important;margin-left:2px}
  .search-box input{width:100%;min-width:0}
  .stage{
    padding:7px 8px!important;
    position:relative;
    display:block!important;
    overflow:hidden!important;
    touch-action:pan-y;
  }
  .book-shell{
    position:absolute!important;
    left:50%!important;
    top:50%!important;
    margin:0!important;
    flex:none!important;
  }
  .book,.book.single{max-width:none!important;max-height:none!important}
  .edge-nav{z-index:45}
  .edge-nav.prev{left:0!important}.edge-nav.next{right:0!important}
  .toolbar{padding-left:max(6px,env(safe-area-inset-left));padding-right:max(6px,env(safe-area-inset-right));justify-content:space-between}
  .tool-group{min-width:0;flex:0 0 auto}
  #zoomOutBtn,#zoomInBtn{display:none!important}
}

@media(max-width:430px){
  .viewer-brand img{width:82px;max-width:23vw}
  .icon-btn{width:34px}
  .search-box input{font-size:14px!important;padding-left:9px!important}
  .search-box button{width:38px!important}
  .stage{padding-left:6px!important;padding-right:6px!important}
}


/* =========================================================
   V25 · MÓVIL ESTABLE, SIN PAN HORIZONTAL NI ZOOM AL BUSCAR
   - El viewport queda fijado: no existe lienzo lateral desplazable.
   - Safari no hace auto-zoom al enfocar el buscador (16 px mínimo).
   - El book-shell mide físicamente lo que ocupa la hoja escalada.
   - El teclado puede abrir/cerrar sin dejar el visor agrandado.
   ========================================================= */
@media(max-width:900px){
  html{
    width:100%!important;
    height:100%!important;
    max-width:100%!important;
    overflow:hidden!important;
    overscroll-behavior:none!important;
    background:#061a34!important;
  }
  body{
    position:fixed!important;
    inset:0!important;
    width:100%!important;
    height:100%!important;
    min-width:0!important;
    max-width:100%!important;
    margin:0!important;
    padding:0!important;
    overflow:hidden!important;
    overscroll-behavior:none!important;
  }
  #app.viewer{
    position:fixed!important;
    inset:0!important;
    width:auto!important;
    height:auto!important;
    min-width:0!important;
    max-width:none!important;
    overflow:hidden!important;
  }
  .topbar,.toolbar,.stage{
    min-width:0!important;
    max-width:100%!important;
  }
  .stage{
    width:100%!important;
    overflow:hidden!important;
    overscroll-behavior:none!important;
    touch-action:manipulation!important;
    contain:layout paint!important;
  }
  .book-shell{
    position:absolute!important;
    margin:0!important;
    max-width:calc(100% - 8px)!important;
    max-height:calc(100% - 8px)!important;
    overflow:hidden!important;
    contain:strict!important;
    transform-origin:center center!important;
  }
  .book{
    position:absolute!important;
    left:0!important;
    top:0!important;
    margin:0!important;
    transform-origin:top left!important;
  }
  .search-box{
    min-width:0!important;
    max-width:100%!important;
    overflow:hidden!important;
  }
  .search-box input,
  .search-box input:focus{
    font-size:16px!important;
    line-height:1.2!important;
    min-width:0!important;
    width:100%!important;
    transform:none!important;
    zoom:1!important;
  }
  .search-results{
    left:max(8px,env(safe-area-inset-left))!important;
    right:max(8px,env(safe-area-inset-right))!important;
    width:auto!important;
    max-width:none!important;
    overflow-x:hidden!important;
  }
  .drawer{
    max-width:calc(100vw - 16px)!important;
  }
}
@media(max-width:430px){
  .search-box input,
  .search-box input:focus{font-size:16px!important}
}


/* =========================================================
   V26 · EXPERIENCIA MÓVIL NATIVA Y ESTABLE
   - La hoja siempre cabe completa en el viewport del móvil.
   - Sin desplazamiento horizontal ni zoom accidental de Safari.
   - Flechas laterales e inferiores con zonas táctiles reales.
   - Búsqueda compacta: se abre como capa, no deforma el visor.
   ========================================================= */
@media(max-width:900px){
  html{
    width:100%!important;height:100%!important;overflow:hidden!important;
    overscroll-behavior:none!important;background:#061a34!important;
  }
  body{
    position:relative!important;inset:auto!important;width:100%!important;height:100%!important;
    min-width:0!important;max-width:100%!important;margin:0!important;padding:0!important;
    overflow:hidden!important;overscroll-behavior:none!important;
  }
  #app.viewer{
    position:relative!important;inset:auto!important;width:100%!important;max-width:100%!important;
    height:100vh!important;height:100dvh!important;min-height:0!important;overflow:hidden!important;
    display:grid!important;grid-template-rows:56px minmax(0,1fr) 60px!important;
  }
  .topbar{
    position:relative!important;z-index:90!important;width:100%!important;height:56px!important;
    min-width:0!important;max-width:100%!important;padding:0 9px!important;gap:8px!important;
    overflow:visible!important;flex-wrap:nowrap!important;
  }
  .icon-btn{
    width:40px!important;height:44px!important;min-width:40px!important;flex:0 0 40px!important;
    font-size:28px!important;display:grid!important;place-items:center!important;touch-action:manipulation!important;
  }
  .viewer-brand{flex:0 0 auto!important;min-width:0!important}
  .viewer-brand img{width:96px!important;height:40px!important;max-width:none!important;padding:3px 8px!important}
  .viewer-brand span{display:none!important}

  /* Buscador cerrado = solo lupa. Al abrirlo ocupa la cabecera sin cambiar el ancho del documento. */
  .search-box{
    margin-left:auto!important;width:46px!important;min-width:46px!important;max-width:46px!important;
    height:42px!important;flex:0 0 46px!important;background:#0b376e!important;border:1px solid #5d83b0!important;
    border-radius:7px!important;overflow:hidden!important;z-index:120!important;
  }
  .search-box input{display:none!important;font-size:17px!important;line-height:1.2!important;min-width:0!important}
  .search-box button{width:46px!important;min-width:46px!important;height:40px!important;font-size:23px!important;touch-action:manipulation!important}
  .search-box.mobile-open{
    position:absolute!important;left:9px!important;right:9px!important;top:7px!important;
    width:auto!important;max-width:none!important;min-width:0!important;height:42px!important;
    display:flex!important;background:#0b376e!important;box-shadow:0 7px 22px rgba(0,0,0,.35)!important;
  }
  .search-box.mobile-open input{display:block!important;flex:1 1 auto!important;width:auto!important;padding:0 12px!important;color:#fff!important}
  .search-box.mobile-open button{flex:0 0 46px!important}
  .search-results{
    position:fixed!important;left:9px!important;right:9px!important;top:60px!important;width:auto!important;
    max-width:none!important;max-height:min(58vh,520px)!important;border-radius:0 0 8px 8px!important;
    overflow-x:hidden!important;-webkit-overflow-scrolling:touch!important;z-index:150!important;
  }
  .search-result{padding:14px 15px!important}
  .search-result strong{font-size:15px!important;line-height:1.2!important}
  .search-result small{font-size:12px!important}

  .stage{
    position:relative!important;width:100%!important;height:100%!important;min-width:0!important;min-height:0!important;
    max-width:100%!important;padding:8px 8px!important;margin:0!important;display:block!important;
    overflow:hidden!important;overscroll-behavior:none!important;touch-action:none!important;contain:none!important;
  }
  .book-shell{
    position:absolute!important;left:50%!important;top:50%!important;margin:0!important;
    max-width:none!important;max-height:none!important;overflow:visible!important;contain:none!important;
    transform-origin:center center!important;z-index:2!important;
  }
  .book,.book.single{
    position:absolute!important;left:0!important;top:0!important;margin:0!important;
    width:800px!important;height:1131px!important;max-width:none!important;max-height:none!important;
    transform-origin:top left!important;perspective:none!important;transform-style:flat!important;
  }
  .catalog-page.visible{touch-action:none!important;cursor:default!important}

  /* Flechas laterales: botón real, grande y por encima de la página. */
  .edge-nav{
    display:grid!important;place-items:center!important;position:absolute!important;top:50%!important;
    transform:translateY(-50%)!important;width:44px!important;height:94px!important;z-index:70!important;
    padding:0!important;border-radius:999px!important;background:rgba(4,29,61,.62)!important;
    border:1px solid rgba(255,255,255,.36)!important;color:#fff!important;font-size:56px!important;
    line-height:1!important;text-shadow:0 2px 6px rgba(0,0,0,.45)!important;box-shadow:0 5px 18px rgba(0,0,0,.22)!important;
    pointer-events:auto!important;touch-action:manipulation!important;-webkit-tap-highlight-color:transparent!important;
  }
  .edge-nav.prev{left:3px!important}.edge-nav.next{right:3px!important}
  .edge-nav:disabled{opacity:.18!important;pointer-events:none!important}

  .toolbar{
    position:relative!important;z-index:90!important;width:100%!important;height:60px!important;min-width:0!important;
    padding:0 10px max(2px,env(safe-area-inset-bottom))!important;display:grid!important;
    grid-template-columns:1fr auto 1fr!important;align-items:center!important;overflow:visible!important;
    pointer-events:auto!important;
  }
  .tool-group{display:flex!important;align-items:center!important;gap:5px!important;min-width:0!important}
  .tool-group.left{justify-content:flex-start!important}.tool-group.center{justify-content:center!important}.tool-group.right{justify-content:flex-end!important}
  .toolbar button{
    display:grid!important;place-items:center!important;width:50px!important;height:46px!important;min-width:50px!important;
    padding:0!important;border-radius:8px!important;font-size:27px!important;pointer-events:auto!important;
    touch-action:manipulation!important;-webkit-tap-highlight-color:transparent!important;
  }
  #firstBtn,#lastBtn,#zoomOutBtn,#zoomInBtn,#fullscreenBtn,#printBtn{display:none!important}
  #prevBtn,#nextBtn,#soundBtn{display:grid!important}
  #prevBtn,#nextBtn{background:rgba(255,255,255,.08)!important}
  #prevBtn:disabled,#nextBtn:disabled{opacity:.25!important}
  .page-indicator{
    min-width:92px!important;padding:9px 13px!important;border-radius:6px!important;font-size:15px!important;
    line-height:1!important;background:#fff!important;color:#0a2d5f!important;border:0!important;box-shadow:0 2px 8px rgba(0,0,0,.18)!important;
  }

  .drawer{z-index:180!important;width:min(360px,92vw)!important;max-width:92vw!important}
  .drawer-backdrop{z-index:170!important}
  .audio-prompt{z-index:190!important;bottom:70px!important}
}

@media(max-width:380px){
  .viewer-brand img{width:84px!important}
  .icon-btn{width:36px!important;min-width:36px!important;flex-basis:36px!important}
  .edge-nav{width:40px!important;height:84px!important;font-size:50px!important}
  .toolbar button{width:46px!important;min-width:46px!important}
}

/* V27 · Todos los logotipos Sangüi actúan como acceso a la web principal */
.sangui-home-link{display:inline-flex;align-items:center;justify-content:center;text-decoration:none!important;color:inherit;cursor:pointer;line-height:0;touch-action:manipulation;-webkit-tap-highlight-color:transparent}
.sangui-home-link img{display:block}
.viewer-brand>.sangui-home-link{flex:0 0 auto}
.page-head>.sangui-home-link{flex:0 0 auto}
.head-period>.sangui-home-link{display:flex;justify-content:flex-end}
.cover-placeholder-inner>.sangui-home-link,.back-minimal>.sangui-home-link{flex:0 0 auto}
.sangui-home-link:focus-visible{outline:3px solid #ffd21c;outline-offset:4px;border-radius:6px}
@media (hover:hover){.sangui-home-link img{transition:transform .16s ease,filter .16s ease}.sangui-home-link:hover img{transform:scale(1.035);filter:brightness(1.04)}}

/* =========================================================
   V30 · IDIOMAS ES / EN / DE / FR
   Selector por banderas integrado en la cabecera Sangüi.
   La traducción se aplica al folleto completo y se recuerda.
   ========================================================= */
.language-switcher{
  display:flex;align-items:center;gap:4px;flex:0 0 auto;
  padding:3px 5px;border-radius:8px;
  background:rgba(255,255,255,.065);
  border:1px solid rgba(255,255,255,.13);
}
.lang-flag{
  position:relative;display:grid!important;place-items:center!important;
  width:34px;height:30px;padding:0!important;margin:0!important;
  border:1px solid transparent!important;border-radius:6px!important;
  background:rgba(255,255,255,.07)!important;
  color:#fff!important;cursor:pointer!important;
  font-family:"Apple Color Emoji","Segoe UI Emoji","Noto Color Emoji",sans-serif!important;
  font-size:21px!important;line-height:1!important;
  transition:background .15s ease,border-color .15s ease,transform .15s ease,box-shadow .15s ease;
  -webkit-tap-highlight-color:transparent;touch-action:manipulation;
}
.lang-flag span{display:block;line-height:1;transform:translateY(-.5px)}
.lang-flag.active{
  background:#fff!important;border-color:var(--yellow)!important;
  box-shadow:0 0 0 2px rgba(255,211,26,.22),0 3px 0 var(--red)!important;
}
.lang-flag:focus-visible{outline:3px solid var(--yellow)!important;outline-offset:2px}
@media(hover:hover){
  .lang-flag:hover{background:rgba(255,255,255,.17)!important;transform:translateY(-1px)}
  .lang-flag.active:hover{background:#fff!important}
}
/* El selector nativo de Google queda fuera de pantalla: el usuario usa las banderas. */
.google-translate-host{
  position:fixed!important;left:-10000px!important;top:-10000px!important;
  width:1px!important;height:1px!important;overflow:hidden!important;opacity:0!important;pointer-events:none!important;
}
.goog-te-banner-frame,.goog-te-banner-frame.skiptranslate,iframe.goog-te-banner-frame{display:none!important}
body{top:0!important}
.goog-tooltip,.goog-tooltip:hover,.goog-text-highlight{box-shadow:none!important;background:transparent!important;border:0!important}

@media(max-width:1100px) and (min-width:901px){
  .viewer-brand span{display:none!important}
}
@media(max-width:900px){
  .language-switcher{
    gap:2px;padding:2px 3px;border-radius:7px;margin-left:0!important;
    background:rgba(255,255,255,.055);
  }
  .lang-flag{width:28px;height:28px;font-size:18px!important;border-radius:5px!important}
  .topbar .language-switcher{z-index:95}
  /* Al abrir búsqueda, ésta cubre toda la cabecera de forma intencionada. */
  .search-box.mobile-open{z-index:140!important}
}
@media(max-width:430px){
  .language-switcher{gap:1px;padding:2px}
  .lang-flag{width:26px;height:27px;font-size:17px!important}
  .viewer-brand img{width:86px!important}
}
@media(max-width:380px){
  .language-switcher{gap:1px;padding:1px 2px}
  .lang-flag{width:24px;height:25px;font-size:16px!important;border-radius:4px!important}
  .viewer-brand img{width:76px!important}
}
@media print{
  .language-switcher,.google-translate-host{display:none!important}
}

/* =========================================================
   V31 · IDIOMAS PERSISTENTES EN TODAS LAS PÁGINAS
   Google Translate puede omitir páginas con display:none.
   Cuando EN/DE/FR está activo las páginas no visibles quedan
   renderizadas fuera del lienzo, sin interacción, para que el
   traductor procese el catálogo completo de una sola vez.
   ========================================================= */
html.i18n-all-pages .catalog-page:not(.visible){
  display:block !important;
  left:-12000px !important;
  top:0 !important;
  opacity:0 !important;
  visibility:visible !important;
  pointer-events:none !important;
  z-index:-10 !important;
}
html.i18n-all-pages .catalog-page.visible{
  display:block !important;
  opacity:1 !important;
  visibility:visible !important;
  pointer-events:auto !important;
  z-index:2;
}
html.i18n-all-pages .catalog-page.visible.left-page{left:0 !important}
html.i18n-all-pages .catalog-page.visible.right-page{left:var(--pageW) !important}
html.i18n-all-pages .book.single .catalog-page.visible.single-page{left:0 !important}

@media(max-width:900px){
  html.i18n-all-pages .catalog-page.visible.left-page,
  html.i18n-all-pages .catalog-page.visible.right-page,
  html.i18n-all-pages .catalog-page.visible.single-page{left:0 !important}
}

@media print{
  html.i18n-all-pages .catalog-page{
    display:block !important;
    position:relative !important;
    left:auto !important;
    top:auto !important;
    opacity:1 !important;
    visibility:visible !important;
    pointer-events:auto !important;
    z-index:auto !important;
  }
}

/* =========================================================
   V32 · CONTROLES COMPLETOS EN MÓVIL + GOOGLE SIN AVISOS
   - Primera/última página visibles también en móvil.
   - Google Translate trabaja en segundo plano sin barra,
     globos, tooltips ni avisos superiores repetitivos.
   ========================================================= */
html,body{top:0!important}
body > .skiptranslate:not(.google-translate-host),
body > .skiptranslate > iframe,
.goog-te-banner-frame,
.goog-te-banner-frame.skiptranslate,
iframe.goog-te-banner-frame,
iframe.skiptranslate,
.VIpgJd-ZVi9od-ORHb-OEVmcd,
iframe.VIpgJd-ZVi9od-ORHb-OEVmcd,
.VIpgJd-ZVi9od-l4eHX-hSRGPd,
.VIpgJd-yAWNEb-L7lbkb,
.VIpgJd-ZVi9od-aZ2wEe-wOHMyf,
.VIpgJd-ZVi9od-aZ2wEe-wOHMyf-ti6hGc,
#goog-gt-tt,
.goog-te-balloon-frame,
.goog-te-spinner-pos{
  display:none!important;visibility:hidden!important;opacity:0!important;
  height:0!important;min-height:0!important;max-height:0!important;
  border:0!important;box-shadow:none!important;pointer-events:none!important;
}
.goog-text-highlight,.VIpgJd-yAWNEb-VIpgJd-fmcmS-sn54Q{
  background:transparent!important;box-shadow:none!important;border:0!important;
}

@media(max-width:900px){
  /* Navegación completa también en móvil: primera, anterior, siguiente, última y audio. */
  #firstBtn,#lastBtn{display:grid!important}
  #zoomOutBtn,#zoomInBtn,#fullscreenBtn,#printBtn{display:none!important}
  .tool-group{gap:3px!important}
  .toolbar button{width:44px!important;min-width:44px!important;height:44px!important;font-size:24px!important}
  #firstBtn,#lastBtn{font-size:22px!important}
  .page-indicator{min-width:78px!important;padding:9px 9px!important;font-size:14px!important}
}
@media(max-width:380px){
  .toolbar{padding-left:5px!important;padding-right:5px!important}
  .toolbar button{width:40px!important;min-width:40px!important;height:42px!important;font-size:22px!important}
  #firstBtn,#lastBtn{font-size:20px!important}
  .page-indicator{min-width:70px!important;padding-left:7px!important;padding-right:7px!important;font-size:13px!important}
}


/* ============================================================
   V34 · ZOOM TEMPORAL CON DOS DEDOS · MOBILE / TABLET
   Amplía la página mientras el usuario mantiene dos dedos y
   vuelve a la escala exacta del visor al soltarlos.
   ============================================================ */
@media (pointer:coarse), (max-width:900px){
  #bookShell.pinch-zooming{
    transition:none!important;
    will-change:transform;
    z-index:85!important;
  }
  #bookShell.pinch-resetting{
    transition:transform .22s cubic-bezier(.22,.82,.3,1)!important;
    will-change:transform;
    z-index:85!important;
  }
  html.pinch-active .edge-nav,
  html.pinch-active .toolbar{
    pointer-events:none!important;
  }
  html.pinch-active .catalog-page.visible{
    cursor:zoom-in!important;
  }
  /* El navegador no hace zoom propio: el visor controla el gesto para
     poder restaurar siempre la página exactamente al soltar los dedos. */
  #stage{touch-action:none!important;}
}


/* V35 · Restauración garantizada del zoom táctil temporal */
@media (pointer:coarse), (max-width:900px){
  #bookShell.pinch-zooming{z-index:85!important;transition:none!important;will-change:transform!important}
  #bookShell.pinch-resetting{z-index:85!important;transition:transform .22s cubic-bezier(.22,.82,.3,1)!important;will-change:transform!important}
  html:not(.pinch-active) #book{transform-origin:top left!important}
}
\n\n/* V36 · Zoom táctil temporal desplazable */
@media (pointer:coarse), (max-width:900px){
  #bookShell.pinch-zooming{
    cursor:grabbing!important;
    transition:none!important;
    will-change:transform!important;
  }
  html.pinch-active #stage{
    touch-action:none!important;
    overscroll-behavior:none!important;
  }
  html.pinch-active .catalog-page.visible{
    user-select:none!important;
    -webkit-user-select:none!important;
  }
}
/* V37 · promoción textual sincronizada desde Superprecios */
.tag.promo{background:var(--red);color:#fff}


/* V38: precio principal inequívoco para frescos de peso/volumen variable */
.price-unit-suffix{font-size:24px;font-weight:1000;line-height:1;margin:0 0 9px 4px;letter-spacing:-.02em;white-space:nowrap}
.price-box.direct-measure .price-sticker{min-height:118px}
.price-box.direct-measure .unit-line{font-size:13px!important;font-weight:1000!important}
@media (max-width:700px){.price-unit-suffix{font-size:13px;margin:0 0 3px 2px}}

/* V39 · disponibilidad y precios específicos por tienda */
.availability-note{margin:7px 0 4px;padding:7px 9px;border-radius:8px;background:#eef5ff;border:1px solid #c8dcf5;color:#0b3566;font-size:11px;line-height:1.25;font-weight:700}
.availability-note b{color:#e30613;font-weight:1000;margin-right:4px}
.price-box.store-specific-prices{display:block!important;min-height:0!important;padding:7px 0 0!important;background:transparent!important;border:0!important}
.multi-store-price{width:100%;border:3px solid #082a55;border-radius:15px;background:#ffd21a;box-shadow:6px 6px 0 #e30613;padding:9px 12px 10px;color:#082a55}
.multi-store-title{text-align:center;font-size:12px;font-weight:1000;letter-spacing:.08em;margin-bottom:5px}
.store-price-line{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px;align-items:center;border-top:1px solid #082a5533;padding:5px 0;line-height:1.1}
.store-price-line:first-of-type{border-top:0}
.store-price-line span{font-size:10px;font-weight:850;overflow-wrap:anywhere}
.store-price-line strong{font-size:18px;font-weight:1000;white-space:nowrap}
.products-list.count-2 .availability-note{font-size:9px;padding:5px 7px;margin:4px 0 2px}
.products-list.count-2 .multi-store-price{padding:6px 8px 7px;border-width:2px;border-radius:10px;box-shadow:4px 4px 0 #e30613}
.products-list.count-2 .multi-store-title{font-size:9px;margin-bottom:3px}
.products-list.count-2 .store-price-line{padding:3px 0;gap:5px}
.products-list.count-2 .store-price-line span{font-size:7.5px}
.products-list.count-2 .store-price-line strong{font-size:12px}
@media (max-width:700px){.availability-note{font-size:6px;padding:4px 5px}.multi-store-title{font-size:7px}.store-price-line span{font-size:6px}.store-price-line strong{font-size:9px}.multi-store-price{padding:5px 6px;border-width:2px;box-shadow:3px 3px 0 #e30613}}


/* V40 · disponibilidad protagonista debajo de la imagen + enlace directo a Superprecios */
.product-image-wrap{grid-template-rows:minmax(0,1fr) auto!important;align-items:center!important;justify-items:center!important;gap:12px!important}
.availability-note.availability-link{width:100%;max-width:326px;box-sizing:border-box;margin:0!important;padding:12px 14px!important;border:2px solid #0a4b92!important;border-radius:12px!important;background:#eef6ff!important;color:#082a55!important;text-decoration:none!important;display:flex!important;flex-direction:column!important;gap:4px!important;line-height:1.15!important;box-shadow:0 3px 0 #0a4b9212;transition:transform .16s ease,box-shadow .16s ease,background .16s ease}
.availability-note.availability-link:hover{transform:translateY(-1px);background:#e5f1ff!important;box-shadow:0 5px 0 #0a4b9218}
.availability-link .availability-kicker{font-size:11px;font-weight:1000;letter-spacing:.08em;color:#e30613}
.availability-link strong{font-size:14px!important;font-weight:1000!important;color:#082a55!important;margin:0!important}
.availability-link .availability-action{font-size:11px;font-weight:1000;color:#0a4b92;text-decoration:underline;text-underline-offset:2px}
.products-list.count-2 .availability-note.availability-link{padding:8px 9px!important;gap:2px!important;border-radius:9px!important}
.products-list.count-2 .availability-link .availability-kicker{font-size:7.5px}
.products-list.count-2 .availability-link strong{font-size:9px!important}
.products-list.count-2 .availability-link .availability-action{font-size:7.2px}
@media(max-width:700px){.availability-note.availability-link{padding:7px 8px!important;gap:2px!important}.availability-link .availability-kicker{font-size:6.5px}.availability-link strong{font-size:7.5px!important}.availability-link .availability-action{font-size:6.2px}}

/* V44 · precio visible en +18 cuando SUPERPRECIOS permite mostrarlo */
.adult-price-warning{width:min(100%,330px);text-align:center;background:#eef1f5;border:1px solid #cfd7e1;border-radius:9px;padding:5px 8px;color:#33455d;font-size:8.5px;line-height:1.15;font-weight:1000;letter-spacing:.015em}
.price-box.adult-visible-price{gap:5px}
.price-box.store-specific-prices .adult-price-warning{margin:7px auto 0}
.products-list.count-1 .adult-price-warning{font-size:12px;padding:7px 10px}
.products-list.count-2 .adult-price-warning{font-size:9px}
@media(max-width:700px){.adult-price-warning{font-size:6px;padding:4px 5px}}

/* ============================================================
   V45 · VIGENCIA POR PRODUCTO + FOLLETO PERSONALIZADO POR TIENDA
   ============================================================ */
.product-validity-badge{
  position:absolute;top:9px;left:14px;z-index:4;display:flex;align-items:center;gap:5px;
  max-width:calc(100% - 28px);padding:5px 8px;border:1px solid #b9d2ef;border-radius:7px;
  background:rgba(255,255,255,.96);box-shadow:0 2px 8px #001b3d16;color:#082a55;
  font-size:8px;line-height:1;white-space:nowrap;pointer-events:none
}
.product-validity-badge span{font-size:7px;font-weight:1000;letter-spacing:.08em;color:#e30613}
.product-validity-badge strong{font-size:8px;font-weight:1000;color:#082a55}
.products-list.count-1 .product-validity-badge{font-size:11px;padding:7px 10px;top:14px;left:22px}
.products-list.count-1 .product-validity-badge span{font-size:9px}.products-list.count-1 .product-validity-badge strong{font-size:11px}

.availability-note.availability-fresh{
  border:3px solid #e30613!important;background:#fff3f3!important;box-shadow:0 4px 0 #e3061320!important;
  padding:14px 15px!important;gap:5px!important
}
.availability-note.availability-fresh .availability-kicker{font-size:12px!important;color:#e30613!important}
.availability-note.availability-fresh strong{font-size:17px!important;line-height:1.08!important;color:#071f43!important}
.availability-store-names{display:block;font-size:10px;font-weight:850;color:#33455d;line-height:1.2}
.products-list.count-2 .availability-note.availability-fresh{padding:10px 10px!important;border-width:2px!important}
.products-list.count-2 .availability-note.availability-fresh .availability-kicker{font-size:8px!important}
.products-list.count-2 .availability-note.availability-fresh strong{font-size:11px!important}
.products-list.count-2 .availability-store-names{font-size:7px}
.selected-store-price-label{text-align:center;font-size:8px;font-weight:1000;letter-spacing:.055em;color:#0a4b92;margin:0 0 3px;text-transform:uppercase}
.products-list.count-1 .selected-store-price-label{font-size:11px;margin-bottom:5px}

.store-indicator{
  display:grid!important;grid-template-columns:auto minmax(0,1fr);grid-template-rows:auto auto;column-gap:6px;align-items:center;
  min-width:150px;max-width:235px;padding:6px 10px!important;border:1px solid #ffffff45!important;border-radius:9px!important;
  background:#ffffff12!important;color:#fff!important;text-align:left!important;line-height:1!important
}
.store-indicator>span{grid-row:1/3;font-size:15px}.store-indicator strong{font-size:10px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.store-indicator small{font-size:7px;opacity:.8;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.store-indicator:hover{background:#ffffff20!important}

.postcode-modal[hidden]{display:none!important}
.postcode-modal{position:fixed;inset:0;z-index:500;background:rgba(1,17,40,.78);backdrop-filter:blur(7px);display:grid;place-items:center;padding:18px;overflow:auto}
.postcode-card{width:min(560px,100%);max-height:calc(100vh - 36px);overflow:auto;background:#fff;border-radius:20px;padding:26px 28px 24px;box-shadow:0 24px 70px #0007;border:1px solid #d8e3f1;color:#071f43}
.postcode-logo{width:132px;height:52px;object-fit:contain;display:block;margin:0 auto 10px}
.postcode-kicker{display:block;text-align:center;color:#e30613;font-size:10px;font-weight:1000;letter-spacing:.1em;margin-bottom:7px}
.postcode-card h2{text-align:center;font-size:30px;line-height:1.05;margin:0 0 8px;color:#073f83}.postcode-card>p{text-align:center;color:#5a687a;font-size:14px;line-height:1.45;margin:0 auto 21px;max-width:470px}
.postcode-card label{display:block;font-size:12px;font-weight:1000;margin:0 0 7px}.postcode-row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:9px}
.postcode-row input,.postcode-row select{min-width:0;height:48px;border:1.5px solid #cbd9e9;border-radius:10px;background:#fff;padding:0 13px;color:#071f43;font:700 15px/1 system-ui,-apple-system,Segoe UI,sans-serif;outline:none}
.postcode-row input:focus,.postcode-row select:focus{border-color:#0a4b92;box-shadow:0 0 0 3px #0a4b9218}
.postcode-row button{height:48px;border:0;border-radius:10px;background:#064a94;color:#fff;padding:0 18px;font-weight:1000;cursor:pointer}.postcode-row button:disabled{opacity:.45;cursor:not-allowed}
.postcode-error{margin:10px 0 0;padding:9px 11px;border-radius:8px;border:1px solid #f0b8b8;background:#fff1f1;color:#a11313;font-size:11px;font-weight:800}
.postcode-manual{margin-top:17px;padding-top:15px;border-top:1px solid #e2e8f0}.postcode-manual>span{display:block;font-size:11px;color:#526278;font-weight:800;margin-bottom:7px}
.postcode-general{display:block;width:100%;margin-top:13px;padding:10px 12px;border:1px solid #b9cce3;border-radius:9px;background:#f5f9fd;color:#0a4b92;font-weight:900;cursor:pointer}.postcode-general:hover{background:#eaf3fb}
.postcode-privacy{display:block;text-align:center;color:#748196;font-size:9px;line-height:1.35;margin-top:12px}
html.postcode-open{overflow:hidden}

@media(max-width:1050px){.store-indicator{min-width:0;max-width:170px}.store-indicator small{display:none}.store-indicator{grid-template-rows:auto}.store-indicator>span{grid-row:auto}.store-indicator strong{font-size:9px}}
@media(max-width:900px){
  .store-indicator{order:5;max-width:44px!important;width:44px!important;height:38px!important;padding:0!important;display:grid!important;place-items:center!important;border-radius:8px!important}
  .store-indicator>span{font-size:18px}.store-indicator strong,.store-indicator small{display:none!important}
  .product-validity-badge{top:5px;left:9px;padding:4px 6px;gap:3px}.product-validity-badge span{font-size:5.5px}.product-validity-badge strong{font-size:6.5px}
  .availability-note.availability-fresh{padding:8px 8px!important}.availability-note.availability-fresh .availability-kicker{font-size:7px!important}.availability-note.availability-fresh strong{font-size:9px!important}.availability-store-names{font-size:6.2px}
}
@media(max-width:560px){
  .postcode-modal{padding:10px}.postcode-card{padding:20px 16px 17px;border-radius:16px}.postcode-logo{width:112px;height:44px}.postcode-card h2{font-size:25px}.postcode-card>p{font-size:12px;margin-bottom:17px}.postcode-row{grid-template-columns:1fr}.postcode-row button{width:100%}
}
@media print{.postcode-modal,.store-indicator{display:none!important}}

/* V46 · Selector inicial con dos opciones equivalentes */
.postcode-options{display:grid;gap:11px;margin-top:16px}
.postcode-option{position:relative;border:1px solid #d8e3f1;border-radius:13px;background:#f8fbff;padding:15px 14px 13px}
.postcode-option-number{position:absolute;right:11px;top:10px;width:23px;height:23px;border-radius:999px;background:#e7f0fa;color:#064a94;display:grid;place-items:center;font:1000 10px/1 system-ui}
.postcode-option label,.postcode-manual>span:not(.postcode-option-number){display:block!important;font-size:12px!important;font-weight:1000!important;margin:0 30px 8px 0!important;color:#071f43!important}
.postcode-manual{margin-top:0!important;padding-top:15px!important;border-top:1px solid #d8e3f1!important}
.postcode-manual-help{display:block;margin:-2px 30px 9px 0;color:#66758a;font-size:10px;line-height:1.35}
.postcode-or{display:flex;align-items:center;gap:9px;color:#738096;font-size:9px;font-weight:1000;letter-spacing:.08em;text-align:center}
.postcode-or:before,.postcode-or:after{content:'';height:1px;background:#dce5ef;flex:1}
@media(max-width:560px){.postcode-option{padding:13px 12px 12px}.postcode-manual-help{margin-right:0}.postcode-option label,.postcode-manual>span:not(.postcode-option-number){margin-right:28px!important}}

/* V47 · resolución de código postal reforzada sin cambios visuales */

/* V58 · elección compacta cuando varias tiendas comparten código postal */
.postcode-candidates[hidden]{display:none!important}
.postcode-candidates{margin-top:11px;padding:11px;border:1px solid #a9c7e8;background:#eef6ff;border-radius:12px;display:grid;gap:5px}
.postcode-candidates-kicker{color:#e30613;font-size:9px;font-weight:1000;letter-spacing:.065em;text-transform:uppercase}
.postcode-candidates>strong{color:#073f83;font-size:13px;line-height:1.3}
.postcode-candidates-help{margin:0 0 4px!important;text-align:left!important;color:#5f6f83!important;font-size:10px!important;line-height:1.4!important}
.postcode-candidates-list{display:grid;gap:6px}
.postcode-candidate-row{width:100%;min-height:50px;display:grid;grid-template-columns:30px minmax(0,1fr) auto;gap:8px;align-items:center;padding:7px 8px;border:1px solid #d2deeb;border-radius:10px;background:#fff;color:#071f43;text-align:left;cursor:pointer;font:inherit;overflow:hidden;transition:border-color .15s ease,background .15s ease,transform .15s ease}
.postcode-candidate-row:hover,.postcode-candidate-row:focus-visible{border-color:#77a5d8;background:#f8fbff;outline:3px solid #0d4e9e1f}
.postcode-candidate-row:active{transform:translateY(1px)}
.postcode-candidate-pin{width:30px;height:30px;min-width:30px;max-width:30px;min-height:30px;max-height:30px;border-radius:9px;background:#edf5fe;color:#064a94;display:grid;place-items:center;font-size:15px;line-height:1;overflow:hidden}
.postcode-candidate-copy{min-width:0;display:grid;gap:2px}
.postcode-candidate-copy strong{color:#073f83;font-size:10px;line-height:1.25}
.postcode-candidate-copy small{color:#607086;font-size:8px;line-height:1.3}
.postcode-candidate-action{display:inline-flex;align-items:center;justify-content:center;min-height:30px;padding:6px 8px;border-radius:8px;background:#064a94;color:#fff;font-size:8px;font-weight:1000;white-space:nowrap}
.postcode-modal.has-postcode-candidates .postcode-or,.postcode-modal.has-postcode-candidates .postcode-manual{display:none!important}
@media(max-width:560px){.postcode-candidates{padding:9px}.postcode-candidate-row{grid-template-columns:28px minmax(0,1fr) auto;gap:6px;padding:7px}.postcode-candidate-pin{width:28px;height:28px;min-width:28px;max-width:28px;min-height:28px;max-height:28px;font-size:14px}.postcode-candidate-action{padding:6px;font-size:7.5px}}

/* V50 · Rendimiento: miniaturas bajo demanda e imágenes diferidas */
.thumbs-placeholder{padding:18px 14px;color:#64748b;font-weight:700;text-align:center;background:#f4f7fb;border:1px solid #dbe4ef;border-radius:8px}
.product-image-wrap img[data-src],.thumb img[data-src]{background:#fff}
.catalog-page{contain:layout paint style}


/* V59 · ÚNICO CAMBIO VISUAL: índice adaptable a todas las secciones.
   La cabecera y el pie conservan su posición; las tarjetas comparten el espacio disponible. */
.contents-page{
  flex-direction:column;
  padding-bottom:56px; /* Reserva física para el pie de página, que es absoluto. */
}
.contents-page.visible{display:flex}
.contents-page>.page-head{flex:0 0 122px}
.contents-page>.lead{flex:0 0 auto}
.contents-page>.contents-grid{
  flex:1 1 0;
  min-height:0;
  display:grid;
  grid-template-columns:repeat(var(--index-columns,1),minmax(0,1fr));
  grid-auto-rows:minmax(0,1fr);
  gap:var(--index-gap,14px);
  padding:4px 42px;
  align-content:stretch;
}
.contents-page .contents-card{
  width:100%;
  height:auto;
  min-height:0;
  min-width:0;
  overflow:hidden;
  grid-template-columns:var(--index-first-col,68px) minmax(0,1fr) calc(var(--index-badge,52px) + 12px);
  padding:0 var(--index-pad,18px);
  column-gap:var(--index-col-gap,0px);
}
.contents-page .contents-card>span{font-size:var(--index-number,30px)}
.contents-page .contents-card>div{min-width:0}
.contents-page .contents-card div strong{
  font-size:var(--index-title,22px);
  line-height:1.1;
  overflow-wrap:break-word;
}
.contents-page .contents-card div small{
  font-size:var(--index-meta,13px);
  line-height:1.15;
  margin-top:3px;
}
.contents-page .contents-card>b{
  width:var(--index-badge,52px);
  height:var(--index-badge,52px);
  font-size:var(--index-title,22px);
}
.contents-page>.period-note{
  flex:0 0 auto;
  min-height:54px;
  padding:10px 16px;
  margin:8px 42px 4px;
}

@media print{.contents-page{display:flex!important}}
