#t-header {
    position: sticky;
    top: 0;
    z-index: 9999;
    background-color: rgba(243, 241, 235, 0.7);
    backdrop-filter: blur(12px);
}


/* accordion */

#rec1359714551 .t396__artboard {
    height: auto !important;
}

.accordion {
    cursor: pointer;
    user-select: none;
}

.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.2s ease-out;
}

.accordion-icon {
    transition: transform 0.2s ease-out;
}

.accordion.active .accordion-icon {
    transform: rotate(45deg);
}

/* Современный способ — отступ при прокрутке к якорю */
a[name] {
  display: block;            /* чтобы якорь занимал строку */
  scroll-margin-top: 80px;   /* смещение под фиксированный хедер */
}

/* Полифилл: работает даже там, где scroll-margin-top игнорируется */
a[name]:target::before {
  content: "";
  display: block;
  height: 80px;              /* желаемый отступ сверху */
  margin-top: -80px;         /* компенсируем, чтобы не ломать поток */
  visibility: hidden;
  pointer-events: none;
}

.uc-gray-gradient {
    background: linear-gradient(45deg, 
    #161616 0%, 
    #292929 25%, 
    #1e1e1e 75%, 
    #131313 100%);
}

.t-slds__thumbsbullet-wrapper {
    text-align: center;
}

#allrecords .uc-catalog-filters a.active {
    color: #cc8d5a !important;
    text-decoration: underline;
    text-underline-offset: 6px;
}

#rec1558225481 .t1093 .t-popup {
    z-index: 10000002 !important;
}

#rec1558225481 .t1093 .t-popup + .t-popup__bg {
    z-index: 10000001 !important;
}

.t-form-success-popup_new.t-form-success-popup {
    z-index: 10000002 !important;
}

.t-store__filter__range_bg {
    background-color: #cc8d5a !important;
}

.t-store__card__sold-out-msg { 
    visibility: hidden;
    font-size: 0;
}

.t-store__card__sold-out-msg::after {
    content: 'Доступно только под заказ';
    visibility: visible;
    display: block; 
    color: #000000;
    font-size: 16px;
}

.t951__sidebar {
    display: none;
}
.t951__cont-wrapper {
    justify-content: center;
}

.custom-order-btn {
    color: #ffffff !important;
    background-color: #000000;
    --border-width: 0px;
    border-style: none !important;
    border-radius: 5px;
    box-shadow: none !important;
    transition-duration: 0.2s;
    transition-property: background-color, color, border-color, box-shadow, opacity, transform, gap;
    transition-timing-function: ease-in-out;
    padding-left: 60px;
    padding-right: 60px;
    padding-top: 16px;
    padding-bottom: 16px;
}

/* Cart confirmation */
#rec1569371871 .t706__cartwin_showed:has(.js-successbox[style*="display: block"] .visvis-cart-confirmation) {
    display: flex;
    box-sizing: border-box;
    padding-block: 24px;
}

#rec1569371871 .t706__cartwin-content:has(.js-successbox[style*="display: block"] .visvis-cart-confirmation) {
    width: min(calc(100% - 32px), 520px);
    min-height: 0;
    margin: auto;
    box-sizing: border-box;
    padding: clamp(24px, 6vw, 48px);
    border-radius: 18px;
    background: #faf7f3;
}

#rec1569371871 .t706__cartwin-content:has(.js-successbox[style*="display: block"] .visvis-cart-confirmation) .t706__cartwin-top {
    display: none;
}

#rec1569371871 .t706__cartwin-content:has(.js-successbox[style*="display: block"] .visvis-cart-confirmation) .t706__orderform {
    margin: 0;
}

#form1569371871 .js-successbox:has(.visvis-cart-confirmation) {
    margin: 0;
    padding: 0;
    background: transparent;
    color: #161616;
    text-align: center;
}

#form1569371871 .visvis-cart-confirmation {
    position: relative;
    padding-block-start: 66px;
}

#form1569371871 .visvis-cart-confirmation::before,
#form1569371871 .visvis-cart-confirmation::after {
    position: absolute;
    left: 50%;
    content: '';
}

#form1569371871 .visvis-cart-confirmation::before {
    top: 0;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #f0e3d8;
    transform: translateX(-50%);
}

#form1569371871 .visvis-cart-confirmation::after {
    top: 16px;
    width: 16px;
    height: 9px;
    border-bottom: 2px solid #825535;
    border-left: 2px solid #825535;
    transform: translateX(-50%) rotate(-45deg);
}

#form1569371871 .visvis-cart-confirmation__title {
    margin: 0;
    font-size: clamp(24px, 5vw, 32px);
    font-weight: 600;
    line-height: 1.2;
}

#form1569371871 .visvis-cart-confirmation p {
    max-width: 34ch;
    margin: 12px auto 0;
    color: #554c46;
    font-size: 16px;
    line-height: 1.5;
}

#form1569371871 .visvis-cart-confirmation a[href="/catalog"] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    max-width: 100%;
    min-height: 48px;
    margin-top: 24px;
    padding: 10px 22px;
    border-radius: 6px;
    background: #161616;
    color: #fff;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.35;
    text-decoration: none;
}

#form1569371871 .visvis-cart-confirmation a[href="/catalog"]:hover {
    background: #3e342e;
}

#form1569371871 .visvis-cart-confirmation a[href="/catalog"]:focus-visible {
    outline: 2px solid #825535;
    outline-offset: 3px;
}
