.recipes-page{padding-bottom:48px;position:relative;z-index:0;overflow-x:hidden;--recipes-gap-title-crumbs:15px;--recipes-gap-crumbs-content:40px;--recipes-gap-after-banner:30px}
.recipes-detail{--recipes-gap-title-crumbs:15px;--recipes-gap-crumbs-content:40px}
.recipes-page--hero-full{overflow-x:visible}
.recipes-page__inner{padding-top:0}
.recipes-page .maxwidth-theme.recipes-page__breadcrumbs{padding-top:var(--recipes-gap-title-crumbs);padding-bottom:var(--recipes-gap-crumbs-content);padding-left:var(--theme-page-width-padding,16px);padding-right:var(--theme-page-width-padding,16px);margin:0;box-sizing:border-box}
.recipes-page__breadcrumbs .breadcrumbs,.recipes-page__breadcrumbs #navigation{margin:0}
.recipes-page--with-banner .maxwidth-theme.recipes-page__breadcrumbs{padding-top:var(--recipes-gap-after-banner)}

#content:has(.recipes-page__breadcrumbs)>.top-block-wrapper #navigation{display:none!important}

#content:has(.recipes-page:not(.recipes-page--landing))>.top-block-wrapper .page-top,
#content:has(.recipes-detail)>.top-block-wrapper .page-top{display:flex;flex-direction:column;padding-top:30px;min-height:56px}
#content:has(.recipes-page:not(.recipes-page--landing))>.top-block-wrapper .page-top>.topic,
#content:has(.recipes-detail)>.top-block-wrapper .page-top>.topic{order:1;padding:42px 0 0!important}
#content:has(.recipes-page:not(.recipes-page--landing))>.top-block-wrapper .page-top>#navigation,
#content:has(.recipes-detail)>.top-block-wrapper .page-top>#navigation{order:2;padding:15px 0 40px!important}
#content:has(.recipes-page:not(.recipes-page--landing))>.top-block-wrapper .topic__heading,
#content:has(.recipes-detail)>.top-block-wrapper .topic__heading{margin:0}

#content:has(.recipes-page--landing) > .top-block-wrapper{display:none}

body.recipes-hero-banner #content > .top-block-wrapper{display:none!important}
body.recipes-hero-banner .wrapper1.half_header .top_slider_wrapp{margin:0}
body.recipes-hero-banner .wrapper1.half_header header > .header-wrapper{z-index:5}
body.recipes-hero-banner .middle > .container{width:100%;max-width:100%;padding-left:0;padding-right:0}
body.recipes-hero-banner .middle > .container > .container_inner{max-width:100%}

.recipes-banner{position:relative;min-height:360px;overflow:hidden;z-index:1;width:100%;max-width:100%;margin:0;background:#1a1a1a}
.recipes-banner__media-picture{display:block;width:100%;height:360px;overflow:hidden}
.recipes-banner__media{width:100%;height:360px;object-fit:cover;display:block;max-width:100%}
.recipes-banner picture{display:block;width:100%;height:100%}
.recipes-banner__media--image{background:none}
.recipes-banner__overlay{position:absolute;inset:0;z-index:1;background:linear-gradient(90deg,rgba(0,0,0,.55) 0%,rgba(0,0,0,.25) 45%,rgba(0,0,0,.05) 100%);pointer-events:none}
.recipes-banner__content{position:absolute;inset:0;z-index:2;display:flex;align-items:center;justify-content:center;pointer-events:none;background:none!important;background-color:transparent!important}
.recipes-banner__content-inner{width:100%;max-width:1440px;padding:0 var(--theme-page-width-padding,16px);box-sizing:border-box;display:flex;flex-direction:column;justify-content:center;align-items:flex-start}
.recipes-banner__title{margin:0 0 12px;color:#fff;font-size:clamp(28px,3vw,40px);font-weight:700;line-height:1.15;max-width:640px}
.recipes-banner__text{margin:0;color:#fff;font-size:clamp(15px,1.6vw,18px);line-height:1.45;max-width:560px;opacity:.95}

.recipes-page--hero-full{--recipes-hero-header-offset:112px;margin-top:calc(-1 * var(--recipes-hero-header-offset));position:relative;z-index:1}
.recipes-page--hero-full .recipes-banner--hero-full{
  width:100vw;
  max-width:none;
  position:relative;
  left:50%;
  transform:translateX(-50%);
  min-height:560px;
  border-radius:0
}
.recipes-page--hero-full .recipes-banner__media{height:560px;object-fit:cover;object-position:center}
.recipes-page--hero-full .recipes-banner__content{align-items:stretch}
.recipes-page--hero-full .recipes-banner__content-inner{
  min-height:560px;
  padding-top:calc(var(--recipes-hero-header-offset) + 28px);
  padding-bottom:56px;
  justify-content:flex-end;
  box-sizing:border-box
}
.recipes-page--hero-full .recipes-banner__overlay{
  background:linear-gradient(90deg,rgba(0,0,0,.58) 0%,rgba(0,0,0,.22) 45%,rgba(0,0,0,.08) 100%)
}
.recipes-page--hero-full .recipes-banner--dark-bg .recipes-banner__overlay{
  background:
    linear-gradient(180deg,rgba(255,255,255,.92) 0%,rgba(255,255,255,.62) 16%,rgba(255,255,255,.18) 40%,rgba(255,255,255,0) 54%),
    linear-gradient(90deg,rgba(0,0,0,.52) 0%,rgba(0,0,0,.2) 42%,rgba(0,0,0,.04) 100%)
}
body.recipes-hero-banner .middle > .container{padding-top:0}

@media (min-width:992px){
  .recipes-page--hero-full .recipes-banner--hero-full{min-height:560px}
  .recipes-page--hero-full .recipes-banner__media{height:560px}
}

.recipes-detail{padding:0 0 48px;overflow-x:hidden;--recipes-accent:#6ec1e4}
.recipes-filters{margin:0 0 24px}
.recipes-filters--compact .recipes-filters__bar{display:flex;flex-direction:row;flex-wrap:nowrap;align-items:center;gap:12px}
.recipes-filters__select{height:40px;padding:0 34px 0 14px;border:1px solid #ddd;border-radius:8px;font-size:14px;background:#fff;color:#111;appearance:none;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23666' d='M1 1l5 5 5-5'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 12px center;cursor:pointer}
.recipes-filters__field{position:relative;flex:1 1 0;min-width:0;display:flex;align-items:center}
.recipes-filters__field .recipes-filters__select{width:100%;flex:1 1 auto;min-width:0;box-sizing:border-box}
.recipes-filters__field--active .recipes-filters__select{padding-right:44px;background-image:none}
.recipes-filters__clear[hidden]{display:none!important}
.recipes-filters__clear{position:absolute;top:50%;right:10px;z-index:2;display:flex;align-items:center;justify-content:center;width:24px;height:24px;margin:0;padding:0;border:1px solid #ececec;border-radius:50%;background:#fff;color:#555;font-size:15px;line-height:1;box-shadow:0 2px 8px rgba(0,0,0,.08);transform:translateY(-50%);cursor:pointer;transition:border-color .15s,box-shadow .15s,color .15s}
.recipes-filters__clear:hover{border-color:#ddd;color:#111;box-shadow:0 4px 12px rgba(0,0,0,.12)}
.recipes-filters__select--active{border-color:#6ec1e4;background-color:#f0f9fd;font-weight:500}
.recipes-filters__select option:disabled{color:#bbb}
.recipes-filters__search{display:flex;gap:8px;flex:1.4 1 0;min-width:180px;margin-left:0}
.recipes-filters__search input{flex:1;min-height:40px;padding:0 14px;border:1px solid #ddd;border-radius:8px;font-size:14px;min-width:0}
.recipes-filters__search button{min-height:40px;padding:0 18px;border:0;border-radius:8px;background:#111;color:#fff;font-size:14px;white-space:nowrap;flex-shrink:0;cursor:pointer}
.recipes-lazy-status{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;margin:28px 0 8px;padding:8px 0 16px;color:#666;font-size:14px;text-align:center}
.recipes-lazy-status__loader{display:inline-block;width:28px;height:28px;border:2px solid #ddd;border-top-color:#111;border-radius:50%;animation:recipes-lazy-spin .7s linear infinite}
.recipes-lazy-status__loader[hidden]{display:none}
@keyframes recipes-lazy-spin{to{transform:rotate(360deg)}}

.recipes-tiles,.recipes-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:20px}
.recipes-tile{display:block;border-radius:12px;overflow:hidden;background:#fff;border:1px solid #ececec;text-decoration:none;color:inherit;transition:box-shadow .15s,border-color .15s}
.recipes-tile:hover{box-shadow:0 8px 24px rgba(0,0,0,.08);border-color:#ddd}
.recipes-card{position:relative;display:block;border-radius:12px;overflow:hidden;background:#fff;border:1px solid #ececec;text-decoration:none;color:inherit;transition:box-shadow .15s,border-color .15s}
.recipes-card:hover{box-shadow:0 8px 24px rgba(0,0,0,.08);border-color:#ddd}
.recipes-tile__image,.recipes-card__image{display:block;width:100%;aspect-ratio:1/1;background:#ececec center/cover no-repeat;overflow:hidden;border-radius:12px 12px 0 0}
.recipes-tile__image img,.recipes-card__image img{width:100%;height:100%;object-fit:cover;display:block}
.recipes-tile__image{border-radius:12px 12px 0 0}
.recipes-tile__image--placeholder,.recipes-card__image--placeholder{background-color:#ececec;background-image:linear-gradient(135deg,rgba(255,255,255,.55) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.55) 50%,rgba(255,255,255,.55) 75%,transparent 75%,transparent);background-size:24px 24px}
.recipes-tile__title{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 14px;font-weight:600;font-size:15px;line-height:1.3;background:#fff;border-top:1px solid #f0f0f0}
.recipes-tile__name{flex:1;min-width:0;word-break:break-word}
.recipes-tile__count{flex-shrink:0;font-size:14px;font-weight:500;color:#888;line-height:1.2}
.recipes-card__title{display:block;padding:12px 14px;font-weight:600;font-size:15px;line-height:1.3;word-break:break-word;background:#fff;border-top:1px solid #f0f0f0}
.recipes-card__link{display:block;color:inherit;text-decoration:none}

.recipes-favorite-btn{border:0;border-radius:50%;background:rgba(255,255,255,.92);cursor:pointer;font-size:18px;line-height:1;padding:0}
.recipes-favorite-btn--card{position:absolute;top:10px;right:10px;width:36px;height:36px}
.recipes-favorite-btn--inline{position:static;flex:0 0 36px;width:36px;height:36px;box-shadow:0 1px 4px rgba(0,0,0,.12)}
.recipes-favorite-btn.is-active{color:#e53935}

.recipes-detail__hero{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:28px 40px;margin:0 0 40px;align-items:stretch}
.recipes-detail__media{position:relative;width:100%;aspect-ratio:1/1;border-radius:16px;overflow:hidden;background:#111}
.recipes-detail__player{position:relative;width:100%;height:100%;background:#000}
.recipes-detail__media img,.recipes-detail__media video,.recipes-detail__vk-embed,.recipes-detail__vk-video{width:100%;height:100%;max-width:100%;border-radius:16px;display:block;border:0;object-fit:cover}
.recipes-detail__media--video .recipes-detail__vk-video{object-fit:contain;background:#000}
.recipes-detail__media--video .recipes-detail__vk-embed{position:absolute;inset:0;width:178%;height:100%;max-width:none;left:50%;transform:translateX(-50%);object-fit:cover;border-radius:0}
.recipes-detail__player-title{position:absolute;left:0;right:0;bottom:0;z-index:5;padding:32px 16px 14px;background:linear-gradient(to top,rgba(0,0,0,.78),rgba(0,0,0,0));color:#fff;font-size:18px;font-weight:700;line-height:1.25;pointer-events:none;text-shadow:0 1px 2px rgba(0,0,0,.35)}
.recipes-detail__player-shield{position:absolute;left:0;right:0;bottom:0;z-index:4;height:38%;pointer-events:auto;background:transparent}
.recipes-detail__media--native .recipes-detail__player-shield{display:none}
.recipes-detail__aside{min-width:0;max-width:100%}
.recipes-detail__toolbar{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;margin:0 0 16px;flex-wrap:wrap}
.recipes-detail__toolbar-main{display:flex;align-items:center;gap:12px;flex:1 1 280px;min-width:0;flex-wrap:wrap}
.recipes-detail__toolbar-actions{display:flex;align-items:center;gap:12px;flex-shrink:0;margin-left:auto}
.recipes-detail__device-picker{position:relative;flex:1 1 220px;min-width:180px;max-width:360px}
.recipes-detail__device-toggle{display:flex;align-items:center;gap:10px;width:100%;min-height:44px;padding:6px 12px;border:1px solid #ddd;border-radius:10px;background:#fff;color:#111;font-size:14px;text-align:left;cursor:pointer}
.recipes-detail__device-thumb{flex:0 0 32px;width:32px;height:32px;border-radius:6px;overflow:hidden;background:#f3f3f3;display:flex;align-items:center;justify-content:center}
.recipes-detail__device-thumb img{width:100%;height:100%;object-fit:contain;display:block}
.recipes-detail__device-name{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.recipes-detail__device-chevron{flex:0 0 10px;width:10px;height:10px;border-right:2px solid #666;border-bottom:2px solid #666;transform:rotate(45deg);margin-top:-4px}
.recipes-detail__device-menu{position:absolute;z-index:20;top:calc(100% + 6px);left:0;right:0;max-height:280px;overflow:auto;border:1px solid #ddd;border-radius:10px;background:#fff;box-shadow:0 12px 32px rgba(0,0,0,.12)}
.recipes-detail__device-option{display:flex;align-items:center;gap:10px;width:100%;padding:10px 12px;border:0;background:#fff;color:#111;font-size:14px;text-align:left;cursor:pointer}
.recipes-detail__device-option:hover,.recipes-detail__device-option.is-active{background:#f7fbfd}
.recipes-detail__device-more{border:0;background:none;padding:0;color:#666;font-size:14px;text-decoration:underline;cursor:pointer;white-space:nowrap}
.recipes-detail__device-more:hover{color:#111}
.recipes-detail__download-link{display:inline-flex;align-items:center;gap:8px;color:#111;text-decoration:none;font-size:14px;font-weight:500;white-space:nowrap}
.recipes-detail__download-link svg{width:18px;height:18px}
.recipes-detail__download-link:hover{color:#333}
.recipes-detail__short{margin:0 0 14px;color:#444;line-height:1.55;font-size:15px}
.recipes-detail__time{display:flex;align-items:center;gap:8px;margin:0 0 18px;color:#111;font-size:15px}
.recipes-detail__time-icon{width:20px;height:20px;flex-shrink:0;color:#111}
.recipes-detail__ingredients{margin:0 0 22px}
.recipes-detail__ingredients h2,.recipes-detail__preparation h2{margin:0 0 12px;font-size:22px;font-weight:700;line-height:1.2;color:var(--recipes-accent)}
.recipes-detail__ingredients ul{margin:0;padding-left:18px}
.recipes-detail__ingredients li{margin:0 0 6px;line-height:1.45;color:#333}
.recipes-detail__ingredients--cols ul{columns:2;gap:24px}
.recipes-detail__ingredients--cols li{break-inside:avoid}
.recipes-detail__preparation{margin:0}
.recipes-detail__text{line-height:1.6;color:#333}
.recipes-detail__text ol,.recipes-detail__text ul{margin:0;padding-left:20px}
.recipes-detail__text li{margin:0 0 8px}
.recipes-detail__similar{margin:0 0 40px}
.recipes-detail__similar-title{margin:0 0 20px;font-size:28px;font-weight:700;line-height:1.15;color:#111}
.recipes-detail__similar-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}
.recipes-similar-card{display:block;text-decoration:none;color:inherit}
.recipes-similar-card__image{display:block;width:100%;aspect-ratio:4/3;border-radius:12px;overflow:hidden;background:#ececec}
.recipes-similar-card__image img{width:100%;height:100%;object-fit:cover;display:block}
.recipes-similar-card__image--placeholder{background:linear-gradient(135deg,#ececec 25%,#f8f8f8 50%,#ececec 75%)}
.recipes-similar-card__title{display:block;margin-top:12px;font-size:16px;font-weight:600;line-height:1.35;color:#111}
.recipes-detail__products{margin:0 0 24px}
.recipes-detail__products h2{margin:0 0 16px;font-size:22px;font-weight:700;color:#111}
.recipes-detail__products-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}
.recipes-product-card{display:block;text-align:center;text-decoration:none;color:inherit}
.recipes-product-card img{width:100%;max-width:160px;margin:0 auto;aspect-ratio:1/1;object-fit:contain}
.recipes-product-card span{display:block;margin-top:8px;font-size:14px;line-height:1.3;word-break:break-word}
.recipes-detail__product-modal{position:fixed;inset:0;z-index:10000;display:flex;align-items:center;justify-content:center;padding:16px}
.recipes-detail__product-modal[hidden]{display:none!important}
.recipes-detail__product-modal-overlay{position:absolute;inset:0;background:rgba(0,0,0,.45)}
.recipes-detail__product-modal-dialog{position:relative;width:min(420px,100%);padding:24px;border-radius:16px;background:#fff;box-shadow:0 20px 48px rgba(0,0,0,.18)}
.recipes-detail__product-modal-close{position:absolute;top:10px;right:12px;z-index:2;border:0;background:none;font-size:28px;line-height:1;color:#666;cursor:pointer;padding:4px 8px}
.recipes-detail__product-modal-image{width:100%;max-width:220px;margin:0 auto 16px;display:block;aspect-ratio:1/1;object-fit:contain}
.recipes-detail__product-modal-title{margin:0 0 16px;font-size:18px;line-height:1.35;text-align:center}
.recipes-detail__product-modal-link{display:inline-flex;margin:0 auto;padding:10px 16px;border-radius:8px;background:#111;color:#fff!important;text-decoration:none;font-weight:500}
.recipes-detail__product-modal-body{display:flex;flex-direction:column;align-items:center;text-align:center}
.recipes-empty{padding:32px 0;color:#666;line-height:1.5}
.recipes-empty a{color:inherit}

@media (max-width:991px){
  html:has(.recipes-page),html:has(.recipes-detail){overflow-x:hidden}
  body:has(.recipes-page),body:has(.recipes-detail){overflow-x:hidden}
  .wraps#content:has(.recipes-page) .middle,.wraps#content:has(.recipes-detail) .middle{overflow-x:hidden;max-width:100%}
  .recipes-page .maxwidth-theme,.recipes-detail.maxwidth-theme{padding-left:16px;padding-right:16px;box-sizing:border-box;width:100%;max-width:100%}
  .recipes-page--landing .recipes-banner:not(.recipes-banner--hero-full){width:100vw;max-width:100vw;margin-left:calc(50% - 50vw);margin-right:calc(50% - 50vw);border-radius:0}
  .recipes-page--hero-full{--recipes-hero-header-offset:72px;margin-top:calc(-1 * var(--recipes-hero-header-offset))}
  .recipes-page--hero-full .recipes-banner--hero-full{min-height:min(56vw,360px)}
  .recipes-page--hero-full .recipes-banner__media{height:min(56vw,360px);min-height:240px}
  .recipes-page--landing .recipes-banner__media{height:min(56vw,320px);min-height:240px}
  .recipes-page--landing .recipes-banner__media-picture,.recipes-page--landing .recipes-banner__media{width:100%;max-width:100%}
  .recipes-banner:not(.recipes-banner--hero-full){width:100%;max-width:100%;margin-left:0;margin-right:0}
  #content:has(.recipes-detail)>.top-block-wrapper .page-top{padding-top:8px;min-height:0}
  #content:has(.recipes-detail)>.top-block-wrapper .page-top>div{padding-top:8px}
  #content:has(.recipes-detail)>.top-block-wrapper .page-top>div:last-of-type{padding:6px 0 10px;margin-bottom:0}
  #content:has(.recipes-detail)>.top-block-wrapper .topic__heading{margin:0}
  #content:has(.recipes-page:not(.recipes-page--landing))>.top-block-wrapper .page-top{padding-top:8px;min-height:0}
  #content:has(.recipes-page:not(.recipes-page--landing))>.top-block-wrapper .page-top>div{padding-top:8px}
  #content:has(.recipes-page:not(.recipes-page--landing))>.top-block-wrapper .page-top>div:last-of-type{padding:6px 0 10px;margin-bottom:0}
  #content:has(.recipes-page:not(.recipes-page--landing))>.top-block-wrapper .topic__heading{margin:0}
  .recipes-page--with-banner .recipes-page__breadcrumbs{padding-top:8px}
  .recipes-page--with-banner .recipes-page__inner{padding-top:12px}
  .recipes-detail{padding-top:0}
  .recipes-tiles,.recipes-grid,.recipes-detail__products-grid,.recipes-detail__similar-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .recipes-detail__hero{display:flex;flex-direction:column;gap:16px}
  .recipes-detail__aside{display:contents}
  .recipes-detail__toolbar{display:contents}
  .recipes-detail__toolbar-actions{order:1;margin-left:0;width:100%;justify-content:flex-start;padding-bottom:10px;border-bottom:1px solid #ececec}
  .recipes-detail__media{order:2}
  .recipes-detail__toolbar-main{order:3;width:100%}
  .recipes-detail__short{order:4}
  .recipes-detail__time{order:5}
  .recipes-detail__ingredients{order:6}
  .recipes-detail__preparation{order:7}
  .recipes-banner{min-height:280px}
  .recipes-banner__media{height:280px}
}
@media (min-width:1200px){
  .recipes-filters__search{flex:0 0 200px;max-width:220px;min-width:180px}
}
@media (max-width:1199px){
  .recipes-filters--compact .recipes-filters__bar{flex-wrap:wrap}
  .recipes-filters__field{flex:1 1 calc(50% - 6px);min-width:140px}
  .recipes-filters__select{width:100%;flex:1 1 auto}
  .recipes-filters__search{flex:1 1 100%;min-width:0;max-width:none}
}
@media (max-width:575px){
  .recipes-tiles,.recipes-grid,.recipes-detail__products-grid,.recipes-detail__similar-grid{grid-template-columns:1fr}
  .recipes-detail__ingredients--cols ul{columns:1}
  .recipes-filters--compact .recipes-filters__bar{flex-direction:column;align-items:stretch}
  .recipes-filters__select{width:100%;flex:1 1 auto}
  .recipes-filters__search{width:100%}
  .recipes-banner{min-height:240px}
  .recipes-banner__media{height:240px}
}
