@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;450;500;550;600;650;700&family=Newsreader:ital,opsz,wght@0,6..72,500;1,6..72,500&display=swap');
.ejc-root{--ejc-text:#263d45;--ejc-muted:#6e7777;--ejc-terracotta:#bd533d;--ejc-line:#e2e1d8;--ejc-cream:#f9f7f1;--ejc-card:#f6f4ee;color:var(--ejc-text);font-family:'DM Sans',Arial,sans-serif;font-size:15px;line-height:1.5;max-width:1190px;margin:0 auto;padding:48px 22px 76px;box-sizing:border-box}
.ejc-root *, .ejc-root *:before,.ejc-root *:after{box-sizing:border-box}
.ejc-root button,.ejc-root select,.ejc-root input{font:inherit}
.ejc-root button{cursor:pointer}
.ejc-hero{max-width:850px;margin:0 0 33px}.ejc-kicker{font-size:11px;letter-spacing:.22em;font-weight:700;color:var(--ejc-terracotta);margin-bottom:10px}
.ejc-hero h2{margin:0 0 10px;color:var(--ejc-text);font-size:clamp(35px,5vw,61px);line-height:1.08;font-weight:550;letter-spacing:-.065em}.ejc-hero h2 em{font-family:'Newsreader',Georgia,serif;font-style:italic;font-weight:500;letter-spacing:-.054em;color:var(--ejc-terracotta)}.ejc-hero p{margin:0;color:var(--ejc-muted);font-size:15px}
.ejc-search-bar{display:flex;gap:14px;margin-bottom:29px}.ejc-search-field{display:flex;align-items:center;gap:10px;border:1px solid #d6d8d4;background:white;border-radius:5px;padding:0 19px;flex:1;min-height:55px;min-width:0}.ejc-search-field:focus-within{border-color:var(--ejc-terracotta);box-shadow:0 0 0 2px #bd533d12}.ejc-magnifier{font-size:30px;line-height:1;color:var(--ejc-terracotta);transform:rotate(-25deg);display:inline-block}.ejc-search{border:0!important;outline:0!important;box-shadow:none!important;background:transparent!important;padding:13px 0!important;width:100%;min-width:0;font-size:14px!important;color:var(--ejc-text)!important}.ejc-search::placeholder{color:#8b9091}.ejc-sr{position:absolute;width:1px;height:1px;clip:rect(0,0,0,0);overflow:hidden;white-space:nowrap}
.ejc-body{display:grid;grid-template-columns:246px minmax(0,1fr);gap:40px;align-items:start}
.ejc-filters{border-top:2px solid var(--ejc-text);padding-top:17px}.ejc-filter-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:12px}.ejc-filter-head strong{font-size:17px;letter-spacing:-.025em}.ejc-clear{color:var(--ejc-terracotta);border:0;background:none;text-decoration:underline;text-underline-offset:3px;font-size:12px!important;padding:3px}
.ejc-facet{border-bottom:1px solid var(--ejc-line);padding:15px 0 17px}.ejc-facet summary{list-style:none;font-weight:700;font-size:13px;cursor:pointer;display:flex;justify-content:space-between;gap:10px;align-items:center}.ejc-facet summary::-webkit-details-marker{display:none}.ejc-facet summary:after{content:'−';font-size:19px;font-weight:400;color:var(--ejc-terracotta)}.ejc-facet:not([open]) summary:after{content:'+'}.ejc-options{padding:12px 0 0;display:flex;flex-direction:column;gap:10px;max-height:230px;overflow-y:auto;padding-right:6px}.ejc-option{display:flex;align-items:flex-start;gap:9px;font-size:12.5px;line-height:1.35;cursor:pointer;color:#465158}.ejc-option input{accent-color:var(--ejc-terracotta);flex:none;margin:1px 0 0;width:15px;height:15px}.ejc-option-name{flex:1}.ejc-count{color:#a2a5a3;font-size:11px}.ejc-options::-webkit-scrollbar{width:5px}.ejc-options::-webkit-scrollbar-thumb{background:#d4d0c6;border-radius:6px}.ejc-facet-search{width:100%;border:1px solid var(--ejc-line);border-radius:4px;padding:8px 10px;font-size:12px!important;margin-top:12px}.ejc-facet-search:focus{outline:1px solid var(--ejc-terracotta)}
.ejc-tools{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:2px 0 19px;border-bottom:1px solid var(--ejc-line);margin-bottom:19px}.ejc-status{font-size:13px;color:var(--ejc-muted)}.ejc-sort-wrap{display:flex;align-items:center;gap:10px;font-size:12px;color:var(--ejc-muted);white-space:nowrap}.ejc-sort{border:1px solid var(--ejc-line);padding:8px 26px 8px 9px;color:var(--ejc-text);border-radius:4px;background:white;max-width:180px;font-size:12px!important}
.ejc-books{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));column-gap:23px;row-gap:34px}.ejc-book{min-width:0;display:flex;flex-direction:column}.ejc-cover{border:0;display:flex;width:100%;aspect-ratio:4 / 5;align-items:center;justify-content:center;padding:14px;background:var(--ejc-card);border-radius:3px;overflow:hidden;transition:background .2s,transform .2s}.ejc-cover:hover{background:#eee9df}.ejc-cover:focus-visible,.ejc-book-title:focus-visible{outline:2px solid var(--ejc-terracotta);outline-offset:3px}.ejc-cover img{display:block;max-width:100%;max-height:100%;height:100%;width:auto;object-fit:contain;box-shadow:3px 7px 16px #263d4514}.ejc-cover-placeholder{display:flex;flex-direction:column;align-items:center;justify-content:center;background:#eee8dc;color:#55646a;max-height:94%;height:90%;width:70%;text-align:center;gap:14px;padding:15px;border:1px solid #e2dac9;box-shadow:3px 7px 16px #263d4514}.ejc-cover-placeholder:before{content:'✦';font-family:Georgia,serif;color:var(--ejc-terracotta);font-size:22px}.ejc-cover-placeholder span{font-family:'Newsreader',Georgia,serif;font-size:19px;line-height:1.1}.ejc-cover-placeholder small{font-size:10px;letter-spacing:.14em}.ejc-book-info{padding:13px 1px 0}.ejc-book-collection{color:var(--ejc-terracotta);letter-spacing:.1em;font-weight:700;font-size:10px;text-transform:uppercase;margin:0 0 5px}.ejc-book-title{display:inline;text-align:left;border:0;background:none;padding:0;margin:0 0 3px;font-size:15.5px!important;font-weight:700;line-height:1.26;color:var(--ejc-text);letter-spacing:-.02em}.ejc-book-title:hover{text-decoration:underline;text-decoration-color:var(--ejc-terracotta);text-underline-offset:3px}.ejc-book-author{font-size:12px;color:var(--ejc-muted);margin:3px 0 0}.ejc-book-age{font-size:11px;color:var(--ejc-muted);margin-top:5px}
.ejc-chips{display:flex;gap:7px;flex-wrap:wrap;margin:-5px 0 14px}.ejc-chip{border:1px solid #dfc8c1;border-radius:100px;padding:5px 10px;color:#8f4939;background:#fdf7f3;font-size:11px!important}.ejc-chip span{margin-left:7px}.ejc-empty{background:var(--ejc-card);text-align:center;padding:55px 16px}.ejc-empty p{margin:0 0 18px}.ejc-reset,.ejc-more{border:1px solid var(--ejc-text);color:var(--ejc-text);padding:12px 26px;background:transparent;border-radius:4px;font-size:13px!important;font-weight:700;transition:background .2s,color .2s}.ejc-reset:hover,.ejc-more:hover{background:var(--ejc-text);color:white}.ejc-more-container{text-align:center;padding-top:34px}.ejc-mobile-toggle{display:none}
.ejc-detail{border:0;border-radius:7px;box-shadow:0 25px 90px #162d3180;background:white;max-width:min(800px,calc(100vw - 28px));width:100%;max-height:calc(100vh - 35px);overflow-y:auto;padding:36px;color:var(--ejc-text)}.ejc-detail::backdrop{background:#1b2929aa}.ejc-detail-close{position:absolute;top:8px;right:14px;font-size:33px!important;line-height:1;border:0;background:none;color:var(--ejc-muted)}.ejc-detail-content{display:grid;grid-template-columns:minmax(120px,220px) 1fr;gap:32px;align-items:start}.ejc-detail-art{background:var(--ejc-card);padding:10px;min-height:210px;text-align:center}.ejc-detail-art img{max-width:100%;height:auto;max-height:330px;object-fit:contain}.ejc-detail h3{font-size:clamp(24px,3vw,35px);line-height:1.14;letter-spacing:-.035em;font-weight:600;margin:7px 0 7px}.ejc-detail .ejc-detail-subtitle{color:var(--ejc-muted);font-size:15px;margin:0 0 13px}.ejc-detail p{line-height:1.68;font-size:14px}.ejc-detail dt{font-size:11px;color:var(--ejc-muted)}.ejc-detail dd{font-size:12px;font-weight:700;margin:0}.ejc-detail dl{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:22px 0}.ejc-distributors{display:inline-block;background:var(--ejc-text);color:#fff!important;text-decoration:none!important;padding:12px 17px;border-radius:4px;font-size:12px;font-weight:700;transition:background .2s}.ejc-distributors:hover{background:var(--ejc-terracotta)}
@media(min-width:1200px){.ejc-books{grid-template-columns:repeat(4,minmax(0,1fr));gap:37px 21px}.ejc-body{gap:37px}}
@media(max-width:860px){.ejc-body{grid-template-columns:215px minmax(0,1fr);gap:22px}.ejc-books{grid-template-columns:repeat(2,minmax(0,1fr));gap:26px 16px}.ejc-root{padding:34px 18px 60px}}
@media(max-width:650px){.ejc-root{padding:25px 14px 50px}.ejc-hero{margin-bottom:22px}.ejc-search-bar{gap:8px;margin-bottom:18px}.ejc-search-field{min-height:50px;padding:0 12px}.ejc-mobile-toggle{display:block;white-space:nowrap;border:1px solid var(--ejc-line);background:white;border-radius:4px;padding:10px;font-size:12px!important;font-weight:700;color:var(--ejc-text)}.ejc-selected-count:not(:empty){display:inline-block;color:var(--ejc-terracotta)}.ejc-body{display:block}.ejc-filters{display:none;margin-bottom:20px;padding:12px 14px;background:var(--ejc-cream);border:1px solid var(--ejc-line)}.ejc-root.ejc-filters-visible .ejc-filters{display:block}.ejc-facet{padding:9px 0}.ejc-options{max-height:180px}.ejc-tools{padding-bottom:12px;margin-bottom:14px}.ejc-books{gap:22px 12px}.ejc-cover{padding:9px}.ejc-book-title{font-size:14px!important}.ejc-book-collection{font-size:9px}.ejc-detail{padding:33px 18px 20px}.ejc-detail-content{grid-template-columns:1fr;gap:17px}.ejc-detail-art{min-height:100px}.ejc-detail-art img{max-height:220px}}

.ejc-book-subcategory{font-size:11px;color:#836f55;margin:0 0 4px;font-style:italic}.ejc-detail .ejc-kicker{line-height:1.5}

/* Lista editorial para consulta, sin checkout */
.ejc-listbar{background:#f6f4ee;border:1px solid #e2e1d8;border-radius:5px;padding:17px 20px;margin:-5px 0 26px;display:flex;justify-content:space-between;align-items:center;gap:18px}
.ejc-listbar-intro{display:flex;flex-direction:column;gap:3px}.ejc-listbar-intro strong{font-family:Newsreader,Georgia,serif;font-size:21px;font-weight:500}.ejc-listbar-intro span{color:var(--ejc-muted);font-size:12px}
.ejc-list-open{background:#263d45;color:#fff;border:0;border-radius:4px;padding:12px 17px;font-size:13px!important;display:flex;align-items:center;gap:9px;white-space:nowrap;font-weight:700}
.ejc-list-open:hover{background:#bd533d}.ejc-list-count{background:#fff;color:#263d45;display:inline-flex;min-width:21px;height:21px;border-radius:99px;align-items:center;justify-content:center;font-size:11px}
.ejc-book-actions{padding-top:9px}.ejc-add{background:transparent;border:1px solid #d6d9d7;color:#263d45;padding:8px 12px;border-radius:3px;font-size:12px!important;font-weight:650;text-align:center;min-height:38px;transition:background .2s,border-color .2s}
.ejc-add:hover{background:#f0eee7;border-color:#bd533d}.ejc-add.ejc-is-saved{border-color:#bd533d;color:#a24432;background:#fbf1eb}.ejc-detail-add{margin:9px 0 0 10px;display:inline-block}
.ejc-list-dialog{border:0;background:#fff;max-width:min(660px,calc(100vw - 24px));width:100%;max-height:calc(100vh - 30px);overflow:auto;border-radius:7px;padding:30px 35px 35px;color:#263d45;box-shadow:0 25px 90px #162d3180;font:15px 'DM Sans',Arial,sans-serif}
.ejc-list-dialog::backdrop{background:#1b2929aa}.ejc-list-dialog button{cursor:pointer;font:inherit}.ejc-list-close{position:absolute;right:13px;top:9px;border:0;background:transparent;font-size:30px!important;color:#777}
.ejc-list-kicker{letter-spacing:.18em;color:#bd533d;font-size:10px;font-weight:800}.ejc-list-content h2{font:500 clamp(27px,4vw,39px) Newsreader,Georgia,serif;margin:7px 0}.ejc-list-content h2 em{color:#bd533d}.ejc-list-description{color:#6e7777;line-height:1.55;font-size:13px;margin:6px 0 21px}.ejc-list-empty{border:1px dashed #d6d9d7;text-align:center;padding:36px 15px;margin:18px 0}.ejc-list-empty p{font-weight:700;margin:0 0 5px}.ejc-list-empty small{color:#6e7777}.ejc-list-summary{font-size:12px;color:#bd533d;letter-spacing:.06em;text-transform:uppercase;font-weight:700;margin-bottom:8px}
.ejc-list-item{border-bottom:1px solid #e2e1d8;padding:14px 0;display:grid;grid-template-columns:1fr auto auto;gap:12px;align-items:center}.ejc-list-book{display:flex;flex-direction:column;gap:3px;min-width:0}.ejc-list-book strong{font-size:14px}.ejc-list-book span,.ejc-list-book small{color:#6e7777;font-size:11px}.ejc-list-controls{display:inline-flex;align-items:center;border:1px solid #d6d9d7;border-radius:3px;white-space:nowrap}.ejc-list-controls button{background:#f9f7f1;border:0;min-width:30px;height:30px}.ejc-list-controls span{padding:0 9px;font-weight:700;font-variant-numeric:tabular-nums}.ejc-list-remove{color:#8f4235;text-decoration:underline;border:0;background:transparent;font-size:11px!important}.ejc-list-actions{margin-top:22px;display:grid;grid-template-columns:1fr 1fr;gap:9px}.ejc-list-actions button,.ejc-list-actions a{text-align:center;display:block;border:1px solid #263d45;background:#fff;color:#263d45;padding:11px 9px;border-radius:3px;text-decoration:none!important;font-size:12px!important;font-weight:700}.ejc-list-actions .ejc-list-copy{background:#263d45;color:#fff}.ejc-list-actions .ejc-list-whatsapp{background:#f1f5f1;border-color:#bfcfc1}.ejc-list-actions button:hover,.ejc-list-actions a:hover{border-color:#bd533d;color:#bd533d}.ejc-list-distributor{display:flex;justify-content:space-between;gap:8px;flex-wrap:wrap;border-top:1px solid #e2e1d8;padding:14px 0 7px;margin-top:20px;font-size:12px}.ejc-list-distributor a{color:#bd533d;font-weight:700}.ejc-list-empty-all{border:0;background:none;color:#8f4235;text-decoration:underline;padding:8px 0;font-size:12px!important}.ejc-list-disclaimer{margin:15px 0 0;color:#777;font-size:11px;line-height:1.6}
@media(max-width:650px){.ejc-listbar{padding:13px;gap:8px}.ejc-listbar-intro strong{font-size:18px}.ejc-listbar-intro span{font-size:11px}.ejc-list-open{padding:10px 11px;font-size:11px!important}.ejc-list-open span{display:none}.ejc-list-item{grid-template-columns:1fr auto;gap:8px}.ejc-list-remove{grid-column:2}.ejc-list-dialog{padding:32px 18px 20px}.ejc-detail-add{margin:10px 0 0}.ejc-list-actions{grid-template-columns:1fr 1fr}}

/* V4: editorial buttons are real buttons, with no decorative arrows. */
.ejc-root .ejc-list-open,
.ejc-root .ejc-add,
.ejc-root .ejc-more,
.ejc-root .ejc-reset,
.ejc-root .ejc-list-actions button,
.ejc-root .ejc-list-actions a,
.ejc-root .ejc-distributors,
.ejc-root .ejc-list-distributor a {
  appearance:none;
  -webkit-appearance:none;
  border-radius:5px;
  font-family:'DM Sans',Arial,sans-serif;
  font-weight:700;
  letter-spacing:0;
  line-height:1.25;
  text-align:center;
  text-decoration:none!important;
  min-height:43px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:9px;
  box-shadow:none;
  transition:background-color .16s ease,border-color .16s ease,color .16s ease;
}
.ejc-root .ejc-list-open {background:#263d45!important;color:#fff!important;border:1px solid #263d45!important;padding:11px 18px;}
.ejc-root .ejc-list-open:hover {background:#bd533d!important;border-color:#bd533d!important;}
.ejc-root .ejc-add {width:100%;background:#f6f4ee!important;border:1px solid #8c9b9c!important;color:#263d45!important;padding:10px 12px;}
.ejc-root .ejc-add:hover {background:#263d45!important;border-color:#263d45!important;color:#fff!important;}
.ejc-root .ejc-add.ejc-is-saved {background:#f9e9e2!important;border-color:#bd533d!important;color:#9a3d2a!important;}
.ejc-root .ejc-detail-add {width:auto;max-width:100%;margin:10px 0 0 8px;}
.ejc-root .ejc-list-actions button,.ejc-root .ejc-list-actions a {padding:12px 10px;border:1px solid #263d45!important;background:#fff!important;color:#263d45!important;}
.ejc-root .ejc-list-actions .ejc-list-copy {background:#263d45!important;color:#fff!important;}
.ejc-root .ejc-list-actions .ejc-list-whatsapp {background:#f1f5f1!important;border-color:#8da696!important;}
.ejc-root .ejc-list-actions button:hover,.ejc-root .ejc-list-actions a:hover {background:#263d45!important;border-color:#263d45!important;color:#fff!important;}
.ejc-root .ejc-list-actions .ejc-list-copy:hover {background:#bd533d!important;border-color:#bd533d!important;color:#fff!important;}
.ejc-root .ejc-distributors,
.ejc-root .ejc-list-distributor a {background:#bd533d!important;color:#fff!important;border:1px solid #bd533d!important;padding:12px 20px!important;text-decoration:none!important;font-size:13px!important;}
.ejc-root .ejc-distributors:hover,.ejc-root .ejc-list-distributor a:hover {background:#983b29!important;border-color:#983b29!important;color:#fff!important;}
.ejc-root .ejc-list-distributor {align-items:center;gap:14px;padding-top:21px;}
.ejc-root .ejc-list-distributor>span {font-weight:600;color:#263d45;}
.ejc-root .ejc-more,.ejc-root .ejc-reset {border:1px solid #263d45!important;background:#fff!important;color:#263d45!important;}
.ejc-root .ejc-more:hover,.ejc-root .ejc-reset:hover {background:#263d45!important;color:#fff!important;}
.ejc-root .ejc-list-open::after,.ejc-root .ejc-add::after,
.ejc-root .ejc-distributors::after,.ejc-root .ejc-list-distributor a::after,
.ejc-root .ejc-list-actions a::after,.ejc-root .ejc-list-actions button::after,
.ejc-root .ejc-more::after,.ejc-root .ejc-reset::after {content:none!important;display:none!important;}
.ejc-root .ejc-list-open:focus-visible,.ejc-root .ejc-add:focus-visible,
.ejc-root .ejc-list-distributor a:focus-visible,.ejc-root .ejc-distributors:focus-visible,
.ejc-root .ejc-list-actions button:focus-visible,.ejc-root .ejc-list-actions a:focus-visible,
.ejc-root .ejc-more:focus-visible,.ejc-root .ejc-reset:focus-visible {outline:3px solid #bd533d!important;outline-offset:3px;}
@media(max-width:650px) {
  .ejc-root .ejc-list-open {padding:10px 12px;font-size:12px!important;white-space:normal;}
  .ejc-root .ejc-list-open span {display:inline;}
  .ejc-root .ejc-list-distributor {flex-direction:column;align-items:stretch;}
  .ejc-root .ejc-list-distributor a {width:100%;}
  .ejc-root .ejc-list-actions {grid-template-columns:1fr 1fr;}
  .ejc-root .ejc-detail-add {margin-left:0;width:100%;}
  .ejc-root .ejc-detail-content .ejc-distributors {width:100%;}
}
@media(max-width:390px){.ejc-root .ejc-list-actions {grid-template-columns:1fr;}}

/* Nuevos libros 2026 */
.ejc-new-label{display:inline-block;width:max-content;max-width:100%;background:#bd533d;color:white;font-size:10px;font-weight:750;letter-spacing:.11em;padding:4px 8px;border-radius:2px;margin:0 0 8px}

/* V9 · Cubiertas alternativas y preferencia opcional de edición */
.ejc-edition-badge{display:inline-block;width:max-content;background:#eef1ee;border:1px solid #d9e0dc;color:#35514d;font-size:10px;font-weight:750;letter-spacing:.07em;padding:4px 8px;border-radius:3px;margin:0 0 8px}
.ejc-edition-section{margin-top:18px;padding-top:15px;border-top:1px solid #d9ded9}
.ejc-edition-section h4{margin:0 0 12px;color:#263e44;font-size:15px;font-weight:700}
.ejc-edition-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.ejc-edition-choice{appearance:none;cursor:pointer;border:1px solid #d4d9d5;border-radius:8px;background:#faf9f6;padding:10px;display:flex;flex-direction:column;align-items:center;justify-content:flex-start;gap:8px;min-height:170px;color:#293f43;text-align:center;transition:border-color .15s,box-shadow .15s}
.ejc-edition-choice:hover,.ejc-edition-choice:focus-visible{border-color:#bd533d;box-shadow:0 0 0 2px #bd533d22;outline:none}
.ejc-edition-choice.ejc-edition-selected{border:2px solid #bd533d;background:#fffaf6}
.ejc-edition-choice img{display:block;width:100%;height:140px;object-fit:contain}
.ejc-edition-choice strong{font-size:12px;line-height:1.3}
.ejc-edition-year{font-size:11px;line-height:1.4;color:#677477;font-weight:500}
.ejc-edition-missing{display:flex;align-items:center;justify-content:center;width:100%;height:140px;background:#eeeae4;color:#6a7370;font-size:12px;padding:12px}
.ejc-edition-note{font-size:12px;color:#657271;line-height:1.5;margin:12px 0 6px}
.ejc-edition-unset{border:0;background:transparent;color:#5b6667;text-decoration:underline;padding:6px 0;cursor:pointer;font:inherit;font-size:12px}
.ejc-pref-select{display:flex;flex-direction:column;gap:5px;margin:8px 0;color:#60706f;font-size:12px}
.ejc-pref-select select{border:1px solid #d6dcd8;border-radius:6px;background:#fff;padding:8px 10px;color:#23373e;max-width:240px;font:inherit;font-size:13px}
@media(max-width:480px){.ejc-edition-choice{min-height:150px;padding:7px}.ejc-edition-choice img,.ejc-edition-missing{height:110px}}

/* V10 - consistent cover-stage alignment, without cropping book artwork. */
.ejc-root .ejc-books {align-items:stretch;}
.ejc-root .ejc-book {height:100%;}
.ejc-root .ejc-cover {width:100%;height:auto;aspect-ratio:4 / 5;display:flex;align-items:center;justify-content:center;padding:14px;}
.ejc-root .ejc-cover img {display:block;object-fit:contain;object-position:center center;width:100%;height:100%;max-width:100%;max-height:100%;margin:0 auto;}
.ejc-root .ejc-book-actions {margin-top:auto;}

.ejc-root .ejc-back-covers{margin-top:18px;border-top:1px solid #deddd6;padding-top:14px;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;text-align:left}
.ejc-root .ejc-back-covers h4{grid-column:1/-1;margin:0;font-size:13px}
.ejc-root .ejc-back-covers figure{margin:0;text-align:center}
.ejc-root .ejc-back-covers img{width:100%;height:130px;max-width:100%;object-fit:contain}
.ejc-root .ejc-back-covers figcaption{font-size:11px;color:#697878}

/* V10 author biography inside the book detail; styled as links, never decorative arrows. */
.ejc-root .ejc-author-link{appearance:none!important;display:inline!important;padding:0!important;margin:0!important;border:0!important;background:none!important;color:#a34c3a!important;text-decoration:underline!important;text-decoration-thickness:1px!important;text-underline-offset:3px!important;font:inherit!important;line-height:inherit!important;cursor:pointer!important;border-radius:0!important;min-height:0!important;box-shadow:none!important}
.ejc-root .ejc-author-link:hover{color:#263d45!important;text-decoration-thickness:2px!important}
.ejc-root .ejc-author-link:focus-visible{outline:2px solid #bd533d!important;outline-offset:3px!important}
.ejc-author-dialog{border:0;background:#fffdf9;max-width:min(720px,calc(100vw - 20px));width:100%;max-height:calc(100vh - 32px);overflow:auto;border-radius:9px;padding:35px 38px 36px;color:#263d45;box-shadow:0 25px 90px #172f3380;font:15px 'DM Sans',Arial,sans-serif}
.ejc-author-dialog::backdrop{background:#152c32aa}
.ejc-author-dialog .ejc-author-close{position:absolute;right:13px;top:8px;border:0;background:transparent;color:#5b6162;cursor:pointer;font-size:30px!important;padding:6px 10px}
.ejc-author-content h3{font:500 clamp(27px,4vw,39px) Newsreader,Georgia,serif;margin:8px 0 16px;line-height:1.15;color:#263d45}
.ejc-author-content h4{font-size:15px;border-top:1px solid #e0dfd8;padding-top:20px;margin:24px 0 12px;color:#263d45}
.ejc-author-content .ejc-author-bio{font-size:14px;line-height:1.75;color:#47565a;white-space:normal;margin:0 0 12px}
.ejc-author-content .ejc-author-pending{font-size:13px;color:#748184;margin-bottom:18px}
.ejc-author-books{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}
.ejc-root .ejc-author-book{appearance:none;background:#f7f6f1!important;border:1px solid #e1e2dd!important;border-radius:5px!important;padding:9px!important;display:flex;align-items:center;gap:13px;text-align:left;cursor:pointer;min-width:0;color:#263d45!important;box-shadow:none!important;min-height:80px}
.ejc-root .ejc-author-book:hover{border-color:#bd533d!important;background:#fff9f4!important}
.ejc-author-book>img{width:45px!important;height:62px!important;max-height:62px;object-fit:contain!important;flex-shrink:0;transform:none!important}
.ejc-author-book .ejc-cover-placeholder{width:45px;min-width:45px;height:62px;padding:4px;font-size:7px;overflow:hidden}
.ejc-author-book span{display:flex;flex-direction:column;gap:3px;min-width:0}
.ejc-author-book strong{font-weight:700;font-size:12px;line-height:1.35}
.ejc-author-book small{font-size:11px;color:#73807e;line-height:1.35}
@media(max-width:600px){.ejc-author-dialog{padding:34px 20px 26px}.ejc-author-books{grid-template-columns:1fr}}

/* V12: numbered pagination and optional reading resources. */
.ejc-root .ejc-pagination{display:flex;justify-content:center;align-items:center;gap:15px;flex-wrap:wrap;margin:34px 0 5px;color:#655a54;font-size:12px}
.ejc-root .ejc-pagination[hidden]{display:none!important}
.ejc-root .ejc-page-controls{display:flex;align-items:center;justify-content:center;gap:6px;flex-wrap:wrap}
.ejc-root .ejc-page-button{appearance:none;background:#fff;border:1px solid #decfc5;border-radius:3px;color:#292421;padding:9px 11px;min-width:36px;min-height:38px;font-size:12px!important;font-weight:700;cursor:pointer;transition:background .2s}
.ejc-root .ejc-page-button:hover{background:#f5eee7;border-color:#bd533d}
.ejc-root .ejc-page-button.ejc-page-current{background:#292421;color:#fff;border-color:#292421}
.ejc-root .ejc-page-ellipsis{padding:0 3px;color:#837771}
.ejc-root .ejc-reading-resources{border-top:1px solid #e4d6cc;padding:19px 0 17px;margin:20px 0 12px}
.ejc-root .ejc-reading-resources h4{font-size:16px;line-height:1.35;margin:0 0 12px!important;color:#292421}
.ejc-root .ejc-resources-actions{display:flex;gap:9px;flex-wrap:wrap}
.ejc-root .ejc-resources-actions .ejc-preview-flipbook,.ejc-root .ejc-resources-actions .ejc-chapter-pdf{display:inline-flex;align-items:center;justify-content:center;min-height:43px;padding:10px 14px;border:1px solid #bd533d;border-radius:3px;background:#bd533d;color:#fff!important;font:700 12px/1.4 Inter,Arial,sans-serif!important;text-decoration:none!important;cursor:pointer;text-align:center}
.ejc-root .ejc-resources-actions .ejc-preview-flipbook{background:#fff;color:#983b29!important}
.ejc-root .ejc-resources-actions .ejc-preview-flipbook:hover{background:#faf0e9}
.ejc-root .ejc-resources-actions .ejc-chapter-pdf:hover{background:#903f2e}
.ejc-root .ejc-resources-actions .ejc-preview-flipbook::after,.ejc-root .ejc-resources-actions .ejc-chapter-pdf::after{display:none!important;content:none!important}
.ejc-root .ejc-flipbook-shell{margin:18px 0 0}
.ejc-root .ejc-flipbook-shell[hidden]{display:none!important}
.ejc-root .ejc-flipbook-frame{position:relative;width:100%;aspect-ratio:4/3;background:#f4eee8;border:1px solid #e4d6cc}
.ejc-root .ejc-flipbook-frame iframe{width:100%;height:100%;display:block;border:0}
.ejc-root .ejc-flipbook-shell p{font-size:12px;margin:8px 0!important}
.ejc-root .ejc-flipbook-shell a{color:#903f2e;text-decoration:underline!important}
@media(max-width:650px){.ejc-root .ejc-page-caption{width:100%;text-align:center}.ejc-root .ejc-resources-actions>*{width:100%}.ejc-root .ejc-flipbook-frame{aspect-ratio:3/4}}

/* V12.3 — optional Amazon / Buscalibre links; no decorative arrows. */
.ejc-root .ejc-retailers{margin:18px 0 16px;padding:17px 0 10px;border-top:1px solid #e4d6cc}
.ejc-root .ejc-retailers h4{font:700 15px/1.35 Inter,Arial,sans-serif!important;color:#292421;margin:0 0 12px!important}
.ejc-root .ejc-retailer-buttons{display:flex;gap:10px;flex-wrap:wrap}
.ejc-root .ejc-retailer{display:inline-flex;align-items:center;justify-content:center;min-height:43px;padding:10px 19px;border:1px solid #263d45;border-radius:3px;background:#fff;color:#263d45!important;text-decoration:none!important;font:750 12px/1.3 Inter,Arial,sans-serif!important;transition:background .18s,color .18s}
.ejc-root .ejc-retailer:hover{background:#263d45;color:#fff!important}
.ejc-root .ejc-retailer:focus-visible{outline:3px solid #bd533d;outline-offset:3px}
.ejc-root .ejc-retailer::after{content:none!important;display:none!important}
.ejc-root .ejc-retailers p{color:#6a6c68;font-size:11px!important;line-height:1.6;margin:11px 0 0!important}
.ejc-root .ejc-list-actions .ejc-list-pdf{background:#bd533d!important;border-color:#bd533d!important;color:#fff!important}
.ejc-root .ejc-list-actions .ejc-list-pdf:hover{background:#903f2e!important;border-color:#903f2e!important;color:#fff!important}
@media(max-width:650px){.ejc-root .ejc-retailer-buttons>*{flex:1;min-width:120px}}

/* V12.4 — on-site WordPress Media Library PDF previews, no external hosting. */
.ejc-root .ejc-flipbook-frame.ejc-native-pdf-view{aspect-ratio:auto;height:min(78vh,740px);min-height:420px;background:#f7f3ee}
.ejc-root .ejc-native-pdf-view iframe{width:100%;height:100%;display:block;border:0}
.ejc-root .ejc-flipbook-shell p{line-height:1.6}
@media(max-width:650px){.ejc-root .ejc-flipbook-frame.ejc-native-pdf-view{aspect-ratio:auto;height:65vh;min-height:340px}}

/* V12.5: a genuinely compact quick-view; full profile lives at /libro/.... */
.ejc-root .ejc-detail{max-width:min(685px,calc(100vw - 26px));padding:30px 30px 26px}
.ejc-root .ejc-detail-content{grid-template-columns:minmax(105px,180px) minmax(0,1fr);gap:27px}
.ejc-root .ejc-detail-art{min-height:120px;padding:8px}
.ejc-root .ejc-detail-art img{max-height:255px}
.ejc-root .ejc-quick-main{min-width:0}
.ejc-root .ejc-quick-main h3{font-size:clamp(22px,3vw,29px)!important;margin:4px 0 7px!important}
.ejc-root .ejc-quick-author{font-size:13px!important;margin:8px 0!important}
.ejc-root .ejc-quick-facts{color:#796a61!important;font-size:12px!important;margin:12px 0!important}
.ejc-root .ejc-quick-summary{font-size:13px!important;line-height:1.64!important;margin:12px 0 20px!important}
.ejc-root .ejc-quick-actions{display:flex;gap:9px;align-items:center;flex-wrap:wrap;margin-top:14px}
.ejc-root .ejc-quick-actions .ejc-add{margin:0!important;min-height:45px}
.ejc-root .ejc-view-full{display:inline-flex;min-height:45px;align-items:center;justify-content:center;padding:10px 18px;background:#bd533d;color:#fff!important;border:1px solid #bd533d;border-radius:3px;text-decoration:none!important;font-size:12px;font-weight:750}
.ejc-root .ejc-view-full:hover{background:#903f2e;border-color:#903f2e;color:#fff!important}
.ejc-root .ejc-view-full::after{display:none!important;content:none!important}
.ejc-root .ejc-quick-editions{margin:10px 0}.ejc-root .ejc-quick-editions>strong{display:block;margin:0 0 7px;font-size:11px}
.ejc-root .ejc-quick-edition-buttons{display:flex;gap:7px;flex-wrap:wrap}
.ejc-root .ejc-quick-edition{border:1px solid #dfd3c8!important;background:#fff!important;color:#4d413c!important;padding:8px 9px!important;font-size:11px!important;border-radius:3px}
.ejc-root .ejc-quick-edition.ejc-edition-selected{border-color:#bd533d!important;background:#fbf1eb!important;color:#903f2e!important}
@media(max-width:650px){.ejc-root .ejc-detail{padding:31px 18px 20px}.ejc-root .ejc-detail-content{grid-template-columns:minmax(0,1fr);gap:16px}.ejc-root .ejc-detail-art img{max-height:190px}.ejc-root .ejc-quick-actions>a,.ejc-root .ejc-quick-actions>button{flex:1;min-width:140px}}

/* V12.9 — quick-view shopping + typographic guardrails; base V12.5 intact */
.ejc-root .ejc-book .ejc-book-collection{font:700 10px/1.4 'DM Sans',Arial,sans-serif!important;letter-spacing:.1em!important;text-transform:uppercase!important;color:var(--ejc-terracotta)!important;margin:0 0 5px!important}
.ejc-root .ejc-book .ejc-book-title{font:700 15.5px/1.26 'DM Sans',Arial,sans-serif!important;letter-spacing:-.02em!important;color:var(--ejc-text)!important;text-transform:none!important}
.ejc-root .ejc-quick-stores{margin:16px 0 0;padding:14px 0 0;border-top:1px solid #e4d6cc}
.ejc-root .ejc-quick-stores h4{font:700 12px/1.3 'DM Sans',Arial,sans-serif!important;margin:0 0 9px!important;color:var(--ejc-text)}
.ejc-root .ejc-quick-stores-row{display:flex;flex-wrap:wrap;gap:7px}
.ejc-root .ejc-quick-stores-row a{display:inline-flex;align-items:center;justify-content:center;padding:9px 12px;min-height:35px;border:1px solid #cfc6be;border-radius:3px;background:#fff;color:#263d45!important;font:700 11px/1.4 'DM Sans',Arial,sans-serif!important;text-decoration:none!important}
.ejc-root .ejc-quick-stores-row a:hover{background:#f5eee7;border-color:#bd533d}
.ejc-root .ejc-quick-stores-row a.ejc-quick-distributor{border-color:#bd533d;color:#903f2e!important}
.ejc-root .ejc-quick-stores-row a::after{content:none!important;display:none!important}
@media(max-width:650px){.ejc-root .ejc-book .ejc-book-collection{font-size:9px!important}.ejc-root .ejc-book .ejc-book-title{font-size:14px!important}}

/* Author photos in the existing author profile modal (V13.2). */
.ejc-root .ejc-author-profile-intro{display:flex;align-items:flex-start;gap:20px;margin:12px 0 19px}
.ejc-root .ejc-author-profile-photo{width:128px;height:156px;object-fit:cover;flex-shrink:0;background:#f8e7dc;border:5px solid #f4d4c4}
.ejc-root .ejc-author-profile-intro>div{flex:1;min-width:0}
@media(max-width:550px){.ejc-root .ejc-author-profile-intro{flex-direction:column}.ejc-root .ejc-author-profile-photo{width:110px;height:130px}}
