/* =============================================
   GLOBAL SITE HEADER
   ============================================= */

.rav-site-header {
    padding: 0;
    position: sticky;
    top: 0;
    z-index: 70;
    background: rgba(255, 255, 255, .95);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(17, 23, 61, .08);
}

.rav-site-header__shell {
    position: relative;
}

.rav-site-header__bar {
    position: relative;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 1.7rem;
    min-height: 8.4rem;
    padding: .8rem 0;
    background: transparent;
    border: 0;
    box-shadow: none;
}

.rav-site-header__brand {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
}

.rav-site-header__logo {
    display: block;
    width: auto;
    height: 9.6rem;
}

.rav-site-nav {
    display: flex;
    justify-self: center;
    gap: 1.5rem;
}

.rav-site-nav__link {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: auto;
    padding: .4rem 0;
    border-radius: 0;
    color: rgba(40, 40, 112, .94);
    font-size: 1.12rem;
    font-weight: 700;
    line-height: 1;
    text-decoration: none;
    background: transparent;
    box-shadow: none;
    transition: color .2s ease;
}

.rav-site-nav__link::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: -.78rem;
    height: 2px;
    border-radius: 999px;
    background: linear-gradient(90deg, #6c0c0c 0%, #282870 100%);
    transform: scaleX(0);
    transform-origin: center;
    opacity: 0;
    transition: transform .22s ease, opacity .22s ease;
}

.rav-site-nav__link:hover {
    color: #6c0c0c;
    background: transparent;
    transform: none;
}

.rav-site-nav__link:hover::after,
.rav-site-nav__link--active::after {
    transform: scaleX(1);
    opacity: 1;
}

.rav-site-nav__link--active {
    color: #6c0c0c;
    background: transparent;
    box-shadow: none;
}

.rav-site-header__actions {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-shrink: 0;
    justify-self: end;
}

.rav-site-header__phone,
.rav-site-header__toggle {
    border: 0;
    transition: color .2s ease, background-color .2s ease;
}

.rav-site-header__phone {
    align-items: center;
    gap: .55rem;
    min-height: auto;
    padding: .3rem 0;
    border-radius: 0;
    background: transparent;
    color: #11173d;
    font-size: 1.06rem;
    font-weight: 800;
    line-height: 1;
    text-decoration: none;
    box-shadow: none;
}

.rav-site-header__phone:hover {
    color: #6c0c0c;
    background: transparent;
    border-color: transparent;
    transform: none;
    box-shadow: none;
}

.rav-site-header__toggle {
    display: none;
    align-items: center;
    justify-content: center;
    width: 3.4rem;
    height: 3.4rem;
    border-radius: .9rem;
    background: transparent;
    color: #282870;
    box-shadow: none;
}

.rav-site-header__toggle:hover {
    background: rgba(40, 40, 112, .08);
    border-color: rgba(40, 40, 112, .16);
    transform: none;
}

.rav-site-header__toggle[aria-expanded="true"] {
    background: rgba(40, 40, 112, .1);
    border-color: rgba(40, 40, 112, .18);
}

.rav-site-nav.absolute {
    top: calc(100% + .35rem) !important;
    right: 0 !important;
    left: 0 !important;
    gap: .3rem;
    padding: .8rem 0 0 !important;
    border-radius: 0;
    background: rgba(255, 255, 255, .98) !important;
    border-top: 1px solid rgba(40, 40, 112, .08);
    border-bottom: 1px solid rgba(40, 40, 112, .08);
    border-left: 0;
    border-right: 0;
    box-shadow: 0 16px 30px rgba(14, 18, 49, .08) !important;
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
}

.rav-site-nav-backdrop {
    position: fixed;
    inset: 0;
    z-index: 45;
    border: 0;
    padding: 0;
    background: rgba(17, 23, 61, .18);
    opacity: 0;
    cursor: pointer;
    pointer-events: none;
    transition: opacity .22s ease;
}

.rav-site-nav-backdrop.is-active {
    opacity: 1;
    pointer-events: auto;
}

.rav-site-nav.absolute .rav-site-nav__link {
    width: 100%;
    justify-content: flex-start;
    min-height: 3.2rem;
    padding: 0 1rem;
    border-radius: 0;
}

.rav-site-nav.absolute .rav-site-nav__link::after {
    left: 1rem;
    right: 1rem;
    bottom: .45rem;
}

@media (max-width: 1199px) {
    .rav-site-header__bar {
        grid-template-columns: auto minmax(0, 1fr) auto;
        gap: .85rem;
        min-height: 7.4rem;
        padding: .7rem 0;
    }

    .rav-site-header__logo {
        height: 8.4rem;
    }

    .rav-site-header__phone {
        font-size: .98rem;
    }
}

@media (max-width: 1023px) {
    body {
        padding-top: var(--rav-header-offset, 8rem);
    }

    body.rav-mobile-nav-open {
        overflow: hidden;
    }

    #root,
    .min-h-screen {
        overflow: visible;
    }

    .rav-site-header {
        position: fixed !important;
        top: 0;
        left: 0;
        right: 0;
        width: 100%;
        z-index: 90 !important;
    }

    .rav-site-nav {
        display: none;
    }

    .rav-site-nav.flex,
    .rav-site-nav.absolute {
        display: flex;
    }

    .rav-site-nav.absolute {
        position: fixed !important;
        top: var(--rav-mobile-nav-top, 6.75rem) !important;
        left: auto !important;
        right: 0 !important;
        width: min(21rem, calc(100vw - 1.5rem));
        max-height: var(--rav-mobile-nav-max-height, calc(100dvh - 7.5rem));
        align-items: stretch;
        gap: .45rem;
        padding: .75rem !important;
        border: 1px solid rgba(40, 40, 112, .1);
        border-radius: 1.4rem;
        background:
            linear-gradient(180deg, rgba(255, 255, 255, .98) 0%, rgba(248, 248, 255, .96) 100%) !important;
        box-shadow:
            0 24px 48px rgba(17, 23, 61, .18),
            0 8px 18px rgba(40, 40, 112, .1) !important;
        overflow: hidden;
        overflow-y: auto;
        overscroll-behavior: contain;
    }

    .rav-site-nav.absolute::before {
        content: 'Navigation';
        display: block;
        padding: .25rem .35rem .55rem;
        color: rgba(40, 40, 112, .48);
        font-size: .7rem;
        font-weight: 800;
        letter-spacing: .18em;
        text-transform: uppercase;
    }

    .rav-site-nav.absolute .rav-site-nav__link {
        min-height: 3.35rem;
        padding: .95rem 1rem;
        border-radius: 1rem;
        color: #282870;
        font-size: 1.05rem;
        font-weight: 800;
        line-height: 1.2;
        transition: background-color .2s ease, color .2s ease, transform .2s ease;
    }

    .rav-site-nav.absolute .rav-site-nav__link:hover {
        background: rgba(40, 40, 112, .05);
        color: #282870;
        transform: translateX(2px);
    }

    .rav-site-nav.absolute .rav-site-nav__link::after {
        left: 1rem;
        right: 1rem;
        bottom: .6rem;
        height: 2px;
    }

    .rav-site-nav.absolute .rav-site-nav__link--active {
        color: #6c0c0c;
        background: linear-gradient(135deg, rgba(108, 12, 12, .11) 0%, rgba(40, 40, 112, .04) 100%);
    }

    .rav-site-header__toggle {
        display: inline-flex;
        box-shadow: 0 10px 24px rgba(40, 40, 112, .08);
    }
}

@media (max-width: 767px) {
    body {
        padding-top: var(--rav-header-offset, 8rem);
    }

    .rav-site-header {
        padding: 0;
    }

    .rav-site-header__bar {
        grid-template-columns: auto minmax(0, 1fr) auto;
        min-height: 6.3rem;
        padding: .65rem 0;
    }

    .rav-site-header__logo {
        height: 6.6rem;
    }

    .rav-site-header__toggle {
        width: 3rem;
        height: 3rem;
        border-radius: .9rem;
    }

    .rav-site-nav.absolute {
        top: var(--rav-mobile-nav-top, 5.95rem) !important;
        right: .1rem !important;
        width: min(19rem, calc(100vw - 1.25rem));
        max-height: var(--rav-mobile-nav-max-height, calc(100dvh - 6.6rem));
        padding: .7rem !important;
    }

    .rav-site-nav.absolute .rav-site-nav__link {
        min-height: 3rem;
        padding: .85rem .95rem;
        font-size: 1rem;
    }
}

.durak-scroll-top {
    position: fixed;
    right: max(1.1rem, env(safe-area-inset-right));
    bottom: calc(max(1.1rem, env(safe-area-inset-bottom)) + .25rem);
    z-index: 80;
    width: 3.7rem;
    height: 3.7rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 999px;
    padding: 0;
    color: #fff;
    cursor: pointer;
    opacity: 0;
    pointer-events: none;
    transform: translateY(.9rem) scale(.94);
    background: linear-gradient(145deg, #7f1414 0%, #5f0e20 48%, #282870 100%);
    box-shadow: 0 16px 30px rgba(15, 20, 58, .22), 0 8px 18px rgba(127, 20, 20, .24);
    transition: opacity .24s ease, transform .24s ease, box-shadow .24s ease, filter .24s ease;
    isolation: isolate;
}

.durak-scroll-top::before {
    content: '';
    position: absolute;
    inset: 1px;
    border-radius: inherit;
    background:
        radial-gradient(circle at 28% 24%, rgba(255, 255, 255, .32) 0%, rgba(255, 255, 255, 0) 38%),
        linear-gradient(180deg, rgba(255, 255, 255, .1) 0%, rgba(255, 255, 255, 0) 100%);
    opacity: .9;
    z-index: -1;
}

.durak-scroll-top__halo {
    position: absolute;
    inset: -.5rem;
    border-radius: inherit;
    background: radial-gradient(circle, rgba(40, 40, 112, .16) 0%, rgba(40, 40, 112, 0) 70%);
    opacity: .85;
    z-index: -2;
}

.durak-scroll-top__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transform: translateY(-1px);
}

.durak-scroll-top.is-visible {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0) scale(1);
}

.durak-scroll-top:hover {
    transform: translateY(-3px) scale(1.04);
    box-shadow: 0 18px 36px rgba(15, 20, 58, .26), 0 12px 22px rgba(127, 20, 20, .28);
    filter: saturate(1.05);
}

.durak-scroll-top:focus-visible {
    outline: 0;
    box-shadow:
        0 0 0 4px rgba(255, 255, 255, .96),
        0 0 0 8px rgba(40, 40, 112, .18),
        0 18px 36px rgba(15, 20, 58, .26);
}

.durak-scroll-top--offset {
    bottom: calc(max(6rem, env(safe-area-inset-bottom)) + .55rem);
}

.durak-cookie-consent {
    position: fixed;
    left: 50%;
    bottom: max(1rem, env(safe-area-inset-bottom));
    z-index: 96;
    width: min(42rem, calc(100vw - 2rem));
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translate(-50%, 1rem);
    transition: opacity .42s ease, transform .42s ease, visibility 0s linear .42s;
}

.durak-cookie-consent.is-visible {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translate(-50%, 0);
    transition-delay: 0s;
}

.durak-cookie-consent__card {
    position: relative;
    display: grid;
    gap: 1rem;
    padding: 1.2rem;
    max-height: min(78dvh, 36rem);
    overflow-y: auto;
    border: 1px solid rgba(40, 40, 112, .12);
    border-radius: 1.5rem;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, .98) 0%, rgba(249, 247, 255, .96) 100%);
    box-shadow:
        0 22px 44px rgba(17, 23, 61, .16),
        0 10px 18px rgba(108, 12, 12, .08);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
}

.durak-cookie-consent__header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
}

.durak-cookie-consent__eyebrow {
    display: inline-flex;
    margin-bottom: .35rem;
    color: #7f1414;
    font-size: .72rem;
    font-weight: 800;
    letter-spacing: .18em;
    text-transform: uppercase;
}

.durak-cookie-consent__title {
    margin: 0;
    color: #11173d;
    font-size: 1.3rem;
    font-weight: 800;
    line-height: 1.15;
}

.durak-cookie-consent__copy {
    margin: 0;
    color: rgba(17, 23, 61, .82);
    font-size: .97rem;
    line-height: 1.65;
}

.durak-cookie-consent__copy a {
    color: #6c0c0c;
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: .2em;
}

.durak-cookie-consent__actions,
.durak-cookie-consent__panel-actions {
    display: flex;
    flex-wrap: wrap;
    gap: .7rem;
}

.durak-cookie-consent__actions .durak-cookie-consent__button {
    flex: 1 1 10rem;
}

html,
body {
    max-width: 100%;
    overflow-x: hidden;
    overflow-x: clip;
}

#root,
.min-h-screen {
    max-width: 100%;
    overflow-x: hidden;
    overflow-x: clip;
}

.durak-cookie-consent__button,
.durak-cookie-footer-tools__manage,
.durak-cookie-footer-tools__policy,
.durak-map-embed__button,
.durak-map-embed__ghost {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 3rem;
    padding: 0 1rem;
    border: 0;
    border-radius: 999px;
    font-size: .94rem;
    font-weight: 800;
    line-height: 1;
    text-decoration: none;
    cursor: pointer;
    transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease, color .2s ease;
}

.durak-cookie-consent__button:hover,
.durak-cookie-footer-tools__manage:hover,
.durak-cookie-footer-tools__policy:hover,
.durak-map-embed__button:hover,
.durak-map-embed__ghost:hover {
    transform: translateY(-1px);
}

.durak-cookie-consent__button--primary,
.durak-cookie-footer-tools__manage,
.durak-map-embed__button {
    background: linear-gradient(135deg, #7f1414 0%, #5f0e20 48%, #282870 100%);
    color: #fff;
    box-shadow: 0 14px 24px rgba(17, 23, 61, .16);
}

.durak-cookie-consent__button--secondary {
    background: linear-gradient(135deg, #202c76 0%, #2d3f9a 100%);
    color: #fff;
    border: 1px solid rgba(40, 40, 112, .18);
    box-shadow: 0 14px 24px rgba(17, 23, 61, .16);
}

.durak-map-embed__ghost {
    background: linear-gradient(135deg, rgba(236, 239, 255, .98) 0%, rgba(226, 231, 255, .98) 100%);
    color: #11173d;
    border: 1px solid rgba(40, 40, 112, .14);
    box-shadow: 0 14px 24px rgba(17, 23, 61, .12);
}

.durak-cookie-consent__button--ghost,
.durak-cookie-footer-tools__policy {
    background: transparent;
    color: #6c0c0c;
    border: 1px solid rgba(108, 12, 12, .16);
}

.durak-cookie-consent__close {
    border: 0;
    padding: .4rem 0;
    background: transparent;
    color: rgba(17, 23, 61, .55);
    font-size: .84rem;
    font-weight: 700;
    cursor: pointer;
}

.durak-cookie-consent__close:hover {
    color: #11173d;
}

.durak-cookie-consent__panel {
    display: grid;
    gap: .8rem;
    padding-top: .2rem;
}

.durak-cookie-consent[data-expanded="false"] .durak-cookie-consent__panel {
    display: none !important;
}

.durak-cookie-toggle {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 1rem;
    align-items: center;
    padding: .9rem 1rem;
    border-radius: 1.1rem;
    background: rgba(17, 23, 61, .04);
    border: 1px solid rgba(40, 40, 112, .08);
}

.durak-cookie-toggle--locked {
    background: linear-gradient(135deg, rgba(40, 40, 112, .08) 0%, rgba(108, 12, 12, .05) 100%);
}

.durak-cookie-toggle__copy {
    display: grid;
    gap: .28rem;
    color: #11173d;
}

.durak-cookie-toggle__copy strong {
    font-size: .98rem;
    line-height: 1.2;
}

.durak-cookie-toggle__copy small,
.durak-cookie-toggle__state {
    color: rgba(17, 23, 61, .68);
    font-size: .84rem;
    line-height: 1.5;
}

.durak-cookie-toggle__control input {
    width: 1.2rem;
    height: 1.2rem;
    accent-color: #6c0c0c;
    cursor: pointer;
}

.durak-cookie-footer-tools {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: .8rem;
    margin-top: 2rem;
    padding-top: 1.2rem;
    border-top: 1px solid rgba(255, 255, 255, .12);
}

.durak-cookie-footer-inline,
.durak-cookie-footer-inline-link {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    padding: 0;
    border: 0;
    background: transparent;
    color: rgba(255, 255, 255, .6);
    font: inherit;
    line-height: inherit;
    text-decoration: none;
    cursor: pointer;
    transition: color .2s ease, opacity .2s ease;
}

.durak-cookie-footer-inline:hover,
.durak-cookie-footer-inline-link:hover {
    color: #fff;
}

.durak-cookie-footer-inline:focus-visible,
.durak-cookie-footer-inline-link:focus-visible {
    outline: 2px solid rgba(255, 255, 255, .35);
    outline-offset: 4px;
    border-radius: .4rem;
}

.durak-map-embed {
    position: relative;
    display: block;
    flex: 1 1 auto;
    width: 100%;
    min-width: 0;
    min-height: 300px;
    height: 100%;
    align-self: stretch;
    overflow: hidden;
    background: linear-gradient(145deg, rgba(17, 23, 61, .94) 0%, rgba(40, 40, 112, .94) 100%);
}

.durak-map-embed iframe {
    display: block;
    flex: 1 1 auto;
    width: 100%;
    height: 100%;
    min-height: inherit;
    border: 0;
}

.durak-map-embed__placeholder {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: .85rem;
    min-height: inherit;
    padding: 1.5rem;
    color: #fff;
    background:
        radial-gradient(circle at top right, rgba(255, 255, 255, .1) 0%, rgba(255, 255, 255, 0) 35%),
        linear-gradient(145deg, rgba(17, 23, 61, .96) 0%, rgba(40, 40, 112, .96) 100%);
}

.durak-map-embed__eyebrow {
    color: rgba(255, 255, 255, .72);
    font-size: .72rem;
    font-weight: 800;
    letter-spacing: .16em;
    text-transform: uppercase;
}

.durak-map-embed__title {
    margin: 0;
    color: #fff;
    font-size: 1.12rem;
    font-weight: 800;
    line-height: 1.4;
}

.durak-map-embed__copy {
    margin: 0;
    color: rgba(255, 255, 255, .78);
    font-size: .94rem;
    line-height: 1.65;
}

.durak-map-embed__actions {
    display: flex;
    flex-wrap: wrap;
    gap: .75rem;
}

.durak-map-embed__link {
    color: rgba(255, 255, 255, .88);
    font-size: .9rem;
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: .2em;
}

.durak-reassurance {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;
}

.durak-reassurance__item {
    padding: 1.15rem 1.2rem;
    border: 1px solid rgba(23, 29, 88, .08);
    border-radius: 1.35rem;
    background:
        radial-gradient(circle at top right, rgba(122, 18, 46, .06) 0%, rgba(122, 18, 46, 0) 38%),
        linear-gradient(180deg, rgba(255, 255, 255, .98) 0%, rgba(249, 248, 253, .98) 100%);
    box-shadow: 0 18px 40px rgba(17, 23, 61, .08);
}

.durak-reassurance__kicker {
    display: inline-flex;
    align-items: center;
    padding: .34rem .62rem;
    border-radius: 999px;
    background: rgba(23, 29, 88, .06);
    color: #6c0c0c;
    font-size: .72rem;
    font-weight: 800;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.durak-reassurance__item strong {
    display: block;
    margin-top: .85rem;
    color: #171d58;
    font-size: 1.08rem;
    font-weight: 800;
    line-height: 1.3;
}

.durak-reassurance__item p {
    margin: .6rem 0 0;
    color: rgba(23, 29, 88, .78);
    font-size: .94rem;
    line-height: 1.65;
}





@media (max-width: 1100px) {
    .durak-reassurance {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (prefers-reduced-motion: reduce) {
    .durak-scroll-top {
        transition: opacity .2s ease;
    }

    .durak-scroll-top:hover {
        transform: none;
    }
}

@media (max-width: 767px) {
    .durak-scroll-top {
        right: max(.85rem, env(safe-area-inset-right));
        width: 3.35rem;
        height: 3.35rem;
    }

    .durak-cookie-consent {
        left: auto;
        left: max(.55rem, env(safe-area-inset-left));
        right: max(.55rem, env(safe-area-inset-right));
        width: auto;
        bottom: max(.42rem, env(safe-area-inset-bottom));
        transform: translateY(1rem);
    }

    .durak-cookie-consent.is-visible {
        transform: translateY(0);
    }

    .durak-cookie-consent__card {
        gap: .72rem;
        padding: .82rem;
        max-height: min(68dvh, 27rem);
        border-radius: 1.08rem;
    }

    .durak-cookie-consent__eyebrow {
        margin-bottom: .1rem;
        font-size: .58rem;
        letter-spacing: .15em;
    }

    .durak-cookie-consent__title {
        font-size: .96rem;
        line-height: 1.16;
    }

    .durak-cookie-consent__copy {
        font-size: .79rem;
        line-height: 1.42;
    }

    .durak-cookie-consent[data-expanded="false"] .durak-cookie-consent__copy {
        display: -webkit-box;
        overflow: hidden;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 2;
    }

    .durak-cookie-consent__actions {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: .5rem;
    }

    .durak-cookie-consent__actions .durak-cookie-consent__button {
        width: 100%;
        min-width: 0;
        min-height: 2.55rem;
        padding: 0 .72rem;
        font-size: .8rem;
    }

    .durak-cookie-consent__actions [data-cookie-action="toggle-customize"] {
        grid-column: 1 / -1;
    }

    .durak-cookie-consent__button,
    .durak-cookie-footer-tools__manage,
    .durak-cookie-footer-tools__policy,
    .durak-map-embed__button,
    .durak-map-embed__ghost {
        width: 100%;
    }

    .durak-cookie-toggle {
        grid-template-columns: minmax(0, 1fr) auto;
        gap: .58rem;
        padding: .66rem .72rem;
        border-radius: .88rem;
    }

    .durak-cookie-toggle__copy {
        gap: .2rem;
    }

    .durak-cookie-toggle__copy strong {
        font-size: .84rem;
    }

    .durak-cookie-toggle__copy small,
    .durak-cookie-toggle__state {
        font-size: .71rem;
        line-height: 1.34;
    }

    .durak-cookie-consent__panel {
        gap: .48rem;
        padding-top: 0;
    }

    .durak-cookie-consent__panel-actions,
    .durak-map-embed__actions,
    .durak-cookie-footer-tools {
        flex-direction: column;
    }

    .durak-reassurance {
        grid-template-columns: minmax(0, 1fr);
    }

    .durak-cookie-consent__panel-actions .durak-cookie-consent__button {
        min-height: 2.55rem;
        font-size: .8rem;
    }
}

@media (max-width: 420px) {
    .durak-cookie-consent {
        left: max(.42rem, env(safe-area-inset-left));
        right: max(.42rem, env(safe-area-inset-right));
        bottom: max(.36rem, env(safe-area-inset-bottom));
    }

    .durak-cookie-consent__card {
        padding: .72rem;
        max-height: min(64dvh, 24.5rem);
        border-radius: .98rem;
    }

    .durak-cookie-consent__title {
        font-size: .9rem;
    }

    .durak-cookie-consent__copy {
        font-size: .76rem;
        line-height: 1.38;
    }

    .durak-cookie-consent__actions {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: .44rem;
    }

    .durak-cookie-consent__actions [data-cookie-action="toggle-customize"] {
        grid-column: 1 / -1;
    }

    .durak-cookie-toggle {
        grid-template-columns: 1fr;
    }

    .durak-cookie-consent__close {
        font-size: .71rem;
    }
}
