/* Loft Industry 73 — Legal Center. All styles are scoped to plugin components. */
.ll73-legal {
    --ll73-dark: #202521;
    --ll73-text: #292d29;
    --ll73-muted: #777b75;
    --ll73-gold: #c99b4d;
    --ll73-gold-light: #f6eddd;
    --ll73-bg: #f5f4f0;
    --ll73-white: #fff;
    --ll73-border: #e6e3dc;
    width: 100%;
    max-width: 1380px;
    margin: 0 auto;
    padding: 55px 24px 75px;
    color: var(--ll73-text);
    font-family: inherit;
    line-height: 1.7;
    box-sizing: border-box;
}
.ll73-legal *, .ll73-legal *::before, .ll73-legal *::after,
.ll73-cookie *, .ll73-cookie *::before, .ll73-cookie *::after { box-sizing: border-box; }
.ll73-intro { margin: 0 0 35px; }
.ll73-eyebrow, .ll73-category {
    display: inline-block;
    margin-bottom: 12px;
    color: #98713a;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.7px;
    text-transform: uppercase;
}
.ll73-intro h1 {
    margin: 0 0 14px;
    color: var(--ll73-dark);
    font-size: clamp(30px, 4vw, 46px);
    line-height: 1.15;
    font-weight: 600;
}
.ll73-intro p { max-width: 760px; margin: 0; color: var(--ll73-muted); font-size: 16px; }
.ll73-layout { display: grid; grid-template-columns: 265px minmax(0, 1fr); gap: 28px; align-items: start; }
.ll73-sidebar { position: sticky; top: 25px; min-width: 0; }
.ll73-nav-title { margin: 0 0 13px; padding-left: 4px; color: var(--ll73-muted); font-size: 11px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; }
.ll73-nav { display: flex; flex-direction: column; gap: 9px; }
.ll73-nav a {
    display: block;
    padding: 14px 16px;
    border: 1px solid var(--ll73-border);
    border-radius: 10px;
    background: var(--ll73-white);
    color: #454943;
    font-size: 13px;
    line-height: 1.45;
    text-decoration: none;
    transition: .2s ease;
}
.ll73-nav a:hover { border-color: var(--ll73-gold); color: var(--ll73-dark); transform: translateX(3px); }
.ll73-nav a.is-active { padding-left: 12px; border-color: var(--ll73-dark); border-left: 4px solid var(--ll73-gold); background: var(--ll73-dark); color: #fff; }
.ll73-nav-extra { margin-top: 12px; padding-top: 18px; border-top: 1px solid var(--ll73-border); }
.ll73-settings-link {
    width: 100%; padding: 14px 16px; border: 1px solid var(--ll73-gold); border-radius: 10px;
    background: transparent; color: var(--ll73-dark); font: inherit; font-size: 13px; cursor: pointer; transition: .2s ease;
}
.ll73-settings-link:hover { background: var(--ll73-gold-light); }
.ll73-content { min-width: 0; padding: clamp(24px, 4vw, 48px); border: 1px solid var(--ll73-border); border-radius: 16px; background: var(--ll73-white); }
.ll73-document { display: none; animation: ll73Fade .22s ease; }
.ll73-document.is-active { display: block; }
@keyframes ll73Fade { from { opacity: 0; transform: translateY(5px); } to { opacity: 1; transform: translateY(0); } }
.ll73-document h2 { margin: 0 0 17px; color: var(--ll73-dark); font-size: clamp(25px, 3vw, 37px); line-height: 1.2; font-weight: 600; }
.ll73-document-body { color: var(--ll73-text); font-size: 14px; }
.ll73-document-body .ll73-lead { margin: 0 0 28px; color: #74776f; font-size: 16px; }
.ll73-document-body h3 { margin: 30px 0 10px; color: var(--ll73-dark); font-size: 19px; line-height: 1.4; font-weight: 600; }
.ll73-document-body p { margin: 0 0 13px; }
.ll73-document-body ul, .ll73-document-body ol { margin: 8px 0 18px; padding-left: 22px; }
.ll73-document-body li { margin-bottom: 7px; padding-left: 3px; }
.ll73-document-body a { color: #98713a; text-decoration: underline; text-underline-offset: 3px; }
.ll73-document-body a:hover { color: var(--ll73-dark); }
.ll73-document-body .ll73-notice { margin: 25px 0; padding: 17px 20px; border-left: 3px solid var(--ll73-gold); background: var(--ll73-gold-light); color: #76572d; font-size: 13px; }
.ll73-document-body .ll73-placeholder { color: #a04c28; font-weight: 700; background: #fff1e7; padding: 1px 4px; border-radius: 3px; }
.ll73-document-body .ll73-date { margin-top: 35px; padding-top: 18px; border-top: 1px solid var(--ll73-border); color: var(--ll73-muted); font-size: 12px; }
.ll73-admin-empty { padding: 20px; border: 1px solid #dba755; background: #fff8e9; color: #664a20; }

/* Cookie shortcode: separate trigger, consent banner and modal. */
.ll73-cookie { position: relative; z-index: 10; font-family: inherit; color: #292d29; }
.ll73-cookie-trigger { padding: 8px 12px; border: 1px solid #c99b4d; border-radius: 7px; background: transparent; color: inherit; font: inherit; font-size: 13px; cursor: pointer; }
.ll73-cookie-trigger:hover { background: #f6eddd; }
.ll73-cookie-banner {
    position: fixed; z-index: 999990; left: 0; right: 0; bottom: 0;
    display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 22px;
    width: 100%; max-width: none; margin: 0; padding: 11px max(20px, calc((100vw - 1180px) / 2));
    border: 0; border-top: 1px solid #e6e3dc; border-radius: 0; background: #fff;
    box-shadow: 0 -8px 30px rgba(20, 23, 20, .13);
}
.ll73-cookie-banner[hidden], .ll73-cookie-modal[hidden] { display: none !important; }
.ll73-cookie-banner-copy { min-width: 0; }
.ll73-cookie-banner-copy strong { display: block; margin-bottom: 2px; color: #202521; font-size: 13px; }
.ll73-cookie-banner-copy p { margin: 0; color: #777b75; font-size: 11px; line-height: 1.4; }
.ll73-cookie-banner-copy a { color: #98713a; text-decoration: underline; text-underline-offset: 2px; }
.ll73-cookie-banner-actions { display: flex; flex-wrap: nowrap; align-items: center; gap: 7px; flex-shrink: 0; }
.ll73-cookie-banner-actions .ll73-btn { min-height: 34px; padding: 7px 11px; white-space: nowrap; }
.ll73-cookie-banner > [data-ll73-consent-error] { flex-basis: 100%; margin: 3px 0 0; }
.ll73-btn { min-height: 39px; padding: 9px 13px; border: 1px solid #202521; border-radius: 7px; font: inherit; font-size: 12px; cursor: pointer; transition: .18s ease; }
.ll73-btn:hover { opacity: .82; }
.ll73-btn-dark { background: #202521; color: #fff; }
.ll73-btn-light { background: #fff; color: #202521; }
.ll73-btn-text { border-color: transparent; background: transparent; color: #555b53; }
.ll73-cookie-modal { position: fixed; z-index: 999999; inset: 0; display: flex; align-items: center; justify-content: center; padding: 20px; }
.ll73-cookie-backdrop { position: absolute; inset: 0; background: rgba(20, 23, 20, .65); }
.ll73-cookie-dialog { position: relative; z-index: 1; width: 100%; max-width: 510px; max-height: 90vh; overflow-y: auto; padding: 30px; border-radius: 14px; background: #fff; box-shadow: 0 20px 80px rgba(0,0,0,.2); }
.ll73-cookie-close { position: absolute; top: 12px; right: 15px; border: 0; background: transparent; color: #777b75; font-size: 27px; line-height: 1; cursor: pointer; }
.ll73-cookie-dialog h3 { margin: 0 28px 12px 0; color: #202521; font-size: 24px; line-height: 1.25; }
.ll73-cookie-description { margin: 0 0 18px; color: #777b75; font-size: 13px; }
.ll73-cookie-option { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 15px 0; border-top: 1px solid #e6e3dc; cursor: pointer; }
.ll73-cookie-option span { display: block; }
.ll73-cookie-option strong { display: block; color: #292d29; font-size: 14px; }
.ll73-cookie-option small { display: block; margin-top: 3px; color: #777b75; font-size: 12px; }
.ll73-cookie-option input { width: 19px; height: 19px; flex: 0 0 auto; accent-color: #c99b4d; }
.ll73-cookie-option-status { flex: 0 0 auto; color: #98713a; font-size: 11px; font-weight: 600; text-align: right; }
.ll73-cookie-dialog-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.ll73-cookie-dialog-actions .ll73-btn { flex: 1 1 135px; }
.ll73-cookie-footnote { margin: 17px 0 0; color: #777b75; font-size: 11px; }

@media (max-width: 800px) {
    .ll73-legal { padding: 35px 16px 50px; }
    .ll73-layout { grid-template-columns: 1fr; gap: 18px; }
    .ll73-sidebar { position: static; }
    .ll73-nav { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 7px; }
    .ll73-nav a { padding: 11px 10px; font-size: 12px; }
    .ll73-nav a.is-active { padding-left: 7px; }
    .ll73-nav-extra { margin-top: 8px; padding-top: 10px; }
    .ll73-content { padding: 23px 19px; border-radius: 12px; }
    .ll73-cookie-banner { flex-direction: column; align-items: stretch; gap: 8px; padding: 10px 14px max(10px, env(safe-area-inset-bottom)); }
    .ll73-cookie-banner-actions { display: grid; grid-template-columns: 1fr 1fr auto; gap: 6px; }
    .ll73-cookie-banner-actions .ll73-btn { min-height: 36px; padding: 7px 8px; font-size: 11px; }
    .ll73-cookie-banner-copy strong { font-size: 12px; }
    .ll73-cookie-banner-copy p { font-size: 10px; }
}
@media (max-width: 420px) {
    .ll73-nav { grid-template-columns: 1fr; }
    .ll73-cookie-dialog { padding: 23px 18px; }
    .ll73-cookie-banner-actions { grid-template-columns: 1fr 1fr; }
    .ll73-cookie-banner-actions .ll73-btn-text { grid-column: 1 / -1; }
}

/* Mandatory first-visit privacy screen: dark blurred page + isolated consent card. */
html.ll73-cookie-open, body.ll73-cookie-open { overflow: hidden !important; }
.ll73-cookie-modal.is-mandatory {
    position: fixed;
    z-index: 2147483000;
    inset: 0;
    width: 100vw;
    height: 100vh;
    height: 100dvh;
    padding: 20px;
    overflow-y: auto;
    align-items: center;
    justify-content: center;
    background: transparent;
}
.ll73-cookie-modal.is-mandatory .ll73-cookie-backdrop {
    /* Затемняем и размываем всю страницу под отдельной карточкой согласия. */
    background: rgba(8, 10, 9, .68);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
}
.ll73-cookie-modal.is-mandatory .ll73-cookie-dialog {
    display: block;
    width: 100%;
    max-width: 800px;
    height: auto;
    min-height: 0;
    max-height: calc(100vh - 40px);
    max-height: calc(100dvh - 40px);
    margin: auto;
    padding: clamp(24px, 4vw, 48px);
    overflow-x: hidden;
    overflow-y: auto;
    border: 1px solid rgba(255, 255, 255, .7);
    border-radius: 16px;
    background: #f5f4f0;
    box-shadow: 0 24px 90px rgba(0, 0, 0, .38);
}
.ll73-cookie-dialog-inner { position: relative; z-index: 2; width: 100%; max-width: 720px; margin: auto; }
.ll73-cookie-eyebrow { display: block; margin: 0 0 18px; color: #98713a; font-size: 11px; font-weight: 700; letter-spacing: 2px; }
.ll73-cookie-modal.is-mandatory .ll73-cookie-dialog h2 {
    margin: 0 0 18px;
    color: #202521;
    font-size: clamp(30px, 5vw, 54px);
    line-height: 1.08;
    font-weight: 600;
}
.ll73-cookie-modal.is-mandatory .ll73-cookie-description { max-width: 690px; margin-bottom: 12px; color: #62675f; font-size: 16px; line-height: 1.7; }
.ll73-cookie-policy-note { margin: 0 0 26px; color: #62675f; font-size: 14px; line-height: 1.65; }
.ll73-cookie-policy-note a { color: #98713a; text-decoration: underline; text-underline-offset: 3px; }
.ll73-cookie-options { border-top: 1px solid #dedbd2; }
.ll73-cookie-modal.is-mandatory .ll73-cookie-option { padding: 18px 0; }
.ll73-cookie-modal.is-mandatory .ll73-cookie-option strong { font-size: 15px; }
.ll73-cookie-modal.is-mandatory .ll73-cookie-option small { max-width: 620px; font-size: 13px; line-height: 1.5; }
.ll73-cookie-modal.is-mandatory .ll73-cookie-option input { width: 21px; height: 21px; }
.ll73-cookie-modal.is-mandatory .ll73-cookie-dialog-actions { margin-top: 26px; gap: 10px; }
.ll73-cookie-modal.is-mandatory .ll73-cookie-dialog-actions .ll73-btn { min-height: 48px; padding: 12px 18px; font-size: 13px; }
.ll73-cookie-error { margin: 16px 0 0; padding: 12px 14px; border-left: 3px solid #b64232; background: #fff0ed; color: #8d2d22; font-size: 13px; }
.ll73-cookie-error[hidden] { display: none !important; }
.ll73-cookie-modal.is-mandatory .ll73-cookie-footnote { margin-top: 22px; max-width: 700px; font-size: 12px; line-height: 1.6; }
@media (max-width: 600px) {
    .ll73-cookie-modal.is-mandatory {
        padding: 8px;
        align-items: center;
    }
    .ll73-cookie-modal.is-mandatory .ll73-cookie-dialog {
        width: 100%;
        max-width: 460px;
        max-height: calc(100vh - 16px);
        max-height: calc(100dvh - 16px);
        padding: 17px 16px 15px;
        border-radius: 12px;
    }
    .ll73-cookie-dialog-inner { max-width: 100%; }
    .ll73-cookie-eyebrow {
        margin-bottom: 9px;
        font-size: 9px;
        letter-spacing: 1.35px;
    }
    .ll73-cookie-modal.is-mandatory .ll73-cookie-dialog h2 {
        margin-bottom: 10px;
        font-size: clamp(23px, 6.2vw, 29px);
        line-height: 1.08;
    }
    .ll73-cookie-modal.is-mandatory .ll73-cookie-description {
        margin-bottom: 8px;
        font-size: 12px;
        line-height: 1.45;
    }
    .ll73-cookie-policy-note {
        margin-bottom: 13px;
        font-size: 11px;
        line-height: 1.45;
    }
    .ll73-cookie-modal.is-mandatory .ll73-cookie-option {
        gap: 10px;
        padding: 10px 0;
    }
    .ll73-cookie-modal.is-mandatory .ll73-cookie-option strong { font-size: 13px; }
    .ll73-cookie-modal.is-mandatory .ll73-cookie-option small {
        max-width: none;
        font-size: 11px;
        line-height: 1.35;
    }
    .ll73-cookie-modal.is-mandatory .ll73-cookie-option input {
        flex: 0 0 18px;
        width: 18px;
        height: 18px;
    }
    .ll73-cookie-modal.is-mandatory .ll73-cookie-dialog-actions {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 7px;
        margin-top: 14px;
    }
    .ll73-cookie-modal.is-mandatory .ll73-cookie-dialog-actions .ll73-btn {
        width: 100%;
        min-height: 40px;
        padding: 9px 8px;
        font-size: 11px;
        line-height: 1.25;
    }
    .ll73-cookie-modal.is-mandatory .ll73-cookie-footnote {
        margin-top: 11px;
        font-size: 10px;
        line-height: 1.4;
    }
}

@media (max-width: 360px) {
    .ll73-cookie-modal.is-mandatory .ll73-cookie-dialog { padding: 15px 13px 13px; }
    .ll73-cookie-modal.is-mandatory .ll73-cookie-dialog-actions { grid-template-columns: 1fr; }
}

.ll73-cookie-modal.is-mandatory .ll73-cookie-close { display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 34px; border-radius: 50%; background: rgba(32, 37, 33, .06); font-size: 25px; }
.ll73-cookie-modal.is-mandatory .ll73-cookie-close:hover { background: rgba(32, 37, 33, .12); color: #202521; }
