/*
Theme Name: Librería Humanista Editorial
Template: roseta
Version: 1.0.0
Text Domain: lh-editorial
Description: Diseño editorial y novedades de Librería Humanista. Tema hijo de Roseta.
*/

:root{--paper:#f6f3eb;--ink:#253e35;--muted:#60665e;--line:#d8dacf;--rust:#9e492d;--wash:#e6e8df;--serif:Georgia,'Times New Roman',serif}*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:30px}body{margin:0;background:var(--paper);color:var(--ink);font-family:Arial,Helvetica,sans-serif;font-size:15px;line-height:1.6}button,input,select{font:inherit}button,a,input,select{touch-action:manipulation}button,a{color:inherit}a{text-decoration:none}button{cursor:pointer}button:disabled{cursor:default;opacity:.6}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,summary:focus-visible{outline:3px solid var(--rust);outline-offset:5px}button{border:0;background:none}h1,h2,h3,p{margin:0}h1,h2,h3{font-family:var(--serif);font-weight:400;line-height:1.1}h1{font-size:clamp(46px,5.1vw,78px);letter-spacing:-2.5px}h2{font-size:clamp(34px,3.1vw,48px);letter-spacing:-1.2px}h3{font-size:25px}.wrap{max-width:1320px;margin:auto;padding-inline:60px}.note{background:var(--ink);color:#f4f0e5;font-size:11px;letter-spacing:1.25px;text-align:center;padding:9px 16px}.header{display:flex;align-items:center;justify-content:space-between;gap:25px;padding-top:27px;padding-bottom:27px;border-bottom:1px solid var(--line)}.brand{display:flex;gap:11px;align-items:center}.mark{font-family:var(--serif);font-size:39px;border:1px solid var(--ink);width:49px;height:49px;display:grid;place-items:center;line-height:1}.brand strong{font-family:var(--serif);font-size:23px;font-weight:400;display:block;line-height:1.1}.brand small{font-size:9px;letter-spacing:2px;text-transform:uppercase;display:block;margin-top:7px}nav{display:flex;gap:26px;font-size:13px}nav a:hover,.link:hover{text-decoration:underline;text-underline-offset:5px}.tools{display:flex;gap:15px;align-items:center;font-size:13px}.icon{font-size:19px}.menu{display:none}.eyebrow{text-transform:uppercase;letter-spacing:2.5px;font-size:10px;font-weight:bold;margin-bottom:23px}.hero{display:grid;grid-template-columns:1.05fr 1fr;gap:30px;align-items:center;min-height:620px;padding-top:52px;padding-bottom:58px}.hero h1 em{color:var(--rust);font-weight:400}.hero p{max-width:420px;color:var(--muted);margin:27px 0 30px;font-size:16px;line-height:1.8}.actions{display:flex;align-items:center;gap:25px;flex-wrap:wrap}.btn{display:inline-block;padding:14px 23px;background:var(--ink);color:var(--paper);font-size:13px;border:1px solid var(--ink);transition:background .2s}.btn:hover{background:#3d594b}.link{font-size:13px;border-bottom:1px solid var(--ink);padding:3px 0}.shelf{position:relative;height:480px;display:flex;align-items:center;justify-content:center;isolation:isolate}.shelf:before{content:'';position:absolute;width:400px;height:400px;border-radius:50%;background:#e4e5d7;z-index:-1}.shelf:after{content:'';position:absolute;bottom:58px;width:94%;height:1px;background:#b4b9a7}.hero-book{position:absolute;padding:0;transition:transform .3s}.hero-book img{display:block;width:100%;height:100%;object-fit:cover;box-shadow:10px 18px 22px #263b3226;border-left:4px solid #ffffff33}.hero-book:nth-child(1){width:190px;height:300px;left:5%;top:103px;transform:rotate(-10deg)}.hero-book:nth-child(2){width:202px;height:320px;left:34%;top:54px;transform:rotate(4deg);z-index:2}.hero-book:nth-child(3){width:154px;height:244px;right:0;top:160px;transform:rotate(12deg)}.hero-book:hover{transform:translateY(-9px) rotate(0deg);z-index:3}.shelf-caption{position:absolute;bottom:9px;font-size:10px;letter-spacing:2px;text-transform:uppercase}.introline{border-top:1px solid var(--line);border-bottom:1px solid var(--line);padding:18px 0;display:flex;justify-content:space-between;gap:14px;font-size:12px;color:var(--muted)}section{padding-top:80px;padding-bottom:80px}.heading{display:flex;justify-content:space-between;align-items:end;gap:20px;margin-bottom:35px}.heading .eyebrow{margin-bottom:13px}.bookgrid{display:grid;grid-template-columns:repeat(4,1fr);gap:27px}.book{min-width:0}.book-cover{display:flex;align-items:center;justify-content:center;width:100%;height:290px;background:#ebe9e0;padding:25px;position:relative;overflow:hidden}.book-cover img{max-height:100%;max-width:94%;object-fit:contain;box-shadow:5px 7px 10px #223a3020;transition:transform .25s}.book-cover:hover img{transform:translateY(-6px)}.book small{display:block;color:var(--muted);font-size:11px;margin:17px 0 7px}.book h3{font-size:22px;line-height:1.2;margin-bottom:7px}.book .author{color:var(--muted);font-size:13px}.book .price{font-size:12px;margin-top:15px}.book .price strong{font-weight:500}.route-section{background:var(--ink);color:var(--paper)}.route-intro{display:flex;justify-content:space-between;gap:70px;align-items:end;margin-bottom:42px}.route-intro p{max-width:360px;color:#d5ddd3;font-size:14px}.routes{display:grid;grid-template-columns:repeat(3,1fr);gap:35px}.route{color:inherit;text-align:left;padding:26px 0 5px;border-top:1px solid #829487}.route .number{font-family:var(--serif);font-style:italic;font-size:22px;color:#c0cdbb}.route h3{margin:23px 0 16px;font-size:31px;max-width:270px}.route p{color:#d5ddd3;min-height:70px;font-size:13px;max-width:285px}.route span:last-child{display:block;margin-top:25px;font-size:12px}.route:hover span:last-child{text-decoration:underline}.project{display:grid;grid-template-columns:1fr 1fr;gap:100px;align-items:center}.quote{font-family:var(--serif);font-size:clamp(30px,3.2vw,44px);line-height:1.3;border-left:2px solid var(--rust);padding-left:35px}.project p{margin:23px 0;color:var(--muted)}.authors{display:flex;flex-wrap:wrap;gap:10px}.authors button{border:1px solid #babfb2;padding:8px 13px;font-size:12px}.newsletter{border-top:1px solid var(--line);padding-top:45px;padding-bottom:45px;display:flex;gap:50px;align-items:center;justify-content:space-between}.newsletter h3{font-size:31px}.newsletter p{font-size:13px;color:var(--muted);margin-top:10px}.newsletter form{display:flex;border-bottom:1px solid var(--ink);max-width:470px;width:100%}.newsletter input{background:none;border:0;padding:14px 0;min-width:0;width:100%;color:var(--ink)}.newsletter button{white-space:nowrap;font-size:13px}.newsletter label{position:absolute;clip:rect(0,0,0,0)}footer{background:#eae8de;padding:40px 0}.footer-inner{display:flex;justify-content:space-between;gap:30px}.footer-inner p{font-size:12px;color:var(--muted);max-width:340px;margin-top:13px}.footer-links{display:flex;gap:25px;font-size:12px;flex-wrap:wrap}.fine{font-size:11px;color:var(--muted);margin-top:35px;padding-top:18px;border-top:1px solid #cdd0c3}.catalog-head{padding:55px 0 35px}.catalog-head p{color:var(--muted);margin-top:15px}.filters{display:flex;gap:15px;flex-wrap:wrap;margin:25px 0}.filters input{flex:1;min-width:180px}.filters input,.filters select{padding:12px;background:transparent;border:1px solid #bfc5b8;color:var(--ink);border-radius:0}.resultline{font-size:12px;color:var(--muted);margin-bottom:25px}.catalog-grid{padding-bottom:70px;row-gap:45px}.empty{grid-column:1/-1;padding:35px 0}.breadcrumb{font-size:12px;color:var(--muted);margin:30px 0}.detail{display:grid;grid-template-columns:1fr 1fr;gap:85px;padding:20px 0 60px}.detail-art{background:#e8e8dc;min-height:550px;display:flex;align-items:center;justify-content:center;padding:45px}.detail-art img{max-width:85%;max-height:470px;box-shadow:12px 15px 25px #223a3025}.detail h1{font-size:51px}.detail .by{font-size:17px;margin:17px 0 25px}.detail .description{color:var(--muted);margin-bottom:28px}.format-row{display:flex;gap:12px;margin:12px 0 20px}.format-btn{border:1px solid #aeb9a7;padding:12px 20px;text-align:left;font-size:13px;flex:1}.format-btn.active{border:2px solid var(--ink);padding:11px 19px;background:#e5e9de}.format-btn span{display:block;font-size:12px;margin-top:5px}.detail label,.detail legend{font-size:12px}.detail fieldset{border:0;padding:0;margin:0}.detail select{padding:9px;margin:7px 0 15px;display:block;background:transparent;border:1px solid #aaa}.detail-price{font-size:26px;font-family:var(--serif);margin:15px 0}.detail .btn{width:100%;margin:10px 0 15px}.hint{font-size:11px;color:var(--muted)}details{border-top:1px solid var(--line);padding:17px 0;font-size:13px}summary{cursor:pointer}.detail details p{padding-top:10px;color:var(--muted)}dialog{border:1px solid var(--line);background:var(--paper);color:var(--ink);padding:35px;max-width:540px;width:calc(100% - 30px);max-height:85vh}dialog::backdrop{background:#13251ed0}dialog h2{font-size:32px;margin:15px 0 20px}.close{float:right;font-size:23px;line-height:1}.cart-row{padding:15px 0;border-bottom:1px solid var(--line);display:flex;gap:15px;align-items:center}.cart-row img{width:45px;max-height:65px;object-fit:contain}.cart-row div{flex:1}.cart-row p{font-size:13px}.cart-row small{font-size:11px;color:var(--muted)}.cart-total{font-size:20px;margin:22px 0}dialog .hint{margin:12px 0}#toast{position:fixed;bottom:25px;left:50%;transform:translateX(-50%);background:var(--ink);color:white;padding:14px 22px;z-index:10;max-width:90vw;font-size:13px;box-shadow:0 3px 20px #0003}#toast:empty{display:none}.skip{position:absolute;left:15px;top:-70px;background:white;padding:12px;z-index:10}.skip:focus{top:15px}[hidden]{display:none!important}@media(max-width:1000px){.wrap{padding-left:30px;padding-right:30px}nav{gap:15px}.hero{min-height:550px}.shelf{transform:scale(.86);transform-origin:center}.hero-book:nth-child(1){left:0}.hero-book:nth-child(2){left:30%}.hero-book:nth-child(3){right:-10%}.book-cover{height:240px}.project{gap:45px}.detail{gap:35px}}@media(max-width:720px){.wrap{padding-left:22px;padding-right:22px}.note{font-size:9px;letter-spacing:.7px}.header{padding-top:19px;padding-bottom:19px;flex-wrap:wrap}.brand strong{font-size:21px}.brand small{font-size:8px}.mark{width:40px;height:43px;font-size:31px}.tools{gap:13px}.menu{display:block;font-size:22px}nav{display:none;width:100%;order:3;padding-top:12px;flex-wrap:wrap}nav.open{display:flex}.search-text{display:none}.hero{grid-template-columns:1fr;padding-top:40px;padding-bottom:25px;gap:5px;min-height:0}h1{font-size:49px;letter-spacing:-1.8px}.hero p{font-size:14px;margin:22px 0}.hero .eyebrow{font-size:9px;margin-bottom:19px}.hero .actions{gap:20px}.shelf{height:365px;max-width:430px;width:100%;margin:auto;transform:none}.shelf:before{width:290px;height:290px}.hero-book:nth-child(1){width:133px;height:210px;top:90px;left:5%}.hero-book:nth-child(2){width:147px;height:233px;top:45px;left:33%}.hero-book:nth-child(3){width:107px;height:170px;top:130px;right:2%}.shelf:after{bottom:50px}.shelf-caption{font-size:9px}.introline{font-size:10px;flex-wrap:wrap;justify-content:center;gap:8px 20px}section{padding-top:50px;padding-bottom:50px}.heading{align-items:start}.heading .link{font-size:11px;white-space:nowrap;margin-top:30px}.bookgrid{grid-template-columns:repeat(2,1fr);gap:27px 16px}.book-cover{height:230px;padding:19px}.book h3{font-size:20px}.book .price{font-size:11px}.book small{font-size:10px}.route-intro{display:block;margin-bottom:22px}.route-intro p{margin-top:20px}.routes{grid-template-columns:1fr;gap:20px}.route{padding-top:20px}.route h3{margin:10px 0;max-width:none}.route p{min-height:0;max-width:none}.route span:last-child{margin-top:15px}.project{grid-template-columns:1fr;gap:35px}.quote{padding-left:23px}.newsletter{display:block}.newsletter form{margin-top:20px}.footer-inner{display:block}.footer-links{margin-top:25px}.detail{grid-template-columns:1fr;gap:25px}.detail-art{min-height:350px;padding:25px}.detail-art img{max-height:320px}.detail h1{font-size:40px}.filters{gap:10px}.filters input{flex-basis:100%}.filters select{flex:1;min-width:0}.catalog-head{padding-top:30px}.catalog-head h1{font-size:45px}}@media(max-width:380px){.book-cover{height:195px}.brand strong{font-size:18px}.tools{gap:6px}.hero h1{font-size:43px}}@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*{transition:none!important}}

.wp-site-blocks{padding:0}.lh-native{padding-top:35px;padding-bottom:70px;min-height:65vh}.woocommerce .woocommerce-breadcrumb{font-size:12px;margin:0 0 30px;color:var(--muted)}.woocommerce ul.products{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:35px 25px}.woocommerce ul.products:before,.woocommerce ul.products:after{display:none}.woocommerce ul.products li.product,.woocommerce-page ul.products li.product{width:100%!important;float:none!important;margin:0!important}.woocommerce ul.products li.product a img{height:285px;width:100%;object-fit:contain;background:#eae9df;padding:23px;margin:0 0 20px}.woocommerce ul.products li.product .woocommerce-loop-product__title{font-family:var(--serif);font-size:22px;color:var(--ink);line-height:1.2;padding:0;margin:10px 0}.woocommerce ul.products li.product .price{color:var(--ink);font-size:14px;font-weight:400}.woocommerce ul.products li.product .button{border:0;border-bottom:1px solid var(--ink);padding:8px 0;border-radius:0;background:none;color:var(--ink);font-size:12px}.woocommerce a.button,.woocommerce button.button,.woocommerce input.button{border-radius:0;background:var(--ink);color:var(--paper);font-weight:400;padding:14px 20px}.woocommerce .woocommerce-ordering select,.lh-search input,.lh-search select{background:transparent;border:1px solid #aeb7a8;padding:12px;color:var(--ink);max-width:100%}.woocommerce span.onsale{border-radius:0;background:var(--ink);font-size:10px;min-height:0;line-height:2.4;padding:0 12px;top:8px;left:8px}.woocommerce div.product div.images{width:45%;background:#e9e9df;padding:35px}.woocommerce div.product div.images img{max-height:580px;width:auto;max-width:100%;object-fit:contain;margin:auto}.woocommerce div.product div.summary{width:48%}.woocommerce div.product .product_title{font-size:43px;line-height:1.15;margin-bottom:23px;letter-spacing:-1px}.woocommerce div.product p.price{font-size:25px;color:var(--ink);margin:22px 0;font-family:var(--serif)}.woocommerce-product-details__short-description,.woocommerce div.product .woocommerce-tabs{color:var(--muted)}.woocommerce div.product form.cart .variations select{background:transparent;border:1px solid #aab5a4;padding:12px;min-width:180px;color:var(--ink)}.woocommerce div.product form.cart .button{background:var(--ink);color:var(--paper);padding:16px 20px;border-radius:0}.woocommerce .quantity .qty{padding:12px;width:65px;background:transparent;border:1px solid #aeb7a8}.woocommerce div.product .woocommerce-tabs{clear:both;padding-top:35px}.woocommerce div.product .woocommerce-tabs h2{font-size:30px;margin:20px 0}.woocommerce div.product .woocommerce-tabs p{margin:15px 0}.woocommerce .related{clear:both}.woocommerce div.product .woocommerce-tabs ul.tabs li{border-radius:0;background:transparent}.woocommerce .related h2{font-size:35px;margin-bottom:30px}.woocommerce-message,.woocommerce-info{border-color:var(--ink);background:#e9eade}.woocommerce table.shop_table{border-radius:0}.woocommerce-cart-form input{background:transparent}.woocommerce div.product .product_meta{font-size:12px}.lh-search{display:flex;gap:12px;flex-wrap:wrap;margin:25px 0 35px}.lh-search input{flex:1;min-width:180px}.lh-search button{background:var(--ink);color:white;padding:10px 22px}.lh-product-note{font-size:12px;padding:15px;background:#e9eade;margin:15px 0}.lh-page h1{font-size:50px;margin-bottom:30px}.lh-page p{margin:15px 0}.lh-page{max-width:850px}.lh-native .page-title{font-size:52px;margin-bottom:20px}.lh-author{font-size:12px;color:var(--muted)}.woocommerce .woocommerce-result-count{font-size:12px}.woocommerce ul.products li.product .star-rating{display:none}.lh-ebook{margin:15px 0}.lh-ebook label{display:block;font-size:12px}.lh-ebook select{background:transparent;padding:10px;border:1px solid #aab5a4}.lh-native main{width:100%}.woocommerce form .form-row input.input-text,.woocommerce form .form-row textarea{background:transparent;padding:12px;border:1px solid #b8c0b0}.woocommerce .cart-collaterals .cart_totals{padding:25px;border:1px solid #bcc3b3}.woocommerce .woocommerce-pagination ul.page-numbers{border:0}.woocommerce nav.woocommerce-pagination{display:block}.woocommerce nav.woocommerce-pagination ul li{border:0}.woocommerce nav.woocommerce-pagination ul li span.current{background:var(--ink);color:white}.woocommerce nav.woocommerce-pagination ul li a,.woocommerce nav.woocommerce-pagination ul li span{padding:12px}.woocommerce .woocommerce-product-gallery__trigger{display:none!important}@media(max-width:720px){.woocommerce ul.products{grid-template-columns:repeat(2,minmax(0,1fr));gap:30px 16px}.woocommerce ul.products li.product a img{height:220px;padding:15px}.woocommerce ul.products li.product .woocommerce-loop-product__title{font-size:20px}.woocommerce div.product div.images,.woocommerce div.product div.summary{width:100%;float:none}.woocommerce div.product .product_title{font-size:35px}.woocommerce div.product div.images img{max-height:370px}.woocommerce .woocommerce-ordering,.woocommerce .woocommerce-result-count{float:none;margin-bottom:20px}.lh-native .page-title{font-size:40px}.woocommerce .related ul.products{grid-template-columns:repeat(2,minmax(0,1fr))}.woocommerce .cart-collaterals .cart_totals{padding:15px}.lh-search select{max-width:100%}}
.lh-page .wpcf7-form-control{max-width:100%}
/* Novedades and production navigation. */
#nav{gap:18px}#nav a[aria-current="page"]{text-decoration:underline;text-underline-offset:5px}.lh-news-heading{max-width:820px;padding:28px 0 45px}.lh-news-heading h1{margin:18px 0 24px}.lh-news-heading p{color:var(--muted);max-width:650px;font-size:17px}.lh-news-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:42px 30px}.lh-news-card{min-width:0;padding-bottom:25px;border-bottom:1px solid var(--line)}.lh-news-card time,.lh-article time{display:block;font-size:12px;color:var(--muted);margin:20px 0 12px}.lh-news-card h2{font-size:30px;line-height:1.15;letter-spacing:-.5px}.lh-news-excerpt{margin:18px 0;color:var(--muted)}.lh-news-image{display:block;background:var(--wash)}.lh-news-image img{display:block;width:100%;height:260px;object-fit:cover}.lh-news-empty{border-top:1px solid var(--line);padding:40px 0 60px;max-width:720px}.lh-news-empty h2{font-size:36px}.lh-news-empty p{margin:20px 0 28px;max-width:560px;color:var(--muted)}.lh-article{max-width:850px;margin:20px auto 50px}.lh-article-header{margin:36px 0}.lh-article h1{font-size:clamp(38px,4.5vw,64px);letter-spacing:-1.3px;overflow-wrap:anywhere}.lh-article-image{display:block;width:100%;height:auto;margin:25px 0 35px}.lh-article-content{font-size:18px;line-height:1.8;overflow-wrap:anywhere}.lh-article-content p,.lh-article-content ul,.lh-article-content ol{margin:0 0 24px}.lh-article-content h2,.lh-article-content h3{margin:35px 0 20px}.lh-article-content img{max-width:100%;height:auto}.lh-article-content a,.lh-product-note a{text-decoration:underline;text-underline-offset:3px}.lh-article-content blockquote{border-left:2px solid var(--rust);padding-left:25px;margin:30px 0;font-family:var(--serif);font-size:24px}.lh-news .navigation,.lh-news-single .navigation{display:block;margin:35px 0}.lh-news .nav-links,.lh-news-single .nav-links{display:flex;gap:20px;justify-content:space-between;flex-wrap:wrap}.lh-news .page-numbers{padding:8px 12px}.lh-news .page-numbers.current{background:var(--ink);color:var(--paper)}.lh-news-home{border-top:1px solid var(--line)}.newsletter>.btn{white-space:nowrap}.lh-page img{max-width:100%;height:auto}.lh-page a{text-decoration:underline;text-underline-offset:3px}
@media(max-width:1150px){.header{flex-wrap:wrap}.header #nav{order:3;justify-content:center;width:100%}.header .tools{margin-left:auto}.lh-news-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:720px){.header{gap:16px}.header #nav{justify-content:flex-start;gap:15px 22px}.lh-news-grid{grid-template-columns:1fr;gap:30px}.lh-news-heading{padding:15px 0 30px}.lh-news-heading p{font-size:15px}.lh-news-empty h2{font-size:30px}.lh-news-image img{height:auto;max-height:380px;object-fit:contain}.lh-article-content{font-size:16px}.newsletter>.btn{margin-top:22px}.lh-page h1{font-size:38px}}
