/* ==========================================================================
   oriam — стили сайта. Перенесены из макета (src/app/globals.css)
   без Tailwind: ниже только шрифты, короткий сброс и правила макета.
   ========================================================================== */

/* --- Шрифты (self-hosted, из Google Fonts) ------------------------------ */
@font-face{font-family:'Tenor Sans';font-style:normal;font-weight:400;font-display:swap;src:url(../fonts/tenor-sans-cyrillic.woff2) format('woff2');unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116}
@font-face{font-family:'Tenor Sans';font-style:normal;font-weight:400;font-display:swap;src:url(../fonts/tenor-sans-latin-ext.woff2) format('woff2');unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}
@font-face{font-family:'Tenor Sans';font-style:normal;font-weight:400;font-display:swap;src:url(../fonts/tenor-sans-latin.woff2) format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:'Commissioner';font-style:normal;font-weight:100 900;font-display:swap;src:url(../fonts/commissioner-cyrillic-ext.woff2) format('woff2');unicode-range:U+0460-052F,U+1C80-1C8A,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F}
@font-face{font-family:'Commissioner';font-style:normal;font-weight:100 900;font-display:swap;src:url(../fonts/commissioner-cyrillic.woff2) format('woff2');unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116}
@font-face{font-family:'Commissioner';font-style:normal;font-weight:100 900;font-display:swap;src:url(../fonts/commissioner-latin-ext.woff2) format('woff2');unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}
@font-face{font-family:'Commissioner';font-style:normal;font-weight:100 900;font-display:swap;src:url(../fonts/commissioner-latin.woff2) format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}

/* --- Сброс (часть Tailwind Preflight, на которую опирался макет) --------- */
*,::before,::after{box-sizing:border-box;border:0 solid;margin:0;padding:0}
html{-webkit-text-size-adjust:100%;line-height:1.5;-webkit-tap-highlight-color:transparent}
h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}
b,strong{font-weight:bolder}
small{font-size:80%}
ol,ul{list-style:none}
summary{display:list-item}
img,svg,video{display:block;vertical-align:middle}
img,video{max-width:100%;height:auto}
button,input,select,textarea{font:inherit;letter-spacing:inherit;color:inherit;background-color:transparent;border-radius:0;opacity:1}
button{appearance:button}
[hidden]{display:none!important}

/* --- Переменные и правила макета ----------------------------------------- */
:root{--font-tenor:'Tenor Sans';--font-commissioner:'Commissioner'}
:root { --ease-out:cubic-bezier(.23,1,.32,1); --ease-in-out:cubic-bezier(.77,0,.175,1); --background:#f8f6f1; --foreground:#3a3b36; --card:#fff; --card-foreground:#3a3b36; --popover:#fff; --popover-foreground:#3a3b36; --primary:#3a3b36; --primary-foreground:#f8f6f1; --secondary:#f0ebe1; --secondary-foreground:#3a3b36; --muted:#f0ebe1; --muted-foreground:#5f665a; --accent:#e6e8dc; --accent-foreground:#3a3b36; --destructive:#943f35; --border:#dfdbd1; --input:#d8d2c5; --ring:#7a8760; --radius:.25rem; --olive:#7a8760; --deep-olive:#5a6749; }
*{box-sizing:border-box;border-color:var(--border)}
html{scroll-behavior:smooth;scroll-padding-top:24px}
body{margin:0;background:var(--background);color:var(--foreground);font-family:var(--font-commissioner),Arial,sans-serif;font-size:16px;font-weight:350;line-height:1.65;-webkit-font-smoothing:antialiased}
a{color:inherit;text-decoration:none}
button,input{font:inherit}
button,a{-webkit-tap-highlight-color:transparent}
button{cursor:pointer}
a:focus-visible,button:focus-visible,summary:focus-visible{outline:2px solid var(--deep-olive);outline-offset:6px}
img{max-width:100%;display:block}
h1,h2,h3,h4,p{margin:0}
h1,h2,h3,h4{font-family:var(--font-tenor),Arial,sans-serif;font-weight:400;line-height:1.12}
h1{font-size:clamp(44px,4.55vw,70px);letter-spacing:-.05em}
h2{font-size:clamp(34px,3.2vw,48px);letter-spacing:-.04em}
h3{font-size:30px;letter-spacing:-.035em}
.wrap{width:calc(100% - 112px);max-width:1380px;margin-inline:auto}
.site-header{height:110px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--border);gap:28px}
.logo{display:block;width:106px;height:auto;flex-shrink:0}
.footer-top .logo{width:132px}
.site-header nav{display:flex;align-items:center;gap:36px;font-size:14px}
.site-header nav a{padding-block:8px}

.home-hero{display:grid;grid-template-columns:1fr 1.06fr;min-height:664px;padding-top:36px;padding-bottom:40px;gap:35px}
.hero-copy{padding:74px 0 12px;display:flex;align-items:flex-start;flex-direction:column}
.eyebrow{font-size:12px;font-weight:450;letter-spacing:.15em;line-height:1.6;color:var(--deep-olive)}
.olive-dot{display:inline-block;width:5px;height:5px;border-radius:100%;background:var(--olive);margin-right:9px;vertical-align:middle}
.hero-copy h1{margin-top:31px}
.hero-description{max-width:360px;margin-top:26px;color:#5f665a;line-height:1.85;font-size:16px}
.button{display:inline-flex;align-items:center;justify-content:space-between;gap:30px;min-height:52px;padding:14px 24px;font-size:14px;font-weight:400;border:1px solid transparent;transition:background .18s var(--ease-out)}
.dark-button{background:#3a3b36;color:#fff}

.button:active{transform:scale(.985)}
.hero-copy .button{margin-top:34px}

.hero-visual{min-height:586px;position:relative;background:#f0ebe1;overflow:hidden;border-radius:50% 50% 0 0 / 35% 35% 0 0}
.hero-visual>img{width:100%;height:100%;position:absolute;inset:0;object-fit:cover}
.image-note{position:absolute;bottom:22px;left:28px;font-size:12px;letter-spacing:.12em}
.section{padding-block:84px}
.section-heading{display:flex;justify-content:space-between;align-items:flex-end;margin-bottom:38px;gap:24px}
.section-heading .eyebrow+h2{margin-top:18px}
.section-heading>p{color:#5f665a;font-size:14px;line-height:1.8}
.products-section{border-top:1px solid var(--border)}
.product-teaser{display:grid;grid-template-columns:1.06fr 1fr;gap:clamp(35px,7vw,110px);align-items:center}
.teaser-image{height:440px;background:#ece7dc;overflow:hidden}
.teaser-image img{height:100%;width:100%;object-fit:cover;transition:transform .45s var(--ease-out)}

.teaser-copy{max-width:390px}
.teaser-copy h3{margin:20px 0;font-size:40px}
.teaser-copy>p:not(.eyebrow){color:#5f665a;line-height:1.9}
.text-link{display:inline-flex;align-items:center;justify-content:space-between;gap:32px;border-bottom:1px solid #999d8a;padding:12px 0;font-size:14px}
.teaser-copy .text-link{margin-top:24px}
.site-footer{background:#f0ebe1;padding-top:50px}
.footer-top{display:grid;grid-template-columns:1fr 1fr 1fr;gap:24px;padding-bottom:55px}
.footer-top>p{font-family:var(--font-tenor);font-size:26px;line-height:1.35}
.site-footer nav{display:flex;flex-direction:column;align-items:flex-start;gap:10px;font-size:14px}
.footer-bottom{border-top:1px solid #ddd7c9;display:flex;justify-content:space-between;padding-block:21px;color:#5f665a;font-size:12px}
.footer-bottom>span:last-child{letter-spacing:.1em}
.skip-link{position:fixed;left:15px;top:-100px;background:var(--foreground);color:#fff;padding:12px;z-index:90}
.skip-link:focus{top:12px}
@media(min-width:1600px){
.home-hero{min-height:750px}
.hero-visual{min-height:660px}
.hero-copy{padding-top:100px}
}
@media(max-width:1100px){
.wrap{width:calc(100% - 64px)}

.home-hero{gap:26px;min-height:610px}
.hero-copy{padding-top:55px}
.hero-visual{min-height:540px}
.hero-description{max-width:320px}
.product-teaser{gap:50px}
.teaser-image{height:380px}
}
@media(max-width:700px){
.wrap{width:calc(100% - 40px)}
.site-header{height:86px;gap:15px}
.logo{width:84px}
.footer-top .logo{width:112px}
.site-header nav{gap:16px;font-size:14px}
.home-hero{display:flex;flex-direction:column;gap:30px;padding-top:0;padding-bottom:35px}
.hero-copy{padding:40px 0 0}
.eyebrow{letter-spacing:.1em}
.hero-copy h1{margin-top:24px;font-size:clamp(44px,9vw,64px)}
.hero-description{margin-top:21px;max-width:360px}
.hero-copy .button{margin-top:25px}

.hero-visual{min-height:390px;width:100%;aspect-ratio:1/1.03}
.image-note{left:20px;letter-spacing:.07em}
.section{padding-block:52px}
.section-heading{align-items:flex-start;flex-direction:column;gap:17px}
.section-heading h2{margin-top:14px}
.section-heading>p br{display:none}
.product-teaser{grid-template-columns:1fr;gap:30px}
.teaser-image{height:auto;aspect-ratio:1.2}
.teaser-copy h3{font-size:34px;margin-block:16px}
.teaser-copy{max-width:none}
.footer-top{grid-template-columns:1fr 1fr;gap:35px}
.footer-top>p{font-size:22px}
.footer-top nav{grid-column:1/-1;flex-direction:row;flex-wrap:wrap;gap:15px 25px;font-size:14px}
.footer-bottom{flex-wrap:wrap;gap:8px}
.footer-bottom>span:last-child{letter-spacing:.04em}
}
@media(max-width:430px){
.site-header{height:auto;min-height:94px;flex-wrap:wrap;padding-block:18px;gap:16px}
.site-header nav{gap:20px}
.logo{width:92px}
.site-header nav{width:100%;justify-content:space-between}
}
@media(prefers-reduced-motion:reduce){
html{scroll-behavior:auto}
*{animation:none!important}
.gallery-track{transition:none}
.teaser-image img,.journal-card img,.featured-article img{transition:none;transform:none!important}
.button:active{transform:none}
}

/* --- Shared editorial pages --- */
.quiet{color:#5f665a;font-size:14px}
.breadcrumb{display:flex;gap:14px;color:#5f665a;font-size:13px;padding-block:30px}
.breadcrumb a:hover{text-decoration:underline}
.related-section{border-top:1px solid var(--border)}
.journal-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:30px}
.journal-grid:has(>.journal-card:nth-child(2):last-child){grid-template-columns:repeat(2,minmax(0,1fr))}
.journal-card-image{aspect-ratio:1.38;overflow:hidden;background:#eee6d9}
.journal-card-image img{width:100%;height:100%;object-fit:cover;transition:transform .45s var(--ease-out)}

.journal-card:first-child .journal-card-image img{object-position:center 35%}
.card-category{margin-block:22px 12px}
.card-title{display:flex;justify-content:space-between;gap:15px;align-items:flex-start}
.card-title h3{font-size:26px;line-height:1.22;max-width:310px}
.card-title svg{flex-shrink:0;margin-top:4px}
.journal-card>p{color:#5f665a;font-size:15px;line-height:1.75;margin-top:13px;max-width:340px}
.ritual-band{background:#ece9df;padding-block:62px}
.ritual-band-inner{display:grid;grid-template-columns:.9fr 1.1fr;gap:9%;align-items:center}
.ritual-round-image{border-radius:50%;aspect-ratio:1;overflow:hidden;width:100%;max-width:380px;margin:auto}
.ritual-round-image img{width:100%;height:100%;object-fit:cover;object-position:center 37%}
.ritual-band h2{margin-block:23px;font-size:clamp(32px,3.1vw,47px)}
.ritual-band p:not(.eyebrow){max-width:390px;color:#5f665a}
.ritual-band .text-link{margin-top:18px}
.product-detail{display:grid;grid-template-columns:1.13fr 1fr;gap:clamp(36px,6vw,90px);padding-bottom:80px}
.product-gallery{min-width:0}
.gallery-main{width:100%;aspect-ratio:1.06;object-fit:cover;object-position:center}
.gallery-main.photo-1{object-fit:contain;background:#eee7db}
.gallery-main.photo-2{object-position:center 32%}
.gallery-caption{display:flex;align-items:center;justify-content:space-between;padding-block:13px;color:#5f665a;font-size:12px;letter-spacing:.09em}
.gallery-caption>div{display:flex;gap:8px}
.gallery-caption button{display:grid;place-items:center;border:1px solid #d9d6cc;border-radius:50%;height:38px;width:38px;background:transparent}

.gallery-label{padding-left:25px;letter-spacing:0}
.gallery-thumbs{display:flex;gap:12px}
.gallery-thumbs button{width:83px;height:78px;padding:3px;border:1px solid transparent;background:transparent;opacity:.65}
.gallery-thumbs button.selected{border-color:#606c4e;opacity:1}
.gallery-thumbs img{height:100%;width:100%;object-fit:cover}
.product-information{padding-top:22px}
.product-information h1{font-size:clamp(38px,4vw,59px);margin-top:23px}
.product-subtitle{font-family:var(--font-tenor);font-size:24px;margin-top:13px;color:#5f665a;line-height:1.3}
.product-description{margin-top:26px;color:#5f665a;line-height:1.9}
.product-features{display:flex;flex-direction:column;gap:13px;margin-block:25px 29px}
.product-features span{display:flex;align-items:center;gap:12px;font-size:14px}
.product-features svg{stroke:#7a8760;stroke-width:1.3}
.purchase-button{width:100%}
.purchase-note{font-size:12px;text-align:center;margin-top:10px;color:#5f665a}
.instruction-link{display:flex;align-items:center;gap:15px;padding:21px 0;border-top:1px solid var(--border);border-bottom:1px solid var(--border);margin-top:26px;font-size:15px}
.instruction-link>svg:first-child{stroke:#7a8760;stroke-width:1.4}
.instruction-link>svg:last-child{margin-left:auto}
.instruction-link small{display:block;color:#5f665a;font-size:13px;margin-top:2px}
.product-specs{margin:20px 0 0}
.product-specs>div{display:flex;justify-content:space-between;gap:15px;padding-block:8px;font-size:13px}
.product-specs dt{color:#5f665a}
.product-specs dd{margin:0;text-align:right}
.journal-heading{padding:67px 0 57px;position:relative}
.journal-heading h1{margin-top:26px}
.journal-heading>p:last-child{color:#5f665a;line-height:1.85;position:absolute;right:0;bottom:66px;max-width:390px;font-size:15px}
.featured-article{display:grid;grid-template-columns:1fr 1fr;background:#efeae0}
.featured-image{height:510px;overflow:hidden}
.featured-image img{height:100%;width:100%;object-fit:cover;object-position:center 35%;transition:transform .45s var(--ease-out)}

.featured-copy{display:flex;flex-direction:column;align-items:flex-start;justify-content:center;padding:clamp(35px,5vw,75px)}
.featured-copy h2{margin:23px 0;font-size:clamp(34px,3.4vw,50px)}
.featured-copy>p{color:#5f665a;max-width:320px}
.featured-copy .text-link{margin-top:26px}
.journal-all{padding-top:55px}
.article-header{text-align:center;padding-block:26px 50px}
.back-link{display:flex;gap:9px;align-items:center;font-size:13px;color:#5f665a;text-align:left}
.article-header>.eyebrow{margin-top:42px}
.article-header h1{max-width:790px;margin:24px auto 23px;line-height:1.13}
.article-header>p:last-child{max-width:510px;margin:auto;color:#5f665a}
.article-cover{height:530px;overflow:hidden}
.article-cover img{width:100%;height:100%;object-fit:cover}
.article-cover-pervoe-znakomstvo img{object-position:center 38%}
.article-cover-stal-i-uhod img{object-position:center 50%}
.article-layout{display:grid;grid-template-columns:260px minmax(0,720px);gap:8%;justify-content:space-between;padding-block:60px 70px}
.article-aside{align-self:start;position:sticky;top:40px;padding-top:5px;max-height:calc(100dvh - 80px);overflow-y:auto;overscroll-behavior:contain}
.article-aside nav{display:flex;flex-direction:column;gap:13px;margin-top:24px;font-size:14px;color:#5f665a}
.article-aside nav a:hover{color:var(--foreground)}
.aside-product{display:block;margin-top:46px;max-width:225px}
.aside-product img{aspect-ratio:1.2;object-fit:cover}
.aside-product span{display:flex;justify-content:space-between;font-size:14px;margin-top:12px}
.article-body{font-size:17px;color:#5f665a;line-height:1.9}
.article-lead{font-family:var(--font-tenor);font-size:24px;color:#41473b;line-height:1.55;margin-bottom:42px}
.article-body h2{font-size:32px;color:var(--foreground);margin-bottom:22px}
.article-body>section{margin-top:45px;scroll-margin-top:40px}
.article-body section p+p{margin-top:19px}
.article-body blockquote{font-family:var(--font-tenor);font-size:29px;line-height:1.4;border-left:2px solid #8e987b;margin:40px 0;padding:10px 0 10px 28px;color:#697555}
.article-guide-cta{display:flex;align-items:center;justify-content:space-between;gap:25px;background:#ecece2;padding:28px;margin-top:43px}
.article-guide-cta strong{font-family:var(--font-tenor);font-weight:400;color:#3a3b36;display:block;font-size:27px;margin-top:8px;line-height:1.3}
.not-found{padding-block:100px 140px}
.not-found h1{margin:20px 0}
.not-found .button{margin-top:25px}

/* --- The packaging instruction --- */
.guide-intro{display:grid;grid-template-columns:1.3fr .8fr;gap:70px;align-items:center;padding-block:64px 60px}
.guide-intro h1{font-size:clamp(40px,4.4vw,66px);margin-top:24px}
.guide-intro p:not(.eyebrow){margin-top:24px;color:#5f665a;line-height:1.9}
.guide-intro .text-link{margin-top:20px}
.guide-intro-image{border-radius:50%;overflow:hidden;aspect-ratio:1}
.guide-intro-image img{height:100%;width:100%;object-fit:cover}
.guide-principles{display:grid;grid-template-columns:repeat(3,1fr);border-top:1px solid var(--border);border-bottom:1px solid var(--border);padding-block:25px;gap:28px}
.guide-principles>div{display:flex;align-items:center;gap:18px;font-size:15px}
.guide-principles svg{stroke:#7a8760;stroke-width:1.3;flex-shrink:0}
.guide-principles small{display:block;font-size:12px;color:#5f665a;margin-top:4px}
.guide-layout{display:grid;grid-template-columns:260px minmax(0,780px);justify-content:space-between;gap:8%;padding-block:60px 10px}
.guide-index{position:sticky;top:40px;align-self:start}
.guide-index nav{display:flex;flex-direction:column;gap:18px;margin-top:26px}
.guide-index nav a{font-size:14px;display:flex;gap:17px}
.guide-index nav span{color:#5f665a;font-size:12px;min-width:18px}
.guide-index nav a:hover{color:var(--deep-olive)}
.guide-index>p:last-child{font-size:13px;line-height:1.8;color:#5f665a;margin-top:46px}
.guide-start-note{font-size:14px;line-height:1.85;color:#5f665a;border-left:2px solid #bcc2a9;padding:2px 0 2px 19px;margin-bottom:45px}
.guide-step{padding-bottom:36px;margin-bottom:30px;border-bottom:1px solid var(--border);scroll-margin-top:35px}
.step-heading{display:flex;align-items:baseline;gap:24px;margin-bottom:22px}
.step-heading>span{font-family:var(--font-tenor);font-size:23px;color:#5f6a4b;flex-shrink:0;min-width:2.4ch;font-variant-numeric:tabular-nums}
.step-heading h2{font-size:32px;line-height:1.2}
.step-body{padding-left:58px;font-size:16px;line-height:1.9;color:#5f665a}
.step-body p+p{margin-top:18px}
.small-note{margin-top:23px;padding:16px 20px;background:#eeeede;font-size:14px;line-height:1.8;color:#5f665a}
.angle-layout{display:grid;grid-template-columns:1.4fr .8fr;gap:25px}
.angle-diagram{margin:0;align-self:center;text-align:center}
.angle-diagram svg{width:100%;height:auto}
.angle-diagram figcaption{font-size:12px;line-height:1.8;color:#5f665a}
.guide-photo{display:grid;grid-template-columns:1fr 1fr;background:#efeade;margin:10px 0 44px}
.guide-photo img{height:310px;width:100%;object-fit:cover;object-position:center 30%}
.guide-photo>div{align-self:center;padding:25px}
.guide-photo p{font-family:var(--font-tenor);font-size:28px;line-height:1.4;margin-top:18px}
.direction{display:flex;align-items:center;gap:24px;margin-top:25px;color:#5f6a4b;font-size:14px;font-weight:400}
.direction svg{stroke-width:1}
.aftercare-image{width:100%;aspect-ratio:1.7;object-fit:cover;margin-top:26px}
.guide-caution{padding:28px 32px;background:#eeece3}
.guide-caution h3{font-size:25px;margin-bottom:16px}
.guide-caution p{font-size:14px;line-height:1.9;color:#5f665a}
.guide-caution p+p{margin-top:13px}
.guide-ending{text-align:center;padding:60px 0 75px}
.guide-ending>.olive-dot{width:7px;height:7px;margin:0 0 23px}
.guide-ending h2{font-size:36px;line-height:1.2}
.guide-ending .text-link{margin-top:24px}
@media(max-width:1100px){
.product-detail{gap:35px}
.product-information{padding-top:10px}
.product-description{font-size:15px}
.gallery-main{aspect-ratio:.9}
.journal-grid{gap:22px}
.card-title h3{font-size:24px}
.journal-heading>p:last-child{position:static;margin-top:25px}
.featured-image{height:460px}
.article-layout,.guide-layout{grid-template-columns:190px minmax(0,1fr);gap:40px}
.article-aside{max-width:190px}
.guide-intro{gap:40px}
.guide-principles{gap:20px}
.guide-principles>div{gap:12px;align-items:flex-start}
.guide-principles small{font-size:12px}
.guide-photo{grid-template-columns:1fr .9fr}
.guide-photo p{font-size:24px}
.angle-layout{grid-template-columns:1fr}
.angle-diagram{max-width:210px;margin:auto}
.article-cover{height:470px}
}
@media(max-width:700px){
.breadcrumb{padding-block:22px;font-size:12px}
.product-detail{grid-template-columns:1fr;gap:30px;padding-bottom:48px}
.gallery-main{aspect-ratio:1.05}
.gallery-thumbs button{width:70px;height:64px}
.product-information{padding-top:0}
.product-information h1{font-size:43px;margin-top:17px}
.product-subtitle{font-size:23px}
.product-description{font-size:16px;margin-top:20px}
.product-features{gap:13px}
.journal-grid,.journal-grid:has(>.journal-card:nth-child(2):last-child){grid-template-columns:1fr;gap:35px}
.journal-card-image{aspect-ratio:1.5}
.card-category{margin-block:18px 8px}
.card-title h3{font-size:27px;max-width:none}
.journal-card>p{max-width:none;font-size:16px}
.ritual-band{padding-block:45px}
.ritual-band-inner{grid-template-columns:1fr;gap:32px}
.ritual-round-image{max-width:260px}
.ritual-band h2{margin-block:19px}
.journal-heading{padding-block:40px 35px}
.journal-heading h1{font-size:43px;margin-top:20px}
.journal-heading>p:last-child{font-size:16px}
.journal-heading>p:last-child br{display:none}
.featured-article{grid-template-columns:1fr}
.featured-image{height:360px}
.featured-copy{padding:30px}
.featured-copy h2{font-size:36px;margin-block:20px}
.featured-copy>p{font-size:16px}
.journal-all{padding-top:40px}
.article-header{padding-block:24px 30px}
.article-header>.eyebrow{margin-top:32px}
.article-header h1{font-size:42px;margin-block:20px}
.article-header>p:last-child{font-size:16px}
.article-cover{width:100%;height:360px}
.article-layout{grid-template-columns:1fr;gap:0;padding-block:35px 45px}
.article-aside{position:static;max-width:none;padding-top:0;margin-bottom:8px}
.article-aside .eyebrow{font-size:11px}
.article-aside nav{flex-direction:row;flex-wrap:wrap;gap:4px 16px;margin-top:10px;padding-bottom:20px;border-bottom:1px solid var(--border)}
.article-aside nav a{font-size:13px;padding-block:9px}
.aside-product{display:none}
.article-lead{font-size:23px;margin-bottom:30px}
.article-body{font-size:16px}
.article-body h2{font-size:29px;margin-bottom:18px}
.article-body>section{margin-top:32px}
.article-body blockquote{font-size:26px;margin-block:30px;padding-left:22px}
.article-guide-cta{padding:23px}
.article-guide-cta strong{font-size:25px}
.guide-intro{grid-template-columns:1fr;gap:30px;padding-block:40px 30px}
.guide-intro h1{font-size:43px;margin-top:20px}
.guide-intro p:not(.eyebrow){font-size:16px}
.guide-intro p br{display:none}
.guide-intro-image{width:220px;height:220px;justify-self:center}
.guide-principles{grid-template-columns:1fr;padding-block:24px;gap:21px}
.guide-principles>div{align-items:center;gap:17px}
.guide-principles small{font-size:13px}
.guide-layout{grid-template-columns:1fr;gap:30px;padding-top:30px}
.guide-index{position:static}
.guide-index>p:last-child{display:none}
.guide-index nav{flex-direction:row;flex-wrap:wrap;gap:10px 17px;margin-top:14px;padding-bottom:24px;border-bottom:1px solid var(--border)}
.guide-index nav a{font-size:13px;gap:6px}
.guide-start-note{margin-bottom:32px}
.step-heading{gap:17px;align-items:flex-start}
.step-heading>span{font-size:21px;padding-top:3px}
.step-heading h2{font-size:29px}
.step-body{padding-left:0;font-size:16px}
.guide-step{padding-bottom:28px;margin-bottom:26px}
.angle-layout{grid-template-columns:1fr}
.angle-diagram{max-width:205px}
.guide-photo{grid-template-columns:1fr 1fr;margin-bottom:30px}
.guide-photo img{height:230px}
.guide-photo>div{padding:18px}
.guide-photo .eyebrow{font-size:12px;letter-spacing:.04em}
.guide-photo p{font-size:22px;margin-top:12px}
.direction{gap:16px;font-size:14px}
.guide-caution{padding:23px}
.guide-ending{padding-block:40px 55px}
.guide-ending h2{font-size:33px}
}

/* --- Галерея продукта (вместо embla-carousel из макета) ------------------ */
.gallery-viewport{overflow:hidden;position:relative;touch-action:pan-y}
.gallery-track{display:flex;transition:transform .35s var(--ease-out)}
.gallery-slide{flex:0 0 100%;min-width:0}
.gallery-slide .gallery-main{width:100%}

/* --- Доработки мобильной версии ------------------------------------------ */
@media(max-width:700px){
.guide-photo{grid-template-columns:1fr}
.guide-photo img{height:260px;object-position:center 25%}
.guide-photo>div{padding:22px 22px 26px}
.guide-photo p br{display:none}
}
@media(max-width:430px){
.footer-top{grid-template-columns:1fr;gap:26px;padding-bottom:40px}
.footer-top>p{font-size:24px}
.footer-top>p br{display:none}
}

@media(hover:hover) and (pointer:fine){
.product-teaser:hover .teaser-image img,.featured-article:hover img{transform:scale(1.025)}
.journal-card:hover img{transform:scale(1.035)}
}
/* --- Каталог -------------------------------------------------------------- */
.catalog-heading{padding:64px 0 52px}
.catalog-heading h1{margin-top:25px}
.catalog-heading>p:last-child{margin-top:23px;color:#5f665a;line-height:1.85;max-width:520px;font-size:15px}
.catalog-page .product-teaser+.product-teaser{border-top:1px solid var(--border);margin-top:70px;padding-top:70px}
.catalog-band{padding:clamp(28px,4vw,56px);margin:80px 0}
@media(max-width:700px){
.catalog-heading{padding:40px 0 34px}
.catalog-heading h1{font-size:43px;margin-top:20px}
.catalog-heading>p:last-child{font-size:16px}
.catalog-heading>p:last-child br{display:none}
.catalog-page .product-teaser+.product-teaser{margin-top:45px;padding-top:45px}
.catalog-band{padding:26px 22px 32px;margin:48px 0}
}

/* --- Длинные статьи: «Коротко», таблицы, списки, фигуры, FAQ ------------ */
.tldr{background:#ecece2;padding:22px 26px;margin-bottom:36px}
.tldr .eyebrow{margin-bottom:10px}
.tldr ul{margin:0;padding-left:18px;list-style:disc;font-size:16px;line-height:1.7;color:#5f665a}
.tldr li+li{margin-top:6px}
.article-body h3{font-size:22px;color:var(--foreground);margin:28px 0 12px;line-height:1.25}
.article-body section>h2+h3,.article-body section>p+h3{margin-top:24px}
.article-body ul,.article-body ol{margin:16px 0;padding-left:22px}
.article-body ul{list-style:disc}
.article-body ol{list-style:decimal}
.article-body li+li{margin-top:8px}
.article-body li::marker{color:#5f6a4b}
.article-body p+ul,.article-body p+ol{margin-top:10px}
.article-body section p+p{margin-top:19px}
.article-body section>p+blockquote{margin-top:32px}
.table-wrap{overflow-x:auto;margin:26px 0}
.article-body table{border-collapse:collapse;width:100%;font-size:15px;line-height:1.55;min-width:520px}
.article-body th{text-align:left;font-weight:450;font-size:12px;letter-spacing:.08em;text-transform:uppercase;color:#5f665a;padding:0 14px 10px 0;border-bottom:1px solid var(--border);vertical-align:bottom}
.article-body td{padding:12px 14px 12px 0;border-bottom:1px solid var(--border);vertical-align:top;color:#5f665a}
.article-body td:first-child{color:var(--foreground)}
.article-figure{margin:30px 0}
.article-figure img,.article-figure .ph{width:100%}
.article-figure figcaption{font-size:13px;color:#5f665a;margin-top:10px;line-height:1.6}
.figure-pair{display:grid;grid-template-columns:1fr 1fr;gap:20px;margin:30px 0}
.figure-pair figure{margin:0}
.figure-pair figcaption{font-size:13px;color:#5f665a;margin-top:8px;line-height:1.6}
.callout{margin:26px 0;padding:18px 22px;background:#eeeede;font-size:15px;line-height:1.8;color:#5f665a}
.callout.warn{background:#f1e8e4;color:#5f665a}
.faq{margin-top:48px;border-top:1px solid var(--border)}
.faq h2{margin:36px 0 8px;font-size:30px}
.faq details{border-bottom:1px solid var(--border);padding:16px 0}
.faq summary{cursor:pointer;font-size:19px;color:var(--foreground);font-family:var(--font-tenor);list-style:none;display:flex;justify-content:space-between;gap:20px;line-height:1.35}
.faq summary::-webkit-details-marker{display:none}
.faq summary::after{content:'+';color:var(--olive);font-size:24px;line-height:1;flex-shrink:0}
.faq details[open] summary::after{content:'−'}
.faq details p{margin-top:12px;font-size:16px;color:#5f665a}
.longread-header{padding:56px 0 40px}
.longread-header h1{margin-top:24px;max-width:820px}
.longread-header>p:last-child{margin-top:22px;color:#5f665a;line-height:1.85;max-width:560px}

/* --- Плейсхолдеры под иллюстрации: промпт для генерации лежит в alt ------ */
.ph{position:relative;width:100%;background:#efeade;border:1px dashed #a9b393;display:flex;align-items:flex-start;padding:12px;color:#5f6a4b;font-size:11px;letter-spacing:.1em;text-transform:uppercase;line-height:1.5}
.ph.ph-diagram{background:#f8f6f1;border-style:dotted}
.ph span{background:rgba(248,246,241,.85);padding:4px 8px}
.article-cover .ph,.journal-card-image .ph,.featured-image .ph,.teaser-image .ph,.guide-photo .ph,.hero-visual .ph{height:100%;aspect-ratio:auto}
@media(max-width:700px){
.figure-pair{grid-template-columns:1fr}
.faq summary{font-size:18px}
.faq h2{font-size:27px}
.longread-header{padding:36px 0 26px}
.longread-header h1{font-size:40px;margin-top:18px}
.tldr{padding:18px 20px;margin-bottom:28px}
}

/* --- Главная: блок «Что это» ------------------------------------------- */
.about-section{border-top:1px solid var(--border)}
.about-block{display:grid;grid-template-columns:1.05fr .95fr;gap:clamp(35px,6vw,90px);align-items:center}
.about-block h2{margin:0 0 22px}.about-block .eyebrow+h2{margin-top:18px}
.about-block p:not(.eyebrow){color:#5f665a;line-height:1.85;max-width:520px}
.about-block p:not(.eyebrow)+p{margin-top:16px}
.about-links{margin-top:24px;display:flex;flex-direction:column;gap:6px;align-items:flex-start}
.about-image img,.about-image .ph{width:100%}
/* --- Техники: карточки отдельных техник ---------------------------------- */
.technique-links{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin-top:8px}
.technique-links a{display:flex;justify-content:space-between;align-items:center;gap:14px;padding:16px 18px;border:1px solid var(--border);font-size:15px;line-height:1.4;transition:background .18s var(--ease-out)}

.technique-links a small{display:block;color:#5f665a;font-size:13px;margin-top:3px}
.technique-links svg{flex-shrink:0;stroke:#7a8760}
.guide-body .faq{margin-top:20px}
.guide-body .tldr{margin-bottom:0}
@media(max-width:700px){.about-block{grid-template-columns:1fr;gap:28px}.technique-links{grid-template-columns:1fr}}
.product-longread{padding-block:0 20px}
.product-longread .article-aside{top:40px}
.product-longread .article-body>section:first-child{margin-top:0}
@media(max-width:700px){.product-longread .article-aside{position:static;max-width:none;padding-top:0;margin-bottom:8px}
.article-aside .eyebrow{font-size:11px}
.article-aside nav{flex-direction:row;flex-wrap:wrap;gap:4px 16px;margin-top:10px;padding-bottom:20px;border-bottom:1px solid var(--border)}
.article-aside nav a{font-size:13px;padding-block:9px}
.aside-product{display:none}}
/* --- Мобильные: длинные статьи не должны расширять страницу ------------- */
.article-body,.guide-body,.step-body{min-width:0}
.table-wrap{max-width:100%}
.guide-intro-image .ph span,.ritual-round-image .ph span{display:none}
.guide-intro-image .ph,.ritual-round-image .ph{height:100%;aspect-ratio:auto}
@media(max-width:700px){.gallery-thumbs{gap:8px}.gallery-thumbs button{flex:1 1 0;min-width:0;width:auto;height:auto;aspect-ratio:1.06}}
.gallery-thumbs button{overflow:hidden}
.gallery-thumbs .ph{height:100%;aspect-ratio:auto;padding:0}
.gallery-thumbs .ph span{display:none}

/* --- Правки после дизайн-ревью ------------------------------------------ */
/* Ссылки внутри текста статей видны: подчёркивание оливковой линией */
.article-body a:not(.article-guide-cta):not(.text-link):not(.aside-product):not(.button):not(.product-callout-link),
.tldr a,.callout a,.step-body a:not(.text-link):not(.button){color:var(--foreground);text-decoration:underline;text-decoration-color:#8e987b;text-decoration-thickness:1px;text-underline-offset:3px}
.article-body a:not(.article-guide-cta):not(.text-link):not(.button):not(.product-callout-link):hover,.step-body a:not(.text-link):not(.button):hover{text-decoration-color:var(--deep-olive)}

/* Тап-цели не меньше 44px по высоте */
.site-header nav a{padding-block:14px}
.site-footer nav a{padding-block:11px}
.article-aside nav a,.guide-index nav a{padding-block:9px}
@media(min-width:701px){.article-aside nav,.guide-index nav{gap:0;margin-top:14px}}
.breadcrumb{padding-block:22px}
.breadcrumb a,.breadcrumb span{padding-block:12px}
.back-link{padding-block:12px}
.faq summary{padding-block:9px}
.gallery-caption button{height:44px;width:44px}
.gallery-thumbs button{min-height:44px}

/* Подпись на фото читается: подложка вместо тёмного текста по фактуре */
.image-note{background:rgba(248,246,241,.88);padding:7px 12px;color:#3a3b36;bottom:18px;left:20px}

/* Таблицы: видно, что их можно листать */
.table-wrap{position:relative}
.table-wrap::after{content:'';position:absolute;top:0;right:0;bottom:0;width:34px;background:linear-gradient(90deg,rgba(248,246,241,0),rgba(248,246,241,.92));pointer-events:none}
@media(min-width:900px){.table-wrap::after{display:none}}

/* Мобильный первый экран: фото над текстом, компактная шапка */
@media(max-width:700px){
.site-header{height:auto;min-height:0;padding-block:14px;flex-wrap:wrap;gap:10px}
.site-header nav{width:100%;justify-content:space-between;gap:8px}
.logo{width:76px}
.home-hero{padding-top:22px}
.hero-visual{order:-1;min-height:0;aspect-ratio:1.12;border-radius:0 0 44% 44% / 0 0 14% 14%}
.hero-copy{padding-top:26px}
.hero-copy h1{margin-top:18px}
.article-aside nav a,.guide-index nav a{padding-block:9px}
.breadcrumb a,.breadcrumb span{padding-block:11px}
}

/* Карточка быстрого старта в техниках: для тех, кто пришёл по QR с коробки */
.quick-start{display:none}
@media(max-width:700px){
.quick-start{display:block;background:#ecece2;padding:20px 22px;margin-top:26px}
.quick-start p{font-size:15px;line-height:1.7;color:#5f665a;margin-top:8px}
.quick-start .button{margin-top:16px;width:100%}
.guide-index{padding-bottom:6px}
}
/* Оглавление техник: шаги с номерами, справочные разделы отдельным списком */
.index-extra-title{margin-top:22px;font-size:11px;color:#6b7160}
.guide-index nav+.index-extra-title{margin-top:24px}
.guide-index nav a span{min-width:18px}
.section-divider{margin:6px 0 26px;padding-top:26px;border-top:1px solid var(--border);color:#6b7160}
.guide-extra .step-heading{gap:0}
.guide-extra .step-body{padding-left:58px}
.visually-hidden{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;border:0}
.purchase-button.after-faq{margin-top:34px;justify-content:center;gap:14px}
.breadcrumb ol{display:flex;flex-wrap:wrap;gap:14px;list-style:none;margin:0;padding:0;align-items:center}
/* Херо: заголовок в две строки на любой ширине */
.hero-copy h1{font-size:clamp(40px,4.05vw,58px)}
@media(max-width:700px){.hero-copy h1{font-size:clamp(38px,8.4vw,52px)}}
.guide-caution{scroll-margin-top:35px}

/* Тап-цели после повторного замера: узкая ссылка меню, summary, чипы оглавления */
.site-header nav a{min-width:44px;text-align:center}
.faq summary{padding-block:12px}
@media(max-width:700px){
.site-header nav a{text-align:left}
.article-aside nav a,.guide-index nav a{padding-block:12px}

}

/* Наведение — только для мыши, иначе состояние залипает после тапа */
@media(hover:hover) and (pointer:fine){
.site-header nav a:hover,.site-footer nav a:hover{color:var(--deep-olive)}
.dark-button:hover{background:#575e48}
.gallery-caption button:hover{background:#e9e6db}
.technique-links a:hover{background:#efeade}
}
/* Отклик на нажатие у всех органов управления, а не только у кнопки */
.gallery-caption button:active,.gallery-thumbs button:active{transform:scale(.94)}
.faq summary:active,.gallery-caption button,.gallery-thumbs button{transition:background .18s var(--ease-out),transform .12s var(--ease-out),opacity .18s var(--ease-out)}
.faq summary,
/* Планшет 700–1000: узкая колонка сайдбара не работает, складываем в одну */
@media(max-width:1000px) and (min-width:701px){
.article-layout,.guide-layout{grid-template-columns:minmax(0,1fr);gap:0}
.article-aside,.guide-index{position:static;max-width:none;max-height:none;overflow:visible;margin-bottom:26px}
.article-aside nav,.guide-index nav{flex-direction:row;flex-wrap:wrap;gap:2px 20px;margin-top:12px;padding-bottom:20px;border-bottom:1px solid var(--border)}
.article-aside nav a,.guide-index nav a{padding-block:10px;font-size:14px}
.aside-product{display:none}
.guide-index>p:last-child{display:none}
.about-block{grid-template-columns:1fr;gap:32px}
.hero-copy h1{font-size:clamp(38px,5.4vw,48px)}
}
/* Заглушки в миниатюрах галереи: видно, что это слот, а не сбой загрузки */
.gallery-thumbs .ph{border-style:dashed;background:#efeade}
.not-found-links{display:flex;flex-direction:column;align-items:flex-start;gap:2px;margin-top:34px;max-width:320px}
.not-found-links a{width:100%}

/* Гид на телефоне: до первого шага только карточка быстрого старта */
@media(max-width:700px){
.guide-intro .text-link{display:none}
.guide-intro-image{display:none}
.guide-principles{display:none}
.quick-start{margin-top:22px}
}
/* Планшет: херо тоже в одну колонку — в двух текст зажимается до 340px */
@media(max-width:1000px) and (min-width:701px){
.home-hero{display:flex;flex-direction:column;gap:30px;min-height:0;padding-top:8px;padding-bottom:40px}
.hero-visual{order:-1;min-height:0;aspect-ratio:1.7;border-radius:0 0 40% 40% / 0 0 16% 16%}
.hero-copy{padding:30px 0 0;max-width:620px}
.hero-copy h1{font-size:clamp(44px,5.6vw,54px)}
.hero-description{max-width:520px}
}
/* Липкое оглавление: длинный список прокручивается внутри, карточка товара
   остаётся видимой на любой высоте окна */
@media(min-width:1001px){
.article-aside{display:flex;flex-direction:column;overflow:visible}
.article-aside nav{flex:1 1 auto;min-height:0;overflow-y:auto;overscroll-behavior:contain;margin-bottom:4px}
.aside-product{margin-top:26px;flex:0 0 auto}
}

/* Текущий раздел в оглавлении: цвет и оливковая линия под текстом.
   Ни толщина, ни размер не меняются, поэтому список не перекладывается. */
.article-aside nav a,.guide-index nav a{transition:color .15s var(--ease-out),text-decoration-color .15s var(--ease-out)}
.article-aside nav a.is-current,.guide-index nav a.is-current{color:var(--foreground)}
/* В техниках номер шага и название — разные элементы, подчёркиваем только название */
.article-aside nav a.is-current,.guide-index nav a.is-current .toc-label{text-decoration:underline;text-decoration-color:var(--olive);text-decoration-thickness:1px;text-underline-offset:4px}
.guide-index nav a.is-current>span:first-child{color:var(--deep-olive)}

/* Схемы — квадратные: в горизонтальной обложке показываем целиком, без обрезки */
.article-cover img.shot-diagram,.journal-card-image img.shot-diagram,.featured-image img.shot-diagram{object-fit:contain;object-position:center;background:#f8f6f1}
.journal-card:first-child .journal-card-image img.shot-diagram{object-position:center}
/* Подпись под обложкой статьи: раньше это фото повторялось в тексте ради подписи */
.article-cover-caption{font-size:13px;color:#5f665a;line-height:1.65;margin-top:12px;max-width:720px}
@media(max-width:700px){.article-cover-caption{font-size:13px;margin-top:10px}}

/* Карточка товара внутри статьи: вся карточка — одна ссылка на страницу товара */
.product-callout{margin:48px 0}
.product-callout-link{display:grid;grid-template-columns:minmax(0,.85fr) minmax(0,1.15fr);background:#efeade;color:var(--foreground)}
.product-callout-image{position:relative;overflow:hidden;min-height:280px}
.product-callout-image img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;transition:transform .45s var(--ease-out)}
.product-callout-copy{display:flex;flex-direction:column;align-items:flex-start;padding:30px 32px 32px}
.product-callout-title{font-family:var(--font-tenor);font-size:26px;line-height:1.25;letter-spacing:-.01em;color:var(--foreground);margin-top:12px;text-wrap:balance}
.product-callout-text{font-size:15px;line-height:1.75;color:#5f665a;margin-top:12px}
.product-callout .product-callout-features{list-style:none;margin:18px 0 0;padding:0;display:flex;flex-wrap:wrap;gap:8px 18px}
.product-callout .product-callout-features li{display:flex;align-items:center;gap:8px;margin:0;font-size:13px;line-height:1.4;color:var(--foreground)}
.product-callout-features svg{stroke:#5f6a4b;stroke-width:1.4;flex-shrink:0}
.product-callout .button{margin-top:24px}
@media(hover:hover) and (pointer:fine){
.product-callout-link:hover .product-callout-image img{transform:scale(1.03)}
.product-callout-link:hover .dark-button{background:#575e48}
}
@media(max-width:700px){
.product-callout{margin:36px 0}
.product-callout-link{grid-template-columns:1fr}
.product-callout-image{min-height:0;aspect-ratio:1.6}
.product-callout-copy{padding:22px 20px 24px}
.product-callout-title{font-size:23px}
}
@media(prefers-reduced-motion:reduce){.product-callout-image img{transition:none;transform:none!important}}
/* В техниках массажа карточка стоит сразу после разделителя шага 06 */
.guide-body .product-callout{margin:12px 0 44px}
@media(max-width:700px){.guide-body .product-callout{margin:4px 0 34px}}

/* Техники массажа: приглашения посмотреть скребок для тех, кто пришёл
   не по QR с упаковки. */
.guide-no-tool{font-size:14px;line-height:1.85;color:#5f665a;margin:-25px 0 45px;padding-left:21px}
.guide-no-tool a{color:var(--foreground);text-decoration:underline;text-decoration-color:#999d8a;text-decoration-thickness:1px;text-underline-offset:4px}
.guide-no-tool a:hover{text-decoration-color:var(--deep-olive)}
.product-strip{display:flex;align-items:center;gap:22px;background:#efeade;padding:16px 24px 16px 16px;margin:0 0 44px;color:var(--foreground)}
.product-strip img{width:104px;height:104px;object-fit:cover;flex:0 0 auto}
.product-strip>span{flex:1;min-width:0}
.product-strip strong{display:block;font-family:var(--font-tenor);font-weight:400;font-size:22px;line-height:1.3;margin-top:8px;text-wrap:balance}
.product-strip small{display:block;font-size:13px;line-height:1.6;color:#5f665a;margin-top:6px}
.product-strip>svg{flex:0 0 auto;color:#5f6a4b}
@media(hover:hover) and (pointer:fine){.product-strip:hover{background:#e9e3d4}}
@media(max-width:700px){
.guide-no-tool{margin:-14px 0 32px}
.product-strip{gap:16px;padding:14px 16px 14px 14px;margin-bottom:30px}
.product-strip img{width:76px;height:76px}
.product-strip strong{font-size:19px}
.product-strip>svg{display:none}
}

/* Плавающая карточка со скребком в техниках массажа. Тёмная, чтобы не
   сливаться со светлой страницей; на всех экранах. Видна всё время,
   закрывается крестиком. */
.buy-bar[hidden]{display:none}
.buy-bar{position:fixed;left:0;right:0;bottom:0;z-index:40;background:#3a3b36;color:#f8f6f1;border-top:3px solid var(--olive);box-shadow:0 -12px 36px rgba(30,31,28,.3);padding-bottom:env(safe-area-inset-bottom);visibility:hidden;transform:translateY(110%);transition:transform .42s var(--ease-out),visibility 0s .42s}
.buy-bar.is-visible{visibility:visible;transform:none;transition:transform .42s var(--ease-out)}
.buy-bar-inner{position:relative;display:flex;align-items:stretch;width:calc(100% - 112px);max-width:1380px;margin-inline:auto}
.buy-bar-link{flex:1;min-width:0;display:flex;align-items:center;gap:24px;padding:14px 0;color:inherit}
.buy-bar-link img{width:84px;height:84px;object-fit:cover;flex:0 0 auto}
.buy-bar-copy{flex:1;min-width:0;display:flex;flex-direction:column}
.buy-bar .eyebrow{color:#c9cfb6;font-size:11px}
.buy-bar-copy strong{font-family:var(--font-tenor);font-weight:400;font-size:25px;line-height:1.2;margin-top:6px}
.buy-bar-copy small{font-size:14px;line-height:1.5;color:rgba(248,246,241,.76);margin-top:4px}
.buy-bar-short{display:none}
.buy-bar-cta{flex:0 0 auto;display:inline-flex;align-items:center;justify-content:space-between;gap:26px;min-height:54px;padding:14px 26px;background:#f8f6f1;color:#3a3b36;font-size:15px;transition:background .18s var(--ease-out)}
.buy-bar-close{flex:0 0 auto;width:56px;margin-left:12px;display:flex;align-items:center;justify-content:center;background:none;border:0;color:rgba(248,246,241,.7);cursor:pointer}
@media(hover:hover) and (pointer:fine){
.buy-bar-link:hover .buy-bar-cta{background:#fff}
.buy-bar-close:hover{color:#fff}
}
.buy-bar-link:focus-visible,.buy-bar-close:focus-visible{outline:2px solid #c9cfb6;outline-offset:-2px}
@media(max-width:1100px){.buy-bar-inner{width:calc(100% - 64px)}}
@media(max-width:700px){
/* Телефон: карточка с отступами от краёв, кнопка во всю ширину второй строкой */
.buy-bar{left:10px;right:10px;bottom:calc(10px + env(safe-area-inset-bottom));padding-bottom:0;box-shadow:0 10px 36px rgba(30,31,28,.38)}
.buy-bar-inner{width:100%}
.buy-bar-link{flex-wrap:wrap;gap:12px 14px;padding:14px}
.buy-bar-link img{width:60px;height:60px}
.buy-bar-copy{padding-right:30px}
.buy-bar .eyebrow{font-size:10px;letter-spacing:.06em}
.buy-bar-copy strong{font-size:19px;margin-top:4px}
.buy-bar-copy small{font-size:13px;margin-top:2px}
.buy-bar-short{display:inline}
.buy-bar-long{display:none}
.buy-bar-cta{flex:1 0 100%;min-height:46px;padding:11px 18px}
.buy-bar-close{position:absolute;top:0;right:0;width:44px;height:44px;margin:0}
}
@media(prefers-reduced-motion:reduce){.buy-bar,.buy-bar.is-visible{transition:none}}
/* Пока карточка на экране, липкое оглавление не заходит под неё:
   длинный список прокручивается внутри колонки. */
@media(min-width:1001px){
.has-buy-bar .guide-index{max-height:calc(100dvh - 64px - var(--buy-bar-h,0px));overflow-y:auto;overscroll-behavior:contain}
}
/* Схема недели в статье о частоте массажа */
.week-diagram{display:block;width:100%;height:auto;background:#efeade;padding:14px 0 6px}
