:root {
    --store-red: #ff2424;
    --store-bg: #101010;
    --store-panel: #191919;
    --store-text: #f4f1eb;
    --store-muted: #b3b0aa;
    --store-line: #f4f1eb24;
}
html { scroll-behavior: smooth; }
.store-page { margin: 0; background: var(--store-bg); color: var(--store-text); }
.store-page * { box-sizing: border-box; }
.store-page [hidden] { display: none !important; }
.store-page a, .store-page button { -webkit-tap-highlight-color: transparent; }
.store-page :focus-visible { outline: 2px solid var(--store-red); outline-offset: 5px; }
.store-page .glass { background: #101010f5; backdrop-filter: blur(16px); }
.store-page nav { border-bottom-color: var(--store-line); }
.store-page nav .container { max-width: 1280px; }
.store-page nav a[href="/store/"] { color: var(--store-red); }
.store-shell { width: min(100% - 64px, 1280px); margin-inline: auto; }
.store-skip-link { position: fixed; top: -80px; left: 24px; z-index: 200; padding: 12px 20px; background: var(--store-text); color: var(--store-bg); }
.store-skip-link:focus { top: 16px; }
.store-hero { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; align-items: center; padding-top: 118px; padding-bottom: 54px; }
.store-eyebrow { display: flex; align-items: center; gap: 10px; color: var(--store-red); font: 500 12px/1.7 Inter, sans-serif; letter-spacing: .12em; margin-bottom: 24px; }
.store-eyebrow > span { width: 6px; height: 6px; border-radius: 50%; background: var(--store-red); box-shadow: 0 0 12px #ff242499; }
.store-intro h1 { font-size: clamp(42px, 4.8vw, 68px); font-weight: 600; line-height: 1.25; letter-spacing: -.045em; }
.store-neon { display: block; color: var(--store-red); }
.store-lead { max-width: 390px; color: var(--store-muted); font-size: 16px; line-height: 1.9; margin-top: 22px; }
.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 28px; margin-top: 30px; }
.hero-actions .store-button { width: auto; min-width: 174px; min-height: 52px; }
.hero-free-link { display: inline-flex; align-items: center; gap: 14px; font-size: 14px; color: var(--store-text); }
.hero-free-link i { font-size: 11px; color: var(--store-red); transition: transform .25s; }
.hero-free-link:hover i { transform: translate(3px, -3px); }
.hero-formats { display: flex; flex-wrap: wrap; gap: 22px; margin-top: 36px; color: var(--store-muted); font: 400 12px/1.6 Inter, sans-serif; }
.hero-formats span { display: flex; gap: 9px; align-items: center; }
.hero-formats i { color: #d7d2c9; font-size: 14px; }
.hero-showcase { position: relative; height: 430px; min-width: 0; isolation: isolate; }
.showcase-grid { position: absolute; inset: 0; z-index: -2; border-radius: 50%; background: radial-gradient(ellipse at center, #b4161636, transparent 67%), repeating-linear-gradient(0deg, transparent 0 39px, #ffffff05 39px 40px), repeating-linear-gradient(90deg, transparent 0 39px, #ffffff05 39px 40px); mask-image: radial-gradient(ellipse, black 35%, transparent 72%); }
.showcase-word { position: absolute; z-index: -1; top: 3px; right: 0; color: transparent; -webkit-text-stroke: 1px #f4f1eb16; font: 700 clamp(90px, 11vw, 152px)/.87 Inter, sans-serif; letter-spacing: -.065em; pointer-events: none; }
.showcase-books { position: absolute; inset: 48px 18px 50px 0; transform: perspective(1000px) rotateX(var(--tilt-x, 0deg)) rotateY(var(--tilt-y, 0deg)); transition: transform .2s ease-out; }
.showcase-book { --angle: 0deg; position: absolute; bottom: 12px; width: 34%; max-width: 194px; transform: rotate(var(--angle)); transform-origin: 50% 90%; transition: transform .45s cubic-bezier(.2,.7,.2,1), filter .35s; filter: drop-shadow(8px 18px 14px #000b); }
.showcase-book img { display: block; width: 100%; height: auto; border-radius: 3px; border-left: 3px solid #ffffff30; }
.showcase-left { --angle: -17deg; left: 9%; bottom: 16px; z-index: 1; }
.showcase-center { --angle: -3deg; left: 34%; bottom: 18px; z-index: 3; }
.showcase-right { --angle: 15deg; left: 59%; bottom: 11px; z-index: 2; }
.showcase-book > span { position: absolute; display: flex; align-items: center; gap: 17px; right: -12px; bottom: 20px; padding: 9px 13px; background: var(--store-text); color: #151515; border-radius: 3px; font: 600 16px/1.4 Inter, sans-serif; box-shadow: 0 6px 20px #0007; }
.showcase-book span i { font-size: 11px; }
.showcase-center > span { background: var(--store-red); color: white; }
.showcase-left > span { left: 12px; right: auto; }
.showcase-book:hover, .showcase-book:focus-visible { z-index: 4; transform: translateY(-22px) rotate(0deg) scale(1.04); filter: drop-shadow(8px 24px 18px #000b); }
.showcase-stamp { position: absolute; top: 6px; left: 20px; display: grid; justify-items: center; gap: 5px; width: 89px; height: 89px; align-content: center; border: 1px solid #ff242463; border-radius: 50%; color: var(--store-red); font: 600 9px/1.4 Inter, sans-serif; text-align: center; letter-spacing: .06em; transform: rotate(-14deg); }
.showcase-stamp i { font-size: 21px; }
.showcase-caption { position: absolute; bottom: 0; left: 10%; right: 0; display: flex; justify-content: space-between; align-items: center; color: #bcb6ae; font-size: 12px; letter-spacing: .02em; }
.showcase-caption > span { color: var(--store-red); font: 400 22px/1 Inter, sans-serif; }
.collection-intro { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-block: 12px 24px; }
.collection-intro h2 { font-size: clamp(26px, 2.7vw, 36px); line-height: 1.5; font-weight: 500; letter-spacing: -.025em; }
.collection-intro h2 > span { color: var(--store-red); }
.collection-intro > span { color: #8d8982; font: 500 11px/1.5 Inter, sans-serif; letter-spacing: .1em; }
.catalog { scroll-margin-top: 88px; }
.catalog-toolbar { position: sticky; top: 73px; z-index: 30; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 12px 0; border-block: 1px solid var(--store-line); background: #101010f5; backdrop-filter: blur(16px); }
.catalog-filters { display: flex; flex-wrap: wrap; gap: 7px; scroll-margin-top: 88px; }
.catalog-filters button { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 43px; padding: 10px 19px; border: 1px solid transparent; border-radius: 30px; color: var(--store-muted); font-size: 14px; cursor: pointer; transition: color .2s, background .2s, border-color .2s; }
.catalog-filters button span { font: 500 11px/1.5 Inter, sans-serif; opacity: .7; }
.catalog-filters button:hover { color: var(--store-text); border-color: var(--store-line); }
.catalog-filters button[aria-pressed="true"] { background: var(--store-text); color: #151515; }
.catalog-filters button[aria-pressed="true"] span { color: #b50000; text-shadow: none; opacity: 1; }
.catalog-count { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.catalog-fallback { display: flex; gap: 28px; font-size: 14px; }
.catalog-section { padding-top: 28px; scroll-margin-top: 170px; }
.catalog-heading { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 22px; }
.catalog-heading h2 { display: flex; align-items: center; gap: 12px; font-size: 24px; font-weight: 500; letter-spacing: -.02em; }
.catalog-heading h2 > span { color: #8d8982; font: 400 12px/1.5 Inter, sans-serif; }
.section-format { color: #8d8982; font: 500 10px/1.6 Inter, sans-serif; letter-spacing: .12em; }
.book-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.book-card { display: flex; flex-direction: column; min-width: 0; background: var(--store-panel); border: 1px solid var(--store-line); border-radius: 12px; scroll-margin-top: 165px; transition: border-color .3s, box-shadow .3s; }
.book-card:hover, .book-card:focus-within { border-color: #ffffff45; box-shadow: 0 16px 38px #0005; }
.book-card:target { border-color: var(--store-red); }
.book-art { --cover-accent: #ff4444; position: relative; display: flex; align-items: center; justify-content: center; height: 300px; padding: 38px 38px 34px; border-radius: 11px 11px 0 0; overflow: hidden; isolation: isolate; background: radial-gradient(ellipse at 50% 90%, color-mix(in srgb, var(--cover-accent) 22%, #181818), #202020 82%); cursor: zoom-in; }
.art-3 { --cover-accent: #7f9ed8; }
.art-4 { --cover-accent: #d4a961; }
.art-5 { --cover-accent: #ff4020; }
.art-cyber-detective { --cover-accent: #6ca9d8; }
.book-art::before { content: ''; position: absolute; z-index: -1; width: 210px; height: 210px; border: 1px solid color-mix(in srgb, var(--cover-accent) 20%, transparent); border-radius: 50%; transform: translateY(50px); transition: transform .5s; }
.book-art::after { content: ''; position: absolute; bottom: 24px; left: 22%; right: 22%; height: 12px; border-radius: 50%; background: #0009; filter: blur(9px); }
.book-art img { position: relative; z-index: 1; width: auto; height: 100%; max-width: 100%; object-fit: contain; border-radius: 2px; box-shadow: 7px 12px 18px #0008; transform: perspective(800px) rotateY(-9deg) rotateZ(-4deg); transition: transform .5s cubic-bezier(.2,.7,.2,1); }
.book-card:nth-child(even) .book-art img { transform: perspective(800px) rotateY(9deg) rotateZ(4deg); }
.book-card:hover .book-art img, .book-card:focus-within .book-art img { transform: perspective(800px) rotateY(0deg) rotateZ(0deg) translateY(-8px); }
.book-card:hover .book-art::before { transform: translateY(30px) scale(1.12); }
.product-badge { position: absolute; z-index: 3; top: 15px; left: 15px; padding: 5px 9px; border-radius: 4px; color: #ff8a8a; background: #1b0b0be6; font-size: 11px; }
.badge-free { color: #161616; background: var(--store-text); }
.cover-preview { position: absolute; z-index: 3; bottom: 15px; left: 50%; transform: translate(-50%, 6px); display: inline-flex; align-items: center; gap: 9px; padding: 8px 12px; border: 1px solid #ffffff25; border-radius: 24px; color: white; background: #111e; font-size: 11px; white-space: nowrap; opacity: 0; transition: opacity .25s, transform .25s; }
.book-art:hover .cover-preview, .book-art:focus-visible .cover-preview { opacity: 1; transform: translate(-50%, 0); }
.book-info { display: flex; flex-direction: column; flex: 1; padding: 21px; }
.product-category { color: var(--store-muted); font-size: 12px; margin-bottom: 9px; }
.book-info h3 { min-height: 58px; font-size: 19px; line-height: 1.5; font-weight: 500; letter-spacing: -.015em; }
.title-secondary { white-space: nowrap; font-family: Inter, sans-serif; }
.product-details { margin: 9px 0 20px; }
.product-details summary { color: #c7c2ba; font-size: 13px; width: fit-content; gap: 10px; }
.product-details summary i { font-size: 9px; }
.product-description { color: var(--store-muted); font-size: 14px; line-height: 1.9; padding-top: 10px; }
.product-purchase { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: auto; padding-top: 17px; border-top: 1px solid var(--store-line); }
.product-price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 8px; }
.product-price > span:first-child { font: 600 26px/1.3 Inter, Prompt, sans-serif; letter-spacing: -.04em; }
.product-price del { color: #8f8a83; font: 400 12px/1.5 Inter, sans-serif; }
.product-price .price-free { font-family: Prompt, sans-serif; font-size: 24px; }
.product-price .price-note { display: block; color: var(--store-muted); font-size: 13px; }
.store-button { display: inline-flex; align-items: center; justify-content: center; gap: 16px; min-height: 45px; padding: 11px 16px; border: 1px solid transparent; border-radius: 6px; color: white; font-size: 14px; font-weight: 500; transition: background .25s, transform .25s, box-shadow .25s; }
.store-button i { font-size: 11px; transition: transform .25s; }
.button-buy { background: #da1515; border-color: #ff242480; }
.button-buy:hover { background: #f22222; box-shadow: 0 4px 20px #e4141429; }
.store-button:hover i { transform: translate(2px, -2px); }
.button-free { background: var(--store-text); color: #151515; }
.button-free:hover { background: white; }
.product-purchase .store-button { padding: 10px 12px; gap: 10px; font-size: 13px; flex-shrink: 0; }
.free-book { border-color: #f4f1eb38; }
.course-section { padding-top: 48px; }
.course-card { display: grid; grid-template-columns: 1fr 1.25fr; border: 1px solid var(--store-line); border-radius: 12px; overflow: hidden; background: var(--store-panel); scroll-margin-top: 165px; }
.course-card + .course-card { margin-top: 24px; }
.course-cover { display: flex; align-items: center; justify-content: center; background: #fff; border-right: 1px solid var(--store-line); padding: 16px; }
.course-cover img { display: block; width: 100%; height: auto; }
.course-art { position: relative; display: flex; flex-direction: column; justify-content: center; min-height: 420px; padding: 26px 34px; background: radial-gradient(ellipse at 50% 55%, #75181860, #211212 60%, #191919); border-right: 1px solid var(--store-line); overflow: hidden; isolation: isolate; }
.course-art::before { content: ''; position: absolute; z-index: -1; inset: 0; background-image: linear-gradient(#ff454510 1px, transparent 1px), linear-gradient(90deg, #ff454510 1px, transparent 1px); background-size: 38px 38px; }
.lab-orbit { position: absolute; z-index: -1; width: 310px; height: 310px; border: 1px solid #ff45451f; border-radius: 50%; top: 50%; right: -65px; transform: translateY(-50%); }
.lab-orbit::before, .lab-orbit::after { content: ''; position: absolute; inset: 28px; border: inherit; border-radius: inherit; }
.lab-orbit::after { inset: 56px; }
.lab-top, .lab-bottom { position: relative; display: flex; align-items: center; gap: 10px; color: #bd9696; font: 500 9px/1.6 Inter, sans-serif; letter-spacing: .06em; }
.lab-top { justify-content: space-between; margin-bottom: auto; }
.lab-top > span:first-child { display: flex; gap: 5px; }
.lab-top b { width: 5px; height: 5px; border-radius: 50%; background: #674646; }
.lab-top b:first-child { background: var(--store-red); }
.lab-symbol { position: relative; display: grid; place-items: center; width: 70px; height: 70px; margin: 28px 0 22px; color: var(--store-red); font-size: 34px; transition: transform .6s; }
.course-card:hover .lab-symbol { transform: rotate(-12deg); }
.lab-corner { position: absolute; width: 16px; height: 16px; border-color: #ff454580; }
.corner-one { left: 0; top: 0; border-left: 1px solid; border-top: 1px solid; }
.corner-two { right: 0; bottom: 0; border-right: 1px solid; border-bottom: 1px solid; }
.lab-title { font: 600 clamp(32px, 4vw, 54px)/1.1 Inter, sans-serif; letter-spacing: -.045em; }
.lab-title span { color: var(--store-red); }
.lab-tags { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; margin-bottom: 24px; }
.lab-tags span { color: #cb9c9c; font: 500 9px/1.5 Inter, sans-serif; letter-spacing: .08em; }
.lab-tags span + span::before { content: '/'; padding-right: 10px; color: #784141; }
.lab-bottom { padding-top: 17px; border-top: 1px solid #ff45452b; margin-top: auto; }
.lab-bottom > i { margin-left: auto; display: grid; place-items: center; width: 28px; height: 28px; border: 1px solid #ff454547; border-radius: 50%; font-size: 8px; }
.lab-led { width: 4px; height: 4px; border-radius: 50%; background: var(--store-red); box-shadow: 0 0 7px var(--store-red); }
.course-info { display: flex; flex-direction: column; padding: 34px 38px; }
.course-tags { display: flex; flex-wrap: wrap; gap: 12px; font-size: 12px; color: var(--store-muted); margin-bottom: 20px; }
.course-tags span { display: inline-flex; align-items: center; gap: 7px; }
.course-tags span:first-child { color: #ff7777; }
.course-tags span + span { border-left: 1px solid var(--store-line); padding-left: 12px; }
.course-info h3 { font: 600 36px/1.2 Inter, sans-serif; letter-spacing: -.04em; margin-bottom: 16px; }
.course-description { color: var(--store-muted); font-size: 15px; line-height: 1.9; }
.course-details { margin-top: 22px; border-block: 1px solid var(--store-line); }
.store-page summary { display: flex; align-items: center; justify-content: space-between; gap: 18px; list-style: none; cursor: pointer; }
.store-page summary::-webkit-details-marker { display: none; }
.store-page summary i { color: var(--store-red); font-size: 10px; flex-shrink: 0; transition: transform .25s; }
.store-page details[open] > summary i { transform: rotate(45deg); }
.course-details summary { padding: 17px 0; font-size: 14px; }
.course-details ol { list-style: decimal; padding: 0 0 20px 21px; display: grid; gap: 14px; }
.course-details li { padding-left: 5px; font-size: 14px; }
.course-details li::marker { color: var(--store-red); font-family: Inter, sans-serif; }
.course-details strong { display: block; font: 500 14px/1.6 Inter, sans-serif; }
.course-details li span { display: block; color: var(--store-muted); font-size: 14px; margin-top: 4px; }
.course-purchase { display: flex; align-items: center; justify-content: space-between; gap: 22px; padding-top: 24px; margin-top: auto; }
.course-purchase .product-price { display: block; flex-shrink: 0; }
.course-purchase .price-note { margin-top: 4px; }
.course-purchase .store-button { min-width: 180px; }
.checkout-note { display: flex; align-items: center; justify-content: center; gap: 10px; color: var(--store-muted); font-size: 13px; margin-top: 24px; line-height: 1.9; }
.checkout-note i { color: #ff6666; }
.order-guide { padding-top: 38px; scroll-margin-top: 88px; }
.order-guide-panel { border: 1px solid var(--store-line); border-radius: 8px; }
.order-details > summary { padding: 19px 24px; }
.order-details > summary h2 { display: flex; align-items: center; gap: 24px; width: 100%; font-size: 15px; font-weight: 500; line-height: 1.7; }
.order-flow { color: var(--store-muted); font-size: 13px; font-weight: 400; }
.order-details-label { display: inline-flex; margin-left: auto; }
.order-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; list-style: none; margin: 0; padding: 0 24px 24px; }
.order-steps li { display: flex; gap: 12px; padding-top: 16px; border-top: 1px solid var(--store-line); }
.order-step-number { color: var(--store-red); font: 500 12px/1.7 Inter, sans-serif; }
.order-steps h3 { font-size: 14px; font-weight: 500; line-height: 1.8; margin-bottom: 4px; }
.order-steps p { color: var(--store-muted); font-size: 14px; line-height: 1.9; }
.store-support { display: grid; grid-template-columns: 1fr 1.3fr; gap: 80px; padding-block: 54px 72px; margin-top: 54px; border-top: 1px solid var(--store-line); }
.support-intro .store-eyebrow { margin-bottom: 16px; }
.support-intro h2 { font-size: 28px; font-weight: 500; letter-spacing: -.02em; line-height: 1.5; }
.support-link { display: inline-flex; align-items: center; gap: 22px; font-size: 14px; margin-top: 24px; padding-bottom: 8px; border-bottom: 1px solid var(--store-red); }
.support-link:hover { color: var(--store-red); }
.store-faq details { border-bottom: 1px solid var(--store-line); }
.store-faq details:first-child { border-top: 1px solid var(--store-line); }
.store-faq summary { padding: 20px 0; font-size: 15px; line-height: 1.7; }
.store-faq details p { color: var(--store-muted); font-size: 14px; line-height: 1.9; padding-bottom: 22px; padding-right: 28px; }
.store-faq details a { color: var(--store-text); text-decoration: underline; text-underline-offset: 3px; }
.product-modal { width: min(820px, calc(100% - 40px)); max-height: calc(100dvh - 40px); margin: auto; padding: 0; border: 1px solid #ffffff2b; border-radius: 16px; background: var(--store-panel); color: var(--store-text); overflow: auto; }
.product-modal:not([open]) { display: none; }
.product-modal::backdrop { background: #000c; backdrop-filter: blur(7px); }
.preview-close { position: absolute; z-index: 2; top: 14px; right: 14px; display: grid; place-items: center; width: 42px; height: 42px; border: 1px solid #ffffff30; border-radius: 50%; color: white; background: #171717e8; cursor: pointer; }
.preview-close:hover { background: #3b1a1a; }
.preview-layout { display: grid; grid-template-columns: .9fr 1fr; }
.preview-art { display: grid; place-items: center; min-height: 480px; padding: 45px; background: radial-gradient(ellipse at 50% 70%, #77202066, #242020); }
.preview-art img { width: 100%; max-height: 390px; object-fit: contain; filter: drop-shadow(10px 14px 12px #0008); }
.preview-info { align-self: center; padding: 60px 34px 40px; }
.preview-info h2 { font-size: 28px; line-height: 1.4; font-weight: 500; letter-spacing: -.03em; }
#preview-description { color: var(--store-muted); font-size: 15px; line-height: 1.9; margin: 20px 0 28px; }
.preview-info .store-button { display: flex; margin-top: 20px; }
.preview-reminder { color: var(--store-muted); font-size: 12px; line-height: 1.8; margin-top: 14px; }
body:has(.product-modal[open]) { overflow: hidden; }
@media (prefers-reduced-motion: no-preference) {
    .store-reveal { opacity: 0; transform: translateY(22px); transition: opacity .65s ease, transform .65s cubic-bezier(.2,.7,.2,1); transition-delay: var(--reveal-delay, 0ms); }
    .store-reveal.is-visible { opacity: 1; transform: none; }
    .catalog-enter { animation: catalog-in .35s ease both; }
    .product-modal[open] { animation: modal-in .25s ease both; }
    @keyframes catalog-in { from { opacity: .3; transform: translateY(10px); } to { opacity: 1; transform: none; } }
    @keyframes modal-in { from { opacity: 0; transform: translateY(12px) scale(.98); } to { opacity: 1; transform: none; } }
}
@media (max-width: 1150px) {
    .store-hero { gap: 20px; }
    .store-intro h1 { font-size: 52px; }
    .hero-showcase { height: 390px; }
    .showcase-books { inset: 60px 20px 50px 0; }
    .book-grid { gap: 14px; }
    .book-art { height: 260px; padding: 35px 28px; }
    .book-info { padding: 18px; }
    .book-info h3 { font-size: 18px; min-height: 56px; }
    .product-purchase { flex-wrap: wrap; gap: 14px; }
    .product-purchase .store-button { flex: 1; }
    .course-info { padding: 30px; }
    .course-purchase { flex-wrap: wrap; }
    .course-purchase .store-button { flex: 1; }
}
@media (max-width: 900px) {
    .store-intro h1 { font-size: 42px; }
    .hero-showcase { height: 330px; }
    .showcase-stamp { width: 68px; height: 68px; font-size: 7px; left: 4px; }
    .showcase-stamp i { font-size: 16px; }
    .showcase-books { inset: 50px 15px 45px 0; }
    .showcase-book > span { font-size: 12px; padding: 7px 10px; bottom: 14px; gap: 12px; }
    .showcase-word { font-size: 90px; }
    .hero-actions { gap: 20px; }
    .hero-actions .store-button { min-width: 150px; }
    .book-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
    .book-art { height: 320px; padding: 36px; }
    .book-info { padding: 24px; }
    .book-info h3 { min-height: 54px; font-size: 20px; }
    .product-purchase { flex-wrap: nowrap; }
    .product-purchase .store-button { flex: none; }
    .course-card { grid-template-columns: .85fr 1fr; }
    .course-art { padding: 24px; }
    .lab-title { font-size: 34px; }
    .course-info h3 { font-size: 30px; }
    .store-support { gap: 36px; }
}
@media (max-width: 767px) {
    .store-shell { width: calc(100% - 40px); }
    .store-page nav { padding-inline: 20px; }
    .store-hero { grid-template-columns: 1fr; padding-top: 109px; padding-bottom: 32px; gap: 14px; }
    .store-eyebrow { font-size: 10px; margin-bottom: 18px; }
    .store-intro h1 { font-size: clamp(40px, 8.5vw, 56px); }
    .store-lead { font-size: 15px; max-width: 340px; margin-top: 16px; }
    .hero-actions { margin-top: 24px; gap: 25px; }
    .hero-actions .store-button { min-height: 48px; }
    .hero-formats { margin-top: 24px; font-size: 11px; }
    .hero-showcase { height: 340px; width: min(100%, 440px); margin-inline: auto; }
    .showcase-books { inset: 40px 26px 45px 0; }
    .showcase-word { top: 6px; right: 0; font-size: 110px; }
    .showcase-stamp { top: 10px; left: 8px; }
    .showcase-caption { font-size: 11px; }
    .collection-intro { padding-block: 12px 18px; }
    .collection-intro h2 { font-size: 26px; }
    .collection-intro > span { display: none; }
    .catalog { scroll-margin-top: 82px; }
    .catalog-toolbar { top: 64px; padding-block: 10px; gap: 10px; }
    .catalog-filters { flex: 1; flex-wrap: nowrap; gap: 4px; }
    .catalog-filters { scroll-margin-top: 78px; }
    .catalog-filters button { min-height: 42px; padding: 9px 12px; gap: 7px; font-size: 12px; }
    .catalog-filters button span { font-size: 10px; }
    .catalog-heading { margin-bottom: 18px; }
    .catalog-heading h2 { font-size: 23px; }
    .section-format { font-size: 9px; }
    .catalog-section { padding-top: 24px; scroll-margin-top: 145px; }
    .book-grid { gap: 16px; }
    .book-art { height: 250px; padding: 30px; }
    .book-info { padding: 20px; }
    .cover-preview { opacity: 1; transform: translate(-50%, 0); font-size: 10px; padding: 7px 10px; }
    .course-section { padding-top: 36px; }
    .course-card { grid-template-columns: 1fr; }
    .course-cover { border-right: 0; border-bottom: 1px solid var(--store-line); }
    .course-art { border-right: 0; border-bottom: 1px solid var(--store-line); padding: 24px 28px; min-height: 280px; }
    .lab-symbol { position: absolute; top: 85px; right: 30px; width: 68px; height: 68px; margin: 0; font-size: 30px; }
    .lab-title { font-size: 38px; margin-top: 32px; }
    .lab-tags { margin-top: 16px; margin-bottom: 24px; }
    .lab-top { font-size: 8px; }
    .lab-bottom { padding-top: 12px; }
    .course-info { padding: 28px; }
    .course-info h3 { font-size: 32px; }
    .course-description { font-size: 15px; }
    .course-purchase { flex-wrap: nowrap; gap: 16px; }
    .course-purchase .store-button { min-width: 145px; flex: none; }
    .checkout-note { align-items: flex-start; font-size: 12px; margin-top: 20px; }
    .checkout-note i { margin-top: 4px; }
    .order-guide { padding-top: 28px; }
    .order-details > summary { padding: 18px; }
    .order-details > summary h2 { font-size: 14px; gap: 12px; }
    .order-flow { display: none; }
    .order-steps { grid-template-columns: 1fr; gap: 14px; padding: 0 18px 18px; }
    .store-support { grid-template-columns: 1fr; gap: 30px; margin-top: 36px; padding-block: 36px 48px; }
    .support-intro h2 { font-size: 26px; }
    .store-faq summary { font-size: 14px; padding-block: 18px; }
    .preview-layout { grid-template-columns: 1fr; }
    .preview-art { min-height: 0; height: 270px; padding: 28px; }
    .preview-art img { height: 100%; width: auto; max-width: 100%; }
    .preview-info { padding: 28px; }
    .preview-info h2 { font-size: 26px; }
    #preview-description { margin: 16px 0 20px; }
}
@media (max-width: 540px) {
    .book-grid { grid-template-columns: 1fr; }
    .book-art { height: 325px; padding: 34px; }
    .book-info { padding: 23px; }
    .book-info h3 { min-height: 0; font-size: 22px; }
    .product-details { margin-top: 12px; }
    .product-purchase { padding-top: 18px; }
    .product-purchase .store-button { font-size: 14px; min-height: 46px; padding-inline: 18px; }
    .product-category { font-size: 13px; }
    .book-card { scroll-margin-top: 150px; }
    .product-price > span:first-child { font-size: 28px; }
}
@media (max-width: 374px) {
    .store-shell { width: calc(100% - 32px); }
    .store-intro h1 { font-size: 36px; }
    .hero-actions { gap: 20px; }
    .hero-free-link { font-size: 13px; gap: 8px; }
    .hero-showcase { height: 290px; }
    .showcase-books { inset: 40px 18px 45px 0; }
    .showcase-word { font-size: 96px; }
    .catalog-filters button { padding-inline: 9px; gap: 5px; font-size: 11px; }
    .catalog-filters button span { font-size: 9px; }
    .section-format { display: none; }
    .course-info { padding: 22px; }
    .course-purchase { flex-wrap: wrap; }
    .course-purchase .store-button { width: 100%; }
    .lab-symbol { right: 22px; width: 50px; height: 50px; font-size: 26px; }
    .lab-title { font-size: 32px; }
    .product-modal { width: calc(100% - 24px); max-height: calc(100dvh - 24px); }
}
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .store-page *, .store-page *::before, .store-page *::after { animation: none !important; transition: none !important; }
    .store-reveal { opacity: 1; transform: none; }
    .showcase-books { transform: none; }
}
