.shop-head {max-width:48rem}
.shop-head .lede,.shop-hero .lede,.edition-hero .lede {max-width:60ch}
.shop-hero,.edition-hero {display:grid;grid-template-columns:minmax(0,1.45fr) minmax(230px,1fr);gap:clamp(1.35rem,5vw,4rem);align-items:start}
.shop-hero {align-items:center;margin:1.15rem 0 clamp(1.8rem,5vw,4.1rem)}
.shop-hero h1,.edition-hero h1,.shop-head h1 {margin:.2em 0 .24em}
.shop-hero .edition-cover {border:1px solid #95a8e0;min-height:clamp(14rem,25vw,22rem);border-radius:11px}
.shop-hero .status,.edition-buy .status {margin:.7rem 0 .35rem}
.shop-section {margin-top:clamp(2rem,5vw,4rem)}
.shop-section h2 {margin:0 0 1.05rem}
.catalog-nav {display:flex;gap:.55rem 1.4rem;flex-wrap:wrap;padding:.85rem 0;border-block:1px solid #cbd5e8}
.catalog-nav a {font-size:.86rem;font-weight:650;text-underline-offset:3px}
.catalog-grid {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1.05rem}
.catalog-card {border:1px solid #d4deed;border-radius:11px;background:#fff;display:flex;flex-direction:column;min-width:0;overflow:hidden;scroll-margin-top:1.6rem}
.catalog-card:target {outline:2px solid #4260d3;outline-offset:4px}
.catalog-content {display:flex;flex-direction:column;flex:1;padding:1.05rem 1.15rem}
.catalog-content .smallcap {margin:.16rem 0;color:#536784}
.catalog-content h3 {font-size:clamp(1.26rem,2.3vw,1.65rem);line-height:1.12;margin:.3rem 0}
.catalog-content h3 a {text-decoration:none;color:inherit}
.catalog-content h3 a:hover {text-decoration:underline;text-underline-offset:.15em}
.catalog-content>p:not(.smallcap) {margin:.4rem 0 .8rem;color:#42516a;font-size:.94rem}
.catalog-bottom {margin-top:auto;display:flex;flex-wrap:wrap;justify-content:space-between;gap:.4rem .85rem;align-items:center}
.catalog-bottom p {margin:.3rem 0 0}
.catalog-bottom .read {font-weight:650;font-size:.89rem;text-underline-offset:.17em}
.edition-price {color:#414f69;font-size:.88rem}
.edition-price strong {color:#18264b;font-size:1.5rem;letter-spacing:-.035em}
.edition-cover {--field:#dce6f9;--plane:#a7bce3;--piece:#304bb5;--accent:#f9fbff;position:relative;isolation:isolate;display:block;min-height:5.9rem;background:var(--field);overflow:hidden}
.edition-cover::before {position:absolute;content:"";width:104%;height:110%;left:14%;top:14%;background:repeating-conic-gradient(#ffffff5c 0 25%,transparent 0 50%) 0 0 / 38px 38px;transform:skewY(-12deg);z-index:-1}
.edition-cover span,.edition-cover i,.edition-cover b {display:block;position:absolute;width:16%;height:58%;right:24%;bottom:16%;border-radius:3px;background:var(--piece);transform:skewY(-12deg);box-shadow:7px 7px 0 #17275925}
.edition-cover i {height:41%;right:43%;bottom:5%;background:var(--plane)}
.edition-cover b {height:22%;right:8%;bottom:45%;background:var(--accent);box-shadow:none}
.edition-open {--field:#e2eade;--plane:#9eab7d;--piece:#435f4b;--accent:#f3f7ea}
.edition-end {--field:#ede4f4;--plane:#baa9d5;--piece:#624991;--accent:#f9f4ff}
.edition-bundle {--field:#253b83;--plane:#718de1;--piece:#b1c5ff;--accent:#e9efff}
.edition-class {--field:#f1e7dc;--plane:#c8ad8c;--piece:#876448;--accent:#fff8ed}
.edition-cover-large {min-height:11rem}
.edition-buy .edition-cover {margin-bottom:1rem;border-radius:6px}
.edition-buy .edition-price {margin:.3rem 0}
.edition-license {font-size:.92rem;color:#3f506d;margin:.3rem 0 1rem}
[data-product-status]:empty {display:none}
.edition-specs,.sample-grid,.delivery-strip {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem 2rem}
.edition-specs h3 {font-size:1.15rem;margin:0}
.edition-specs p,.edition-specs ul {margin:.75rem 0 1rem}
.shop-preview {scroll-margin-top:1.5rem;padding:clamp(1rem,3vw,1.65rem);background:#f0f4fd;border:1px solid #dbe3f5;border-radius:11px}
.sample-grid {align-items:center;grid-template-columns:minmax(0,320px) minmax(0,1fr)}
.sample-board {display:grid;grid-template-columns:repeat(8,minmax(0,1fr));width:100%;border:1px solid #91a4be}
.sample-square {aspect-ratio:1;display:grid;place-items:center;background:#e9edf6}
.sample-square.sample-dark {background:#9aafcb}
.sample-square img {display:block;width:87%;height:87%;object-fit:contain}
.sample-options {font-size:.87rem;font-weight:650;color:#3c5277}
.offer-grid,.help-grid {display:grid;gap:1rem;grid-template-columns:repeat(3,minmax(0,1fr))}
.offer-grid .sheet {display:flex;flex-direction:column;gap:.4rem;color:inherit;text-decoration:none;font-size:.93rem}
.offer-grid .sheet:hover {background:#eef2ff}
.offer-grid .sheet strong {color:#334cba}
.offer-grid>h2 {grid-column:1/-1}
.offer-grid article {background:#fff;border:1px solid #d4deed;border-radius:10px;padding:1rem}
.delivery-strip {align-items:center;padding:1.2rem 0;border-top:1px solid #d4deed;grid-template-columns:minmax(0,1fr) auto}
.delivery-strip h2 {margin:0}
.help-grid {grid-template-columns:repeat(2,minmax(0,1fr));margin-top:1.65rem}
.help-grid h2 {font-size:1.45rem}
.help-grid .sheet {scroll-margin-top:1rem}
.help-grid .sheet p:last-child {margin-bottom:0}
.footer-links {flex-wrap:wrap}
@media(max-width:800px){
 .catalog-grid,.offer-grid {grid-template-columns:repeat(2,minmax(0,1fr))}
 .edition-hero {gap:1.25rem}
}
@media(max-width:590px){
 .shop-hero,.edition-hero,.edition-specs,.help-grid,.sample-grid,.delivery-strip {grid-template-columns:minmax(0,1fr)}
 .shop-hero .edition-cover {min-height:9rem}
 .catalog-grid,.offer-grid {grid-template-columns:minmax(0,1fr)}
 .sample-board {max-width:300px}
 .delivery-strip a {justify-self:start}
}

.edition-handbook{--field:#e5edff;--plane:#92aaf0;--piece:#3157d4;--accent:#65bba9;background:linear-gradient(135deg,#e7eeff,#b9c9f5)!important;border:1px solid #c4d2f3!important}.edition-handbook:before{background:repeating-conic-gradient(#ffffffaa 0 25%,transparent 0 50%) 0 0 / 34px 34px}.edition-handbook span{width:24%;height:68%;right:38%;bottom:12%;border-radius:8px 8px 4px 4px;transform:rotate(-8deg);box-shadow:12px 10px 0 #283e8c22}.edition-handbook i{width:19%;height:48%;right:19%;bottom:8%;background:#65bba9;transform:rotate(8deg)}.edition-handbook b{width:22%;height:22%;right:16%;bottom:62%;background:#fff;border-radius:4px;transform:rotate(8deg)}.catalog-featured-book{border-color:#c4d2f3;box-shadow:0 12px 28px #3157d410}.catalog-featured-book .edition-cover{min-height:180px}
