/*
Theme Name: PrinterPower
Description: Printer Power's Astra child theme with established WooCommerce customisations and a modern editorial storefront.
Author: Ryan
Template: astra
Version: 1.7.29
Requires at least: 6.3
Requires PHP: 7.4
Text Domain: printerpower
*/

:root {
  --acc-ink: #171717;
  --acc-paper: #f5f4ef;
  --acc-accent: #ff7900;
  --acc-muted: #77776f;
  --acc-line: rgba(23, 23, 23, .12);
  --acc-radius: 24px;
  --acc-content: 1440px;
  --acc-ease: cubic-bezier(.22, 1, .36, 1);
}

/* Logged-out sale-price login prompt. */
.pp-sale-login-link {
  color: var(--acc-accent, #ff7900);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.pp-sale-login-dialog {
  width: min(430px, calc(100vw - 32px));
  max-height: calc(100vh - 32px);
  padding: 0;
  overflow: auto;
  border: 0;
  border-radius: 14px;
  background: #fff;
  color: #171717;
  box-shadow: 0 20px 60px rgba(0, 0, 0, .3);
}
.pp-sale-login-dialog::backdrop {
  background: rgba(0, 0, 0, .52);
}
.pp-sale-login-dialog__inner {
  position: relative;
  padding: 30px;
}
.pp-sale-login-dialog__close {
  position: absolute;
  top: 10px;
  right: 12px;
  width: 34px;
  min-width: 34px;
  height: 34px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #f1f1ee;
  color: #171717;
  font-size: 23px;
  line-height: 1;
}
.pp-sale-login-dialog h2 {
  margin: 0 38px 8px 0;
  font-size: 25px;
}
.pp-sale-login-dialog__intro {
  margin: 0 0 20px;
  color: #5f5f58;
}
.pp-sale-login-dialog .woocommerce-form-login {
  margin: 0;
  padding: 0;
  border: 0;
}

/* Fixed, staff-only manager menu. Submenus open into the page from the right rail. */
.pp-manager-rail {
  position: fixed;
  z-index: 99990;
  top: 50%;
  right: 0;
  width: 138px;
  transform: translateY(-50%);
  color: #fff;
  font-size: 13px;
  line-height: 1.25;
  filter: drop-shadow(0 8px 18px rgba(0, 0, 0, .2));
}
.pp-manager-rail__toggle {
  display: none;
}
.pp-manager-rail__title {
  display: block;
  padding: 10px 12px;
  border-radius: 8px 0 0 0;
  background: #171717;
  color: #fff;
  font-weight: 700;
}
.pp-manager-rail ul {
  margin: 0;
  padding: 0;
  list-style: none;
}
.pp-manager-rail .menu > li {
  position: relative;
  border-top: 1px solid rgba(255, 255, 255, .24);
}
.pp-manager-rail .menu > li:last-child > a {
  border-radius: 0 0 0 8px;
}
.pp-manager-rail a {
  display: block;
  padding: 10px 24px 10px 12px;
  background: #ff7900;
  color: #fff;
  text-decoration: none;
  overflow-wrap: anywhere;
}
.pp-manager-rail a:hover,
.pp-manager-rail a:focus-visible,
.pp-manager-rail .menu-item-has-children:focus-within > a {
  background: #df6500;
  color: #fff;
}
.pp-manager-rail .menu-item-has-children > a::after {
  content: '\2039';
  position: absolute;
  right: 10px;
  font-size: 20px;
  line-height: 14px;
}
.pp-manager-rail .sub-menu {
  position: absolute;
  visibility: hidden;
  opacity: 0;
  top: 0;
  right: 100%;
  width: 210px;
  transform: translateX(8px);
  transition: opacity .14s ease, transform .14s ease, visibility 0s linear .14s;
}
.pp-manager-rail li:hover > .sub-menu,
.pp-manager-rail li:focus-within > .sub-menu,
.pp-manager-rail li.pp-submenu-open > .sub-menu {
  visibility: visible;
  opacity: 1;
  transform: translateX(0);
  transition-delay: 0s;
}
.pp-manager-rail .sub-menu li {
  position: relative;
  border-bottom: 1px solid rgba(255, 255, 255, .16);
}
.pp-manager-rail .sub-menu a {
  padding: 10px 12px;
  background: #222;
}
.pp-manager-rail .sub-menu a:hover,
.pp-manager-rail .sub-menu a:focus-visible {
  background: #343434;
}
.pp-manager-rail .sub-menu .sub-menu {
  right: 100%;
}

@media (max-width: 921px) {
  .pp-manager-rail {
    top: auto;
    right: 12px;
    bottom: 88px;
    width: min(280px, calc(100vw - 24px));
    transform: none;
    filter: drop-shadow(0 7px 18px rgba(0, 0, 0, .25));
  }
  .pp-manager-rail__toggle {
    display: block;
    width: auto;
    min-height: 42px;
    margin: 0 0 0 auto;
    padding: 9px 14px;
    border: 0;
    border-radius: 8px;
    background: #ff7900;
    color: #fff;
    font: inherit;
    font-weight: 700;
  }
  .pp-manager-rail__panel {
    display: none;
    max-height: min(65vh, 520px);
    margin-top: 6px;
    overflow: auto;
    border-radius: 8px;
    background: #171717;
  }
  .pp-manager-rail.pp-manager-rail--open .pp-manager-rail__panel {
    display: block;
  }
  .pp-manager-rail__title {
    border-radius: 8px 8px 0 0;
  }
  .pp-manager-rail .menu > li:last-child > a {
    border-radius: 0;
  }
  .pp-manager-rail .sub-menu,
  .pp-manager-rail .sub-menu .sub-menu {
    position: static;
    display: none;
    visibility: visible;
    width: auto;
    opacity: 1;
    transform: none;
    transition: none;
  }
  .pp-manager-rail li.pp-submenu-open > .sub-menu {
    display: block;
  }
  .pp-manager-rail .sub-menu a {
    padding-left: 24px;
  }
  .pp-manager-rail .sub-menu .sub-menu a {
    padding-left: 36px;
  }
}

/* Lazy header product/article search. */
.pp-live-search {
  position: relative;
  width: 630px;
  max-width: calc(100vw - 24px);
  color: var(--acc-ink, #171717);
  font-size: 14px;
  line-height: 1.35;
  z-index: 9999;
}
.pp-live-search__form {
  position: relative;
  margin: 0;
}
.pp-live-search__input {
  width: 100%;
  min-height: 44px;
  margin: 0;
  padding: 9px 48px 9px 15px;
  border: 1px solid rgba(23, 23, 23, .18);
  border-radius: 8px;
  background: #fff;
  color: #171717;
  box-shadow: none;
  font: inherit;
}
.pp-live-search__input:focus {
  border-color: var(--acc-accent, #ff7900);
  outline: 2px solid rgba(255, 121, 0, .2);
  outline-offset: 1px;
}
.pp-live-search__submit {
  position: absolute;
  inset: 0 0 0 auto;
  width: 44px;
  min-width: 44px;
  padding: 0;
  border: 0;
  border-radius: 0 8px 8px 0;
  background: transparent;
  color: #171717;
}
.pp-live-search__submit span {
  display: block;
  width: 15px;
  height: 15px;
  margin: auto;
  border: 2px solid currentColor;
  border-radius: 50%;
  position: relative;
}
.pp-live-search__submit span::after {
  content: '';
  position: absolute;
  width: 7px;
  height: 2px;
  right: -6px;
  bottom: -3px;
  background: currentColor;
  transform: rotate(45deg);
  transform-origin: left center;
}
.pp-live-search__results {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  width: min(520px, calc(100vw - 24px));
  max-height: min(620px, calc(100vh - 110px));
  overflow: auto;
  padding: 10px;
  border: 1px solid rgba(23, 23, 23, .12);
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 18px 55px rgba(0, 0, 0, .18);
}
.pp-live-search__results[hidden] { display: none !important; }
.pp-live-search__section + .pp-live-search__section {
  margin-top: 8px;
  padding-top: 8px;
  border-top: 1px solid rgba(23, 23, 23, .1);
}
.pp-live-search__heading {
  margin: 0;
  padding: 6px 8px;
  color: #5f5f59;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .1em;
  line-height: 1.2;
  text-transform: uppercase;
}
.pp-live-search__item {
  display: flex;
  align-items: center;
  gap: 11px;
  min-height: 48px;
  padding: 7px 8px;
  border-radius: 8px;
  color: #171717;
  text-decoration: none;
}
.pp-live-search__item:hover,
.pp-live-search__item:focus,
.pp-live-search__item.is-active {
  background: #f5f4ef;
  color: #171717;
  outline: none;
}
.pp-live-search__media {
  display: grid;
  flex: 0 0 54px;
  width: 54px;
  height: 54px;
  place-items: center;
  overflow: hidden;
  border: 1px solid rgba(23, 23, 23, .09);
  border-radius: 7px;
  background: #fff;
}
.pp-live-search__media img {
  display: block;
  width: 100%;
  height: 100%;
  margin: 0;
  object-fit: contain;
}
.pp-live-search__copy,
.pp-live-search__title,
.pp-live-search__sku { display: block; }
.pp-live-search__copy { min-width: 0; }
.pp-live-search__title {
  font-weight: 650;
  line-height: 1.25;
}
.pp-live-search__sku {
  margin-top: 3px;
  color: #77776f;
  font-size: 11px;
}
.pp-live-search__item.is-article {
  min-height: 38px;
  padding-left: 10px;
}
.pp-live-search__item.is-article::before {
  content: '↗';
  flex: 0 0 auto;
  color: var(--acc-accent, #ff7900);
  font-weight: 700;
}
.pp-live-search__message {
  padding: 14px 12px;
  color: #5f5f59;
}
.pp-live-search__message.is-loading::before {
  content: '';
  display: inline-block;
  width: 12px;
  height: 12px;
  margin-right: 8px;
  border: 2px solid rgba(23, 23, 23, .18);
  border-top-color: var(--acc-accent, #ff7900);
  border-radius: 50%;
  vertical-align: -2px;
  animation: pp-search-spin .7s linear infinite;
}
@keyframes pp-search-spin { to { transform: rotate(360deg); } }
@media (max-width: 600px) {
  .pp-live-search { width: 100%; }
  .pp-live-search__results {
    right: 0;
    left: auto;
    width: min(520px, calc(100vw - 20px));
  }
}
@media (prefers-reduced-motion: reduce) {
  .pp-live-search__message.is-loading::before { animation-duration: 1.4s; }
}

html { scroll-behavior: smooth; }
body.acc-concept {
  background: var(--acc-paper);
  color: var(--acc-ink);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
.acc-concept h1,.acc-concept h2,.acc-concept h3,.acc-concept h4 {
  color: var(--acc-ink);
  font-weight: 600;
  letter-spacing: -.035em;
  line-height: 1.02;
}
.acc-concept .ast-container { max-width: var(--acc-content); }
.acc-concept a,.acc-concept button { transition: color .25s ease, background .25s ease, border-color .25s ease, transform .25s var(--acc-ease); }
.acc-concept button,.acc-concept .button,.acc-concept input[type="submit"],.acc-button {
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: .82rem;
  font-weight: 650;
  letter-spacing: .04em;
  padding: 15px 24px;
  text-transform: uppercase;
}
.acc-concept .button:hover,.acc-button:hover { transform: translateY(-2px); }
.acc-concept .pp-live-search__submit {
  min-width: 44px;
  padding: 0;
  border: 0;
  border-radius: 0 8px 8px 0;
  background: transparent;
  color: #171717;
  font-size: inherit;
  letter-spacing: normal;
  text-transform: none;
}
.acc-concept .pp-live-search__submit:hover,
.acc-concept .pp-live-search__submit:focus {
  background: rgba(255, 121, 0, .1);
  color: #171717;
  transform: none;
}
.acc-concept .pp-live-search__heading {
  color: #5f5f59;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .1em;
  line-height: 1.2;
}

/* Keep Printer Power's established two-row Astra header above the hero. */
.acc-concept.home .site-header { position: relative; width: 100%; z-index: 50; }
.acc-concept.home.acc-header-scrolled .site-header {
  animation: acc-header-in .35s var(--acc-ease);
  position: fixed;
  top: 0;
}
@keyframes acc-header-in { from { transform: translateY(-100%); } to { transform: translateY(0); } }

/* Hero */
.acc-hero {
  align-items: flex-end;
  background-color: #333;
  background-image: linear-gradient(120deg, #20201d, #626258);
  background-position: center;
  background-size: cover;
  color: #fff;
  display: flex;
  min-height: clamp(520px, 65svh, 690px);
  overflow: hidden;
  padding: clamp(120px, 15vh, 180px) clamp(22px, 5vw, 72px) clamp(48px, 8vh, 96px);
  position: relative;
}
.home .acc-page-content { margin-inline: auto; max-width: 1540px; padding-inline: clamp(18px, 4vw, 70px); }
.home .acc-hero { border-radius: 0; }
.home .acc-existing-content { padding-bottom: clamp(70px, 8vw, 120px); }

/* Menu Pilot AI desktop hover bridge. It covers the visual gap created when
   Astra's primary navigation wraps, without changing the plugin's markup. */
@media (min-width: 922px) {
  .mpai-mega-item { position: static !important; }
  .mpai-mega-panel::before {
    content: "";
    height: 24px;
    left: 0;
    pointer-events: auto;
    position: absolute;
    right: 0;
    top: -24px;
  }
  .mpai-mega-panel { margin-top: 0 !important; }
  .site-header-primary-section-center,
  .ast-builder-menu,
  .main-header-menu { overflow: visible !important; }
}

/* Checkout consent panel: keep the required terms acknowledgement and the
   optional part-shipment preference together with identical control sizing. */
.woocommerce-checkout #payment .pp-checkout-consents {
  background: #fafafa;
  border: 1px solid #d9d9d9;
  border-radius: 8px;
  box-sizing: border-box;
  color: #222;
  font-size: 14px;
  line-height: 1.45;
  margin: 16px 0;
  padding: 14px 16px;
}
.woocommerce-checkout #payment .pp-allow-part-ship {
  margin: 0;
}
.woocommerce-checkout #payment .pp-allow-part-ship > label,
.woocommerce-checkout #payment .woocommerce-terms-and-conditions-wrapper .woocommerce-form__label-for-checkbox {
  align-items: flex-start;
  cursor: pointer;
  display: flex;
  font-size: 14px;
  font-weight: 600;
  gap: 10px;
  line-height: 1.45;
  margin: 0;
}
.woocommerce-checkout #payment .pp-checkout-consents input[type="checkbox"] {
  accent-color: #ff7900;
  appearance: auto;
  flex: 0 0 20px;
  height: 20px !important;
  margin: 1px 0 0 !important;
  min-height: 20px;
  min-width: 20px;
  width: 20px !important;
}
.woocommerce-checkout #payment .pp-allow-part-ship p {
  font-size: 14px;
  line-height: 1.45;
  margin: 7px 0 0 30px;
}
.woocommerce-checkout #payment .pp-checkout-consents .woocommerce-terms-and-conditions-wrapper {
  border-top: 1px solid #dedede;
  font-size: 14px;
  margin-top: 13px;
  padding-top: 13px;
}
.woocommerce-checkout #payment .pp-checkout-consents .woocommerce-privacy-policy-text,
.woocommerce-checkout #payment .pp-checkout-consents .woocommerce-terms-and-conditions {
  font-size: 14px;
  line-height: 1.45;
}
.woocommerce-checkout #payment .pp-checkout-consents .form-row {
  margin: 0;
  padding: 0;
}
.woocommerce-checkout #payment .pp-checkout-consents abbr.required {
  color: #c62828;
}

/* Full policy modal replacing WooCommerce's small inline terms preview. */
.pp-checkout-terms-dialog {
  background: transparent;
  border: 0;
  height: min(78vh, 760px);
  max-height: calc(100vh - 40px);
  max-width: calc(100vw - 40px);
  padding: 0;
  width: min(960px, calc(100vw - 40px));
}
.pp-checkout-terms-dialog::backdrop {
  background: rgba(0, 0, 0, .62);
  backdrop-filter: blur(2px);
}
.pp-checkout-terms-dialog__panel {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 24px 80px rgba(0, 0, 0, .32);
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
}
.pp-checkout-terms-dialog__panel > header {
  align-items: center;
  border-bottom: 1px solid #dedede;
  display: flex;
  flex: 0 0 auto;
  justify-content: space-between;
  padding: 18px 22px;
}
.pp-checkout-terms-dialog__panel h2 {
  font-size: 22px;
  line-height: 1.25;
  margin: 0;
}
.pp-checkout-terms-dialog__close {
  align-items: center;
  appearance: none;
  background: transparent;
  border: 0;
  color: #222;
  cursor: pointer;
  display: inline-flex;
  font-size: 32px;
  height: 38px;
  justify-content: center;
  line-height: 1;
  padding: 0;
  width: 38px;
}
.pp-checkout-terms-dialog__content {
  flex: 1 1 auto;
  font-size: 15px;
  line-height: 1.6;
  overflow: auto;
  padding: 24px 28px 32px;
}
.pp-checkout-terms-dialog__content > :first-child { margin-top: 0; }
@media (max-width: 600px) {
  .pp-checkout-terms-dialog {
    height: calc(100vh - 24px);
    max-height: calc(100vh - 24px);
    max-width: calc(100vw - 24px);
    width: calc(100vw - 24px);
  }
  .pp-checkout-terms-dialog__panel > header { padding: 14px 16px; }
  .pp-checkout-terms-dialog__panel h2 { font-size: 19px; }
  .pp-checkout-terms-dialog__content { padding: 18px 18px 26px; }
}

/* My Account subscription history. */
.pp-account-subscriptions > h2 { margin-bottom: 20px; }
.pp-account-subscriptions__table-wrap { overflow-x: auto; }
.pp-account-subscriptions table { min-width: 760px; }
.pp-account-subscriptions th,
.pp-account-subscriptions td { vertical-align: top; }
.pp-account-subscriptions__product + .pp-account-subscriptions__product { margin-top: 10px; }
.pp-account-subscriptions__product small {
  color: var(--acc-muted, #77776f);
  display: block;
  font-size: 12px;
  margin-top: 2px;
}
.pp-account-subscriptions form { margin: 0; }
.pp-account-subscriptions .button {
  font-size: 13px;
  line-height: 1.25;
  white-space: nowrap;
}
.pp-account-subscriptions__quote-sent {
  color: var(--acc-muted, #77776f);
  display: inline-block;
  font-size: 13px;
  line-height: 1.4;
}
@media (max-width: 768px) {
  .pp-account-subscriptions__table-wrap { overflow: visible; }
  .pp-account-subscriptions table { min-width: 0; }
}

/* Move the live express-wallet element into the order column and present its
   payment choices as a compact vertical checkout path. */
.woocommerce-checkout .pp-relocated-express-checkout {
  margin: 16px 0 18px;
  width: 100%;
}
.woocommerce-checkout .pp-relocated-express-checkout fieldset {
  border: 0;
  margin: 0;
  min-width: 0;
  padding: 0;
}
.woocommerce-checkout .pp-relocated-express-checkout legend,
.woocommerce-checkout .pp-express-checkout-heading {
  color: #222;
  display: block;
  float: none;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.3;
  margin: 0 0 12px;
  padding: 0;
  text-align: left;
  width: 100%;
}
.woocommerce-checkout .pp-relocated-express-checkout #wc-stripe-express-checkout-element,
.woocommerce-checkout .pp-relocated-express-checkout .wc-stripe-express-checkout-element,
.woocommerce-checkout .pp-relocated-express-checkout [class*="express-checkout"] {
  box-sizing: border-box;
  max-width: 100%;
  width: 100% !important;
}
.woocommerce-checkout .pp-relocated-express-checkout #wc-stripe-express-checkout-element > div,
.woocommerce-checkout .pp-relocated-express-checkout .wc-stripe-express-checkout-element > div,
.woocommerce-checkout .pp-relocated-express-checkout [class*="express-checkout"] > div {
  grid-template-columns: minmax(0, 1fr) !important;
  max-width: 100%;
  width: 100% !important;
}
.woocommerce-checkout .pp-relocated-express-checkout iframe,
.woocommerce-checkout .pp-relocated-express-checkout button {
  display: block;
  max-width: 100%;
  width: 100% !important;
}
.woocommerce-checkout .pp-express-checkout-divider {
  align-items: center;
  color: #555;
  display: flex;
  font-size: 12px;
  font-weight: 700;
  gap: 10px;
  justify-content: center;
  margin: 14px 0 0;
  text-align: center;
}
.woocommerce-checkout .pp-express-checkout-divider::before,
.woocommerce-checkout .pp-express-checkout-divider::after {
  background: #d9d9d9;
  content: "";
  flex: 1 1 auto;
  height: 1px;
}

/* New shortcode cards. */
.pp-card-grid {
  display: grid;
  gap: clamp(16px, 2vw, 28px);
  grid-template-columns: repeat(var(--pp-card-columns, 4), minmax(0, 1fr));
  margin: 28px 0 54px;
}
.pp-product-card { min-width: 0; }
.pp-product-card__image {
  align-items: center;
  aspect-ratio: 1 / 1;
  background: #ebeae4;
  border-radius: 20px;
  display: flex;
  justify-content: center;
  overflow: hidden;
  padding: clamp(14px, 2vw, 28px);
}
.pp-product-card__image img {
  height: 100%;
  margin: 0;
  object-fit: contain;
  transition: transform .65s var(--acc-ease);
  width: 100%;
}
.pp-product-card:hover .pp-product-card__image img { transform: scale(1.035); }
.pp-product-card__body { padding: 14px 3px 0; }
.pp-product-card__body h3 { font-size: clamp(.92rem, 1.15vw, 1.08rem); line-height: 1.3; margin: 0 0 7px; }
.pp-product-card__body h3 a { color: inherit; text-decoration: none; }
.pp-product-card__price { color: var(--acc-muted); font-size: .85rem; margin-bottom: 9px; }
.pp-product-card__arrow { border-bottom: 1px solid currentColor; color: inherit; font-size: .7rem; font-weight: 700; letter-spacing: .08em; text-decoration: none; text-transform: uppercase; }
.pp-card-grid__empty { color: var(--acc-muted); font-style: italic; }
.acc-hero::before { background: linear-gradient(90deg, rgba(0,0,0,.58), rgba(0,0,0,.08) 70%); content: ""; inset: 0; position: absolute; }
.acc-hero__inner { max-width: var(--acc-content); position: relative; width: 100%; z-index: 1; }
.acc-eyebrow { font-size: .76rem; font-weight: 700; letter-spacing: .16em; margin: 0 0 18px; text-transform: uppercase; }
.acc-hero h1 { color: #fff; font-size: clamp(3.25rem, 7vw, 7.5rem); margin: 0; max-width: 980px; text-wrap: balance; }
.acc-hero__copy { font-size: clamp(1rem, 1.35vw, 1.25rem); margin: 24px 0 30px; max-width: 580px; }
.acc-hero .acc-button { background: var(--acc-accent); color: var(--acc-ink); display: inline-flex; gap: 18px; text-decoration: none; }
.acc-hero .acc-button:hover { background: #fff; color: var(--acc-ink); }

/* Editorial homepage modules */
.acc-marquee { border-bottom: 1px solid var(--acc-line); overflow: hidden; padding: 17px 0; white-space: nowrap; }
.acc-marquee__track {
  animation: pp-marquee-scroll 20s linear infinite !important;
  animation-play-state: running !important;
  display: flex;
  width: max-content;
  will-change: transform;
}
.acc-marquee:hover .acc-marquee__track,
.acc-marquee:focus-within .acc-marquee__track { animation-play-state: paused !important; }
.acc-marquee__group { display: flex; flex-shrink: 0; }
.acc-marquee__track span {
  display: block;
  font-size: .76rem;
  font-weight: 700;
  letter-spacing: .14em;
  padding-right: clamp(64px, 9vw, 140px);
  text-transform: uppercase;
}
@keyframes pp-marquee-scroll {
  from { transform: translate3d(0,0,0); }
  to { transform: translate3d(-50%,0,0); }
}
.acc-section { margin: 0 auto; max-width: var(--acc-content); padding: clamp(72px, 10vw, 150px) clamp(20px, 4vw, 56px); }
.acc-section__head { align-items: end; display: flex; justify-content: space-between; margin-bottom: 42px; }
.acc-section__head h2 { font-size: clamp(2.5rem, 5vw, 5rem); margin: 0; }
.acc-section__head a { border-bottom: 1px solid currentColor; color: inherit; font-size: .8rem; font-weight: 700; letter-spacing: .08em; text-decoration: none; text-transform: uppercase; }
.acc-section__actions { align-items: center; display: flex; gap: 12px; }
.acc-carousel-button {
  align-items: center;
  background: transparent;
  border: 1px solid var(--acc-line) !important;
  border-radius: 999px;
  color: var(--acc-ink);
  display: inline-flex;
  font-size: 1.35rem;
  height: 46px;
  justify-content: center;
  padding: 0;
  width: 46px;
}
.acc-carousel-button:hover { background: var(--acc-ink); color: #fff; transform: none; }
.acc-carousel-button:disabled { cursor: default; opacity: .3; }
.acc-featured-carousel { overflow: hidden; }
.acc-featured-carousel .woocommerce { overflow: visible; }
.acc-concept .acc-featured-carousel ul.products {
  display: flex !important;
  flex-wrap: nowrap !important;
  gap: 18px;
  margin: 0;
  overflow-x: auto;
  padding: 0 0 16px;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
}
.acc-concept .acc-featured-carousel ul.products::before,
.acc-concept .acc-featured-carousel ul.products::after { display: none; }
.acc-concept .acc-featured-carousel ul.products li.product {
  flex: 0 0 calc((100% - 54px) / 4) !important;
  margin: 0 !important;
  scroll-snap-align: start;
  width: calc((100% - 54px) / 4) !important;
}
.acc-categories { display: grid; gap: 18px; grid-template-columns: 1.35fr 1fr 1fr; }
.acc-category { background: #ddd; border-radius: var(--acc-radius); min-height: 500px; overflow: hidden; position: relative; }
.acc-category img { height: 100%; inset: 0; object-fit: cover; position: absolute; transition: transform .8s var(--acc-ease); width: 100%; }
.acc-category:hover img { transform: scale(1.04); }
.acc-category::after { background: linear-gradient(transparent 45%, rgba(0,0,0,.58)); content: ""; inset: 0; position: absolute; }
.acc-category__label { bottom: 28px; color: #fff; font-size: clamp(1.5rem, 2.2vw, 2.5rem); font-weight: 600; left: 28px; letter-spacing: -.03em; position: absolute; z-index: 1; }
.acc-category--fallback { background: linear-gradient(145deg, #164b78, #0a2d4e); }
.acc-category--fallback::before { color: rgba(255,255,255,.13); content: "↗"; font-size: 10rem; line-height: 1; position: absolute; right: 24px; top: 18px; }
.acc-category--product { background: #fff; }
.acc-category--product::after { display: none; }
.acc-category--product > img { box-sizing: border-box; object-fit: contain; padding: clamp(18px, 3vw, 42px); }
.acc-category--product:hover > img { transform: scale(1.06); }
.acc-category--product .acc-category__label {
  background: rgba(255,255,255,.94);
  border: 1px solid var(--acc-line);
  border-radius: 999px;
  color: var(--acc-ink);
  left: 20px;
  padding: 9px 15px;
}

/* WooCommerce cards */
.acc-concept.woocommerce ul.products,.acc-concept .woocommerce ul.products { column-gap: 18px; row-gap: 48px; }
.acc-concept.woocommerce ul.products li.product,.acc-concept .woocommerce ul.products li.product { background: transparent; border: 0; box-shadow: none; overflow: visible; }
.acc-concept ul.products li.product .astra-shop-thumbnail-wrap { background: #ebeae4; border-radius: var(--acc-radius); overflow: hidden; position: relative; }
.acc-concept ul.products li.product img { margin: 0; transition: transform .7s var(--acc-ease), opacity .35s ease; }
.acc-concept ul.products li.product:hover img { transform: scale(1.025); }
.acc-concept ul.products li.product .acc-secondary-image { height: 100%; inset: 0; object-fit: cover; opacity: 0; position: absolute; width: 100%; z-index: 2; }
.acc-concept ul.products li.product:hover .acc-secondary-image { opacity: 1; }
.acc-concept ul.products li.product .woocommerce-loop-product__title { font-size: 1rem; font-weight: 550; letter-spacing: -.01em; margin-top: 16px; }
.acc-concept ul.products li.product .price { color: var(--acc-muted); font-size: .9rem; }
.acc-concept ul.products li.product .onsale { background: var(--acc-accent); border-radius: 999px; color: var(--acc-ink); font-size: .68rem; font-weight: 700; letter-spacing: .06em; min-height: auto; min-width: auto; padding: 7px 11px; text-transform: uppercase; }
.acc-concept ul.products li.product .button { background: var(--acc-ink); bottom: 16px; color: #fff; left: 16px; margin: 0; opacity: 0; position: absolute; right: 16px; text-align: center; transform: translateY(8px); z-index: 4; }
.acc-concept ul.products li.product:hover .button { opacity: 1; transform: translateY(0); }

/* Content and subtle entrance effects */
.acc-page-content > .entry-content { margin: 0; }
.acc-reveal { opacity: 0; transform: translateY(22px); transition: opacity .8s var(--acc-ease), transform .8s var(--acc-ease); }
.acc-reveal.is-visible { opacity: 1; transform: none; }
.acc-concept .woocommerce-message,.acc-concept .woocommerce-info { background: #fff; border: 1px solid var(--acc-line); border-radius: 16px; }
.acc-concept .widget_shopping_cart_content,.acc-concept .ast-site-header-cart-data { border-radius: 18px; overflow: hidden; }

/* Compact upsells: between the product summary and description tabs. */
.single-product.acc-concept .product .upsells.products {
  border-bottom: 1px solid var(--acc-line);
  border-top: 1px solid var(--acc-line);
  clear: both;
  margin: clamp(34px, 5vw, 64px) 0 0;
  padding: 28px 0 30px;
}
.single-product.acc-concept .product .upsells.products > h2 {
  font-size: clamp(1.25rem, 2vw, 1.65rem);
  margin: 0 0 20px;
}
.single-product.acc-concept .product .upsells.products ul.products {
  display: flex;
  flex-wrap: wrap;
  gap: 18px 24px;
  margin: 0;
}
.single-product.acc-concept .product .upsells.products ul.products::before,
.single-product.acc-concept .product .upsells.products ul.products::after { display: none; }
.single-product.acc-concept .product .upsells.products ul.products li.product {
  display: block;
  flex: 0 0 132px;
  margin: 0 !important;
  min-width: 0;
  padding: 0;
  width: 132px !important;
}
.single-product.acc-concept .product .upsells.products .astra-shop-thumbnail-wrap {
  align-items: center;
  aspect-ratio: 1;
  background: #fff;
  border: 1px solid var(--acc-line);
  border-radius: 14px;
  display: flex;
  justify-content: center;
  padding: 9px;
}
.single-product.acc-concept .product .upsells.products .astra-shop-thumbnail-wrap img:not(.acc-secondary-image) {
  height: 82px;
  margin: auto;
  object-fit: contain;
  transform: none;
  width: 82px;
}
.single-product.acc-concept .product .upsells.products .acc-secondary-image { display: none; }
.single-product.acc-concept .product .upsells.products .woocommerce-loop-product__title {
  font-size: .78rem;
  line-height: 1.3;
  margin: 10px 0 4px;
}
.single-product.acc-concept .product .upsells.products .price { font-size: .75rem; }
.single-product.acc-concept .product .upsells.products .button {
  bottom: auto;
  display: inline-block;
  font-size: .62rem;
  left: auto;
  margin-top: 8px;
  opacity: 1;
  padding: 8px 11px;
  position: static;
  right: auto;
  transform: none;
}
.single-product.acc-concept .woocommerce-tabs { padding-top: clamp(34px, 5vw, 62px); }

/* Full search shares the compact product-card language used by upsells. */
.pp-full-search { padding: clamp(38px, 6vw, 76px) 0; width: 100%; }
.pp-full-search > .ast-container { display: block; }
.pp-full-search__header { margin-bottom: 30px; }
.pp-full-search__header h1 { font-size: clamp(1.7rem, 3vw, 2.6rem); margin: 0; }
.pp-full-search__products { border-bottom: 1px solid var(--acc-line); padding-bottom: 34px; }
.pp-full-search__products > h2,
.pp-full-search__articles > h2 { font-size: clamp(1.25rem, 2vw, 1.65rem); margin: 0 0 20px; }
.pp-full-search__products ul.products {
  display: flex !important;
  flex-wrap: wrap;
  gap: 24px;
  margin: 0;
}
.pp-full-search__products ul.products::before,
.pp-full-search__products ul.products::after { display: none; }
.pp-full-search__products ul.products li.product {
  display: block;
  flex: 0 0 132px;
  margin: 0 !important;
  min-width: 0;
  padding: 0 0 4px;
  width: 132px !important;
}
.pp-full-search__products .astra-shop-thumbnail-wrap {
  align-items: center;
  aspect-ratio: 1;
  background: #fff;
  border: 1px solid var(--acc-line);
  border-radius: 14px;
  display: flex;
  justify-content: center;
  padding: 9px;
}
.pp-full-search__products .astra-shop-thumbnail-wrap img:not(.acc-secondary-image) {
  height: 82px;
  margin: auto;
  object-fit: contain;
  transform: none;
  width: 82px;
}
.pp-full-search__products .acc-secondary-image { display: none; }
.pp-full-search__products .woocommerce-loop-product__title { font-size: .78rem; line-height: 1.3; margin: 10px 0 4px; }
.pp-full-search__sku {
  color: var(--acc-muted);
  display: block;
  font-size: .64rem;
  line-height: 1.35;
  margin-bottom: 4px;
  overflow-wrap: anywhere;
}
.pp-full-search__products .price { font-size: .75rem; }
.pp-full-search__products .button {
  bottom: auto;
  display: inline-block;
  font-size: .62rem;
  left: auto;
  margin-top: 8px;
  opacity: 1;
  padding: 8px 11px;
  position: static;
  right: auto;
  transform: none;
}
.pp-full-search__articles { padding-top: 34px; }
.pp-full-search__articles ul { margin: 0; padding-left: 1.2rem; }
.pp-full-search__articles li { margin-bottom: 9px; }

/* When the right product summary is tall enough, use its otherwise empty
   left-side space for upsells. JavaScript applies this class only after
   verifying that the compact block fits without making the row taller. */
@media (min-width: 922px) {
  .single-product.acc-concept div.product.acc-upsells-in-gallery-gap {
    align-items: start;
    column-gap: 5%;
    display: grid;
    grid-template-columns: minmax(0, 40.375%) minmax(0, 54.625%);
  }
  .single-product.acc-concept div.product.acc-upsells-in-gallery-gap::before,
  .single-product.acc-concept div.product.acc-upsells-in-gallery-gap::after { display: none !important; }
  .single-product.acc-concept div.product.acc-upsells-in-gallery-gap > .woocommerce-product-gallery {
    box-sizing: border-box;
    float: none;
    grid-column: 1;
    grid-row: 1;
    margin: 0;
    max-width: none !important;
    min-width: 0;
    width: 100% !important;
  }
  .single-product.acc-concept div.product.acc-upsells-in-gallery-gap > .summary {
    box-sizing: border-box;
    float: none;
    grid-column: 2;
    grid-row: 1 / span 2;
    margin: 0;
    max-width: none !important;
    min-width: 0;
    width: 100% !important;
  }
  .single-product.acc-concept div.product.acc-upsells-in-gallery-gap > .woocommerce-product-gallery .flex-viewport,
  .single-product.acc-concept div.product.acc-upsells-in-gallery-gap > .woocommerce-product-gallery .woocommerce-product-gallery__wrapper,
  .single-product.acc-concept div.product.acc-upsells-in-gallery-gap > .woocommerce-product-gallery .woocommerce-product-gallery__image,
  .single-product.acc-concept div.product.acc-upsells-in-gallery-gap > .woocommerce-product-gallery .woocommerce-product-gallery__image > a {
    max-width: none !important;
    width: 100% !important;
  }
  .single-product.acc-concept div.product.acc-upsells-in-gallery-gap > .woocommerce-product-gallery .woocommerce-product-gallery__image img {
    height: auto;
    max-width: none !important;
    width: 100% !important;
  }
  .single-product.acc-concept div.product.acc-upsells-in-gallery-gap > .upsells.products {
    align-self: start;
    grid-column: 1;
    grid-row: 2;
    margin: 24px 0 0;
    min-width: 0;
  }
  .single-product.acc-concept div.product.acc-upsells-in-gallery-gap.acc-apf-short-description-in-gap > .woocommerce-product-details__short-description {
    align-self: start;
    grid-column: 1;
    grid-row: 2;
    margin: 24px 0 0;
    min-width: 0;
  }
  .single-product.acc-concept div.product.acc-upsells-in-gallery-gap.acc-apf-short-description-in-gap > .upsells.products {
    grid-row: 3;
  }
  .single-product.acc-concept div.product.acc-upsells-in-gallery-gap.acc-apf-short-description-in-gap > .summary {
    grid-row: 1 / span 3;
  }
  .single-product.acc-concept div.product.acc-upsells-in-gallery-gap.acc-apf-short-description-in-gap.acc-apf-no-upsells > .summary {
    grid-row: 1 / span 2;
  }
  .single-product.acc-concept div.product.acc-upsells-in-gallery-gap > .upsells.products ul.products { gap: 9px; }
  .single-product.acc-concept div.product.acc-upsells-in-gallery-gap > .upsells.products ul.products li.product {
    flex: 0 0 104px;
    width: 104px !important;
  }
  .single-product.acc-concept div.product.acc-upsells-in-gallery-gap > .upsells.products .astra-shop-thumbnail-wrap {
    height: 104px;
    padding: 8px;
    width: 104px;
  }
  .single-product.acc-concept div.product.acc-upsells-in-gallery-gap > .upsells.products .astra-shop-thumbnail-wrap img:not(.acc-secondary-image) {
    height: 68px;
    width: 68px;
  }
  .single-product.acc-concept div.product.acc-upsells-in-gallery-gap > .upsells.products .woocommerce-loop-product__title {
    font-size: .7rem;
  }
  .single-product.acc-concept div.product.acc-upsells-in-gallery-gap > .upsells.products .button {
    font-size: .55rem;
    padding: 7px 9px;
  }
  .single-product.acc-concept div.product.acc-upsells-in-gallery-gap > .woocommerce-tabs,
  .single-product.acc-concept div.product.acc-upsells-in-gallery-gap > .related.products {
    grid-column: 1 / -1;
  }
  .single-product.acc-concept div.product.acc-upsells-in-gallery-gap > .woocommerce-tabs { grid-row: 3; }
  .single-product.acc-concept div.product.acc-upsells-in-gallery-gap > .related.products { grid-row: 4; }
  .single-product.acc-concept div.product.acc-upsells-in-gallery-gap.acc-apf-short-description-in-gap > .woocommerce-tabs { grid-row: 4; }
  .single-product.acc-concept div.product.acc-upsells-in-gallery-gap.acc-apf-short-description-in-gap > .related.products { grid-row: 5; }
  .single-product.acc-concept div.product.acc-upsells-in-gallery-gap.acc-apf-short-description-in-gap.acc-apf-no-upsells > .woocommerce-tabs { grid-row: 3; }
  .single-product.acc-concept div.product.acc-upsells-in-gallery-gap.acc-apf-short-description-in-gap.acc-apf-no-upsells > .related.products { grid-row: 4; }
  .single-product.acc-concept div.product.acc-upsells-in-gallery-gap > .clear { display: none; }
}

@media (max-width: 921px) {
  .acc-categories { grid-template-columns: 1fr 1fr; }
  .acc-category:first-child { grid-column: 1 / -1; }
  .acc-category { min-height: 420px; }
  .pp-card-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .acc-concept .acc-featured-carousel ul.products li.product {
    flex-basis: calc((100% - 18px) / 2) !important;
    width: calc((100% - 18px) / 2) !important;
  }
}
@media (max-width: 600px) {
  .acc-hero { min-height: 620px; padding-bottom: 46px; }
  .acc-hero::before { background: linear-gradient(0deg, rgba(0,0,0,.65), rgba(0,0,0,.05) 85%); }
  .acc-hero h1 { font-size: clamp(2.8rem, 14vw, 4.6rem); }
  .acc-section__head { align-items: flex-start; flex-direction: column; gap: 20px; }
  .acc-categories { display: flex; gap: 12px; margin-right: -20px; overflow-x: auto; padding-right: 20px; scroll-snap-type: x mandatory; }
  .acc-category,.acc-category:first-child { flex: 0 0 82vw; min-height: 440px; scroll-snap-align: start; }
  .acc-concept ul.products li.product .button { opacity: 1; position: static; transform: none; }
  .single-product.acc-concept .product .upsells.products ul.products {
    flex-wrap: nowrap;
    margin-right: -20px;
    overflow-x: auto;
    padding-bottom: 12px;
    padding-right: 20px;
    scroll-snap-type: x mandatory;
  }
  .single-product.acc-concept .product .upsells.products ul.products li.product {
    flex-basis: 122px;
    scroll-snap-align: start;
    width: 122px !important;
  }
  .pp-card-grid { gap: 18px 12px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pp-product-card__image { border-radius: 14px; padding: 12px; }
  .acc-section__actions { flex-wrap: wrap; }
  .acc-carousel-button { height: 42px; width: 42px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .acc-reveal { opacity: 1; transform: none; }
  *,*::before,*::after { transition-duration: .01ms !important; }
}

/* Consistent desktop product flow: the left side is a natural stack rather
   than two grid rows whose height is distorted by a tall right summary. */
@media (min-width: 922px) {
  .single-product.acc-concept div.product.acc-product-flow {
	align-items: start;
	column-gap: 5%;
	display: grid;
	grid-template-columns: minmax(0, 40.375%) minmax(0, 54.625%);
  }
  .single-product.acc-concept div.product.acc-product-flow::before,
  .single-product.acc-concept div.product.acc-product-flow::after { display: none !important; }
  .single-product.acc-concept div.product.acc-product-flow > .acc-product-left-column {
	display: flex;
	flex-direction: column;
	gap: 26px;
	grid-column: 1;
	grid-row: 1;
	min-width: 0;
  }
  .single-product.acc-concept div.product.acc-product-flow > .summary {
	float: none;
	grid-column: 2;
	grid-row: 1;
	margin: 0;
	max-width: none !important;
	min-width: 0;
	width: 100% !important;
  }
  .single-product.acc-concept .acc-product-left-column > .woocommerce-product-gallery {
	float: none;
	margin: 0;
	max-width: none !important;
	width: 100% !important;
  }
  .single-product.acc-concept .acc-product-left-column .flex-viewport,
  .single-product.acc-concept .acc-product-left-column .woocommerce-product-gallery__wrapper,
  .single-product.acc-concept .acc-product-left-column .woocommerce-product-gallery__image,
  .single-product.acc-concept .acc-product-left-column .woocommerce-product-gallery__image > a {
	max-width: none !important;
	width: 100% !important;
  }
  .single-product.acc-concept .acc-product-left-column .woocommerce-product-gallery__image img:not(.zoomImg) {
	height: auto !important;
	margin: 0 auto !important;
	max-width: 100% !important;
	width: 100% !important;
  }
  .single-product.acc-concept .acc-product-left-column > .upsells.products {
	margin: 0;
	min-width: 0;
	width: 100%;
  }
  .single-product.acc-concept .acc-product-left-column > .upsells.products ul.products { gap: 9px; }
  .single-product.acc-concept .acc-product-left-column > .upsells.products ul.products li.product {
	flex: 0 0 104px;
	width: 104px !important;
  }
  .single-product.acc-concept .acc-product-left-column > .upsells.products .astra-shop-thumbnail-wrap {
	height: 104px;
	padding: 8px;
	width: 104px;
  }
  .single-product.acc-concept .acc-product-left-column > .upsells.products .astra-shop-thumbnail-wrap img:not(.acc-secondary-image) {
	height: 68px;
	width: 68px;
  }
  .single-product.acc-concept div.product.acc-product-flow > .woocommerce-tabs,
  .single-product.acc-concept div.product.acc-product-flow > .related.products,
  .single-product.acc-concept div.product.acc-product-flow > .clear {
	grid-column: 1 / -1;
  }
  .single-product.acc-concept div.product.acc-product-flow > .woocommerce-tabs {
	margin-top: 8px;
  }
}

.single-product.acc-concept .acc-capped-content {
  overflow: hidden;
  position: relative;
}
.single-product.acc-concept .acc-capped-content.is-expanded,
.single-product.acc-concept .acc-capped-content.is-not-capped { max-height: none; }
.single-product.acc-concept .acc-show-more {
  background: transparent;
  border: 1px solid #ff7900;
  border-radius: 999px;
  color: #111;
  cursor: pointer;
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
  margin-top: 12px;
  padding: 9px 16px;
}
.single-product.acc-concept .acc-show-more:hover,
.single-product.acc-concept .acc-show-more:focus-visible {
  background: #ff7900;
  color: #fff;
}
.single-product.acc-concept .acc-show-more[hidden] { display: none; }

.single-product.acc-concept .pp-selected-variation-price {
  color: #111;
  font-size: clamp(1.25rem, 1.8vw, 1.6rem);
  font-weight: 700;
  line-height: 1.25;
  margin: 10px 0 14px;
}
.single-product.acc-concept .pp-selected-variation-price[hidden] { display: none; }
.single-product.acc-concept .pp-selected-variation-price .price { margin: 0; }
.single-product.acc-concept .pp-selected-variation-price del {
  color: #6b7280;
  font-size: .8em;
  margin-right: 7px;
}
.single-product.acc-concept .pp-selected-variation-price ins {
  color: #ff7900;
  text-decoration: none;
}
.single-product.acc-concept div.product.acc-variation-price-relocated .single_variation .woocommerce-variation-price {
  display: none;
}
.single-product.acc-concept form.variations_form select.acc-single-option-locked:disabled {
  background-color: #f3f5f7;
  border-color: #d7dde5;
  color: #4b5563;
  cursor: not-allowed;
  opacity: .82;
}

@media (min-width: 922px) {
  .single-product.acc-concept form.variations_form table.variations,
  .single-product.acc-concept form.variations_form table.variations tbody {
    display: block;
    width: 100%;
  }
  .single-product.acc-concept form.variations_form table.variations tbody {
    display: grid;
    gap: 14px 16px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .single-product.acc-concept form.variations_form table.variations tr {
    display: block;
    margin: 0;
    min-width: 0;
  }
  .single-product.acc-concept form.variations_form table.variations th,
  .single-product.acc-concept form.variations_form table.variations td {
    display: block;
    padding: 0;
    text-align: left;
    width: 100%;
  }
  .single-product.acc-concept form.variations_form table.variations th.label {
    font-size: 12px;
    margin-bottom: 6px;
  }
  .single-product.acc-concept form.variations_form table.variations select {
    background-color: #fff;
    border: 1px solid #d7dde5;
    border-radius: 7px;
    min-height: 42px;
    padding: 8px 34px 8px 11px;
    width: 100%;
  }
  .single-product.acc-concept form.variations_form .reset_variations {
    display: inline-block;
    margin-top: 10px;
  }
  .single-product.acc-concept div.product.acc-product-flow.acc-apf-short-description-full-row > .woocommerce-product-details__short-description {
    border-top: 1px solid #d9d9d9;
    grid-column: 1 / -1;
    margin: 0;
    padding-top: 20px;
    width: 100%;
  }
}

/* Keep cached PDF links together below purchase details, outside Show More. */
.single-product .summary .contentpilot-product-documents { margin: .75em 0; font-size: 14px; }
.single-product .summary .contentpilot-product-documents ul { flex-wrap: nowrap; }
.single-product .summary .contentpilot-product-documents .printer-power-article-document[hidden] { display: none !important; }
.single-product .summary .contentpilot-product-documents a {
  color: var(--acc-accent, #ff7900);
  font-size: 16px;
  font-weight: 700;
}
@media (max-width: 480px) {
  .single-product .summary .contentpilot-product-documents { font-size: 12px; }
  .single-product .summary .contentpilot-product-documents a { font-size: 14px; }
}
