/*
Theme Name: Protextyle Child
Theme URI: https://protextyle.ua/
Description: Lightweight WooCommerce child theme layer for Protextyle.
Author: Protextyle
Template: blocksy
Version: 1.0.0
Text Domain: protextyle
*/

:root {
  --ptx-bg: #fbf8f3;
  --ptx-bg-2: #f3eee7;
  --ptx-surface: #ffffff;
  --ptx-text: #241f1b;
  --ptx-muted: #6e655d;
  --ptx-line: #e7ddd1;
  --ptx-accent: #916554;
  --ptx-accent-strong: #6f4638;
  --ptx-green: #5f7668;
  --ptx-rose: #c78f7e;
  --ptx-gold: #b18a56;
  --ptx-radius: 8px;
  --ptx-shadow: 0 18px 44px rgba(36, 31, 27, 0.09);
}

@media (max-width: 640px) {
  .ptx-hero,
  .ptx-strip,
  .ptx-home {
    max-width: 100vw;
    overflow-x: clip;
  }

  .ptx-hero__badges {
    width: 100%;
    max-width: 100%;
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
    justify-self: stretch;
  }

  .ptx-hero__badges span {
    width: 100%;
    min-width: 0;
    white-space: normal;
    text-align: center;
  }

  .ptx-strip__inner {
    width: 100%;
    max-width: 100%;
    margin-inline: 0;
    box-sizing: border-box;
    padding-inline: 12px;
  }

  .ptx-strip span {
    flex-basis: calc(100vw - 48px);
    max-width: calc(100vw - 48px);
    box-sizing: border-box;
  }
}

.ptx-hero__badges,
.ptx-strip {
  display: none !important;
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--ptx-bg);
  color: var(--ptx-text);
  text-rendering: optimizeLegibility;
}

a {
  text-underline-offset: 0.2em;
}

img {
  max-width: 100%;
  height: auto;
}

.ptx-container {
  width: min(1180px, calc(100% - 32px));
  margin-inline: auto;
}

.ptx-section {
  padding: 88px 0;
}

.ptx-section--surface {
  background: #fff;
}

.ptx-section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: clamp(22px, 4vw, 36px);
}

.ptx-section-head h2,
.ptx-feature h2,
.ptx-faq-layout h2 {
  max-width: 760px;
  margin: 0;
  font-size: 46px;
  line-height: 1.08;
  letter-spacing: 0;
}

.ptx-section-head a {
  color: var(--ptx-accent-strong);
  font-weight: 700;
  white-space: nowrap;
}

.ptx-eyebrow {
  display: block;
  margin-bottom: 12px;
  color: var(--ptx-accent-strong);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.ptx-hero {
  min-height: min(760px, calc(100vh - 40px));
  display: grid;
  align-items: end;
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(29, 24, 21, 0.74) 0%, rgba(29, 24, 21, 0.52) 38%, rgba(29, 24, 21, 0.12) 74%),
    var(--ptx-hero-image) center / cover no-repeat,
    var(--ptx-bg-2);
  color: #fff;
}

.ptx-hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 34%;
  background: linear-gradient(0deg, rgba(29, 24, 21, 0.48), transparent);
  pointer-events: none;
}

.ptx-hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 700px) minmax(240px, 1fr);
  gap: 28px;
  align-items: end;
  padding-block: 148px 62px;
}

.ptx-hero__content {
  position: relative;
  z-index: 4;
  max-width: 720px;
}

.ptx-hero .ptx-eyebrow {
  color: #f1d3c6;
}

.ptx-hero h1 {
  margin: 0 0 18px;
  font-size: 82px;
  line-height: 0.98;
  letter-spacing: 0;
}

.ptx-hero p {
  max-width: 620px;
  margin: 0 0 30px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 21px;
  line-height: 1.55;
}

.ptx-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.ptx-button,
.single_add_to_cart_button,
.checkout-button,
.button.wc-forward,
.woocommerce ul.products li.product .button {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 0;
  border-radius: var(--ptx-radius);
  background: var(--ptx-accent);
  color: #fff;
  font-weight: 800;
  line-height: 1.2;
  text-decoration: none;
  padding: 14px 22px;
  box-shadow: 0 10px 24px rgba(111, 70, 56, 0.18);
  transition: background 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
}

.ptx-button:hover,
.single_add_to_cart_button:hover,
.checkout-button:hover,
.button.wc-forward:hover,
.woocommerce ul.products li.product .button:hover {
  background: var(--ptx-accent-strong);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 14px 30px rgba(111, 70, 56, 0.24);
}

.ptx-button--ghost {
  border: 1px solid rgba(255, 255, 255, 0.44);
  background: rgba(255, 255, 255, 0.12);
  box-shadow: none;
  backdrop-filter: blur(14px);
}

.ptx-button--ghost:hover {
  background: rgba(255, 255, 255, 0.2);
}

.ptx-hero__badges {
  display: grid;
  gap: 10px;
  justify-self: end;
  width: min(100%, 360px);
}

.ptx-hero__badges span {
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: var(--ptx-radius);
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
  font-weight: 800;
  padding: 13px 16px;
  backdrop-filter: blur(14px);
}

.ptx-strip {
  background: var(--ptx-text);
  color: #fff;
}

.ptx-strip__inner {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.ptx-strip span {
  min-height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-left: 1px solid rgba(255, 255, 255, 0.14);
  color: rgba(255, 255, 255, 0.86);
  font-size: 14px;
  font-weight: 700;
  text-align: center;
  padding: 10px 14px;
}

.ptx-strip span:last-child {
  border-right: 1px solid rgba(255, 255, 255, 0.14);
}

.ptx-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.ptx-category-card {
  min-height: 198px;
  display: flex;
  flex-direction: column;
  justify-content: end;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(36, 31, 27, 0.08);
  border-radius: var(--ptx-radius);
  background: var(--ptx-surface);
  color: var(--ptx-text);
  box-shadow: var(--ptx-shadow);
  text-decoration: none;
  padding: 18px;
  isolation: isolate;
}

.ptx-category-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background: linear-gradient(135deg, var(--card-a, #f4e6dc), var(--card-b, #d9c7b8));
}

.ptx-category-card span {
  max-width: 170px;
  margin-bottom: 7px;
  color: var(--ptx-muted);
  font-size: 14px;
  font-weight: 700;
}

.ptx-category-card strong {
  max-width: 190px;
  font-size: 20px;
  line-height: 1.14;
}

.ptx-category-card:hover {
  color: var(--ptx-text);
  transform: translateY(-2px);
}

.ptx-category-card--1 { --card-a: #f5e8df; --card-b: #dec3b1; }
.ptx-category-card--2 { --card-a: #edf1ea; --card-b: #bfd0bf; }
.ptx-category-card--3 { --card-a: #f8e5e0; --card-b: #d8a797; }
.ptx-category-card--4 { --card-a: #f5efe7; --card-b: #d7c0a3; }
.ptx-category-card--5 { --card-a: #e9eff0; --card-b: #b9cbd0; }
.ptx-category-card--6 { --card-a: #f3e8d2; --card-b: #cfb476; }
.ptx-category-card--7 { --card-a: #ece8f0; --card-b: #c4b8cf; }
.ptx-category-card--8 { --card-a: #e9efe8; --card-b: #b7c8ac; }

.ptx-feature {
  background: var(--ptx-text);
  color: #fff;
  padding: 72px 0;
}

.ptx-feature__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.ptx-feature .ptx-eyebrow {
  color: #f1d3c6;
}

.ptx-feature p {
  max-width: 700px;
  margin: 16px 0 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 18px;
  line-height: 1.6;
}

.ptx-benefits {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.ptx-benefit {
  min-height: 210px;
  border: 1px solid var(--ptx-line);
  border-radius: var(--ptx-radius);
  background: #fff;
  box-shadow: 0 10px 28px rgba(36, 31, 27, 0.06);
  padding: 22px;
}

.ptx-benefit strong {
  display: block;
  margin-bottom: 10px;
  font-size: 18px;
}

.ptx-benefit p {
  margin: 0;
  color: var(--ptx-muted);
  line-height: 1.55;
}

.ptx-faq-section {
  background: var(--ptx-bg-2);
}

.ptx-faq-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(26px, 5vw, 62px);
}

.ptx-faq-layout > div:first-child p {
  max-width: 430px;
  color: var(--ptx-muted);
  font-size: 18px;
  line-height: 1.6;
}

.ptx-faq-list {
  display: grid;
  gap: 12px;
}

.ptx-faq-list details {
  border: 1px solid var(--ptx-line);
  border-radius: var(--ptx-radius);
  background: #fff;
  padding: 18px 20px;
}

.ptx-faq-list summary {
  cursor: pointer;
  color: var(--ptx-text);
  font-weight: 800;
}

.ptx-faq-list p {
  margin: 12px 0 0;
  color: var(--ptx-muted);
  line-height: 1.55;
}

.woocommerce ul.products {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.woocommerce ul.products::before,
.woocommerce ul.products::after {
  display: none;
}

.woocommerce ul.products li.product,
.woocommerce-page ul.products li.product {
  width: auto;
  float: none;
  margin: 0;
  border: 1px solid rgba(36, 31, 27, 0.08);
  border-radius: var(--ptx-radius);
  background: #fff;
  box-shadow: 0 12px 30px rgba(36, 31, 27, 0.07);
  padding: 12px 12px 16px;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.woocommerce ul.products li.product:hover {
  transform: translateY(-3px);
  box-shadow: var(--ptx-shadow);
}

.woocommerce ul.products li.product a img {
  aspect-ratio: 1 / 1.18;
  width: 100%;
  height: clamp(210px, 22vw, 315px);
  object-fit: cover;
  object-position: center;
  display: block;
  border-radius: 7px;
  background: var(--ptx-bg-2);
  margin-bottom: 14px;
}

.woocommerce ul.products li.product .woocommerce-loop-product__title {
  min-height: 44px;
  color: var(--ptx-text);
  font-size: 16px;
  font-weight: 800;
  line-height: 1.35;
  padding: 0;
}

.woocommerce ul.products li.product .price {
  color: var(--ptx-accent-strong);
  font-size: 17px;
  font-weight: 800;
}

.woocommerce span.onsale {
  min-width: auto;
  min-height: auto;
  border-radius: 999px;
  background: var(--ptx-green);
  color: #fff;
  font-weight: 800;
  line-height: 1;
  padding: 8px 10px;
}

.ptx-viber-cta {
  margin-top: 16px;
  border: 1px solid rgba(95, 118, 104, 0.35);
  border-radius: var(--ptx-radius);
  background: rgba(95, 118, 104, 0.08);
  padding: 14px;
}

.ptx-viber-cta a {
  color: var(--ptx-green);
  font-weight: 800;
}

.ptx-shop-tools {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto 30px;
}

.ptx-filter-form {
  position: relative;
  border: 1px solid rgba(36, 31, 27, 0.08);
  border-radius: var(--ptx-radius);
  background: #fff;
  box-shadow: 0 16px 40px rgba(36, 31, 27, 0.07);
  padding: 22px;
}

.ptx-filter-form.is-loading {
  cursor: progress;
}

.ptx-filter-form.is-loading::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: var(--ptx-radius);
  background: rgba(255, 255, 255, 0.54);
  pointer-events: none;
}

.ptx-filter-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 18px;
}

.ptx-filter-head h2 {
  margin: 0;
  font-size: 30px;
  line-height: 1.12;
  letter-spacing: 0;
}

.ptx-filter-toggle {
  display: none;
  min-height: 44px;
  border: 1px solid var(--ptx-line);
  border-radius: var(--ptx-radius);
  background: var(--ptx-bg);
  color: var(--ptx-text);
  font-weight: 800;
  padding: 10px 14px;
}

.ptx-filter-body {
  display: grid;
  grid-template-columns: minmax(220px, 1.35fr) repeat(3, minmax(150px, 0.85fr)) minmax(160px, 0.75fr) minmax(150px, 0.75fr) minmax(170px, 0.75fr);
  gap: 16px;
  align-items: start;
}

.ptx-filter-group {
  min-width: 0;
  border: 0;
  margin: 0;
  padding: 0;
}

.ptx-filter-group legend {
  margin-bottom: 10px;
  color: var(--ptx-text);
  font-size: 13px;
  font-weight: 900;
}

.ptx-filter-options {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.ptx-filter-options--tree {
  display: grid;
  gap: 8px;
  max-height: 220px;
  overflow: auto;
  padding-right: 6px;
}

.ptx-filter-children {
  display: grid;
  gap: 6px;
  margin-top: 6px;
  padding-left: 14px;
}

.ptx-filter-option {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-width: 0;
  cursor: pointer;
}

.ptx-filter-option input {
  position: absolute;
  left: 14px;
  top: 50%;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-50%);
}

.ptx-filter-option span {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--ptx-line);
  border-radius: 999px;
  background: var(--ptx-bg);
  color: var(--ptx-muted);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.15;
  padding: 9px 12px;
  transition: background 0.18s ease, border-color 0.18s ease, color 0.18s ease;
}

.ptx-filter-option input:checked + span {
  border-color: var(--ptx-accent);
  background: var(--ptx-accent);
  color: #fff;
}

.ptx-filter-group--categories .ptx-filter-option span {
  width: 100%;
  justify-content: flex-start;
  border-radius: var(--ptx-radius);
}

.ptx-filter-group--categories .ptx-filter-option {
  width: 100%;
}

.ptx-price-fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.ptx-price-fields label {
  display: grid;
  gap: 6px;
  color: var(--ptx-muted);
  font-size: 12px;
  font-weight: 800;
}

.ptx-price-fields input,
.ptx-filter-select {
  width: 100%;
  min-height: 42px;
  border: 1px solid var(--ptx-line);
  border-radius: var(--ptx-radius);
  background: var(--ptx-bg);
  color: var(--ptx-text);
  font-weight: 700;
  padding: 9px 10px;
}

.ptx-filter-option--switch span {
  border-radius: var(--ptx-radius);
}

.ptx-filter-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 18px;
}

.ptx-filter-actions .ptx-button {
  min-height: 44px;
  padding: 11px 18px;
}

.ptx-filter-reset {
  min-height: 44px;
  border: 0;
  background: transparent;
  color: var(--ptx-accent-strong);
  font-weight: 900;
  padding: 8px 4px;
}

.ptx-filter-status {
  margin-left: auto;
  color: var(--ptx-muted);
  font-size: 14px;
  font-weight: 800;
}

.ptx-no-products {
  width: min(1180px, calc(100% - 32px));
  margin: 18px auto 42px;
  border: 1px solid var(--ptx-line);
  border-radius: var(--ptx-radius);
  background: #fff;
  padding: 28px;
  text-align: center;
}

.ptx-no-products h3 {
  margin: 0 0 8px;
  font-size: 26px;
}

.ptx-no-products p {
  max-width: 560px;
  margin: 0 auto;
  color: var(--ptx-muted);
  line-height: 1.55;
}

.ptx-mobile-nav {
  display: none;
}

.ptx-mobile-nav__item {
  -webkit-tap-highlight-color: transparent;
}

@media (max-width: 1024px) {
  .ptx-section {
    padding: 72px 0;
  }

  .ptx-section-head h2,
  .ptx-feature h2,
  .ptx-faq-layout h2 {
    font-size: 38px;
  }

  .ptx-hero h1 {
    font-size: 64px;
  }

  .ptx-hero p {
    font-size: 19px;
  }

  .ptx-hero__inner,
  .ptx-faq-layout {
    grid-template-columns: 1fr;
  }

  .ptx-hero__badges {
    justify-self: start;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    width: 100%;
  }

  .ptx-grid,
  .ptx-benefits,
  .woocommerce ul.products {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ptx-strip__inner {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ptx-feature__inner {
    align-items: start;
    flex-direction: column;
  }

  .ptx-filter-body {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ptx-filter-group--categories {
    grid-column: 1 / -1;
  }
}

@media (max-width: 640px) {
  html {
    background: var(--ptx-bg);
  }

  body {
    padding-bottom: calc(86px + env(safe-area-inset-bottom));
  }

  body::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: -1;
    background:
      linear-gradient(180deg, rgba(251, 248, 243, 0.62), rgba(243, 238, 231, 0.96)),
      var(--ptx-bg);
  }

  .ptx-container {
    width: min(100% - 24px, 1180px);
  }

  .ptx-section {
    padding: 54px 0;
  }

  .ptx-section-head h2,
  .ptx-feature h2,
  .ptx-faq-layout h2 {
    font-size: 31px;
  }

  .ptx-section-head {
    display: block;
  }

  .ptx-section-head a {
    display: inline-flex;
    margin-top: 12px;
  }

  .ptx-hero {
    min-height: 680px;
    background-position: 58% center;
    border-radius: 0 0 26px 26px;
  }

  .ptx-hero__inner {
    padding-block: 118px 32px;
  }

  .ptx-hero h1 {
    font-size: 44px;
  }

  .ptx-hero p {
    font-size: 17px;
  }

  .ptx-actions,
  .ptx-actions .ptx-button {
    width: 100%;
  }

  .ptx-button,
  .single_add_to_cart_button,
  .checkout-button,
  .button.wc-forward,
  .woocommerce ul.products li.product .button {
    min-height: 52px;
    border-radius: 14px;
  }

  .ptx-hero__badges {
    display: flex;
    overflow-x: auto;
    gap: 8px;
    padding-bottom: 2px;
    scrollbar-width: none;
  }

  .ptx-hero__badges::-webkit-scrollbar {
    display: none;
  }

  .ptx-hero__badges span {
    flex: 0 0 auto;
    border-radius: 999px;
    font-size: 13px;
    padding: 11px 13px;
  }

  .ptx-strip {
    background: transparent;
    margin-top: -18px;
    position: relative;
    z-index: 2;
  }

  .ptx-strip__inner {
    display: flex;
    overflow-x: auto;
    gap: 10px;
    width: min(100% - 24px, 1180px);
    padding: 4px 0;
    scrollbar-width: none;
  }

  .ptx-strip__inner::-webkit-scrollbar {
    display: none;
  }

  .ptx-strip span {
    flex: 0 0 72%;
    min-height: 58px;
    justify-content: flex-start;
    border: 1px solid rgba(255, 255, 255, 0.76);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.82);
    color: var(--ptx-text);
    box-shadow: 0 14px 34px rgba(36, 31, 27, 0.1);
    text-align: left;
    backdrop-filter: blur(18px);
  }

  .ptx-grid,
  .woocommerce ul.products {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }

  .ptx-category-card {
    min-height: 148px;
    border-radius: 18px;
    padding: 13px;
  }

  .ptx-category-card span {
    font-size: 12px;
  }

  .ptx-category-card strong {
    font-size: 17px;
  }

  .ptx-benefits {
    grid-template-columns: 1fr;
  }

  .woocommerce ul.products li.product,
  .woocommerce-page ul.products li.product {
    overflow: hidden;
    border-radius: 18px;
    padding: 8px 8px 12px;
    box-shadow: 0 14px 34px rgba(36, 31, 27, 0.08);
  }

  .woocommerce ul.products li.product a img {
    border-radius: 14px;
    margin-bottom: 10px;
  }

  .woocommerce ul.products li.product .woocommerce-loop-product__title {
    min-height: 54px;
    font-size: 14px;
  }

  .woocommerce div.product form.cart {
    position: sticky;
    bottom: calc(78px + env(safe-area-inset-bottom));
    z-index: 20;
    margin-inline: -12px;
    padding: 12px;
    background: #fff;
    box-shadow: 0 -10px 24px rgba(36, 31, 27, 0.12);
  }

  .ptx-shop-tools {
    width: min(100% - 24px, 1180px);
    margin-bottom: 20px;
  }

  .ptx-filter-form {
    border-radius: 18px;
    padding: 16px;
  }

  .ptx-filter-head {
    align-items: center;
  }

  .ptx-filter-head h2 {
    font-size: 22px;
  }

  .ptx-filter-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
    border-radius: 14px;
  }

  .ptx-filter-body {
    display: none;
    grid-template-columns: 1fr;
    margin-top: 16px;
  }

  .ptx-filter-form.is-open .ptx-filter-body {
    display: grid;
  }

  .ptx-filter-options--tree {
    max-height: 280px;
  }

  .ptx-filter-option span,
  .ptx-price-fields input,
  .ptx-filter-select {
    min-height: 44px;
    border-radius: 14px;
  }

  .ptx-filter-actions {
    align-items: stretch;
  }

  .ptx-filter-actions .ptx-button,
  .ptx-filter-reset {
    width: 100%;
  }

  .ptx-filter-status {
    width: 100%;
    margin-left: 0;
    text-align: center;
  }

  .ptx-mobile-nav {
    position: fixed;
    left: 10px;
    right: 10px;
    bottom: max(10px, env(safe-area-inset-bottom));
    z-index: 999;
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 4px;
    border: 1px solid rgba(255, 255, 255, 0.72);
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.86);
    box-shadow: 0 18px 54px rgba(36, 31, 27, 0.18);
    padding: 7px;
    backdrop-filter: blur(22px);
  }

  .ptx-mobile-nav__item {
    min-width: 0;
    min-height: 62px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    border-radius: 18px;
    color: var(--ptx-muted);
    font-size: 11px;
    font-weight: 900;
    line-height: 1;
    text-decoration: none;
    transition: background 0.18s ease, color 0.18s ease, transform 0.18s ease;
  }

  .ptx-mobile-nav__item:active {
    transform: scale(0.96);
  }

  .ptx-mobile-nav__item.is-active {
    background: var(--ptx-text);
    color: #fff;
  }

  .ptx-mobile-nav__icon {
    position: relative;
    width: 25px;
    height: 25px;
    display: grid;
    place-items: center;
  }

  .ptx-mobile-nav svg {
    width: 23px;
    height: 23px;
    fill: currentColor;
  }

  .ptx-mobile-nav em {
    position: absolute;
    right: -8px;
    top: -8px;
    min-width: 18px;
    height: 18px;
    display: grid;
    place-items: center;
    border: 2px solid #fff;
    border-radius: 999px;
    background: var(--ptx-rose);
    color: #fff;
    font-size: 10px;
    font-style: normal;
    font-weight: 900;
    padding: 0 4px;
  }

  .ptx-mobile-nav__item.is-active em {
    border-color: var(--ptx-text);
  }
}

/* Protextyle visual refresh */
:root {
  --ptx-bg: #f7f3ee;
  --ptx-bg-2: #ebe4dc;
  --ptx-surface: #fffdf9;
  --ptx-text: #201a17;
  --ptx-heading: #171210;
  --ptx-muted: #655b54;
  --ptx-line: #ded2c7;
  --ptx-accent: #7f4b3c;
  --ptx-accent-strong: #5b3027;
  --ptx-green: #3f6f65;
  --ptx-rose: #a84f5d;
  --ptx-gold: #a87931;
  --ptx-radius: 10px;
  --ptx-shadow: 0 18px 42px rgba(32, 26, 23, 0.11);
  --ptx-soft-shadow: 0 10px 28px rgba(32, 26, 23, 0.075);
  --theme-font-family: Inter, "Segoe UI", Roboto, Arial, sans-serif;
  --theme-headings-font-family: Inter, "Segoe UI", Roboto, Arial, sans-serif;
  --theme-text-color: var(--ptx-text);
  --theme-headings-color: var(--ptx-heading);
  --theme-link-initial-color: var(--ptx-accent-strong);
  --theme-link-hover-color: var(--ptx-green);
}

body {
  font-family: Inter, "Segoe UI", Roboto, Arial, sans-serif;
  background:
    linear-gradient(180deg, #fbf8f4 0%, var(--ptx-bg) 42%, #f4eee8 100%);
  color: var(--ptx-text);
  font-size: 16px;
  line-height: 1.68;
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4,
h5,
h6,
.entry-title,
.page-title {
  color: var(--ptx-heading);
  font-family: Inter, "Segoe UI", Roboto, Arial, sans-serif;
  font-weight: 760;
  line-height: 1.12;
}

p {
  color: var(--ptx-muted);
}

.ptx-section {
  padding: 96px 0;
}

.ptx-section--surface {
  background:
    linear-gradient(180deg, rgba(255, 253, 249, 0.92), rgba(249, 245, 239, 0.92));
}

.ptx-section-head {
  align-items: flex-start;
  border-bottom: 1px solid rgba(32, 26, 23, 0.09);
  padding-bottom: 20px;
}

.ptx-section-head h2,
.ptx-feature h2,
.ptx-faq-layout h2 {
  color: var(--ptx-heading);
  font-size: clamp(32px, 4.2vw, 54px);
  font-weight: 780;
  line-height: 1.04;
}

.ptx-section-head a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  border-bottom: 2px solid currentColor;
  color: var(--ptx-accent-strong);
  font-size: 15px;
  font-weight: 760;
  text-decoration: none;
}

.ptx-eyebrow {
  color: var(--ptx-green);
  font-size: 12px;
  font-weight: 780;
}

.ptx-hero {
  min-height: min(760px, calc(100vh - 24px));
  background:
    linear-gradient(90deg, rgba(20, 15, 13, 0.84) 0%, rgba(20, 15, 13, 0.66) 44%, rgba(20, 15, 13, 0.2) 100%),
    linear-gradient(0deg, rgba(20, 15, 13, 0.62), rgba(20, 15, 13, 0.06) 42%),
    var(--ptx-hero-image) center / cover no-repeat,
    var(--ptx-bg-2);
}

.ptx-hero__content {
  max-width: 760px;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.24);
}

.ptx-hero h1 {
  max-width: 780px;
  color: #fff;
  font-size: clamp(46px, 7.4vw, 86px);
  font-weight: 790;
  line-height: 0.98;
}

.ptx-hero p {
  max-width: 660px;
  color: rgba(255, 255, 255, 0.94);
  font-size: clamp(18px, 1.8vw, 22px);
  font-weight: 430;
}

.ptx-hero .ptx-eyebrow {
  color: #ffd8c8;
}

.ptx-button,
.single_add_to_cart_button,
.checkout-button,
.button.wc-forward,
.woocommerce ul.products li.product .button {
  border-radius: 10px;
  background: linear-gradient(135deg, var(--ptx-accent), var(--ptx-accent-strong));
  color: #fff;
  font-size: 15px;
  font-weight: 760;
  box-shadow: 0 14px 28px rgba(91, 48, 39, 0.22);
}

.ptx-button:hover,
.single_add_to_cart_button:hover,
.checkout-button:hover,
.button.wc-forward:hover,
.woocommerce ul.products li.product .button:hover {
  background: linear-gradient(135deg, #6f3e32, #47241e);
}

.ptx-button--ghost {
  border-color: rgba(255, 255, 255, 0.54);
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
}

.ptx-hero__badges span {
  border-color: rgba(255, 255, 255, 0.34);
  background: rgba(255, 255, 255, 0.18);
  font-weight: 720;
}

.ptx-strip {
  background: #191311;
}

.ptx-strip span {
  color: rgba(255, 255, 255, 0.92);
  font-weight: 650;
}

.ptx-category-card {
  min-height: 214px;
  border-color: rgba(32, 26, 23, 0.1);
  background: var(--ptx-surface);
  box-shadow: var(--ptx-soft-shadow);
  padding: 20px;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.ptx-category-card::after {
  content: "";
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 12px;
  z-index: -1;
  height: 54%;
  border-radius: 8px;
  background: linear-gradient(180deg, rgba(255, 253, 249, 0.32), rgba(255, 253, 249, 0.9));
}

.ptx-category-card span {
  max-width: 210px;
  color: #574d46;
  font-size: 13px;
  font-weight: 620;
}

.ptx-category-card strong {
  max-width: 220px;
  color: var(--ptx-heading);
  font-size: 22px;
  font-weight: 780;
}

.ptx-category-card:hover {
  box-shadow: 0 20px 42px rgba(32, 26, 23, 0.14);
}

.ptx-feature {
  background:
    linear-gradient(135deg, #1d1714 0%, #263d37 100%);
}

.ptx-feature p,
.ptx-faq-layout > div:first-child p {
  color: rgba(255, 255, 255, 0.8);
  font-weight: 430;
}

.ptx-faq-layout > div:first-child p {
  color: var(--ptx-muted);
}

.ptx-benefit,
.ptx-faq-list details,
.ptx-filter-form,
.ptx-no-products,
.woocommerce ul.products li.product,
.woocommerce-page ul.products li.product {
  border-color: rgba(32, 26, 23, 0.1);
  background: var(--ptx-surface);
  box-shadow: var(--ptx-soft-shadow);
}

.ptx-benefit strong,
.ptx-faq-list summary {
  color: var(--ptx-heading);
  font-weight: 760;
}

.ptx-benefit p,
.ptx-faq-list p,
.ptx-no-products p {
  color: var(--ptx-muted);
  font-weight: 430;
}

.woocommerce ul.products li.product,
.woocommerce-page ul.products li.product {
  padding: 14px 14px 18px;
}

.woocommerce ul.products li.product a img {
  border-radius: 8px;
  background: #ece4dc;
}

.woocommerce ul.products li.product .woocommerce-loop-product__title {
  color: var(--ptx-heading);
  font-size: 16px;
  font-weight: 730;
}

.woocommerce ul.products li.product .price {
  color: var(--ptx-green);
  font-size: 18px;
  font-weight: 780;
}

.woocommerce span.onsale {
  background: var(--ptx-rose);
}

.ptx-filter-head h2 {
  color: var(--ptx-heading);
  font-weight: 760;
}

.ptx-filter-option span,
.ptx-price-fields input,
.ptx-filter-select {
  background: #fbf8f4;
  color: #4f463f;
  font-weight: 650;
}

.ptx-filter-option input:checked + span {
  border-color: var(--ptx-green);
  background: var(--ptx-green);
}

.ptx-mobile-nav__item {
  font-weight: 760;
}

.ptx-mobile-nav__item.is-active {
  background: linear-gradient(135deg, var(--ptx-accent-strong), #24201d);
}

@media (max-width: 640px) {
  .ptx-section {
    padding: 58px 0;
  }

  .ptx-section-head {
    padding-bottom: 16px;
  }

  .ptx-hero {
    min-height: 650px;
    background:
      linear-gradient(180deg, rgba(20, 15, 13, 0.34) 0%, rgba(20, 15, 13, 0.78) 72%),
      var(--ptx-hero-image) 58% center / cover no-repeat,
      var(--ptx-bg-2);
  }

  .ptx-hero h1 {
    font-size: clamp(40px, 12vw, 50px);
  }

  .ptx-category-card {
    min-height: 156px;
    border-radius: 14px;
  }

  .ptx-category-card::after {
    left: 8px;
    right: 8px;
    bottom: 8px;
  }

  .ptx-category-card strong {
    font-size: 18px;
  }

  .woocommerce ul.products li.product .woocommerce-loop-product__title {
    font-size: 14px;
    font-weight: 720;
  }

  .woocommerce ul.products li.product .price {
    font-size: 16px;
  }
}

.single-product .woocommerce-product-gallery {
  border: 1px solid rgba(32, 26, 23, 0.1);
  border-radius: 14px;
  background: var(--ptx-surface);
  box-shadow: var(--ptx-soft-shadow);
  padding: 12px;
}

.single-product .woocommerce-product-gallery__image img {
  border-radius: 10px;
  background: #ece4dc;
}

.single-product .flex-control-thumbs {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 8px;
  margin-top: 10px;
}

.single-product .flex-control-thumbs li {
  width: auto;
  float: none;
}

.single-product .flex-control-thumbs img {
  aspect-ratio: 1;
  object-fit: cover;
  border: 2px solid transparent;
  border-radius: 8px;
  opacity: 1;
  transition: border-color 0.18s ease, transform 0.18s ease;
}

.single-product .flex-control-thumbs img.flex-active,
.single-product .flex-control-thumbs img:hover {
  border-color: var(--ptx-accent);
  transform: translateY(-1px);
}

.ptx-product-video-thumb {
  width: 100%;
  min-height: 58px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 1px solid rgba(32, 26, 23, 0.12);
  border-radius: 10px;
  background: linear-gradient(135deg, #231b18, #3f6f65);
  color: #fff;
  cursor: pointer;
  font-weight: 760;
  margin-top: 10px;
  padding: 12px 14px;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.ptx-product-video-thumb:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 26px rgba(32, 26, 23, 0.16);
}

.ptx-product-video-thumb__icon {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
}

.ptx-product-video-thumb__icon::before {
  content: "";
  width: 0;
  height: 0;
  border-top: 8px solid transparent;
  border-bottom: 8px solid transparent;
  border-left: 12px solid #fff;
  margin-left: 3px;
}

.ptx-modal-open {
  overflow: hidden;
}

.ptx-video-modal[hidden] {
  display: none;
}

.ptx-video-modal {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: grid;
  place-items: center;
  padding: 24px;
}

.ptx-video-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(18, 13, 11, 0.74);
  backdrop-filter: blur(8px);
}

.ptx-video-modal__dialog {
  width: min(980px, 100%);
  position: relative;
  z-index: 1;
  border-radius: 14px;
  background: #111;
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.42);
}

.ptx-video-modal__dialog iframe,
.ptx-video-modal__dialog video {
  width: 100%;
  aspect-ratio: 16 / 9;
  display: block;
  border: 0;
  border-radius: 14px;
  background: #111;
}

.ptx-video-modal__dialog iframe[hidden],
.ptx-video-modal__dialog video[hidden] {
  display: none;
}

.ptx-video-modal__close {
  position: absolute;
  right: -12px;
  top: -12px;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 999px;
  background: #fff;
  color: var(--ptx-heading);
  cursor: pointer;
  font-size: 28px;
  line-height: 1;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.24);
}

@media (max-width: 640px) {
  .single-product .woocommerce-product-gallery {
    border-radius: 12px;
    padding: 8px;
  }

  .single-product .flex-control-thumbs {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .ptx-video-modal {
    padding: 14px;
  }

  .ptx-video-modal__close {
    right: 6px;
    top: 6px;
  }
}

/* Catalog filter refresh */
.ptx-catalog-page {
  background:
    linear-gradient(180deg, #fbf8f4 0%, #f7f3ee 52%, #f2ebe3 100%);
}

.ptx-catalog-hero {
  padding: clamp(54px, 8vw, 92px) 0 26px;
}

.ptx-breadcrumbs {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  width: min(100% - 32px, 1512px);
  gap: 6px;
  margin: 18px auto 22px;
  color: #786b61;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: 0;
}

.ptx-breadcrumbs a {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  border: 1px solid rgba(95, 118, 104, 0.14);
  border-radius: 999px;
  background: rgba(255, 253, 249, 0.82);
  color: #4b3a32;
  text-decoration: none;
  padding: 7px 12px;
  box-shadow: 0 8px 24px rgba(36, 31, 27, 0.05);
  transition: border-color 0.18s ease, color 0.18s ease, background 0.18s ease, transform 0.18s ease;
}

.ptx-breadcrumbs a:hover {
  border-color: rgba(95, 118, 104, 0.32);
  background: #fff;
  color: var(--ptx-green);
  transform: translateY(-1px);
}

.ptx-breadcrumbs span[aria-current="page"] {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  color: var(--ptx-green);
  padding: 7px 0;
}

.ptx-breadcrumbs__separator {
  display: inline-flex;
  align-items: center;
  color: rgba(32, 26, 23, 0.28);
  font-weight: 900;
  padding-inline: 1px;
}

.ptx-catalog-hero .ptx-breadcrumbs {
  width: auto;
  margin: 0 0 18px;
}

.ptx-catalog-hero .ptx-breadcrumbs a {
  background: rgba(255, 253, 249, 0.74);
}

.woocommerce nav.woocommerce-pagination,
nav.woocommerce-pagination,
nav.ct-pagination,
.ct-pagination {
  width: 100%;
  margin: 44px auto 0;
  padding-top: 26px;
  border-top: 1px solid rgba(95, 118, 104, 0.14);
}

.woocommerce nav.woocommerce-pagination ul,
nav.woocommerce-pagination ul,
nav.ct-pagination ul,
.ct-pagination ul {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0;
  border: 0;
  padding: 0;
  list-style: none;
}

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

.woocommerce nav.woocommerce-pagination .page-numbers,
nav.woocommerce-pagination .page-numbers,
nav.ct-pagination .page-numbers,
.ct-pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  min-height: 44px;
  border: 1px solid rgba(95, 118, 104, 0.16);
  border-radius: 6px;
  background: rgba(255, 253, 249, 0.86);
  color: #5b3027;
  font-size: 14px;
  font-weight: 850;
  line-height: 1;
  text-decoration: none;
  padding: 0 14px;
  box-shadow: 0 10px 26px rgba(36, 31, 27, 0.05);
  transition: background 0.18s ease, border-color 0.18s ease, color 0.18s ease, transform 0.18s ease;
}

.woocommerce nav.woocommerce-pagination a.page-numbers:hover,
nav.woocommerce-pagination a.page-numbers:hover,
nav.ct-pagination a.page-numbers:hover,
.ct-pagination a.page-numbers:hover {
  border-color: rgba(95, 118, 104, 0.35);
  background: #fff;
  color: var(--ptx-green);
  transform: translateY(-1px);
}

.woocommerce nav.woocommerce-pagination .page-numbers.current,
nav.woocommerce-pagination .page-numbers.current,
nav.ct-pagination .page-numbers.current,
.ct-pagination .page-numbers.current {
  border-color: var(--ptx-green);
  background: var(--ptx-green);
  color: #fff;
  box-shadow: 0 14px 30px rgba(95, 118, 104, 0.22);
}

.woocommerce nav.woocommerce-pagination .page-numbers.dots,
nav.woocommerce-pagination .page-numbers.dots,
nav.ct-pagination .page-numbers.dots,
.ct-pagination .page-numbers.dots {
  min-width: 28px;
  border-color: transparent;
  background: transparent;
  color: #5b3027;
  box-shadow: none;
  padding-inline: 4px;
}

.woocommerce nav.woocommerce-pagination .prev,
.woocommerce nav.woocommerce-pagination .next,
nav.woocommerce-pagination .prev,
nav.woocommerce-pagination .next,
nav.ct-pagination .prev,
nav.ct-pagination .next,
.ct-pagination .prev,
.ct-pagination .next {
  min-width: 76px;
}

.ptx-catalog-hero h1 {
  max-width: 760px;
  margin: 0 0 14px;
  color: var(--ptx-heading);
  font-size: clamp(30px, 3.2vw, 44px);
  font-weight: 790;
  line-height: 1.08;
}

.ptx-catalog-hero p {
  max-width: 650px;
  margin: 0;
  color: var(--ptx-muted);
  font-size: clamp(17px, 2vw, 21px);
}

.ptx-product-search {
  position: relative;
  z-index: 80;
  width: min(100%, 720px);
  margin-top: 24px;
}

.ptx-product-search--hero {
  margin-top: 22px;
  margin-bottom: 136px;
}

.ptx-shop-search-tools {
  width: min(1240px, calc(100% - 32px));
  margin: 0 auto 18px;
}

.ptx-shop-search-tools .ptx-product-search {
  width: min(100%, 760px);
  margin: 0;
}

.ptx-product-search__form {
  min-height: 62px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
  border: 1px solid rgba(32, 26, 23, 0.12);
  border-radius: 18px;
  background: rgba(255, 253, 249, 0.94);
  box-shadow: 0 18px 46px rgba(32, 26, 23, 0.12);
  padding: 7px;
}

.ptx-product-search--hero .ptx-product-search__form {
  border-color: rgba(255, 255, 255, 0.34);
  background: rgba(255, 253, 249, 0.9);
  backdrop-filter: blur(16px);
}

.ptx-product-search__form input[type="search"] {
  min-width: 0;
  min-height: 48px;
  border: 0;
  border-radius: 13px;
  background: transparent;
  color: var(--ptx-text);
  font-size: 16px;
  font-weight: 650;
  outline: 0;
  padding: 0 14px;
}

.ptx-product-search__form input[type="search"]::placeholder {
  color: #7a6d63;
}

.ptx-product-search__form button {
  min-height: 48px;
  border: 0;
  border-radius: 13px;
  background: linear-gradient(135deg, var(--ptx-accent-strong), var(--ptx-green));
  color: #fff;
  cursor: pointer;
  font-weight: 850;
  padding: 0 22px;
  box-shadow: 0 10px 24px rgba(63, 111, 101, 0.22);
}

.ptx-product-search__results {
  position: absolute;
  left: 0;
  right: 0;
  top: calc(100% + 10px);
  z-index: 1000;
  max-height: min(54vh, 430px);
  overflow: hidden;
  border: 1px solid rgba(32, 26, 23, 0.1);
  border-radius: 16px;
  background: #fffdf9;
  box-shadow: 0 22px 58px rgba(32, 26, 23, 0.16);
}

.ptx-product-search__item {
  display: grid;
  grid-template-columns: 62px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  border-bottom: 1px solid rgba(32, 26, 23, 0.07);
  color: var(--ptx-text) !important;
  text-decoration: none;
  padding: 11px 13px;
}

.ptx-product-search__item:hover {
  background: rgba(95, 118, 104, 0.07);
}

.ptx-product-search__thumb img {
  width: 62px;
  height: 62px;
  border-radius: 10px;
  object-fit: cover;
  background: var(--ptx-bg-2);
}

.ptx-product-search__meta {
  min-width: 0;
  display: grid;
  gap: 4px;
}

.ptx-product-search__meta strong {
  overflow: hidden;
  color: var(--ptx-heading, var(--ptx-text));
  font-size: 14px;
  line-height: 1.3;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ptx-product-search__meta em {
  color: var(--ptx-green);
  font-style: normal;
  font-weight: 850;
}

.ptx-product-search__all,
.ptx-product-search__empty {
  display: block;
  color: var(--ptx-accent-strong) !important;
  font-weight: 850;
  padding: 14px;
  text-decoration: none;
}

.ptx-product-search__empty {
  color: var(--ptx-muted) !important;
}

.ptx-product-search__loading {
  min-height: 76px;
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--ptx-green);
  font-weight: 850;
  padding: 16px;
}

.ptx-product-search__loading span {
  width: 24px;
  height: 24px;
  flex: 0 0 24px;
  border: 3px solid rgba(95, 118, 104, 0.18);
  border-top-color: var(--ptx-green);
  border-radius: 999px;
  animation: ptx-search-spin 0.72s linear infinite;
}

.ptx-product-search__loading em {
  color: var(--ptx-text);
  font-style: normal;
}

@keyframes ptx-search-spin {
  to {
    transform: rotate(360deg);
  }
}

.ptx-mobile-search-panel {
  position: fixed;
  inset: 0;
  z-index: 10000;
  min-height: 100vh;
  min-height: 100dvh;
  overflow-y: auto;
  background: rgba(32, 26, 23, 0.52);
  padding: max(28px, env(safe-area-inset-top)) 14px 14px;
  backdrop-filter: blur(8px);
}

.ptx-mobile-search-panel__close {
  position: absolute;
  top: max(12px, env(safe-area-inset-top));
  right: 14px;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 999px;
  background: #fffdf9;
  color: var(--ptx-text);
  font-size: 28px;
  line-height: 1;
}

.ptx-mobile-search-panel .ptx-product-search {
  width: min(100%, 680px);
  margin: 58px auto 0;
}

.ptx-mobile-search-panel .ptx-product-search__results {
  position: static;
  max-height: none;
  margin-top: 10px;
  overflow: visible;
}

.ptx-catalog-products {
  padding: 26px 0 82px;
}

.ptx-catalog-products .woocommerce {
  width: 100%;
}

.ptx-catalog-products .woocommerce ul.products {
  width: 100%;
}

.ptx-catalog-products .ptx-no-products {
  width: min(720px, calc(100% - 32px));
  min-height: 0;
  margin: 0 auto;
  border-color: rgba(95, 118, 104, 0.18);
  background: #fffdf9;
  padding: 26px 28px;
  box-shadow: 0 16px 42px rgba(36, 31, 27, 0.07);
}

.ptx-catalog-products .ptx-no-products h3,
.ptx-catalog-products .ptx-no-products p {
  display: block;
  visibility: visible;
  opacity: 1;
}

.woocommerce .woocommerce-result-count {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(32, 26, 23, 0.1);
  border-radius: 999px;
  background: rgba(255, 253, 249, 0.78);
  color: var(--ptx-muted);
  font-size: 14px;
  font-weight: 650;
  padding: 8px 16px;
}

.woocommerce .woocommerce-ordering {
  margin-bottom: 22px;
}

.woocommerce .woocommerce-ordering select {
  min-height: 42px;
  border: 1px solid rgba(32, 26, 23, 0.12);
  border-radius: 999px;
  background: var(--ptx-surface);
  color: var(--ptx-heading);
  font-weight: 650;
  padding: 8px 38px 8px 16px;
  box-shadow: var(--ptx-soft-shadow);
}

.ptx-shop-tools {
  width: min(1240px, calc(100% - 32px));
  margin: 0 auto 34px;
  overflow-anchor: none;
}

.ptx-filter-form {
  height: auto !important;
  min-height: 0 !important;
  max-height: none !important;
  overflow-anchor: none;
  overflow: hidden;
  border: 1px solid rgba(32, 26, 23, 0.1);
  border-radius: 18px;
  background:
    linear-gradient(135deg, rgba(255, 253, 249, 0.98), rgba(247, 243, 238, 0.96));
  box-shadow: 0 22px 58px rgba(32, 26, 23, 0.1);
  padding: 0;
}

.ptx-filter-form::before {
  content: "";
  display: block;
  height: 5px;
  background: linear-gradient(90deg, var(--ptx-accent-strong), var(--ptx-green), var(--ptx-gold));
}

.ptx-filter-head {
  align-items: center;
  margin: 0;
  padding: 22px 24px 18px;
}

.ptx-filter-head h2 {
  max-width: 620px;
  color: var(--ptx-heading);
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 780;
  line-height: 1.05;
}

.ptx-filter-head .ptx-eyebrow {
  margin-bottom: 8px;
}

.ptx-filter-toggle {
  border-radius: 999px;
  background: #fff;
  box-shadow: 0 8px 22px rgba(32, 26, 23, 0.08);
}

.ptx-filter-body {
  display: grid;
  grid-template-columns: minmax(260px, 0.85fr) minmax(0, 2.15fr);
  gap: 0;
  border-top: 1px solid rgba(32, 26, 23, 0.08);
  height: auto !important;
  min-height: 0 !important;
  max-height: none !important;
  align-items: start;
}

.ptx-filter-controls {
  align-content: start;
  align-items: start;
  display: grid;
  grid-template-columns: repeat(3, minmax(150px, 1fr));
  gap: 18px;
  padding: 22px 24px;
}

.ptx-attribute-filters {
  display: contents;
}

.ptx-filter-group {
  min-width: 0;
}

.ptx-filter-group legend {
  display: flex;
  flex-direction: column;
  gap: 3px;
  margin-bottom: 12px;
  color: var(--ptx-heading);
  font-size: 13px;
  font-weight: 780;
  line-height: 1.2;
}

.ptx-filter-group legend small {
  color: var(--ptx-muted);
  font-size: 12px;
  font-weight: 500;
}

.ptx-filter-group--categories {
  align-self: stretch;
  border-right: 1px solid rgba(32, 26, 23, 0.08);
  background: rgba(255, 255, 255, 0.48);
  padding: 22px 18px 22px 24px;
}

.ptx-filter-options {
  gap: 9px;
}

.ptx-filter-options--tree {
  max-height: 352px;
  gap: 7px;
  padding: 0 6px 2px 0;
  scrollbar-color: rgba(91, 48, 39, 0.32) transparent;
}

.ptx-filter-cat {
  min-width: 0;
}

.ptx-filter-children {
  position: relative;
  gap: 6px;
  margin: 7px 0 2px 12px;
  padding-left: 13px;
}

.ptx-filter-children::before {
  content: "";
  position: absolute;
  left: 0;
  top: 3px;
  bottom: 3px;
  width: 1px;
  background: rgba(32, 26, 23, 0.12);
}

.ptx-filter-option span {
  min-height: 40px;
  gap: 8px;
  border-color: rgba(32, 26, 23, 0.12);
  background: rgba(255, 253, 249, 0.88);
  color: #473d37;
  font-size: 14px;
  font-weight: 620;
  padding: 9px 13px;
  box-shadow: 0 4px 14px rgba(32, 26, 23, 0.035);
}

.ptx-filter-option span::before {
  content: "";
  width: 16px;
  height: 16px;
  flex: 0 0 16px;
  border: 1px solid rgba(32, 26, 23, 0.2);
  border-radius: 5px;
  background: #fff;
  box-shadow: inset 0 0 0 3px #fff;
}

.ptx-filter-group--chips .ptx-filter-option span::before {
  border-radius: 999px;
}

.ptx-filter-option:hover span {
  border-color: rgba(63, 111, 101, 0.42);
  background: #fff;
  color: var(--ptx-heading);
}

.ptx-filter-option input:focus-visible + span {
  outline: 3px solid rgba(63, 111, 101, 0.2);
  outline-offset: 2px;
}

.ptx-filter-option input:checked + span {
  border-color: var(--ptx-green);
  background: #eef6f2;
  color: var(--ptx-heading);
}

.ptx-filter-option input:checked + span::before {
  border-color: var(--ptx-green);
  background: var(--ptx-green);
  box-shadow: inset 0 0 0 4px #eef6f2;
}

.ptx-filter-group--categories .ptx-filter-option span {
  width: 100%;
  justify-content: flex-start;
  border-radius: 10px;
  box-shadow: none;
}

.ptx-filter-cat--level-0 > .ptx-filter-option span {
  min-height: 44px;
  font-weight: 720;
}

.ptx-filter-cat--level-1 .ptx-filter-option span,
.ptx-filter-cat--level-2 .ptx-filter-option span {
  min-height: 36px;
  background: rgba(255, 253, 249, 0.58);
  font-size: 13px;
  font-weight: 560;
  padding-block: 7px;
}

.ptx-filter-group--price {
  grid-column: span 1;
}

.ptx-price-fields {
  gap: 10px;
}

.ptx-price-fields label {
  color: var(--ptx-muted);
  font-weight: 650;
}

.ptx-price-fields input,
.ptx-filter-select {
  min-height: 44px;
  border-color: rgba(32, 26, 23, 0.12);
  border-radius: 10px;
  background: #fff;
  color: var(--ptx-heading);
  font-weight: 650;
  box-shadow: 0 4px 14px rgba(32, 26, 23, 0.035);
}

.ptx-filter-option--switch span {
  width: 100%;
  border-radius: 10px;
}

.ptx-filter-actions {
  min-height: 70px;
  margin: 0;
  border-top: 1px solid rgba(32, 26, 23, 0.08);
  background: rgba(255, 255, 255, 0.55);
  padding: 14px 24px;
}

.ptx-filter-actions .ptx-button {
  min-height: 46px;
  border-radius: 999px;
  padding-inline: 22px;
}

.ptx-filter-reset {
  min-height: 44px;
  border: 1px solid rgba(32, 26, 23, 0.1);
  border-radius: 999px;
  background: #fff;
  color: var(--ptx-accent-strong);
  padding: 10px 18px;
}

.ptx-filter-status {
  min-height: 36px;
  display: inline-flex;
  align-items: center;
  color: var(--ptx-muted);
  font-weight: 650;
}

.woocommerce ul.products {
  width: min(1240px, calc(100% - 32px));
  margin-inline: auto;
  gap: 22px;
}

.woocommerce ul.products li.product,
.woocommerce-page ul.products li.product {
  border-radius: 14px;
  padding: 12px 12px 18px;
}

.woocommerce ul.products li.product a img {
  aspect-ratio: 1 / 1.12;
  width: 100%;
  height: clamp(220px, 23vw, 330px);
  object-fit: cover;
  object-position: center;
  display: block;
  border-radius: 11px;
}

.woocommerce ul.products li.product .woocommerce-loop-product__title {
  min-height: auto;
  margin-top: 4px;
}

.woocommerce ul.products li.product .button {
  width: 100%;
  min-height: 44px;
  margin-top: 12px;
  border-radius: 999px;
}

@media (max-width: 1100px) {
  .ptx-filter-body {
    grid-template-columns: 1fr;
  }

  .ptx-filter-group--categories {
    border-right: 0;
    border-bottom: 1px solid rgba(32, 26, 23, 0.08);
  }

  .ptx-filter-controls {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .woocommerce .woocommerce-result-count,
  .woocommerce .woocommerce-ordering {
    float: none;
    width: min(100% - 24px, 1240px);
    margin: 0 auto 12px;
  }

  .woocommerce .woocommerce-ordering select {
    width: 100%;
    border-radius: 12px;
  }

  .ptx-shop-tools {
    width: min(100% - 24px, 1240px);
  }

  .ptx-filter-form {
    border-radius: 16px;
  }

  .ptx-filter-head {
    padding: 18px 16px;
  }

  .ptx-filter-toggle {
    display: inline-flex;
    min-width: 116px;
  }

  .ptx-filter-body {
    display: none;
  }

  .ptx-filter-form.is-open .ptx-filter-body {
    display: grid;
  }

  .ptx-filter-group--categories {
    padding: 18px 14px;
  }

  .ptx-filter-controls {
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 18px 14px;
  }

  .ptx-filter-options--tree {
    max-height: 300px;
  }

  .ptx-filter-actions {
    align-items: stretch;
    padding: 14px;
  }

  .ptx-filter-actions .ptx-button,
  .ptx-filter-reset,
  .ptx-filter-status {
    width: 100%;
    justify-content: center;
  }

  .woocommerce ul.products {
    width: min(100% - 24px, 1240px);
    gap: 12px;
  }
}
.ptx-no-blue-sentinel {
  display: none;
}

/* Stable product-card image frame for mixed supplier photos */
.woocommerce ul.products li.product a img,
.woocommerce-page ul.products li.product a img {
  width: 100% !important;
  height: clamp(220px, 23vw, 330px) !important;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center;
  display: block;
}

@media (max-width: 768px) {
  .woocommerce ul.products li.product a img,
  .woocommerce-page ul.products li.product a img {
    height: clamp(185px, 52vw, 265px) !important;
  }
}

@media (max-width: 420px) {
  .woocommerce ul.products li.product a img,
  .woocommerce-page ul.products li.product a img {
    height: clamp(155px, 48vw, 210px) !important;
  }
}

/* Modern cart and checkout */
.woocommerce-cart .site-main,
.woocommerce-checkout .site-main,
.woocommerce-cart .entry-content,
.woocommerce-checkout .entry-content {
  background:
    linear-gradient(180deg, rgba(251, 248, 243, 0.94), rgba(243, 238, 231, 0.78));
}

.woocommerce-cart .woocommerce,
.woocommerce-checkout .woocommerce {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  color: var(--ptx-text);
}

.woocommerce-cart table.shop_table,
.woocommerce-checkout table.shop_table,
.woocommerce-checkout #customer_details,
.woocommerce-checkout #order_review,
.woocommerce-cart .cart-collaterals .cart_totals,
.woocommerce-checkout .woocommerce-checkout-payment,
.woocommerce-cart .woocommerce-notices-wrapper,
.woocommerce-checkout .woocommerce-notices-wrapper {
  border: 1px solid rgba(32, 26, 23, 0.1);
  border-radius: 18px;
  background: rgba(255, 253, 249, 0.94);
  box-shadow: 0 18px 48px rgba(32, 26, 23, 0.08);
}

.woocommerce-cart table.shop_table,
.woocommerce-checkout table.shop_table {
  overflow: hidden;
  border-collapse: separate;
  border-spacing: 0;
}

.woocommerce-cart table.shop_table th,
.woocommerce-checkout table.shop_table th {
  border: 0;
  background: rgba(95, 118, 104, 0.08);
  color: #31483f;
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0;
  text-transform: uppercase;
  padding: 16px;
}

.woocommerce-cart table.shop_table td,
.woocommerce-checkout table.shop_table td {
  border-color: rgba(32, 26, 23, 0.08);
  color: var(--ptx-text);
  padding: 18px 16px;
}

.woocommerce-cart table.cart img {
  width: 86px;
  border-radius: 12px;
  background: var(--ptx-bg-2);
}

.woocommerce-cart table.cart .product-name a,
.woocommerce-checkout .product-name {
  color: var(--ptx-heading, var(--ptx-text));
  font-weight: 800;
  text-decoration: none;
}

.woocommerce-cart table.cart .product-price,
.woocommerce-cart table.cart .product-subtotal,
.woocommerce-checkout .cart-subtotal td,
.woocommerce-checkout .order-total td,
.woocommerce-cart .cart_totals .order-total td {
  color: var(--ptx-green);
  font-weight: 900;
}

.woocommerce .quantity .qty {
  min-height: 44px;
  width: 76px;
  border: 1px solid rgba(32, 26, 23, 0.14);
  border-radius: 999px;
  background: #fff;
  color: var(--ptx-text);
  font-weight: 800;
}

.woocommerce-cart table.cart td.actions {
  background: rgba(255, 253, 249, 0.72);
}

.woocommerce-cart table.cart td.actions .coupon {
  display: flex;
  gap: 10px;
}

.woocommerce-cart table.cart td.actions .coupon .input-text,
.woocommerce form .form-row input.input-text,
.woocommerce form .form-row textarea,
.woocommerce form .form-row select,
.woocommerce-checkout .select2-container .select2-selection--single {
  min-height: 48px;
  border: 1px solid rgba(32, 26, 23, 0.14);
  border-radius: 12px;
  background: #fff;
  color: var(--ptx-text);
  font-weight: 650;
  padding: 12px 14px;
  box-shadow: 0 4px 14px rgba(32, 26, 23, 0.035);
}

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

.woocommerce form .form-row label {
  color: var(--ptx-heading, var(--ptx-text));
  font-size: 13px;
  font-weight: 850;
}

.woocommerce form .form-row .required {
  color: var(--ptx-accent-strong);
}

.woocommerce-cart .cart-collaterals {
  margin-top: 24px;
}

.woocommerce-cart .cart-collaterals .cart_totals {
  width: min(100%, 430px);
  padding: 24px;
}

.woocommerce-cart .cart_totals h2,
.woocommerce-checkout #customer_details h3,
.woocommerce-checkout #order_review_heading {
  margin: 0 0 18px;
  color: var(--ptx-heading, var(--ptx-text));
  font-size: clamp(24px, 3vw, 34px);
  line-height: 1.08;
  letter-spacing: 0;
}

.woocommerce-checkout form.checkout {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.92fr);
  gap: 24px;
  align-items: start;
}

.woocommerce-checkout #customer_details {
  padding: 24px;
}

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

.woocommerce-checkout #customer_details .col-2 {
  margin-top: 18px;
}

.woocommerce-checkout #order_review_heading,
.woocommerce-checkout #order_review {
  grid-column: 2;
}

.woocommerce-checkout #order_review_heading {
  margin-bottom: -6px;
}

.woocommerce-checkout #order_review {
  padding: 20px;
}

.woocommerce-checkout .woocommerce-checkout-payment {
  margin-top: 18px;
  padding: 18px;
}

.woocommerce-checkout .woocommerce-checkout-payment ul.payment_methods {
  display: none;
}

.woocommerce-checkout .woocommerce-checkout-payment .place-order {
  margin: 0;
  padding: 0;
}

.ptx-manager-checkout-note {
  margin-bottom: 16px;
  border: 1px solid rgba(95, 118, 104, 0.18);
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(238, 246, 242, 0.96), rgba(255, 253, 249, 0.96));
  color: #31483f;
  font-weight: 750;
  line-height: 1.45;
  padding: 14px 16px;
}

.woocommerce-cart .wc-proceed-to-checkout a.checkout-button,
.woocommerce-checkout #place_order,
.woocommerce-cart table.cart td.actions .button,
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button {
  min-height: 50px;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--ptx-accent-strong), #4f2e27);
  color: #fff;
  font-weight: 850;
  text-decoration: none;
  box-shadow: 0 14px 30px rgba(91, 48, 39, 0.2);
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.woocommerce-cart .wc-proceed-to-checkout a.checkout-button:hover,
.woocommerce-checkout #place_order:hover,
.woocommerce-cart table.cart td.actions .button:hover,
.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover {
  background: linear-gradient(135deg, #42231d, var(--ptx-green));
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 18px 38px rgba(91, 48, 39, 0.25);
}

.woocommerce-cart .product-remove a.remove {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  background: rgba(145, 101, 84, 0.1);
  color: var(--ptx-accent-strong) !important;
  font-size: 24px;
  line-height: 1;
}

.woocommerce-cart .product-remove a.remove:hover {
  background: var(--ptx-accent-strong);
  color: #fff !important;
}

@media (max-width: 840px) {
  .woocommerce-checkout form.checkout {
    display: block;
  }

  .woocommerce-checkout #order_review_heading,
  .woocommerce-checkout #order_review {
    grid-column: auto;
  }

  .woocommerce-checkout #order_review_heading {
    margin-top: 24px;
    margin-bottom: 14px;
  }
}

@media (max-width: 640px) {
  .woocommerce-cart .woocommerce,
  .woocommerce-checkout .woocommerce {
    width: min(100% - 24px, 1180px);
  }

  .woocommerce-cart table.cart thead {
    display: none;
  }

  .woocommerce-cart table.cart,
  .woocommerce-cart table.cart tbody,
  .woocommerce-cart table.cart tr,
  .woocommerce-cart table.cart td {
    display: block;
    width: 100%;
  }

  .woocommerce-cart table.cart tr.cart_item {
    position: relative;
    margin: 0;
    border-bottom: 1px solid rgba(32, 26, 23, 0.08);
    padding: 16px;
  }

  .woocommerce-cart table.cart td {
    border: 0;
    padding: 7px 0;
    text-align: left !important;
  }

  .woocommerce-cart table.cart .product-remove {
    position: absolute;
    top: 12px;
    right: 12px;
    width: auto;
  }

  .woocommerce-cart table.cart .product-thumbnail {
    padding-right: 48px;
  }

  .woocommerce-cart table.cart img {
    width: 100px;
  }

  .woocommerce-cart table.cart .product-price::before,
  .woocommerce-cart table.cart .product-quantity::before,
  .woocommerce-cart table.cart .product-subtotal::before {
    display: block;
    margin-bottom: 5px;
    color: var(--ptx-muted);
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
  }

  .woocommerce-cart table.cart .product-price::before {
    content: "Ціна";
  }

  .woocommerce-cart table.cart .product-quantity::before {
    content: "Кількість";
  }

  .woocommerce-cart table.cart .product-subtotal::before {
    content: "Разом";
  }

  .woocommerce-cart table.cart td.actions .coupon {
    display: grid;
    grid-template-columns: 1fr;
  }

  .woocommerce-cart table.cart td.actions .button,
  .woocommerce-cart table.cart td.actions .coupon .input-text,
  .woocommerce-cart .wc-proceed-to-checkout a.checkout-button,
  .woocommerce-checkout #place_order {
    width: 100%;
  }

  .woocommerce-cart .cart-collaterals .cart_totals,
  .woocommerce-checkout #customer_details,
  .woocommerce-checkout #order_review {
    border-radius: 16px;
    padding: 16px;
  }

  .woocommerce form .form-row-first,
  .woocommerce form .form-row-last {
    width: 100%;
    float: none;
  }
}

/* Warm Protextyle palette: override default Blocksy blue accents */
:root,
body,
[data-prefix],
[data-header],
[data-footer] {
  --theme-palette-color-1: var(--ptx-accent-strong) !important;
  --theme-palette-color-2: var(--ptx-green) !important;
  --theme-palette-color-3: var(--ptx-text) !important;
  --theme-palette-color-4: var(--ptx-heading) !important;
  --theme-link-initial-color: var(--ptx-accent-strong) !important;
  --theme-link-hover-color: var(--ptx-green) !important;
  --theme-selection-background-color: var(--ptx-green) !important;
  --theme-button-background-initial-color: var(--ptx-accent-strong) !important;
  --theme-button-background-hover-color: #42231d !important;
}

a,
.entry-content a,
.ct-link,
.ct-menu-link,
.woocommerce a:not(.button),
.wp-block-navigation a,
.wp-block-post-title a {
  color: var(--ptx-accent-strong);
}

a:hover,
.entry-content a:hover,
.ct-link:hover,
.ct-menu-link:hover,
.woocommerce a:not(.button):hover,
.wp-block-navigation a:hover,
.wp-block-post-title a:hover {
  color: var(--ptx-green);
}

.woocommerce-message,
.woocommerce-info {
  border-top-color: var(--ptx-green);
}

.woocommerce-message::before,
.woocommerce-info::before {
  color: var(--ptx-green);
}

.ptx-site-footer {
  margin-top: 72px;
  background:
    linear-gradient(135deg, rgba(23, 18, 15, 0.98), rgba(36, 58, 50, 0.96)),
    #17120f;
  color: rgba(255, 255, 255, 0.82);
}

.ptx-site-footer__inner {
  display: grid;
  grid-template-columns: minmax(260px, 0.9fr) minmax(0, 1.6fr);
  gap: clamp(32px, 6vw, 84px);
  padding-block: clamp(44px, 7vw, 78px);
}

.ptx-site-footer__brand {
  max-width: 430px;
}

.ptx-site-footer__logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: #fff;
  text-decoration: none;
}

.ptx-site-footer__logo span {
  width: 14px;
  height: 14px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--ptx-green), var(--ptx-rose));
  box-shadow: 0 0 0 7px rgba(255, 255, 255, 0.08);
}

.ptx-site-footer__logo strong {
  color: #fff;
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 900;
  line-height: 1;
}

.ptx-site-footer__brand p {
  margin: 18px 0 0;
  color: rgba(255, 255, 255, 0.74);
  font-size: 16px;
  line-height: 1.65;
}

.ptx-site-footer__nav,
.ptx-site-footer__menu-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.ptx-site-footer__menu-list,
.ptx-site-footer__menu-list ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.ptx-site-footer__menu-list > li > a,
.ptx-site-footer__nav h2 {
  margin: 0 0 14px;
  color: #fff;
  font-size: 14px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.ptx-site-footer__nav a,
.ptx-site-footer__menu-list a {
  display: flex;
  width: fit-content;
  color: rgba(255, 255, 255, 0.76);
  font-weight: 700;
  line-height: 1.35;
  text-decoration: none;
  padding-block: 6px;
}

.ptx-site-footer__menu-list > li > a {
  padding-block: 0;
}

.ptx-site-footer__nav a:hover,
.ptx-site-footer__menu-list a:hover {
  color: #fff;
}

.ptx-site-footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.13);
  color: rgba(255, 255, 255, 0.58);
  font-size: 13px;
  font-weight: 700;
  padding-block: 18px;
}

.woocommerce div.product {
  color: var(--ptx-text);
}

.woocommerce div.product .product_title {
  color: var(--ptx-heading);
  font-size: clamp(32px, 4vw, 54px);
  line-height: 1.02;
}

.woocommerce div.product p.price,
.woocommerce div.product span.price {
  color: var(--ptx-green);
}

.woocommerce div.product .summary,
.woocommerce-page div.product .summary {
  border: 1px solid rgba(32, 26, 23, 0.1);
  border-radius: 16px;
  background: rgba(255, 253, 249, 0.88);
  box-shadow: var(--ptx-soft-shadow);
  padding: clamp(18px, 3vw, 28px);
}

.woocommerce-product-details__short-description {
  color: var(--ptx-muted);
  font-size: 17px;
  line-height: 1.62;
}

.ptx-product-description-card {
  margin: 18px 0;
  border: 1px solid rgba(32, 26, 23, 0.1);
  border-radius: 14px;
  background: linear-gradient(135deg, #fffdf9, #f7f1eb);
  padding: 18px;
}

.ptx-product-description-card__label {
  display: block;
  margin-bottom: 10px;
  color: var(--ptx-green);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.ptx-product-description-card__content {
  color: var(--ptx-text);
  font-size: 15px;
  line-height: 1.65;
}

.ptx-product-description-card__content > :first-child {
  margin-top: 0;
}

.ptx-product-description-card__content > :last-child {
  margin-bottom: 0;
}

.ptx-product-description-card__content p,
.ptx-product-description-card__content li {
  color: var(--ptx-muted);
}

.ptx-product-description-card__content h2,
.ptx-product-description-card__content h3,
.ptx-product-description-card__content h4 {
  color: var(--ptx-heading);
  font-size: 20px;
}

.woocommerce div.product .woocommerce-tabs ul.tabs li.active a,
.woocommerce div.product .woocommerce-tabs ul.tabs li a:hover {
  color: var(--ptx-accent-strong);
}

@media (max-width: 768px) {
  .woocommerce div.product .summary,
  .woocommerce-page div.product .summary {
    border-radius: 14px;
    padding: 16px;
  }

  .ptx-product-description-card {
    padding: 15px;
  }
}

/* Ukrainian UI polish, mobile text safety and cleaner size filters */
body,
button,
input,
select,
textarea {
  overflow-wrap: anywhere;
}

.woocommerce ul.products li.product,
.woocommerce-page ul.products li.product,
.ptx-category-card,
.ptx-benefit,
.ptx-filter-form,
.ptx-product-description-card {
  word-break: normal;
}

.ptx-filter-group--sizes {
  grid-column: 1 / -1;
  border: 1px solid rgba(63, 111, 101, 0.18);
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(238, 246, 242, 0.9), rgba(255, 253, 249, 0.96));
  padding: 16px;
}

.ptx-filter-group--sizes legend {
  color: var(--ptx-green);
  font-size: 14px;
}

.ptx-size-filter-toggle {
  width: 100%;
  min-height: 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border: 1px solid rgba(63, 111, 101, 0.18);
  border-radius: 12px;
  background: #fff;
  color: #243b35;
  cursor: pointer;
  font-weight: 850;
  padding: 11px 14px;
  box-shadow: 0 6px 18px rgba(32, 26, 23, 0.04);
}

.ptx-size-filter-toggle::after {
  content: "";
  width: 9px;
  height: 9px;
  flex: 0 0 9px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
  transition: transform 0.18s ease;
}

.ptx-filter-group--sizes.is-open .ptx-size-filter-toggle::after {
  transform: rotate(225deg);
}

.ptx-size-filter-toggle em {
  min-width: 26px;
  min-height: 26px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-left: auto;
  border-radius: 999px;
  background: var(--ptx-green);
  color: #fff;
  font-style: normal;
  font-size: 12px;
  font-weight: 900;
}

.ptx-size-filter-panel {
  display: none;
  max-height: min(42vh, 320px);
  overflow-y: auto;
  overscroll-behavior: contain;
  margin-top: 14px;
  padding-right: 4px;
}

.ptx-filter-group--sizes.is-open .ptx-size-filter-panel {
  display: block;
}

.ptx-filter-group--sizes .ptx-filter-options {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(86px, 1fr));
  gap: 8px;
}

.ptx-size-filter-groups {
  display: grid;
  gap: 14px;
}

.ptx-size-filter-group {
  padding: 12px;
  border: 1px solid rgba(63, 111, 101, 0.14);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.62);
}

.ptx-size-filter-group h4 {
  margin: 0 0 10px;
  color: #243b35;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.25;
}

.ptx-filter-group--sizes .ptx-filter-option span {
  width: 100%;
  min-height: 42px;
  justify-content: center;
  border-radius: 999px;
  background: #fff;
  text-align: center;
}

.ptx-filter-group--sizes .ptx-filter-option span::before {
  display: none;
}

.ptx-filter-group--sizes .ptx-filter-option input:checked + span {
  background: var(--ptx-green);
  color: #fff;
  box-shadow: 0 8px 18px rgba(63, 111, 101, 0.2);
}

@media (max-width: 640px) {
  html {
    overflow-x: hidden;
  }

  body {
    overflow-x: hidden;
  }

  .ptx-hero h1,
  .ptx-catalog-hero h1,
  .woocommerce div.product .product_title {
    font-size: clamp(30px, 10vw, 44px);
    line-height: 1.05;
    overflow-wrap: anywhere;
  }

  .ptx-section-head h2,
  .ptx-feature h2,
  .ptx-faq-layout h2,
  .ptx-filter-head h2 {
    font-size: clamp(24px, 8vw, 32px);
    line-height: 1.12;
  }

  .ptx-catalog-hero p,
  .ptx-hero p,
  .woocommerce-product-details__short-description {
    font-size: 16px;
    line-height: 1.55;
  }

  .ptx-product-search {
    width: 100%;
    margin-top: 18px;
  }

  .ptx-product-search--hero {
    margin-bottom: 124px;
  }

  .ptx-product-search__form {
    min-height: 56px;
    grid-template-columns: minmax(0, 1fr) 52px;
    border-radius: 16px;
    padding: 5px;
  }

  .ptx-product-search__form input[type="search"] {
    min-height: 46px;
    font-size: 15px;
    padding-inline: 11px;
  }

  .ptx-product-search__form button {
    width: 52px;
    min-height: 46px;
    border-radius: 12px;
    padding: 0;
  }

  .ptx-product-search__form button span {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
  }

  .ptx-product-search__form button::before {
    content: "⌕";
    font-size: 23px;
    line-height: 1;
  }

  .ptx-product-search__results {
    max-height: min(68vh, 520px);
    overflow-y: auto;
  }

  .woocommerce ul.products li.product .woocommerce-loop-product__title {
    min-height: 46px;
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    font-size: 13px;
    line-height: 1.32;
  }

  .ptx-filter-head {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 12px;
  }

  .ptx-filter-head .ptx-eyebrow {
    margin-bottom: 4px;
  }

  .ptx-filter-toggle {
    min-width: 108px;
    padding-inline: 12px;
    font-size: 13px;
  }

  .ptx-filter-group--sizes {
    padding: 14px 12px;
  }

  .ptx-filter-group--sizes .ptx-filter-options {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .ptx-size-filter-groups {
    gap: 12px;
  }

  .ptx-size-filter-group {
    padding: 10px;
  }

  .ptx-filter-group--sizes .ptx-filter-option span {
    min-height: 40px;
    padding-inline: 8px;
    font-size: 13px;
  }

  .ptx-mobile-nav {
    left: 8px;
    right: 8px;
    bottom: max(8px, env(safe-area-inset-bottom));
    border: 1px solid rgba(32, 26, 23, 0.12);
    background: rgba(255, 253, 249, 0.96);
    box-shadow: 0 16px 44px rgba(32, 26, 23, 0.22);
    padding: 6px;
  }

  .ptx-mobile-nav__item {
    min-height: 58px;
    color: #4f463f;
    font-size: 10px;
    line-height: 1.1;
    text-shadow: none;
  }

  .ptx-mobile-nav__item span:last-child {
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .ptx-mobile-nav__icon {
    width: 24px;
    height: 24px;
    color: var(--ptx-green);
  }

  .ptx-mobile-nav__item.is-active {
    background: var(--ptx-green);
    color: #fff;
  }

  .ptx-mobile-nav__item.is-active .ptx-mobile-nav__icon {
    color: #fff;
  }

  .ptx-mobile-nav em {
    background: var(--ptx-accent-strong);
    color: #fff;
  }
}

/* Final home/mobile polish overrides. Keep this block last. */
.woocommerce-coming-soon-default {
  background:
    linear-gradient(135deg, rgba(251, 248, 243, 0.98), rgba(235, 226, 214, 0.94)) !important;
  color: #241f1b !important;
}

.woocommerce-coming-soon-default .coming-soon-cover {
  background:
    radial-gradient(circle at 18% 16%, rgba(199, 143, 126, 0.24), transparent 32%),
    radial-gradient(circle at 84% 12%, rgba(95, 118, 104, 0.2), transparent 30%),
    linear-gradient(135deg, #fffaf4 0%, #efe4d8 100%);
}

.woocommerce-coming-soon-header {
  border-bottom: 1px solid rgba(36, 31, 27, 0.08);
  background: rgba(255, 253, 249, 0.72) !important;
  backdrop-filter: blur(18px);
}

.wp-block-site-title {
  margin: 0;
  color: #3b2119 !important;
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1;
}

.wp-block-site-title a {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  color: inherit !important;
  font-size: clamp(25px, 3vw, 34px);
  text-decoration: none;
}

.wp-block-site-title a::before {
  content: "";
  width: 12px;
  height: 12px;
  margin-right: 10px;
  border-radius: 999px;
  background: linear-gradient(135deg, #5f7668, #c78f7e);
  box-shadow: 0 0 0 6px rgba(95, 118, 104, 0.12);
}

.woocommerce-coming-soon-default .wp-block-heading {
  max-width: 760px;
  color: #241f1b !important;
  font-size: clamp(42px, 7vw, 92px) !important;
  font-weight: 900;
  line-height: 0.96;
  letter-spacing: 0;
}

.woocommerce-coming-soon-default p:not(.wp-block-site-title) {
  max-width: 620px;
  color: #5d5149 !important;
  font-size: clamp(17px, 2vw, 23px) !important;
  line-height: 1.55;
}

.woocommerce-coming-soon-default .wp-block-button__link {
  border-radius: 12px;
  background: linear-gradient(135deg, #916554, #6f4638) !important;
  color: #fff !important;
  font-weight: 850;
  box-shadow: 0 16px 34px rgba(111, 70, 56, 0.22);
}

.ptx-strip {
  overflow: hidden;
  background: #17120f;
}

.ptx-strip__inner {
  gap: 12px;
  padding-block: 14px;
}

.ptx-strip span {
  min-width: 0;
  min-height: auto;
  justify-content: flex-start;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
  font-size: 14px;
  line-height: 1.28;
  overflow-wrap: anywhere;
  padding: 16px 18px;
}

.ptx-strip span:last-child {
  border-right: 1px solid rgba(255, 255, 255, 0.22);
}

.ptx-feature {
  background:
    linear-gradient(110deg, rgba(24, 18, 15, 0.94) 0%, rgba(34, 52, 45, 0.92) 100%),
    var(--ptx-bg-2);
}

.ptx-feature h2 {
  color: #fff !important;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.28);
}

.ptx-feature .ptx-eyebrow {
  color: #ffd8c8;
}

.ptx-feature p {
  color: rgba(255, 255, 255, 0.92);
}

@media (max-width: 640px) {
  .ptx-site-footer {
    margin-top: 50px;
    padding-bottom: calc(88px + env(safe-area-inset-bottom));
  }

  .ptx-site-footer__inner,
  .ptx-site-footer__nav,
  .ptx-site-footer__menu-list {
    grid-template-columns: 1fr;
  }

  .ptx-site-footer__inner {
    gap: 34px;
    padding-block: 42px 30px;
  }

  .ptx-site-footer__nav {
    gap: 22px;
  }

  .ptx-site-footer__nav a,
  .ptx-site-footer__menu-list a {
    width: 100%;
    min-height: 38px;
    align-items: center;
  }

  .ptx-site-footer__bottom {
    display: grid;
    gap: 8px;
    padding-bottom: 24px;
  }

  .woocommerce-coming-soon-default .coming-soon-cover {
    padding-right: 18px !important;
    padding-left: 18px !important;
  }

  .wp-block-site-title a {
    font-size: clamp(24px, 8vw, 30px);
  }

  .woocommerce-coming-soon-default .wp-block-heading {
    font-size: clamp(40px, 13vw, 58px) !important;
  }

  .woocommerce-coming-soon-default p:not(.wp-block-site-title) {
    font-size: 17px !important;
  }

  .ptx-strip__inner {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding-inline: 16px;
  }

  .ptx-strip span {
    flex: 0 0 min(78vw, 360px);
    min-height: 68px;
    align-items: center;
    scroll-snap-align: start;
    white-space: normal;
  }

  .ptx-feature {
    padding: 62px 0;
  }

  .ptx-feature h2 {
    color: #fff !important;
    font-size: clamp(31px, 9vw, 40px);
    line-height: 1.1;
  }

  .ptx-feature p {
    color: rgba(255, 255, 255, 0.93);
    font-size: 18px;
    line-height: 1.55;
  }

  .ptx-mobile-nav {
    left: 10px;
    right: 10px;
    bottom: max(10px, env(safe-area-inset-bottom));
    gap: 5px;
    border: 1px solid rgba(63, 111, 101, 0.18);
    border-radius: 26px;
    background: rgba(255, 253, 249, 0.97);
    box-shadow: 0 18px 48px rgba(32, 26, 23, 0.2);
    padding: 7px;
  }

  .ptx-mobile-nav__item {
    min-height: 60px;
    border-radius: 20px;
    color: #44362f;
    font-size: 10px;
    font-weight: 850;
  }

  .ptx-mobile-nav__icon {
    color: var(--ptx-green);
  }

  .ptx-mobile-nav__item.is-active {
    background: linear-gradient(135deg, #436f62, #31594e);
    color: #fff;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18), 0 10px 24px rgba(49, 89, 78, 0.22);
  }

  .ptx-mobile-nav__item.is-active .ptx-mobile-nav__icon,
  .ptx-mobile-nav__item.is-active span:last-child {
    color: #fff;
  }

  .ptx-mobile-nav em {
    right: -7px;
    top: -9px;
    border-color: #fff;
    background: #5b3027;
    color: #fff;
  }
}

/* Search overlay reliability fixes */
.ptx-home,
.ptx-hero {
  overflow: visible !important;
}

.ptx-hero {
  position: relative;
  z-index: 30;
}

.ptx-section,
.ptx-strip,
.ptx-feature,
.ptx-catalog-products {
  position: relative;
  z-index: 1;
}

.ptx-product-search {
  z-index: 1200;
}

.ptx-product-search__results {
  z-index: 9999;
  max-height: min(52vh, 420px);
  overflow-y: auto;
  overscroll-behavior: contain;
}

.ptx-mobile-search-panel {
  overflow-y: auto !important;
}

.ptx-mobile-search-panel .ptx-product-search__results {
  position: relative !important;
  top: auto !important;
  max-height: calc(100dvh - 180px) !important;
  overflow-y: auto !important;
}

/* Final mobile catalog polish */
.ptx-product-search__form button {
  position: relative;
}

@media (max-width: 640px) {
  .ptx-catalog-page .ptx-shop-search-tools,
  .ptx-catalog-page .ptx-filter-form .ptx-breadcrumbs,
  .ptx-catalog-page .ptx-filter-form .ptx-product-search {
    display: none !important;
  }

  .ptx-hero {
    min-height: auto;
    padding-top: 96px;
    padding-bottom: 34px;
    background-position: 58% center;
  }

  .ptx-hero__inner {
    display: block;
    padding-block: 0;
  }

  .ptx-hero h1 {
    display: block;
    margin-bottom: 14px;
    color: #fff;
    font-size: clamp(34px, 10vw, 48px);
    line-height: 1.03;
  }

  .ptx-hero p {
    margin-bottom: 18px;
  }

  .ptx-actions {
    gap: 10px;
  }

  .ptx-product-search__form button::before {
    content: "";
    width: 18px;
    height: 18px;
    display: block;
    border: 2px solid #fff;
    border-radius: 999px;
    box-sizing: border-box;
  }

  .ptx-product-search__form button::after {
    content: "";
    position: absolute;
    left: 31px;
    top: 30px;
    width: 9px;
    height: 2px;
    border-radius: 999px;
    background: #fff;
    transform: rotate(45deg);
    transform-origin: left center;
  }

  .ptx-product-search__form button span {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
  }

  .ptx-filter-select,
  .woocommerce .woocommerce-ordering select {
    appearance: none;
    -webkit-appearance: none;
    min-height: 50px;
    border-radius: 14px;
    background:
      linear-gradient(45deg, transparent 50%, #5f7668 50%) calc(100% - 22px) 21px / 7px 7px no-repeat,
      linear-gradient(135deg, rgba(255, 253, 249, 0.98), #fff);
    color: #241f1b;
    font-weight: 850;
    padding-right: 48px;
  }
}

/* Mobile catalog/search layout fixes */
@media (max-width: 640px) {
  .ptx-filter-form:not(.is-open) .ptx-filter-actions {
    display: none;
  }

  .ptx-filter-form.is-open .ptx-filter-actions {
    display: flex;
  }

  .ptx-filter-head {
    align-items: start;
  }

  .ptx-filter-head h2 {
    font-size: clamp(30px, 9vw, 40px);
    line-height: 1.06;
  }

  .ptx-search-page .ptx-catalog-hero {
    padding-bottom: 24px;
  }

  .ptx-search-page .ptx-catalog-hero h1 {
    max-width: 100%;
    margin-bottom: 18px;
    font-size: clamp(34px, 10vw, 44px);
    line-height: 1.06;
    overflow-wrap: anywhere;
  }

  .ptx-search-page .ptx-product-search {
    position: relative;
    z-index: 1;
    width: 100%;
    margin-top: 0;
  }

  .ptx-mobile-search-panel[hidden] {
    display: none !important;
  }
}

/* Mobile corrections requested from screenshots */
.ptx-catalog-page .woocommerce-ordering {
  display: none !important;
}

.single-product .ct-breadcrumbs {
  display: none !important;
}

/* Product purchase form repair after hosting restore */
.single-product .entry-summary form.cart,
.single-product .entry-summary form.variations_form {
  display: block;
  width: 100%;
  margin-top: 18px;
}

.single-product .entry-summary table.variations {
  width: 100%;
  margin: 0 0 18px;
  border: 0;
  border-collapse: collapse;
}

.single-product .entry-summary table.variations tbody,
.single-product .entry-summary table.variations tr,
.single-product .entry-summary table.variations th,
.single-product .entry-summary table.variations td {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
}

.single-product .entry-summary table.variations tr {
  margin-bottom: 14px;
}

.single-product .entry-summary table.variations th.label {
  margin-bottom: 8px;
  color: var(--ptx-heading, var(--ptx-text));
  font-size: 14px;
  font-weight: 850;
  text-align: left;
}

.single-product .entry-summary table.variations select {
  width: 100%;
  min-height: 48px;
  border: 1px solid rgba(32, 26, 23, 0.14);
  border-radius: 8px;
  background-color: #fff;
  color: var(--ptx-text);
  font-size: 15px;
  font-weight: 650;
  padding: 0 42px 0 16px;
}

.single-product .entry-summary table.variations .reset_variations {
  display: inline-flex;
  margin-top: 8px;
  color: var(--ptx-accent-strong);
  font-size: 13px;
  font-weight: 750;
}

.single-product .entry-summary .single_variation_wrap {
  margin-top: 12px;
}

.single-product .entry-summary .single_variation,
.single-product .entry-summary .woocommerce-variation-description,
.single-product .entry-summary .woocommerce-variation-availability {
  margin-bottom: 12px;
}

.single-product .entry-summary .woocommerce-variation-add-to-cart,
.single-product .entry-summary form.cart:not(.variations_form) {
  display: flex;
  align-items: stretch;
  gap: 12px;
  flex-wrap: nowrap;
}

.single-product .entry-summary form.cart .quantity {
  width: 144px;
  min-width: 144px;
  min-height: 52px;
  display: grid !important;
  grid-template-columns: 44px 56px 44px;
  align-items: stretch;
  overflow: hidden;
  border: 1px solid rgba(32, 26, 23, 0.14);
  border-radius: 8px;
  background: #fff;
}

.single-product .entry-summary form.cart .quantity .ct-decrease,
.single-product .entry-summary form.cart .quantity .ct-increase {
  position: static !important;
  inset: auto !important;
  width: auto !important;
  height: auto !important;
  min-height: 50px;
  display: flex !important;
  align-items: center;
  justify-content: center;
  color: var(--ptx-text);
  cursor: pointer;
}

.single-product .entry-summary form.cart .quantity .ct-decrease {
  order: 1;
  grid-column: 1;
}

.single-product .entry-summary form.cart .quantity .qty {
  order: 2;
  grid-column: 2;
  width: 100% !important;
  min-width: 0;
  min-height: 50px;
  border: 0 !important;
  border-radius: 0;
  background: transparent;
  color: var(--ptx-text);
  font-size: 16px;
  font-weight: 850;
  text-align: center;
  padding: 0;
  box-shadow: none;
}

.single-product .entry-summary form.cart .quantity .ct-increase {
  order: 3;
  grid-column: 3;
}

.single-product .entry-summary form.cart .single_add_to_cart_button {
  flex: 1 1 auto;
  min-height: 52px;
  border-radius: 999px;
  white-space: nowrap;
}

.single-product .entry-summary form.cart .single_add_to_cart_button.disabled,
.single-product .entry-summary form.cart .single_add_to_cart_button:disabled {
  cursor: not-allowed;
  opacity: 0.58;
}

.single-product .entry-summary .ptx-viber-cta {
  clear: both;
}

@media (max-width: 520px) {
  .single-product .entry-summary .woocommerce-variation-add-to-cart,
  .single-product .entry-summary form.cart:not(.variations_form) {
    display: grid;
    grid-template-columns: 1fr;
  }

  .single-product .entry-summary form.cart .quantity,
  .single-product .entry-summary form.cart .single_add_to_cart_button {
    width: 100%;
    min-width: 0;
  }

  .single-product .entry-summary form.cart .quantity {
    grid-template-columns: 1fr 1.2fr 1fr;
  }
}

@media (max-width: 640px) {
  .ptx-breadcrumbs {
    width: calc(100% - 24px);
    gap: 4px;
    margin: 12px auto 16px;
    font-size: 12px;
  }

  .ptx-breadcrumbs a,
  .ptx-breadcrumbs span[aria-current="page"] {
    min-height: 30px;
  }

  .ptx-breadcrumbs a {
    padding: 6px 9px;
  }

  .ptx-breadcrumbs span[aria-current="page"] {
    max-width: 100%;
    padding: 6px 0;
  }

  .woocommerce nav.woocommerce-pagination,
  nav.woocommerce-pagination,
  nav.ct-pagination,
  .ct-pagination {
    margin-top: 32px;
    padding-top: 18px;
  }

  .woocommerce nav.woocommerce-pagination ul,
  nav.woocommerce-pagination ul,
  nav.ct-pagination ul,
  .ct-pagination ul {
    gap: 8px;
  }

  .woocommerce nav.woocommerce-pagination .page-numbers,
  nav.woocommerce-pagination .page-numbers,
  nav.ct-pagination .page-numbers,
  .ct-pagination .page-numbers {
    min-width: 38px;
    min-height: 38px;
    font-size: 13px;
    padding-inline: 10px;
  }

  .ptx-category-grid {
    gap: 14px;
  }

  .ptx-category-card {
    min-height: 182px;
    justify-content: flex-end;
    padding: 16px;
  }

  .ptx-category-card::after {
    left: 9px;
    right: 9px;
    bottom: 9px;
    height: auto;
    min-height: 88px;
  }

  .ptx-category-card span,
  .ptx-category-card strong {
    max-width: none;
    overflow: visible;
    overflow-wrap: anywhere;
  }

  .ptx-category-card span {
    font-size: 13px;
    line-height: 1.32;
  }

  .ptx-category-card strong {
    font-size: 22px;
    line-height: 1.08;
  }

  .ptx-product-search__form button {
    display: grid;
    place-items: center;
    position: relative;
    background:
      url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='10.8' cy='10.8' r='5.8'/%3E%3Cpath d='m15.2 15.2 4 4'/%3E%3C/svg%3E") center / 25px 25px no-repeat,
      linear-gradient(135deg, var(--ptx-accent-strong), var(--ptx-green));
  }

  .ptx-product-search__form button::before {
    content: none !important;
    display: none !important;
  }

  .ptx-product-search__form button::after {
    content: none !important;
    display: none !important;
  }

  .ptx-product-search__loading {
    min-height: 68px;
    padding: 14px;
  }

  .ptx-product-search__loading span {
    width: 22px;
    height: 22px;
    flex-basis: 22px;
  }
}

/* Final mobile nav icon polish */
@media (max-width: 640px) {
  .ptx-mobile-nav {
    min-height: 70px;
    align-items: stretch;
    gap: 5px;
    border-radius: 22px;
    padding: 6px;
  }

  .ptx-mobile-nav__item {
    min-height: 56px;
    gap: 3px;
    border-radius: 16px;
    font-size: 10px;
    letter-spacing: 0;
  }

  .ptx-mobile-nav__icon {
    width: 25px;
    height: 25px;
    color: var(--ptx-green);
  }

  .ptx-mobile-nav svg {
    width: 24px;
    height: 24px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2.15;
    stroke-linecap: round;
    stroke-linejoin: round;
  }

  .ptx-mobile-nav__item.is-active {
    color: #fff;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18);
  }

  .ptx-mobile-nav__item.is-active .ptx-mobile-nav__icon {
    color: #fff;
  }
}

/* Final single product cart alignment override */
.single-product form.cart .input-group,
.single-product form.cart:not(.variations_form),
.single-product .woocommerce-variation-add-to-cart,
.single-product .woocommerce-variation-add-to-cart .input-group {
  width: 100% !important;
  display: flex !important;
  align-items: stretch !important;
  gap: 12px !important;
  flex-wrap: nowrap !important;
}

.single-product form.cart .quantity {
  position: relative !important;
  flex: 0 0 144px !important;
  width: 144px !important;
  min-width: 144px !important;
  max-width: 144px !important;
  height: 64px !important;
  min-height: 64px !important;
  display: grid !important;
  grid-template-columns: 44px 56px 44px !important;
  grid-template-areas: "minus qty plus" !important;
  align-items: center !important;
  overflow: hidden !important;
  border: 1px solid rgba(32, 26, 23, 0.14) !important;
  border-radius: 8px !important;
  background: #fff !important;
  box-shadow: none !important;
}

.single-product form.cart .quantity label {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
}

.single-product form.cart .quantity .qty {
  grid-area: qty !important;
  width: 100% !important;
  min-width: 0 !important;
  max-width: none !important;
  height: 62px !important;
  min-height: 62px !important;
  margin: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  color: var(--ptx-text) !important;
  font-size: 16px !important;
  font-weight: 850 !important;
  line-height: 62px !important;
  text-align: center !important;
  padding: 0 !important;
  box-shadow: none !important;
  appearance: textfield !important;
  -moz-appearance: textfield !important;
}

.single-product form.cart .quantity .qty::-webkit-outer-spin-button,
.single-product form.cart .quantity .qty::-webkit-inner-spin-button {
  margin: 0 !important;
  appearance: none !important;
  -webkit-appearance: none !important;
}

.single-product form.cart .quantity .ct-decrease,
.single-product form.cart .quantity .ct-increase {
  position: static !important;
  inset: auto !important;
  transform: none !important;
  width: 100% !important;
  height: 62px !important;
  min-height: 62px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  margin: 0 !important;
  border: 0 !important;
  background: transparent !important;
  color: var(--ptx-text) !important;
  cursor: pointer !important;
  font-size: 0 !important;
}

.single-product form.cart .quantity .ct-decrease {
  grid-area: minus !important;
}

.single-product form.cart .quantity .ct-increase {
  grid-area: plus !important;
}

.single-product form.cart .quantity .ct-decrease::before,
.single-product form.cart .quantity .ct-increase::before {
  position: static !important;
  width: auto !important;
  height: auto !important;
  border: 0 !important;
  background: transparent !important;
  color: currentColor !important;
  font-size: 22px !important;
  font-weight: 500 !important;
  line-height: 1 !important;
  transform: none !important;
}

.single-product form.cart .quantity .ct-decrease::before {
  content: "-" !important;
}

.single-product form.cart .quantity .ct-increase::before {
  content: "+" !important;
}

.single-product form.cart .quantity .ct-decrease::after,
.single-product form.cart .quantity .ct-increase::after {
  content: none !important;
  display: none !important;
}

.single-product form.cart .single_add_to_cart_button {
  flex: 1 1 auto !important;
  width: auto !important;
  min-width: 0 !important;
  height: 64px !important;
  min-height: 64px !important;
  margin: 0 !important;
  border-radius: 999px !important;
  white-space: nowrap !important;
}

.single-product .ptx-viber-cta + .ptx-viber-cta {
  display: none !important;
}

body.tax-product_cat .hero-section,
body.tax-product_cat .entry-header[data-type],
body.tax-product_cat .woocommerce-products-header {
  display: none !important;
}

/* Checkout layout fix for legacy prostotextyle WooCommerce template */
.woocommerce-checkout form.checkout {
  display: block !important;
}

.woocommerce-checkout form.checkout > .row {
  display: grid !important;
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.92fr) !important;
  gap: 24px !important;
  align-items: start !important;
  margin: 0 !important;
}

.woocommerce-checkout form.checkout > .row > [class*="col-"] {
  width: 100% !important;
  max-width: none !important;
  flex: none !important;
  padding: 0 !important;
  margin: 0 !important;
}

.woocommerce-checkout form.checkout .p-3.bg-white {
  border: 1px solid rgba(32, 26, 23, 0.1) !important;
  border-radius: 18px !important;
  background: rgba(255, 253, 249, 0.94) !important;
  box-shadow: 0 18px 48px rgba(32, 26, 23, 0.08) !important;
  padding: 24px !important;
}

.woocommerce-checkout .woocommerce-billing-fields__field-wrapper,
.woocommerce-checkout .woocommerce-additional-fields__field-wrapper,
.woocommerce-checkout .woocommerce-shipping-fields__field-wrapper {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 16px !important;
  margin: 0 !important;
}

.woocommerce-checkout .woocommerce-additional-fields__field-wrapper,
.woocommerce-checkout .woocommerce-shipping-fields__field-wrapper {
  grid-template-columns: 1fr !important;
}

.woocommerce-checkout .woocommerce-billing-fields__field-wrapper p,
.woocommerce-checkout .woocommerce-additional-fields__field-wrapper p,
.woocommerce-checkout .woocommerce-shipping-fields__field-wrapper p,
.woocommerce-checkout form .form-row,
.woocommerce-checkout form .form-row-first,
.woocommerce-checkout form .form-row-last,
.woocommerce-checkout form .form-row-wide {
  float: none !important;
  width: 100% !important;
  max-width: none !important;
  flex: none !important;
  margin: 0 !important;
  padding: 0 !important;
  clear: none !important;
}

.woocommerce-checkout .woocommerce-billing-fields,
.woocommerce-checkout .woocommerce-shipping-fields,
.woocommerce-checkout .woocommerce-additional-fields {
  position: relative !important;
  z-index: 1 !important;
}

.woocommerce-checkout .woocommerce-billing-fields h3,
.woocommerce-checkout .woocommerce-billing-fields h5,
.woocommerce-checkout .woocommerce-shipping-fields h3,
.woocommerce-checkout .woocommerce-shipping-fields h5,
.woocommerce-checkout .woocommerce-additional-fields h3,
.woocommerce-checkout .woocommerce-additional-fields h5,
.woocommerce-checkout .section-title {
  display: block !important;
  position: static !important;
  margin: 0 0 20px !important;
  padding: 0 !important;
  color: var(--ptx-heading, var(--ptx-text)) !important;
  font-size: clamp(26px, 3vw, 40px) !important;
  line-height: 1.1 !important;
  font-weight: 850 !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
  transform: none !important;
  white-space: normal !important;
}

.woocommerce-checkout .section-title span {
  display: inline !important;
  position: static !important;
  padding: 0 !important;
}

.woocommerce-checkout .section-title::before,
.woocommerce-checkout .section-title::after,
.woocommerce-checkout .section-title span::before,
.woocommerce-checkout .section-title span::after {
  content: none !important;
  display: none !important;
}

.woocommerce-checkout .woocommerce-additional-fields {
  margin-top: 28px !important;
}

.woocommerce-checkout .woocommerce form .form-row label,
.woocommerce-checkout form .form-row label {
  display: block !important;
  margin: 0 0 8px !important;
  line-height: 1.25 !important;
}

.woocommerce-checkout form .form-row input.input-text,
.woocommerce-checkout form .form-row textarea,
.woocommerce-checkout form .form-row select {
  width: 100% !important;
  min-width: 0 !important;
  box-sizing: border-box !important;
}

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

@media (max-width: 900px) {
  .woocommerce-checkout form.checkout > .row,
  .woocommerce-checkout .woocommerce-billing-fields__field-wrapper {
    grid-template-columns: 1fr !important;
  }
}

@media (max-width: 640px) {
  .woocommerce-checkout form.checkout .p-3.bg-white {
    padding: 16px !important;
    border-radius: 16px !important;
  }
}

@media (max-width: 560px) {
  .single-product form.cart .input-group,
  .single-product form.cart:not(.variations_form),
  .single-product .woocommerce-variation-add-to-cart,
  .single-product .woocommerce-variation-add-to-cart .input-group {
    display: grid !important;
    grid-template-columns: 1fr !important;
  }

  .single-product form.cart .quantity,
  .single-product form.cart .single_add_to_cart_button {
    width: 100% !important;
    max-width: none !important;
    min-width: 0 !important;
  }

  .single-product form.cart .quantity {
    grid-template-columns: 1fr 1.25fr 1fr !important;
  }
}

/* Final mobile typography clamp: keep catalog/filter titles readable */
@media (max-width: 640px) {
  .ptx-catalog-hero h1,
  .ptx-search-page .ptx-catalog-hero h1,
  .woocommerce div.product .product_title {
    max-width: 100% !important;
    font-size: clamp(29px, 7.2vw, 34px) !important;
    line-height: 1.12 !important;
    font-weight: 850 !important;
    letter-spacing: 0 !important;
    overflow-wrap: normal !important;
    word-break: normal !important;
    hyphens: none !important;
  }

  .ptx-catalog-hero p {
    font-size: 16px !important;
    line-height: 1.5 !important;
  }

  .ptx-filter-head {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) auto !important;
    grid-template-areas:
      "label button"
      "title title" !important;
    gap: 10px 12px !important;
    align-items: center !important;
    padding: 18px 18px 20px !important;
  }

  .ptx-filter-head .ptx-eyebrow {
    grid-area: label !important;
    margin: 0 !important;
  }

  .ptx-filter-toggle {
    grid-area: button !important;
    min-width: 0 !important;
    min-height: 46px !important;
    padding: 0 16px !important;
    font-size: 14px !important;
    white-space: nowrap !important;
  }

  .ptx-filter-head h2 {
    grid-area: title !important;
    max-width: 100% !important;
    margin: 0 !important;
    font-size: clamp(27px, 7vw, 32px) !important;
    line-height: 1.12 !important;
    font-weight: 850 !important;
    letter-spacing: 0 !important;
    overflow-wrap: normal !important;
    word-break: normal !important;
    hyphens: none !important;
  }

  .ptx-product-search__form input[type="search"] {
    font-size: 14px !important;
  }
}

@media (max-width: 380px) {
  .ptx-catalog-hero h1,
  .ptx-search-page .ptx-catalog-hero h1,
  .woocommerce div.product .product_title {
    font-size: 28px !important;
  }

  .ptx-filter-head h2 {
    font-size: 26px !important;
  }

  .ptx-filter-toggle {
    padding-inline: 12px !important;
    font-size: 13px !important;
  }
}

/* Final filter header mobile correction: no overlap with toggle button */
@media (max-width: 640px) {
  .ptx-filter-head {
    grid-template-columns: 1fr !important;
    grid-template-areas:
      "copy"
      "button" !important;
    gap: 12px !important;
  }

  .ptx-filter-head > div {
    grid-area: copy !important;
    min-width: 0 !important;
  }

  .ptx-filter-head h2 {
    font-size: clamp(24px, 6.1vw, 29px) !important;
    line-height: 1.14 !important;
  }

  .ptx-filter-toggle {
    justify-self: start !important;
    min-height: 42px !important;
    padding-inline: 18px !important;
  }
}

/* Catalog SEO H1 should stay readable without dominating the product list. */
@media (max-width: 640px) {
  .ptx-catalog-hero h1,
  .ptx-search-page .ptx-catalog-hero h1 {
    font-size: clamp(26px, 6.4vw, 32px) !important;
    line-height: 1.14 !important;
  }
}

/* Homepage category cards with real category/product photography. */
.ptx-category-grid {
  align-items: stretch;
}

.ptx-category-card {
  min-height: auto !important;
  aspect-ratio: 1 / 1.04;
  display: grid !important;
  align-items: end;
  border: 1px solid rgba(22, 18, 16, 0.08) !important;
  border-radius: 8px !important;
  background: #f7f4ef !important;
  box-shadow: 0 16px 34px rgba(30, 24, 21, 0.12) !important;
  color: #fff !important;
  overflow: hidden;
  padding: 0 !important;
  transform: translateY(0);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.ptx-category-card::before,
.ptx-category-card::after {
  content: none !important;
}

.ptx-category-card__media {
  position: absolute;
  inset: 0;
  z-index: 0;
  display: block;
  max-width: none !important;
  margin: 0 !important;
  overflow: hidden;
  color: inherit !important;
}

.ptx-category-card__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(18, 14, 12, 0.02) 26%, rgba(18, 14, 12, 0.72) 100%),
    linear-gradient(90deg, rgba(18, 14, 12, 0.36), rgba(18, 14, 12, 0.05) 58%);
}

.ptx-category-card__media img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
  transform: scale(1.01);
  transition: transform 0.35s ease;
}

.ptx-category-card__content {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: flex !important;
  flex-direction: column;
  align-items: flex-start !important;
  justify-content: flex-end;
  gap: 8px;
  width: 100%;
  min-width: 0;
  box-sizing: border-box;
  max-width: none !important;
  margin: 0 !important;
  padding: 18px;
  color: #fff !important;
  text-align: left !important;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.32);
}

.ptx-category-card__content span,
.ptx-category-card__content strong {
  justify-self: start !important;
  align-self: flex-start !important;
  width: 100%;
  min-width: 0;
  text-align: left !important;
}

.ptx-category-card__meta,
.ptx-category-card__link {
  max-width: none !important;
  margin: 0 !important;
  color: rgba(255, 255, 255, 0.88) !important;
  font-size: 12px !important;
  font-weight: 700 !important;
  line-height: 1.3 !important;
}

.ptx-category-card__meta {
  display: -webkit-box;
  overflow: hidden !important;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.ptx-category-card strong {
  display: block;
  max-width: 100% !important;
  color: #fff !important;
  font-size: 23px !important;
  font-weight: 780 !important;
  line-height: 1.08 !important;
  overflow-wrap: anywhere;
  white-space: normal !important;
}

.ptx-category-card__link {
  display: inline-flex;
  align-items: center;
  width: 100%;
  max-width: 100% !important;
  min-width: 0;
  padding-top: 2px;
  opacity: 0.92;
}

.ptx-category-card__link::after {
  content: "";
  flex: 0 0 22px;
  height: 1px;
  margin-left: 8px;
  background: currentColor;
}

.ptx-category-card:hover {
  color: #fff !important;
  box-shadow: 0 22px 46px rgba(30, 24, 21, 0.18) !important;
  transform: translateY(-3px);
}

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

@media (max-width: 1024px) {
  .ptx-category-card {
    aspect-ratio: 1 / 1;
  }
}

@media (max-width: 640px) {
  .ptx-home {
    padding-bottom: 92px;
  }

  .ptx-category-grid {
    gap: 12px !important;
  }

  .ptx-category-card {
    aspect-ratio: 1 / 1.08;
    border-radius: 8px !important;
  }

  .ptx-category-card__content {
    gap: 7px;
    padding: 16px;
  }

  .ptx-category-card__meta,
  .ptx-category-card__link {
    font-size: 11px !important;
  }

  .ptx-category-card strong {
    font-size: clamp(17px, 4.9vw, 21px) !important;
  }
}

@media (max-width: 420px) {
  .ptx-category-grid {
    grid-template-columns: 1fr !important;
  }

  .ptx-category-card {
    aspect-ratio: 4 / 3;
    min-height: 250px !important;
  }

  .ptx-category-card__media::after {
    background:
      linear-gradient(180deg, rgba(18, 14, 12, 0) 18%, rgba(18, 14, 12, 0.78) 100%),
      linear-gradient(90deg, rgba(18, 14, 12, 0.42), rgba(18, 14, 12, 0.08) 64%);
  }

  .ptx-category-card__content {
    padding: 18px;
  }

  .ptx-category-card__meta {
    -webkit-line-clamp: 1;
  }
}
