:root{--v2-orange:#f04b17;--v2-yellow:#f7b72d;--v2-blue:#4162c8;--v2-green:#63735c;--v2-pink:#c99391;--v2-ivory:#ded9cd;--v2-black:#111}
.theme-v2{background:#e8e8ec;color:var(--v2-black);overflow-x:clip}
.theme-v2 .page-shell{width:min(1840px,calc(100% - 32px));margin:16px auto;overflow-x:clip}
.theme-v2 .logo-mark img{display:block;width:28px;height:37px}
.theme-v2 .footer-brand .logo-mark{display:block;width:28px;height:37px;overflow:hidden;color:transparent;font-size:0;background:url("assets/lepyu-logo.svg") center/contain no-repeat;filter:invert(1)}
.theme-v2 .directions,.theme-v2 .works,.theme-v2 .materials{padding-top:112px}
.theme-v2 .section-lead{padding:0 34px 52px;align-items:end}
.theme-v2 .section-lead h2{max-width:1240px;font-size:clamp(50px,5vw,92px);font-weight:600;line-height:.92;letter-spacing:-.065em}
.theme-v2 .accent-orange{color:var(--v2-orange)}.theme-v2 .accent-yellow{color:#df9500}.theme-v2 .accent-blue{color:var(--v2-blue)}.theme-v2 .accent-green{color:var(--v2-green)}.theme-v2 .accent-pink{color:#a96f70}
:is(.theme-v2 .heat-outline,.product-page .order-cta){--heat:linear-gradient(110deg,#f7b72d 0%,#f04b17 38%,#c33172 72%,#4162c8 100%);min-height:56px;border-radius:999px;font-weight:700;box-shadow:inset 0 0 0 1px rgba(255,255,255,.92),inset 0 0 22px rgba(247,183,45,.14),0 8px 24px rgba(240,75,23,.08);transition:transform .2s ease,box-shadow .25s ease}
@media (hover:hover) and (pointer:fine){:is(.theme-v2 .heat-outline:not(.messenger-link),.product-page .order-cta):hover{transform:translateY(-2px);box-shadow:inset 0 0 0 1px rgba(255,255,255,.96),inset 0 0 30px rgba(247,183,45,.22),0 12px 30px rgba(240,75,23,.14)}}
.theme-v2 .category-grid{grid-template-columns:repeat(6,1fr);gap:8px}
.theme-v2 .category-card,.theme-v2 .category-card--wide{grid-column:span 2;min-height:610px;border:1px solid #e1e1e1;border-radius:36px;background:#fff;isolation:isolate}
.theme-v2 .category-card:before{display:none}
.theme-v2 .category-card>img{inset:13% 13% 30%;z-index:1;width:74%;height:57%;object-fit:contain;filter:grayscale(1) contrast(1.35);mix-blend-mode:multiply;transition:opacity .18s ease,transform .7s cubic-bezier(.2,.7,.2,1),filter .32s ease}
.theme-v2 .category-card:focus-within>img{filter:none;mix-blend-mode:normal}@media (hover:hover) and (pointer:fine){.theme-v2 .category-card:hover>img{filter:none;mix-blend-mode:normal}}
.theme-v2 .category-card:after{display:none}.theme-v2 .category-chip{top:24px;left:24px;z-index:2;background:#111;color:#fff;font-weight:600}
.theme-v2 .category-meta{z-index:2;left:28px;right:28px;bottom:26px}.theme-v2 .category-meta h3,.theme-v2 .category-card:not(.category-card--wide) .category-meta h3{max-width:100%;margin-bottom:20px;font-size:clamp(34px,2.8vw,54px);font-weight:650;line-height:.92;letter-spacing:-.055em}.theme-v2 .category-meta a{border:1px solid #111;background:#fff;font-weight:700}@media (hover:hover) and (pointer:fine){.theme-v2 .category-meta a:hover{background:#111;color:#fff}}
.theme-v2 .gallery-dots button{background:rgba(0,0,0,.25)}.theme-v2 .gallery-dots button.active{background:#111}
.theme-v2 .section-title{padding:0 34px 38px;align-items:end}.theme-v2 .section-title h2{font-size:clamp(70px,7vw,126px);font-weight:600;letter-spacing:-.075em}.theme-v2 .section-title span{max-width:260px;text-align:right;font-size:16px;color:#111}
.theme-v2 .section-title--catalog{align-items:flex-end;gap:32px}.theme-v2 .section-actions{display:flex;flex-direction:column;align-items:flex-end;gap:14px;padding-bottom:8px}.theme-v2 .catalog-link{display:inline-flex;align-items:center;justify-content:center;min-height:58px;padding:0 28px;border:1px solid #111;border-radius:999px;background:var(--v2-orange);color:#111;text-decoration:none;font-size:16px;font-weight:800;box-shadow:0 4px 0 #111;transition:background .2s,color .2s,transform .2s,box-shadow .2s}@media (hover:hover) and (pointer:fine){.theme-v2 .catalog-link:hover{background:#111;color:#fff;box-shadow:0 4px 0 var(--v2-orange);transform:translateY(-2px)}}
.theme-v2 .works-grid{gap:8px}.theme-v2 .works figure{position:relative;overflow:hidden;border:1px solid #e1e1e1;border-radius:36px;background:#fff}
.theme-v2 .works figure:before{content:"";position:absolute;z-index:0;top:24px;right:24px;width:18px;height:18px;border-radius:50%;background:var(--v2-orange)}.theme-v2 .works figure:nth-child(2):before{background:var(--v2-blue)}.theme-v2 .works figure:nth-child(3):before{background:var(--v2-pink)}
.theme-v2 .works figure img{position:relative;z-index:1;aspect-ratio:1.12;object-fit:contain;padding:9%;filter:grayscale(1) contrast(1.2);mix-blend-mode:multiply;transition:filter .3s ease,transform .4s ease}@media (hover:hover) and (pointer:fine){.theme-v2 .works figure:hover img{filter:none;transform:scale(1.025)}}.theme-v2 .works figcaption{position:relative;z-index:2;align-items:flex-end;padding:24px 28px 30px;border-top:1px solid #e8e8e8}.theme-v2 .works figcaption b{max-width:70%;font-size:30px;line-height:.95;letter-spacing:-.035em}.theme-v2 .works figcaption span{color:#111;font-weight:650}
.theme-v2 .works figure>a{display:block;color:inherit;text-decoration:none}.theme-v2 .works figure:first-child img{filter:none;mix-blend-mode:normal;padding:0;object-fit:cover}
.theme-v2 .materials-head{grid-template-columns:1fr 4fr;padding:0 34px 48px}.theme-v2 .materials-head h2{font-size:clamp(60px,6vw,110px);font-weight:600;line-height:.89}.theme-v2 .materials-layout{gap:8px}
.theme-v2 .materials-visual{min-height:760px;border-radius:36px;background:var(--v2-yellow)}.theme-v2 .materials-visual img{object-fit:contain;padding:12%;filter:grayscale(1) contrast(2) brightness(.05);mix-blend-mode:multiply}.theme-v2 .materials-visual p{font-size:32px;font-weight:650;line-height:1}
.theme-v2 .materials-options{gap:8px}.theme-v2 .materials-options article{border-radius:36px;background:var(--v2-orange);color:#111}.theme-v2 .materials-options article:nth-child(2){background:var(--v2-blue)}.theme-v2 .materials-options article:nth-child(3){background:var(--v2-green)}.theme-v2 .materials-options article:nth-child(4){background:var(--v2-pink)}.theme-v2 .materials-options article>span,.theme-v2 .materials-options p{color:#111}.theme-v2 .materials-options h3{font-size:48px;font-weight:650;letter-spacing:-.055em}.theme-v2 .materials-note{margin:28px 34px 0;color:#111;font-size:17px}
.theme-v2 .faq{grid-template-columns:.7fr 1.3fr;gap:80px;padding:130px 34px 0}.theme-v2 .faq-intro h2{font-size:clamp(70px,7vw,122px);font-weight:600;line-height:.86}.theme-v2 .faq-intro p{color:#111}.theme-v2 .faq-list{border-color:#111}.theme-v2 .faq-list details{border-color:#111}.theme-v2 .faq-list summary{padding:30px 0;font-size:28px;font-weight:600;letter-spacing:-.025em}.theme-v2 .faq-list details[open]{padding-inline:24px;background:var(--v2-yellow);border-radius:24px}.theme-v2 .faq-list details p{color:#111}
.theme-v2 .request-card{margin-top:130px;border-radius:40px;background:#111;color:#fff;box-shadow:none}.theme-v2 .request-card:before,.theme-v2 .request-card:after{display:none}.theme-v2 .request-visual{border-radius:30px;background:var(--v2-orange)}.theme-v2 .request-visual:after{background:linear-gradient(to bottom,transparent,rgba(0,0,0,.78))}.theme-v2 .request-visual .logo-mark{color:#111}.theme-v2 .request-form input,.theme-v2 .request-form textarea{background:#222;border-color:#666;color:#fff}.theme-v2 .request-form input::placeholder,.theme-v2 .request-form textarea::placeholder{color:#aaa}.theme-v2 .file-field{border-color:#777}.theme-v2 .consent,.theme-v2 .form-status{color:#bbb}
.theme-v2 .request-form button{border:2px solid transparent;background:linear-gradient(#171717,#171717) padding-box,linear-gradient(110deg,#f7b72d 0%,#f04b17 38%,#c33172 72%,#4162c8 100%) border-box;color:#fff;box-shadow:inset 0 0 22px rgba(247,183,45,.13),0 10px 30px rgba(240,75,23,.10)}
@media (hover:hover) and (pointer:fine){.theme-v2 .request-form button:hover{background:linear-gradient(#202020,#202020) padding-box,linear-gradient(110deg,#f7b72d 0%,#f04b17 38%,#c33172 72%,#4162c8 100%) border-box;color:#fff;box-shadow:inset 0 0 30px rgba(247,183,45,.2),0 14px 34px rgba(240,75,23,.15)}}
.theme-v2 .messenger-link{border:1px solid rgba(255,255,255,.28);background:#171717;color:#fff;box-shadow:inset 0 0 18px rgba(255,255,255,.08)}.theme-v2 .messenger-link:before,.theme-v2 .messenger-link:after{display:none}@media (hover:hover) and (pointer:fine){.theme-v2 .messenger-link:hover{border-color:rgba(255,255,255,.48);background:#242424;color:#fff;box-shadow:inset 0 0 24px rgba(255,255,255,.14)}}
.theme-v2 .site-footer{grid-template-columns:2fr 1fr 1fr 1fr;margin-top:16px;padding:72px 54px 44px;border:0;border-radius:40px;background:#111;color:#fff}.theme-v2 .site-footer .logo-mark,.theme-v2 .site-footer a{color:#fff}.theme-v2 .footer-brand span,.theme-v2 .footer-contact span{color:#aaa}
@media(max-width:1000px){.theme-v2 .page-shell{width:calc(100% - 20px);margin:10px auto}.theme-v2 .category-grid{grid-template-columns:repeat(2,1fr)}.theme-v2 .category-card,.theme-v2 .category-card--wide{grid-column:span 1;min-height:560px}.theme-v2 .category-grid .category-card:last-child{grid-column:1/-1}.theme-v2 .works-grid{grid-template-columns:1fr 1fr}.theme-v2 .works figure:last-child{grid-column:1/-1}.theme-v2 .faq{grid-template-columns:1fr}}
@media(max-width:620px){.theme-v2 .directions,.theme-v2 .works,.theme-v2 .materials{padding-top:86px}.theme-v2 .section-lead{display:block;padding:0 10px 34px}.theme-v2 .section-lead h2{font-size:48px}.theme-v2 .section-lead .heat-outline{margin-top:28px}.theme-v2 .category-grid{display:flex;gap:8px;overflow-x:auto;scroll-snap-type:x mandatory}.theme-v2 .category-card,.theme-v2 .category-card--wide,.theme-v2 .category-grid .category-card:last-child{flex:0 0 84vw;min-height:520px;margin:0;scroll-snap-align:center;border-radius:28px}.theme-v2 .gallery-hint{text-align:left;margin-left:10px}.theme-v2 .section-title{display:block;padding:0 10px 28px}.theme-v2 .section-title h2{font-size:58px}.theme-v2 .section-actions{align-items:flex-start;margin-top:20px}.theme-v2 .section-title span{display:block;margin:0;text-align:left}.theme-v2 .catalog-link{min-height:46px;padding-inline:20px}.theme-v2 .works-grid{display:flex;overflow-x:auto;gap:8px;scroll-snap-type:x mandatory}.theme-v2 .works figure,.theme-v2 .works figure:last-child{flex:0 0 84vw;scroll-snap-align:center}.theme-v2 .materials-head{display:block;padding:0 10px 30px}.theme-v2 .materials-head h2{font-size:52px}.theme-v2 .materials-visual{min-height:500px}.theme-v2 .materials-options article{flex-basis:84vw}.theme-v2 .request-card{margin-top:96px}.theme-v2 .request-visual{background:var(--v2-orange)}}

/* Keep the theme-v2 overrides inside the same typography scale. */
.theme-v2 .section-lead h2,.theme-v2 .section-title h2,.theme-v2 .materials-head h2,.theme-v2 .faq-intro h2{font-size:var(--type-section)}
.theme-v2 .category-meta h3,.theme-v2 .category-card:not(.category-card--wide) .category-meta h3,.theme-v2 .materials-options h3{font-size:var(--type-card)}
@media(max-width:620px){.theme-v2 .section-lead h2,.theme-v2 .section-title h2,.theme-v2 .materials-head h2,.theme-v2 .faq-intro h2{font-size:42px}.theme-v2 .category-meta h3,.theme-v2 .category-card:not(.category-card--wide) .category-meta h3,.theme-v2 .materials-options h3{font-size:28px}}

@media(max-width:620px){
  .theme-v2 .site-footer{
    grid-template-columns:minmax(0,1fr) minmax(0,1.25fr);
    gap:24px 16px;
    padding:24px 20px;
    border-radius:28px;
    font-size:14px;
    line-height:1.4;
  }
  .theme-v2 .footer-brand,
  .theme-v2 .footer-contact{grid-column:1/-1}
  .theme-v2 .footer-brand .logo-mark{width:44px;height:58px}
  .theme-v2 .footer-brand p{margin:12px 0 4px;font-size:15px;line-height:1.35}
  .theme-v2 .site-footer nav{gap:8px;overflow-wrap:anywhere}
  .theme-v2 .site-footer b{margin-bottom:2px}
  .theme-v2 .footer-contact{flex-flow:row wrap;align-items:baseline;gap:8px 16px}
  .theme-v2 .footer-contact b,
  .theme-v2 .footer-contact span{flex-basis:100%;margin:0}

  .theme-v2 .faq{padding:56px 10px 0}
  .theme-v2 .faq-intro h2{margin:10px 0 12px;font-size:52px;line-height:.89}
  .theme-v2 .faq-intro p{margin:0;font-size:16px;line-height:1.4}
  .theme-v2 .faq-list{margin-top:20px}
  .theme-v2 .faq-list summary{
    align-items:center;
    gap:12px;
    min-height:48px;
    padding:12px 0;
    font-size:17px;
    line-height:1.25;
  }
  .theme-v2 .faq-list details[open]{padding-inline:14px}
  .theme-v2 .faq-list details p{margin:0 0 14px}

  .product-page .hero-order.order-cta{display:none}
  :is(.theme-v2 .hero-minimal-copy .heat-outline,.product-page .nav-cta.order-cta).has-reached-request{visibility:hidden}
  .product-page .nav-cta.order-cta{justify-self:stretch;font-size:14px}

  /* Let the fixed CTA stack above the scrolling page, including the hero tiles. */
  .theme-v2 .hero-card{isolation:auto}
  .theme-v2 .hero-minimal-copy{z-index:auto}
  :is(.theme-v2 .hero-minimal-copy .heat-outline,.product-page .nav-cta.order-cta){
    position:fixed;
    z-index:60;
    left:18px;
    right:18px;
    bottom:max(12px,env(safe-area-inset-bottom));
    width:auto;
    min-height:54px;
    margin:0;
    justify-content:center;
    background:rgba(255,255,255,.94);
    backdrop-filter:blur(18px);
    -webkit-backdrop-filter:blur(18px);
    box-shadow:inset 0 0 0 1px rgba(255,255,255,.96),inset 0 0 28px rgba(247,183,45,.2),0 12px 36px rgba(0,0,0,.16);
    animation:mobile-cta-glow 5.6s ease-in-out infinite;
  }
  :is(.theme-v2 .hero-minimal-copy .heat-outline,.product-page .nav-cta.order-cta):before{animation:heat-flow 5.6s ease-in-out infinite}
}

@keyframes mobile-cta-glow{
  0%,72%,100%{box-shadow:inset 0 0 0 1px rgba(255,255,255,.96),inset 0 0 22px rgba(247,183,45,.13),0 12px 36px rgba(0,0,0,.14)}
  84%{box-shadow:inset 0 0 0 1px rgba(255,255,255,.98),inset 0 0 34px rgba(240,75,23,.25),0 12px 38px rgba(195,49,114,.18)}
}

@media(prefers-reduced-motion:reduce){
  :is(.theme-v2 .hero-minimal-copy .heat-outline,.product-page .nav-cta.order-cta),
  :is(.theme-v2 .hero-minimal-copy .heat-outline,.product-page .nav-cta.order-cta):before{animation:none}
}

/* ===== Главная: горизонтальные ленты «Популярное на заказ» и «Популярное в магазине» ===== */
.theme-v2 .category-grid,.theme-v2 .works-grid{display:flex;gap:22px;overflow-x:auto;overscroll-behavior-x:contain;scroll-snap-type:x mandatory;scrollbar-width:none;-webkit-overflow-scrolling:touch}
.theme-v2 .category-grid::-webkit-scrollbar,.theme-v2 .works-grid::-webkit-scrollbar{display:none}
.theme-v2 .category-grid>.category-card,.theme-v2 .category-grid>.category-card--wide{flex:0 0 min(540px,38vw);min-height:640px;margin:0;scroll-snap-align:start}
.theme-v2 .works-grid>figure,.theme-v2 .works-grid>figure:last-child{flex:0 0 min(440px,30vw);margin:0;scroll-snap-align:start}
.theme-v2 .works figure:nth-child(4):before{background:var(--v2-green)}
.theme-v2 .works figure:nth-child(5):before{background:var(--v2-yellow)}
.theme-v2 .works figure:nth-child(6):before{background:var(--v2-blue)}
.theme-v2 .section-actions{flex-direction:row;align-items:center;gap:12px}
.rail-arrows{display:flex;gap:8px}
.rail-arrow{display:grid;place-items:center;width:56px;height:56px;padding:0;border:1px solid #111;border-radius:50%;background:#fff;color:#111;font:500 22px/1 Inter,system-ui,sans-serif;cursor:pointer;transition:background .2s,color .2s,opacity .2s}
@media (hover:hover) and (pointer:fine){.rail-arrow:hover:not(:disabled){background:#111;color:#fff}}
.rail-arrow:disabled{opacity:.28;cursor:default}
@media(max-width:620px){
  .rail-arrows{display:none}
  .theme-v2 .category-grid,.theme-v2 .works-grid{gap:8px}
  .theme-v2 .category-grid>.category-card,.theme-v2 .category-grid>.category-card--wide{flex-basis:84vw;min-height:520px;scroll-snap-align:center}
  .theme-v2 .works-grid>figure,.theme-v2 .works-grid>figure:last-child{flex-basis:84vw;scroll-snap-align:center}
}

/* ===== «Популярное в магазине»: три состояния фото при наведении (серое → цветное → в жизни) =====
   Карточка с data-images="серое|цветное|живое" получает класс gallery-card; фото меняются по положению курсора
   (скрипт в concept-v3.js). Фото уже цветные, поэтому серый фильтр для таких карточек выключен. */
.theme-v2 .works figure.gallery-card img{filter:none;mix-blend-mode:normal;padding:0;object-fit:cover;transition:opacity .12s ease}
@media (hover:hover) and (pointer:fine){.theme-v2 .works figure.gallery-card:hover img{transform:none}}
.theme-v2 .works figure.gallery-card:before{display:none}
.theme-v2 .works figure.gallery-card .gallery-dots{top:24px;right:24px}
/* Third photo in «Популярное на заказ» is a lifestyle shot: fill the whole card instead of the small product frame */
.theme-v2 .category-card[data-state="2"]>img{inset:0;width:100%;height:100%;object-fit:cover;filter:none;mix-blend-mode:normal}
/* Блок «Материалы»: вместо фото — бесформенная фигура цвета карточки, чуть темнее */
.theme-v2 .materials-blob{position:absolute;inset:12% 12% 22%;width:76%;height:66%;fill:color-mix(in srgb,var(--v2-yellow) 88%,#000)}
