/*
 * AllProColor theme (apc_theme) - header, footer and account pages.
 * Sizes are in px (not rem): Bootstrap 3 sets html{font-size:10px}.
 * Source design: AllProColor Storefront & Account Pages (Nov 2026), dist/assets/store.css,
 * customer.css and account.css. Rules are scoped to the theme's own wrappers (.apc-header,
 * .apc-footer, .apc-popular, .desk, .au-wrap) so the Bootstrap 3 page bodies that still load
 * temp12 CSS are not affected. Loaded after the temp12 stylesheets.
 */

:root {
  --apc-ink: #19191b;
  /* heading scale used by every theme page */
  --apc-h1: clamp(30px, 3.2vw, 48px);   /* page titles */
  --apc-h2: clamp(22px, 2vw, 26px);     /* section headings */
  --apc-h3: 20px;                       /* card / form titles */
  --apc-muted: #5c5d63;
  --apc-brand: #bd2167;
  --apc-brand-hover: #bd2167;
  --apc-brand-deep: #91194e;
  --apc-line: #dedee0;
  --apc-surface: #f5f5f6;
  --apc-soft: #f6f5f3;
  --apc-edge: #dddcd9;
  --apc-wrap: 1376px;
  --apc-gutter: clamp(17.6px, 4.75vw, 75.2px);
  /* exactly the design's stack (renders Arial on Windows, San Francisco on Apple devices) */
  --apc-font: -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
  --apc-focus: #2e9fda;
}

/* ---------- shared ---------- */
.apc-wrap {
  max-width: var(--apc-wrap);
  margin-inline: auto;
  width: calc(100% - 2 * var(--apc-gutter));
}

.apc-ico {
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
  vertical-align: middle;
}

/* skip link: visually hidden until it receives keyboard focus */
.apc-skip {
  position: fixed;
  top: 8px;
  left: 16px;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  z-index: 1000;
  background: #fff;
  color: #181818;
  font: 600 16px var(--apc-font);
}

.apc-skip:focus {
  width: auto;
  height: auto;
  padding: 16px;
  clip-path: none;
  box-shadow: 0 8px 24px rgba(0, 0, 0, .15);
}

#apc-main:focus {
  outline: none;
}

.apc-header,
.apc-footer,
.apc-popular,
.desk,
.au-wrap {
  font-family: var(--apc-font);
  -webkit-font-smoothing: antialiased;
}

.apc-header *,
.apc-header *::before,
.apc-header *::after,
.apc-footer *,
.apc-popular *,
.desk-shell > aside *,
.desk-heading *,
.desk-crumb,
.desk-mobile * {
  box-sizing: border-box;
}

.apc-header a,
.apc-footer a,
.apc-popular a {
  color: inherit;
  text-decoration: none;
}

.apc-header a:focus-visible,
.apc-header button:focus-visible,
.apc-header input:focus-visible,
.apc-header summary:focus-visible,
.apc-footer a:focus-visible,
.desk a:focus-visible,
.desk summary:focus-visible,
.au-wrap a:focus-visible {
  outline: 3px solid var(--apc-focus);
  outline-offset: 3px;
}

.apc-header [hidden],
.desk [hidden],
.au-wrap [hidden] {
  display: none !important;
}

.apc-header summary,
.desk summary {
  list-style: none;
  cursor: pointer;
  display: flex;
}

.apc-header summary::-webkit-details-marker,
.desk summary::-webkit-details-marker {
  display: none;
}

.apc-header h3,
.apc-footer h3,
.apc-footer p {
  margin: 0;
}

.apc-header img,
.apc-footer img {
  display: block;
  max-width: 100%;
  height: auto;
}

/* ---------- header ---------- */
.apc-header {
  position: relative;
  z-index: 1001;
  background: #fff;
  color: var(--apc-ink);
  font-size: 16px;
  line-height: 1.5;
}

.apc-utility {
  background: #222224;
  color: #fff;
  font-size: 13.12px;
  letter-spacing: .005em;
}

.apc-utility-in,
.apc-utility-where,
.apc-utility-links,
.apc-countdown {
  display: flex;
  align-items: center;
}

.apc-utility-in {
  justify-content: space-between;
  gap: 16px;
  min-height: 32px;
}

.apc-utility-where {
  gap: 8px;
  flex-wrap: wrap;
}

.apc-utility .apc-ico {
  width: 14.4px;
  height: 14.4px;
}

.apc-utility-div {
  color: #a9a9ac;
  margin: 0 3.52px;
}

.apc-utility-holiday {
  font-weight: 400;
}

.apc-utility-links {
  gap: 24.8px;
}

.apc-utility a:hover {
  text-decoration: underline;
  color: #fff;
}

.apc-countdown {
  gap: 6.4px;
  color: #f5d373;
  white-space: nowrap;
}

.apc-countdown b,
.apc-countdown #clock2.clock-time {
  font: 700 1em/1.2 var(--apc-font);
  color: #f5d373;
  letter-spacing: 0;
  font-stretch: normal;
  font-variant-numeric: tabular-nums;
  width: auto;
  padding: 0;
  background: none;
}

.apc-countdown b:empty {
  display: none;
}

.apc-head-main {
  display: grid;
  grid-template-columns: minmax(170px, .85fr) minmax(230px, 1.72fr) minmax(175px, 1fr);
  align-items: center;
  gap: clamp(16px, 3.5vw, 64px);
  min-height: 85px;
}

.apc-brand-logo {
  display: block;
  width: clamp(150px, 13.2vw, 190px);
}

.apc-brand-logo img {
  width: 100%;
  height: auto;
}

.apc-site-search {
  display: flex;
  align-items: center;
  position: relative;
  background: #f6f6f7;
  border: 1px solid #d9d9dc;
  border-radius: 0;
  min-width: 0;
  height: 44px;
  margin: 0;
}

.apc-site-search > .apc-ico {
  margin-left: 15px;
  color: #65656b;
}

.apc-site-search input {
  outline: none;
  border: 0;
  background: transparent;
  width: 100%;
  min-width: 0;
  height: 42px;
  padding: 9.6px 13.12px;
  font: 400 16px var(--apc-font);
  color: var(--apc-ink);
  box-shadow: none;
  -webkit-appearance: none;
  appearance: none;
}

.apc-site-search input::-webkit-search-cancel-button {
  -webkit-appearance: none;
}

.apc-site-search input:focus-visible {
  outline: none;
}

.apc-site-search:focus-within {
  outline: 2px solid #555;
  outline-offset: 1px;
}

.apc-site-search button {
  display: none;
  background: none;
  border: 0;
  width: 42px;
  height: 42px;
  padding: 0;
  color: var(--apc-ink);
}

.apc-site-search:focus-within button {
  display: grid;
  place-items: center;
}

.apc-suggest {
  position: absolute;
  top: calc(100% + 5px);
  left: 0;
  right: 0;
  background: #fff;
  border: 1px solid var(--apc-line);
  padding: 6px;
  box-shadow: 0 12px 32px #0d0e101b;
  border-radius: 0;
  z-index: 14;
}

.apc-suggest a {
  display: block;
  padding: 9.92px 11.2px;
  font-size: 15.04px;
  border-radius: 0;
}

.apc-suggest a:hover,
.apc-suggest a:focus {
  background: var(--apc-surface);
}

.apc-head-tools {
  display: flex;
  align-items: center;
  justify-self: end;
  gap: 27.2px;
}

.apc-head-tools > .apc-cart > a,
.apc-acct-panel > summary {
  display: inline-flex;
  align-items: center;
  gap: 8.32px;
  font-weight: 650;
  font-size: 15.04px;
  min-height: 44px;
  white-space: nowrap;
  position: relative;
}

.apc-head-tools .apc-ico {
  width: 21.6px;
  height: 21.6px;
}

.apc-head-tools a:hover,
.apc-acct-panel > summary:hover {
  color: var(--apc-brand-hover);
}

.apc-acct-panel {
  position: relative;
}

.apc-acct-links {
  position: absolute;
  right: 0;
  top: 100%;
  z-index: 20;
  display: grid;
  grid-template-columns: 1fr 1fr;
  width: 360px;
  max-width: 90vw;
  background: #fff;
  padding: 11.2px;
  border: 1px solid var(--apc-line);
  border-radius: 0;
  box-shadow: 0 16px 40px #15151926;
}

.apc-acct-links a,
.apc-account-hello {
  display: block;
  padding: 8.64px 8.8px;
  font-size: 13.76px;
  font-weight: 550;
  line-height: 1.3;
  border-radius: 0;
}

.apc-acct-links a:hover {
  background: #f6f6f6;
  color: var(--apc-brand-hover);
}

.apc-acct-links .apc-account-strong {
  color: var(--apc-brand-hover);
  font-weight: 700;
}

.apc-account-hello {
  color: var(--apc-muted);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.apc-cart {
  position: relative;
}

.apc-cart-count {
  display: none;
}

/* mini-cart preview (markup comes from header_cart_items.tpl) */
.apc-header .shopping-box {
  position: absolute;
  right: 0;
  top: 100%;
}

.apc-header .shopping-cart {
  right: 0;
  top: 4px;
  width: 340px;
  border: 1px solid var(--apc-line);
  border-radius: 0;
  box-shadow: 0 16px 40px #15151926;
  font-size: 14.4px;
}

.apc-header .shopping-cart.noitem {
  width: 260px;
  color: var(--apc-muted);
}

.apc-nav-line {
  border-block: 1px solid var(--apc-line);
}

.apc-nav-inner,
.apc-nav-inner > nav {
  display: flex;
  align-items: center;
}

.apc-nav-inner {
  min-height: 47px;
  gap: clamp(16px, 2.4vw, 43.2px);
  position: relative;
}

.apc-nav-inner > nav {
  gap: clamp(14.4px, 2.2vw, 38.4px);
}

.apc-nav-inner nav a,
.apc-mega summary,
.apc-alli-nav {
  font-size: 14.56px;
  font-weight: 650;
  white-space: nowrap;
}

.apc-nav-inner a:hover,
.apc-mega summary:hover {
  color: var(--apc-brand-hover);
}

.apc-mega summary,
.apc-alli-nav {
  display: flex;
  gap: 7.68px;
  align-items: center;
  min-height: 46px;
}

.apc-mega summary {
  padding-right: clamp(12.8px, 1.8vw, 28px);
  position: relative;
}

.apc-mega summary::after {
  position: absolute;
  right: 0;
  height: 17px;
  width: 1px;
  background: var(--apc-line);
  content: "";
}

/* "Track My Order" in the main menu: truck icon before the label */
.apc-nav-inner nav a.apc-nav-track {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.apc-nav-inner nav a.apc-nav-track .apc-ico {
  width: 18px;
  height: 18px;
}

.apc-mega summary .apc-ico {
  width: 16.8px;
}

.apc-mega summary .apc-ico-caret {
  width: 12.8px;
  transition: transform .16s;
}

.apc-mega[open] summary .apc-ico-caret {
  transform: rotate(180deg);
}

.apc-mega-panel {
  position: absolute;
  top: calc(100% + 1px);
  left: 0;
  width: 100%;
  max-height: min(72vh, 680px);
  overflow-y: auto;
  overscroll-behavior: contain;
  border: 1px solid var(--apc-line);
  box-shadow: 0 22px 50px #18191c21;
  background: #fff;
  border-radius: 0 0 0 0;
  padding: 0 28px 24px;
  z-index: 15;
}

.apc-mega-top {
  position: sticky;
  top: 0;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 0 14px;
  margin-bottom: 18px;
  background: #fff;
  border-bottom: 1px solid var(--apc-line);
}

.apc-mega-filter {
  display: flex;
  align-items: center;
  gap: 8px;
  width: min(420px, 100%);
  height: 40px;
  margin: 0;
  padding: 0 12px;
  border: 1px solid #d9d9dc;
  border-radius: 0;
  background: #f6f6f7;
  color: #65656b;
  font-weight: 400;
}

.apc-mega-filter:focus-within {
  outline: none;
  border-color: #8a8a90;
  background: #fff;
  box-shadow: 0 0 0 3px rgba(46, 159, 218, .15);
}

.apc-mega-filter .apc-ico {
  width: 17px;
  height: 17px;
}

.apc-mega-filter input {
  flex: 1;
  min-width: 0;
  height: 38px;
  border: 0;
  background: transparent;
  outline: none;
  box-shadow: none;
  font: 400 14.5px var(--apc-font);
  color: var(--apc-ink);
}

.apc-header .apc-mega-filter input:focus,
.apc-header .apc-mega-filter input:focus-visible {
  outline: none;
  border: 0;
  box-shadow: none;
}

.apc-mega-all {
  font-weight: 700;
  font-size: 14.4px;
  color: var(--apc-brand-hover);
  white-space: nowrap;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.apc-mega-groups {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 24px;
}

.apc-mega-products {
  margin-top: 22px;
  padding-top: 20px;
  border-top: 1px solid var(--apc-line);
}

.apc-mega-list {
  column-count: 5;
  column-gap: 24px;
}

.apc-mega-list a {
  break-inside: avoid;
}

.apc-mega-empty {
  margin: 8px 0 0;
  color: var(--apc-muted);
  font-size: 14.4px;
}

.apc-badge {
  display: inline-block;
  margin-left: 4px;
  padding: 1px 5px;
  border-radius: 0;
  font-size: 10.5px;
  font-weight: 750;
  letter-spacing: .04em;
  line-height: 1.5;
  text-transform: uppercase;
  vertical-align: 1px;
}

.apc-badge--sale {
  background: #fff0cc;
  color: #754802;
}

.apc-badge--new {
  background: #e6f2e7;
  color: #235938;
}

.apc-mega-panel h3,
.apc-footer h3 {
  font: 700 15.2px/1.3 var(--apc-font);
  margin: 0 0 12.8px;
  color: inherit;
}

.apc-mega-panel h3 {
  font-size: 12.5px;
  letter-spacing: .07em;
  text-transform: uppercase;
  color: #626166;
}

.apc-mega-panel section a,
.apc-foot-cols section a {
  display: block;
  padding: 3.52px 0;
  font-size: 14.4px;
}

.apc-mega-panel section a:hover {
  color: var(--apc-brand-hover);
}

@media (max-width: 1180px) {
  .apc-mega-groups {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .apc-mega-list {
    column-count: 4;
  }
}

.apc-alli-nav {
  margin-left: auto;
}

/* Create with Alli: red by default, dark on hover (inverse of the other nav links) */
.apc-header .apc-nav-inner a.apc-alli-nav {
  color: var(--apc-brand);
  transition: color .16s;
}

.apc-header .apc-nav-inner a.apc-alli-nav:hover,
.apc-header .apc-nav-inner a.apc-alli-nav:focus-visible {
  color: var(--apc-ink);
}

.apc-alli-nav .apc-ico {
  width: 17.92px;
}

.apc-hamb {
  display: none;
}

.apc-mobile-nav {
  display: none;
}

/* "All products": the grid icon opens the left side menu, the label opens the mega menu */
.apc-allprod {
  display: flex;
  align-items: center;
  gap: 4px;
}

.apc-side-open {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  margin-left: -8px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--apc-ink);
  cursor: pointer;
}

.apc-side-open .apc-ico {
  width: 18px;
  height: 18px;
}

.apc-side-open:hover,
.apc-side-open[aria-expanded="true"] {
  background: #f1f1f2;
  color: var(--apc-brand-hover);
}

.apc-side-open:focus-visible,
.apc-side-close:focus-visible {
  outline: 2px solid var(--apc-brand);
  outline-offset: 1px;
}

.apc-side-head,
.apc-side-backdrop {
  display: none;
}

/* left side menu on tablets and desktops (the same #apc-mobile-nav drops down under the header on phones) */
@media (min-width: 821px) {
  html.apc-side-is-open,
  html.apc-side-is-open body {
    overflow: hidden;
  }

  /* lift the header (and its side menu) above the floating Call / Chat buttons while open */
  html.apc-side-is-open .apc-header {
    z-index: 10000;
  }

  .apc-side-backdrop:not([hidden]) {
    display: block;
    position: fixed;
    inset: 0;
    background: rgba(18, 19, 24, .45);
    animation: apcFadeIn .18s ease-out;
  }

  .apc-mobile-nav:not([hidden]) {
    display: block;
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    width: min(360px, 88vw);
    padding: 0 24px 28px;
    overflow-y: auto;
    overscroll-behavior: contain;
    background: #fff;
    box-shadow: 12px 0 40px rgba(18, 19, 24, .22);
    animation: apcSideIn .22s cubic-bezier(.2, .7, .3, 1);
  }

  .apc-mobile-nav .apc-side-head {
    position: sticky;
    top: 0;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin: 0 -24px 6px;
    padding: 14px 16px 14px 24px;
    border-bottom: 1px solid var(--apc-line);
    background: #fff;
  }

  .apc-side-head img {
    width: 132px;
    height: auto;
  }

  .apc-side-close {
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    padding: 0;
    border: 1px solid var(--apc-line);
    border-radius: 0;
    background: #fff;
    color: var(--apc-ink);
    cursor: pointer;
  }

  .apc-side-close .apc-ico {
    width: 18px;
    height: 18px;
  }

  .apc-side-close:hover {
    color: var(--apc-brand-hover);
    border-color: #999;
  }

  .apc-mobile-nav > a,
  .apc-mobile-nav summary {
    display: flex;
    justify-content: space-between;
    align-items: center;
    min-height: 46px;
    padding: 10px 0;
    border-bottom: 1px solid var(--apc-line);
    color: var(--apc-ink);
    font-size: 15px;
    font-weight: 650;
    cursor: pointer;
    list-style: none;
  }

  .apc-mobile-nav summary::-webkit-details-marker {
    display: none;
  }

  .apc-mobile-nav summary .apc-ico {
    width: 14px;
    transition: transform .16s;
  }

  .apc-mobile-nav details[open] > summary .apc-ico {
    transform: rotate(180deg);
  }

  .apc-mobile-nav details[open] {
    padding-bottom: 6px;
    border-bottom: 1px solid var(--apc-line);
  }

  .apc-mobile-nav details[open] > summary {
    border-bottom: 0;
    color: var(--apc-brand-hover);
  }

  .apc-mobile-nav details a {
    display: block;
    padding: 7px 12px;
    border-radius: 0;
    color: #3b3c41;
    font-size: 14.5px;
  }

  .apc-mobile-nav > a:hover,
  .apc-mobile-nav details a:hover {
    color: var(--apc-brand-hover);
  }

  .apc-mobile-nav details a:hover {
    background: #f6f6f7;
  }
}

@keyframes apcSideIn {
  from { transform: translateX(-100%); }
  to { transform: none; }
}

@keyframes apcFadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@media (prefers-reduced-motion: reduce) {
  .apc-mobile-nav,
  .apc-side-backdrop {
    animation: none !important;
  }
}

/* editor page keeps the header compact on phones, as before */
.apc-header--editor .apc-utility {
  display: none;
}

/* SEO heading strip kept from the previous header */
#pageSeoContent.apc-seo-strip {
  padding: 0;
  margin: 0;
}

.apc-seo-strip > .seo-container.row {
  margin-left: 0;
  margin-right: 0;
}

.apc-seo-strip .seo-container {
  background: var(--apc-surface);
  margin: 0;
  padding: 6px var(--apc-gutter);
  border-bottom: 1px solid var(--apc-line);
}

.apc-seo-strip .h_tag_seo_footer {
  font-family: var(--apc-font);
  font-size: 13px;
  color: var(--apc-muted);
  margin: 0;
  line-height: 1.6;
}

.apc-seo-strip h1.h_tag_seo_footer {
  font-size: 14px;
  font-weight: 650;
}

/* ---------- popular links + footer ---------- */
.apc-popular {
  background: var(--apc-surface);
  border-top: 1px solid var(--apc-line);
  padding: 32px 0 25.6px;
  color: var(--apc-ink);
}

.apc-popular-title {
  font: 700 16px/1.3 var(--apc-font);
  margin: 0 0 14.4px;
  color: inherit;
}

.apc-popular-links {
  display: flex;
  flex-wrap: wrap;
  gap: 7.2px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.apc-popular-links li {
  margin: 0;
  padding: 0;
}

.apc-popular-links a {
  display: inline-block;
  padding: 5.44px 11.2px;
  border: 1px solid var(--apc-line);
  border-radius: 999px;
  background: #fff;
  font-size: 13.44px;
  line-height: 1.3;
}

.apc-popular-links a:hover {
  border-color: #999;
  color: var(--apc-brand-hover);
}

.apc-popular-h3.h_tag_seo_footer_1 {
  font-family: var(--apc-font);
  margin: 16px 0 0;
  font-size: 14.4px;
  color: var(--apc-muted);
}

.apc-footer {
  background: #19191b;
  color: #f5f5f7;
  padding: 48px 0 20.8px;
  font-size: 16px;
  line-height: 1.5;
  margin: 0;
}

.apc-foot-cols {
  display: grid;
  grid-template-columns: 1.35fr repeat(4, 1fr);
  gap: clamp(16px, 3vw, 64px);
}

.apc-foot-cols a:hover,
.apc-foot-brand a:hover {
  text-decoration: underline;
  color: #fff;
}

.apc-foot-brand img {
  margin-bottom: 16px;
  width: 166px;
}

.apc-foot-brand p,
.apc-foot-cols section a {
  color: #d1d1d3;
}

.apc-foot-brand p,
.apc-foot-brand > a {
  font-size: 14.4px;
}

.apc-foot-brand p {
  margin-bottom: 6.72px;
}

.apc-foot-social {
  display: flex;
  gap: 8px;
  margin: 17.6px 0 0;
  padding: 0;
  list-style: none;
}

.apc-foot-social li {
  margin: 0;
  padding: 0;
}

.apc-foot-social a {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border: 1px solid #48484a;
  border-radius: 50%;
  color: #d1d1d3;
  font-size: 15px;
}

.apc-foot-social .apc-x-logo {
  width: 14px;
  height: 14px;
  display: block;
}

.apc-foot-social a:hover {
  border-color: #d1d1d3;
  color: #fff;
  text-decoration: none;
}

.apc-foot-base {
  border-top: 1px solid #48484a;
  margin-top: 35.2px;
  padding-top: 16px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  color: #d4d4d4;
  font-size: 13.12px;
}

.apc-foot-base span:last-child {
  display: flex;
  gap: 20px;
}

.apc-foot-base a:hover {
  text-decoration: underline;
  color: #fff;
}

/* ---------- account shell ("desk") ---------- */
.apc-account-page {
  background: #fff;
}

.desk {
  padding-top: 20px;
  padding-bottom: 70px;
  color: var(--apc-ink);
  font-size: 16px;
  line-height: 1.5;
}

.desk-crumb {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
  color: #68676a;
  font-size: 14px;
  margin-bottom: 25px;
}

.desk .desk-link,
.desk-crumb a {
  color: #91194e;
  text-decoration: underline;
  text-underline-offset: .18em;
  font-weight: 650;
}

.desk-shell {
  display: grid;
  grid-template-columns: 210px minmax(0, 1fr);
  gap: clamp(25.6px, 4vw, 72px);
}

.desk-side {
  border-right: 1px solid var(--apc-edge);
  padding-right: 20px;
}

.desk-ident {
  display: flex;
  gap: 10.4px;
  align-items: center;
  padding: 4px 8.8px 19.2px;
  font-size: 18.72px;
}

.desk-nav {
  display: grid;
  gap: 16px;
}

.desk .desk-nav h2 {
  color: #626166;
  font: 700 12.16px/1.4 var(--apc-font);
  letter-spacing: .065em;
  text-transform: uppercase;
  margin: 0 0 4px 9.6px;
}

.desk-nav a {
  display: block;
  padding: 8.8px 10.4px;
  color: #333337;
  border-radius: 0;
  font-size: 14.72px;
  line-height: 1.35;
  font-weight: 550;
  text-decoration: none;
}

.desk-nav a:hover,
.desk-nav a:focus-visible {
  background: var(--apc-soft);
  color: #333337;
  text-decoration: none;
}

.desk-nav a[aria-current=page] {
  box-shadow: inset 3px 0 0 #bd2167;
  background: #fbeaf2;
  color: var(--apc-brand-deep);
  font-weight: 720;
}

.desk-view {
  min-width: 0;
}

.desk-kicker {
  display: flex;
  align-items: center;
  gap: 8.8px;
  color: #55555a;
  text-transform: uppercase;
  letter-spacing: .12em;
  font-size: 11.52px;
  font-weight: 750;
}

.desk-kicker i {
  width: 22px;
  height: 3px;
  background: var(--apc-brand);
}

.desk-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 17.6px;
  margin: 8px 0 26.4px;
}

.desk .desk-heading h1 {
  font: 700 var(--apc-h1)/1.06 var(--apc-font);
  letter-spacing: -.05em;
  margin: 0 0 8px;
  color: var(--apc-ink);
  text-transform: none;
  padding: 0;
}

.desk-heading p {
  max-width: 54ch;
  color: #59595d;
  margin: 0;
  font-size: 16px;
}

.desk-heading > a {
  flex-shrink: 0;
}

.desk .desk-primary,
.desk .desk-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10.4px 16px;
  border-radius: 0;
  font: 680 14.56px/1.3 var(--apc-font);
  text-align: center;
  text-decoration: none;
}

.desk .desk-primary {
  background: #bd2167;
  border: 1px solid #bd2167;
  color: #fff;
}

.desk .desk-primary:hover {
  background: #91194e;
  color: #fff;
}

.desk .desk-secondary {
  border: 1px solid #b6b4b5;
  background: #fff;
  color: #222;
}

.desk .desk-secondary:hover {
  background: #f4f3f2;
}

.desk-mobile {
  display: none;
}

/* Wide tools (Image Zone): no left rail, sections open from a dropdown */
.desk--wide .desk-shell {
  display: block;
}

.desk--wide .desk-side {
  display: none;
}

.desk--wide .desk-mobile {
  display: inline-block;
  min-width: 260px;
  position: relative;
  border: 1px solid var(--apc-edge);
  border-radius: 0;
  margin: 0 0 20.8px;
  background: #fff;
}

.desk--wide .desk-mobile[open] .desk-nav {
  position: absolute;
  left: -1px;
  top: 100%;
  z-index: 30;
  width: min(640px, 92vw);
  grid-template-columns: repeat(3, minmax(0, 1fr));
  background: #fff;
  border: 1px solid var(--apc-edge);
  border-radius: 0 0 0 0;
  box-shadow: 0 16px 40px #15151926;
}

/* -- design components for rebuilt account pages (customer.css of the design) -- */
.desk .desk-box {
  padding: clamp(16px, 2vw, 26.4px);
  border: 1px solid var(--apc-edge);
  border-radius: 0;
  background: #fff;
  margin: 0 0 16px;
  min-width: 0;
}

.desk .desk-box > h2 {
  margin: 0 0 16.8px;
  font: 700 var(--apc-h3)/1.25 var(--apc-font);
  letter-spacing: -.035em;
  color: var(--apc-ink);
  text-transform: none;
}

.desk .desk-stack {
  display: grid;
  gap: 13.6px;
  max-width: 520px;
}

.desk .desk-field {
  display: flex;
  flex-direction: column;
  gap: 5.1px;
  min-width: 0;
  margin: 0 !important;
}

.desk .desk-stack .desk-field > label {
  margin: 0;
  padding: 0;
  font: 650 14.1px/1.35 var(--apc-font);
  color: var(--apc-ink);
  text-transform: none;
}

/* legacy label.require:after uses the "open_sansregular" font, whose taller line box pushed inputs down */
.desk label.require::after,
.au-wrap label.require::after {
  font: inherit;
  font-weight: 400;
  line-height: inherit;
  color: #b00012;
}

.desk .desk-field > .form-control {
  width: 100%;
  min-height: 44px;
  padding: 10.2px 12px;
  border: 1px solid #bab9b6;
  border-radius: 0;
  background: #fff;
  color: #252526;
  font: 400 16px/1.4 var(--apc-font);
}

.desk .desk-field > .error_msg:empty {
  display: none;
}

.desk .desk-alert {
  margin: 0 0 14px;
  padding: 9px 12.8px;
  border-left: 3px solid #b00012;
  background: #fbeaf2;
}

.desk .desk-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-top: 16.8px;
}

.desk .desk-actions .desk-link {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}

.desk input.desk-primary {
  cursor: pointer;
}

/* -- Quick order upload (apc_theme/qorder.tpl): add-product form and quick cart -- */
body.apc-page-qorder .desk-content .quotes-section {
  margin: 0 0 16px;
  padding: clamp(16px, 2vw, 26px);
  border: 1px solid var(--apc-edge);
  border-radius: 0;
  background: #fff;
}

body.apc-page-qorder .desk-content .quotes-section .row {
  margin-left: 0;
  margin-right: 0;
}

body.apc-page-qorder .desk-content #div_widget > [class*="col-"],
body.apc-page-qorder .desk-content .quotes-section > .row > [class*="col-"] {
  float: none;
  width: 100%;
  padding-left: 0;
  padding-right: 0;
}

body.apc-page-qorder .desk-content .quotes-section .inputgroup {
  margin: 0 0 16px;
}

body.apc-page-qorder .desk-content .quotes-section .inputgroup label {
  display: block;
  margin: 0 0 6px;
  color: var(--apc-ink);
  font: 650 14.1px/1.35 var(--apc-font);
  text-transform: none;
}

body.apc-page-qorder .desk-content .quotes-section .form-control {
  width: 100%;
  margin-bottom: 12px;
}

/* legacy custom select (holder text + background arrow): show the native select instead */
body.apc-page-qorder .desk-content .select-wrapper {
  display: block;
  position: relative;
  width: 100%;
  height: auto;
  line-height: normal;
  overflow: visible;
  border: 0;
  background: none;
}

body.apc-page-qorder .desk-content .select-wrapper .holder {
  display: none;
}

body.apc-page-qorder .desk-content select,
body.apc-page-qorder .desk-content .select-wrapper select {
  position: static;
  display: block;
  width: 100%;
  height: auto;
  min-height: 44px;
  padding: 10px 34px 10px 12px;
  border: 1px solid #bab9b6;
  border-radius: 0;
  opacity: 1;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='m1 1 5 5 5-5' fill='none' stroke='%23383b40' stroke-width='1.5'/%3E%3C/svg%3E") no-repeat right 12px center;
  color: #252526;
  font: 400 16px/1.4 var(--apc-font);
  line-height: 1.4 !important;   /* legacy .select-wrapper select{line-height:35px} pushed the text down */
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
}

body.apc-page-qorder .desk-content select:focus {
  border-color: #555;
  outline: none;
  box-shadow: 0 0 0 3px rgba(46, 159, 218, .18);
}

body.apc-page-qorder .desk-content .apc-qo-back {
  display: flex;
  justify-content: flex-end;
  margin: 0 0 12px;
}

body.apc-page-qorder .desk-content .apc-qo-back .btn,
body.apc-page-qorder .desk-content a.addProduct.btn-blue {
  border-color: #b7b7b9;
  background: #fff;
  color: var(--apc-ink);
}

body.apc-page-qorder .desk-content .apc-qo-back .btn:hover,
body.apc-page-qorder .desk-content a.addProduct.btn-blue:hover {
  border-color: #2a2a2c;
  background: #fafafa;
  color: var(--apc-ink);
}

body.apc-page-qorder .desk-content .completeOrder {
  display: flex;
  gap: 10px;
  margin: 0 0 8px;
}

/* product options loaded by AJAX into #DivWidget (m13qorder/m13.php, widgetForm.php, apiForm.php ...) */
body.apc-page-qorder .desk-content .quotes-section .inputgroup > label:has(> input[type=checkbox]) {
  display: flex;
  align-items: center;
  gap: 9px;
  min-height: 34px;
  margin: 0;
  color: var(--apc-ink);
  font: 500 15px/1.35 var(--apc-font);
  cursor: pointer;
}

body.apc-page-qorder .desk-content .quotes-section .inputgroup:has(> label > input[type=checkbox]) {
  margin-bottom: 4px;
}

body.apc-page-qorder .desk-content .quotes-section input[type=checkbox] {
  width: 17px;
  height: 17px;
  margin: 0;
  flex: 0 0 auto;
}

body.apc-page-qorder .desk-content .quotes-section .error_msg:empty,
body.apc-page-qorder .desk-content .quotes-section #showError:empty {
  display: none;
}

/* turnaround choices as cards (rows are written by the pricing script) */
body.apc-page-qorder .desk-content .turnParent {
  position: relative;
  margin: 18px 0 16px;
}

body.apc-page-qorder .desk-content .turnParent::before {
  content: "Turnaround";
  display: block;
  margin: 0 0 8px;
  color: var(--apc-ink);
  font: 700 16px/1.3 var(--apc-font);
}

body.apc-page-qorder .desk-content .tableTurnPrice,
body.apc-page-qorder .desk-content .tableTurnPrice tbody {
  display: block;
  width: 100%;
  margin: 0;
  border: 0;
}

body.apc-page-qorder .desk-content .tableTurnPrice tbody {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

body.apc-page-qorder .desk-content .tableTurnPrice tr,
body.apc-page-qorder .desk-content .tableTurnPrice tr:nth-child(2n+1),
body.apc-page-qorder .desk-content .tableTurnPrice tr:first-child {
  display: grid;
  grid-template-columns: 20px 1fr auto;
  align-items: center;
  column-gap: 8px;
  padding: 10px 12px;
  border: 1px solid #c9c9cd;
  border-radius: 0;
  background: #fff;
  cursor: pointer;
}

body.apc-page-qorder .desk-content .tableTurnPrice tr:hover {
  border-color: var(--apc-ink);
}

body.apc-page-qorder .desk-content .tableTurnPrice tr:has(input:checked) {
  border-color: var(--apc-brand);
  background: #fbeaf2;
  box-shadow: inset 0 0 0 1px var(--apc-brand);
}

body.apc-page-qorder .desk-content #right-section .tableTurnPrice tr td,
body.apc-page-qorder .desk-content .tableTurnPrice tr td span {
  display: block;
  padding: 0;
  margin: 0;
  border: 0;
  background: none;
  color: var(--apc-muted);
  font: 400 13px/1.35 var(--apc-font);
  text-transform: none !important;
}

body.apc-page-qorder .desk-content .tableTurnPrice tr td br {
  display: none;
}

body.apc-page-qorder .desk-content .tableTurnPrice tr td:first-child {
  display: flex;
  align-items: center;
}

body.apc-page-qorder .desk-content .tableTurnPrice tr td:nth-child(2) span:first-child {
  color: var(--apc-ink);
  font-size: 14.4px;
  font-weight: 700;
}

body.apc-page-qorder .desk-content #right-section .tableTurnPrice tr td:nth-child(3),
body.apc-page-qorder .desk-content .tableTurnPrice tr td:nth-child(3) span {
  display: inline;
  color: var(--apc-ink);
  font-size: 15.2px;
  font-weight: 750;
  text-align: right;
  white-space: nowrap;
}

body.apc-page-qorder .desk-content .tableTurnPrice input[type=radio] {
  width: 15px;
  height: 15px;
  margin: 0;
}

body.apc-page-qorder .desk-content .turnParent .overlaymask {
  border-radius: 0;
  background: rgba(255, 255, 255, .7);
}

/* print / shipping / total price as the summary box */
body.apc-page-qorder .desk-content .quotes-section .cart-section .cart-bg {
  margin: 0 0 16px;
  padding: 14px 18px;
  border: 0;
  border-radius: 0;
  background: var(--apc-surface);
}

body.apc-page-qorder .desk-content .quotes-section .table-responsive {
  border: 0;
}

body.apc-page-qorder .desk-content #right-section .table.table-cart {
  margin: 0;
  background: none;
}

body.apc-page-qorder .desk-content #right-section .table.table-cart thead tr th,
body.apc-page-qorder .desk-content #right-section .table.table-cart tbody tr td,
body.apc-page-qorder .desk-content #right-section .table.table-cart tfoot tr td {
  width: auto;
  padding: 5px 0;
  border: 0;
  background: none;
  color: var(--apc-muted);
  font: 400 15px/1.4 var(--apc-font);
  letter-spacing: 0;
  text-transform: none;
}

body.apc-page-qorder .desk-content #right-section .table.table-cart tr > :last-child {
  color: var(--apc-ink);
  font-weight: 650;
  text-align: right;
}

body.apc-page-qorder .desk-content #right-section .table.table-cart tfoot tr td {
  padding-top: 10px;
  border-top: 1px solid var(--apc-edge);
  color: var(--apc-ink);
  font-weight: 700;
}

body.apc-page-qorder .desk-content #right-section .table.table-cart tfoot tr td:last-child {
  font: 760 20px/1.15 var(--apc-font);
  letter-spacing: -.04em;
}

@media (max-width: 900px) {
  body.apc-page-qorder .desk-content .tableTurnPrice tbody {
    grid-template-columns: 1fr;
  }
}

/* quick cart */
body.apc-page-qorder .desk-content h3.order-title {
  margin: 8px 0 14px;
  color: var(--apc-ink);
  font: 700 var(--apc-h3)/1.3 var(--apc-font);
  letter-spacing: -.02em;
  text-transform: none;
}

body.apc-page-qorder .desk-content .orderChart > li {
  display: grid;
  grid-template-columns: 200px minmax(0, 1fr);
  gap: 24px;
  margin: 0 0 18px;
  padding: 20px;
  border: 1px solid var(--apc-edge);
  border-radius: 0;
  background: #fff;
}

body.apc-page-qorder .desk-content .orderChart li .orderName,
body.apc-page-qorder .desk-content .orderChart li .orderDesp {
  display: block;
  float: none;
  width: auto;
  max-width: none;
  margin: 0;
}

body.apc-page-qorder .desk-content .orderChart li .orderName h3 {
  margin: 0 0 10px;
  color: var(--apc-ink);
  font: 700 16px/1.3 var(--apc-font);
  text-transform: none;
}

body.apc-page-qorder .desk-content .orderChart li .orderName h3:empty {
  display: none;
}

body.apc-page-qorder .desk-content .orderName .orderItem {
  display: grid;
  place-items: center;
  width: 100%;
  height: auto;
  min-height: 160px;
  padding: 10px;
  border: 1px solid var(--apc-edge);
  border-radius: 0;
  background: var(--apc-surface);
  text-align: center;
}

body.apc-page-qorder .desk-content .orderName .orderItem img {
  max-width: 100%;
  height: auto;
  border-radius: 0;
}

/* no artwork on the cart item yet (works for the page and the AJAX-refreshed cart) */
body.apc-page-qorder .desk-content .orderName .orderItem:not(:has(img))::before {
  content: "Image not uploaded";
  padding-top: 40px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='32' height='32' viewBox='0 0 24 24' fill='none' stroke='%2396969b' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='3' width='18' height='18' rx='2'/%3E%3Ccircle cx='9' cy='9' r='2'/%3E%3Cpath d='m21 15-3.1-3.1a2 2 0 0 0-2.8 0L6 21'/%3E%3C/svg%3E") no-repeat center top;
  color: var(--apc-muted);
  font: 600 14px/1.3 var(--apc-font);
}

body.apc-page-qorder .desk-content .orderChart li .orderDesp {
  position: relative;
}

body.apc-page-qorder .desk-content .orderChart li .orderDesp > h3 {
  display: block;
  margin: 0 0 12px;
  padding: 0;
  color: var(--apc-ink);
  font: 750 20px/1.15 var(--apc-font);
  letter-spacing: -.04em;
  text-transform: none;
}

body.apc-page-qorder .desk-content .orderDesp .table-responsive {
  border: 0;
  border-radius: 0;
}

body.apc-page-qorder .desk-content #right-section .orderDesp table tbody tr td {
  padding: 9px 4px;
  border: 0;
  border-bottom: 1px solid var(--apc-edge);
  background: #fff;
  color: var(--apc-ink);
  font: 400 14.5px/1.4 var(--apc-font);
  text-transform: none !important;
}

body.apc-page-qorder .desk-content #right-section .orderDesp table tbody tr td:first-child {
  width: 40%;
  color: var(--apc-muted);
  font-weight: 600;
}

body.apc-page-qorder .desk-content .ordershipMethod label,
body.apc-page-qorder .desk-content .orderBlock label {
  color: var(--apc-ink);
  font: 500 15px/1.4 var(--apc-font);
  text-transform: none;
}

body.apc-page-qorder .desk-content input[type=radio],
body.apc-page-qorder .desk-content input[type=checkbox] {
  accent-color: var(--apc-brand);
}

@media (max-width: 767px) {
  body.apc-page-qorder .desk-content .orderChart > li {
    grid-template-columns: 1fr;
    padding: 16px;
  }
}

/* -- legacy page content inside the shell -- */
.desk-content #pageContent,
.desk-content #pageContent.clearfix {
  overflow: visible;
  padding: 0;
  margin: 0;
}

.desk-content #pageContent > .container-outer {
  padding: 0;
  margin: 0;
  min-height: 0;
  background: none;
  box-shadow: none;
}

.desk-content #pageContent > .container-outer > .container,
.desk-content #pageContent > .container-outer > .containerRemoved {
  width: auto;
  max-width: none;
  padding: 0;
  margin: 0;
}

.desk-content .minHeight600,
.desk-content .minHeight500 {
  min-height: 0;
}

.desk-content .container-bottom {
  display: none;
}

.desk-content #right-section {
  padding: 0;
  margin: 0;
  background: none;
  border: 0;
  box-shadow: none;
}

.desk-content #right-section > hgroup {
  border: 0;
  margin-bottom: 16px;
}

.desk-content #right-section h2,
.desk-content #right-section h3,
.desk-content #right-section h4 {
  font-family: var(--apc-font);
  letter-spacing: -.02em;
  color: var(--apc-ink);
}

.desk-content #right-section h3.form-title {
  font-size: var(--apc-h3);
  font-weight: 700;
  margin: 22.4px 0 12.8px;
  padding-top: 17.6px;
  border-top: 1px solid var(--apc-edge);
}

/* form controls */
.desk-content .form-control,
.au-wrap .form-control {
  height: 44px;
  border: 1px solid #bab9b6;
  border-radius: 0;
  background: #fff;
  color: #252526;
  font: 400 16px var(--apc-font);
  box-shadow: none;
  padding: 8.8px 12px;
}

.desk-content textarea.form-control,
.au-wrap textarea.form-control {
  height: auto;
  min-height: 96px;
  resize: vertical;
}

.desk-content select.form-control,
.au-wrap select.form-control {
  padding-right: 32px;
}

.desk-content .form-control:focus,
.au-wrap .form-control:focus {
  border-color: #555;
  box-shadow: 0 0 0 3px rgba(46, 159, 218, .18);
  outline: none;
}

.desk-content .inputgroup label,
.desk-content label.control-label,
.au-wrap .inputgroup label {
  font: 650 14.08px/1.35 var(--apc-font);
  color: var(--apc-ink);
  margin-bottom: 5.6px;
}

.desk-content .error_msg,
.desk-content label.error,
.au-wrap .error_msg,
.au-wrap label.error {
  color: #b00012;
  font-size: 13.44px;
  font-weight: 600;
}

.desk-content .signup-section {
  padding: clamp(16px, 2vw, 26.4px);
  border: 1px solid var(--apc-edge);
  border-radius: 0;
  background: #fff;
  margin-bottom: 16px;
}

/* buttons used by the legacy markup */
.desk-content .btn,
.au-wrap .btn {
  border-radius: 0;
  font: 680 14.56px/1.3 var(--apc-font);
  min-height: 40px;
  padding: 8.8px 16px;
  text-transform: none;
  letter-spacing: 0;
  border: 1px solid transparent;
  box-shadow: none;
}

.desk-content .btn-red,
.desk-content .btn-blue,
.au-wrap .btn-red,
.au-wrap .btn-blue {
  background: #bd2167;
  border-color: #bd2167;
  color: #fff;
}

.desk-content .btn-red:hover,
.desk-content .btn-blue:hover,
.desk-content .btn-red:focus,
.desk-content .btn-blue:focus,
.au-wrap .btn-red:hover,
.au-wrap .btn-blue:hover {
  background: #91194e;
  border-color: #91194e;
  color: #fff;
}

.desk-content .btn-gray,
.desk-content .btn-default {
  background: #fff;
  border-color: #b6b4b5;
  color: #222;
}

.desk-content .btn-gray:hover,
.desk-content .btn-default:hover {
  background: #f4f3f2;
  color: #222;
}

.desk-content .checkoutBtn,
.desk-content .complete_profile {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
  margin-top: 16px;
}

/* tables */
.desk-content .table-responsive {
  border: 1px solid var(--apc-edge);
  border-radius: 0;
  overflow-x: auto;
}

.desk-content .table {
  margin-bottom: 0;
  font-size: 14.4px;
}

.desk-content .table > thead > tr > th {
  background: var(--apc-soft);
  color: #444348;
  font-weight: 700;
  font-size: 12.8px;
  letter-spacing: .03em;
  text-transform: uppercase;
  border-bottom: 1px solid var(--apc-edge);
  padding: 11.2px 12px;
}

.desk-content .table > tbody > tr > td {
  border-top: 1px solid var(--apc-edge);
  padding: 11.2px 12px;
  vertical-align: middle;
}

/* panels, tabs, alerts (dashboard) */
.desk-content .panel {
  border: 1px solid var(--apc-edge);
  border-radius: 0;
  box-shadow: none;
  overflow: hidden;
}

.desk-content .panel-heading {
  background: #fff;
  border-bottom: 1px solid var(--apc-edge);
}

.desk-content .nav-tabs {
  border-bottom: 0;
}

.desk-content .nav-tabs > li > a {
  border: 0;
  border-radius: 0;
  color: #333337;
  font-weight: 600;
  font-size: 14.4px;
}

.desk-content .nav-tabs > li.active > a,
.desk-content .nav-tabs > li.active > a:hover,
.desk-content .nav-tabs > li.active > a:focus {
  border: 0;
  background: #fbeaf2;
  color: var(--apc-brand-deep);
  box-shadow: inset 0 -3px 0 #bd2167;
}

.desk-content .alert {
  border-radius: 0;
}

.desk-content .reprintBlock,
.desk-content .newsDiv,
.desk-content .reportSummary {
  border: 1px solid var(--apc-edge);
  border-radius: 0;
  background: #fff;
  padding: clamp(16px, 2vw, 22.4px);
  margin-bottom: 16px;
}

.desk-content .reprintBlock h4 {
  font-size: 16.8px;
  font-weight: 700;
  margin: 0 0 12.8px;
}

/* Legacy tables, panels and tabs (My APC, orders, tickets, addresses, quotes...).
   #right-section raises specificity above the page-specific temp12 rules. */
.desk-content #right-section table thead tr th {
  background: var(--apc-soft);
  color: #444348;
  font: 700 12.5px/1.3 var(--apc-font);
  letter-spacing: .03em;
  text-transform: uppercase;
  border: 0;
  border-bottom: 1px solid var(--apc-edge);
  border-radius: 0;
  padding: 11px 12px;
  height: auto;
}

.desk-content #right-section table tbody tr td {
  border-color: var(--apc-edge);
  font-family: var(--apc-font);
}

.desk-content #right-section .panel-group.color-red .panel,
.desk-content #right-section .panel-group .panel {
  border: 1px solid var(--apc-edge);
  border-radius: 0;
  box-shadow: none;
  overflow: hidden;
}

.desk-content #right-section .panel-group.color-red .panel-heading,
.desk-content #right-section .tabhead-parent .panel-heading,
.desk-content #right-section .panel-heading.tabhead {
  background: #fff;
  color: var(--apc-ink);
  border-bottom: 1px solid var(--apc-edge);
  border-radius: 0;
  padding: 8px 12px;
}

.desk-content #right-section .panel-group.color-red .panel-heading .panel-title,
.desk-content #right-section .panel-group.color-red .panel-heading .panel-title > a {
  color: var(--apc-ink);
  font: 700 17px/1.3 var(--apc-font);
  letter-spacing: -.01em;
  text-transform: none;
}

.desk-content #right-section .panel-group.color-red .panel-body {
  background: #fff;
}

.desk-content #right-section .tabhead .nav-tabs > li > a,
.desk-content #right-section .panel-heading .nav-tabs > li > a {
  background: transparent;
  color: #333337;
  font: 600 14.5px/1.3 var(--apc-font);
  text-transform: none;
  border: 0;
  border-radius: 0;
  padding: 10px 14px;
  margin: 0 4px 0 0;
}

.desk-content #right-section .tabhead .nav-tabs > li.active > a,
.desk-content #right-section .panel-heading .nav-tabs > li.active > a {
  background: #fbeaf2;
  color: var(--apc-brand-deep);
  box-shadow: inset 0 -3px 0 #bd2167;
}

.desk-content #right-section .newsDiv h2,
.desk-content #right-section .reprintBlock h4 {
  font: 700 19px/1.25 var(--apc-font);
  letter-spacing: -.02em;
  color: var(--apc-ink);
  text-transform: none;
}

.desk-content .inputgroup label,
.au-wrap .inputgroup label,
.au-wrap .au-field label {
  text-transform: none;
  letter-spacing: 0;
}

/* My APC: the old "MY APC" label duplicates the page heading */
.desk-content .reportSummary li.allorders {
  display: none;
}

/* Image Zone keeps its own hero; give it room inside the shell */
.desk--wide .desk-content #pageContent.imagezonePage > .container-outer {
  padding: 0;
}

.desk--wide .desk-content .imgzone-header {
  margin-left: 0;
  margin-right: 0;
  border-radius: 0;
  overflow: hidden;
}

/* ---------- account forms and lists: shipping / billing addresses, saved cards ----------
   The lists and add/edit forms come from temp6 sub-templates that are also reloaded by AJAX
   (add_shipping_address.php, add_card.php), so they are restyled here rather than copied. */

/* add / edit forms */
.desk-content #right-section .checkout-section {
  margin: 0 0 16px;
  padding: clamp(18px, 2.2vw, 28px);
  border: 1px solid var(--apc-edge);
  border-radius: 0;
  background: #fff;
}

.desk-content #right-section .checkout-section h3.form-title {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 16px;
  margin: 0 0 18px;
  padding: 0 0 14px;
  border: 0;
  border-bottom: 1px solid var(--apc-edge);
  color: var(--apc-ink);
  font: 700 var(--apc-h3)/1.25 var(--apc-font);
  letter-spacing: -.02em;
  text-transform: none;
}

.desk-content #right-section .checkout-section * + h3.form-title {
  margin-top: 10px;
}

/* "Back" in the form title: a quiet secondary button */
.desk-content #right-section h3.form-title .newaddress,
.desk-content #right-section h3.form-title .btn {
  float: none;
  min-height: 38px;
  padding: 8px 16px;
  border: 1px solid #b6b4b5;
  border-radius: 0;
  background: #fff;
  color: var(--apc-ink) !important;
  font: 650 14px/1.4 var(--apc-font);
  text-transform: none;
}

.desk-content #right-section h3.form-title .newaddress:hover,
.desk-content #right-section h3.form-title .btn:hover {
  border-color: var(--apc-ink);
  background: #fff;
}

.desk-content .checkout-section .inputgroup {
  margin-bottom: 16px !important;
}

.desk-content .checkout-section .inputgroup label {
  display: block;
  color: var(--apc-ink);
  font: 650 14px/1.35 var(--apc-font);
  text-transform: none;
}

.desk-content .checkout-section .inputgroup label.form-check-label {
  display: inline;
  font-weight: 600;
  cursor: pointer;
}

.desk-content .checkout-section input[type="checkbox"] {
  width: 17px;
  height: 17px;
  margin: 0 8px 0 0;
  vertical-align: -3px;
  accent-color: var(--apc-ink);
}

/* legacy custom selects (fake ".holder" over a hidden select): show the native select */
.desk-content .checkout-section .select-wrapper {
  display: block;
  position: relative;
  width: 100% !important;
  height: auto;
  border: 0;
  background: none;
}

.desk-content .checkout-section .select-wrapper .holder {
  display: none;
}

.desk-content .checkout-section .select-wrapper select,
.desk-content .checkout-section select.custom-select,
.desk-content .checkout-section .country select,
.desk-content .checkout-section .state select,
.desk-content .checkout-section .cardExp select {
  position: static;
  display: block;
  width: 100% !important;
  height: 44px !important;
  padding: 8px 34px 8px 12px;
  border: 1px solid #bab9b6;
  border-radius: 0;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='m1 1 5 5 5-5' fill='none' stroke='%23383b40' stroke-width='1.5'/%3E%3C/svg%3E") no-repeat right 12px center;
  color: #252526;
  font: 400 16px var(--apc-font);
  line-height: 1.4 !important;
  opacity: 1;
  appearance: none;
  -webkit-appearance: none;
  box-shadow: none;
}

.desk-content .checkout-section .select-wrapper select:focus,
.desk-content .checkout-section select.custom-select:focus {
  border-color: #555;
  box-shadow: 0 0 0 3px rgba(46, 159, 218, .18);
  outline: none;
}

.desk-content #right-section .completeOrder {
  float: none;
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin: 0 0 24px;
}

.desk-content #right-section .completeOrder .btn {
  min-height: 44px;
  padding: 10px 26px;
  font-size: 15px;
}

/* shipping address form: Company name and Email side by side, Address on its own line */
@media (min-width: 768px) {
  .desk-content .checkout-section .row:has(#ShipCompanyName) {
    display: flex;
    flex-wrap: wrap;
  }

  .desk-content .checkout-section .row:has(#ShipCompanyName)::before,
  .desk-content .checkout-section .row:has(#ShipCompanyName)::after {
    display: none;
  }

  .desk-content .checkout-section .row:has(#ShipCompanyName) > [class*="col-"]:has(#ShipCompanyName),
  .desk-content .checkout-section .row:has(#ShipCompanyName) > [class*="col-"]:has(#ShipEmail) {
    width: 50%;
  }

  .desk-content .checkout-section .row:has(#ShipCompanyName) > [class*="col-"]:has(#ShipAddress) {
    width: 100%;
  }
}

/* billing address form: Email on its own line, Address 1 and Address 2 side by side */
@media (min-width: 768px) {
  .desk-content .checkout-section .row:has(#billAddress2) {
    display: flex;
    flex-wrap: wrap;
  }

  .desk-content .checkout-section .row:has(#billAddress2)::before,
  .desk-content .checkout-section .row:has(#billAddress2)::after {
    display: none;
  }

  .desk-content .checkout-section .row:has(#billAddress2) > [class*="col-"]:has(#billEmail) {
    width: 100%;
  }

  .desk-content .checkout-section .row:has(#billAddress2) > [class*="col-"]:has(#billAddress1),
  .desk-content .checkout-section .row:has(#billAddress2) > [class*="col-"]:has(#billAddress2) {
    width: 50%;
  }
}

/* address lists (add_shipping_address.tpl / add_billing_address.tpl): each address is a card.
   Shipping rules are scoped to .apc-page-myshippingaddress: My quotes, Support tickets and My commission
   use the same .table-shipAddress / .shippingAddBlock markup for their lists and must stay tables.
   The table wrappers use display:contents so every <tr> becomes a grid item next to the
   "+ Add new address" link, which is shown as the last card. No markup changes (the shipping
   list is reloaded by AJAX). */
.apc-page-myshippingaddress .desk-content .shippingAddBlock,
.desk-content .billingAddBlock {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
  gap: 16px;
  width: 100%;
  margin: 0 0 24px;
  padding: 0;
  background: none;
}

.apc-page-myshippingaddress .desk-content .shippingAddBlock > .table-responsive,
.desk-content .billingAddBlock > .table-responsive,
.apc-page-myshippingaddress .desk-content #right-section .table-shipAddress,
.desk-content #right-section .table-billAddress,
.apc-page-myshippingaddress .desk-content #right-section .table-shipAddress tbody,
.desk-content #right-section .table-billAddress tbody {
  display: contents;
}

.apc-page-myshippingaddress .desk-content #right-section .table-shipAddress thead,
.desk-content #right-section .table-billAddress thead {
  display: none;
}

/* one address card */
.apc-page-myshippingaddress .desk-content #right-section .table-shipAddress tbody tr,
.desk-content #right-section .table-billAddress tbody tr {
  display: grid;
  grid-template-columns: auto auto minmax(0, 1fr);
  grid-template-areas:
    "name    name    badge"
    "addr    addr    addr"
    "phone   phone   phone"
    "edit    del     make";
  grid-template-rows: auto auto 1fr auto;
  align-items: start;
  gap: 2px 8px;
  min-height: 210px;
  padding: 18px 18px 16px;
  border: 1px solid var(--apc-edge);
  border-radius: 0;
  background: #fff;
}

/* the default address gets a stronger outline */
.apc-page-myshippingaddress .desk-content #right-section .table-shipAddress tbody tr:not(:has(td:nth-child(5) a)):not(:has(td[colspan])),
.desk-content #right-section .table-billAddress tbody tr:not(:has(td:nth-child(5) a)):not(:has(td[colspan])) {
  border: 2px solid var(--apc-ink);
  padding: 17px 17px 15px;
}

.apc-page-myshippingaddress .desk-content #right-section .table-shipAddress tbody tr > td,
.desk-content #right-section .table-billAddress tbody tr > td {
  display: block;
  width: auto;
  padding: 0;
  border: 0;
  background: none;
  color: #3b3c41;
  font: 400 14.5px/1.55 var(--apc-font);
  text-align: left;
}

/* Sr. No. */
.apc-page-myshippingaddress .desk-content #right-section .table-shipAddress tbody tr > td:nth-child(1),
.desk-content #right-section .table-billAddress tbody tr > td:nth-child(1) {
  display: none;
}

.apc-page-myshippingaddress .desk-content #right-section .table-shipAddress tbody tr > td:nth-child(2),
.desk-content #right-section .table-billAddress tbody tr > td:nth-child(2) {
  grid-area: name;
  margin-bottom: 6px;
  color: var(--apc-ink);
  font-size: 16.5px;
  font-weight: 700;
}

.apc-page-myshippingaddress .desk-content #right-section .table-shipAddress tbody tr > td:nth-child(3),
.desk-content #right-section .table-billAddress tbody tr > td:nth-child(3) {
  grid-area: addr;
}

.apc-page-myshippingaddress .desk-content #right-section .table-shipAddress tbody tr > td:nth-child(4),
.desk-content #right-section .table-billAddress tbody tr > td:nth-child(4) {
  grid-area: phone;
  margin-top: 6px;
  color: var(--apc-muted);
}

.apc-page-myshippingaddress .desk-content #right-section .table-shipAddress tbody tr > td:nth-child(4):not(:empty)::before,
.desk-content #right-section .table-billAddress tbody tr > td:nth-child(4):not(:empty)::before {
  content: "Phone ";
  font-weight: 600;
}

/* default: "Yes" becomes a badge in the top corner; "Make Default" is a link at the bottom */
.apc-page-myshippingaddress .desk-content #right-section .table-shipAddress tbody tr > td:nth-child(5),
.desk-content #right-section .table-billAddress tbody tr > td:nth-child(5) {
  grid-area: make;
  justify-self: end;
  text-align: right;
}

.apc-page-myshippingaddress .desk-content #right-section .table-shipAddress tbody tr > td:nth-child(5):has(a),
.desk-content #right-section .table-billAddress tbody tr > td:nth-child(5):has(a) {
  align-self: end;
  margin-top: 14px;
  padding-bottom: 7px;
}

.apc-page-myshippingaddress .desk-content #right-section .table-shipAddress tbody tr > td:nth-child(5):not(:has(a)),
.desk-content #right-section .table-billAddress tbody tr > td:nth-child(5):not(:has(a)) {
  grid-area: badge;
  align-self: start;
  padding: 3px 10px;
  border-radius: 999px;
  background: var(--apc-ink);
  color: #fff;
  font-size: 0;
  line-height: 1.5;
  white-space: nowrap;
}

.apc-page-myshippingaddress .desk-content #right-section .table-shipAddress tbody tr > td:nth-child(5):not(:has(a))::before,
.desk-content #right-section .table-billAddress tbody tr > td:nth-child(5):not(:has(a))::before {
  content: "\2713\00a0 Default";
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: .02em;
}

.apc-page-myshippingaddress .desk-content #right-section .table-shipAddress tbody tr > td:nth-child(5) a,
.desk-content #right-section .table-billAddress tbody tr > td:nth-child(5) a {
  color: #91194e;
  font-size: 14px;
  font-weight: 650;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.apc-page-myshippingaddress .desk-content #right-section .table-shipAddress tbody tr > td:nth-child(6) {
  grid-area: edit;
}

.apc-page-myshippingaddress .desk-content #right-section .table-shipAddress tbody tr > td:nth-child(7) {
  grid-area: del;
}

/* billing: Edit and Delete share one cell ("Edit / Delete"); hide the " / " text */
.desk-content #right-section .table-billAddress tbody tr > td:nth-child(6) {
  grid-column: 1 / 3;
  grid-row: 4;
  display: flex;
  gap: 8px;
  font-size: 0;
  white-space: nowrap;
}

.apc-page-myshippingaddress .desk-content #right-section .table-shipAddress tbody tr > td:nth-child(n+6),
.desk-content #right-section .table-billAddress tbody tr > td:nth-child(6) {
  align-self: end;
  margin-top: 14px;
}

/* empty list ("No Record Found") */
.apc-page-myshippingaddress .desk-content #right-section .table-shipAddress tbody tr:has(td[colspan]),
.desk-content #right-section .table-billAddress tbody tr:has(td[colspan]) {
  display: flex;
  align-items: center;
  justify-content: center;
  border-style: dashed;
}

.apc-page-myshippingaddress .desk-content #right-section .table-shipAddress tbody tr > td[colspan],
.desk-content #right-section .table-billAddress tbody tr > td[colspan] {
  display: block;
  color: var(--apc-muted);
  font-size: 0;
  text-align: center;
}

.apc-page-myshippingaddress .desk-content #right-section .table-shipAddress tbody tr > td[colspan]::after,
.desk-content #right-section .table-billAddress tbody tr > td[colspan]::after {
  content: "No saved addresses yet";
  font-size: 15px;
}

@media (max-width: 560px) {
  .apc-page-myshippingaddress .desk-content .shippingAddBlock > a.newaddress,
  .desk-content .billingAddBlock > a.newaddress,
  .apc-page-myshippingaddress .desk-content #right-section .table-shipAddress tbody tr:has(td[colspan]),
  .desk-content #right-section .table-billAddress tbody tr:has(td[colspan]) {
    min-height: 130px;
  }
}

/* "+ Add new address" (and the broker "+ Provide ship from address") as cards, after the addresses.
   The link text starts with "+", so it is hidden and replaced by a clean label. */
.apc-page-myshippingaddress .desk-content .shippingAddBlock > a.newaddress,
.desk-content .billingAddBlock > a.newaddress {
  order: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  float: none;
  min-height: 210px;
  padding: 18px;
  border: 2px dashed #c9c7c3;
  border-radius: 0;
  background: #faf9f7;
  color: var(--apc-ink);
  font: 700 0/1.3 var(--apc-font);
  text-align: center;
  text-transform: none;
  text-decoration: none;
  transition: border-color .16s, background-color .16s;
}

.apc-page-myshippingaddress .desk-content .shippingAddBlock > a.newaddress::before,
.desk-content .billingAddBlock > a.newaddress::before {
  content: "+";
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #bd2167;
  color: #fff;
  font: 400 20px/1 var(--apc-font);
}

.apc-page-myshippingaddress .desk-content .shippingAddBlock > a.newaddress::after,
.desk-content .billingAddBlock > a.newaddress::after {
  content: "Add new address";
  font-size: 15.5px;
}

.apc-page-myshippingaddress .desk-content .shippingAddBlock > a.newaddress[href*="updateShipFrom"]::after {
  content: "Provide ship-from address";
}

.apc-page-myshippingaddress .desk-content .shippingAddBlock > a.newaddress:hover,
.desk-content .billingAddBlock > a.newaddress:hover {
  border-color: var(--apc-ink);
  background: #fff;
  color: var(--apc-ink);
}

.apc-page-myshippingaddress .desk-content .shippingAddBlock > a.newaddress:focus-visible,
.desk-content .billingAddBlock > a.newaddress:focus-visible {
  outline: 3px solid var(--apc-focus);
  outline-offset: 3px;
}

/* "Add new card" (saved cards page) */
.desk-content #div_card .mobile-sec .addnewcard a {
  display: inline-flex;
  align-items: center;
  float: none;
  min-height: 40px;
  padding: 8px 16px;
  border: 1px solid #bd2167;
  border-radius: 0;
  background: #bd2167;
  color: #fff;
  font: 680 14.5px/1.3 var(--apc-font);
  text-transform: none;
  text-decoration: none;
}

.desk-content #div_card .mobile-sec .addnewcard a:hover {
  border-color: #91194e;
  background: #91194e;
  color: #fff;
}

/* Edit / Delete as small buttons (addresses and saved cards) */
.apc-page-myshippingaddress .desk-content #right-section .table-shipAddress tbody td:nth-child(n+6) a,
.desk-content #right-section .table-billAddress tbody td:nth-child(6) a,
.desk-content #div_card .mobile-sec .table-broker tbody td:nth-child(n+5) a {
  display: inline-flex;
  align-items: center;
  width: auto;
  height: auto;
  min-height: 34px;
  margin: 0;
  padding: 6px 14px;
  border: 1px solid #b6b4b5;
  border-radius: 0;
  background: #fff;
  color: var(--apc-ink);
  font: 650 14px/1.3 var(--apc-font);
  text-decoration: none;
  text-indent: 0;
  vertical-align: middle;
}

.apc-page-myshippingaddress .desk-content #right-section .table-shipAddress tbody td:nth-child(n+6) a:hover,
.desk-content #right-section .table-billAddress tbody td:nth-child(6) a:hover,
.desk-content #div_card .mobile-sec .table-broker tbody td:nth-child(n+5) a:hover {
  border-color: var(--apc-ink);
}

.apc-page-myshippingaddress .desk-content #right-section .table-shipAddress tbody td a.delete,
.desk-content #right-section .table-billAddress tbody td:nth-child(6) a[href*="action=delete"],
.desk-content #div_card .mobile-sec .table-broker tbody td:nth-child(6) a {
  border-color: #e3b2c7;
  color: #91194e;
}

.apc-page-myshippingaddress .desk-content #right-section .table-shipAddress tbody td a.delete:hover,
.desk-content #right-section .table-billAddress tbody td:nth-child(6) a[href*="action=delete"]:hover,
.desk-content #div_card .mobile-sec .table-broker tbody td:nth-child(6) a:hover {
  border-color: #91194e;
  background: #fdf3f7;
}

.desk-content #right-section .Paging {
  margin: 0 0 24px;
}

/* saved cards (add_card.tpl list): tiles; apc-account.js adds the brand name and formats the expiry */
.desk-content #div_card .mobile-sec {
  float: none;
  width: 100%;
  margin: 0 0 24px;
  padding: 0;
  border: 0;
}

.desk-content #div_card .mobile-sec .call-tabel {
  float: none;
  display: flex;
  flex-direction: column;
  margin: 0;
}

.desk-content #div_card .mobile-sec .addnewcard {
  float: none;
  align-self: flex-end;
  margin: 0 0 14px;
}

/* Saved cards: "Add new card" in the heading, right of the title (apc_theme/my_card.tpl). The heading button
   clicks the list's own add link, which is hidden while the heading button is there; the heading button is
   hidden when the list has no add link (10 cards saved, or the add / edit form is open). */
.desk-view:has(.desk-heading > a.apc-card-add) #div_card .mobile-sec .addnewcard {
  display: none;
}

.desk-view:not(:has(#div_card .addnewcard)) .desk-heading > a.apc-card-add {
  display: none;
}

.desk-content #div_card .mobile-sec .call-tabel > .row {
  margin: 0;
}

.desk-content #div_card .mobile-sec .call-tabel > .row > [class*="col-"] {
  padding: 0;
}

.desk-content #div_card .mobile-sec .table-responsive {
  border: 0;
  border-radius: 0;
  overflow: visible;
}

.desk-content #div_card .mobile-sec .table-broker,
.desk-content #div_card .mobile-sec .table-broker tbody {
  display: block;
  background: none;
}

.desk-content #div_card .mobile-sec .table-broker thead {
  display: none;
}

.desk-content #div_card .mobile-sec .table-broker tbody {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
  gap: 16px;
}

.desk-content #right-section #div_card .mobile-sec .table-broker tbody tr {
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-areas:
    "brand   brand"
    "number  number"
    "expiry  expiry"
    "edit    delete";
  align-items: center;
  gap: 4px 8px;
  padding: 18px 18px 16px;
  border: 1px solid var(--apc-edge);
  border-radius: 0;
  background: linear-gradient(135deg, #fff 0%, #f6f5f3 100%);
}

.desk-content #right-section #div_card .mobile-sec .table-broker tbody tr > td {
  display: block;
  padding: 0;
  border: 0;
  background: none;
  color: var(--apc-ink);
  font: 400 14.5px/1.4 var(--apc-font);
}

.desk-content #right-section #div_card .mobile-sec .table-broker tbody tr > td:nth-child(1) {
  display: none;
}

.desk-content #right-section #div_card .mobile-sec .table-broker tbody tr > td:nth-child(2) {
  grid-area: brand;
  color: var(--apc-muted);
  font-size: 12.5px;
  font-weight: 750;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.desk-content #right-section #div_card .mobile-sec .table-broker tbody tr > td:nth-child(3) {
  grid-area: number;
  margin: 6px 0 2px;
  font: 650 19px/1.3 ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  letter-spacing: .06em;
}

.desk-content #right-section #div_card .mobile-sec .table-broker tbody tr > td:nth-child(4) {
  grid-area: expiry;
  margin-bottom: 10px;
  color: var(--apc-muted);
}

.desk-content #right-section #div_card .mobile-sec .table-broker tbody tr > td:nth-child(4)::before {
  content: "Expires ";
}

.desk-content #right-section #div_card .mobile-sec .table-broker tbody tr > td:nth-child(5) {
  grid-area: edit;
}

.desk-content #right-section #div_card .mobile-sec .table-broker tbody tr > td:nth-child(6) {
  grid-area: delete;
}

.desk-content #right-section #div_card .mobile-sec .table-broker tbody tr > td a {
  margin: 0;
}

.desk-content #div_card .mobile-sec .ten.columns {
  padding: 28px;
  border: 1px dashed var(--apc-edge);
  border-radius: 0;
  text-align: center;
}

/* ---------- Mobile alerts: carrier autocomplete (apc_theme/mobile_alerts.tpl) ---------- */
.apc-combo {
  position: relative;
}

.desk-content .apc-combo .apc-combo-input {
  width: 100%;
  padding-right: 40px;
}

.apc-combo-toggle {
  position: absolute;
  top: 0;
  right: 0;
  display: grid;
  place-items: center;
  width: 40px;
  height: 44px;
  padding: 0;
  border: 0;
  background: none;
  color: #383b40;
  cursor: pointer;
}

.apc-combo-list {
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  right: 0;
  z-index: 30;
  max-height: 300px;
  margin: 0;
  padding: 6px;
  overflow-y: auto;
  overscroll-behavior: contain;
  list-style: none;
  border: 1px solid var(--apc-edge);
  border-radius: 0;
  background: #fff;
  box-shadow: 0 16px 36px rgba(18, 19, 24, .16);
}

.apc-combo-list[hidden] {
  display: none;
}

.apc-combo-list li {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin: 0;
  padding: 9px 10px;
  border-radius: 0;
  cursor: pointer;
}

.apc-combo-list li:hover,
.apc-combo-list li.is-active {
  background: #f3f2f0;
}

.apc-combo-list li[aria-selected="true"] .apc-combo-name::after {
  content: "\00a0\2713";
  color: #13753a;
}

.apc-combo-name {
  color: var(--apc-ink);
  font: 600 15px/1.35 var(--apc-font);
}

.apc-combo-domain {
  color: var(--apc-muted);
  font: 400 13.5px/1.35 var(--apc-font);
  white-space: nowrap;
}

.apc-combo-list li.apc-combo-none {
  color: var(--apc-muted);
  cursor: default;
}

.apc-combo-list li.apc-combo-none:hover {
  background: none;
}

/* the original select stays in the form (posted + validated) but is visually hidden */
.desk-content select.apc-combo-native {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  border: 0;
  opacity: 0;
}

.desk-content .extension:has(select.error) .apc-combo-input {
  border-color: #b00012;
}

.desk-content .extension .select-wrapper .holder {
  display: none;
}

/* ---------- My APC dashboard (apc_theme/myhome.tpl): white cards with colour-tinted accents, no grey ---------- */
.desk-content #pageContent.apc-dash {
  --dash-line: #eadde3;
  --dash-blue: #1d4ed8;
  --dash-blue-bg: #eef3ff;
  --dash-green: #067647;
  --dash-green-bg: #e9f9ef;
  --dash-amber: #a15c07;
  --dash-amber-bg: #fff4e0;
  --dash-rose: #be123c;
  --dash-rose-bg: #fff0f3;
  color: var(--apc-ink);
  font-family: var(--apc-font);
}

.apc-dash-banner {
  margin: 0 0 20px;
}

.apc-dash-banner img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 0;
}

.desk-content #pageContent.apc-dash #right-section {
  padding: 0;
  border: 0;
  background: none;
  box-shadow: none;
}

/* hero */
.apc-dash-hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px 40px;
  align-items: center;
  overflow: hidden;
  margin: 0 0 18px;
  padding: clamp(22px, 3vw, 36px);
  border-radius: 0;
  background:
    radial-gradient(120% 140% at 100% 0%, rgba(232, 92, 156, .35) 0%, rgba(232, 92, 156, 0) 55%),
    linear-gradient(135deg, #bd2167 0%, #91194e 60%, #5c0f31 100%);
  color: #fff;
}

.apc-dash-hero::after {
  content: "";
  position: absolute;
  right: -60px;
  bottom: -90px;
  width: 260px;
  height: 260px;
  border: 38px solid rgba(255, 255, 255, .07);
  border-radius: 50%;
  pointer-events: none;
}

.apc-dash-kicker {
  margin: 0 0 6px;
  color: rgba(255, 255, 255, .82);
  font: 750 12.5px/1.3 var(--apc-font);
  letter-spacing: .14em;
  text-transform: uppercase;
}

.desk-content #right-section .apc-dash-hero h1 {
  margin: 0 0 6px;
  padding: 0;
  color: #fff;
  font: 700 var(--apc-h1)/1.06 var(--apc-font);
  letter-spacing: -.04em;
  text-transform: none;
}

.apc-dash-hero p {
  margin: 0;
  color: rgba(255, 255, 255, .88);
  font-size: 16px;
}

.apc-dash-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}

.desk-content a.apc-dash-btn {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 9px 18px;
  border: 1px solid rgba(255, 255, 255, .55);
  border-radius: 0;
  background: rgba(255, 255, 255, .08);
  color: #fff;
  font: 680 14.5px/1.2 var(--apc-font);
  text-decoration: none;
  transition: background-color .16s, border-color .16s;
}

.desk-content a.apc-dash-btn:hover {
  border-color: #fff;
  background: rgba(255, 255, 255, .18);
  color: #fff;
}

.desk-content a.apc-dash-btn.is-solid {
  border-color: #fff;
  background: #fff;
  color: #91194e;
}

.desk-content a.apc-dash-btn.is-solid:hover {
  background: #fbeaf2;
  color: #5c0f31;
}

.desk-content a.apc-dash-btn:focus-visible {
  outline: 3px solid #fff;
  outline-offset: 2px;
}

.apc-dash-credit {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 2px;
  min-width: 200px;
  padding: 18px 22px;
  border: 1px solid rgba(255, 255, 255, .3);
  border-radius: 0;
  background: rgba(255, 255, 255, .12);
  backdrop-filter: blur(4px);
}

.apc-dash-credit-label,
.apc-dash-credit-note {
  color: rgba(255, 255, 255, .85);
  font-size: 13.5px;
}

.apc-dash-credit .points {
  color: #fff;
  font: 760 22.8px/1.15 var(--apc-font);
  letter-spacing: -.03em;
}

/* status tiles */
.apc-dash-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin: 0 0 18px;
}

.desk-content a.apc-stat {
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-areas:
    "ico num"
    "ico txt";
  align-items: center;
  gap: 0 14px;
  padding: 16px 18px;
  border: 1px solid transparent;
  border-radius: 0;
  color: var(--apc-ink);
  text-decoration: none;
  transition: transform .16s, box-shadow .16s;
}

.desk-content a.apc-stat:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(18, 19, 24, .08);
}

.desk-content a.apc-stat:focus-visible {
  outline: 3px solid var(--apc-focus);
  outline-offset: 2px;
}

.apc-stat-ico {
  grid-area: ico;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 0;
  background: #fff;
}

.apc-stat-ico svg {
  width: 22px;
  height: 22px;
}

.apc-stat strong {
  grid-area: num;
  font: 760 20px/1.1 var(--apc-font);
  letter-spacing: -.03em;
}

.apc-stat > span:last-child {
  grid-area: txt;
  font: 600 13.5px/1.3 var(--apc-font);
}

.apc-stat.is-blue { background: var(--dash-blue-bg); border-color: #d9e3ff; }
.apc-stat.is-blue .apc-stat-ico,
.apc-stat.is-blue strong { color: var(--dash-blue); }
.apc-stat.is-green { background: var(--dash-green-bg); border-color: #c9efd8; }
.apc-stat.is-green .apc-stat-ico,
.apc-stat.is-green strong { color: var(--dash-green); }
.apc-stat.is-amber { background: var(--dash-amber-bg); border-color: #fbe2b6; }
.apc-stat.is-amber .apc-stat-ico,
.apc-stat.is-amber strong { color: var(--dash-amber); }
.apc-stat.is-rose { background: var(--dash-rose-bg); border-color: #ffd5de; }
.apc-stat.is-rose .apc-stat-ico,
.apc-stat.is-rose strong { color: var(--dash-rose); }

/* cards */
.apc-dash-card {
  margin: 0 0 18px;
  padding: clamp(16px, 2vw, 24px);
  border: 1px solid var(--dash-line);
  border-radius: 0;
  background: #fff;
}

.apc-dash-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 0 0 14px;
}

.desk-content #right-section .apc-dash-card h2 {
  margin: 0;
  padding: 0;
  border: 0;
  color: var(--apc-ink);
  font: 700 var(--apc-h3)/1.25 var(--apc-font);
  letter-spacing: -.02em;
  text-transform: none;
}

.desk-content a.apc-dash-more {
  color: #91194e;
  font: 650 14px var(--apc-font);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.apc-dash-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 18px;
  align-items: start;
}

.apc-dash-grid .apc-dash-card {
  margin: 0;
}

.apc-dash-empty {
  margin: 0;
  padding: 18px;
  border: 1px dashed var(--dash-line);
  border-radius: 0;
  color: var(--apc-muted);
  font-size: 14.5px;
  text-align: center;
  list-style: none;
}

/* order tabs */
.desk-content #right-section .apc-dash-tabs.nav-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0 0 14px;
  padding: 0;
  border: 0;
}

.desk-content #right-section .apc-dash-tabs.nav-tabs::before,
.desk-content #right-section .apc-dash-tabs.nav-tabs::after {
  display: none;
}

.desk-content #right-section .apc-dash-tabs.nav-tabs > li {
  float: none;
  margin: 0;
}

.desk-content #right-section .apc-dash-tabs.nav-tabs > li > a {
  margin: 0;
  padding: 8px 14px;
  border: 1px solid var(--dash-line);
  border-radius: 999px;
  background: #fff;
  color: var(--apc-ink);
  font: 650 14px/1.3 var(--apc-font);
  text-transform: none;
}

.desk-content #right-section .apc-dash-tabs.nav-tabs > li > a:hover {
  border-color: #e3b5b1;
  background: #fdf5f8;
}

.desk-content #right-section .apc-dash-tabs.nav-tabs > li.active > a,
.desk-content #right-section .apc-dash-tabs.nav-tabs > li.active > a:hover,
.desk-content #right-section .apc-dash-tabs.nav-tabs > li.active > a:focus {
  border-color: #bd2167;
  background: #bd2167;
  color: #fff;
}

.apc-dash .tab-pane {
  display: none;
}

.apc-dash .tab-pane.active {
  display: block;
}

/* order table */
.apc-orders-wrap {
  overflow-x: auto;
  border: 1px solid var(--dash-line);
  border-radius: 0;
}

.desk-content #right-section table.apc-orders {
  width: 100%;
  margin: 0;
  border-collapse: collapse;
  font: 400 14.5px/1.45 var(--apc-font);
}

.desk-content #right-section table.apc-orders thead th {
  padding: 11px 14px;
  border: 0;
  border-bottom: 1px solid var(--dash-line);
  background: #fdf5f8;
  color: #5c0f31;
  font: 700 12.5px/1.3 var(--apc-font);
  letter-spacing: .04em;
  text-align: left;
  text-transform: uppercase;
  white-space: nowrap;
}

.desk-content #right-section table.apc-orders tbody td {
  padding: 13px 14px;
  border: 0;
  border-top: 1px solid var(--dash-line);
  background: #fff;
  color: #2c2c30;
  vertical-align: middle;
}

.desk-content #right-section table.apc-orders tbody tr.apc-order-row:first-child td {
  border-top: 0;
}

.desk-content #right-section table.apc-orders tbody tr.apc-order-row:hover td {
  background: #fefafc;
}

.desk-content a.apc-order-no {
  color: var(--apc-ink);   /* no red in the order listing (user request) */
  font-weight: 700;
  text-decoration: none;
}

.desk-content a.apc-order-no:hover {
  text-decoration: underline;
}

.apc-due {
  color: #b00012;
  font-weight: 700;
}

.desk-content a.apc-track {
  display: block;
  color: var(--dash-blue);
  font-size: 13px;
  text-decoration: underline;
}

.apc-status {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 999px;
  font: 650 12.5px/1.4 var(--apc-font);
  white-space: nowrap;
}

.apc-status.is-info { background: var(--dash-blue-bg); color: var(--dash-blue); }
.apc-status.is-ready { background: var(--dash-green-bg); color: var(--dash-green); }
.apc-status.is-prod { background: var(--dash-amber-bg); color: var(--dash-amber); }
.apc-status.is-hold,
.apc-status.is-error { background: var(--dash-rose-bg); color: var(--dash-rose); }

.apc-order-action {
  text-align: right;
  white-space: nowrap;
}

.desk-content a.apc-pay {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 6px 14px;
  border-radius: 0;
  background: #bd2167;
  color: #fff;
  font: 700 13.5px var(--apc-font);
  text-decoration: none;
}

.desk-content a.apc-pay:hover {
  background: #91194e;
  color: #fff;
}

.apc-paid {
  color: var(--dash-green);
  font: 700 13.5px var(--apc-font);
}

.apc-paid::before {
  content: "\2713\00a0";
}

/* Show / Hide items toggle (myhome.tpl script) */
.desk-content #right-section .apc-order-toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin: 4px 0 0;
  padding: 3px 9px;
  border: 1px solid #c9d6f2;
  border-radius: 999px;
  background: #fff;
  color: var(--dash-blue);
  font: 650 12.5px/1.4 var(--apc-font);
  cursor: pointer;
}

.desk-content #right-section .apc-order-toggle:hover {
  border-color: #9fb6ea;
  background: var(--dash-blue-bg);
}

.desk-content #right-section .apc-order-toggle:focus-visible {
  outline: 3px solid var(--apc-focus);
  outline-offset: 2px;
}

.apc-order-toggle svg {
  transition: transform .16s;
}

.apc-order-toggle[aria-expanded="true"] svg {
  transform: rotate(180deg);
}

.apc-order-toggle .apc-when-open,
.apc-order-toggle[aria-expanded="true"] .apc-when-closed {
  display: none;
}

.apc-order-toggle[aria-expanded="true"] .apc-when-open {
  display: inline;
}

.desk-content #right-section table.apc-orders td[data-label="Order"] {
  white-space: nowrap;
}

.desk-content #right-section table.apc-orders td[data-label="Order"] .apc-order-toggle {
  display: flex;
  width: max-content;
}

.desk-content #right-section table.apc-orders tr.apc-order-row.is-open td {
  background: #f7f9ff;
}

/* collapsed item rows stay hidden (also under the phone rules that set display:block) */
.desk-content #right-section table.apc-orders tr.apc-order-details[hidden] {
  display: none !important;
}

/* item rows loaded by the toggle (ajax_order_details.php) */
.desk-content #right-section table.apc-orders tr.apc-order-details td {
  padding: 0 14px;
  border-top: 0;
  background: #fff;
}

.desk-content #right-section table.apc-orders tr.apc-order-details td:empty {
  display: none;
}

.desk-content #right-section table.apc-orders tr.apc-order-details td:not(:empty) {
  padding: 0 14px 14px;
}

.desk-content #right-section table.apc-orders tr.apc-order-details table {
  width: 100%;
  margin: 0;
  border: 1px solid #dbe4f7;
  border-radius: 0;
  font-size: 13.5px;
}

.desk-content #right-section table.apc-orders tr.apc-order-details table thead tr,
.desk-content #right-section table.apc-orders tr.apc-order-details table th {
  background: var(--dash-blue-bg) !important;
  color: #1e3a8a;
  font: 700 12px/1.3 var(--apc-font);
  letter-spacing: .03em;
  text-transform: uppercase;
}

.desk-content #right-section table.apc-orders tr.apc-order-details table td,
.desk-content #right-section table.apc-orders tr.apc-order-details table th {
  padding: 8px 10px;
  border-color: #dbe4f7;
}

/* item status inside the loaded rows (ajax_order_details.tpl: a.btn-gold.action) shown as a status pill */
.desk-content #right-section table.apc-orders tr.apc-order-details a.btn-gold.action {
  display: inline-block;
  width: auto;
  min-width: 0;
  height: auto;
  margin: 0;
  padding: 3px 12px;
  border: 0;
  border-radius: 999px;
  background: var(--dash-blue-bg);
  box-shadow: none;
  color: var(--dash-blue);
  font: 650 12.5px/1.4 var(--apc-font);
  text-align: center;
  text-decoration: none;
  text-transform: none;
  white-space: nowrap;
  cursor: default;
  pointer-events: none;
}

.desk-content #right-section table.apc-orders tr.apc-order-details table td {
  vertical-align: middle;
}

.desk-content #right-section table.apc-orders tr.apc-order-details table a:not(.btn-gold) {
  color: #91194e;
  font-weight: 600;
}

.desk-content #right-section table.apc-orders tr.apc-order-empty td {
  padding: 26px 14px;
  color: var(--apc-muted);
  text-align: center;
}

/* notifications */
.desk-content .dashboard .dashboard-page .apc-dash-notes .newsContent {
  height: auto;
  max-height: 840px;
  margin: 0;
  overflow: auto;
}

.apc-note {
  display: flex;
  gap: 14px;
  padding: 14px 14px 14px 16px;
  border-left: 3px solid #bd2167;
  border-radius: 0 0 0 0;
  background: #fdf5f8;
}

.apc-note + .apc-note {
  margin-top: 10px;
}

.apc-note-img {
  flex: 0 0 72px;
  width: 72px;
  height: 72px;
  border-radius: 0;
  object-fit: cover;
}

.desk-content #right-section .apc-note h3 {
  margin: 0 0 4px;
  color: var(--apc-ink);
  font: 700 15.5px/1.35 var(--apc-font);
  text-transform: none;
}

.apc-note-text,
.apc-note-text p {
  margin: 0;
  color: #3b3c41;
  font-size: 14.5px;
  line-height: 1.55;
}

.apc-note-meta {
  display: block;
  margin-top: 6px;
  color: #8a5a55;
  font-size: 12.5px;
}

/* tickets */
.apc-tickets {
  margin: 0;
  padding: 0;
  list-style: none;
}

.apc-tickets > li:not(.apc-dash-empty) {
  padding: 12px 0;
  border-top: 1px solid var(--dash-line);
}

.apc-tickets > li:not(.apc-dash-empty):first-child {
  border-top: 0;
  padding-top: 0;
}

/* each ticket row opens the ticket view page (TicketDetail) */
.apc-tickets > li.apc-ticket-item {
  position: relative;
  margin: 0 -10px;
  padding-left: 10px;
  padding-right: 10px;
  border-radius: 0;
  transition: background-color .16s;
}

.apc-tickets > li.apc-ticket-item:hover {
  background: #fdf5f8;
}

.desk-content a.apc-ticket-link {
  color: var(--apc-ink);
  font-weight: 700;
  text-decoration: none;
}

.desk-content a.apc-ticket-link::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 0;
}

.desk-content .apc-ticket-item:hover a.apc-ticket-link {
  color: #91194e;
  text-decoration: underline;
}

.desk-content a.apc-ticket-link:focus-visible {
  outline: none;
}

.desk-content a.apc-ticket-link:focus-visible::after {
  outline: 3px solid var(--apc-focus);
  outline-offset: 2px;
}

.desk-content .apc-ticket-meta a {
  position: relative;
  z-index: 1;
}

.apc-ticket-main {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.apc-ticket-cat {
  padding: 2px 10px;
  border-radius: 999px;
  background: var(--dash-blue-bg);
  color: var(--dash-blue);
  font: 650 12.5px/1.4 var(--apc-font);
}

.apc-ticket-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 14px;
  margin-top: 4px;
  color: var(--apc-muted);
  font-size: 13.5px;
}

.desk-content .apc-ticket-meta a,
.desk-content .apc-ticket-meta a .glyphicon {
  color: #91194e;
}

.desk-content .apc-dash-empty a {
  color: #91194e;
  text-decoration: underline;
}

@media (max-width: 1100px) {
  .apc-dash-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .apc-dash-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 760px) {
  .apc-dash-hero {
    grid-template-columns: minmax(0, 1fr);
  }

  .apc-dash-credit {
    min-width: 0;
  }

  /* order rows become cards */
  .apc-orders-wrap {
    overflow: visible;
    border: 0;
  }

  .desk-content #right-section table.apc-orders,
  .desk-content #right-section table.apc-orders tbody {
    display: block;
  }

  .desk-content #right-section table.apc-orders thead {
    display: none;
  }

  .desk-content #right-section table.apc-orders tr.apc-order-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px 12px;
    margin-top: 12px;
    padding: 14px;
    border: 1px solid var(--dash-line);
    border-radius: 0;
  }

  .desk-content #right-section table.apc-orders tr.apc-order-row.is-open {
    border-radius: 0 0 0 0;
    background: #fefafc;
  }

  .desk-content #right-section table.apc-orders tr.apc-order-row.is-open td,
  .desk-content #right-section table.apc-orders tr.apc-order-row:hover td {
    background: none;
  }

  .desk-content #right-section table.apc-orders tr.apc-order-row:first-child {
    margin-top: 0;
  }

  .desk-content #right-section table.apc-orders tr.apc-order-row td {
    display: block;
    padding: 0;
    border: 0;
    background: none;
  }

  .desk-content #right-section table.apc-orders tr.apc-order-row td[data-label]::before {
    content: attr(data-label);
    display: block;
    color: var(--apc-muted);
    font: 650 11.5px/1.3 var(--apc-font);
    letter-spacing: .05em;
    text-transform: uppercase;
  }

  .desk-content #right-section table.apc-orders td.apc-order-action {
    grid-column: 1 / -1;
    text-align: left;
  }

  .desk-content #right-section table.apc-orders tr.apc-order-details {
    display: block;
    padding: 0 14px 14px;
    border: 1px solid var(--dash-line);
    border-top: 0;
    border-radius: 0 0 0 0;
  }

  .desk-content #right-section table.apc-orders tr.apc-order-details td,
  .desk-content #right-section table.apc-orders tr.apc-order-details td:not(:empty) {
    display: block;
    padding: 0;
    overflow-x: auto;
  }

  .desk-content #right-section table.apc-orders tr.apc-order-empty,
  .desk-content #right-section table.apc-orders tr.apc-order-empty td {
    display: block;
  }
}

@media (max-width: 460px) {
  .desk-content a.apc-stat {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas:
      "ico"
      "num"
      "txt";
    gap: 6px;
    padding: 14px;
  }

  .apc-stat-ico {
    width: 38px;
    height: 38px;
  }
}

@media (max-width: 330px) {
  .apc-dash-stats {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* ---------- My orders list (apc_theme/order_ajax.tpl, MyOrder) ----------
   Reuses the dashboard order table (table.apc-orders); this adds the colour variables, the multiple-payment
   bar, Reorder / Select, artwork thumbnails and the reprint box. */
.desk-content .apc-ordlist {
  --dash-line: #eadde3;
  --dash-blue: #1d4ed8;
  --dash-blue-bg: #eef3ff;
  --dash-green: #067647;
  --dash-green-bg: #e9f9ef;
  --dash-amber: #a15c07;
  --dash-amber-bg: #fff4e0;
  --dash-rose: #be123c;
  --dash-rose-bg: #fff0f3;
  margin: 0 0 24px;
  color: var(--apc-ink);
  font-family: var(--apc-font);
}

/* reprint box (my_order.tpl) */
.desk-content #right-section .reprintBlock {
  display: block;
  margin: 0 0 18px;
  padding: 16px 20px;
  border: 1px solid #eadde3;
  border-radius: 0;
  background: linear-gradient(135deg, #fff 0%, #fdf5f8 100%);
}

.desk-content #right-section .reprintBlock h4 {
  margin: 0 0 10px;
  font-size: 17px;
  text-align: left;
}

.desk-content #right-section .reprintBlock input.form-control {
  height: 44px;
  text-transform: none;
}

.desk-content #right-section .reprintBlock input.form-control::placeholder {
  text-transform: none;
}

.desk-content #right-section .reprintBlock .row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0;
}

.desk-content #right-section .reprintBlock .row::before,
.desk-content #right-section .reprintBlock .row::after {
  display: none;
}

.desk-content #right-section .reprintBlock .row > [class*="col-"] {
  float: none;
  width: auto;
  padding: 0;
}

.desk-content #right-section .reprintBlock .row > [class*="col-"]:first-child {
  flex: 1 1 280px;
}

.desk-content #right-section .reprintBlock input.btn {
  min-height: 44px;
  padding: 10px 22px;
}

/* multiple payment bar (hidden when no order on the page has a balance) */
.desk-content .apc-ordlist .apc-ordlist-multipay {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 20px;
  width: auto;
  margin: 0 0 14px;
  padding: 14px 18px;
  border: 1px solid #fbe2b6;
  border-radius: 0;
  background: var(--dash-amber-bg);
}

.desk-content .apc-ordlist:not(:has(input[name="ID[]"])) .apc-ordlist-multipay {
  display: none;
}

.apc-ordlist-multipay-text {
  flex: 1 1 300px;
  display: grid;
  gap: 2px;
  font-size: 14px;
}

.apc-ordlist-multipay-text span {
  color: #6b4a12;
}

.desk-content .apc-ordlist .apc-ordlist-multipay .totalAmount {
  float: none;
}

/* the old .orderPrice was a grey price tag with an arrow: show the selected total as plain text */
.desk-content .apc-ordlist #multyTotal.orderPrice {
  position: static;
  float: none;
  width: auto;
  padding: 0;
  background: none;
  color: var(--apc-ink);
  font: 760 18px/1.2 var(--apc-font);
  text-align: right;
  white-space: nowrap;
}

.desk-content .apc-ordlist #multyTotal.orderPrice::before {
  content: none;
  display: none;
}

.desk-content .apc-ordlist a.apc-ordlist-paysel {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 8px 16px;
  border-radius: 0;
  background: var(--apc-ink);
  color: #fff;
  font: 700 14px var(--apc-font);
  text-decoration: none;
}

.desk-content .apc-ordlist a.apc-ordlist-paysel:hover {
  background: #000;
}

/* cells */
.desk-content .apc-ordlist a.apc-ordlist-reorder {
  display: inline-block;
  margin-top: 3px;
  color: #91194e;
  font: 600 13px var(--apc-font);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.desk-content .apc-ordlist td[data-label="Order"] a.apc-ordlist-reorder {
  display: block;
  width: max-content;
}

.apc-ordlist-shipdetail {
  display: block;
  color: var(--apc-muted);
  font-size: 13px;
}

.apc-ordlist-shipdetail.is-urgent {
  color: #b00012;
  font-weight: 700;
}

.apc-ordlist-thumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  color: var(--apc-muted);
  font-size: 13px;
}

.desk-content .apc-ordlist .apc-ordlist-thumbs {
  display: block;
  max-width: 150px;
  line-height: 0;
}

.desk-content .apc-ordlist .apc-ordlist-thumbs * {
  display: inline !important;
  float: none !important;
}

.desk-content .apc-ordlist .apc-ordlist-thumbs br {
  display: none !important;
}

.desk-content .apc-ordlist .apc-ordlist-thumbs img {
  display: inline-block !important;
  margin: 0 4px 4px 0;
  width: 44px;
  height: 44px;
  border: 1px solid var(--dash-line);
  border-radius: 0;
  object-fit: contain;
  background: #fff;
}

.desk-content .apc-ordlist .apc-ordlist-thumbs a {
  color: #91194e;
}

.desk-content .apc-ordlist .apc-order-action {
  display: table-cell;
}

.desk-content .apc-ordlist label.apc-ordlist-select {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 6px;
  margin: 6px 0 0;
  color: var(--apc-muted);
  font: 600 13px var(--apc-font);
  cursor: pointer;
}

.desk-content .apc-ordlist label.apc-ordlist-select input {
  width: 16px;
  height: 16px;
  margin: 0;
  accent-color: #bd2167;
}

.desk-content .apc-ordlist tr.apc-order-row:has(input[name="ID[]"]:checked) td {
  background: #fffaf0;
}

.desk-content .apc-ordlist tr.apc-order-empty a {
  color: #91194e;
  text-decoration: underline;
}

.desk-content .apc-ordlist td[data-label="Date"] {
  white-space: nowrap;
}

/* table cells ignore min-width: size the thumbnail box itself (two 44px thumbnails per row) */
.desk-content .apc-ordlist td.apc-ordlist-art .apc-ordlist-thumbs {
  width: 100px;
}

/* pager (My orders list and Support tickets) */
.apc-ordlist-paging {
  margin-top: 16px;
}

.desk-content .apc-ordlist-paging .pagination,
.apc-page-myticket .desk-content #right-section .Paging .pagination {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px;
  margin: 0;
  padding: 0;
}

.desk-content .apc-ordlist-paging .pagination > li,
.apc-page-myticket .desk-content #right-section .Paging .pagination > li {
  display: block;
  float: none;
}

.desk-content .apc-ordlist-paging .pagination > li > a,
.apc-page-myticket .desk-content #right-section .Paging .pagination > li > a,
.desk-content .apc-ordlist-paging .pagination > li > span,
.apc-page-myticket .desk-content #right-section .Paging .pagination > li > span {
  float: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  margin: 0;
  padding: 0 12px;
  border: 1px solid #eadde3;
  border-radius: 999px;
  background: #fff;
  color: var(--apc-ink);
  font: 650 14px var(--apc-font);
}

.desk-content .apc-ordlist-paging .pagination > li > a:hover,
.apc-page-myticket .desk-content #right-section .Paging .pagination > li > a:hover {
  border-color: #bd2167;
  color: #91194e;
}

.desk-content .apc-ordlist-paging .pagination > li.active > a,
.apc-page-myticket .desk-content #right-section .Paging .pagination > li.active > a,
.desk-content .apc-ordlist-paging .pagination > li.active > span,
.apc-page-myticket .desk-content #right-section .Paging .pagination > li.active > span {
  border-color: #bd2167;
  background: #bd2167;
  color: #fff;
}

.apc-page-myticket .desk-content #right-section .Paging {
  margin: 4px 0 24px;
}

/* centre the pager: the old .myOrderBlock .pagination floated it right; .next/.previous had arrow images */
.desk-content .apc-ordlist-paging,
.desk-content .apc-ordlist-paging nav,
.apc-page-myticket .desk-content #right-section .Paging,
.apc-page-myticket .desk-content #right-section .Paging nav {
  display: flex;
  justify-content: center;
  width: 100%;
  clear: both;
}

.desk-content .apc-ordlist-paging .pagination,
.apc-page-myticket .desk-content #right-section .Paging .pagination {
  float: none;
  width: auto;
  margin: 0 auto;
}

.desk-content .apc-ordlist-paging .pagination > li.next,
.desk-content .apc-ordlist-paging .pagination > li.previous,
.apc-page-myticket .desk-content #right-section .Paging .pagination > li.next,
.apc-page-myticket .desk-content #right-section .Paging .pagination > li.previous {
  width: auto;
  height: auto;
  margin: 0;
  padding: 0;
  background: none;
}

.desk-content .apc-ordlist-paging .pagination > li > a:hover,
.apc-page-myticket .desk-content #right-section .Paging .pagination > li > a:hover {
  background: #fdf5f8;
}

.desk-content .apc-ordlist-paging .pagination > li.active > a:hover,
.apc-page-myticket .desk-content #right-section .Paging .pagination > li.active > a:hover {
  background: #bd2167;
  color: #fff;
}

@media (max-width: 760px) {
  .desk-content .apc-ordlist .apc-order-action {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
  }

  .desk-content .apc-ordlist label.apc-ordlist-select {
    margin: 0;
  }
}

/* ---------- order detail (apc_theme/my_order_detail.tpl, MyOrder?todo=OrderDetail) ---------- */
.desk-content .apc-od {
  --od-line: #eadde3;
  --od-soft: #fdf5f8;
  color: var(--apc-ink);
  font: 400 15px/1.5 var(--apc-font);
}

.apc-od-alert {
  margin: 0 0 16px;
  padding: 12px 16px;
  border-radius: 0;
  font-size: 15px;
}

.apc-od-alert.is-success { border: 1px solid #c9efd8; background: #e9f9ef; color: #067647; }
.apc-od-alert.is-error { border: 1px solid #ffd5de; background: #fff0f3; color: #be123c; }

/* neutralise the old layout rules on the classes kept for scripts */
.desk-content .apc-od.orderDtlBlock {
  display: block;
  margin-bottom: 24px;
}

.desk-content .apc-od .orderSection {
  float: none;
  width: auto;
  padding: 18px 20px;
  margin: 0 0 16px;
}

.desk-content .apc-od .ticketOrderBlock {
  display: block;
  margin-top: 0;
  position: static;
}

.desk-content .apc-od a.newticket {
  position: static;
  padding: 8px 16px;
  background-image: none;
}

.desk-content .apc-od .fileupload-buttonbar .fileUpload,
.desk-content .apc-od .fileupload-buttonbar .fileUploadCancel,
.desk-content .apc-od .fileupload-buttonbar .fileUploadCancel a {
  float: none;
  width: auto;
  margin: 0;
}

.desk-content .apc-od .fileupload-buttonbar::before,
.desk-content .apc-od .fileupload-buttonbar::after {
  display: none;
}

/* header */
.apc-od-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px 24px;
  margin: 0 0 18px;
  padding: 18px 22px;
  border: 1px solid var(--od-line);
  border-radius: 0;
  background: linear-gradient(135deg, #fff 0%, var(--od-soft) 100%);
}

.apc-od-head-main {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 28px;
}

.apc-od .apc-status {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 999px;
  font: 650 13px/1.4 var(--apc-font);
  white-space: nowrap;
}

.apc-od .apc-status.is-info { background: #eef3ff; color: #1d4ed8; }
.apc-od .apc-status.is-ready { background: #e9f9ef; color: #067647; }
.apc-od .apc-status.is-prod { background: #fff4e0; color: #a15c07; }
.apc-od .apc-status.is-hold { background: #fff0f3; color: #be123c; }

.apc-od-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 28px;
  margin: 0;
}

.apc-od-facts dt,
.apc-od-contact dt,
.apc-od-sum dt {
  color: var(--apc-muted);
  font-weight: 400;
}

.apc-od-facts dt {
  font-size: 12.5px;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.apc-od-facts dd {
  margin: 0;
  font-weight: 700;
}

.apc-od-due {
  color: #b00012;
}

.apc-od-head-actions,
.apc-od-side-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.desk-content .apc-od a.apc-od-btn,
.desk-content .apc-od button.apc-od-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 8px 16px;
  border: 1px solid #e3c9c6;
  border-radius: 0;
  background: #fff;
  color: var(--apc-ink);
  font: 650 14px/1.2 var(--apc-font);
  text-decoration: none;
  text-transform: none;
  cursor: pointer;
}

.desk-content .apc-od a.apc-od-btn:hover,
.desk-content .apc-od button.apc-od-btn:hover {
  border-color: var(--apc-ink);
}

.desk-content .apc-od a.apc-od-btn.is-primary {
  border-color: #bd2167;
  background: #bd2167;
  color: #fff;
}

.desk-content .apc-od a.apc-od-btn.is-primary:hover {
  border-color: #91194e;
  background: #91194e;
}

.desk-content .apc-od a.apc-od-btn.is-dark {
  border-color: var(--apc-ink);
  background: var(--apc-ink);
  color: #fff;
}

.desk-content .apc-od a.apc-od-link {
  color: #91194e;
  font-weight: 650;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* design tabs */
.desk-content .apc-od .apc-od-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0 0 16px;
  padding: 0;
  border: 0;
  list-style: none;
}

.desk-content .apc-od .apc-od-tabs li {
  float: none;
  margin: 0;
}

.desk-content .apc-od .apc-od-tabs li a {
  display: inline-block;
  padding: 7px 14px;
  border: 1px solid var(--od-line);
  border-radius: 999px;
  background: #fff;
  color: var(--apc-ink);
  font: 650 14px/1.3 var(--apc-font);
  text-transform: none;
}

.desk-content .apc-od .apc-od-tabs li a.active {
  border-color: #bd2167;
  background: #bd2167;
  color: #fff;
}

/* layout */
.apc-od-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 20px;
  align-items: start;
}

.desk-content #right-section .apc-od .apc-od-h2 {
  margin: 0 0 12px;
  padding: 0;
  border: 0;
  color: var(--apc-ink);
  font: 700 var(--apc-h3)/1.3 var(--apc-font);
  letter-spacing: -.02em;
  text-transform: none;
}

.desk-content #right-section .apc-od .apc-od-h2 span {
  color: var(--apc-muted);
  font-weight: 500;
}

.apc-od-card {
  margin: 0 0 16px;
  padding: 18px 20px;
  border: 1px solid var(--od-line);
  border-radius: 0;
  background: #fff;
}

.apc-od-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 0 0 12px;
}

.desk-content #right-section .apc-od-card-head .apc-od-h2 {
  margin: 0;
}

/* item card */
.desk-content .apc-od form.apc-od-item {
  margin: 0 0 16px;
  border: 1px solid var(--od-line);
  border-radius: 0;
  background: #fff;
  overflow: hidden;
}

.apc-od-item-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px 20px;
  padding: 16px 20px;
  border-bottom: 1px solid var(--od-line);
  background: var(--od-soft);
}

.apc-od-item-no {
  color: #8a5a55;
  font: 650 12.5px/1.3 var(--apc-font);
  letter-spacing: .03em;
}

.desk-content #right-section .apc-od .apc-od-item-name {
  margin: 2px 0 0;
  padding: 0;
  color: var(--apc-ink);
  font: 700 18px/1.3 var(--apc-font);
  text-transform: none;
}

.apc-od-item-side {
  display: flex;
  align-items: center;
  gap: 14px;
}

.apc-od-item-price {
  font: 760 20px/1.2 var(--apc-font);
}

.apc-od-item-body {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: 20px;
  padding: 18px 20px;
}

/* specifications: label / value rows */
.desk-content .apc-od .apc-od-specs .prohead {
  display: grid;
  grid-template-columns: minmax(110px, 40%) minmax(0, 1fr);
  gap: 12px;
  margin: 0;
  padding: 7px 0;
  border-bottom: 1px dashed var(--od-line);
  color: var(--apc-ink);
  font: 400 14.5px/1.45 var(--apc-font);
  word-break: break-word;
}

.desk-content .apc-od .apc-od-specs .prohead:last-child {
  border-bottom: 0;
}

.desk-content .apc-od .apc-od-specs .protitle {
  color: var(--apc-muted);
  font-weight: 400;
}

.apc-od-val {
  font-weight: 600;
}

/* artwork */
.apc-od-files {
  padding: 14px 16px;
  border: 1px solid var(--od-line);
  border-radius: 0;
  background: #fff;
}

.desk-content #right-section .apc-od-files h4,
.desk-content #right-section .apc-od-upload h4 {
  margin: 0 0 10px;
  padding: 0;
  color: var(--apc-ink);
  font: 700 15px/1.3 var(--apc-font);
  text-transform: none;
}

.apc-od-preview img {
  max-width: 100%;
  height: auto;
  border-radius: 0;
}

.apc-od-preview a {
  color: #91194e;
}

.apc-od-downloads {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 12px;
  margin-top: 10px;
  font-size: 14px;
}

.apc-od-downloads a {
  color: #91194e;
  font-weight: 600;
  text-decoration: underline;
}

.desk-content .apc-od .apc-od-downloads a.btn {
  display: inline-flex;
  min-height: 34px;
  padding: 6px 12px;
  border-radius: 0;
  font-size: 13.5px;
  text-decoration: none;
}

.apc-od-files .eddmOpen {
  margin-top: 12px;
}

.apc-od-files:not(:has(img, a, button))::after {
  content: "No artwork uploaded yet.";
  display: block;
  color: var(--apc-muted);
  font-size: 14px;
}

.desk-content .apc-od .fileupload-buttonbar .btn.btn-upload,
.desk-content .apc-od .fileupload-buttonbar .btn.btn-upload-cancel {
  width: auto !important;
  min-width: 0 !important;
}

/* upload */
.apc-od-upload {
  margin: 0 20px 18px;
  padding: 16px;
  border: 2px dashed #e7c3bf;
  border-radius: 0;
  background: #fefafc;
}

.apc-od-upload-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 20px;
}

.apc-od-upload-head p {
  margin: 0;
  color: var(--apc-muted);
  font-size: 14px;
}

.desk-content .apc-od .fileupload-buttonbar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
}

.desk-content .apc-od .fileupload-buttonbar .fileUpload.btn-upload {
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  margin: 0;
  padding: 9px 18px;
  border: 0;
  border-radius: 0;
  background: #bd2167;
  color: #fff;
  font: 700 14.5px/1.2 var(--apc-font);
  text-transform: none;
}

.desk-content .apc-od .fileupload-buttonbar .fileUpload.btn-upload:hover {
  background: #91194e;
}

.desk-content .apc-od .fileupload-buttonbar .fileUpload input.upload {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
}

.desk-content .apc-od .fileupload-buttonbar .fileUploadCancel a.btn-upload-cancel {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  margin: 0;
  padding: 9px 16px;
  border: 1px solid #e3c9c6;
  border-radius: 0;
  background: #fff;
  color: var(--apc-ink);
  font: 650 14px/1.2 var(--apc-font);
  text-transform: none;
}

.apc-od-upload-files .files {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.apc-od-upload-files .files:not(:empty) {
  margin-top: 12px;
}

.desk-content .apc-od .template-upload,
.desk-content .apc-od .template-download {
  width: 200px;
  min-height: 0;
  margin: 0;
  padding: 10px;
  border: 1px solid var(--od-line);
  border-radius: 0;
  background: #fff;
  font-size: 13px;
  word-break: break-word;
}

/* download URL + 3rd-party links */
.apc-od-item-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 14px 24px;
  padding: 14px 20px 18px;
  border-top: 1px solid var(--od-line);
}

.apc-od-url {
  flex: 1 1 340px;
}

.desk-content .apc-od .apc-od-url label {
  display: block;
  margin: 0 0 6px;
  color: var(--apc-ink);
  font: 650 14px/1.35 var(--apc-font);
}

.apc-od-url-row {
  display: flex;
  gap: 8px;
}

.desk-content .apc-od .apc-od-url-row .form-control {
  flex: 1 1 auto;
  height: 42px;
  border: 1px solid #d9c7c4;
  border-radius: 0;
  box-shadow: none;
  font: 400 15px var(--apc-font);
}

.apc-od-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  font-size: 14px;
}

/* side column */
.apc-od-side .apc-od-card {
  margin-bottom: 16px;
}

.apc-od-sum {
  margin: 0 0 14px;
}

.apc-od-sum > div,
.apc-od-contact > div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 5px 0;
}

.apc-od-sum dd,
.apc-od-contact dd {
  margin: 0;
  font-weight: 600;
  text-align: right;
  word-break: break-word;
}

.apc-od-sum .apc-od-sum-total {
  margin-top: 6px;
  padding-top: 10px;
  border-top: 1px solid var(--od-line);
}

.apc-od-sum .apc-od-sum-total dt,
.apc-od-sum .apc-od-sum-total dd {
  color: var(--apc-ink);
  font: 760 19px/1.3 var(--apc-font);
}

.apc-od-sum .apc-od-sum-due dt,
.apc-od-sum .apc-od-sum-due dd {
  color: #b00012;
  font-weight: 700;
}

.apc-od-side-actions .apc-od-btn {
  flex: 1 1 100%;
}

.apc-od-qr {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--od-line);
  color: var(--apc-muted);
  font-size: 14px;
}

.apc-od-addr address {
  margin: 0 0 10px;
  font-style: normal;
  line-height: 1.6;
}

.apc-od-contact {
  margin: 0;
  padding-top: 8px;
  border-top: 1px dashed var(--od-line);
  font-size: 14px;
}

.apc-od-contact a {
  color: #1d4ed8;
  text-decoration: underline;
}

/* tickets */
.apc-od-tickets {
  margin: 0;
  padding: 0;
  list-style: none;
}

.apc-od-tickets > li {
  padding: 12px 0;
  border-top: 1px solid var(--od-line);
}

.apc-od-tickets > li:first-child {
  padding-top: 0;
  border-top: 0;
}

.apc-od-ticket-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.desk-content .apc-od a.apc-od-ticket-subject {
  color: var(--apc-ink);
  font-weight: 700;
}

.apc-od-chip {
  padding: 2px 10px;
  border-radius: 999px;
  background: #eef3ff;
  color: #1d4ed8;
  font: 650 12.5px/1.4 var(--apc-font);
}

.apc-od-ticket-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 16px;
  margin-top: 4px;
  color: var(--apc-muted);
  font-size: 13.5px;
}

.apc-od-ticket-meta a {
  color: #91194e;
  text-decoration: underline;
}

.apc-od-ticket-reply {
  margin-top: 8px;
  padding: 8px 12px;
  border-left: 3px solid #e7c3bf;
  border-radius: 0 0 0 0;
  background: var(--od-soft);
  font-size: 14px;
}

.apc-od-empty {
  margin: 0;
  padding: 16px;
  border: 1px dashed var(--od-line);
  border-radius: 0;
  color: var(--apc-muted);
  text-align: center;
}

@media (max-width: 1100px) {
  .apc-od-layout {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 700px) {
  .apc-od-item-body {
    grid-template-columns: minmax(0, 1fr);
  }

  .apc-od-upload {
    margin: 0 14px 14px;
  }

  .apc-od-item-head,
  .apc-od-item-body,
  .apc-od-item-foot {
    padding-left: 14px;
    padding-right: 14px;
  }

  .apc-od-url-row {
    flex-wrap: wrap;
  }
}

/* ---------- Support tickets list (myticket: temp6/add_ticket.tpl, also reloaded by AJAX paging) ----------
   CSS only: each ticket row becomes a card; the subject link (TicketDetail) covers the whole card. */
.apc-page-myticket .desk-content .shippingAddBlock {
  display: block;
  margin: 0 0 20px;
  padding: 0;
  background: none;
}

.apc-page-myticket .desk-content .shippingAddBlock > .table-responsive {
  border: 0;
  border-radius: 0;
  overflow: visible;
}

.apc-page-myticket .desk-content #right-section table.table-shipAddress {
  display: block;
  margin: 0;
  background: none;
}

/* compact cards in a grid (3 per row on desktop) */
.apc-page-myticket .desk-content #right-section table.table-shipAddress tbody {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 14px;
}

.apc-page-myticket .desk-content #right-section table.table-shipAddress thead {
  display: none;
}

.apc-page-myticket .desk-content #right-section table.table-shipAddress tbody tr {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-rows: auto auto auto 1fr;
  grid-template-areas:
    "subj  cat"
    "num   num"
    "order date"
    "att   att";
  align-items: start;
  gap: 6px 12px;
  padding: 16px 18px;
  border: 1px solid #eadde3;
  border-radius: 0;
  background: #fff;
  transition: background-color .16s, border-color .16s;
}

.apc-page-myticket .desk-content #right-section table.table-shipAddress tbody tr:hover {
  border-color: #e3b5b1;
  background: #fefafc;
}

.apc-page-myticket .desk-content #right-section table.table-shipAddress tbody tr > td {
  display: block;
  padding: 0;
  border: 0;
  background: none;
  color: var(--apc-muted);
  font: 400 14px/1.45 var(--apc-font);
  text-align: left;
}

.apc-page-myticket .desk-content #right-section table.table-shipAddress tbody tr > td:empty {
  display: none;
}

/* date */
.apc-page-myticket .desk-content #right-section table.table-shipAddress tbody tr > td:nth-child(1) {
  grid-area: date;
  justify-self: end;
}

/* ticket number */
.apc-page-myticket .desk-content #right-section table.table-shipAddress tbody tr > td:nth-child(2) {
  grid-area: num;
  color: var(--apc-ink);
  font-weight: 650;
}

.apc-page-myticket .desk-content #right-section table.table-shipAddress tbody tr > td:nth-child(2)::before {
  content: "Ticket #";
  color: var(--apc-muted);
  font-weight: 400;
}

/* order number */
.apc-page-myticket .desk-content #right-section table.table-shipAddress tbody tr > td:nth-child(3) {
  grid-area: order;
}

.apc-page-myticket .desk-content #right-section table.table-shipAddress tbody tr > td:nth-child(3)::before {
  content: "Order ";
}

/* subject: opens the ticket; its link covers the whole card */
.apc-page-myticket .desk-content #right-section table.table-shipAddress tbody tr > td:nth-child(4) {
  grid-area: subj;
}

.apc-page-myticket .desk-content #right-section table.table-shipAddress tbody tr > td:nth-child(4) a {
  color: var(--apc-ink);
  font: 700 16.5px/1.35 var(--apc-font);
  text-decoration: none;
}

.apc-page-myticket .desk-content #right-section table.table-shipAddress tbody tr > td:nth-child(4) a::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 0;
}

.apc-page-myticket .desk-content #right-section table.table-shipAddress tbody tr:hover > td:nth-child(4) a {
  color: #91194e;
  text-decoration: underline;
}

.apc-page-myticket .desk-content #right-section table.table-shipAddress tbody tr > td:nth-child(4) a:focus-visible {
  outline: none;
}

.apc-page-myticket .desk-content #right-section table.table-shipAddress tbody tr > td:nth-child(4) a:focus-visible::after {
  outline: 3px solid var(--apc-focus);
  outline-offset: 2px;
}

/* category chip */
.apc-page-myticket .desk-content #right-section table.table-shipAddress tbody tr > td:nth-child(5) {
  grid-area: cat;
  justify-self: end;
  padding: 2px 10px;
  border-radius: 999px;
  background: #eef3ff;
  color: #1d4ed8;
  font: 650 12.5px/1.4 var(--apc-font);
  white-space: nowrap;
}

/* attachment: hide the old icon and "no preview" text, show the links as small buttons */
.apc-page-myticket .desk-content #right-section table.table-shipAddress tbody tr > td:nth-child(6) {
  grid-area: att;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 0;
}

.apc-page-myticket .desk-content #right-section table.table-shipAddress tbody tr > td:nth-child(6) img,
.apc-page-myticket .desk-content #right-section table.table-shipAddress tbody tr > td:nth-child(6) br {
  display: none;
}

.apc-page-myticket .desk-content #right-section table.table-shipAddress tbody tr > td:nth-child(6) a:has(img) {
  display: none;
}

.apc-page-myticket .desk-content #right-section table.table-shipAddress tbody tr > td:nth-child(6) a {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 4px 12px;
  border: 1px solid #e3c9c6;
  border-radius: 0;
  background: #fff;
  color: var(--apc-ink);
  font: 650 13px/1.3 var(--apc-font);
  text-decoration: none;
}

.apc-page-myticket .desk-content #right-section table.table-shipAddress tbody tr > td:nth-child(6) a:hover {
  border-color: var(--apc-ink);
}

.apc-page-myticket .desk-content #right-section table.table-shipAddress tbody tr > td:nth-child(6) a::before {
  content: "\1F4CE\00a0";
  font-size: 12px;
}

/* empty list */
.apc-page-myticket .desk-content #right-section table.table-shipAddress tbody tr:has(td[colspan]) {
  grid-column: 1 / -1;
  display: block;
  border-style: dashed;
  text-align: center;
}

.apc-page-myticket .desk-content #right-section table.table-shipAddress tbody tr > td[colspan] {
  font-size: 0;
  text-align: center;
}

.apc-page-myticket .desk-content #right-section table.table-shipAddress tbody tr > td[colspan]::after {
  content: "No support tickets yet. To ask about an order, open it from My orders and choose New ticket.";
  font-size: 15px;
}

/* ---------- ticket detail (apc_theme/ticket_detail.tpl, TicketDetail?tid=...) ---------- */
.desk-content #pageContent.apc-tk {
  --tk-line: #eadde3;
  color: var(--apc-ink);
  font: 400 15px/1.55 var(--apc-font);
}

.desk-content #pageContent.apc-tk #right-section {
  padding: 0;
  border: 0;
  background: none;
  box-shadow: none;
}

.apc-tk-alert {
  margin: 0 0 16px;
  padding: 12px 16px;
  border: 1px solid #c9efd8;
  border-radius: 0;
  background: #e9f9ef;
  color: #067647;
  font-weight: 600;
}

.apc-tk-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 20px;
  align-items: start;
}

.apc-tk-card {
  margin: 0 0 18px;
  padding: 20px 22px;
  border: 1px solid var(--tk-line);
  border-radius: 0;
  background: #fff;
}

.desk-content #right-section .apc-tk-h2 {
  margin: 0 0 14px;
  padding: 0;
  border: 0;
  color: var(--apc-ink);
  font: 700 var(--apc-h3)/1.3 var(--apc-font);
  letter-spacing: -.02em;
  text-transform: none;
}

/* conversation */
.apc-tk-thread {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.apc-tk-msg {
  max-width: 85%;
  padding: 14px 16px;
  border-radius: 0;
}

.apc-tk-msg.is-me {
  justify-self: end;
  border: 1px solid #efc3d6;
  border-bottom-right-radius: 0;
  background: #fdf3f7;
}

.apc-tk-msg.is-staff {
  justify-self: start;
  border: 1px solid #d9e3ff;
  border-bottom-left-radius: 0;
  background: #f2f6ff;
}

.apc-tk-msg-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 12px;
  margin-bottom: 6px;
  font-size: 13.5px;
}

.apc-tk-msg-head strong {
  color: var(--apc-ink);
}

.apc-tk-msg.is-staff .apc-tk-msg-head strong::after {
  content: "\00a0\00b7\00a0 AllProColor";
  color: #1d4ed8;
  font-weight: 600;
}

.apc-tk-msg-head span {
  color: var(--apc-muted);
}

.apc-tk-msg-body {
  color: #2c2c30;
  overflow-wrap: anywhere;
}

.apc-tk-msg-body p {
  margin: 0 0 8px;
}

.apc-tk-msg-body img {
  max-width: 100%;
  height: auto;
}

.apc-tk-msg-body a {
  color: #91194e;
}

.desk-content a.apc-tk-file {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 10px;
  padding: 5px 12px;
  border: 1px solid #e3c9c6;
  border-radius: 0;
  background: #fff;
  color: var(--apc-ink);
  font: 650 13.5px/1.3 var(--apc-font);
  text-decoration: none;
}

.desk-content a.apc-tk-file::before {
  content: "\1F4CE";
}

.desk-content a.apc-tk-file:hover {
  border-color: var(--apc-ink);
}

.apc-tk-none {
  padding: 16px;
  border: 1px dashed var(--tk-line);
  border-radius: 0;
  color: var(--apc-muted);
  text-align: center;
}

/* reply form */
.apc-tk-field {
  margin: 0 0 16px;
}

.desk-content .apc-tk-field label {
  display: block;
  margin: 0 0 6px;
  color: var(--apc-ink);
  font: 650 14px/1.35 var(--apc-font);
}

.apc-tk-optional {
  color: var(--apc-muted);
  font-weight: 400;
}

.desk-content .apc-tk textarea.form-control {
  min-height: 130px;
  border: 1px solid #d9c7c4;
  border-radius: 0;
  box-shadow: none;
  font: 400 15.5px/1.5 var(--apc-font);
  resize: vertical;
}

.desk-content .apc-tk textarea.form-control:focus {
  border-color: #555;
  box-shadow: 0 0 0 3px rgba(46, 159, 218, .18);
}

.apc-tk-fileinput {
  display: block;
  width: 100%;
  padding: 10px;
  border: 2px dashed #e7c3bf;
  border-radius: 0;
  background: #fefafc;
  font: 400 14px var(--apc-font);
  cursor: pointer;
}

.apc-tk-fileinput::file-selector-button {
  margin-right: 12px;
  padding: 7px 14px;
  border: 0;
  border-radius: 0;
  background: var(--apc-ink);
  color: #fff;
  font: 650 13.5px var(--apc-font);
  cursor: pointer;
}

.apc-tk-hint {
  display: block;
  margin-top: 6px;
  color: var(--apc-muted);
  font-size: 13px;
}

.apc-tk-proof {
  display: grid;
  gap: 8px;
  margin: 0 0 16px;
  padding: 0;
  border: 0;
}

.apc-tk-proof legend {
  margin: 0 0 6px;
  border: 0;
  color: var(--apc-ink);
  font: 700 15px/1.35 var(--apc-font);
}

.desk-content label.apc-tk-choice {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  padding: 12px 14px;
  border: 1px solid var(--tk-line);
  border-radius: 0;
  font-weight: 400;
  cursor: pointer;
}

.desk-content label.apc-tk-choice input {
  width: 18px;
  height: 18px;
  margin: 0;
  accent-color: #bd2167;
}

.desk-content label.apc-tk-choice:has(input:checked) {
  border-color: #bd2167;
  background: #fdf3f7;
}

.apc-tk-actions {
  display: flex;
  justify-content: flex-end;
}

.desk-content button.apc-tk-send {
  min-height: 46px;
  padding: 10px 28px;
  border: 0;
  border-radius: 0;
  background: #bd2167;
  color: #fff;
  font: 700 15.5px var(--apc-font);
  cursor: pointer;
}

.desk-content button.apc-tk-send:hover {
  background: #91194e;
}

.desk-content button.apc-tk-send:focus-visible {
  outline: 3px solid var(--apc-focus);
  outline-offset: 2px;
}

/* details card */
.apc-tk-info {
  margin: 0;
}

.apc-tk-info > div {
  display: grid;
  gap: 2px;
  padding: 9px 0;
  border-top: 1px dashed var(--tk-line);
}

.apc-tk-info > div:first-child {
  padding-top: 0;
  border-top: 0;
}

.apc-tk-info dt {
  color: var(--apc-muted);
  font-size: 12.5px;
  font-weight: 400;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.apc-tk-info dd {
  margin: 0;
  font-weight: 600;
  overflow-wrap: anywhere;
}

.apc-tk-info a {
  color: #91194e;
  text-decoration: underline;
}

.apc-tk-chip {
  display: inline-block;
  padding: 2px 10px;
  border-radius: 999px;
  background: #eef3ff;
  color: #1d4ed8;
  font: 650 12.5px/1.4 var(--apc-font);
}

.apc-tk-chip.is-ok { background: #e9f9ef; color: #067647; }
.apc-tk-chip.is-wait { background: #fff4e0; color: #a15c07; }

@media (max-width: 1000px) {
  .apc-tk-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .apc-tk-side {
    order: -1;
  }
}

@media (max-width: 560px) {
  .apc-tk-msg {
    max-width: 100%;
  }

  .apc-tk-card {
    padding: 16px;
  }
}

/* ---------- Profile (apc_theme/profile.tpl) ---------- */
.desk-content #pageContent.apc-pf {
  color: var(--apc-ink);
  font: 400 15px/1.5 var(--apc-font);
}

.desk-content #pageContent.apc-pf #right-section {
  padding: 0;
  border: 0;
  background: none;
  box-shadow: none;
}

.apc-pf-alert {
  margin: 0 0 16px;
  padding: 12px 16px;
  border: 1px solid #c9efd8;
  border-radius: 0;
  background: #e9f9ef;
}

.desk-content .apc-pf-alert .error_msg {
  color: #067647;
  font-size: 15px;
}

.apc-pf-card {
  margin: 0 0 16px;
  padding: 20px 22px 6px;
  border: 1px solid #eadde3;
  border-radius: 0;
  background: #fff;
}

.apc-pf-card-head {
  margin: 0 0 16px;
}

.apc-pf-card-head-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 20px;
}

.desk-content #right-section .apc-pf-card h2 {
  margin: 0;
  padding: 0;
  border: 0;
  color: var(--apc-ink);
  font: 700 var(--apc-h3)/1.3 var(--apc-font);
  letter-spacing: -.02em;
  text-transform: none;
}

.apc-pf-card-head p {
  margin: 3px 0 0;
  color: var(--apc-muted);
  font-size: 14px;
}

.apc-pf-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 18px;
}

.apc-pf-field {
  margin: 0 0 16px;
}

.apc-pf-full {
  grid-column: 1 / -1;
}

.desk-content .apc-pf-field > label,
.desk-content .apc-pf-other > label {
  display: block;
  margin: 0 0 6px;
  color: var(--apc-ink);
  font: 650 14px/1.35 var(--apc-font);
  text-transform: none;
}

.apc-pf .apc-req {
  color: #b00012;
}

.desk-content .apc-pf .form-control {
  width: 100%;
  height: 44px;
  border: 1px solid #d9c7c4;
  border-radius: 0;
  box-shadow: none;
  font: 400 15.5px var(--apc-font);
}

.desk-content .apc-pf textarea.form-control {
  height: auto;
  min-height: 90px;
}

.desk-content .apc-pf .form-control:focus {
  border-color: #555;
  box-shadow: 0 0 0 3px rgba(46, 159, 218, .18);
}

/* native selects (the legacy .select-wrapper/.holder look is replaced) */
.desk-content .apc-pf .select-wrapper {
  display: block;
  width: 100% !important;
  height: auto;
  border: 0;
  background: none;
}

.desk-content .apc-pf .select-wrapper .holder {
  display: none;
}

.desk-content .apc-pf select.form-control:not(.apc-combo-native) {
  position: static;
  width: 100% !important;
  height: 44px !important;
  padding: 8px 34px 8px 12px;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='m1 1 5 5 5-5' fill='none' stroke='%23383b40' stroke-width='1.5'/%3E%3C/svg%3E") no-repeat right 12px center;
  line-height: 1.4 !important;
  opacity: 1;
  appearance: none;
  -webkit-appearance: none;
}

.desk-content .apc-pf .error_msg,
.desk-content .apc-pf label.error {
  display: block;
  margin-top: 4px;
  color: #b00012;
  font: 600 13px/1.4 var(--apc-font);
}

.desk-content .apc-pf .error_msg:empty {
  display: none;
}

.apc-pf-hint {
  display: block;
  margin-top: 5px;
  color: var(--apc-muted);
  font-size: 13px;
}

.apc-pf-other {
  margin-top: 10px;
}

/* text alerts on/off switch (still the mobile_alert checkbox) */
.desk-content label.apc-pf-switch {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  font: 650 14px var(--apc-font);
  cursor: pointer;
}

.apc-pf-switch input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
}

.apc-pf-switch-ui {
  position: relative;
  width: 44px;
  height: 24px;
  border-radius: 999px;
  background: #d9c7c4;
  transition: background-color .16s;
}

.apc-pf-switch-ui::after {
  content: "";
  position: absolute;
  top: 3px;
  left: 3px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 3px rgba(0, 0, 0, .25);
  transition: transform .16s;
}

.apc-pf-switch input:checked + .apc-pf-switch-ui {
  background: #067647;
}

.apc-pf-switch input:checked + .apc-pf-switch-ui::after {
  transform: translateX(20px);
}

.apc-pf-switch input:focus-visible + .apc-pf-switch-ui {
  outline: 3px solid var(--apc-focus);
  outline-offset: 2px;
}

/* sales tax document */
.apc-pf-file {
  display: block;
  width: 100%;
  padding: 10px;
  border: 2px dashed #e7c3bf;
  border-radius: 0;
  background: #fefafc;
  font: 400 14px var(--apc-font);
}

.apc-pf-file::file-selector-button {
  margin-right: 12px;
  padding: 7px 14px;
  border: 0;
  border-radius: 0;
  background: var(--apc-ink);
  color: #fff;
  font: 650 13.5px var(--apc-font);
  cursor: pointer;
}

.apc-pf-file-error {
  margin-top: 5px;
  color: #b00012;
  font: 600 13px var(--apc-font);
}

.desk-content a.apc-pf-doc {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border: 1px solid #e3c9c6;
  border-radius: 0;
  color: var(--apc-ink);
  font-weight: 600;
  word-break: break-all;
}

.desk-content a.apc-pf-doc::before {
  content: "\1F4CE";
}

/* actions */
.desk-content .apc-pf .apc-pf-actions {
  position: sticky;
  bottom: 0;
  z-index: 5;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 12px;
  margin: 0 0 24px;
  padding: 14px 0;
  border-top: 1px solid #eadde3;
  background: rgba(255, 255, 255, .96);
}

.desk-content a.apc-pf-cancel {
  color: var(--apc-ink);
  font-weight: 650;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.desk-content input.apc-pf-save {
  min-height: 46px;
  padding: 10px 28px;
  border: 0;
  border-radius: 0;
  background: #bd2167;
  color: #fff;
  font: 700 15.5px var(--apc-font);
  cursor: pointer;
}

.desk-content input.apc-pf-save:hover {
  background: #91194e;
}

@media (max-width: 640px) {
  .apc-pf-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .apc-pf-card {
    padding: 16px 16px 2px;
  }
}

/* ---------- Custom quote (apc_theme/new_quote.tpl, Quote/?page=quote) ----------
   The temp6 form markup is kept; this lays it out as label | field rows inside a card. */
.apc-quote-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: clamp(20px, 3vw, 40px);
  align-items: start;
}

.apc-quote-main {
  padding: clamp(18px, 2.4vw, 30px);
  border: 1px solid #eadde3;
  border-radius: 0;
  background: #fff;
}

#pageContent.apc-quote #right-section {
  padding: 0;
  border: 0;
  background: none;
  box-shadow: none;
}

.apc-quote-alert {
  margin: 0 0 16px;
  padding: 12px 16px;
  border: 1px solid #efc3d6;
  border-radius: 0;
  background: #fdf3f7;
}

/* undo the bootstrap row/col floats inside the form */
#pageContent.apc-quote form#fileupload .row {
  margin-left: 0;
  margin-right: 0;
}

#pageContent.apc-quote form#fileupload > .row > [class*="col-"],
#pageContent.apc-quote .quotes-section {
  float: none;
  width: auto;
  padding: 0;
}

/* no grey panel (old .quotes-section background) */
#pageContent.apc-quote .quotes-section {
  margin: 0;
  background: none;
}

/* bindery options as pills (labels added by the script in new_quote.tpl) */
.apc-quote-checks {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

#pageContent.apc-quote label.apc-quote-check {
  text-transform: none;
  color: var(--apc-ink);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding: 7px 12px;
  border: 1px solid #e3d3d1;
  border-radius: 999px;
  background: #fff;
  font: 500 14px/1.2 var(--apc-font);
  cursor: pointer;
}

#pageContent.apc-quote label.apc-quote-check:hover {
  border-color: #bd2167;
}

#pageContent.apc-quote label.apc-quote-check:has(input:checked) {
  border-color: #bd2167;
  background: #fdf3f7;
  color: #91194e;
}

#pageContent.apc-quote label.apc-quote-check input {
  width: 16px;
  height: 16px;
  margin: 0;
  accent-color: #bd2167;
}

#pageContent.apc-quote .row.form-group:has(.apc-quote-checks) {
  align-items: start;
}

/* the product fields loaded into #DivWidget sit in another bootstrap column: drop its padding so
   their labels and fields line up with "Select Your Product" */
#pageContent.apc-quote .ExtraFields > .row > [class*="col-"],
#pageContent.apc-quote #DivWidget,
#pageContent.apc-quote #DivWidget .row > [class*="col-"]:not(.control-label):not(label) {
  float: none;
  width: auto;
  padding-left: 0;
  padding-right: 0;
}

#pageContent.apc-quote #DivWidget .row {
  margin-left: 0;
  margin-right: 0;
}

/* label | field rows */
#pageContent.apc-quote .row.form-group {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  align-items: center;
  gap: 6px 18px;
  margin: 0 0 14px;
}

#pageContent.apc-quote .row.form-group::before,
#pageContent.apc-quote .row.form-group::after {
  display: none;
}

#pageContent.apc-quote .row.form-group[style*="display:none"],
#pageContent.apc-quote .row.form-group[style*="display: none"] {
  display: none;
}

#pageContent.apc-quote .row.form-group > [class*="col-"] {
  float: none;
  width: auto;
  padding: 0;
}

#pageContent.apc-quote .control-label,
#pageContent.apc-quote .inputgroup > label,
#pageContent.apc-quote .row label:not(.comporder):not(.apc-quote-check) {
  margin: 0;
  padding: 0;
  color: var(--apc-ink);
  font: 650 14px/1.35 var(--apc-font);
  text-align: left;
  text-transform: none;
}

#pageContent.apc-quote .inputgroup {
  margin: 0 !important;
}

#pageContent.apc-quote .row > [class*="col-lg-6"] .inputgroup,
#pageContent.apc-quote .row > [class*="col-lg-12"] .inputgroup {
  margin-bottom: 14px !important;
}

#pageContent.apc-quote .inputgroup > label {
  display: block;
  margin-bottom: 6px;
}

#pageContent.apc-quote .form-control {
  width: 100%;
  height: 44px;
  border: 1px solid #d9c7c4;
  border-radius: 0;
  background-color: #fff;
  box-shadow: none;
  color: #252526;
  font: 400 15.5px var(--apc-font);
}

#pageContent.apc-quote textarea.form-control {
  height: auto;
  min-height: 120px;
  resize: vertical;
}

#pageContent.apc-quote .form-control:focus {
  border-color: #555;
  box-shadow: 0 0 0 3px rgba(46, 159, 218, .18);
  outline: none;
}

/* native selects instead of the legacy .select-wrapper/.holder look */
#pageContent.apc-quote .select-wrapper {
  display: block;
  width: 100% !important;
  height: auto;
  border: 0;
  background: none;
}

#pageContent.apc-quote .select-wrapper .holder {
  display: none;
}

#pageContent.apc-quote select.form-control,
#pageContent.apc-quote .select-wrapper select {
  position: static;
  width: 100% !important;
  height: 44px !important;
  padding: 8px 34px 8px 12px;
  border: 1px solid #d9c7c4;
  border-radius: 0;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='m1 1 5 5 5-5' fill='none' stroke='%23383b40' stroke-width='1.5'/%3E%3C/svg%3E") no-repeat right 12px center;
  line-height: 1.4 !important;
  opacity: 1;
  appearance: none;
  -webkit-appearance: none;
}

#pageContent.apc-quote .input-group-addon {
  border-color: #d9c7c4;
  background: #fdf5f8;
}

#pageContent.apc-quote .error_msg,
#pageContent.apc-quote label.error {
  display: block;
  margin-top: 4px;
  color: #b00012;
  font: 600 13px/1.4 var(--apc-font);
}

#pageContent.apc-quote .error_msg:empty {
  display: none;
}

/* section titles inside the form */
#pageContent.apc-quote h3.quote-title {
  margin: 26px 0 14px !important;
  padding: 18px 0 0;
  border-top: 1px solid #eadde3;
  color: var(--apc-ink);
  font: 700 var(--apc-h3)/1.3 var(--apc-font);
  letter-spacing: -.02em;
  text-transform: none;
}

/* "This is my first order / I have ordered before" */
#pageContent.apc-quote label.comporder {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 8px;
  font: 400 14.5px var(--apc-font);
  cursor: pointer;
}

#pageContent.apc-quote label.comporder input {
  width: 17px;
  height: 17px;
  margin: 0;
  accent-color: #bd2167;
}

/* file upload */
#pageContent.apc-quote .drag-section {
  float: none;
  width: 100%;
  margin: 0 0 12px;
}

#pageContent.apc-quote #right-section .drag-section,
#pageContent.apc-quote #holder,
#pageContent.apc-quote #holder > [class*="col-"] {
  float: none;
  width: 100%;
  max-width: none;
}

#pageContent.apc-quote #holder {
  min-height: 0;
  padding: 18px;
  border: 2px dashed #e7c3bf;
  border-radius: 0;
  background: #fefafc;
  color: var(--apc-muted);
  text-align: center;
}

#pageContent.apc-quote #holder p:empty {
  display: none;
}

#pageContent.apc-quote #holder::before {
  content: "Drop your file here or use the button below";
  font-size: 14px;
}

#pageContent.apc-quote .fileUpload.btn-upload {
  position: relative;
  overflow: hidden;
  float: none;
  display: inline-flex;
  align-items: center;
  width: auto !important;
  min-width: 0 !important;
  min-height: 42px;
  margin: 0;
  padding: 9px 18px;
  border: 0;
  border-radius: 0;
  background: var(--apc-ink);
  color: #fff;
  font: 700 14.5px/1.2 var(--apc-font);
  text-transform: none;
}

#pageContent.apc-quote .fileUpload input.upload {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
}

#pageContent.apc-quote .files {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

#pageContent.apc-quote .template-upload,
#pageContent.apc-quote .template-download {
  float: none;
  width: 200px;
  height: auto;
  margin: 10px 0 0;
  padding: 10px;
  border: 1px solid #eadde3;
  border-radius: 0;
  font-size: 13px;
  word-break: break-word;
}

/* note + submit */
#pageContent.apc-quote .quotes-section > p,
#pageContent.apc-quote .ExtraFields > p {
  margin: 16px 0 0;
  padding: 10px 14px;
  border-radius: 0;
  background: #fff4e0;
  color: #6b4a12;
  font-size: 14px;
}

#pageContent.apc-quote .ExtraFields > p span {
  color: inherit !important;
}

#pageContent.apc-quote .completeOrder {
  float: none;
  justify-content: flex-end;
  margin: 20px 0 0;
  text-align: right;
}

#pageContent.apc-quote .completeOrder[style*="display:none"],
#pageContent.apc-quote .completeOrder[style*="display: none"] {
  display: none;
}

#pageContent.apc-quote #addNewQuote {
  min-height: 48px;
  padding: 12px 34px;
  border: 0;
  border-radius: 0;
  background: #bd2167;
  color: #fff;
  font: 700 16px var(--apc-font);
  text-transform: none;
}

#pageContent.apc-quote #addNewQuote:hover {
  background: #91194e;
}

/* side card */
.apc-quote-aside {
  position: sticky;
  top: 20px;
  padding: 24px;
  border: 1px solid #eadde3;
  border-radius: 0;
  background: linear-gradient(160deg, #fff 0%, #fdf5f8 100%);
}

.apc-quote-aside h2 {
  margin: 0 0 14px;
  color: var(--apc-ink);
  font: 700 var(--apc-h3)/1.3 var(--apc-font);
  text-transform: none;
}

.apc-quote-steps {
  counter-reset: qs;
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.apc-quote-steps li {
  counter-increment: qs;
  position: relative;
  display: grid;
  gap: 2px;
  padding-left: 40px;
  font-size: 14px;
}

.apc-quote-steps li::before {
  content: counter(qs);
  position: absolute;
  left: 0;
  top: 0;
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #bd2167;
  color: #fff;
  font: 700 13px var(--apc-font);
}

.apc-quote-steps strong {
  color: var(--apc-ink);
}

.apc-quote-steps span {
  color: var(--apc-muted);
}

.apc-quote-steps a {
  color: #91194e;
  text-decoration: underline;
}

.apc-quote-expire {
  margin: 18px 0 0;
  padding: 10px 12px;
  border-radius: 0;
  background: #fff4e0;
  color: #6b4a12;
  font: 600 13.5px var(--apc-font);
}

.apc-quote-help {
  display: grid;
  gap: 8px;
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid #eadde3;
  color: var(--apc-muted);
  font-size: 14px;
}

.apc-catalog .apc-quote-help a {
  display: inline-flex;
  justify-content: center;
  min-height: 42px;
  align-items: center;
  border-radius: 0;
  background: var(--apc-ink);
  color: #fff;
  font: 700 14.5px var(--apc-font);
  text-decoration: none;
}

@media (max-width: 1000px) {
  .apc-quote-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .apc-quote-aside {
    position: static;
  }
}

@media (max-width: 640px) {
  #pageContent.apc-quote .row.form-group {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* ---------- Design guidelines (apc_theme/design_guidlines.tpl) ---------- */
.apc-guide-specs {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin: 0 0 28px;
  padding: 0;
  list-style: none;
}

.apc-guide-specs li {
  display: grid;
  gap: 2px;
  padding: 16px 18px;
  border: 1px solid #eadde3;
  border-left: 4px solid #bd2167;
  border-radius: 0;
  background: #fff;
}

.apc-guide-specs strong {
  color: var(--apc-ink);
  font: 760 22px/1.2 var(--apc-font);
  letter-spacing: -.02em;
}

.apc-guide-specs span {
  color: var(--apc-muted);
  font-size: 14px;
}

.apc-guide-layout {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: clamp(20px, 3vw, 44px);
  align-items: start;
}

.apc-guide-toc {
  position: sticky;
  top: 20px;
  padding: 18px 20px;
  border: 1px solid #eadde3;
  border-radius: 0;
  background: #fff;
}

.apc-guide-toc h2 {
  margin: 0 0 10px;
  color: var(--apc-ink);
  font: 700 var(--apc-h3)/1.3 var(--apc-font);
  text-transform: none;
}

.apc-guide-toc ol {
  counter-reset: gt;
  display: grid;
  gap: 2px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.apc-guide-toc li {
  counter-increment: gt;
}

.apc-catalog .apc-guide-toc a {
  display: flex;
  gap: 10px;
  padding: 7px 8px;
  border-radius: 0;
  color: #3b3c41;
  font-size: 14px;
  line-height: 1.35;
}

.apc-catalog .apc-guide-toc a::before {
  content: counter(gt);
  flex: 0 0 22px;
  display: grid;
  place-items: center;
  height: 22px;
  border-radius: 50%;
  background: #fbe6ef;
  color: #91194e;
  font: 700 12px var(--apc-font);
}

.apc-catalog .apc-guide-toc a:hover {
  background: #fdf5f8;
  color: #91194e;
}

.apc-guide-note {
  margin: 0 0 18px;
  padding: 14px 16px;
  border-radius: 0;
  background: #eef3ff;
  color: #1e3a8a;
  font-size: 15px;
  line-height: 1.55;
}

.apc-guide-step {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 18px;
  margin: 0 0 16px;
  padding: 22px 24px;
  border: 1px solid #eadde3;
  border-radius: 0;
  background: #fff;
  scroll-margin-top: 16px;
}

.apc-guide-num {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #bd2167;
  color: #fff;
  font: 760 18px var(--apc-font);
}

.apc-guide-body h2 {
  margin: 8px 0 10px;
  color: var(--apc-ink);
  font: 700 var(--apc-h3)/1.3 var(--apc-font);
  letter-spacing: -.02em;
  text-transform: none;
}

.apc-guide-body p {
  margin: 0 0 12px;
  max-width: 75ch;
  color: #3b3c41;
  font-size: 15.5px;
  line-height: 1.65;
}

.apc-guide-dl {
  display: grid;
  gap: 0;
  max-width: 560px;
  margin: 0 0 14px;
  border: 1px solid #eadde3;
  border-radius: 0;
  overflow: hidden;
}

.apc-guide-dl > div {
  display: grid;
  grid-template-columns: minmax(140px, 40%) minmax(0, 1fr);
  gap: 12px;
  padding: 9px 14px;
  border-top: 1px solid #eadde3;
  font-size: 15px;
}

.apc-guide-dl > div:first-child {
  border-top: 0;
}

.apc-guide-dl > div:nth-child(odd) {
  background: #fefafc;
}

.apc-guide-dl dt {
  color: var(--apc-muted);
  font-weight: 400;
}

.apc-guide-dl dd {
  margin: 0;
  color: var(--apc-ink);
  font-weight: 650;
}

.apc-guide-fig {
  margin: 4px 0 14px;
}

.apc-guide-fig img {
  display: block;
  max-width: 100%;
  height: auto;
  border: 1px solid #ece6e5;
  border-radius: 0;
}

.apc-guide-fig figcaption {
  margin-top: 6px;
  color: var(--apc-muted);
  font-size: 13px;
}

.apc-guide-pair {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  align-items: end;
}

.apc-guide-body p.apc-guide-warn {
  padding: 10px 14px;
  border-radius: 0;
  background: #fff4e0;
  color: #6b4a12;
}

.apc-guide-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px 24px;
  margin: 24px 0 0;
  padding: 24px 26px;
  border-radius: 0;
  background: linear-gradient(135deg, #bd2167 0%, #91194e 100%);
  color: #fff;
}

.apc-guide-cta h2 {
  margin: 0 0 4px;
  color: #fff;
  font: 700 var(--apc-h2)/1.2 var(--apc-font);
  text-transform: none;
}

.apc-guide-cta p {
  margin: 0;
  color: rgba(255, 255, 255, .88);
}

.apc-guide-cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.apc-catalog a.apc-guide-btn {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 10px 20px;
  border: 1px solid rgba(255, 255, 255, .6);
  border-radius: 0;
  color: #fff;
  font: 700 15px var(--apc-font);
}

.apc-catalog a.apc-guide-btn:hover {
  border-color: #fff;
  background: rgba(255, 255, 255, .12);
}

.apc-catalog a.apc-guide-btn.is-primary {
  border-color: #fff;
  background: #fff;
  color: #91194e;
}

@media (max-width: 1000px) {
  .apc-guide-specs {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .apc-guide-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .apc-guide-toc {
    position: static;
  }

  .apc-guide-toc ol {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  .apc-guide-toc ol,
  .apc-guide-pair {
    grid-template-columns: minmax(0, 1fr);
  }

  .apc-guide-step {
    grid-template-columns: minmax(0, 1fr);
    gap: 10px;
    padding: 18px;
  }

  .apc-guide-num {
    width: 36px;
    height: 36px;
    font-size: 16px;
  }
}

/* ---------- delete confirmation dialog (apc-account.js) ---------- */
.apc-confirm {
  width: min(440px, calc(100vw - 32px));
  padding: 0;
  border: 0;
  border-radius: 0;
  box-shadow: 0 24px 60px rgba(18, 19, 24, .28);
  color: var(--apc-ink);
  font-family: var(--apc-font);
}

.apc-confirm::backdrop {
  background: rgba(18, 19, 24, .5);
}

.apc-confirm-body {
  padding: 26px 26px 22px;
}

.apc-confirm-icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-bottom: 14px;
  border-radius: 50%;
  background: #fbe6ef;
  color: #b00012;
}

.apc-confirm-icon svg {
  width: 22px;
  height: 22px;
}

.apc-confirm h2 {
  margin: 0 0 6px;
  font: 700 20px/1.3 var(--apc-font);
  letter-spacing: -.02em;
  text-transform: none;
}

.apc-confirm p {
  margin: 0;
  color: var(--apc-muted);
  font-size: 15px;
  line-height: 1.55;
}

.apc-confirm-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  padding: 14px 26px;
  border-top: 1px solid var(--apc-edge);
  background: #faf9f7;
  border-radius: 0 0 0 0;
}

.apc-confirm-actions button {
  min-height: 40px;
  padding: 8px 18px;
  border: 1px solid #b6b4b5;
  border-radius: 0;
  background: #fff;
  color: var(--apc-ink);
  font: 650 14.5px var(--apc-font);
  cursor: pointer;
}

.apc-confirm-actions button:hover {
  border-color: var(--apc-ink);
}

.apc-confirm-actions .apc-confirm-delete {
  border-color: #b00012;
  background: #b00012;
  color: #fff;
}

.apc-confirm-actions .apc-confirm-delete:hover {
  border-color: #91194e;
  background: #91194e;
}

.apc-confirm-actions button:focus-visible {
  outline: 3px solid var(--apc-focus);
  outline-offset: 2px;
}

/* ---------- sign in / register / forgot password ("au") ---------- */
.apc-auth-page.clearfix {
  padding: 0;
  margin: 0;
  overflow: visible;
}

.au-wrap {
  width: min(1200px, calc(100% - clamp(32px, 8vw, 128px)));
  margin: 0 auto;
  padding: 28px 0 clamp(58px, 8vw, 110px);
  color: var(--apc-ink);
  font-size: 16px;
  line-height: 1.5;
}

.au-wrap *,
.au-wrap *::before,
.au-wrap *::after {
  box-sizing: border-box;
}

.au-wrap p {
  line-height: 1.56;
  color: var(--apc-muted);
  margin: .48em 0 1em;
}

.au-wrap h1,
.au-wrap h2,
.au-wrap h3 {
  color: var(--apc-ink);
  margin: 0;
  font-family: var(--apc-font);
  text-transform: none;
}

.au-wrap h1 {
  font-size: var(--apc-h1);
  line-height: 1;
  letter-spacing: -.065em;
  font-weight: 700;
}

.au-wrap h2 {
  font-size: var(--apc-h2);
  line-height: 1.12;
  letter-spacing: -.045em;
  font-weight: 700;
}

.au-wrap h3 {
  font-size: 16.96px;
  letter-spacing: -.015em;
  line-height: 1.3;
  font-weight: 700;
}

.au-crumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  color: var(--apc-muted);
  font-size: 14px;
}

.au-crumb a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.au-crumb b {
  font-weight: 550;
  color: var(--apc-ink);
}

.au-banner {
  margin: 16px 0 0;
}

.au-banner img {
  width: 100%;
  height: auto;
  border-radius: 0;
}

.au-title {
  margin: clamp(28px, 5vw, 62px) 0 clamp(24px, 4vw, 42px);
}

.au-title p {
  font-size: clamp(16px, 1.6vw, 18.88px);
  margin: .85em 0 0;
  max-width: 58ch;
}

.au-columns {
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) minmax(250px, 1fr);
  gap: clamp(20px, 3vw, 44px);
  align-items: start;
}

.au-card,
.au-rail {
  padding: clamp(22px, 3.7vw, 46px);
  border: 1px solid var(--apc-line);
  border-radius: 0;
  min-width: 0;
}

.au-card {
  background: #fff;
}

.au-rail {
  background: var(--apc-surface);
}

.au-rail > h2 {
  font-size: var(--apc-h3);
}

.au-item {
  padding: 20px 0;
  border-bottom: 1px solid var(--apc-line);
}

.au-item:last-of-type {
  border-bottom: 0;
}

.au-item p:last-child {
  margin-bottom: 0;
}

.au-wrap .au-minor,
.au-wrap .au-text,
.au-wrap .au-switch a,
.au-wrap .au-item a {
  color: var(--apc-ink);
  font-weight: 650;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.au-minor {
  display: inline-flex;
  margin-top: 14px;
}

.au-rail > .au-text {
  display: inline-block;
  margin-top: 18px;
}

.au-promo {
  display: block;
  margin-top: 19.2px;
}

.au-promo img {
  width: 100%;
  height: auto;
  border-radius: 0;
}

.au-fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 17.6px;
}

.au-wide {
  grid-column: 1 / -1;
}

.au-field {
  display: flex;
  flex-direction: column;
  gap: 7px;
  min-width: 0;
  margin: 0;
}

.au-wrap .au-field label {
  font: 600 15.04px/1.3 var(--apc-font);
  margin: 0;
}

.au-wrap .au-field .form-control {
  height: 48px;
  background: #fbfbfc;
  border-color: #c8c8cf;
  border-radius: 0;
}

.au-wrap .au-field .error_msg:empty {
  display: none;
}

.au-alert {
  margin: 16px 0 0;
  border-radius: 0;
}

.au-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 22px;
}

.au-wrap .au-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  text-align: center;
  padding: 12px 22.4px;
  text-decoration: none;
  font: 700 16px/1.3 var(--apc-font);
  border-radius: 0;
  border: 0;
  color: #fff;
  background: var(--apc-brand);
  cursor: pointer;
  transition: transform .16s ease, background .16s ease;
}

.au-wrap .au-btn:hover {
  transform: translateY(-1px);
  background: var(--apc-brand-hover);
  color: #fff;
}

.au-switch {
  border-top: 1px solid var(--apc-line);
  padding-top: 18.4px;
  margin-top: 24px !important;
  margin-bottom: 0 !important;
}

/* registration keeps its long form; give the legacy markup the card look */
.au-card--form #pageContent,
.au-card--form #pageContent.clearfix {
  padding: 0;
  margin: 0;
  overflow: visible;
}

.au-card--form #pageContent > .container-outer {
  padding: 0;
  min-height: 0;
}

.au-card--form #pageContent > .container-outer > .container {
  width: auto;
  max-width: none;
  padding: 0;
}

.au-card--form .container-bottom {
  display: none;
}

.au-card--form #right-section {
  padding: 0;
  margin: 0;
  background: none;
  box-shadow: none;
  border: 0;
}

.au-card--form .signup-section {
  padding: 0;
  border: 0;
  background: none;
}

.au-card--form h3.form-title,
.au-card--form .form-title {
  font: 700 var(--apc-h3)/1.3 var(--apc-font);
  color: var(--apc-ink);
  margin: 22.4px 0 12.8px;
  padding-top: 17.6px;
  border-top: 1px solid var(--apc-line);
}

.au-card--form .signupBtn {
  margin-top: 19.2px;
}

.au-card--form .signupBtn .btn {
  min-height: 46px;
  padding: 12px 25.6px;
  font-size: 16px;
}

/* ---------- upload files page (apc_theme/upload-file.tpl) ---------- */
.apc-upload-page.clearfix {
  padding: 0;
  margin: 0;
  overflow: visible;
}

.apc-upload .au-card > form > h2 {
  margin: 0 0 4px;
  font-size: var(--apc-h3);
}

.apc-upload .au-card > form > h2.apc-upload-section {
  margin-top: 28px;
}

.apc-upload .au-card .au-intro {
  margin: 4px 0 14px;
}

.apc-upload .au-field .form-control {
  height: 48px;
}

.apc-upload .au-field textarea.form-control {
  height: auto;
  min-height: 96px;
}

.apc-upload .upload-zone {
  margin: 0;
}

.apc-upload .upload-zone:hover {
  border-color: #8a8a90;
}

.apc-upload .apc-upload-ids {
  margin-top: 12px;
}

.apc-upload .apc-upload-or {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 28px 0 0;
  color: var(--apc-muted);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.apc-upload .apc-upload-or::before,
.apc-upload .apc-upload-or::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--apc-line);
}

.apc-upload .apc-upload-check {
  display: flex;
  align-items: center;
  gap: 9px;
  min-height: 40px;
  margin: 0 0 6px;
  color: var(--apc-ink);
  font: 600 15px/1.35 var(--apc-font);
  cursor: pointer;
}

.apc-upload .apc-upload-check input {
  width: 18px;
  height: 18px;
  margin: 0;
  flex: 0 0 auto;
  accent-color: var(--apc-brand);
}

.apc-upload .au-actions {
  align-items: center;
}

.apc-upload .apc-upload-specs {
  margin: 16px 0;
  border-top: 1px solid var(--apc-line);
}

.apc-upload .apc-upload-specs > div {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 0;
  border-bottom: 1px solid var(--apc-line);
}

.apc-upload .apc-upload-specs dt {
  color: var(--apc-muted);
  font-weight: 500;
  font-size: 14.5px;
}

.apc-upload .apc-upload-specs dd {
  margin: 0;
  color: var(--apc-ink);
  font-weight: 650;
  font-size: 14.5px;
  text-align: right;
}

/* ---------- catalog: Printing & Pricing (apc_theme/printing.tpl) ---------- */
#pageContent.apc-catalog {
  padding: 0;
  margin: 0;
  overflow: visible;
  background: #fff;
  color: var(--apc-ink);
  font-family: var(--apc-font);
  font-size: 16px;
  line-height: 1.5;
}

.apc-catalog a {
  color: inherit;
  text-decoration: none;
}

.apc-catalog-top {
  background: #f5f4f1;
  border-bottom: 1px solid var(--apc-line);
  padding: 24px 0 40px;
}

.apc-catalog-crumb {
  margin-bottom: 28px;
  color: var(--apc-muted);
  font-size: 14px;
}

.apc-catalog-crumb a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.apc-catalog-crumb a:hover {
  color: var(--apc-brand-hover);
}

.apc-eyebrow {
  display: flex;
  align-items: center;
  gap: 9.6px;
  font-size: 12.3px;
  font-weight: 750;
  text-transform: uppercase;
  letter-spacing: .14em;
}

.apc-eyebrow i {
  display: block;
  width: 24px;
  height: 3px;
  background: var(--apc-brand);
}

.apc-catalog-top h1 {
  margin: 11px 0;
  color: var(--apc-ink);
  font: 700 var(--apc-h1)/1.06 var(--apc-font);
  letter-spacing: -.065em;
  text-transform: none;
}

.apc-catalog-top h1 span {
  color: var(--apc-brand);
}

.apc-catalog-top p {
  margin: 0;
  color: var(--apc-muted);
  font-size: 17.3px;
}

.apc-catalog-main {
  padding: 27px 0 64px;
}

.apc-catalog-banner {
  margin: 0 0 24px;
}

.apc-catalog-banner img {
  width: 100%;
  height: auto;
  border-radius: 0;
}

/* page banner inside the header band (printing.tpl): heading left, banner right */
.apc-catalog-hero.has-banner {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: clamp(24px, 4vw, 56px);
  align-items: center;
}

.apc-catalog-hero-banner {
  margin: 0;
}

.apc-catalog-hero-banner a {
  display: block;
  overflow: hidden;
  border-radius: 0;
  box-shadow: 0 10px 28px rgba(18, 19, 24, .12);
}

.apc-catalog-hero-banner img {
  display: block;
  border-radius: 0;
}

@media (max-width: 1100px) {
  .apc-catalog-hero.has-banner {
    grid-template-columns: minmax(0, 1fr);
    gap: 22px;
  }
}

.apc-catalog-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  margin-bottom: 32px;
}

.apc-catalog-input {
  display: flex;
  align-items: center;
  gap: 4px;
  min-height: 44px;
  margin: 0;
  padding: 0 10.4px;
  border: 1px solid #aaa;
  border-radius: 0;
  color: #65656b;
  font-weight: 400;
}

.apc-catalog-input:focus-within {
  outline: 2px solid #555;
  outline-offset: 1px;
}

.apc-catalog-input input {
  width: 260px;
  max-width: 100%;
  min-width: 0;
  padding: 9.6px 8px;
  border: 0;
  outline: none;
  background: transparent;
  box-shadow: none;
  color: var(--apc-ink);
  font: 400 16px var(--apc-font);
}

.apc-filter-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 6.4px;
}

.apc-filter-tabs button {
  min-height: 40px;
  padding: 8px 12.8px;
  border: 1px solid var(--apc-line);
  border-radius: 25px;
  background: #fff;
  color: var(--apc-ink);
  font: 600 13.9px/1.2 var(--apc-font);
  cursor: pointer;
}

.apc-filter-tabs button:hover {
  border-color: #999;
}

.apc-filter-tabs button[aria-pressed=true] {
  border-color: var(--apc-ink);
  background: var(--apc-ink);
  color: #fff;
}

.apc-catalog-feature h2,
.apc-directory-head h2 {
  margin: 16px 0;
  color: var(--apc-ink);
  font: 700 var(--apc-h2)/1.2 var(--apc-font);
  letter-spacing: -.045em;
  text-transform: none;
}

.apc-cards {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px clamp(13.6px, 1.65vw, 24.8px);
}

.apc-shop-card {
  display: block;
  min-width: 0;
}

.apc-card-img {
  aspect-ratio: 1.47;
  overflow: hidden;
  border-radius: 0;
  background: #f1f0ef;
}

.apc-card-img img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .32s cubic-bezier(.2, .7, .3, 1);
}

.apc-shop-card:hover .apc-card-img img {
  transform: scale(1.045);
}

.apc-card-copy {
  padding: 12px 0 2px;
}

.apc-card-copy span {
  display: block;
  color: var(--apc-muted);
  font-size: 12.8px;
}

.apc-card-copy h3 {
  margin: 2.4px 0;
  color: var(--apc-ink);
  font: 720 clamp(16px, 1.01vw, 20px)/1.3 var(--apc-font);
  letter-spacing: -.04em;
  text-transform: none;
}

.apc-shop-card:hover h3 {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: .2em;
}

.apc-shop-card:focus-visible {
  outline: 3px solid var(--apc-focus);
  outline-offset: 4px;
  border-radius: 0;
}

.apc-directory-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  margin-top: 32px;
  padding-top: 11px;
  border-top: 1px solid var(--apc-line);
}

.apc-directory-head span {
  color: var(--apc-muted);
  font-size: 14.4px;
}

.apc-catalog .apc-directory {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0 27px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.apc-catalog .apc-directory li {
  margin: 0;
  padding: 0;
  list-style: none;
}

.apc-catalog .apc-directory a {
  display: block;
  padding: 11.5px 0;
  border-bottom: 1px solid var(--apc-line);
  color: var(--apc-ink);
  font-size: 15.2px;
  font-weight: 550;
}

.apc-catalog .apc-directory a:hover {
  color: var(--apc-brand-hover);
  text-decoration: underline;
}

.apc-catalog .apc-directory li[hidden],
.apc-catalog [hidden] {
  display: none !important;
}

.apc-empty-results {
  padding: 24px 0;
}

.apc-empty-results h3 {
  margin: 0 0 4px;
  font: 700 19px/1.3 var(--apc-font);
}

.apc-empty-results p {
  margin: 0 0 14px;
  color: var(--apc-muted);
}

.apc-clear-filters {
  min-height: 44px;
  padding: 10px 18px;
  border: 1px solid #b7b7b9;
  border-radius: 0;
  background: #fff;
  color: var(--apc-ink);
  font: 700 15px var(--apc-font);
  cursor: pointer;
}

@media (max-width: 820px) {
  .apc-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 620px) {
  .apc-catalog-top {
    padding-bottom: 27px;
  }

  .apc-catalog-input,
  .apc-catalog-input input {
    width: 100%;
  }

  .apc-cards {
    gap: 19px 12px;
  }

  .apc-card-img {
    aspect-ratio: 1.3;
    border-radius: 0;
  }

  .apc-catalog .apc-directory {
    grid-template-columns: 1fr 1fr;
    column-gap: 16px;
  }

  .apc-catalog .apc-directory a {
    font-size: 14.2px;
  }
}

@media (max-width: 355px) {
  .apc-catalog .apc-directory {
    grid-template-columns: 1fr;
  }
}

/* ---------- search results (apc_theme/search.tpl) ---------- */
#pageContent.apc-search {
  padding: 0;
  margin: 0;
  overflow: visible;
  background: #fff;
  color: var(--apc-ink);
  font-family: var(--apc-font);
}

.apc-search-top h1 {
  overflow-wrap: anywhere;
}

.apc-search-form {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
  max-width: 640px;
}

.apc-search-form .apc-catalog-input {
  flex: 1 1 320px;
  background: #fff;
}

.apc-search-form .apc-catalog-input input {
  width: 100%;
}

.apc-search-submit {
  min-height: 44px;
  padding: 10px 22px;
  border: 0;
  border-radius: 0;
  background: var(--apc-brand);
  color: #fff;
  font: 700 15px var(--apc-font);
  cursor: pointer;
}

.apc-search-submit:hover {
  background: var(--apc-brand-hover);
}

/* results area aligned with the header */
#pageContent.apc-search > .container-outer {
  width: auto;
  max-width: none;
  margin: 0;
  padding: 0;
  background: none;
  box-shadow: none;
}

#pageContent.apc-search > .container-outer > .container {
  width: calc(100% - 2 * var(--apc-gutter));
  max-width: var(--apc-wrap);
  margin: 0 auto;
  padding: 16px 0 64px;
}

#pageContent.apc-search .container-bottom {
  display: none;
}

#pageContent.apc-search #right-section {
  padding: 0;
  background: none;
  box-shadow: none;
}

#pageContent.apc-search .allProductBlock {
  display: block;
  margin: 0 0 12px;
}

#pageContent.apc-search h4.heading {
  margin: 24px 0 16px;
  color: var(--apc-ink);
  font: 700 var(--apc-h2)/1.2 var(--apc-font);
  letter-spacing: -.04em;
  text-transform: none;
}

/* product results: image cards */
#pageContent.apc-search .productSection {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 26px 20px;
  margin: 0;
  padding: 0;
}

#pageContent.apc-search .productSection::before,
#pageContent.apc-search .productSection::after {
  display: none;
}

#pageContent.apc-search .productSection li {
  float: none;
  width: auto;
  min-height: 0;
  margin: 0;
  list-style: none;
}

#pageContent.apc-search .productSection li a {
  text-align: left;
}

#pageContent.apc-search .productSection li .iconImageAll {
  display: grid;
  place-items: center;
  aspect-ratio: 1.25;
  max-height: none;
  min-height: 0;
  padding: 14px;
  border: 1px solid var(--apc-line);
  border-radius: 0;
  background: #fff;
  box-shadow: none;
  overflow: hidden;
  transition: border-color .16s;
}

#pageContent.apc-search .productSection li .iconImageAll {
  position: relative;
}

/* the link fills the tile's inner area so the icon scales to fit instead of overflowing */
#pageContent.apc-search .productSection li .iconImageAll a {
  position: absolute;
  inset: 14px;
  display: block;
}

#pageContent.apc-search .productSection li .iconImageAll img {
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  object-fit: contain;
  transition: transform .32s cubic-bezier(.2, .7, .3, 1);
}

#pageContent.apc-search .productSection li:hover .iconImageAll {
  border-color: #999;
}

#pageContent.apc-search .productSection li:hover .iconImageAll img {
  transform: scale(1.04);
}

#pageContent.apc-search .productSection li h3 {
  margin: 10px 0 0;
  padding: 0;
}

#pageContent.apc-search .productSection li h3 a {
  display: block;
  min-height: 0;
  color: var(--apc-ink);
  font: 650 15.5px/1.3 var(--apc-font);
  letter-spacing: -.01em;
  text-align: left;
  text-transform: none;
}

#pageContent.apc-search .productSection li:hover h3 a {
  color: var(--apc-brand-hover);
  text-decoration: underline;
  text-underline-offset: .2em;
}

/* videos / templates / designs */
#pageContent.apc-search .catListBox .catListBoxImg {
  border-color: var(--apc-line);
  border-radius: 0;
}

#pageContent.apc-search .catListBox h4,
#pageContent.apc-search .catListBox h3 {
  color: var(--apc-ink);
  font: 600 14.5px/1.35 var(--apc-font);
  text-transform: none;
}

@media (max-width: 1100px) {
  #pageContent.apc-search .productSection {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 820px) {
  #pageContent.apc-search .productSection {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  #pageContent.apc-search .productSection {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px 12px;
  }

  #pageContent.apc-search .productSection li h3 a {
    font-size: 14px;
  }
}

/* results heading with the Grid / List toggle */
#pageContent.apc-search .apc-results-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 20px;
  margin: 24px 0 16px;
}

#pageContent.apc-search .apc-results-head h4.heading {
  margin: 0;
}

#pageContent.apc-search .apc-results-count {
  color: var(--apc-muted);
  font-size: 17px;
  font-weight: 500;
  letter-spacing: 0;
}

.apc-view-toggle {
  display: inline-flex;
  padding: 3px;
  border: 1px solid var(--apc-line);
  border-radius: 0;
  background: #fff;
}

.apc-view-toggle button {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 36px;
  padding: 6px 14px;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--apc-muted);
  font: 600 14px var(--apc-font);
  cursor: pointer;
}

.apc-view-toggle button .apc-ico {
  width: 17px;
  height: 17px;
}

.apc-view-toggle button:hover {
  color: var(--apc-ink);
}

.apc-view-toggle button[aria-pressed="true"] {
  background: var(--apc-ink);
  color: #fff;
}

.apc-view-toggle button:focus-visible {
  outline: 2px solid var(--apc-brand);
  outline-offset: 2px;
}

/* list mode: the same plain A-Z name list as the /printing product directory */
#pageContent.apc-search.apc-view-list .productSection {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0 27px;
}

#pageContent.apc-search.apc-view-list .productSection li .iconImageAll {
  display: none;
}

#pageContent.apc-search.apc-view-list .productSection li h3 {
  margin: 0;
}

#pageContent.apc-search.apc-view-list .productSection li h3 a {
  padding: 11.5px 0;
  border-bottom: 1px solid var(--apc-line);
  font-size: 15.2px;
  font-weight: 550;
  line-height: 1.5;
  letter-spacing: 0;
}

/* same breakpoints as the /printing directory */
@media (max-width: 620px) {
  #pageContent.apc-search.apc-view-list .productSection {
    grid-template-columns: 1fr 1fr;
    gap: 0 16px;
  }

  #pageContent.apc-search.apc-view-list .productSection li h3 a {
    font-size: 14.2px;
  }
}

@media (max-width: 355px) {
  #pageContent.apc-search.apc-view-list .productSection {
    grid-template-columns: 1fr;
  }
}

/* list mode for template results */
#pageContent.apc-search.apc-view-list #catListArea > [class*="col-"] {
  float: none;
  width: 100%;
}

#pageContent.apc-search.apc-view-list #catListArea .catListBox {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 10px 8px;
  border-bottom: 1px solid var(--apc-line);
}

#pageContent.apc-search.apc-view-list #catListArea .catListBox .catListBoxImg {
  flex: 0 0 104px;
  width: 104px;
  height: 104px;
  margin: 0;
}

#pageContent.apc-search.apc-view-list #catListArea .catListBox h4 {
  height: auto;
  margin: 0;
  font-size: 16px;
  text-align: left;
}

@media (max-width: 560px) {
  #pageContent.apc-search .apc-view-toggle button span {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
  }

  #pageContent.apc-search .apc-view-toggle button {
    padding: 6px 10px;
  }

  #pageContent.apc-search.apc-view-list #catListArea .catListBox .catListBoxImg {
    flex-basis: 72px;
    width: 72px;
    height: 72px;
  }
}

/* ---------- category pages (apc_theme/global_categories.tpl, e.g. /brochure-printing) ---------- */
.apc-category .apc-cat-h2 {
  margin: 0 0 18px;
  color: var(--apc-ink);
  font: 700 var(--apc-h2)/1.2 var(--apc-font);
  letter-spacing: -.045em;
  text-transform: none;
}

.apc-cat-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 26px 20px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.apc-cat-grid li {
  margin: 0;
  padding: 0;
  list-style: none;
}

.apc-cat-card {
  display: block;
  min-width: 0;
}

.apc-cat-img {
  display: block;
  position: relative;
  aspect-ratio: 1.25;
  overflow: hidden;
  border: 1px solid var(--apc-line);
  border-radius: 0;
  background: #fff;
  transition: border-color .16s;
}

.apc-cat-img img {
  position: absolute;
  inset: 14px;
  width: calc(100% - 28px);
  height: calc(100% - 28px);
  object-fit: contain;
  transition: transform .32s cubic-bezier(.2, .7, .3, 1);
}

.apc-cat-name {
  display: block;
  margin-top: 10px;
  color: var(--apc-ink);
  font: 650 15.5px/1.3 var(--apc-font);
  letter-spacing: -.01em;
}

.apc-cat-card:hover .apc-cat-img {
  border-color: #999;
}

.apc-cat-card:hover .apc-cat-img img {
  transform: scale(1.04);
}

.apc-cat-card:hover .apc-cat-name {
  color: var(--apc-brand-hover);
  text-decoration: underline;
  text-underline-offset: .2em;
}

.apc-cat-card:focus-visible {
  outline: 3px solid var(--apc-focus);
  outline-offset: 4px;
  border-radius: 0;
}

/* header band: copy (eyebrow, name, heading, CMS description) + category image */
.apc-cat-hero.has-image {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: clamp(24px, 4vw, 64px);
  align-items: center;
}

.apc-cat-hero-copy {
  max-width: 760px;
}

.apc-cat-top .apc-cat-heading {
  margin: 4px 0 10px;
  color: var(--apc-ink);
  font: 700 var(--apc-h3)/1.3 var(--apc-font);
  letter-spacing: -.03em;
  text-transform: none;
}

.apc-cat-desc {
  overflow-wrap: break-word;
  color: var(--apc-muted);
  font: 400 16.5px/1.65 var(--apc-font);
}

.apc-cat-desc h1,
.apc-cat-desc h2,
.apc-cat-desc h3,
.apc-cat-desc h4,
.apc-cat-desc h5 {
  margin: 0 0 8px;
  padding: 0;
  color: var(--apc-ink);
  font: 700 19px/1.3 var(--apc-font);
  letter-spacing: -.02em;
  text-transform: none;
}

.apc-cat-desc h1,
.apc-cat-desc h2 {
  font-size: 22px;
  letter-spacing: -.03em;
}

.apc-cat-desc * + h2,
.apc-cat-desc * + h3,
.apc-cat-desc * + h4 {
  margin-top: 16px;
}

.apc-cat-top .apc-cat-desc p,
.apc-cat-desc li {
  margin: 0 0 10px;
  color: var(--apc-muted);
  font: inherit;
}

.apc-cat-desc > :last-child {
  margin-bottom: 0;
}

.apc-cat-desc ul,
.apc-cat-desc ol {
  margin: 0 0 12px;
  padding-left: 22px;
}

.apc-catalog .apc-cat-desc a {
  color: #91194e;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.apc-cat-desc strong,
.apc-cat-desc b {
  color: var(--apc-ink);
}

.apc-cat-desc img {
  max-width: 100%;
  height: auto;
}

.apc-catalog .apc-cat-jump {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  margin-top: 20px;
  padding: 10px 20px;
  border-radius: 0;
  background: var(--apc-ink);
  color: #fff;
  font: 700 15px var(--apc-font);
  text-decoration: none;
}

.apc-catalog .apc-cat-jump::after {
  content: "\2193";
}

.apc-catalog .apc-cat-jump:hover {
  background: #000;
  color: #fff;
}

.apc-cat-hero-img {
  margin: 0;
}

.apc-cat-hero-img img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 380px;
  object-fit: contain;
  border-radius: 0;
}

#apc-cat-products {
  scroll-margin-top: 16px;
}

.apc-cat-faq {
  margin-top: 56px;
  max-width: 900px;
}

@media (max-width: 1100px) {
  .apc-cat-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 820px) {
  .apc-cat-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .apc-cat-hero.has-image {
    grid-template-columns: minmax(0, 1fr);
  }

  .apc-cat-hero-img {
    order: -1;
  }

  .apc-cat-hero-img img {
    max-height: 240px;
  }
}

@media (max-width: 560px) {
  .apc-cat-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px 12px;
  }

  .apc-cat-name {
    font-size: 14px;
  }

  .apc-cat-faq {
    margin-top: 40px;
  }
}

/* ---------- static pages + contact (apc_theme/pages.tpl) ---------- */
.apc-catalog-top p a {
  color: inherit;
  font-weight: 650;
  white-space: nowrap;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.apc-static-body {
  color: #3b3c41;
  font: 400 16px/1.65 var(--apc-font);
}

.apc-static-body h1,
.apc-static-body h2,
.apc-static-body h3,
.apc-static-body h4 {
  color: var(--apc-ink);
  font-family: var(--apc-font);
  letter-spacing: -.02em;
  text-transform: none;
}

.apc-static-body a {
  color: #91194e;
  text-decoration: underline;
}

.apc-static-body img {
  max-width: 100%;
  height: auto;
}

.apc-contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 380px;
  gap: clamp(24px, 4vw, 56px);
  align-items: start;
}

.apc-contact-card {
  padding: clamp(20px, 3vw, 36px);
  border: 1px solid var(--apc-line);
  border-radius: 0;
  background: #fff;
}

.apc-contact-card h2 {
  margin: 0 0 6px;
  color: var(--apc-ink);
  font: 700 var(--apc-h2)/1.2 var(--apc-font);
  letter-spacing: -.045em;
  text-transform: none;
}

.apc-contact-sub {
  margin: 0 0 22px;
  color: var(--apc-muted);
  font-size: 15px;
}

.apc-contact-intro:empty {
  display: none;
}

.apc-contact-intro {
  margin-bottom: 18px;
  color: var(--apc-muted);
}

.apc-contact-alert {
  margin: 0 0 18px;
  padding: 12px 14px;
  border: 1px solid #efc3d6;
  border-radius: 0;
  background: #fdf3f7;
}

.apc-contact-alert .error_msg {
  color: #b00012;
  font-weight: 600;
}

.apc-contact-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 18px;
}

.apc-contact-grid .apc-contact-full {
  grid-column: 1 / -1;
}

.apc-contact .form-group {
  margin: 0 0 16px;
}

.apc-contact .form-group label {
  display: block;
  margin: 0 0 6px;
  color: var(--apc-ink);
  font: 650 14px/1.35 var(--apc-font);
  text-transform: none;
}

.apc-contact .apc-req {
  margin-left: 2px;
  color: #b00012;
}

.apc-contact .form-control {
  height: 46px;
  padding: 10px 12px;
  border: 1px solid #bab9b6;
  border-radius: 0;
  background: #fff;
  color: #252526;
  font: 400 16px var(--apc-font);
  box-shadow: none;
}

.apc-contact textarea.form-control {
  height: auto;
  min-height: 150px;
  resize: vertical;
}

.apc-contact .form-control:focus {
  border-color: #555;
  box-shadow: 0 0 0 3px rgba(46, 159, 218, .18);
  outline: none;
}

.apc-contact .error_msg,
.apc-contact label.error {
  display: block;
  color: #b00012;
  font: 600 13.5px/1.4 var(--apc-font);
}

.apc-contact .form-control.error {
  border-color: #b00012;
}

.apc-contact .erormsg {
  display: block;
  margin-top: 6px;
  color: var(--apc-muted);
  font: italic 400 13.5px/1.45 var(--apc-font);
}

.apc-contact .captcha {
  margin: 4px 0 20px;
}

.apc-contact .apc-contact-submit {
  min-height: 48px;
  padding: 12px 28px;
  border: 0;
  border-radius: 0;
  background: var(--apc-brand);
  color: #fff;
  font: 700 16px var(--apc-font);
  text-transform: none;
  box-shadow: none;
}

.apc-contact .apc-contact-submit:hover,
.apc-contact .apc-contact-submit:focus {
  background: #91194e;
  color: #fff;
}

.apc-contact .apc-contact-submit:focus-visible {
  outline: 3px solid var(--apc-focus);
  outline-offset: 2px;
}

/* side card: quick actions + the store info from the CMS (contact_left) */
.apc-contact-aside {
  position: sticky;
  top: 20px;
  padding: 26px;
  border: 1px solid var(--apc-line);
  border-radius: 0;
  background: var(--apc-surface);
}

.apc-contact-quick {
  display: grid;
  gap: 10px;
  margin-bottom: 22px;
}

.apc-catalog .apc-contact-call,
.apc-catalog .apc-contact-link {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 10px 16px;
  border-radius: 0;
  font: 700 15.5px var(--apc-font);
  text-decoration: none;
}

.apc-catalog .apc-contact-call {
  background: var(--apc-ink);
  color: #fff;
}

.apc-catalog .apc-contact-call:hover {
  background: #000;
  color: #fff;
}

.apc-catalog .apc-contact-link {
  border: 1px solid #b6b4b5;
  background: #fff;
  color: var(--apc-ink);
}

.apc-catalog .apc-contact-link:hover {
  border-color: var(--apc-ink);
}

.apc-contact-info,
.apc-contact-info p,
.apc-contact-info li,
.apc-contact-info td {
  color: #3b3c41;
  font: 400 15px/1.6 var(--apc-font);
}

.apc-contact-info {
  float: none;
  width: auto;
  margin: 0;
  padding: 0;
}

.apc-contact-info h1,
.apc-contact-info h2,
.apc-contact-info h3,
.apc-contact-info h4,
.apc-contact-info h5,
.apc-contact-info strong,
.apc-contact-info b {
  color: var(--apc-ink);
  font-family: var(--apc-font);
  text-transform: none;
}

.apc-contact-info h1,
.apc-contact-info h2,
.apc-contact-info h3,
.apc-contact-info h4,
.apc-contact-info h5 {
  margin: 18px 0 6px;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0;
}

.apc-contact-info > :first-child,
.apc-contact-info > :first-child > :first-child {
  margin-top: 0;
}

.apc-contact-info p {
  margin: 0 0 10px;
}

.apc-contact-info ul,
.apc-contact-info ol {
  margin: 0 0 12px;
  padding-left: 18px;
}

.apc-contact-info a {
  color: #91194e;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.apc-contact-info img {
  max-width: 100%;
  height: auto;
}

.apc-contact-info table {
  width: 100%;
}

@media (max-width: 980px) {
  .apc-contact-layout {
    grid-template-columns: 1fr;
  }

  .apc-contact-aside {
    position: static;
  }
}

@media (max-width: 560px) {
  .apc-contact-grid {
    grid-template-columns: 1fr;
  }

  .apc-contact .g-recaptcha {
    transform: scale(.9);
    transform-origin: 0 0;
  }
}

/* ---------- FAQ (apc_theme/faq.tpl; reuses the catalog header band) ---------- */
.apc-faq-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: clamp(24px, 4vw, 64px);
  align-items: start;
}

.apc-faq .apc-faq-search {
  display: flex;
  width: 100%;
  margin: 0 0 20px;
}

.apc-faq .apc-faq-search input {
  width: 100%;
}

.apc-faq-list {
  border-top: 1px solid var(--apc-line);
}

.apc-faq-item {
  border-bottom: 1px solid var(--apc-line);
}

.apc-faq-item[hidden] {
  display: none;
}

.apc-faq-item > summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 17px 2px;
  color: var(--apc-ink);
  font: 650 17px/1.4 var(--apc-font);
  list-style: none;
  cursor: pointer;
}

.apc-faq-item > summary::-webkit-details-marker {
  display: none;
}

.apc-faq-item > summary::after {
  content: '+';
  flex: 0 0 auto;
  color: var(--apc-ink);
  font-size: 22px;
  font-weight: 400;
  line-height: 1;
}

.apc-faq-item[open] > summary::after {
  content: '\2212';
}

.apc-faq-item > summary:hover {
  color: var(--apc-brand-hover);
}

.apc-faq-item > summary:focus-visible {
  outline: 3px solid var(--apc-focus);
  outline-offset: 2px;
}

.apc-faq-answer {
  padding: 0 2px 20px;
}

.apc-faq-answer,
.apc-faq-answer p {
  margin: 0;
  max-width: 75ch;
  color: var(--apc-muted);
  font: 400 15.5px/1.65 var(--apc-font);
}

.apc-faq-answer a {
  color: #91194e;
  text-decoration: underline;
}

.apc-faq-help {
  position: sticky;
  top: 20px;
  padding: 26px;
  border: 1px solid var(--apc-line);
  border-radius: 0;
  background: var(--apc-surface);
}

.apc-faq-help h2 {
  margin: 0 0 6px;
  color: var(--apc-ink);
  font: 700 var(--apc-h3)/1.25 var(--apc-font);
  letter-spacing: -.03em;
}

.apc-faq-help p {
  margin: 0 0 18px;
  color: var(--apc-muted);
  font-size: 15px;
}

.apc-faq-help .apc-faq-call {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  margin: 0 0 16px;
  border-radius: 0;
  background: var(--apc-brand);
  color: #fff;
  font: 700 15.5px var(--apc-font);
}

.apc-faq-help .apc-faq-call:hover {
  background: var(--apc-brand-hover);
  color: #fff;
}

.apc-faq-help ul {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--apc-line);
}

.apc-faq-help li {
  margin: 0;
  list-style: none;
}

.apc-faq-help li a {
  display: block;
  padding: 11px 0;
  border-bottom: 1px solid var(--apc-line);
  color: var(--apc-ink);
  font-weight: 600;
  font-size: 15px;
}

.apc-faq-help li a:hover {
  color: var(--apc-brand-hover);
  text-decoration: underline;
}

@media (max-width: 900px) {
  .apc-faq-layout {
    grid-template-columns: 1fr;
  }

  .apc-faq-help {
    position: static;
  }
}

/* "added to your cart" modal on the upload page */
#shoppingCartPop .modal-dialog {
  width: min(560px, calc(100% - 32px));
  margin: 12vh auto 0;
}

#shoppingCartPop .modal-content.shoppingModal {
  margin-top: 0;
  border: 0;
  border-radius: 0;
  box-shadow: 0 24px 60px rgba(17, 17, 20, .28);
  font-family: var(--apc-font);
}

#shoppingCartPop .modal-body.apc-added {
  padding: 34px 32px 30px;
  text-align: center;
}

#shoppingCartPop .apc-added-icon {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  margin: 0 auto 16px;
  border-radius: 50%;
  background: #e6f2e7;
  color: #28734b;
}

#shoppingCartPop .apc-added h4 {
  margin: 0 0 6px;
  color: var(--apc-ink);
  font: 700 20px/1.2 var(--apc-font);
  letter-spacing: -.03em;
}

#shoppingCartPop .apc-added p {
  margin: 0 auto 24px;
  max-width: 38ch;
  color: var(--apc-muted);
  font: 400 15.5px/1.5 var(--apc-font);
}

#shoppingCartPop .apc-added-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

#shoppingCartPop .apc-added-actions .btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 46px;
  margin: 0;
  padding: 11px 14px;
  border: 1px solid #b7b7b9;
  border-radius: 0;
  background: #fff;
  background-image: none;
  color: var(--apc-ink);
  font: 700 15px/1.2 var(--apc-font);
  text-transform: none;
  text-shadow: none;
  box-shadow: none;
}

#shoppingCartPop .apc-added-actions .btn:hover {
  border-color: #2a2a2c;
  background: #fafafa;
  color: var(--apc-ink);
}

/* primary action spans the full row */
#shoppingCartPop .apc-added-actions .btn#uploadDivNew {
  grid-column: 1 / -1;
  min-height: 50px;
  border-color: var(--apc-brand);
  background: var(--apc-brand);
  color: #fff;
  font-size: 16px;
}

#shoppingCartPop .apc-added-actions .btn#uploadDivNew:hover {
  border-color: var(--apc-brand-hover);
  background: var(--apc-brand-hover);
  color: #fff;
}

@media (max-width: 460px) {
  #shoppingCartPop .apc-added-actions {
    grid-template-columns: 1fr;
  }

  #shoppingCartPop .modal-body.apc-added {
    padding: 28px 20px 22px;
  }
}

/* ---------- sign-in / forgot-password modals (footer .apc-auth) ----------
   Scoped by id so they beat temp12/style.css (#signIn .modal-dialog {width:400px}, uppercase titles/labels). */
:is(#signIn, #fgotPass).apc-auth .modal-dialog {
  width: calc(100% - 32px);
  max-width: 440px;
  margin: 72px auto 24px;
}

:is(#signIn, #fgotPass).apc-auth .modal-content {
  position: relative;
  border: 0;
  border-radius: 0;
  box-shadow: 0 24px 64px rgba(16, 16, 20, .28);
  font-family: var(--apc-font);
  color: var(--apc-ink);
  overflow: hidden;
}

:is(#signIn, #fgotPass).apc-auth .apc-auth-close {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 2;
  width: 36px;
  height: 36px;
  margin: 0;
  border-radius: 50%;
  font-size: 20px;
  font-weight: 400;
  line-height: 34px;
  color: var(--apc-muted);
  opacity: 1;
  text-shadow: none;
}

:is(#signIn, #fgotPass).apc-auth .apc-auth-close:hover,
:is(#signIn, #fgotPass).apc-auth .apc-auth-close:focus-visible {
  background: var(--apc-surface);
  color: var(--apc-ink);
}

:is(#signIn, #fgotPass).apc-auth .apc-auth-head {
  padding: 32px 32px 4px;
  text-align: center;
}

:is(#signIn, #fgotPass).apc-auth .apc-auth-mark {
  display: inline-grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-bottom: 14px;
  border-radius: 50%;
  background: #fbeaeb;
  color: var(--apc-brand);
}

:is(#signIn, #fgotPass).apc-auth .apc-auth-mark svg {
  width: 24px;
  height: 24px;
}

:is(#signIn, #fgotPass).apc-auth .modal-title {
  margin: 0 0 6px;
  font-family: var(--apc-font);
  font-size: 20px;
  font-weight: 750;
  line-height: 1.2;
  letter-spacing: -.02em;
  text-transform: none;
  color: var(--apc-ink);
}

:is(#signIn, #fgotPass).apc-auth .apc-auth-head p {
  margin: 0 auto;
  max-width: 330px;
  font-size: 14px;
  line-height: 1.5;
  color: var(--apc-muted);
}

:is(#signIn, #fgotPass).apc-auth .modal-body {
  padding: 22px 32px 8px;
}

:is(#signIn, #fgotPass).apc-auth .apc-auth-field {
  margin-bottom: 16px;
}

:is(#signIn, #fgotPass).apc-auth .apc-auth-field label,
:is(#signIn, #fgotPass).apc-auth .apc-auth-labelrow label {
  display: block;
  margin: 0 0 6px;
  font-size: 14px;
  font-weight: 650;
  letter-spacing: 0;
  text-transform: none;
  color: var(--apc-ink);
}

:is(#signIn, #fgotPass).apc-auth .apc-auth-labelrow {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}

:is(#signIn, #fgotPass).apc-auth .apc-auth-labelrow label {
  margin-bottom: 6px;
}

:is(#signIn, #fgotPass).apc-auth .ForgotPass {
  float: none;
  font-size: 13px;
  font-weight: 600;
  text-transform: none;
  color: var(--apc-brand);
  text-decoration: none;
}

:is(#signIn, #fgotPass).apc-auth .ForgotPass:hover,
:is(#signIn, #fgotPass).apc-auth .ForgotPass:focus-visible {
  text-decoration: underline;
  text-underline-offset: 3px;
}

:is(#signIn, #fgotPass).apc-auth .form-control {
  height: 48px;
  padding: 10px 14px;
  border: 1px solid #c8c8cf;
  border-radius: 0;
  background: #fff;
  box-shadow: none;
  font-family: var(--apc-font);
  font-size: 16px;
  color: var(--apc-ink);
  transition: border-color .15s, box-shadow .15s;
}

:is(#signIn, #fgotPass).apc-auth .form-control:hover {
  border-color: #9d9da6;
}

:is(#signIn, #fgotPass).apc-auth .form-control:focus {
  border-color: var(--apc-ink);
  box-shadow: 0 0 0 3px rgba(25, 25, 27, .12);
  outline: 0;
}

/* browser autofill: keep the field white instead of the pale blue fill */
:is(#signIn, #fgotPass).apc-auth .form-control:-webkit-autofill {
  -webkit-box-shadow: 0 0 0 40px #fff inset;
  -webkit-text-fill-color: var(--apc-ink);
}

:is(#signIn, #fgotPass).apc-auth .form-control.error {
  border-color: var(--apc-brand);
  color: var(--apc-ink);
}

:is(#signIn, #fgotPass).apc-auth .error_msg {
  display: block;
}

:is(#signIn, #fgotPass).apc-auth .error_msg label.error,
:is(#signIn, #fgotPass).apc-auth .error_msg .error {
  display: block;
  margin: 6px 0 0;
  font-size: 13px;
  font-weight: 500;
  color: var(--apc-brand);
}

:is(#signIn, #fgotPass).apc-auth .apc-auth-pass {
  position: relative;
}

:is(#signIn, #fgotPass).apc-auth .apc-auth-pass .form-control {
  padding-right: 48px;
}

:is(#signIn, #fgotPass).apc-auth .apc-auth-eye {
  position: absolute;
  top: 0;
  right: 0;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  padding: 0;
  border: 0;
  border-radius: 0 0 0 0;
  background: none;
  color: var(--apc-muted);
  cursor: pointer;
}

:is(#signIn, #fgotPass).apc-auth .apc-auth-eye svg {
  width: 20px;
  height: 20px;
}

:is(#signIn, #fgotPass).apc-auth .apc-auth-eye:hover,
:is(#signIn, #fgotPass).apc-auth .apc-auth-eye.is-on {
  color: var(--apc-ink);
}

:is(#signIn, #fgotPass).apc-auth .apc-auth-eye.is-on::after {
  content: "";
  position: absolute;
  width: 22px;
  height: 2px;
  border-radius: 0;
  background: currentColor;
  transform: rotate(-45deg);
}

:is(#signIn, #fgotPass).apc-auth .apc-auth-check {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 18px;
  font-size: 14px;
  font-weight: 500;
  text-transform: none;
  color: var(--apc-ink);
  cursor: pointer;
}

:is(#signIn, #fgotPass).apc-auth .apc-auth-check input {
  width: 18px;
  height: 18px;
  margin: 0;
  accent-color: var(--apc-ink);
}

:is(#signIn, #fgotPass).apc-auth .submitBlock {
  margin: 4px 0 0;
}

:is(#signIn, #fgotPass).apc-auth .apc-auth-submit {
  display: block;
  width: 100%;
  min-height: 50px;
  padding: 12px 20px;
  border: 0;
  border-radius: 0;
  background: var(--apc-brand);
  font-family: var(--apc-font);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: none;
  color: #fff;
  transition: background .15s;
}

:is(#signIn, #fgotPass).apc-auth .apc-auth-submit:hover,
:is(#signIn, #fgotPass).apc-auth .apc-auth-submit:focus-visible {
  background: var(--apc-brand-deep);
  color: #fff;
}

:is(#signIn, #fgotPass).apc-auth :focus-visible {
  outline: 2px solid var(--apc-focus);
  outline-offset: 2px;
}

:is(#signIn, #fgotPass).apc-auth .apc-auth-foot {
  float: none;
  margin: 22px 0 0;
  padding: 18px 32px 22px;
  border-top: 1px solid var(--apc-line);
  background: var(--apc-soft);
  text-align: center;
  font-size: 14px;
  color: var(--apc-muted);
}

:is(#signIn, #fgotPass).apc-auth .apc-auth-foot a {
  font-weight: 700;
  color: var(--apc-brand);
  text-decoration: none;
}

:is(#signIn, #fgotPass).apc-auth .apc-auth-foot a:hover,
:is(#signIn, #fgotPass).apc-auth .apc-auth-foot a:focus-visible {
  text-decoration: underline;
  text-underline-offset: 3px;
}

@media (max-width: 480px) {
  :is(#signIn, #fgotPass).apc-auth .modal-dialog {
    margin-top: 24px;
  }

  :is(#signIn, #fgotPass).apc-auth .apc-auth-head {
    padding: 28px 22px 4px;
  }

  :is(#signIn, #fgotPass).apc-auth .modal-body {
    padding: 20px 22px 6px;
  }

  :is(#signIn, #fgotPass).apc-auth .apc-auth-foot {
    padding: 16px 22px 20px;
  }
}

/* narrow desktops/tablets: keep every menu item, show "Create with Alli" as its icon only
   (the text stays in the link for screen readers; title gives a tooltip) */
@media (min-width: 821px) and (max-width: 960px) {
  .apc-header .apc-nav-inner a.apc-alli-nav {
    gap: 0;
    font-size: 0;
  }

  .apc-header .apc-nav-inner a.apc-alli-nav .apc-ico {
    width: 20px;
    height: 20px;
  }
}

/* ---------- responsive ---------- */
@media (max-width: 1050px) {
  /* all menu items stay visible (Contact Us is the last one); tighter spacing instead */
  .apc-nav-inner {
    gap: 14px;
  }

  .apc-nav-inner > nav {
    gap: 14px;
  }

  .apc-nav-inner nav a,
  .apc-mega summary,
  .apc-alli-nav {
    font-size: 13.8px;
  }

  .apc-head-tools {
    gap: 17.6px;
  }

  .apc-countdown {
    display: none;
  }
}

@media (max-width: 950px) {
  .desk-shell {
    grid-template-columns: 170px minmax(0, 1fr);
    gap: 18.4px;
  }

  .desk-side {
    padding-right: 10.4px;
  }

  .desk-heading {
    flex-wrap: wrap;
  }
}

@media (max-width: 820px) {
  .apc-head-main {
    grid-template-columns: auto 1fr auto;
    gap: 0 12.8px;
    padding-block: 8px;
    min-height: 0;
  }

  .apc-brand-logo {
    width: 145px;
  }

  .apc-hamb {
    display: grid;
    place-items: center;
    width: 42px;
    height: 44px;
    padding: 0;
    background: #fff;
    border: 1px solid var(--apc-line);
    border-radius: 0;
    color: var(--apc-ink);
  }

  .apc-head-tools {
    grid-column: 3;
    grid-row: 1;
    gap: 13.6px;
  }

  .apc-head-tools > .apc-cart > a,
  .apc-acct-panel > summary {
    width: 40px;
    justify-content: center;
  }

  .apc-head-tools > .apc-cart > a > span,
  .apc-acct-panel > summary > span {
    display: none;
  }

  .apc-cart-count {
    display: grid;
    place-items: center;
    position: absolute;
    top: 3px;
    right: -2px;
    min-width: 18px;
    height: 18px;
    padding: 0 4px;
    border-radius: 0;
    background: var(--apc-brand);
    color: #fff;
    font-size: 10.88px;
    font-weight: 700;
    line-height: 1;
  }

  .apc-header .shopping-box {
    display: none;
  }

  .apc-acct-panel {
    position: static;
  }

  .apc-acct-links {
    top: 60px;
    right: var(--apc-gutter);
  }

  .apc-site-search {
    grid-column: 1 / -1;
    grid-row: 2;
    margin: 4px 0 3px;
  }

  .apc-nav-line {
    display: none;
  }

  .apc-mobile-nav {
    display: block;
    position: absolute;
    inset-inline: 0;
    top: 100%;
    box-shadow: 0 13px 25px #12131830;
    background: #fff;
    padding: 8px var(--apc-gutter) 16px;
    max-height: 65vh;
    max-height: 65svh;
    overflow: auto;
  }

  .apc-mobile-nav > a,
  .apc-mobile-nav summary {
    display: flex;
    justify-content: space-between;
    align-items: center;
    min-height: 44px;
    border-bottom: 1px solid var(--apc-line);
    padding: 10.24px 0;
    font-weight: 650;
  }

  .apc-mobile-nav details a {
    display: block;
    padding: 9.6px 11.2px;
    font-size: 14.88px;
  }

  .apc-header--editor .apc-site-search {
    display: none;
  }

  .apc-foot-cols {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    row-gap: 28.8px;
  }

  .apc-foot-brand {
    grid-row: span 2;
  }
}

@media (max-width: 760px) {
  .au-columns {
    grid-template-columns: 1fr;
  }

  .au-wrap {
    width: calc(100% - 32px);
    padding-top: 20px;
  }

  .au-card,
  .au-rail {
    padding: 22px;
  }
}

@media (max-width: 740px) {
  .desk-side {
    display: none;
  }

  .desk-mobile,
  .desk--wide .desk-mobile {
    display: block;
    min-width: 0;
    border: 1px solid var(--apc-edge);
    border-radius: 0;
    margin: 0 0 20.8px;
  }

  .desk-mobile > summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10.4px 14.4px;
    min-height: 44px;
    font-weight: 650;
  }

  .desk-mobile .desk-nav,
  .desk--wide .desk-mobile[open] .desk-nav {
    position: static;
    width: auto;
    box-shadow: none;
    border: 0;
    padding: 9.6px 14.4px;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .desk-mobile .desk-nav a {
    min-height: 44px;
  }

  .desk-shell {
    display: block;
  }

  .desk-crumb {
    margin-bottom: 11.2px;
  }

  .desk-heading {
    margin-bottom: 17.6px;
  }
}

@media (min-width: 741px) {
  .desk--wide .desk-mobile > summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 8.8px 14.4px;
    min-height: 42px;
    font-weight: 650;
    font-size: 14.72px;
  }

  .desk--wide .desk-mobile[open] .desk-nav {
    display: grid;
    padding: 12.8px;
  }
}

@media (max-width: 620px) {
  /* mobile: location/hours on the first row, phone / Track order / Help on a second row */
  .apc-utility-in {
    flex-direction: column;
    justify-content: center;
    gap: 3px;
    min-height: 29px;
    padding: 5px 0;
  }

  .apc-utility-where {
    justify-content: center;
    text-align: center;
  }

  .apc-utility-links {
    justify-content: center;
    gap: 20px;
    width: 100%;
    padding-top: 4px;
    border-top: 1px solid #3a3a3d;
  }

  .apc-utility-links a {
    padding: 2px 0;
  }

  .apc-utility {
    font-size: 12.16px;
  }

  .apc-head-main {
    padding-top: 4px;
  }

  .apc-brand-logo {
    width: 132px;
  }

  .apc-foot-cols {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .apc-foot-brand {
    grid-column: 1 / -1;
    grid-row: auto;
  }

  .apc-foot-base {
    flex-wrap: wrap;
    gap: 12.8px;
  }
}

@media (max-width: 480px) {
  .desk-heading > div {
    min-width: 0;
  }

  .desk .desk-primary,
  .desk .desk-secondary {
    max-width: 100%;
  }
}

@media (max-width: 460px) {
  .au-fields {
    grid-template-columns: 1fr;
  }

  .au-card,
  .au-rail {
    padding: 19px 16px;
    border-radius: 0;
  }

  .au-crumb {
    gap: 6px;
  }

  .au-wrap .au-btn {
    width: 100%;
  }
}

@media (max-width: 355px) {
  .apc-utility-div {
    margin: 0;
  }

  .apc-utility-where {
    gap: 5.6px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .apc-header *,
  .desk *,
  .au-wrap * {
    transition: none !important;
    animation: none !important;
  }
}

/* ---------- signs list (apc_theme/signs_list_products.tpl, /signsList?categoryID=4[&subCate=36]) ---------- */
.apc-signs-list .apc-cat-desc {
  max-width: 68ch;
}

/* style images as a 2x2 mosaic in the header band */
.apc-sl-mosaic {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.apc-sl-mosaic span {
  display: block;
  position: relative;
  aspect-ratio: 1.15;
  border: 1px solid var(--apc-line);
  border-radius: 0;
  background: #fff;
}

.apc-sl-mosaic img {
  position: absolute;
  inset: 12px;
  width: calc(100% - 24px);
  height: calc(100% - 24px);
  object-fit: contain;
}

.apc-sl-hero-img {
  display: grid;
  place-items: center;
  min-height: 260px;
  padding: 24px;
  border: 1px solid var(--apc-line);
  border-radius: 0;
  background: #fff;
}

.apc-sl-hero-img img {
  max-height: 300px;
}

.apc-sl-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.apc-sl-facts li {
  padding: 6px 12px;
  border: 1px solid var(--apc-line);
  border-radius: 999px;
  background: #fff;
  color: var(--apc-muted);
  font: 500 14px/1.3 var(--apc-font);
}

.apc-sl-facts strong {
  color: var(--apc-ink);
}

.apc-sl-more {
  display: block;
  margin-top: 4px;
  color: var(--apc-muted);
  font: 500 13.5px/1.3 var(--apc-font);
}

.apc-sl-more::after {
  content: " \2192";
}

/* sibling styles */
.apc-sl-siblings {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 0 0 28px;
}

.apc-sl-siblings-label {
  margin-right: 4px;
  color: var(--apc-muted);
  font: 650 14px var(--apc-font);
}

.apc-catalog .apc-sl-siblings a {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 6px 14px;
  border: 1px solid var(--apc-line);
  border-radius: 999px;
  background: #fff;
  color: var(--apc-ink);
  font: 600 14px var(--apc-font);
  text-decoration: none;
}

.apc-catalog .apc-sl-siblings a:hover {
  border-color: #999;
}

.apc-catalog .apc-sl-siblings a.is-current {
  border-color: var(--apc-ink);
  background: var(--apc-ink);
  color: #fff;
}

.apc-catalog .apc-sl-siblings a:focus-visible,
.apc-sl-card:focus-visible,
.apc-sl-sort select:focus-visible {
  outline: 3px solid var(--apc-focus);
  outline-offset: 3px;
}

/* count + sort */
.apc-sl-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 18px;
}

.apc-signs-list .apc-sl-bar .apc-cat-h2 {
  margin: 0;
}

.apc-sl-sort {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  color: var(--apc-muted);
  font: 600 14px var(--apc-font);
}

.apc-sl-sort select {
  min-height: 40px;
  padding: 6px 34px 6px 12px;
  border: 1px solid var(--apc-line);
  border-radius: 0;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='m1 1 5 5 5-5' fill='none' stroke='%2319191b' stroke-width='1.6'/%3E%3C/svg%3E") no-repeat right 12px center;
  color: var(--apc-ink);
  font: 500 14.5px var(--apc-font);
  -webkit-appearance: none;
  appearance: none;
}

/* product cards */
.apc-sl-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.apc-sl-grid li {
  margin: 0;
  padding: 0;
  list-style: none;
}

.apc-sl-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
  border: 1px solid var(--apc-line);
  border-radius: 0;
  background: #fff;
  transition: border-color .16s, box-shadow .16s;
}

.apc-sl-card:hover {
  border-color: #b9b9bd;
  box-shadow: 0 10px 24px -16px rgba(25, 25, 27, .45);
}

.apc-sl-img {
  display: block;
  position: relative;
  aspect-ratio: 1.2;
  border-bottom: 1px solid var(--apc-line);
  background: #fff;
}

.apc-sl-img img {
  position: absolute;
  inset: 16px;
  width: calc(100% - 32px);
  height: calc(100% - 32px);
  object-fit: contain;
  transition: transform .32s cubic-bezier(.2, .7, .3, 1);
}

.apc-sl-img.is-placeholder img {
  opacity: .55;
}

.apc-sl-card:hover .apc-sl-img img {
  transform: scale(1.04);
}

.apc-sl-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 14px 16px 16px;
}

.apc-sl-title {
  color: var(--apc-ink);
  font: 650 15.5px/1.3 var(--apc-font);
  letter-spacing: -.01em;
}

.apc-sl-size {
  margin-top: 4px;
  color: var(--apc-muted);
  font: 500 14px/1.3 var(--apc-font);
}

.apc-sl-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-top: auto;
  padding-top: 14px;
}

.apc-sl-price {
  color: var(--apc-ink);
  font: 750 18px var(--apc-font);
  letter-spacing: -.02em;
}

.apc-sl-cta {
  color: var(--apc-ink);
  font: 650 14px var(--apc-font);
}

.apc-sl-cta::after {
  content: " \2192";
}

.apc-sl-card:hover .apc-sl-title,
.apc-sl-card:hover .apc-sl-cta {
  text-decoration: underline;
  text-underline-offset: .2em;
}

/* empty state + help strip */
.apc-sl-empty {
  padding: 36px 24px;
  border: 1px dashed #c9c9cd;
  border-radius: 0;
  text-align: center;
}

.apc-sl-empty h3 {
  margin: 0 0 6px;
  color: var(--apc-ink);
  font: 700 var(--apc-h3)/1.3 var(--apc-font);
  text-transform: none;
}

.apc-sl-empty p {
  margin: 0;
  color: var(--apc-muted);
  font-size: 15.5px;
}

.apc-catalog .apc-sl-empty a {
  color: var(--apc-ink);
  font-weight: 650;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.apc-sl-help {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px 32px;
  margin-top: 56px;
  padding: 26px 28px;
  border-radius: 0;
  background: #f5f4f1;
}

.apc-sl-help h2 {
  margin: 0 0 6px;
  color: var(--apc-ink);
  font: 700 var(--apc-h3)/1.3 var(--apc-font);
  letter-spacing: -.02em;
  text-transform: none;
}

.apc-sl-help p {
  max-width: 62ch;
  margin: 0;
  color: var(--apc-muted);
  font-size: 15.5px;
  line-height: 1.55;
}

.apc-sl-help-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.apc-catalog .apc-sl-help-actions a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 10px 18px;
  border-radius: 0;
  font: 700 15px var(--apc-font);
  text-decoration: none;
}

.apc-catalog .apc-sl-help-primary {
  background: var(--apc-brand);
  color: #fff;
}

.apc-catalog .apc-sl-help-primary:hover {
  background: var(--apc-brand-deep);
  color: #fff;
}

.apc-catalog .apc-sl-help-secondary {
  border: 1px solid var(--apc-ink);
  background: #fff;
  color: var(--apc-ink);
}

.apc-catalog .apc-sl-help-secondary:hover {
  background: var(--apc-ink);
  color: #fff;
}

@media (max-width: 1100px) {
  .apc-sl-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 820px) {
  .apc-sl-mosaic {
    order: -1;
    max-width: 420px;
  }

  .apc-sl-hero-img {
    min-height: 0;
  }

  .apc-sl-hero-img img {
    max-height: 220px;
  }

  .apc-sl-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
  }
}

@media (max-width: 560px) {
  .apc-sl-body {
    padding: 12px;
  }

  .apc-sl-title {
    font-size: 14.5px;
  }

  .apc-sl-price {
    font-size: 16.5px;
  }

  .apc-sl-cta {
    display: none;
  }

  .apc-sl-bar .apc-cat-h2 {
    width: 100%;
  }

  .apc-sl-help {
    padding: 22px 18px;
  }

  /* shorter header band: mosaic in one row, smaller style image */
  .apc-sl-mosaic {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 8px;
  }

  .apc-sl-mosaic img {
    inset: 6px;
    width: calc(100% - 12px);
    height: calc(100% - 12px);
  }

  .apc-sl-hero-img {
    padding: 14px;
  }

  .apc-sl-hero-img img {
    max-height: 170px;
  }

  /* style chips scroll sideways instead of wrapping into several rows */
  .apc-sl-siblings {
    flex-wrap: nowrap;
    margin-right: calc(var(--apc-gutter) * -1);
    padding-right: var(--apc-gutter);
    padding-bottom: 4px;
    overflow-x: auto;
    scrollbar-width: none;
  }

  .apc-sl-siblings::-webkit-scrollbar {
    display: none;
  }

  .apc-catalog .apc-sl-siblings a,
  .apc-sl-siblings-label {
    flex: none;
    white-space: nowrap;
  }
}

/* ---------- EDDM (apc_theme/eddm.tpl, /eddm) ---------- */
.apc-ed-hero {
  display: grid;
  grid-template-columns: minmax(0, 6fr) minmax(0, 5fr);
  gap: clamp(24px, 4vw, 64px);
  align-items: center;
}

.apc-ed-copy p {
  max-width: 52ch;
}

.apc-ed-choices {
  display: grid;
  gap: 12px;
}

.apc-ed-ask {
  margin: 0 0 2px;
  color: var(--apc-ink);
  font: 700 var(--apc-h3)/1.3 var(--apc-font);
  letter-spacing: -.02em;
  text-transform: none;
}

.apc-catalog .apc-ed-choice {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 16px;
  width: 100%;
  padding: 18px 20px;
  border: 1px solid var(--apc-line);
  border-radius: 0;
  background: #fff;
  color: var(--apc-ink);
  font: inherit;
  text-align: left;
  text-decoration: none;
  cursor: pointer;
  transition: border-color .16s, box-shadow .16s;
}

.apc-catalog .apc-ed-choice:hover {
  border-color: #b9b9bd;
  box-shadow: 0 10px 24px -16px rgba(25, 25, 27, .45);
}

.apc-catalog .apc-ed-choice.is-active {
  border-color: var(--apc-ink);
  box-shadow: inset 0 0 0 1px var(--apc-ink);
}

.apc-catalog .apc-ed-choice:focus-visible,
.apc-ed-size:focus-visible {
  outline: 3px solid var(--apc-focus);
  outline-offset: 3px;
}

.apc-ed-icon {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 0;
  background: #f5f4f1;
  color: var(--apc-ink);
}

.apc-ed-choice-text strong {
  display: block;
  font: 700 17px/1.3 var(--apc-font);
}

.apc-ed-choice-text span {
  display: block;
  margin-top: 2px;
  color: var(--apc-muted);
  font: 400 14.5px/1.45 var(--apc-font);
}

.apc-ed-go {
  color: var(--apc-ink);
  font: 650 14px var(--apc-font);
  white-space: nowrap;
}

.apc-ed-go::after {
  content: " \2192";
}

#apc-ed-full .apc-ed-go::after {
  content: " \2193";
}

#apc-ed-full.is-active .apc-ed-go::after {
  content: " \2191";
}

/* sizes */
.apc-ed-sizes {
  margin-bottom: 56px;
  scroll-margin-top: 16px;
}

.apc-ed-sizes-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 6px 16px;
  margin-bottom: 18px;
}

.apc-eddm .apc-ed-sizes-head .apc-cat-h2 {
  margin: 0;
}

.apc-ed-sizes-head p {
  margin: 0;
  color: var(--apc-muted);
  font-size: 14.5px;
}

.apc-ed-grid {
  display: grid;
  grid-template-columns: repeat(8, minmax(0, 1fr));
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.apc-ed-grid li {
  margin: 0;
  padding: 0;
  list-style: none;
}

.apc-ed-size {
  display: flex;
  flex-direction: column;
  align-items: center;
  height: 100%;
  padding: 14px 8px 12px;
  border: 1px solid var(--apc-line);
  border-radius: 0;
  background: #fff;
  transition: border-color .16s, box-shadow .16s;
}

.apc-ed-size:hover {
  border-color: #b9b9bd;
  box-shadow: 0 10px 24px -16px rgba(25, 25, 27, .45);
}

.apc-ed-stage {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  height: 110px;
}

/* postcard drawn to scale (7px per inch) with an address label and stamp */
.apc-ed-card {
  position: relative;
  display: block;
  max-width: 100%;
  border: 1px solid #c9c9cd;
  border-radius: 0;
  background: #f5f4f1;
  transition: border-color .16s, background-color .16s;
}

.apc-ed-card i {
  position: absolute;
  top: 8%;
  right: 30%;
  width: 34%;
  height: 10%;
  min-height: 5px;
  border-radius: 0;
  background: #fff;
  box-shadow: 0 0 0 1px #d8d8db;
}

.apc-ed-card b {
  position: absolute;
  top: 7%;
  right: 7%;
  width: 14%;
  aspect-ratio: 1;
  border-radius: 0;
  background: var(--apc-brand);
}

.apc-ed-size:hover .apc-ed-card {
  border-color: var(--apc-ink);
  background: #ecebe7;
}

.apc-ed-label {
  margin-top: 10px;
  color: var(--apc-ink);
  font: 650 14.5px/1.2 var(--apc-font);
  white-space: nowrap;
}

/* about EDDM */
.apc-ed-about .apc-cat-h2 {
  margin-bottom: 8px;
}

.apc-ed-row {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: clamp(24px, 4vw, 64px);
  align-items: center;
  padding: 28px 0;
  border-bottom: 1px solid var(--apc-line);
}

.apc-ed-row:last-child {
  border-bottom: 0;
}

.apc-ed-row.is-flipped figure {
  order: 2;
}

.apc-ed-row figure {
  margin: 0;
}

.apc-ed-row img {
  display: block;
  width: 100%;
  max-width: 480px;
  height: auto;
  margin: 0 auto;
}

.apc-ed-num {
  display: inline-grid;
  place-items: center;
  width: 32px;
  height: 32px;
  margin-bottom: 10px;
  border-radius: 50%;
  background: var(--apc-ink);
  color: #fff;
  font: 700 15px var(--apc-font);
}

.apc-ed-row h3 {
  margin: 0 0 10px;
  color: var(--apc-ink);
  font: 700 var(--apc-h2)/1.25 var(--apc-font);
  letter-spacing: -.035em;
  text-transform: none;
}

.apc-ed-row p,
.apc-ed-list li {
  color: var(--apc-muted);
  font: 400 16px/1.65 var(--apc-font);
}

.apc-ed-row p {
  max-width: 62ch;
  margin: 0;
}

.apc-ed-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.apc-ed-list li {
  position: relative;
  margin: 0 0 6px;
  padding-left: 26px;
}

.apc-ed-list li::before {
  content: "";
  position: absolute;
  top: .55em;
  left: 2px;
  width: 12px;
  height: 7px;
  border-bottom: 2px solid var(--apc-ink);
  border-left: 2px solid var(--apc-ink);
  transform: rotate(-45deg);
}

@media (max-width: 1100px) {
  .apc-ed-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 820px) {
  .apc-ed-hero,
  .apc-ed-row {
    grid-template-columns: minmax(0, 1fr);
  }

  .apc-ed-row.is-flipped figure {
    order: 0;
  }

  .apc-ed-row img {
    max-width: 360px;
  }
}

@media (max-width: 560px) {
  .apc-catalog .apc-ed-choice {
    grid-template-columns: auto minmax(0, 1fr);
    padding: 16px;
  }

  .apc-ed-go {
    grid-column: 2;
  }

  .apc-ed-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }
}

/* EDDM route map (temp6 m13eddm.tpl .eddm_wrapper): full-screen overlay above the theme header (z-index 1001),
   which otherwise covered its search box and close button */
.eddm_wrapper {
  z-index: 1100 !important;
  background: rgba(25, 25, 27, .55);
}

.eddm_wrapper .closeeddm {
  z-index: 2;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 50%;
  background: #fff;
  color: var(--apc-ink);
  font: 700 16px/1 var(--apc-font);
  box-shadow: 0 4px 14px rgba(0, 0, 0, .25);
}

.eddm_wrapper .closeeddm:hover {
  background: var(--apc-ink);
  color: #fff;
}

.eddm_wrapper .closeeddm:focus-visible {
  outline: 3px solid var(--apc-focus);
  outline-offset: 2px;
}

/* factory categories (apc_theme/factory_categories.tpl): seasonal promo image above the products (category 17) */
.apc-fc-promo {
  display: block;
  width: 100%;
  height: auto;
  margin: 0 0 28px;
  border-radius: 0;
}

/* ---------- Proofing (apc_theme/proofing.tpl, /Proofing?cart_id=) ---------- */
#pageContent.apc-proof {
  padding: 20px 0 clamp(40px, 6vw, 80px);
  background: #fff;
  color: var(--apc-ink);
  font-family: var(--apc-font);
}

.apc-proof-wrap {
  width: calc(100% - 2 * var(--apc-gutter));
  max-width: var(--apc-wrap);
  margin: 0 auto;
}

.apc-proof-crumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 14px;
  color: var(--apc-muted);
  font: 400 13.9px/1.4 var(--apc-font);
}

.apc-proof-crumb a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.apc-proof-crumb a:hover {
  color: var(--apc-brand-hover);
}

.apc-proof-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 14px 32px;
  margin-bottom: 22px;
}

.apc-proof-head h1 {
  margin: 0;
  color: var(--apc-ink);
  font: 700 var(--apc-h1)/1.06 var(--apc-font);
  letter-spacing: -.045em;
  text-transform: none;
}

.apc-proof-head h1 span {
  color: var(--apc-muted);
  font-weight: 500;
}

.apc-proof-head p {
  max-width: 62ch;
  margin: 10px 0 0;
  color: var(--apc-muted);
  font: 400 16.5px/1.5 var(--apc-font);
}

.apc-proof-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.apc-proof-facts li {
  padding: 7px 14px;
  border: 1px solid var(--apc-line);
  border-radius: 999px;
  color: var(--apc-muted);
  font: 500 14px/1.3 var(--apc-font);
}

.apc-proof-facts strong {
  color: var(--apc-ink);
}

.apc-proof-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 24px;
  align-items: start;
}

#pageContent.apc-proof .apc-proof-editor {
  min-width: 0;
  margin: 0;
  padding: 0;
  overflow: hidden;
  border: 1px solid var(--apc-line);
  border-radius: 0;
  background: #fff;
  box-shadow: none;
}

#pageContent.apc-proof .apc-proof-editor .main {
  padding: 0;
}

#pageContent.apc-proof .apc-proof-editor .editor-parent {
  height: calc(100vh - 140px);
  min-height: 560px;
}

/* guide panel */
.apc-proof-guide {
  position: sticky;
  top: 16px;
  padding: 20px;
  border: 1px solid var(--apc-line);
  border-radius: 0;
  background: #fff;
}

.apc-proof-guide h2 {
  margin: 0 0 12px;
  color: var(--apc-ink);
  font: 700 var(--apc-h3)/1.3 var(--apc-font);
  letter-spacing: -.02em;
  text-transform: none;
}

.apc-proof-guide h3 {
  margin: 18px 0 8px;
  padding: 0;
  border: 0;
  color: var(--apc-ink);
  font: 700 15px/1.3 var(--apc-font);
  text-transform: none;
}

.apc-proof-lines {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.apc-proof-lines li {
  display: grid;
  grid-template-columns: 30px 1fr;
  gap: 10px;
  align-items: start;
  color: var(--apc-muted);
  font: 400 14px/1.5 var(--apc-font);
}

.apc-proof-lines strong {
  display: block;
  color: var(--apc-ink);
  font-weight: 700;
}

.apc-proof-lines i {
  display: block;
  height: 0;
  margin-top: 10px;
  border-top: 3px dashed;
}

.apc-proof-lines i.is-bleed {
  color: #009999;
}

.apc-proof-lines i.is-trim {
  color: #bd2167;
}

.apc-proof-lines i.is-safe {
  color: #1a9b35;
}

.apc-proof-tools {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 2px;
  margin: 0;
  font: 400 14px/1.45 var(--apc-font);
}

.apc-proof-tools dt {
  color: var(--apc-ink);
  font-weight: 700;
  white-space: nowrap;
}

.apc-proof-tools dd {
  margin: 0 0 8px;
  color: var(--apc-muted);
}

.apc-proof-help {
  margin-top: 18px;
  padding: 14px;
  border-radius: 0;
  background: #f5f4f1;
}

.apc-proof-help p {
  margin: 0 0 8px;
  color: var(--apc-ink);
  font: 600 14px/1.4 var(--apc-font);
}

.apc-proof-reload {
  min-height: 40px;
  padding: 8px 16px;
  border: 1px solid var(--apc-ink);
  border-radius: 0;
  background: #fff;
  color: var(--apc-ink);
  font: 650 14.5px var(--apc-font);
  cursor: pointer;
}

.apc-proof-reload:hover {
  background: var(--apc-ink);
  color: #fff;
}

.apc-proof-reload:focus-visible,
.apc-proof-crumb a:focus-visible {
  outline: 3px solid var(--apc-focus);
  outline-offset: 2px;
}

@media (max-width: 1199px) {
  .apc-proof-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .apc-proof-guide {
    position: static;
  }

  .apc-proof-lines {
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  }
}

@media (max-width: 560px) {
  #pageContent.apc-proof .apc-proof-editor .editor-parent {
    height: 75vh;
    min-height: 420px;
  }

  .apc-proof-tools {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* ---------- home page (apc_theme/index.tpl, "/"): Smarty version of the widget's home sections ---------- */
body:has(#pageContent.apc-home) #pageSeoContent {
  display: none;   /* temp6 hid the SEO strip on the home page too */
}

#pageContent.apc-home {
  padding: 24px 0 clamp(48px, 7vw, 96px);
  background: #f6f7fb;
  color: var(--apc-ink);
  font-family: var(--apc-font);
}

/* admin slider */
.apc-home-slider {
  overflow: hidden;
  margin: 0 0 clamp(28px, 4vw, 44px);
  border-radius: 0;
  background: #fff;
}

.apc-home-slider .item img {
  display: block;
  width: 100%;
  height: clamp(180px, 28vw, 400px);
  object-fit: cover;
}

.apc-home-slider .item iframe {
  display: block;
  width: 100%;
  height: clamp(200px, 28vw, 400px);
  border: 0;
}

.apc-home-slide-text {
  padding: 32px;
  font: 600 18px/1.4 var(--apc-font);
}

.apc-home-slider .carousel-control {
  top: 50%;
  bottom: auto;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  margin-top: -20px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .92) !important;
  color: var(--apc-ink);
  font: 400 20px/1 var(--apc-font);
  text-shadow: none;
  opacity: 1;
  box-shadow: 0 2px 10px rgba(0, 0, 0, .2);
}

.apc-home-slider .carousel-control.left {
  left: 14px;
}

.apc-home-slider .carousel-control.right {
  right: 14px;
}

/* How would you like to start? */
.apc-home-start h1 {
  margin: 0 0 22px;
  color: var(--apc-ink);
  font: 800 var(--apc-h1)/1.06 var(--apc-font);
  letter-spacing: -.045em;
  text-transform: none;
}

.apc-home-start-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, .95fr);
  gap: clamp(20px, 3vw, 44px);
  align-items: start;
}

.apc-home-paths {
  display: grid;
  gap: 16px;
}

.apc-home-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.apc-home-uploads {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.apc-home a.apc-home-path {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-height: 210px;
  padding: 20px 20px 64px;
  border: 1px solid #e6e7ec;
  border-radius: 0;
  background: #fff;
  color: var(--apc-ink);
  text-decoration: none;
  transition: border-color .16s, box-shadow .16s, transform .16s;
}

.apc-home a.apc-home-path:hover {
  border-color: #c9cad1;
  box-shadow: 0 14px 30px -20px rgba(25, 25, 27, .5);
  transform: translateY(-2px);
}

.apc-home a.apc-home-path:focus-visible,
.apc-home-alli a:focus-visible,
.apc-home-guided a:focus-visible,
.apc-home-products a:focus-visible,
.apc-home-btn:focus-visible {
  outline: 3px solid var(--apc-focus);
  outline-offset: 3px;
}

.apc-home-uploads a.apc-home-path {
  min-height: 180px;
}

.apc-home-ico {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
}

.apc-home-ico svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.apc-home-ico.is-dark {
  background: var(--apc-ink);
  color: #fff;
}

.apc-home-ico.is-red {
  width: auto;
  height: auto;
  place-items: start;
  border-radius: 0;
  color: var(--apc-brand);
}

.apc-home-ico.is-red svg {
  width: 30px;
  height: 30px;
}

.apc-home-path-title {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--apc-ink);
  font: 700 18px/1.25 var(--apc-font);
  letter-spacing: -.02em;
}

.apc-home-path-title b {
  display: grid;
  place-items: center;
  flex: none;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--apc-ink);
  color: #fff;
  font: 700 13px var(--apc-font);
}

.apc-home-path-text {
  color: var(--apc-muted);
  font: 400 14.5px/1.55 var(--apc-font);
}

.apc-home-go {
  position: absolute;
  right: 18px;
  bottom: 18px;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border: 1px solid #d8d9de;
  border-radius: 50%;
  color: var(--apc-ink);
  font: 400 18px/1 var(--apc-font);
  transition: background-color .16s, color .16s, border-color .16s;
}

.apc-home a.apc-home-path:hover .apc-home-go {
  border-color: var(--apc-ink);
  background: var(--apc-ink);
  color: #fff;
}

/* Alli panel */
.apc-home-alli {
  overflow: hidden;
  border-radius: 0;
  background: #fff;
  box-shadow: 0 18px 40px -22px rgba(25, 25, 27, .45);
}

.apc-home-alli-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 18px;
  background: #191b25;
  color: #fff;
}

.apc-home-alli-bar svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: #ff4d57;
  stroke-width: 1.8;
  stroke-linejoin: round;
}

.apc-home-alli-bar h2 {
  margin: 0;
  color: #fff;
  font: 700 14.5px/1.3 var(--apc-font);
  letter-spacing: -.01em;
  text-transform: none;
}

.apc-home-alli-body {
  padding: 22px;
}

.apc-home-alli-hello {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 18px;
  color: var(--apc-ink);
  font: 500 16.5px/1.4 var(--apc-font);
}

.apc-home-alli-hello span {
  display: grid;
  place-items: center;
  flex: none;
  width: 38px;
  height: 38px;
  border: 1px solid #e6e7ec;
  border-radius: 50%;
  background: #fff;
  color: var(--apc-brand);
  font: 800 15px var(--apc-font);
}

.apc-home-alli-prompts {
  display: grid;
  gap: 8px;
  margin: 0 0 20px;
  padding: 0;
  list-style: none;
}

.apc-home-alli-prompts a {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding: 10px 14px;
  border: 1px solid #e6e7ec;
  border-radius: 0;
  color: var(--apc-ink);
  font: 600 14.5px/1.3 var(--apc-font);
  text-decoration: none;
  transition: border-color .16s, background-color .16s;
}

.apc-home-alli-prompts a::before {
  content: "\2726";
  color: var(--apc-muted);
  font-size: 13px;
}

.apc-home-alli-prompts a:hover {
  border-color: #c9cad1;
  background: #f8f8fa;
}

.apc-home-alli-form {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 6px 6px 16px;
  border: 1px solid #d8d9de;
  border-radius: 999px;
  background: #fff;
}

.apc-home-alli-form:focus-within {
  border-color: #555;
  box-shadow: 0 0 0 3px rgba(46, 159, 218, .18);
}

.apc-home-alli-form input {
  flex: 1;
  min-width: 0;
  height: 40px;
  border: 0;
  background: none;
  color: var(--apc-ink);
  font: 400 15px var(--apc-font);
  outline: none;
  box-shadow: none;
}

.apc-home-alli-form button {
  display: grid;
  place-items: center;
  flex: none;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 50%;
  background: var(--apc-ink);
  color: #fff;
  cursor: pointer;
}

.apc-home-alli-form button:hover {
  background: var(--apc-brand);
}

.apc-home-alli-form button svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linejoin: round;
}

.apc-home-alli-note {
  margin: 14px 0 0;
  color: var(--apc-muted);
  font: 400 13px/1.4 var(--apc-font);
  text-align: center;
}

/* trust row */
.apc-home-trust {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin: clamp(32px, 4vw, 48px) 0;
  padding: 20px 24px;
  border-radius: 0;
  background: #fff;
  list-style: none;
}

.apc-home-trust li {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0;
}

.apc-home-trust svg {
  flex: none;
  width: 28px;
  height: 28px;
  fill: none;
  stroke: var(--apc-brand);
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.apc-home-trust strong {
  display: block;
  color: var(--apc-ink);
  font: 700 15px/1.3 var(--apc-font);
}

.apc-home-trust span {
  color: var(--apc-muted);
  font: 400 13.5px/1.3 var(--apc-font);
}

/* sections */
.apc-home-section {
  margin: 0 0 clamp(36px, 5vw, 56px);
}

.apc-home-section h2,
.apc-home-portal h2 {
  margin: 0 0 16px;
  color: var(--apc-ink);
  font: 800 var(--apc-h2)/1.2 var(--apc-font);
  letter-spacing: -.035em;
  text-transform: none;
}

.apc-home-section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px 16px;
}

.apc-home-section-head a {
  color: var(--apc-ink);
  font: 650 14.5px var(--apc-font);
  text-decoration: none;
}

.apc-home-section-head a:hover {
  color: var(--apc-brand);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.apc-home-guided {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.apc-home-guided a {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 72px;
  padding: 14px 40px 14px 16px;
  position: relative;
  border: 1px solid #e6e7ec;
  border-radius: 0;
  background: #fff;
  color: var(--apc-ink);
  text-decoration: none;
  transition: border-color .16s, box-shadow .16s;
}

.apc-home-guided a::after {
  content: "\2192";
  position: absolute;
  right: 16px;
  color: var(--apc-muted);
}

.apc-home-guided a:hover {
  border-color: #c9cad1;
  box-shadow: 0 12px 26px -20px rgba(25, 25, 27, .5);
}

.apc-home-guided svg {
  flex: none;
  width: 28px;
  height: 28px;
  fill: none;
  stroke: var(--apc-ink);
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.apc-home-guided strong {
  display: block;
  font: 700 15px/1.3 var(--apc-font);
}

.apc-home-guided small {
  color: var(--apc-muted);
  font: 400 13px/1.3 var(--apc-font);
}

.apc-home-products {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.apc-home-products a {
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
  border: 1px solid #e6e7ec;
  border-radius: 0;
  background: #fff;
  color: var(--apc-ink);
  text-decoration: none;
  transition: border-color .16s, box-shadow .16s;
}

.apc-home-products a:hover {
  border-color: #c9cad1;
  box-shadow: 0 14px 30px -20px rgba(25, 25, 27, .5);
}

.apc-home-product-img {
  display: block;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #eceef3;
}

.apc-home-product-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .32s cubic-bezier(.2, .7, .3, 1);
}

.apc-home-products a:hover .apc-home-product-img img {
  transform: scale(1.04);
}

.apc-home-product-copy {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 12px 14px 14px;
}

.apc-home-product-copy strong {
  font: 700 15.5px/1.3 var(--apc-font);
}

.apc-home-product-copy small {
  color: var(--apc-muted);
  font: 400 13px/1.35 var(--apc-font);
}

.apc-home-product-copy em {
  margin-top: 6px;
  color: var(--apc-ink);
  font: 650 13.5px/1.3 var(--apc-font);
  font-style: normal;
}

/* Need Your Own Print Portal? */
.apc-home-portal {
  margin: clamp(12px, 3vw, 24px) 0 0;
  text-align: center;
}

.apc-home-portal h2 {
  margin-bottom: 6px;
}

.apc-home-portal-sub {
  margin: 0 0 26px;
  color: var(--apc-muted);
  font: 400 18px/1.5 var(--apc-font);
}

.apc-home-portal-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  text-align: left;
}

.apc-home-portal-card {
  display: grid;
  grid-template-columns: 170px minmax(0, 1fr);
  gap: 24px;
  align-items: center;
  padding: 28px;
  border: 1px solid #e6e7ec;
  border-radius: 0;
  background: #fff;
}

.apc-home-portal-card.is-accent {
  border-color: var(--apc-brand);
}

.apc-home-portal-card img {
  width: 100%;
  height: auto;
  border-radius: 0;
}

.apc-home-portal-card h3 {
  margin: 0 0 8px;
  color: var(--apc-ink);
  font: 700 var(--apc-h3)/1.3 var(--apc-font);
  letter-spacing: -.02em;
  text-transform: none;
}

.apc-home-portal-card p {
  margin: 0 0 16px;
  color: var(--apc-muted);
  font: 400 15px/1.55 var(--apc-font);
}

.apc-home a.apc-home-btn {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 10px 18px;
  border-radius: 0;
  background: var(--apc-brand);
  color: #fff;
  font: 700 14.5px/1.2 var(--apc-font);
  text-decoration: none;
}

.apc-home a.apc-home-btn:hover {
  background: var(--apc-brand-deep);
  color: #fff;
}

@media (max-width: 1200px) {
  .apc-home-start-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .apc-home-products {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .apc-home-guided,
  .apc-home-trust {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 820px) {
  .apc-home-steps,
  .apc-home-uploads,
  .apc-home-portal-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .apc-home a.apc-home-path,
  .apc-home-uploads a.apc-home-path {
    min-height: 0;
  }

  .apc-home-portal-card {
    grid-template-columns: 110px minmax(0, 1fr);
    padding: 20px;
  }
}

@media (max-width: 560px) {
  .apc-home-products {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .apc-home-guided,
  .apc-home-trust {
    grid-template-columns: minmax(0, 1fr);
  }

  .apc-home-portal-card {
    grid-template-columns: minmax(0, 1fr);
  }

  .apc-home-portal-card img {
    max-width: 160px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .apc-home a.apc-home-path,
  .apc-home-product-img img {
    transition: none;
  }

  .apc-home a.apc-home-path:hover {
    transform: none;
  }
}

/* home: compact start cards on phones (icon left, text right, arrow centred at the end) */
@media (max-width: 820px) {
  .apc-home a.apc-home-path {
    display: grid;
    grid-template-columns: 44px minmax(0, 1fr);
    grid-template-areas: "ico title" "ico text";
    column-gap: 14px;
    row-gap: 4px;
    align-items: start;
    padding: 16px 60px 16px 16px;
  }

  .apc-home-path .apc-home-ico {
    grid-area: ico;
    width: 44px;
    height: 44px;
  }

  .apc-home-path .apc-home-ico.is-red {
    width: 44px;
    place-items: center;
  }

  .apc-home-path .apc-home-path-title {
    grid-area: title;
    font-size: 16.5px;
  }

  .apc-home-path .apc-home-path-text {
    grid-area: text;
    font-size: 14px;
  }

  .apc-home-path .apc-home-go {
    top: 50%;
    bottom: auto;
    width: 32px;
    height: 32px;
    margin-top: -16px;
  }
}

/* ---------- home page, storefront design (AllProColor-Storefront dist/index.html, store.css), px because html{font-size:10px} ---------- */
#pageContent.apc-home {
  padding: 0;
  background: #fff;
}

.apc-home .hm-ico {
  flex: none;
}

/* hero */
.apc-home .hm-hero {
  border-bottom: 1px solid #e4e3df;
  background: #f5f4f1;
}

.apc-home .hm-hero-layout {
  display: grid;
  grid-template-columns: 1fr 1.13fr;
  align-items: stretch;
  width: min(100%, calc(var(--apc-wrap) + 2 * var(--apc-gutter)));
  min-height: clamp(390px, 34.5vw, 514px);
  margin: 0 auto;
}

.apc-home .hm-hero-copy {
  align-self: center;
  padding: clamp(40px, 3.6vw, 68px) clamp(21.6px, 3vw, 56px) clamp(41.6px, 3.8vw, 71.2px) var(--apc-gutter);
}

.apc-home .hm-hero h1 {
  margin: 16.8px 0 20px;
  color: var(--apc-ink);
  font: 800 clamp(40px, 4.39vw, 40px)/.91 var(--apc-font);
  letter-spacing: -.077em;
  text-transform: none;
}

.apc-home .hm-hero h1 em {
  color: var(--apc-brand);
  font-style: normal;
}

.apc-home .hm-hero-copy > p {
  max-width: 496px;
  margin: 0;
  color: #4a4b4e;
  font: 400 clamp(16px, 1.25vw, 19.7px)/1.52 var(--apc-font);
  letter-spacing: -.013em;
}

.apc-home .hm-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 11.5px;
  margin-top: 24.8px;
}

.apc-home a.hm-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8.8px;
  min-height: 45px;
  padding: 11px 18.4px;
  border: 1px solid transparent;
  border-radius: 0;
  font: 700 15px/1.2 var(--apc-font);
  text-decoration: none;
  transition: background-color .16s, border-color .16s, transform .16s;
}

.apc-home a.hm-button .hm-ico {
  width: 16.3px;
  height: 16.3px;
}

.apc-home a.hm-button.is-primary {
  border-color: var(--apc-brand);
  background: var(--apc-brand);
  color: #fff;
}

.apc-home a.hm-button.is-primary:hover {
  border-color: var(--apc-brand-deep);
  background: var(--apc-brand-deep);
  color: #fff;
}

.apc-home a.hm-button.is-secondary {
  border-color: #b7b7b9;
  background: #fff;
  color: var(--apc-ink);
}

.apc-home a.hm-button.is-secondary:hover {
  border-color: #2a2a2c;
  background: #fafafa;
}

.apc-home a.hm-button:active {
  transform: translateY(1px);
}

.apc-home a.hm-button:focus-visible,
.apc-home .hm-text-link:focus-visible,
.apc-home .hm-project-links a:focus-visible,
.apc-home .hm-faqs summary:focus-visible {
  outline: 3px solid var(--apc-focus);
  outline-offset: 3px;
}

.apc-home .hm-hero-photo {
  position: relative;
  isolation: isolate;
  min-width: 0;
  min-height: 100%;
  margin: 0;
  overflow: hidden;
  background: #cd0713;
}

.apc-home .hm-hero-photo picture,
.apc-home .hm-hero-photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.apc-home .hm-hero-photo img {
  animation: apc-hm-print-in .55s ease-out both;
}

@keyframes apc-hm-print-in {
  from { transform: scale(1.025); }
  to { transform: scale(1); }
}

.apc-home .hm-crop {
  position: absolute;
  z-index: 1;
  width: 15px;
  height: 15px;
  opacity: .65;
}

.apc-home .hm-crop.is-tl {
  top: 15px;
  left: 15px;
  border-top: 1px solid #fff;
  border-left: 1px solid #fff;
}

.apc-home .hm-crop.is-br {
  right: 15px;
  bottom: 15px;
  border-right: 1px solid #fff;
  border-bottom: 1px solid #fff;
}

/* service bar */
.apc-home .hm-service-bar {
  border-bottom: 1px solid var(--apc-line);
}

.apc-home .hm-service-items {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  padding-block: 18.9px;
}

.apc-home .hm-service-items > div {
  display: flex;
  align-items: center;
  gap: 12.8px;
  padding-left: clamp(11.2px, 2vw, 40px);
  border-left: 1px solid var(--apc-line);
}

.apc-home .hm-service-items > div:first-child {
  padding-left: 0;
  border: 0;
}

.apc-home .hm-service-items .hm-ico {
  width: 25.6px;
  height: 25.6px;
  color: var(--apc-brand-hover);
}

.apc-home .hm-service-items strong,
.apc-home .hm-service-items span {
  display: block;
}

.apc-home .hm-service-items strong {
  color: var(--apc-ink);
  font: 720 14.9px/1.35 var(--apc-font);
}

.apc-home .hm-service-items span {
  color: var(--apc-muted);
  font: 400 13.1px/1.35 var(--apc-font);
}

/* sections */
.apc-home .apc-home-start,
.apc-home .hm-products,
.apc-home .hm-collections {
  padding-block: clamp(44.8px, 4.6vw, 76px);
}

.apc-home .apc-home-start {
  padding-bottom: 0;
}

.apc-home .apc-home-start > h2,
.apc-home .hm-section-head h2,
.apc-home .hm-local-grid h2,
.apc-home .apc-home-portal h2 {
  margin: 0;
  color: var(--apc-ink);
  font: 760 clamp(23px, 2.35vw, 40px)/1.04 var(--apc-font);
  letter-spacing: -.065em;
  text-transform: none;
}

.apc-home .apc-home-start > h2 {
  margin-bottom: 23.2px;
}

.apc-home .hm-section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 23.2px;
}

.apc-home .hm-section-head .apc-eyebrow {
  margin-bottom: 8px;
}

.apc-home .hm-section-head h2 span,
.apc-home .hm-local-grid h2 span {
  color: var(--apc-brand);
}

.apc-home .hm-text-link {
  padding-block: 3.2px;
  border-bottom: 1px solid #8d8c8c;
  color: var(--apc-ink);
  font: 680 14.7px/1.3 var(--apc-font);
  text-decoration: none;
  white-space: nowrap;
}

.apc-home .hm-text-link:hover {
  border-color: var(--apc-brand);
  color: var(--apc-brand-hover);
}

/* promotions slider sits between the sections */
.apc-home .apc-home-slider {
  margin: 0;
}

/* by project */
.apc-home .hm-project-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.apc-home .hm-project-links a {
  padding: 16.8px;
  border: 1px solid var(--apc-line);
  border-radius: 0;
  color: var(--apc-ink);
  font: 650 16px/1.3 var(--apc-font);
  text-decoration: none;
}

.apc-home .hm-project-links a:hover {
  border-color: #999;
  background: var(--apc-surface);
}

/* print portal (kept from the widget) */
.apc-home .apc-home-portal {
  margin: 0;
  padding-bottom: clamp(44.8px, 4.6vw, 76px);
}

.apc-home .apc-home-portal h2 {
  margin-bottom: 8px;
}

/* local shop + FAQs */
.apc-home .hm-local {
  background: var(--apc-surface);
}

.apc-home .hm-local-grid {
  display: grid;
  grid-template-columns: 1.12fr 1fr;
  align-items: center;
  gap: clamp(32px, 8vw, 144px);
  padding-block: clamp(44px, 4.5vw, 80px);
}

.apc-home .hm-local-grid h2 {
  margin: 11.2px 0;
}

.apc-home .hm-local-grid p {
  max-width: 576px;
  margin: 0;
  color: var(--apc-muted);
  font: 400 16.6px/1.65 var(--apc-font);
}

.apc-home .hm-local-grid .hm-text-link {
  display: inline-block;
  margin-top: 17.6px;
}

.apc-home .hm-faqs h3 {
  margin: 0 0 11.2px;
  color: var(--apc-ink);
  font: 700 22.4px/1.3 var(--apc-font);
  letter-spacing: -.04em;
  text-transform: none;
}

.apc-home .hm-faqs details {
  border-bottom: 1px solid #ccc;
}

.apc-home .hm-faqs summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14.4px 0;
  color: var(--apc-ink);
  font: 650 16px/1.4 var(--apc-font);
  list-style: none;
  cursor: pointer;
}

.apc-home .hm-faqs summary::-webkit-details-marker {
  display: none;
}

.apc-home .hm-faqs summary .hm-ico {
  width: 20px;
  height: 20px;
  transition: transform .16s;
}

.apc-home .hm-faqs details[open] summary .hm-ico {
  transform: rotate(180deg);
}

.apc-home .hm-faqs details p {
  margin: 0;
  padding: 0 0 16px;
  color: var(--apc-muted);
  font: 400 15.4px/1.6 var(--apc-font);
}

.apc-home .hm-faqs details p a {
  color: var(--apc-brand-hover);
  text-decoration: underline;
}

@media (min-width: 1500px) {
  .apc-home .hm-hero-copy {
    padding-left: var(--apc-gutter);
  }
}

@media (max-width: 1050px) {
  .apc-home .hm-service-items > div {
    gap: 9.6px;
    padding-left: 12.8px;
  }

  .apc-home .hm-local-grid {
    gap: 48px;
  }
}

@media (max-width: 820px) {
  .apc-home .hm-hero-layout {
    grid-template-columns: 1fr 1fr;
  }

  .apc-home .hm-hero h1 {
    font-size: clamp(38.1px, 4.96vw, 40px);
  }

  .apc-home .hm-hero-copy {
    padding-right: 19.2px;
  }

  .apc-home .hm-hero-copy > p {
    font-size: 16px;
  }

  .apc-home .hm-service-items {
    grid-template-columns: 1fr 1fr;
    gap: 16px 20.8px;
  }

  .apc-home .hm-service-items > div:nth-child(odd) {
    padding-left: 0;
    border-left: 0;
  }
}

@media (max-width: 620px) {
  .apc-home .hm-hero-layout {
    display: flex;
    flex-direction: column;
  }

  .apc-home .hm-hero-copy {
    width: 100%;
    padding: 28px var(--apc-gutter) 27.2px;
  }

  .apc-home .hm-hero h1 {
    margin: 12px 0 13.1px;
    font-size: clamp(39.1px, 8.31vw, 40px);
  }

  .apc-home .hm-hero-photo {
    min-height: 0;
    aspect-ratio: 1.91;
  }

  .apc-home .hm-hero-photo img {
    object-position: 50% 51%;
  }

  .apc-home .hm-actions {
    gap: 8.8px;
    margin-top: 16.8px;
  }

  .apc-home a.hm-button {
    padding-inline: 13.6px;
    font-size: 14.4px;
  }

  .apc-home .hm-service-items {
    gap: 12.8px 10.4px;
    padding-block: 16.8px;
  }

  .apc-home .hm-service-items > div {
    gap: 7.2px;
    padding-left: 8.8px;
  }

  .apc-home .hm-service-items .hm-ico {
    width: 19.2px;
    height: 19.2px;
  }

  .apc-home .hm-service-items strong {
    font-size: 13.3px;
  }

  .apc-home .hm-service-items span {
    font-size: 12px;
  }

  .apc-home .hm-section-head {
    align-items: end;
    gap: 10.4px;
  }

  .apc-home .apc-home-start > h2,
  .apc-home .hm-section-head h2,
  .apc-home .hm-local-grid h2,
  .apc-home .apc-home-portal h2 {
    font-size: clamp(20.4px, 4.96vw, 28.4px);
  }

  .apc-home .hm-section-head .hm-text-link {
    font-size: 12.6px;
  }

  .apc-home .hm-local-grid {
    grid-template-columns: 1fr;
    gap: 25.6px;
  }

  .apc-home .hm-project-links {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .apc-home .hm-project-links a {
    padding: 12px;
    font-size: 14.7px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .apc-home .hm-hero-photo img {
    animation: none;
  }
}

/* home: a little more room for the five start cards than for the Alli panel */
@media (min-width: 1201px) {
  .apc-home .apc-home-start-grid {
    grid-template-columns: minmax(0, 1.25fr) minmax(360px, .85fr);
  }
}

/* home: smaller headings (the design's 118px hero / 61px section sizes were too big next to the rest of the site) */
.apc-home .hm-hero h1 {
  margin: 14px 0 16px;
  font-size: clamp(28.1px, 2.95vw, 40px);
  line-height: .95;
  letter-spacing: -.06em;
}

.apc-home .hm-hero-layout {
  min-height: clamp(340px, 30vw, 440px);
}

.apc-home .apc-home-start > h2,
.apc-home .hm-section-head h2,
.apc-home .hm-local-grid h2,
.apc-home .apc-home-portal h2 {
  font-size: clamp(20px, 1.61vw, 24.1px);
  line-height: 1.1;
  letter-spacing: -.045em;
}

@media (max-width: 820px) {
  .apc-home .hm-hero h1 {
    font-size: clamp(25.5px, 4.02vw, 33.5px);
  }
}

@media (max-width: 620px) {
  .apc-home .hm-hero h1 {
    font-size: clamp(24.1px, 6.7vw, 30.8px);
  }

  .apc-home .apc-home-start > h2,
  .apc-home .hm-section-head h2,
  .apc-home .hm-local-grid h2,
  .apc-home .apc-home-portal h2 {
    font-size: clamp(20px, 4.42vw, 20.1px);
  }
}

/* home: print portal now follows "Your local print shop" */
.apc-home .apc-home-portal {
  padding-top: clamp(44.8px, 4.6vw, 76px);
}

/* ---------- home hero: admin promo slider in the media slot (banners are about 2:1, shown whole) ---------- */
.apc-home .hm-hero-layout:has(.hm-hero-photo.is-slider) {
  grid-template-columns: minmax(0, .85fr) minmax(0, 1.25fr);
  align-items: center;
  min-height: 0;
}

.apc-home .hm-hero-photo.is-slider {
  align-self: center;
  min-height: 0;
  margin: clamp(20px, 2.4vw, 36px) var(--apc-gutter) clamp(20px, 2.4vw, 36px) 0;
  border-radius: 0;
  background: #fff;
  box-shadow: 0 18px 40px -24px rgba(25, 25, 27, .55);
}

.apc-home .hm-hero-slider,
.apc-home .hm-hero-slider .carousel-inner,
.apc-home .hm-hero-slider .item {
  position: relative;
  height: 100%;
}

.apc-home .hm-hero-slider .carousel-inner {
  aspect-ratio: 2 / 1;
  overflow: hidden;
  border-radius: 0;
}

.apc-home .hm-hero-slider .item > a,
.apc-home .hm-hero-slider .item img,
.apc-home .hm-hero-slider .item iframe {
  display: block;
  width: 100%;
  height: 100%;
}

.apc-home .hm-hero-slider .item img {
  position: static;
  object-fit: contain;
  background: #fff;
  animation: none;
}

.apc-home .hm-hero-slider .item iframe {
  border: 0;
}

.apc-home .hm-hero-slider .carousel-control {
  top: 50%;
  bottom: auto;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  margin-top: -20px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .92) !important;
  color: var(--apc-ink);
  font: 400 20px/1 var(--apc-font);
  text-shadow: none;
  opacity: 1;
  box-shadow: 0 2px 10px rgba(0, 0, 0, .2);
}

.apc-home .hm-hero-slider .carousel-control.left {
  left: 12px;
}

.apc-home .hm-hero-slider .carousel-control.right {
  right: 12px;
}

.apc-home .hm-hero-slider .carousel-control:focus-visible {
  outline: 3px solid var(--apc-focus);
  outline-offset: 2px;
}

@media (max-width: 820px) {
  .apc-home .hm-hero-layout:has(.hm-hero-photo.is-slider) {
    display: flex;
    flex-direction: column;
  }

  .apc-home .hm-hero-photo.is-slider {
    width: calc(100% - 2 * var(--apc-gutter));
    margin: 0 var(--apc-gutter) 24px;
  }

  .apc-home .hm-hero-slider .carousel-control {
    width: 34px;
    height: 34px;
    margin-top: -17px;
    font-size: 22px;
  }
}

/* ---------- Create an account (apc_theme/registration.tpl, .apc-reg) ----------
   Login's account layout (au-columns: form card + rail) with the form in numbered sections. The legacy
   .select-wrapper/.holder fake selects are replaced by native selects; checkboxes are native (no screwDefaultButtons). */
.apc-reg .au-columns {
  grid-template-columns: minmax(0, 1.9fr) minmax(250px, 1fr);
}

.apc-reg .au-rail {
  position: sticky;
  top: 24px;
}

.apc-reg .au-rail a {
  color: var(--apc-ink);
  font-weight: 650;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.apc-reg .apc-reg-section {
  min-width: 0;
  margin: 0;
  padding: 0 0 26px;
  border: 0;
  border-bottom: 1px solid var(--apc-line);
}

/* the legend sits above a fieldset's padding, so sections are spaced with margin */
.apc-reg .apc-reg-section + .apc-reg-section {
  margin-top: 26px;
}

.apc-reg .apc-reg-section > legend {
  display: flex;
  align-items: center;
  gap: 10px;
  width: auto;
  margin: 0;
  padding: 0;
  border: 0;
  font: 700 var(--apc-h3)/1.25 var(--apc-font);
  letter-spacing: -.02em;
  color: var(--apc-ink);
}

.apc-reg legend small,
.apc-reg label small,
.apc-reg .apc-reg-subhead small {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0;
  color: var(--apc-muted);
}

.apc-reg .apc-reg-step {
  display: inline-grid;
  place-items: center;
  flex: none;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--apc-ink);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0;
}

.apc-reg .au-fields {
  gap: 16px 18px;
}

.apc-reg .au-wrap .au-field label,
.apc-reg .au-field > label {
  font: 600 14px/1.3 var(--apc-font);
  text-transform: none;
  color: var(--apc-ink);
  margin: 0;
}

.apc-reg .au-field .form-control,
.apc-reg .au-field select {
  width: 100% !important;
  height: 48px !important;
  padding: 10px 14px;
  border: 1px solid #c8c8cf;
  border-radius: 0;
  background-color: #fff;
  box-shadow: none;
  font: 400 16px/1.4 var(--apc-font) !important;
  color: var(--apc-ink);
}

.apc-reg .au-field .form-control:focus,
.apc-reg .au-field select:focus {
  border-color: var(--apc-ink);
  box-shadow: 0 0 0 3px rgba(25, 25, 27, .12);
  outline: 0;
}

.apc-reg .au-field .form-control.error,
.apc-reg .au-field select.error {
  border-color: var(--apc-brand);
}

.apc-reg .au-field input[type="file"].form-control {
  padding: 11px 10px;
  font-size: 14px !important;
}

/* native selects instead of the legacy fake ".holder" */
.apc-reg .select-wrapper,
.apc-reg .country,
.apc-reg .state,
.apc-reg .comtype,
.apc-reg .extension {
  display: block;
  position: static;
  width: 100% !important;
  height: auto;
  margin: 0;
  border: 0;
  background: none;
}

.apc-reg .select-wrapper .holder {
  display: none;
}

.apc-reg .au-field select {
  position: static;
  padding-right: 38px;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='m1 1 5 5 5-5' fill='none' stroke='%23383b40' stroke-width='1.5'/%3E%3C/svg%3E") no-repeat right 14px center;
  opacity: 1;
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
}

/* Phone: country code + number joined into one field (the code box shows "US +1"; a transparent native
   select over it opens the full country list) */
.apc-reg .apc-reg-phone {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
}

.apc-reg .apc-reg-cc {
  position: relative;
  display: flex;
  align-items: center;
  flex: none;
  min-width: 96px;
  height: 48px;
  padding: 0 32px 0 14px;
  border: 1px solid #c8c8cf;
  border-radius: 0 0 0 0;
  background: var(--apc-surface) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='m1 1 5 5 5-5' fill='none' stroke='%23383b40' stroke-width='1.5'/%3E%3C/svg%3E") no-repeat right 12px center;
  font: 500 16px/1 var(--apc-font);
  color: var(--apc-ink);
  white-space: nowrap;
}

.apc-reg .au-field .apc-reg-cc select {
  position: absolute;
  inset: 0;
  width: 100% !important;
  height: 100% !important;
  padding: 0;
  border: 0;
  opacity: 0;
  cursor: pointer;
}

.apc-reg .apc-reg-cc:focus-within {
  z-index: 1;
  border-color: var(--apc-ink);
  box-shadow: 0 0 0 3px rgba(25, 25, 27, .12);
}

.apc-reg .au-field .apc-reg-phone > .form-control {
  position: relative;
  flex: 1 1 0;
  min-width: 0;
  width: auto !important;
  margin: 0 0 0 -1px;   /* legacy mobile CSS adds a top margin to .form-control */
  border-radius: 0 0 0 0;
}

.apc-reg .au-field .apc-reg-phone > .form-control:focus {
  z-index: 1;
}

.apc-reg .apc-reg-phone > .error_msg {
  flex: 0 0 100%;
  margin-top: 7px;
}

.apc-reg .error_msg,
.apc-reg label.error {
  display: block;
  margin: 0;
  color: #b00012;
  font: 600 13px/1.4 var(--apc-font);
  text-transform: none;
}

.apc-reg .error_msg:empty,
.apc-reg label.error:empty {
  display: none;
}

/* the validator leaves an empty label.checked when a field becomes valid; legacy CSS makes it inline-block,
   which gave the empty error span a line of height */
.apc-reg .error_msg label.checked {
  display: none !important;
}

.apc-reg .au-field .error_msg label.error {
  margin: 0;
}

.apc-reg .apc-reg-hint,
.apc-reg .apc-reg-note {
  margin: 10px 0 0;
  font-size: 14px;
  color: var(--apc-muted);
}

.apc-reg .apc-reg-other {
  margin-top: 10px;
}

.apc-reg .apc-reg-broker {
  margin-top: 20px;
  padding: 20px;
  border-radius: 0;
  background: var(--apc-surface);
}

.apc-reg .apc-reg-broker .apc-reg-note {
  margin: 0 0 4px;
}

.apc-reg .apc-reg-subhead {
  margin: 22px 0 0;
  font-size: 16px;
}

.apc-reg .document_box {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) 44px;
  gap: 12px;
  align-items: end;
  margin-top: 12px;
}

.apc-reg .document_box::before,
.apc-reg .document_box::after {
  content: none;
}

.apc-reg .apc-reg-docbtn {
  padding-bottom: 2px;
}

.apc-reg .document_box .btn-blue {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid #c8c8cf;
  border-radius: 50%;
  background: #fff;
  color: var(--apc-ink);
  font: 400 20px/1 var(--apc-font);
}

.apc-reg .document_box .btn-blue:hover {
  border-color: var(--apc-ink);
}

.apc-reg .document_box .btn-blue.btnred {
  color: var(--apc-brand);
}

.apc-reg .apc-reg-check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 14px 0 4px;
  font: 500 15px/1.4 var(--apc-font);
  text-transform: none;
  color: var(--apc-ink);
  cursor: pointer;
}

.apc-reg .apc-reg-check input {
  flex: none;
  width: 18px;
  height: 18px;
  margin: 1px 0 0;
  accent-color: var(--apc-ink);
}

.apc-reg .apc-reg-finish {
  padding-top: 22px;
}

.apc-reg .apc-reg-finish .apc-reg-check {
  margin-top: 0;
}

.apc-reg .captcha {
  margin: 18px 0 0;
}

.apc-reg .au-actions,
.apc-reg .au-actions.signupBtn {
  float: none;
  margin-top: 22px;
}

.apc-reg .apc-reg-submit {
  min-width: 220px;
  min-height: 50px;
}

.apc-reg .au-alert {
  margin: 0 0 20px;
}

.apc-reg .au-alert .error_msg {
  margin: 0;
}

@media (max-width: 900px) {
  .apc-reg .au-columns {
    grid-template-columns: 1fr;
  }

  .apc-reg .au-rail {
    position: static;
  }
}

@media (max-width: 560px) {
  .apc-reg .au-fields {
    grid-template-columns: 1fr;
  }

  .apc-reg .document_box {
    grid-template-columns: minmax(0, 1fr) 44px;
  }

  .apc-reg .document_box > .au-field:first-child {
    grid-column: 1 / -1;
  }

  .apc-reg .apc-reg-submit {
    width: 100%;
  }
}
