/* A responsive book shelf, shared by the homepage and shop. */
.catalog-section{background:linear-gradient(135deg,#fcf7f0,#f4eaf0);border-block:1px solid #e5d9dd}
.catalog-section .section-title{margin-bottom:12px;font-size:clamp(28px,3.5vw,42px)}
.catalog-section .wrap>p:first-of-type{max-width:720px;line-height:1.6}
.catalog-section .slider-filters{gap:8px;margin-top:22px}
.catalog-section .slider-filters .btn{min-height:44px;padding:9px 15px;font-size:14px}
.shelf-hint{font-size:14px;color:#665166;margin:16px 0 10px}
.shelf-navigation{align-items:center;gap:10px}
.shelf-navigation .btn{min-height:44px}.shelf-navigation button:disabled{opacity:.4;cursor:default}
.shelf-count{font-size:14px;color:#665166}.shelf-all{margin-left:auto;color:#542655;font-weight:700;padding:10px 0}
.catalog-section .product-slider{gap:20px;padding:8px 2px 18px;scroll-padding-inline:2px;scrollbar-width:auto;scrollbar-color:#9a6f96 #e8dbe3;overscroll-behavior-x:contain}
.catalog-section .slider-product{flex:0 0 calc((100% - 60px)/4);min-width:0;background:#fffdf9;box-shadow:0 4px 15px #54265509}
.catalog-section .slider-product>img{height:260px;width:100%;padding:18px;object-fit:contain;background:#f1e9e1;box-sizing:border-box}
.catalog-section .slider-product .copy{padding:18px;gap:0}
.catalog-section .slider-product h3{font:700 21px/1.25 Georgia,serif;overflow-wrap:anywhere;margin:10px 0 12px}
.catalog-section .slider-product .copy>p{font-size:14px;line-height:1.55;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
.catalog-section .slider-product .format-label{font-size:12px;line-height:1.45}
.catalog-section .slider-product .actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:auto}
.catalog-section .slider-product .actions .btn{width:100%;min-height:44px;text-align:center;white-space:normal;padding:10px 12px;font-size:14px}
.catalog-section .slider-product .hah-share{min-height:44px;font-size:14px}
@media(max-width:1100px){.catalog-section .slider-product{flex-basis:calc((100% - 40px)/3)}}
@media(max-width:760px){.catalog-section .product-slider{gap:14px}.catalog-section .slider-product{flex-basis:calc((100% - 14px)/2)}.catalog-section .slider-product>img{height:230px;padding:14px}.catalog-section .slider-product .copy{padding:16px}.catalog-section .slider-filters{flex-wrap:nowrap;overflow-x:auto;padding-bottom:8px;scrollbar-width:thin}.catalog-section .slider-filters .btn{flex-shrink:0}.catalog-section .shelf-navigation{flex-wrap:wrap}.shelf-all{font-size:14px}.catalog-section .slider-product h3{font-size:21px}}
@media(max-width:520px){.catalog-section .slider-product{flex-basis:84%}.catalog-section .slider-product>img{height:210px;padding:10px}.catalog-section .slider-product .copy{padding:15px}.catalog-section .slider-product h3{font-size:21px;margin:8px 0 10px}.shelf-count{margin-left:auto}.shelf-all{margin-left:0;flex-basis:100%}.catalog-section .shelf-hint{font-size:13px}.catalog-section .slider-product .hah-availability{display:none}.catalog-section .slider-filters{margin-top:14px}.catalog-section .slider-product .actions .btn{width:auto;flex:1 1 120px}}
body.large .catalog-section .slider-product{flex-basis:85%}body.large .catalog-section .slider-product .copy>p{display:block;overflow:visible}body.contrast .catalog-section{background:#fff;color:#170520}
@media(prefers-reduced-motion:reduce){.catalog-section .product-slider{scroll-behavior:auto}}
