.series-wrap{margin:28px auto}.series-block{margin:25px 0;padding:20px;border:1px solid #b9cddd;border-radius:8px;background:#fffdf8;color:#26384c}.series-heading{display:flex;align-items:center;justify-content:space-between;gap:12px}.series-heading h2{margin:0 0 9px}.series-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px}.series-book{display:grid;grid-template-columns:100px 1fr;align-items:start;gap:14px}.series-book img{width:100%;aspect-ratio:2/3;object-fit:cover;border-radius:3px;box-shadow:0 4px 10px #26384c20}.series-label{display:inline-block;font:700 13px/1.4 Arial;color:#42678c;padding:3px 6px;background:#e7eff5;border-radius:3px;margin:5px 0}.series-book h3{font:700 19px/1.25 Georgia;margin:7px 0 10px}.series-book .button{font-size:13px;padding:10px;min-height:44px;display:flex;align-items:center;justify-content:center;text-align:center}.series-price{color:#2d8134;font-weight:bold}.series-price del{color:#637689;font-weight:400}.series-offer{padding:16px;border:1px solid #b9cddd;border-radius:8px;background:#fffdf7;color:#26384c;margin:30px 0}.series-offer h2{font:700 27px/1.2 Georgia;margin:0 0 13px}.series-offer p{font:17px/1.55 Arial!important;text-indent:0!important;margin:12px 0!important}.series-offer .series-book{grid-template-columns:92px 1fr}.series-offer .button{display:block;text-align:center;min-height:44px;margin-top:12px}.series-note{font-size:14px!important;color:#42678c}.series-shelf{grid-column:1/-1;width:100%;margin-top:12px;padding:13px;background:#eaf1f7;border-radius:5px}.series-shelf .series-book{grid-template-columns:72px 1fr}.series-bell-card{margin-bottom:12px}.series-book img{height:auto}.series-offer .series-book>div{min-width:0}@media(max-width:720px){.series-grid{gap:12px}.series-grid .series-book{display:flex;flex-direction:column;gap:6px}.series-grid .series-book>a{width:100%}.series-grid .series-book>div{display:flex;flex:1;flex-direction:column;width:100%}.series-grid .series-book .button{margin-top:auto}.series-grid h3{font-size:17px}.series-block{padding:13px}.series-offer h2{font-size:25px}}
/* Series polish: stable alignment regardless of text length or purchase state. */
.series-block{padding:24px;overflow:hidden}.series-heading{align-items:baseline;flex-wrap:wrap;gap:8px 16px}.series-heading h2{font-size:clamp(24px,3vw,32px);margin:0}.series-heading .text-link{white-space:nowrap;flex:none}.series-block>p{margin:12px 0 22px;line-height:1.5}.series-grid{grid-template-columns:repeat(2,minmax(0,1fr));align-items:stretch;gap:24px}.series-grid .series-book{grid-template-columns:clamp(88px,10vw,115px) minmax(0,1fr);gap:16px;align-items:stretch;min-width:0}.series-grid .series-book>a{align-self:start}.series-grid .series-book>div{display:flex;flex-direction:column;min-width:0;gap:0}.series-grid .series-label{align-self:flex-start;margin:0 0 8px;font-size:12px}.series-grid h3{margin:0 0 12px;line-height:1.3;text-wrap:pretty;overflow-wrap:anywhere}.series-grid .series-price{margin:0;font-size:17px;line-height:1.5}.series-price-note{font:13px/1.4 Arial,sans-serif;color:#42678c;margin:4px 0 12px;min-height:37px}.series-grid .series-book .button{margin-top:auto;width:100%;min-height:46px;padding:10px 8px;white-space:normal;line-height:1.25}.series-grid .series-book img{display:block;width:100%;height:auto}.series-note{line-height:1.45!important}
/* Compact, readable notification; no cramped button immediately under the cover. */
.notification-dropdown .series-bell-card{padding:16px;margin:0 0 14px;border:1px solid #c9dbe8;background:#f4f8fb;display:flex;flex-direction:column;gap:12px;border-radius:8px}.notification-dropdown .series-bell-card>h3{font:700 21px/1.25 Georgia,serif;margin:0;color:#26384c}.notification-dropdown .series-bell-card .series-book{grid-template-columns:70px minmax(0,1fr);gap:12px;align-items:start}.notification-dropdown .series-bell-card .series-book h3{font:700 17px/1.3 Georgia,serif;margin:6px 0 0;overflow-wrap:anywhere}.notification-dropdown .series-bell-card .series-label{font-size:11px;margin:0;line-height:1.3}.notification-dropdown .series-bell-card .series-hook{font:15px/1.5 Arial,sans-serif;margin:0;color:#34495d}.notification-dropdown .series-bell-card .series-note{font:14px/1.45 Arial,sans-serif!important;margin:0;color:#345b7c}.notification-dropdown .series-bell-card .button{width:100%;display:flex;align-items:center;justify-content:center;text-align:center;min-height:46px;padding:11px 8px;white-space:normal;font-size:14px;line-height:1.3;margin:0}.notification-dropdown .series-bell-card img{display:block;width:70px;height:105px;object-fit:cover}.notification-dropdown .series-bell-card .series-book>div{min-width:0}
@media(max-width:720px){.series-block{padding:15px}.series-grid{gap:14px}.series-grid .series-book{display:flex;flex-direction:column;gap:10px}.series-grid .series-book>a{width:100%;max-width:135px;align-self:center}.series-grid .series-book>div{flex:1;width:100%}.series-grid h3{font-size:16px}.series-price-note{min-height:54px;margin-bottom:10px;font-size:12px}.series-grid .series-label{font-size:11px}.series-grid .series-book .button{font-size:12px;padding:10px 5px}.notification-dropdown .series-bell-card{padding:12px;gap:11px}.notification-dropdown .series-bell-card>h3{font-size:20px}}@media(max-width:350px){.series-grid{grid-template-columns:1fr}.series-grid .series-book{display:grid;grid-template-columns:80px minmax(0,1fr)}.series-grid .series-book>a{align-self:start}.series-price-note{min-height:0}}
/* Same outer edges as the catalogue: avoid the nested .wrap padding. */
main.wrap > .series-wrap{max-width:none;width:100%;padding:0;margin:28px 0}.series-wrap>.series-block{width:100%;box-sizing:border-box}
@media(min-width:901px){.series-grid .series-book{grid-template-columns:142px minmax(0,1fr);min-height:213px;gap:18px}.series-grid .series-book>a{align-self:stretch;display:flex;align-items:start}.series-grid .series-book img{width:142px;height:213px;aspect-ratio:2/3;object-fit:cover}.series-grid .series-book>div{min-height:213px}.series-grid .series-price-note{min-height:18px;margin:4px 0 10px}.series-grid h3{font-size:20px;margin:0 0 8px}.series-grid .series-book .button{min-height:44px}}
@media(min-width:721px) and (max-width:900px){.series-grid{grid-template-columns:1fr}.series-grid .series-book{grid-template-columns:142px minmax(0,1fr);min-height:213px}.series-grid .series-book img{width:142px;height:213px}.series-grid .series-book>div{min-height:213px}.series-price-note{min-height:0}}
/* On the shelf put the heading, price and action alongside the cover. */
.shelf-card .series-shelf,.account-book .series-shelf{padding:18px 20px;border:1px solid #c9dbe8;border-radius:8px;margin-top:16px;background:#f0f5f9}.shelf-card .series-shelf>h3,.account-book .series-shelf>h3{font:700 23px/1.25 Georgia,serif;margin:0 0 16px}.shelf-card .series-shelf .series-book,.account-book .series-shelf .series-book{grid-template-columns:112px minmax(0,1fr);gap:16px;align-items:stretch}.shelf-card .series-shelf img,.account-book .series-shelf img{width:112px;height:168px;object-fit:cover;display:block}.shelf-card .series-shelf .series-book>div,.account-book .series-shelf .series-book>div{display:flex;flex-direction:column;align-items:flex-start;min-width:0}.shelf-card .series-shelf .series-label,.account-book .series-shelf .series-label{margin:0 0 8px}.shelf-card .series-shelf .series-book h3,.account-book .series-shelf .series-book h3{font:700 19px/1.3 Georgia,serif;margin:0 0 10px}.shelf-card .series-shelf .series-note,.account-book .series-shelf .series-note{font-size:14px!important;margin:0 0 12px;line-height:1.45}.shelf-card .series-shelf .button,.account-book .series-shelf .button{margin-top:auto;padding:11px 15px;min-height:44px;white-space:normal;text-align:center;line-height:1.3}.shelf-card .series-shelf .series-book>div .button,.account-book .series-shelf .series-book>div .button{align-self:flex-start}
@media(max-width:600px){.shelf-card .series-shelf,.account-book .series-shelf{padding:12px}.shelf-card .series-shelf>h3,.account-book .series-shelf>h3{font-size:20px;margin-bottom:12px}.shelf-card .series-shelf .series-book,.account-book .series-shelf .series-book{grid-template-columns:86px minmax(0,1fr);gap:12px}.shelf-card .series-shelf img,.account-book .series-shelf img{width:86px;height:129px}.shelf-card .series-shelf .series-book h3,.account-book .series-shelf .series-book h3{font-size:16px;margin-bottom:8px}.shelf-card .series-shelf .button,.account-book .series-shelf .button{font-size:13px;min-height:44px;padding:9px 8px;width:100%}}

.series-heading .text-link{display:none}

.series-bundle-action{border-top:1px solid #b9cddd;margin-top:16px;padding-top:10px;text-align:center}.series-bundle-action a{display:inline-flex;align-items:center;min-height:44px;color:#42668b;font-weight:700;text-decoration:underline;text-underline-offset:3px;text-wrap:balance}

.series-bundle-action button{display:inline-flex;align-items:center;min-height:44px;background:none;border:0;padding:0 6px;color:#42668b;font:inherit;font-weight:700;text-decoration:underline;text-underline-offset:3px;text-wrap:balance;cursor:pointer}
.checkout-dialog.bundle-modal{width:min(880px,calc(100% - 24px));max-height:calc(100dvh - 24px);padding:clamp(16px,4vw,32px);color:#24354a;box-sizing:border-box}
.bundle-modal>h2{font:700 clamp(25px,4vw,34px)/1.18 Georgia,serif;margin:0 36px 10px 0;text-wrap:balance}
.bundle-modal .elena-bundle-checkout{position:static;inset:auto;width:100%;max-height:none;padding:0;border:0;border-radius:0;box-shadow:none;overflow:visible;color:inherit}
.bundle-modal .elena-bundle-checkout [hidden],.bundle-modal [hidden]{display:none!important}
.bundle-modal>.button{display:block;margin:10px 0;text-wrap:balance}
.bundle-modal .auth-close{z-index:1}

.series-block[data-series-group="semya-bez-alibi"] .series-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}
.series-block[data-series-group="semya-bez-alibi"] .series-book{display:flex;flex-direction:column;align-items:stretch;gap:12px}
.series-block[data-series-group="semya-bez-alibi"] .series-book>a{display:block;width:min(100%,144px);margin-inline:auto}
.series-block[data-series-group="semya-bez-alibi"] .series-book>div{flex:1}
.series-block[data-series-group="semya-bez-alibi"] .series-book h3{overflow-wrap:normal;text-wrap:pretty}
.series-block[data-series-group="semya-bez-alibi"] .series-bundle-action{margin-top:18px;text-align:center}
.series-block[data-series-group="semya-bez-alibi"] .series-bundle-action .button{display:inline-flex;align-items:center;justify-content:center;gap:8px;flex-wrap:wrap;min-height:44px;line-height:1.25}
.series-block[data-series-group="semya-bez-alibi"] .series-bundle-action button[hidden]{display:none}
.trilogy-series-prices{white-space:nowrap}
.trilogy-series-prices del{opacity:.8;font-weight:400}
.trilogy-page .series-block{margin-block-start:18px}
@media(max-width:720px){
  .series-block[data-series-group="semya-bez-alibi"] .series-grid{grid-template-columns:minmax(0,1fr);gap:16px}
  .series-block[data-series-group="semya-bez-alibi"] .series-book{display:grid;grid-template-columns:76px minmax(0,1fr);gap:12px}
  .series-block[data-series-group="semya-bez-alibi"] .series-book h3{font-size:16px}
}
