:root :is(a[href], area[href], button, input:is([type="button"], [type="submit"], [type="reset"], [type="image"]), summary, [role="button"], [role="link"], [role="tab"], [role="menuitem"], [role="option"], [role="switch"], :is(div, span)[tabindex]:not([tabindex="-1"])) {
  -webkit-tap-highlight-color: transparent;
}

:root[data-av-pointer-focus] :is(a[href], area[href], button, input:is([type="button"], [type="submit"], [type="reset"], [type="image"]), summary, [role="button"], [role="link"], [role="tab"], [role="menuitem"], [role="option"], [role="switch"], :is(div, span)[tabindex]:not([tabindex="-1"])):focus,
:root :is(a[href], area[href], button, input:is([type="button"], [type="submit"], [type="reset"], [type="image"]), summary, [role="button"], [role="link"], [role="tab"], [role="menuitem"], [role="option"], [role="switch"], :is(div, span)[tabindex]:not([tabindex="-1"])):focus:not(:focus-visible) {
  outline: none !important;
}

:root:not([data-av-pointer-focus]) :is(a[href], area[href], button, input:is([type="button"], [type="submit"], [type="reset"], [type="image"]), summary, [role="button"], [role="link"], [role="tab"], [role="menuitem"], [role="option"], [role="switch"], :is(div, span)[tabindex]:not([tabindex="-1"])):focus-visible {
  outline: 2px solid #685745 !important;
  outline-offset: 3px !important;
}

/* The product photo restores focus after the viewer closes. */
:root .av-pg3__image[data-av-photo-url]:focus,
:root .av-photo-viewer--pointer .av-photo-viewer__button--close:focus {
  outline: none !important;
}

/* Основной мобильный текст и подписи, заголовки используют свой размер. */
@media (max-width: 639px) {
  #allrecords:is([data-tilda-page-id="152180523"], [data-tilda-page-id="152203213"], [data-tilda-page-id="152203623"], [data-tilda-page-id="154415513"], [data-tilda-page-id="155992693"])
    > .t-rec:not(#rec2574604603) :is(.t050__descr, .t1241__descr, .t795__descr, .t720__descr, .t-card__descr),
  #allrecords #rec2574604603 .t795__descr > p,
  #allrecords #rec5820572203 [data-elem-id="1794736210370000005"] .tn-atom,
  #allrecords #rec5820532503 :is([data-elem-id="1794665628543000008"], [data-elem-id="1794665628543000013"], [data-elem-id="1794665628543000018"]) .tn-atom,
  #allrecords #rec3996648703 [data-elem-id="1789674558552000004"] .tn-atom,
  #allrecords .t-store__prod-popup__text :is(p, li) {
    font-size: 17px !important;
  }

  html.av-direct-product #allrecords .av-product-accordion__text {
    font-size: 17px !important;
  }
}

/* Кнопка в пустой подборке. */
#avs-selection .avs-empty .avs-catalog-link {
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border: 0;
  background: var(--av-button-background, #806e5b);
  color: var(--av-button-text-color, #eee5d5);
  font-family: var(--avs-font, "Cormorant Garamond", Georgia, serif);
  font-size: var(--av-button-font-size, 14px);
  font-style: normal;
  font-weight: var(--av-button-font-weight, 400);
  line-height: 1.25;
  letter-spacing: var(--av-button-letter-spacing, .1em);
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
}

#allrecords .av-pg3 .av-pg3__image{--av-scene-photo-fit:contain;background-position:center;}#av-catalog .av-product__image{box-sizing:border-box;object-fit:contain;object-position:center;padding:1.25%;}#avs-selection .avs-photo img{object-fit:contain !important;object-position:center;}

@media (max-width:639px){#rec2574551303 [field="li_descr__1224446070132"],#rec2776623403 [field="li_descr__5325745513032"],#rec2574562703 .t-descr[field="descr"],#rec2437731553 .t-descr[field="descr"]{line-height:1.25 !important;}}
