/* Product title row and actions: match the supplied HTML template. */
body.single-product .pssk-product-purchase-panel .summary .pssk-product-titlebar {
  display: flex !important;
  flex-wrap: wrap !important;
  align-items: flex-start !important;
  justify-content: space-between !important;
  width: 100% !important;
  min-width: 0 !important;
  padding: 0 !important;
}
body.single-product .pssk-product-purchase-panel .summary .pssk-product-titlebar > h1.product_title {
  flex: 1 1 12rem !important;
  min-width: 0 !important;
}
body.single-product .pssk-product-purchase-panel .summary .pssk-product-titlebar > .pssk-single-image-actions {
  position: static !important;
  inset: auto !important;
  display: flex !important;
  flex: 0 0 auto !important;
  align-items: center !important;
  justify-content: flex-end !important;
  width: auto !important;
  min-width: 0 !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
  z-index: auto !important;
}
body.single-product .pssk-product-purchase-panel .summary .pssk-product-titlebar > .pssk-single-image-actions > .pssk-favourite-toggle.pssk-single-favourite,
body.single-product .pssk-product-purchase-panel .summary .pssk-product-titlebar > .pssk-single-image-actions > .pssk-share-button.pssk-single-share {
  position: relative !important;
  inset: auto !important;
  top: auto !important;
  right: auto !important;
  bottom: auto !important;
  left: auto !important;
  display: inline-flex !important;
  flex: 0 0 48px !important;
  margin: 0 !important;
  padding: 0 !important;
  border-radius: var(--pssk-ui-radius-xs) !important;
  box-sizing: border-box !important;
}
body.single-product .pssk-product-purchase-panel .summary .pssk-product-titlebar .pssk-single-image-actions > button > svg {
  display: block !important;
  margin: 0 !important;
}



/* Product purchase panel: sizing and spacing aligned to the supplied product template.
   Font sizes, line heights, padding and margins use em-based proportions. */
body.single-product .pssk-product-purchase-panel > .summary {
  font-size: 1em;
  line-height: 1.5;
}

body.single-product .pssk-product-purchase-panel .summary .single-product-category {
  display: block;
  margin: 0 0 .6154em !important;
  font-size: .8125em;
  line-height: 1.2308;
  letter-spacing: .06em;
}

body.single-product .pssk-product-purchase-panel .summary .pssk-product-titlebar {
  gap: 1em !important;
  margin: 0 0 .5em !important;
}

body.single-product .pssk-product-purchase-panel .summary .pssk-product-titlebar > h1.product_title {
  margin: 0 !important;
  font-size: 1.75em !important;
  line-height: 1.2857 !important;
  font-weight: 700;
  letter-spacing: -.01em;
}

body.single-product .pssk-product-purchase-panel .summary .pssk-product-titlebar > .pssk-single-image-actions {
  gap: .5em !important;
}

body.single-product .pssk-product-purchase-panel .summary .pssk-product-titlebar > .pssk-single-image-actions > .pssk-favourite-toggle.pssk-single-favourite,
body.single-product .pssk-product-purchase-panel .summary .pssk-product-titlebar > .pssk-single-image-actions > .pssk-share-button.pssk-single-share {
  flex-basis: 3em !important;
  width: 3em !important;
  min-width: 3em !important;
  max-width: 3em !important;
  height: 3em !important;
  min-height: 3em !important;
  max-height: 3em !important;
}

body.single-product .pssk-product-purchase-panel .summary .pssk-product-titlebar .pssk-single-image-actions > button > svg {
  width: 1.5em !important;
  height: 1.5em !important;
}

body.single-product .pssk-product-purchase-panel .summary p.price {
  margin: 0 0 .4em !important;
  font-size: 1.25em !important;
  line-height: 1.4 !important;
  font-weight: 500;
  font-variant-numeric: tabular-nums;
}

body.single-product .pssk-product-purchase-panel .summary p.price del {
  font-size: .875em;
  line-height: 1.4286;
}

body.single-product .pssk-product-purchase-panel .woocommerce-product-details__short-description {
  margin: 0 0 1.5em !important;
  font-size: 1em;
  line-height: 1.5;
}

body.single-product .pssk-product-purchase-panel .woocommerce-product-details__short-description p.pssk-product-spec {
  grid-template-columns: minmax(6em, .72fr) minmax(0, 1.28fr);
  gap: 1em;
  margin: 0 !important;
  padding: .75em 0;
}

body.single-product .pssk-product-purchase-panel .pssk-spec-label {
  font-size: .8125em;
  line-height: 1.2308;
  font-weight: 600;
  letter-spacing: .06em;
}

body.single-product .pssk-product-purchase-panel .pssk-spec-value {
  font-size: .875em;
  line-height: 1.4286;
}



body.single-product .pssk-product-purchase-panel .summary .pssk-cart-action-buttons {
  gap: .5em !important;
}



body.single-product .pssk-product-purchase-panel > .product_meta {
  gap: .375em;
  margin: 1em 0 0 !important;
  padding: .875em 0 0;
  font-size: .875em;
  line-height: 1.4286;
}

body.single-product .pssk-product-purchase-panel > .pssk-product-delivery {
  margin: 1.5em 0 0 !important;
  font-size: 1em;
  line-height: 1.5;
}

body.single-product .pssk-product-purchase-panel .pssk-product-delivery h2 {
  margin: 0 0 .5em !important;
  padding: 0;
  font-size: 1em;
  line-height: 1.5;
  font-weight: 600;
}

body.single-product .pssk-product-purchase-panel .pssk-product-delivery ul {
  margin: 0;
  padding-left: 1.7143em;
  font-size: .875em;
  line-height: 1.4286;
}

body.single-product .pssk-product-purchase-panel .pssk-product-delivery li + li {
  margin-top: .5714em;
}

/* Right purchase panel: follow the supplied product-page template order. */
body.single-product .pssk-product-purchase-panel > .summary.entry-summary {
  display: flex !important;
  flex-direction: column !important;
  align-items: stretch !important;
  gap: 0 !important;
  min-width: 0;
}

/* Title and product metadata sit above the live price, as in the reference. */
body.single-product .pssk-product-purchase-panel .summary > .pssk-product-titlebar {
  order: 1 !important;
  margin: 0 0 .5em !important;
}

body.single-product .pssk-product-purchase-panel .summary > .single-product-category {
  order: 2 !important;
  display: block;
  margin: .5em 0 .25em !important;
  color: var(--pssk-ui-muted-foreground);
  font-size: .8125em;
  line-height: 1.4;
}

body.single-product .pssk-product-purchase-panel .summary > .product_meta {
  order: 3 !important;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  gap: .25em .75em;
  width: 100%;
  margin: 0 0 1.25em !important;
  padding: 0 !important;
  border: 0 !important;
  color: var(--pssk-ui-muted-foreground);
  font-size: .8125em;
  line-height: 1.4;
}

body.single-product .pssk-product-purchase-panel .summary > .product_meta .posted_in {
  display: none !important;
}

body.single-product .pssk-product-purchase-panel .summary > .product_meta .sku_wrapper {
  display: inline-flex;
  align-items: baseline;
  gap: .35em;
  margin: 0;
}

body.single-product .pssk-product-purchase-panel .summary > .product_meta .sku {
  color: var(--pssk-ui-foreground);
  font-variant-numeric: tabular-nums;
}

/* Keep WooCommerce's product/variation price output intact and prominent. */
body.single-product .pssk-product-purchase-panel .summary > p.price {
  order: 4 !important;
  margin: 0 0 .75em !important;
  font-size: 1.25em !important;
  line-height: 1.4 !important;
  font-weight: 500;
  font-variant-numeric: tabular-nums;
}

body.single-product .pssk-product-purchase-panel .summary > .woocommerce-product-details__short-description {
  order: 5 !important;
  display: block;
  width: 100%;
  margin: 0 0 1.5em !important;
  font-size: 1em;
  line-height: 1.5;
}

/* Delivery follows the retained short description, before the customization form. */
body.single-product .pssk-product-purchase-panel .summary > .pssk-product-delivery {
  padding: 0;
}



body.single-product .pssk-product-purchase-panel .summary .pssk-cart-action-buttons {
  width: 100% !important;
  margin-top: 1.25em;
}

body.single-product .pssk-product-purchase-panel .summary .pssk-cart-action-buttons > .single_add_to_cart_button.button,
body.single-product .pssk-product-purchase-panel .summary .pssk-cart-action-buttons > .single_add_to_cart_button.button.alt {
  width: 100% !important;
  min-height: 3em !important;
  height: 3em !important;
  margin: 0 !important;
  padding: .75em 1.5em !important;
  font-size: .8125em !important;
  line-height: 1.4 !important;
}

/* Delivery and files: clean spacing and typography from the product reference. */
body.single-product .pssk-product-purchase-panel .summary > .pssk-product-delivery {
  display: block;
  box-shadow: none !important;
  color: var(--pssk-ui-foreground);
  font-size: 1em;
  line-height: 1.5;
}

body.single-product .pssk-product-purchase-panel .summary > .pssk-product-delivery h2 {
  position: static;
  margin: 0 0 .5em !important;
  padding: 0 !important;
  border: 0 !important;
  color: var(--pssk-ui-foreground);
  font-size: 1em !important;
  line-height: 1.5 !important;
  font-weight: 600;
}

body.single-product .pssk-product-purchase-panel .summary > .pssk-product-delivery h2::before,
body.single-product .pssk-product-purchase-panel .summary > .pssk-product-delivery h2::after {
  display: none !important;
  content: none !important;
}

body.single-product .pssk-product-purchase-panel .summary > .pssk-product-delivery ul {
  display: block;
  margin: 0 !important;
  padding: 0 0 0 1.5em !important;
  border: 0;
  list-style: disc outside;
  color: var(--pssk-ui-muted-foreground);
  font-size: .875em !important;
  line-height: 1.4286 !important;
  font-weight: 400;
}

body.single-product .pssk-product-purchase-panel .summary > .pssk-product-delivery li {
  margin: 0 !important;
  padding: 0 !important;
  border: 0;
  line-height: inherit !important;
}

body.single-product .pssk-product-purchase-panel .summary > .pssk-product-delivery li + li {
  margin-top: .5em !important;
}

body.single-product .pssk-product-purchase-panel .summary > .pssk-product-delivery li::marker {
  color: var(--pssk-ui-primary);
}

/* Match the Dynamic Price gap to the variation-section spacing. */
body.single-product .pssk-product-purchase-panel .summary .single_variation_wrap {
  margin-top: 1.25em !important;
}

/* Delivery card and its transition into the Size option section. */
body.single-product .pssk-product-purchase-panel .summary > .pssk-product-delivery {
  box-sizing: border-box;
  padding: 1em 1.25em !important;
  border: 1px solid var(--pssk-ui-border) !important;
  border-radius: .5em !important;
  background: var(--pssk-ui-card) !important;
}

/* Keep the gap from the Delivery card to Size option equal to the 1.25em
   rhythm used between the variation sections. The divider remains in place. */
body.single-product .pssk-product-purchase-panel .summary > form.variations_form.cart {
  padding-top: 1.25em !important;
}

/* Product quote request link beneath the add-to-cart action. */
body.single-product .pssk-product-purchase-panel .summary .pssk-request-quote-link-wrap {
  display: block;
  width: 100%;
  margin: .75em 0 0 !important;
  padding: 0;
  color: var(--pssk-ui-muted-foreground);
  font-size: .875em;
  line-height: 1.5;
  text-align: center;
}

body.single-product .pssk-product-purchase-panel .summary .pssk-request-quote-link {
  color: var(--pssk-ui-primary);
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: var(--pssk-ui-accent-underline);
  text-underline-offset: .2em;
  transition: color .15s ease, text-decoration-color .15s ease;
}

body.single-product .pssk-product-purchase-panel .summary .pssk-request-quote-link:hover,
body.single-product .pssk-product-purchase-panel .summary .pssk-request-quote-link:focus-visible {
  color: var(--pssk-ui-primary-hover);
  text-decoration-color: currentColor;
}

body.single-product .pssk-product-purchase-panel .summary .pssk-request-quote-link:focus-visible {
  outline: 2px solid var(--pssk-ui-primary);
  outline-offset: 3px;
  border-radius: 1px;
}

/* Place the quote link after the complete cart form in the purchase-panel flow. */
body.single-product .pssk-product-purchase-panel .summary > .pssk-request-quote-link-wrap {
  order: 8 !important;
  width: 100%;
  flex: 0 0 100%;
  margin: .75em 0 0 !important;
}

/* Keep Delivery and files at the very end of the right purchase panel. */
body.single-product .pssk-product-purchase-panel .summary > .pssk-product-delivery {
  order: 9 !important;
  width: 100%;
  flex: 0 0 100%;
  margin: 1.25em 0 0 !important;
}

/* Size-aware sticky behavior for both product columns. */
@media (min-width: 901px) {
  body.single-product .pssk-product-primary-layout > .woocommerce-product-gallery,
  body.single-product .pssk-product-primary-layout > .pssk-product-purchase-panel {
    position: static !important;
    top: auto !important;
    align-self: start !important;
  }

  body.single-product .pssk-product-primary-layout > .woocommerce-product-gallery[data-state="sticky"],
  body.single-product .pssk-product-primary-layout > .pssk-product-purchase-panel[data-state="sticky"] {
    position: sticky !important;
    top: 50px !important;
    align-self: start !important;
  }

  body.admin-bar.single-product .pssk-product-primary-layout > .woocommerce-product-gallery[data-state="sticky"],
  body.admin-bar.single-product .pssk-product-primary-layout > .pssk-product-purchase-panel[data-state="sticky"] {
    top: var(--pssk-product-sticky-offset, 50px) !important;
  }
}

@media (max-width: 900px) {
  body.single-product .pssk-product-primary-layout > .woocommerce-product-gallery,
  body.single-product .pssk-product-primary-layout > .pssk-product-purchase-panel {
    position: static !important;
    top: auto !important;
  }
}

/* Product category separators use bold non-breaking middle dots. */
body.single-product .pssk-product-purchase-panel .summary .single-product-category .pssk-category-separator {
  display: inline;
  color: inherit;
  font-weight: 700;
  white-space: nowrap;
}

/* Single-product metadata: use the primary tag row once. */
/* Single product metadata: show tags in the primary tag row, not twice. */
body.single-product .pssk-product-purchase-panel .summary > .product_meta .posted_in,
body.single-product .pssk-product-purchase-panel .summary > .product_meta .tagged_as {
  display: none !important;
}
body.single-product .pssk-product-purchase-panel .summary > .single-product-category .pssk-product-tags-label {
  display: inline;
  margin-right: .25em;
  color: inherit;
  font: inherit;
  letter-spacing: inherit;
  text-transform: inherit;
}
