/* Kham Phase 4: WooCommerce responsive collection / blocks / classic checkout, no business logic. */
.kham-shop-hero{background:linear-gradient(110deg,#34081f 0%,#7c123d 57%,#fbdde7 120%);color:white;overflow:hidden;position:relative}
.kham-shop-hero h1{color:white;font-size:clamp(2.5rem,4.5vw,5.2rem);line-height:.96;max-width:720px}.kham-shop-hero h1 em{color:#ff91b6}
.kham-shop-hero p{max-width:520px;color:#fce6ef;font-size:1.06rem;line-height:1.7}.kham-shop-hero .kham-shell{min-height:295px;position:relative;padding-block:35px}
.kham-shop-hero img{height:260px;max-height:none;width:40%;object-fit:cover;border-radius:28px;box-shadow:0 18px 60px #24081788}
.kham-shop-category-nav{display:flex;gap:10px;overflow-x:auto;padding:18px 0 12px;scrollbar-width:thin;white-space:nowrap}
.kham-shop-category-nav a{padding:11px 18px;flex:none;background:#fff1f5;border-radius:999px;color:#5b082d;text-decoration:none;font-weight:700;border:1px solid #f1cbda;transition:background .2s,transform .2s}
.kham-shop-category-nav a:hover,.kham-shop-category-nav a:focus-visible{background:#ffe0eb;transform:translateY(-2px)}
.kham-shop-layout{display:grid;grid-template-columns:235px minmax(0,1fr);gap:28px;padding-block:28px 70px;align-items:start}
.kham-shop-filter{position:sticky;top:90px;background:linear-gradient(145deg,#fff,#fff3f7);border:1px solid #f1dce5;border-radius:20px;padding:22px;box-shadow:0 16px 45px #42162a0b}
.kham-shop-filter h2{font-family:var(--k-display);font-size:2rem;color:#570e31;margin:0 0 16px}
.kham-shop-filter h3{font-size:.92rem;letter-spacing:.02em;color:#5e153a;margin:18px 0 10px}
.kham-category-filter{padding:0;list-style:none;margin:0}.kham-category-filter li{border-bottom:1px solid #f3dfeb}
.kham-category-filter a{color:#442237;text-decoration:none;padding:9px 0;display:flex;justify-content:space-between;gap:8px;font-size:.93rem}
.kham-category-filter span{color:#915570}.kham-price-filter{display:grid;gap:10px}
.kham-price-filter label{display:grid;gap:5px;font-size:.78rem;font-weight:800;color:#702147}.kham-price-filter input{border:1px solid #e9c5d5;background:#fff;border-radius:9px;padding:11px;min-width:0;width:100%}
.kham-price-filter .kham-btn{margin-top:4px;text-align:center;width:100%;cursor:pointer}
.kham-shop-filter-help{background:#fbe5ee;border-radius:14px;padding:15px;margin-top:22px}.kham-shop-filter-help strong{color:#6b123d}.kham-shop-filter-help p{font-size:.82rem;margin:7px 0 0}
.kham-shop-results{min-width:0}.kham-shop-results .woocommerce-notices-wrapper{max-width:100%}
.kham-woo .woocommerce-result-count{font-size:.91rem;color:#775c6b}.kham-woo .woocommerce-ordering select{padding:11px;border-radius:9px;border:1px solid #eed2df;background:white}
.kham-woo ul.products{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr));gap:17px;margin:0!important}
.kham-woo ul.products:before,.kham-woo ul.products:after{display:none!important}
.kham-woo ul.products li.product{width:auto!important;float:none!important;min-width:0;margin:0!important;box-shadow:0 10px 25px #651b3c0b}
.kham-woo ul.products li.product .woocommerce-loop-product__title{font-size:clamp(1.15rem,1.5vw,1.6rem)!important;line-height:1.1;padding-bottom:.3rem}
.kham-woo ul.products li.product .button{width:100%;text-align:center;transition:transform .25s,background .25s}.kham-woo ul.products li.product .button:hover{transform:translateY(-2px)}
.kham-woo ul.products li.product img{aspect-ratio:1/1;object-fit:cover}
.kham-product-detail{padding:42px 0 74px}.kham-product-detail .woocommerce div.product div.images img{border-radius:20px}
.kham-product-detail .woocommerce div.product .product_title{font-size:clamp(2.1rem,4vw,3.8rem)}
.kham-product-detail .woocommerce div.product form.cart{display:flex;gap:9px;align-items:center;flex-wrap:wrap}
.kham-financing-note{background:#fff1f6;border-left:3px solid #bc2a67;border-radius:10px;padding:13px 17px;margin:13px 0;color:#622646}
.kham-financing-note strong{color:#601035}.kham-financing-note p{margin:6px 0 0;font-size:.85rem}
.kham-cart-badge{position:absolute;top:-3px;right:-6px;border-radius:99px;background:#bd2d66;color:#fff;min-width:17px;padding:2px 5px;font-size:10px;line-height:1.3;text-align:center}
.kham-cart-badge.is-empty{display:none}.kham-actions a.kham-icon-button{position:relative}
.kham-collections-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:15px}.kham-shop-collections{margin-block:22px}
.kham-collections-heading h2{font-family:var(--k-display);font-size:clamp(1.8rem,3.5vw,3.1rem);color:#590b31;margin:7px 0 20px}
.kham-collection-card{display:flex;align-items:center;gap:14px;border:1px solid #f1d8e4;border-radius:18px;padding:13px;background:#fff8fa;color:#541039;text-decoration:none!important;transition:transform .25s,box-shadow .25s}
.kham-collection-card:hover{transform:translateY(-4px);box-shadow:0 14px 32px #62133821}.kham-collection-card img,.kham-collection-initial{width:70px;height:70px;border-radius:13px;object-fit:cover}
.kham-collection-initial{background:#f4dce8;display:grid;place-items:center;font-size:2rem;font-family:var(--k-display)}.kham-collection-body{display:grid;flex:1;gap:4px}.kham-collection-body strong{font-size:1rem}.kham-collection-body span{font-size:.8rem}
.kham-tuition-inline{margin-top:11px;color:#762047;font-weight:600}.kham-tuition-inline strong{font-size:1.3rem;color:#650c35}
.kham-program-price strong{font-size:1.5rem;color:#b02b66}.kham-tuition-disclaimer{background:#ffe8f1;padding:13px 16px;border-radius:10px;color:#6c1c46}
/* Cart & checkout blocks (do not hide gateways or override their forms). */
.woocommerce-cart .wp-block-woocommerce-cart,.woocommerce-checkout .wp-block-woocommerce-checkout{width:min(100% - 34px,1180px);margin:36px auto 70px;font-family:var(--k-sans)}
.woocommerce .shop_table,.wc-block-components-totals-wrapper{border-radius:14px;overflow:hidden}
.wc-block-components-button:not(.is-link),.wc-block-cart__submit-button,.wc-block-components-checkout-place-order-button{border-radius:12px!important;background:var(--k-wine)!important;color:white!important;font-weight:800;transition:filter .2s}
.wc-block-components-button:hover{filter:brightness(1.1)}.wc-block-components-text-input input,.wc-block-components-combobox-control input,.woocommerce-page input.input-text{border-radius:9px}
.woocommerce-checkout #payment{border-radius:15px!important;background:#fff2f7!important}.woocommerce-checkout #payment div.payment_box{background:#fbe2ee!important}
.woocommerce-error,.woocommerce-message,.woocommerce-info{border-radius:9px}
@media(max-width:1100px){.kham-woo ul.products{grid-template-columns:repeat(2,minmax(0,1fr))}.kham-collections-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:800px){.kham-shop-layout{grid-template-columns:1fr}.kham-shop-filter{position:static;padding:16px}.kham-shop-filter .kham-category-filter{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 20px}.kham-shop-hero .kham-shell{min-height:280px}.kham-shop-hero img{max-height:200px}}
@media(max-width:640px){.kham-shop-hero .kham-shell{display:block;padding:35px 0 0}.kham-shop-hero img{width:100%;height:175px;max-height:175px;border-radius:16px 16px 0 0;object-fit:cover;margin-top:17px}.kham-shop-hero h1{font-size:2.65rem}.kham-shop-layout{padding:19px 0 55px;gap:18px}.kham-woo ul.products{gap:10px}.kham-woo ul.products li.product{padding:9px}.kham-woo ul.products li.product .button{font-size:.79rem;padding:11px 5px}.kham-woo ul.products li.product .woocommerce-loop-product__title{font-size:1.18rem!important}.kham-collections-grid{gap:9px}.kham-collection-card{padding:9px;gap:8px}.kham-collection-card img,.kham-collection-initial{width:52px;height:52px}.kham-collection-body strong{font-size:.85rem}.kham-category-filter a{font-size:.85rem}.woocommerce-checkout .wp-block-woocommerce-checkout{margin-inline:auto}}
@media(prefers-reduced-motion:reduce){.kham-collection-card,.kham-shop-category-nav a,.kham-woo ul.products li.product .button{transition:none!important;transform:none!important}}
