:root {
    --theme-base-color: #eb741f;
    --theme-base-opacity-color: #eb741f1a;
    --theme-base-color-hue: 25;
    --theme-base-color-saturation: 82%;
    --theme-base-color-lightness: 52%;
    --lifephoto-orange: #eb741f;
    --lifephoto-orange-dark: #bd520e;
    --lifephoto-yellow: #ffcc00;
    --lifephoto-text: #20252b;
    --lifephoto-muted: #707982;
    --lifephoto-line: #e2e6e9;
}

::selection {
    background: #f8c7a3;
    color: #20252b;
}

.logo.colored,
.logo.colored > a,
.logo.colored > a:hover {
    background: transparent !important;
}

.logo a .lifephoto-site-logo {
    width: 152px;
    height: auto;
    max-height: 36px;
    display: block;
    object-fit: contain;
    background: transparent !important;
}

.mobileheader .logo a .lifephoto-site-logo {
    width: 116px;
    max-height: 27px;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
    outline: 3px solid rgba(235, 116, 31, .32);
    outline-offset: 2px;
}

.lifephoto-archive-fly {
    position: relative;
}

.lifephoto-archive-fly > a {
    position: absolute;
    inset: 0;
    z-index: 2;
}

.lifephoto-archive-fly .wraps_icon_block {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lifephoto-archive-fly .lifephoto-archive-fly__icon {
    width: 20px;
    height: 17px;
    display: block;
    background-color: #333;
    -webkit-mask: url('/local/assets/lifephoto/photo-archive.svg') center / contain no-repeat;
    mask: url('/local/assets/lifephoto/photo-archive.svg') center / contain no-repeat;
    transition: background-color .2s ease;
}

.lifephoto-archive-fly:hover .lifephoto-archive-fly__icon {
    background-color: var(--lifephoto-orange);
}

.sale-personal-section-index-block-ico .lifephoto-personal-archive-icon {
    width: 50px;
    height: 50px;
    display: block;
    object-fit: contain;
}

.sale-personal-section-index-block-link:hover .lifephoto-personal-archive-icon {
    filter: saturate(1.08) brightness(.92);
}

.lifephoto-print-item .basket-item-block-image {
    overflow: hidden;
    border: 1px solid var(--lifephoto-line);
    border-radius: 6px;
    background: #f5f7f8;
}

.lifephoto-print-item .basket-item-image.lifephoto-print-preview {
    width: 100%;
    height: 100%;
    padding: 0;
    object-fit: cover;
}

.lifephoto-print-summary {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px 12px;
    margin: 8px 0 2px;
    color: var(--lifephoto-muted);
    font-size: 13px;
    line-height: 1.4;
}

.lifephoto-print-summary__fact {
    position: relative;
    display: inline-flex;
    align-items: center;
}

.lifephoto-print-summary__fact + .lifephoto-print-summary__fact::before {
    width: 3px;
    height: 3px;
    margin-right: 12px;
    border-radius: 50%;
    background: #a8afb5;
    content: '';
}

.lifephoto-print-summary__warning {
    flex-basis: 100%;
    display: inline-flex;
    align-items: flex-start;
    gap: 7px;
    margin-top: 2px;
    color: #9a5a17;
    font-size: 12px;
}

.lifephoto-print-summary__warning::before {
    flex: 0 0 auto;
    width: 6px;
    height: 6px;
    margin-top: 5px;
    border-radius: 50%;
    background: #e59a38;
    content: '';
}

.lifephoto-print-order-item .sale-order-detail-order-item-imgcontainer.lifephoto-print-preview {
    border: 1px solid var(--lifephoto-line);
    border-radius: 6px;
    background-color: #f5f7f8;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.lifephoto-print-order-item .sale-order-detail-order-item-content {
    min-width: 0;
}

#basket_line .basket_fly .lifephoto-print-fly-item .image {
    overflow: hidden;
    border: 1px solid var(--lifephoto-line);
    border-radius: 6px;
    background: #f5f7f8;
}

#basket_line .basket_fly .lifephoto-print-fly-item .image img.lifephoto-print-preview {
    width: 100%;
    height: 100%;
    padding: 0;
    object-fit: cover;
}

#basket_line .basket_fly .lifephoto-print-fly-item .lifephoto-print-summary {
    margin-top: 6px;
    gap: 4px 9px;
    font-size: 12px;
}

#basket_line .basket_fly .lifephoto-print-fly-item .lifephoto-print-summary__fact + .lifephoto-print-summary__fact::before {
    margin-right: 9px;
}

#basket_line .basket_fly .lifephoto-print-fly-item .lifephoto-print-summary__warning {
    max-width: 310px;
    font-size: 11px;
}

.lifephoto-print-order-item [hidden],
.lifephoto-print-item [hidden],
.lifephoto-print-fly-item [hidden],
.lifephoto-constructor-buy-block [hidden] {
    display: none !important;
}

.lifephoto-constructor-buy-block .lifephoto-constructor-counter {
    display: block !important;
}

.lifephoto-constructor-buy-block .lifephoto-constructor-counter > .button_block {
    width: 100% !important;
    margin: 0 !important;
}

.lifephoto-constructor-cta {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 48px;
    padding-inline: 20px;
    white-space: normal;
    text-align: center;
}

.sale-personal-section-index-block-link,
.tabs > li > a,
.btn {
    border-radius: 6px;
}

.sale-personal-section-index-block-link {
    border-color: var(--lifephoto-line);
}

.lp-legal-page {
    max-width: 880px;
    margin: 0 auto;
    padding: 8px 0 32px;
    color: var(--lifephoto-text);
}

.lp-legal-page h1,
.lp-legal-page h2 {
    color: var(--lifephoto-text);
    line-height: 1.2;
}

.lp-legal-page h1 {
    margin: 0 0 20px;
    font-size: clamp(32px, 4vw, 42px);
}

.lp-legal-page h2 {
    margin: 28px 0 12px;
    font-size: clamp(22px, 2.6vw, 28px);
}

.lp-legal-page p,
.lp-legal-page li,
.lp-legal-page blockquote {
    color: var(--lifephoto-text);
    font-size: 16px;
    line-height: 1.7;
}

.lp-legal-page p,
.lp-legal-page ul,
.lp-legal-page blockquote {
    margin: 0 0 14px;
}

.lp-legal-page ul {
    padding-left: 22px;
}

.lp-legal-page a {
    color: var(--lifephoto-orange-dark);
    text-decoration-thickness: 1px;
    text-underline-offset: 2px;
}

.lp-legal-page strong {
    color: var(--lifephoto-text);
}

.lp-legal-page blockquote {
    margin-top: 18px;
    padding: 18px 20px;
    border-left: 4px solid var(--lifephoto-orange);
    border-radius: 8px;
    background: #fff7f1;
}

.lifephoto-footer-legal-menu__title {
    margin-bottom: 14px;
    color: var(--lifephoto-text);
    font-size: 18px;
    font-weight: 700;
    line-height: 1.3;
}

.lifephoto-footer-legal-menu ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.lifephoto-footer-legal-menu li + li {
    margin-top: 10px;
}

.lifephoto-footer-legal-menu a {
    color: var(--lifephoto-muted);
    line-height: 1.55;
    text-decoration: none;
}

.lifephoto-footer-legal-menu a:hover,
.lifephoto-footer-legal-menu a:focus-visible {
    color: var(--lifephoto-orange-dark);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.lifephoto-checkout-consent {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    max-width: 760px;
    margin: 16px 0 8px;
    padding: 14px 16px;
    border: 1px solid rgba(94, 102, 112, .18);
    border-radius: 18px;
    background: rgba(255, 249, 242, .92);
    color: var(--lifephoto-text);
    font-size: 14px;
    line-height: 1.55;
}

.lifephoto-checkout-consent input {
    width: 18px;
    height: 18px;
    margin-top: 2px;
    accent-color: var(--lifephoto-orange);
    flex: 0 0 auto;
}

.lifephoto-checkout-consent a {
    color: var(--lifephoto-orange-dark);
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.lifephoto-checkout-consent__error {
    margin: 0 0 8px;
    color: #b02a1f;
    font-size: 13px;
    font-weight: 700;
}

@media (max-width: 767px) {
    .lp-legal-page {
        padding-bottom: 24px;
    }

    .lp-legal-page h1 {
        margin-bottom: 18px;
    }

    .lp-legal-page h2 {
        margin-top: 24px;
        margin-bottom: 10px;
    }

    .lp-legal-page p,
    .lp-legal-page li,
    .lp-legal-page blockquote {
        font-size: 15px;
        line-height: 1.65;
    }

    .lifephoto-footer-legal-menu__title {
        margin-bottom: 12px;
        font-size: 17px;
    }

    .lifephoto-footer-legal-menu li + li {
        margin-top: 8px;
    }

    .lifephoto-print-summary {
        gap: 5px 9px;
        font-size: 12px;
    }

    .lifephoto-print-summary__fact + .lifephoto-print-summary__fact::before {
        margin-right: 9px;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .01ms !important;
    }
}
