/* Kavir 36.5.42 — Style B. Public catalog cards only. */
html body #homeScreen #courses .kv-catalog-card,
html body.kv-store-v2 .kv-store-product-card {
 --kv42-r:132;--kv42-g:91;--kv42-b:192;
 --kv42-accent:rgb(var(--kv42-r),var(--kv42-g),var(--kv42-b));
 box-sizing:border-box;min-width:0!important;min-height:0!important;display:flex;flex-direction:column;isolation:isolate;
 background:linear-gradient(155deg,#25212e,#191820 80%)!important;border:1px solid #49414f!important;border-radius:20px!important;
 box-shadow:0 12px 26px #0e0a142e!important;overflow:hidden!important;
}
html body #homeScreen #courses .kv-catalog-card::before,html body.kv-store-v2 .kv-store-product-card::before{display:none!important}
html body #homeScreen #courses .kv-catalog-card .kv-catalog-art,
html body.kv-store-v2 .kv-store-product-card .kv-product-card-media{
 position:relative!important;display:flex!important;align-items:center!important;justify-content:center!important;isolation:isolate;box-sizing:border-box!important;
 width:calc(100% - 16px)!important;margin:8px 8px 0!important;height:auto!important;min-height:0!important;max-height:none!important;aspect-ratio:1.28!important;
 padding:26px 8px 18px!important;flex:none!important;border-radius:14px!important;border:1px solid rgba(var(--kv42-r),var(--kv42-g),var(--kv42-b),.55)!important;overflow:hidden!important;
 background:radial-gradient(ellipse at 50% 40%,rgba(var(--kv42-r),var(--kv42-g),var(--kv42-b),.85),rgba(var(--kv42-r),var(--kv42-g),var(--kv42-b),.36) 44%,#17141e 100%)!important;
 box-shadow:inset 0 0 22px rgba(var(--kv42-r),var(--kv42-g),var(--kv42-b),.35)!important;
}
html body #homeScreen #courses .kv-catalog-card .kv-catalog-art::before,
html body.kv-store-v2 .kv-store-product-card .kv-product-card-media::before{
 content:''!important;display:block!important;position:absolute!important;z-index:0;pointer-events:none;inset:auto 5% 7px!important;height:16%!important;border-radius:50%!important;
 background:linear-gradient(180deg,rgba(var(--kv42-r),var(--kv42-g),var(--kv42-b),.6),#16131d 90%)!important;
 border:1px solid rgba(var(--kv42-r),var(--kv42-g),var(--kv42-b),.8);box-shadow:0 4px 0 #17131e,0 6px 12px rgba(var(--kv42-r),var(--kv42-g),var(--kv42-b),.6),inset 0 -3px 4px rgba(var(--kv42-r),var(--kv42-g),var(--kv42-b),.8);
}
html body #homeScreen #courses .kv-catalog-card .kv-catalog-art::after,
html body.kv-store-v2 .kv-store-product-card .kv-product-card-media::after{content:''!important;display:block!important;position:absolute;z-index:0;pointer-events:none;inset:auto 7% 9px!important;height:13%!important;border-radius:50%;border-bottom:2px solid rgba(var(--kv42-r),var(--kv42-g),var(--kv42-b),.95);box-shadow:0 4px 8px rgba(var(--kv42-r),var(--kv42-g),var(--kv42-b),.5);background:none!important;}
html body #homeScreen #courses .kv-catalog-card .kv-catalog-art img,
html body.kv-store-v2 .kv-store-product-card .kv-product-card-media img{
 position:relative!important;inset:auto!important;z-index:1;display:block!important;box-sizing:border-box!important;width:100%!important;height:100%!important;max-width:100%!important;max-height:100%!important;min-height:0!important;min-width:0!important;aspect-ratio:auto!important;
 object-fit:contain!important;object-position:center bottom!important;padding:0!important;margin:0!important;opacity:1!important;filter:drop-shadow(0 6px 5px #0006)!important;transform:none!important;transition:transform .24s ease!important;
}
html body :is(.kv-catalog-card,.kv-store-product-card) :is(.kv-catalog-fallback,.kv-product-fallback){position:relative;z-index:1;max-width:70%;max-height:78%;}
html body #homeScreen #courses .kv-catalog-art :is(.kv-catalog-type,.kv-catalog-sale-ribbon),html body.kv-store-v2 .kv-product-card-media :is(.kv-product-badge,.kv-product-sale-ribbon){z-index:3!important;position:absolute!important;top:6px!important;max-width:60%!important;font-size:10px!important;line-height:1.5!important;padding:3px 8px!important;min-height:0!important;box-shadow:none!important;animation:none!important;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
html body :is(.kv-catalog-card,.kv-store-product-card) :is(.kv-catalog-type,.kv-product-badge){right:7px!important;left:auto!important;color:#fff!important;background:#201b2bea!important;border:1px solid #ffffff3a!important;}
html body :is(.kv-catalog-card,.kv-store-product-card) :is(.kv-catalog-sale-ribbon,.kv-product-sale-ribbon){left:7px!important;right:auto!important;color:#fff2dc!important;background:#733b21!important;border:1px solid #f7a464!important;}
html body #homeScreen #courses .kv-catalog-card .kv-catalog-info,html body.kv-store-v2 .kv-store-product-card .kv-product-card-content{padding:14px!important;gap:0;min-width:0;flex:1;display:flex;flex-direction:column;background:transparent!important;}
html body #homeScreen #courses .kv-catalog-card .kv-catalog-tags{margin-bottom:6px!important;min-height:0!important;}
html body #homeScreen #courses .kv-catalog-tag[hidden]{display:none!important;}
html body :is(.kv-catalog-card,.kv-store-product-card) :is(.kv-catalog-info,.kv-product-card-content) h3{font-size:clamp(13px,1.15vw,16px)!important;line-height:1.8!important;font-weight:800!important;min-height:0!important;margin:0 0 7px!important;overflow-wrap:anywhere;}
html body :is(.kv-catalog-card,.kv-store-product-card) :is(.kv-catalog-info,.kv-product-card-content) p{font-size:12px!important;line-height:1.9!important;min-height:0!important;margin:0 0 12px!important;}
html body :is(.kv-catalog-card,.kv-store-product-card) :is(.kv-catalog-bottom,.kv-product-card-foot){margin-top:auto!important;gap:8px!important;padding-top:10px!important;}
html body :is(.kv-catalog-card,.kv-store-product-card) :is(.kv-catalog-price,.kv-product-price){min-height:0!important;font-size:16px!important;font-weight:850!important;line-height:1.7!important;}
html body :is(.kv-catalog-card,.kv-store-product-card) :is(.kv-catalog-more,.kv-product-more){background:#ffa55e!important;color:#21150e!important;border:1px solid #ffb47a!important;min-height:44px!important;font-size:12px!important;box-shadow:none!important;}
html body :is(.kv-catalog-card,.kv-store-product-card) :is(.kv-catalog-more,.kv-product-more) :is(span,b){color:#21150e!important;}
html body :is(.kv-catalog-card.is-discounted,.kv-store-product-card.has-special-offer){border-color:#eaa063!important;}
/* Light mode is intentionally ivory/orange, flat, and readable. Product artwork remains untouched. */
html[data-theme="light"] body #homeScreen #courses .kv-catalog-card,html[data-theme="light"] body.kv-store-v2 .kv-store-product-card{background:#fff!important;border-color:#e7d5c6!important;box-shadow:0 6px 18px #50351e0b!important;}
html[data-theme="light"] body #homeScreen #courses .kv-catalog-card .kv-catalog-art,html[data-theme="light"] body.kv-store-v2 .kv-store-product-card .kv-product-card-media{background:#fff1e5!important;border-color:#efd3be!important;box-shadow:none!important;}
html[data-theme="light"] body #homeScreen #courses .kv-catalog-card .kv-catalog-art::before,html[data-theme="light"] body.kv-store-v2 .kv-store-product-card .kv-product-card-media::before{background:#f5d5ba!important;border-color:#e9b38d!important;box-shadow:0 4px 0 #e7b08a,0 6px 10px #8c4c221a!important;}
html[data-theme="light"] body #homeScreen #courses .kv-catalog-card .kv-catalog-art::after,html[data-theme="light"] body.kv-store-v2 .kv-store-product-card .kv-product-card-media::after{border-color:#d97b47!important;box-shadow:none!important;}
html[data-theme="light"] body :is(.kv-catalog-card,.kv-store-product-card) :is(.kv-catalog-type,.kv-product-badge,.kv-catalog-sale-ribbon,.kv-product-sale-ribbon){background:#ffe5cf!important;color:#191715!important;border-color:#e9b38d!important;}
html[data-theme="light"] body :is(.kv-catalog-card,.kv-store-product-card) :is(.kv-catalog-info,.kv-product-card-content) :is(h3,a,p,small,span,del,strong,b,em){color:#191715!important;text-shadow:none!important;}
html[data-theme="light"] body :is(.kv-catalog-card,.kv-store-product-card) :is(.kv-catalog-more,.kv-product-more){background:#f28b50!important;color:#191715!important;border-color:#d9793f!important;}
html[data-theme="light"] body :is(.kv-catalog-card.is-discounted,.kv-store-product-card.has-special-offer){border-color:#dc793f!important;}
html body #homeScreen #courses .kv-v10-catalog,html body.kv-store-v2 .kv-store-product-grid{grid-template-columns:repeat(4,minmax(0,1fr))!important;}
@media(max-width:1100px){html body #homeScreen #courses .kv-v10-catalog,html body.kv-store-v2 .kv-store-product-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important;}}
@media(max-width:760px){html body #homeScreen #courses .kv-v10-catalog,html body.kv-store-v2 .kv-store-product-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px!important;}html body #homeScreen #courses .kv-catalog-card .kv-catalog-art,html body.kv-store-v2 .kv-store-product-card .kv-product-card-media{width:calc(100% - 10px)!important;margin:5px 5px 0!important;padding:23px 4px 13px!important;aspect-ratio:1.08!important;}html body #homeScreen #courses .kv-catalog-card .kv-catalog-info,html body.kv-store-v2 .kv-store-product-card .kv-product-card-content{padding:10px!important;}html body :is(.kv-catalog-card,.kv-store-product-card) :is(.kv-catalog-info,.kv-product-card-content) p{font-size:11px!important;}html body :is(.kv-catalog-card,.kv-store-product-card) :is(.kv-catalog-price,.kv-product-price){font-size:13px!important;}html body :is(.kv-catalog-card,.kv-store-product-card) :is(.kv-catalog-more,.kv-product-more){font-size:10px!important;padding:7px!important;}}
@media(max-width:360px){html body #homeScreen #courses .kv-v10-catalog,html body.kv-store-v2 .kv-store-product-grid{grid-template-columns:1fr!important;}}
@media(hover:hover) and (pointer:fine){html body #homeScreen #courses .kv-catalog-card:hover .kv-catalog-art img,html body.kv-store-v2 .kv-store-product-card:hover .kv-product-card-media img{transform:translateY(-2px)!important;}}
@media(prefers-reduced-motion:reduce){html body :is(.kv-catalog-card,.kv-store-product-card),html body :is(.kv-catalog-art,.kv-product-card-media) img{transition:none!important;animation:none!important;transform:none!important;}}
