.astrolantis-cookie-banner,
.astrolantis-cookie-panel,
.astrolantis-cookie-manage {
    box-sizing: border-box;
    color: #332719;
    font-family: Arial, Helvetica, sans-serif;
}

.astrolantis-cookie-banner *,
.astrolantis-cookie-panel *,
.astrolantis-cookie-manage * {
    box-sizing: border-box;
}

.astrolantis-cookie-banner {
    position: fixed;
    top: 50%;
    left: 50%;
    z-index: 2147483000;
    display: none;
    width: min(720px, calc(100vw - 20px));
    max-height: calc(100vh - 20px);
    overflow: auto;
    padding: 18px 22px;
    transform: translate(-50%, -50%);
    background: linear-gradient(180deg, #ffffff 0%, #fffefe 100%);
    border: 1px solid rgba(203, 149, 55, .22);
    border-radius: 14px;
    box-shadow: rgba(48, 30, 12, .16) 0 22px 56px, rgba(48, 30, 12, .12) 0 8px 22px;
}

.astrolantis-cookie-banner.is-visible {
    display: block;
}

.astrolantis-cookie-banner:hover {
    box-shadow: rgba(48, 30, 12, .2) 0 26px 64px, rgba(48, 30, 12, .13) 0 10px 24px;
}

.astrolantis-cookie-banner__grid {
    display: grid;
    gap: 12px;
}

.astrolantis-cookie-banner__header {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 64px;
    padding: 0 62px;
}

.astrolantis-cookie-banner__logo {
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
}

.astrolantis-cookie-banner__logo img {
    display: block;
    width: 62px;
    height: 62px;
    object-fit: contain;
    filter: drop-shadow(0 2px 5px rgba(116, 68, 11, .16));
}

.astrolantis-cookie-banner__title {
    color: #3a2a18;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.2;
    text-align: center;
}

.astrolantis-cookie-banner__close {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 28px;
    height: 28px;
    padding: 0;
    border: 0;
    background: transparent;
    color: #7b6a55;
    cursor: pointer;
    font: 400 24px/1 Arial, Helvetica, sans-serif;
    transition: color .16s ease, transform .16s ease;
}

.astrolantis-cookie-banner__close:hover,
.astrolantis-cookie-banner__close:focus {
    color: #ad741f;
    outline: 0;
    transform: translateY(-50%) scale(1.05);
}

.astrolantis-cookie-banner__divider,
.astrolantis-cookie-panel__divider {
    height: 1px;
    margin: 0 -22px;
    background: linear-gradient(90deg, transparent, rgba(205, 153, 65, .32), transparent);
}

.astrolantis-cookie-banner h2 {
    margin: 0 0 7px;
    color: #01696f;
    font-size: 19px;
    line-height: 1.25;
}

.astrolantis-cookie-banner p {
    margin: 0;
    color: #514435;
    font-size: 13px;
    line-height: 1.58;
}

.astrolantis-cookie-banner a,
.astrolantis-cookie-panel a {
    color: #96611b;
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.astrolantis-cookie-banner__actions {
    display: flex;
    gap: 10px;
}

.astrolantis-cookie-banner__legal {
    display: flex;
    justify-content: center;
    gap: 5px;
    color: #9c907f;
    font-size: 9px;
    line-height: 1.4;
}

.astrolantis-cookie-banner__legal a {
    color: #8d806e;
    font-weight: 400;
    text-decoration-thickness: 1px;
}

.astrolantis-cookie-button {
    width: 100%;
    min-height: 34px;
    padding: 6px 12px;
    border: 1px solid rgba(178, 105, 24, .42);
    border-radius: 9px;
    background: #c47722;
    color: #ffffff;
    cursor: pointer;
    font: 400 14px/20px Arial, Helvetica, sans-serif;
    text-align: center;
    box-shadow: rgba(165, 94, 20, .18) 0 4px 12px;
    transition: border-color .16s ease, background .16s ease, box-shadow .16s ease, transform .16s ease;
}

.astrolantis-cookie-button:hover,
.astrolantis-cookie-button:focus {
    border-color: rgba(154, 84, 14, .62);
    background: #b96b1c;
    box-shadow: rgba(165, 94, 20, .24) 0 6px 16px;
    outline: 0;
}

.astrolantis-cookie-button--primary {
    border-color: rgba(178, 105, 24, .42);
    background: #c47722;
    color: #ffffff;
    box-shadow: rgba(165, 94, 20, .18) 0 4px 12px;
}

.astrolantis-cookie-button--primary:hover,
.astrolantis-cookie-button--primary:focus {
    border-color: rgba(154, 84, 14, .62);
    background: #b96b1c;
    box-shadow: rgba(165, 94, 20, .24) 0 6px 16px;
}

.astrolantis-cookie-panel {
    position: fixed;
    inset: 0;
    z-index: 2147483001;
    display: none;
    padding: 18px;
    background: rgba(15, 10, 5, .26);
    backdrop-filter: blur(3px);
}

.astrolantis-cookie-panel.is-visible {
    display: grid;
    place-items: center;
}

.astrolantis-cookie-panel__box {
    width: min(720px, 100%);
    max-height: calc(100vh - 36px);
    overflow: auto;
    padding: 18px 22px;
    background: linear-gradient(180deg, #ffffff 0%, #fffefe 100%);
    border: 1px solid rgba(203, 149, 55, .22);
    border-radius: 14px;
    box-shadow: rgba(48, 30, 12, .2) 0 26px 64px, rgba(48, 30, 12, .13) 0 10px 24px;
}

.astrolantis-cookie-panel h2 {
    margin: 0;
    color: #3a2a18;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.2;
    text-align: center;
}

.astrolantis-cookie-panel p {
    margin: 12px 0;
    color: #514435;
    font-size: 13px;
    line-height: 1.58;
}

.astrolantis-cookie-choice {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 10px;
    align-items: center;
    margin-bottom: 9px;
    padding: 11px 12px;
    background: rgba(255, 255, 255, .96);
    border: 1px solid rgba(174, 139, 92, .22);
    border-radius: 10px;
    box-shadow: rgba(72, 45, 15, .04) 0 2px 8px;
}

.astrolantis-cookie-choice:last-of-type {
    border-bottom: 0;
}

.astrolantis-cookie-choice input {
    grid-column: 2;
    grid-row: 1;
    width: 40px;
    height: 20px;
    margin: 0;
    accent-color: #ad741f;
}

.astrolantis-cookie-choice--functional {
    background: #fffaf2;
}

.astrolantis-cookie-choice__active {
    grid-column: 2;
    grid-row: 1;
    min-width: 82px;
    color: #9a671c;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.3;
    text-align: right;
}

.astrolantis-cookie-choice strong {
    display: block;
    margin-bottom: 2px;
    color: #332719;
    font-size: 14px;
    font-weight: 500;
}

.astrolantis-cookie-choice span {
    display: block;
    color: #514435;
    font-size: 12px;
    line-height: 1.5;
}

.astrolantis-cookie-panel__actions {
    display: flex;
    gap: 10px;
    margin-top: 10px;
}

.astrolantis-cookie-manage {
    position: fixed;
    right: 40px;
    bottom: -35px;
    z-index: 2147482999;
    display: none;
    min-width: 152px;
    height: 50px;
    padding: 14px 16px 15px;
    color: #3a2a18;
    background: linear-gradient(180deg, #ffffff 0%, #fffefe 100%);
    border: 1px solid rgba(203, 149, 55, .24);
    border-bottom: 0;
    border-radius: 12px 12px 0 0;
    box-shadow: rgba(48, 30, 12, .16) 0 12px 24px;
    cursor: pointer;
    font: 500 13px/1.2 Arial, Helvetica, sans-serif;
    transition: bottom .25s ease;
}

.astrolantis-cookie-manage.is-visible {
    display: block;
}

.astrolantis-cookie-manage:hover,
.astrolantis-cookie-manage:focus {
    bottom: 0;
    outline: 0;
}

@media (max-width: 768px) {
    .astrolantis-cookie-banner {
        width: calc(100vw - 20px);
    }

    .astrolantis-cookie-banner__actions,
    .astrolantis-cookie-panel__actions {
        flex-direction: column;
    }

    .astrolantis-cookie-manage {
        display: none !important;
    }
}
