.composite-wrap table:not([class]) tr,
.composite-wrap table:not([class]) td,
.composite-wrap table:not([class]) th {
    margin: 0;
    padding: 0;
    border: 1px solid transparent;
}
.composite-wrap table:not([class]) {
    margin: 0;
}
.composite-wrap table:not([class]) {
    border: none;
}

.js-wishlist.js-act {
    filter: brightness(0) saturate(100%) invert(41%) sepia(50%) saturate(1090%)
        hue-rotate(320deg) brightness(99%) contrast(88%);
}
.b-form-btn {
    z-index: 8;
}
/*text-with-image composite*/
.text-item {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    margin-top: 5%;
}
.text-item:not(:last-child) {
    margin-top: 5%;
}
.media-item {
    margin: 0;
}
.media-item img,
.media-item video {
    max-width: 100%;
}

li:not([class]) p:not([class]) {
    display: inline-flex;
    width: 90%;
}
.favorite-btn.js-act {
    filter: brightness(0) saturate(100%) invert(41%) sepia(50%) saturate(1090%)
        hue-rotate(320deg) brightness(99%) contrast(88%);
}

@media (min-width: 993px) {
    .text-item.text-item_right .text-item__content {
        padding-right: 95px;
    }
    .text-item.text-item_left .text-item__content {
        padding-left: 95px;
    }
    .text-item.text-item_left .text-item__media {
        grid-row-start: 1;
        grid-column-start: 1;
    }
    .b-main-slider__slide-img {
        height: 600px;
    }
}

@media (max-width: 992px) {
    .text-item:not(:last-child) {
        margin-bottom: 120px;
    }
    .text-item {
        grid-template-columns: 1fr;
        grid-gap: 80px;
    }
    .text-item.text-item_left .text-item__media {
        grid-row-start: 1;
    }
}
/*end text-with-image composite*/

.text-inherit,
.text-inherit p {
    color: #000000;
    font-size: 18px;
    /*font-family: 'Inter', Arial, sans-serif;*/
    line-height: 28px;
    font-weight: 400;
    background-position: center center;
    border-color: transparent;
    border-style: solid;
}
.text-inherit p:not(:last-child) {
    margin-bottom: 16px;
    border-bottom: 1px solid transparent;
}

.b-head-content__text_bottom {
    max-width: 100%;
    margin-top: 80px;
}
.l-header__logo-text {
    text-decoration: none;
}
.b-catalog-card__text {
    line-height: 20px;
    letter-spacing: 0.3px;
}
.ymaps-2-1-79-ground-pane {
    -webkit-filter: grayscale(100%);
}
.b-links__wrap {
    text-align: center;
    flex-basis: 33.3%;
    padding: 8px;
}

/* ===== similar products ===== */

.simLook {
    position: relative;
}

.simLook .b-shape__text {
    text-align: center;
}

.simLook .simLook__title {
    margin: 0 0 34px;
    font-family: Montserrat, sans-serif;
    font-size: 24px;
    line-height: 1.2;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #4a4a4a;
}

.simLook .b-shape__slider-wrap {
    position: relative;
}

/* контейнер под слайдер шире именно в этом блоке */
.simLook .b-shape__slider-wrap > .b-shape__container {
    width: calc(100% - 160px);
    max-width: 1360px;
    margin: 0 auto;
}

/* не трогаем механику слайдера */
.simLook .simLook__slide {
    box-sizing: border-box;
}

.simLook .simLook__link {
    position: relative;
    display: block;
    overflow: hidden;
    text-decoration: none !important;
}

.simLook .simLook__img {
    display: block;
    width: 100%;
    height: auto;
}

/* затемнение снизу под подпись */
.simLook .simLook__link::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 34%;
    background: linear-gradient(
        to top,
        rgba(0, 0, 0, 0.42) 0%,
        rgba(0, 0, 0, 0.18) 48%,
        rgba(0, 0, 0, 0) 100%
    );
    pointer-events: none;
    z-index: 1;
}

/* подпись внутри фото */
.simLook .simLook__overlay {
    position: absolute;
    left: 10px;
    right: 10px;
    bottom: 12px;
    z-index: 2;
    display: block;
    text-align: center;
    pointer-events: none;
}

.simLook .simLook__label {
    display: block;
    margin: 0 0 4px;
    font-family: Montserrat, sans-serif;
    font-size: 8px;
    line-height: 1;
    font-weight: 500;
    text-align: center;
    color: rgb(245, 245, 245);
}

.simLook .simLook__name {
    display: block;
    margin: 0;
    font-size: clamp(18px, 1.55vw, 34px);
    line-height: 0.92;
    font-weight: 400;
    letter-spacing: 0.01em;
    text-align: center;
    text-transform: uppercase;
    color: #fff;
    word-break: break-word;
    white-space: normal;
}

/* стрелки */
.simLook .b-shape__prev,
.simLook .b-shape__next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 20;
    width: 44px;
    height: 44px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.72);
    cursor: pointer;
    opacity: 1 !important;
    visibility: visible !important;
}

.simLook .b-shape__prev {
    left: 24px;
}

.simLook .b-shape__next {
    right: 24px;
}

.simLook .b-shape__prev img,
.simLook .b-shape__next img {
    display: block;
    width: 18px;
    height: 18px;
}

.l-header__btn-registration {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    border: 1px solid #a69a8b;
    border-radius: 50px;
    padding: 0 20px;
    height: 44px;
    text-decoration: none;
    transition-duration: 0.25s;
    font-family: Montserrat, sans-serif;
    background-color: transparent;
}
.l-header__btn-registration span {
    font-weight: 500;
    font-size: 16px;
    text-transform: uppercase;
    color: #252525;
    text-decoration: none;
}

.l-header__btn-registration svg {
    color: #252525;
}

.l-header__btn-registration:hover {
    background-color: #a69a8b;
    border-color: #a69a8b;
}

.l-header__btn-registration:hover span {
    color: #fff;
}
.l-header__btn-registration:hover svg path {
    fill: #fff;
}

.p-main .l-header__btn-registration span {
    color: #fff;
}

.p-main .l-header__btn-registration svg path {
    fill: #fff;
}

.p-about .b-tag:hover {
    color: #fff;
    opacity: 1;
}

.p-catalog-tree-leaf .b-links__link {
    white-space: normal;
    word-break: break-word;
}

.b-category-new {
    font-size: 16px;
    padding: 0 20px;
    height: 44px;
    letter-spacing: 0.03em;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    font-weight: 500;
    border-radius: 500px;
    transition-duration: 0.25s;
    background-color: #fff;
    color: #252525;
}
.b-category-new:hover {
    background-color: #a69a8b;
    color: #fff;
}
.b-category-new__dots {
    display: none;
}
.b-category-new.is-active {
    background-color: #a69a8b;
    color: #fff;
    pointer-events: none;
}
.b-category-new.is-active .b-category-new__dots {
    display: block;
}

.b-product__img-wrap {
    height: auto;
}

.b-product-item__img-wrap {
    height: 118px;
}
.b-product-item__img {
    width: 100%;
}
.value-black {
    color: #252525;
}
.l-header__btn svg {
    width: 26px;
    height: 26px;
}
.l-header__btn svg path {
    fill: #252525;
}

/* Онлайн запись попап */
.booking-popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    visibility: hidden;
    opacity: 0;
    transition:
        visibility 0.2s,
        opacity 0.25s ease;
}

.booking-popup-overlay.active {
    visibility: visible;
    opacity: 1;
}

.booking-popup-card {
    background: white;
    width: 90%;
    max-width: 450px;
    border-radius: 28px;
    box-shadow: 0 30px 50px rgba(0, 0, 0, 0.3);
    transform: scale(0.95);
    transition: transform 0.2s cubic-bezier(0.2, 0.9, 0.4, 1.1);
    /* font-family: Montserrat, sans-serif; */
}

.booking-popup-overlay.active .booking-popup-card {
    transform: scale(1);
}

.booking-popup-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 22px 26px 14px 26px;
    border-bottom: 1px solid #eef2f6;
}

.booking-popup-title {
    font-size: 1.75rem;
    font-weight: 400;
    color: #0f172a;
    letter-spacing: -0.3px;
    margin: 0;
    font-family: "Times New Roman", Times, serif;
}

.booking-close-btn {
    background: transparent;
    border: none;
    cursor: pointer;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
    color: #64748b;
}

.booking-close-btn:hover {
    background: #f1f5f9;
    color: #0f172a;
}

.booking-close-btn:active {
    transform: scale(0.95);
}

.booking-close-icon {
    width: 22px;
    height: 22px;
}

.booking-popup-body {
    padding: 20px 26px 34px 26px;
}

.booking-cities-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.booking-city-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    text-decoration: none;
    background: #f8fafc;
    padding: 18px 22px;
    border-radius: 20px;
    border: 1px solid #e2e8f0;
    color: #1e293b;
    font-size: 1.1rem;
    font-weight: 500;
    transition: all 0.2s ease;
}

.booking-city-link:hover {
    background: white;
    border-color: #cbd5e1;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    transform: translateY(-2px);
}

.booking-arrow-hint {
    font-size: 1.2rem;
    opacity: 0.6;
    transition: transform 0.2s;
}

.booking-city-link:hover .booking-arrow-hint {
    transform: translateX(4px);
    opacity: 1;
}
/* Онлайн запись попап END*/

/* ЛК */
.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition:
        opacity 0.25s ease,
        visibility 0.25s;
}

.popup-overlay.active {
    opacity: 1;
    visibility: visible;
}

.popup-container {
    background: #fff;
    max-width: 640px;
    width: 90%;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.35);
    transform: scale(0.96);
    transition: transform 0.25s cubic-bezier(0.2, 0.9, 0.4, 1.1);
    overflow-y: auto;
    overflow-x: auto;
}

.active .popup-container {
    transform: scale(1);
}

.popup-inner {
    padding: 64px;
    font-family: "Montserrat", sans-serif;
}

.popup-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 28px;
}

.title-section {
    display: flex;
    flex-direction: column;
    align-items: start;
    gap: 12px;
}

.back-button {
    background: none;
    border: none;
    font-size: 26px;
    cursor: pointer;
    line-height: 1;
    padding: 0;
    display: inline-flex;
    gap: 8px;
    align-items: center;
    justify-content: center;
    border-radius: 40px;
    transition: background 0.2s;
    color: #727272;
}

.back-button:hover {
    text-decoration: underline;
}

.back-button span {
    font-size: 0.85rem;
}

.popup-title {
    font-size: 1.75rem;
    letter-spacing: -0.3px;
    background: linear-gradient(135deg, #1e2a47, #2c3e66);
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
    font-family: "Times New Roman", Times, serif;
}

.close-popup {
    background: transparent;
    border: none;
    font-size: 36px;
    cursor: pointer;
    width: 24px;
    height: 24px;
    border-radius: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
    color: #4a5568;
}

.close-popup:hover {
    color: #0f172a;
}

.form-group {
    margin-bottom: 22px;
}

.form-label {
    display: block;
    font-size: 0.85rem;
    font-weight: 400;
    margin-bottom: 12px;
    color: #727272;
    letter-spacing: 0.3px;
}

input:not([class]) {
    width: 100%;
    padding: 14px 16px;
    font-size: 1rem;
    border: 1.5px solid transparent;
    /* border-radius: 20px; */
    background: #f5f5f5;
    transition: all 0.2s;
    outline: none;
    font-family: inherit;
}

input:not([class]):focus {
    border-color: #a69a8b;
    box-shadow: 0 0 0 3px rgba(59, 110, 160, 0.2);
}

.btn-primary {
    width: 100%;
    background: #a69a8b;
    border: 1px solid #a69a8b;
    padding: 16px 28px;
    font-weight: 400;
    font-size: 1rem;
    color: white;
    cursor: pointer;
    transition: 0.2s;
    margin-top: 12px;
    font-family: inherit;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
    text-transform: uppercase;
}

.btn-primary:hover {
    background: #8b7e6f;
    border-color: #8b7e6f;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(139, 126, 111, 0.3);
}

.forgot-link {
    background: none;
    border: none;
    color: #727272;
    font-weight: 500;
    margin-top: 16px;
    cursor: pointer;
    font-size: 0.9rem;
    text-decoration: underline;
    text-underline-offset: 4px;
    transition: 0.2s;
    width: auto;
    padding: 6px 0;
}

.forgot-link:hover {
    color: #4e4e4e;
}

.resend-wrap {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.resend-subtitle {
    margin-bottom: 0;
}

.resend-row {
    display: flex;
    justify-content: flex-end;
    gap: 4px;
}
.resend-row:hover {
    text-decoration: underline;
}

.resend-code-btn {
    background: none;
    border: none;
    color: #727272;
    font-size: 0.8rem;
    font-weight: 500;
    cursor: pointer;
    transition: opacity 0.2s;
}

.resend-code-btn.disabled {
    color: #94a3b8;
    cursor: not-allowed;
    opacity: 0.7;
}

.timer-text {
    font-size: 0.8rem;
    color: #727272;
    border-radius: 40px;
    display: inline-block;
}

.message-toast {
    margin-top: 16px;
    background: #e6f7e6;
    color: #2e6b2f;
    padding: 10px;
    border-radius: 28px;
    text-align: center;
    font-size: 0.8rem;
    font-weight: 500;
    transition: 0.2s;
}

.error-message {
    background: #ffe6e5;
    color: #b91c1c;
}

hr {
    margin: 20px 0 8px;
    border: 0;
    height: 1px;
    background: #eef2f8;
}

.form-view {
    transition: opacity 0.2s ease;
}

.hidden-view {
    display: none;
}

.register-link {
    text-align: center;
    margin-top: 20px;
}

.register-link button {
    background: none;
    border: none;
    color: #a69a8b;
    font-weight: 600;
    cursor: pointer;
    font-size: 0.9rem;
    text-decoration: underline;
}

.register-link button:hover {
    color: #8b7e6f;
}
/* ЛК END */

/* wide desktop */
@media (min-width: 1680px) {
    .simLook .b-shape__slider-wrap > .b-shape__container {
        width: calc(100% - 180px);
        max-width: 1660px;
    }

    .simLook .b-shape__prev {
        left: 40px;
    }

    .simLook .b-shape__next {
        right: 40px;
    }
}

/* desktop/tablet */
@media (min-width: 768px) {
    .simLook .simLook__overlay {
        left: 14px;
        right: 14px;
        bottom: 14px;
    }

    .simLook .simLook__label {
        margin-bottom: 4px;
        font-size: 14px;
    }

    .simLook .simLook__name {
        font-size: clamp(20px, 1.6vw, 30px);
    }
}

@media (max-width: 1050px) {
    .l-header__btn-registration {
        gap: 4px;
    }
    .l-header__btn-registration svg {
        width: 20px;
    }
}

@media (max-width: 1024px) {
    .l-header__btn-registration {
        display: none;
    }

    .popup-overlay {
        align-items: stretch;
        background-color: #ffffff;
        backdrop-filter: none;
    }
    .popup-container {
        max-width: none;
        width: 100%;
        height: 100%;
        border-radius: 0;
        transform: scale(1);
        box-shadow: none;
    }
    .popup-inner {
        padding: 28px;
        min-height: 100vh;
        display: flex;
        flex-direction: column;
    }
    .popup-title {
        font-size: 1.6rem;
    }
    .btn-primary {
        padding: 16px;
    }
}

/* mobile */
@media (max-width: 767px) {
    .simLook .simLook__title {
        margin-bottom: 22px;
        font-size: 18px;
        letter-spacing: 0.06em;
    }

    .simLook .b-shape__slider-wrap > .b-shape__container {
        width: calc(100% - 32px);
        max-width: none;
    }

    .simLook .simLook__overlay {
        left: 8px;
        right: 8px;
        bottom: 10px;
    }

    .simLook .simLook__label {
        margin-bottom: 3px;
        font-size: 14px;
    }

    .simLook .simLook__name {
        font-size: clamp(14px, 4.2vw, 22px);
        line-height: 0.95;
    }

    .simLook .b-shape__prev,
    .simLook .b-shape__next {
        width: 38px;
        height: 38px;
    }

    .simLook .b-shape__prev {
        left: 8px;
    }

    .simLook .b-shape__next {
        right: 8px;
    }
    .b-category-new {
        height: 40px;
        font-size: 14px;
        padding: 0 16px;
        line-height: 0.9;
    }

    .booking-popup-card {
        width: 95%;
    }

    .booking-popup-title {
        font-size: 1.5rem;
    }

    .booking-popup-header {
        padding: 18px 20px 10px 20px;
    }

    .booking-popup-body {
        padding: 16px 20px 28px 20px;
    }

    .booking-city-link {
        padding: 14px 18px;
        font-size: 1rem;
    }

    .popup-title {
        font-size: 1.45rem;
    }
    input {
        padding: 12px 14px;
    }
}
