@media (max-width: 768px) {
    .lookbook-detail {
        --lb-header-h: calc(72px + env(safe-area-inset-top, 0px));
        --lb-btn-bar-h: 88px;
        --lb-bottom-offset: 0px;
        --lb-safe-bottom: env(safe-area-inset-bottom, 0px);
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: var(--lb-bottom-offset);
        box-sizing: border-box;
        overflow: hidden;
        padding: 0;
        margin: 0;
        max-width: none;
    }
    .header,
    .menu,
    .i-info-path,
    .footer {
        display: none !important;
    }
    .all-lookbooks,
    .other-lookbooks {
        display: none !important;
    }

    .lookbook-special-slide .all-lookbooks,
    .lookbook-special-slide .other-lookbooks {
        display: block !important;
        width: 100%;
        padding: 0 15px;
    }
    .lookbook-mobile-header {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        height: var(--lb-header-h);
        box-sizing: border-box;
        padding: calc(10px + env(safe-area-inset-top, 0px)) 16px 0;
        background: #fff;
        display: flex;
        flex-direction: column;
        z-index: 100;
    }

    .lookbook-mobile-progress {
        display: flex;
        gap: 4px;
        flex: 0 0 auto;
        height: 2px;
    }

    .lookbook-mobile-progress .segment {
        position: relative;
        flex: 1 1 0;
        min-width: 0;
        height: 2px;
        border-radius: 1px;
        background: #d9d9d9;
        cursor: pointer;
        transition: background-color 0.2s;
    }

    .lookbook-mobile-progress .segment::after {
        content: '';
        position: absolute;
        left: 0;
        right: 0;
        top: -8px;
        bottom: -8px;
    }

    .lookbook-mobile-progress .segment.passed {
        background: #9a9a9a;
    }

    .lookbook-mobile-progress .segment.active {
        background: #000;
    }

    .lookbook-mobile-row {
        flex: 1 1 auto;
        display: grid;
        grid-template-columns: 24px 1fr 24px;
        align-items: center;
        column-gap: 8px;
    }

    .lookbook-mobile-back {
        background: none;
        border: none;
        padding: 0;
        cursor: pointer;
        width: 24px;
        height: 24px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .lookbook-mobile-title {
        font-size: 22px;
        line-height: 90%;
        font-weight: 400;
        margin: 0;
        text-align: center;
        color: #000;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .lookbook-slider {
        box-sizing: border-box;
        width: 100%;
        height: 100%;
        padding-top: var(--lb-header-h);
        padding-bottom: var(--lb-safe-bottom);
        display: flex;
        flex-direction: column;
        overflow: hidden;
        position: relative;
        background: #fff;
    }

    .lookbook-slider .lookbook-wrapper {
        position: relative;
        z-index: 1;
        display: flex;
        width: 100%;
        flex: 1 1 auto;
        min-height: 0;
        box-sizing: content-box;
        transition-property: transform;
    }

    .lookbook-slider .lookbook-slide {
        min-width: 100% !important;
        max-width: 100% !important;
        flex: 0 0 100% !important;
        box-sizing: border-box;
    }

    .lookbook-detail__item {
        min-height: 0;
        padding: 0;
        margin: 0;
        background: #fff;
    }

    .lookbook-detail__item-image {
        position: absolute;
        top: 0;
        right: 0;
        bottom: 0;
        left: 0;
        width: auto;
        height: auto;
        padding: 0;
        margin: 0;
    }

    .lookbook-detail__item-image picture {
        display: block;
        width: 100%;
        height: 100%;
    }

    .lookbook-detail__item-image img {
        display: block;
        width: 100%;
        height: 100%;
        max-width: none;
        padding: 0;
        margin: 0;
        object-fit: contain;
        object-position: center;
    }

    .lookbook-special-slide {
        display: flex;
        flex-direction: column;
        width: 100%;
        height: 100%;
        min-height: 0;
        background: #fff;
        padding: 85px 0 0;
        overflow-y: auto;
    }

    .lookbook-special-slide .lookbook-special-title-hidden {
        display: none;
    }

    .lookbook-btn-container {
        display: block;
        flex: 0 0 auto;
        width: 100%;
        height: 80px;
        background: #fff;
        position: relative;
        z-index: 10;
        text-align: center;
    }

    .lookbook-btn-container .lookbook-btn {
        top: 50% !important;
        left: 50% !important;
        transform: translate(-50%, -50%) !important;
        bottom: unset !important;
        right: unset !important;
        width: fit-content !important;
        padding: 10px 20px !important;
        display: flex !important;
        align-items: center !important;
        pointer-events: auto !important;
        cursor: pointer;
    }

    .lookbook-btn-container .lookbook-btn span {
        opacity: 1 !important;
        transform: unset !important;
        font-size: 14px !important;
        color: #000 !important;
    }

    .lookbook-slider .swiper-pagination {
        display: none !important;
    }

    .lookbook-detail__item .lookbook-btn.lookbook-btn--hidden-original {
        position: absolute !important;
        width: 1px !important;
        height: 1px !important;
        padding: 0 !important;
        margin: -1px !important;
        overflow: hidden !important;
        clip: rect(0, 0, 0, 0) !important;
        white-space: nowrap !important;
        border: 0 !important;
        opacity: 0 !important;
        pointer-events: none !important;
    }

    .lookbook-back-to-start {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
        width: fit-content;
        margin: 24px auto;
        color: #000;
        font-size: 18px;
        letter-spacing: -0.02em;
        cursor: pointer;
        transition: opacity 0.2s;
    }
    .lookbook-back-to-start svg {
        width: 16px;
        height: 16px;
        flex: 0 0 auto;
        transition: all .3s ease;
    }
    .lookbook-back-to-start span {
        font-size: 18px;
        letter-spacing: -0.02em;
    }
    .lookbook-back-to-start:hover svg{
        transform: rotate(45deg);
    }

    html.lookbook-sheet-open,
    html.lookbook-sheet-open body {
        overflow: hidden;
    }

    .lookbook-sheet {
        position: fixed;
        top: 0;
        right: 0;
        bottom: 0;
        left: 0;
        z-index: 100;
        visibility: hidden;
        pointer-events: none;
        transition: visibility 0s linear 0.3s;
    }

    .lookbook-sheet.is-open {
        visibility: visible;
        pointer-events: auto;
        transition-delay: 0s;
    }

    .lookbook-sheet__backdrop {
        position: absolute;
        top: 0;
        right: 0;
        bottom: 0;
        left: 0;
        background: rgba(0, 0, 0, 0.4);
        opacity: 0;
        transition: opacity 0.3s;
    }

    .lookbook-sheet.is-open .lookbook-sheet__backdrop {
        opacity: 1;
    }

    .lookbook-sheet__panel {
        position: absolute;
        left: 0;
        right: 0;
        bottom: 0;
        display: flex;
        flex-direction: column;
        max-height: 78vh;
        max-height: 78dvh;
        background: #fff;
        transform: translateY(100%);
        transition: transform 0.3s ease;
    }

    .lookbook-sheet.is-open .lookbook-sheet__panel {
        transform: translateY(0);
    }

    .lookbook-sheet__head {
        flex: 0 0 auto;
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 15px 15px 20px 15px;
    }

    .lookbook-sheet__title {
        margin: 0;
        font-size: 22px;
        line-height: 90%;
        color: #000;
    }

    .lookbook-sheet__close {
        flex: 0 0 auto;
        width: 24px;
        height: 24px;
        padding: 0;
        background: none;
        border: none;
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .lookbook-sheet__body {
        flex: 1 1 auto;
        min-height: 0;
        overflow-y: auto;
        overscroll-behavior: contain;
        -webkit-overflow-scrolling: touch;
        padding-bottom: 15px;
    }

    .lookbook-sheet .lookbook-sheet__body .lookbook-cartbox {
        display: block !important;
        position: static;
        inset: auto;
        width: auto;
        max-width: none;
        height: auto;
        max-height: none;
        margin: 0;
        padding: 0;
        overflow: visible;
        background: transparent;
        border: 0;
        border-radius: 0;
        box-shadow: none;
        opacity: 1;
        visibility: visible;
        transform: none;
        transition: none;
    }

    .lookbook-sheet .lookbook-sheet__body .lookbook-cartbox__list {
        height: auto;
        max-height: none;
        overflow: visible;
        padding: 0 15px;
    }
    .lookbook-sheet__body .lookbook-cartbox__list > * {
        position: relative;
        display: flex;
        align-items: flex-start;
        gap: 12px;
    }

    .lookbook-sheet__body .lookbook-cartbox__list > *:last-child {
        border-bottom: 0;
    }

    /* миниатюра */
    .lookbook-sheet__body [class*="cartbox__image"],
    .lookbook-sheet__body [class*="cartbox__img"],
    .lookbook-sheet__body [class*="cartbox__photo"],
    .lookbook-sheet__body [class*="cartbox__picture"] {
        display: block;
        flex: 0 0 94px;
        width: 94px;
        height: 113px;
        background: #f2f2f2;
    }

    .lookbook-sheet__body [class*="cartbox__image"] img,
    .lookbook-sheet__body [class*="cartbox__img"] img,
    .lookbook-sheet__body [class*="cartbox__photo"] img,
    .lookbook-sheet__body [class*="cartbox__picture"] img {
        display: block;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    /* блок с текстом */
    .lookbook-sheet__body [class*="cartbox__info"],
    .lookbook-sheet__body [class*="cartbox__content"],
    .lookbook-sheet__body [class*="cartbox__text"],
    .lookbook-sheet__body [class*="cartbox__body"] {
        flex: 1 1 auto;
        min-width: 0;
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        padding-right: 24px;
    }


    .lookbook-sheet__body [class*="cartbox__name"],
    .lookbook-sheet__body [class*="cartbox__title"] {
        font-size: 16px;
        line-height: 120%;
        font-weight: 400;
        text-decoration: none;
    }

    .lookbook-sheet__body [class*="cartbox__price"] {
        display: flex;
        align-items: baseline;
        flex-wrap: wrap;
        gap: 6px;
        font-size: 14px;
        line-height: 20px;
        font-weight: 500;
    }
    .lookbook-cartbox__newprice {
        font-size: 16px;
    }

    .lookbook-sheet__body [class*="cartbox__old"],
    .lookbook-sheet__body [class*="price-old"],
    .lookbook-sheet__body [class*="old-price"],
    .lookbook-sheet__body .lookbook-cartbox__list s,
    .lookbook-sheet__body .lookbook-cartbox__list del {
        font-size: 12px;
        line-height: 16px;
        font-weight: 400;
        text-decoration: line-through;
    }

    .lookbook-sheet__body [class*="cartbox__colors"] {
        flex-wrap: wrap;
    }

    .lookbook-sheet__body [class*="cartbox__colors"] > * {
        width: 8px;
        height: 8px;
    }
    .lookbook-cartbox__color[title="White"] {
        border: 1px solid black;
    }

    .lookbook-sheet__body .lookbook-cartbox__add {
        position: absolute;
        top: 12px;
        right: 0;
        width: 24px;
        height: 24px;
        padding: 0;
        margin: 0;
        background: none;
        border: 0;
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
    }

    .lookbook-detail__item .lookbook-cartbox {
        display: none;
    }
    .lookbook-cartbox__actions {
        margin-top: 15px;
    }
    .lookbook-cartbox__actions svg {
        width: 18px;
        height: 18px;
    }
    .lookbook-cartbox__actions span {
        font-size: 14px;
    }

    .all-lookbooks__title {
        font-size: 22px;
        line-height: 90%;
        margin-bottom: 20px;
    }
    .other-lookbooks__title {
        font-size: 22px;
        line-height: 90%;
        margin-bottom: 20px;
    }
    .all-lookbooks__item-image {
        min-height: 190px;
        background: #f2f2f2;
    }
    .all-lookbooks__item-article {
        font-size: 14px;
    }
    .all-lookbooks__item-options {
        flex-direction: column-reverse;
        align-items: unset;
        gap: 8px;
    }
    .all-lookbooks__item-newprice {
        font-size: 16px;
    }
    .all-lookbooks__item-oldprice {
        font-size: 14px;
    }
    .all-lookbooks__item-color[title="White"] {
        border: 1px solid black;
    }
    .other-lookbooks__arrow {
        display: none;
    }
}

@media (min-width: 769px) {
    .lookbook-special-slide {
        display: none;
    }
}