/*
 * Единая тема публичной витрины на базе новой главной.
 *
 * Файл намеренно подключается после legacy page CSS. Мы сохраняем старую разметку
 * и JS-контракты, но приводим визуальный язык к общим токенам: тёплый фон,
 * белые карточки, мягкие границы, радиусы 12/18/24px и брендовый красный.
 * Админка использует другой layout и этот файл не загружает.
 */

:root{
  --mk-surface:#fff;
  --mk-canvas:#f5f4f2;
  --mk-canvas-strong:#efede8;
  --mk-ink:#141414;
  --mk-muted:#64615d;
  --mk-soft:#6f6b66;
  --mk-line:#e7e3de;
  --mk-line-soft:#efede9;
  --mk-brand:#c1162b;
  --mk-brand-dark:#b81225;
  --mk-brand-soft:#fbeaec;
  --mk-success:#258553;
  --mk-radius-sm:10px;
  --mk-radius-md:14px;
  --mk-radius-lg:20px;
  --mk-radius-xl:24px;
  --mk-shadow:0 14px 36px rgba(44,32,24,.065);
  --mk-shadow-hover:0 20px 46px rgba(44,32,24,.11);
}

body.mkd-site{
  color:var(--mk-ink);
  background:var(--mk-canvas);
  font-family:Montserrat,Arial,sans-serif;
  -webkit-font-smoothing:antialiased;
  text-rendering:optimizeLegibility;
}

body.mkd-site:not(.mkd-home) main{
  min-height:45vh;
  padding-bottom:56px;
  background:var(--mk-canvas);
}

body.mkd-site:not(.mkd-home) main > .wrap{
  width:100%;
  max-width:1440px;
  padding-right:24px;
  padding-left:24px;
}

body.mkd-site a{
  text-underline-offset:3px;
}

body.mkd-site a:focus-visible,
body.mkd-site button:focus-visible,
body.mkd-site input:focus-visible,
body.mkd-site select:focus-visible,
body.mkd-site textarea:focus-visible{
  outline:3px solid rgba(219,26,49,.24);
  outline-offset:2px;
}

/* ---------- единая оболочка header ---------- */
body.mkd-site .mkd-consult-btn{
  margin-left:14px;
  padding:11px 20px;
  display:inline-flex;
  align-items:center;
  color:#fff!important;
  background:var(--mk-ink);
  border-radius:12px;
  font-size:13px;
  font-weight:600;
  text-decoration:none;
  white-space:nowrap;
}
body.mkd-site .mkd-consult-btn:hover{ background:#000; }
body.mkd-site > .header{
  position:relative;
  z-index:4;
}
body.mkd-site .mkd-menubar{
  position:relative;
  z-index:4;
  background:#fff;
  border-bottom:1px solid var(--mk-line-soft);
}
body.mkd-site .mkd-menubar .wrap{
  height:48px;
  display:flex;
  align-items:center;
  gap:26px;
  overflow:visible;
}
body.mkd-site .mkd-menubar .wrap::-webkit-scrollbar{ display:none; }
body.mkd-site .mkd-menubar a{
  color:var(--mk-ink);
  font-size:14px;
  font-weight:600;
  text-decoration:none;
  white-space:nowrap;
}
body.mkd-site .mkd-menubar a:hover{ color:var(--mk-brand); }
body.mkd-site .mkd-menubar a.mkd-menubar__all{
  display:inline-flex;
  align-items:center;
  gap:8px;
  color:var(--mk-brand);
}
body.mkd-site .mkd-menubar__item{
  position:relative;
  align-self:stretch;
  display:flex;
  align-items:center;
  flex:none;
}
body.mkd-site .mkd-menubar a.mkd-menubar__trigger{
  height:100%;
  display:inline-flex;
  align-items:center;
  gap:7px;
}
body.mkd-site .mkd-menubar__chevron{
  width:6px;
  height:6px;
  border-right:1.5px solid currentColor;
  border-bottom:1.5px solid currentColor;
  transform:rotate(45deg) translateY(-2px);
  transition:transform .18s ease;
}
body.mkd-site .mkd-menubar__dropdown{
  position:absolute;
  top:calc(100% - 1px);
  left:-18px;
  width:300px;
  max-height:min(68vh,620px);
  padding:12px;
  overflow-y:auto;
  color:var(--mk-ink);
  background:#fff;
  border:1px solid var(--mk-line);
  border-radius:0 0 14px 14px;
  box-shadow:0 18px 42px rgba(44,11,20,.14);
  opacity:0;
  visibility:hidden;
  pointer-events:none;
  transform:translateY(8px);
  transition:opacity .18s ease,transform .18s ease,visibility .18s ease;
}
body.mkd-site .mkd-menubar__item:nth-last-child(-n+2) .mkd-menubar__dropdown{ right:-18px; left:auto; }
body.mkd-site .mkd-menubar__item:hover .mkd-menubar__dropdown,
body.mkd-site .mkd-menubar__item:focus-within .mkd-menubar__dropdown{
  opacity:1;
  visibility:visible;
  pointer-events:auto;
  transform:translateY(0);
}
body.mkd-site .mkd-menubar__item:hover .mkd-menubar__chevron,
body.mkd-site .mkd-menubar__item:focus-within .mkd-menubar__chevron{ transform:rotate(225deg) translate(-1px,-1px); }
body.mkd-site .mkd-menubar .mkd-menubar__dropdown a{
  padding:9px 10px;
  display:block;
  border-radius:8px;
  font-size:13px;
  font-weight:500;
  line-height:1.35;
  white-space:normal;
}
body.mkd-site .mkd-menubar .mkd-menubar__dropdown a:hover,
body.mkd-site .mkd-menubar .mkd-menubar__dropdown a:focus-visible{
  color:var(--mk-brand-dark);
  background:#f8f3f1;
}
body.mkd-site .mkd-menubar .mkd-menubar__dropdown-all{
  margin-bottom:5px;
  color:var(--mk-brand-dark);
  border-bottom:1px solid #eee8e4;
  border-radius:8px 8px 0 0;
  font-weight:700;
}
body.mkd-site .mkd-menubar__dropdown-group + .mkd-menubar__dropdown-group{ margin-top:1px; }
body.mkd-site .mkd-menubar .mkd-menubar__dropdown a.mkd-menubar__dropdown-child{
  padding:6px 10px 6px 24px;
  color:#6d6460;
  font-size:12px;
}
body.mkd-site .mkd-menubar a.mkd-menubar__all.mkd-mobile-only{ display:none; }

body.mkd-site .header-top{
  color:#fff;
  background:#232323;
}

body.mkd-site .header-top .nav-link,
body.mkd-site .header-top .places,
body.mkd-site .header-top .lang,
body.mkd-site .header-top .cabinet,
body.mkd-site .header-top .ico{
  color:rgba(255,255,255,.82);
}

body.mkd-site .header-top .nav-link:hover,
body.mkd-site .header-top .places:hover,
body.mkd-site .header-top .cabinet:hover{
  color:#fff;
}

body.mkd-site .header-top .lang.current{
  color:var(--mk-ink);
  background:#fff;
  font-weight:700;
}

body.mkd-site .header-main,
body.mkd-site .header-main .flex,
body.mkd-site .mkd-menubar,
body.mkd-site .mkd-menubar .wrap{
  background:var(--mk-canvas);
}

body.mkd-site .header-simple{
  background:var(--mk-canvas);
  border-bottom:1px solid var(--mk-line-soft);
}
body.mkd-site .header-simple .wrap.simple{
  min-height:86px;
  max-width:1440px;
  padding-right:24px;
  padding-left:24px;
}
body.mkd-site .header-simple .nav-logo img{ max-height:28px; }
body.mkd-site .header-simple .head-link,
body.mkd-site .header-simple .lang{ color:var(--mk-ink); }
body.mkd-site .header-simple .lang.current{
  color:#fff;
  background:var(--mk-ink);
  border-radius:999px;
}
body.mkd-site .header-simple .nav-burger a{
  width:42px;
  height:42px;
  display:flex;
  align-items:center;
  justify-content:center;
  background:#fff;
  border:1px solid var(--mk-line);
  border-radius:11px;
}

body.mkd-site .nav-search input[type="text"]{
  border:1px solid var(--mk-line);
  border-radius:12px;
  background:#fff;
}
body.mkd-site .header-main .nav-search .search-holder.opened,
body.mkd-site .header-main .nav-search .search-holder.shown{ z-index:8; }
body.mkd-site .header-main .nav-search .search-holder{
  transition-property:top,right,width,padding,visibility,background-color;
}
/* Контакт остаётся в footer и мобильном tab-bar: legacy FAB не закрывает контент. */
body.mkd-site > a.mobile_instagram,
body.mkd-site > .mobile.whatsapp,
body.mkd-site > .pc_phone.whatsapp_phone{ display:none!important; }

body.mkd-site .mk-header-action-icon{
  width:21px;
  height:21px;
  flex:none;
  display:block;
  color:var(--mk-ink);
  fill:none;
  stroke:currentColor;
  stroke-width:1.8;
  stroke-linecap:round;
  stroke-linejoin:round;
}
body.mkd-site .header-main .nav-favorites.added .mk-header-action-icon,
body.mkd-site .header-main .nav-cart.added .mk-header-action-icon{ color:var(--mk-ink); }

@media (min-width:681px){
  body.mkd-site .header-main .nav-catalog{ position:absolute; visibility:hidden; }
  body.mkd-site .nav-favorites > a > span.cut_m,
  body.mkd-site .nav-cart > a > span.cut_m{ display:none; }
  body.mkd-site .nav-favorites .nav-count,
  body.mkd-site .nav-cart .nav-count{
    min-width:17px;
    height:17px;
    padding:0 4px;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    color:#fff;
    background:var(--mk-brand);
    border-radius:999px;
    font-size:11px;
    font-weight:700;
  }
}

@media (min-width:1366px){
  body.mkd-site .header-top,
  body.mkd-site .header-top .wrap{
    height:38px;
    background:#232323;
  }
  body.mkd-site .header-top .wrap,
  body.mkd-site .header-main .flex,
  body.mkd-site .mkd-menubar .wrap{ max-width:1440px; }
  body.mkd-site .header-top .nav-link{ padding-top:9px; padding-bottom:9px; font-size:12px; }
  body.mkd-site .header-top .head-link,
  body.mkd-site .header-top .places{ font-size:12px; }

  body.mkd-site .header-main,
  body.mkd-site .header-main .flex{ height:72px; }
  body.mkd-site .header-main .flex{
    padding:0 24px;
    justify-content:flex-start;
  }
  body.mkd-site .header-main .nav-logo{ flex:0 0 177px; width:177px; }
  body.mkd-site .header-main .nav-logo a{
    width:max-content;
    margin-left:2px;
    display:flex;
    align-items:center;
    gap:4px;
  }
  body.mkd-site .header-main .nav-logo img{ display:none!important; }
  body.mkd-site .header-main .nav-logo a::before{
    content:"";
    flex:0 0 20px;
    width:20px;
    height:20px;
    border-radius:50%;
    background:linear-gradient(#fff,#fff) center/10px 10px no-repeat #b62a31;
  }
  body.mkd-site .header-main .nav-logo a::after{
    content:"МИР КЕРАМИКИ";
    color:#b62a31;
    font-size:17px;
    font-weight:700;
    line-height:20px;
    white-space:nowrap;
  }
  body.mkd-site .header-main .nav-search{
    flex:1 1 auto;
    width:auto;
    min-width:260px;
    height:43px;
    margin-left:24px;
    margin-right:14px;
  }
  body.mkd-site .header-main .nav-search .search-holder,
  body.mkd-site .header-main .nav-search .search-holder form{ height:43px; }
  body.mkd-site .header-main .nav-search .search-holder{ width:100%; }
  body.mkd-site .header-main .nav-search .main-search{
    height:43px;
    min-height:43px;
    padding-right:16px;
    padding-left:44px;
  }
  body.mkd-site .header-main .nav-search .inner-search{ right:auto; left:16px; }
  body.mkd-site .header-main .nav-favorites,
  body.mkd-site .header-main .nav-cart{
    position:relative;
    flex:0 0 43px;
    width:43px;
    height:43px;
  }
  body.mkd-site .header-main .nav-favorites{ margin-left:0; }
  body.mkd-site .header-main .nav-cart{ margin-left:7px; }
  body.mkd-site .header-main .nav-favorites .head-link,
  body.mkd-site .header-main .nav-cart .head-link{
    position:relative;
    width:43px;
    height:43px;
    display:flex;
    align-items:center;
    justify-content:center;
    border:1px solid var(--mk-line);
    border-radius:11px;
    background:#fff;
  }
  body.mkd-site .header-main .nav-favorites .ico,
  body.mkd-site .header-main .nav-cart .ico{ float:none; margin:0; font-size:18px; }
  body.mkd-site .header-main .nav-favorites .nav-count,
  body.mkd-site .header-main .nav-cart .nav-count{ position:absolute; top:-7px; right:-7px; left:auto; }
  body.mkd-site .header-main .nav-count[hidden]{ display:none!important; }
  body.mkd-site .header-main i.ico-favorites{
    font-family:Arial,sans-serif!important;
    font-size:25px;
    line-height:18px;
  }
  body.mkd-site .header-main i.ico-favorites::before{ content:"\2606"; }
  body.mkd-site .header-main i.ico-cart{ position:relative; width:18px; height:20px; font-size:0; }
  body.mkd-site .header-main i.ico-cart::before{
    content:"";
    position:absolute;
    bottom:1px;
    left:2px;
    width:14px;
    height:13px;
    border:1.5px solid var(--mk-ink);
    border-radius:2px;
  }
  body.mkd-site .header-main i.ico-cart::after{
    content:"";
    position:absolute;
    top:1px;
    left:6px;
    width:6px;
    height:6px;
    border:1.5px solid var(--mk-ink);
    border-bottom:0;
    border-radius:6px 6px 0 0;
  }
  body.mkd-site .header-main .flex > .cut_m{
    flex:0 0 144px;
    width:144px;
    height:43px;
    margin-left:7px;
  }
  body.mkd-site .header-main .flex > .cut_m .mkd-consult-btn{
    width:100%;
    height:43px;
    margin-left:0;
    padding:0 16px;
    justify-content:center;
  }
  body.mkd-site .mkd-menubar,
  body.mkd-site .mkd-menubar .wrap{ height:52px; }
  body.mkd-site .mkd-menubar .wrap{ padding-right:24px; padding-left:24px; }
  body.mkd-site .mkd-menubar a{ font-weight:500; }
  body.mkd-site .mkd-menubar a.mkd-menubar__all{ gap:10px; color:#af2622; }
  body.mkd-site .mkd-menubar a.mkd-menubar__all .ico{ color:var(--mk-ink); font-size:12px; }
}

/* ---------- заголовки и навигация внутри страниц ---------- */
body.mkd-site:not(.mkd-home) .breadcrumbs{
  margin:0 0 18px;
  padding-top:22px;
}

body.mkd-site:not(.mkd-home) .breadcrumbs-list,
body.mkd-site:not(.mkd-home) .breadcrumbs ul:not(.breadcrumbs-list){
  gap:0;
  margin:0;
  padding:0;
  color:var(--mk-soft);
  font-size:12px;
}

body.mkd-site:not(.mkd-home) .breadcrumbs-list a,
body.mkd-site:not(.mkd-home) .breadcrumbs ul a,
body.mkd-site:not(.mkd-home) .back-link{
  color:var(--mk-muted);
  font-weight:500;
}

body.mkd-site:not(.mkd-home) .breadcrumbs-list a:hover,
body.mkd-site:not(.mkd-home) .breadcrumbs ul a:hover,
body.mkd-site:not(.mkd-home) .back-link:hover{ color:var(--mk-brand); }

body.mkd-site:not(.mkd-home) .page-title,
body.mkd-site:not(.mkd-home) h1.caption,
body.mkd-site:not(.mkd-home) .page-name,
body.mkd-site:not(.mkd-home) .article-title,
body.mkd-site:not(.mkd-home) .stock-caption,
body.mkd-site:not(.mkd-home) .v-position,
body.mkd-site:not(.mkd-home) .reg-caption,
body.mkd-site:not(.mkd-home) .profile-caption,
body.mkd-site:not(.mkd-home) .content-page > h1,
body.mkd-site:not(.mkd-home) .caption.cart-caption,
body.mkd-site:not(.mkd-home) .caption.checkout-caption{
  margin:0 0 26px;
  color:var(--mk-ink);
  font-size:32px;
  font-weight:800;
  line-height:1.15;
  letter-spacing:-.025em;
}

body.mkd-site:not(.mkd-home) .caption.h2,
body.mkd-site:not(.mkd-home) h2.caption,
body.mkd-site:not(.mkd-home) .article-caption,
body.mkd-site:not(.mkd-home) .history-caption{
  color:var(--mk-ink);
  font-weight:800;
  letter-spacing:-.02em;
}

/* ---------- кнопки, формы и системные состояния ---------- */
body.mkd-site .btn,
body.mkd-site button.btn,
body.mkd-site a.btn{
  min-height:46px;
  padding:12px 22px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  color:#fff;
  background:var(--mk-brand);
  border:1px solid var(--mk-brand);
  border-radius:12px;
  box-shadow:none;
  font-family:inherit;
  font-size:14px;
  font-weight:700;
  line-height:1.2;
  text-decoration:none;
  transition:background .18s ease,border-color .18s ease,color .18s ease,transform .18s ease;
}

body.mkd-site .btn:hover,
body.mkd-site button.btn:hover,
body.mkd-site a.btn:hover{
  color:#fff;
  background:var(--mk-brand-dark);
  border-color:var(--mk-brand-dark);
  transform:translateY(-1px);
}

body.mkd-site .btn-border,
body.mkd-site .btn-white{
  color:var(--mk-ink);
  background:#fff;
  border-color:var(--mk-line);
}

body.mkd-site .btn-border:hover,
body.mkd-site .btn-white:hover{
  color:var(--mk-brand-dark);
  background:var(--mk-brand-soft);
  border-color:#e7b7be;
}

body.mkd-site .text-link,
body.mkd-site .item-accent{ color:var(--mk-brand); }

body.mkd-site .input,
body.mkd-site input[type="text"],
body.mkd-site input[type="tel"],
body.mkd-site input[type="email"],
body.mkd-site input[type="password"],
body.mkd-site input[type="number"],
body.mkd-site input[type="date"],
body.mkd-site select,
body.mkd-site textarea{
  color:var(--mk-ink);
  background:#fff;
  border:1px solid var(--mk-line);
  border-radius:12px;
  font-family:inherit;
  transition:border-color .18s ease,box-shadow .18s ease;
}

body.mkd-site .input:hover,
body.mkd-site input:hover,
body.mkd-site select:hover,
body.mkd-site textarea:hover{ border-color:#cbc5be; }

body.mkd-site .input:focus,
body.mkd-site input:focus,
body.mkd-site select:focus,
body.mkd-site textarea:focus{
  border-color:var(--mk-brand);
  box-shadow:0 0 0 3px rgba(219,26,49,.09);
}

body.mkd-site .fake-placeholder{ color:var(--mk-muted); }
body.mkd-site .form-error,
body.mkd-site label.error{ color:var(--mk-brand-dark); }

/* ---------- каталог, поиск, коллекции и товарные плитки ---------- */
body.mkd-site:not(.mkd-home) .content-filter{
  align-items:flex-start;
  gap:18px;
}

body.mkd-site:not(.mkd-home) .filters .filter-content,
body.mkd-site:not(.mkd-home) .filters-rubric,
body.mkd-site:not(.mkd-home) .b_filter{
  overflow:hidden;
  background:#fff;
  border:1px solid var(--mk-line);
  border-radius:18px;
  box-shadow:none;
}

body.mkd-site:not(.mkd-home) .b_filter + .b_filter{ margin-top:12px; }
body.mkd-site:not(.mkd-home) .filters .item-link{ color:var(--mk-ink); }
body.mkd-site:not(.mkd-home) .filters .item-link:hover,
body.mkd-site:not(.mkd-home) .filters .item-link.item-accent{ color:var(--mk-brand); }

body.mkd-site:not(.mkd-home) .content-filter > .content{
  min-width:0;
  padding:20px;
  background:#fff;
  border:1px solid var(--mk-line);
  border-radius:20px;
}

body.mkd-site:not(.mkd-home) .sorting,
body.mkd-site:not(.mkd-home) .sort-wrap,
body.mkd-site:not(.mkd-home) .catalog-sort{
  border-color:var(--mk-line-soft);
}

body.mkd-site:not(.mkd-home) .prod-list{
  row-gap:14px;
  column-gap:0;
}

/* Category landing cards: every child is a full, explicit navigation action. */
body.mkd-site:not(.mkd-home) .category-list .card{
  display:flex;
  flex-direction:column;
}
body.mkd-site:not(.mkd-home) .category-list .card-info{
  height:auto;
  flex:1 1 auto;
}
body.mkd-site:not(.mkd-home) .category-list .card-list{
  position:relative;
  width:100%;
  height:auto;
  min-height:100%;
  overflow:visible;
}
body.mkd-site:not(.mkd-home) .category-list .card-list::after{ display:none; }
body.mkd-site:not(.mkd-home) .category-list .card-list ul{
  display:grid;
  gap:8px;
  margin:0;
  padding:0 16px 18px;
}
body.mkd-site:not(.mkd-home) .category-list .card-list ul li,
body.mkd-site:not(.mkd-home) .category-list .card-list ul li:not(:last-child){ margin:0; }
body.mkd-site:not(.mkd-home) .category-list .card-list ul li:last-child a{ margin-bottom:0!important; }
body.mkd-site:not(.mkd-home) .category-list .card-other-link{
  min-height:42px;
  margin:0;
  padding:10px 12px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  color:var(--mk-ink);
  background:#f7f5f2;
  border:1px solid var(--mk-line-soft);
  border-radius:11px;
  font-size:12px;
  font-weight:600;
  line-height:1.35;
  text-decoration:none;
  transition:color .2s ease,background-color .2s ease,border-color .2s ease;
}
body.mkd-site:not(.mkd-home) .category-list .card-other-link::after{
  content:"\2192";
  flex:0 0 auto;
  color:var(--mk-brand);
  font-size:18px;
  font-weight:700;
  line-height:1;
  transition:transform .2s ease;
}
body.mkd-site:not(.mkd-home) .category-list .card-other-link:hover{
  color:#fff;
  background:var(--mk-brand);
  border-color:var(--mk-brand);
  opacity:1;
}
body.mkd-site:not(.mkd-home) .category-list .card-other-link:hover::after{
  color:#fff;
  transform:translateX(3px);
}

body.mkd-site .header-main .nav-search .search-products .prod-sku{
  margin-top:4px;
  color:var(--mk-muted);
  font-size:11px;
  line-height:1.35;
}

body.mkd-site:not(.mkd-home) .prod-list .card,
body.mkd-site:not(.mkd-home) .favorites-products .card,
body.mkd-site:not(.mkd-home) .cart-recommended .card,
body.mkd-site:not(.mkd-home) .prod-swiper .card,
body.mkd-site:not(.mkd-home) .popular-products .card,
body.mkd-site:not(.mkd-home) .popular-categories .card,
body.mkd-site:not(.mkd-home) .category-list .card,
body.mkd-site:not(.mkd-home) .category-related .card,
body.mkd-site:not(.mkd-home) .collection-list .card,
body.mkd-site:not(.mkd-home) .related .card,
body.mkd-site:not(.mkd-home) .about-categories .card,
body.mkd-site:not(.mkd-home) .trends .card,
body.mkd-site:not(.mkd-home) .viewed .card{
  overflow:hidden;
  background:#fff;
  border:1px solid var(--mk-line);
  border-radius:18px;
  box-shadow:none;
  transition:border-color .2s ease;
}

@media (any-hover:hover) and (any-pointer:fine){
  body.mkd-site:not(.mkd-home) :is(.prod-list,.favorites-products,.cart-recommended,.prod-swiper,.popular-products,.popular-categories,.category-list,.category-related,.collection-list,.collections-list,.related,.about-categories,.trends,.viewed,.news-blog,.stock-list) .card:hover,
  body.mkd-site:not(.mkd-home) .s-card:hover{
    transform:none;
    box-shadow:none;
  }
}

body.mkd-site:not(.mkd-home) .prod-list .card .image-link,
body.mkd-site:not(.mkd-home) .favorites-products .card .image-link,
body.mkd-site:not(.mkd-home) .cart-recommended .card .image-link,
body.mkd-site:not(.mkd-home) .prod-swiper .card .image-link,
body.mkd-site:not(.mkd-home) .popular-products .card .image-link,
body.mkd-site:not(.mkd-home) .popular-categories .card .image-link,
body.mkd-site:not(.mkd-home) .category-list .card .image-link,
body.mkd-site:not(.mkd-home) .category-related .card .image-link,
body.mkd-site:not(.mkd-home) .collection-list .card .image-link,
body.mkd-site:not(.mkd-home) .related .card .image-link{ background:#fff; }

/* Тот же плавный reveal/zoom изображений, что у карточек новой главной. */
body.mkd-site:not(.mkd-home) .card .image-link{
  position:relative;
  overflow:hidden;
  isolation:isolate;
  border-radius:12px;
}
body.mkd-site:not(.mkd-home) .card .image-link .normal-img,
body.mkd-site:not(.mkd-home) .card .image-link .hover-img,
body.mkd-site:not(.mkd-home) .card .image-link .solo-img{
  transition:scale .72s cubic-bezier(.22,1,.36,1),clip-path .68s cubic-bezier(.22,1,.36,1),opacity .2s ease;
  transform-origin:center;
}
body.mkd-site:not(.mkd-home) .card .image-link .normal-img{
  display:block!important;
  opacity:1!important;
}
body.mkd-site:not(.mkd-home) .card .image-link .hover-img{
  display:block!important;
  opacity:1!important;
  clip-path:inset(0 99.9% 0 0);
  scale:1.04;
}
body.mkd-site:not(.mkd-home) .card .image-link:has(.hover-img)::after{
  content:"";
  position:absolute;
  z-index:3;
  top:10px;
  bottom:10px;
  left:0;
  width:1px;
  background:rgba(219,26,49,.82);
  opacity:0;
  pointer-events:none;
  transition:left .68s cubic-bezier(.22,1,.36,1),opacity .2s ease;
}

@media (any-hover:hover) and (any-pointer:fine){
  body.mkd-site:not(.mkd-home) .card:hover .image-link .normal-img,
  body.mkd-site:not(.mkd-home) .card:hover .image-link .solo-img{
    display:block!important;
    opacity:1!important;
    scale:1.035;
  }
  body.mkd-site:not(.mkd-home) .card:hover .image-link .hover-img{
    display:block!important;
    opacity:1!important;
    clip-path:inset(0);
    scale:1.035;
  }
  body.mkd-site:not(.mkd-home) .card:hover .image-link:has(.hover-img)::after{
    left:calc(100% - 1px);
    opacity:1;
  }
}

body.mkd-site:not(.mkd-home) .prod-swiper,
body.mkd-site:not(.mkd-home) .popular-products,
body.mkd-site:not(.mkd-home) .popular-categories,
body.mkd-site:not(.mkd-home) .category-related,
body.mkd-site:not(.mkd-home) .related,
body.mkd-site:not(.mkd-home) .trends,
body.mkd-site:not(.mkd-home) .viewed{
  margin-top:28px;
}

body.mkd-site:not(.mkd-home) .mkd-viewed{ position:relative; }
body.mkd-site:not(.mkd-home) .mkd-viewed > .caption{ padding-right:108px; }
body.mkd-site:not(.mkd-home) .mkd-viewed__navigation{
  position:absolute;
  z-index:2;
  top:-8px;
  right:0;
  display:flex;
  gap:10px;
}
body.mkd-site:not(.mkd-home) .mkd-viewed__arrow{
  display:flex;
  width:42px;
  height:42px;
  align-items:center;
  justify-content:center;
  padding:0;
  color:var(--mk-ink);
  font:700 22px/1 Arial,sans-serif;
  cursor:pointer;
  background:#fff;
  border:1px solid var(--mk-line);
  border-radius:50%;
  box-shadow:0 6px 18px rgba(21,18,16,.09);
  transition:color .2s ease,background-color .2s ease,border-color .2s ease,transform .2s ease,opacity .2s ease;
}
@media (hover:hover) and (pointer:fine){
  body.mkd-site:not(.mkd-home) .mkd-viewed__arrow:not(:disabled):hover{
    color:#fff;
    background:var(--mk-brand);
    border-color:var(--mk-brand);
    transform:translateY(-1px);
  }
}
body.mkd-site:not(.mkd-home) .mkd-viewed__arrow:focus-visible{
  outline:3px solid rgba(190,35,40,.24);
  outline-offset:2px;
}
body.mkd-site:not(.mkd-home) .mkd-viewed__arrow:disabled{
  opacity:.35;
  pointer-events:none;
  box-shadow:none;
}

body.mkd-site:not(.mkd-home) .card-info{ background:#fff; }
body.mkd-site:not(.mkd-home) .card-caption,
body.mkd-site:not(.mkd-home) .card-text-link{ color:#615e59; }
body.mkd-site:not(.mkd-home) .normal-price,
body.mkd-site:not(.mkd-home) .new-price{ color:var(--mk-brand); font-weight:800; }
body.mkd-site:not(.mkd-home) .old-price{ color:var(--mk-soft); }

body.mkd-site:not(.mkd-home) .stock.discount,
body.mkd-site:not(.mkd-home) .stock.new,
body.mkd-site:not(.mkd-home) .stock.hit,
body.mkd-site:not(.mkd-home) .stock.prime{
  border-radius:8px;
}

body.mkd-site:not(.mkd-home) .add-favorites a{
  display:flex;
  align-items:center;
  justify-content:center;
  border-radius:50%;
}

body.mkd-site:not(.mkd-home) .no-results{
  padding:48px 24px;
  border-radius:18px;
  background:var(--mk-canvas);
  text-align:center;
}

body.mkd-site .pagination .p-btn{
  border-color:var(--mk-line);
  border-radius:10px;
  background:#fff;
}
body.mkd-site .pagination .p-btn:hover,
body.mkd-site .pagination .p-btn.current{
  color:#fff;
  background:var(--mk-ink);
  border-color:var(--mk-ink);
}

/* ---------- карточка товара и коллекции ---------- */
body.mkd-site:not(.mkd-home) .product-card .card-block,
body.mkd-site:not(.mkd-home) .collection-card .card-block,
body.mkd-site:not(.mkd-home) .product-card .block-features,
body.mkd-site:not(.mkd-home) .product-card .block-description,
body.mkd-site:not(.mkd-home) .product-card .block-reviews,
body.mkd-site:not(.mkd-home) .product-card .twin-card{
  background:#fff;
  border-color:var(--mk-line);
  border-radius:18px;
}

body.mkd-site:not(.mkd-home) .product-card .card-title,
body.mkd-site:not(.mkd-home) .collection-card .card-title{
  color:var(--mk-ink);
  font-weight:800;
  letter-spacing:-.02em;
}

body.mkd-site:not(.mkd-home) .product-card .block-slides,
body.mkd-site:not(.mkd-home) .product-card .main-slides{
  overflow:hidden;
  border-radius:18px;
  background:#fff;
}

body.mkd-site:not(.mkd-home) .product-card .p-right,
body.mkd-site:not(.mkd-home) .product-card .pr1,
body.mkd-site:not(.mkd-home) .product-card .pr2{
  border-radius:18px;
}

/* Внешние белые оболочки обязаны сами обрезать фон по радиусу. Иначе белый
   parent визуально заполняет скруглённые углы внутренних card-block. */
body.mkd-site:not(.mkd-home) .product-card .p-left,
body.mkd-site:not(.mkd-home) .product-card .pr1,
body.mkd-site:not(.mkd-home) .product-card .pr2{
  overflow:hidden;
  background:#fff;
  border:1px solid var(--mk-line);
  border-radius:18px;
  box-shadow:var(--mk-shadow);
}

body.mkd-site:not(.mkd-home) .product-card .p-left > .block-slides,
body.mkd-site:not(.mkd-home) .product-card .pr1 > .card-block,
body.mkd-site:not(.mkd-home) .product-card .pr2 > .card-block{
  max-width:100%;
}

body.mkd-site:not(.mkd-home) .product-card .item-price,
body.mkd-site:not(.mkd-home) .product-card .new-price,
body.mkd-site:not(.mkd-home) .product-card .normal-price{ color:var(--mk-brand); }

body.mkd-site:not(.mkd-home) .product-card table tr + tr,
body.mkd-site:not(.mkd-home) .product-card .feature + .feature{ border-color:var(--mk-line-soft); }

body.mkd-site:not(.mkd-home) .product-card .swiper-button-prev,
body.mkd-site:not(.mkd-home) .product-card .swiper-button-next{
  border-radius:50%;
  background:#fff;
  box-shadow:0 8px 24px rgba(44,32,24,.12);
}

body.mkd-site:not(.mkd-home) .product-anchors{
  overflow:hidden;
  background:#fff;
  border:1px solid var(--mk-line);
  border-radius:16px 16px 0 0;
}

body.mkd-site:not(.mkd-home) .product-info{
  overflow:hidden;
  background:#fff;
  border:1px solid var(--mk-line);
  border-top:0;
  border-radius:0 0 24px 24px;
}

body.mkd-site:not(.mkd-home) .product-info .features,
body.mkd-site:not(.mkd-home) .product-info .description,
body.mkd-site:not(.mkd-home) .product-info .reviews,
body.mkd-site:not(.mkd-home) .product-info .manufacturer,
body.mkd-site:not(.mkd-home) .product-info .design{
  overflow:hidden;
  border-color:var(--mk-line-soft);
  border-radius:18px;
}

body.mkd-site:not(.mkd-home) .product-info .twin-card .card{
  overflow:hidden;
  border:1px solid var(--mk-line);
  border-radius:18px;
}

body.mkd-site:not(.mkd-home) .trends .swiper-slide > a,
body.mkd-site:not(.mkd-home) .stock-banner,
body.mkd-site:not(.mkd-home) .stocks-page .s-day,
body.mkd-site:not(.mkd-home) .vacancies-promo,
body.mkd-site:not(.mkd-home) .vacancy-cv,
body.mkd-site:not(.mkd-home) .about-how .question{
  overflow:hidden;
  background:#fff;
  border:1px solid var(--mk-line);
  border-radius:20px;
}

body.mkd-site:not(.mkd-home) .favorites-content,
body.mkd-site:not(.mkd-home) .order-content,
body.mkd-site:not(.mkd-home) .address-item,
body.mkd-site:not(.mkd-home) .details-bill,
body.mkd-site:not(.mkd-home) .details-info{
  border-color:var(--mk-line);
  border-radius:16px;
}

body.mkd-site:not(.mkd-home) .product-card .swiper-product-thumbs .swiper-slide,
body.mkd-site:not(.mkd-home) .product-card .swiper-product-thumbs .swiper-slide::after,
body.mkd-site:not(.mkd-home) .product-card .swiper-product-thumbs .thumb{
  border-radius:10px;
}

/* ---------- устойчивые подсказки поиска ---------- */
body.mkd-site .search-result{
  overflow:hidden;
  border-radius:0 0 18px 18px;
  box-shadow:0 18px 42px rgba(44,32,24,.12);
}

body.mkd-site:not(.mkd-home) .search-empty,
body.mkd-site:not(.mkd-home) .search-taxonomy-suggestions{
  padding:22px;
  background:#fff;
  border:1px solid var(--mk-line);
  border-radius:20px;
}

body.mkd-site:not(.mkd-home) .search-taxonomy-suggestions{
  margin:0 0 20px;
  display:grid;
  gap:14px;
}

body.mkd-site:not(.mkd-home) .search-correction{
  color:var(--mk-muted);
  font-size:14px;
}

body.mkd-site:not(.mkd-home) .search-applied-correction{
  margin:-10px 0 18px;
  color:var(--mk-muted);
  font-size:14px;
}

body.mkd-site:not(.mkd-home) .search-applied-correction a{
  color:var(--mk-brand-dark);
  font-weight:700;
}

body.mkd-site:not(.mkd-home) .search-correction a{
  color:var(--mk-brand-dark);
  font-weight:700;
}

body.mkd-site:not(.mkd-home) .search-taxonomy-group{
  display:flex;
  align-items:flex-start;
  gap:14px;
}

body.mkd-site:not(.mkd-home) .search-taxonomy-group > strong{
  min-width:190px;
  padding-top:9px;
  font-size:13px;
}

body.mkd-site:not(.mkd-home) .search-taxonomy-links{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
}

body.mkd-site:not(.mkd-home) .search-taxonomy-links a{
  padding:8px 12px;
  color:var(--mk-ink);
  background:var(--mk-canvas);
  border:1px solid var(--mk-line);
  border-radius:999px;
  font-size:13px;
  font-weight:600;
  text-decoration:none;
}

body.mkd-site:not(.mkd-home) .search-taxonomy-links a:hover{
  color:var(--mk-brand-dark);
  background:var(--mk-brand-soft);
  border-color:#e7b7be;
}

/* ---------- корзина и checkout ---------- */
body.mkd-site:not(.mkd-home) .cart-page,
body.mkd-site:not(.mkd-home) .checkout-page{
  padding:28px;
  background:#fff;
  border:1px solid var(--mk-line);
  border-radius:24px;
  box-shadow:var(--mk-shadow);
}

body.mkd-site:not(.mkd-home) .cart-header,
body.mkd-site:not(.mkd-home) .checkout-list-caption{
  color:var(--mk-muted);
  background:var(--mk-canvas);
  border-radius:12px;
}

body.mkd-site:not(.mkd-home) .cart-header{
  margin-bottom:0;
  padding-top:15px;
  padding-bottom:15px;
}

body.mkd-site:not(.mkd-home) .main-cart-list{
  display:flex;
  flex-direction:column;
  gap:12px;
  margin-bottom:0;
}

body.mkd-site:not(.mkd-home) .cart-item,
body.mkd-site:not(.mkd-home) .main-cart-list > .item,
body.mkd-site:not(.mkd-home) .checkout-item{
  margin-top:0;
  overflow:hidden;
  border:1px solid var(--mk-line);
  border-radius:18px;
  background:#fff;
}

body.mkd-site:not(.mkd-home) .checkout-list,
body.mkd-site:not(.mkd-home) .checkout-body,
body.mkd-site:not(.mkd-home) .cart-bill,
body.mkd-site:not(.mkd-home) .cart-footer .cart-promocode,
body.mkd-site:not(.mkd-home) .cart-footer .cart-quick-order{
  border-color:var(--mk-line);
  border-radius:18px;
}

body.mkd-site:not(.mkd-home) .cart-bill,
body.mkd-site:not(.mkd-home) .checkout-list{
  background:var(--mk-canvas);
}

body.mkd-site:not(.mkd-home) .main-cart-list .cart-delete{
  width:36px;
  height:36px;
  display:flex;
  align-items:center;
  justify-content:center;
  color:var(--mk-muted);
  background:#fff;
  border:1px solid var(--mk-line);
  border-radius:50%;
  transition:color .2s ease,background-color .2s ease,border-color .2s ease;
}

body.mkd-site:not(.mkd-home) .main-cart-list .cart-delete:hover{
  color:var(--mk-brand);
  background:var(--mk-brand-soft);
  border-color:#e7b7be;
  opacity:1;
}

body.mkd-site:not(.mkd-home) .main-cart-list .item-image{
  overflow:hidden;
  display:flex;
  align-items:center;
  justify-content:center;
  background:var(--mk-canvas);
  border-radius:12px;
}

body.mkd-site:not(.mkd-home) .main-cart-list .item-image img{
  width:100%;
  height:100%;
  object-fit:contain;
}

body.mkd-site:not(.mkd-home) .main-cart-list .item-text-link{
  font-weight:600;
  line-height:1.35;
}

body.mkd-site:not(.mkd-home) .main-cart-list .calc-holder{
  overflow:hidden;
  border:1px solid var(--mk-line);
  border-radius:12px;
}

body.mkd-site:not(.mkd-home) .main-cart-list .calc-btn{
  background:#fff;
  transition:background-color .2s ease,color .2s ease;
}

body.mkd-site:not(.mkd-home) .main-cart-list .calc-btn:hover{
  color:var(--mk-brand);
  background:var(--mk-brand-soft);
}

body.mkd-site:not(.mkd-home) .cart-footer{
  display:grid;
  gap:16px;
  margin-top:4px;
  padding:0;
  background:transparent;
  border:0;
}

body.mkd-site:not(.mkd-home) .cart-footer .cart-bill{
  min-width:0;
  padding:22px;
  border:1px solid var(--mk-line);
}

body.mkd-site:not(.mkd-home) .cart-footer .cart-bill-group{
  margin:0;
  padding:11px 0;
  border-bottom:1px solid var(--mk-line);
}

body.mkd-site:not(.mkd-home) .cart-footer .cart-bill-group:nth-last-of-type(1){
  padding-top:15px;
  border-bottom:0;
}

body.mkd-site:not(.mkd-home) .cart-footer .cart-btn{
  margin-top:14px;
  border-radius:12px;
}

body.mkd-site:not(.mkd-home) .cart-footer .cart-other-group{
  min-width:0;
  display:grid;
  gap:16px;
  background:transparent;
}

body.mkd-site:not(.mkd-home) .cart-footer .cart-promocode,
body.mkd-site:not(.mkd-home) .cart-footer .cart-quick-order{
  min-width:0;
  max-width:none;
  margin:0;
  padding:22px;
  background:var(--mk-canvas);
  border:1px solid var(--mk-line);
}

body.mkd-site:not(.mkd-home) .cart-footer .cart-promocode .cart-caption,
body.mkd-site:not(.mkd-home) .cart-footer .cart-quick-order .cart-caption{
  margin-bottom:15px;
  color:var(--mk-ink);
  font-size:12px;
  line-height:1.35;
}

body.mkd-site:not(.mkd-home) .cart-footer .cart-other-group .fg{
  display:grid;
  grid-template-columns:1fr;
  gap:10px;
  overflow:visible;
}

body.mkd-site:not(.mkd-home) .cart-footer .cart-other-group .input,
body.mkd-site:not(.mkd-home) .cart-footer .form-promocode .promocode-wrap{
  width:100%;
  min-width:0;
  margin:0;
}

body.mkd-site:not(.mkd-home) .cart-footer .cart-other-group .input,
body.mkd-site:not(.mkd-home) .cart-footer .cart-other-group .btn{
  height:48px;
  border-radius:12px;
}

body.mkd-site:not(.mkd-home) .cart-footer .cart-other-group .btn{
  width:100%;
  min-width:0;
}

body.mkd-site:not(.mkd-home) .cart-value.last,
body.mkd-site:not(.mkd-home) .bill-total-sum{ color:var(--mk-brand); font-weight:800; }

@media (min-width:768px){
  body.mkd-site:not(.mkd-home) .cart-footer .cart-other-group .fg{
    grid-template-columns:minmax(0,1fr) 138px;
    align-items:start;
  }
}

@media (min-width:1024px){
  body.mkd-site:not(.mkd-home) .cart-footer{
    grid-template-columns:minmax(0,1fr) minmax(340px,400px);
    align-items:stretch;
  }
  body.mkd-site:not(.mkd-home) .cart-footer .cart-bill{
    grid-column:2;
    grid-row:1;
  }
  body.mkd-site:not(.mkd-home) .cart-footer .cart-other-group{
    grid-column:1;
    grid-row:1;
  }
}

@media (min-width:1280px){
  body.mkd-site:not(.mkd-home) .cart-footer .cart-other-group{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
}

body.mkd-site:not(.mkd-home) .checkout .steps .step{
  border-color:var(--mk-line);
  border-radius:12px;
}
body.mkd-site:not(.mkd-home) .checkout .steps .step.current,
body.mkd-site:not(.mkd-home) .checkout .steps .step.active{
  color:#fff;
  background:var(--mk-brand);
  border-color:var(--mk-brand);
}

/* ---------- кабинет, авторизация и формы заявок ---------- */
body.mkd-site:not(.mkd-home) .profile,
body.mkd-site:not(.mkd-home) .cabinet-page,
body.mkd-site:not(.mkd-home) .registration-page{
  gap:18px;
}

body.mkd-site:not(.mkd-home) .profile-menu,
body.mkd-site:not(.mkd-home) .profile-content,
body.mkd-site:not(.mkd-home) .cabinet-card,
body.mkd-site:not(.mkd-home) .reg-page,
body.mkd-site:not(.mkd-home) .registration,
body.mkd-site:not(.mkd-home) .registration-form,
body.mkd-site:not(.mkd-home) .profile-form,
body.mkd-site:not(.mkd-home) .profile-favorite{
  background:#fff!important;
  border:1px solid var(--mk-line);
  border-radius:20px!important;
  box-shadow:none;
}

body.mkd-site:not(.mkd-home) .profile-menu{ overflow:hidden; }
body.mkd-site:not(.mkd-home) .profile-menu a{
  color:var(--mk-ink);
  border-color:var(--mk-line-soft);
}
body.mkd-site:not(.mkd-home) .profile-menu a:hover,
body.mkd-site:not(.mkd-home) .profile-menu a.current{
  color:var(--mk-brand);
  background:var(--mk-brand-soft);
}

body.mkd-site:not(.mkd-home) .cabinet-card .feature{
  border-color:var(--mk-line-soft)!important;
}

/* ---------- новости, статьи и контентные страницы ---------- */
body.mkd-site:not(.mkd-home) .news-blog .card,
body.mkd-site:not(.mkd-home) .collections-list .card,
body.mkd-site:not(.mkd-home) .stock-list .card,
body.mkd-site:not(.mkd-home) .s-card,
body.mkd-site:not(.mkd-home) .vacancies .item,
body.mkd-site:not(.mkd-home) .vacancy-item,
body.mkd-site:not(.mkd-home) .shops .item,
body.mkd-site:not(.mkd-home) .addresses .item{
  overflow:hidden;
  background:#fff;
  border:1px solid var(--mk-line);
  border-radius:18px;
  box-shadow:none;
  transition:border-color .2s ease,box-shadow .2s ease,transform .2s ease;
}

body.mkd-site:not(.mkd-home) .news-blog .card:hover,
body.mkd-site:not(.mkd-home) .collections-list .card:hover,
body.mkd-site:not(.mkd-home) .stock-list .card:hover{
  border-color:#d9d3cc;
}

body.mkd-site:not(.mkd-home) .collection-list .card .image-link,
body.mkd-site:not(.mkd-home) .collections-list .card .image-link,
body.mkd-site:not(.mkd-home) .news-blog .card > .card-link,
body.mkd-site:not(.mkd-home) .stock-list .card .image-link,
body.mkd-site:not(.mkd-home) .s-card .card-cover > a{
  display:block;
  overflow:hidden;
  isolation:isolate;
}

body.mkd-site:not(.mkd-home) .collection-list .card .col-img,
body.mkd-site:not(.mkd-home) .collections-list .card .col-img,
body.mkd-site:not(.mkd-home) .news-blog .card > .card-link img,
body.mkd-site:not(.mkd-home) .stock-list .card .image-link img,
body.mkd-site:not(.mkd-home) .s-card .card-cover > a img{
  transition:scale .72s cubic-bezier(.22,1,.36,1);
  transform-origin:center;
}

@media (any-hover:hover) and (any-pointer:fine){
  body.mkd-site:not(.mkd-home) .collection-list .card:hover .col-img,
  body.mkd-site:not(.mkd-home) .collections-list .card:hover .col-img,
  body.mkd-site:not(.mkd-home) .news-blog .card:hover > .card-link img,
  body.mkd-site:not(.mkd-home) .stock-list .card:hover .image-link img,
  body.mkd-site:not(.mkd-home) .s-card:hover .card-cover > a img{
    scale:1.035;
  }
}

body.mkd-site:not(.mkd-home) .article,
body.mkd-site:not(.mkd-home) .content-page,
body.mkd-site:not(.mkd-home) .content-slim:has(> .wysiwyg),
body.mkd-site:not(.mkd-home) .wysiwyg-page,
body.mkd-site:not(.mkd-home) .about-promo,
body.mkd-site:not(.mkd-home) .people-promo,
body.mkd-site:not(.mkd-home) .delivery-page,
body.mkd-site:not(.mkd-home) .warranty-page,
body.mkd-site:not(.mkd-home) .contacts-page,
body.mkd-site:not(.mkd-home) .dealers-page .section-promo,
body.mkd-site:not(.mkd-home) .dealers-page .section-how-to,
body.mkd-site:not(.mkd-home) .designers-page .section-promo,
body.mkd-site:not(.mkd-home) .designers-page .section-how-to{
  overflow:hidden;
  background:#fff;
  border:1px solid var(--mk-line);
  border-radius:24px;
}

body.mkd-site:not(.mkd-home) .dealers-page .section-promo,
body.mkd-site:not(.mkd-home) .dealers-page .section-how-to,
body.mkd-site:not(.mkd-home) .designers-page .section-promo,
body.mkd-site:not(.mkd-home) .designers-page .section-how-to{
  box-shadow:var(--mk-shadow);
}

body.mkd-site:not(.mkd-home) .delivery-page,
body.mkd-site:not(.mkd-home) .contacts-page{
  padding:28px;
}

body.mkd-site:not(.mkd-home) .delivery-page .delivery-groups{
  gap:18px;
}

body.mkd-site:not(.mkd-home) .delivery-page .delivery-groups .group{
  width:calc((100% - 36px)/3);
  margin-right:0;
  border-radius:18px;
}

body.mkd-site:not(.mkd-home) .delivery-page .payment-groups,
body.mkd-site:not(.mkd-home) .delivery-page .cashless,
body.mkd-site:not(.mkd-home) .contacts-page .contacts{
  overflow:hidden;
  border-radius:18px;
}

body.mkd-site:not(.mkd-home) .contacts-page .contacts-network .network-bg{
  background:#242424 url("/assets/images/jpg/contacts.jpg") center/cover no-repeat;
}

body.mkd-site:not(.mkd-home) .contacts-page .contacts-network .network-bg picture{
  display:block;
  width:100%;
  height:100%;
}

body.mkd-site:not(.mkd-home) .contacts-page .contacts-network .network-bg img{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  max-width:none;
  object-fit:cover;
}

body.mkd-site:not(.mkd-home) .wysiwyg,
body.mkd-site:not(.mkd-home) .article-text,
body.mkd-site:not(.mkd-home) .seo-text{
  color:#504d48;
  line-height:1.72;
}

body.mkd-site:not(.mkd-home) .wysiwyg h2,
body.mkd-site:not(.mkd-home) .wysiwyg h3,
body.mkd-site:not(.mkd-home) .article-text h2,
body.mkd-site:not(.mkd-home) .article-text h3{ color:var(--mk-ink); }

body.mkd-site:not(.mkd-home) .history .h-info{
  background:#fff;
  border:1px solid var(--mk-line);
  border-radius:16px;
}

/* ---------- popups ---------- */
body.mkd-site .popup,
body.mkd-site .popup-content,
body.mkd-site .popup-window{
  border-radius:22px;
}
body.mkd-site .popup-caption{ color:var(--mk-ink); font-weight:800; }
body.mkd-site .popup-close{
  border-radius:50%;
  background:var(--mk-canvas);
}

/* ---------- единая консультация ---------- */
body.mkd-site .mk-consultation-popup{
  width:min(680px,calc(100vw - 32px));
  max-width:calc(100vw - 32px);
  max-height:calc(100vh - 32px);
  overflow-y:auto;
  border:1px solid var(--mk-line-soft);
  border-radius:24px;
  box-shadow:0 24px 70px rgba(25,16,14,.22);
}
body.mkd-site .mk-consultation-popup .popup-content{ padding:46px 44px 38px; }
body.mkd-site .mk-consultation-popup #form_free_design{
  width:590px;
  max-width:100%;
}
body.mkd-site .mk-consultation-popup #form_free_design .popup-caption{
  max-width:520px;
  margin:0 auto 16px;
  color:var(--mk-ink);
  font-size:28px;
  font-weight:800;
  line-height:1.18;
  text-align:center;
  text-transform:none;
}
body.mkd-site .mk-consultation-popup__text{
  max-width:570px;
  margin:0 auto 28px;
  color:var(--mk-muted);
  font-size:15px;
  font-weight:500;
  line-height:1.65;
  text-align:center;
}
body.mkd-site .mk-consultation-popup__text strong{ color:var(--mk-ink); font-weight:750; }
body.mkd-site .mk-consultation-popup .fg-double{
  margin-bottom:18px;
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:16px;
}
body.mkd-site .mk-consultation-popup .fg-double .mk-consultation-popup__field{
  width:100%;
  margin:0;
  overflow:visible;
}
body.mkd-site .mk-consultation-popup__label{
  margin-bottom:8px;
  display:block;
  color:var(--mk-ink);
  font-size:13px;
  font-weight:700;
  line-height:1.3;
}
body.mkd-site .mk-consultation-popup .mk-consultation-popup__input,
body.mkd-site .mk-consultation-popup .mk-consultation-popup__input:focus,
body.mkd-site .mk-consultation-popup .mk-consultation-popup__input.full,
body.mkd-site .mk-consultation-popup .mk-consultation-popup__input.valid,
body.mkd-site .mk-consultation-popup .mk-consultation-popup__input.error{
  min-height:52px;
  padding:0 16px;
  color:var(--mk-ink);
  background:#fff;
  border:1px solid var(--mk-line);
  border-radius:12px;
  font-size:14px;
}
body.mkd-site .mk-consultation-popup .mk-consultation-popup__input::placeholder{ color:#96918e; opacity:1; }
body.mkd-site .mk-consultation-popup .mk-consultation-popup__input:focus{
  border-color:var(--mk-ink);
  box-shadow:0 0 0 3px rgba(25,16,14,.06);
}
body.mkd-site .mk-consultation-popup .mk-consultation-popup__input.error{ border-color:var(--mk-brand); }
body.mkd-site .mk-consultation-popup .form-confirm-btns{ display:block; }
body.mkd-site .mk-consultation-popup .form-confirm-btns .btn-popup{
  width:100%;
  min-height:52px;
  margin:0;
  border-radius:12px;
  font-weight:750;
}
body.mkd-site .mk-consultation-popup #form_free_design_thx{ max-width:100%; }

/* ---------- footer на всех страницах ---------- */
body.mkd-site .mkd-footer{
  margin-top:0;
  color:#fff;
  overflow:hidden;
  background:
    radial-gradient(circle at 8% 0,rgba(219,26,49,.12),transparent 30%),
    linear-gradient(145deg,#171717 0,#0e0e0e 72%);
}
body.mkd-site:not(.mkd-home) .mkd-footer{ border-top:1px solid rgba(255,255,255,.08); }
body.mkd-site .mkd-footer .wrap{ padding-top:46px; padding-bottom:24px; }
body.mkd-site .mkd-footer__top{
  padding-bottom:34px;
  display:grid;
  grid-template-columns:minmax(300px,1.35fr) repeat(3,minmax(160px,1fr));
  gap:clamp(24px,3vw,52px);
}
body.mkd-site .mkd-footer__brand{ padding-right:24px; }
body.mkd-site .mkd-footer__logo{
  display:inline-flex;
  align-items:center;
  min-height:38px;
}
body.mkd-site .mkd-footer__logo img{ width:auto; height:30px; }
body.mkd-site .mkd-footer__text{
  max-width:300px;
  margin:16px 0 18px;
  color:rgba(255,255,255,.68);
  font-size:13px;
  line-height:1.6;
}
body.mkd-site .mkd-footer__contacts{
  max-width:270px;
  display:grid;
  gap:10px;
}
body.mkd-site .mkd-footer__contact{ display:grid; gap:5px; }
body.mkd-site .mkd-footer__contact-label{
  color:rgba(255,255,255,.54);
  font-size:11px;
  font-weight:700;
  letter-spacing:.045em;
  line-height:1.3;
  text-transform:uppercase;
}
body.mkd-site .mkd-footer__phone{
  display:inline-flex;
  align-items:center;
  width:max-content;
  max-width:100%;
  min-height:42px;
  padding:0 15px;
  color:#fff;
  background:rgba(255,255,255,.075);
  border:1px solid rgba(255,255,255,.12);
  border-radius:12px;
  font-size:18px;
  font-weight:800;
  text-decoration:none;
  transition:background .2s ease,border-color .2s ease,transform .2s ease;
}
body.mkd-site .mkd-footer__phone:hover{
  color:#fff;
  background:rgba(255,255,255,.12);
  border-color:rgba(255,255,255,.22);
  transform:translateY(-1px);
}
body.mkd-site .mkd-footer__phone--whatsapp{
  background:rgba(37,211,102,.09);
  border-color:rgba(37,211,102,.28);
}
body.mkd-site .mkd-footer__phone--whatsapp:hover{
  background:rgba(37,211,102,.18);
  border-color:rgba(37,211,102,.46);
}
body.mkd-site .mkd-footer__socials{ margin-top:16px; display:flex; flex-wrap:wrap; gap:9px; }
body.mkd-site .mkd-footer__socials a{
  width:38px;
  height:38px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  color:rgba(255,255,255,.78);
  background:rgba(255,255,255,.055);
  border:1px solid rgba(255,255,255,.12);
  border-radius:50%;
  font-size:16px;
  transition:color .2s ease,background .2s ease,border-color .2s ease,transform .2s ease;
}
body.mkd-site .mkd-footer__socials a svg{
  width:17px;
  height:17px;
  display:block;
  fill:currentColor;
}
body.mkd-site .mkd-footer__socials a:hover{
  color:#fff;
  background:var(--mk-brand);
  border-color:var(--mk-brand);
  transform:translateY(-2px);
}
body.mkd-site .mkd-footer__col{
  position:relative;
  padding-left:26px;
  display:flex;
  flex-direction:column;
  gap:11px;
  border-left:1px solid rgba(255,255,255,.1);
}
body.mkd-site .mkd-footer__head{
  margin-bottom:8px;
  color:#fff;
  font-size:13px;
  font-weight:800;
  letter-spacing:.02em;
}
body.mkd-site .mkd-footer__head::after{
  width:28px;
  height:2px;
  margin-top:10px;
  display:block;
  background:var(--mk-brand);
  border-radius:999px;
  content:"";
}
body.mkd-site .mkd-footer__col a{
  width:max-content;
  max-width:100%;
  color:rgba(255,255,255,.66);
  font-size:13.5px;
  line-height:1.35;
  text-decoration:none;
  transition:color .2s ease,transform .2s ease;
}
body.mkd-site .mkd-footer__col a:hover{ color:#fff; transform:translateX(3px); }
body.mkd-site .mkd-footer__bottom{
  padding-top:20px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  flex-wrap:wrap;
  gap:16px;
  color:rgba(255,255,255,.52);
  border-top:1px solid rgba(255,255,255,.12);
  font-size:12px;
}
body.mkd-site .mkd-footer__legal{ display:flex; align-items:center; flex-wrap:wrap; gap:10px 20px; }
body.mkd-site .mkd-footer__legal a{ color:rgba(255,255,255,.54); text-decoration:none; }
body.mkd-site .mkd-footer__legal a:hover{ color:#fff; }
body.mkd-site .mkd-footer__creator{
  padding:7px 10px;
  background:rgba(255,255,255,.055);
  border:1px solid rgba(255,255,255,.1);
  border-radius:9px;
}
@media (min-width:768px){body.mkd-site .mkd-footer__creator{margin-right:72px;}}

/* ---------- responsive ---------- */
@media (max-width:1365px){
  body.mkd-site .mkd-menubar a.mkd-menubar__all.mkd-desktop-only{ display:none; }
  body.mkd-site .mkd-menubar a.mkd-menubar__all.mkd-mobile-only{ display:inline-flex; }
  body.mkd-site:not(.mkd-home) main > .wrap{ max-width:1156px; }
}

/* До desktop-breakpoint шапка фиксирована. StickySidebar с topSpacing:0 залезал
   под неё, поэтому на этом диапазоне сайдбары остаются в потоке документа. */
@media (min-width:768px) and (max-width:1365px){
  body.mkd-site :is(#filters,#sidebar).sidebar{
    height:auto!important;
    min-height:0!important;
    position:relative!important;
  }
  body.mkd-site :is(#filters,#sidebar).sidebar > .sidebar__inner{
    position:relative!important;
    inset:auto!important;
    width:100%!important;
    -webkit-transform:none!important;
    transform:none!important;
  }
}

@media (min-width:1024px) and (max-width:1365px){
  body.mkd-site:not(.mkd-home) .product-anchors{ top:72px; }
}

@media (max-width:1199px){
  body.mkd-site .mkd-menubar .wrap{ overflow-x:auto; }
  body.mkd-site .mkd-menubar__item{ display:contents; }
  body.mkd-site .mkd-menubar__dropdown,
  body.mkd-site .mkd-menubar__chevron{ display:none; }
}

@media (max-width:1023px){
  body.mkd-site .mkd-menubar .wrap{ height:56px; gap:8px; }
  body.mkd-site .mkd-menubar a{
    padding:9px 16px;
    background:#f1efec;
    border-radius:999px;
    font-size:13px;
  }
  body.mkd-site .mkd-menubar a.mkd-menubar__all{ color:#fff; background:var(--mk-brand); }
  body.mkd-site .mkd-menubar a.mkd-menubar__all .ico{ display:none; }
  body.mkd-site .content-filter .prod-next .p-btn.cut_m{ display:none; }
  body.mkd-site .content-filter .prod-next .p-btn.cut_m.mobile-window{
    display:flex;
    align-items:center;
    justify-content:center;
    margin:0 3px;
  }
  body.mkd-site .mkd-footer .wrap{ padding-top:36px; }
  body.mkd-site .mkd-footer__top{ padding-bottom:28px; grid-template-columns:repeat(2,minmax(0,1fr)); gap:28px 24px; }
  body.mkd-site .mkd-footer__brand{ grid-column:1/-1; padding-right:0; }
  body.mkd-site .mkd-footer__bottom{ align-items:flex-start; flex-direction:column; gap:10px; }
  body.mkd-site:not(.mkd-home) main{ padding-bottom:40px; }
  body.mkd-site:not(.mkd-home) .content-filter > .content{ padding:16px; }
  body.mkd-site:not(.mkd-home) .cart-page,
  body.mkd-site:not(.mkd-home) .checkout-page{ padding:22px; }
}

@media (max-width:767px){
  body.mkd-site.mkd-checkout-shell{ padding-bottom:0; }
  body.mkd-site:not(.mkd-checkout-shell){
    padding-bottom:calc(56px + env(safe-area-inset-bottom));
  }
  body.mkd-site:not(.mkd-home) .mkd-viewed > .caption{ padding-right:88px; }
  body.mkd-site:not(.mkd-home) .mkd-viewed__navigation{ top:-5px; gap:8px; }
  body.mkd-site.mkd-home .mkd-nav{ gap:8px; }
  body.mkd-site:not(.mkd-home) .mkd-viewed__arrow{ width:36px; height:36px; font-size:19px; }
  body.mkd-site.mkd-home .mkd-nav__arrow{
    width:36px;
    height:36px;
    padding:0;
    color:var(--mk-ink);
    font:700 19px/1 Arial,sans-serif;
    background:#fff;
    border-color:var(--mk-line);
    box-shadow:0 6px 18px rgba(21,18,16,.09);
  }
  body.mkd-site.mkd-home .mkd-nav__arrow:disabled{
    opacity:.35;
    pointer-events:none;
    box-shadow:none;
  }
  body.mkd-site.mkd-home .mkd-nav__arrow:focus-visible{
    outline:3px solid rgba(190,35,40,.24);
    outline-offset:2px;
  }
  body.mkd-site .header-hidden{ display:none!important; }
  body.mkd-site .header-simple .wrap.simple{
    min-height:64px;
    padding-right:16px;
    padding-left:16px;
  }
  body.mkd-site:not(.mkd-home) main{ padding-bottom:28px; }
  body.mkd-site:not(.mkd-home) main > .wrap{ padding-right:16px; padding-left:16px; }
  body.mkd-site:not(.mkd-home) .breadcrumbs{ padding-top:16px; margin-bottom:14px; }
  body.mkd-site .mk-consultation-popup{
    width:calc(100vw - 24px);
    max-width:calc(100vw - 24px);
    max-height:calc(100vh - 24px);
    border-radius:18px;
  }
  body.mkd-site .mk-consultation-popup .popup-content{ padding:38px 20px 24px; }
  body.mkd-site .mk-consultation-popup #form_free_design{ width:100%; }
  body.mkd-site .mk-consultation-popup #form_free_design .popup-caption{
    margin-bottom:12px;
    font-size:22px;
    line-height:1.22;
  }
  body.mkd-site .mk-consultation-popup__text{
    margin-bottom:22px;
    font-size:14px;
    line-height:1.55;
    text-align:left;
  }
  body.mkd-site .mk-consultation-popup .fg-double{ grid-template-columns:1fr; gap:14px; }
  body.mkd-site .mkd-footer .wrap{ padding-top:30px; padding-bottom:20px; }
  body.mkd-site .mkd-footer__top{
    padding-bottom:24px;
    grid-template-columns:1fr;
    gap:24px;
  }
  body.mkd-site .mkd-footer__brand{ grid-column:auto; }
  body.mkd-site .mkd-footer__text{ margin:12px 0 16px; }
  body.mkd-site .mkd-footer__col{ padding-left:18px; gap:10px; }
  body.mkd-site .mkd-footer__bottom{ padding-top:18px; line-height:1.5; }
  body.mkd-site .mkd-footer__legal{ align-items:flex-start; flex-direction:column; }
  body.mkd-site:not(.mkd-home) .page-title,
  body.mkd-site:not(.mkd-home) h1.caption,
  body.mkd-site:not(.mkd-home) .page-name,
  body.mkd-site:not(.mkd-home) .article-title,
  body.mkd-site:not(.mkd-home) .stock-caption,
  body.mkd-site:not(.mkd-home) .v-position,
  body.mkd-site:not(.mkd-home) .reg-caption,
  body.mkd-site:not(.mkd-home) .profile-caption,
  body.mkd-site:not(.mkd-home) .content-page > h1,
  body.mkd-site:not(.mkd-home) .caption.cart-caption,
  body.mkd-site:not(.mkd-home) .caption.checkout-caption{
    margin-bottom:20px;
    font-size:26px;
  }
  body.mkd-site:not(.mkd-home) .content-filter > .content{
    padding:12px;
    border-radius:16px;
  }
  /* На телефоне desktop-gap оставался рядом с уже скрытым фильтром и отнимал у
     двух колонок 18px. Карточки получали всего 102–122px внутренней ширины. */
  body.mkd-site:not(.mkd-home) .content-filter{ gap:0; }
  body.mkd-site:not(.mkd-home) .prod-list{
    align-items:stretch;
    column-gap:8px;
    row-gap:14px;
  }
  body.mkd-site:not(.mkd-home) .prod-list > .card,
  body.mkd-site:not(.mkd-home) .prod-list > .card:nth-child(2n){
    display:flex;
    width:calc(50% - 4px);
    min-width:0;
    margin:0;
    padding:8px 8px 14px;
  }
  body.mkd-site:not(.mkd-home) .prod-list .card-inner{
    display:flex;
    flex:1 1 auto;
    flex-direction:column;
    width:100%;
    min-width:0;
  }
  body.mkd-site:not(.mkd-home) .prod-list .card-info{
    display:flex;
    flex:1 1 auto;
    flex-direction:column;
    min-width:0;
  }
  body.mkd-site:not(.mkd-home) .prod-list .card-stocks{
    align-content:flex-start;
    align-items:flex-start;
    flex-wrap:wrap;
    gap:4px;
    height:auto!important;
    min-height:24px;
    margin:12px 0 14px;
    overflow:visible;
  }
  body.mkd-site:not(.mkd-home) .prod-list .card-stocks > div:not(:last-child){ margin-right:0; }
  body.mkd-site:not(.mkd-home) .prod-list .stock{
    flex:0 0 auto;
    min-height:24px;
    padding:3px;
    font-size:12px!important;
    line-height:16px;
    white-space:nowrap;
  }
  body.mkd-site:not(.mkd-home) .prod-list .stock.discount::before{
    flex:0 0 16px;
    width:16px;
    height:16px;
  }
  body.mkd-site:not(.mkd-home) .prod-list .card-price{
    gap:4px;
    min-width:0;
    margin-top:auto;
  }
  body.mkd-site:not(.mkd-home) .prod-list .price{ min-width:0; }
  body.mkd-site:not(.mkd-home) .prod-list .normal-price,
  body.mkd-site:not(.mkd-home) .prod-list .new-price{
    font-size:14px;
    line-height:16px;
    white-space:nowrap;
  }
  body.mkd-site:not(.mkd-home) .prod-list .old-price{
    font-size:12px;
    line-height:15px;
    white-space:nowrap;
  }
  body.mkd-site:not(.mkd-home) .prod-list .add-favorites{ flex:0 0 auto; }
  body.mkd-site:not(.mkd-home) .filters .filter-content,
  body.mkd-site:not(.mkd-home) .filters-rubric,
  body.mkd-site:not(.mkd-home) .b_filter{ border-radius:16px; }
  body.mkd-site:not(.mkd-home) .prod-list .card,
  body.mkd-site:not(.mkd-home) .favorites-products .card,
  body.mkd-site:not(.mkd-home) .cart-recommended .card,
  body.mkd-site:not(.mkd-home) .prod-swiper .card,
  body.mkd-site:not(.mkd-home) .popular-products .card,
  body.mkd-site:not(.mkd-home) .popular-categories .card,
  body.mkd-site:not(.mkd-home) .category-list .card,
  body.mkd-site:not(.mkd-home) .category-related .card,
  body.mkd-site:not(.mkd-home) .collection-list .card,
  body.mkd-site:not(.mkd-home) .related .card,
  body.mkd-site:not(.mkd-home) .about-categories .card{ border-radius:16px; }
  body.mkd-site:not(.mkd-home) .cart-page,
  body.mkd-site:not(.mkd-home) .checkout-page{
    padding:16px;
    border-radius:18px;
  }
  body.mkd-site:not(.mkd-home) .product-card .card-block,
  body.mkd-site:not(.mkd-home) .product-card .block-features,
  body.mkd-site:not(.mkd-home) .product-card .block-description,
  body.mkd-site:not(.mkd-home) .product-card .block-reviews,
  body.mkd-site:not(.mkd-home) .article,
  body.mkd-site:not(.mkd-home) .content-page,
  body.mkd-site:not(.mkd-home) .content-slim:has(> .wysiwyg),
  body.mkd-site:not(.mkd-home) .about-promo,
  body.mkd-site:not(.mkd-home) .people-promo{ border-radius:18px; }

  body.mkd-site:not(.mkd-home) .delivery-page,
  body.mkd-site:not(.mkd-home) .contacts-page{ padding:16px; }

  body.mkd-site:not(.mkd-home) .delivery-page .delivery-groups{
    display:flex;
    gap:16px;
  }

  body.mkd-site:not(.mkd-home) .delivery-page .delivery-groups .group{
    width:100%;
    margin:0;
  }
  body.mkd-site:not(.mkd-home) .search-taxonomy-group{ display:block; }
  body.mkd-site:not(.mkd-home) .search-taxonomy-group > strong{ display:block; margin-bottom:8px; padding-top:0; }
  body.mkd-site:not(.mkd-home) .category-list .card-list ul{ padding:0 12px 14px; }
  body.mkd-site:not(.mkd-home) .category-list .card-other-link{ min-height:44px; font-size:13px; }
}

@media (max-width:340px){
  body.mkd-site:not(.mkd-home) .prod-list > .card,
  body.mkd-site:not(.mkd-home) .prod-list > .card:nth-child(2n){
    padding-right:6px;
    padding-left:6px;
  }
  body.mkd-site:not(.mkd-home) .sorting .sort-flex{ min-width:0; }
  body.mkd-site:not(.mkd-home) .sorting .sort-flex .sorting-filter{
    flex:0 0 118px;
    min-width:118px!important;
    padding-right:10px;
    padding-left:10px;
  }
  body.mkd-site:not(.mkd-home) .sorting .sort-flex .sorting-filter span{ margin-left:10px; }
  body.mkd-site:not(.mkd-home) .sorting .sort-flex .sorting-by{
    flex:1 1 auto;
    width:auto;
    min-width:0;
    padding-right:28px;
    padding-left:8px;
  }
  body.mkd-site:not(.mkd-home) .sorting .sort-flex .sorting-by .ico{ right:8px; }
}

@media (min-width:768px) and (max-width:1365px){
  body.mkd-site:not(.mkd-home) .delivery-page .delivery-groups .group{
    width:calc((100% - 18px)/2);
    margin-right:0;
  }
}

@media (prefers-reduced-motion:reduce){
  body.mkd-site:not(.mkd-home) .card .image-link:has(.hover-img)::after{ display:none; }
  body.mkd-site *,
  body.mkd-site *::before,
  body.mkd-site *::after{
    scroll-behavior:auto!important;
    animation-duration:.01ms!important;
    animation-iteration-count:1!important;
    transition-duration:.01ms!important;
  }
}

/* ---------- финальная полировка акций и «О компании» ---------- */
body.mkd-site .header-main .nav-favorites.added .mk-header-action-icon--favorites{
  color:var(--mk-brand);
  fill:currentColor;
}

body.mkd-site:not(.mkd-home) .stock-page{ min-width:0; }
body.mkd-site:not(.mkd-home) .stock-header{
  margin:0 0 48px;
  padding:22px 0 0!important;
  background:transparent!important;
}
body.mkd-site:not(.mkd-home) .stock-header .stock-slim{ max-width:1156px; padding:0; }
body.mkd-site:not(.mkd-home) .stock-header .stock-banner{
  margin-bottom:18px;
  overflow:hidden;
  isolation:isolate;
  background:#fff;
  border:1px solid var(--mk-line);
  border-radius:24px;
  box-shadow:0 16px 44px rgba(44,32,24,.1);
}
body.mkd-site:not(.mkd-home) .stock-header :is(.banner-mobile,.banner-tablet,.banner-desktop){
  min-height:0!important;
  overflow:hidden;
  background:#ece9e5;
}
body.mkd-site:not(.mkd-home) .stock-header :is(.banner-mobile,.banner-tablet,.banner-desktop) picture{
  width:100%;
  height:100%;
  display:block;
}
body.mkd-site:not(.mkd-home) .stock-header :is(.banner-mobile,.banner-tablet,.banner-desktop) img{
  width:100%;
  height:auto;
  max-width:none;
  display:block;
  object-fit:cover;
  object-position:center;
}
body.mkd-site:not(.mkd-home) .stock-header .card-footer{
  left:18px;
  bottom:18px;
  max-width:390px;
  padding:12px 20px;
  overflow:hidden;
  border:1px solid rgba(255,255,255,.78);
  border-radius:13px;
  background:rgba(255,255,255,.94);
  box-shadow:0 9px 28px rgba(24,22,20,.16);
  backdrop-filter:blur(10px);
}
body.mkd-site:not(.mkd-home) .stock-header .stock-footer{ padding:0 4px; }
body.mkd-site:not(.mkd-home) .stock-header .stock-footer .stock-time{ color:var(--mk-muted); }

body.mkd-site:not(.mkd-home) .about-how{ gap:18px; }
body.mkd-site:not(.mkd-home) .about-how .question{
  width:auto;
  flex:1 1 0;
  padding:24px;
}
body.mkd-site:not(.mkd-home) .about-how .how-img{ width:48px; height:48px; margin:0 0 18px; }
body.mkd-site:not(.mkd-home) .about-how .how-img img{ width:48px; height:48px; object-fit:contain; }
body.mkd-site:not(.mkd-home) .about-how .how-caption{ margin-bottom:12px; line-height:1.35; }
body.mkd-site:not(.mkd-home) .about-how .how-text{ color:var(--mk-muted); line-height:1.55; }
body.mkd-site:not(.mkd-home) .about-categories .card-info{
  position:relative;
  overflow:hidden;
  isolation:isolate;
  background:#dedbd6;
}
body.mkd-site:not(.mkd-home) .about-categories .card-info picture{ width:100%; height:100%; display:block; }
body.mkd-site:not(.mkd-home) .about-categories .card-info img{
  width:100%;
  height:100%;
  max-height:none;
  display:block;
  object-fit:cover;
  transition:scale .72s cubic-bezier(.22,1,.36,1);
}
body.mkd-site:not(.mkd-home) .about-categories .card-info::after{
  content:"";
  position:absolute;
  z-index:1;
  inset:0;
  pointer-events:none;
  background:linear-gradient(180deg,rgba(20,18,16,.05),rgba(20,18,16,.2) 48%,rgba(20,18,16,.44));
}
body.mkd-site:not(.mkd-home) .about-categories .card-caption{
  z-index:2;
  width:calc(100% - 28px);
  padding:10px 12px;
  color:#fff!important;
  background:rgba(24,22,20,.76);
  border:1px solid rgba(255,255,255,.24);
  border-radius:11px;
  box-shadow:0 8px 22px rgba(0,0,0,.16);
  text-shadow:0 1px 2px rgba(0,0,0,.35);
}
body.mkd-site:not(.mkd-home) .about-categories .card-link:hover .card-info{ opacity:1; }
body.mkd-site:not(.mkd-home) .about-categories .card-link:hover .card-info img{ scale:1.035; }
body.mkd-site:not(.mkd-home) .people-promo .promo-left{ overflow:hidden; }
body.mkd-site:not(.mkd-home) .people-promo .promo-left picture{ width:100%; height:100%; display:block; }
body.mkd-site:not(.mkd-home) .people-promo .promo-left img{
  width:100%;
  height:100%;
  max-width:none;
  display:block;
  object-fit:cover;
}
body.mkd-site:not(.mkd-home) .people-promo .promo-right{
  margin:0;
  padding:34px 36px 38px;
}

@media (max-width:767px){
  body.mkd-site:not(.mkd-home) .stock-header{ margin-bottom:34px; padding-top:6px!important; }
  body.mkd-site:not(.mkd-home) .stock-header .stock-banner{ border-radius:22px; box-shadow:0 12px 32px rgba(44,32,24,.09); }
  body.mkd-site:not(.mkd-home) .stock-header .card-footer{
    position:static;
    max-width:none;
    padding:16px clamp(58px,18vw,76px) 18px;
    align-items:center;
    text-align:center;
    border:0;
    border-top:1px solid var(--mk-line-soft);
    border-radius:0;
    background:#fff;
    box-shadow:none;
    backdrop-filter:none;
  }
  body.mkd-site:not(.mkd-home) .stock-header .card-till-text{ line-height:1.35; }
  body.mkd-site:not(.mkd-home) .stock-header .stock-footer{ padding:0 2px; }
  body.mkd-site:not(.mkd-home) .about-how{ margin-top:34px; margin-bottom:50px; }
  body.mkd-site:not(.mkd-home) .about-how .question{ margin-bottom:16px; padding:20px; }
  body.mkd-site:not(.mkd-home) .about-categories .card-caption{ width:calc(100% - 20px); padding:8px; border-radius:9px; }
  body.mkd-site:not(.mkd-home) .people-promo .promo-right{ padding:26px 22px 30px; }
}

@media (min-width:768px) and (max-width:1023px){
  body.mkd-site:not(.mkd-home) .stock-header .card-footer{ left:14px; bottom:14px; }
  body.mkd-site:not(.mkd-home) .people-promo .promo-right{ padding:40px; }
}

@media (min-width:1024px){
  body.mkd-site:not(.mkd-home) .people-promo .promo-right{ padding:46px 48px; }
}

/* UI/UX hardening: видимый фокус, семантические controls и WCAG AA-контраст. */
.mk-visually-hidden,
.mk-skip-target{
  position:absolute!important;
  width:1px!important;
  height:1px!important;
  padding:0!important;
  margin:-1px!important;
  overflow:hidden!important;
  clip:rect(0,0,0,0)!important;
  white-space:nowrap!important;
  border:0!important;
}

.mk-skip-link{
  position:fixed;
  z-index:1000;
  top:12px;
  left:12px;
  padding:12px 16px;
  color:#fff!important;
  background:#141414;
  border-radius:10px;
  box-shadow:0 8px 24px rgba(0,0,0,.22);
  transform:translateY(-160%);
  transition:transform .18s ease;
}
.mk-skip-link:focus{ transform:translateY(0); outline:3px solid #fff!important; outline-offset:2px; }

body.mkd-site :where(a,button,input,select,textarea,[role="button"],[tabindex]):focus-visible{
  outline:3px solid #1769aa!important;
  outline-offset:3px!important;
}

body.mkd-site .mk-icon-button,
body.mkd-site button.menu-link,
body.mkd-site button.sorting-filter,
body.mkd-site button.filter-toggler,
body.mkd-site button.p-btn,
body.mkd-site button.calc-way,
body.mkd-site button.calc-btn,
body.mkd-site button.go-to-full{
  appearance:none;
  -webkit-appearance:none;
  font:inherit;
}
body.mkd-site .mk-icon-button{
  display:inline-flex;
  width:44px;
  height:44px;
  padding:0;
  flex:0 0 44px;
  align-items:center;
  justify-content:center;
  color:inherit;
  background:transparent;
  border:0;
  cursor:pointer;
}
body.mkd-site .menu-header-flex .mk-icon-button{ margin:-12px -10px -12px 0; }
body.mkd-site button.menu-link{
  width:100%;
  padding:0;
  color:inherit;
  text-align:left;
  background:transparent;
  border:0;
  cursor:pointer;
}
body.mkd-site .item-delete.fav-item-delete{
  padding:0;
  color:inherit;
  background:transparent;
  border:0;
  cursor:pointer;
}

body.mkd-site .sorting .sort-flex .sorting-by-toggle{
  position:absolute;
  z-index:2;
  inset:0 0 auto;
  width:100%;
  height:50px;
  padding:0;
  background:transparent;
  border:0;
  cursor:pointer;
}
body.mkd-site .sorting .sort-flex .sorting-by:focus-within{
  box-shadow:0 0 0 3px #1769aa;
}
body.mkd-site button.sorting-filter{
  color:inherit;
  border:0;
}
body.mkd-site button.filter-toggler{
  width:100%;
  color:inherit;
  text-align:left;
  background:transparent;
  border:0;
  cursor:pointer;
}
body.mkd-site .sorting .sort-flex :is(.sorting-by,.sorting-by-text,.sorting-by-current){ cursor:default; }
body.mkd-site .sorting .sort-flex .sorting-by-toggle{ cursor:pointer; }
body.mkd-site .sorting .sort-flex.sort-flex--single .sorting-by{ width:100%; }
body.mkd-site .sorting .sort-flex .sorting-by-text{ color:#65615c; }
body.mkd-site .sorting .sort-line .sorting-item{ color:#65615c; }
body.mkd-site .sorting .sort-line .sorting-item.selected{ color:var(--mk-ink); }

body.mkd-site .pagination button.p-btn{
  font:inherit;
  color:inherit;
  background:transparent;
  border:0;
}
body.mkd-site .pagination button.p-btn:not(:disabled){ cursor:pointer; }
body.mkd-site .pagination button.p-btn:disabled{ cursor:not-allowed; }
body.mkd-site .pagination :is(span.p-btn.current,span.p-btn.disabled){ cursor:default; }

body.mkd-site button.calc-way{
  padding:0;
  color:inherit;
  background:transparent;
  border:0;
  cursor:pointer;
}
body.mkd-site button.calc-btn,
body.mkd-site button.go-to-full{
  color:inherit;
  border:0;
  cursor:pointer;
}
body.mkd-site button.calc-btn{ background:transparent; }
body.mkd-site button.go-to-full{ background:#fff; }

body.mkd-site .mk-bottom-nav .mk-tab{ color:#65615c; }
body.mkd-site .breadcrumbs :is(.breadcrumbs-link,.breadcrumbs-last),
body.mkd-site .breadcrumbs ul:not(.breadcrumbs-list) :is(li,a){ color:#65615c; }
body.mkd-site :is(.filters,.filter-content) .item-count{ color:#65615c; }
body.mkd-site :is(.filters,.filter-content) .filter-item .item-link{
  display:inline-flex;
  min-height:24px;
  align-items:center;
}
body.mkd-site :is(.seo-collapse p,.item-text,.feature .name,.delivery-text,.info-title .colored,.collapse_btn .colored,.thing){ color:#65615c; }
body.mkd-site :is(.old-price,.card-old-price){ color:#6b6762!important; }
body.mkd-site .credit{ color:#a93600!important; }
body.mkd-site .item-id{ color:#65615c!important; }
body.mkd-site .free{ color:#0c6b26!important; }
body.mkd-site .accent:not(.btn){ color:#c1162b; }
body.mkd-site .mkd-kicker,
body.mkd-site .text-link[style*="color"]{ color:#c1162b; }
body.mkd-site .mkd-ai__btn-sub{ color:#fff; opacity:1; }
body.mkd-site .product-card .block-calc .calc-caption .calc-way:not(.current),
body.mkd-site .product-info .title-hidden{ color:#65615c; }
body.mkd-site :is(.news-blog,.other-news-blog) .card-date{ color:#65615c; }
body.mkd-site :is(.mkd-lead__agree,label[for="mkd-lead-comment"] small){ color:#65615c; }
body.mkd-site .mk-news-page :is(time,.mk-news-results,.mk-news-page__hero-aside > p,.mk-news-sort__label,.mk-news-page__stat > span,a[data-sort]){ color:#65615c; }

@media (max-width:1023px){
  body.mkd-site .filters.sidebar.opened{ z-index:60!important; }
}

@media (prefers-reduced-motion:reduce){
  body.mkd-site *,
  body.mkd-site *::before,
  body.mkd-site *::after{
    scroll-behavior:auto!important;
    animation-duration:.01ms!important;
    animation-iteration-count:1!important;
    transition-duration:.01ms!important;
  }
}
