:root {
  --hp-bg: #ffffff;
  --hp-text: #354945;
  --hp-muted: #6a6a6a;
  --hp-gold: #d8ac7b;
  --hp-green: #154c41;
  --hp-border: #e4ebe9;
  --hp-container: 1200px;
  --hp-font: 'Montserrat', sans-serif;
  --hp-radius-sm: 4px;
  --hp-radius-md: 8px;
  --hp-btn-height: 46px;
  --hp-input-height: 46px;
  --hp-focus-ring: 0 0 0 3px rgba(216, 172, 123, 0.28);
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--hp-font);
  color: var(--hp-text);
  background: var(--hp-bg);
  line-height: 1.6;
  font-size: 16px;
  font-weight: 400;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body,
.woocommerce,
.wp-site-blocks {
  color: var(--hp-text);
  font-family: var(--hp-font);
}

a {
  color: inherit;
  text-decoration: none;
  transition: color .2s ease, opacity .2s ease;
}

a:hover {
  color: var(--hp-gold);
}

p {
  margin: 0 0 16px;
}

h1, h2, h3, h4, h5, h6 {
  margin: 0 0 14px;
  color: var(--hp-text);
  line-height: 1.25;
  font-weight: 500;
}

h1 { font-size: clamp(30px, 4vw, 44px); letter-spacing: .04em; }
h2 { font-size: clamp(26px, 3vw, 36px); letter-spacing: .03em; }
h3 { font-size: clamp(22px, 2.4vw, 30px); letter-spacing: .02em; }
h4 { font-size: 22px; }
h5 { font-size: 18px; }
h6 { font-size: 16px; }

ul, ol {
  margin: 0 0 18px;
  padding-left: 22px;
}

li {
  margin-bottom: 6px;
}

img { max-width: 100%; display: block; }

/* Project rule: no rounded corners anywhere */
.hp-header *,
.hp-main *,
.hp-footer * {
  border-radius: 0 !important;
}

table {
  width: 100%;
  border-collapse: collapse;
  border: 1px solid var(--hp-border);
}

table th,
table td {
  border-bottom: 1px solid var(--hp-border);
  padding: 12px;
  text-align: left;
  vertical-align: top;
}

table th {
  font-weight: 500;
}

input,
select,
textarea,
button {
  font: inherit;
}

input[type='text'],
input[type='email'],
input[type='password'],
input[type='search'],
input[type='tel'],
input[type='number'],
input[type='url'],
select,
textarea,
.woocommerce form .form-row input.input-text,
.woocommerce form .form-row textarea {
  width: 100%;
  min-height: var(--hp-input-height);
  border: 1px solid var(--hp-border);
  border-radius: var(--hp-radius-sm);
  background: #fff;
  color: var(--hp-text);
  padding: 10px 12px;
}

textarea,
.woocommerce form .form-row textarea {
  min-height: 120px;
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus,
button:focus,
.woocommerce a.button:focus,
.woocommerce button.button:focus,
.woocommerce input.button:focus {
  outline: none;
  border-color: var(--hp-gold);
  box-shadow: var(--hp-focus-ring);
}

button,
input[type='submit'],
input[type='button'],
input[type='reset'],
.wp-element-button,
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce #respond input#submit,
.woocommerce #review_form #respond .form-submit input {
  border: 1px solid var(--hp-green);
  background: var(--hp-green);
  color: #fff;
  text-transform: uppercase;
  letter-spacing: .08em;
  font-size: 12px;
  font-weight: 500;
  line-height: 1;
  min-height: var(--hp-btn-height);
  padding: 15px;
  border-radius: var(--hp-radius-sm);
  transition: background .2s ease, border-color .2s ease, color .2s ease;
  cursor: pointer;
}

button:hover,
input[type='submit']:hover,
input[type='button']:hover,
input[type='reset']:hover,
.wp-element-button:hover,
.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover,
.woocommerce #respond input#submit:hover,
.woocommerce #review_form #respond .form-submit input:hover {
  background: var(--hp-gold);
  border-color: var(--hp-gold);
  color: #fff;
}

.woocommerce-info,
.woocommerce-message,
.woocommerce-error,
.wp-block-woocommerce-notices .wc-block-components-notice-banner {
  border: 1px solid var(--hp-border);
  border-left: 4px solid var(--hp-gold);
  background: #fff;
  color: var(--hp-text);
  padding: 14px 16px;
  margin: 0 0 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.woocommerce-info::before,
.woocommerce-message::before,
.woocommerce-error::before {
  content: none !important;
  display: none !important;
}

.woocommerce-info .button,
.woocommerce-message .button,
.woocommerce-error .button {
  float: none;
  margin: 0;
  flex: 0 0 auto;
}

.woocommerce a.wc-forward,
.woocommerce-message .button.wc-forward {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  line-height: 1.2;
}

.wc-block-components-button.wp-element-button.wc-block-cart__submit-button.contained {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 100% !important;
  min-height: 64px !important;
  padding: 14px 28px !important;
  font-size: 15px !important;
  line-height: 1.2 !important;
  text-transform: uppercase;
  letter-spacing: .08em;
  border: 1px solid var(--hp-green) !important;
  background: var(--hp-green) !important;
  color: #fff !important;
}

.wc-block-components-button.wp-element-button.wc-block-cart__submit-button.contained .wc-block-components-button__text {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  width: 100%;
  line-height: 1.3 !important;
  white-space: normal;
  text-align: center;
}

.wc-block-components-button.wp-element-button.wc-block-cart__submit-button.contained .wc-block-components-button__text > span,
.wc-block-components-button.wp-element-button.wc-block-cart__submit-button.contained span {
  display: inline !important;
  line-height: 1.3 !important;
}

.wc-block-components-button.wp-element-button.wc-block-cart__submit-button.contained:hover {
  border-color: var(--hp-gold) !important;
  background: var(--hp-gold) !important;
  color: #fff !important;
}

.wc-block-components-radio-control__input,
.wc-block-components-checkbox__input {
  -webkit-appearance: none !important;
  appearance: none !important;
  width: 18px !important;
  height: 18px !important;
  min-width: 18px !important;
  min-height: 18px !important;
  border: 1px solid var(--hp-border) !important;
  border-radius: 0 !important;
  background: #fff !important;
  box-shadow: none !important;
  outline: none !important;
}

.wc-block-components-radio-control__input:checked,
.wc-block-components-checkbox__input:checked {
  border-color: var(--hp-green) !important;
  background-color: var(--hp-green) !important;
  box-shadow: none !important;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='none' stroke='%23ffffff' stroke-width='2.2' d='M3 8.5l3 3L13 4.5'/%3E%3C/svg%3E") !important;
  background-repeat: no-repeat !important;
  background-position: center !important;
  background-size: 12px 12px !important;
}

.wc-block-components-radio-control__input:checked::before,
.wc-block-components-checkbox__input:checked::before,
.wc-block-components-radio-control__input:checked::after,
.wc-block-components-checkbox__input:checked::after {
  content: none !important;
}

.woocommerce-error {
  border-left-color: #b54a4a;
}

.woocommerce-message {
  border-left-color: var(--hp-green);
}

@media (max-width: 767px) {
  .woocommerce-info,
  .woocommerce-message,
  .woocommerce-error {
    flex-direction: column;
    align-items: flex-start;
  }

  .woocommerce-info .button,
  .woocommerce-message .button,
  .woocommerce-error .button {
    width: 100%;
  }
}

.hp-container {
  width: min(100% - 48px, var(--hp-container));
  margin-inline: auto;
}

.hp-main { padding-top: 80px; }

.hp-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  border-bottom: 1px solid var(--hp-border);
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(6px);
}

.hp-header__inner {
  min-height: 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.hp-logo {
  display: inline-flex;
  align-items: center;
}

.hp-logo__img {
  display: block;
  width: auto;
  height: auto;
  max-width: 100%;
}

.hp-logo__img--header {
  width: 128px;
}

.hp-logo__img--footer {
  width: 187px;
}

.hp-logo--light { color: #fff; }

.hp-menu {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 28px;
}

.hp-menu a {
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hp-menu a:hover { color: var(--hp-gold); }

.hp-header__actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.hp-icon-btn {
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--hp-border);
  border-radius: 999px;
  position: relative;
}

.hp-cart-count {
  position: absolute;
  top: -4px;
  right: -4px;
  width: 16px;
  height: 16px;
  display: grid;
  place-content: center;
  font-size: 10px;
  color: #fff;
  background: var(--hp-gold);
  border-radius: 50%;
}

.hp-mobile-toggle {
  display: none;
  border: 0;
  background: transparent;
  padding: 0;
}

.hp-mobile-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--hp-text);
  margin: 4px 0;
}

.hp-mobile-nav {
  border-top: 1px solid var(--hp-border);
  padding: 12px 24px 20px;
  background: #fff;
}

.hp-menu--mobile {
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
}

.hp-section {
  margin-top: 48px;
}

.hp-section__head h2,
.hp-shop__header h1,
.hp-page h1,
.hp-about h2 {
  margin: 0;
  font-size: clamp(30px, 4vw, 44px);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--hp-text);
  font-weight: 500;
}

.hp-section__head--between {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.hp-link-inline {
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

/* --- Home page (React Home.tsx parity) --- */
.hp-home-react {
  background: #fff;
}

.hp-home-react__container {
  width: min(100% - 48px, 1200px);
  margin-inline: auto;
}

.hp-home-react__container--hero {
  max-width: 1200px;
}

.hp-home-react__container--wide {
  width: min(100% - 48px, 1200px);
}

.hp-home-react__hero {
  position: relative;
  overflow: hidden;
}

.hp-home-react__hero-main {
  position: relative;
  aspect-ratio: 1200 / 402;
}

.hp-home-react__hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity .45s ease;
}

.hp-home-react__hero-slide.is-active {
  opacity: 1;
}

.hp-home-react__hero-slide > a,
.hp-home-react__hero-slide picture {
  display: block;
  width: 100%;
  height: 100%;
}

.hp-home-react__hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hp-home-react__hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(to top, rgba(0, 0, 0, .5), transparent);
}

.hp-home-react__hero-copy {
  position: absolute;
  bottom: 48px;
  left: 48px;
  right: 48px;
  z-index: 2;
  color: #fff;
}

.hp-home-react__hero-copy h2 {
  margin: 0 0 12px;
  font-size: clamp(36px, 5vw, 58px);
  letter-spacing: .08em;
  text-transform: uppercase;
  font-weight: 500;
  color: #fff;
}

.hp-home-react__hero-copy p {
  margin: 0;
  font-size: clamp(18px, 2.5vw, 24px);
  letter-spacing: .05em;
  opacity: .9;
}

.hp-home-react__hero-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  width: 48px;
  height: 48px;
  border: 1px solid rgba(255, 255, 255, .2);
  background: rgba(255, 255, 255, .1);
  color: #fff;
  font-size: 30px;
  line-height: 1;
}

.hp-home-react__hero-arrow--prev {
  left: 16px;
}

.hp-home-react__hero-arrow--next {
  right: 16px;
}

.hp-home-react__hero-thumbs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.hp-home-react__hero-thumb {
  position: relative;
  aspect-ratio: 300 / 104;
  border: 0;
  padding: 0;
  opacity: .6;
}

.hp-home-react__hero-thumb.is-active {
  opacity: 1;
}

.hp-home-react__hero-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hp-home-react__hero-thumb-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, .4), transparent);
}

.hp-home-react__hero-thumb.is-active::before {
  content: '';
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
  background: var(--hp-gold);
  z-index: 2;
}

.hp-home-react__section {
  padding-top: 48px;
}

.hp-home-react__section-head {
  margin-bottom: 32px;
}

.hp-home-react__section-head h2 {
  margin: 0;
  font-size: clamp(30px, 4vw, 44px);
  letter-spacing: .08em;
  text-transform: uppercase;
}

.hp-home-react__section-head--between {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.hp-home-react__catalog-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.hp-home-react__categories {
  width: min(100% - 48px, 1200px);
  margin-inline: auto;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.hp-home-react__category-card {
  position: relative;
  min-height: 500px;
  overflow: hidden;
}

.hp-home-react__category-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .7s ease;
}

.hp-home-react__category-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, #154c41 0%, rgba(21, 76, 65, .6) 30%, transparent 80%);
}

.hp-home-react__category-card span {
  position: absolute;
  z-index: 2;
  left: 32px;
  right: 32px;
  bottom: 32px;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: .08em;
  font-size: clamp(24px, 3vw, 34px);
}

.hp-home-react__categories:hover .hp-home-react__category-card img {
  opacity: .4;
}

.hp-home-react__categories .hp-home-react__category-card:hover img {
  opacity: 1;
  transform: scale(1.08);
}

.hp-home-react__about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.hp-home-react__about-grid p {
  color: var(--hp-text);
  margin: 0 0 24px;
}

.hp-home-react__about-image {
  height: 600px;
  overflow: hidden;
}

.hp-home-react__about-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hp-home-react__blog-filter {
  display: flex;
  gap: 16px;
  margin-bottom: 32px;
  overflow-x: auto;
  padding-bottom: 2px;
}

.hp-home-react__blog-filter-btn {
  border: 1px solid var(--hp-text);
  background: transparent;
  color: var(--hp-text);
  padding: 8px 24px;
  min-height: auto;
  font-size: 12px;
  letter-spacing: .12em;
  text-transform: uppercase;
  white-space: nowrap;
}

.hp-home-react__blog-filter-btn:hover,
.hp-home-react__blog-filter-btn.is-active {
  background: var(--hp-green);
  border-color: var(--hp-green);
  color: #fff;
}

.hp-home-react__blog-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.hp-home-react__blog-card {
  border: 1px solid var(--hp-border);
  border-left-width: 0;
}

.hp-home-react__blog-card:first-child {
  border-left-width: 1px;
}

.hp-home-react__blog-media {
  position: relative;
  height: 320px;
  overflow: hidden;
}

.hp-home-react__blog-media img,
.hp-home-react__blog-placeholder {
  width: 100%;
  height: 100%;
}

.hp-home-react__blog-media img {
  object-fit: cover;
  transition: transform .7s ease;
}

.hp-home-react__blog-placeholder {
  background: #efefef;
}

.hp-home-react__blog-card:hover .hp-home-react__blog-media img {
  transform: scale(1.08);
}

.hp-home-react__blog-body {
  background: #fff;
  padding: 24px;
}

.hp-home-react__blog-date {
  margin: 0 0 8px;
  color: var(--hp-gold);
  text-transform: uppercase;
  letter-spacing: .08em;
  font-size: 12px;
}

.hp-home-react__blog-body h3 {
  margin: 0 0 8px;
  color: var(--hp-text);
  text-transform: uppercase;
  letter-spacing: .06em;
  font-size: clamp(18px, 2vw, 22px);
}

.hp-home-react__blog-body p {
  margin: 0;
  color: rgba(53, 73, 69, .7);
  font-size: 14px;
  line-height: 1.65;
}

.hp-hero {
  margin-top: 0;
}

.hp-hero__viewport {
  position: relative;
  overflow: hidden;
  height: 402px;
}

.hp-hero__slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity .45s ease;
}

.hp-hero__slide.is-active { opacity: 1; }
.hp-hero__slide img { width: 100%; height: 100%; object-fit: cover; }
.hp-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,.55), transparent 55%);
}

.hp-hero__content {
  position: absolute;
  z-index: 2;
  left: 48px;
  right: 48px;
  bottom: 44px;
  color: #fff;
}

.hp-hero__content h2 {
  margin: 0 0 12px;
  font-size: clamp(36px, 5vw, 58px);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 500;
}

.hp-hero__content p {
  margin: 0;
  font-size: clamp(18px, 2.5vw, 24px);
  letter-spacing: 0.05em;
}

.hp-hero__arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border: 1px solid rgba(255,255,255,.3);
  background: rgba(255,255,255,.12);
  color: #fff;
  font-size: 30px;
  cursor: pointer;
}

.hp-hero__arrow--prev { left: 16px; }
.hp-hero__arrow--next { right: 16px; }

.hp-hero__thumbs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.hp-thumb {
  height: 104px;
  border: 0;
  padding: 0;
  opacity: .6;
  position: relative;
}

.hp-thumb.is-active { opacity: 1; }
.hp-thumb img { width: 100%; height: 100%; object-fit: cover; }
.hp-thumb.is-active::before {
  content: '';
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
  background: var(--hp-gold);
}

.hp-categories {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.hp-category-card {
  position: relative;
  min-height: 420px;
  overflow: hidden;
}

.hp-category-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .7s ease;
}

.hp-category-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, var(--hp-green), rgba(21, 76, 65, .35) 36%, transparent 72%);
}

.hp-category-card span {
  position: absolute;
  z-index: 2;
  left: 32px;
  bottom: 32px;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: clamp(24px, 3vw, 34px);
}

.hp-category-card:hover img { transform: scale(1.06); }

.hp-products-grid,
ul.products {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 32px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.hp-product-card__link {
  display: block;
}

.woocommerce ul.products li.product a img {
  object-fit: scale-down;
}

.hp-product-card__media {
  position: relative;
  overflow: hidden;
  display: block;
  width: 100%;
  aspect-ratio: 3 / 4;
  background: #f5f5f5;
  display: flex;
}

.hp-product-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform .7s ease;
}

.hp-product-card__media-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0);
  transition: background-color .5s ease;
}

.hp-product-card__body {
  display: block;
  margin-top: 16px;
}

.hp-product-card__category {
  display: block;
  margin: 0 0 8px;
  font-size: 12px;
  line-height: 1.35;
  color: var(--hp-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.hp-product-card__category a {
  color: inherit;
}

.hp-product-card__title {
  display: block;
  margin: 0 0 10px;
  font-size: 18px;
  line-height: 1.35;
  font-weight: 400;
  color: var(--hp-text);
}

.hp-product-card__price {
  display: flex;
  align-items: baseline;
  gap: 12px;
  font-size: 18px;
  line-height: 1;
  color: var(--hp-text);
}

.hp-product-card__price del {
  font-size: 16px;
  line-height: 1;
  color: var(--hp-muted);
  opacity: 1;
}

.hp-product-card__price del .woocommerce-Price-amount {
  text-decoration-thickness: 1px;
}

.hp-product-card__price ins {
  text-decoration: none;
}

.hp-btn {
  border: 1px solid var(--hp-green);
  background: var(--hp-green);
  color: #fff;
  text-transform: uppercase;
  letter-spacing: .08em;
  font-size: 11px;
  line-height: 1;
  min-height: 40px;
  padding: 0 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.hp-btn:hover {
  background: var(--hp-gold);
  border-color: var(--hp-gold);
}

.hp-btn--outline {
  background: transparent;
  color: var(--hp-text);
  border-color: var(--hp-text);
}

.hp-btn--outline:hover {
  color: #fff;
  background: var(--hp-text);
  border-color: var(--hp-text);
}

.hp-about {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.hp-about p { color: var(--hp-text); margin: 0 0 18px; }
.hp-about__image img { min-height: 520px; width: 100%; object-fit: cover; }

.hp-blog-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.hp-blog-card {
  border: 1px solid var(--hp-border);
  border-left-width: 0;
}

.hp-blog-card:first-child { border-left-width: 1px; }
.hp-blog-card img { width: 100%; height: 300px; object-fit: cover; }
.hp-blog-card__body { padding: 24px; }
.hp-blog-card__date {
  margin: 0 0 8px;
  color: var(--hp-gold);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 12px;
}

.hp-blog-card h3 {
  margin: 0 0 8px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 22px;
  font-weight: 500;
}

.hp-blog-card p { margin: 0; color: #4d5f5b; }

.hp-footer {
  margin-top: 64px;
  background: var(--hp-green);
  color: #fff;
}

.hp-footer__grid {
  padding: 64px 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 48px;
}

.hp-footer h3 {
  margin: 0 0 16px;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .12em;
}

.hp-footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
}

.hp-footer__muted {
  color: #e4ebe9;
  margin: 14px 0 0;
  max-width: 320px;
}

.hp-footer a:hover { color: var(--hp-gold); }

.hp-footer__bottom {
  border-top: 1px solid rgba(228, 235, 233, .22);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 24px 0;
  font-size: 14px;
}

.hp-footer__policies { display: flex; gap: 18px; }

.hp-page { padding: 42px 0; }
.hp-content { max-width: 880px; }


.hp-page .page-title,
.hp-page .entry-title,
.search .page-title,
.archive .page-title,
.error404 .page-title {
  text-transform: uppercase;
  letter-spacing: .06em;
  margin-bottom: 22px;
}

.hp-page .entry-content,
.hp-page .entry-summary {
  color: var(--hp-text);
}

.hp-post-grid {
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.hp-post-card {
  border: 1px solid var(--hp-border);
  background: #fff;
  overflow: hidden;
}

.hp-post-card__media {
  display: block;
  aspect-ratio: 16 / 10;
  background: #efefef;
}

.hp-post-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hp-post-card__body {
  padding: 20px;
}

.hp-post-card__date {
  margin: 0 0 12px;
  font-size: 12px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--hp-muted);
}

.hp-post-card h2,
.hp-post-card h3 {
  text-transform: uppercase;
  letter-spacing: .04em;
  margin-bottom: 12px;
}

.search-form {
  display: flex;
  gap: 10px;
  align-items: stretch;
  margin-bottom: 20px;
}

.search-form label {
  flex: 1;
}

.search-form .search-submit {
  white-space: nowrap;
}

.error404 .hp-content {
  max-width: 760px;
}

.error404 .hp-content p {
  color: var(--hp-muted);
}

.woocommerce nav.woocommerce-pagination ul {
  border: 0;
  display: flex;
  gap: 8px;
}

.woocommerce nav.woocommerce-pagination ul li {
  border: 0;
}

.woocommerce nav.woocommerce-pagination ul li a,
.woocommerce nav.woocommerce-pagination ul li span {
  border: 1px solid var(--hp-border);
  min-width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--hp-text);
}

.woocommerce nav.woocommerce-pagination ul li span.current,
.woocommerce nav.woocommerce-pagination ul li a:hover {
  border-color: var(--hp-green);
  background: var(--hp-green);
  color: #fff;
}

.woocommerce .quantity .qty {
  min-height: 42px;
  border: 1px solid var(--hp-border);
  border-radius: var(--hp-radius-sm);
}

.woocommerce table.shop_table,
.woocommerce table.shop_table td,
.woocommerce table.shop_table th {
  border-color: var(--hp-border);
}

.hp-shop .woocommerce-result-count,
.hp-shop .woocommerce-ordering { margin: 0; }

.hp-shop__toolbar {
  margin-top: 12px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  border-top: 1px solid var(--hp-border);
  border-bottom: 1px solid var(--hp-border);
  padding: 12px 0;
}

.hp-single-product .product {
  display: grid;
  grid-template-columns: minmax(300px, 480px) 1fr;
  gap: 48px;
}

.hp-single-product .summary h1 {
  font-size: clamp(30px, 4vw, 42px);
  text-transform: none;
  letter-spacing: 0.02em;
  margin-bottom: 12px;
}

.hp-single-product .price {
  color: var(--hp-text);
  font-size: 36px;
  margin-bottom: 18px;
}

.hp-single-product .quantity .qty {
  height: 42px;
  border: 1px solid var(--hp-border);
}

.hp-single-product form.cart { display: flex; gap: 12px; align-items: center; }

.hp-cart-page table,
.hp-checkout-page .woocommerce table,
.hp-account-page .woocommerce table,
body.woocommerce-cart table.shop_table,
body.woocommerce-checkout table.shop_table,
body.woocommerce-account table.shop_table,
body.woocommerce-cart .woocommerce table,
body.woocommerce-checkout .woocommerce table,
body.woocommerce-account .woocommerce table {
  width: 100%;
  border-collapse: collapse;
  border: 1px solid var(--hp-border);
}

.hp-cart-page th,
.hp-cart-page td,
.hp-checkout-page th,
.hp-checkout-page td,
.hp-account-page th,
.hp-account-page td,
body.woocommerce-cart table.shop_table th,
body.woocommerce-cart table.shop_table td,
body.woocommerce-checkout table.shop_table th,
body.woocommerce-checkout table.shop_table td,
body.woocommerce-account table.shop_table th,
body.woocommerce-account table.shop_table td {
  border-bottom: 1px solid var(--hp-border);
  padding: 12px;
  text-align: left;
  vertical-align: top;
}

.hp-cart-page .cart-collaterals,
.hp-checkout-page #order_review,
.hp-account-content,
body.woocommerce-cart .cart-collaterals,
body.woocommerce-checkout #order_review,
body.woocommerce-account .woocommerce-MyAccount-content,
body.woocommerce-account .woocommerce-MyAccount-navigation {
  margin-top: 24px;
  border: 1px solid var(--hp-border);
  padding: 20px;
}

body.woocommerce-account .woocommerce-MyAccount-navigation ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
}

body.woocommerce-account .woocommerce-MyAccount-navigation a {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  border: 1px solid var(--hp-border);
  padding: 8px 12px;
}

body.woocommerce-account .woocommerce-MyAccount-navigation .is-active a,
body.woocommerce-account .woocommerce-MyAccount-navigation a:hover {
  border-color: var(--hp-green);
  background: var(--hp-green);
  color: #fff;
}

.hp-cart-page .coupon,
body.woocommerce-cart .coupon {
  display: inline-flex;
  gap: 8px;
  align-items: center;
}

.hp-cart-page .input-text,
.hp-checkout-page input,
.hp-checkout-page textarea,
.hp-checkout-page select,
.hp-account-page input,
.hp-account-page textarea,
.hp-account-page select,
body.woocommerce-cart .input-text,
body.woocommerce-checkout input,
body.woocommerce-checkout textarea,
body.woocommerce-checkout select,
body.woocommerce-account input,
body.woocommerce-account textarea,
body.woocommerce-account select {
  border: 1px solid var(--hp-border);
  padding: 10px 12px;
  width: 100%;
}

body.woocommerce-checkout .woocommerce-checkout-review-order-table,
body.woocommerce-checkout #payment {
  border: 1px solid var(--hp-border);
  background: #fff;
}

@media (max-width: 1279px) {
  .hp-container { width: min(100% - 48px, 1200px); }
}

@media (max-width: 1023px) {
  .hp-main { padding-top: 72px; }
  .hp-header__inner { min-height: 72px; }
  .hp-mobile-toggle { display: block; }
  .hp-nav--desktop { display: none; }

  .hp-hero__viewport { height: 360px; }
  .hp-hero__content { left: 32px; right: 32px; bottom: 28px; }
  .hp-categories { grid-template-columns: 1fr; }
  .hp-category-card { min-height: 500px; }

  .hp-home-react__container,
  .hp-home-react__container--wide {
    width: min(100% - 48px, 1200px);
  }

  .hp-home-react__hero-copy {
    left: 32px;
    right: 32px;
    bottom: 28px;
  }

  .hp-home-react__categories {
    grid-template-columns: 1fr;
  }

  .hp-home-react__about-grid,
  .hp-home-react__blog-grid,
  .hp-products-grid,
  ul.products,
  .hp-blog-grid,
  .hp-footer__grid,
  .hp-about,
  .hp-post-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hp-home-react__about-image {
    height: 500px;
  }

  .hp-single-product .product {
    grid-template-columns: 1fr;
    gap: 28px;
  }
}

/* --- Woo archive refinements (close to React category layout) --- */
.hp-shop__breadcrumbs {
  margin-bottom: 14px;
  font-size: 12px;
  color: var(--hp-muted);
}

.hp-shop__breadcrumbs .woocommerce-breadcrumb {
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.hp-shop--category .hp-shop__header {
  margin-bottom: 26px;
}

.hp-shop--category .page-title {
  margin-bottom: 8px;
}

.hp-shop__meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid var(--hp-border);
  border-bottom: 1px solid var(--hp-border);
  padding: 12px 0;
  margin-bottom: 24px;
}

.hp-shop__meta .woocommerce-result-count,
.hp-shop__meta .woocommerce-ordering {
  margin: 0;
}

/* --- Product cards (home + archive) --- */
.hp-product-card {
  list-style: none;
}

.hp-product-card:hover .hp-product-card__media img {
  transform: scale(1.05);
}

.hp-product-card:hover .hp-product-card__media-overlay {
  background: rgba(0, 0, 0, .1);
}

.hp-product-card__title a {
  transition: color .2s ease;
}

.hp-product-card__title a:hover,
.hp-product-card:hover .hp-product-card__title a {
  color: var(--hp-gold);
}

/* --- Single product redesign --- */
.hp-single-product-v2 {
  width: 100%;
  padding-bottom: 80px;
}

.hp-single-product-v2__back {
  margin-bottom: 34px;
}

.hp-single-product-v2__back a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--hp-muted);
  font-size: 14px;
  line-height: 1;
  letter-spacing: 0;
}

.hp-single-product-v2__back a:hover {
  color: var(--hp-gold);
}

.hp-single-product-v2__layout {
  display: grid;
  grid-template-columns: minmax(320px, 480px) 1fr;
  gap: 64px;
}

.hp-single-product-v2__main-image {
  position: relative;
  background: #f8f8f8;
  aspect-ratio: 3 / 4;
  overflow: hidden;
}

.hp-single-product-v2__main-image img,
.hp-single-product-v2__main-image .hp-product-card__placeholder {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hp-single-product-v2__badge {
  position: absolute;
  top: 24px;
  color: #fff;
  padding: 10px 14px;
  font-size: 11px;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.hp-single-product-v2__badge--left {
  left: 24px;
  background: var(--hp-gold);
}

.hp-single-product-v2__badge--right {
  right: 24px;
  background: var(--hp-green);
}

.hp-single-product-v2__thumbs {
  margin-top: 12px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.hp-single-product-v2__thumb {
  border: 2px solid var(--hp-border);
  background: #fff;
  padding: 0;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  cursor: pointer;
  transition: border-color .2s ease;
}

.hp-single-product-v2__thumb:hover {
  border-color: rgba(216, 172, 123, .5);
}

.hp-single-product-v2__thumb img,
.hp-single-product-v2__thumb .hp-product-card__placeholder {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hp-single-product-v2__thumb.is-active {
  border-color: var(--hp-gold);
}

.hp-single-product-v2__summary {
  display: flex;
  flex-direction: column;
}

.hp-single-product-v2__summary h1 {
  margin: 0 0 12px;
  font-size: clamp(30px, 3.2vw, 36px);
  line-height: 1.2;
  letter-spacing: .02em;
  font-weight: 500;
  text-transform: none;
}

.hp-single-product-v2__sku {
  margin: 0 0 24px;
  font-size: 14px;
  letter-spacing: .03em;
  color: var(--hp-muted);
}

.hp-single-product-v2__sku span {
  color: var(--hp-text);
}

.hp-single-product-v2__availability {
  margin: 0 0 18px;
  display: inline-flex;
  align-items: center;
  width: fit-content;
  font-size: 11px;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: 6px 10px;
  border-radius: 2px;
  background: #e7f3ef;
  color: var(--hp-green);
}

.hp-single-product-v2__availability.is-out {
  background: #f8ecec;
  color: #a54343;
}

.hp-single-product-v2__price {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 32px;
}

.hp-single-product-v2__price-value {
  margin: 0;
  color: var(--hp-text);
  font-size: clamp(40px, 5vw, 52px);
  line-height: 1;
}

.hp-single-product-v2__currency {
  font-size: 1em;
  line-height: 1;
  font-weight: 500;
}

.hp-single-product-v2__price-old {
  margin: 0;
  font-size: 22px;
  color: var(--hp-muted);
  text-decoration: line-through;
}

.hp-single-product-v2__description {
  color: var(--hp-text);
  margin-bottom: 32px;
  line-height: 1.65;
}

.hp-single-product-v2__description p {
  margin: 0 0 14px;
}

.hp-single-product-v2__description p:last-child {
  margin-bottom: 0;
}

.hp-single-product-v2__options,
.hp-single-product-v2__quantity {
  margin-bottom: 24px;
}

.hp-single-product-v2__options-label {
  margin: 0 0 12px;
  color: var(--hp-text);
  font-size: 14px;
  letter-spacing: .02em;
}

.hp-single-product-v2__options-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hp-single-product-v2__option-btn {
  min-width: 60px;
  padding: 12px 20px;
  border: 2px solid var(--hp-border);
  background: #fff;
  color: var(--hp-text);
  font-size: 14px;
  letter-spacing: .03em;
  cursor: pointer;
  transition: border-color .2s ease, background .2s ease, color .2s ease;
}

.hp-single-product-v2__option-btn:hover {
  border-color: rgba(216, 172, 123, .65);
}

.hp-single-product-v2__option-btn.is-active {
  border-color: var(--hp-green);
  background: var(--hp-green);
  color: #fff;
}

.hp-single-product-v2__option-btn:disabled {
  opacity: .35;
  cursor: not-allowed;
  border-color: var(--hp-border);
}

.hp-single-product-v2__qty {
  display: inline-flex;
  align-items: center;
  gap: 16px;
}

.hp-single-product-v2__qty-btn {
  width: 48px;
  height: 48px;
  border: 2px solid var(--hp-border);
  background: #fff;
  color: var(--hp-text);
  line-height: 1;
  cursor: pointer;
  transition: border-color .2s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.hp-single-product-v2__qty-btn svg {
  width: 16px;
  height: 16px;
}

.hp-single-product-v2__qty-btn:hover {
  border-color: var(--hp-gold);
}

.hp-single-product-v2__qty .qty {
  width: 48px;
  min-width: 48px;
  padding: 0;
  border: 0;
  background: transparent;
  text-align: center;
  font-size: 20px;
  line-height: 1;
  color: var(--hp-text);
  -moz-appearance: textfield;
}

.hp-single-product-v2__qty .qty::-webkit-outer-spin-button,
.hp-single-product-v2__qty .qty::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.hp-single-product-v2__actions {
  margin-bottom: 32px;
}

.hp-single-product-v2__cart-form,
.hp-single-product-v2__cart--native form.cart {
  margin: 0;
  width: 100%;
}

.hp-single-product-v2__cart-btn,
.hp-single-product-v2__cart--native .single_add_to_cart_button {
  width: 100%;
  min-height: 56px;
  border: 1px solid var(--hp-green);
  background: var(--hp-green);
  color: #fff;
  text-transform: uppercase;
  letter-spacing: .08em;
  font-size: 12px;
  font-weight: 500;
  padding: 0 22px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.hp-single-product-v2__cart-btn svg {
  width: 18px;
  height: 18px;
}

.woocommerce div.product .hp-single-product-v2__cart-btn.button,
.woocommerce div.product .hp-single-product-v2__cart-btn.button.alt,
.woocommerce div.product .hp-single-product-v2__cart--native .single_add_to_cart_button.button,
.woocommerce div.product .hp-single-product-v2__cart--native .single_add_to_cart_button.button.alt {
  background: var(--hp-green) !important;
  border-color: var(--hp-green) !important;
  color: #fff !important;
}

.hp-single-product-v2__cart-btn:hover,
.hp-single-product-v2__cart--native .single_add_to_cart_button:hover,
.woocommerce div.product .hp-single-product-v2__cart-btn.button:hover,
.woocommerce div.product .hp-single-product-v2__cart-btn.button.alt:hover,
.woocommerce div.product .hp-single-product-v2__cart--native .single_add_to_cart_button.button:hover,
.woocommerce div.product .hp-single-product-v2__cart--native .single_add_to_cart_button.button.alt:hover {
  background: var(--hp-gold) !important;
  border-color: var(--hp-gold) !important;
}

.hp-single-product-v2__cart--native .quantity {
  margin-bottom: 10px;
}

.hp-single-product-v2__cart--native .qty {
  height: 42px;
  border: 1px solid var(--hp-border);
}

.hp-single-product-v2__cart--variable {
  display: none !important;
}

.hp-single-product-v2__cart-btn[disabled],
.hp-single-product-v2__cart-btn.disabled {
  opacity: .5;
  cursor: not-allowed;
}

.hp-single-product-v2__actions-secondary {
  margin-top: 10px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.hp-single-product-v2__icon-btn {
  min-height: 48px;
  border: 2px solid var(--hp-border);
  background: #fff;
  color: var(--hp-text);
  line-height: 1;
  cursor: pointer;
  transition: border-color .2s ease, color .2s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.hp-single-product-v2__icon-btn svg {
  width: 20px;
  height: 20px;
}

.hp-single-product-v2__icon-btn:hover,
.hp-single-product-v2__icon-btn.is-active {
  border-color: var(--hp-gold);
  color: var(--hp-gold);
}

.hp-single-product-v2__meta {
  background: #f8f8f8;
  padding: 24px;
  margin-bottom: 24px;
}

.hp-single-product-v2__meta p {
  margin: 0;
  font-size: 14px;
  line-height: 1.5;
}

.hp-single-product-v2__meta-content p,
.hp-single-product-v2__meta-content ul,
.hp-single-product-v2__meta-content ol {
  margin: 0 0 14px;
}

.hp-single-product-v2__meta-content ul,
.hp-single-product-v2__meta-content ol {
  padding-left: 22px;
}

.hp-single-product-v2__meta-content img {
  height: auto;
}

.hp-single-product-v2__meta-content > *:last-child {
  margin-bottom: 0;
}

.hp-single-product-v2__wholesale-note {
  background: #f5f5f5;
  padding: 24px;
  margin-bottom: 24px;
}

.hp-single-product-v2__wholesale-note p {
  margin: 0;
  font-size: 14px;
  line-height: 1.65;
}

.hp-single-product-v2__specs {
  border-top: 1px solid var(--hp-border);
  padding-top: 32px;
}

.hp-single-product-v2__specs h3 {
  margin: 0 0 24px;
  font-size: 30px;
  line-height: 1.25;
  font-weight: 500;
  letter-spacing: .02em;
  text-transform: none;
}

.hp-single-product-v2__specs dl {
  margin: 0;
}

.hp-single-product-v2__specs dl > div {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 0;
  border-bottom: 1px solid rgba(228, 235, 233, .6);
}

.hp-single-product-v2__specs dt {
  margin: 0;
  color: var(--hp-muted);
  font-size: 14px;
}

.hp-single-product-v2__specs dd {
  margin: 0;
  font-size: 14px;
  text-align: right;
}

@media (max-width: 1023px) {
  .hp-single-product-v2__back {
    margin-bottom: 24px;
  }

  .hp-single-product-v2__layout {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .hp-single-product-v2__summary h1 {
    font-size: clamp(30px, 6vw, 36px);
  }

  .hp-shop__meta {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
}

@media (max-width: 767px) {
  .hp-container { width: min(100% - 32px, 1200px); }
  .hp-home-react__container,
  .hp-home-react__container--wide,
  .hp-home-react__categories { width: min(100% - 32px, 1200px); }

  .hp-hero__viewport { height: 330px; }
  .hp-hero__arrow { display: none; }
  .hp-hero__thumbs { grid-template-columns: repeat(2, 1fr); }
  .hp-thumb { height: 94px; }

  .hp-home-react__hero-arrow { display: none; }
  .hp-home-react__hero-thumbs { grid-template-columns: repeat(2, 1fr); }
  .hp-home-react__hero-copy { left: 20px; right: 20px; bottom: 22px; }
  .hp-home-react__hero-copy h2 { font-size: clamp(28px, 9vw, 42px); }
  .hp-home-react__hero-copy p { font-size: 16px; }

  .hp-home-react__about-grid,
  .hp-home-react__blog-grid,
  .hp-products-grid,
  ul.products,
  .hp-blog-grid,
  .hp-footer__grid,
  .hp-about,
  .hp-post-grid,
  .hp-footer__bottom {
    grid-template-columns: 1fr;
    display: grid;
  }

  .hp-home-react__about-image {
    height: 420px;
  }

  .hp-home-react__blog-filter {
    gap: 10px;
  }

  .hp-home-react__blog-filter-btn {
    padding: 8px 16px;
    font-size: 11px;
  }

  .hp-section__head--between {
    align-items: flex-start;
    flex-direction: column;
  }

  .hp-footer__bottom {
    text-align: left;
    gap: 10px;
  }

  .hp-footer__policies {
    flex-direction: column;
    gap: 6px;
  }

  .hp-single-product-v2 {
    padding-bottom: 56px;
  }

  .hp-single-product-v2__summary h1 {
    font-size: 30px;
  }

  .hp-single-product-v2__sku,
  .hp-single-product-v2__options-label,
  .hp-single-product-v2__option-btn,
  .hp-single-product-v2__meta p,
  .hp-single-product-v2__wholesale-note p,
  .hp-single-product-v2__specs dt,
  .hp-single-product-v2__specs dd {
    font-size: 13px;
  }

  .hp-single-product-v2__price-value {
    font-size: 36px;
  }

  .hp-single-product-v2__price-old {
    font-size: 18px;
  }

  .hp-single-product-v2__thumbs {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .hp-single-product-v2__option-btn {
    flex: 1 1 calc(50% - 8px);
  }

  .hp-single-product-v2__qty {
    width: 100%;
    justify-content: flex-start;
  }

  .hp-single-product-v2__meta,
  .hp-single-product-v2__wholesale-note {
    padding: 18px;
  }

  .hp-single-product-v2__specs {
    padding-top: 24px;
  }

  .hp-single-product-v2__specs h3 {
    margin-bottom: 16px;
    font-size: 24px;
  }

  .hp-single-product-v2__specs dl > div {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }

  .hp-single-product-v2__specs dd {
    text-align: left;
  }

  .hp-cart-page table,
  .hp-cart-page thead {
    display: block;
  }

  .hp-cart-page thead {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
  }

  .hp-cart-page tr,
  .hp-cart-page td {
    display: block;
    width: 100%;
  }
}

/* --- React catalog 1:1 (catalog -> category -> filters) --- */
.hp-catalog-react {
  padding-top: 0;
  padding-bottom: 56px;
}

.hp-catalog-react .woocommerce-breadcrumb {
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 12px;
  color: var(--hp-muted);
}

.hp-catalog-react .woocommerce-breadcrumb a {
  color: var(--hp-muted);
}

.hp-catalog-react .woocommerce-breadcrumb a:hover {
  color: var(--hp-gold);
}

.hp-catalog-react__header-wrap {
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  background: #f8f8f8;
}

.hp-catalog-react__header {
  width: min(100% - 48px, 1200px);
  margin-inline: auto;
  padding: 48px 0 64px;
}

.hp-catalog-react__header h1 {
  margin: 24px 0 12px;
  font-size: clamp(40px, 5vw, 56px);
  line-height: 1.12;
  letter-spacing: .04em;
  text-transform: none;
}

.hp-catalog-react__header p {
  margin: 0;
  color: var(--hp-muted);
  font-size: 18px;
  line-height: 1.5;
}

.hp-catalog-react__body {
  width: min(100% - 48px, 1200px);
  margin-inline: auto;
  padding-top: 56px;
}

.hp-catalog-react__category-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 48px;
}

.hp-catalog-react__category-card,
.hp-catalog-react__subcategory-card {
  display: block;
  background: #fff;
  border: 2px solid var(--hp-border);
  transition: border-color .2s ease;
  overflow: hidden;
}

.hp-catalog-react__category-card:hover,
.hp-catalog-react__subcategory-card:hover {
  border-color: var(--hp-gold);
}

.hp-catalog-react__category-card-image,
.hp-catalog-react__subcategory-image {
  display: block;
  overflow: hidden;
  background: #f8f8f8;
}

.hp-catalog-react__category-card-image {
  aspect-ratio: 16 / 9;
}

.hp-catalog-react__subcategory-image {
  aspect-ratio: 4 / 3;
}

.hp-catalog-react__category-card-image img,
.hp-catalog-react__subcategory-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}

.hp-catalog-react__category-card:hover img,
.hp-catalog-react__subcategory-card:hover img {
  transform: scale(1.05);
}

.hp-catalog-react__category-card-content {
  display: block;
  padding: 34px;
}

.hp-catalog-react__subcategory-content {
  display: block;
  padding: 28px;
}

.hp-catalog-react__category-card-title-row,
.hp-catalog-react__subcategory-title-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 14px;
}

.hp-catalog-react__category-card-title {
  font-size: clamp(30px, 3.5vw, 42px);
  line-height: 1.15;
  letter-spacing: .03em;
  color: var(--hp-text);
}

.hp-catalog-react__subcategory-title {
  font-size: clamp(26px, 3vw, 34px);
  line-height: 1.15;
  letter-spacing: .03em;
  color: var(--hp-text);
}

.hp-catalog-react__category-card-arrow {
  color: var(--hp-gold);
  font-size: 24px;
  line-height: 1;
  opacity: 0;
  transition: opacity .2s ease;
}

.hp-catalog-react__category-card:hover .hp-catalog-react__category-card-arrow,
.hp-catalog-react__subcategory-card:hover .hp-catalog-react__category-card-arrow {
  opacity: 1;
}

.hp-catalog-react__category-card-description,
.hp-catalog-react__subcategory-description {
  display: block;
  color: var(--hp-muted);
  line-height: 1.7;
  margin-bottom: 20px;
}

.hp-catalog-react__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.hp-catalog-react__chip {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--hp-border);
  min-height: 34px;
  padding: 0 14px;
  font-size: 11px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--hp-text);
}

.hp-catalog-react__category-card:hover .hp-catalog-react__chip {
  border-color: var(--hp-gold);
  color: var(--hp-gold);
}

.hp-catalog-react__subcategory-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 32px;
}

.hp-catalog-react__subcategory-count {
  display: block;
  color: var(--hp-gold);
  font-size: 11px;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.hp-catalog-react__controls {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  margin-bottom: 24px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--hp-border);
}

.hp-catalog-react__toggle-filters {
  min-height: auto;
  border: 0;
  padding: 0;
  background: transparent;
  color: var(--hp-text);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.hp-catalog-react__toggle-filters:hover {
  color: var(--hp-gold);
}

.hp-catalog-react__active-count {
  min-width: 22px;
  height: 22px;
  background: var(--hp-gold);
  color: #fff;
  font-size: 11px;
  display: inline-grid;
  place-content: center;
  padding: 0 6px;
}

.hp-catalog-react__controls-right {
  display: flex;
  align-items: center;
  gap: 14px;
}

.hp-catalog-react__clear-link {
  font-size: 14px;
  color: var(--hp-muted);
}

.hp-catalog-react__sort-wrap {
  position: relative;
}

.hp-catalog-react__sort-select {
  appearance: none;
  min-width: 270px;
  min-height: 48px;
  border: 2px solid var(--hp-border);
  padding: 0 44px 0 18px;
  cursor: pointer;
  font-size: 14px;
  color: var(--hp-text);
  background: #fff;
}

.hp-catalog-react__sort-wrap::after {
  content: '▾';
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--hp-text);
  pointer-events: none;
}

.hp-catalog-react__layout {
  display: flex;
  align-items: flex-start;
  gap: 48px;
}

.hp-catalog-react__filters {
  width: 256px;
  flex: 0 0 256px;
  display: grid;
  gap: 30px;
}

.hp-catalog-react__filter-block h3 {
  margin: 0 0 16px;
  font-size: 12px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--hp-text);
}

.hp-catalog-react__size-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.hp-catalog-react__size-item {
  cursor: pointer;
}

.hp-catalog-react__size-item input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.hp-catalog-react__size-item span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 14px;
  border: 2px solid var(--hp-border);
  color: var(--hp-text);
  font-size: 14px;
  transition: all .2s ease;
}

.hp-catalog-react__size-item:hover span {
  border-color: var(--hp-gold);
}

.hp-catalog-react__size-item.is-active span {
  border-color: var(--hp-green);
  background: var(--hp-green);
  color: #fff;
}

.hp-catalog-react__check-list {
  display: grid;
  gap: 10px;
}

.hp-catalog-react__check-item {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--hp-text);
  font-size: 14px;
  cursor: pointer;
}

.hp-catalog-react__check-item input {
  -webkit-appearance: none;
  appearance: none;
  width: 18px;
  height: 18px;
  margin: 0;
  border: 1px solid var(--hp-border);
  border-radius: 0 !important;
  background: #fff;
  cursor: pointer;
}

.hp-catalog-react__check-item input:checked {
  border-color: var(--hp-green);
  background: var(--hp-green);
}

.hp-catalog-react__price-block {
  display: grid;
  gap: 12px;
}

.hp-catalog-react__price-slider {
  position: relative;
  height: 28px;
}

.hp-catalog-react__price-track,
.hp-catalog-react__price-track-fill {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  height: 4px;
  border-radius: 999px;
}

.hp-catalog-react__price-track {
  left: 0;
  right: 0;
  background: var(--hp-border);
  z-index: 1;
}

.hp-catalog-react__price-track-fill {
  background: var(--hp-green);
  z-index: 2;
}

.hp-catalog-react__price-slider input[type='range'] {
  position: absolute;
  inset: 0;
  z-index: 3;
  width: 100%;
  height: 28px;
  margin: 0;
  border: 0;
  background: transparent;
  pointer-events: none;
  -webkit-appearance: none;
  appearance: none;
}

.hp-catalog-react__price-slider input[type='range']::-webkit-slider-runnable-track {
  height: 4px;
  border: 0;
  background: transparent;
}

.hp-catalog-react__price-slider input[type='range']::-moz-range-track,
.hp-catalog-react__price-slider input[type='range']::-moz-range-progress {
  height: 4px;
  border: 0;
  background: transparent;
}

.hp-catalog-react__price-slider input[type='range']::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 16px;
  height: 16px;
  border: 2px solid var(--hp-green);
  background: #fff;
  border-radius: 50%;
  cursor: pointer;
  pointer-events: auto;
  margin-top: -6px;
}

.hp-catalog-react__price-slider input[type='range']::-moz-range-thumb {
  width: 16px;
  height: 16px;
  border: 2px solid var(--hp-green);
  background: #fff;
  border-radius: 50%;
  cursor: pointer;
  pointer-events: auto;
}

.hp-catalog-react__price-slider input[type='range']::-moz-focus-outer {
  border: 0;
}

.hp-catalog-react__price-slider [data-hp-price-range-min] {
  z-index: 4;
}

.hp-catalog-react__price-slider input[type='range']:focus {
  box-shadow: none;
}

.hp-catalog-react__price-current {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  color: var(--hp-text);
  font-size: 13px;
}

.hp-catalog-react__price-current strong {
  font-weight: 600;
}

.hp-catalog-react__price-values {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  color: var(--hp-muted);
  font-size: 12px;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.hp-catalog-react__products .hp-product-card {
  border: 0;
  padding: 0;
}

.hp-catalog-react__products .hp-product-card__body {
  margin-top: 16px;
}

.hp-catalog-react__products .hp-product-card__category {
  margin-bottom: 8px;
  font-size: 12px;
}

.hp-catalog-react__products .hp-product-card__title {
  margin-bottom: 12px;
  font-size: 18px;
  line-height: 1.35;
}

.hp-catalog-react__products .hp-product-card__price {
  font-size: 18px;
}

.hp-catalog-react__products .hp-product-card .button {
  min-height: 40px;
  padding: 0 14px;
  font-size: 11px;
  letter-spacing: .08em;
}

.hp-catalog-react__products {
  flex: 1 1 auto;
  min-width: 0;
}

.hp-catalog-react__products ul.products {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 32px;
}

.hp-catalog-react__products ul.products li.product,
.hp-catalog-react__products ul.products li.hp-product-card {
  float: none !important;
  width: auto !important;
  margin: 0 !important;
}

.hp-catalog-react__products ul.products::before,
.hp-catalog-react__products ul.products::after {
  display: none !important;
  content: none !important;
}

.hp-catalog-react__products .button,
.hp-catalog-react__products .added_to_cart {
  display: none !important;
}

.hp-catalog-react__empty {
  text-align: center;
  padding: 80px 0;
}

.hp-catalog-react__empty p {
  margin: 0 0 14px;
  color: var(--hp-muted);
  font-size: 22px;
}

.hp-catalog-react__empty a {
  color: var(--hp-gold);
  font-size: 14px;
}

@media (max-width: 1023px) {
  .hp-catalog-react__category-grid,
  .hp-catalog-react__subcategory-grid,
  .hp-catalog-react__products ul.products {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hp-catalog-react__layout {
    flex-direction: column;
    gap: 30px;
  }

  .hp-catalog-react__filters {
    width: 100%;
    flex-basis: auto;
  }
}

@media (max-width: 767px) {
  .hp-catalog-react__header,
  .hp-catalog-react__body {
    width: min(100% - 32px, 1200px);
  }

  .hp-catalog-react__header {
    padding: 40px 0 46px;
  }

  .hp-catalog-react__header h1 {
    margin-top: 18px;
    font-size: clamp(32px, 10vw, 42px);
  }

  .hp-catalog-react__header p {
    font-size: 16px;
  }

  .hp-catalog-react__category-grid,
  .hp-catalog-react__subcategory-grid,
  .hp-catalog-react__products ul.products {
    grid-template-columns: 1fr;
  }

  .hp-catalog-react__category-card-content {
    padding: 24px;
  }

  .hp-catalog-react__subcategory-content {
    padding: 20px;
  }

  .hp-catalog-react__controls {
    align-items: flex-start;
    flex-direction: column;
  }

  .hp-catalog-react__controls-right {
    width: 100%;
    flex-direction: column;
    align-items: stretch;
  }

  .hp-catalog-react__sort-select {
    min-width: 0;
    width: 100%;
  }

  .hp-catalog-react__filters[hidden] {
    display: none;
  }
}
