/* Cart keeps its product flow and does not need the injected top navigation. */
#page-topbar {
    display: none !important;
    visibility: hidden !important;
    height: 0 !important;
    min-height: 0 !important;
    overflow: hidden !important;
}

/* The cart theme also renders a second store/user-center heading. */
.aurora-cart-topbar {
    display: none !important;
    visibility: hidden !important;
    height: 0 !important;
    min-height: 0 !important;
    overflow: hidden !important;
}

/* Remove the automatically injected user-center sidebar from cart pages. */
html body.ae-clientarea .vertical-menu,
html body.ae-clientarea #page-topbar {
    display: none !important;
}

html body.ae-clientarea .main-content {
    margin-left: 0 !important;
    padding-left: 0 !important;
    width: 100% !important;
}

html body.ae-clientarea:has(.aurora-cart-page) .vertical-menu,
html body.ae-clientarea:has(.aurora-cart-page) #page-topbar,
html body.ae-clientarea:has(.aurora-cart-page) .main-content > .header,
html body.ae-clientarea:has(.aurora-cart-page) .main-content > .navbar {
    display: none !important;
}

html body.ae-clientarea:has(.aurora-cart-page) .main-content {
    margin-left: 0 !important;
    padding-top: 0 !important;
}

/* Cart must not display the infra-console website/user-center shell. */
body.ae-clientarea #page-topbar,
body.ae-clientarea .vertical-menu,
body.ae-clientarea #vertical-menu-btn,
body.ae-clientarea .sidebar-overlay {
    display: none !important;
}

body.ae-clientarea .main-content,
body.ae-clientarea .page-content {
    margin-left: 0 !important;
    padding-left: 0 !important;
    padding-top: 0 !important;
    width: 100% !important;
}


/* Product purchase notices: centered on desktop and readable on mobile. */
.aurora-product-tip {
    width: 100%;
    margin: 18px 0 0;
    text-align: center !important;
}
.aurora-service-notices {
    max-width: 920px;
    margin: 24px auto 4px;
    padding: 18px 22px;
    color: #52627d;
    background: #f7faff;
    border: 1px solid #e5ecf8;
    border-radius: 12px;
    line-height: 1.75;
    text-align: left;
}
.aurora-service-notices p { margin: 0; }
.aurora-service-notice-link {
    padding-bottom: 13px;
    margin-bottom: 13px !important;
    color: #1c3768;
    border-bottom: 1px solid #e5ecf8;
    text-align: center;
}
.aurora-service-notice-link strong { margin-right: 10px; }
.aurora-service-notices a { color: #2f6bff; text-decoration: none; }
.aurora-service-notices a:hover { text-decoration: underline; }
.aurora-service-notice { padding: 9px 0; }
.aurora-service-notice h3 {
    margin: 0 0 3px;
    color: #203866;
    font-size: 14px;
    font-weight: 700;
}
.aurora-service-notice-warning {
    margin-top: 8px;
    padding-top: 14px;
    color: #6c5870;
    border-top: 1px solid #e5ecf8;
}
.aurora-service-notice-warning p + p { margin-top: 7px; }
@media (max-width: 640px) {
    .aurora-service-notices { margin-top: 18px; padding: 15px; font-size: 12px; }
    .aurora-service-notice-link { text-align: left; }
    .aurora-service-notice-link strong { display: block; margin: 0 0 3px; }
}

/* Center all text in the cart service notice block. */
.aurora-service-notices,
.aurora-service-notices p,
.aurora-service-notices h3,
.aurora-service-notices a {
    text-align: center !important;
}

.aurora-service-notices {
    margin-left: auto !important;
    margin-right: auto !important;
}
