/* SOYKINO V5.3 — desktop navigation */
@media (min-width:981px) {
  html:has(#soykino-v53-heritage) #allrecords .t-menu-base__maincontainer {flex-wrap:nowrap;}
  html:has(#soykino-v53-heritage) #allrecords .t-menu-base__list {flex-wrap:nowrap;gap:clamp(2px,.35vw,6px);}
  html:has(#soykino-v53-heritage) #allrecords .t-menu-base__maincontainer .t-menu__link-wrapper {padding-inline:clamp(2px,.33vw,5px)!important;}
  html:has(#soykino-v53-heritage) #allrecords .t-menu-base .t-menu__link-item {font-size:clamp(14px,1.25vw,18.5px)!important;}
  html:has(#soykino-v53-heritage) #allrecords .t-menu-base__button .t-btnflex {padding-inline:clamp(6px,.8vw,12px)!important;}
}
@media (min-width:981px) and (max-width:1200px) {
  html:has(#soykino-v53-heritage) #allrecords .t-menu-base__logowrapper_left .t-menu-base__imglogo {width:98px!important;}
  html:has(#soykino-v53-heritage) #allrecords .t-menu-base__buttons {gap:4px;}
  html:has(#soykino-v53-heritage) #allrecords .t-menu-base__button .t-btnflex {font-size:14px!important;}
}


/* SOYKINO V5.3 — кнопки заявки и текст обложек */
html:has(#soykino-v53-heritage) #allrecords .t-cover .t182__descr {
  color:#fff!important;
  opacity:1!important;
  font-weight:700!important;
  text-shadow:0 1px 2px #101f1a,0 2px 10px #101f1ae6;
}
html:has(#soykino-v53-heritage) #allrecords :is(.t-btnflex,.t119__preface a)[href$="#request"]:not(:where(.t-menu-base *,.tmenu-mobile *)) {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:54px;
  height:auto!important;
  max-width:100%;
  box-sizing:border-box;
  padding:10px 28px!important;
  background:#f6f2eb!important;
  color:#283e35!important;
  border:1px solid #d4c4ac!important;
  border-radius:9px!important;
  font-size:17px!important;
  font-weight:700!important;
  line-height:1.35!important;
  text-align:center;
  text-decoration:none!important;
  text-transform:none!important;
  white-space:normal!important;
  box-shadow:none!important;
}
html:has(#soykino-v53-heritage) #allrecords .t-btnflex[href$="#request"]:not(:where(.t-menu-base *,.tmenu-mobile *)) :is(.t-btnflex__icon,.t-btn_wrap-effects) {display:none!important;}
html:has(#soykino-v53-heritage) #allrecords :is(.t-btnflex[href$="#request"]:not(:where(.t-menu-base *,.tmenu-mobile *,#rec5639650101 *)) .t-btnflex__text,.t119__preface a[href$="#request"])::after {
  content:'';
  display:inline-block;
  width:.7em;
  height:.7em;
  margin-inline-start:.45em;
  background:currentColor;
  clip-path:polygon(26% 0,100% 0,100% 74%,87% 74%,87% 22%,9% 100%,0 91%,78% 13%,26% 13%);
}
@media (max-width:980px) {
  html:has(#soykino-v53-heritage) #allrecords :is(.t-btnflex,.t119__preface a)[href$="#request"]:not(:where(.t-menu-base *,.tmenu-mobile *)) {
    width:100%!important;
    min-height:56px;
    border-radius:30px!important;
    background:#283e35!important;
    border-color:#d4c4ac!important;
    color:#fff!important;
    padding-inline:20px!important;
  }
}

/* Шрифт кнопок по образцу главной */
html:has(#soykino-v53-heritage) #allrecords :is(.t-btnflex,.t-btntext,.t-submit,.t119__preface a[href$="#request"]):not([href^="tel:"]),
html:has(#soykino-v53-heritage) #allrecords :is(.t-btnflex__text,.t-btntext__text):not(a[href^="tel:"] *) {
  font-family:var(--soy-hand,'Bad Script',cursive)!important;
}

/* Контрастное наведение и клавиатурный фокус */
html:has(#soykino-v53-heritage) #allrecords.t-records :is(.t-btnflex,.t-btntext,.t-submit,.t119__preface a[href$="#request"],a[href^="tel:"]) {
  transition:background-color .24s ease,color .24s ease,border-color .24s ease,box-shadow .24s ease,translate .24s ease,opacity .3s ease,transform .3s ease!important;
}
@media (hover:hover) and (pointer:fine) {
  html:has(#soykino-v53-heritage) #allrecords.t-records :is(.t-btnflex,.t-btntext,.t-submit,.t119__preface a[href$="#request"],a[href^="tel:"]):hover {
    background-color:#172B25!important;
    color:#F6F2EB!important;
    border-color:#C6AA82!important;
    box-shadow:0 6px 16px #172B2533,inset 0 0 0 1px #C6AA82!important;
    translate:0 -2px;
  }
  html:has(#soykino-v53-heritage) #allrecords.t-records :is(.t-btnflex,.t-btntext,.t-submit,.t119__preface a[href$="#request"],a[href^="tel:"]):hover :is(.t-btnflex__text,.t-btntext__text) {color:#F6F2EB!important;}
}
html:has(#soykino-v53-heritage) #allrecords.t-records :is(.t-btnflex,.t-btntext,.t-submit,.t119__preface a[href$="#request"],a[href^="tel:"]):focus-visible {
  background-color:#172B25!important;
  color:#F6F2EB!important;
  border-color:#C6AA82!important;
  outline:2px solid #C6AA82!important;
  outline-offset:3px;
}
html:has(#soykino-v53-heritage) #allrecords.t-records :is(.t-btnflex,.t-btntext,.t-submit,.t119__preface a[href$="#request"],a[href^="tel:"]):focus-visible :is(.t-btnflex__text,.t-btntext__text) {color:#F6F2EB!important;}
@media (prefers-reduced-motion:reduce) {
  html:has(#soykino-v53-heritage) #allrecords.t-records :is(.t-btnflex,.t-btntext,.t-submit,.t119__preface a[href$="#request"],a[href^="tel:"]),
  html:has(#soykino-v53-heritage) #allrecords.t-records :is(.t-btnflex,.t-btntext,.t-submit,.t119__preface a[href$="#request"],a[href^="tel:"]):is(:hover,:focus-visible) {transition:none!important;translate:none;}
}
