/* The same SleepDrive design across products, reading and customer journeys. */
.owned-hero { position: relative; overflow: hidden; background: var(--blue); color: white; padding: 48px 0 60px; }
.owned-hero::after { content: ''; position: absolute; width: 420px; height: 420px; right: -150px; top: -250px; background: radial-gradient(circle, rgba(60,240,205,.2), transparent 70%); pointer-events: none; }
.owned-hero .wrap { position: relative; z-index: 1; }
.owned-hero h1 { font-size: clamp(32px, 4.7vw, 60px); line-height: 1.13; font-weight: 300; letter-spacing: -.025em; max-width: 23ch; margin: 22px 0 0; overflow-wrap: anywhere; }
.owned-hero .lead { max-width: 57ch; font-size: 19px; font-weight: 300; margin: 22px 0 0; opacity: .95; }
.owned-hero .eyebrow { color: var(--mint); margin: 32px 0 -8px; }
.owned-hero .crumbs { letter-spacing: .05em; font-size: 12px; }
.owned-hero .crumbs li:last-child { max-width: 65ch; }
.text-link { color: var(--blue-ink); font-weight: 500; text-underline-offset: 5px; }
.btn:disabled { cursor: not-allowed; background: #e8e9ef; color: #62667d; box-shadow: none; transform: none; }
.cart { position: relative; }
[data-cart-count] { position: absolute; top: -7px; right: -5px; background: var(--mint); color: var(--night); min-width: 18px; height: 18px; border-radius: 50%; text-align: center; font-size: 11px; font-weight: 600; line-height: 18px; }
[hidden] { display: none !important; }
.catalog-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 48px 28px; }
.catalog-card { display: flex; flex-direction: column; align-items: flex-start; min-width: 0; color: var(--ink); text-decoration: none; }
.catalog-picture { display: block; position: relative; width: 100%; aspect-ratio: 1; overflow: hidden; border-radius: 24px; background: var(--mist); }
.catalog-picture img { width: 100%; height: 100%; object-fit: contain; transition: transform .35s ease; }
.workshop-art { display: block; position: relative; width: 100%; height: 100%; overflow: hidden; background: #e8dce8; color: var(--night); isolation: isolate; }
.artwork-baby { background: #dae4ee; }
.artwork-training { background: #dcece6; }
.art-brand { position: absolute; left: 8%; top: 7%; font-size: 14px; font-weight: 500; letter-spacing: -.03em; }
.art-title { position: absolute; left: 8%; top: 21%; width: 79%; z-index: 2; font-size: clamp(22px, 2.8vw, 36px); font-weight: 300; line-height: 1.12; letter-spacing: -.03em; }
.art-meta { position: absolute; z-index: 2; left: 8%; bottom: 9%; max-width: 49%; font-size: 13px; padding: 8px 12px; border-radius: 16px; background: rgba(255,255,255,.85); line-height: 1.35; }
.art-circle { position: absolute; width: 90%; height: 90%; border-radius: 50%; right: -26%; bottom: -30%; background: rgba(255,255,255,.42); }
.workshop-art > img { position: absolute; height: 72%; width: 55%; right: -2%; bottom: -10%; object-fit: contain; object-position: bottom; z-index: 1; border-radius: 0; }
.product-art.branded-art { padding: 0; }
.product-art .art-brand { font-size: 20px; }
.product-art .art-title { font-size: clamp(34px, 4.5vw, 53px); }
.product-art .art-meta { font-size: 16px; padding: 12px 16px; }
.catalog-card:hover .catalog-picture img { transform: scale(1.035); }
.catalog-badge { position: absolute; left: 18px; top: 18px; padding: 6px 14px; border-radius: 99px; background: var(--night); color: #fff; font-size: 13px; }
.catalog-kind { display: block; margin: 22px 0 6px; color: var(--muted); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; }
.catalog-card h2 { font-size: 25px; font-weight: 400; letter-spacing: -.015em; line-height: 1.2; margin: 0 0 12px; }
.catalog-price { font-size: 18px; }
.catalog-go { display: block; margin-top: 18px; font-size: 14px; color: var(--blue-ink); text-underline-offset: 5px; }
.catalog-card:hover .catalog-go, .article-card:hover .catalog-go, .recording-card:hover .catalog-go, .video-lesson:hover .catalog-go { text-decoration: underline; }
.head-row > p { max-width: 36ch; color: var(--muted); margin: 0; }
.recording-grid, .video-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.recording-card, .video-lesson { background: white; border-radius: 24px; color: var(--text); text-decoration: none; overflow: hidden; box-shadow: 0 12px 30px -28px var(--ink); }
.recording-card > div, .video-lesson > div:last-child { padding: 0 24px 28px; }
.recording-picture { position: relative; display: block; aspect-ratio: 16 / 9; overflow: hidden; background: var(--night); }
.recording-picture img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s ease; }
.recording-card:hover img, .video-lesson:hover img { transform: scale(1.03); }
.recording-duration { position: absolute; right: 14px; bottom: 14px; padding: 2px 9px; border-radius: 99px; background: var(--night); color: #fff; font-size: 12px; }
.recording-card h3, .video-lesson h3 { font-size: 23px; font-weight: 400; line-height: 1.3; margin: 0 0 14px; }
.recording-card p:not(.catalog-kind) { font-size: 15px; color: var(--muted); line-height: 1.6; margin: 0; }
.video-grid .video-lesson { background: var(--mist); }
.home-videos { padding-block: 64px; }
.home-video-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 24px; }
.home-video-heading .title { font-size: clamp(28px, 3.5vw, 42px); margin-bottom: 12px; }
.home-video-heading p { max-width: 56ch; color: var(--muted); margin: 0; }
.home-video-controls { display: flex; gap: 10px; flex-shrink: 0; }
.home-video-controls button { display: grid; place-items: center; width: 46px; height: 46px; border: 1px solid var(--blue-ink); border-radius: 50%; color: var(--blue-ink); background: transparent; cursor: pointer; }
.home-video-controls button:hover:not(:disabled) { background: var(--blue-ink); color: white; }
.home-video-controls button:disabled { opacity: .3; cursor: default; }
.home-video-prev svg { transform: rotate(180deg); }
.home-video-track { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 48px) / 3); gap: 24px; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scroll-behavior: smooth; list-style: none; margin: -4px; padding: 4px 4px 16px; scrollbar-width: thin; scrollbar-color: var(--blue-ink) transparent; }
.home-video-track > li { display: flex; min-width: 0; scroll-snap-align: start; scroll-margin-inline: 4px; }
.home-video-track .video-lesson { display: flex; flex-direction: column; width: 100%; }
.home-video-track .video-lesson > div:last-child { display: flex; flex-direction: column; flex: 1; }
.home-video-track .catalog-go { margin-top: auto; padding-top: 12px; }
.home-video-all { display: inline-block; margin-top: 20px; }
@media (max-width: 1000px) {
  .home-video-track { grid-auto-columns: calc((100% - 24px) / 2); }
}
@media (max-width: 600px) {
  .home-videos { padding-block: 44px; }
  .home-video-heading { flex-wrap: wrap; gap: 18px; }
  .home-video-track { grid-auto-columns: 88%; gap: 16px; }
  .home-video-track .video-lesson h3 { font-size: 19px; }
}
.video-topic .title { margin-bottom: 36px; }
.video-topic + .video-topic { padding-top: 0; }
.video-lesson .recording-picture { aspect-ratio: 16/9; }
.video-lesson h3 { font-size: 21px; }
.product-layout { display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr); gap: clamp(32px, 6vw, 88px); align-items: start; }
.product-art { position: sticky; top: 108px; margin: 0; padding: 28px; background: var(--mist); border-radius: 28px; aspect-ratio: 1; overflow: hidden; }
.product-art > img { width: 100%; height: 100%; object-fit: contain; border-radius: 14px; }
.product-copy { min-width: 0; }
.product-meta { color: var(--muted); margin: 0; font-size: 15px; }
.product-amount { font-size: clamp(30px, 4vw, 42px); font-weight: 300; line-height: 1.2; margin: 14px 0 24px; }
.purchase-actions { margin: 0 0 32px; }
.purchase-actions .btn { max-width: 100%; white-space: normal; padding-block: 14px; }
.product-description { font-size: 17px; }
.product-description h2 { font-size: 25px; font-weight: 400; line-height: 1.3; margin: 30px 0 16px; }
.product-description > p:empty { display: none; }
.product-support { display: flex; gap: 12px; margin: 32px 0 0; padding: 24px 0 0; border-top: 1px solid #e2e5f0; align-items: baseline; font-size: 15px; }
.product-support p { margin: 0; }
.support-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--mint); flex: none; }
.availability { font-size: 15px; color: var(--muted); padding: 14px 18px; background: var(--mist); border-radius: 14px; margin: 0 0 22px; }
.sold-out { display: inline-block; background: var(--night); color: #fff; border-radius: 99px; }
.source-language { font-size: 14px; color: var(--muted); padding: 12px 16px; background: var(--mist); border-radius: 12px; }
.purchase-box { position: sticky; top: 108px; background: var(--mist); border-radius: 24px; padding: clamp(24px, 3vw, 40px); min-width: 0; }
.purchase-box h2 { font-weight: 400; font-size: 30px; line-height: 1.2; letter-spacing: -.02em; margin: 0 0 24px; }
.purchase-box h3 { font-size: 19px; font-weight: 500; margin: 30px 0 12px; }
.purchase-box .btn { width: 100%; white-space: normal; padding-block: 14px; letter-spacing: .07em; }
.purchase-box .text-link, .account-link { display: block; margin-top: 24px; }
.small-note { font-size: 14px; line-height: 1.65; color: var(--muted); margin: 18px 0 0; }
.account-link { color: var(--muted); text-underline-offset: 4px; font-size: 14px; }
.product-facts { margin: 0 0 28px; }
.product-facts div { display: flex; justify-content: space-between; gap: 20px; padding: 12px 0; border-bottom: 1px solid #dce1f2; font-size: 15px; }
.product-facts dt { color: var(--muted); }
.product-facts dd { margin: 0; text-align: right; }
.recording-poster { position: relative; border-radius: 24px; overflow: hidden; aspect-ratio: 16/9; background: var(--night); }
.recording-poster img { width: 100%; height: 100%; object-fit: cover; }
.access-lock { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 76px; height: 76px; display: grid; place-items: center; border-radius: 50%; background: var(--night); color: #fff; }
.recording-description { margin-top: 36px; }
.recording-description h2 { font-weight: 400; font-size: 28px; margin: 0 0 20px; }
.service-portrait { margin: 0; border-radius: 24px; overflow: hidden; aspect-ratio: 4/3; background: var(--mist); }
.service-portrait img { width: 100%; height: 100%; object-fit: cover; object-position: center 34%; }
.service-description { margin-top: 32px; }
.svc .meta { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.svc .meta .text-link { font-size: 14px; }
.archive-tools { display: grid; grid-template-columns: auto minmax(200px, 420px) 1fr; align-items: center; gap: 20px; margin: 0 0 44px; }
.archive-tools input { border: 1px solid #ced5e9; border-radius: 99px; padding: 12px 20px; font: inherit; color: var(--ink); width: 100%; background: white; min-height: 48px; }
.archive-tools > p { margin: 0 0 0 auto; color: var(--muted); font-size: 14px; }
.article-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.article-card { display: flex; flex-direction: column; color: var(--text); text-decoration: none; border: 1px solid #e4e8f3; border-radius: 24px; overflow: hidden; }
.article-card > img, .article-monogram { width: 100%; height: auto; aspect-ratio: 1.65; object-fit: cover; background: var(--mist); }
.article-monogram { display: grid; place-items: center; font-size: 90px; font-weight: 300; color: var(--blue); background: radial-gradient(circle at 70% 20%, #dcfff5, transparent 60%), var(--mist); }
.article-card > div { padding: 24px; display: flex; flex-direction: column; flex: 1; }
.article-card time { font-size: 13px; color: var(--muted); }
.article-card h2 { font-size: 24px; line-height: 1.25; font-weight: 400; margin: 14px 0; overflow-wrap: anywhere; }
.article-card p { font-size: 15px; color: var(--muted); margin: 0 0 24px; }
.article-card .catalog-go { margin-top: auto; }
.article-layout { display: grid; grid-template-columns: minmax(0, 1fr) 280px; gap: clamp(32px, 6vw, 80px); align-items: start; }
.article-body { min-width: 0; }
.article-byline { display: flex; flex-wrap: wrap; gap: 10px 22px; color: var(--muted); font-size: 13px; padding-bottom: 24px; border-bottom: 1px solid #e0e4ef; margin-bottom: 32px; }
.long-copy { font-size: 18px; line-height: 1.85; overflow-wrap: anywhere; }
.long-copy h2 { font-size: 30px; line-height: 1.3; font-weight: 400; margin: 36px 0 20px; }
.long-copy h3 { font-weight: 500; }
.article-image { margin: 32px 0; }
.article-image img { width: 100%; height: auto; max-height: 1100px; object-fit: contain; object-position: left; border-radius: 16px; }
.article-aside { position: sticky; top: 110px; border-radius: 24px; background: var(--mist); padding: 28px; }
.article-aside h2 { font-size: 26px; font-weight: 400; line-height: 1.25; margin: 0 0 20px; }
.article-aside p:not(.eyebrow) { font-size: 15px; color: var(--muted); }
.article-aside .btn { font-size: 12px; padding: 12px 18px; white-space: normal; letter-spacing: .06em; }
.article-aside .text-link { display: block; margin-top: 24px; font-size: 14px; }
.article-references { display: grid; gap: 12px; margin-top: 32px; }
.reference-link { display: flex; flex-direction: column; gap: 4px; padding: 20px; background: var(--mist); border-radius: 16px; color: var(--blue-ink); text-decoration: none; }
.reference-link span { font-size: 13px; color: var(--muted); overflow-wrap: anywhere; }
.document-link { display: block; background: var(--mist); color: var(--blue-ink); border-radius: 16px; padding: 20px; margin: 24px 0; overflow-wrap: anywhere; }
.video-page { max-width: 1080px; }
.owned-video { position: relative; aspect-ratio: 16/9; background: var(--night); border-radius: 24px; overflow: hidden; }
.owned-video > img, .owned-video > iframe { width: 100%; height: 100%; object-fit: cover; border: 0; }
.video-start { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); display: flex; align-items: center; gap: 14px; border: 0; border-radius: 99px; background: var(--mint); color: var(--night); padding: 15px 26px; min-height: 56px; font: inherit; cursor: pointer; white-space: nowrap; }
.video-start span { font-size: 14px; }
.video-footnote { display: flex; justify-content: space-between; gap: 24px; font-size: 14px; margin: 20px 0 32px; color: var(--muted); }
.video-footnote p { margin: 0; }
.bag-layout, .checkout-layout { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: clamp(30px, 5vw, 64px); align-items: start; }
.bag-item { display: grid; grid-template-columns: 116px minmax(0, 1fr) auto; gap: 24px; padding: 26px 0; border-bottom: 1px solid #e0e5f2; }
.bag-item:first-child { padding-top: 0; }
.bag-item img { width: 116px; height: 136px; object-fit: contain; border-radius: 16px; background: var(--mist); }
.bag-item .catalog-kind { margin: 0 0 6px; }
.bag-item h2 { font-size: 23px; line-height: 1.25; font-weight: 400; margin: 0 0 18px; }
.bag-item h2 a { text-decoration: none; }
.bag-price { margin: 0; font-size: 18px; white-space: nowrap; }
.quantity-label { display: inline-flex; align-items: center; gap: 10px; font-size: 14px; color: var(--muted); }
.quantity-label select { min-height: 44px; min-width: 64px; padding: 8px; border-radius: 10px; border: 1px solid #cbd2e5; background: white; color: var(--ink); font: inherit; }
.remove-item { display: inline-block; margin-left: 14px; padding: 12px 0; min-height: 44px; border: 0; background: none; color: var(--muted); text-decoration: underline; text-underline-offset: 4px; cursor: pointer; font: inherit; font-size: 13px; }
.summary-total { display: flex; align-items: baseline; justify-content: space-between; gap: 18px; padding: 22px 0; border-block: 1px solid #d9dff0; margin: 20px 0; font-size: 16px; }
.summary-total strong { font-size: 24px; font-weight: 400; white-space: nowrap; }
.bag-summary .btn { margin-top: 28px; }
.empty-bag { text-align: center; padding: 24px 0 50px; max-width: 650px; margin: auto; }
.empty-bag h2 { font-size: clamp(27px, 4vw, 40px); line-height: 1.2; font-weight: 300; margin: 24px 0; }
.empty-bag > p { color: var(--muted); margin-bottom: 28px; }
.empty-bag .text-link { display: block; margin-top: 24px; }
.empty-mark { display: grid; place-items: center; width: 78px; height: 78px; margin: 0 auto; border-radius: 50%; background: var(--mist); color: var(--blue); }
.checkout-steps { display: flex; flex-wrap: wrap; gap: 8px 22px; list-style: none; padding: 0; margin: 0 0 34px; font-size: 13px; color: var(--muted); }
.checkout-steps li { padding: 10px 0; border-bottom: 2px solid transparent; }
.checkout-steps .active { border-color: var(--blue); color: var(--blue-ink); }
.checkout-form h2 { font-size: 28px; line-height: 1.3; font-weight: 400; margin: 34px 0 24px; }
.checkout-form h2:first-child { margin-top: 0; }
.checkout-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.checkout-fields.single { grid-template-columns: 1fr; }
.checkout-fields label, .account-box label { display: block; font-size: 14px; margin-bottom: 8px; color: var(--muted); }
.checkout-fields input, .checkout-fields textarea, .account-box input { width: 100%; min-height: 50px; padding: 12px 16px; font: inherit; border: 1px solid #cad2e8; border-radius: 12px; color: var(--ink); background: white; }
.checkout-fields textarea { min-height: 110px; resize: vertical; }
.checkout-fields input:focus, .checkout-fields textarea:focus, .archive-tools input:focus { outline-color: var(--blue); }
.checkout-notice { color: var(--muted); background: var(--mist); border-left: 3px solid var(--lilac); padding: 18px 20px; font-size: 14px; margin: 28px 0; }
.checkout-legal { display: flex; flex-wrap: wrap; gap: 20px; font-size: 13px; color: var(--muted); margin-top: 22px; }
.checkout-item { display: grid; grid-template-columns: 64px minmax(0, 1fr) auto; gap: 14px; align-items: center; margin-bottom: 22px; font-size: 15px; }
.checkout-item img { width: 64px; height: 80px; object-fit: contain; border-radius: 8px; background: white; }
.checkout-item small { display: block; color: var(--muted); }
.checkout-item strong { font-weight: 400; white-space: nowrap; }
.account-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .8fr); gap: clamp(40px, 8vw, 120px); align-items: center; }
.account-intro h2 { max-width: 13ch; font-size: clamp(34px, 5vw, 55px); line-height: 1.15; font-weight: 300; margin: 20px 0; }
.account-intro > p:not(.eyebrow) { color: var(--muted); max-width: 35ch; margin-bottom: 28px; }
.account-box { border-radius: 24px; background: var(--mist); padding: clamp(24px, 4vw, 48px); }
.account-box h2 { font-size: 30px; font-weight: 400; margin: 0 0 28px; }
.account-box input { display: block; margin-bottom: 20px; background: #f8f9fd; }
.account-box .btn { width: 100%; margin-top: 8px; }
.account-box > a { display: inline-block; font-size: 14px; margin-top: 18px; color: var(--blue-ink); }
.library-gate { padding: 44px 32px; background: var(--mist); border-radius: 24px; margin-bottom: 60px; display: flex; flex-direction: column; align-items: center; text-align: center; }
.library-gate > svg { color: var(--blue); }
.library-gate h2 { font-size: 30px; font-weight: 400; margin: 20px 0 12px; }
.library-gate p { color: var(--muted); margin: 0 0 24px; }
.library-gate + .title { margin-bottom: 32px; }
.biography-layout { display: grid; grid-template-columns: minmax(0, .75fr) minmax(0, 1.25fr); gap: clamp(32px, 6vw, 80px); align-items: start; }
.biography-layout > figure { aspect-ratio: 2/3; position: sticky; top: 108px; }
.biography-layout ul { padding-left: 22px; }
.biography-layout li { margin-bottom: 14px; }
.legacy-photo { width: 100%; height: auto; border-radius: 16px; margin-bottom: 24px; }
.session-list { list-style: none; padding: 0; margin: 24px 0 40px; }
.session-list li { display: flex; gap: 18px; align-items: baseline; padding: 20px 0; border-bottom: 1px solid #e0e5f2; }
.session-list span { flex: none; width: 36px; height: 36px; background: var(--mist); border-radius: 50%; text-align: center; line-height: 36px; color: var(--blue); font-size: 16px; }
.session-list p { margin: 0; }
.policy-layout { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 64px; align-items: start; }
.policy-nav { display: grid; gap: 18px; position: sticky; top: 110px; font-size: 15px; }
.policy-nav a { text-underline-offset: 5px; color: var(--muted); }
.policy-layout article section { margin: 32px 0; scroll-margin-top: 100px; }
.directory-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.directory-grid > a { display: block; padding: 20px; background: var(--mist); border-radius: 16px; font-size: 16px; line-height: 1.4; text-decoration: none; color: var(--blue-ink); }
.directory-grid > a:hover { background: #e7ebfb; }
.error-number { font-size: 110px; font-weight: 300; line-height: 1; color: var(--blue) !important; margin: 0 0 32px; }
.history-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 56px; }
.history-grid h2 { margin: 0 0 30px; font-weight: 300; font-size: 36px; }
.history-list { padding: 0; list-style: none; margin: 0; }
.history-list li { display: grid; grid-template-columns: 100px minmax(0, 1fr); gap: 22px; padding: 20px 0; border-top: 1px solid #d8dfef; }
.history-list time { color: var(--blue-ink); font-size: 14px; }
.association-list { display: flex; flex-wrap: wrap; gap: 12px; padding: 0; list-style: none; margin: 24px 0 0; }
.association-list li { padding: 12px 20px; border-radius: 99px; background: var(--mist); font-size: 15px; }
@media (max-width: 1000px) {
  .catalog-grid, .recording-grid, .video-grid, .article-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .product-layout { gap: 32px; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .article-layout { grid-template-columns: minmax(0, 1fr) 250px; gap: 32px; }
  .bag-layout, .checkout-layout { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 28px; }
  .bag-item { grid-template-columns: 90px minmax(0, 1fr); gap: 18px; }
  .bag-item img { width: 90px; height: 110px; }
  .bag-price { grid-column: 2; margin-top: -10px; }
  .checkout-item { grid-template-columns: 48px minmax(0, 1fr); }
  .checkout-item strong { grid-column: 2; }
  .directory-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .owned-hero { padding: 30px 0 42px; }
  .owned-hero .lead { font-size: 18px; }
  .product-layout, .bag-layout, .checkout-layout, .article-layout, .account-layout, .biography-layout, .policy-layout, .history-grid { grid-template-columns: 1fr; gap: 36px; }
  .product-art, .purchase-box, .article-aside, .biography-layout > figure, .policy-nav { position: static; }
  .product-art { max-width: 560px; width: 100%; margin: 0 auto; padding: 20px; }
  .product-amount { margin-bottom: 20px; }
  .purchase-box { padding: 28px; }
  .product-description { font-size: 17px; }
  .related-grid { gap: 32px 20px; }
  .biography-layout > figure { max-width: 500px; width: 100%; }
  .archive-tools { grid-template-columns: 1fr; gap: 10px; margin-bottom: 30px; }
  .archive-tools > p { margin: 0; }
  .article-aside { padding: 30px; }
  .long-copy { font-size: 17px; }
  .long-copy h2 { font-size: 27px; }
  .policy-nav { gap: 12px; }
  .video-footnote { flex-direction: column; gap: 10px; }
  .checkout-item { grid-template-columns: 64px minmax(0, 1fr) auto; }
  .checkout-item strong { grid-column: auto; }
  .checkout-fields { gap: 18px; }
  .account-intro h2 { max-width: 18ch; }
  .account-box { padding: 28px; }
  .head-row { align-items: flex-start; }
}
@media (max-width: 520px) {
  .catalog-grid, .recording-grid, .video-grid, .article-grid, .directory-grid { grid-template-columns: 1fr; gap: 36px; }
  .catalog-picture { aspect-ratio: 1.08; }
  .catalog-card h2 { font-size: 25px; }
  .catalog-kind { margin-top: 18px; }
  .catalog-go { margin-top: 12px; }
  .product-art { aspect-ratio: 1; }
  .related-grid .catalog-picture { aspect-ratio: 1.2; }
  .recording-card > div, .video-lesson > div:last-child { padding: 0 22px 26px; }
  .owned-video { border-radius: 16px; }
  .owned-video .video-start { padding: 12px 18px; font-size: 15px; }
  .checkout-fields { grid-template-columns: 1fr; }
  .bag-item { grid-template-columns: 80px minmax(0, 1fr); gap: 16px; }
  .bag-item img { width: 80px; height: 100px; }
  .bag-item h2 { font-size: 21px; }
  .quantity-label { font-size: 13px; gap: 8px; }
  .remove-item { margin-left: 10px; }
  .checkout-item { grid-template-columns: 48px minmax(0, 1fr); }
  .checkout-item strong { grid-column: 2; }
  .history-list li { grid-template-columns: 80px minmax(0, 1fr); gap: 16px; }
  .library-gate { padding: 30px 22px; }
  .source-language { padding: 12px; }
  .article-card > div { padding: 22px; }
}
