@media screen and (max-width: 960px) {
    .t1002__addBtn {
        width: 50px;
        height: 50px;
        padding-top: 0px;
        margin-top: 0px;
        margin-bottom: 0px;
        margin-left: 5px;
        margin-right: 0px;
    }
}

.t-store__prod-popup__container {
    padding: 20px 20px;
}

@media screen and (max-width: 960px) {
    .t-store.t-store__prod-snippet__container .t-store__tabs {
        padding-left: 20px;
        padding-right: 20px;
        margin-bottom: 80px;
    }
}

@media screen and (max-width: 960px) {
    .t-store .t-popup_show .t-popup__container.t-popup__container-static {
        margin: 50px 0 0px;
    }
    .t-store .t-store__prod-popup__container {
        padding-top: 0;
        padding-bottom: 40px;
    }
}

.t-store__prod-popup__container {
    padding-top: 16px;
}

@media screen and (min-width: 960px) {
    .t-store__prod-snippet__container {
        padding-top: 80px;
        padding-bottom: 120px;
    }
}

@media screen and (max-width: 1920px) {
    .t-descr_xxs, .t-descr {
        font-size: 14px;
    }
    .t-store__prod-popup__brand, .t-store__prod-popup__sku {
        color: #321622;
    }
}

@media screen and (max-width: 1920px) {
    .t-store__card__imgwrapper {
        padding-bottom: 136%;
    }
    .t-store__card__img {
        margin-top: 0px;
        margin-bottom: 0px;
    }
}

@media screen and (max-width: 640px) {
    .t-store__relevants__container .t-slds__arrow-right {
        left: auto;
        right: 24px;
    }
    .t-store__relevants__container .t-slds__arrow-left {
        left: 24px;
        right: auto;
    }
    .t-store__grid-cont_col-width_stretch.t-container_100[data-col-gap="0"] {
        padding-left: 8px;
        padding-right: 8px;
    }
}

/* Consistent mobile CTAs for native purchase and generated preorder buttons. */
@media screen and (max-width: 639px) {
    .t-store__card .t-store__card__btns-wrapper > .wbtn {
        width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
        flex: 0 0 100%;
    }
    .t-store__card a.t-store__card__btn {
        box-sizing: border-box;
        width: calc(100% - 12px) !important;
        max-width: calc(100% - 12px) !important;
        min-width: 0;
        height: 52px !important;
        min-height: 52px !important;
        max-height: 52px !important;
        margin: 0 6px !important;
        padding: 7px 6px !important;
        align-items: center;
        justify-content: center;
        font-size: 14px !important;
        line-height: 18px !important;
        white-space: normal !important;
        vertical-align: middle;
    }
    .t-store__card a.t-store__card__btn .t-btnflex__text,
    .t-store__card a.t-store__card__btn td {
        font-size: 14px !important;
        line-height: 18px !important;
        white-space: normal !important;
    }
}

/* Homepage subscription marquee: iPhone/phone layouts only. */
@media screen and (max-width: 639px) {
    #rec798518028 [data-elem-type="text"][data-elem-id^="173374"] .tn-atom,
    #rec798518028 [data-elem-type="text"][data-elem-id^="173374"] .tn-atom * {
        white-space: nowrap !important;
        -webkit-text-size-adjust: 100%;
        text-size-adjust: 100%;
    }
}

/* Keep the mobile header rule flush with its scaled artboard edge. */
@media screen and (max-width: 980px) {
    #rec796970352 .tn-elem[data-elem-id="1724410347060"] {
        top: auto !important;
        bottom: 0 !important;
        height: 1px !important;
    }
}


/* Native delivery-provider notices use the brand palette; field validation stays distinct. */
#rec792425601 .t-form__errorbox-wrapper:has(.js-rule-error-string:not(:empty)):not(:has(.js-rule-error:not(.js-rule-error-string):not(:empty))) {
    background-color: #f8f5f1 !important;
    color: #5b2c33 !important;
    border: 1px solid #e7ddd6;
    border-radius: 8px;
}
#rec792425601 .t-form__errorbox-wrapper:has(.js-rule-error-string:not(:empty)):not(:has(.js-rule-error:not(.js-rule-error-string):not(:empty))) .js-rule-error-string {
    color: #5b2c33 !important;
}

/* Ordinary navigation on dedicated product pages. */
.lachesis-product-navigation {
    box-sizing: border-box;
    width: 100%;
    max-width: 1240px;
    margin: 0 auto;
    padding: calc(var(--lachesis-product-header-height, 100px) + 12px) 20px 8px;
}
.lachesis-product-navigation__back {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 44px;
    color: #5b2c33 !important;
    font-family: Jost, Arial, sans-serif;
    font-size: 16px;
    line-height: 24px;
    text-decoration: none;
}
.lachesis-product-navigation__back svg {
    flex-shrink: 0;
}
.lachesis-product-navigation__back:hover span {
    text-decoration: underline;
    text-underline-offset: 4px;
}
.lachesis-product-navigation__back:focus-visible {
    outline: 2px solid #b38b51;
    outline-offset: 4px;
    border-radius: 2px;
}

@media screen and (max-width: 639px) {
    .lachesis-product-navigation {
        padding: calc(var(--lachesis-product-header-height, 68px) + 8px) 16px 8px;
    }
}

/* Fallback for native /tproduct recommendation buttons only.
   Keep native hidden/disabled state and action handlers unchanged. */
.t-store__prod-snippet__container .t-store__relevants__container .t-store__card a.t-store__card__btn[href="#order"],
.t-store__prod-snippet__container .t-store__relevants__container .t-store__card .wbtn > a[href="#popuppredzakaz"] {
    box-sizing: border-box;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 50px;
    padding: 0 24px;
    color: #ffffff !important;
    background-color: #5b2c33 !important;
    border: 2px solid #5b2c33 !important;
    border-radius: 100px !important;
    font-family: Jost, Arial, sans-serif;
    font-size: 14px;
    font-weight: 600;
    line-height: 18px;
    text-align: center;
}

.t-store__prod-snippet__container .t-store__relevants__container .t-store__card a.t-store__card__btn[href="#order"] .t-btnflex__text,
.t-store__prod-snippet__container .t-store__relevants__container .t-store__card .wbtn > a[href="#popuppredzakaz"] td {
    color: inherit !important;
}

@media (hover: hover) {
    .t-store__prod-snippet__container .t-store__relevants__container .t-store__card a.t-store__card__btn[href="#order"]:hover,
    .t-store__prod-snippet__container .t-store__relevants__container .t-store__card .wbtn > a[href="#popuppredzakaz"]:hover {
        background-color: #321622 !important;
        border-color: #321622 !important;
    }
}

.t-store__prod-snippet__container .t-store__relevants__container .t-store__card a.t-store__card__btn[href="#order"]:focus-visible,
.t-store__prod-snippet__container .t-store__relevants__container .t-store__card .wbtn > a[href="#popuppredzakaz"]:focus-visible {
    outline: 2px solid #b38b51;
    outline-offset: 3px;
}
