/* Only the shop, product category and product tag archives. */
body.mhsp-catalogue #masthead{padding:0!important;margin:0!important;border:0!important;background:#fff!important}
body.mhsp-catalogue #masthead>.col-full{width:100%;max-width:none;padding:0;margin:0}
.mhsp-catalogue-header,.mhsp-catalogue-header *{box-sizing:border-box}
.mhsp-catalogue-header{position:relative;display:grid;grid-template-columns:minmax(0,1fr) clamp(380px,30vw,580px);grid-template-rows:56px 60px;gap:0 110px;padding-left:max(160px,calc((100vw - 1280px)/2));background:#fff;color:#111}
.mhsp-catalogue-header a{text-decoration:none!important}
.mhsp-catalogue-logo{position:absolute;top:14px;left:clamp(24px,5vw,110px);width:84px;height:84px;display:grid;place-items:center}
.mhsp-catalogue-logo img{display:block;width:80px;height:80px;object-fit:contain;margin:0}
.mhsp-catalogue-search{position:absolute;top:15px;left:50%;transform:translateX(-50%);display:flex;width:360px;max-width:40vw;margin:0;background:#f2f2f2}
.mhsp-catalogue-search input[type=search]{box-sizing:border-box;min-width:0;width:100%;height:38px;padding:8px 12px;border:0;border-radius:0;background:#f2f2f2;box-shadow:none;color:#111;font-size:14px}
.mhsp-catalogue-search button{display:grid;place-items:center;flex:0 0 44px;border:0;padding:0;background:#f2f2f2;color:#111}
.mhsp-catalogue-nav{grid-column:1;grid-row:2;display:flex;align-items:center;gap:clamp(20px,2.2vw,42px)}
.mhsp-catalogue-nav>a,.mhsp-catalogue-nav summary{color:#111!important;font-size:clamp(17px,1.3vw,22px);font-weight:800;line-height:1.2;white-space:nowrap}
.mhsp-catalogue-nav>a:hover{text-decoration:underline!important;text-underline-offset:6px}
.mhsp-catalogue-nav details{position:relative;margin:0;padding:0;border:0}
.mhsp-catalogue-nav summary{list-style:none;cursor:pointer;display:flex;align-items:center;gap:8px}
.mhsp-catalogue-nav summary::-webkit-details-marker{display:none}
.mhsp-catalogue-nav summary span{font-size:13px}
.mhsp-catalogue-dropdown{position:absolute;z-index:100;top:calc(100% + 14px);left:0;min-width:190px;background:#111;padding:8px 0;border-top:3px solid #d71920;box-shadow:0 12px 30px #0004}
.mhsp-catalogue-dropdown a{display:block;padding:12px 18px;color:white!important;font-size:16px;font-weight:600}
.mhsp-catalogue-dropdown a:hover{background:#d71920}
.mhsp-catalogue-cart{display:grid;place-items:center;width:44px;height:44px;flex:0 0 44px}
.mhsp-catalogue-brand{grid-column:2;grid-row:1/3;display:flex;position:relative;overflow:hidden;flex-direction:column;justify-content:center;align-items:center;gap:9px;margin-left:-80px;padding:14px 36px 14px 100px;clip-path:polygon(80px 0,100% 0,100% 100%,0 100%);background:linear-gradient(110deg,#ed1c24,#df1520 65%,#bd101a);color:#fff!important}
.mhsp-catalogue-brand::after{content:"";position:absolute;right:-12px;top:-30%;width:90px;height:160%;transform:rotate(22deg);background:#ffffff0d;border-left:1px solid #ffffff21;pointer-events:none}
.mhsp-catalogue-brand strong{font-size:clamp(36px,2.7vw,52px);font-weight:900;line-height:1;letter-spacing:-1px;color:#fff}
.mhsp-catalogue-brand span{font-size:11px;font-weight:600;letter-spacing:4px;color:#fff;text-align:center}
.mhsp-catalogue-header :focus-visible{outline:3px solid #d71920;outline-offset:3px}
.mhsp-catalogue-brand:focus-visible{outline:3px solid #111;outline-offset:-6px}
body.mhsp-catalogue #content{background-color:#fff;background-image:linear-gradient(#ffffffe6,#ffffffe6),url('https://mangahouz.com/wp-content/uploads/2026/10/manga-landscape-web.jpg');background-size:auto,100% auto;background-position:center top;background-repeat:repeat;padding-top:24px;padding-bottom:110px}
body.mhsp-catalogue #content>.col-full{max-width:1280px;background:transparent}
body.mhsp-catalogue #primary{width:100%;float:none;margin-right:0}
body.mhsp-catalogue #main{margin-bottom:0}
body.mhsp-catalogue ul.products li.product{background:#fff;padding:16px;box-sizing:border-box}
body.mhsp-catalogue #colophon{margin-top:0!important}
@media(min-width:601px) and (max-width:900px){
.mhsp-catalogue-header{grid-template-columns:minmax(0,1fr) 230px;gap:0 20px;padding-left:104px}
.mhsp-catalogue-logo{left:16px;top:25px;width:68px;height:68px}.mhsp-catalogue-logo img{max-width:100%;height:100%}
.mhsp-catalogue-brand{margin:0;padding:18px;clip-path:none}.mhsp-catalogue-brand strong{font-size:27px}.mhsp-catalogue-brand span{font-size:9px;letter-spacing:2px}
.mhsp-catalogue-search{position:static;transform:none;grid-column:1;grid-row:1;width:100%;max-width:none;align-self:center}
.mhsp-catalogue-nav{gap:12px}.mhsp-catalogue-nav>a,.mhsp-catalogue-nav summary{font-size:14px}.mhsp-catalogue-cart{width:36px;flex-basis:36px}
}
@media(max-width:600px){
.mhsp-catalogue-header{grid-template-columns:1fr;grid-template-rows:auto auto auto;gap:14px;padding:0 16px 20px}
.mhsp-catalogue-logo{top:12px;left:12px;width:56px;height:56px}.mhsp-catalogue-logo img{width:56px;height:56px}
.mhsp-catalogue-brand{grid-column:1;grid-row:1;justify-self:end;margin:0 -16px 0 68px;padding:20px 16px;gap:8px;clip-path:none}.mhsp-catalogue-brand strong{font-size:26px}.mhsp-catalogue-brand span{font-size:9px;letter-spacing:2px}
.mhsp-catalogue-search{position:static;transform:none;grid-column:1;grid-row:2;width:100%;max-width:none}
.mhsp-catalogue-nav{grid-column:1;grid-row:3;justify-content:center;flex-wrap:wrap;gap:8px 14px}.mhsp-catalogue-nav>a,.mhsp-catalogue-nav summary{font-size:14px}
body.mhsp-catalogue #content{padding-bottom:60px}
}

/* Compact catalogue cards and native WooCommerce ordering links. */
body.mhsp-catalogue #main .mhsp-sort-tabs{display:flex;align-items:center;flex-wrap:wrap;gap:10px;margin:0 0 20px}
body.mhsp-catalogue #main .mhsp-sort-tabs>span{font-size:14px;font-weight:600;margin-right:4px}
body.mhsp-catalogue #main .mhsp-sort-tabs a{display:inline-block;padding:10px 18px;border:1px solid #d5d5d5;background:#fff;color:#222;text-decoration:none;font-size:14px;font-weight:700;line-height:1.3}
body.mhsp-catalogue #main .mhsp-sort-tabs a:hover,body.mhsp-catalogue #main .mhsp-sort-tabs a.is-active{background:#d71920;border-color:#d71920;color:#fff}
body.mhsp-catalogue #main .mhsp-sort-tabs a:focus-visible{outline:3px solid #111;outline-offset:3px}
body.mhsp-catalogue #main ul.products{display:grid!important;grid-template-columns:repeat(4,minmax(0,220px))!important;gap:24px!important;justify-content:start;align-items:stretch}
body.mhsp-catalogue #main ul.products::before,body.mhsp-catalogue #main ul.products::after{display:none!important}
body.mhsp-catalogue #main ul.products li.product{float:none!important;width:auto!important;min-width:0;margin:0!important;padding:14px!important;background:#fff;box-sizing:border-box;text-align:center;display:flex;flex-direction:column}
body.mhsp-catalogue #main ul.products li.product .woocommerce-loop-product__link img{display:block;width:100%!important;height:240px!important;object-fit:contain;margin:0 auto 12px!important}
body.mhsp-catalogue #main ul.products li.product .woocommerce-loop-product__title{font-size:15px;line-height:1.35;margin:0 0 10px}
body.mhsp-catalogue #main ul.products li.product .price{font-size:14px;margin:0 0 12px}
body.mhsp-catalogue #main ul.products li.product .button{align-self:center;margin-top:auto;padding:10px 15px;font-size:13px}
body.mhsp-catalogue #main .storefront-sorting{margin-bottom:20px}
@media(max-width:900px){body.mhsp-catalogue #main ul.products{grid-template-columns:repeat(3,minmax(0,220px))!important;gap:18px!important}}
@media(max-width:600px){body.mhsp-catalogue #main ul.products{grid-template-columns:repeat(2,minmax(0,220px))!important;gap:12px!important}body.mhsp-catalogue #main ul.products li.product{padding:10px!important}body.mhsp-catalogue #main ul.products li.product .woocommerce-loop-product__link img{height:190px!important}body.mhsp-catalogue #main .mhsp-sort-tabs a{padding:9px 12px}}
@media(max-width:360px){body.mhsp-catalogue #main ul.products{grid-template-columns:minmax(0,220px)!important}}

body.mhsp-catalogue .mhsp-series-hero{width:100%;margin:0;background:#f0f0f0;overflow:hidden}
body.mhsp-catalogue .mhsp-series-hero img{display:block;width:100%;height:auto;aspect-ratio:1920/650;object-fit:cover;object-position:center;border-radius:0;margin:0}
body.mhsp-catalogue .mhsp-hero-left img{object-position:left center}
body.mhsp-catalogue .mhsp-hero-right img{object-position:right center}
body.mhsp-catalogue .storefront-breadcrumb{display:none}
@media(max-width:600px){body.mhsp-catalogue .mhsp-series-hero img{height:280px;aspect-ratio:auto}}

/* Editable series introduction, styled like the supplied reference. */
.mhsp-series-intro{background:#f1f1f1;color:#292929;padding:28px 24px 50px}
.mhsp-series-intro-inner{max-width:1280px;margin:auto}
.mhsp-series-meta{display:flex;flex-wrap:wrap;align-items:center;gap:12px 18px;margin-bottom:30px;font-size:18px;line-height:1.5}
.mhsp-series-labels{display:inline-block;padding:3px 11px;background:#ffd356;color:#242424;font-weight:800}
.mhsp-series-genres{color:#242424}
.mhsp-series-meta .mhsp-jump-books{margin-left:auto;color:#555;text-decoration:none;font-size:16px}
.mhsp-series-meta .mhsp-jump-books:hover{text-decoration:underline;color:#c5141d}
.mhsp-series-intro h1{margin:0 0 12px;color:#292929;font-size:clamp(36px,4.6vw,72px);font-weight:900;line-height:1.08;letter-spacing:-1px;overflow-wrap:anywhere}
.mhsp-series-intro .mhsp-series-tagline{margin:0 0 28px;color:#292929;font-size:clamp(24px,3vw,48px);font-weight:750;line-height:1.2;overflow-wrap:anywhere}
.mhsp-series-credits{font-size:18px;line-height:1.6}.mhsp-series-credits>p{margin:0 0 10px}
.mhsp-series-credits details{padding:0;margin:0;border:0}.mhsp-series-credits summary{cursor:pointer;font-weight:600}.mhsp-series-about{max-width:900px;padding-top:14px;overflow-wrap:anywhere}
.mhsp-series-intro :focus-visible{outline:3px solid #d71920;outline-offset:4px}
@media(min-width:601px){
body.mhsp-catalogue.mhsp-overlay-hero #masthead{position:relative;z-index:30;background:transparent!important}
body.mhsp-overlay-hero .mhsp-catalogue-header{background:linear-gradient(180deg,rgba(255,255,255,.96),rgba(255,255,255,.86))}
body.mhsp-overlay-hero .mhsp-series-hero{margin-top:-116px}
body.mhsp-overlay-hero .mhsp-series-hero img{min-height:430px}
}
@media(max-width:600px){.mhsp-series-intro{padding:24px 20px 32px}.mhsp-series-meta{gap:10px;font-size:15px;margin-bottom:22px}.mhsp-series-meta .mhsp-jump-books{flex-basis:100%;margin-left:0}.mhsp-series-intro h1{font-size:36px}.mhsp-series-intro .mhsp-series-tagline{font-size:25px}.mhsp-series-credits{font-size:16px}}
/* Series landing: the reading area uses the reference's soft grey. */
body.mhsp-series-landing #content{background:#f1f1f1;padding:48px 0 64px}
body.mhsp-series-landing #main{margin-bottom:0}
.mhsp-read-heading{font-size:clamp(28px,3.2vw,48px);font-weight:750;margin:0 0 42px;color:#2b2b2b}
.mhsp-featured-book{display:grid;grid-template-columns:minmax(0, .85fr) minmax(0,1.15fr);gap:clamp(32px,6vw,100px);align-items:start;margin-bottom:64px}
.mhsp-feature-cover{position:relative;display:flex;align-items:center;justify-content:center;background:#fff;padding:48px;min-height:390px}
.mhsp-feature-cover img{display:block;width:auto;max-width:100%;height:350px;object-fit:contain;border-radius:0}
.mhsp-book-badge{position:absolute;top:0;right:0;background:#2b2b2b;color:#fff;padding:6px 12px;font-size:18px}
.mhsp-feature-copy h2{font-size:clamp(26px,3vw,42px);font-weight:750;margin:0 0 24px;line-height:1.2}
.mhsp-book-description{font-size:18px;line-height:1.65;margin-bottom:28px;overflow-wrap:anywhere}
.mhsp-feature-copy .button{background:#ed1020;color:#fff;padding:14px 24px}
.mhsp-discovery-heading{display:flex;align-items:baseline;justify-content:space-between;gap:20px;margin-bottom:24px}
.mhsp-discovery-heading h2{font-size:clamp(24px,2.4vw,34px);margin:0;color:#2b2b2b}
.mhsp-discovery-heading>a{white-space:nowrap;color:#222;text-decoration:underline}
.mhsp-volume-grid,.mhsp-recommend-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:24px}
.mhsp-volume-card{display:flex;flex-direction:column;background:#fff;padding:24px;color:#222;gap:24px;font-size:17px;text-decoration:none!important}
.mhsp-volume-card img{width:100%;height:230px;object-fit:contain;border-radius:0}
.mhsp-series-recommendations{background:linear-gradient(#ffffffde,#ffffffde),url('https://mangahouz.com/wp-content/uploads/2026/10/manga-landscape-web.jpg') center/cover;padding:48px 24px 64px}
.mhsp-recommend-inner{max-width:1280px;margin:auto}
.mhsp-recommend-card{background:#292929;color:#fff!important;text-align:center;text-decoration:none!important;display:flex;flex-direction:column}
.mhsp-recommend-card img{width:100%;aspect-ratio:5/4;object-fit:cover;border-radius:0}
.mhsp-recommend-card span{padding:16px;font-size:22px;line-height:1.3;flex:1;display:flex;justify-content:center;align-items:center}
.mhsp-volume-card:hover,.mhsp-recommend-card:hover{box-shadow:0 6px 18px #0002}
@media(max-width:800px){.mhsp-featured-book{gap:28px}.mhsp-feature-cover{padding:35px 20px;min-height:330px}.mhsp-feature-cover img{height:280px}.mhsp-volume-grid,.mhsp-recommend-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:550px){.mhsp-featured-book{grid-template-columns:1fr}.mhsp-feature-cover{max-width:360px;width:100%;margin:auto}.mhsp-discovery-heading{align-items:start}.mhsp-volume-grid,.mhsp-recommend-grid{gap:12px}.mhsp-volume-card{padding:14px;font-size:15px}.mhsp-volume-card img{height:180px}.mhsp-recommend-card span{font-size:17px;padding:14px 8px}.mhsp-book-description{font-size:16px}}
