:root{
  --brand-blue:#4258e8;
  --brand-blue-deep:#27359d;
  --brand-orange:#f06b4d;
  --surface:#ffffff;
  --surface-soft:#f5f6fa;
  --surface-tint:#eef0ff;
  --text-main:#191d2b;
  --text-muted:#6d7384;
  --border-soft:#e4e7f0;
  --shadow-card:0 14px 36px rgba(31,39,78,.075);
}
body{background:#fbfbfd;color:var(--text-main)}
::selection{background:#dce1ff;color:#202a70}
a,button,input,select,textarea{-webkit-tap-highlight-color:transparent}
:focus-visible{outline:3px solid rgba(66,88,232,.42);outline-offset:3px}
.header{min-height:76px;border-bottom-color:rgba(222,226,239,.9);box-shadow:0 3px 16px rgba(31,39,78,.025)}
.brand{letter-spacing:.8px}
.brand .mark{border-radius:10px;box-shadow:0 5px 12px rgba(66,88,232,.2)}
.header nav a{position:relative;transition:color .2s ease}
.header nav a:after{content:"";position:absolute;right:0;left:100%;bottom:-8px;height:2px;background:var(--brand-blue);transition:left .2s ease}
.header nav a:hover:after,.header nav a:focus-visible:after{left:0}
.actions button{transition:color .18s ease,border-color .18s ease,background .18s ease}
.primary{border-radius:8px;box-shadow:0 7px 17px rgba(66,88,232,.14);font-weight:600}
.primary:focus-visible,.filters button:focus-visible,.store-filters button:focus-visible{outline-offset:3px}
.hero{overflow:hidden;border-radius:0 0 20px 20px;background:linear-gradient(135deg,#f6f7fc,#eef0fa)}
.hero-copy{max-width:650px}
.hero h1{letter-spacing:-1.4px}
.hero-mosaic{display:grid;grid-template-columns:1.15fr .85fr;grid-template-rows:minmax(0,1fr);gap:12px;padding:18px;background:#e7eaf5;min-height:520px;height:auto}
.mosaic-large,.mosaic-stack{min-width:0;min-height:0;overflow:hidden;border-radius:13px}
.mosaic-large img,.mosaic-stack img{display:block;width:100%;height:100%;object-fit:cover}
.mosaic-large img{object-position:center}
.mosaic-stack{display:grid;grid-template-rows:1fr 1fr;gap:12px}
.mosaic-stack img{min-height:0}
.hero-mosaic .photo-caption{right:30px;bottom:30px;border:1px solid rgba(255,255,255,.7);border-radius:10px;box-shadow:var(--shadow-card)}
.pillar-intro{padding-top:84px;padding-bottom:84px}
.section-head{gap:22px}
.section-head h2{letter-spacing:-.45px}
.pillar-grid{gap:16px}
.pillar-card{min-height:340px;border-radius:15px;box-shadow:0 12px 28px rgba(20,25,48,.08);transition:transform .28s ease,box-shadow .28s ease}
.pillar-card:hover{transform:translateY(-5px);box-shadow:0 20px 38px rgba(20,25,48,.16)}
.pillar-card h3{letter-spacing:-.5px}
.body-detail-band,.commerce-band{position:relative;overflow:hidden}
.body-detail-band:before,.commerce-band:before{content:"";position:absolute;inset:0 auto 0 0;width:28%;background:linear-gradient(135deg,rgba(66,88,232,.045),transparent);pointer-events:none}
.detail-layout,.mind-detail,.commerce-inner,.knowledge-inner{position:relative}
.detail-tags span{border-radius:9px}
.mind-list article{transition:padding .2s ease,color .2s ease}
.mind-list article:hover{padding-inline:12px;color:var(--brand-blue)}
.goal-section{background:linear-gradient(180deg,#f4f5fb,#f8f9fc)}
.goal-grid{gap:12px}
.goal-grid a{border-radius:11px;transition:transform .22s ease,box-shadow .22s ease,border-color .22s ease}
.goal-grid a:hover{transform:translateY(-4px);box-shadow:var(--shadow-card)}
.products{padding-top:82px;padding-bottom:88px}
.filters button,.store-filters button{border-radius:7px;transition:background .18s ease,color .18s ease,border-color .18s ease}
.product-grid{gap:18px}
.product{padding:10px 10px 14px;border:1px solid var(--border-soft);border-radius:13px;background:#fff;transition:transform .22s ease,border-color .22s ease,box-shadow .22s ease}
.product:hover{transform:translateY(-4px);border-color:#c4cbfa;box-shadow:var(--shadow-card)}
.visual{border-radius:9px}
.visual img{transition:transform .45s cubic-bezier(.2,.7,.2,1)}
.price button{border-radius:7px;transition:background .18s ease,color .18s ease,border-color .18s ease}
.knowledge-band{background:linear-gradient(125deg,#edf0ff,#e7eaff)}
.knowledge-tiles div{border:1px solid rgba(66,88,232,.08);border-radius:10px;transition:transform .2s ease,box-shadow .2s ease}
.knowledge-tiles div:hover{transform:translateY(-3px);box-shadow:var(--shadow-card)}
.article-grid,.world-article-grid{gap:16px}
.library-article,.world-article-card{border-radius:12px;transition:transform .2s ease,border-color .2s ease,box-shadow .2s ease}
.library-article:hover,.world-article-card:hover{transform:translateY(-3px);border-color:#c8cff7;box-shadow:var(--shadow-card)}
.library-article button,.article-read-button{border-radius:7px}
.footer{background:#171b2c}
.footer .mark{background:#fff;color:var(--brand-blue)}
.drawer{box-shadow:0 0 45px rgba(20,25,48,.18)}
.cart-line{gap:12px}
.cart-line-details{min-width:0}
.cart-item-name{display:block;overflow-wrap:anywhere}
.cart-line-controls{display:flex;align-items:center;gap:7px;flex-wrap:wrap}
.cart-quantity-button{width:29px;height:29px;border:1px solid var(--border-soft)!important;border-radius:7px;color:var(--text-main)!important}
.cart-remove-button{font-size:11px}
.store-hero{background:radial-gradient(circle at 85% 20%,rgba(91,109,255,.28),transparent 35%),linear-gradient(125deg,#171b2c,#22294a)}
.store-card{border-radius:13px;overflow:hidden}
.store-card-image{display:block}
.store-card-copy{padding:16px}
.store-card-actions{gap:7px}
.store-add-button{border-radius:7px}
.store-card-link{white-space:nowrap}
.store-info{background:linear-gradient(120deg,#f0f2fa,#f7f8fc)}
.library-hero{background:linear-gradient(115deg,#f4f5fb,#eceeff)}
.library-hero-art{background:radial-gradient(circle at 60% 35%,#7180ff,#4258e8 70%)}
.learning-board{border-radius:14px}
.library-topic-grid a,.learning-path-grid a,.pillar-category-grid a,.gender-category-grid a{border-radius:10px;transition:transform .2s ease,border-color .2s ease,box-shadow .2s ease}
.library-topic-grid a:hover,.learning-path-grid a:hover,.pillar-category-grid a:hover,.gender-category-grid a:hover{box-shadow:var(--shadow-card)}
.world-product-card{overflow:hidden;border-radius:12px;border:1px solid var(--border-soft);background:#fff;transition:transform .22s ease,box-shadow .22s ease}
.world-product-card:hover{transform:translateY(-4px);box-shadow:var(--shadow-card)}
.world-product-card img,.world-product-placeholder{display:block;width:100%;object-fit:cover}
.product-main-image{border-radius:13px;overflow:hidden}
.product-detail-copy .primary{width:100%}
.toast{border-radius:11px}
.field-error{margin-top:6px}
.field-invalid{border-color:#c23a45!important;box-shadow:0 0 0 3px rgba(194,58,69,.08)!important}
.skeleton-card{border-radius:11px;background:#f7f8fc;border-color:#e9ebf4}
.skeleton-image,.skeleton-line{border-radius:7px}
@media(max-width:850px){
  .hero-mosaic{min-height:450px}
  .pillar-card{min-height:300px}
  .product-grid{gap:14px}
  .products{padding-top:65px;padding-bottom:68px}
}
@media(max-width:650px){
  .hero{border-radius:0 0 14px 14px}
  .hero-mosaic{height:315px;min-height:315px;padding:10px;gap:8px}
  .mosaic-large,.mosaic-stack{border-radius:9px}
  .mosaic-stack{gap:8px}
  .hero-mosaic .photo-caption{right:18px;bottom:18px;min-width:0;padding:9px 11px}
  .pillar-intro{padding-top:55px;padding-bottom:55px}
  .pillar-card,.pillar-card:last-child{min-height:265px}
  .goal-section{padding:52px 0}
  .goal-grid{gap:8px}
  .goal-grid a{padding:15px;min-height:122px}
  .products{padding-top:52px;padding-bottom:58px}
  .product{padding:7px 7px 11px;border-radius:10px}
  .visual{height:180px;border-radius:7px}
  .product>small{font-size:9px}
  .product h3{min-height:38px}
  .price button{font-size:10px;padding:8px 6px}
  .knowledge-tiles{gap:8px}
  .knowledge-tiles div{min-height:96px;padding:13px}
  .library-topic-grid a,.learning-path-grid a,.pillar-category-grid a,.gender-category-grid a{border-radius:8px}
  .store-card{border-radius:10px}
  .store-card-copy{padding:10px}
  .store-card-image{height:175px}
  .cart-line-controls{gap:5px}
}
@media(prefers-reduced-motion:reduce){
  *,*::before,*::after{scroll-behavior:auto!important;transition-duration:.01ms!important;animation-duration:.01ms!important;animation-iteration-count:1!important}
}

.catalog-empty{grid-column:1/-1;margin:0;padding:34px 20px;text-align:center;border:1px dashed #cbd1ee;border-radius:11px;background:#f7f8ff;color:var(--text-muted);font-size:13px;line-height:1.9}
[hidden]{display:none!important}
button:disabled{opacity:.55;cursor:not-allowed}
img{max-width:100%}
@media print{
  .header,.footer,.drawer,.shade,.toast-region,.menu-backdrop{display:none!important}
  body{background:#fff;color:#000}
}

body.menu-locked,body.cart-locked{overscroll-behavior:none}
.drawer{overflow-y:auto;overscroll-behavior:contain;-webkit-overflow-scrolling:touch}
