
/* =========================================================
   ANAX CREATIVE INTELLIGENCE - PREMIUM HEADER
   ========================================================= */

:root {
    --aci-brown: #2b1a13;
    --aci-brown-2: #6f3f27;
    --aci-red: #bd171b;
    --aci-red-dark: #9f1014;
    --aci-pink: #fff0ed;
    --aci-pink-2: #ffe2dc;
    --aci-cream: #fffaf7;
    --aci-text: #251a16;
    --aci-muted: #766963;
    --aci-border: rgba(88, 55, 42, .13);
    --aci-shadow: 0 18px 50px rgba(48, 25, 17, .13);
}

/* Top strip */
.aci-header {
    position: sticky;
    top: 0;
    z-index: 9999;
    width: 100%;
}

.aci-topbar {
    height: 30px;
    background: #0f2d56;
    color: #fff;
    font-size: 16px;
    letter-spacing: .01em;
    font-weight: 300;
}

.aci-header-container {
    width: min(1120px, calc(100% - 40px));
    margin: 0 auto;
}

.aci-topbar-inner {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.aci-topbar-right {
    display: flex;
    align-items: center;
    gap: 9px;
}

.aci-topbar-right i {
    width: 3px;
    height: 3px;
    border-radius: 50%;
    background: rgba(255,255,255,.55);
}

/* Main navigation */
.aci-nav-wrap {
    height: 72px;
    background: rgba(255,255,255,.96);
    border-bottom: 1px solid rgba(72, 40, 29, .08);
    box-shadow: 0 7px 25px rgba(41, 25, 17, .045);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    transition: box-shadow .25s ease, background .25s ease;
}

.aci-header.scrolled .aci-nav-wrap {
    background: rgba(255,250,247,.98);
    box-shadow: 0 12px 35px rgba(41, 25, 17, .10);
}

.aci-nav {
    height: 100%;
    display: flex;
    align-items: center;
   
}

.aci-brand {
    width: 190px;
    height: 100%;
    display: flex;
    align-items: center;
    flex: 0 0 auto;
    text-decoration: none;
}

.aci-brand-logo {
    display: block;
    max-width: 75%;
  
    width: auto;
    height: auto;
    object-fit: contain;
}

.aci-desktop-nav {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 3px;
}

.aci-nav-link,
.aci-dropdown-toggle {
    min-height: 43px;
    padding: 0 13px;
    border: 0;
    border-radius: 10px;
    background: transparent;
    color: var(--aci-text);
    font: inherit;
    font-size: 16px;
    font-weight: 700;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    cursor: pointer;
    white-space: nowrap;
    transition: color .2s ease, background .2s ease, transform .2s ease;
}

.aci-nav-link:hover,
.aci-dropdown-toggle:hover,
.aci-nav-link.active,
.aci-dropdown-toggle.active {
    color: var(--aci-red);
    background: var(--aci-pink);
}

.aci-nav-link svg,
.aci-dropdown-toggle svg {
    width: 15px;
    height: 15px;
    transition: transform .2s ease;
}

.aci-nav-dropdown {
    position: relative;
}

.aci-nav-dropdown.open .aci-dropdown-toggle svg {
    transform: rotate(180deg);
}

.aci-nav-cap {
    font-size: 12px;
    line-height: 1;
}

/* CTA */
.aci-header-cta {
    flex: 0 0 auto;
    min-height: 43px;
    padding: 0 17px;
    border-radius: 11px;
    background: linear-gradient(135deg, var(--espresso), var(--red));
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    box-shadow: 0 10px 22px rgba(189, 23, 27, .20);
    transition: transform .2s ease, box-shadow .2s ease;
}

.aci-header-cta:hover {
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 13px 27px rgba(189, 23, 27, .27);
}

.aci-cta-arrow {
    font-size: 17px;
    line-height: 1;
}

/* Desktop dropdown */
.aci-courses-dropdown {
    position: absolute;
    top: calc(100% + 11px);
    left: 0%;
    width: 560px;
    padding: 21px;
    border: 1px solid var(--aci-border);
    border-radius: 18px;
    background: rgba(255,255,255,.98);
    box-shadow: var(--aci-shadow);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translate(-50%, -8px);
    transition: opacity .2s ease, visibility .2s ease, transform .2s ease;
}

.aci-courses-dropdown::before {
    content: "";
    position: absolute;
    top: -7px;
    left: 50%;
    width: 14px;
    height: 14px;
    background: #fff;
    border-left: 1px solid var(--aci-border);
    border-top: 1px solid var(--aci-border);
    transform: translateX(-50%) rotate(45deg);
}

.aci-nav-dropdown:hover .aci-courses-dropdown,
.aci-nav-dropdown.open .aci-courses-dropdown {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translate(-50%, 0);
}

.aci-dropdown-heading {
    padding: 2px 4px 15px;
    border-bottom: 1px solid var(--aci-border);
}

.aci-dropdown-kicker {
    display: block;
    margin-bottom: 7px;
    color: var(--aci-red);
    font-size: 9px;
    font-weight: 800;
    letter-spacing: .16em;
}

.aci-dropdown-heading strong {
    display: block;
    color: var(--aci-text);
    font-size: 17px;
    font-weight: 750;
}

.aci-course-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 5px;
    padding-top: 10px;
}

.aci-course-item {
    min-width: 0;
    padding: 11px 8px;
    border-radius: 13px;
    display: flex;
    align-items: flex-start;
    gap: 11px;
    color: var(--aci-text);
    text-decoration: none;
    transition: background .2s ease, transform .2s ease;
}

.aci-course-item:hover {
    background: var(--aci-pink);
    transform: translateY(-1px);
}

.aci-course-icon {
    width: 36px;
    height: 36px;
    flex: 0 0 36px;
    display: grid;
    place-items: center;
    border-radius: 10px;
    background: #fff0eb;
    border: 1px solid rgba(189, 23, 27, .07);
}

.aci-course-icon img {
    width: 21px;
    height: 21px;
    display: block;
}

.aci-course-item strong {
    display: block;
    margin-top: 1px;
    font-size: 14px;
    line-height: 1.35;
}

.aci-course-item small {
    display: block;
    margin-top: 4px;
    color: var(--aci-muted);
    font-size: 9.5px;
    line-height: 1.4;
}

/* Mobile controls */
.aci-menu-button {
    display: none;
    width: 44px;
    height: 44px;
    border: 1px solid var(--aci-border);
    border-radius: 12px;
    background: #fff;
    padding: 10px;
    cursor: pointer;
}

.aci-menu-button span {
    display: block;
    width: 100%;
    height: 2px;
    margin: 5px 0;
    border-radius: 4px;
    background: var(--aci-brown);
    transition: transform .2s ease, opacity .2s ease;
}

/* Mobile overlay */
.aci-mobile-overlay {
    position: fixed;
    inset: 0;
    z-index: 10000;
    background: rgba(27, 16, 12, .48);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity .25s ease, visibility .25s ease;
}

.aci-mobile-overlay.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

/* Mobile drawer */
.aci-mobile-drawer {
    position: fixed;
    top: 0;
    right: 0;
    z-index: 10001;
    width: min(390px, 88vw);
    height: 100dvh;
    background: #fffaf7;
    border-left: 1px solid rgba(80, 45, 32, .10);
    box-shadow: -20px 0 55px rgba(40, 22, 15, .16);
    transform: translateX(105%);
    visibility: hidden;
    transition: transform .3s cubic-bezier(.22,.8,.25,1), visibility .3s ease;
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior: contain;
}

.aci-mobile-drawer.active {
    transform: translateX(0);
    visibility: visible;
}

.aci-mobile-head {
    min-height: 84px;
    padding: 15px 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    background: #fff;
    border-bottom: 1px solid var(--aci-border);
}

.aci-mobile-brand {
    max-width: calc(100% - 58px);
    display: flex;
    align-items: center;
}

.aci-mobile-logo {
    display: block;
    max-width: 170px;
    max-height: 44px;
    width: auto;
    height: auto;
    object-fit: contain;
}

.aci-mobile-close {
    width: 42px;
    height: 42px;
    flex: 0 0 42px;
    border: 1px solid rgba(189,23,27,.15);
    border-radius: 12px;
    background: #fff;
    color: var(--aci-brown);
    display: grid;
    place-items: center;
    cursor: pointer;
}

.aci-mobile-close svg {
    width: 21px;
    height: 21px;
}

.aci-mobile-nav {
    padding: 16px;
}

.aci-mobile-link {
    width: 100%;
    min-height:60px;
    padding: 0 15px;
    margin-bottom: 5px;
    border-radius: 0;
    color: var(--aci-text);
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 16px;
    font-weight: 500;
    text-decoration: none;
    transition: background .2s ease, color .2s ease;
    border-bottom:1px solid #dedada;
}

.aci-mobile-link:hover,
.aci-mobile-link.active {
    background: var(--aci-pink);
    color: var(--aci-red);
}

.aci-mobile-link-icon {
    font-size: 14px;
}

.aci-mobile-course-toggle {
    justify-content: space-between;
    border: 0;
    font: inherit;
    cursor: pointer;
    background: transparent;
    font-size: 16px;
    font-weight: 500;
    border-bottom:1px solid #dedada;
}

.aci-mobile-course-toggle svg {
    width: 18px;
    height: 18px;
    transition: transform .2s ease;
}

.aci-mobile-course-toggle.open svg {
    transform: rotate(180deg);
}

.aci-mobile-course-list {
    display: grid;
    grid-template-rows: 0fr;
    opacity: 0;
    transition: grid-template-rows .25s ease, opacity .2s ease;
}

.aci-mobile-course-list::before {
    content: "";
    min-height: 0;
}

.aci-mobile-course-list.open {
    grid-template-rows: 1fr;
    opacity: 1;
    padding: 2px 0 7px;
}

.aci-mobile-course-list > * {
    min-height: 0;
}

.aci-mobile-course-list a {
    min-height: 39px;
    margin: 2px 0 2px 13px;
    padding: 0 12px;
    border-radius: 11px;
    display: flex;
    align-items: center;
    gap: 11px;
    color: #4a3a33;
    font-size: 13px;
    text-decoration: none;
    overflow: hidden;
}

.aci-mobile-course-list a:hover {
    background: #fff0eb;
    color: var(--aci-red);
}

.aci-mobile-course-list img {
    width: 22px;
    height: 22px;
    flex: 0 0 22px;
}

.aci-mobile-cta {
    min-height: 52px;
    margin-top: 13px;
    padding: 0 17px;
    border-radius: 13px;
    background: linear-gradient(135deg, var(--espresso), var(--red));
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    box-shadow: 0 12px 24px rgba(189, 23, 27, .20);
}

/* Lock background while drawer is open */
body.aci-menu-open {
    overflow: hidden;
}

/* Tablet */
@media (max-width: 1100px) {
    .aci-header-container {
        width: min(100% - 30px, 1000px);
    }

    .aci-nav {
        gap: 12px;
    }

    .aci-brand {
        width: 155px;
    }

    .aci-nav-link,
    .aci-dropdown-toggle {
        padding: 0 9px;
        font-size: 12px;
    }

    .aci-header-cta {
        padding: 0 13px;
        font-size: 12px;
    }
}

/* Mobile */
@media (max-width: 900px) {
    .aci-topbar {
        display: none;
    }

    .aci-nav-wrap {
        height: 70px;
    }

    .aci-header-container {
        width: calc(100% - 28px);
    }

    .aci-brand {
        width: auto;
        max-width: calc(100% - 60px);
    }

    .aci-brand-logo {
        max-height: 45px;
        max-width: 175px;
    }

    .aci-desktop-nav,
    .aci-header-cta {
        display: none;
    }

    .aci-nav {
        justify-content: space-between;
    }

    .aci-menu-button {
        display: block;
    }
}

@media (max-width: 480px) {
    .aci-nav-wrap {
        height: 67px;
    }

    .aci-header-container {
        width: calc(100% - 22px);
    }

    .aci-brand-logo {
        max-height: 59px;
        max-width: 155px;
    }

    .aci-menu-button {
        width: 42px;
        height: 42px;
    }

    .aci-mobile-drawer {
        width: 88vw;
    }

    .aci-mobile-head {
        min-height: 78px;
        padding: 13px 14px;
    }

    .aci-mobile-logo {
        max-width: 155px;
        max-height: 59px;
    }

    .aci-mobile-nav {
        padding: 13px;
    }
}

@media (max-width: 360px) {
    .aci-mobile-drawer {
        width: 91vw;
    }

    .aci-mobile-link {
        min-height: 49px;
    }
}
@media (max-width: 900px) {

    .aci-mobile-course-list {
        display: block !important;
        height: 0 !important;
        max-height: 0 !important;
        margin: 0 !important;
        padding: 0 !important;
        overflow: hidden !important;
        opacity: 0 !important;
        visibility: hidden !important;
    }

    .aci-mobile-course-list.open {
        height: auto !important;
        max-height: 340px !important;
        padding: 2px 0 6px !important;
        opacity: 1 !important;
        visibility: visible !important;
    }

}


/* Explore Our Courses clickable link */
.aci-explore-courses-link {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: inherit;
    text-decoration: none;
    cursor: pointer;
}
.aci-explore-courses-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    color: var(--aci-text);
    text-decoration: none;
    cursor: pointer;
}

.aci-explore-courses-link strong {
    font-size: 17px;
    font-weight: 750;
}

.aci-explore-courses-link:hover {
    color: var(--aci-red);
}

.aci-explore-courses-link span {
    transition: transform 0.2s ease;
}

.aci-explore-courses-link:hover span {
    transform: translateX(4px);
}

.aci-topbar-location,
.aci-topbar-right span {
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.aci-topbar-location svg,
.aci-topbar-right span svg {
    width: 12px;
    height: 12px;
    flex-shrink: 0;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.aci-topbar-right {
    display: flex;
    align-items: center;
    gap: 10px;
}

.aci-topbar-right i {
    width: 3px;
    height: 3px;
    border-radius: 50%;
    background: currentColor;
    opacity: 0.7;
}
/* ============================
   ACI FOOTER — screenshot-inspired
============================ */
.aci-site-footer {
    font-family: inherit;
    color: #fff;
}

.aci-footer-container {
    width: min(1120px, calc(100% - 40px));
    margin: 0 auto;
}

.aci-footer-brandbar {
    background: #d9d9d9;
    color: #23651c;
    padding: 18px 0;
}

.aci-footer-brandbar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
}

.aci-footer-logo {
    display: inline-flex;
    align-items: center;
    max-width: 310px;
}

.aci-footer-logo img {
    display: block;
    width: 100%;
    max-width: 300px;
    max-height: 64px;
    object-fit: contain;
}

.aci-footer-social-wrap {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 10px;
    color: #286a20;
    font-size: 14px;
}

.aci-footer-socials {
    display: flex;
    align-items: center;
    gap: 18px;
}

.aci-footer-socials a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: #286a20;
    color: #fff;
    text-decoration: none;
    font-size: 16px;
    font-weight: 700;
    transition: transform .2s ease, background .2s ease;
}

.aci-footer-socials a:hover {
    background: #bd1919;
    transform: translateY(-3px);
}

.aci-footer-main {
    background: #0f2d56;
    padding: 48px 0 38px;
}

.aci-footer-columns {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1.08fr;
    gap: 34px;
}

.aci-footer-column {
    min-width: 0;
    display: flex;
    flex-direction: column;
    align-items: stretch;
}

.aci-footer-column h3 {
    color: #fff;
    font-size: 15px;
    line-height: 1.4;
    font-weight: 500;
    margin: 0 0 20px;
    text-transform: uppercase;
}

.aci-footer-column h4 {
    color: #fff;
    font-size: 14px;
    margin: 0 0 8px;
    font-weight: 700;
}

.aci-footer-column > a {
    color: #fff;
    text-decoration: none;
    font-size: 13px;
    line-height: 1.45;
    padding: 7px 0;
    border-bottom: 1px solid rgba(255,255,255,.65);
    transition: color .2s ease, padding-left .2s ease;
    overflow-wrap: anywhere;
}

.aci-footer-column > a:hover {
    color: #ffe08a;
    padding-left: 4px;
}

.aci-footer-column p {
    color: #fff;
    font-size: 13px;
    line-height: 1.6;
    margin: 0 0 10px;
}

.aci-footer-column .aci-footer-address {
    display: flex;
    gap: 8px;
    align-items: flex-start;
}

.aci-footer-contact-icon {
    display: inline-block;
    min-width: 16px;
    font-size: 16px;
    font-weight: 700;
}

.aci-footer-office > a {
    border-bottom: 0;
    padding: 5px 0;
}

.aci-footer-hours-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 12px;
    padding: 8px 0;
    border-bottom: 1px dashed rgba(255,255,255,.6);
    color: #fff;
    font-size: 12px;
    line-height: 1.45;
}

.aci-footer-hours-row span:last-child {
    text-align: right;
}

.aci-footer-bottom {
    background: #4d4d4d;
    border-top: 1px solid rgba(255,255,255,.15);
    padding: 16px 0;
}

.aci-footer-bottom-inner {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    color: #eee;
    font-size: 12px;
}

/* Tablet */
@media (max-width: 900px) {
    .aci-footer-columns {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 34px 28px;
    }

    .aci-footer-main {
        padding: 38px 0;
    }
}

/* Mobile */
@media (max-width: 560px) {
    .aci-footer-container {
        width: min(100% - 32px, 1120px);
    }

    .aci-footer-brandbar-inner {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }

    .aci-footer-logo {
        max-width: 245px;
    }

    .aci-footer-social-wrap {
        align-items: flex-start;
    }

    .aci-footer-socials {
        gap: 12px;
        flex-wrap: wrap;
    }

    .aci-footer-socials a {
        width: 34px;
        height: 34px;
    }

    .aci-footer-columns {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .aci-footer-column h3 {
        margin-bottom: 12px;
    }

    .aci-footer-bottom-inner {
        flex-direction: column;
        gap: 8px;
        line-height: 1.5;
    }
}

/* Mobile Fixed Call & Enquiry Bar */
.mobile-action-bar {
    display: none;
}

@media (max-width: 767px) {
    .mobile-action-bar {
        position: fixed;
        bottom: 0;
        left: 0;
        width: 100%;
        display: flex;
        z-index: 9998;
        background: #fff;
        box-shadow: 0 -4px 18px rgba(0, 0, 0, 0.14);
        padding: 10px 12px;
        gap: 10px;
        box-sizing: border-box;
    }

    .mobile-action-bar a,
    .mobile-action-bar button {
        flex: 1;
        min-height: 48px;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
        border: 0;
        border-radius: 8px;
        font-size: 15px;
        font-weight: 700;
        text-decoration: none;
        cursor: pointer;
        box-sizing: border-box;
    }

    .mobile-call-btn {
        background: #174f9e;
        color: #fff;
    }

    .mobile-enquiry-btn {
        background: linear-gradient(135deg, var(--espresso), var(--red));
        color: #fff;
    }

    .mobile-action-icon {
        font-size: 20px;
        line-height: 1;
    }

    body {
        padding-bottom: 70px;
    }

    .mobile-enquiry-modal {
        display: none;
        position: fixed;
        inset: 0;
        z-index: 10000;
        background: rgba(0, 0, 0, 0.65);
        align-items: center;
        justify-content: center;
        padding: 18px;
        box-sizing: border-box;
    }

    .mobile-enquiry-modal.is-open {
        display: flex;
    }

    .mobile-enquiry-box {
        position: relative;
        width: 100%;
        max-width: 420px;
        max-height: 85vh;
        overflow-y: auto;
        padding: 26px 20px;
        background: #fff;
        border-radius: 14px;
        box-sizing: border-box;
    }

    .mobile-enquiry-box h3 {
        margin: 0 0 8px;
        color: #174f9e;
        font-size: 24px;
    }

    .mobile-enquiry-box p {
        color: #666;
        font-size: 14px;
        line-height: 1.5;
    }

    .mobile-enquiry-close {
        position: absolute;
        top: 8px;
        right: 12px;
        background: none;
        border: 0;
        font-size: 30px;
        cursor: pointer;
        color: #333;
    }

    .mobile-enquiry-box input,
    .mobile-enquiry-box textarea {
        width: 100%;
        margin: 7px 0;
        padding: 12px;
        border: 1px solid #ddd;
        border-radius: 7px;
        font: inherit;
        box-sizing: border-box;
    }

    .mobile-enquiry-box form button[type="submit"] {
        width: 100%;
        padding: 13px;
        margin-top: 8px;
        border: 0;
        border-radius: 7px;
        background: linear-gradient(135deg, var(--espresso), var(--red));
        color: #fff;
        font-weight: 700;
        cursor: pointer;
    }
}

/* Mobile Header: Menu Left, Logo Right */
@media (max-width: 600px) {

    .aci-header-container.aci-nav {
        display: flex !important;
        align-items: center !important;
        justify-content: flex-start !important;
        gap: 12px;
    }

    /* Hamburger menu - Left side */
    .aci-header-container.aci-nav .aci-menu-button {
        order: 1 !important;
        position: static !important;
        margin: 0 !important;
        flex-shrink: 0;
    }

    /* ACI Logo - Right of menu */
    .aci-header-container.aci-nav .aci-brand {
        order: 2 !important;
        margin: 0 !important;
        flex-shrink: 0;
    }
}

/* Mobile Navigation Drawer - Open from Left */
@media (max-width: 600px) {

    .aci-mobile-drawer {
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        right: auto !important;

        width: 85% !important;
        max-width: 320px !important;
        height: 100vh !important;

        transform: translateX(-100%);
        transition: transform 0.3s ease-in-out;
        z-index: 99999 !important;
    }

    .aci-mobile-drawer.active,
    .aci-mobile-drawer.open,
    .aci-mobile-drawer.is-open {
        transform: translateX(0);
    }
}


/* Cart integration */
.aci-cart-link{position:relative;display:inline-flex;align-items:center;gap:7px;margin-left:12px;padding:10px 13px;border:1px solid rgba(134,70,9,.22);border-radius:12px;color:#36200c;text-decoration:none;font-size:14px;font-weight:700;white-space:nowrap;transition:background .2s ease,transform .2s ease}
.aci-cart-link:hover{background:#fff4e8;transform:translateY(-1px);color:#9b000f}
.aci-cart-link svg{width:21px;height:21px;flex:none}
.aci-cart-count{display:inline-flex;align-items:center;justify-content:center;min-width:21px;height:21px;padding:0 5px;border-radius:999px;background:#a50010;color:#fff;font-size:12px;font-weight:800;line-height:1}
.aci-mobile-cart-link{display:flex;align-items:center;justify-content:center;gap:8px;margin:12px 18px;padding:12px 14px;border:1px solid #ead8c7;border-radius:10px;text-decoration:none;color:#36200c;font-weight:700}
@media(max-width:992px){.aci-cart-link{margin-left:auto;margin-right:10px;padding:8px 10px}.aci-cart-link>span:not(.aci-cart-count){display:none}.aci-cart-link svg{width:23px;height:23px}}
@media(max-width:480px){.aci-cart-link{padding:7px 8px;margin-right:8px}.aci-cart-count{min-width:19px;height:19px;font-size:11px}}

/* Course page mobile header: keep the cart visible at the far right */
@media (max-width: 767px) {
  .aci-header-container.aci-nav { display:flex !important; gap:8px !important; }
  .aci-header-container.aci-nav .aci-menu-button { order:1 !important; }
  .aci-header-container.aci-nav .aci-brand { order:2 !important; margin-right:auto !important; }
  .aci-header-container.aci-nav .aci-cart-link { order:3 !important; display:inline-flex !important; margin-left:auto !important; margin-right:0 !important; flex:0 0 auto !important; }
  .aci-header-container.aci-nav .aci-cart-link > span:not(.aci-cart-count) { display:none !important; }
  .aci-header-container.aci-nav .aci-header-cta { order:4 !important; }
}
