/* A5IDC Cart 1.0.11: preserve the shared a5idcwww header typography.
   The cart Bootstrap reboot changes body fonts, label margins and image alignment.
   These corrections apply only to the website navigation, never to cart forms. */
:root {
  --a5-cart-nav-text: var(--txtcl);
  --a5-cart-nav-description: var(--txtdesc);
  --a5-cart-nav-accent: var(--Original);
  --a5-cart-nav-height: var(--navheight);
  --a5-cart-mobile-nav-height: var(--wapnavheight);
}
body.a5-cart-page :is(.nav-layoutcontainer, .nav-data, .a5m-header, .a5m-drawer) {
  --txtcl: var(--a5-cart-nav-text);
  --txtdesc: var(--a5-cart-nav-description);
  --Original: var(--a5-cart-nav-accent);
  --navheight: var(--a5-cart-nav-height);
  --wapnavheight: var(--a5-cart-mobile-nav-height);
  font: var(--fonts);
  color: #333;
}
body.a5-cart-page :is(.nav-layoutcontainer, .nav-data, .a5m-header, .a5m-drawer) img {
  vertical-align: baseline;
}
body.a5-cart-page :is(.nav-layoutcontainer, .nav-data, .a5m-header, .a5m-drawer) label {
  margin-bottom: 0;
}
body.a5-cart-page :is(.nav-layoutcontainer, .nav-data, .a5m-header, .a5m-drawer) a {
  color: var(--Original);
  text-decoration: none;
}

/* White page surface beneath the shared translucent header; cart content keeps its background. */
@media (min-width: 1025px) {
  body.a5-cart-page.inherit {
    background-image: linear-gradient(#fff, #fff);
    background-position: left top;
    background-size: 100% var(--a5-cart-nav-height);
    background-repeat: no-repeat;
    background-attachment: fixed;
  }
}

/* Restore the website reset where Bootstrap's reboot supplies default spacing. */
body:where(.a5-cart-page) :where(.nav-layoutcontainer, .nav-data, .a5m-header, .a5m-drawer) :where(dl, dt, dd, ul, ol, li, h1, h2, h3, h4, h5, h6, pre, code, form, fieldset, legend, input, textarea, p, blockquote, th, td, hr, button, article, aside, details, figcaption, figure, footer, header, menu, nav, section) {
  margin: 0;
  padding: 0;
}
