/* ABAMBUZ policy centre and checkout agreements — v2.9.2 */

.abz-policy-page,
.abz-policy-page * {
    box-sizing: border-box;
}

.abz-policy-page {
    width: min(1500px, calc(100% - 40px));
    margin: 0 auto;
    padding: 42px 0 90px;
    color: #f6f8f1;
}

.abz-policy-hero {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(230px, 330px);
    gap: 28px;
    align-items: end;
    min-height: 350px;
    padding: clamp(34px, 6vw, 76px);
    overflow: hidden;
    border: 1px solid rgba(183, 255, 0, 0.24);
    border-radius: 28px;
    background:
        radial-gradient(circle at 82% 22%, rgba(183, 255, 0, 0.18), transparent 24%),
        linear-gradient(130deg, rgba(183, 255, 0, 0.10), transparent 46%),
        #070909;
    box-shadow: 0 34px 90px rgba(0, 0, 0, 0.42);
}

.abz-policy-hero::before,
.abz-policy-hero::after {
    content: "";
    position: absolute;
    pointer-events: none;
}

.abz-policy-hero::before {
    inset: 0;
    opacity: 0.22;
    background-image:
        linear-gradient(rgba(183, 255, 0, 0.12) 1px, transparent 1px),
        linear-gradient(90deg, rgba(183, 255, 0, 0.12) 1px, transparent 1px);
    background-size: 76px 76px;
    mask-image: linear-gradient(90deg, transparent, #000 42%, #000);
}

.abz-policy-hero::after {
    width: 390px;
    height: 390px;
    top: -210px;
    right: -110px;
    border: 1px solid rgba(183, 255, 0, 0.34);
    border-radius: 50%;
    box-shadow:
        0 0 0 44px rgba(183, 255, 0, 0.035),
        0 0 0 88px rgba(183, 255, 0, 0.018);
}

.abz-policy-hero > * {
    position: relative;
    z-index: 1;
}

.abz-policy-eyebrow {
    margin: 0 0 18px;
    color: #b7ff00;
    font-size: 13px;
    font-weight: 900;
    letter-spacing: 0.16em;
}

.abz-policy-hero h1 {
    max-width: 920px;
    margin: 0;
    color: #fff;
    font-size: clamp(42px, 6vw, 86px);
    line-height: 0.96;
    letter-spacing: -0.055em;
}

.abz-policy-hero > div > p:last-child {
    max-width: 820px;
    margin: 24px 0 0;
    color: #c4c9c1;
    font-size: clamp(17px, 2vw, 22px);
    line-height: 1.65;
}

.abz-policy-hero aside {
    display: grid;
    gap: 9px;
    padding: 24px;
    border: 1px solid rgba(183, 255, 0, 0.25);
    border-radius: 20px;
    background: rgba(4, 6, 6, 0.76);
    backdrop-filter: blur(12px);
}

.abz-policy-hero aside span {
    color: #9ba197;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.14em;
}

.abz-policy-hero aside strong {
    color: #b7ff00;
    font-size: 25px;
}

.abz-policy-hero aside small {
    color: #c7cbc4;
    line-height: 1.55;
}

.abz-policy-layout {
    display: grid;
    grid-template-columns: minmax(250px, 320px) minmax(0, 1fr);
    gap: 28px;
    align-items: start;
    margin-top: 32px;
}

.abz-policy-navigation {
    position: sticky;
    top: 120px;
    padding: 22px;
    border: 1px solid rgba(183, 255, 0, 0.18);
    border-radius: 22px;
    background: linear-gradient(180deg, #101313, #080909);
}

.abz-policy-navigation > div {
    display: grid;
    gap: 4px;
    margin-bottom: 18px;
    padding-bottom: 18px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.abz-policy-navigation > div span {
    color: #b7ff00;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 0.16em;
}

.abz-policy-navigation > div strong {
    color: #fff;
    font-size: 22px;
}

.abz-policy-navigation nav {
    display: grid;
    gap: 7px;
}

.abz-policy-navigation nav a {
    display: block;
    padding: 13px 14px;
    color: #bec4ba;
    border: 1px solid transparent;
    border-radius: 12px;
    text-decoration: none;
    transition: 180ms ease;
}

.abz-policy-navigation nav a:hover,
.abz-policy-navigation nav a[aria-current="page"] {
    color: #050505;
    border-color: #b7ff00;
    background: #b7ff00;
}

.abz-policy-support {
    display: block;
    margin-top: 18px;
    padding: 16px;
    color: #d4d8d0;
    border: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: 14px;
    background: #070808;
    text-decoration: none;
    line-height: 1.5;
}

.abz-policy-support strong {
    color: #b7ff00;
}

.abz-policy-document {
    min-width: 0;
    padding: clamp(28px, 5vw, 66px);
    border: 1px solid rgba(183, 255, 0, 0.15);
    border-radius: 24px;
    background:
        linear-gradient(145deg, rgba(183, 255, 0, 0.035), transparent 28%),
        #0b0d0d;
    box-shadow: 0 28px 80px rgba(0, 0, 0, 0.30);
}

.abz-policy-content {
    color: #d2d6ce;
    font-size: 17px;
    line-height: 1.8;
}

.abz-policy-content > *:first-child {
    margin-top: 0;
}

.abz-policy-content h2 {
    margin: 52px 0 16px;
    padding-top: 16px;
    color: #fff;
    font-size: clamp(25px, 3vw, 36px);
    line-height: 1.15;
    letter-spacing: -0.035em;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.abz-policy-content h3 {
    margin: 30px 0 12px;
    color: #b7ff00;
    font-size: 21px;
}

.abz-policy-content p {
    margin: 0 0 18px;
}

.abz-policy-content a {
    color: #b7ff00;
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
}

.abz-policy-content strong {
    color: #fff;
}

.abz-policy-content ul,
.abz-policy-content ol {
    margin: 0 0 24px;
    padding-left: 24px;
}

.abz-policy-content li {
    margin: 9px 0;
}

.abz-policy-intro,
.abz-policy-notice {
    padding: 24px;
    border: 1px solid rgba(183, 255, 0, 0.22);
    border-radius: 18px;
    background: rgba(183, 255, 0, 0.065);
}

.abz-policy-intro p:last-child,
.abz-policy-notice p:last-child {
    margin-bottom: 0;
}

.abz-policy-notice {
    margin: 22px 0;
    border-left: 4px solid #b7ff00;
}

.abz-policy-content table {
    width: 100%;
    margin: 24px 0 32px;
    overflow: hidden;
    border-collapse: collapse;
    border: 1px solid rgba(183, 255, 0, 0.20);
    border-radius: 14px;
}

.abz-policy-content th,
.abz-policy-content td {
    padding: 14px 16px;
    text-align: left;
    border-bottom: 1px solid rgba(255, 255, 255, 0.09);
}

.abz-policy-content th {
    color: #050505;
    background: #b7ff00;
    font-size: 13px;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.abz-policy-content tr:last-child td {
    border-bottom: 0;
}

.abz-policy-document__footer {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    align-items: center;
    margin-top: 48px;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.10);
    color: #929990;
    font-size: 14px;
}

.abz-policy-document__footer p {
    margin: 0;
}

.abz-policy-document__footer a {
    flex: 0 0 auto;
    color: #b7ff00;
}

.abz-checkout-policy-panel {
    margin: 22px 0 24px;
    padding: 18px 20px;
    color: #d5dad1;
    border: 1px solid rgba(183, 255, 0, 0.34);
    border-left: 4px solid #b7ff00;
    border-radius: 14px;
    background: rgba(183, 255, 0, 0.065);
    font-size: 14px;
    line-height: 1.7;
}

.abz-checkout-policy-panel strong {
    color: #fff;
}

.abz-checkout-policy-panel a {
    color: #b7ff00 !important;
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.abz-footer-policy-links {
    display: flex;
    grid-column: 1 / -1;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px 18px;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.07);
}

.abz-footer-policy-links a {
    color: #9ca39a;
    font-size: 13px;
    text-decoration: none;
}

.abz-footer-policy-links a:hover {
    color: #b7ff00;
}

@media (max-width: 980px) {
    .abz-policy-hero,
    .abz-policy-layout {
        grid-template-columns: 1fr;
    }

    .abz-policy-navigation {
        position: static;
    }

    .abz-policy-navigation nav {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .abz-policy-page {
        width: min(100% - 20px, 1500px);
        padding-top: 18px;
    }

    .abz-policy-hero,
    .abz-policy-document {
        padding: 24px 20px;
        border-radius: 18px;
    }

    .abz-policy-hero h1 {
        font-size: 42px;
    }

    .abz-policy-navigation nav {
        grid-template-columns: 1fr;
    }

    .abz-policy-content {
        font-size: 16px;
    }

    .abz-policy-content table {
        display: block;
        overflow-x: auto;
        white-space: nowrap;
    }

    .abz-policy-document__footer {
        align-items: flex-start;
        flex-direction: column;
    }
}

/* ========================================================================
 * ABAMBUZ Footer Alignment Refinement v2.9.3
 * Assigns every footer section a stable grid area so the legal copy remains
 * aligned on the right and the policy links form a deliberate lower row.
 * ===================================================================== */

.abz-site-footer__inner {
    grid-template-columns:
        minmax(280px, 1.05fr)
        minmax(420px, 1.35fr)
        minmax(280px, 0.90fr);
    grid-template-areas:
        "brand links legal"
        "policies policies policies";
    align-items: center;
    column-gap: 42px;
    row-gap: 26px;
    padding-top: 44px;
    padding-bottom: 34px;
}

.abz-site-footer__brand {
    grid-area: brand;
    min-width: 0;
}

.abz-site-footer__links {
    grid-area: links;
    min-width: 0;
}

.abz-site-footer__legal {
    grid-area: legal;
    min-width: 0;
    align-self: center;
}

.abz-footer-policy-links {
    grid-area: policies;
    grid-column: auto;
    width: 100%;
    margin: 0;
    padding-top: 22px;
}

@media (max-width: 1100px) {
    .abz-site-footer__inner {
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
        grid-template-areas:
            "brand legal"
            "links links"
            "policies policies";
        column-gap: 32px;
        row-gap: 24px;
    }

    .abz-site-footer__links {
        padding-top: 4px;
    }
}

@media (max-width: 760px) {
    .abz-site-footer__inner {
        grid-template-columns: minmax(0, 1fr);
        grid-template-areas:
            "brand"
            "links"
            "policies"
            "legal";
        gap: 22px;
        text-align: center;
    }

    .abz-site-footer__brand p,
    .abz-site-footer__legal span {
        margin-right: auto;
        margin-left: auto;
    }

    .abz-site-footer__links,
    .abz-footer-policy-links {
        justify-content: center;
    }

    .abz-site-footer__legal {
        text-align: center;
    }
}

/* ========================================================================
 * ABAMBUZ Footer Policy Single-Line Refinement v2.9.5
 * Keeps all legal links on one straight line on every viewport. Smaller
 * screens may scroll the row horizontally instead of wrapping the links.
 * ===================================================================== */

.abz-footer-policy-links {
    display: flex;
    flex-wrap: nowrap !important;
    justify-content: center;
    align-items: center;
    gap: 0;
    width: 100%;
    max-width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    white-space: nowrap;
    scrollbar-width: thin;
    scrollbar-color: rgba(183, 255, 0, 0.45) transparent;
}

.abz-footer-policy-links::-webkit-scrollbar {
    height: 4px;
}

.abz-footer-policy-links::-webkit-scrollbar-thumb {
    border-radius: 999px;
    background: rgba(183, 255, 0, 0.45);
}

.abz-footer-policy-links a {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    padding: 0 15px;
    line-height: 1.3;
}

.abz-footer-policy-links a + a {
    border-left: 1px solid rgba(255, 255, 255, 0.12);
}

@media (max-width: 760px) {
    .abz-footer-policy-links {
        justify-content: flex-start;
        padding-right: 6px;
        padding-left: 6px;
    }

    .abz-footer-policy-links a {
        padding-right: 12px;
        padding-left: 12px;
        font-size: 12px;
    }
}

/* Force the legal row to span the full footer grid even when another legacy
   footer rule is cached or loaded by a commerce template. */
.abz-site-footer .abz-footer-policy-links {
    grid-area: policies !important;
    grid-column: 1 / -1 !important;
    justify-self: stretch;
    min-width: 0;
}
