/* =====================================================================
   ClearEdge Safety - content pages, cookie consent (Agent D)
   Loaded sitewide from themes/clearedge/functions/functions.php.
   Uses only Axetor tokens: --primary #FFC700, --accent #000, --text #525252.
   ===================================================================== */

/* --- Standard content pages (Impressum, privacy policy, terms, ...) ---- */
.ce-legal {
    max-width: 1170px;
    margin: 0 auto;
    padding: 70px 15px 90px;
}
.ce-legal .entry-content h3 { margin-top: 1.8em; }
.ce-legal .entry-content table { width: 100%; border-collapse: collapse; margin: 1.2em 0; }
.ce-legal .entry-content th,
.ce-legal .entry-content td { border: 1px solid var(--border, #DCDDE3); padding: 10px 14px; text-align: left; }
.ce-legal .entry-content ul,
.ce-legal .entry-content ol { margin: 0 0 1.4em 1.4em; }
.ce-legal .entry-content ul { list-style: disc; }
.ce-legal .entry-content ol { list-style: decimal; }

/* --- Cookie consent (GDPR opt-in banner) -------------------------------- */
.site-notice {
    font-family: var(--e-global-typography-text-font-family, "Plus Jakarta Sans", Arial, sans-serif);
    box-shadow: 0 -4px 24px rgba(0, 0, 0, .25);
    border-top: 3px solid var(--primary, #FFC700);
}
.site-notice .site-notice__message { font-size: 14px; line-height: 1.6; }
.site-notice .site-notice__message a { color: var(--primary, #FFC700) !important; text-decoration: underline; }
.site-notice .site-notice__actions button {
    font-family: var(--e-global-typography-accent-font-family, "Big Shoulders Text", Arial, sans-serif);
    font-weight: 800;
    font-size: 15px;
    letter-spacing: .5px;
    text-transform: uppercase;
    border-radius: 30px;
    padding: 10px 22px;
    cursor: pointer;
}
/* "Accept all" and "Reject" carry equal visual weight (no dark pattern). */
.site-notice .site-notice__agree,
.site-notice .site-notice__reject,
.site-notice .site-notice__save-button {
    background-color: var(--primary, #FFC700) !important;
    color: #000 !important;
    border: 1px solid var(--primary, #FFC700) !important;
}
.site-notice .site-notice__agree:hover,
.site-notice .site-notice__reject:hover,
.site-notice .site-notice__save-button:hover { background-color: var(--primary_hover, #E5B300) !important; border-color: var(--primary_hover, #E5B300) !important; }
.site-notice .site-notice__customize {
    background-color: transparent !important;
    color: #fff !important;
    border: 1px solid #fff !important;
}
.site-notice .site-notice__customize:hover { background-color: #fff !important; color: #000 !important; }

/* --- Bank transfer: upload payment receipt (checkout success + account order view) ---- */
.ce-payment-proof {
    margin: 24px 0;
    padding: 22px 24px;
    background: #FFFBEB;
    border: 1px solid var(--primary, #FFC700);
    border-radius: 4px;
}
.ce-payment-proof__title {
    font-family: var(--e-global-typography-accent-font-family, "Big Shoulders Text", Arial, sans-serif);
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .5px;
    font-size: 18px;
    margin: 0 0 10px;
}
.ce-payment-proof__intro,
.ce-payment-proof__uploaded,
.ce-payment-proof__help {
    color: var(--text, #525252);
    font-size: 14px;
    line-height: 1.6;
    margin: 0 0 12px;
}
.ce-payment-proof__uploaded a { color: var(--accent, #000); text-decoration: underline; }
.ce-payment-proof__label { display: block; font-size: 13px; font-weight: 700; margin-bottom: 6px; }
.ce-payment-proof__row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.ce-payment-proof__input {
    flex: 1 1 240px;
    padding: 9px 12px;
    border: 1px solid #DCDDE3;
    border-radius: 2px;
    background: #fff;
    font-size: 14px;
}
.ce-payment-proof__submit { flex: 0 0 auto; margin: 0; }
.ce-payment-proof__help { margin: 12px 0 0; font-size: 12.5px; }
@media (max-width: 576px) {
    .ce-payment-proof { padding: 18px; }
    .ce-payment-proof__row { flex-direction: column; align-items: stretch; }
    .ce-payment-proof__submit { width: 100%; }
}

/* --- Login and register are now separate pages, not one combined form -------- */
.col2-set#customer_login.ce-account-single { max-width: 480px; }
@media (min-width: 769px) {
    .col2-set#customer_login.ce-account-single .col-1 {
        width: 100%;
        float: none;
        padding-right: 0;
    }
}
.ce-account-switch {
    margin-top: 18px;
    padding-top: 18px;
    border-top: 1px solid var(--border, #DCDDE3);
    font-size: 14px;
    color: var(--text, #525252);
}
.ce-account-switch a { color: var(--accent, #000); font-weight: 700; text-decoration: underline; }
