
/* Caligrama 1.1 — stronger contrasts, generous image stages and tactile controls. */
:root{--cg-paper:#faf9f6;--cg-ink:#171c26;--cg-blue:#172490;--cg-blue-hover:#293bb9;--cg-muted:#656971;--cg-rule:#e0e1de;--theme-button-border-radius:999px}
.cg-announcement{background:#111950}
.cg-masthead{height:100px}
.cg-brand{flex-basis:200px}
.cg-search input[type=search]{background:#eeefeb;border:1px solid transparent;border-radius:999px;padding:0 50px 0 20px;height:48px;font-size:13px;transition:border-color .2s,background .2s}
.cg-search input[type=search]:focus{background:#fff;border-color:#a6acd7}
.cg-search button{right:6px;top:2px}
.cg-navigation{border-top:0;background:var(--cg-paper)}
.cg-nav-inner>a{position:relative}
.cg-nav-inner>a::after{content:"";height:2px;background:var(--cg-blue);position:absolute;bottom:8px;left:0;right:0;transform:scaleX(0);transform-origin:left;transition:transform .2s}
.cg-nav-inner>a:hover::after,.cg-nav-inner>a:focus-visible::after{transform:scaleX(1)}
.cg-header-actions .cg-cart{background:#eceef8;padding:10px 12px;border-radius:999px;gap:8px}
.cg-header-actions .cg-account{min-height:44px}
.cg-hero{padding-block:70px 72px;gap:50px}
.cg-hero h1{font-size:clamp(76px,8.2vw,121px);letter-spacing:-.045em;margin-block:22px 28px}
.cg-hero h1 em{position:relative}
.cg-hero-copy>p{font-size:15px;line-height:1.8;max-width:390px}
.cg-hero-art{background:#e8ece4;border-radius:28px 100px 28px 28px;min-height:510px}
.cg-art-label{padding:28px 32px;letter-spacing:.12em}
.cg-art-label>span{max-width:170px;padding-right:22px}
.cg-art-caption{padding:26px 30px}
.cg-art-caption a{width:42px;height:42px;background:#fff}
.cg-hero-book img{filter:drop-shadow(10px 22px 14px #17221a30)}
.cg-button,.cg-editorial a.cg-button{border-radius:999px;min-height:56px;padding:16px 25px;font-size:13px;box-shadow:0 5px 12px #17249015}
.cg-button:hover{box-shadow:0 8px 20px #17249022;transform:translateY(-3px)}
.cg-text-link{font-size:13px}
.cg-category-strip{border:0;background:#f0f1ec}
.cg-category-strip>.cg-wrap{min-height:102px}
.cg-category-strip nav a{font-size:28px}
.cg-category-strip nav a span{display:grid;place-items:center;width:30px;height:30px;background:#faf9f6;border-radius:50%;font-size:15px;transition:transform .2s}
.cg-category-strip nav a:hover span{transform:rotate(45deg)}
.cg-section-heading h2{font-size:56px;letter-spacing:-.035em}
.cg-section-heading>.cg-text-link{border-bottom:1px solid #b9bdca;padding-bottom:9px}
.cg-book-cover{border-radius:18px;background:#eeeee9;padding:30px;transition:background .25s,box-shadow .25s}
.cg-book:nth-child(4n+2) .cg-book-cover{background:#e9eee9}
.cg-book:nth-child(4n+3) .cg-book-cover{background:#eeedf3}
.cg-book:nth-child(4n+4) .cg-book-cover{background:#f2ece6}
.cg-book-cover:hover{box-shadow:0 12px 25px #2026260c}
.cg-book-cover:hover img{transform:translateY(-7px) rotate(-2deg)}
.cg-book-info{padding-top:20px}
.cg-editorial .cg-book h2.woocommerce-loop-product__title{font-size:15px;line-height:1.5;font-weight:600}
.cg-book-author{font-size:12px}
.cg-book-purchase{align-items:center;gap:12px;padding-top:20px}
.cg-book-purchase .price{font-size:16px!important;letter-spacing:-.02em}
.cg-book-purchase .button{background:#e9ecf7!important;color:#152379!important;border:1px solid transparent!important;border-radius:999px!important;padding:10px 14px!important;min-height:44px!important;font-size:11px!important;text-align:center;justify-content:center;max-width:65%;transition:background .2s,transform .2s}
.cg-book-purchase .button:hover{background:var(--cg-blue)!important;color:white!important;transform:translateY(-2px)}
.cg-book-purchase .added_to_cart{display:none}
.cg-sale{border-radius:999px;top:14px;left:14px;padding:5px 10px;background:#fff}
.cg-editorial-feature{border-radius:26px;overflow:hidden;background:#111d64}
.cg-feature-copy{padding:58px}
.cg-feature-copy h2{font-size:60px}
.cg-feature-copy h2 em{color:#dce8b4}
.cg-topic-grid{gap:18px;border:0}
.cg-topic{border:1px solid var(--cg-rule)!important;border-radius:20px;padding:30px;transition:background .25s,transform .25s}
.cg-topic:hover{background:#edf0e6;transform:translateY(-4px)}
.cg-topic-arrow{width:38px;height:38px;border-radius:50%;background:#fff;display:grid;place-items:center;right:22px;bottom:28px}
.cg-footer{background:#101844;border-radius:32px 32px 0 0}
.cg-footer-top h2{font-size:56px}
.cg-catalog-heading h1,.cg-page-heading h1{font-size:74px;letter-spacing:-.04em}
.cg-categories nav>a{padding:10px 12px;margin-left:-12px;border-radius:10px}
.cg-categories nav>a:hover,.cg-categories nav>a[aria-current]{background:#eeefe7}
.cg-editorial.single-product .woocommerce-product-gallery{border-radius:24px;background:#e9ede6}
.cg-editorial.single-product .woocommerce-product-gallery .flex-control-thumbs li{border-radius:8px}
.cg-editorial.single-product .summary .price{font-size:28px}
.cg-editorial.single-product .single_add_to_cart_button{border-radius:999px;min-height:54px;padding-inline:28px}
.cg-editorial.single-product .quantity{border-radius:999px!important}
.cg-editorial .cart_totals,.cg-editorial .woocommerce-checkout-review-order{border-radius:20px;background:#f0f2eb;border-color:#e2e5dc}
.cg-editorial .woocommerce form.login,.cg-editorial .woocommerce form.register{border-radius:18px;background:#fff}
.cg-editorial .woocommerce-checkout input.input-text,.cg-editorial .woocommerce-form input.input-text,.cg-editorial textarea{border-radius:9px}
.cg-editorial .woocommerce-error{border-radius:12px;border-left-color:#a73338;background:#fff4f3}
.cg-toast-region{position:fixed;top:20px;left:50%;transform:translateX(-50%);width:min(540px,calc(100% - 28px));z-index:99990;display:flex;flex-direction:column;gap:12px;pointer-events:none;max-height:calc(100dvh - 40px);overflow-y:auto;padding:3px 3px 18px}
.admin-bar .cg-toast-region{top:52px}
.cg-toast{display:grid;grid-template-columns:34px minmax(0,1fr) 32px;gap:13px;align-items:start;padding:20px;background:#141f50;color:#fff;border:1px solid #ffffff28;border-radius:18px;box-shadow:0 12px 38px #11183235,0 2px 8px #11183220;pointer-events:auto;animation:cg-toast-in .28s ease-out}
.cg-toast-icon{display:grid;place-items:center;width:32px;height:32px;background:#dce8b4;color:#1d3827;border-radius:50%;font-size:18px;font-weight:600}
.cg-toast--error .cg-toast-icon{background:#ffd9d4;color:#82302b}
.cg-toast-text{font-size:14px;line-height:1.6;font-weight:500;overflow-wrap:anywhere;padding-top:3px}
.cg-toast-text p{margin:0}
.cg-toast-actions{display:flex;gap:16px;flex-wrap:wrap;margin-top:9px}
.cg-editorial .cg-toast-actions a,.cg-editorial .cg-toast-actions .button{color:#e1edb9!important;background:transparent!important;border:0!important;border-bottom:1px solid #e1edb960!important;border-radius:0!important;padding:3px 0!important;min-height:30px;font-size:12px;font-weight:600;text-decoration:none;float:none!important;margin:0!important}
.cg-editorial .cg-toast-close{display:grid;place-items:center;width:32px;height:32px;min-height:32px;min-width:32px;padding:0;border:0;background:#ffffff12;color:white;border-radius:50%;font-size:23px;line-height:1}
.cg-editorial .cg-toast-close:hover{background:#ffffff25}
@keyframes cg-toast-in{from{opacity:0;transform:translateY(-12px) scale(.98)}to{opacity:1;transform:translateY(0) scale(1)}}
@media(max-width:1100px){
 .cg-masthead{gap:25px}.cg-header-actions{gap:15px}
 .cg-hero{gap:30px}.cg-hero h1{font-size:86px}.cg-hero-art{min-height:440px}
 .cg-feature-copy{padding:38px}.cg-feature-copy h2{font-size:48px}
 .cg-book-purchase{flex-wrap:wrap}.cg-book-purchase .button{max-width:100%}
}
@media(max-width:760px){
 .cg-masthead{height:auto;gap:12px 16px;padding-block:16px}
 .cg-header-actions{gap:6px}.cg-header-actions .cg-cart{padding:8px;gap:5px}.cg-header-actions .cg-account{min-width:28px}
 .cg-search input[type=search]{height:44px;font-size:13px;padding-left:16px}
 .cg-hero{padding-block:37px 38px;gap:30px}.cg-hero h1{font-size:77px;margin:20px 0 24px}
 .cg-hero-copy>p{font-size:14px;max-width:360px}
 .cg-hero-links{gap:19px}.cg-hero-links .cg-button{font-size:12px;padding:14px 18px;min-height:50px}.cg-text-link{font-size:12px}
 .cg-hero-art{min-height:375px;border-radius:22px 70px 22px 22px}
 .cg-art-label{padding:22px;font-size:8px}.cg-art-label>span{max-width:155px;padding-right:13px}
 .cg-art-caption{padding:18px 22px}.cg-art-caption a{width:36px;height:36px}
 .cg-category-strip>.cg-wrap{gap:18px;padding-block:25px}.cg-category-strip nav{gap:18px 25px}
 .cg-category-strip nav a{font-size:25px;gap:8px}.cg-category-strip nav a span{width:26px;height:26px}
 .cg-section-heading h2{font-size:41px}.cg-section-heading>.cg-text-link{font-size:11px;max-width:105px;gap:8px}
 .cg-book-cover{padding:20px 17px;border-radius:14px}
 .cg-editorial .cg-book h2.woocommerce-loop-product__title{font-size:13px;line-height:1.5}
 .cg-book-author{font-size:11px}
 .cg-book-purchase{align-items:flex-start;flex-direction:column;gap:10px;padding-top:15px}
 .cg-book-purchase .price{font-size:15px!important}
 .cg-editorial .cg-book-purchase .button{width:100%;max-width:none;min-height:44px!important;font-size:11px!important;padding:10px 8px!important}
 .cg-feature-copy{padding:33px 27px}.cg-feature-copy h2{font-size:47px}
 .cg-topic-grid{gap:12px}.cg-topic{padding:25px 65px!important}.cg-topic-number{left:20px}.cg-topic h3{font-size:33px}.cg-topic-arrow{right:17px;bottom:28px}
 .cg-footer{border-radius:24px 24px 0 0}.cg-footer-top h2{font-size:43px}
 .cg-catalog-heading h1,.cg-page-heading h1{font-size:51px}
 .cg-toast-region{top:12px;width:calc(100% - 20px);gap:9px}
 .admin-bar .cg-toast-region{top:58px}
 .cg-toast{padding:16px 13px;grid-template-columns:28px minmax(0,1fr) 32px;gap:10px;border-radius:16px}
 .cg-toast-icon{width:28px;height:28px;font-size:16px}.cg-toast-text{font-size:13px;padding:1px 0 0}
 .cg-editorial .cg-toast-close{width:32px;height:36px;min-height:36px}
}
@media(max-width:380px){.cg-hero h1{font-size:68px}.cg-header-actions{gap:3px}.cg-brand img{width:140px}.cg-hero-links{gap:12px}.cg-hero-links .cg-button{font-size:11px;padding-inline:15px}.cg-section-heading h2{font-size:37px}}
@media(prefers-reduced-motion:reduce){.cg-toast{animation:none}.cg-book-cover:hover img,.cg-topic:hover,.cg-button:hover{transform:none}}
