/*
 * Hurtownia Pasz Swiete - production refresh
 * Final visual layer. Legacy declarations stay isolated in hps-site.css.
 */
:root {
  --hps-ink: #092f20;
  --hps-green-950: #06271b;
  --hps-green-900: #0b3b28;
  --hps-green-800: #155238;
  --hps-green-100: #eaf2eb;
  --hps-cream: #f7f3ea;
  --hps-paper: #fffdf8;
  --hps-copper: #b9794d;
  --hps-copper-dark: #925b36;
  --hps-muted: #52645a;
  --hps-line: rgba(9, 47, 32, .14);
  --hps-shadow-sm: 0 10px 30px rgba(9, 47, 32, .07);
  --hps-shadow-md: 0 22px 58px rgba(9, 47, 32, .11);
  --hps-radius-sm: 8px;
  --hps-radius-md: 10px;
  --hps-container: 1180px;
}

html {
  scroll-behavior: smooth;
  overflow-x: visible !important;
}

body {
  min-width: 0;
  overflow-x: visible !important;
  color: var(--hps-ink);
  background: var(--hps-cream);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

img,
svg,
video,
iframe {
  max-width: 100%;
}

.wp-site-blocks,
.wp-site-blocks > main,
.wp-site-blocks main > *,
.wp-block-post-content,
.entry-content {
  min-width: 0;
  max-width: 100%;
}

.wp-site-blocks .alignfull,
.wp-site-blocks > main > .alignfull,
.wp-block-post-content > .alignfull {
  width: 100% !important;
  max-width: 100% !important;
  margin-right: 0 !important;
  margin-left: 0 !important;
}

.hps-container {
  width: min(var(--hps-container), calc(100% - 40px)) !important;
  max-width: var(--hps-container) !important;
  margin-right: auto !important;
  margin-left: auto !important;
}

.hps-skip-link:focus {
  top: 12px;
  left: 12px;
  z-index: 10000;
  padding: 12px 18px;
  border-radius: var(--hps-radius-sm);
  background: #fff;
  color: var(--hps-ink);
  box-shadow: var(--hps-shadow-md);
}

a,
button,
input,
select,
textarea {
  outline-offset: 3px;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
summary:focus-visible {
  outline: 3px solid #d69b67 !important;
  outline-offset: 3px;
}

.hps-topbar {
  position: relative;
  z-index: 1001;
  min-height: 36px;
  background: var(--hps-green-950);
}

.hps-topbar__inner {
  min-height: 36px;
}

.hps-topbar__items {
  gap: 16px;
}

.hps-topbar a,
.hps-topbar span {
  font-size: .78rem;
  line-height: 1.3;
}

.hps-header {
  top: 0;
  z-index: 1000;
  background: rgba(255, 253, 248, .96) !important;
  border-bottom: 1px solid var(--hps-line);
  box-shadow: 0 1px 0 rgba(9, 47, 32, .03);
  backdrop-filter: blur(16px);
  transition: box-shadow .2s ease, background-color .2s ease;
}

.admin-bar .hps-header {
  top: 32px;
}

.hps-header.is-scrolled {
  box-shadow: 0 14px 38px rgba(9, 47, 32, .12);
}

.hps-header__inner {
  min-height: 94px !important;
  gap: 24px;
}

.hps-logo {
  flex: 0 0 auto;
  min-height: 72px;
}

.hps-logo__image {
  display: block;
  width: 78px !important;
  height: 78px !important;
  max-height: 78px !important;
  object-fit: contain;
}

.hps-logo__fallback {
  max-width: 180px;
  font-family: Outfit, Inter, sans-serif;
  font-weight: 800;
  line-height: 1.1;
}

.hps-nav,
.hps-header__actions {
  min-width: 0;
}

.hps-nav a,
.hps-nav__toggle,
.hps-header__action {
  min-height: 44px;
  padding: 0 12px;
  border-radius: var(--hps-radius-sm);
  font-size: .86rem;
  letter-spacing: 0;
  transition: color .18s ease, background-color .18s ease, transform .18s ease;
}

.hps-nav a:hover,
.hps-nav__toggle:hover,
.hps-header__action:hover {
  color: var(--hps-green-900);
  background: var(--hps-green-100);
  transform: translateY(-1px);
}

.hps-nav__panel {
  overflow: hidden;
  min-width: 250px;
  padding: 8px;
  border: 1px solid var(--hps-line);
  border-radius: var(--hps-radius-md);
  background: var(--hps-paper);
  box-shadow: var(--hps-shadow-md);
}

.hps-nav__panel a {
  width: 100%;
  justify-content: flex-start;
}

.hps-header__action {
  border: 1px solid var(--hps-line);
  background: #fff;
}

.hps-mobile-toggle {
  display: none;
  min-width: 82px;
  min-height: 48px;
  border-radius: var(--hps-radius-sm);
  background: var(--hps-green-900);
  color: #fff;
  font-weight: 800;
}

.hps-cart-count {
  display: inline-grid;
  place-items: center;
  min-width: 24px;
  height: 24px;
  margin-left: 5px;
  border-radius: 50%;
  background: var(--hps-copper);
  color: #fff;
  font-size: .75rem;
}

body.home main#wp--skip-link--target,
body.home .wp-site-blocks > main#wp--skip-link--target,
body.home main#wp--skip-link--target > .wp-block-group:first-child {
  margin-top: 0 !important;
  padding-top: 0 !important;
}

body.home .hps-hero {
  display: flex;
  align-items: center;
  min-height: 690px;
  margin: 0 !important;
  padding: 96px 0 78px !important;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, .62) 0%, rgba(0, 0, 0, .41) 48%, rgba(0, 0, 0, .18) 100%),
    linear-gradient(180deg, rgba(0, 0, 0, .08) 0%, rgba(0, 0, 0, .34) 100%),
    url('/wp-content/uploads/hps-assets/hero-tlo-katalog-20260715.webp') center center / cover no-repeat !important;
}

body.home .hps-hero::before,
body.home .hps-hero::after {
  display: none !important;
}

body.home .hps-hero__grid,
body.home .hps-hero__grid.hps-hero__grid--centered {
  display: block !important;
  width: 100%;
  max-width: 760px;
  margin: 0 !important;
  text-align: left !important;
}

body.home .hps-hero__content,
body.home .hps-hero__grid > div:first-child {
  max-width: 760px !important;
  margin: 0 !important;
}

body.home .hps-hero .hps-eyebrow {
  margin-bottom: 18px;
  color: #f3b778;
  text-shadow: 0 2px 16px rgba(0, 0, 0, .35);
}

body.home .hps-hero h1 {
  max-width: 760px !important;
  margin: 0 !important;
  color: #fff;
  font-size: 5.25rem !important;
  line-height: .98 !important;
  letter-spacing: 0 !important;
  text-align: left !important;
  text-shadow: 0 5px 32px rgba(0, 0, 0, .4);
}

body.home .hps-hero p {
  max-width: 650px !important;
  margin: 24px 0 0 !important;
  color: rgba(255, 255, 255, .92);
  font-size: 1.14rem !important;
  line-height: 1.65;
  text-align: left !important;
}

body.home .hps-hero .hps-buttons {
  justify-content: flex-start !important;
  margin-top: 28px;
}

body.home .hps-hero .hps-usp {
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  max-width: 760px !important;
  margin: 36px 0 0 !important;
  gap: 12px;
}

body.home .hps-hero .hps-usp > * {
  min-width: 0;
  min-height: 116px;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, .24);
  border-radius: var(--hps-radius-md);
  background: rgba(7, 25, 17, .48);
  box-shadow: none;
  backdrop-filter: blur(9px);
}

body.home .hps-hero .hps-usp strong {
  display: block;
  margin-bottom: 6px;
  color: #fff;
  font-size: .96rem;
}

body.home .hps-hero .hps-usp span,
body.home .hps-hero .hps-usp p {
  margin: 0 !important;
  color: rgba(255, 255, 255, .78);
  font-size: .78rem !important;
  line-height: 1.5;
}

.hps-section,
.hps-product-showcase {
  padding-top: 82px !important;
  padding-bottom: 82px !important;
}

.hps-section--tight {
  padding-top: 52px !important;
  padding-bottom: 52px !important;
}

.hps-title,
.hps-page-title,
.hps-shop-archive-hero h1 {
  letter-spacing: 0 !important;
}

.hps-title {
  max-width: 780px;
  margin-bottom: 18px;
  font-size: 3.15rem !important;
  line-height: 1.02 !important;
}

.hps-page-title,
.hps-shop-archive-hero h1 {
  font-size: 4.25rem !important;
  line-height: 1 !important;
}

.hps-lead {
  max-width: 720px;
  font-size: 1.08rem;
  line-height: 1.68;
}

.hps-eyebrow {
  letter-spacing: 0 !important;
  font-size: .73rem;
}

.hps-card,
.hps-article-card,
.hps-fact,
.hps-shop-archive-hero__note,
.woocommerce form,
.woocommerce .cart_totals,
.woocommerce-checkout-review-order,
.woocommerce-MyAccount-navigation,
.woocommerce-MyAccount-content {
  border-radius: var(--hps-radius-md) !important;
}

.hps-card,
.hps-article-card,
.hps-fact {
  min-width: 0;
  border: 1px solid var(--hps-line);
  box-shadow: var(--hps-shadow-sm);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.hps-card:hover,
.hps-article-card:hover,
.hps-fact:hover {
  border-color: rgba(185, 121, 77, .45);
  transform: translateY(-4px);
  box-shadow: var(--hps-shadow-md);
}

.hps-section--green .hps-card {
  border-color: rgba(255, 255, 255, .14);
  background: rgba(255, 255, 255, .08);
  box-shadow: none;
}

.hps-card__icon {
  border-radius: var(--hps-radius-sm);
}

.hps-button,
.wp-element-button,
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.wpcf7-submit {
  min-height: 46px;
  border-radius: var(--hps-radius-sm) !important;
  letter-spacing: 0 !important;
  transition: transform .18s ease, background-color .18s ease, box-shadow .18s ease;
}

.hps-button:hover,
.wp-element-button:hover,
.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover,
.wpcf7-submit:hover {
  transform: translateY(-2px);
}

.hps-product-showcase {
  background: var(--hps-cream) !important;
}

.hps-product-showcase__header {
  align-items: flex-end;
  margin-bottom: 30px;
}

.hps-product-grid,
.woocommerce ul.products,
body.post-type-archive-product .wc-block-product-template,
body.tax-product_cat .wc-block-product-template {
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: 22px !important;
}

.hps-product-card,
.woocommerce ul.products li.product,
body.post-type-archive-product .wc-block-product,
body.tax-product_cat .wc-block-product,
body.single-product .wp-block-woocommerce-product-collection .wc-block-product {
  min-width: 0 !important;
  min-height: 420px !important;
  border: 1px solid var(--hps-line) !important;
  border-radius: var(--hps-radius-md) !important;
  background: var(--hps-paper) !important;
  box-shadow: var(--hps-shadow-sm) !important;
}

.hps-product-card:hover,
.woocommerce ul.products li.product:hover,
body .wc-block-product:hover {
  transform: translateY(-4px);
  box-shadow: var(--hps-shadow-md) !important;
}

.hps-product-card__image,
.woocommerce ul.products li.product > a.woocommerce-LoopProduct-link,
body .wc-block-product .wc-block-components-product-image a {
  display: block;
  overflow: hidden;
  aspect-ratio: 4 / 3 !important;
  background: #eee8dc;
}

.hps-product-card__image img,
.woocommerce ul.products li.product a img,
body .wc-block-product .wc-block-components-product-image img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  transition: transform .35s ease;
}

.hps-product-card:hover .hps-product-card__image img,
.woocommerce ul.products li.product:hover img,
body .wc-block-product:hover .wc-block-components-product-image img {
  transform: scale(1.025);
}

.hps-product-card__body {
  padding: 18px 18px 20px;
}

.hps-product-card__title,
body .wc-block-product .wp-block-post-title,
.woocommerce ul.products li.product .woocommerce-loop-product__title {
  min-height: 48px !important;
  margin: 0 14px 10px !important;
  font-size: 1rem !important;
  line-height: 1.28 !important;
  letter-spacing: 0 !important;
}

.hps-product-card__price,
.woocommerce ul.products li.product .price,
body .wc-block-product .wp-block-woocommerce-product-price,
body .wc-block-product .wc-block-components-product-price {
  min-height: 36px !important;
  margin: auto 14px 16px !important;
  color: var(--hps-ink) !important;
  font-size: 1.08rem !important;
}

.hps-product-card__button,
.woocommerce ul.products li.product .button,
body .wc-block-product .wp-block-button__link,
body .wc-block-product .wc-block-components-product-button__button {
  width: auto !important;
  min-width: 150px !important;
  min-height: 44px !important;
  margin: 0 auto !important;
  border-radius: var(--hps-radius-sm) !important;
  background: var(--hps-copper) !important;
  box-shadow: 0 10px 24px rgba(146, 91, 54, .16) !important;
}

.hps-product-card__button:hover,
.woocommerce ul.products li.product .button:hover,
body .wc-block-product .wp-block-button__link:hover,
body .wc-block-product .wc-block-components-product-button__button:hover {
  background: var(--hps-green-900) !important;
}

.hps-shop-archive-hero,
.hps-page-hero {
  padding-top: 76px !important;
  padding-bottom: 76px !important;
}

.hps-shop-archive-hero__inner {
  gap: 48px;
}

.hps-shop-archive-hero__note {
  max-width: 330px;
  padding: 22px;
}

body.post-type-archive-product main .wp-block-woocommerce-product-results-count,
body.tax-product_cat main .wp-block-woocommerce-product-results-count,
body.post-type-archive-product main .wp-block-woocommerce-catalog-sorting,
body.tax-product_cat main .wp-block-woocommerce-catalog-sorting {
  margin-top: 0 !important;
  margin-bottom: 24px !important;
}

.woocommerce-ordering select,
.wp-block-woocommerce-catalog-sorting select {
  min-height: 46px;
  border: 1px solid var(--hps-line);
  border-radius: var(--hps-radius-sm);
  background: var(--hps-paper);
  color: var(--hps-ink);
}

body.single-product .wp-block-columns.alignwide {
  align-items: flex-start !important;
  gap: 40px !important;
}

body.single-product .wp-block-column {
  min-width: 0;
}

body.single-product .wp-block-woocommerce-product-image-gallery,
body.single-product .wp-block-woocommerce-product-details,
body.single-product .hps-product-support,
body.single-product .summary {
  border: 1px solid var(--hps-line);
  border-radius: var(--hps-radius-md);
  background: var(--hps-paper);
  box-shadow: var(--hps-shadow-sm);
}

body.single-product .wp-block-woocommerce-product-image-gallery {
  overflow: hidden;
  padding: 18px;
}

body.single-product .summary,
body.single-product .wp-block-woocommerce-product-details {
  padding: 28px;
}

body.single-product .product_title,
body.single-product h1 {
  letter-spacing: 0 !important;
}

body.single-product .price {
  color: var(--hps-ink) !important;
}

body.single-product .quantity .qty {
  min-width: 64px;
  min-height: 48px;
  border: 1px solid var(--hps-line);
  border-radius: var(--hps-radius-sm);
}

body.single-product .single_add_to_cart_button {
  min-height: 48px;
  background: var(--hps-green-900) !important;
}

body.single-product .wp-block-woocommerce-product-collection.alignwide {
  width: min(780px, calc(100% - 40px)) !important;
  max-width: 780px !important;
}

body.single-product .wp-block-woocommerce-product-collection.alignwide .wc-block-product-template {
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 18px !important;
}

body.single-product .wp-block-woocommerce-product-collection.alignwide .wc-block-product {
  min-height: 330px !important;
}

.woocommerce-cart-form,
.cart-collaterals .cart_totals,
.woocommerce-checkout-review-order,
.woocommerce form.checkout,
.woocommerce-MyAccount-navigation,
.woocommerce-MyAccount-content {
  border: 1px solid var(--hps-line) !important;
  background: var(--hps-paper) !important;
  box-shadow: var(--hps-shadow-sm) !important;
}

.woocommerce-cart-form,
.woocommerce form.checkout,
.woocommerce-MyAccount-content {
  padding: 28px !important;
}

.cart-collaterals .cart_totals,
.woocommerce-checkout-review-order {
  padding: 24px !important;
}

.woocommerce table.shop_table {
  border-color: var(--hps-line) !important;
  border-radius: var(--hps-radius-sm) !important;
}

.woocommerce table.shop_table th,
.woocommerce table.shop_table td {
  border-color: var(--hps-line) !important;
}

.woocommerce .woocommerce-info,
.woocommerce .woocommerce-message,
.woocommerce .woocommerce-error {
  border-radius: var(--hps-radius-sm);
  background: var(--hps-paper);
  box-shadow: var(--hps-shadow-sm);
}

.woocommerce-checkout #customer_details,
.woocommerce-checkout #order_review {
  min-width: 0;
}

.wpcf7 form {
  gap: 18px;
}

.wpcf7 label {
  gap: 8px;
  color: var(--hps-ink);
  font-size: .9rem;
}

.wpcf7 input,
.wpcf7 textarea,
.wpcf7 select,
.woocommerce input.input-text,
.woocommerce textarea,
.woocommerce select {
  border-radius: var(--hps-radius-sm) !important;
  background: var(--hps-paper);
}

.wpcf7 .wpcf7-acceptance .wpcf7-list-item {
  margin: 0;
}

.wpcf7 .wpcf7-acceptance label {
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr);
  align-items: start;
  gap: 12px;
  font-weight: 600;
  line-height: 1.5;
}

.wpcf7 .wpcf7-acceptance input[type='checkbox'] {
  width: 22px;
  min-height: 22px;
  margin: 1px 0 0;
}

.hps-footer {
  padding-top: 64px !important;
  background: var(--hps-green-950) !important;
}

.hps-footer__grid {
  grid-template-columns: 1.35fr .75fr .8fr 1fr !important;
  gap: 42px !important;
}

.hps-footer section {
  min-width: 0;
}

.hps-footer a {
  overflow-wrap: anywhere;
}

.hps-footer__bottom {
  padding-bottom: 24px;
}

.hps-reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .5s ease, transform .5s ease;
}

.hps-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1080px) {
  .hps-nav a,
  .hps-nav__toggle,
  .hps-header__action {
    padding-right: 8px;
    padding-left: 8px;
    font-size: .8rem;
  }

  body.home .hps-hero h1 {
    font-size: 4.25rem !important;
  }

  .hps-product-grid,
  .woocommerce ul.products,
  body.post-type-archive-product .wc-block-product-template,
  body.tax-product_cat .wc-block-product-template {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 900px) {
  .admin-bar .hps-header {
    top: 46px;
  }

  .hps-topbar {
    display: none !important;
  }

  .hps-header__inner {
    min-height: 88px !important;
  }

  .hps-logo__image {
    width: 70px !important;
    height: 70px !important;
  }

  .hps-nav,
  .hps-header__actions {
    display: none !important;
  }

  .hps-mobile-toggle {
    display: inline-flex !important;
  }

  .hps-mobile-nav {
    position: fixed;
    top: 104px;
    right: 16px;
    left: 16px;
    z-index: 999;
    display: grid !important;
    overflow-y: auto;
    width: auto !important;
    max-width: none !important;
    max-height: calc(100dvh - 124px);
    margin: 0 !important;
    padding: 18px !important;
    border: 1px solid var(--hps-line);
    border-radius: var(--hps-radius-md);
    background: rgba(255, 253, 248, .98);
    box-shadow: var(--hps-shadow-md);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: opacity .18s ease, transform .18s ease, visibility .18s ease;
  }

  .admin-bar .hps-mobile-nav {
    top: 150px;
    max-height: calc(100dvh - 170px);
  }

  .hps-mobile-nav.is-open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .hps-mobile-nav__primary,
  .hps-mobile-nav__categories,
  .hps-mobile-nav__actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .hps-mobile-nav__categories {
    padding: 12px 0;
    border-top: 1px solid var(--hps-line);
    border-bottom: 1px solid var(--hps-line);
  }

  .hps-mobile-nav__categories a {
    min-height: 42px;
    background: var(--hps-green-100);
    font-size: .82rem;
  }

  .hps-mobile-nav__actions a {
    background: var(--hps-green-900);
    color: #fff;
  }

  body.hps-menu-open {
    overflow: hidden !important;
  }

  body.home .hps-hero {
    min-height: 610px;
    padding-top: 76px !important;
    padding-bottom: 64px !important;
  }

  body.home .hps-hero h1 {
    font-size: 3.8rem !important;
  }

  .hps-title {
    font-size: 2.65rem !important;
  }

  .hps-page-title,
  .hps-shop-archive-hero h1 {
    font-size: 3.4rem !important;
  }

  .hps-grid--4 {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  .hps-two-col,
  .hps-delivery-band,
  .hps-shop-archive-hero__inner,
  body.single-product .wp-block-columns.alignwide {
    grid-template-columns: 1fr !important;
  }

  .hps-footer__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 680px) {
  html,
  body {
    overflow-x: visible !important;
  }

  .hps-container {
    width: min(100%, calc(100% - 28px)) !important;
  }

  .hps-header__inner {
    min-height: 82px !important;
  }

  .hps-logo__image {
    width: 64px !important;
    height: 64px !important;
  }

  .hps-mobile-toggle {
    min-width: 78px !important;
    min-height: 48px !important;
    font-size: .95rem !important;
  }

  .hps-mobile-nav {
    top: 96px;
  }

  .admin-bar .hps-mobile-nav {
    top: 142px;
  }

  body.home .hps-hero {
    min-height: 560px;
    padding-top: 58px !important;
    padding-bottom: 46px !important;
    background-position: 57% center !important;
  }

  body.home .hps-hero h1 {
    font-size: 2.85rem !important;
    line-height: 1.02 !important;
  }

  body.home .hps-hero p {
    margin-top: 18px !important;
    font-size: 1rem !important;
  }

  body.home .hps-hero .hps-buttons {
    align-items: stretch;
    gap: 10px;
    margin-top: 22px;
  }

  body.home .hps-hero .hps-button {
    width: 100%;
  }

  body.home .hps-hero .hps-usp {
    grid-template-columns: 1fr !important;
    gap: 8px;
    margin-top: 24px !important;
  }

  body.home .hps-hero .hps-usp > * {
    min-height: 0;
    padding: 14px 16px;
  }

  .hps-section,
  .hps-product-showcase {
    padding-top: 58px !important;
    padding-bottom: 58px !important;
  }

  .hps-title {
    font-size: 2.25rem !important;
  }

  .hps-page-title,
  .hps-shop-archive-hero h1 {
    font-size: 2.65rem !important;
  }

  .hps-grid--4,
  .hps-grid--3,
  .hps-facts,
  .hps-article-grid {
    grid-template-columns: 1fr !important;
  }

  .hps-product-showcase__header {
    align-items: flex-start;
    flex-direction: column;
  }

  .hps-product-grid,
  .woocommerce ul.products,
  body.post-type-archive-product .wc-block-product-template,
  body.tax-product_cat .wc-block-product-template {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 12px !important;
    width: 100% !important;
  }

  .hps-product-card,
  .woocommerce ul.products li.product,
  body .wc-block-product {
    min-height: 340px !important;
  }

  .hps-product-card__body {
    padding: 14px 10px 16px;
  }

  .hps-product-card__title,
  body .wc-block-product .wp-block-post-title,
  .woocommerce ul.products li.product .woocommerce-loop-product__title {
    min-height: 46px !important;
    margin: 0 6px 8px !important;
    font-size: .88rem !important;
  }

  .hps-product-card__price,
  .woocommerce ul.products li.product .price,
  body .wc-block-product .wp-block-woocommerce-product-price,
  body .wc-block-product .wc-block-components-product-price {
    margin: auto 6px 12px !important;
    font-size: .98rem !important;
  }

  .hps-product-card__button,
  .woocommerce ul.products li.product .button,
  body .wc-block-product .wp-block-button__link,
  body .wc-block-product .wc-block-components-product-button__button {
    width: calc(100% - 12px) !important;
    min-width: 0 !important;
    min-height: 44px !important;
    padding: 0 8px !important;
    font-size: .78rem !important;
  }

  body.single-product .wp-block-woocommerce-product-collection.alignwide {
    width: min(100%, calc(100% - 28px)) !important;
  }

  body.single-product .wp-block-woocommerce-product-collection.alignwide .wc-block-product-template {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 12px !important;
  }

  .woocommerce-cart-form,
  .woocommerce form.checkout,
  .woocommerce-MyAccount-content {
    padding: 18px !important;
  }

  .woocommerce table.shop_table_responsive tr td,
  .woocommerce-page table.shop_table_responsive tr td {
    padding: 12px 8px !important;
  }

  .hps-footer {
    padding-top: 48px !important;
  }

  .hps-footer__grid {
    grid-template-columns: 1fr !important;
    gap: 30px !important;
  }

  .hps-footer__bottom {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 360px) {
  .hps-mobile-nav__primary,
  .hps-mobile-nav__categories,
  .hps-mobile-nav__actions,
  .hps-product-grid,
  .woocommerce ul.products,
  body.post-type-archive-product .wc-block-product-template,
  body.tax-product_cat .wc-block-product-template,
  body.single-product .wp-block-woocommerce-product-collection.alignwide .wc-block-product-template {
    grid-template-columns: 1fr !important;
  }

  body.home .hps-hero h1 {
    font-size: 2.45rem !important;
  }

  .hps-product-card,
  .woocommerce ul.products li.product,
  body .wc-block-product {
    min-height: 0 !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }

  .hps-reveal {
    opacity: 1;
    transform: none;
  }
}


/* 2026-07-12: definitive catalog and single-product layout */
body .wc-block-product {
  display: flex !important;
  flex-direction: column !important;
  align-items: stretch !important;
}

body .wc-block-product .hps-injected-product-title,
body .wc-block-product .wp-block-post-title,
body.post-type-archive-product .wc-block-product .hps-injected-product-title,
body.tax-product_cat .wc-block-product .hps-injected-product-title,
body.single-product .wc-block-product .hps-injected-product-title {
  position: static !important;
  display: block !important;
  visibility: visible !important;
  overflow: visible !important;
  width: auto !important;
  height: auto !important;
  min-height: 3.2em !important;
  margin: 16px 18px 8px !important;
  padding: 0 !important;
  clip: auto !important;
  opacity: 1 !important;
  color: #092f20 !important;
  font-family: Outfit, Inter, sans-serif !important;
  font-size: 1rem !important;
  font-weight: 800 !important;
  line-height: 1.3 !important;
  letter-spacing: 0 !important;
  text-align: center !important;
  overflow-wrap: anywhere;
}

body .wc-block-product .hps-injected-product-title a,
body .wc-block-product .wp-block-post-title a {
  display: -webkit-box !important;
  overflow: hidden !important;
  color: #092f20 !important;
  font: inherit !important;
  text-decoration: none !important;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

body .wc-block-product .wp-block-woocommerce-product-price,
body .wc-block-product .wc-block-components-product-price {
  margin-top: auto !important;
}

body .wc-block-product .wp-block-woocommerce-product-button {
  margin-top: 0 !important;
}

body.single-product main#wp--skip-link--target {
  padding-top: 28px !important;
  padding-bottom: 56px !important;
}

body.single-product .woocommerce-breadcrumb {
  display: block !important;
  width: min(1040px, calc(100% - 40px));
  margin: 0 auto 22px !important;
  color: #627168;
  font-size: .82rem;
}

body.single-product main > .wp-block-columns.alignwide {
  display: grid !important;
  grid-template-columns: minmax(0, 1.05fr) minmax(340px, .95fr) !important;
  align-items: start !important;
  width: min(1040px, calc(100% - 40px)) !important;
  max-width: 1040px !important;
  margin: 0 auto 36px !important;
  gap: 30px !important;
}

body.single-product main > .wp-block-columns.alignwide > .wp-block-column {
  min-width: 0 !important;
  margin: 0 !important;
}

body.single-product main > .wp-block-columns.alignwide > .wp-block-column:first-child,
body.single-product main > .wp-block-columns.alignwide > .wp-block-column:nth-child(2) {
  border: 1px solid rgba(9, 47, 32, .13) !important;
  border-radius: 10px !important;
  background: #fffdf8 !important;
  box-shadow: 0 18px 46px rgba(9, 47, 32, .08) !important;
}

body.single-product main > .wp-block-columns.alignwide > .wp-block-column:first-child {
  overflow: hidden;
  padding: 16px !important;
}

body.single-product main > .wp-block-columns.alignwide > .wp-block-column:nth-child(2) {
  display: flex !important;
  flex-direction: column !important;
  padding: 30px !important;
}

body.single-product .wp-block-woocommerce-product-image-gallery {
  overflow: hidden;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 8px !important;
  background: #f1eadf !important;
  box-shadow: none !important;
}

body.single-product .woocommerce-product-gallery,
body.single-product .woocommerce-product-gallery__wrapper,
body.single-product .woocommerce-product-gallery__image {
  width: 100% !important;
  margin: 0 !important;
}

body.single-product .woocommerce-product-gallery__image a {
  display: block;
  overflow: hidden;
  aspect-ratio: 4 / 3;
}

body.single-product .woocommerce-product-gallery__image img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
}

body.single-product .wp-site-blocks h1.wp-block-post-title,
body.single-product h1.wp-block-post-title,
body.single-product main h1.wp-block-post-title {
  position: static !important;
  display: block !important;
  visibility: visible !important;
  width: auto !important;
  height: auto !important;
  margin: 0 0 16px !important;
  padding: 0 !important;
  clip: auto !important;
  opacity: 1 !important;
  color: #092f20 !important;
  font-family: Outfit, Inter, sans-serif !important;
  font-size: 2.15rem !important;
  font-weight: 800 !important;
  line-height: 1.08 !important;
  letter-spacing: 0 !important;
  overflow-wrap: anywhere;
}

body.single-product main > .wp-block-columns.alignwide .wp-block-woocommerce-product-price {
  min-height: 0 !important;
  margin: 0 0 18px !important;
  padding: 0 !important;
  background: transparent !important;
}

body.single-product main > .wp-block-columns.alignwide .wc-block-components-product-price {
  display: flex !important;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 6px;
  min-height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  background: transparent !important;
  color: #092f20 !important;
  font-family: Outfit, Inter, sans-serif !important;
  font-size: 1.5rem !important;
  font-weight: 800 !important;
  line-height: 1.2 !important;
}

body.single-product main > .wp-block-columns.alignwide .wp-block-post-excerpt {
  margin: 0 0 20px !important;
  padding: 14px 16px;
  border-left: 3px solid #b9794d;
  background: #f8f3ea;
}

body.single-product main > .wp-block-columns.alignwide .wp-block-post-excerpt p {
  margin: 0;
  color: #405249;
  font-size: .95rem;
  line-height: 1.6;
}

body.single-product .wc-block-add-to-cart-form {
  margin-top: 0 !important;
}

body.single-product form.cart,
body.single-product form.variations_form {
  width: 100%;
  margin: 0 !important;
  padding: 18px !important;
  border: 1px solid rgba(9, 47, 32, .12);
  border-radius: 8px;
  background: #f7f3ea;
}

body.single-product form.variations_form table.variations {
  width: 100%;
  margin: 0 0 16px !important;
  border: 0 !important;
}

body.single-product form.variations_form table.variations tbody,
body.single-product form.variations_form table.variations tr,
body.single-product form.variations_form table.variations th,
body.single-product form.variations_form table.variations td {
  display: block;
  width: 100%;
  padding: 0 !important;
  border: 0 !important;
}

body.single-product form.variations_form table.variations th {
  margin-bottom: 7px;
  color: #092f20;
  font-size: .86rem;
  text-align: left;
}

body.single-product form.variations_form table.variations td {
  position: relative;
  margin-bottom: 12px;
}

body.single-product form.variations_form select {
  width: 100% !important;
  min-height: 48px;
  margin: 0 !important;
  padding: 0 42px 0 13px;
  border: 1px solid rgba(9, 47, 32, .18);
  border-radius: 8px;
  background: #fff;
  color: #092f20;
  font-weight: 700;
}

body.single-product form.variations_form .reset_variations {
  display: inline-flex !important;
  min-height: 36px;
  align-items: center;
  margin-top: 8px;
  color: #52645a;
  font-size: .78rem;
}

body.single-product .woocommerce-variation {
  margin: 6px 0 12px;
}

body.single-product .woocommerce-variation-price .price {
  color: #092f20 !important;
  font-family: Outfit, Inter, sans-serif;
  font-size: 1.25rem !important;
  font-weight: 800;
}

body.single-product .woocommerce-variation-description {
  color: #52645a;
  font-size: .85rem;
}

body.single-product .woocommerce-variation-add-to-cart,
body.single-product form.cart:not(.variations_form) {
  display: flex !important;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

body.single-product .quantity .qty {
  width: 68px !important;
  min-height: 48px !important;
  margin: 0 !important;
  border-radius: 8px !important;
  background: #fff;
}

body.single-product .single_add_to_cart_button {
  flex: 1 1 180px;
  min-height: 48px !important;
  margin: 0 !important;
  border-radius: 8px !important;
  background: #0b3b28 !important;
  color: #fff !important;
}

body.single-product .single_add_to_cart_button.disabled {
  opacity: .48;
}

body.single-product .product_meta,
body.single-product .wp-block-woocommerce-product-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  margin-top: 18px !important;
  padding-top: 16px;
  border-top: 1px solid rgba(9, 47, 32, .12);
  color: #52645a;
  font-size: .8rem;
}

body.single-product .wp-block-woocommerce-product-details,
body.single-product .woocommerce-tabs {
  width: min(1040px, calc(100% - 40px)) !important;
  max-width: 1040px !important;
  margin: 0 auto 36px !important;
  padding: 28px 32px !important;
  border: 1px solid rgba(9, 47, 32, .13) !important;
  border-radius: 10px !important;
  background: #fffdf8 !important;
  box-shadow: 0 18px 46px rgba(9, 47, 32, .07) !important;
}

body.single-product .woocommerce-tabs ul.tabs {
  margin-bottom: 20px !important;
}

body.single-product .woocommerce-tabs h2,
body.single-product .wp-block-woocommerce-product-details h2 {
  margin: 0 0 14px !important;
  color: #092f20;
  font-family: Outfit, Inter, sans-serif;
  font-size: 1.75rem !important;
  line-height: 1.15;
}

body.single-product .hps-product-support {
  display: grid !important;
  grid-template-columns: minmax(260px, .85fr) minmax(0, 1.15fr) !important;
  gap: 28px !important;
  width: min(1040px, calc(100% - 40px)) !important;
  max-width: 1040px !important;
  min-height: 0 !important;
  margin: 0 auto 38px !important;
  padding: 34px !important;
  border: 0 !important;
  border-radius: 10px !important;
  background: #0b3b28 !important;
  color: #fff !important;
  box-shadow: 0 20px 48px rgba(9, 47, 32, .14) !important;
}

body.single-product .hps-product-support > div:first-child {
  align-self: center;
}

body.single-product .hps-product-support .hps-eyebrow {
  color: #efb273 !important;
}

body.single-product .hps-product-support h2,
body.single-product .hps-product-support h3,
body.single-product .hps-product-support p {
  color: #fff !important;
}

body.single-product .hps-product-support h2 {
  margin: 0 0 14px !important;
  font-family: Outfit, Inter, sans-serif;
  font-size: 2.25rem !important;
  line-height: 1.04;
  letter-spacing: 0;
}

body.single-product .hps-product-support > div:first-child p {
  margin: 0;
  color: rgba(255, 255, 255, .78) !important;
  line-height: 1.6;
}

body.single-product .hps-product-support__grid {
  display: grid !important;
  grid-template-columns: 1fr !important;
  gap: 9px !important;
}

body.single-product .hps-product-support__grid article {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 2px 12px;
  padding: 13px 15px !important;
  border: 1px solid rgba(255, 255, 255, .13);
  border-radius: 8px;
  background: rgba(255, 255, 255, .07) !important;
}

body.single-product .hps-product-support__grid article > span {
  grid-row: 1 / span 2;
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: rgba(239, 178, 115, .18);
  color: #f3bf89;
  font-size: .72rem;
  font-weight: 800;
}

body.single-product .hps-product-support__grid h3 {
  margin: 0 !important;
  font-size: .9rem !important;
  line-height: 1.25;
}

body.single-product .hps-product-support__grid p {
  margin: 2px 0 0 !important;
  color: rgba(255, 255, 255, .7) !important;
  font-size: .78rem;
  line-height: 1.45;
}

body.single-product .hps-product-support__actions {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: -2px;
}

body.single-product .hps-product-support__actions .hps-button {
  width: auto !important;
}

body.single-product .wp-block-woocommerce-product-collection.alignwide {
  width: min(1040px, calc(100% - 40px)) !important;
  max-width: 1040px !important;
  margin: 0 auto !important;
}

body.single-product .wp-block-woocommerce-product-collection.alignwide > .wp-block-heading,
body.single-product .wp-block-woocommerce-product-collection.alignwide > h2 {
  margin: 0 0 20px !important;
  color: #092f20;
  font-family: Outfit, Inter, sans-serif;
  font-size: 2rem !important;
  line-height: 1.1;
  letter-spacing: 0;
}

body.single-product .wp-block-woocommerce-product-collection.alignwide .wc-block-product-template,
body.single-product .wp-block-woocommerce-product-collection.alignwide .wc-block-product-template.columns-5 {
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: 16px !important;
}

body.single-product .wp-block-woocommerce-product-collection.alignwide .wc-block-product {
  min-height: 330px !important;
}

body.single-product .wp-block-woocommerce-product-collection.alignwide .hps-injected-product-title,
body.single-product .wp-block-woocommerce-product-collection.alignwide .wp-block-post-title {
  min-height: 3em !important;
  margin: 13px 12px 7px !important;
  font-size: .9rem !important;
}

body.single-product .wp-block-woocommerce-product-collection.alignwide .wp-block-woocommerce-product-price {
  margin-right: 12px !important;
  margin-bottom: 12px !important;
  margin-left: 12px !important;
  font-size: .95rem !important;
}

body.single-product .wp-block-woocommerce-product-collection.alignwide .wp-block-woocommerce-product-button {
  margin-bottom: 16px !important;
}

.hps-toast {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 10020;
  display: flex;
  align-items: center;
  gap: 16px;
  max-width: min(390px, calc(100% - 40px));
  padding: 14px 16px;
  border-radius: 8px;
  background: #0b3b28;
  color: #fff;
  box-shadow: 0 20px 55px rgba(9, 47, 32, .28);
  opacity: 0;
  transform: translateY(14px);
  transition: opacity .2s ease, transform .2s ease;
}

.hps-toast.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.hps-toast a {
  color: #f4c08d;
  font-weight: 800;
}

.hps-cart-added {
  background: #0b3b28 !important;
}

@media (max-width: 900px) {
  body.single-product main > .wp-block-columns.alignwide {
    grid-template-columns: 1fr !important;
  }

  body.single-product .hps-product-support {
    grid-template-columns: 1fr !important;
  }

  body.single-product .wp-block-woocommerce-product-collection.alignwide .wc-block-product-template,
  body.single-product .wp-block-woocommerce-product-collection.alignwide .wc-block-product-template.columns-5 {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 620px) {
  body .wc-block-product .hps-injected-product-title,
  body .wc-block-product .wp-block-post-title {
    min-height: 3.4em !important;
    margin: 12px 8px 6px !important;
    font-size: .86rem !important;
  }

  body.single-product main#wp--skip-link--target {
    padding-top: 18px !important;
    padding-bottom: 38px !important;
  }

  body.single-product .woocommerce-breadcrumb,
  body.single-product main > .wp-block-columns.alignwide,
  body.single-product .wp-block-woocommerce-product-details,
  body.single-product .woocommerce-tabs,
  body.single-product .hps-product-support,
  body.single-product .wp-block-woocommerce-product-collection.alignwide {
    width: min(100%, calc(100% - 28px)) !important;
  }

  body.single-product main > .wp-block-columns.alignwide {
    gap: 14px !important;
    margin-bottom: 24px !important;
  }

  body.single-product main > .wp-block-columns.alignwide > .wp-block-column:nth-child(2) {
    padding: 22px !important;
  }

  body.single-product .wp-site-blocks h1.wp-block-post-title,
  body.single-product h1.wp-block-post-title {
    font-size: 1.75rem !important;
  }

  body.single-product .wp-block-woocommerce-product-details,
  body.single-product .woocommerce-tabs {
    margin-bottom: 24px !important;
    padding: 22px !important;
  }

  body.single-product .hps-product-support {
    gap: 20px !important;
    margin-bottom: 28px !important;
    padding: 24px !important;
  }

  body.single-product .hps-product-support h2 {
    font-size: 1.8rem !important;
  }

  body.single-product .hps-product-support__actions {
    flex-direction: column;
  }

  body.single-product .hps-product-support__actions .hps-button {
    width: 100% !important;
  }

  body.single-product .wp-block-woocommerce-product-collection.alignwide .wc-block-product-template,
  body.single-product .wp-block-woocommerce-product-collection.alignwide .wc-block-product-template.columns-5 {
    gap: 12px !important;
  }

  .hps-toast {
    right: 14px;
    bottom: 14px;
    left: 14px;
    max-width: none;
  }
}

/* Final small-screen safeguards: keep long names and variation controls inside the viewport. */
body .wc-block-product .hps-injected-product-title a,
body .wc-block-product .wp-block-post-title a {
  -webkit-line-clamp: 4 !important;
}

body .wc-block-product .hps-injected-product-title,
body .wc-block-product .wp-block-post-title {
  min-height: 5.2em !important;
}

@media (max-width: 620px) {
  body .wc-block-product .hps-injected-product-title a,
  body .wc-block-product .wp-block-post-title a {
    -webkit-line-clamp: 5 !important;
  }

  body .wc-block-product .hps-injected-product-title,
  body .wc-block-product .wp-block-post-title {
    min-height: 6.5em !important;
  }

  body.single-product main > .wp-block-columns.alignwide,
  body.single-product main > .wp-block-columns.alignwide > .wp-block-column,
  body.single-product .wp-block-woocommerce-product-details,
  body.single-product .woocommerce-tabs,
  body.single-product .hps-product-support,
  body.single-product .wp-block-woocommerce-product-collection.alignwide,
  body.single-product form.cart,
  body.single-product form.variations_form,
  body.single-product table.variations,
  body.single-product .single_variation_wrap {
    box-sizing: border-box !important;
    min-width: 0 !important;
    max-width: 100% !important;
  }

  body.single-product .woocommerce-breadcrumb,
  body.single-product h1.wp-block-post-title,
  body.single-product .wp-block-post-excerpt,
  body.single-product .product_meta {
    max-width: 100% !important;
    overflow-wrap: anywhere;
    white-space: normal !important;
  }

  body.single-product h1.wp-block-post-title {
    font-size: 1.65rem !important;
    line-height: 1.12 !important;
  }

  body.single-product form.variations_form select,
  body.single-product .single_add_to_cart_button {
    max-width: 100% !important;
  }

  body.single-product .woocommerce-variation-add-to-cart,
  body.single-product form.cart:not(.variations_form) {
    align-items: stretch;
  }

  body.single-product .hps-product-support__grid article {
    min-width: 0;
  }
}

@media (max-width: 380px) {
  body.single-product .wp-block-woocommerce-product-collection.alignwide .wc-block-product-template,
  body.single-product .wp-block-woocommerce-product-collection.alignwide .wc-block-product-template.columns-5 {
    grid-template-columns: 1fr !important;
  }
}

/* 2026-07-15: reference-matched single-product purchase hero.
   Intentionally scoped to breadcrumbs and the first product columns only. */
body.single-product main#wp--skip-link--target {
  padding-top: 42px !important;
}

body.single-product main > .wp-block-breadcrumbs.alignwide,
body.single-product main > .wc-block-store-notices.alignwide {
  width: min(1340px, calc(100vw - 80px)) !important;
  max-width: 1340px !important;
  margin-right: 0 !important;
  margin-left: calc(50% - min(670px, calc(50vw - 40px))) !important;
}

body.single-product main > .wp-block-breadcrumbs.alignwide {
  margin-bottom: 34px !important;
}

body.single-product .woocommerce-breadcrumb {
  display: flex !important;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  width: 100% !important;
  margin: 0 !important;
  color: #52645a !important;
  font-size: .9rem !important;
  font-weight: 500;
  line-height: 1.5;
}

body.single-product .woocommerce-breadcrumb::before {
  content: "";
  flex: 0 0 21px;
  width: 21px;
  height: 21px;
  margin-right: 3px;
  background: #0b3b28;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m3 11 9-8 9 8'/%3E%3Cpath d='M5 10v10h14V10'/%3E%3Cpath d='M9 20v-6h6v6'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m3 11 9-8 9 8'/%3E%3Cpath d='M5 10v10h14V10'/%3E%3Cpath d='M9 20v-6h6v6'/%3E%3C/svg%3E") center / contain no-repeat;
}

body.single-product .woocommerce-breadcrumb a {
  color: #0b3b28 !important;
  font-weight: 800;
  text-underline-offset: 3px;
}

body.single-product main > .wp-block-columns.alignwide {
  display: grid !important;
  grid-template-columns: minmax(0, 1.08fr) minmax(440px, .92fr) !important;
  align-items: stretch !important;
  gap: 14px !important;
  width: min(1340px, calc(100vw - 80px)) !important;
  max-width: 1340px !important;
  margin-top: 0 !important;
  margin-right: 0 !important;
  margin-bottom: 44px !important;
  margin-left: calc(50% - min(670px, calc(50vw - 40px))) !important;
}

body.single-product main > .wp-block-columns.alignwide > .wp-block-column {
  box-sizing: border-box !important;
  min-width: 0 !important;
  margin: 0 !important;
  border: 1px solid rgba(9, 47, 32, .11) !important;
  border-radius: 14px !important;
  background: #fffdf9 !important;
  box-shadow: 0 18px 48px rgba(9, 47, 32, .08) !important;
}

body.single-product main > .wp-block-columns.alignwide > .wp-block-column:first-child {
  display: flex !important;
  overflow: hidden;
  padding: 24px !important;
}

body.single-product main > .wp-block-columns.alignwide > .wp-block-column:nth-child(2) {
  display: flex !important;
  flex-direction: column !important;
  align-items: stretch !important;
  padding: 40px 44px 30px !important;
}

body.single-product main > .wp-block-columns.alignwide > .wp-block-column:nth-child(2)::before {
  content: "PRODUKT W SKLEPIE";
  display: block;
  margin: 0 0 18px;
  color: #b66f3f;
  font-family: Inter, sans-serif;
  font-size: .76rem;
  font-weight: 800;
  letter-spacing: .08em;
}

body.single-product main > .wp-block-columns.alignwide .wp-block-woocommerce-product-image-gallery {
  display: flex !important;
  width: 100% !important;
  min-width: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 12px !important;
  background: #f4eee3 !important;
  box-shadow: none !important;
}

body.single-product main > .wp-block-columns.alignwide .woocommerce-product-gallery,
body.single-product main > .wp-block-columns.alignwide .woocommerce-product-gallery__wrapper,
body.single-product main > .wp-block-columns.alignwide .woocommerce-product-gallery__image {
  width: 100% !important;
  height: 100% !important;
  min-height: 0 !important;
}

body.single-product main > .wp-block-columns.alignwide .woocommerce-product-gallery__image a {
  display: block !important;
  width: 100%;
  height: 100%;
  min-height: 0;
  aspect-ratio: 1 / 1;
  border-radius: 12px;
}

body.single-product main > .wp-block-columns.alignwide .woocommerce-product-gallery__image img {
  display: block;
  width: 100% !important;
  height: 100% !important;
  border-radius: 12px;
  object-fit: cover !important;
}

body.single-product main > .wp-block-columns.alignwide .woocommerce-product-gallery__trigger {
  top: 24px !important;
  right: 24px !important;
  width: 48px !important;
  height: 48px !important;
  border: 1px solid rgba(9, 47, 32, .1);
  background: #fff !important;
  box-shadow: 0 10px 24px rgba(9, 47, 32, .12);
}

body.single-product main > .wp-block-columns.alignwide h1.wp-block-post-title {
  position: static !important;
  display: block !important;
  visibility: visible !important;
  width: auto !important;
  height: auto !important;
  margin: 0 0 22px !important;
  padding: 0 !important;
  clip: auto !important;
  opacity: 1 !important;
  color: #0a3928 !important;
  font-family: Outfit, Inter, sans-serif !important;
  font-size: 1.9rem !important;
  font-weight: 800 !important;
  line-height: 1.14 !important;
  letter-spacing: 0 !important;
  overflow-wrap: normal;
  word-break: normal;
  hyphens: auto;
}

body.single-product main > .wp-block-columns.alignwide .wp-block-woocommerce-product-price {
  align-self: flex-start;
  min-height: 0 !important;
  margin: 0 0 28px !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
}

body.single-product main > .wp-block-columns.alignwide .wc-block-components-product-price {
  display: inline-flex !important;
  flex-wrap: wrap;
  align-items: center;
  gap: 5px;
  min-height: 50px !important;
  margin: 0 !important;
  padding: 8px 18px !important;
  border-radius: 999px !important;
  background: #eaf3ec !important;
  color: #0a3928 !important;
  font-family: Outfit, Inter, sans-serif !important;
  font-size: 1.55rem !important;
  font-weight: 800 !important;
  line-height: 1.15 !important;
}

body.single-product main > .wp-block-columns.alignwide .wp-block-post-excerpt {
  margin: 0 0 28px !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
}

body.single-product main > .wp-block-columns.alignwide .wp-block-post-excerpt p {
  margin: 0 !important;
  color: #294b3d !important;
  font-size: 1rem !important;
  line-height: 1.72 !important;
}

body.single-product main > .wp-block-columns.alignwide .wc-block-add-to-cart-form {
  box-sizing: border-box !important;
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
}

body.single-product main > .wp-block-columns.alignwide form.cart,
body.single-product main > .wp-block-columns.alignwide form.variations_form {
  width: 100% !important;
  margin: 0 !important;
  padding: 28px 0 0 !important;
  border: 0 !important;
  border-top: 1px solid rgba(9, 47, 32, .13) !important;
  border-radius: 0 !important;
  background: transparent !important;
}

body.single-product main > .wp-block-columns.alignwide form.variations_form table.variations {
  width: 100% !important;
  margin: 0 0 24px !important;
  border: 0 !important;
}

body.single-product main > .wp-block-columns.alignwide form.variations_form table.variations tbody,
body.single-product main > .wp-block-columns.alignwide form.variations_form table.variations tr,
body.single-product main > .wp-block-columns.alignwide form.variations_form table.variations th,
body.single-product main > .wp-block-columns.alignwide form.variations_form table.variations td {
  display: block !important;
  box-sizing: border-box;
  width: 100% !important;
  padding: 0 !important;
  border: 0 !important;
}

body.single-product main > .wp-block-columns.alignwide form.variations_form table.variations th {
  margin: 0 0 9px !important;
  color: #0a3928;
  font-size: .9rem !important;
  font-weight: 800;
  text-align: left;
}

body.single-product main > .wp-block-columns.alignwide form.variations_form table.variations td {
  position: relative;
  margin: 0 !important;
}

body.single-product main > .wp-block-columns.alignwide form.variations_form select {
  width: 100% !important;
  min-height: 56px !important;
  margin: 0 !important;
  padding: 0 48px 0 16px !important;
  border: 1px solid rgba(9, 47, 32, .2) !important;
  border-radius: 10px !important;
  background-color: #fffdf9 !important;
  color: #0a3928 !important;
  font-size: .95rem !important;
  font-weight: 700 !important;
  box-shadow: none !important;
}

body.single-product main > .wp-block-columns.alignwide .reset_variations {
  position: static !important;
  display: inline-flex !important;
  min-height: 32px !important;
  align-items: center;
  margin: 6px 0 -8px !important;
  color: #607168 !important;
  font-size: .74rem !important;
}

body.single-product main > .wp-block-columns.alignwide .woocommerce-variation {
  margin: 0 0 14px !important;
}

body.single-product main > .wp-block-columns.alignwide .woocommerce-variation-price .price {
  color: #0a3928 !important;
  font-family: Outfit, Inter, sans-serif !important;
  font-size: 1.2rem !important;
  font-weight: 800 !important;
}

body.single-product main > .wp-block-columns.alignwide .woocommerce-variation-description {
  margin-top: 8px;
  color: #52645a !important;
  font-size: .82rem !important;
  line-height: 1.5;
}

body.single-product main > .wp-block-columns.alignwide .woocommerce-variation-add-to-cart,
body.single-product main > .wp-block-columns.alignwide form.cart:not(.variations_form) {
  display: grid !important;
  grid-template-columns: 180px minmax(0, 1fr);
  align-items: stretch !important;
  gap: 14px !important;
}

body.single-product main > .wp-block-columns.alignwide .quantity {
  display: grid !important;
  grid-template-columns: 46px minmax(46px, 1fr) 46px;
  width: 180px !important;
  min-width: 0 !important;
  min-height: 58px !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: hidden;
  border: 1px solid rgba(9, 47, 32, .18);
  border-radius: 10px !important;
  background: #fff !important;
}

body.single-product main > .wp-block-columns.alignwide .quantity .hps-qty-control {
  display: grid;
  place-items: center;
  min-width: 0;
  min-height: 56px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #0a3928;
  font-family: Inter, sans-serif;
  font-size: 1.25rem;
  line-height: 1;
  cursor: pointer;
}

body.single-product main > .wp-block-columns.alignwide .quantity .hps-qty-control:hover {
  background: #eef5ef;
}

body.single-product main > .wp-block-columns.alignwide .quantity .hps-qty-control:focus-visible {
  position: relative;
  z-index: 2;
  outline: 3px solid #d59151;
  outline-offset: -3px;
}

body.single-product main > .wp-block-columns.alignwide .quantity .qty {
  width: 100% !important;
  min-width: 0 !important;
  min-height: 56px !important;
  margin: 0 !important;
  padding: 0 3px !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  color: #0a3928 !important;
  font-size: 1rem !important;
  font-weight: 800 !important;
  text-align: center !important;
  box-shadow: none !important;
  appearance: textfield;
  -moz-appearance: textfield;
}

body.single-product main > .wp-block-columns.alignwide .quantity .qty::-webkit-inner-spin-button,
body.single-product main > .wp-block-columns.alignwide .quantity .qty::-webkit-outer-spin-button {
  margin: 0;
  -webkit-appearance: none;
}

body.single-product main > .wp-block-columns.alignwide .single_add_to_cart_button {
  display: inline-flex !important;
  min-width: 0;
  min-height: 58px !important;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin: 0 !important;
  padding: 12px 24px !important;
  border: 1px solid #0a3928 !important;
  border-radius: 10px !important;
  background: #0a4b34 !important;
  color: #fff !important;
  font-size: 1rem !important;
  font-weight: 800 !important;
  line-height: 1.2 !important;
  box-shadow: 0 12px 24px rgba(9, 47, 32, .14);
}

body.single-product main > .wp-block-columns.alignwide .single_add_to_cart_button::before {
  content: "";
  flex: 0 0 21px;
  width: 21px;
  height: 21px;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='8' cy='21' r='1'/%3E%3Ccircle cx='19' cy='21' r='1'/%3E%3Cpath d='M2.05 2.05h2l2.66 12.42a2 2 0 0 0 2 1.58h7.78a2 2 0 0 0 2-1.58L20.12 6H5.12'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='8' cy='21' r='1'/%3E%3Ccircle cx='19' cy='21' r='1'/%3E%3Cpath d='M2.05 2.05h2l2.66 12.42a2 2 0 0 0 2 1.58h7.78a2 2 0 0 0 2-1.58L20.12 6H5.12'/%3E%3C/svg%3E") center / contain no-repeat;
}

body.single-product main > .wp-block-columns.alignwide .single_add_to_cart_button:hover {
  background: #073d2a !important;
  transform: translateY(-1px);
}

body.single-product main > .wp-block-columns.alignwide .single_add_to_cart_button:focus-visible {
  outline: 3px solid #d59151 !important;
  outline-offset: 3px !important;
}

body.single-product main > .wp-block-columns.alignwide .single_add_to_cart_button.disabled,
body.single-product main > .wp-block-columns.alignwide .single_add_to_cart_button:disabled {
  border-color: #8ea99b !important;
  background: #8ea99b !important;
  opacity: 1 !important;
  cursor: not-allowed;
  box-shadow: none;
}

body.single-product main > .wp-block-columns.alignwide .single_add_to_cart_button.is-loading {
  pointer-events: none;
  opacity: .72 !important;
}

body.single-product main > .wp-block-columns.alignwide .stock {
  margin: 0 0 12px !important;
  color: #0a3928 !important;
  font-weight: 800;
}

body.single-product main > .wp-block-columns.alignwide .wp-block-woocommerce-product-meta {
  margin-top: auto !important;
  padding-top: 28px !important;
  border-top: 1px solid rgba(9, 47, 32, .13) !important;
  color: #52645a !important;
  font-size: .84rem !important;
}

body.single-product main > .wp-block-columns.alignwide .wp-block-woocommerce-product-meta .wp-block-group {
  gap: 8px !important;
}

body.single-product main > .wp-block-columns.alignwide .taxonomy-product_cat {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

body.single-product main > .wp-block-columns.alignwide .taxonomy-product_cat a {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  padding: 5px 12px;
  border-radius: 999px;
  background: #f1eadf;
  color: #0a3928 !important;
  font-weight: 800;
  text-decoration: none;
}

@media (max-width: 1120px) {
  body.single-product main > .wp-block-columns.alignwide {
    grid-template-columns: minmax(0, 1fr) minmax(400px, .92fr) !important;
  }

  body.single-product main > .wp-block-columns.alignwide > .wp-block-column:nth-child(2) {
    padding: 38px 34px 30px !important;
  }
}

@media (max-width: 920px) {
  body.single-product main > .wp-block-breadcrumbs.alignwide,
  body.single-product main > .wc-block-store-notices.alignwide,
  body.single-product main > .wp-block-columns.alignwide {
    width: min(100%, calc(100% - 40px)) !important;
    margin-right: auto !important;
    margin-left: auto !important;
  }

  body.single-product main > .wp-block-columns.alignwide {
    grid-template-columns: 1fr !important;
    gap: 16px !important;
  }

  body.single-product main > .wp-block-columns.alignwide .woocommerce-product-gallery__image a {
    aspect-ratio: 4 / 3;
  }
}

@media (max-width: 620px) {
  body.single-product main#wp--skip-link--target {
    padding-top: 24px !important;
  }

  body.single-product main > .wp-block-breadcrumbs.alignwide,
  body.single-product main > .wc-block-store-notices.alignwide,
  body.single-product main > .wp-block-columns.alignwide {
    width: min(100%, calc(100% - 28px)) !important;
  }

  body.single-product main > .wp-block-breadcrumbs.alignwide {
    margin-bottom: 20px !important;
  }

  body.single-product .woocommerce-breadcrumb {
    gap: 5px;
    font-size: .78rem !important;
  }

  body.single-product main > .wp-block-columns.alignwide {
    margin-bottom: 28px !important;
  }

  body.single-product main > .wp-block-columns.alignwide > .wp-block-column:first-child {
    padding: 12px !important;
    border-radius: 10px !important;
  }

  body.single-product main > .wp-block-columns.alignwide > .wp-block-column:nth-child(2) {
    padding: 28px 22px 24px !important;
    border-radius: 10px !important;
  }

  body.single-product main > .wp-block-columns.alignwide > .wp-block-column:nth-child(2)::before {
    margin-bottom: 13px;
    font-size: .7rem;
  }

  body.single-product main > .wp-block-columns.alignwide h1.wp-block-post-title {
    margin-bottom: 16px !important;
    font-size: 1.75rem !important;
  }

  body.single-product main > .wp-block-columns.alignwide .wc-block-components-product-price {
    min-height: 44px !important;
    padding: 7px 14px !important;
    font-size: 1.3rem !important;
  }

  body.single-product main > .wp-block-columns.alignwide .wp-block-post-excerpt p {
    font-size: .93rem !important;
    line-height: 1.62 !important;
  }

  body.single-product main > .wp-block-columns.alignwide form.cart,
  body.single-product main > .wp-block-columns.alignwide form.variations_form {
    padding-top: 22px !important;
  }

  body.single-product main > .wp-block-columns.alignwide .woocommerce-variation-add-to-cart,
  body.single-product main > .wp-block-columns.alignwide form.cart:not(.variations_form) {
    grid-template-columns: 150px minmax(0, 1fr);
    gap: 10px !important;
  }

  body.single-product main > .wp-block-columns.alignwide .quantity {
    grid-template-columns: 40px minmax(42px, 1fr) 40px;
    width: 150px !important;
  }

  body.single-product main > .wp-block-columns.alignwide .single_add_to_cart_button {
    padding-right: 14px !important;
    padding-left: 14px !important;
  }
}

@media (max-width: 420px) {
  body.single-product main > .wp-block-columns.alignwide .woocommerce-variation-add-to-cart,
  body.single-product main > .wp-block-columns.alignwide form.cart:not(.variations_form) {
    grid-template-columns: 1fr !important;
  }

  body.single-product main > .wp-block-columns.alignwide .quantity {
    width: 100% !important;
    grid-template-columns: 50px minmax(50px, 1fr) 50px;
  }
}

/* 2026-07-16: checkout layout based on the approved visual reference. */
body.woocommerce-checkout {
  background: #f7f3ea;
}

body.woocommerce-checkout main#wp--skip-link--target {
  padding-top: 0 !important;
}

body.woocommerce-checkout .hps-page-hero {
  padding: 30px 0 32px !important;
}

body.woocommerce-checkout .hps-page-hero .hps-container {
  width: min(1120px, calc(100% - 48px)) !important;
}

body.woocommerce-checkout .hps-page-title {
  max-width: none;
  font-size: clamp(2.35rem, 4vw, 3rem) !important;
}

body.woocommerce-checkout .hps-page-hero .hps-lead {
  max-width: 760px;
  font-size: 1rem;
}

body.woocommerce-checkout .entry-content > .wc-block-store-notices.woocommerce {
  width: min(1120px, calc(100% - 48px)) !important;
  max-width: 1120px !important;
  margin: 22px auto 0 !important;
}

body.woocommerce-checkout .entry-content > .wc-block-store-notices[hidden] {
  display: none !important;
}

body.woocommerce-checkout .woocommerce {
  width: min(1120px, calc(100% - 48px)) !important;
  max-width: 1120px !important;
  margin: 22px auto clamp(64px, 8vw, 94px) !important;
}

body.woocommerce-checkout .woocommerce-notices-wrapper,
body.woocommerce-checkout .woocommerce > .woocommerce-info,
body.woocommerce-checkout .woocommerce > .woocommerce-message,
body.woocommerce-checkout .woocommerce > .woocommerce-error {
  width: 100% !important;
  max-width: none !important;
  margin: 0 0 18px !important;
}

body.woocommerce-checkout .woocommerce-info {
  min-height: 54px;
  padding: 15px 18px 15px 52px !important;
  border: 1px solid #72b4e1 !important;
  border-left-width: 1px !important;
  border-radius: 8px !important;
  background: #f2f9ff !important;
  color: #334b5a !important;
  box-shadow: none !important;
  font-size: .9rem;
  line-height: 1.55;
}

body.woocommerce-checkout .woocommerce-info::before {
  top: 15px !important;
  left: 18px !important;
  color: #1976b6 !important;
}

body.woocommerce-checkout form.checkout.woocommerce-checkout {
  display: grid !important;
  grid-template-columns: minmax(0, 1.55fr) minmax(360px, .92fr) !important;
  gap: 28px !important;
  align-items: start !important;
}

body.woocommerce-checkout form.checkout > .woocommerce-NoticeGroup-checkout {
  grid-column: 1 / -1;
}

body.woocommerce-checkout #customer_details,
body.woocommerce-checkout .hps-checkout-summary {
  min-width: 0;
  border: 1px solid rgba(9, 47, 32, .11) !important;
  border-radius: 8px !important;
  background: #fffdf9 !important;
  box-shadow: 0 18px 48px rgba(31, 47, 37, .08) !important;
}

body.woocommerce-checkout #customer_details {
  grid-column: 1;
  padding: 24px !important;
}

body.woocommerce-checkout .hps-checkout-summary {
  grid-column: 2;
  padding: 24px;
}

body.woocommerce-checkout #customer_details .col-1,
body.woocommerce-checkout #customer_details .col-2 {
  float: none !important;
  width: 100% !important;
}

body.woocommerce-checkout #customer_details .col-2 {
  margin-top: 20px !important;
  padding-top: 20px;
  border-top: 1px solid rgba(9, 47, 32, .10);
}

body.woocommerce-checkout .woocommerce-additional-fields {
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

body.woocommerce-checkout .woocommerce-billing-fields h3,
body.woocommerce-checkout .woocommerce-additional-fields h3,
body.woocommerce-checkout #order_review_heading {
  margin: 0 0 18px !important;
  color: #083c29 !important;
  font-family: Outfit, Inter, sans-serif !important;
  font-size: 1.35rem !important;
  font-weight: 800 !important;
  line-height: 1.2 !important;
  letter-spacing: 0 !important;
}

body.woocommerce-checkout .woocommerce-billing-fields__field-wrapper {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  column-gap: 18px;
}

body.woocommerce-checkout form .form-row {
  float: none !important;
  width: 100% !important;
  margin: 0 0 14px !important;
}

body.woocommerce-checkout #billing_company_field,
body.woocommerce-checkout #billing_country_field,
body.woocommerce-checkout #billing_state_field,
body.woocommerce-checkout #billing_address_1_field,
body.woocommerce-checkout #billing_address_2_field {
  grid-column: 1 / -1;
}

body.woocommerce-checkout form .form-row label {
  margin-bottom: 6px !important;
  color: #0a3928 !important;
  font-size: .83rem !important;
  font-weight: 800 !important;
}

body.woocommerce-checkout form .form-row input.input-text,
body.woocommerce-checkout form .form-row textarea,
body.woocommerce-checkout form .form-row select,
body.woocommerce-checkout .select2-container .select2-selection--single {
  min-height: 44px !important;
  border: 1px solid #cbd6cf !important;
  border-radius: 6px !important;
  background: #fff !important;
}

body.woocommerce-checkout form .form-row input.input-text,
body.woocommerce-checkout form .form-row textarea {
  padding: 10px 12px !important;
}

body.woocommerce-checkout form .form-row textarea {
  min-height: 86px !important;
}

body.woocommerce-checkout .select2-container .select2-selection--single .select2-selection__rendered {
  padding: 7px 36px 7px 12px !important;
  line-height: 28px !important;
}

body.woocommerce-checkout .select2-container .select2-selection--single .select2-selection__arrow {
  min-height: 44px !important;
}

body.woocommerce-checkout #order_review {
  position: static !important;
  top: auto !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

body.woocommerce-checkout .woocommerce-checkout-review-order-table {
  width: 100%;
  margin: 0 0 16px !important;
  border: 1px solid rgba(9, 47, 32, .13) !important;
  border-radius: 7px;
  border-collapse: separate !important;
  border-spacing: 0;
  overflow: hidden;
}

body.woocommerce-checkout .woocommerce-checkout-review-order-table th,
body.woocommerce-checkout .woocommerce-checkout-review-order-table td {
  padding: 11px 10px !important;
  border-top: 1px solid rgba(9, 47, 32, .10) !important;
  font-size: .84rem;
  line-height: 1.45;
  vertical-align: top;
}

body.woocommerce-checkout .woocommerce-checkout-review-order-table thead th {
  border-top: 0 !important;
  background: #f8f5ed;
}

body.woocommerce-checkout .woocommerce-checkout-review-order-table .product-total,
body.woocommerce-checkout .woocommerce-checkout-review-order-table tfoot td {
  text-align: right;
}

body.woocommerce-checkout .woocommerce-checkout-review-order-table tfoot th {
  width: 42%;
}

body.woocommerce-checkout .woocommerce-checkout-review-order-table tfoot td {
  width: 58%;
}

body.woocommerce-checkout .woocommerce-checkout-review-order-table .order-total th,
body.woocommerce-checkout .woocommerce-checkout-review-order-table .order-total td {
  color: #083c29 !important;
  font-family: Outfit, Inter, sans-serif;
  font-size: 1.15rem !important;
  font-weight: 850 !important;
}

body.woocommerce-checkout #shipping_method {
  margin: 0 !important;
}

body.woocommerce-checkout #shipping_method li {
  display: flex !important;
  gap: 8px;
  align-items: flex-start;
  width: 100%;
  margin: 0 0 8px !important;
  text-align: left;
}

body.woocommerce-checkout #shipping_method li label {
  flex: 1 1 auto;
  min-width: 0;
}

body.woocommerce-checkout #shipping_method li:last-child {
  margin-bottom: 0 !important;
}

body.woocommerce-checkout #shipping_method input {
  margin: 3px 0 0 !important;
}

body.woocommerce-checkout #shipping_method label {
  line-height: 1.45;
}

body.woocommerce-checkout #payment {
  border: 1px solid rgba(9, 47, 32, .12) !important;
  border-radius: 7px !important;
  background: #f8f5ed !important;
}

body.woocommerce-checkout #payment ul.payment_methods {
  padding: 14px !important;
  border-bottom: 1px solid rgba(9, 47, 32, .11) !important;
}

body.woocommerce-checkout #payment ul.payment_methods li {
  margin: 0 0 12px !important;
  line-height: 1.5;
}

body.woocommerce-checkout #payment ul.payment_methods li:last-child {
  margin-bottom: 0 !important;
}

body.woocommerce-checkout #payment div.payment_box {
  margin: 10px 0 0 !important;
  padding: 11px 12px !important;
  border-radius: 6px !important;
  background: #fffdf9 !important;
  color: #405249 !important;
  font-size: .8rem;
  line-height: 1.5;
}

body.woocommerce-checkout #payment div.form-row {
  padding: 14px !important;
}

body.woocommerce-checkout #payment .woocommerce-privacy-policy-text {
  color: #59685f;
  font-size: .76rem;
  line-height: 1.55;
}

body.woocommerce-checkout #payment #place_order {
  width: 100% !important;
  min-height: 52px !important;
  margin: 10px 0 0 !important;
  border-radius: 8px !important;
  background: #084b34 !important;
  font-size: 1rem !important;
}

body.woocommerce-checkout #payment #place_order:hover,
body.woocommerce-checkout #payment #place_order:focus-visible {
  background: #073d2b !important;
}

.hps-bank-account {
  color: #083c29;
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-weight: 750;
  overflow-wrap: anywhere;
}

@media (max-width: 960px) {
  body.woocommerce-checkout form.checkout.woocommerce-checkout {
    grid-template-columns: 1fr !important;
  }

  body.woocommerce-checkout #customer_details,
  body.woocommerce-checkout .hps-checkout-summary {
    grid-column: 1;
  }
}

@media (max-width: 640px) {
  body.woocommerce-checkout .woocommerce {
    width: min(100%, calc(100% - 28px)) !important;
    margin-top: 16px !important;
  }

  body.woocommerce-checkout #customer_details,
  body.woocommerce-checkout .hps-checkout-summary {
    padding: 19px !important;
  }

  body.woocommerce-checkout .woocommerce-billing-fields__field-wrapper {
    grid-template-columns: 1fr;
  }

  body.woocommerce-checkout .woocommerce-billing-fields__field-wrapper > * {
    grid-column: 1 !important;
  }

  body.woocommerce-checkout .woocommerce-info {
    padding: 14px 14px 14px 46px !important;
    font-size: .82rem;
  }

  body.woocommerce-checkout .woocommerce-checkout-review-order-table th,
  body.woocommerce-checkout .woocommerce-checkout-review-order-table td {
    padding: 10px 8px !important;
    font-size: .78rem;
  }
}

/* 2026-07-18: native primary menu and product-category hierarchy. */
.hps-topbar__brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

.hps-topbar__brand-name {
  font-weight: 700;
}

.hps-topbar__separator {
  color: rgba(255, 255, 255, .42);
}

.hps-topbar__tagline {
  color: #f2d3b4;
  font-weight: 700;
}

.hps-nav {
  margin-left: auto;
}

.hps-nav__list,
.hps-nav__panel,
.hps-mobile-nav__list,
.hps-mobile-nav__children {
  margin: 0;
  padding: 0;
  list-style: none;
}

.hps-nav__list {
  display: flex;
  align-items: center;
  gap: 2px;
}

.hps-nav__list > li {
  position: relative;
  margin: 0;
}

.hps-nav__parent {
  display: flex;
  align-items: center;
}

.hps-nav__parent-link {
  padding-right: 5px !important;
  border-radius: 6px 0 0 6px !important;
}

.hps-nav__toggle {
  width: 30px;
  min-width: 30px;
  padding: 0 !important;
  border-radius: 0 6px 6px 0 !important;
}

.hps-nav__toggle > span[aria-hidden="true"] {
  display: block;
  font-size: 1rem;
  line-height: 1;
  transition: transform .18s ease;
}

.hps-nav__dropdown.is-open .hps-nav__toggle > span[aria-hidden="true"],
.hps-nav__dropdown:hover .hps-nav__toggle > span[aria-hidden="true"],
.hps-nav__dropdown:focus-within .hps-nav__toggle > span[aria-hidden="true"] {
  transform: rotate(180deg);
}

.hps-nav__dropdown.is-open .hps-nav__panel {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.hps-nav__panel {
  display: grid;
  gap: 2px;
  min-width: 285px;
}

.hps-nav__panel li {
  margin: 0;
}

.hps-nav a[aria-current="page"],
.hps-mobile-nav a[aria-current="page"] {
  color: var(--hps-green-900);
  background: var(--hps-green-100);
}

.hps-mobile-nav__brand {
  display: grid;
  gap: 3px;
  padding: 2px 2px 15px;
  border-bottom: 1px solid var(--hps-line);
}

.hps-mobile-nav__brand strong {
  color: var(--hps-green-950);
  font-family: "Outfit", sans-serif;
  font-size: 1rem;
}

.hps-mobile-nav__brand span {
  color: var(--hps-brown);
  font-size: .78rem;
  font-weight: 750;
  line-height: 1.4;
}

.hps-mobile-nav__list {
  display: grid;
  gap: 5px;
}

.hps-mobile-nav__list > li > a,
.hps-mobile-nav__group-head > a,
.hps-mobile-nav__children a {
  min-height: 46px;
  display: flex;
  align-items: center;
  padding: 10px 13px;
  border-radius: 6px;
  color: var(--hps-green-950);
  font-weight: 750;
  text-decoration: none;
}

.hps-mobile-nav__list > li > a:hover,
.hps-mobile-nav__list > li > a:focus-visible,
.hps-mobile-nav__group-head > a:hover,
.hps-mobile-nav__group-head > a:focus-visible,
.hps-mobile-nav__children a:hover,
.hps-mobile-nav__children a:focus-visible {
  background: var(--hps-green-100);
}

.hps-mobile-nav__group-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 46px;
  align-items: stretch;
  gap: 4px;
}

.hps-mobile-nav__group-head button {
  min-width: 46px;
  min-height: 46px;
  border: 1px solid var(--hps-line);
  border-radius: 6px;
  background: #fff;
  color: var(--hps-green-950);
  cursor: pointer;
}

.hps-mobile-nav__group-head button > span[aria-hidden="true"] {
  display: block;
  font-size: 1.25rem;
  line-height: 1;
  transition: transform .18s ease;
}

.hps-mobile-nav__group.is-open .hps-mobile-nav__group-head button > span[aria-hidden="true"] {
  transform: rotate(45deg);
}

.hps-mobile-nav__children {
  display: none;
  gap: 4px;
  margin: 5px 0 7px 12px;
  padding: 7px;
  border-left: 2px solid var(--hps-brown);
  background: #f6f4ed;
}

.hps-mobile-nav__group.is-open .hps-mobile-nav__children {
  display: grid;
}

.hps-mobile-nav__children a {
  min-height: 42px;
  font-size: .86rem;
}

.hps-empty-category {
  max-width: 760px;
  margin: 32px auto 70px;
  padding: clamp(24px, 5vw, 44px);
  border: 1px solid var(--hps-line);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--hps-shadow-sm);
  text-align: center;
}

.hps-empty-category h2 {
  margin: 0 0 12px;
  color: var(--hps-green-950);
  font-family: "Outfit", sans-serif;
  font-size: clamp(1.55rem, 3vw, 2.1rem);
}

.hps-empty-category p {
  max-width: 620px;
  margin: 0 auto 22px;
  color: var(--hps-muted);
}

.hps-empty-category > div {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}

@media (min-width: 1181px) {
  .hps-nav,
  .hps-header__actions {
    display: flex !important;
  }

  .hps-mobile-toggle,
  .hps-mobile-nav {
    display: none !important;
  }

  .hps-nav a,
  .hps-nav__toggle,
  .hps-header__action {
    padding-right: 8px;
    padding-left: 8px;
    font-size: .79rem;
  }
}

@media (max-width: 1180px) {
  .hps-nav,
  .hps-header__actions {
    display: none !important;
  }

  .hps-mobile-toggle {
    display: inline-flex !important;
    margin-left: auto;
  }

  .hps-mobile-nav {
    position: absolute !important;
    top: calc(100% + 10px) !important;
    right: max(16px, calc((100vw - 1180px) / 2)) !important;
    left: auto !important;
    z-index: 1100;
    width: min(440px, calc(100% - 32px)) !important;
    max-width: 440px !important;
    max-height: calc(100dvh - 180px) !important;
    margin: 0 !important;
    padding: 18px !important;
    overflow-y: auto;
    border: 1px solid var(--hps-line);
    border-radius: 8px;
    background: #fffdf8;
    box-shadow: 0 24px 60px rgba(9, 47, 32, .2);
  }

  .hps-mobile-nav.is-open {
    display: grid !important;
    gap: 14px;
  }

  .hps-mobile-nav__actions {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    padding-top: 14px;
    border-top: 1px solid var(--hps-line);
  }

  .hps-mobile-nav__actions a {
    min-height: 46px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    padding: 8px 11px;
    border-radius: 6px;
    background: var(--hps-green-900);
    color: #fff;
    font-weight: 750;
    text-decoration: none;
  }

  body.hps-menu-open {
    overflow: hidden;
  }
}

@media (min-width: 901px) and (max-width: 1180px) {
  .hps-topbar__inner {
    justify-content: center;
    gap: 6px 18px;
    padding: 7px 0;
  }

  .hps-topbar__items {
    justify-content: center;
  }
}

@media (max-width: 420px) {
  .hps-mobile-nav {
    right: 12px !important;
    width: calc(100% - 24px) !important;
    padding: 14px !important;
  }

  .hps-mobile-nav__actions {
    grid-template-columns: 1fr;
  }

  .hps-empty-category > div {
    display: grid;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hps-nav__toggle > span[aria-hidden="true"],
  .hps-mobile-nav__group-head button > span[aria-hidden="true"] {
    transition: none;
  }
}

/* 2026-07-19: responsive integrity pass for posts, catalog and shared components. */
body.single-post main#wp--skip-link--target {
  margin-top: 0 !important;
  padding-top: 0 !important;
}

body.single-post main#wp--skip-link--target > .wp-block-group.alignfull:first-child {
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}

body.single-post .wp-block-post-content {
  margin-top: 0 !important;
}

body.single-post .wp-block-post-content + .wp-block-group {
  display: none !important;
}

body.single-post .hps-content {
  padding: clamp(48px, 6vw, 78px) 0 !important;
}

body.single-post .hps-prose {
  width: min(780px, calc(100% - 40px)) !important;
  max-width: 780px !important;
  margin-right: auto !important;
  margin-left: auto !important;
}

body.single-post .hps-prose .hps-eyebrow {
  display: block;
  margin-bottom: 16px;
}

body.single-post .hps-prose .hps-page-title {
  max-width: 760px;
  margin: 0 0 24px !important;
  font-size: clamp(2.65rem, 6vw, 4.5rem) !important;
  line-height: 1.02 !important;
  text-wrap: balance;
}

body.single-post .hps-prose .hps-lead {
  max-width: 720px;
  margin: 0 0 36px !important;
  color: #40564b;
  font-size: clamp(1.08rem, 2vw, 1.24rem) !important;
  line-height: 1.7 !important;
}

body.single-post .hps-prose h2 {
  margin: 42px 0 16px !important;
  color: var(--hps-green-950);
  font-size: clamp(1.75rem, 3vw, 2.25rem) !important;
  line-height: 1.12 !important;
  text-wrap: balance;
}

body.single-post .hps-prose p,
body.single-post .hps-prose li {
  color: #52645a;
  font-size: 1.04rem;
  line-height: 1.78;
}

body.single-post .hps-prose ol,
body.single-post .hps-prose ul {
  margin: 18px 0 28px;
  padding-left: 1.4rem;
}

body.single-post .hps-prose li + li {
  margin-top: 8px;
}

body.single-post .wp-block-post-content ~ .wp-block-group.alignwide {
  width: min(780px, calc(100% - 40px)) !important;
  max-width: 780px !important;
  margin: 0 auto !important;
  padding: 0 0 42px !important;
}

body.single-post .wp-block-post-content ~ .wp-block-group.alignwide nav {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  width: 100% !important;
  padding: 22px 0 0 !important;
}

body.single-post .wp-block-post-navigation-link {
  min-width: 0;
}

body.single-post .wp-block-post-navigation-link a {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  color: var(--hps-green-900);
  font-weight: 750;
  line-height: 1.45;
  overflow-wrap: anywhere;
}

body.single-post main#wp--skip-link--target > .wp-block-group.alignwide:last-child {
  width: min(1180px, calc(100% - 40px)) !important;
  max-width: 1180px !important;
  margin: 0 auto !important;
  padding: 58px 0 72px !important;
}

body.single-post main#wp--skip-link--target > .wp-block-group.alignwide:last-child > .wp-block-heading {
  margin: 0 0 24px !important;
  color: var(--hps-copper-dark);
  font-family: Inter, sans-serif;
  font-size: .78rem !important;
  font-weight: 800 !important;
  letter-spacing: .04em !important;
}

body.single-post main#wp--skip-link--target > .wp-block-group.alignwide:last-child .wp-block-post-template {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  list-style: none;
}

body.single-post main#wp--skip-link--target > .wp-block-group.alignwide:last-child .wp-block-post {
  min-width: 0;
  margin: 0 !important;
}

body.single-post main#wp--skip-link--target > .wp-block-group.alignwide:last-child .wp-block-post > .wp-block-group {
  display: flex !important;
  min-height: 190px;
  flex-direction: column !important;
  align-items: flex-start !important;
  justify-content: flex-start !important;
  gap: 20px;
  padding: 22px !important;
  border: 1px solid var(--hps-line) !important;
  border-radius: var(--hps-radius-md);
  background: var(--hps-paper);
  box-shadow: var(--hps-shadow-sm);
}

body.single-post main#wp--skip-link--target > .wp-block-group.alignwide:last-child .wp-block-post-title {
  margin: 0 !important;
  font-family: Outfit, Inter, sans-serif;
  font-size: 1.12rem !important;
  line-height: 1.25 !important;
  letter-spacing: 0 !important;
}

body.single-post main#wp--skip-link--target > .wp-block-group.alignwide:last-child .wp-block-post-title a {
  color: var(--hps-green-950);
  text-decoration: none;
}

body.single-post main#wp--skip-link--target > .wp-block-group.alignwide:last-child .wp-block-post-date {
  margin-top: auto;
  color: var(--hps-muted);
  font-size: .82rem;
  text-align: left !important;
}

body.single-post main#wp--skip-link--target > .wp-block-group.alignwide:last-child .wp-block-post-date a {
  color: inherit;
  text-decoration: none;
}

body.post-type-archive-product main#wp--skip-link--target,
body.tax-product_cat main#wp--skip-link--target {
  min-width: 0;
}

body.post-type-archive-product .wp-block-woocommerce-product-collection,
body.tax-product_cat .wp-block-woocommerce-product-collection,
body.post-type-archive-product .wc-block-product-template,
body.tax-product_cat .wc-block-product-template,
.hps-product-grid {
  min-width: 0;
}

.hps-product-card__title a,
body .wc-block-product .hps-injected-product-title a,
body .wc-block-product .wp-block-post-title a,
.woocommerce ul.products li.product .woocommerce-loop-product__title a {
  overflow-wrap: anywhere;
  word-break: normal;
  hyphens: auto;
}

@media (max-width: 900px) {
  body.single-post main#wp--skip-link--target > .wp-block-group.alignwide:last-child .wp-block-post-template {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hps-footer__grid > *,
  .hps-two-col > *,
  .hps-delivery-band > *,
  .hps-grid > *,
  .hps-article-grid > * {
    min-width: 0;
  }
}

@media (max-width: 680px) {
  html,
  body {
    overflow-x: visible !important;
  }

  .hps-header__inner,
  .hps-container,
  .hps-footer__grid,
  .hps-footer__bottom {
    min-width: 0;
  }

  .hps-section,
  .hps-product-showcase {
    padding-top: 50px !important;
    padding-bottom: 50px !important;
  }

  body.single-post .hps-content {
    padding: 46px 0 36px !important;
  }

  body.single-post .hps-prose {
    width: min(100%, calc(100% - 32px)) !important;
  }

  body.single-post .hps-prose .hps-page-title {
    margin-bottom: 20px !important;
    font-size: clamp(2.2rem, 10.5vw, 2.8rem) !important;
    line-height: 1.04 !important;
    text-wrap: pretty;
  }

  body.single-post .hps-prose .hps-lead {
    margin-bottom: 30px !important;
    font-size: 1.03rem !important;
    line-height: 1.65 !important;
  }

  body.single-post .hps-prose h2 {
    margin-top: 34px !important;
    font-size: 1.75rem !important;
  }

  body.single-post .hps-prose p,
  body.single-post .hps-prose li {
    font-size: .98rem;
    line-height: 1.72;
  }

  body.single-post .wp-block-post-content ~ .wp-block-group.alignwide,
  body.single-post main#wp--skip-link--target > .wp-block-group.alignwide:last-child {
    width: min(100%, calc(100% - 32px)) !important;
  }

  body.single-post .wp-block-post-content ~ .wp-block-group.alignwide nav {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  body.single-post main#wp--skip-link--target > .wp-block-group.alignwide:last-child {
    padding: 44px 0 54px !important;
  }

  body.single-post main#wp--skip-link--target > .wp-block-group.alignwide:last-child .wp-block-post-template {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  body.single-post main#wp--skip-link--target > .wp-block-group.alignwide:last-child .wp-block-post > .wp-block-group {
    min-height: 0;
    gap: 14px;
    padding: 18px !important;
  }

  body.single-post main#wp--skip-link--target > .wp-block-group.alignwide:last-child .wp-block-post-title {
    font-size: 1rem !important;
  }

  body.post-type-archive-product main#wp--skip-link--target > .wp-block-group:has(.wp-block-woocommerce-product-results-count),
  body.tax-product_cat main#wp--skip-link--target > .wp-block-group:has(.wp-block-woocommerce-product-results-count),
  body.post-type-archive-product main#wp--skip-link--target > .wp-block-woocommerce-product-collection.alignwide,
  body.tax-product_cat main#wp--skip-link--target > .wp-block-woocommerce-product-collection.alignwide {
    width: min(100%, calc(100% - 24px)) !important;
    max-width: none !important;
    margin-right: auto !important;
    margin-left: auto !important;
  }

  body.post-type-archive-product main#wp--skip-link--target > .wp-block-group:has(.wp-block-woocommerce-product-results-count),
  body.tax-product_cat main#wp--skip-link--target > .wp-block-group:has(.wp-block-woocommerce-product-results-count) {
    align-items: stretch !important;
    gap: 12px !important;
    margin-top: 26px !important;
    margin-bottom: 20px !important;
  }

  body.post-type-archive-product .wp-block-woocommerce-product-results-count,
  body.tax-product_cat .wp-block-woocommerce-product-results-count {
    font-size: .82rem !important;
    line-height: 1.45;
  }

  body.post-type-archive-product .wp-block-woocommerce-catalog-sorting,
  body.tax-product_cat .wp-block-woocommerce-catalog-sorting,
  body.post-type-archive-product .wp-block-woocommerce-catalog-sorting select,
  body.tax-product_cat .wp-block-woocommerce-catalog-sorting select {
    width: 100% !important;
    max-width: none !important;
  }

  .hps-product-grid,
  .woocommerce ul.products,
  body.post-type-archive-product .wc-block-product-template,
  body.tax-product_cat .wc-block-product-template,
  body.single-product .wp-block-woocommerce-product-collection.alignwide .wc-block-product-template {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 10px !important;
    width: 100% !important;
    max-width: 100% !important;
    margin-right: 0 !important;
    margin-left: 0 !important;
  }

  .hps-product-card,
  .woocommerce ul.products li.product,
  body .wc-block-product {
    min-width: 0 !important;
    min-height: 0 !important;
  }

  .hps-product-card__image,
  .woocommerce ul.products li.product > a.woocommerce-LoopProduct-link,
  body .wc-block-product .wc-block-components-product-image a {
    aspect-ratio: 4 / 3 !important;
  }

  .hps-product-card__body {
    padding: 12px 8px 14px !important;
  }

  .hps-product-card__title,
  body .wc-block-product .hps-injected-product-title,
  body .wc-block-product .wp-block-post-title,
  .woocommerce ul.products li.product .woocommerce-loop-product__title {
    min-height: 0 !important;
    margin: 12px 7px 8px !important;
    font-size: .8rem !important;
    line-height: 1.24 !important;
  }

  .hps-product-card__title a,
  body .wc-block-product .hps-injected-product-title a,
  body .wc-block-product .wp-block-post-title a,
  .woocommerce ul.products li.product .woocommerce-loop-product__title a {
    display: block !important;
    overflow: visible !important;
    -webkit-line-clamp: unset !important;
  }

  .hps-product-card__price,
  .woocommerce ul.products li.product .price,
  body .wc-block-product .wp-block-woocommerce-product-price,
  body .wc-block-product .wc-block-components-product-price {
    min-height: 32px !important;
    margin: auto 6px 10px !important;
    padding: 0 !important;
    font-size: .88rem !important;
    line-height: 1.22 !important;
    white-space: normal !important;
  }

  .woocommerce ul.products li.product .button,
  body .wc-block-product .wp-block-button,
  body .wc-block-product .wp-block-woocommerce-product-button {
    width: 100% !important;
    margin: 0 0 14px !important;
    padding: 0 6px !important;
  }

  .hps-product-card__button,
  .woocommerce ul.products li.product .button,
  body .wc-block-product .wp-block-button__link,
  body .wc-block-product .wc-block-components-product-button__button {
    width: calc(100% - 12px) !important;
    min-width: 0 !important;
    min-height: 42px !important;
    margin-right: auto !important;
    margin-left: auto !important;
    padding: 6px !important;
    font-size: .72rem !important;
    line-height: 1.15 !important;
    white-space: nowrap;
  }

  body .wc-block-product .added_to_cart,
  .woocommerce ul.products li.product .added_to_cart {
    width: calc(100% - 16px);
    min-height: 38px;
    margin: 6px auto 14px !important;
    font-size: .76rem;
    text-align: center;
  }

  .hps-footer {
    padding-top: 44px !important;
  }

  .hps-footer__grid {
    width: min(100%, calc(100% - 32px)) !important;
    gap: 26px !important;
  }

  .hps-footer__bottom {
    width: min(100%, calc(100% - 32px)) !important;
  }
}

@media (max-width: 360px) {
  .hps-product-grid,
  .woocommerce ul.products,
  body.post-type-archive-product .wc-block-product-template,
  body.tax-product_cat .wc-block-product-template,
  body.single-product .wp-block-woocommerce-product-collection.alignwide .wc-block-product-template {
    grid-template-columns: 1fr !important;
    gap: 16px !important;
  }

  .hps-product-card__title,
  body .wc-block-product .hps-injected-product-title,
  body .wc-block-product .wp-block-post-title,
  .woocommerce ul.products li.product .woocommerce-loop-product__title {
    margin: 16px 16px 8px !important;
    font-size: .98rem !important;
  }

  .hps-product-card__price,
  .woocommerce ul.products li.product .price,
  body .wc-block-product .wp-block-woocommerce-product-price,
  body .wc-block-product .wc-block-components-product-price {
    font-size: 1rem !important;
  }

  .hps-product-card__button,
  .woocommerce ul.products li.product .button,
  body .wc-block-product .wp-block-button__link,
  body .wc-block-product .wc-block-components-product-button__button {
    width: auto !important;
    min-width: 168px !important;
    padding-right: 16px !important;
    padding-left: 16px !important;
    font-size: .88rem !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  body.single-post main#wp--skip-link--target > .wp-block-group.alignwide:last-child .wp-block-post > .wp-block-group {
    transition: none !important;
  }
}

/* 2026-07-19: final catalog alignment and cart control pass. */
body.home .hps-product-grid--random {
  display: flex !important;
  flex-wrap: wrap !important;
  justify-content: center !important;
  align-items: stretch !important;
  gap: 22px !important;
}

body.home .hps-product-grid--random > .hps-product-card {
  flex: 0 1 calc((100% - 66px) / 4) !important;
  width: calc((100% - 66px) / 4) !important;
  max-width: 270px !important;
}

.hps-header__actions,
.hps-header__action {
  flex-shrink: 0 !important;
}

.hps-header__action {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 7px !important;
  white-space: nowrap !important;
}

.hps-cart-count {
  display: inline-grid !important;
  flex: 0 0 24px !important;
  width: 24px !important;
  min-width: 24px !important;
  height: 24px !important;
  place-items: center !important;
  line-height: 1 !important;
}

@media (max-width: 900px) {
  body.home .hps-product-grid--random > .hps-product-card {
    flex-basis: calc((100% - 18px) / 2) !important;
    width: calc((100% - 18px) / 2) !important;
    max-width: 300px !important;
  }
}

@media (max-width: 680px) {
  body.home .hps-product-grid--random {
    gap: 10px !important;
  }

  body.home .hps-product-grid--random > .hps-product-card {
    flex-basis: calc((100% - 10px) / 2) !important;
    width: calc((100% - 10px) / 2) !important;
    max-width: 260px !important;
  }

  body .wc-block-product .wp-block-button,
  body .wc-block-product .wp-block-woocommerce-product-button {
    box-sizing: border-box !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 0 14px !important;
    padding: 0 8px !important;
  }

  .hps-product-card__button,
  .woocommerce ul.products li.product .button,
  body .wc-block-product .wp-block-button__link,
  body .wc-block-product .wc-block-components-product-button__button {
    display: inline-flex !important;
    box-sizing: border-box !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    min-height: 44px !important;
    height: auto !important;
    margin-right: auto !important;
    margin-left: auto !important;
    padding: 8px 6px !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: .72rem !important;
    line-height: 1.15 !important;
    text-align: center !important;
    white-space: normal !important;
    overflow-wrap: normal !important;
    word-break: normal !important;
  }

  .hps-product-card__button {
    width: calc(100% - 2px) !important;
  }

  body.single-product .wp-block-woocommerce-product-collection.alignwide .wc-block-product {
    overflow: hidden !important;
  }
}

@media (max-width: 360px) {
  body.home .hps-product-grid--random > .hps-product-card {
    flex-basis: min(100%, 320px) !important;
    width: min(100%, 320px) !important;
    max-width: 320px !important;
  }

  .hps-product-card__button,
  .woocommerce ul.products li.product .button,
  body .wc-block-product .wp-block-button__link,
  body .wc-block-product .wc-block-components-product-button__button {
    width: 100% !important;
    min-width: 0 !important;
  }
}

/* HPS PRODUCT IMAGE NORMALIZATION 2026-08-04 START */

/* Product photographs: one complete, centered frame across every catalog surface. */
.hps-product-card__image,
body .wc-block-product .wc-block-components-product-image {
    aspect-ratio: 4 / 3 !important;
    display: grid !important;
    place-items: center !important;
    box-sizing: border-box !important;
    width: 100% !important;
    min-width: 0 !important;
    overflow: hidden !important;
    padding: clamp(8px, 1.2vw, 14px) !important;
    background: var(--hps-paper, #fffdf8) !important;
}

.hps-product-card__image > a,
body .wc-block-product .wc-block-components-product-image > a {
    display: grid !important;
    place-items: center !important;
    width: 100% !important;
    height: 100% !important;
    min-width: 0 !important;
    overflow: hidden !important;
}

.hps-product-card__image img,
body .wc-block-product .wc-block-components-product-image img,
body .wc-block-product .wc-block-components-product-image img[style] {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    max-width: 100% !important;
    max-height: 100% !important;
    margin: auto !important;
    object-fit: contain !important;
    object-position: center !important;
    transform: none !important;
}

.hps-product-card:hover .hps-product-card__image img,
body .wc-block-product:hover .wc-block-components-product-image img {
    transform: none !important;
}

/* Classic WooCommerce fallback: size only the image, never the link containing text. */
body .woocommerce ul.products li.product > a.woocommerce-LoopProduct-link {
    aspect-ratio: auto !important;
    display: block !important;
    overflow: visible !important;
    background: transparent !important;
}

body .woocommerce ul.products li.product img.attachment-woocommerce_thumbnail {
    display: block !important;
    box-sizing: border-box !important;
    width: 100% !important;
    height: auto !important;
    aspect-ratio: 4 / 3 !important;
    margin: 0 !important;
    padding: clamp(8px, 1.2vw, 14px) !important;
    object-fit: contain !important;
    object-position: center !important;
    background: var(--hps-paper, #fffdf8) !important;
    transform: none !important;
}

/* Single product: remove the tinted breadcrumb band and preserve the whole photograph. */
body.single-product main#wp--skip-link--target {
    background: var(--hps-cream, #f7f3ea) !important;
    background-image: none !important;
}

body.single-product .wp-block-woocommerce-breadcrumbs,
body.single-product .wc-block-breadcrumbs,
body.single-product .woocommerce-breadcrumb,
body.single-product .hps-breadcrumbs {
    background: transparent !important;
    background-image: none !important;
    box-shadow: none !important;
}

body.single-product main#wp--skip-link--target .wp-block-woocommerce-product-image-gallery,
body.single-product main#wp--skip-link--target .woocommerce-product-gallery,
body.single-product main#wp--skip-link--target .woocommerce-product-gallery__wrapper,
body.single-product main#wp--skip-link--target .woocommerce-product-gallery__image,
body.single-product .wp-block-woocommerce-product-image-gallery,
body.single-product .woocommerce-product-gallery,
body.single-product .woocommerce-product-gallery__wrapper,
body.single-product .woocommerce-product-gallery__image {
    height: auto !important;
    min-height: 0 !important;
}

body.single-product main#wp--skip-link--target .woocommerce-product-gallery__image > a,
body.single-product .woocommerce-product-gallery__image > a {
    display: grid !important;
    place-items: center !important;
    box-sizing: border-box !important;
    width: 100% !important;
    height: auto !important;
    aspect-ratio: 1 / 1 !important;
    overflow: hidden !important;
    padding: clamp(12px, 2vw, 24px) !important;
    background: var(--hps-paper, #fffdf8) !important;
}

body.single-product main#wp--skip-link--target .woocommerce-product-gallery__image > a > img,
body.single-product main#wp--skip-link--target .woocommerce-product-gallery__image img.wp-post-image,
body.single-product main#wp--skip-link--target .woocommerce-product-gallery__image img[style],
body.single-product .woocommerce-product-gallery__image > a > img,
body.single-product .woocommerce-product-gallery__image img.wp-post-image,
body.single-product .woocommerce-product-gallery__image img[style] {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    max-width: 100% !important;
    max-height: 100% !important;
    margin: auto !important;
    object-fit: contain !important;
    object-position: center !important;
    transform: none !important;
}

/* SKU and category use equal metadata tiles without nested pills. */
body.single-product main#wp--skip-link--target .wp-block-woocommerce-product-meta > .wp-block-group,
body.single-product .wp-block-woocommerce-product-meta > .wp-block-group {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    align-items: stretch !important;
    gap: 10px !important;
    width: 100% !important;
}

body.single-product main#wp--skip-link--target .wp-block-woocommerce-product-meta > .wp-block-group > *,
body.single-product .wp-block-woocommerce-product-meta > .wp-block-group > * {
    display: flex !important;
    align-items: center !important;
    align-content: center !important;
    flex-wrap: wrap !important;
    gap: 6px !important;
    box-sizing: border-box !important;
    width: 100% !important;
    min-width: 0 !important;
    min-height: 46px !important;
    margin: 0 !important;
    padding: 10px 12px !important;
    border: 0 !important;
    border-radius: var(--hps-radius, 8px) !important;
    background: #f1eadf !important;
    box-shadow: none !important;
}

body.single-product main#wp--skip-link--target .wp-block-woocommerce-product-meta > .wp-block-group > * a,
body.single-product main#wp--skip-link--target .wp-block-woocommerce-product-meta > .wp-block-group > * .sku,
body.single-product .wp-block-woocommerce-product-meta > .wp-block-group > * a,
body.single-product .wp-block-woocommerce-product-meta > .wp-block-group > * .sku {
    min-width: 0 !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
}

@media (max-width: 520px) {
    body.single-product main#wp--skip-link--target .wp-block-woocommerce-product-meta > .wp-block-group,
    body.single-product .wp-block-woocommerce-product-meta > .wp-block-group {
        grid-template-columns: minmax(0, 1fr) !important;
    }

    body.single-product main#wp--skip-link--target .woocommerce-product-gallery__image > a,
    body.single-product .woocommerce-product-gallery__image > a {
        aspect-ratio: 1 / 1 !important;
        padding: 12px !important;
    }
}

/* HPS PRODUCT IMAGE NORMALIZATION 2026-08-04 END */
