.mos-textile-category-page {
  --primary: #8f3f3a;
  --primary-dark: #74302c;
  --bg-main: #ffffff;
  --bg-soft: #faf7f6;
  --text-main: #1b1c19;
  --text-secondary: #544241;
  --border: #dac1be;
  color: var(--text-main);
  background: var(--bg-main);
}

.mos-textile-category-page .mos-textile-container {
  max-width: 1440px;
  width: 100%;
  margin: 0 auto;
  padding-left: 15px;
  padding-right: 15px;
}

.mos-textile-category-page .mos-textile-breadcrumbs,
.mos-textile-category-page .mos-textile-section-nav,
.mos-textile-category-page .mos-textile-chips-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.mos-textile-category-page .mos-textile-breadcrumbs {
  padding: 20px 0 14px;
  font-size: 14px;
  color: var(--text-secondary);
}

.mos-textile-category-page .mos-textile-breadcrumbs a {
  color: var(--primary);
  font-weight: 700;
}

.mos-textile-category-page .mos-textile-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(420px, 0.84fr);
  gap: 24px;
  padding: 14px 0 30px;
}

.mos-textile-category-page .mos-textile-hero-card,
.mos-textile-category-page .mos-textile-hero-visual,
.mos-textile-category-page .mos-textile-product-card,
.mos-textile-category-page .mos-textile-info-card,
.mos-textile-category-page .mos-textile-guide-card,
.mos-textile-category-page .mos-textile-price-card,
.mos-textile-category-page .mos-textile-seo-card,
.mos-textile-category-page .mos-textile-sticky-help,
.mos-textile-category-page .mos-textile-estimate,
.mos-textile-category-page .mos-textile-faq-card,
.mos-textile-category-page .mos-textile-final-cta,
.mos-textile-category-page .mos-textile-empty-state {
  border: 1px solid var(--border);
  border-radius: 24px;
  background: #fff;
}

.mos-textile-category-page .mos-textile-hero-card {
  padding: 32px;
}

.mos-textile-category-page .mos-textile-eyebrow {
  margin: 0 0 14px;
  color: var(--primary);
  font-weight: 700;
}

.mos-textile-category-page h1 {
  margin: 0;
  font-size: clamp(34px, 4.2vw, 66px);
  line-height: 1.02;
}

.mos-textile-category-page .mos-textile-lead {
  margin-top: 16px;
  color: var(--text-secondary);
  font-size: 18px;
}

.mos-textile-category-page .mos-textile-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}

.mos-textile-category-page .mos-textile-pill {
  display: inline-flex;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--bg-soft);
  padding: 8px 12px;
  color: var(--text-secondary);
  font-size: 14px;
  font-weight: 700;
}

.mos-textile-category-page .mos-textile-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}

.mos-textile-category-page .mos-textile-btn {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 48px;
  padding: 12px 18px;
  border-radius: 999px;
  border: 1px solid transparent;
  text-decoration: none;
  font-weight: 700;
}

.mos-textile-category-page .mos-textile-btn--primary {
  background: var(--primary);
  color: #fff;
}

.mos-textile-category-page .mos-textile-btn--secondary {
  background: #fff;
  color: var(--primary);
  border-color: var(--border);
}

.mos-textile-category-page .mos-textile-btn--tiny {
  min-height: 40px;
  font-size: 14px;
  padding: 9px 12px;
}

.mos-textile-category-page .mos-textile-btn--tiny-fill {
  background: var(--primary);
  color: #fff;
}

.mos-textile-category-page .mos-textile-hero-visual {
  min-height: 360px;
  padding: 24px;
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #fff 0%, var(--bg-soft) 100%);
}

.mos-textile-category-page .mos-textile-trust-badge {
  position: relative;
  z-index: 2;
  display: inline-block;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 8px 12px;
  font-size: 13px;
  color: var(--text-secondary);
}

.mos-textile-category-page .mos-textile-hero-photo-wrap {
  position: absolute;
  inset: 16px;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(218, 193, 190, 0.85);
  box-shadow: 0 18px 40px rgba(27, 28, 25, 0.16);
}

.mos-textile-category-page .mos-textile-hero-photo {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.mos-textile-category-page .mos-textile-section-nav {
  position: relative;
  top: 0;
  z-index: 10;
  overflow-x: auto;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(8px);
  padding: 10px 0;
  margin-bottom: 12px;
}

.mos-textile-category-page .mos-textile-section-nav a,
.mos-textile-category-page .mos-textile-chip {
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 8px 12px;
  background: #fff;
  color: var(--text-secondary);
  text-decoration: none;
  white-space: nowrap;
  font-size: 14px;
  font-weight: 700;
}

.mos-textile-category-page .mos-textile-chip.is-active {
  color: #fff;
  background: var(--primary);
  border-color: var(--primary);
}

.mos-textile-category-page .mos-textile-section {
  padding: 28px 0;
  scroll-margin-top: 132px;
}

.mos-textile-category-page .mos-textile-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 0.6fr);
  gap: 18px;
  align-items: end;
  margin-bottom: 16px;
}

.mos-textile-category-page .mos-textile-head--single {
  grid-template-columns: 1fr;
}

.mos-textile-category-page h2 {
  margin: 0;
  font-size: clamp(28px, 3.2vw, 46px);
  line-height: 1.08;
}

.mos-textile-category-page .mos-textile-head p {
  margin: 0;
  color: var(--text-secondary);
}

.mos-textile-category-page .mos-textile-product-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.mos-textile-category-page .mos-textile-product-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.mos-textile-category-page .mos-textile-product-image {
  display: block;
  min-height: 220px;
  padding: 14px;
  border-bottom: 1px solid var(--border);
  background: linear-gradient(135deg, #fff 0%, var(--bg-soft) 100%);
}

.mos-textile-category-page .mos-textile-product-image img {
  width: 100%;
  height: 190px;
  object-fit: contain;
}

.mos-textile-category-page .mos-textile-img-placeholder {
  display: block;
  width: 100%;
  height: 190px;
  border-radius: 12px;
  border: 1px dashed var(--border);
  background: repeating-linear-gradient(-45deg, #fdfbfa 0 10px, #f4ecea 10px 20px);
}

.mos-textile-category-page .mos-textile-product-content {
  padding: 16px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.mos-textile-category-page .mos-textile-product-content h3 {
  margin: 0;
  font-size: 21px;
  line-height: 1.2;
}

.mos-textile-category-page .mos-textile-product-content p {
  margin: 10px 0 0;
  color: var(--text-secondary);
}

.mos-textile-category-page .mos-textile-product-bottom {
  display: grid;
  gap: 8px;
  grid-template-columns: 1fr 1fr;
  margin-top: auto;
  padding-top: 16px;
}

.mos-textile-category-page .mos-textile-price {
  grid-column: 1 / -1;
  font-size: 22px;
  font-weight: 700;
}

.mos-textile-category-page .mos-textile-grid {
  display: grid;
  gap: 14px;
}

.mos-textile-category-page .mos-textile-grid--3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.mos-textile-category-page .mos-textile-grid--4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.mos-textile-category-page .mos-textile-info-card,
.mos-textile-category-page .mos-textile-guide-card,
.mos-textile-category-page .mos-textile-price-card {
  padding: 20px;
}

.mos-textile-category-page .mos-textile-price-card p {
  font-size: 28px;
  font-weight: 700;
  margin: 10px 0 0;
}

.mos-textile-category-page .mos-textile-estimate {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.8fr);
  gap: 18px;
  padding: 24px;
  background: linear-gradient(140deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: #fff;
}

.mos-textile-category-page .mos-textile-estimate-copy p {
  color: rgba(255, 255, 255, 0.88);
  margin-top: 12px;
}

.mos-textile-category-page .mos-textile-estimate-copy h2 {
  color: #fdf4f3;
}

.mos-textile-category-page .mos-textile-estimate-form {
  display: grid;
  gap: 10px;
}

.mos-textile-category-page .mos-textile-estimate-form input,
.mos-textile-category-page .mos-textile-estimate-form select {
  min-height: 46px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.45);
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  padding: 10px 12px;
}

.mos-textile-category-page .mos-textile-estimate-form input::placeholder {
  color: rgba(255, 255, 255, 0.86);
}

.mos-textile-category-page .mos-textile-estimate-form option {
  color: #1b1c19;
  background: #fff;
}

.mos-textile-category-page .mos-textile-consent {
  display: grid;
  grid-template-columns: 26px 1fr;
  gap: 12px;
  font-size: 14px;
  align-items: center;
  line-height: 1.4;
}

.mos-textile-category-page .mos-textile-consent input {
  width: 22px;
  height: 22px;
  min-height: 22px;
  margin: 0;
  accent-color: #ffffff;
  cursor: pointer;
}

.mos-textile-category-page .mos-textile-consent a {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.mos-textile-category-page .mos-textile-consent span {
  display: inline-block;
}

.mos-textile-category-page .mos-textile-hp {
  position: absolute;
  left: -9999px;
  opacity: 0;
}

.mos-textile-category-page .mos-textile-seo-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.48fr);
  gap: 18px;
  align-items: start;
}

.mos-textile-category-page .mos-textile-seo-card {
  padding: 24px;
}

.mos-textile-category-page .mos-textile-seo-card p {
  margin: 12px 0 0;
  color: var(--text-secondary);
}

.mos-textile-category-page .mos-textile-seo-card a {
  color: var(--primary);
}

.mos-textile-category-page .mos-textile-sticky-help {
  position: sticky;
  top: 150px;
  padding: 22px;
  text-align: center;
}

.mos-textile-category-page .mos-textile-sticky-help p {
  color: var(--text-secondary);
}

.mos-textile-category-page .mos-textile-sticky-help .mos-textile-btn {
  width: 100%;
  margin-top: 8px;
}

.mos-textile-category-page .mos-textile-faq-wrap {
  max-width: 1040px;
  margin: 0 auto;
  text-align: center;
}

.mos-textile-category-page .mos-textile-faq-list {
  margin-top: 16px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  text-align: left;
}

.mos-textile-category-page .mos-textile-faq-card summary {
  list-style: none;
  cursor: pointer;
  font-weight: 700;
  padding: 16px;
}

.mos-textile-category-page .mos-textile-faq-card p {
  margin: 0;
  padding: 0 16px 16px;
  color: var(--text-secondary);
}

.mos-textile-category-page .mos-textile-final-cta {
  margin: 16px auto 40px;
  padding: 20px;
  display: flex;
  gap: 14px;
  align-items: center;
  justify-content: space-between;
}

.mos-textile-category-page .mos-textile-empty-state {
  padding: 20px;
  text-align: center;
}

.mos-textile-category-page .woocommerce-pagination {
  margin-top: 20px;
}

@media (max-width: 1100px) {
  .mos-textile-category-page .mos-textile-hero,
  .mos-textile-category-page .mos-textile-head,
  .mos-textile-category-page .mos-textile-estimate,
  .mos-textile-category-page .mos-textile-seo-grid {
    grid-template-columns: 1fr;
  }

  .mos-textile-category-page .mos-textile-product-grid,
  .mos-textile-category-page .mos-textile-grid--3,
  .mos-textile-category-page .mos-textile-grid--4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .mos-textile-category-page .mos-textile-sticky-help {
    position: static;
  }
}

@media (max-width: 680px) {
  .mos-textile-category-page .mos-textile-container {
    padding-left: 15px;
    padding-right: 15px;
  }

  .mos-textile-category-page .mos-textile-product-grid,
  .mos-textile-category-page .mos-textile-grid--3,
  .mos-textile-category-page .mos-textile-grid--4,
  .mos-textile-category-page .mos-textile-faq-list {
    grid-template-columns: 1fr;
  }

  .mos-textile-category-page .mos-textile-final-cta {
    flex-direction: column;
    align-items: stretch;
  }

  .mos-textile-category-page .mos-textile-product-bottom {
    grid-template-columns: 1fr;
  }

  .mos-textile-category-page .mos-textile-actions .mos-textile-btn {
    flex: 1 1 auto;
  }
}
