/* ============================================================
   Cookie consent banner & preference centre
   Visual language: dark surface, gold accent, uppercase labels
   ============================================================ */

.ak-cookie-consent {
    position: fixed;
    left: 24px;
    right: 24px;
    bottom: 24px;
    z-index: 9999;
    background: rgba(18, 18, 18, 0.98);
    color: #ececec;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-top: 3px solid #c9a14a;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.55);
    font-family: 'Open Sans', Arial, sans-serif;
    max-width: 1100px;
    margin: 0 auto;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity .35s ease, transform .35s ease;
    pointer-events: none;
}

.ak-cookie-consent.is-visible {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.ak-cookie-consent[hidden] { display: none !important; }

.ak-cc-inner {
    padding: 26px 32px;
}

.ak-cc-text h3 {
    margin: 0 0 10px;
    font-size: 18px;
    letter-spacing: 4px;
    font-weight: 700;
    color: #fff;
    text-transform: uppercase;
}

.ak-cc-text p {
    margin: 0;
    font-size: 13px;
    line-height: 1.7;
    color: #c9c9c9;
}

.ak-cc-text a {
    color: #c9a14a;
    text-decoration: underline;
}

.ak-cc-text a:hover { color: #e0bd6a; }

.ak-cc-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 20px;
    justify-content: flex-end;
}

.ak-cc-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 11px 22px;
    font-size: 11px;
    letter-spacing: 3px;
    text-transform: uppercase;
    font-weight: 700;
    cursor: pointer;
    border: 1px solid transparent;
    background: transparent;
    color: #ececec;
    transition: background .2s ease, color .2s ease, border-color .2s ease;
    line-height: 1.2;
    border-radius: 0;
}

.ak-cc-btn-ghost {
    border-color: rgba(255, 255, 255, 0.25);
    color: #ececec;
}

.ak-cc-btn-ghost:hover {
    border-color: #c9a14a;
    color: #c9a14a;
}

.ak-cc-btn-primary {
    background: #c9a14a;
    color: #1a1a1a;
    border-color: #c9a14a;
}

.ak-cc-btn-primary:hover {
    background: #e0bd6a;
    border-color: #e0bd6a;
    color: #1a1a1a;
}

/* --- Preference list --- */

.ak-cc-cats {
    list-style: none;
    margin: 18px 0 0;
    padding: 0;
    display: grid;
    gap: 10px;
    max-height: 260px;
    overflow-y: auto;
}

.ak-cc-cats li {
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 12px 14px;
    background: rgba(255, 255, 255, 0.02);
}

.ak-cc-cat {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    margin: 0;
    cursor: pointer;
    color: #ececec;
}

.ak-cc-cat input[type="checkbox"] {
    margin-top: 4px;
    width: 16px;
    height: 16px;
    accent-color: #c9a14a;
    flex: 0 0 auto;
}

.ak-cc-cat-text strong {
    display: block;
    font-size: 11px;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: #fff;
    margin-bottom: 4px;
}

.ak-cc-cat-text em {
    display: block;
    font-style: normal;
    font-size: 12px;
    line-height: 1.6;
    color: #b0b0b0;
}

/* --- Mobile --- */

@media (max-width: 700px) {
    .ak-cookie-consent {
        left: 12px;
        right: 12px;
        bottom: 12px;
    }

    .ak-cc-inner { padding: 20px 18px; }

    .ak-cc-actions {
        justify-content: stretch;
        flex-direction: column;
    }

    .ak-cc-btn { width: 100%; }

    .legal-table-wrap {
        border: 0;
        overflow: visible;
    }

    .legal-table,
    .legal-table thead,
    .legal-table tbody,
    .legal-table tr,
    .legal-table th,
    .legal-table td {
        display: block;
        width: 100%;
    }

    .legal-table thead {
        border: 0;
        clip: rect(0 0 0 0);
        height: 1px;
        margin: -1px;
        overflow: hidden;
        padding: 0;
        position: absolute;
        width: 1px;
    }

    .legal-table tr {
        border: 1px solid #e6e6e6;
        margin-bottom: 14px;
    }

    .legal-table td {
        border-bottom: 1px solid #ececec;
        padding-left: 42%;
        position: relative;
    }

    .legal-table td::before {
        color: #1a1a1a;
        content: "";
        font-family: 'Montserrat', sans-serif;
        font-size: 10px;
        font-weight: 700;
        left: 12px;
        letter-spacing: 1px;
        line-height: 1.4;
        max-width: 34%;
        position: absolute;
        text-transform: uppercase;
        top: 14px;
    }

    .legal-table td:nth-child(1)::before { content: "Category"; }
    .legal-table td:nth-child(2)::before { content: "Purpose"; }
    .legal-table td:nth-child(3)::before { content: "Legal basis"; }
    .legal-table td:nth-child(4)::before { content: "Examples"; }
    .legal-table td:nth-child(5)::before { content: "Lifetime"; }
}

/* ============================================================
   Legal pages (Privacy / Cookies)
   ============================================================ */

.legal-article {
    color: #2a2a2a;
    font-family: 'Roboto Slab', serif;
    font-size: 15px;
    font-weight: 300;
    line-height: 1.8;
}

.legal-article h3 {
    font-family: 'Montserrat', sans-serif;
    margin-top: 38px;
    margin-bottom: 14px;
    font-size: 16px;
    letter-spacing: 4px;
    text-transform: uppercase;
    font-weight: 700;
    color: #1a1a1a;
}

.legal-article p,
.legal-article ul {
    margin-bottom: 18px;
}

.legal-article p,
.legal-article li,
.legal-table td {
    font-family: 'Roboto Slab', serif;
    font-size: 15px;
    font-weight: 300;
    line-height: 1.8;
}

.legal-article ul {
    padding-left: 22px;
}

.legal-article ul li {
    margin-bottom: 8px;
}

.legal-article a {
    color: #c9a14a;
    text-decoration: underline;
}

.legal-article a:hover { color: #1a1a1a; }

.legal-article .legal-meta {
    font-family: 'Montserrat', sans-serif;
    font-size: 12px;
    font-weight: 400;
    letter-spacing: 2px;
    line-height: 1.6;
    text-transform: uppercase;
    color: #888;
    margin-bottom: 26px;
}

.legal-article .legal-cta {
    font-family: 'Montserrat', sans-serif;
    margin-top: 36px;
    padding-top: 22px;
    border-top: 1px solid #e6e6e6;
    font-size: 13px;
    letter-spacing: 1px;
}

.legal-button {
    display: inline-block;
    font-family: 'Montserrat', sans-serif;
    padding: 12px 26px;
    border: 1px solid #c9a14a;
    color: #c9a14a !important;
    text-decoration: none !important;
    font-size: 11px;
    letter-spacing: 3px;
    text-transform: uppercase;
    font-weight: 700;
    transition: background .2s ease, color .2s ease;
}

.legal-button:hover {
    background: #c9a14a;
    color: #1a1a1a !important;
}

.legal-table-wrap {
    overflow-x: auto;
    margin-bottom: 22px;
    border: 1px solid #e6e6e6;
}

.legal-table {
    width: 100%;
    border-collapse: collapse;
    font-family: 'Roboto Slab', serif;
    font-size: 13px;
    line-height: 1.55;
}

.legal-table th,
.legal-table td {
    border-bottom: 1px solid #ececec;
    font-size: 13px;
    line-height: 1.55;
    padding: 12px 14px;
    text-align: left;
    vertical-align: top;
}

.legal-table th {
    background: #1a1a1a;
    color: #fff;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-size: 11px;
}

.legal-table tr:last-child td {
    border-bottom: 0;
}

.legal-table code {
    background: #f4f4f4;
    padding: 1px 6px;
    font-size: 12px;
    color: #1a1a1a;
}

body.legal-page .sub-banner .text-detail p {
    font-family: 'Roboto Slab', serif;
}

body.legal-page .sub-banner .text-detail ul,
body.legal-page .sub-banner .text-detail ul li a {
    font-family: 'Montserrat', sans-serif;
}
