/*
Theme Name: ShopKaksha
Description: School e-book storefront for WordPress and WooCommerce.
Version: 1.1.6
*/
:root { color-scheme: light; --ink:#152a27; --green:#173d37; --paper:#f9f6ef; --line:#ddd9cd; }
* { box-sizing:border-box; }
body { margin:0; background:var(--paper); color:var(--ink); font:1rem/1.65 system-ui,sans-serif; }
a { color:var(--green); text-underline-offset:.22em; }
a:focus-visible { outline:3px solid #b2672f; outline-offset:4px; }
img { max-width:100%; height:auto; }
.shell { width:min(1120px,92%); margin-inline:auto; }
.site-header { border-bottom:1px solid var(--line); }
.top,.foot { display:flex; justify-content:space-between; align-items:center; gap:1rem; flex-wrap:wrap; padding-block:1.2rem; }
.top nav { display:flex; flex-wrap:wrap; gap:1rem; }
.brand { color:var(--ink); font-size:1.65rem; font-weight:800; text-decoration:none; letter-spacing:-.06em; }
.brand span { color:#875027; }
.hero { margin-top:2rem; border-radius:1.25rem; padding:clamp(1.5rem,6vw,4.5rem); background:var(--green); color:#fffaf0; display:grid; grid-template-columns:1.25fr .85fr; align-items:center; gap:2rem; overflow:hidden; }
.hero p { max-width:36rem; }
.eyebrow { color:#efc58c; font-weight:700; }
h1,h2,h3 { line-height:1.12; }
.hero h1 { font:700 clamp(2.65rem,5.7vw,5rem)/.99 Georgia,serif; letter-spacing:-.055em; margin:.3em 0; }
.button { display:inline-block; margin-top:.55rem; border-radius:.35rem; padding:.7rem 1.1rem; background:#efc58c; color:#22261c; font-weight:700; text-decoration:none; }
.section { padding-block:2rem; }
.section h2 { font:700 clamp(1.7rem,3vw,2.4rem)/1.15 Georgia,serif; }
.grid { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:1rem; }
.tile { min-height:8rem; background:#fffdf8; padding:1.35rem; border:1px solid var(--line); border-radius:.75rem; }
.tile h3 { margin:0; }
.tile p { margin:.55rem 0; }
.foot { border-top:1px solid var(--line); }
@media(max-width:700px) { .hero { grid-template-columns:1fr; gap:1rem; } .grid { grid-template-columns:1fr; } }

.store-order > article > h1 { font:700 clamp(2rem,5vw,3.4rem)/1.1 Georgia,serif; margin:0 0 1.5rem; }
.store-order .wc-block-cart__sidebar,
.store-order .wc-block-checkout__sidebar,
.store-order .cart_totals,
.store-order #order_review {
    padding:1.25rem;
    background:#fffdf8;
    border:1px solid var(--line);
    border-radius:.75rem;
}
.store-order .wc-block-components-button:not(.is-link),
.woocommerce .store-order a.checkout-button.button,
.woocommerce .store-order button#place_order.button {
    background:var(--green);
    color:#fff;
    border-radius:.4rem;
    font-weight:700;
}

.tile .medium-label { margin:1rem 0 .25rem; font-size:.85rem; font-weight:700; }
.class-medium { border-top:1px solid var(--line); padding:.4rem 0; }
.class-medium summary { cursor:pointer; color:var(--green); font-weight:650; }
.class-medium ul { margin:.35rem 0 .15rem; padding-inline-start:1.2rem; }

.cover-pair { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:.8rem; align-items:center; }
.cover-pair img { display:block; width:100%; border-radius:.2rem; box-shadow:0 12px 25px #0005; }
@media(max-width:700px) { .cover-pair { width:min(100%,26rem); margin-inline:auto; } }

.exam-notes { display:grid; grid-template-columns:1.4fr 1fr; align-items:center; gap:clamp(1rem,4vw,3rem); margin-top:2rem; padding:clamp(1.35rem,4vw,3rem); background:#f2e8d4; border:1px solid #ddd0b6; border-radius:1rem; }
.exam-notes h2 { font:700 clamp(1.9rem,4vw,3.1rem)/1.06 Georgia,serif; margin:.25rem 0 .65rem; }
.exam-label { margin:0; font-weight:700; color:#754526; }
.exam-price { font-weight:800; margin:.65rem 0 0; }
.exam-books { background:#fffaf0; padding:1.15rem; border-radius:.65rem; border:1px solid #ddd0b6; }
.exam-books h3 { margin:0; font-size:1rem; }
.exam-books ul { margin:.55rem 0 0; padding-inline-start:1.2rem; }
@media(max-width:700px) { .exam-notes { grid-template-columns:1fr; } }
