/* =========================================================
   EICEPAK — COOKIE CONSENT
   ========================================================= */

.eicepak-cookie-consent {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 99999;

    padding: 18px 24px 20px;

    background: rgba(17, 20, 22, 0.98);
    border-top: 1px solid rgba(217, 45, 45, 0.8);
    box-shadow: 0 -18px 50px rgba(0, 0, 0, 0.25);

    color: #ffffff;
}

.eicepak-cookie-consent[hidden] {
    display: none !important;
}

.eicepak-cookie-consent__panel {
    width: min(1400px, calc(100% - 48px));
    margin: 0 auto;

    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 28px;
}

.eicepak-cookie-consent__eyebrow {
    margin: 0 0 6px;

    color: var(--eicepak-red);

    font-family: "Inter", Arial, sans-serif;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.08em;
}

.eicepak-cookie-consent__content h2 {
    margin: 0 0 6px;

    color: #ffffff;

    font-family: "Inter", Arial, sans-serif;
    font-size: 20px;
    font-weight: 700;
    line-height: 1.25;
}

.eicepak-cookie-consent__content > p:not(.eicepak-cookie-consent__eyebrow):not(.eicepak-cookie-consent__links) {
    max-width: 900px;
    margin: 0;

    color: rgba(255, 255, 255, 0.74);
    font-size: 13px;
    line-height: 1.55;
}

.eicepak-cookie-consent__links {
    display: flex;
    align-items: center;
    gap: 8px;

    margin: 9px 0 0;

    font-size: 12px;
}

.eicepak-cookie-consent__links a {
    color: #ffffff;
    text-decoration: underline;
    text-decoration-color: rgba(217, 45, 45, 0.8);
    text-underline-offset: 3px;
}

.eicepak-cookie-consent__links a:hover {
    color: var(--eicepak-red);
}

.eicepak-cookie-consent__actions,
.eicepak-cookie-consent__settings-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
}

.eicepak-cookie-consent__actions[hidden],
.eicepak-cookie-consent__settings-actions[hidden] {
    display: none !important;
}

.eicepak-cookie-btn {
    min-height: 42px;
    padding: 0 16px;

    border: 1px solid transparent;

    font-family: "Inter", Arial, sans-serif;
    font-size: 12px;
    font-weight: 700;
    line-height: 1;
    text-transform: uppercase;
    letter-spacing: 0.03em;

    cursor: pointer;
    transition: background 180ms ease, border-color 180ms ease, color 180ms ease, transform 180ms ease;
}

.eicepak-cookie-btn:hover {
    transform: translateY(-1px);
}

.eicepak-cookie-btn--primary {
    background: var(--eicepak-red);
    color: #ffffff;
}

.eicepak-cookie-btn--primary:hover {
    background: #c9141b;
}

.eicepak-cookie-btn--outline {
    background: transparent;
    border-color: rgba(255, 255, 255, 0.28);
    color: #ffffff;
}

.eicepak-cookie-btn--outline:hover {
    border-color: var(--eicepak-red);
    color: #ffffff;
}

.eicepak-cookie-btn--secondary {
    background: transparent;
    color: rgba(255, 255, 255, 0.75);
}

.eicepak-cookie-btn--secondary:hover {
    color: #ffffff;
}

.eicepak-cookie-consent__settings {
    grid-column: 1 / -1;

    padding-top: 14px;

    border-top: 1px solid rgba(255, 255, 255, 0.09);
}

.eicepak-cookie-consent__settings[hidden] {
    display: none !important;
}

.eicepak-cookie-category {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 20px;

    padding: 13px 0;

    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.eicepak-cookie-category strong {
    display: block;

    color: #ffffff;
    font-size: 13px;
}

.eicepak-cookie-category p {
    margin: 4px 0 0;

    color: rgba(255, 255, 255, 0.62);
    font-size: 12px;
    line-height: 1.45;
}

.eicepak-cookie-category__status {
    color: rgba(255, 255, 255, 0.55);
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.eicepak-cookie-switch {
    position: relative;
    display: inline-flex;
    align-items: center;
    cursor: pointer;
}

.eicepak-cookie-switch input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.eicepak-cookie-switch > span {
    position: relative;

    width: 46px;
    height: 26px;

    border-radius: 999px;
    background: #2c3337;

    transition: background 180ms ease;
}

.eicepak-cookie-switch > span::after {
    content: "";

    position: absolute;
    top: 4px;
    left: 4px;

    width: 18px;
    height: 18px;

    border-radius: 50%;
    background: #ffffff;

    transition: transform 180ms ease;
}

.eicepak-cookie-switch input:checked + span {
    background: var(--eicepak-red);
}

.eicepak-cookie-switch input:checked + span::after {
    transform: translateX(20px);
}

.eicepak-cookie-consent__third-party-note {
    margin: 13px 0 0;

    color: rgba(255, 255, 255, 0.52);
    font-size: 11px;
    line-height: 1.45;
}

.eicepak-cookie-consent__settings-actions {
    margin-top: 16px;
}

.eicepak-cookie-manage {
    position: fixed;
    right: 18px;
    bottom: 18px;
    z-index: 99998;

    min-height: 36px;
    padding: 0 13px;

    border: 1px solid rgba(255, 255, 255, 0.18);
    background: rgba(17, 20, 22, 0.94);
    color: rgba(255, 255, 255, 0.82);

    font-family: "Inter", Arial, sans-serif;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.025em;

    cursor: pointer;
    transition: border-color 180ms ease, color 180ms ease, transform 180ms ease;
}

.eicepak-cookie-manage:hover {
    border-color: var(--eicepak-red);
    color: #ffffff;
    transform: translateY(-1px);
}

@media (max-width: 900px) {
    .eicepak-cookie-consent {
        padding: 16px;
    }

    .eicepak-cookie-consent__panel {
        width: 100%;
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .eicepak-cookie-consent__actions {
        justify-content: stretch;
        flex-wrap: wrap;
    }

    .eicepak-cookie-btn {
        flex: 1 1 150px;
    }
}

@media (max-width: 600px) {
    .eicepak-cookie-consent__content h2 {
        font-size: 18px;
    }

    .eicepak-cookie-consent__content > p:not(.eicepak-cookie-consent__eyebrow):not(.eicepak-cookie-consent__links) {
        font-size: 12px;
    }

    .eicepak-cookie-consent__links {
        flex-wrap: wrap;
    }

    .eicepak-cookie-consent__actions,
    .eicepak-cookie-consent__settings-actions {
        display: grid;
        grid-template-columns: 1fr;
    }

    .eicepak-cookie-btn {
        width: 100%;
    }

    .eicepak-cookie-category {
        grid-template-columns: minmax(0, 1fr) auto;
    }

    .eicepak-cookie-manage {
        right: 12px;
        bottom: 12px;
    }
}
