.textile-product-page {
  --textile-surface: rgba(251, 252, 253, .96);
  --textile-surface-strong: #eef2f5;
  --textile-text: #171b21;
  --textile-muted: #5c6875;
  --textile-line: #ccd5de;
  --textile-accent: #ef2c03;
  --textile-input: #ffffff;
}

/* Category pages clip decorative overflow globally; product wayfinding needs a non-scrolling ancestor for sticky positioning. */
.textile-sling-product-page .category-main {
  overflow: visible;
}

.textile-sling-product-page .category-shell {
  width: min(var(--site-container-product), calc(100% - 32px));
}

.textile-sling-product-page .site-band.textile-product-content-section {
  padding: 16px 0;
}

.textile-sling-product-page #textile-details.textile-product-content-section {
  padding-top: 28px;
}

.textile-sling-product-page #textile-lead.textile-product-content-section {
  padding-bottom: 64px;
}

.textile-product-hero {
  padding: 14px 0 28px;
}

.textile-product-hero-grid {
  display: grid;
  grid-template-areas:
    "gallery summary"
    "gallery commerce";
  grid-template-columns: minmax(0, 1.08fr) minmax(430px, .92fr);
  grid-template-rows: auto 1fr;
  gap: 12px 24px;
  align-items: stretch;
}

.textile-product-gallery,
.textile-product-commerce,
.textile-product-panel,
.textile-related-card,
.textile-product-proof-grid article,
.textile-product-detail-card,
.textile-product-faq-grid details,
.textile-product-company-grid article {
  border: 1px solid var(--textile-line);
  border-radius: var(--site-radius-card);
  background: var(--textile-surface);
  box-shadow: var(--site-shadow-card);
}

.textile-product-gallery {
  position: relative;
  grid-area: gallery;
  display: grid;
  grid-template-rows: minmax(306px, 1fr) auto;
  gap: 12px;
  min-height: 386px;
  padding: 12px;
  background:
    linear-gradient(rgba(255, 255, 255, .72), rgba(255, 255, 255, .94)),
    repeating-linear-gradient(0deg, transparent 0 53px, rgba(29, 29, 27, .035) 54px 55px),
    repeating-linear-gradient(90deg, transparent 0 53px, rgba(29, 29, 27, .035) 54px 55px),
    radial-gradient(circle at 52% 62%, rgba(29, 29, 27, .10), transparent 33%),
    linear-gradient(135deg, #e8ecef 0%, #fff 54%, #f2f4f6 100%);
}

.textile-product-main-media {
  position: relative;
  isolation: isolate;
  display: grid;
  min-height: 0;
  place-items: center;
  overflow: hidden;
  border: 1px solid var(--textile-line);
  border-radius: 7px;
  background:
    linear-gradient(rgba(119, 135, 151, .08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(119, 135, 151, .08) 1px, transparent 1px),
    #f7f9fb;
  background-size: 54px 54px;
}

.textile-product-page .textile-product-main-media > img[data-textile-gallery-main] {
  position: absolute;
  inset: 0;
  box-sizing: border-box;
  width: 100%;
  height: 100% !important;
  max-height: 100%;
  padding: 16px;
  object-fit: contain;
  filter: drop-shadow(0 18px 22px rgba(23, 27, 33, .14));
  transition: opacity .14s ease, transform .22s ease;
}

.textile-product-gallery.is-carousel-ready .textile-product-main-media > img[data-textile-gallery-main] {
  z-index: 1;
  cursor: e-resize;
  transition: opacity .5s ease, transform .5s cubic-bezier(.22, .72, .24, 1), filter .5s ease;
}

.textile-product-gallery.is-carousel-ready .textile-product-main-media > img[data-textile-gallery-main]:focus-visible {
  outline: 2px solid var(--textile-accent);
  outline-offset: -3px;
}

.textile-product-gallery-ghost {
  position: absolute;
  z-index: 2;
  inset: 0;
  box-sizing: border-box;
  width: 100%;
  height: 100%;
  padding: 16px;
  object-fit: contain;
  pointer-events: none;
  filter: drop-shadow(0 18px 22px rgba(23, 27, 33, .14));
  transition: opacity .5s ease, transform .5s cubic-bezier(.22, .72, .24, 1), filter .5s ease;
}

.textile-product-gallery.is-carousel-forward img.is-carousel-entering {
  opacity: 0;
  filter: blur(4px) drop-shadow(0 16px 18px rgba(23, 27, 33, .10));
  transform: translateX(18%) scale(.94);
}

.textile-product-gallery.is-carousel-backward img.is-carousel-entering {
  opacity: 0;
  filter: blur(4px) drop-shadow(0 16px 18px rgba(23, 27, 33, .10));
  transform: translateX(-18%) scale(.94);
}

.textile-product-gallery img.is-carousel-entering.is-carousel-active {
  opacity: 1;
  filter: drop-shadow(0 18px 22px rgba(23, 27, 33, .14));
  transform: translateX(0) scale(1);
}

.textile-product-gallery.is-carousel-forward .textile-product-gallery-ghost.is-carousel-active {
  opacity: 0;
  filter: blur(5px) drop-shadow(0 12px 14px rgba(23, 27, 33, .08));
  transform: translateX(-26%) scale(.88) rotate(-1deg);
}

.textile-product-gallery.is-carousel-backward .textile-product-gallery-ghost.is-carousel-active {
  opacity: 0;
  filter: blur(5px) drop-shadow(0 12px 14px rgba(23, 27, 33, .08));
  transform: translateX(26%) scale(.88) rotate(1deg);
}

.textile-product-thumbs {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 9px;
  width: min(430px, 100%);
}

.textile-product-gallery[data-gallery-count="1"] {
  grid-template-rows: minmax(306px, 1fr);
}

.textile-product-gallery[data-gallery-count="1"] .textile-product-thumbs {
  display: none;
}

.textile-product-gallery[data-gallery-count="2"] .textile-product-thumbs {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  width: min(284px, 100%);
}

.textile-product-gallery[data-gallery-count="3"] .textile-product-thumbs {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.textile-product-gallery[data-gallery-count="1"] .textile-product-thumb:nth-child(n + 2),
.textile-product-gallery[data-gallery-count="2"] .textile-product-thumb:nth-child(n + 3),
.textile-product-gallery[data-gallery-count="3"] .textile-product-thumb:nth-child(n + 4) {
  display: none;
}

.textile-product-thumb {
  display: grid;
  height: 66px;
  place-items: center;
  overflow: hidden;
  padding: 6px;
  border: 1px solid var(--textile-line);
  border-radius: 6px;
  background: var(--textile-surface-strong);
  cursor: pointer;
  transition: border-color .16s ease, box-shadow .16s ease, transform .16s ease;
}

.textile-product-thumb:hover {
  border-color: rgba(239, 44, 3, .52);
  transform: translateY(-1px);
}

.textile-product-thumb.is-active {
  border-color: var(--textile-accent);
  box-shadow: inset 0 0 0 1px var(--textile-accent);
}

.textile-product-thumb:focus-visible {
  outline: 2px solid var(--textile-accent);
  outline-offset: 2px;
}

.textile-product-thumb img {
  width: 100%;
  height: 54px;
  object-fit: contain;
}

.textile-product-gallery-status {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  margin: -1px;
  padding: 0;
  border: 0;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

.textile-product-summary {
  grid-area: summary;
  align-self: end;
  min-width: 0;
  padding: 2px 0 0;
  text-align: left;
}

.textile-product-summary h1 {
  max-width: 620px;
  margin: 0;
  color: var(--textile-text);
  font-size: clamp(31px, 3.05vw, 43px);
  font-weight: 900;
  line-height: 1.08;
}

.textile-product-summary > p {
  max-width: 650px;
  margin: 12px 0 0;
  color: var(--textile-muted);
  font-size: 17px;
  line-height: 1.46;
}

.textile-product-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.textile-product-chips span {
  display: inline-flex;
  gap: 7px;
  align-items: center;
  min-height: 38px;
  padding: 7px 10px;
  border: 1px solid var(--textile-line);
  border-left: 3px solid var(--textile-accent);
  border-radius: 6px;
  background: var(--textile-surface-strong);
  color: var(--textile-text);
  font-size: 14px;
  font-weight: 800;
}

.textile-product-chips b {
  color: var(--textile-text);
  font-size: 13px;
  font-weight: 850;
  text-transform: none;
}

.textile-product-chip-document {
  color: var(--textile-text);
}

.textile-product-mobile-actions {
  display: none;
}

.textile-product-commerce {
  grid-area: commerce;
  align-self: stretch;
  min-width: 0;
  padding: 14px;
  scroll-margin-top: calc(var(--site-header-height-compact, 54px) + 12px);
  text-align: left;
}

.textile-product-modes {
  display: flex;
  gap: 7px;
  justify-content: flex-end;
  margin: -2px 0 9px;
}

.textile-product-modes button {
  min-height: 38px;
  padding: 7px 14px;
  border: 1px solid var(--textile-line);
  border-radius: 6px;
  background: var(--textile-surface-strong);
  color: var(--textile-muted);
  font-size: 13px;
  font-weight: 850;
  cursor: pointer;
}

.textile-product-modes button:hover,
.textile-product-modes button.is-active {
  border-color: var(--textile-accent);
  background: var(--textile-accent);
  color: #fff;
}

.textile-product-commerce-panel[hidden] {
  display: none;
}

.textile-product-commerce-panel h2 {
  margin: 0 0 11px;
  color: var(--textile-text);
  font-size: 20px;
  font-weight: 900;
  line-height: 1.18;
  text-align: center;
}

.textile-product-quote-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px 11px;
}

.textile-product-quote-grid label,
.textile-product-chat-form {
  display: grid;
  gap: 5px;
  min-width: 0;
}

.textile-product-quote-grid label > span,
.textile-product-chat-form > label,
.textile-product-chat-label {
  color: var(--textile-muted);
  font-size: 12px;
  font-weight: 850;
  line-height: 1.25;
  text-align: center;
}

.textile-product-quote-grid input,
.textile-product-quote-grid select,
.textile-product-chat-form input {
  width: 100%;
  min-width: 0;
  min-height: 46px;
  padding: 10px 12px;
  border: 1px solid var(--textile-line);
  border-radius: 6px;
  background: var(--textile-input);
  color: var(--textile-text);
  font: inherit;
}

.textile-product-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px;
  margin-top: 11px;
}

.textile-product-actions .category-btn {
  min-height: 46px;
  padding-inline: 10px;
}

.textile-product-commerce-note,
.textile-product-chat-head p {
  margin: 8px 0 0;
  color: var(--textile-muted);
  font-size: 13px;
  line-height: 1.38;
  text-align: center;
}

.textile-product-chat-head > div {
  display: flex;
  gap: 8px;
  align-items: center;
  justify-content: center;
  color: var(--textile-text);
}

.textile-product-online-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #1faf5b;
  box-shadow: 0 0 0 4px rgba(31, 175, 91, .13);
}

.textile-product-chat-messages {
  display: grid;
  gap: 7px;
  max-height: 118px;
  margin-top: 9px;
  overflow-y: auto;
  scrollbar-width: thin;
}

.textile-product-chat-messages p {
  width: min(92%, 460px);
  margin: 0;
  padding: 9px 11px;
  border: 1px solid var(--textile-line);
  border-radius: 7px;
  background: var(--textile-surface-strong);
  color: var(--textile-text);
  font-size: 13px;
  line-height: 1.38;
}

.textile-product-chat-messages .is-user {
  justify-self: end;
  border-color: rgba(239, 44, 3, .24);
  background: rgba(239, 44, 3, .08);
}

.textile-product-chat-form {
  margin-top: 9px;
}

.textile-product-chat-form > div {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 46px;
  gap: 7px;
}

.textile-product-chat-form button {
  display: grid;
  min-height: 46px;
  place-items: center;
  border: 1px solid var(--textile-accent);
  border-radius: 6px;
  background: var(--textile-accent);
  color: #fff;
  cursor: pointer;
}

.textile-product-chat-label {
  display: block;
  margin: 8px 0 6px;
}

.textile-product-chat-replies {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 7px;
  margin-bottom: 9px;
}

.textile-product-chat-replies[hidden] {
  display: none;
}

.textile-product-chat-replies button {
  min-height: 38px;
  padding: 7px 9px;
  border: 1px solid var(--textile-line);
  border-radius: 6px;
  background: var(--textile-surface-strong);
  color: var(--textile-text);
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
}

.textile-product-chat .public-chat-status {
  margin: 6px 0;
  color: var(--textile-muted);
  font-size: 12px;
  text-align: center;
}

.textile-product-trust-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 12px;
}

.textile-product-trust-strip > div {
  display: flex;
  gap: 11px;
  align-items: center;
  min-width: 0;
  min-height: 66px;
  padding: 10px 14px;
  border: 1px solid var(--textile-line);
  border-radius: var(--site-radius-card);
  background: var(--textile-surface);
}

.textile-product-trust-strip i {
  flex: 0 0 auto;
  color: var(--textile-accent);
  font-size: 25px;
}

.textile-product-trust-strip span {
  display: grid;
  gap: 2px;
  min-width: 0;
}

.textile-product-trust-strip strong {
  color: var(--textile-text);
  font-size: 14px;
  line-height: 1.2;
}

.textile-product-trust-strip small {
  color: var(--textile-muted);
  font-size: 12px;
  line-height: 1.3;
}

.textile-product-nav {
  position: sticky;
  top: var(--site-header-height-compact, 54px);
  z-index: 18;
  border-block: 1px solid var(--textile-line);
  background: rgba(246, 248, 250, .93);
  backdrop-filter: blur(12px);
}

.textile-product-nav .category-shell {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-block: 9px;
  scrollbar-width: none;
}

.textile-product-nav .category-shell::-webkit-scrollbar {
  display: none;
}

.textile-product-nav a {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 9px 13px;
  border: 1px solid var(--textile-line);
  border-radius: 6px;
  background: var(--textile-surface-strong);
  color: var(--textile-text);
  font-size: 13px;
  font-weight: 850;
  text-decoration: none;
  transition: border-color .16s ease, color .16s ease, background .16s ease, box-shadow .16s ease;
}

.textile-product-nav a:hover,
.textile-product-nav a:focus-visible {
  border-color: var(--textile-accent);
  background: rgba(239, 44, 3, .07);
  color: var(--textile-accent);
}

.textile-product-nav a:focus-visible {
  outline: 2px solid rgba(239, 44, 3, .48);
  outline-offset: 2px;
}

.textile-product-nav a.is-active,
.textile-product-nav a[aria-current="location"] {
  border-color: var(--textile-accent);
  background: var(--textile-accent);
  color: #fff;
  box-shadow: 0 8px 18px rgba(239, 44, 3, .18);
}

.textile-product-nav a.is-active::before,
.textile-product-nav a[aria-current="location"]::before {
  width: 6px;
  height: 6px;
  flex: 0 0 6px;
  border: 2px solid rgba(255, 255, 255, .72);
  border-radius: 50%;
  background: #fff;
  content: '';
}

#textile-details,
#textile-selection,
#textile-related,
#textile-proof,
#textile-overview,
#textile-delivery,
#textile-faq,
#textile-lead,
#textile-product-commerce {
  scroll-margin-top: calc(var(--site-header-height-compact, 54px) + 76px);
}

.textile-product-proof-grid,
.textile-product-company-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.textile-product-proof-grid article,
.textile-product-company-grid article {
  min-width: 0;
  padding: 20px;
}

.textile-product-proof-grid i,
.textile-product-detail-card > i,
.textile-product-company-grid i {
  display: inline-grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border-radius: 8px;
  background: rgba(239, 44, 3, .09);
  color: var(--textile-accent);
  font-size: 23px;
}

.textile-product-proof-grid h3,
.textile-product-detail-card h3,
.textile-product-company-grid h3 {
  margin: 15px 0 0;
  color: var(--textile-text);
  font-size: 19px;
  font-weight: 900;
  line-height: 1.18;
}

.textile-product-proof-grid p,
.textile-product-detail-card > p,
.textile-product-company-grid p {
  margin: 9px 0 0;
  color: var(--textile-muted);
  font-size: 14px;
  line-height: 1.5;
}

.textile-product-overview-grid {
  display: grid;
  grid-template-columns: minmax(280px, .78fr) minmax(0, 1.22fr);
  gap: clamp(28px, 6vw, 96px);
  align-items: start;
  padding: clamp(28px, 4vw, 54px);
  border: 1px solid var(--textile-line);
  border-radius: var(--site-radius-card);
  background:
    linear-gradient(120deg, rgba(239, 44, 3, .055), transparent 44%),
    var(--textile-surface);
  box-shadow: var(--site-shadow-card);
}

.textile-product-overview-grid h2 {
  margin: 16px 0 0;
  color: var(--textile-text);
  font-size: clamp(30px, 4vw, 50px);
  font-weight: 950;
  line-height: .98;
  text-transform: uppercase;
}

.textile-product-overview-note {
  margin: 18px 0 0;
  padding-left: 14px;
  border-left: 3px solid var(--textile-accent);
  color: var(--textile-muted);
  font-size: 14px;
  line-height: 1.48;
}

.textile-product-overview-copy p {
  margin: 0;
  color: var(--textile-muted);
  font-size: clamp(17px, 1.5vw, 20px);
  line-height: 1.58;
}

.textile-product-overview-copy p + p {
  margin-top: 18px;
}

.textile-product-info-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.textile-product-panel {
  padding: 24px;
}

.textile-product-panel h3 {
  margin: 0;
  color: var(--textile-text);
  font-size: 23px;
  font-weight: 900;
  line-height: 1.14;
}

.textile-product-panel .site-list {
  margin-top: 18px;
}

.textile-product-detail-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.textile-product-detail-card {
  min-width: 0;
  padding: 24px;
}

.textile-product-detail-card .site-list {
  margin-top: 16px;
}

.textile-product-compare-note > div {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px;
  margin-top: 18px;
}

.textile-product-compare-note a {
  display: grid;
  gap: 2px;
  min-width: 0;
  padding: 13px;
  border: 1px solid var(--textile-line);
  border-radius: 7px;
  background: var(--textile-surface-strong);
  color: var(--textile-text);
  text-decoration: none;
  transition: border-color .16s ease, transform .16s ease;
}

.textile-product-compare-note a:hover,
.textile-product-compare-note a:focus-visible {
  border-color: var(--textile-accent);
  transform: translateY(-1px);
}

.textile-product-compare-note a b {
  color: var(--textile-accent);
  font-size: 18px;
  font-weight: 950;
}

.textile-product-compare-note a span {
  overflow: hidden;
  color: var(--textile-muted);
  font-size: 13px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.textile-product-faq-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 14px;
}

.textile-product-faq-grid details {
  min-width: 0;
  align-self: start;
  overflow: clip;
}

.textile-product-faq-grid summary {
  position: relative;
  padding: 19px 52px 19px 20px;
  color: var(--textile-text);
  cursor: pointer;
  font-size: 16px;
  font-weight: 850;
  line-height: 1.28;
  list-style: none;
}

.textile-product-faq-grid summary::-webkit-details-marker {
  display: none;
}

.textile-product-faq-grid summary::after {
  position: absolute;
  top: 50%;
  right: 20px;
  color: var(--textile-accent);
  content: "+";
  font-size: 24px;
  font-weight: 500;
  line-height: 1;
  transform: translateY(-50%);
}

.textile-product-faq-grid details[open] summary::after {
  content: "−";
}

.textile-product-faq-grid details p {
  margin: 0;
  padding: 0 20px 20px;
  color: var(--textile-muted);
  font-size: 14px;
  line-height: 1.55;
}

.textile-product-company-section {
  padding-bottom: 64px !important;
}

.textile-product-specs {
  display: grid;
  margin: 16px 0 0;
}

.textile-product-specs div {
  display: grid;
  grid-template-columns: minmax(110px, .8fr) minmax(130px, 1fr);
  gap: 12px;
  padding: 11px 0;
  border-bottom: 1px solid var(--textile-line);
}

.textile-product-specs div:last-child {
  border-bottom: 0;
}

.textile-product-specs dt,
.textile-product-specs dd {
  margin: 0;
  line-height: 1.35;
}

.textile-product-specs dt {
  color: var(--textile-muted);
  font-size: 13px;
}

.textile-product-specs dd {
  color: var(--textile-text);
  font-size: 14px;
  font-weight: 850;
}

.textile-product-steps {
  display: grid;
  gap: 14px;
  margin: 18px 0 0;
  padding: 0;
  counter-reset: textile-step;
  list-style: none;
}

.textile-product-steps li {
  position: relative;
  min-height: 34px;
  padding-left: 44px;
  color: var(--textile-muted);
  font-size: 15px;
  line-height: 1.45;
  counter-increment: textile-step;
}

.textile-product-steps li::before {
  position: absolute;
  top: 0;
  left: 0;
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  border-radius: 6px;
  background: var(--textile-accent);
  color: #fff;
  content: counter(textile-step);
  font-size: 13px;
  font-weight: 900;
}

.textile-product-warning {
  display: flex;
  gap: 13px;
  align-items: flex-start;
  margin-top: 14px;
  padding: 16px 18px;
  border: 1px solid rgba(239, 44, 3, .26);
  border-radius: 8px;
  background: rgba(239, 44, 3, .055);
}

.textile-product-warning i {
  flex: 0 0 auto;
  color: var(--textile-accent);
  font-size: 25px;
}

.textile-product-warning p {
  margin: 0;
  color: var(--textile-muted);
  font-size: 15px;
  line-height: 1.48;
}

.textile-product-warning strong {
  color: var(--textile-text);
}

.textile-related-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 12px;
}

.textile-product-related-section .site-section-head,
.textile-product-related-section .site-section-head h2,
.textile-product-related-section .site-section-head p {
  text-align: left;
}

.textile-product-stk [data-related-code="СТК"],
.textile-product-1st [data-related-code="1СТ"],
.textile-product-2st [data-related-code="2СТ"],
.textile-product-4st [data-related-code="4СТ"],
.sling-product-usk1 [data-related-code="УСК1"],
.sling-product-usk2 [data-related-code="УСК2"],
.sling-product-1sk [data-related-code="1СК"],
.sling-product-2sk [data-related-code="2СК"],
.sling-product-4sk [data-related-code="4СК"],
.sling-product-usts [data-related-code="УСЦ"],
.sling-product-1sts [data-related-code="1СЦ"],
.sling-product-2sts [data-related-code="2СЦ"],
.sling-product-4sts [data-related-code="4СЦ"],
.sling-product-sts2vz [data-related-code="СЦ2ВЗ"] {
  display: none;
}

.textile-related-card {
  display: grid;
  grid-template-rows: 150px auto auto;
  min-width: 0;
  overflow: hidden;
  color: var(--textile-text);
  text-align: center;
  text-decoration: none;
  transition: border-color .16s ease, box-shadow .16s ease, transform .16s ease;
}

.textile-related-card:hover {
  border-color: rgba(239, 44, 3, .52);
  box-shadow: 0 18px 38px rgba(23, 27, 33, .13);
  transform: translateY(-2px);
}

.textile-related-card > span {
  display: grid;
  place-items: center;
  padding: 12px;
  border-bottom: 1px solid var(--textile-line);
  background: var(--textile-surface-strong);
}

.textile-related-card img {
  width: 100%;
  height: 126px;
  object-fit: contain;
}

.textile-related-card b {
  padding: 14px 12px 0;
  font-size: 20px;
  font-weight: 900;
}

.textile-related-card em {
  padding: 4px 12px 15px;
  color: var(--textile-muted);
  font-size: 13px;
  font-style: normal;
}

.textile-product-page.stp-theme-dark {
  --textile-surface: rgba(20, 27, 34, .96);
  --textile-surface-strong: #202a34;
  --textile-text: #f2f5f7;
  --textile-muted: #b9c3cd;
  --textile-line: #33414e;
  --textile-input: #10171e;
}

.textile-product-page.stp-theme-dark .textile-product-gallery,
.textile-product-page.stp-theme-dark .textile-product-commerce,
.textile-product-page.stp-theme-dark .textile-product-panel,
.textile-product-page.stp-theme-dark .textile-related-card,
.textile-product-page.stp-theme-dark .textile-product-trust-strip > div,
.textile-product-page.stp-theme-dark .textile-product-proof-grid article,
.textile-product-page.stp-theme-dark .textile-product-overview-grid,
.textile-product-page.stp-theme-dark .textile-product-detail-card,
.textile-product-page.stp-theme-dark .textile-product-faq-grid details,
.textile-product-page.stp-theme-dark .textile-product-company-grid article {
  border-color: var(--textile-line);
  background: var(--textile-surface);
  box-shadow: 0 20px 48px rgba(0, 0, 0, .22);
}

.textile-product-page.stp-theme-dark .textile-product-main-media {
  border-color: var(--textile-line);
  background:
    linear-gradient(rgba(255, 255, 255, .04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .04) 1px, transparent 1px),
    #10171e;
  background-size: 54px 54px;
}

.textile-product-page.stp-theme-dark .textile-product-thumb,
.textile-product-page.stp-theme-dark .textile-related-card > span,
.textile-product-page.stp-theme-dark .textile-product-modes button,
.textile-product-page.stp-theme-dark .textile-product-chat-replies button,
.textile-product-page.stp-theme-dark .textile-product-chat-messages p {
  border-color: var(--textile-line);
  background: var(--textile-surface-strong);
}

.textile-product-page.stp-theme-dark .textile-product-thumb.is-active {
  border-color: var(--textile-accent);
}

.textile-product-page.stp-theme-dark .textile-product-nav {
  border-color: var(--textile-line);
  background: rgba(15, 21, 28, .93);
}

.textile-product-page.stp-theme-dark .textile-product-nav a {
  border-color: var(--textile-line);
  background: var(--textile-surface-strong);
}

.textile-product-page.stp-theme-dark .textile-product-nav a.is-active,
.textile-product-page.stp-theme-dark .textile-product-nav a[aria-current="location"] {
  border-color: var(--textile-accent);
  background: var(--textile-accent);
  color: #fff;
  box-shadow: 0 9px 22px rgba(239, 44, 3, .24);
}

.textile-product-page.stp-theme-dark .textile-product-modes button.is-active,
.textile-product-page.stp-theme-dark .textile-product-modes button:hover {
  border-color: var(--textile-accent);
  background: var(--textile-accent);
  color: #fff;
}

.textile-product-page.stp-theme-dark .textile-product-quote-grid input,
.textile-product-page.stp-theme-dark .textile-product-quote-grid select,
.textile-product-page.stp-theme-dark .textile-product-chat-form input {
  border-color: var(--textile-line);
  background: var(--textile-input);
  color: var(--textile-text);
}

.textile-product-page.stp-theme-dark .textile-product-chat-messages .is-user {
  border-color: rgba(239, 44, 3, .32);
  background: rgba(239, 44, 3, .15);
}

@media (max-width: 1199px) {
  .textile-product-hero-grid {
    grid-template-areas:
      "summary"
      "gallery"
      "commerce";
    grid-template-columns: 1fr;
    grid-template-rows: auto;
  }

  .textile-product-gallery {
    min-height: 0;
  }

  .textile-product-summary {
    align-self: auto;
  }

  .textile-product-info-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .textile-product-proof-grid,
  .textile-product-company-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .textile-product-detail-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .textile-product-detail-card:last-child {
    grid-column: 1 / -1;
  }

  .textile-product-panel:last-child {
    grid-column: 1 / -1;
  }
}

@media (max-width: 767px) {
  .textile-sling-product-page .category-shell {
    width: min(100% - 20px, 560px);
  }

  .textile-product-hero {
    padding: 8px 0 22px;
  }

  .textile-product-hero-grid {
    gap: 10px;
  }

  .textile-product-summary {
    padding: 0 2px;
  }

  .textile-product-summary .category-eyebrow {
    display: none;
  }

  .textile-product-summary h1 {
    margin-top: 0;
    font-size: clamp(27px, 8vw, 32px);
    line-height: 1.08;
    overflow-wrap: normal;
    text-align: center;
  }

  .textile-product-summary > p {
    margin-top: 8px;
    font-size: 15px;
    line-height: 1.42;
    text-align: center;
  }

  .textile-product-chips {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 7px;
    margin-top: 10px;
  }

  .textile-product-chips span {
    min-height: 34px;
    padding: 6px 8px;
    font-size: 12px;
  }

  .textile-product-chips span:first-child {
    grid-column: 1 / -1;
  }

  .textile-product-mobile-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    margin-top: 9px;
  }

  .textile-product-mobile-actions .category-btn {
    min-height: 44px;
    padding: 8px;
    font-size: 13px;
  }

  .textile-product-gallery {
    grid-template-rows: 270px auto;
    padding: 10px;
  }

  .textile-product-gallery[data-gallery-count="1"] {
    grid-template-rows: 270px;
  }

  .textile-product-page .textile-product-main-media > img[data-textile-gallery-main] {
    padding: 12px;
  }

  .textile-product-thumb {
    height: 58px;
  }

  .textile-product-thumb img {
    height: 46px;
  }

  .textile-product-commerce {
    padding: 12px;
  }

  .textile-product-modes {
    justify-content: stretch;
    margin-bottom: 10px;
  }

  .textile-product-modes button {
    flex: 1 1 0;
  }

  .textile-product-quote-grid,
  .textile-product-actions,
  .textile-product-info-grid,
  .textile-product-proof-grid,
  .textile-product-company-grid,
  .textile-product-overview-grid,
  .textile-product-detail-grid,
  .textile-product-faq-grid {
    grid-template-columns: 1fr;
  }

  .textile-product-overview-grid {
    gap: 22px;
    padding: 24px 20px;
  }

  .textile-product-overview-grid h2 {
    font-size: 30px;
  }

  .textile-product-detail-card:last-child {
    grid-column: auto;
  }

  .textile-product-proof-grid article,
  .textile-product-company-grid article,
  .textile-product-detail-card {
    padding: 19px;
  }

  .textile-product-trust-strip {
    grid-template-columns: 1fr;
    gap: 7px;
    margin-top: 9px;
  }

  .textile-product-trust-strip > div {
    min-height: 54px;
    padding: 8px 11px;
  }

  .textile-product-chat-messages {
    max-height: 170px;
  }

  .textile-product-panel:last-child {
    grid-column: auto;
  }

  .textile-product-nav {
    top: 56px;
  }

  .textile-product-panel {
    padding: 20px;
  }

  .textile-related-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .textile-related-card {
    grid-template-rows: 130px auto auto;
  }

  .textile-related-card img {
    height: 108px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .textile-product-page .textile-product-main-media > img[data-textile-gallery-main],
  .textile-product-gallery-ghost,
  .textile-product-thumb,
  .textile-related-card,
  .textile-product-modes button {
    transition: none;
  }
}

/* Shared sling pages use the canonical STP tool switcher. */
.textile-product-page .stp-hero-tools .stp-hero-tool-link {
  min-height: 36px;
  padding: 8px 12px;
  border: 1px solid var(--stp-line);
  border-radius: 5px;
  background: var(--stp-soft);
  color: var(--stp-muted);
  font-size: 12px;
  font-weight: 850;
  line-height: 1.2;
  text-decoration: none;
  transition: background .18s ease, border-color .18s ease, color .18s ease, box-shadow .18s ease, transform .18s ease;
}

.textile-product-page .stp-hero-tools .stp-hero-tool-link:hover,
.textile-product-page .stp-hero-tools .stp-hero-tool-link:focus-visible {
  border-color: var(--stp-brick);
  color: var(--stp-brick);
  box-shadow: 0 0 0 3px rgba(239, 44, 3, .08);
  transform: translateY(-1px);
}

.textile-product-page.stp-theme-dark .stp-hero-tools .stp-hero-tool-link {
  border-color: var(--stp-line);
  background: #202832;
  color: #dce3ea;
}

.textile-product-page.stp-theme-dark .stp-hero-tools .stp-hero-tool-link:hover,
.textile-product-page.stp-theme-dark .stp-hero-tools .stp-hero-tool-link:focus-visible {
  border-color: var(--stp-brick);
  background: rgba(239, 44, 3, .10);
  color: #fff;
  box-shadow: 0 0 0 3px rgba(239, 44, 3, .10);
}

@media (max-width: 760px) {
  .textile-product-page .stp-hero-tools .stp-hero-tool-link {
    flex: 1 1 calc(33.333% - 6px);
    min-width: 0;
    padding-right: 7px;
    padding-left: 7px;
    font-size: 11px;
  }
}
