/* Guest navigation and information update, 4 November 2026. */
.ask-question{display:inline-flex;align-items:center;justify-content:center;border:1px solid #fff;border-radius:5px;padding:10px 15px;min-height:40px;color:#fff;font-size:15px;font-weight:700;white-space:nowrap}
.ask-question:hover{background:var(--red);border-color:var(--red)}
#findMyPhotos,#openTree,#closeTree,#mobileFolderSlot,#folderNavigation .mobile-tools{display:none!important}
.price-caption .price-copy{font-size:clamp(18px,1.5vw,25px);line-height:1.3}
.price-strip .price-copy b{font-size:inherit}
.folder-back{display:none;background:var(--red);color:#fff;border-radius:4px;padding:10px 12px;font-size:15px;font-weight:700;min-height:44px;white-space:nowrap}
.home-info{margin:48px 0 20px;line-height:1.65;font-size:18px}
.visit-info{display:grid;grid-template-columns:1.3fr 1fr;gap:32px;padding:30px;border:1px solid #ddd;border-top:4px solid var(--red);border-radius:6px;scroll-margin-top:100px}
.home-info h2{font-size:28px;letter-spacing:-.5px;line-height:1.2;margin:10px 0 18px}
.home-info p{margin:12px 0;color:#444}.home-info .eyebrow{font-size:12px}
.work-hours{border-left:1px solid #ddd;padding-left:32px}.work-hours p:first-of-type strong{font-size:30px;color:#111}
.faq{margin-top:42px}.faq details{border:1.5px solid var(--red);border-radius:6px;background:#fff;margin:12px 0;overflow:hidden}
.faq summary{list-style:none;position:relative;padding:20px 55px 20px 22px;font-size:20px;line-height:1.4;font-weight:700;color:#111;cursor:pointer}
.faq summary::-webkit-details-marker{display:none}.faq summary:after{content:'+';position:absolute;right:22px;top:15px;font-size:28px;color:var(--red);font-weight:400}.faq details[open]>summary:after{content:'−'}
.faq details[open]>summary{border-bottom:1px solid #f2c6ca}.faq details>p{margin:0;padding:18px 22px 22px;max-width:1000px}
.map-touch-viewport.is-zoomed{cursor:grab}.map-touch-viewport.is-dragging{cursor:grabbing}
.slope-folder-list .folder-card>.slope-number{margin:0;width:32px;height:30px;flex:0 0 32px}.slope-folder-list .slope-number svg{width:32px;height:30px}
@media(min-width:721px){
 html:not(.phone-layout).catalog-home,html:not(.phone-layout).catalog-home body,html:not(.phone-layout).folder-browse,html:not(.phone-layout).folder-browse body{height:auto;overflow:visible}
 html:not(.phone-layout) .layout,html:not(.phone-layout) .layout.folders-open,html:not(.phone-layout).catalog-home .layout,html:not(.phone-layout).folder-browse .layout{display:grid;grid-template-columns:280px minmax(0,1fr);height:auto;min-height:calc(100dvh - 68px)}
 html:not(.phone-layout) #sidebar,html:not(.phone-layout) .layout.folders-open #sidebar{display:block;position:sticky;top:var(--header-height,68px);height:calc(100dvh - var(--header-height,68px));padding:22px 12px;align-self:start}
 html:not(.phone-layout) #tree summary{font-size:15px;line-height:1.35;padding:11px 6px;overflow-wrap:anywhere}
 html:not(.phone-layout) #tree details>div{padding-left:6px;margin-left:8px}
 html:not(.phone-layout) main,html:not(.phone-layout).catalog-home main{height:auto;display:block;min-width:0;padding:0 24px;max-width:none}
 html:not(.phone-layout).catalog-home .find-photos{display:block;padding:28px 0 20px}
 html:not(.phone-layout).catalog-home .find-photos h2{font-size:40px}
 html:not(.phone-layout).catalog-home #content{min-height:100px;grid-auto-rows:auto;flex:none}
 html:not(.phone-layout).catalog-home .main-services{margin-top:22px}
 html:not(.phone-layout).catalog-home .price-strip .price-copy,html:not(.phone-layout).catalog-nested .price-strip .price-copy{font-size:clamp(18px,1.45vw,24px)}
 html:not(.phone-layout).catalog-home #folderNavigation,html:not(.phone-layout).catalog-nested #folderNavigation{position:static}
 html:not(.phone-layout) #breadcrumbs,html:not(.phone-layout) #breadcrumbs button{font-size:15px}
 html:not(.phone-layout) .slope-choice{grid-template-columns:minmax(160px,210px) minmax(0,1fr);gap:20px;height:var(--slope-space);min-height:320px}
 html:not(.phone-layout) .slope-choice .folder-card b{font-size:16px}
 html:not(.phone-layout) .slope-reference figcaption{font-size:17px;line-height:1.45;color:#444;padding:4px 6px;flex-shrink:0}
 html:not(.phone-layout) .slope-folder-list{align-self:center}
 html:not(.phone-layout).catalog-nested .folder-card b{font-size:16px}
}
/* Class-based phone layout also covers phones in landscape. */
.phone-layout .topbar{display:grid;grid-template-columns:minmax(0,1fr) auto auto;grid-template-rows:auto auto;height:auto!important;min-height:82px;padding:8px 12px!important;gap:5px 8px!important}
.phone-layout .topbar .brand{grid-column:1;grid-row:1/3}.phone-layout .topbar .guest-language{grid-column:2;grid-row:1/3}.phone-layout .topbar .cart-trigger{grid-column:3;grid-row:1;justify-content:center}
.phone-layout .topbar .ask-question{grid-column:3;grid-row:2;font-size:12px;padding:5px 8px;min-height:28px;border-color:#e83943;background:var(--red)}
.phone-layout .price-caption .price-copy{font-size:17px;line-height:1.3}.phone-layout .price-strip .price-caption{padding:3px 8px 9px}
.phone-layout .price-strip .price-copy b{font-size:17px}
.phone-layout #breadcrumbs,.phone-layout #breadcrumbs button{font-size:15px;line-height:1.5}.phone-layout #folderNavigation{padding:10px 0}
.phone-layout .folder-grid .folder-card b,.phone-layout .slope-choice .folder-card b{font-size:16px;line-height:1.35}
.phone-layout .folder-grid .folder-card{min-height:62px}.phone-layout .slope-choice .folder-card{min-height:54px}
.phone-layout .folder-back{display:block;margin-right:3px;grid-column:1;grid-row:1}
.phone-layout .gallery-actions{display:grid;grid-template-columns:auto minmax(0,1fr);gap:8px;align-items:center}
.phone-layout .gallery-size{grid-column:2;grid-row:1;justify-self:end;display:flex;min-width:0}
.phone-layout .gallery-size button{padding:10px 9px;font-size:14px;min-height:44px;white-space:nowrap}
.phone-layout .gallery-actions .text-button{grid-column:2;grid-row:2;justify-self:end;font-size:12px;min-height:32px}
.phone-layout .slope-reference .map-desktop-hint{display:none}
.phone-layout .home-info{font-size:16px;margin-top:30px}.phone-layout .visit-info{grid-template-columns:1fr;gap:20px;padding:22px 18px;scroll-margin-top:100px}
.phone-layout .home-info h2{font-size:25px}.phone-layout .work-hours{border-left:0;border-top:1px solid #ddd;padding:20px 0 0}
.phone-layout .faq summary{font-size:17px;padding:17px 42px 17px 16px}.phone-layout .faq summary:after{right:15px;top:12px}.phone-layout .faq details>p{padding:16px}
@media(max-width:360px){.phone-layout .brand{font-size:17px}.phone-layout .brand-mark{width:26px}.phone-layout .brand small{font-size:8px!important}.phone-layout .gallery-size button{padding:10px 6px;font-size:13px}.phone-layout .folder-back{padding:10px;font-size:14px}}
.phone-layout #folderNavigation{gap:8px}.phone-layout #folderBackNav{flex:0 0 auto}.phone-layout #breadcrumbs{min-width:0}
.phone-layout .price-strip{grid-template-columns:repeat(var(--tier-count,3),minmax(0,1fr))}
.price-strip>[data-price-tier]{column-gap:12px!important}
.phone-layout .price-strip>[data-price-tier]{flex-direction:column!important;align-items:flex-start;gap:4px!important}
.phone-layout .price-strip>[data-price-tier]>strong{font-size:19px}.phone-layout .price-strip>[data-price-tier]>span{font-size:13px}
@media(min-width:721px){html:not(.phone-layout) .faq details{margin:8px 0}html:not(.phone-layout) .faq summary{font-size:17px;padding:12px 48px 12px 16px}html:not(.phone-layout) .faq summary:after{top:6px;font-size:25px}html:not(.phone-layout) .faq details>p{font-size:16px;padding:12px 16px 14px}}
.faq a,.faq-link,.contact-links a{color:#b8101d;text-decoration:underline;font-weight:bold}.faq-link{background:none;padding:0}.contact-links{display:flex;flex-wrap:wrap;gap:8px 14px}.vk-mark{display:inline-grid;place-items:center;background:#0077ff;color:white;border-radius:4px;padding:2px 4px;font-size:12px;text-decoration:none}#seasonPolicy{white-space:pre-wrap}#contacts{scroll-margin-top:140px}

.slope-folder-list:before{content:"Не знаете название трассы? Посмотрите её номер на карте.";color:#555;font-size:14px;line-height:1.4;padding:2px 0 6px}

/* Keep guest labels on one line and the booking action easy to find. */
.price-strip .price-copy{white-space:nowrap}
@media(min-width:721px){
 html:not(.phone-layout) .topbar{position:sticky}
 html:not(.phone-layout) .topbar .tagline{position:absolute;left:50%;transform:translateX(-50%);margin:0;white-space:nowrap;pointer-events:none}
 html:not(.phone-layout) .topbar .ask-question{margin-left:auto}
 html:not(.phone-layout).catalog-home .price-strip .price-copy,html:not(.phone-layout).catalog-nested .price-strip .price-copy{font-size:clamp(14px,1.2vw,20px)}
 html:not(.phone-layout).catalog-home .folder-card,html:not(.phone-layout).catalog-nested .folder-grid .folder-card{padding-inline:10px;gap:7px}
 html:not(.phone-layout).catalog-home .folder-card .folder-icon,html:not(.phone-layout).catalog-nested .folder-card .folder-icon{width:22px;height:19px}
 html:not(.phone-layout).catalog-home .folder-card b,html:not(.phone-layout).catalog-nested .folder-card b,html:not(.phone-layout) .slope-choice .folder-card b{font-size:14px}
}
@media(min-width:721px) and (max-width:1010px){html:not(.phone-layout) .topbar .tagline{font-size:12px}html:not(.phone-layout) .topbar .ask-question{font-size:12px;padding-inline:8px}}
.folder-card b,#tree summary{min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.slope-folder-list .folder-card b{display:block}
.home-info .work-hours h2{font-size:20px;margin:5px 0 10px}
.home-info .work-hours p{font-size:15px;margin:7px 0}
.home-info .work-hours p:first-of-type strong{font-size:21px}
#bookSession{font-size:18px;line-height:1.2;min-height:46px;padding:12px 18px;background:#d91825;color:white;transition:background-color .16s,box-shadow .16s}
#bookSession:hover,#bookSession:focus-visible{background:#ed2033;box-shadow:0 0 16px #df09257a}
@media(prefers-reduced-motion:no-preference){
 #bookSession{animation:booking-glow 1.8s ease-in-out 3}
 @keyframes booking-glow{50%{box-shadow:0 0 14px #df092566}}
}
.ask-question-mobile,.slope-reference .map-mobile-hint{display:none}
.phone-layout .topbar{min-height:0}
.phone-layout .topbar .brand,.phone-layout .topbar .guest-language{grid-row:1}
.phone-layout .topbar .ask-question{display:none}
.phone-layout .topbar .tagline{display:block;grid-column:1/-1;grid-row:2;text-align:center;margin:0;font-size:11px}
.phone-layout .ask-question-mobile{display:inline-flex;margin-top:20px;background:var(--red);border-color:var(--red)}
.phone-layout .ask-question-mobile+.faq{margin-top:14px}
.phone-layout .folder-grid .folder-card{min-height:46px;padding:7px;gap:6px}
.phone-layout .folder-grid .folder-card .folder-icon{width:16px;height:15px}
.phone-layout .folder-grid .folder-card b,.phone-layout .slope-choice .folder-card b,.phone-layout #tree summary{font-size:13px;line-height:1.3}
.phone-layout .home-info .work-hours h2{font-size:18px}
.phone-layout .home-info .work-hours p{font-size:14px}
.phone-layout .home-info .work-hours p:first-of-type strong{font-size:19px}
.phone-layout .slope-reference .map-mobile-hint{display:flex;align-items:center;justify-content:center;gap:7px;font-size:13px;color:#444}
.phone-layout .slope-reference figcaption{display:block}
@media(max-width:360px){.phone-layout .folder-grid .folder-card b{font-size:12px}}
.map-mobile-hint svg{width:27px;height:27px;flex:none}

#bookSession{font-size:15px;min-height:42px;padding:9px 14px}
#homeInfo .work-hours h2{font-size:17px;margin:4px 0 7px}
#homeInfo .work-hours p{font-size:14px;margin:5px 0}
#homeInfo .work-hours p:first-of-type strong{font-size:16px}
.phone-layout #homeInfo .work-hours{padding-top:12px}
.phone-layout #homeInfo .work-hours h2{font-size:16px}
.phone-layout #homeInfo .work-hours p{font-size:13px}
.phone-layout #homeInfo .work-hours p:first-of-type strong{font-size:15px}
.phone-layout .folder-back{font-size:13px;min-height:36px;padding:6px 8px;margin-right:0}
.phone-layout .gallery-actions{gap:4px 6px;justify-content:start}
.phone-layout .gallery-size{justify-self:start}
.phone-layout .gallery-size button{min-height:36px;padding:6px 7px}
#galleryPreviewNotice{font-size:13px;line-height:1.4;color:#555;margin:4px 0 10px}
#viewer .viewer-preview-label{font-size:14px;line-height:1.35;white-space:normal;display:grid;gap:3px;margin-top:4px}
#viewerQualityInfo{font-weight:700}
.phone-layout #viewer .viewer-preview-label{font-size:13px}
.contact-icon{display:inline-flex;align-items:center;justify-content:center;width:17px;height:17px;vertical-align:-3px;margin-right:3px;text-decoration:none}
.mail-icon{font-weight:800;color:#005ff9}.telegram-icon{color:#239bd7}
.viewer-signature{display:inline-flex;align-items:center;justify-content:center;pointer-events:none}
.viewer-signature img{max-width:100%;max-height:100%}

.price-strip>[data-price-tier]>strong{white-space:nowrap}
.price-strip>[data-price-tier]>strong .price-unit{display:inline;margin-inline-start:.3em;font-size:max(16px,.84em);color:#3f3f3f;font-weight:600;letter-spacing:normal;white-space:nowrap}
.phone-layout .price-strip>[data-price-tier]>strong{display:flex;flex-wrap:wrap;align-items:baseline;gap:0 .3em;max-width:100%}
.phone-layout .price-strip>[data-price-tier]>strong .price-unit{margin-inline-start:0;font-size:15px}
#viewerCartSummary{display:none}
.phone-layout #viewerCartSummary:not([hidden]){display:flex;flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:2px 9px;max-width:100%;color:#eee;font-size:12px;text-align:right}
.phone-layout #viewerCartOpen{background:transparent;color:#fff;font-size:inherit;line-height:1.2;padding:6px 0;text-decoration:underline;text-underline-offset:3px}
.phone-landscape .viewer-controls{flex-direction:column;align-items:flex-end;gap:3px}

html:not(.phone-layout) .gallery-toolbar{justify-content:flex-start;flex-wrap:wrap}
html:not(.phone-layout) .gallery-toolbar .gallery-actions{order:-1;width:auto;justify-content:flex-start;flex-wrap:wrap;gap:8px 12px}
html:not(.phone-layout) .gallery-toolbar #galleryControls:not([hidden]){display:flex}
html:not(.phone-layout) .gallery-toolbar #galleryControls button.desktop-grid-button,
html:not(.phone-layout) .gallery-toolbar #clearSelection{
  min-height:42px;
  padding:8px 14px;
  font-size:15px;
  font-weight:600;
  line-height:1.2;
  white-space:nowrap;
}
html:not(.phone-layout) .gallery-toolbar #clearSelection{color:#444;border:1px solid #ddd;border-radius:5px}
html:not(.phone-layout) .gallery-toolbar #clearSelection:hover{color:var(--red);border-color:currentColor}

.phone-layout .price-strip > [data-price-tier] > strong .price-unit { display: none; }
