.mds-book-store{--mds-text:#172033;--mds-muted:#667085;--mds-line:#e6e8ec;--mds-bg:#f7f8fb;--mds-card:#fff;--mds-accent:#6f4ae8;--mds-accent-2:#efeaff;max-width:1220px;margin:0 auto;padding:clamp(32px,5vw,72px) 18px 72px;position:relative;z-index:1;color:var(--mds-text);font-family:inherit;scroll-margin-top:120px}.mds-store-hero{text-align:center;max-width:850px;margin:0 auto 28px}.mds-store-kicker,.mds-library-eyebrow,.mds-section-kicker{font-size:12px;font-weight:800;letter-spacing:.14em;color:var(--mds-accent)}.mds-store-hero h1{font-size:clamp(32px,5vw,56px);line-height:1.06;margin:10px 0 12px}.mds-store-subtitle{font-size:clamp(16px,2vw,20px);line-height:1.6;color:var(--mds-muted);margin:0}.mds-library-promo{display:flex;gap:24px;align-items:center;justify-content:space-between;background:linear-gradient(135deg,#f3efff,#fff);border:1px solid #ddd3ff;border-radius:22px;padding:24px 26px;margin:28px 0}.mds-library-promo h2{margin:5px 0 7px;font-size:28px}.mds-library-promo p{margin:0;max-width:760px;color:var(--mds-muted);line-height:1.55}.mds-store-controls{position:sticky;top:82px;z-index:5;display:grid;grid-template-columns:minmax(280px,1.15fr) minmax(0,1fr) auto;align-items:center;gap:12px 16px;background:rgba(255,255,255,.96);backdrop-filter:blur(12px);border:1px solid var(--mds-line);border-radius:18px;padding:14px 18px;margin:24px 0 30px;box-shadow:0 8px 28px rgba(20,27,45,.05)}.mds-store-search{display:block;min-width:0}.mds-store-search input{width:100%;height:44px;border:1px solid #d9dde5;border-radius:14px;padding:0 16px;font-size:15px;line-height:44px;background:#fff;color:var(--mds-text)}.mds-topic-filters{display:flex;gap:8px;flex-wrap:nowrap;overflow-x:auto;overflow-y:hidden;min-width:0;margin-top:0;padding:2px 2px 6px;scrollbar-width:thin;-webkit-overflow-scrolling:touch}.mds-topic-filters button{flex:0 0 auto;min-height:40px;border:1px solid #dcdfe5;background:#fff;border-radius:999px;padding:8px 14px;cursor:pointer;font-weight:650;color:var(--mds-text)!important;box-shadow:0 3px 10px rgba(111,74,232,.08)}.mds-topic-filters button.is-active{background:var(--mds-accent);border-color:var(--mds-accent);color:#fff!important}.mds-translator-filter{display:flex;align-items:center;gap:8px;margin-top:0;color:var(--mds-muted);font-size:14px;white-space:nowrap;justify-self:end}.mds-translator-filter select{min-width:220px;height:40px;border:1px solid #d9dde5;border-radius:12px;padding:0 12px;background:#fff;color:var(--mds-text)}.mds-translator-section{margin:0 0 48px}.mds-section-heading{margin-bottom:18px}.mds-section-heading h2{font-size:clamp(25px,3vw,36px);margin:5px 0 6px}.mds-section-heading p{margin:0;color:var(--mds-muted);max-width:850px;line-height:1.55}.mds-book-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px}.mds-book-card{display:flex;flex-direction:column;background:var(--mds-card);border:1px solid var(--mds-line);border-radius:20px;overflow:hidden;box-shadow:0 8px 26px rgba(20,27,45,.055);transition:transform .18s ease,box-shadow .18s ease}.mds-book-card:hover{transform:translateY(-3px);box-shadow:0 14px 34px rgba(20,27,45,.09)}.mds-book-cover-wrap{position:relative;background:#f0f1f4;aspect-ratio:4/5;display:flex;align-items:center;justify-content:center;overflow:hidden}.mds-book-cover{width:100%;height:100%;object-fit:contain;background:#f6f6f7}.mds-book-cover-placeholder{display:flex;align-items:center;justify-content:center;font-size:28px;font-weight:800;color:#9aa1ad}.mds-book-badge{position:absolute;z-index:2;left:14px;top:14px;background:#fff;border-radius:999px;padding:7px 10px;font-size:12px;font-weight:800;box-shadow:0 4px 18px rgba(0,0,0,.1)}.mds-book-body{display:flex;flex:1;flex-direction:column;padding:18px}.mds-book-topics{color:var(--mds-accent);font-size:12px;font-weight:800;text-transform:uppercase;letter-spacing:.06em}.mds-book-body h3{font-size:22px;line-height:1.2;margin:7px 0 5px}.mds-book-original{font-family:serif;font-size:16px;color:#414a5a;margin-bottom:6px}.mds-book-author,.mds-book-translator{font-size:14px;color:var(--mds-muted);margin-top:3px}.mds-book-excerpt{font-size:15px;line-height:1.55;color:#4b5565;margin:13px 0}.mds-book-meta{display:flex;gap:8px;flex-wrap:wrap;margin-top:auto}.mds-book-meta span{background:var(--mds-bg);border-radius:999px;padding:6px 9px;font-size:12px;color:#50596a}.mds-book-footer{display:flex;align-items:flex-end;justify-content:space-between;gap:12px;border-top:1px solid var(--mds-line);margin-top:16px;padding-top:15px}.mds-book-price{font-size:22px;font-weight:850}.mds-book-status{font-size:14px;font-weight:700;color:#7b5b00}.mds-book-actions{display:flex;gap:8px;flex-wrap:wrap;justify-content:flex-end}.mds-button{display:inline-flex;align-items:center;justify-content:center;min-height:40px;padding:9px 14px;border-radius:12px;background:var(--mds-accent);color:#fff!important;text-decoration:none!important;font-weight:800;font-size:14px;border:1px solid var(--mds-accent);white-space:nowrap}.mds-button:hover{filter:brightness(.95)}.mds-button-secondary{background:#181c27;border-color:#181c27}.mds-button-ghost{background:#fff;color:var(--mds-text)!important;border-color:#d9dde5}.mds-store-empty{padding:20px;border:1px dashed #cfd4dd;border-radius:16px;text-align:center;color:var(--mds-muted);margin-bottom:28px}.mds-book-card[hidden],.mds-translator-section[hidden]{display:none!important}@media(max-width:980px){.mds-book-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.mds-store-controls{top:68px;grid-template-columns:1fr;gap:10px;padding:14px}.mds-topic-filters{padding-bottom:4px}.mds-translator-filter{justify-self:start}.mds-library-promo{align-items:flex-start;flex-direction:column}}@media(max-width:620px){.mds-book-store{padding-left:12px;padding-right:12px}.mds-book-grid{grid-template-columns:1fr}.mds-store-controls{position:relative;top:auto;padding:12px}.mds-store-search input{height:42px;font-size:14px}.mds-topic-filters{gap:6px}.mds-topic-filters button{min-height:38px;padding:7px 12px;font-size:14px}.mds-translator-filter{align-items:flex-start;flex-direction:column;justify-self:stretch}.mds-translator-filter select{width:100%;min-width:0}.mds-book-footer{align-items:stretch;flex-direction:column}.mds-book-actions{justify-content:flex-start}.mds-book-actions .mds-button{flex:1}.mds-library-promo{padding:20px}.mds-library-promo .mds-button{width:100%}}

/* Страница магазина под фиксированной шапкой сайта */
.mds-book-store-page{min-height:60vh;padding-top:88px}
@media(max-width:782px){.mds-book-store-page{padding-top:72px}}

/* Текстовая обложка для стартового каталога, пока не загружена реальная обложка */
.mds-book-cover-placeholder{padding:28px 22px;text-align:center;flex-direction:column;gap:14px;background:linear-gradient(145deg,#f2edff 0%,#ffffff 55%,#eef3ff 100%);color:var(--mds-text)}
.mds-placeholder-original{font-family:serif;font-size:25px;line-height:1.2;color:var(--mds-accent);font-weight:700}
.mds-placeholder-title{font-size:23px;line-height:1.18;font-weight:850;max-width:92%}
.mds-placeholder-author{font-size:13px;line-height:1.4;color:var(--mds-muted);max-width:90%}

/* Компактные и прокручиваемые фильтры каталога */
.mds-topic-filters::-webkit-scrollbar{height:6px}
.mds-topic-filters::-webkit-scrollbar-track{background:transparent}
.mds-topic-filters::-webkit-scrollbar-thumb{background:#d8dced;border-radius:999px}
.mds-topic-filters button:not(.is-active):hover,.mds-topic-filters button:not(.is-active):focus{background:#f7f8fb;border-color:#cfd5e3;color:var(--mds-text)!important}
.mds-topic-filters button span,.mds-topic-filters button,.mds-store-search input::placeholder,.mds-translator-filter,.mds-translator-filter select{opacity:1}


/* v1.5 — компактная панель фильтров. Она прокручивается вместе со страницей, не закрепляется. */
.mds-book-store .mds-store-controls{
    position:relative !important;
    top:auto !important;
    z-index:2;
    display:flex !important;
    flex-wrap:nowrap;
    align-items:center;
    gap:10px;
    background:#fff;
    backdrop-filter:none;
    border:1px solid #e4e7ec;
    border-radius:15px;
    padding:9px 12px !important;
    margin:18px 0 24px !important;
    box-shadow:0 5px 18px rgba(20,27,45,.045);
}
.mds-book-store .mds-store-search{
    flex:0 1 320px;
    min-width:220px;
    margin:0 !important;
}
.mds-book-store .mds-store-search input[type="search"]{
    box-sizing:border-box;
    width:100%;
    height:38px !important;
    min-height:38px !important;
    padding:0 13px !important;
    margin:0 !important;
    border:1px solid #d9dde5 !important;
    border-radius:11px !important;
    background:#fff !important;
    color:#172033 !important;
    -webkit-text-fill-color:#172033 !important;
    font-size:14px !important;
    line-height:38px !important;
    box-shadow:none !important;
}
.mds-book-store .mds-store-search input[type="search"]::placeholder{
    color:#8a93a3 !important;
    -webkit-text-fill-color:#8a93a3 !important;
    opacity:1 !important;
}
.mds-book-store .mds-topic-filters{
    flex:1 1 auto;
    display:flex !important;
    flex-wrap:nowrap !important;
    align-items:center;
    gap:7px;
    min-width:120px;
    overflow-x:auto !important;
    overflow-y:hidden !important;
    margin:0 !important;
    padding:2px 2px 4px !important;
    white-space:nowrap;
    scrollbar-width:thin;
    scrollbar-color:#d8dced transparent;
    -webkit-overflow-scrolling:touch;
}
body .mds-book-store .mds-topic-filters button,
body .mds-book-store .mds-topic-filters button:not(.is-active),
body .mds-book-store .mds-topic-filters button:not(.is-active):hover,
body .mds-book-store .mds-topic-filters button:not(.is-active):focus,
body .mds-book-store .mds-topic-filters button:not(.is-active):active{
    box-sizing:border-box !important;
    flex:0 0 auto !important;
    width:auto !important;
    min-width:0 !important;
    min-height:34px !important;
    height:34px !important;
    margin:0 !important;
    padding:5px 12px !important;
    border:1px solid #d8dce5 !important;
    border-radius:999px !important;
    background:#fff !important;
    background-image:none !important;
    color:#253047 !important;
    -webkit-text-fill-color:#253047 !important;
    text-shadow:none !important;
    font-size:13px !important;
    font-weight:700 !important;
    line-height:22px !important;
    letter-spacing:0 !important;
    opacity:1 !important;
    visibility:visible !important;
    box-shadow:none !important;
}
body .mds-book-store .mds-topic-filters button.is-active,
body .mds-book-store .mds-topic-filters button.is-active:hover,
body .mds-book-store .mds-topic-filters button.is-active:focus,
body .mds-book-store .mds-topic-filters button.is-active:active{
    border-color:#6f4ae8 !important;
    background:#6f4ae8 !important;
    background-image:none !important;
    color:#fff !important;
    -webkit-text-fill-color:#fff !important;
}
.mds-book-store .mds-translator-filter{
    flex:0 0 auto;
    display:flex !important;
    align-items:center;
    gap:7px;
    margin:0 !important;
    color:#667085 !important;
    -webkit-text-fill-color:#667085 !important;
    font-size:13px !important;
    font-weight:600;
    white-space:nowrap;
}
.mds-book-store .mds-translator-filter select{
    box-sizing:border-box;
    width:auto;
    min-width:170px !important;
    height:36px !important;
    min-height:36px !important;
    margin:0 !important;
    padding:0 28px 0 10px !important;
    border:1px solid #d9dde5 !important;
    border-radius:10px !important;
    background-color:#fff !important;
    color:#253047 !important;
    -webkit-text-fill-color:#253047 !important;
    font-size:13px !important;
    line-height:36px !important;
}
.mds-book-store .mds-topic-filters::-webkit-scrollbar{height:5px}
.mds-book-store .mds-topic-filters::-webkit-scrollbar-track{background:transparent}
.mds-book-store .mds-topic-filters::-webkit-scrollbar-thumb{background:#d8dced;border-radius:999px}

@media(max-width:980px){
    .mds-book-store .mds-store-controls{flex-wrap:wrap !important;gap:8px 10px}
    .mds-book-store .mds-store-search{flex:1 1 280px}
    .mds-book-store .mds-topic-filters{order:3;flex:1 0 100%;width:100%}
    .mds-book-store .mds-translator-filter{margin-left:auto !important}
}
@media(max-width:620px){
    .mds-book-store .mds-store-controls{display:flex !important;position:relative !important;top:auto !important;padding:9px !important}
    .mds-book-store .mds-store-search{flex:1 0 100%;min-width:0}
    .mds-book-store .mds-translator-filter{flex:1 0 100%;justify-content:space-between;margin-left:0 !important}
    .mds-book-store .mds-translator-filter select{flex:1 1 auto;width:100%;min-width:0 !important}
}

/* v1.8 — более компактное имя переводчика + круглое фото */
.mds-book-store .mds-section-heading{
    margin-bottom:16px;
}
.mds-book-store .mds-translator-heading-row{
    display:flex;
    align-items:center;
    gap:10px;
    margin:4px 0 5px;
}
.mds-book-store .mds-section-heading .mds-translator-heading-row h2{
    margin:0 !important;
    font-size:clamp(18px,1.55vw,22px) !important;
    line-height:1.15 !important;
    font-weight:700;
}
.mds-book-store .mds-translator-avatar{
    flex:0 0 50px;
    width:50px;
    height:50px;
    border-radius:50%;
    object-fit:cover;
    object-position:center;
    border:2px solid #fff;
    box-shadow:0 3px 12px rgba(20,27,45,.12);
    background:#f1f2f5;
}
.mds-book-store .mds-section-heading p{
    font-size:14px;
    line-height:1.5;
}
@media(max-width:620px){
    .mds-book-store .mds-translator-avatar{
        flex-basis:44px;
        width:44px;
        height:44px;
    }
    .mds-book-store .mds-section-heading .mds-translator-heading-row h2{
        font-size:19px !important;
    }
}


/* v1.9 — фото слева, имя и описание справа */
.mds-book-store .mds-translator-profile{
    display:grid;
    grid-template-columns:50px minmax(0,1fr);
    align-items:start;
    column-gap:12px;
    margin:6px 0 0;
}
.mds-book-store .mds-translator-copy{
    min-width:0;
    padding-top:1px;
}
.mds-book-store .mds-section-heading .mds-translator-copy h2{
    margin:0 0 6px !important;
    font-size:clamp(17px,1.35vw,20px) !important;
    line-height:1.15 !important;
    font-weight:700;
}
.mds-book-store .mds-section-heading .mds-translator-copy p{
    margin:0 !important;
    max-width:none !important;
    width:100%;
    font-size:14px;
    line-height:1.45;
    color:var(--mds-muted);
}
.mds-book-store .mds-translator-profile .mds-translator-avatar{
    width:50px;
    height:50px;
    margin:0;
}
@media(max-width:620px){
    .mds-book-store .mds-translator-profile{
        grid-template-columns:44px minmax(0,1fr);
        column-gap:10px;
    }
    .mds-book-store .mds-translator-profile .mds-translator-avatar{
        width:44px;
        height:44px;
    }
    .mds-book-store .mds-section-heading .mds-translator-copy h2{
        font-size:18px !important;
        margin-bottom:5px !important;
    }
    .mds-book-store .mds-section-heading .mds-translator-copy p{
        font-size:13.5px;
        line-height:1.42;
    }
}

/* v2.0 — читальный зал: иконка библиотеки и более лёгкая кнопка */
.mds-book-store .mds-library-promo{
    display:grid !important;
    grid-template-columns:72px minmax(0,1fr) auto !important;
    align-items:center !important;
    gap:18px !important;
}
.mds-book-store .mds-library-visual{
    width:64px;
    height:64px;
    border-radius:18px;
    display:flex;
    align-items:center;
    justify-content:center;
    color:var(--mds-accent);
    background:#efeaff;
    border:1px solid #ddd3ff;
}
.mds-book-store .mds-library-visual svg{
    width:42px;
    height:42px;
    display:block;
}
.mds-book-store .mds-library-copy{
    min-width:0;
}
.mds-book-store .mds-library-copy h2{
    margin:5px 0 6px !important;
}
.mds-book-store .mds-reading-room-button{
    background:var(--mds-accent) !important;
    border-color:var(--mds-accent) !important;
    color:#fff !important;
    box-shadow:0 8px 18px rgba(111,74,232,.22);
}
.mds-book-store .mds-reading-room-button:hover{
    background:#5f3ed2 !important;
    border-color:#5f3ed2 !important;
}
@media(max-width:980px){
    .mds-book-store .mds-library-promo{
        grid-template-columns:60px minmax(0,1fr) !important;
    }
    .mds-book-store .mds-library-visual{
        width:56px;
        height:56px;
        border-radius:16px;
    }
    .mds-book-store .mds-library-visual svg{
        width:36px;
        height:36px;
    }
    .mds-book-store .mds-reading-room-button{
        grid-column:2;
        justify-self:start;
    }
}
@media(max-width:620px){
    .mds-book-store .mds-library-promo{
        grid-template-columns:48px minmax(0,1fr) !important;
        gap:12px !important;
    }
    .mds-book-store .mds-library-visual{
        width:46px;
        height:46px;
        border-radius:14px;
    }
    .mds-book-store .mds-library-visual svg{
        width:30px;
        height:30px;
    }
    .mds-book-store .mds-reading-room-button{
        grid-column:1 / -1;
        width:100%;
    }
}


/* v2.1 — более компактный каталог + общие отзывы магазина и Библиотеки */
.mds-book-store{
    max-width:1320px;
}
.mds-book-store .mds-translator-section{
    margin-bottom:38px;
}
.mds-book-store .mds-book-grid{
    grid-template-columns:repeat(4,minmax(0,1fr));
    gap:16px;
}
.mds-book-store .mds-book-card{
    border-radius:16px;
    box-shadow:0 5px 18px rgba(20,27,45,.045);
}
.mds-book-store .mds-book-card:hover{
    transform:translateY(-2px);
    box-shadow:0 9px 24px rgba(20,27,45,.075);
}
.mds-book-store .mds-book-cover-wrap{
    aspect-ratio:auto;
    height:244px;
    padding:10px;
}
.mds-book-store .mds-book-cover{
    object-fit:contain;
    border-radius:8px;
}
.mds-book-store .mds-book-badge{
    left:10px;
    top:10px;
    padding:5px 8px;
    font-size:11px;
}
.mds-book-store .mds-book-body{
    padding:14px;
}
.mds-book-store .mds-book-topics{
    font-size:10.5px;
    letter-spacing:.04em;
}
.mds-book-store .mds-book-body h3{
    font-size:18px;
    line-height:1.23;
    margin:5px 0 4px;
}
.mds-book-store .mds-book-original{
    font-size:14px;
    line-height:1.3;
    margin-bottom:4px;
}
.mds-book-store .mds-book-author,
.mds-book-store .mds-book-translator{
    font-size:12.5px;
    line-height:1.35;
}
.mds-book-store .mds-book-excerpt{
    display:-webkit-box;
    -webkit-line-clamp:3;
    -webkit-box-orient:vertical;
    overflow:hidden;
    font-size:13px;
    line-height:1.42;
    margin:9px 0;
}
.mds-book-store .mds-book-meta{
    gap:5px;
}
.mds-book-store .mds-book-meta span{
    padding:4px 7px;
    font-size:11px;
}
.mds-book-store .mds-book-footer{
    gap:8px;
    margin-top:11px;
    padding-top:11px;
}
.mds-book-store .mds-book-price{
    font-size:18px;
}
.mds-book-store .mds-button{
    min-height:34px;
    padding:6px 10px;
    border-radius:9px;
    font-size:12.5px;
}

/* Общий модуль отзывов */
.mds-shared-reviews{
    margin-top:11px;
    border-top:1px solid var(--mds-line,#e6e8ec);
    padding-top:9px;
}
.mds-shared-reviews>summary{
    list-style:none;
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:8px;
    cursor:pointer;
    color:#4c5566;
    font-size:12px;
}
.mds-shared-reviews>summary::-webkit-details-marker{display:none}
.mds-review-summary,.mds-review-compact{
    display:flex;
    align-items:center;
    gap:5px;
    min-width:0;
}
.mds-review-stars{
    color:#c38a22;
    letter-spacing:.02em;
    white-space:nowrap;
}
.mds-review-summary-action{
    color:var(--mds-accent,#6f4ae8);
    font-weight:750;
    white-space:nowrap;
}
.mds-review-panel{
    margin-top:10px;
    padding:10px;
    border-radius:11px;
    background:#f8f8fb;
}
.mds-review-list{
    display:grid;
    gap:8px;
    max-height:300px;
    overflow:auto;
}
.mds-review-item{
    background:#fff;
    border:1px solid #e6e8ec;
    border-radius:9px;
    padding:9px 10px;
}
.mds-review-item-head{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:8px;
    font-size:12.5px;
}
.mds-review-date{
    color:#8a93a3;
    font-size:10.5px;
    margin-top:2px;
}
.mds-review-text{
    font-size:12.5px;
    line-height:1.45;
    margin-top:5px;
}
.mds-review-text p{margin:0 0 5px}
.mds-review-text p:last-child{margin-bottom:0}
.mds-review-empty,.mds-review-login{
    margin:0;
    font-size:12.5px;
    line-height:1.45;
}
.mds-review-form{
    margin-top:10px;
    padding-top:10px;
    border-top:1px solid #e0e3e8;
    display:grid;
    gap:8px;
}
.mds-review-form label>span,
.mds-review-textarea>span{
    display:block;
    margin-bottom:4px;
    font-size:11.5px;
    font-weight:700;
    color:#596273;
}
.mds-review-form select,
.mds-review-form textarea{
    width:100%;
    border:1px solid #d7dbe3;
    border-radius:8px;
    background:#fff;
    color:#273142;
    font-size:12.5px;
    padding:7px 9px;
}
.mds-review-form select{height:34px}
.mds-review-submit{
    justify-self:start;
    border:0;
    border-radius:8px;
    background:var(--mds-accent,#6f4ae8);
    color:#fff;
    font-size:12px;
    font-weight:800;
    padding:8px 11px;
    cursor:pointer;
}
.mds-review-form-note{
    font-size:10.5px;
    color:#7a8392;
    line-height:1.35;
}
.mds-review-notice{
    padding:7px 9px;
    margin-bottom:8px;
    border-radius:8px;
    background:#fff1f1;
    color:#8a3030;
    font-size:12px;
}
.mds-review-notice-ok{
    background:#edf8f0;
    color:#2c6940;
}
@media(max-width:1120px){
    .mds-book-store .mds-book-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
}
@media(max-width:760px){
    .mds-book-store .mds-book-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
    .mds-book-store .mds-book-cover-wrap{height:220px}
}
@media(max-width:520px){
    .mds-book-store .mds-book-grid{grid-template-columns:1fr}
    .mds-book-store .mds-book-card{
        display:grid;
        grid-template-columns:112px minmax(0,1fr);
    }
    .mds-book-store .mds-book-cover-wrap{
        height:100%;
        min-height:190px;
        padding:7px;
    }
    .mds-book-store .mds-book-body{padding:12px}
    .mds-book-store .mds-book-excerpt{-webkit-line-clamp:2}
}

/* v2.2 — 4 колонки и аккуратный компактный блок отзывов */
.mds-book-store{
    max-width:1480px !important;
}
.mds-book-store .mds-book-grid{
    grid-template-columns:repeat(4,minmax(0,1fr)) !important;
    gap:16px !important;
}
.mds-book-store .mds-book-cover-wrap{
    height:220px !important;
    padding:8px !important;
}
.mds-book-store .mds-book-body{
    padding:13px !important;
}
.mds-book-store .mds-book-body h3{
    font-size:17px !important;
}
.mds-book-store .mds-book-excerpt{
    -webkit-line-clamp:2 !important;
    font-size:12.5px !important;
    margin:8px 0 !important;
}
.mds-book-store .mds-book-footer{
    margin-top:10px !important;
    padding-top:10px !important;
}

/* Свернутая строка отзывов */
.mds-book-store .mds-shared-reviews{
    margin-top:8px !important;
    padding-top:7px !important;
    border-top:1px solid #eceef2 !important;
}
.mds-book-store .mds-shared-reviews>summary{
    box-sizing:border-box !important;
    width:100% !important;
    min-height:26px !important;
    margin:0 !important;
    padding:0 !important;
    display:flex !important;
    align-items:center !important;
    justify-content:space-between !important;
    gap:8px !important;
    list-style:none !important;
    cursor:pointer !important;
    font-size:11.5px !important;
    line-height:1.2 !important;
    color:#687184 !important;
    background:transparent !important;
    border:0 !important;
}
.mds-book-store .mds-review-summary{
    display:flex !important;
    align-items:center !important;
    gap:7px !important;
    min-width:0 !important;
    overflow:hidden !important;
}
.mds-book-store .mds-review-summary-title{
    flex:0 0 auto !important;
    font-weight:750 !important;
    color:#3f4858 !important;
}
.mds-book-store .mds-review-summary-meta{
    display:flex !important;
    align-items:center !important;
    gap:3px !important;
    min-width:0 !important;
    white-space:nowrap !important;
    color:#7c8595 !important;
}
.mds-book-store .mds-review-mini-star{
    color:#b67a16 !important;
    font-size:12px !important;
    line-height:1 !important;
}
.mds-book-store .mds-review-summary-action{
    flex:0 0 auto !important;
    white-space:nowrap !important;
    font-size:11px !important;
    font-weight:750 !important;
    color:var(--mds-accent,#6f4ae8) !important;
}

/* Раскрытый блок отзывов */
.mds-book-store .mds-review-panel{
    box-sizing:border-box !important;
    width:100% !important;
    margin:8px 0 0 !important;
    padding:10px !important;
    border:1px solid #e7e9ef !important;
    border-radius:10px !important;
    background:#fafbfc !important;
    box-shadow:none !important;
}
.mds-book-store .mds-review-empty,
.mds-book-store .mds-review-login{
    margin:0 0 8px !important;
    font-size:11.5px !important;
    line-height:1.4 !important;
    color:#6b7484 !important;
}
.mds-book-store .mds-review-list{
    display:grid !important;
    gap:7px !important;
    max-height:220px !important;
    overflow:auto !important;
    margin:0 0 8px !important;
    padding:0 !important;
}
.mds-book-store .mds-review-item{
    margin:0 !important;
    padding:8px 9px !important;
    border:1px solid #e6e8ed !important;
    border-radius:8px !important;
    background:#fff !important;
}
.mds-book-store .mds-review-item-head{
    font-size:11.5px !important;
}
.mds-book-store .mds-review-stars{
    font-size:11px !important;
    letter-spacing:0 !important;
}
.mds-book-store .mds-review-text{
    font-size:11.5px !important;
    line-height:1.4 !important;
}
.mds-book-store .mds-review-form{
    box-sizing:border-box !important;
    width:100% !important;
    margin:8px 0 0 !important;
    padding:9px 0 0 !important;
    border-top:1px solid #e5e8ed !important;
    display:grid !important;
    grid-template-columns:92px minmax(0,1fr) !important;
    gap:8px 10px !important;
    align-items:end !important;
    background:transparent !important;
}
.mds-book-store .mds-review-form-row,
.mds-book-store .mds-review-textarea{
    min-width:0 !important;
    margin:0 !important;
    padding:0 !important;
}
.mds-book-store .mds-review-form label{
    margin:0 !important;
    padding:0 !important;
    font-size:11px !important;
    line-height:1.25 !important;
}
.mds-book-store .mds-review-form label>span,
.mds-book-store .mds-review-textarea>span{
    display:block !important;
    margin:0 0 4px !important;
    padding:0 !important;
    font-size:10.5px !important;
    line-height:1.2 !important;
    font-weight:700 !important;
    color:#5e6878 !important;
}
.mds-book-store .mds-review-form select{
    box-sizing:border-box !important;
    width:100% !important;
    height:34px !important;
    min-height:34px !important;
    margin:0 !important;
    padding:4px 6px !important;
    border:1px solid #d7dbe3 !important;
    border-radius:7px !important;
    background:#fff !important;
    color:#273142 !important;
    font-size:11px !important;
    line-height:1.2 !important;
    box-shadow:none !important;
}
.mds-book-store .mds-review-textarea{
    grid-column:1 / -1 !important;
}
.mds-book-store .mds-review-form textarea{
    box-sizing:border-box !important;
    display:block !important;
    width:100% !important;
    height:76px !important;
    min-height:76px !important;
    max-height:150px !important;
    margin:0 !important;
    padding:8px 9px !important;
    resize:vertical !important;
    border:1px solid #d7dbe3 !important;
    border-radius:7px !important;
    background:#fff !important;
    color:#273142 !important;
    font-size:11.5px !important;
    line-height:1.4 !important;
    box-shadow:none !important;
}
.mds-book-store .mds-review-submit{
    grid-column:1 / auto !important;
    box-sizing:border-box !important;
    width:auto !important;
    min-width:0 !important;
    height:32px !important;
    min-height:32px !important;
    margin:0 !important;
    padding:6px 11px !important;
    border:0 !important;
    border-radius:7px !important;
    background:var(--mds-accent,#6f4ae8) !important;
    color:#fff !important;
    font-family:inherit !important;
    font-size:11px !important;
    font-weight:750 !important;
    line-height:1 !important;
    text-transform:none !important;
    letter-spacing:0 !important;
    box-shadow:none !important;
    cursor:pointer !important;
}
.mds-book-store .mds-review-form-note{
    grid-column:2 / -1 !important;
    align-self:center !important;
    margin:0 !important;
    padding:0 !important;
    font-size:9.5px !important;
    line-height:1.3 !important;
    color:#8a92a0 !important;
}

@media(max-width:1180px){
    .mds-book-store .mds-book-grid{grid-template-columns:repeat(3,minmax(0,1fr)) !important}
}
@media(max-width:860px){
    .mds-book-store .mds-book-grid{grid-template-columns:repeat(2,minmax(0,1fr)) !important;gap:12px !important}
}
@media(max-width:520px){
    .mds-book-store .mds-book-grid{grid-template-columns:1fr !important}
    .mds-book-store .mds-review-form{grid-template-columns:1fr !important}
    .mds-book-store .mds-review-textarea,
    .mds-book-store .mds-review-submit,
    .mds-book-store .mds-review-form-note{grid-column:1 !important}
}


/* v2.3 — имя автора отзыва + кнопка без переноса */
.mds-book-store .mds-review-form{
    display:grid !important;
    grid-template-columns:1fr !important;
    gap:8px !important;
    align-items:stretch !important;
}
.mds-book-store .mds-review-form-head{
    display:grid !important;
    grid-template-columns:minmax(0,1fr) 108px !important;
    gap:8px !important;
    align-items:end !important;
    min-width:0 !important;
}
.mds-book-store .mds-review-name,
.mds-book-store .mds-review-rating{
    min-width:0 !important;
    margin:0 !important;
}
.mds-book-store .mds-review-form input[type="text"]{
    box-sizing:border-box !important;
    width:100% !important;
    height:34px !important;
    min-height:34px !important;
    margin:0 !important;
    padding:6px 8px !important;
    border:1px solid #d7dbe3 !important;
    border-radius:7px !important;
    background:#fff !important;
    color:#273142 !important;
    font:inherit !important;
    font-size:11.5px !important;
    line-height:1.2 !important;
    box-shadow:none !important;
}
.mds-book-store .mds-review-textarea{
    grid-column:1 !important;
}
.mds-book-store .mds-review-form-actions{
    display:flex !important;
    align-items:center !important;
    flex-wrap:wrap !important;
    gap:7px 10px !important;
    min-width:0 !important;
}
.mds-book-store .mds-review-submit{
    grid-column:auto !important;
    display:inline-flex !important;
    align-items:center !important;
    justify-content:center !important;
    width:max-content !important;
    min-width:112px !important;
    max-width:100% !important;
    white-space:nowrap !important;
    word-break:normal !important;
    overflow-wrap:normal !important;
    padding:7px 12px !important;
    font-size:10.5px !important;
    line-height:1 !important;
}
.mds-book-store .mds-review-form-note{
    grid-column:auto !important;
    flex:1 1 150px !important;
    min-width:0 !important;
}
@media(max-width:520px){
    .mds-book-store .mds-review-form-head{
        grid-template-columns:minmax(0,1fr) 102px !important;
    }
}

/* v2.4 — источник внешнего отзыва и сообщения модерации */
.mds-review-source{
    display:inline-block;
    margin-left:6px;
    padding:2px 6px;
    border-radius:999px;
    background:#f0edf9;
    color:#6550a8 !important;
    font-size:10.5px;
    line-height:1.35;
    text-decoration:none !important;
    vertical-align:middle;
}
.mds-review-source:hover{text-decoration:underline !important}


/* 2.7 — в каталоге отзывы больше не раскрываются внутри узкой карточки */
.mds-book-store .mds-card-review-row{
    margin-top:8px !important;
    padding-top:8px !important;
    border-top:1px solid #eceef2 !important;
    display:flex !important;
    align-items:center !important;
    justify-content:space-between !important;
    gap:8px !important;
    min-height:28px !important;
    font-size:11.5px !important;
    line-height:1.25 !important;
}
.mds-book-store .mds-card-review-stats{
    min-width:0 !important;
    display:flex !important;
    align-items:center !important;
    gap:5px !important;
    color:#7c8595 !important;
    white-space:nowrap !important;
}
.mds-book-store .mds-card-review-stats>strong:first-child{
    color:#3f4858 !important;
    font-weight:750 !important;
}
.mds-book-store .mds-card-review-link{
    flex:0 0 auto !important;
    color:var(--mds-accent,#6f4ae8) !important;
    font-weight:750 !important;
    text-decoration:none !important;
    white-space:nowrap !important;
}
.mds-book-store .mds-card-review-link:hover{
    text-decoration:underline !important;
    text-underline-offset:2px !important;
}
@media(max-width:520px){
    .mds-book-store .mds-card-review-row{
        align-items:flex-start !important;
        flex-direction:column !important;
        gap:4px !important;
    }
}


/* v2.9.1: Prodamus payment links, annual November campaign */
.mds-book-store.mds-sale-active{--mds-accent:#a63727;--mds-line:#ecd6bd}
.mds-november-banner{display:flex;align-items:center;justify-content:center;gap:24px;padding:28px 24px;margin:0 0 26px;background:radial-gradient(circle at 20% 10%,#ffde9b 0,transparent 31%),linear-gradient(125deg,#fff3de 0%,#ffe1bd 50%,#f7cdb4 100%);border:2px solid #b76842;border-radius:24px;box-shadow:0 9px 28px rgba(120,55,27,.11);text-align:center;position:relative;overflow:hidden}
.mds-november-banner:before,.mds-november-banner:after{content:'❧';position:absolute;color:rgba(147,52,27,.2);font-size:76px;line-height:1;top:-18px}
.mds-november-banner:before{left:12px}.mds-november-banner:after{right:12px;transform:scaleX(-1)}
.mds-november-content{position:relative;z-index:1;max-width:740px}
.mds-november-content>span{letter-spacing:.16em;font-size:12px;font-weight:900;color:#974b2e}
.mds-november-content h2{font-family:Georgia,serif;font-size:clamp(30px,4.7vw,52px)!important;line-height:1.1;margin:8px 0!important;color:#822d1e!important}
.mds-november-content p{font-size:clamp(14px,1.8vw,18px);line-height:1.5;color:#633c2b;margin:0}
.mds-november-pumpkins{font-size:clamp(26px,4.3vw,48px);white-space:nowrap}
.mds-sale-price{display:flex;align-items:baseline;flex-wrap:wrap;gap:7px}
.mds-sale-price del{color:#858585;font-size:15px}.mds-sale-price strong{font-size:24px;color:#a3291c}.mds-sale-price>span{font-size:12px;font-weight:800;padding:4px 7px;background:#b23323;color:#fff;border-radius:12px}
.mds-book-store .mds-sale-buy-button{background:#a62b21!important;border-color:#a62b21!important;color:#fff!important;text-decoration:none!important;line-height:1.2}
.mds-book-actions .mds-sale-buy-button{min-height:40px}
.mds-book-detail{max-width:1180px;margin:0 auto;padding:16px 16px 60px}
.mds-detail-layout{display:grid;grid-template-columns:minmax(210px, .8fr) minmax(270px,1.4fr);gap:35px;margin-top:22px}
.mds-detail-cover img{display:block;width:100%;max-width:390px;height:auto;object-fit:contain;border-radius:11px;box-shadow:0 12px 36px #1a1a1a19}
.mds-detail-text h1{font-size:clamp(27px,4vw,45px);margin:8px 0 20px}.mds-detail-text p{line-height:1.65;font-size:16px}.mds-detail-text .mds-sale-price{margin:20px 0}
.mds-detail-note{font-size:13px!important;color:#5b6069}
@media(max-width:820px){.mds-book-actions .mds-sale-buy-button{flex:1}.mds-book-actions .mds-sale-buy-button{width:100%}.mds-november-pumpkins{display:none}}
@media(max-width:620px){.mds-detail-layout{grid-template-columns:1fr;gap:20px}.mds-detail-cover{max-width:320px;margin:auto}.mds-november-banner{padding:22px 12px}.mds-sale-price strong{font-size:22px}}

/* v2.9.2 administrator-only November sale preview */
.mds-book-store .mds-preview-disabled{display:inline-flex;align-items:center;justify-content:center;opacity:.7;cursor:not-allowed!important;pointer-events:none!important}
.mds-preview-notice{margin:0 0 14px!important;border:2px solid #9d4e24;background:#fff7e6;color:#8c3d19;padding:10px 15px;border-radius:8px;font-size:14px;font-weight:800;text-align:center;line-height:1.45}


/* v2.9.3 warmer November sale layout */
.mds-book-store.mds-sale-active{
    --mds-accent:#a63727;
    --mds-line:#ecd6bd;
    background:
        radial-gradient(circle at 10% 0%, rgba(255,220,150,.75) 0, rgba(255,220,150,0) 18%),
        radial-gradient(circle at 88% 6%, rgba(255,206,132,.55) 0, rgba(255,206,132,0) 18%),
        linear-gradient(180deg,#f3a54a 0%,#e97d2e 48%,#cc5424 100%);
    border-radius:32px;
    padding:28px 18px 0;
    box-shadow:0 18px 45px rgba(118,51,17,.18);
    overflow:hidden;
}
.mds-book-store.mds-sale-active .mds-store-hero,
.mds-book-store.mds-sale-active .mds-store-controls,
.mds-book-store.mds-sale-active .mds-translator-section,
.mds-book-store.mds-sale-active .mds-library-promo,
.mds-book-store.mds-sale-active .mds-store-empty{
    position:relative;
    z-index:1;
}
.mds-book-store.mds-sale-active .mds-store-hero{background:rgba(255,246,233,.22);border:1px solid rgba(255,240,220,.35);padding:24px 18px;border-radius:24px;backdrop-filter:blur(2px);margin-bottom:22px}
.mds-book-store.mds-sale-active .mds-store-kicker,
.mds-book-store.mds-sale-active .mds-store-hero h1,
.mds-book-store.mds-sale-active .mds-store-subtitle{color:#fff7ea}
.mds-book-store.mds-sale-active .mds-store-controls{background:rgba(255,250,242,.96);border-color:#f4d7bb;box-shadow:0 10px 30px rgba(100,41,13,.09)}
.mds-book-store.mds-sale-active .mds-translator-section{background:rgba(255,247,238,.98);border:1px solid rgba(255,231,204,.92);border-radius:28px;padding:22px 18px;box-shadow:0 14px 36px rgba(88,34,10,.10)}
.mds-book-store.mds-sale-active .mds-library-promo{background:#fff9f2;border:1px solid #f1d8be;border-radius:28px;box-shadow:0 14px 36px rgba(88,34,10,.10);margin-bottom:0}
.mds-book-store.mds-sale-active .mds-reading-room-button{background:linear-gradient(135deg,#df6237,#c64527)!important;border-color:#c64527!important}
.mds-book-store.mds-sale-active .mds-november-banner{margin-bottom:22px}
.mds-book-store.mds-sale-active .mds-november-content{max-width:820px}
.mds-book-store.mds-sale-active .mds-november-scene{position:relative;margin:30px -18px 0;padding:48px 18px 34px;background:linear-gradient(180deg,rgba(255,165,58,.04) 0%, rgba(116,24,14,.18) 26%, rgba(92,17,12,.60) 100%)}
.mds-book-store.mds-sale-active .mds-november-scene:before{content:'';position:absolute;inset:auto 0 0 0;height:100%;background:radial-gradient(circle at 50% 22%, rgba(255,210,91,.35) 0, rgba(255,210,91,0) 22%);pointer-events:none}
.mds-book-store.mds-sale-active .mds-november-sparkles{position:absolute;inset:0;pointer-events:none;background:
    radial-gradient(circle at 14% 32%, rgba(255,224,122,.95) 0 2px, transparent 5px),
    radial-gradient(circle at 28% 57%, rgba(255,224,122,.75) 0 4px, transparent 9px),
    radial-gradient(circle at 39% 28%, rgba(255,224,122,.75) 0 3px, transparent 8px),
    radial-gradient(circle at 50% 55%, rgba(255,224,122,.95) 0 5px, transparent 11px),
    radial-gradient(circle at 61% 30%, rgba(255,224,122,.75) 0 3px, transparent 8px),
    radial-gradient(circle at 72% 56%, rgba(255,224,122,.75) 0 4px, transparent 10px),
    radial-gradient(circle at 85% 35%, rgba(255,224,122,.95) 0 5px, transparent 12px);
    opacity:.95}
.mds-book-store.mds-sale-active .mds-november-pumpkin-row{position:relative;z-index:1;display:flex;justify-content:center;align-items:flex-end;gap:clamp(10px,2vw,18px);flex-wrap:nowrap}
.mds-book-store.mds-sale-active .mds-pumpkin{line-height:1;filter:drop-shadow(0 8px 12px rgba(41,11,5,.25))}
.mds-book-store.mds-sale-active .mds-pumpkin-sm{font-size:clamp(48px,6vw,72px)}
.mds-book-store.mds-sale-active .mds-pumpkin-md{font-size:clamp(72px,8vw,100px)}
.mds-book-store.mds-sale-active .mds-pumpkin-lg{font-size:clamp(96px,10vw,132px)}
@media(max-width:820px){
    .mds-book-store.mds-sale-active{border-radius:24px;padding-top:18px}
    .mds-book-store.mds-sale-active .mds-translator-section{padding:18px 14px}
    .mds-book-store.mds-sale-active .mds-november-scene{margin-left:-12px;margin-right:-12px}
}


/* v2.9.5: black copy on the autumn sale catalogue hero only. */
.mds-book-store.mds-sale-active .mds-store-hero .mds-store-kicker,
.mds-book-store.mds-sale-active .mds-store-hero h1,
.mds-book-store.mds-sale-active .mds-store-hero .mds-store-subtitle {
    color: #151515 !important;
}


/* v2.9.6: Make the original price unmistakable on narrow sale cards. */
.mds-book-store .mds-sale-price {
    display:flex;
    flex-direction:column;
    align-items:flex-start;
    gap:6px;
    line-height:1.25;
}
.mds-book-store .mds-sale-before {
    display:flex;
    align-items:baseline;
    flex-wrap:wrap;
    gap:6px;
    min-height:23px;
}
.mds-book-store .mds-sale-before-label {
    color:#57483e !important;
    background:transparent !important;
    font-size:12px;
    font-weight:700;
    padding:0;
    border-radius:0;
}
.mds-book-store .mds-sale-price .mds-sale-before del {
    color:#38312e !important;
    text-decoration:line-through !important;
    text-decoration-color:#b32b22 !important;
    text-decoration-thickness:2px !important;
    text-decoration-skip-ink:none;
    font-size:18px !important;
    font-weight:750 !important;
    opacity:1 !important;
    white-space:nowrap;
}
.mds-book-store .mds-sale-now {
    display:flex;
    align-items:center;
    flex-wrap:wrap;
    gap:9px;
}
.mds-book-store .mds-sale-now strong {
    color:#a3291c !important;
    font-size:24px;
    font-weight:850;
    line-height:1.15;
    white-space:nowrap;
}
.mds-book-store .mds-sale-price .mds-sale-now .mds-sale-discount {
    color:#fff !important;
    background:#b23323 !important;
    padding:5px 9px !important;
    border-radius:999px !important;
    font-size:12px !important;
    font-weight:800 !important;
    white-space:nowrap;
}
@media(max-width:620px){
    .mds-book-store .mds-sale-now strong{font-size:23px}
}


/* v2.9.7 — illustrated sale-price hierarchy: diagonal crossout, circular badge, large red price. */
.mds-book-store .mds-book-card--sale .mds-book-footer {
    display:flex;
    flex-direction:column;
    align-items:stretch;
    gap:12px;
}
.mds-book-store .mds-book-card--sale .mds-book-footer > div:first-child {
    width:100%;
    min-width:0;
}
.mds-book-store .mds-book-card--sale .mds-book-actions {
    display:flex;
    flex-wrap:wrap;
    width:100%;
    gap:9px;
    justify-content:space-between;
    align-items:stretch;
}
.mds-book-store .mds-book-card--sale .mds-book-actions .mds-button {
    flex:1 1 auto;
    text-align:center;
    min-height:39px;
}
.mds-book-store .mds-sale-price {
    position:relative;
    display:block;
    width:100%;
    max-width:100%;
    box-sizing:border-box;
    min-height:125px;
    padding:3px 77px 0 0;
    text-align:left;
    line-height:1;
    overflow:visible;
}
.mds-book-store .mds-sale-price .mds-sale-before {
    display:flex;
    flex-direction:column;
    gap:6px;
    align-items:flex-start;
    min-height:0;
    margin:0;
}
.mds-book-store .mds-sale-price .mds-sale-before-label {
    display:block;
    font-size:12px;
    color:#29221e !important;
    font-weight:750;
    letter-spacing:0;
    line-height:1.25;
}
.mds-book-store .mds-sale-price .mds-sale-before del {
    position:relative;
    display:inline-block;
    color:#1a1a1a !important;
    font-size:clamp(23px, 2.4vw, 29px) !important;
    line-height:1.16;
    font-weight:850 !important;
    opacity:1 !important;
    text-decoration:none !important;
    white-space:nowrap;
}
.mds-book-store .mds-sale-price .mds-sale-before del::after {
    content:'';
    position:absolute;
    left:-6%;
    top:51%;
    height:4px;
    width:113%;
    border-radius:5px;
    background:#f12c34;
    transform:rotate(-17deg);
    box-shadow:0 1px 1px rgba(150,20,25,.12);
    pointer-events:none;
}
.mds-book-store .mds-sale-price .mds-sale-discount {
    display:flex !important;
    flex-direction:column;
    align-items:center;
    justify-content:center;
    position:absolute;
    top:7px;
    right:0;
    width:68px;
    height:68px;
    box-sizing:border-box;
    padding:8px 3px !important;
    border:0 !important;
    border-radius:50% !important;
    background:#f02d36 !important;
    color:#fff !important;
    transform:none;
    box-shadow:0 4px 10px rgba(178,35,35,.12);
    white-space:nowrap;
    line-height:1.05;
}
.mds-book-store .mds-sale-price .mds-sale-discount small {
    font-size:10px;
    font-weight:750;
    color:#fff;
    letter-spacing:.025em;
    line-height:1.25;
}
.mds-book-store .mds-sale-price .mds-sale-discount b {
    font-size:21px;
    font-weight:900;
    letter-spacing:-.045em;
    color:#fff;
    line-height:1.2;
}
.mds-book-store .mds-sale-price .mds-sale-now {
    display:flex;
    flex-wrap:nowrap;
    align-items:baseline;
    gap:5px;
    margin:10px 0 0;
    white-space:nowrap;
}
.mds-book-store .mds-sale-price .mds-sale-now strong {
    display:inline-block;
    color:#f02d36 !important;
    font-size:clamp(38px, 4.3vw, 52px) !important;
    font-weight:900 !important;
    letter-spacing:-.055em;
    line-height:.98;
    white-space:nowrap;
    font-variant-numeric:tabular-nums;
}
.mds-book-store .mds-sale-price .mds-sale-currency {
    display:inline-block;
    color:#f02d36 !important;
    background:transparent !important;
    border:0;
    padding:0 !important;
    font-weight:850;
    font-size:clamp(20px,2.4vw,27px) !important;
    line-height:1;
}
/* Full book detail: the same style but a little more breathing room. */
.mds-book-detail .mds-sale-price {
    max-width:370px;
    min-height:148px;
    padding-right:100px;
}
.mds-book-detail .mds-sale-price .mds-sale-discount {
    width:88px;
    height:88px;
}
.mds-book-detail .mds-sale-price .mds-sale-discount small {font-size:11px}
.mds-book-detail .mds-sale-price .mds-sale-discount b {font-size:26px}
.mds-book-detail .mds-sale-price .mds-sale-now strong {font-size:58px !important}
@media (max-width:620px) {
    .mds-book-store .mds-sale-price {min-height:130px;padding-right:84px}
    .mds-book-store .mds-sale-price .mds-sale-before del {font-size:26px !important}
    .mds-book-store .mds-sale-price .mds-sale-now strong {font-size:clamp(40px,9vw,51px) !important}
    .mds-book-store .mds-sale-price .mds-sale-discount {width:74px;height:74px}
    .mds-book-detail .mds-sale-price {padding-right:92px}
    .mds-book-detail .mds-sale-price .mds-sale-discount {width:78px;height:78px}
}


/* v2.9.8 — smaller discounted price typography in all book cards, including the permanently discounted Yuan Shushan book. */
.mds-book-store .mds-sale-price .mds-sale-now strong {
    font-size:clamp(30px, 3vw, 38px) !important;
    letter-spacing:-.045em;
    line-height:1.04;
}
.mds-book-store .mds-sale-price .mds-sale-currency {
    font-size:clamp(18px, 1.9vw, 22px) !important;
}
.mds-book-detail .mds-sale-price .mds-sale-now strong {
    font-size:44px !important;
}
@media(max-width:620px){
    .mds-book-store .mds-sale-price .mds-sale-now strong {
        font-size:clamp(30px, 7.4vw, 36px) !important;
    }
    .mds-book-detail .mds-sale-price .mds-sale-now strong {
        font-size:40px !important;
    }
}
/* On narrow phones, sale cards use a full-width layout so the badge and price cannot collide. */
@media(max-width:520px){
    .mds-book-store .mds-book-card--sale{
        display:flex;
        flex-direction:column;
        grid-template-columns:none;
    }
    .mds-book-store .mds-book-card--sale .mds-book-cover-wrap{
        width:100%;
        height:205px !important;
        min-height:0;
        box-sizing:border-box;
    }
    .mds-book-store .mds-book-card--sale .mds-book-body{
        width:100%;
        box-sizing:border-box;
    }
}


/* 2.9.9 — candlelit jack-o'-lantern illustration replaces dark-faced emoji */
.mds-book-store.mds-sale-active .mds-november-scene--glow{
    overflow:hidden;
    background:#c4541e;
    margin:30px -18px 0;
    padding:0;
    min-height:0;
    line-height:0;
}
.mds-book-store.mds-sale-active .mds-november-scene--glow::before{
    display:none;
    content:none;
}
.mds-book-store.mds-sale-active .mds-november-scene--glow img{
    width:100%;
    max-width:100%;
    height:auto;
    max-height:400px;
    display:block;
    object-fit:cover;
    object-position:center bottom;
}
@media(max-width:820px){
    .mds-book-store.mds-sale-active .mds-november-scene--glow{margin-left:-12px;margin-right:-12px}
    .mds-book-store.mds-sale-active .mds-november-scene--glow img{
        height:clamp(170px,35vw,330px);
        object-fit:cover;
        object-position:center bottom;
    }
}


/* v2.9.10 — readable November book detail pages and extra room above the footer.
   Only book detail pages are affected; the catalogue stays unchanged. */
.mds-book-store.mds-book-detail {
    padding-bottom:clamp(96px,11vw,152px);
}
.mds-book-store.mds-book-detail.mds-sale-active {
    padding:clamp(22px,3vw,38px) clamp(18px,3vw,36px) clamp(106px,12vw,160px);
    margin-bottom:32px;
}
.mds-book-store.mds-book-detail.mds-sale-active .mds-detail-layout {
    align-items:start;
    gap:clamp(24px,4vw,56px);
}
.mds-book-store.mds-book-detail.mds-sale-active .mds-detail-text {
    padding:clamp(20px,2.8vw,34px);
    border:1px solid rgba(255,239,216,.32);
    border-radius:22px;
    background:linear-gradient(145deg,rgba(103,39,19,.62),rgba(90,34,18,.54));
    box-shadow:0 14px 38px rgba(94,39,18,.10);
    color:#fff9ec;
}
.mds-book-store.mds-book-detail.mds-sale-active .mds-detail-text h1 {
    color:#fffaf0 !important;
    line-height:1.14;
}
.mds-book-store.mds-book-detail.mds-sale-active .mds-detail-text p,
.mds-book-store.mds-book-detail.mds-sale-active .mds-detail-text p strong,
.mds-book-store.mds-book-detail.mds-sale-active .mds-detail-text .mds-store-kicker {
    color:#fff4e3 !important;
}
.mds-book-store.mds-book-detail.mds-sale-active .mds-detail-text .mds-store-kicker {
    letter-spacing:.12em;
    font-weight:800;
}
.mds-book-store.mds-book-detail.mds-sale-active .mds-detail-text .mds-detail-note {
    color:#ffe4c7 !important;
}
.mds-book-store.mds-book-detail.mds-sale-active .mds-detail-text a:not(.mds-button) {
    color:#fff2d0 !important;
    text-decoration:underline;
    text-underline-offset:3px;
}
.mds-book-store.mds-book-detail.mds-sale-active > p > a {
    color:#fff8ed !important;
    font-weight:700;
    text-decoration:underline;
    text-underline-offset:3px;
    text-shadow:0 1px 2px rgba(73,24,9,.35);
}
.mds-book-store.mds-book-detail.mds-sale-active .mds-detail-text .mds-sale-price .mds-sale-before-label,
.mds-book-store.mds-book-detail.mds-sale-active .mds-detail-text .mds-sale-price .mds-sale-before del {
    color:#fff3dd !important;
}
.mds-book-store.mds-book-detail.mds-sale-active .mds-detail-text .mds-sale-price .mds-sale-before del::after {
    background:#ff5960;
    box-shadow:0 1px 2px rgba(57,14,9,.35);
}
.mds-book-store.mds-book-detail.mds-sale-active .mds-detail-text .mds-sale-price .mds-sale-now strong,
.mds-book-store.mds-book-detail.mds-sale-active .mds-detail-text .mds-sale-price .mds-sale-currency {
    color:#fff0b4 !important;
    text-shadow:0 2px 4px rgba(55,19,9,.27);
}
.mds-book-store.mds-book-detail.mds-sale-active .mds-detail-text .mds-sale-discount {
    background:#e52638 !important;
    box-shadow:0 5px 16px rgba(65,15,15,.24);
}
.mds-book-store.mds-book-detail.mds-sale-active .mds-detail-text .mds-sale-discount small,
.mds-book-store.mds-book-detail.mds-sale-active .mds-detail-text .mds-sale-discount b {
    color:#fff !important;
}
.mds-book-store.mds-book-detail.mds-sale-active .mds-detail-text .mds-sale-buy-button {
    background:#a92c28 !important;
    border-color:#a92c28 !important;
    color:#fff !important;
}
.mds-book-store.mds-book-detail.mds-sale-active .mds-detail-text .mds-preview-disabled {
    color:#fff !important;
}
@media(max-width:620px){
    .mds-book-store.mds-book-detail.mds-sale-active{
        padding:18px 12px 105px;
        margin-bottom:24px;
    }
    .mds-book-store.mds-book-detail.mds-sale-active .mds-detail-text{
        padding:20px 16px 24px;
        border-radius:18px;
    }
    .mds-book-store.mds-book-detail.mds-sale-active .mds-detail-layout{
        gap:22px;
    }
}


/* v2.9.11 — tighter unified book detail card and stronger CTA */
.mds-book-store.mds-book-detail.mds-sale-active .mds-detail-layout {
    background:linear-gradient(145deg,rgba(118,47,22,.72),rgba(132,53,24,.60));
    border:1px solid rgba(255,234,205,.24);
    border-radius:28px;
    padding:clamp(20px,2.8vw,30px);
    box-shadow:0 18px 44px rgba(82,29,12,.17);
}
.mds-book-store.mds-book-detail.mds-sale-active .mds-detail-cover {
    align-self:stretch;
    display:flex;
}
.mds-book-store.mds-book-detail.mds-sale-active .mds-detail-cover img {
    width:100%;
    max-width:100%;
    border-radius:20px;
    box-shadow:0 16px 40px rgba(53,18,8,.22);
}
.mds-book-store.mds-book-detail.mds-sale-active .mds-detail-text {
    height:100%;
    display:flex;
    flex-direction:column;
    justify-content:center;
    padding:clamp(16px,2vw,24px) clamp(18px,2.3vw,26px);
    border:1px solid rgba(255,239,216,.16);
    border-radius:20px;
    background:linear-gradient(145deg,rgba(101,38,18,.42),rgba(88,32,17,.34));
    box-shadow:none;
    color:#fff8ef;
}
.mds-book-store.mds-book-detail.mds-sale-active .mds-detail-text p,
.mds-book-store.mds-book-detail.mds-sale-active .mds-detail-text p strong,
.mds-book-store.mds-book-detail.mds-sale-active .mds-detail-text .mds-store-kicker {
    color:#fff6ea !important;
}
.mds-book-store.mds-book-detail.mds-sale-active .mds-detail-text > *:last-child {margin-bottom:0 !important;}
.mds-book-store.mds-book-detail.mds-sale-active .mds-detail-text .mds-sale-price {margin:18px 0 20px;}
.mds-book-store.mds-book-detail.mds-sale-active .mds-detail-text .mds-sale-buy-button {
    display:inline-flex;
    align-items:center;
    justify-content:center;
    align-self:flex-start;
    min-height:56px;
    padding:14px 28px !important;
    border-radius:16px;
    background:#e52638 !important;
    border-color:#e52638 !important;
    color:#fff !important;
    font-size:20px;
    font-weight:900;
    letter-spacing:.01em;
    box-shadow:0 12px 28px rgba(99,22,18,.28), inset 0 1px 0 rgba(255,255,255,.18);
}
.mds-book-store.mds-book-detail.mds-sale-active .mds-detail-text .mds-sale-buy-button:hover {
    transform:translateY(-1px);
    filter:brightness(1.06);
}
.mds-book-store.mds-book-detail.mds-sale-active .mds-detail-text .mds-sale-buy-button:active {
    transform:translateY(0);
}
@media(max-width:620px){
    .mds-book-store.mds-book-detail.mds-sale-active .mds-detail-layout{padding:14px;border-radius:22px}
    .mds-book-store.mds-book-detail.mds-sale-active .mds-detail-cover img{border-radius:18px}
    .mds-book-store.mds-book-detail.mds-sale-active .mds-detail-text{padding:18px 16px;border-radius:18px}
    .mds-book-store.mds-book-detail.mds-sale-active .mds-detail-text .mds-sale-buy-button{width:100%;align-self:stretch;font-size:18px;min-height:52px}
}


/* v2.9.13 — show the real sale CTA color even in admin preview.
   The preview purchase control remains an inert span (no href) with aria-disabled. */
.mds-book-store.mds-sale-active .mds-preview-disabled {
    opacity:1 !important;
}
.mds-book-store.mds-book-detail.mds-sale-active .mds-detail-text .mds-sale-buy-button.mds-preview-disabled {
    opacity:1 !important;
    background:#e52638 !important;
    border-color:#e52638 !important;
    color:#fff !important;
}


/* Мир Дао v1.0.1 — fixes for an independent store with no imported photos/links. */
/* In the old site every translator had a photo. With no photo, a two-column
   grid placed the sole text node into the 50px photo column. */
.mds-book-store .mds-translator-profile.mds-translator-profile--no-photo {
    display:block !important;
    grid-template-columns:minmax(0,1fr) !important;
    width:100%;
}
.mds-book-store .mds-translator-profile--no-photo .mds-translator-copy {
    width:100%;
    min-width:0;
}
.mds-book-store .mds-translator-profile--no-photo .mds-translator-copy h2,
.mds-book-store .mds-translator-profile--no-photo .mds-translator-copy p {
    overflow-wrap:normal;
    word-break:normal;
    white-space:normal;
    max-width:100% !important;
}
/* A consistent catalog canvas when the seasonal design isn't in use. */
.mds-book-store-page {
    box-sizing:border-box;
    background:#fbfaf8;
}
/* A configured link is required before a live purchase button may appear. */
.mds-book-store .mds-purchase-unavailable {
    display:flex;
    flex-direction:column;
    align-items:flex-start;
    gap:8px;
    margin-top:18px;
}
.mds-book-store .mds-button-unavailable,
.mds-book-store.mds-book-detail.mds-sale-active .mds-detail-text .mds-button-unavailable {
    display:inline-flex;
    align-items:center;
    justify-content:center;
    background:#948b8c !important;
    border-color:#948b8c !important;
    color:#fff !important;
    box-shadow:none !important;
    cursor:not-allowed;
    opacity:.88;
    pointer-events:none;
}
.mds-book-store .mds-payment-help {
    margin:0 !important;
    font-size:14px;
    line-height:1.5;
}
.mds-book-store .mds-payment-admin-help {
    display:inline-block;
    font-size:13px;
    text-decoration:underline;
}
.mds-book-store .mds-detail-cover-placeholder {
    box-sizing:border-box;
    width:100%;
    min-height:340px;
    border-radius:18px;
    padding:28px;
}
@media(max-width:620px){
    .mds-book-store .mds-detail-cover-placeholder{min-height:230px;}
}

/* v1.0.3 — independent regular bookstore theme: Chinese books and scrolls.
   This image is bundled locally and never depends on the original website.
   Sale styling overrides this background only after the campaign is ready. */
.mds-book-store:not(.mds-sale-active){
    --mds-line:#e8ddce;
    background-color:#f9f3e9;
    background-image:
        linear-gradient(180deg,rgba(255,252,245,.03) 0%,rgba(255,250,240,.35) 290px,rgba(250,245,236,.93) 660px,#f9f3e9 1150px),
        url('books-scrolls-background.webp');
    background-position:top center,top center;
    background-size:100% 100%,100% auto;
    background-repeat:no-repeat,no-repeat;
    border-radius:28px;
    padding-top:clamp(28px,4vw,52px);
    padding-bottom:76px;
}
.mds-book-store:not(.mds-sale-active) .mds-store-hero{
    padding:8px 22px 20px;
}
.mds-book-store:not(.mds-sale-active) .mds-translator-section{
    background:rgba(255,253,249,.89);
    border:1px solid rgba(221,204,180,.7);
    border-radius:24px;
    padding:22px 18px;
    box-shadow:0 10px 30px rgba(76,50,25,.05);
}
.mds-book-store:not(.mds-sale-active) .mds-store-controls{
    background:rgba(255,255,255,.96);
}
@media(max-width:620px){
    .mds-book-store:not(.mds-sale-active){
        border-radius:18px;
        background-size:100% 100%,auto 480px;
        padding-top:22px;
        padding-bottom:58px;
    }
    .mds-book-store:not(.mds-sale-active) .mds-store-hero{padding:12px 6px 18px}
    .mds-book-store:not(.mds-sale-active) .mds-translator-section{padding:18px 12px}
}

/* v1.0.4 — calmer minimal detail page layout for regular bookstore mode */
.mds-book-store.mds-book-detail:not(.mds-sale-active){
    position:relative;
    overflow:hidden;
    --mds-accent:#8e3752;
    --mds-accent-2:#f7e8ee;
    background-color:#f8f1e5;
    background-image:
        linear-gradient(180deg, rgba(255,253,248,.72) 0%, rgba(252,247,239,.86) 42%, rgba(247,241,230,.94) 100%),
        url('books-scrolls-background.webp');
    background-position:center top, center top;
    background-size:cover, cover;
    background-repeat:no-repeat, no-repeat;
    border-radius:30px;
    padding:24px 24px 72px;
    box-shadow:0 18px 42px rgba(84,59,32,.06);
}
.mds-book-store.mds-book-detail:not(.mds-sale-active) > p:first-child{
    margin:0 0 18px;
}
.mds-book-store.mds-book-detail:not(.mds-sale-active) > p:first-child > a{
    display:inline-flex;
    align-items:center;
    gap:8px;
    min-height:42px;
    padding:10px 16px;
    border-radius:999px;
    background:rgba(255,252,248,.9);
    border:1px solid rgba(188,155,115,.42);
    color:#8e3752 !important;
    text-decoration:none !important;
    font-weight:800;
    box-shadow:0 6px 18px rgba(85,60,35,.06);
}
.mds-book-store.mds-book-detail:not(.mds-sale-active) > p:first-child > a:hover{
    background:#fffaf4;
    transform:translateY(-1px);
}
.mds-book-store.mds-book-detail:not(.mds-sale-active) .mds-detail-layout{
    display:grid;
    grid-template-columns:minmax(240px,330px) minmax(0,1fr);
    gap:clamp(22px,4vw,48px);
    align-items:start;
    margin-top:0;
    padding:clamp(20px,2.6vw,34px);
    border-radius:28px;
    background:rgba(255,252,247,.82);
    border:1px solid rgba(197,170,133,.34);
    box-shadow:0 16px 36px rgba(77,53,29,.07);
}
.mds-book-store.mds-book-detail:not(.mds-sale-active) .mds-detail-cover{
    display:flex;
    justify-content:center;
    align-items:flex-start;
}
.mds-book-store.mds-book-detail:not(.mds-sale-active) .mds-detail-cover img,
.mds-book-store.mds-book-detail:not(.mds-sale-active) .mds-detail-cover .mds-detail-cover-placeholder{
    width:100%;
    max-width:320px;
}
.mds-book-store.mds-book-detail:not(.mds-sale-active) .mds-detail-cover img{
    display:block;
    height:auto;
    border-radius:18px;
    box-shadow:0 16px 36px rgba(40,28,18,.12);
    object-fit:contain;
}
.mds-book-store.mds-book-detail:not(.mds-sale-active) .mds-detail-cover .mds-detail-cover-placeholder{
    min-height:420px;
    border-radius:18px;
    background:linear-gradient(145deg,#fbf5ee,#fffdfa 60%,#f6efe6);
    border:1px solid rgba(201,179,149,.5);
    box-shadow:0 16px 36px rgba(40,28,18,.08);
}
.mds-book-store.mds-book-detail:not(.mds-sale-active) .mds-detail-text{
    padding:clamp(8px,.8vw,12px) 0;
    max-width:860px;
}
.mds-book-store.mds-book-detail:not(.mds-sale-active) .mds-detail-text .mds-store-kicker{
    color:#8e3752 !important;
    letter-spacing:.13em;
}
.mds-book-store.mds-book-detail:not(.mds-sale-active) .mds-detail-text h1{
    margin:8px 0 18px;
    line-height:1.12;
    font-size:clamp(34px,4.4vw,60px);
}
.mds-book-store.mds-book-detail:not(.mds-sale-active) .mds-detail-text p{
    margin:0 0 14px;
    color:#273146;
    line-height:1.68;
    font-size:17px;
}
.mds-book-store.mds-book-detail:not(.mds-sale-active) .mds-detail-text p strong{
    color:#172033;
}
.mds-book-store.mds-book-detail:not(.mds-sale-active) .mds-detail-text .mds-sale-price,
.mds-book-store.mds-book-detail:not(.mds-sale-active) .mds-detail-text .mds-book-price{
    margin:18px 0 18px;
}
.mds-book-store.mds-book-detail:not(.mds-sale-active) .mds-detail-text .mds-book-price{
    font-size:36px;
    font-weight:900;
    color:#172033;
}
.mds-book-store.mds-book-detail:not(.mds-sale-active) .mds-detail-text .mds-sale-buy-button,
.mds-book-store.mds-book-detail:not(.mds-sale-active) .mds-detail-text .mds-button-unavailable{
    min-height:50px;
    padding:12px 22px !important;
    border-radius:14px;
    font-size:18px;
    font-weight:900;
}
.mds-book-store.mds-book-detail:not(.mds-sale-active) .mds-detail-text .mds-sale-buy-button{
    background:#8e3752 !important;
    border-color:#8e3752 !important;
    box-shadow:0 12px 28px rgba(112,48,69,.16);
}
.mds-book-store.mds-book-detail:not(.mds-sale-active) .mds-detail-text .mds-payment-help,
.mds-book-store.mds-book-detail:not(.mds-sale-active) .mds-detail-text .mds-detail-note{
    color:#5f6878;
    font-size:14px;
}
.mds-book-store.mds-book-detail:not(.mds-sale-active) .mds-detail-text .mds-payment-admin-help,
.mds-book-store.mds-book-detail:not(.mds-sale-active) .mds-detail-text a:not(.mds-button){
    color:#8e3752 !important;
    text-decoration:underline;
    text-underline-offset:3px;
}
@media(max-width:980px){
    .mds-book-store.mds-book-detail:not(.mds-sale-active) .mds-detail-layout{
        grid-template-columns:minmax(210px,290px) minmax(0,1fr);
        gap:24px;
    }
    .mds-book-store.mds-book-detail:not(.mds-sale-active) .mds-detail-text h1{
        font-size:clamp(30px,4vw,44px);
    }
}
@media(max-width:760px){
    .mds-book-store.mds-book-detail:not(.mds-sale-active){
        padding:18px 14px 54px;
        border-radius:20px;
    }
    .mds-book-store.mds-book-detail:not(.mds-sale-active) .mds-detail-layout{
        grid-template-columns:1fr;
        gap:22px;
        padding:18px 16px 20px;
        border-radius:20px;
    }
    .mds-book-store.mds-book-detail:not(.mds-sale-active) .mds-detail-cover img,
    .mds-book-store.mds-book-detail:not(.mds-sale-active) .mds-detail-cover .mds-detail-cover-placeholder{
        max-width:300px;
    }
    .mds-book-store.mds-book-detail:not(.mds-sale-active) .mds-detail-text h1{
        font-size:clamp(28px,8vw,40px);
        margin-bottom:14px;
    }
    .mds-book-store.mds-book-detail:not(.mds-sale-active) .mds-detail-text p{font-size:16px}
    .mds-book-store.mds-book-detail:not(.mds-sale-active) .mds-detail-text .mds-sale-buy-button,
    .mds-book-store.mds-book-detail:not(.mds-sale-active) .mds-detail-text .mds-button-unavailable{
        width:100%;
    }
}


/* v1.0.5 — portrait book covers in the four-column catalogue.
   Keep the actual cover whole; let its softly blurred copy fill lateral space.
   This is intentionally scoped to catalogue cards, not individual book pages. */
.mds-book-store .mds-book-card .mds-book-cover-wrap--with-image {
    box-sizing: border-box;
    position: relative;
    isolation: isolate;
    height: 280px !important;
    min-height: 0;
    padding: 12px !important;
    background: #f8f3f0;
    overflow: hidden;
}
.mds-book-store .mds-book-card .mds-book-cover-wrap--with-image::after {
    content: '';
    position: absolute;
    z-index: -1;
    inset: 0;
    background: rgba(255,255,255,.42);
    pointer-events: none;
}
.mds-book-store .mds-book-card .mds-book-cover-wrap--with-image .mds-book-cover-backdrop {
    position: absolute;
    z-index: -2;
    display: block;
    inset: -24px;
    width: calc(100% + 48px);
    height: calc(100% + 48px);
    max-width: none;
    border: 0;
    object-fit: cover;
    object-position: center;
    filter: blur(22px) saturate(.7);
    opacity: .58;
    pointer-events: none;
}
.mds-book-store .mds-book-card .mds-book-cover-wrap--with-image .mds-book-cover {
    position: relative;
    z-index: 1;
    display: block;
    flex: 0 1 auto;
    width: auto !important;
    max-width: 100% !important;
    height: 100% !important;
    max-height: 100% !important;
    object-fit: contain !important;
    border-radius: 9px;
    background: transparent !important;
    box-shadow: 0 10px 24px rgba(35,27,36,.16);
}
.mds-book-store .mds-book-card .mds-book-cover-wrap--with-image .mds-book-badge {
    z-index: 3;
}
@media (max-width: 760px) {
    .mds-book-store .mds-book-card .mds-book-cover-wrap--with-image {
        height: 250px !important;
    }
}
@media (max-width: 520px) {
    .mds-book-store .mds-book-card:not(.mds-book-card--sale) .mds-book-cover-wrap--with-image {
        height: auto !important;
        min-height: 190px;
        padding: 8px !important;
    }
    .mds-book-store .mds-book-card:not(.mds-book-card--sale) .mds-book-cover-wrap--with-image .mds-book-cover {
        max-height: 240px !important;
        width: 100% !important;
        height: auto !important;
    }
    .mds-book-store .mds-book-card--sale .mds-book-cover-wrap--with-image {
        height: 230px !important;
    }
}
