/* Centrum Print Custom Header */
html.cp-menu-lock,
body.cp-menu-lock {
  overflow: hidden !important;
  overscroll-behavior: none;
}

body.cp-hide-old-header header.elementor-location-header,
body.cp-hide-old-header .elementor-location-header,
body.cp-hide-old-header [data-elementor-type="header"],
body.cp-hide-old-header .site-header {
  display: none !important;
}

body.cp-header-content-offset {
  padding-top: 118px !important;
}

body.admin-bar.cp-header-content-offset {
  padding-top: 150px !important;
}

.cp-header,
.cp-header * {
  box-sizing: border-box;
}

.cp-header {
  --cp-ink: #07101c;
  --cp-text: #283446;
  --cp-muted: #6b7485;
  --cp-line: rgba(7, 16, 28, .11);
  --cp-soft: #f6f7fb;
  --cp-card: rgba(255, 255, 255, .94);
  --cp-pink: #d73b93;
  --cp-purple: #7c3cff;
  --cp-yellow: #f6c343;
  --cp-cyan: #14b8d6;
  position: fixed;
  left: 50%;
  top: 12px;
  z-index: 99990;
  width: min(1180px, calc(100% - 32px));
  transform: translateX(-50%);
  color: var(--cp-ink);
  font-family: Manrope, Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  pointer-events: none;
}

body.admin-bar .cp-header {
  top: 44px;
}


/* Defensive reset: prevents theme/Elementor/WooCommerce global button styles from turning
   the mobile menu/backdrop into a large colored rectangle on mobile. */
.cp-header {
  isolation: isolate;
}

.cp-header button,
.cp-header input[type=button],
.cp-header input[type=submit],
.cp-header input[type=reset] {
  -webkit-appearance: none !important;
  appearance: none !important;
  margin: 0 !important;
  text-transform: none !important;
  letter-spacing: inherit !important;
  text-decoration: none !important;
  outline-offset: 3px;
}

.cp-header button::before,
.cp-header button::after {
  content: none !important;
}

.cp-header a {
  color: inherit;
  text-decoration: none;
}

.cp-header-shell {
  min-height: 72px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 18px;
  padding: 10px 14px 10px 16px;
  border: 1px solid rgba(7, 16, 28, .10);
  border-radius: 18px;
  background: var(--cp-card);
  box-shadow: 0 18px 54px rgba(7, 16, 28, .10);
  backdrop-filter: blur(18px);
  pointer-events: auto;
}

body.cp-has-custom-header .cp-header .cp-header-shell {
  display: grid !important;
  grid-template-columns: auto 1fr auto !important;
  align-items: center !important;
}

.cp-brand {
  min-width: 210px;
  display: inline-flex;
  align-items: center;
  gap: 11px;
}

.cp-brand-mark {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  overflow: hidden;
  border-radius: 14px;
  background: #fff;
  box-shadow: inset 0 0 0 1px rgba(7, 16, 28, .06), 0 10px 24px rgba(7, 16, 28, .08);
}

.cp-brand-mark img {
  width: 35px;
  height: 35px;
  display: block;
  object-fit: contain;
}

.cp-brand-name {
  display: block;
  color: var(--cp-ink);
  font-size: 20px;
  line-height: 1.05;
  font-weight: 950;
  letter-spacing: 0;
  white-space: nowrap;
}

.cp-brand-sub {
  display: block;
  margin-top: 4px;
  color: var(--cp-muted);
  font-size: 11px;
  line-height: 1.1;
  font-weight: 850;
  letter-spacing: .03em;
  text-transform: uppercase;
  white-space: nowrap;
}

.cp-nav,
.cp-actions {
  display: flex;
  align-items: center;
}

.cp-nav {
  justify-content: center;
  gap: 4px;
}

.cp-actions {
  justify-content: flex-end;
  gap: 8px;
}

.cp-nav-link,
.cp-product-toggle,
.cp-icon-link,
.cp-quote-link,
.cp-mobile-toggle,
.cp-drawer-close {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 0;
  border-radius: 12px;
  background: transparent;
  color: var(--cp-ink);
  font: inherit;
  font-size: 15px;
  line-height: 1;
  font-weight: 900;
  white-space: nowrap;
  cursor: pointer;
  transition: background .18s ease, color .18s ease, box-shadow .18s ease, transform .18s ease, border-color .18s ease;
}

.cp-nav-link,
.cp-product-toggle {
  padding: 0 13px;
}

.cp-nav-link:hover,
.cp-nav-link[aria-current="page"] {
  color: var(--cp-pink);
  background: #f7f8fb;
}

.cp-product-toggle {
  color: var(--cp-ink) !important;
  border: 1px solid transparent !important;
  background: transparent !important;
  box-shadow: none !important;
}

.cp-product-toggle:hover,
.cp-product-toggle[aria-expanded="true"] {
  color: var(--cp-ink) !important;
  background: #f7f8fb !important;
  border-color: rgba(215, 59, 147, .24) !important;
  box-shadow: 0 10px 22px rgba(7, 16, 28, .08) !important;
}

.cp-product-toggle svg,
.cp-icon-link svg,
.cp-mobile-toggle svg,
.cp-drawer-close svg {
  width: 18px;
  height: 18px;
  stroke: currentColor;
  stroke-width: 2.4;
  fill: none;
}

.cp-icon-link {
  min-width: 42px;
  padding: 0 12px;
  color: var(--cp-text);
  border: 1px solid var(--cp-line);
  background: #fff;
}

.cp-icon-link:hover {
  color: var(--cp-pink);
  border-color: rgba(215, 59, 147, .24);
  background: #fff7fc;
}

.cp-quote-link {
  padding: 0 18px;
  color: #fff !important;
  background: linear-gradient(135deg, var(--cp-pink), var(--cp-purple));
  box-shadow: 0 14px 26px rgba(215, 59, 147, .24);
}

.cp-quote-link:hover {
  transform: translateY(-1px);
  box-shadow: 0 18px 32px rgba(215, 59, 147, .30);
}

.cp-mobile-toggle {
  display: none !important;
  width: 46px !important;
  min-width: 46px !important;
  max-width: 46px !important;
  height: 46px !important;
  min-height: 46px !important;
  max-height: 46px !important;
  inline-size: 46px !important;
  min-inline-size: 46px !important;
  max-inline-size: 46px !important;
  block-size: 46px !important;
  min-block-size: 46px !important;
  max-block-size: 46px !important;
  flex: 0 0 46px !important;
  align-self: center !important;
  padding: 0 !important;
  color: #fff;
  background: linear-gradient(135deg, var(--cp-pink), var(--cp-purple));
}


.cp-mobile-lang {
  display: none !important;
  width: 46px !important;
  min-width: 46px !important;
  max-width: 46px !important;
  height: 46px !important;
  min-height: 46px !important;
  max-height: 46px !important;
  inline-size: 46px !important;
  min-inline-size: 46px !important;
  max-inline-size: 46px !important;
  block-size: 46px !important;
  min-block-size: 46px !important;
  max-block-size: 46px !important;
  flex: 0 0 46px !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 0 !important;
  border: 1px solid var(--cp-line) !important;
  border-radius: 14px !important;
  color: var(--cp-ink) !important;
  background: #fff !important;
  box-shadow: none !important;
  font-size: 13px !important;
  line-height: 1 !important;
  font-weight: 950 !important;
  letter-spacing: 0 !important;
  text-transform: uppercase !important;
  text-decoration: none !important;
  white-space: nowrap !important;
}

.cp-mobile-lang:hover,
.cp-mobile-lang:focus {
  color: var(--cp-pink) !important;
  border-color: rgba(215, 59, 147, .24) !important;
  background: #fff7fc !important;
}

body.cp-has-custom-header .cp-header button.cp-mobile-toggle {
  appearance: none !important;
  -webkit-appearance: none !important;
  display: none !important;
  width: 46px !important;
  min-width: 46px !important;
  max-width: 46px !important;
  height: 46px !important;
  min-height: 46px !important;
  max-height: 46px !important;
  inline-size: 46px !important;
  min-inline-size: 46px !important;
  max-inline-size: 46px !important;
  block-size: 46px !important;
  min-block-size: 46px !important;
  max-block-size: 46px !important;
  flex: 0 0 46px !important;
  align-self: center !important;
  margin: 0 !important;
  border: 0 !important;
  padding: 0 !important;
  line-height: 1 !important;
  color: #fff !important;
  background: linear-gradient(135deg, var(--cp-pink), var(--cp-purple)) !important;
}

.cp-mega {
  position: absolute;
  left: 50%;
  top: calc(100% + 10px);
  width: min(1120px, calc(100vw - 32px));
  transform: translate(-50%, 8px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .18s ease, transform .18s ease, visibility .18s ease;
}

.cp-header.is-mega-open .cp-mega {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translate(-50%, 0);
}

.cp-mega-panel {
  display: grid;
  grid-template-columns: .9fr 1fr 1fr 1fr;
  gap: 14px;
  padding: 16px;
  border: 1px solid rgba(7, 16, 28, .10);
  border-radius: 18px;
  background: rgba(255, 255, 255, .98);
  box-shadow: 0 30px 90px rgba(7, 16, 28, .18);
  pointer-events: auto;
}

.cp-mega-card,
.cp-drawer-feature {
  color: #fff;
  background:
    linear-gradient(180deg, rgba(7, 16, 28, .16), rgba(7, 16, 28, .86)),
    url("https://centrumprint.com/wp-content/uploads/2024/06/kruni7140_PVC_Banners._with_grommets_Print_with_graphic_on_the__5e3eff35-b820-4977-ad0d-ef4b3cce09c6.webp") center / cover no-repeat;
}

.cp-mega-card {
  min-height: 240px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
  padding: 20px;
  border-radius: 14px;
}

.cp-mega-card strong,
.cp-drawer-feature strong {
  display: block;
  max-width: 270px;
  font-size: 24px;
  line-height: 1.08;
  letter-spacing: 0;
}

.cp-mega-card span,
.cp-drawer-feature span {
  display: block;
  max-width: 290px;
  margin-top: 9px;
  color: rgba(255, 255, 255, .78);
  font-size: 14px;
  line-height: 1.45;
  font-weight: 750;
}

.cp-mega-card a,
.cp-drawer-feature a {
  width: fit-content;
  margin-top: 16px;
  padding: 11px 14px;
  border-radius: 999px;
  color: #07101c;
  background: #fff;
  font-size: 14px;
  font-weight: 950;
}

.cp-mega-col {
  padding: 4px 2px;
}

.cp-mega-title {
  margin: 0 0 10px;
  color: var(--cp-ink);
  font-size: 13px;
  line-height: 1.2;
  font-weight: 950;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.cp-mega-link {
  min-height: 52px;
  display: grid;
  grid-template-columns: 36px 1fr;
  align-items: center;
  gap: 10px;
  padding: 8px;
  border-radius: 12px;
  color: var(--cp-text);
  font-weight: 900;
  transition: background .16s ease, color .16s ease;
}

.cp-mega-link:hover {
  color: var(--cp-pink);
  background: #f7f8fb;
}

.cp-mega-icon {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 11px;
  color: #fff;
  background: linear-gradient(135deg, var(--cp-pink), var(--cp-purple));
}

.cp-mega-icon svg {
  width: 17px;
  height: 17px;
  stroke: currentColor;
  stroke-width: 2.2;
  fill: none;
}

.cp-mega-note {
  display: block;
  margin-top: 3px;
  color: var(--cp-muted);
  font-size: 12px;
  line-height: 1.35;
  font-weight: 700;
}

.cp-drawer-backdrop {
  position: fixed !important;
  inset: 0 !important;
  z-index: 99991 !important;
  display: none !important;
  width: auto !important;
  min-width: 0 !important;
  max-width: none !important;
  height: auto !important;
  min-height: 0 !important;
  max-height: none !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  color: transparent !important;
  background: rgba(7, 16, 28, .42) !important;
  box-shadow: none !important;
  backdrop-filter: blur(6px);
  pointer-events: auto;
}

.cp-mobile-drawer {
  position: fixed;
  top: 0;
  right: 0;
  z-index: 99992;
  width: min(430px, calc(100vw - 18px));
  height: 100dvh;
  display: none;
  flex-direction: column;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 14px;
  color: var(--cp-ink);
  background: #fff;
  box-shadow: -28px 0 80px rgba(7, 16, 28, .26);
  pointer-events: auto;
  transform: translateX(105%);
  transition: transform .24s ease;
}

.cp-header.is-drawer-open .cp-drawer-backdrop {
  display: block !important;
}

.cp-header.is-drawer-open .cp-mobile-drawer {
  display: flex;
  transform: translateX(0);
}

.cp-drawer-top {
  position: sticky;
  top: -14px;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 10px 0 14px;
  background: linear-gradient(180deg, #fff 72%, rgba(255,255,255,0));
}

.cp-drawer-close {
  width: 46px;
  height: 46px;
  padding: 0;
  color: #fff;
  background: linear-gradient(135deg, var(--cp-pink), var(--cp-purple));
}

.cp-drawer-nav,
.cp-drawer-actions {
  display: grid;
  gap: 8px;
}

.cp-drawer-link,
.cp-drawer-action,
.cp-products-accordion summary {
  min-height: 52px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 0 16px;
  border: 1px solid rgba(7, 16, 28, .09);
  border-radius: 14px;
  color: var(--cp-ink);
  background: #fff;
  font-size: 16px;
  font-weight: 900;
  cursor: pointer;
}

.cp-drawer-link:hover,
.cp-drawer-action:hover,
.cp-products-accordion summary:hover {
  background: #f7f8fb;
}

.cp-products-accordion {
  border: 0;
}

.cp-products-accordion summary {
  list-style: none;
}

.cp-products-accordion summary::-webkit-details-marker {
  display: none;
}

.cp-products-accordion summary svg {
  width: 18px;
  height: 18px;
  stroke: currentColor;
  stroke-width: 2.4;
  fill: none;
  transition: transform .18s ease;
}

.cp-products-accordion[open] summary svg {
  transform: rotate(180deg);
}

.cp-drawer-products {
  display: grid;
  gap: 14px;
  padding: 12px 0 6px;
}

.cp-drawer-group {
  padding: 14px;
  border: 1px solid rgba(7, 16, 28, .08);
  border-radius: 16px;
  background: #f7f8fb;
}

.cp-drawer-group h3 {
  margin: 0 0 8px;
  color: var(--cp-muted);
  font-size: 12px;
  font-weight: 950;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.cp-drawer-products .cp-mega-link {
  min-height: 50px;
  padding: 8px 4px;
}

.cp-drawer-feature {
  margin: 16px 0;
  padding: 18px;
  border-radius: 18px;
}

.cp-drawer-actions {
  padding-bottom: 24px;
}

.cp-drawer-action-primary {
  justify-content: center;
  color: #fff !important;
  border-color: transparent;
  background: linear-gradient(135deg, var(--cp-pink), var(--cp-purple));
  box-shadow: 0 14px 30px rgba(215, 59, 147, .22);
}



/* Strong mobile drawer typography reset so theme/Elementor heading styles
   cannot blow up the section titles inside the product drawer. */
.cp-header .cp-mobile-drawer,
.cp-header .cp-mobile-drawer * {
  font-family: Manrope, Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.cp-header .cp-mobile-drawer .cp-products-accordion > summary {
  font-size: 16px !important;
  line-height: 1.15 !important;
  font-weight: 900 !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
}

.cp-header .cp-mobile-drawer .cp-drawer-products {
  gap: 16px;
}

.cp-header .cp-mobile-drawer .cp-drawer-group {
  overflow: hidden;
}

.cp-header .cp-mobile-drawer .cp-drawer-group > h3,
.cp-header .cp-mobile-drawer .cp-drawer-group h3 {
  display: block !important;
  margin: 0 0 12px !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  color: var(--cp-muted) !important;
  font-family: Manrope, Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif !important;
  font-size: 18px !important;
  line-height: 1.12 !important;
  font-weight: 900 !important;
  letter-spacing: .025em !important;
  text-transform: uppercase !important;
  white-space: normal !important;
  word-break: normal !important;
  overflow-wrap: normal !important;
}

.cp-header .cp-mobile-drawer .cp-drawer-products .cp-mega-link {
  min-height: 50px !important;
  grid-template-columns: 60px 1fr !important;
  gap: 12px !important;
  padding: 8px 4px !important;
}

.cp-header .cp-mobile-drawer .cp-drawer-products .cp-mega-link > span:last-child {
  min-width: 0;
}

.cp-header .cp-mobile-drawer .cp-drawer-products .cp-mega-link,
.cp-header .cp-mobile-drawer .cp-drawer-products .cp-mega-link span {
  text-decoration: none !important;
}

.cp-header .cp-mobile-drawer .cp-drawer-products .cp-mega-link > span:last-child {
  font-size: 16px;
  line-height: 1.15;
  font-weight: 900;
}

.cp-header .cp-mobile-drawer .cp-drawer-products .cp-mega-note {
  margin-top: 4px !important;
  font-size: 12px !important;
  line-height: 1.28 !important;
  font-weight: 700 !important;
}

@media (max-width: 1120px) {
  body.cp-header-content-offset {
    padding-top: 90px !important;
  }

  body.admin-bar.cp-header-content-offset {
    padding-top: 136px !important;
  }

  .cp-header {
    top: 8px;
    width: calc(100% - 16px);
  }

  body.admin-bar .cp-header {
    top: 54px;
  }

  .cp-header-shell {
    min-height: 66px;
    grid-template-columns: minmax(0, 1fr) auto auto;
    padding: 9px;
    border-radius: 16px;
    gap: 8px;
  }

  body.cp-has-custom-header .cp-header .cp-header-shell {
    grid-template-columns: minmax(0, 1fr) auto auto !important;
    gap: 8px !important;
  }

  .cp-nav,
  .cp-actions,
  .cp-mega {
    display: none !important;
  }

  .cp-mobile-lang,
  .cp-mobile-toggle,
  body.cp-has-custom-header .cp-header button.cp-mobile-toggle {
    display: inline-flex !important;
    justify-self: end;
  }

  .cp-brand {
    min-width: 0;
  }

  .cp-brand-name {
    font-size: 18px;
  }

  .cp-brand-sub {
    max-width: 210px;
    white-space: normal;
  }
}

@media (min-width: 1121px) {
  .cp-mobile-lang,
  .cp-mobile-toggle,
  body.cp-has-custom-header .cp-header button.cp-mobile-toggle,
  .cp-drawer-backdrop,
  .cp-mobile-drawer {
    display: none !important;
  }
}


@media (max-width: 420px) {
  .cp-brand {
    gap: 8px;
  }

  .cp-brand-mark {
    width: 42px;
    height: 42px;
    border-radius: 13px;
  }

  .cp-brand-mark img {
    width: 32px;
    height: 32px;
  }

  .cp-brand-name {
    font-size: 17px;
  }

  .cp-brand-sub {
    max-width: 170px;
    font-size: 10px;
    letter-spacing: .02em;
  }
}


/* Mobile drawer UX: products stay closed by default and open only when tapped. */
.cp-header .cp-mobile-drawer .cp-products-accordion:not([open]) .cp-drawer-products {
  display: none !important;
}

.cp-header .cp-mobile-drawer .cp-products-accordion > summary {
  user-select: none !important;
}

.cp-header .cp-mobile-drawer .cp-products-accordion:not([open]) > summary svg {
  transform: rotate(0deg) !important;
}
