/* Шапка AnyMolds */
#themeOverride #am-storefront .top,
#themeOverride .Body__Header .Header-links,
#themeOverride .Header__Left--Shop,
#themeOverride .Header__Box--Order {
  display: none !important;
}

#themeOverride .Header__Box,
#themeOverride #am-storefront .head {
  position: relative;
  min-height: 76px;
  gap: clamp(16px, 2.1vw, 32px);
}
#themeOverride .Header__Box {
  justify-content: space-between;
}
#themeOverride .Header__Search {
  flex: 1 1 auto;
  min-width: 0;
  margin-inline: 0;
}
#themeOverride .Header__Branding,
#themeOverride .Header__Shop {
  width: auto;
  flex: none;
}

#themeOverride .Header__Link--Logo,
#themeOverride #am-storefront .brandrow {
  gap: 14px;
}
#themeOverride .Header__Img--Branding {
  width: 138px !important;
}
#themeOverride .Header__Link--Logo:after {
  max-width: none;
  width: 168px;
  font-size: 14px;
  line-height: 1.25;
}
#themeOverride .Header__Link--Logo:has(.am-motto):after {display:none}
#themeOverride .am-motto,
#themeOverride #am-storefront .tagline {
  width: 181px;
  max-width: none;
  min-height: 36px;
  padding-inline-start: 12px;
  color: #54443b;
  font: 500 14px/1.28 AmHomeInter, Arial, sans-serif;
}

#themeOverride .Header__Right--Shop,
#themeOverride #am-storefront .head-right {
  display: flex;
  align-items: center;
  gap: 16px;
  flex: none;
}
#themeOverride #am-storefront .head-right a,
#themeOverride .am-header-account,
#themeOverride .Header__Box--Cart > .Header__Link--Cart {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  font: 600 15px/1.25 AmHomeInter, Arial, sans-serif;
  color: #30221c;
  text-decoration: none;
}
#themeOverride .Header__Box--Cart > .Header__Link--Cart {
  min-width: 44px;
  gap: 7px;
  padding-inline: 10px;
}
#themeOverride .Header__Box--Cart > .Header__Link--Cart:after {
  content: "Корзина";
  order: 1;
}
#themeOverride .Header__Box--Cart .Header__Text--ItemsInCart {order: 2}
#themeOverride .Header__Box--Cart .Header__Icon--Cart {order: 0}
#themeOverride .Header__Box--Cart .Header__Icon--Cart,
#themeOverride .Header__Box--Cart .Header__Link--Cart:after { color: white; }
#themeOverride #am-storefront .search input,
#themeOverride .Header__Search .Search__Input--Query,
#themeOverride .Search__Box--Mobile .Search__Input--Query {
  min-width: 0;
  font: 400 15px/1.35 AmHomeInter, Arial, sans-serif;
}
#themeOverride #am-storefront .head-right .login:hover,
#themeOverride .am-header-account:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}
#themeOverride .Nav__Primary .Nav__Link--Root,
#themeOverride #am-storefront .navbar {
  min-height: 46px;
  font: 600 15px/1.25 AmHomeInter, Arial, sans-serif;
}
#themeOverride #am-storefront .navbar {gap: clamp(14px, 2.1vw, 36px)}
#themeOverride #am-storefront .navbar .catalog-link {font-weight: 650}
#themeOverride #am-storefront .navorder {margin-inline-start:auto}
#themeOverride .Body__Footer .am-footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  max-width: 1280px;
  width: calc(100% - 32px);
  padding: 14px 0;
  margin: 0 auto;
  border-bottom: 1px solid #dfd3c6;
  font: 500 14px/1.45 AmHomeInter, Arial, sans-serif;
}
#themeOverride .am-footer-links a {color:#54443b;text-decoration:underline;text-underline-offset:3px}

@media (max-width: 1024px) {
  #themeOverride .am-motto,
  #themeOverride #am-storefront .tagline {
    width: 138px;
  }
  #themeOverride .Header__Box--Cart > .Header__Link--Cart:after {content: none}
}

@media (max-width: 720px) {
  #themeOverride .Header__Box,
  #themeOverride #am-storefront .head {
    min-height: 70px;
    gap: 8px;
    padding-block: 7px;
  }
  #themeOverride .Header__Link--Logo,
  #themeOverride #am-storefront .brandrow {
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
  }
  #themeOverride .Header__Img--Branding {width: 106px !important}
  #themeOverride #am-storefront .brandrow .brand {font-size: 31px;line-height: 1}
  #themeOverride .am-motto,
  #themeOverride #am-storefront .tagline {
    width: auto;
    min-height: 18px;
    border-left: 0;
    padding: 4px 0 0;
    font-size: 12px;
    line-height: 1.25;
  }
  #themeOverride .Header__Link--Logo:after {width:auto;border:0;padding:4px 0 0;font-size:12px}
  #themeOverride .Header__Right--Shop,
  #themeOverride #am-storefront .head-right {gap: 4px}
  #themeOverride #am-storefront .head-right a,
  #themeOverride #am-storefront .head-right summary,
  #themeOverride .am-header-account {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    min-height: 44px;
    font-size: 13px;
  }
  #themeOverride #am-storefront .head-right a[aria-label="Корзина"],
  #themeOverride #am-storefront .head-right summary { min-width: 44px; }
  #themeOverride #am-storefront .mobilemenu[open] form {top: 100%;right: 0;width: min(320px, 100%)}
  #themeOverride #am-storefront .navbar {min-height:45px;gap:10px;font-size:14px}
  #themeOverride .Body__Header .custom-menu-btn {min-height:44px;font-size:15px}
  #themeOverride .Body__Footer .am-footer-links {font-size:14px}
}
#am-store-end .prose.am-with-interview {
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
  gap: clamp(24px, 5vw, 74px);
  align-items: start;
}
#am-store-end .am-seo-copy h2 {margin: 0 0 16px}
#am-store-end .am-interview {
  display: grid;
  grid-template-columns: minmax(110px, 176px) minmax(0, 1fr);
  align-items: center;
  gap: clamp(12px, 2.4vw, 26px);
  margin: 0;
  padding: clamp(12px, 2vw, 20px);
  border: 1px solid #e5d8cb;
  border-radius: 16px;
  background: #f6eee4;
}
#am-store-end .am-interview video {
  width: 100%;
  height: auto;
  aspect-ratio: 9 / 16;
  display: block;
  border-radius: 9px;
  background: #34241b;
}
#am-store-end .am-interview h3 {
  font-size: clamp(16px, 2vw, 22px);
  line-height: 1.2;
  margin: 0 0 8px;
}
#am-store-end .am-interview p {margin: 0; font-size: 14px}
@media (max-width: 760px) {
  #am-store-end .prose.am-with-interview {grid-template-columns: 1fr}
  #am-store-end .am-interview {width: min(100%, 440px);box-sizing:border-box}
}
/* Корзина компактна, а счётчик не перекрывает значок. */
#themeOverride .Header__Box--Cart > .Header__Link--Cart {position:relative}
#themeOverride .Header__Box--Cart > .Header__Link--Cart:after {content:none}
#themeOverride .Header__Box--Cart .Header__Icon--Cart {position:static;transform:none;font-size:21px}
#themeOverride .Header__Box--Cart .Header__Text--ItemsInCart {
  position:absolute;
  top:4px;
  right:4px;
  min-width:14px;
  min-height:14px;
  border-radius:8px;
  padding:0 2px;
  font-size:10px;
  line-height:14px;
  text-align:center;
}
#themeOverride #am-storefront .head-right .login {display:inline-flex;font-size:15px}
#themeOverride #am-storefront .tagline.am-motto {width:181px;padding-inline-start:12px;font-size:14px;line-height:1.28}
#themeOverride .Header__Shop {margin-inline-start:auto}
#themeOverride .Header__Right--Shop {justify-content:flex-end}
@media (max-width: 1024px) {
  #themeOverride #am-storefront .tagline.am-motto {width:138px}
  #themeOverride #am-storefront .navbar {gap:14px}
}
@media (max-width: 780px) {
  #themeOverride #am-storefront .head {min-height:68px}
  #themeOverride #am-storefront .head > .search {display:none}
  #themeOverride #am-storefront .mobilemenu {display:block}
  #themeOverride #am-storefront .head-right .cartlabel {display:none}
  #themeOverride #am-storefront .navbar>a:not(.catalog-link):not(.navorder) {display:none}
}
@media (max-width: 720px) {
  #themeOverride #am-storefront .brandrow {flex:none}
  #themeOverride #am-storefront .tagline.am-motto {
    min-height:18px;
    width:auto;
    border:0;
    padding:4px 0 0;
    font-size:12px;
    line-height:1.25;
  }
  #themeOverride #am-storefront .head-right .login {min-width:32px;font-size:13px}
  #themeOverride #am-storefront .head-right {gap:0}
  #themeOverride #am-storefront .head-right a[aria-label="Корзина"],
  #themeOverride #am-storefront .head-right summary {min-width:40px}
}
@media (max-width: 360px) {
  #themeOverride #am-storefront .tagline.am-motto,#themeOverride .Header__Link--Logo .am-motto {max-width:146px;min-height:30px}
}
#themeOverride #am-storefront .navbar .minor {display:none}
@media (max-width: 780px) {
  #themeOverride #am-storefront .head {justify-content:space-between;gap:8px}
  #themeOverride #am-storefront .mobilemenu summary {
    display:grid;
    place-items:center;
    list-style:none;
    cursor:pointer;
    width:40px;
    min-height:44px;
  }
  #themeOverride #am-storefront .mobilemenu summary::-webkit-details-marker {display:none}
  #themeOverride #am-storefront .mobilemenu[open] .search {
    display:flex;
    position:absolute;
    z-index:5;
    top:100%;
    right:0;
    width:min(320px,100%);
  }
}
