.mls-book-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:28px 20px}.mls-book-card{display:flex;flex-direction:column;min-width:0}.mls-book-cover-link{display:block;aspect-ratio:3/4.08;border-radius:12px;overflow:hidden;background:#fff;box-shadow:0 12px 28px rgba(32,62,87,.14);transition:transform .2s ease,box-shadow .2s ease}.mls-book-cover-link:hover{transform:translateY(-4px);box-shadow:0 18px 30px rgba(32,62,87,.2)}.mls-book-cover{display:block;width:100%;height:100%;object-fit:cover}.mls-book-cover--empty{display:grid;place-items:center;font-size:48px;color:#536a75}.mls-book-title{font-family:Georgia,serif;font-size:1.05rem;line-height:1.25;margin:13px 0 5px}.mls-book-title a{color:#182d38;text-decoration:none}.mls-book-excerpt{color:#536a75;font-size:.88rem;line-height:1.45;margin:0 0 12px}.mls-book-actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:auto}.mls-button{border:0;border-radius:999px;cursor:pointer;display:inline-flex;align-items:center;justify-content:center;gap:6px;font:600 .78rem/1.1 Arial,sans-serif;letter-spacing:.02em;padding:10px 13px;text-decoration:none;transition:transform .2s ease,filter .2s ease}.mls-button:hover{filter:brightness(.96);transform:translateY(-1px)}.mls-button--outline{border:1px solid #b9d5d7;background:#fff;color:#18323a}.mls-button--coral{background:#e97978;color:#fff}.mls-button--whatsapp{background:#31a957;color:#fff}.mls-button--ink{background:#183943;color:#fff}.mls-empty-state{padding:24px;border:1px dashed #9bbfc0;border-radius:14px}.mls-modal{display:none;position:fixed;inset:0;z-index:99999}.mls-modal.is-open{display:block}.mls-modal__backdrop{position:absolute;inset:0;background:rgba(13,35,42,.68);backdrop-filter:blur(3px)}.mls-modal__panel{position:relative;width:min(680px,calc(100% - 28px));max-height:calc(100vh - 28px);overflow:auto;margin:14px auto;padding:34px;border-radius:22px;background:linear-gradient(145deg,#fffafa,#effcff);box-shadow:0 24px 80px rgba(0,0,0,.25)}.mls-modal__close{position:absolute;right:16px;top:12px;border:0;background:transparent;color:#29444c;font-size:32px;line-height:1;cursor:pointer}.mls-modal h2{font:700 clamp(1.8rem,4vw,2.5rem)/1.1 Georgia,serif;color:#19313b;margin:.2em 0}.mls-eyebrow{color:#d56464;font:700 .74rem/1 Arial,sans-serif;letter-spacing:.13em;text-transform:uppercase;margin:0}.mls-modal__intro{color:#536a75;line-height:1.5;margin-top:8px}.mls-form-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px 16px}.mls-inquiry-form p{margin:0}.mls-form-full{grid-column:1/-1}.mls-inquiry-form label{display:block;color:#29444c;font:700 .8rem/1.3 Arial,sans-serif;margin-bottom:6px}.mls-inquiry-form input,.mls-inquiry-form textarea{box-sizing:border-box;width:100%;border:1px solid #b7d1d1;border-radius:10px;background:#fff;padding:11px 12px;color:#19313b;font:inherit}.mls-inquiry-form input:focus,.mls-inquiry-form textarea:focus{outline:3px solid rgba(233,121,120,.23);border-color:#e97978}.mls-inquiry-form input[readonly]{background:#eaf6f5;color:#52717a}.mls-form-error{color:#a83030;font-weight:700;margin:14px 0 0!important}.mls-inquiry-actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:20px}.mls-inquiry-actions .mls-button{flex:1;min-width:190px}.mls-modal-open{overflow:hidden}@media(max-width:800px){.mls-book-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:22px 14px}}@media(max-width:560px){.mls-book-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:24px 12px}.mls-book-actions{display:block}.mls-book-actions .mls-button{width:100%;margin-top:6px}.mls-book-title{font-size:.96rem}.mls-modal__panel{padding:28px 18px 20px}.mls-form-grid{grid-template-columns:1fr}.mls-form-full{grid-column:auto}.mls-inquiry-actions{display:grid}.mls-inquiry-actions .mls-button{width:100%}}

.mls-book-cover-link{border:0;cursor:pointer;font:inherit;padding:0;text-align:left;width:100%}.mls-book-cover-link:focus-visible{outline:3px solid rgba(233,121,120,.65);outline-offset:4px}.mls-book-modal{align-items:center;display:none;inset:0;justify-content:center;padding:20px;position:fixed;z-index:100000}.mls-book-modal.is-open{display:flex}.mls-book-modal__backdrop{background:rgba(13,35,42,.72);inset:0;position:absolute}.mls-book-modal__panel{background:#fffdf8;border:4px solid rgba(255,255,255,.94);border-radius:22px;box-shadow:0 24px 80px rgba(0,0,0,.3);max-height:min(88vh,760px);max-width:820px;overflow:auto;padding:clamp(24px,4vw,42px);position:relative;width:100%;z-index:1}.mls-book-modal__close{align-items:center;background:#183943;border:0;border-radius:50%;color:#fff;cursor:pointer;display:flex;font:1.7rem/1 Arial,sans-serif;height:36px;justify-content:center;padding:0 0 3px;position:absolute;right:16px;top:16px;width:36px}.mls-book-modal__close:hover,.mls-book-modal__close:focus-visible{background:#e97978}.mls-book-modal__close:focus-visible{outline:3px solid rgba(233,121,120,.4);outline-offset:3px}.mls-book-modal__grid{align-items:start;display:grid;gap:clamp(22px,4vw,42px);grid-template-columns:minmax(180px,270px) minmax(0,1fr)}.mls-book-modal__media{background:#f2f8f7;border-radius:14px;overflow:hidden}.mls-book-modal__cover{display:block;height:auto;max-height:430px;object-fit:cover;width:100%}.mls-book-modal__content{padding-top:4px}.mls-book-modal__content h2{color:#183943;font:700 clamp(1.8rem,4vw,3rem)/1.08 Georgia,serif;margin:8px 44px 8px 0}.mls-book-modal__author{color:#536a75;font:700 .88rem/1.3 Arial,sans-serif;margin:0 0 18px}.mls-book-modal__details{color:#405c65;font:1rem/1.65 Arial,sans-serif}.mls-book-modal__actions{align-items:center;display:flex;flex-wrap:wrap;gap:10px;margin-top:24px}.mls-book-modal__actions .mls-button{min-width:150px}.mls-book-modal__order{font-size:.86rem}.mls-book-modal__source{font-size:.78rem}.mls-book-modal[aria-hidden=true]{visibility:hidden}.mls-book-modal[aria-hidden=false]{visibility:visible}@media(max-width:620px){.mls-book-modal{padding:10px}.mls-book-modal__panel{border-width:3px;border-radius:16px;max-height:94vh;padding:28px 18px 22px}.mls-book-modal__grid{grid-template-columns:1fr;gap:20px}.mls-book-modal__media{margin:0 auto;max-width:210px}.mls-book-modal__cover{max-height:290px}.mls-book-modal__content h2{font-size:2rem;margin-right:34px}.mls-book-modal__details{font-size:.93rem;line-height:1.58}.mls-book-modal__actions{display:grid}.mls-book-modal__actions .mls-button{width:100%}}

/* Small, non-blocking polish that preserves the existing card proportions. */
.mls-book-cover {
	transition: transform 0.35s ease;
}

.mls-book-cover-link:hover .mls-book-cover,
.mls-book-cover-link:focus-visible .mls-book-cover {
	transform: scale(1.035);
}

.mls-modal__backdrop,
.mls-book-modal__backdrop {
	transition: opacity 0.24s ease;
}

.mls-modal__panel,
.mls-book-modal__panel {
	transform: translateY(10px) scale(0.985);
	transition: transform 0.24s ease, opacity 0.24s ease;
}

.mls-modal.is-open .mls-modal__panel,
.mls-book-modal.is-open .mls-book-modal__panel {
	transform: none;
}

.mls-modal__close,
.mls-book-modal__close {
	transition: background 0.2s ease, transform 0.2s ease;
}

.mls-modal__close:hover,
.mls-modal__close:focus-visible,
.mls-book-modal__close:hover,
.mls-book-modal__close:focus-visible {
	transform: rotate(90deg);
}

@media (prefers-reduced-motion: reduce) {
	.mls-book-cover,
	.mls-modal__backdrop,
	.mls-book-modal__backdrop,
	.mls-modal__panel,
	.mls-book-modal__panel,
	.mls-modal__close,
	.mls-book-modal__close {
		transition: none;
	}
}