.public-shop-page {
    --market-ink: #102c4a;
    --market-muted: #62778d;
    --market-blue: #0879dc;
    --market-cyan: #20c6dd;
    --market-border: #e3eaf1;
    width: min(calc(100% - 44px), 1440px);
    margin: 28px auto 68px;
}

.public-shop-page .public-shop-hero {
    min-height: 350px;
    align-items: stretch;
    padding: clamp(28px, 4vw, 52px);
    border: 1px solid #d2e4f2;
    border-radius: 30px;
    background:
        radial-gradient(ellipse at 88% 8%, #d5f6ff 0, transparent 27%),
        radial-gradient(ellipse at 73% 100%, #dff8ef 0, transparent 31%),
        linear-gradient(125deg, #f5faff 0%, #fff 54%, #eef9ff 100%);
    box-shadow: 0 24px 65px #173d5c12;
}

.public-shop-page .public-shop-hero:after { right: 14%; bottom: -180px; top: auto; width: 390px; height: 390px; border-color: #4aafe12c; box-shadow: 0 0 0 38px #4aafe10d, 0 0 0 78px #4aafe108; }
.public-shop-hero-glow { position: absolute; top: 0; right: 0; width: 46%; height: 100%; background: linear-gradient(145deg, transparent, #e4f7ff63); pointer-events: none; }
.public-shop-hero .learning-hero-copy { display: flex; flex: 1 1 58%; flex-direction: column; justify-content: center; max-width: 780px; }
.public-shop-hero .learning-hero-eyebrow { display: inline-flex; align-items: center; gap: 7px; color: #047798; font-size: 10px; letter-spacing: .15em; }
.public-shop-hero .learning-hero-eyebrow .material-symbols-outlined { font-size: 17px; }
.public-shop-page .public-shop-hero h1 { max-width: 700px; margin: 13px 0 12px; color: #102f53; font-size: clamp(2.25rem, 5vw, 4.15rem); line-height: .99; letter-spacing: -.065em; }
.public-shop-hero .learning-hero-copy > p { max-width: 590px; color: #536c82; font-size: 15px; line-height: 1.72; }
.public-shop-benefits { gap: 8px; margin-top: 19px; }
.public-shop-benefits > span { padding: 8px 11px; border-color: #d8e6ef; background: #ffffffc9; color: #31516b; font-size: 11px; }
.public-shop-benefits .material-symbols-outlined { color: #078d78; font-size: 17px; }
.public-shop-hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 17px; margin-top: 24px; }
.public-shop-hero-actions .learning-button { min-height: 47px; padding: 12px 17px; border-radius: 14px; font-size: 12px; }
.public-shop-text-link { display: inline-flex; align-items: center; gap: 7px; color: #1769a4; font-size: 12px; font-weight: 800; text-decoration: none; }
.public-shop-text-link:hover { color: #064d87; }
.public-shop-text-link .material-symbols-outlined { font-size: 19px; }
.public-shop-hero-aside { position: relative; z-index: 1; display: flex; flex: 0 1 340px; flex-direction: column; justify-content: center; gap: 12px; min-width: 250px; }
.public-shop-orbit { position: absolute; top: 2px; right: 13px; display: grid; place-items: center; width: 164px; height: 164px; border: 1px solid #3ba9d626; border-radius: 50%; color: #0783c7; background: linear-gradient(145deg, #fff9, #dff7ff70); box-shadow: 0 0 0 18px #4baed20b, 0 0 0 41px #4baed208; }
.public-shop-orbit > .material-symbols-outlined { font-size: 58px; }
.public-shop-orbit i,.public-shop-orbit b { position: absolute; width: 12px; height: 12px; border-radius: 50%; background: #1bc0d0; box-shadow: 0 0 0 7px #1bc0d01e; }
.public-shop-orbit i { top: 26px; right: 24px; }
.public-shop-orbit b { bottom: 21px; left: 25px; width: 8px; height: 8px; background: #0879dc; }
.public-shop-stat-card { position: relative; z-index: 1; display: grid; grid-template-columns: 44px 1fr; align-items: center; gap: 1px 12px; width: min(100%, 280px); margin-top: 80px; padding: 16px 18px; border: 1px solid #d9e8ef; border-radius: 18px; background: #ffffffed; box-shadow: 0 15px 36px #173d5c12; }
.public-shop-stat-card > .material-symbols-outlined { grid-row: span 2; display: grid; place-items: center; width: 42px; height: 42px; border-radius: 13px; color: #0877cf; background: #eaf6ff; font-size: 22px; }
.public-shop-stat-card strong { color: #133b5e; font: 800 25px/1 Manrope, sans-serif; letter-spacing: -.04em; }
.public-shop-stat-card > span:last-child { color: #6b7f92; font-size: 10px; font-weight: 700; }
.public-shop-stat-row { display: flex; gap: 8px; width: min(100%, 315px); }
.public-shop-stat-row > div { display: grid; flex: 1; gap: 3px; padding: 10px 12px; border: 1px solid #dce9ef; border-radius: 13px; background: #ffffffc9; }
.public-shop-stat-row strong { color: #15557e; font: 800 17px/1 Manrope, sans-serif; }
.public-shop-stat-row span { color: #718398; font-size: 9px; font-weight: 750; }

.public-shop-page .learning-shop-section { margin-top: 36px; }
.public-shop-section-heading { align-items: center; margin-bottom: 17px; }
.public-shop-section-heading h2 { margin-top: 5px; color: var(--market-ink); font: 800 clamp(1.45rem, 2.5vw, 1.9rem)/1.15 Manrope, sans-serif; letter-spacing: -.045em; }
.public-shop-section-heading p:not(.eyebrow) { margin-top: 6px; color: var(--market-muted); font-size: 12px; }
.public-shop-heading-note { display: flex; align-items: center; gap: 9px; }
.public-shop-heading-note > .material-symbols-outlined { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 12px; color: #b77b12; background: #fff5d9; font-size: 20px; }
.public-shop-heading-note > span:nth-child(2) { display: grid; gap: 2px; }
.public-shop-heading-note strong { color: #284967; font-size: 11px; }
.public-shop-heading-note small { color: #7a8da0; font-size: 9px; }
.public-shop-page .learning-studio-count { margin-left: 9px; padding: 8px 11px; border-color: var(--market-border); background: #fff; color: #385974; font-size: 10px; white-space: nowrap; }

.public-shop-toolbar { grid-template-columns: minmax(230px, 1.7fr) repeat(3, minmax(145px, 1fr)); gap: 9px; margin: 15px 0 12px; padding: 11px; border-color: var(--market-border); border-radius: 17px; box-shadow: 0 10px 28px #183d5a08; }
.public-shop-toolbar select,.public-shop-toolbar input { min-height: 46px; border-color: #e2eaf1; background: #f9fbfd; color: #294660; font-size: 11px; }
.public-shop-toolbar select:focus,.public-shop-toolbar input:focus { border-color: #59a9df; box-shadow: 0 0 0 3px #1780d21b; }
.public-shop-category-rail { display: flex; align-items: center; gap: 7px; overflow-x: auto; padding: 3px 1px 12px; scrollbar-width: thin; }
.public-shop-category-label { flex: 0 0 auto; margin-right: 3px; color: #77899a; font-size: 10px; font-weight: 800; }
.public-shop-category-rail button { flex: 0 0 auto; min-height: 31px; padding: 6px 11px; border: 1px solid #dfe8ef; border-radius: 99px; background: #fff; color: #536d83; font: 700 10px/1.2 "DM Sans", sans-serif; cursor: pointer; transition: color .18s ease, background .18s ease, border-color .18s ease; }
.public-shop-category-rail button:hover,.public-shop-category-rail button.is-active { border-color: #9bcaf0; background: #eaf5ff; color: #076bc0; }
.public-shop-category-rail button:focus-visible,.public-shop-text-link:focus-visible { outline: 3px solid #1685da4d; outline-offset: 2px; }

.public-shop-page .learning-product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 17px; }
.public-shop-page .learning-shop-product-card { overflow: hidden; padding: 0; border-color: #e3eaf1; border-radius: 20px; box-shadow: 0 9px 26px #183c5a0a; }
.public-shop-page .learning-shop-product-card:hover { transform: translateY(-4px); border-color: #b9d8ec; box-shadow: 0 18px 38px #183c5a17; }
.public-shop-page .learning-shop-product-card > .learning-product-art { flex-basis: 225px; height: 225px; margin: 0 0 13px; background: radial-gradient(circle at 50% 35%, #fff 0, #eef7fc 56%, #e2f1f5 100%); }
.public-shop-page .learning-shop-product-card > .learning-product-art > img { transition: transform .35s ease; }
.public-shop-page .learning-shop-product-card:hover > .learning-product-art > img { transform: scale(1.035); }
.public-shop-product-placeholder { color: #1386bc; font-size: 55px; }
.public-shop-placeholder-label { position: absolute; right: 0; bottom: 22px; left: 0; color: #7a94a8; font-size: 9px; font-weight: 800; letter-spacing: .13em; text-align: center; text-transform: uppercase; }
.public-shop-page .learning-product-type-pill { display: inline-flex; align-items: center; gap: 4px; border: 1px solid #ffffffc7; background: #fffffff0; color: #31536e; box-shadow: 0 4px 13px #102f5315; }
.public-shop-page .learning-product-type-pill .material-symbols-outlined { font-size: 14px; }
.public-shop-page .learning-product-featured-pill { top: auto; right: 12px; bottom: 12px; z-index: 3; border-color: #f0dfa8; background: #fff8e7; box-shadow: 0 4px 12px #60480016; }
.public-shop-page .learning-shop-gallery { min-height: 57px; padding: 0 14px 9px; }
.public-shop-page .learning-shop-product-meta { align-items: center; margin: 0 17px 7px; }
.public-shop-category-tag { display: inline-flex; max-width: 70%; overflow: hidden; padding: 5px 8px; border: 1px solid #e6edf3; border-radius: 99px; background: #f7f9fb; color: #6b7f91; text-overflow: ellipsis; white-space: nowrap; }
.public-shop-page .learning-shop-out-stock { display: inline-flex; align-items: center; gap: 3px; font-size: 9px; }
.learning-shop-out-stock .material-symbols-outlined { font-size: 14px; }
.public-shop-page .learning-shop-product-card > h3 { min-height: 47px; margin: 3px 17px 6px; color: #173b5b; font-size: 16px; line-height: 1.4; }
.public-shop-page .learning-shop-product-card > p { min-height: 52px; margin: 0 17px 10px; color: #6a7e90; font-size: 11px; line-height: 1.55; }
.public-shop-page .learning-shop-product-card > .learning-product-price { display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 48px; margin: auto 17px 7px; color: #123a5c; font-size: 20px; }
.public-shop-page .learning-product-price > span { white-space: nowrap; }
.public-shop-page .learning-product-price small { display: inline-flex; align-items: center; justify-content: flex-end; gap: 4px; max-width: 57%; color: #74869a; font-size: 9px; line-height: 1.35; text-align: right; }
.public-shop-page .learning-product-price small .material-symbols-outlined { flex: 0 0 auto; color: #1680bd; font-size: 14px; }
.public-shop-page .learning-shop-product-card > .learning-shop-stock,.public-shop-page .learning-shop-product-card > .learning-shop-unavailable { display: flex; align-items: center; gap: 5px; min-height: 20px; margin: 0 17px 6px; font-size: 10px; }
.learning-shop-stock .material-symbols-outlined { font-size: 15px; }
.public-shop-page .public-shop-product-action { padding: 8px 15px 15px; }
.public-shop-page .public-shop-product-action .learning-button { min-height: 43px; border-radius: 12px; }
.public-shop-page .public-shop-login-note { display: flex; align-items: center; max-width: 1080px; margin: 28px auto 0; padding: 17px 19px; border-color: #d6e6f0; background: linear-gradient(110deg, #f2f8ff, #f3fcf9); }
.public-shop-login-note p { flex: 1; }
.public-shop-login-note > a { display: inline-flex; align-items: center; gap: 5px; flex: 0 0 auto; color: #096bb7; font-size: 11px; font-weight: 800; text-decoration: none; }
.public-shop-login-note > a .material-symbols-outlined { font-size: 17px; }

@media (max-width: 1050px) {
    .public-shop-page .public-shop-hero { padding: 32px; }
    .public-shop-hero-aside { flex-basis: 275px; min-width: 230px; }
    .public-shop-orbit { width: 135px; height: 135px; }
    .public-shop-page .learning-product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .public-shop-toolbar { grid-template-columns: minmax(210px, 1.5fr) repeat(3, minmax(125px, 1fr)); }
}

@media (max-width: 760px) {
    .public-shop-page { width: min(calc(100% - 30px), 680px); margin: 20px auto 46px; }
    .public-shop-page .public-shop-hero { min-height: 0; padding: 26px; border-radius: 24px; }
    .public-shop-hero .learning-hero-copy { flex-basis: 100%; }
    .public-shop-hero-aside { display: none; }
    .public-shop-page .public-shop-hero h1 { max-width: 570px; font-size: clamp(2.25rem, 8vw, 3.4rem); }
    .public-shop-hero .learning-hero-copy > p { font-size: 13px; }
    .public-shop-section-heading { align-items: flex-start; flex-direction: column; }
    .public-shop-heading-note { width: 100%; }
    .public-shop-page .learning-studio-count { margin-left: auto; }
    .public-shop-toolbar { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .public-shop-toolbar .public-shop-search { grid-column: 1 / -1; }
}

@media (max-width: 560px) {
    .public-shop-page { width: calc(100% - 22px); margin-top: 13px; }
    .public-shop-page .public-shop-hero { padding: 21px 18px; border-radius: 20px; }
    .public-shop-page .public-shop-hero h1 { margin-top: 10px; font-size: clamp(2rem, 10vw, 2.8rem); }
    .public-shop-benefits { gap: 6px; }
    .public-shop-benefits > span { padding: 7px 8px; font-size: 9px; }
    .public-shop-hero-actions { align-items: stretch; flex-direction: column; gap: 12px; margin-top: 19px; }
    .public-shop-hero-actions .learning-button { width: 100%; }
    .public-shop-text-link { justify-content: center; min-height: 34px; }
    .public-shop-page .learning-shop-section { margin-top: 27px; }
    .public-shop-heading-note { gap: 7px; }
    .public-shop-heading-note > .material-symbols-outlined { width: 33px; height: 33px; }
    .public-shop-heading-note strong { font-size: 10px; }
    .public-shop-heading-note small { font-size: 8px; }
    .public-shop-page .learning-studio-count { padding: 7px 8px; font-size: 9px; }
    .public-shop-toolbar { gap: 7px; margin-top: 11px; padding: 9px; }
    .public-shop-toolbar select,.public-shop-toolbar input { min-height: 42px; padding-right: 25px; font-size: 10px; }
    .public-shop-toolbar .public-shop-search input { padding-left: 38px; }
    .public-shop-category-label { display: none; }
    .public-shop-category-rail { margin: 0 -1px; }
    .public-shop-page .learning-product-grid { grid-template-columns: 1fr; gap: 13px; }
    .public-shop-page .learning-shop-product-card > .learning-product-art { flex-basis: 235px; height: 235px; }
    .public-shop-page .learning-shop-product-card > h3 { min-height: 0; }
    .public-shop-page .learning-shop-product-card > p { min-height: 0; max-height: 56px; }
    .public-shop-page .learning-product-price small { max-width: 52%; }
    .public-shop-page .public-shop-login-note { align-items: flex-start; flex-wrap: wrap; padding: 14px; }
    .public-shop-login-note p { flex-basis: calc(100% - 38px); }
    .public-shop-login-note > a { margin-left: 34px; }
}

@media (prefers-reduced-motion: reduce) {
    .public-shop-page .learning-shop-product-card,.public-shop-page .learning-shop-product-card > .learning-product-art > img,.public-shop-category-rail button { transition: none; }
}
