/* PressFlow commerce: the theme presents products; the plugin prices them. */
/* Woo's body-level button selectors must not restyle the site navigation. */
.site-header #primary-navigation > a.button.button-small,
.site-footer a.button,
.cta-section a.button,
.hero a.button {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  float: none;
  margin: 0;
  padding: 16px 22px;
  min-height: 54px;
  background: var(--ink);
  border: 1px solid var(--ink);
  border-radius: 0;
  color: #fff;
  font: 750 14px/1.5 var(--sans);
  text-align: left;
  text-decoration: none;
  text-transform: none;
  letter-spacing: normal;
  text-shadow: none;
  box-shadow: 3px 3px 0 #15151726;
}
.site-header #primary-navigation > a.button.button-small {
  min-height: 44px;
  padding: 11px 16px;
  gap: 22px;
}
.site-header #primary-navigation > a.button.button-small:hover,
.site-footer a.button:hover,
.cta-section a.button:hover,
.hero a.button:hover {
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
  box-shadow: 5px 5px 0 #15151735;
}
.site-footer a.button-white,
.cta-section a.button-white,
.hero a.button-white { background: #fff; color: var(--ink); border-color: #fff; }
.hero a.button-outline { background: transparent; color: var(--ink); box-shadow: none; }

.pfd-commerce-shell { padding-top: 35px; padding-bottom: 72px; }
.pfd-shop-tools { display: flex; justify-content: space-between; gap: 20px; margin-bottom: 25px; padding-bottom: 18px; border-bottom: 1px solid var(--line); font: 700 13px/1.5 var(--sans); }
.pfd-shop-tools a { text-decoration: underline; text-underline-offset: 4px; }
.pfd-commerce-page .page-heading { padding-top: 44px; padding-bottom: 32px; }
.pfd-commerce-page .page-heading h1,
.pfd-commerce-shell .woocommerce-products-header__title {
  font-size: clamp(36px, 4.2vw, 56px);
  line-height: 1.1;
}
.pfd-commerce-page .page-content {
  width: min(1240px, calc(100% - 64px));
  margin-inline: auto;
  padding-bottom: 72px;
}
.pfd-commerce-shell .woocommerce-breadcrumb {
  font-family: var(--sans);
  font-size: 13px;
  line-height: 1.65;
  color: var(--muted);
  margin: 0 0 32px;
  overflow-wrap: anywhere;
}
.pfd-commerce-shell .woocommerce-breadcrumb a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.pfd-breadcrumb-divider { display: inline-block; padding-inline: 10px; color: #9c978b; }

.woocommerce .pfd-commerce-shell div.product {
  display: grid;
  grid-template-columns: minmax(0, .88fr) minmax(0, 1.12fr);
  align-items: start;
  column-gap: clamp(32px, 4vw, 64px);
  row-gap: 48px;
}
.woocommerce .pfd-commerce-shell div.product::before,
.woocommerce .pfd-commerce-shell div.product::after { display: none; }
.woocommerce .pfd-commerce-shell div.product > * { min-width: 0; }
.woocommerce .pfd-commerce-shell div.product div.images,
.woocommerce .pfd-commerce-shell div.product div.summary {
  float: none;
  width: auto;
  margin: 0;
}
.woocommerce .pfd-commerce-shell div.product div.images {
  padding: 14px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 7px 7px 0 #15151709;
}
.woocommerce .pfd-commerce-shell div.product div.images img {
  width: 100%;
  height: auto;
  max-height: 620px;
  object-fit: contain;
}
.woocommerce .pfd-commerce-shell div.product div.images .flex-control-thumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 12px;
}
.woocommerce .pfd-commerce-shell div.product div.images .flex-control-thumbs li {
  float: none;
  width: calc(25% - 8px);
  border: 1px solid var(--line);
  background: #fffdf7;
}
.woocommerce .pfd-commerce-shell div.product .product_title {
  font: 400 clamp(30px, 3.2vw, 45px)/1.12 var(--display);
  letter-spacing: -.04em;
  overflow-wrap: anywhere;
  margin: 0 0 20px;
}
.woocommerce .pfd-commerce-shell div.product p.price,
.woocommerce .pfd-commerce-shell div.product span.price {
  color: var(--ink);
  font: 750 28px/1.3 var(--sans);
  margin-bottom: 22px;
}
.woocommerce .pfd-commerce-shell div.product .price del { font-size: .75em; }
.woocommerce .pfd-commerce-shell .woocommerce-product-details__short-description {
  color: var(--muted);
  font: 400 16px/1.7 var(--sans);
  margin-bottom: 25px;
}
.woocommerce .pfd-commerce-shell .woocommerce-product-details__short-description p { margin-bottom: 12px; }
.woocommerce .pfd-commerce-shell div.product form.cart { margin: 24px 0; }
.woocommerce .pfd-commerce-shell div.product .product_meta {
  border-top: 1px solid var(--line);
  padding-top: 20px;
  margin-top: 25px;
  font: 400 13px/1.7 var(--sans);
  color: var(--muted);
}
.woocommerce .pfd-commerce-shell .product_meta > span { display: block; }
.woocommerce .pfd-commerce-shell .product_meta a { color: var(--ink); text-decoration: underline; }
.woocommerce .pfd-commerce-shell div.product > .woocommerce-tabs,
.woocommerce .pfd-commerce-shell div.product > .related,
.woocommerce .pfd-commerce-shell div.product > .upsells { grid-column: 1 / -1; }
.woocommerce .pfd-commerce-shell div.product .woocommerce-tabs ul.tabs {
  margin: 0 0 28px;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  border-bottom: 1px solid var(--line);
  overflow: visible;
}
.woocommerce .pfd-commerce-shell div.product .woocommerce-tabs ul.tabs::before,
.woocommerce .pfd-commerce-shell div.product .woocommerce-tabs ul.tabs li::before,
.woocommerce .pfd-commerce-shell div.product .woocommerce-tabs ul.tabs li::after { display: none; }
.woocommerce .pfd-commerce-shell div.product .woocommerce-tabs ul.tabs li {
  border: 0;
  border-radius: 0;
  background: none;
  margin: 0;
  padding: 0;
}
.woocommerce .pfd-commerce-shell div.product .woocommerce-tabs ul.tabs li a {
  padding: 14px 0;
  color: var(--muted);
  font: 750 16px/1.5 var(--sans);
}
.woocommerce .pfd-commerce-shell div.product .woocommerce-tabs ul.tabs li.active a {
  color: var(--ink);
  box-shadow: 0 2px 0 var(--ink);
}
.woocommerce .pfd-commerce-shell div.product .woocommerce-tabs .panel { margin: 0; max-width: 900px; }
.pfd-commerce-shell .woocommerce-tabs h2,
.pfd-commerce-shell .related h2,
.pfd-commerce-shell .upsells h2 { font-size: clamp(25px, 2.7vw, 35px); line-height: 1.2; margin-bottom: 22px; }
.pfd-commerce-shell .woocommerce-tabs p { margin: 0 0 18px; }

/* Standard WooCommerce controls only. PressFlow owns its own form UI. */
.pfd-commerce-page .woocommerce form:not(.pfw-configurator) :is(input.input-text,select,textarea),
.pfd-commerce-shell .summary form.cart:not(.pfw-configurator) :is(input.input-text,select,textarea) {
  max-width: 100%; min-height: 48px; padding: 12px 13px;
  border: 1px solid #b9b5a9; border-radius: 0; background: #fffdf7;
  color: var(--ink); font: 400 15px/1.5 var(--sans); box-shadow: none;
}
.pfd-commerce-page .woocommerce form:not(.pfw-configurator) :is(input,select,textarea):focus-visible,
.pfd-commerce-shell .summary form.cart:not(.pfw-configurator) :is(input,select,textarea):focus-visible {
  outline: 2px solid var(--ink); outline-offset: 3px;
}
.woocommerce .pfd-commerce-shell div.product form.cart .variations { margin-bottom: 22px; }
.woocommerce .pfd-commerce-shell div.product form.cart .variations td,
.woocommerce .pfd-commerce-shell div.product form.cart .variations th { padding: 8px 0; vertical-align: middle; }
.woocommerce .pfd-commerce-shell div.product form.cart .variations th { padding-right: 15px; text-align: left; }
.woocommerce .pfd-commerce-shell .quantity .qty { width: 85px; }
.woocommerce .pfd-commerce-shell .reset_variations { font-size: 13px; text-decoration: underline; }

/* PressFlow is a full-width sibling of the product introduction, not a third
   item in its two-column grid. Do not restyle the configurator's descendants. */
.woocommerce .pfd-commerce-shell div.product > .pfw-configurator {
  grid-column: 1 / -1; width: 100%; min-width: 0; margin: 0;
}
.woocommerce .pfd-commerce-shell div.product:has(> .pfw-configurator) {
  grid-template-columns: minmax(0, .55fr) minmax(0, 1.45fr); row-gap: 38px;
}
.woocommerce .pfd-commerce-shell div.product:has(> .pfw-configurator) div.images img { max-height: 300px; }
.woocommerce .pfd-commerce-shell div.product:has(> .pfw-configurator) .product_title { font-size: clamp(29px, 3vw, 40px); }
/* The plugin's sticky summary must clear PressFlow's sticky site header. */
.pfd-commerce-shell .pfw-configurator .pfw-sidebar { top: 112px; }

.pfd-commerce-page .woocommerce a.button:not(.pfw-button),
.pfd-commerce-page .woocommerce button.button:not(.pfw-button),
.pfd-commerce-page .woocommerce input.button:not(.pfw-button),
.woocommerce .pfd-commerce-shell a.button:not(.pfw-button),
.woocommerce .pfd-commerce-shell button.button:not(.pfw-button),
.pfd-commerce-page .woocommerce #respond input#submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 48px;
  padding: 13px 20px;
  border: 1px solid var(--ink);
  border-radius: 0;
  background: var(--ink);
  color: #fff;
  font: 750 14px/1.5 var(--sans);
  letter-spacing: normal;
  text-shadow: none;
  text-decoration: none;
  box-shadow: 3px 3px 0 #1515171c;
  cursor: pointer;
  white-space: normal;
  float: none;
}
.pfd-commerce-page .woocommerce :is(a.button:not(.pfw-button),button.button:not(.pfw-button),input.button:not(.pfw-button)):hover,
.woocommerce .pfd-commerce-shell :is(a.button:not(.pfw-button),button.button:not(.pfw-button)):hover { background: #353538; color: #fff; border-color: #353538; }
.pfd-commerce-page .woocommerce :is(a.button:not(.pfw-button),button.button:not(.pfw-button),input.button:not(.pfw-button)):focus-visible { outline: 2px solid var(--ink); outline-offset: 4px; }
.pfd-commerce-page .woocommerce :is(.woocommerce-message,.woocommerce-info,.woocommerce-error) {
  border: 1px solid var(--line);
  border-left: 3px solid var(--ink);
  background: #fffdf7;
  color: var(--ink);
  font: 400 15px/1.6 var(--sans);
  margin-bottom: 28px;
}
.pfd-commerce-page .woocommerce .woocommerce-error { border-left-color: #a12b38; }
.pfd-commerce-page .woocommerce :is(.woocommerce-message,.woocommerce-info,.woocommerce-error)::before { color: var(--ink); }
.pfd-commerce-page .woocommerce .woocommerce-error::before { color: #a12b38; }
.pfd-commerce-page .woocommerce .woocommerce-message .button:not(.pfw-button) { margin-left: 15px; }

.woocommerce .pfd-commerce-shell ul.products {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  clear: both;
  margin: 32px 0;
}
.woocommerce .pfd-commerce-shell ul.products::before,
.woocommerce .pfd-commerce-shell ul.products::after { display: none; }
.woocommerce .pfd-commerce-shell ul.products li.product {
  float: none;
  width: auto;
  margin: 0;
  display: flex;
  flex-direction: column;
}
.woocommerce .pfd-commerce-shell ul.products li.product a img { aspect-ratio: 4 / 3; object-fit: contain; background: #fff; padding: 14px; border: 1px solid var(--line); margin-bottom: 20px; }
.woocommerce .pfd-commerce-shell ul.products li.product .woocommerce-loop-product__title { font: 750 22px/1.3 var(--sans); letter-spacing: -.025em; padding: 0; margin-bottom: 12px; }
.woocommerce .pfd-commerce-shell ul.products li.product .price { color: var(--ink); font: 750 17px/1.5 var(--sans); margin: 0 0 14px; }
.woocommerce .pfd-commerce-shell ul.products li.product .button:not(.pfw-button) { margin-top: auto; align-self: start; }
.woocommerce .pfd-commerce-shell span.onsale { border-radius: 0; min-width: 0; min-height: 0; padding: 6px 12px; line-height: 1.5; background: var(--ink); color: #fff; font: 750 13px/1.5 var(--sans); z-index: 2; }
.woocommerce .pfd-commerce-shell .woocommerce-result-count { font-size: 14px; }
.woocommerce .pfd-commerce-shell .woocommerce-ordering select { min-height: 44px; padding: 8px 12px; background: #fffdf7; color: var(--ink); border: 1px solid var(--line); font-size: 14px; max-width: 100%; }
.woocommerce .pfd-commerce-shell nav.woocommerce-pagination ul { border-color: var(--line); }
.woocommerce .pfd-commerce-shell nav.woocommerce-pagination ul li { border-color: var(--line); }
.woocommerce .pfd-commerce-shell nav.woocommerce-pagination ul li :is(a,span) { padding: 12px 16px; color: var(--ink); }
.woocommerce .pfd-commerce-shell nav.woocommerce-pagination ul li span.current { background: var(--ink); color: #fff; }

/* Classic cart, checkout and customer account pages. */
.pfd-commerce-page .woocommerce table.shop_table { border: 1px solid var(--line); border-radius: 0; background: #fffdf7; font-size: 15px; }
.pfd-commerce-page .woocommerce table.shop_table :is(th,td) { padding: 16px; border-color: var(--line); }
.pfd-commerce-page .woocommerce table.shop_table th { font-weight: 750; }
.pfd-commerce-page .woocommerce table.shop_table td a { text-decoration: underline; text-underline-offset: 3px; }
.pfd-commerce-page .woocommerce :is(.cart_totals,.woocommerce-checkout-review-order,.woocommerce-MyAccount-content) h2,
.pfd-commerce-page .woocommerce form.checkout h3 { font: 750 27px/1.25 var(--sans); letter-spacing: -.03em; margin: 0 0 22px; }
.pfd-commerce-page .woocommerce .cart_totals { border-top: 2px solid var(--ink); padding-top: 24px; }
.pfd-commerce-page .woocommerce #payment { border: 1px solid var(--line); border-radius: 0; background: #eeeadf; }
.pfd-commerce-page .woocommerce #payment div.payment_box { background: #fffdf7; color: var(--ink); }
.pfd-commerce-page .woocommerce #payment div.payment_box::before { border-bottom-color: #fffdf7; }
.pfd-commerce-page .woocommerce form .form-row label { font-size: 14px; font-weight: 700; line-height: 1.7; margin-bottom: 6px; }
.pfd-commerce-page .woocommerce form .form-row { margin-bottom: 15px; }
.pfd-commerce-page .woocommerce .select2-container .select2-selection--single { height: 48px; border-color: #b9b5a9; border-radius: 0; background: #fffdf7; }
.pfd-commerce-page .woocommerce .select2-container .select2-selection__rendered { line-height: 46px; padding-left: 13px; }
.pfd-commerce-page .woocommerce .select2-container .select2-selection__arrow { height: 46px; }
.pfd-commerce-page .woocommerce .woocommerce-MyAccount-navigation ul { list-style: none; padding: 0; border-top: 1px solid var(--line); }
.pfd-commerce-page .woocommerce .woocommerce-MyAccount-navigation li a { display: block; padding: 14px 16px; border-bottom: 1px solid var(--line); font-size: 15px; }
.pfd-commerce-page .woocommerce .woocommerce-MyAccount-navigation .is-active a { background: var(--ink); color: #fff; }

/* Retain Woo block functionality and layout; apply the site's visual language. */
.pfd-commerce-page :is(.wc-block-cart,.wc-block-checkout) { font-family: var(--sans); font-size: 15px; color: var(--ink); }
.pfd-commerce-page :is(.wc-block-cart,.wc-block-checkout) h2 { font-family: var(--sans); font-size: 24px; font-weight: 750; letter-spacing: -.025em; line-height: 1.3; }
.pfd-commerce-page .wc-block-components-button:not(.is-link) { border-radius: 0; min-height: 48px; background: var(--ink); color: #fff; font: 750 15px/1.5 var(--sans); }
.pfd-commerce-page .wc-block-components-text-input input,
.pfd-commerce-page .wc-block-components-combobox .wc-block-components-combobox-control input,
.pfd-commerce-page .wc-block-components-textarea { border-radius: 0; background: #fffdf7; font-family: var(--sans); }
.pfd-commerce-page .wc-block-components-totals-wrapper { border-color: var(--line); }
.pfd-commerce-page .wc-block-components-title { font-family: var(--sans); }

@media (max-width: 900px) {
  .woocommerce .pfd-commerce-shell div.product { column-gap: 30px; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); }
  .woocommerce .pfd-commerce-shell div.product .product_title { font-size: 32px; }
  .woocommerce .pfd-commerce-shell ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0; }
}
@media (max-width: 1100px) {
  .site-header #primary-navigation > a.button.button-small { margin-top: 8px; min-height: 52px; }
}
@media (max-width: 800px) {
  .cta-section a.button { margin-top: 30px; }
  .site-footer .footer-lead a.button { margin-top: 25px; }
}
@media (max-width: 700px) {
  .pfd-commerce-shell { padding-top: 25px; padding-bottom: 52px; }
  .pfd-commerce-page .page-content { width: calc(100% - 40px); padding-bottom: 52px; }
  .woocommerce .pfd-commerce-shell div.product { grid-template-columns: minmax(0, 1fr); row-gap: 30px; }
  .woocommerce .pfd-commerce-shell div.product div.images { max-width: 500px; width: 100%; margin-inline: auto; }
  .woocommerce .pfd-commerce-shell div.product div.images img { max-height: 360px; }
  .woocommerce .pfd-commerce-shell div.product .product_title { font-size: 32px; }
  .pfd-commerce-shell .woocommerce-breadcrumb { margin-bottom: 24px; font-size: 12px; }
  .pfd-commerce-page .woocommerce .woocommerce-message .button { margin: 12px 0 0; }
  .site-header #primary-navigation > a.button.button-small { margin-top: 8px; min-height: 52px; }
}
@media (max-width: 480px) {
  .hero a.button { gap: 13px; padding: 13px 14px; font-size: 13px; }
  .woocommerce .pfd-commerce-shell ul.products { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .woocommerce .pfd-commerce-shell div.product .product_title { font-size: 29px; }
  .woocommerce .pfd-commerce-shell .woocommerce-ordering,
  .woocommerce .pfd-commerce-shell .woocommerce-result-count { float: none; margin-bottom: 16px; }
  .woocommerce .pfd-commerce-shell .woocommerce-ordering select { width: 100%; }
}

@media(max-width:700px){
  .woocommerce .pfd-commerce-shell div.product:has(> .pfw-configurator){grid-template-columns:minmax(0,1fr);row-gap:28px}
  .woocommerce .pfd-commerce-shell div.product:has(> .pfw-configurator) div.images{max-width:260px}
  .woocommerce .pfd-commerce-shell div.product:has(> .pfw-configurator) .product_title{font-size:30px}
  .pfd-commerce-shell .pfw-configurator .pfw-sidebar{top:96px}
}

/* Preserve full product mockups in the gallery navigation as well as listings. */
.woocommerce .pfd-commerce-shell div.product div.images .flex-control-thumbs img {
  aspect-ratio: 4 / 3;
  height: auto;
  object-fit: contain;
  object-position: center;
}

/* Adjoining catalogue cards: uninterrupted imagery, readable inset details. */
.woocommerce .pfd-commerce-shell ul.products { border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.woocommerce .pfd-commerce-shell ul.products li.product { padding: 0 0 24px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); background: #fffefa; min-width: 0; }
.woocommerce .pfd-commerce-shell ul.products li.product a img { display: block; width: 100%; padding: 16px; border: 0; margin: 0 0 20px; background: #fff; }
.woocommerce .pfd-commerce-shell ul.products li.product .woocommerce-loop-product__title { padding: 0 20px; font-size: 19px; }
.woocommerce .pfd-commerce-shell ul.products li.product .price { padding: 0 20px; font-size: 16px; }
.woocommerce .pfd-commerce-shell ul.products li.product .button:not(.pfw-button) { margin-left: 20px; margin-right: 20px; font-size: 13px; padding: 11px 14px; }
.pfd-vat-label { display: inline-block; font: 400 12px/1.5 var(--sans); letter-spacing: 0; white-space: nowrap; }
.pfd-from { font-weight: 500; }
.topbar-actions { display: flex; align-items: center; gap: 18px; }
.topbar .pfd-vat-toggle { display: inline-flex; align-items: center; gap: 2px; font: 600 11px/1.3 var(--sans); letter-spacing: 0; white-space: nowrap; }
.topbar .pfd-vat-toggle[hidden], .pfd-vat-price [hidden] { display: none !important; }
.topbar .pfd-vat-toggle > span:first-child { margin-right: 5px; color: #d0cec5; }
.topbar .pfd-vat-toggle button { padding: 7px 9px; margin: 0; border: 1px solid #ffffff50; border-radius: 2px; background: transparent; color: #fff; font: inherit; line-height: 1.3; box-shadow: none; cursor: pointer; }
.topbar .pfd-vat-toggle button[aria-pressed="true"] { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.topbar .pfd-vat-toggle button:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; }
@media(max-width:1100px) { .topbar .container { flex-wrap: wrap; } .topbar-actions { margin-left: auto; } }
@media(max-width:600px) { .topbar-actions { width: 100%; justify-content: space-between; margin-left: 0; } .topbar .container { gap: 8px; } .woocommerce .pfd-commerce-shell ul.products li.product .woocommerce-loop-product__title { font-size: 20px; } }
#pfd-vat-status { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

/* Category imagery reaches the page edges; introductions and tools stay aligned
   with the rest of PressFlow. Avoid viewport-width maths and scrollbar overflow. */
.woocommerce .pfd-catalogue-shell { width: 100%; max-width: none; padding-inline: 0; }
.woocommerce .pfd-catalogue-shell > :is(.pfd-shop-tools, .woocommerce-breadcrumb, .woocommerce-products-header, .pfd-catalogue-toolbar, .woocommerce-pagination, .woocommerce-info, .woocommerce-no-products-found) { width: min(1240px, calc(100% - 64px)); margin-inline: auto; }
.woocommerce .pfd-catalogue-shell > ul.products { width: 100%; max-width: none; margin-inline: 0; border-left: 0; }

.pfd-catalogue-toolbar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 24px; margin-bottom: 24px; }
.pfd-catalogue-toolbar .woocommerce-notices-wrapper { flex-basis: 100%; }
.pfd-catalogue-toolbar .woocommerce-notices-wrapper:empty { display: none; }
.woocommerce .pfd-catalogue-toolbar :is(.woocommerce-result-count, .woocommerce-ordering) { float: none; margin: 0; }

/* Product introduction and editorial details, outside the PressFlow form. */
.woocommerce .pfd-commerce-shell div.product:has(> .pfw-configurator) { grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr); column-gap: clamp(36px, 5vw, 72px); row-gap: 48px; }
.woocommerce .pfd-commerce-shell div.product div.images { position: relative; background: #fff; padding: 22px; border-color: #cac6b9; box-shadow: 8px 8px 0 #15151708; }
.woocommerce .pfd-commerce-shell div.product div.images::before,
.woocommerce .pfd-commerce-shell div.product div.images::after { content: ''; display: block; position: absolute; width: 14px; height: 14px; border-style: solid; border-color: #15151755; pointer-events: none; }
.woocommerce .pfd-commerce-shell div.product div.images::before { left: 9px; top: 9px; border-width: 1px 0 0 1px; }
.woocommerce .pfd-commerce-shell div.product div.images::after { right: 9px; bottom: 9px; border-width: 0 1px 1px 0; }
.woocommerce .pfd-commerce-shell div.product:has(> .pfw-configurator) div.images img { max-height: 440px; }
.woocommerce .pfd-commerce-shell div.product div.images .flex-control-thumbs li { padding: 4px; border-color: #c9c5b8; }
.woocommerce .pfd-commerce-shell div.product div.images .flex-control-thumbs img { opacity: .7; }
.woocommerce .pfd-commerce-shell div.product div.images .flex-control-thumbs img.flex-active,
.woocommerce .pfd-commerce-shell div.product div.images .flex-control-thumbs img:hover { opacity: 1; }
.pfd-commerce-shell .summary > .pfd-product-eyebrow { font: 750 11px/1.5 var(--sans); letter-spacing: .08em; text-transform: uppercase; margin: 0 0 14px; }
.woocommerce .pfd-commerce-shell div.product:has(> .pfw-configurator) .product_title { font-size: clamp(32px, 3.5vw, 46px); line-height: 1.08; margin-bottom: 22px; }
.woocommerce .pfd-commerce-shell div.product .summary > p.price { margin: 0 0 25px; font-size: 24px; }
.woocommerce .pfd-commerce-shell div.product .summary > p.price .pfw-price-label { display: inline-block; font: 650 14px/1.5 var(--sans); padding: 8px 12px; border: 1px solid var(--line); background: #fffefa; }
.woocommerce .pfd-commerce-shell div.product .summary .woocommerce-product-details__short-description { font-size: 16px; line-height: 1.75; }
.woocommerce .pfd-commerce-shell div.product .summary .woocommerce-product-details__short-description > p { margin-bottom: 20px; }
.woocommerce .pfd-commerce-shell div.product .summary .woocommerce-product-details__short-description ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 0; }
.woocommerce .pfd-commerce-shell div.product .summary .woocommerce-product-details__short-description li { position: relative; padding: 12px 0 12px 24px; border-top: 1px solid var(--line); font-size: 14px; line-height: 1.6; }
.woocommerce .pfd-commerce-shell div.product .summary .woocommerce-product-details__short-description li::before { content: '+'; position: absolute; left: 0; top: 10px; color: var(--ink); font-size: 20px; font-weight: 500; }
.woocommerce .pfd-commerce-shell div.product .summary .product_meta { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 20px; padding-top: 18px; border-top: 1px solid var(--line); font-size: 12px; line-height: 1.6; color: #66645c; }
.woocommerce .pfd-commerce-shell div.product .summary .product_meta > span { display: inline; }
.woocommerce .pfd-commerce-shell div.product .woocommerce-tabs { padding-top: 12px; }
.woocommerce .pfd-commerce-shell div.product .woocommerce-tabs ul.tabs { gap: 0; padding: 0; margin: 0; border: 0; }
.woocommerce .pfd-commerce-shell div.product .woocommerce-tabs ul.tabs li a { display: block; padding: 15px 24px; border: 1px solid transparent; font-size: 15px; }
.woocommerce .pfd-commerce-shell div.product .woocommerce-tabs ul.tabs li.active a { background: #fffefa; border-color: var(--line); border-bottom-color: #fffefa; box-shadow: none; position: relative; z-index: 1; }
.woocommerce .pfd-commerce-shell div.product .woocommerce-tabs .panel { max-width: none; padding: clamp(24px, 4vw, 48px); margin-top: -1px; border: 1px solid var(--line); background: #fffefa; font-size: 16px; line-height: 1.8; }
.woocommerce .pfd-commerce-shell div.product #tab-description > h2:first-child { display: none; }
.woocommerce .pfd-commerce-shell div.product #tab-description > :is(p, ul, ol) { max-width: 860px; }
.woocommerce .pfd-commerce-shell div.product #tab-description h2 { font-size: clamp(26px, 3vw, 36px); line-height: 1.2; max-width: 900px; }
.woocommerce .pfd-commerce-shell div.product #tab-description h3 { margin: 30px 0 14px; padding-top: 25px; border-top: 1px solid var(--line); font: 750 22px/1.4 var(--sans); letter-spacing: -.025em; }
.woocommerce .pfd-commerce-shell div.product #tab-description h4 { margin: 22px 0 8px; font: 750 17px/1.5 var(--sans); }
.woocommerce .pfd-commerce-shell div.product #tab-description :is(ul, ol) { padding-left: 22px; margin-bottom: 20px; }
.woocommerce .pfd-commerce-shell div.product #tab-description li { margin: 7px 0; }
.woocommerce .pfd-commerce-shell #reviews #comments .commentlist { padding: 0; }
.woocommerce .pfd-commerce-shell #reviews #comments .commentlist li .comment-text { border-color: var(--line); border-radius: 3px; padding: 20px; }
.woocommerce .pfd-commerce-shell #review_form #respond { margin-top: 28px; }
.woocommerce .pfd-commerce-shell #review_form #respond label { font-size: 14px; font-weight: 650; }
.topbar .pfd-vat-toggle button:disabled { opacity: .5; cursor: not-allowed; }
@media(max-width:900px) {   }
@media(max-width:700px) {
  .woocommerce .pfd-catalogue-shell > :is(.pfd-shop-tools, .woocommerce-breadcrumb, .woocommerce-products-header, .pfd-catalogue-toolbar, .woocommerce-pagination, .woocommerce-info, .woocommerce-no-products-found) { width: calc(100% - 36px); }
  
  .woocommerce .pfd-commerce-shell div.product:has(> .pfw-configurator) { grid-template-columns: minmax(0, 1fr); row-gap: 30px; }
  .woocommerce .pfd-commerce-shell div.product:has(> .pfw-configurator) div.images { max-width: 500px; }
  .woocommerce .pfd-commerce-shell div.product:has(> .pfw-configurator) div.images img { max-height: 380px; }
  .woocommerce .pfd-commerce-shell div.product .woocommerce-tabs ul.tabs li a { padding: 13px 18px; }
}

/* Optional public artwork templates, managed per product. */
.woocommerce .pfd-commerce-shell div.product > .pfd-print-templates { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: 32px 48px; padding: 32px; border: 1px solid var(--line); border-top: 3px solid var(--ink); background: #edeade; }
.pfd-print-templates .eyebrow { font: 750 11px/1.5 var(--sans); letter-spacing: .08em; margin: 0 0 12px; }
.pfd-print-templates h2 { font-size: clamp(26px, 3vw, 34px); line-height: 1.15; margin: 0 0 16px; }
.pfd-template-intro > p:not(.eyebrow), .pfd-template-notes { font-size: 15px; line-height: 1.7; }
.pfd-template-notes p { margin-top: 12px; }
.pfd-template-guide { display: inline-block; margin-top: 16px; font-size: 14px; font-weight: 650; text-decoration: underline; text-underline-offset: 4px; }
.pfd-template-downloads { display: grid; gap: 10px; align-content: start; }
.pfd-template-download { display: flex; align-items: center; gap: 16px; padding: 17px 20px; border: 1px solid #c8c4b8; background: #fffefa; color: var(--ink); transition: border-color .15s, box-shadow .15s; }
.pfd-template-download:hover { border-color: var(--ink); box-shadow: 3px 3px 0 #15151712; }
.pfd-template-download:focus-visible { outline: 3px solid var(--cyan); outline-offset: 3px; }
.pfd-template-mark { display: grid; place-items: center; width: 44px; height: 48px; border: 1px solid var(--ink); background: var(--paper); font: 750 16px/1 var(--sans); flex-shrink: 0; }
.pfd-template-download > span:nth-child(2) { flex: 1; min-width: 0; }
.pfd-template-download strong { display: block; font: 750 16px/1.4 var(--sans); }
.pfd-template-download > span:nth-child(2) > span { display: block; font-size: 13px; margin-top: 3px; color: #62625b; }
.pfd-template-download svg { flex-shrink: 0; }
@media(max-width:800px) { .woocommerce .pfd-commerce-shell div.product > .pfd-print-templates { grid-template-columns: minmax(0, 1fr); padding: 24px; gap: 24px; } }

/* Familiar format colours keep the download choices easy to recognise. */
.pfd-template-mark--indesign { background: #ff3366; color: #49021f; border-color: #ff3366; }
.pfd-template-mark--illustrator { background: #ffcf32; color: #3b2600; border-color: #ffcf32; }
.pfd-template-mark--pdf { background: #e5252a; color: #fff; border-color: #e5252a; }

/* The demo-store toolbar replaces these legacy archive links. */
.woocommerce .pfd-commerce-shell > .pfd-shop-tools { display: none; }

/* Archive text uses the same container as the main site; product grids stay full width. */
.woocommerce .pfd-catalogue-shell > :is(.pfd-shop-tools,.woocommerce-breadcrumb,.woocommerce-products-header,.pfd-catalogue-toolbar,.woocommerce-pagination,.woocommerce-info,.woocommerce-no-products-found,.woocommerce-notices-wrapper){width:calc(100% - 96px);max-width:1320px;margin-inline:auto}
@media(max-width:1200px){.woocommerce .pfd-catalogue-shell > :is(.pfd-shop-tools,.woocommerce-breadcrumb,.woocommerce-products-header,.pfd-catalogue-toolbar,.woocommerce-pagination,.woocommerce-info,.woocommerce-no-products-found,.woocommerce-notices-wrapper){width:calc(100% - 64px)}}
@media(max-width:800px){.woocommerce .pfd-catalogue-shell > :is(.pfd-shop-tools,.woocommerce-breadcrumb,.woocommerce-products-header,.pfd-catalogue-toolbar,.woocommerce-pagination,.woocommerce-info,.woocommerce-no-products-found,.woocommerce-notices-wrapper){width:calc(100% - 40px)}}
/* A full-row promotional print insert in the demo-shop grid. */
.woocommerce .pfd-commerce-shell ul.products li.pfd-shop-offer{grid-column:1/-1;order:1;list-style:none;float:none;width:auto;margin:0;padding:0;background:#f1c927;border-right:1px solid var(--line);border-bottom:1px solid var(--line);color:var(--ink)}
.woocommerce .pfd-commerce-shell ul.products:has(>.pfd-shop-offer)>li.product:nth-child(n+6){order:2}
 .pfd-shop-offer-inner{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:30px;align-items:center;padding-block:36px}
.pfd-shop-offer-eyebrow{display:block;font:700 11px/1.4 var(--sans);letter-spacing:.08em;text-transform:uppercase;margin-bottom:10px}
.pfd-shop-offer-copy h2{font:750 clamp(27px,3vw,39px)/1.1 var(--sans);letter-spacing:-.045em;margin:0 0 12px}
.pfd-shop-offer-copy p{font:400 15px/1.6 var(--sans);max-width:620px;margin:0 0 10px}
.pfd-shop-offer-copy small{display:block;font:400 12px/1.5 var(--sans);color:#514613}
.woocommerce .pfd-shop-offer-inner>a.button{background:var(--ink);color:#fff;border:1px solid var(--ink);padding:15px 20px;font:700 14px/1.5 var(--sans);text-decoration:none;white-space:nowrap;border-radius:0;box-shadow:3px 3px 0 #15151730}
.woocommerce .pfd-shop-offer-inner>a.button:hover{background:#303033}
.woocommerce .pfd-shop-offer-inner>a.button:focus-visible{outline:3px solid var(--ink);outline-offset:5px}
.pfd-shop-offer-inner.pfd-shop-offer-with-image{grid-template-columns:240px minmax(0,1fr) auto;gap:32px}
.pfd-shop-offer-image{min-width:0}
.pfd-shop-offer-image img{display:block;width:100%;height:220px;object-fit:contain}
@media(max-width:1000px){.pfd-shop-offer-inner.pfd-shop-offer-with-image{grid-template-columns:180px minmax(0,1fr);gap:18px 28px}.pfd-shop-offer-image{grid-column:1;grid-row:1/3}.pfd-shop-offer-image img{height:190px}.woocommerce .pfd-shop-offer-with-image>a.button{grid-column:2;justify-self:start}}
@media(max-width:900px){.woocommerce .pfd-commerce-shell ul.products:has(>.pfd-shop-offer)>li.product:nth-child(n+3){order:2}}
@media(max-width:700px){.woocommerce .pfd-commerce-shell ul.products:has(>.pfd-shop-offer)>li.product:nth-child(n+2){order:2}.pfd-shop-offer-inner,.pfd-shop-offer-inner.pfd-shop-offer-with-image{grid-template-columns:minmax(0,1fr);gap:20px;padding-block:28px}.pfd-shop-offer-image{grid-column:auto;grid-row:auto;max-width:240px;justify-self:center}.pfd-shop-offer-image img{height:180px}.woocommerce .pfd-shop-offer-inner>a.button{grid-column:auto;justify-self:start;white-space:normal}.pfd-shop-offer-copy h2{font-size:27px}.pfd-shop-offer-copy p{font-size:14px}}

/* Compact catalogue orientation, with real WooCommerce category destinations. */
.pfd-shop-intro{max-width:720px;font:400 17px/1.65 var(--sans);margin:14px 0 0;color:#505052}
.woocommerce .pfd-catalogue-shell>.pfd-shop-categories{width:calc(100% - 96px);max-width:1320px;margin:0 auto 28px;display:flex;flex-wrap:wrap;gap:10px}
.pfd-shop-categories a{display:inline-flex;align-items:center;min-height:42px;padding:10px 17px;border:1px solid var(--line);color:var(--ink);background:#faf8f1;font:650 14px/1.4 var(--sans);text-decoration:none}
.pfd-shop-categories a:hover{border-color:var(--ink);background:#e8e4d8}
.pfd-shop-categories a[aria-current=page]{background:var(--ink);border-color:var(--ink);color:#fff}
.pfd-shop-categories a:focus-visible{outline:3px solid var(--cyan);outline-offset:3px}
@media(max-width:1200px){.woocommerce .pfd-catalogue-shell>.pfd-shop-categories{width:calc(100% - 64px)}}
@media(max-width:800px){.woocommerce .pfd-catalogue-shell>.pfd-shop-categories{width:calc(100% - 40px);gap:8px}.pfd-shop-categories a{padding:9px 13px}.pfd-shop-intro{font-size:16px}}

/* PressFlow discount tab: a single ink colour with a small offset shadow. */
.woocommerce ul.products li.product{position:relative}
.pfd-product-offer{position:absolute;top:18px;left:18px;z-index:4;display:flex;flex-direction:column;gap:3px;max-width:calc(100% - 36px);padding:7px 10px;background:#a60955;color:#fff;border-radius:2px;box-shadow:none;pointer-events:none;font-family:var(--sans)}
.pfd-product-offer strong{font-size:14px;font-weight:700;line-height:1.2;letter-spacing:.015em}
.pfd-product-offer small{font-size:10px;font-weight:500;line-height:1.35;overflow-wrap:anywhere}
.woocommerce-product-gallery .woocommerce-product-gallery__image{position:relative}
@media(max-width:700px){.pfd-product-offer{top:14px;left:14px;padding:7px 9px}.pfd-product-offer strong{font-size:13px}}

/* Keep the tax basis with its amount; quantity/job notes stay below. */
.pfd-vat-price{display:inline}
.pfd-vat-price>[data-pressflow-vat]:not([hidden]){display:inline-flex;align-items:baseline;gap:5px;white-space:nowrap}
.woocommerce .pfd-commerce-shell .pfd-vat-price .pfd-vat-label,.pfd-demo-result .pfd-vat-price .pfd-vat-label{display:inline;margin:0;padding:0;font:400 11px/1.4 var(--sans);letter-spacing:0;white-space:nowrap;color:#65625b}

/* Ratings align with the catalogue copy, rather than the image edge. */
.woocommerce .pfd-commerce-shell ul.products li.product .star-rating{float:none;align-self:flex-start;margin:0 20px 15px;font-size:12px;line-height:1;height:1em;color:var(--ink)}
.woocommerce .pfd-commerce-shell div.product .summary .woocommerce-product-rating{display:flex;flex-wrap:wrap;align-items:center;gap:8px 12px;margin-bottom:18px;font-size:12px}
.woocommerce .pfd-commerce-shell div.product .summary .woocommerce-product-rating .star-rating{float:none;margin:0;font-size:12px}
.woocommerce .pfd-commerce-shell div.product .summary .woocommerce-review-link{font:400 12px/1.5 var(--sans);color:#65625b;text-underline-offset:3px}
