.books-page{width:min(1380px,calc(100% - 40px));margin:0 auto;padding:50px 0 75px}.books-head{text-align:center;max-width:900px;margin:0 auto 34px}.books-head>p{margin:0;color:#b85f3c;font-weight:850;letter-spacing:.15em}.books-head h1{font-size:clamp(2.5rem,6vw,4.5rem);margin:7px 0 8px}.books-head>span{color:#627069;font-size:1.05rem}.books-head form{display:grid;grid-template-columns:minmax(220px,1fr) 210px auto;gap:10px;margin-top:28px}.books-head input,.books-head select{min-width:0;padding:13px 14px;border:1px solid #d6ded9;border-radius:9px;background:#fff;font:inherit}.books-head button{padding:12px 20px;border:0;border-radius:9px;background:#104f3f;color:#fff;font:inherit;font-weight:800}.books-count{color:#627069;margin:0 0 18px}.books-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:30px 22px}.books-card{display:flex;flex-direction:column;min-width:0;padding:14px;border:1px solid #e1e7e3;border-radius:14px;background:#fff;box-shadow:0 5px 18px rgba(17,75,58,.07)}.books-cover{position:relative;display:block;background:#fff;text-decoration:none}.books-cover img{display:block;width:100%;aspect-ratio:2/3;object-fit:contain;background:#fff}.books-cover b{position:absolute;right:8px;top:8px;padding:6px 8px;border-radius:7px;background:#b85f3c;color:#fff}.books-card h2{margin:12px 0 5px;font:700 1.12rem/1.18 Georgia,serif}.books-card h2 a{color:#17322a;text-decoration:none}.books-card>p{margin:0;color:#627069;line-height:1.35}.books-card>small{align-self:flex-start;margin-top:7px;padding:4px 8px;border-radius:999px;background:#edf5ef;color:#104f3f;font-weight:800}.books-card>div{display:flex;align-items:center;justify-content:space-between;margin-top:auto;padding-top:12px}.books-card strong{color:#104f3f;font-size:1.05rem}.books-card form{margin:0}.books-card form button{display:grid;place-items:center;width:42px;height:42px;border:0;border-radius:9px;background:#104f3f;color:#fff;cursor:pointer}.books-card form button svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round}.books-more{display:block;width:max-content;margin:42px auto 0;padding:13px 22px;border-radius:9px;background:#104f3f;color:#fff;text-decoration:none;font-weight:800}.books-empty{text-align:center;padding:60px 0;color:#627069}@media(max-width:950px){.books-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}@media(max-width:700px){.books-page{width:calc(100% - 24px);padding-top:32px}.books-head form{grid-template-columns:1fr 1fr}.books-head input{grid-column:1/-1}.books-head button{width:100%}.books-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:24px 14px}.books-card h2{font-size:1rem}.books-card>p{font-size:.88rem}.books-count{font-size:.9rem}}
.books-card form button{box-sizing:border-box!important;flex:0 0 44px!important;width:44px!important;min-width:44px!important;max-width:44px!important;height:44px!important;min-height:44px!important;max-height:44px!important;padding:0!important;line-height:0!important}.books-card form button svg{display:block}

.books-cover-wrap{position:relative}.books-cover-wrap>form{position:absolute;left:10px;bottom:10px;margin:0}.books-cover-price{position:absolute;right:10px;bottom:10px;padding:7px 10px;border-radius:8px;background:rgba(255,253,248,.95);color:#104f3f;font-weight:850;box-shadow:0 2px 9px rgba(0,0,0,.13)}.books-cover-wrap form button{box-sizing:border-box!important;display:grid!important;place-items:center!important;width:44px!important;min-width:44px!important;max-width:44px!important;height:44px!important;min-height:44px!important;max-height:44px!important;padding:0!important;border:0!important;border-radius:9px!important;background:#104f3f!important;color:#fff!important;line-height:0!important}

/* Escala compacta, igual al catálogo del inicio */
.books-cover img{object-position:center top}.books-cover-wrap>form{left:8px!important;bottom:8px!important}.books-cover-price{right:8px!important;bottom:8px!important;padding:6px 8px!important;font-size:.9rem!important;line-height:1!important;white-space:nowrap}.books-cover-wrap form button{width:40px!important;min-width:40px!important;max-width:40px!important;height:40px!important;min-height:40px!important;max-height:40px!important}.books-cover-wrap form button svg{width:19px!important;height:19px!important}

/* Libros sin cajas de fondo */
.books-card{padding:0!important;border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important}


/* Cuadrícula y buscador uniformes con la portada */
.books-page{width:min(1600px,calc(100% - 48px))}
.books-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:30px 22px}
.books-head form{display:grid;grid-template-columns:minmax(260px,1fr) 190px auto;gap:0;align-items:stretch}
.books-head input,.books-head select,.books-head button{height:46px;margin:0;border-radius:0}
.books-head input{border-radius:9px 0 0 9px}
.books-head select{border-left:0}
.books-head button{border-radius:0 9px 9px 0;padding-inline:20px}
.books-cover-wrap>form{position:absolute!important;left:8px!important;bottom:8px!important;margin:0!important}
@media(max-width:1100px){.books-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:760px){
 .books-page{width:calc(100% - 24px)}
 .books-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:22px 14px}
 .books-head form{grid-template-columns:1fr 1fr}
 .books-head input{grid-column:1/-1;border-radius:9px 9px 0 0}
 .books-head select{border-left:1px solid #d6ded9;border-radius:0 0 0 9px}
 .books-head button{border-radius:0 0 9px 0}
}

/* Tarjetas verticales uniformes con la portada del inicio */
.books-page{width:min(1480px,calc(100% - 40px))!important}
.books-grid{grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:38px 28px!important}
.books-card{display:flex!important;flex-direction:column!important;min-width:0!important;padding:0!important;border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important}
.books-cover-wrap{position:relative!important;width:100%!important;aspect-ratio:2/3!important;background:#fff!important;overflow:hidden!important}
.books-cover{display:block!important;width:100%!important;height:100%!important}
.books-cover img{display:block!important;width:100%!important;height:100%!important;aspect-ratio:2/3!important;object-fit:contain!important;object-position:center bottom!important;background:#fff!important}
.books-card h2{margin:12px 0 5px!important;font-size:1.12rem!important;line-height:1.18!important}
.books-card>p{margin:0!important;line-height:1.35!important}
.books-sold-out{left:12px!important;bottom:12px!important;padding:8px 13px!important;border-radius:8px!important;background:#b85f3c!important;color:#fff!important;font-family:Inter,system-ui,-apple-system,"Segoe UI",sans-serif!important;font-size:.9rem!important;line-height:1!important;font-weight:850!important}
@media(max-width:1100px){.books-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important}}
@media(max-width:760px){.books-page{width:calc(100% - 24px)!important}.books-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:28px 14px!important}.books-card h2{font-size:1rem!important}}

/* Buscador continuo en computadora */
.books-head form{width:min(900px,100%)!important;max-width:900px!important;margin:28px auto 0!important}
.books-head form input,.books-head form select,.books-head form button{box-sizing:border-box!important;width:100%!important;min-width:0!important;max-width:none!important;margin:0!important}
@media(max-width:700px){.books-head form{width:100%!important;max-width:none!important}}

/* Buscador móvil idéntico al de Inicio */
@media(max-width:760px){
 .books-head form{
   display:grid!important;
   grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;
   width:100%!important;
   max-width:none!important;
   gap:0!important;
   margin:28px 0 0!important;
 }
 .books-head form input,
 .books-head form select,
 .books-head form button{
   box-sizing:border-box!important;
   display:block!important;
   width:100%!important;
   min-width:0!important;
   max-width:none!important;
   height:46px!important;
   margin:0!important;
     font-size:1rem!important;
 }
 .books-head form input{
   grid-column:1/-1!important;
   border-radius:9px 9px 0 0!important;
   padding:13px 14px!important;
 }
 .books-head form select{
   grid-column:1!important;
   border-left:1px solid #d6ded9!important;
   border-radius:0 0 0 9px!important;
   padding:0 14px!important;
 }
 .books-head form button{
   grid-column:2!important;
   border-radius:0 0 9px 0!important;
   padding:0 18px!important;
 }
}

/* Fondo azul y portadas sin blanco */
body{background:#fff!important}
.books-cover-wrap,.books-cover,.books-cover img{background:transparent!important}
