/*
 *  Cookie Consent
 *  Author: zomex.com/products/cookie-consent/
 *  Copyright: zomex.com
 *  Version: 3
 *  Updated: 31/7/2026
 *  Documentation: zomex.com/docs/products/cookie-consent/
 *
*/

.cookieconsent,
.cookieconsent-launcher,
.cookieconsent *,
.cookieconsent-launcher * {
    box-sizing: border-box;
}

.cookieconsent {
    position: fixed;
    z-index: 2147483000;
    width: calc(100% - 40px);
    max-width: 420px;
    margin: 0;
    padding: 0;
    color: #2b2b2b;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, Helvetica, sans-serif;
    font-size: 14px;
    line-height: 1.55;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: opacity 180ms ease, transform 180ms ease, visibility 180ms ease;
}

.cookieconsent[data-position^="top"] {
    transform: translateY(-10px);
}

.cookieconsent--visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.cookieconsent__card {
    width: 100%;
    overflow: hidden;
    border: 1px solid #dfe3e7;
    border-radius: 12px;
    background-color: #ffffff;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.12);
}

.cookieconsent__content {
    position: relative;
    padding: 22px;
}

.cookieconsent__header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 14px;
}

.cookieconsent__close {
    appearance: none;
    -webkit-appearance: none;
    flex: 0 0 auto;
    width: 30px;
    height: 30px;
    margin: -6px -6px 0 0;
    padding: 0;
    border: 1px solid transparent;
    border-radius: 8px;
    background-color: transparent;
    color: #60666c;
    cursor: pointer;
    transition: background-color 140ms ease, border-color 140ms ease, color 140ms ease;
}

.cookieconsent__close:hover,
.cookieconsent__close:focus {
    border-color: #d7dce1;
    background-color: #f4f6f7;
    color: #1f1f1f;
}

.cookieconsent__close-icon {
    position: relative;
    display: block;
    width: 100%;
    height: 100%;
}

.cookieconsent__close-icon::before,
.cookieconsent__close-icon::after {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 14px;
    height: 2px;
    margin: -1px 0 0 -7px;
    border-radius: 1px;
    background-color: currentColor;
    content: "";
}

.cookieconsent__close-icon::before {
    transform: rotate(45deg);
}

.cookieconsent__close-icon::after {
    transform: rotate(-45deg);
}

.cookieconsent__title {
    margin: 0 0 8px 0;
    padding: 0;
    color: #1f1f1f;
    font-size: 17px;
    line-height: 1.35;
    font-weight: 700;
}

.cookieconsent__message,
.cookieconsent__status {
    margin: 0 0 18px 0;
    padding: 0;
    color: #555b61;
    font-size: 14px;
    line-height: 1.55;
}

.cookieconsent__status {
    position: relative;
    margin-bottom: 12px;
    padding: 10px 12px 10px 34px;
    border: 1px solid #dfe3e7;
    border-radius: 8px;
    background-color: #f5f6f7;
    color: #353a3f;
}

.cookieconsent__status::before {
    position: absolute;
    top: 50%;
    left: 14px;
    width: 9px;
    height: 9px;
    margin-top: -4px;
    border-radius: 50%;
    background-color: #8b9299;
    content: "";
}

.cookieconsent__status--enabled::before {
    background-color: #27834a;
}

.cookieconsent__status--disabled::before {
    background-color: #8b9299;
}

.cookieconsent__link {
    color: #30343a;
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.cookieconsent__link:hover,
.cookieconsent__link:focus {
    color: #000000;
    text-decoration-thickness: 2px;
}

.cookieconsent__details-link {
    appearance: none;
    -webkit-appearance: none;
    display: inline;
    margin: 0;
    padding: 0;
    border: 0;
    background: transparent;
    color: #30343a;
    font: inherit;
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 2px;
    cursor: pointer;
}

.cookieconsent__details-link:hover,
.cookieconsent__details-link:focus,
.cookieconsent__details-link[aria-expanded="true"] {
    color: #000000;
    text-decoration-thickness: 2px;
}

.cookieconsent__details {
    margin: 0 0 18px 0;
    padding: 14px;
    border: 1px solid #dfe3e7;
    border-radius: 9px;
    background-color: #f7f8f9;
}

.cookieconsent__details[hidden] {
    display: none !important;
}

.cookieconsent__details-title {
    margin: 0 0 9px 0;
    color: #1f1f1f;
    font-size: 14px;
    line-height: 20px;
    font-weight: 700;
}

.cookieconsent__details-scroll {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.cookieconsent__details-table {
    width: 100%;
    min-width: 330px;
    margin: 0;
    border: 1px solid #dfe3e7;
    border-collapse: collapse;
    background-color: #ffffff;
    font-size: 12px;
    line-height: 18px;
}

.cookieconsent__details-table th,
.cookieconsent__details-table td {
    padding: 9px 10px;
    border: 1px solid #dfe3e7;
    text-align: left;
    vertical-align: top;
}

.cookieconsent__details-table th {
    background-color: #eef0f2;
    color: #2c3034;
    font-weight: 700;
}

.cookieconsent__details-table td:first-child {
    width: 88px;
    color: #1f1f1f;
    font-weight: 700;
}

.cookieconsent__actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    margin: 0 0 -9px 0;
    padding: 0;
}

.cookieconsent__button,
.cookieconsent__close,
.cookieconsent__details-link,
.cookieconsent-launcher {
    appearance: none;
    -webkit-appearance: none;
    border: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, Helvetica, sans-serif;
    font-weight: 700;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
}

.cookieconsent__button {
    min-height: 40px;
    margin: 0 9px 9px 0;
    padding: 10px 15px;
    border: 1px solid transparent;
    border-radius: 7px;
    font-size: 13px;
    line-height: 18px;
    transition: background-color 140ms ease, border-color 140ms ease, color 140ms ease;
}

.cookieconsent__button--primary {
    border-color: #347a4d;
    background-color: #347a4d;
    color: #ffffff;
}

.cookieconsent__button--primary:hover,
.cookieconsent__button--primary:focus {
    border-color: #28623d;
    background-color: #28623d;
    color: #ffffff;
}

.cookieconsent__button--secondary {
    border-color: #cfd4da;
    background-color: #f1f3f4;
    color: #2f3438;
}

.cookieconsent__button--secondary:hover,
.cookieconsent__button--secondary:focus {
    border-color: #b7bdc4;
    background-color: #e6e9ec;
    color: #111111;
}

.cookieconsent__button--plain {
    border-color: transparent;
    background-color: transparent;
    color: #4c5258;
}

.cookieconsent__button--plain:hover,
.cookieconsent__button--plain:focus {
    background-color: #f1f3f4;
    color: #111111;
}

.cookieconsent__button:focus-visible,
.cookieconsent__close:focus-visible,
.cookieconsent__link:focus-visible,
.cookieconsent__details-link:focus-visible,
.cookieconsent-launcher:focus-visible {
    outline: 3px solid rgba(52, 122, 77, 0.28);
    outline-offset: 2px;
}

.cookieconsent-launcher {
    position: fixed;
    z-index: 2147482999;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    min-height: 46px;
    margin: 0;
    padding: 0;
    border: 1px solid #d9dee3;
    border-radius: 50%;
    background-color: #ffffff;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.11);
    color: #30343a;
    transition: transform 140ms ease, background-color 140ms ease, border-color 140ms ease;
}

.cookieconsent-launcher:hover,
.cookieconsent-launcher:focus {
    border-color: #bdc4ca;
    background-color: #f7f8f9;
    transform: translateY(-1px);
}

.cookieconsent-launcher__icon {
    position: relative;
    display: block;
    width: 23px;
    height: 23px;
    border-radius: 50%;
    background-color: #555b61;
}

.cookieconsent-launcher__icon::before {
    position: absolute;
    top: 5px;
    left: 5px;
    width: 3px;
    height: 3px;
    border-radius: 50%;
    background-color: #ffffff;
    box-shadow: 8px 1px 0 #ffffff, 3px 9px 0 #ffffff, 10px 11px 0 #ffffff;
    content: "";
}

.cookieconsent-launcher__icon::after {
    position: absolute;
    top: -3px;
    right: -3px;
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background-color: #ffffff;
    box-shadow: -5px 7px 0 -2px #ffffff;
    content: "";
}

.cookieconsent-sr-only {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    margin: -1px !important;
    padding: 0 !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

@media (max-width: 520px) {
    .cookieconsent {
        top: auto !important;
        right: 0 !important;
        bottom: 0 !important;
        left: 0 !important;
        width: 100% !important;
        max-width: none !important;
        max-height: calc(100vh - 10px);
        overflow-y: auto;
        overscroll-behavior: contain;
        transform: translateY(10px);
    }

    .cookieconsent--visible {
        transform: translateY(0);
    }

    .cookieconsent__card {
        border-right: 0;
        border-bottom: 0;
        border-left: 0;
        border-radius: 0;
        box-shadow: 0 -4px 14px rgba(0, 0, 0, 0.10);
    }

    .cookieconsent__content {
        padding: 19px 19px calc(19px + env(safe-area-inset-bottom));
    }

    .cookieconsent__actions {
        display: block;
        margin-bottom: 0;
    }

    .cookieconsent__button {
        display: block;
        width: 100%;
        margin: 8px 0 0 0;
    }

    .cookieconsent__button:first-child {
        margin-top: 0;
    }

    .cookieconsent__details {
        max-height: 42vh;
        overflow-y: auto;
    }

    .cookieconsent-launcher[data-position^="top"] {
        top: 10px !important;
        bottom: auto !important;
    }

    .cookieconsent-launcher[data-position^="bottom"] {
        top: auto !important;
        bottom: 10px !important;
    }

    .cookieconsent-launcher[data-position$="-left"] {
        right: auto !important;
        left: 10px !important;
    }

    .cookieconsent-launcher[data-position$="-right"] {
        right: 10px !important;
        left: auto !important;
    }
}


@media (prefers-reduced-motion: reduce) {
    .cookieconsent,
    .cookieconsent__button,
    .cookieconsent__close,
    .cookieconsent__details-link,
    .cookieconsent-launcher {
        transition: none;
    }
}
