/* V38+: scoped buyer-flow refinements. Preserve the hero, technical data and media.
   V50 aligns ordinary section headings only; specification tables/figures are unchanged. */
html[data-site="medical-gauze"] {
  --gauze-section-title-size: clamp(1.5rem, 1.15rem + .95vw, 2rem);
}
/* V78: four desktop benefits; three concise benefits on one mobile line. */
html[data-site="medical-gauze"] .feature-section .benefits-title {
  display: flex;
  flex-wrap: nowrap;
  gap: 0;
  width: 100%;
  max-width: none;
  font-size: clamp(1rem, 2vw, 1.5rem);
  line-height: 1.4;
  overflow-wrap: normal;
  white-space: nowrap;
  text-wrap: nowrap;
}
html[data-site="medical-gauze"] .feature-section .benefits-title > .benefit-item {
  display: inline-flex;
  align-items: baseline;
  min-width: 0;
  white-space: nowrap;
}
html[data-site="medical-gauze"] .feature-section .benefits-title > .benefit-item + .benefit-item::before {
  content: "·";
  margin-inline: .45em;
  color: #8ea3b2;
  font-weight: 400;
}
html[data-site="medical-gauze"] .feature-section .benefits-title > .benefit-item::after {
  content: none;
}
html[data-site="medical-gauze"] .benefits-title .benefit-label-short {
  display: none;
}
@media (min-width: 861px) {
  html[data-site="medical-gauze"][lang="ru"] .feature-section .benefits-title {
    font-size: clamp(.875rem, 1.8vw, 1.375rem);
  }
}
@media (max-width: 860px) {
  html[data-site="medical-gauze"] .feature-section .benefits-title {
    display: flex;
    flex-wrap: nowrap;
    justify-content: start;
    gap: 0;
    font-size: clamp(.75rem, 3.6vw, 1.0625rem);
  }
  html[data-site="medical-gauze"] .feature-section .benefits-title > .benefit-item {
    flex: 0 0 auto;
  }
  html[data-site="medical-gauze"] .feature-section .benefits-title > .benefit-item:first-child,
  html[data-site="medical-gauze"] .benefits-title .benefit-label-full {
    display: none;
  }
  html[data-site="medical-gauze"] .benefits-title .benefit-label-short {
    display: inline;
  }
  html[data-site="medical-gauze"] .feature-section .benefits-title > .benefit-item:nth-child(2)::before {
    content: none;
  }
  html[data-site="medical-gauze"] .feature-section .benefits-title > .benefit-item + .benefit-item::before {
    margin-inline: .35em;
  }
}
/* Ordinary section titles share one scale; the benefits title is separate. */
html[data-site="medical-gauze"] :is(.intro-grid, .gauze-application-copy, .spec-copy,
  .gallery-heading, .video-heading, .workshop-heading, .proof-layout,
  .faq-intro-column, .inquiry-copy) h2 {
  width: 100%;
  max-width: 100%;
  margin: 0 0 12px;
  font-size: var(--gauze-section-title-size);
  font-weight: 700;
  line-height: 1.22;
  letter-spacing: -.015em;
  white-space: normal;
  word-break: normal;
  overflow-wrap: break-word;
  text-wrap: wrap;
}
/* Full-width media sections must not inherit a narrow editorial text column. */
html[data-site="medical-gauze"] :is(.gallery-heading, .video-heading, .workshop-heading) {
  width: 100%;
  max-width: none;
  margin-bottom: clamp(16px, 1.6vw, 22px);
}
html[data-site="medical-gauze"] :is(.gallery-heading, .video-heading, .workshop-heading) > p:last-child {
  max-width: 78ch;
  margin: 0;
  font-size: 1rem;
  line-height: 1.65;
  color: #465d70;
}
html[data-site="medical-gauze"]:is([lang="ar"], [lang="hi"]) :is(.intro-grid,
  .gauze-application-copy, .spec-copy, .gallery-heading, .video-heading,
  .workshop-heading, .proof-layout, .faq-intro-column, .inquiry-copy) h2 {
  line-height: 1.38;
  letter-spacing: 0;
}
@media (max-width: 640px) {
  html[data-site="medical-gauze"] {
    --gauze-section-title-size: clamp(1.375rem, 1.1rem + 1.5vw, 1.625rem);
  }
}
html[data-site="medical-gauze"] :is(.feature-card, .gallery-card, .workshop-card, .video-card, .faq-item, .inquiry-form) {
  border-radius: 10px;
  border-color: #d7e1e8;
  background: #fbfdff;
  box-shadow: 0 5px 16px rgba(19, 49, 76, .055);
}
/* V76: lift the whole photo-and-caption card without scaling its contents. */
html[data-site="medical-gauze"] :is(.gallery-card, .workshop-card) {
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
html[data-site="medical-gauze"] :is(.gallery-card, .workshop-card):hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(19, 49, 76, .09);
}
html[data-site="medical-gauze"] :is(.gallery-card, .workshop-card)::after {
  background: none;
}
html[data-site="medical-gauze"] :is(.gallery-card, .workshop-card).is-image-selected {
  border-color: #9dc2dd;
  transform: translateY(-2px);
  box-shadow:
    0 14px 22px -10px rgba(33, 125, 213, .38),
    0 7px 12px -8px rgba(36, 130, 224, .28),
    -7px 4px 16px -9px rgba(57, 142, 219, .16),
    7px 4px 16px -9px rgba(57, 142, 219, .16);
}
@media (prefers-reduced-motion: reduce) {
  html[data-site="medical-gauze"] :is(.gallery-card, .workshop-card),
  html[data-site="medical-gauze"] :is(.gallery-card, .workshop-card):hover,
  html[data-site="medical-gauze"] :is(.gallery-card, .workshop-card).is-image-selected {
    transition: none;
    transform: none;
  }
}
/* V85: selected FAQ cards have a soft blue surface and a stronger bottom glow. */
html[data-site="medical-gauze"] #faq .faq-item.is-faq-selectable {
  cursor: pointer;
  transition: background-color .2s ease, border-color .2s ease, box-shadow .2s ease;
}
html[data-site="medical-gauze"] #faq .faq-selection-trigger {
  display: block;
  width: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 3px;
  background: none;
  color: inherit;
  font: inherit;
  letter-spacing: inherit;
  text-align: inherit;
  cursor: pointer;
  appearance: none;
}
html[data-site="medical-gauze"] #faq .faq-selection-trigger:focus-visible {
  outline: 3px solid #397fa0;
  outline-offset: 4px;
}
@media (hover: hover) {
  html[data-site="medical-gauze"] #faq .faq-item.is-faq-selectable:not(.is-faq-selected):hover {
    border-color: #b4cddd;
  }
}
html[data-site="medical-gauze"] #faq .faq-item.is-faq-selected {
  background: #f2f8ff;
  border-color: #9ec3df;
  box-shadow:
    0 12px 22px -10px rgba(33, 125, 213, .36),
    0 6px 10px -8px rgba(36, 130, 224, .24),
    -6px 3px 14px -10px rgba(57, 142, 219, .14),
    6px 3px 14px -10px rgba(57, 142, 219, .14);
}
@media (prefers-reduced-motion: reduce) {
  html[data-site="medical-gauze"] #faq .faq-item.is-faq-selectable {
    transition: none;
  }
}
html[data-site="medical-gauze"] :is(.feature-card, .gallery-card, .workshop-card, .video-card, .faq-item) p {
  font-size: 1rem;
  line-height: 1.6;
  color: #465d70;
}
html[data-site="medical-gauze"] .gauze-featured-gallery,
html[data-site="medical-gauze"] .gauze-extra-gallery {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-auto-flow: row;
  gap: 20px;
}
html[data-site="medical-gauze"] :is(.gauze-featured-gallery, .gauze-extra-gallery) .gallery-card {
  grid-column: auto;
  grid-row: auto;
}
html[data-site="medical-gauze"] :is(.gauze-featured-gallery, .gauze-extra-gallery) .gallery-card img {
  width: 100%;
  height: clamp(190px, 18vw, 260px);
  object-fit: cover;
}
/* V63: retain the weaving details and rolls in the supplied factory photographs. */
html[data-site="medical-gauze"] .gauze-featured-gallery img[src$="factory-media-workshop-wide-v63.webp"] { object-position: 50% 40%; }
html[data-site="medical-gauze"] .gauze-featured-gallery img[src$="factory-media-production-row-v71.webp"] { object-position: 50% 55%; }
html[data-site="medical-gauze"] .gauze-featured-gallery img[src$="factory-media-drive-side-v63.webp"] { object-position: 50% 55%; }
html[data-site="medical-gauze"] .gauze-featured-gallery img[src$="factory-media-warp-detail-v63.webp"] { object-position: 50% 58%; }
html[data-site="medical-gauze"] .gauze-featured-gallery img[src$="factory-media-large-roll-v63.webp"] { object-position: 50% 52%; }
html[data-site="medical-gauze"] .gauze-featured-gallery img[src$="factory-media-roll-storage-v63.webp"] { object-position: 50% 45%; }
html[data-site="medical-gauze"] :is(.gauze-featured-gallery, .gauze-extra-gallery) .gallery-card-portrait img {
  object-fit: contain;
  object-position: center;
  background: #e8eef2;
}
html[data-site="medical-gauze"] .gauze-media-more {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid #d3dfe7;
}
html[data-site="medical-gauze"] .gauze-media-more > summary {
  width: fit-content;
  max-width: 100%;
  min-height: 44px;
  padding: 10px 18px;
  color: #123f68;
  border: 1px solid #b4c9d8;
  border-radius: 8px;
  background: #f8fbfd;
  font-size: .9375rem;
  font-weight: 650;
  line-height: 1.5;
  cursor: pointer;
}
html[data-site="medical-gauze"] .gauze-media-more > summary:focus-visible {
  outline: 3px solid #397fa0;
  outline-offset: 3px;
}
html[data-site="medical-gauze"] .gauze-media-more .media-hide-label,
html[data-site="medical-gauze"] .gauze-media-more[open] .media-show-label { display: none; }
html[data-site="medical-gauze"] .gauze-media-more[open] .media-hide-label { display: inline; }
html[data-site="medical-gauze"] .gauze-media-more[open] > div { margin-top: 20px; }
/* V45: four real workshop photos, uncropped, with separate readable captions. */
html[data-site="medical-gauze"] .workshop-showcase { scroll-margin-top: 108px; }
html[data-site="medical-gauze"] .gauze-workshop-featured {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}
html[data-site="medical-gauze"] .gauze-workshop-featured .workshop-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  grid-column: auto;
  grid-row: auto;
}
html[data-site="medical-gauze"] .gauze-workshop-featured .workshop-card::before { display: none; }
/* V46: retain the official transparent wordmark as a subtle photo watermark. */
html[data-site="medical-gauze"] .gauze-workshop-featured .workshop-photo {
  position: relative;
  display: block;
  flex: none;
  margin: 0;
  padding: 0;
  overflow: hidden;
}
html[data-site="medical-gauze"] .gauze-workshop-featured .workshop-photo::after {
  content: "";
  position: absolute;
  right: 14px;
  bottom: 14px;
  width: clamp(80px, 22%, 148px);
  aspect-ratio: 1487 / 128;
  background: url("weavemech-logo-white.png") center / contain no-repeat;
  opacity: .38;
  pointer-events: none;
}
html[data-site="medical-gauze"] .gauze-workshop-featured .workshop-card img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 5 / 2;
  object-fit: contain;
  filter: none;
}
html[data-site="medical-gauze"] .gauze-workshop-featured .workshop-card > div {
  padding: 16px;
  text-align: start;
}
html[data-site="medical-gauze"] .gauze-workshop-featured .workshop-card h3 {
  margin: 0 0 6px;
  color: #0b3267;
  font-size: 1.125rem;
  line-height: 1.35;
  letter-spacing: 0;
}
/* Match machine and workshop captions without truncating translated copy. */
html[data-site="medical-gauze"] .gauze-featured-gallery .gallery-card > div {
  padding: 16px;
  text-align: start;
}
html[data-site="medical-gauze"] .gauze-featured-gallery .gallery-card h3 {
  margin: 0 0 6px;
  color: #0b3267;
  font-size: 1.125rem;
  line-height: 1.35;
  letter-spacing: 0;
}
html[data-site="medical-gauze"] :is(.gauze-featured-gallery, .gauze-workshop-featured) :is(.gallery-card, .workshop-card) > div p {
  margin: 0;
  font-size: 1rem;
  line-height: 1.6;
}
html[data-site="medical-gauze"] .gauze-workshop-extra { grid-template-columns: repeat(2, minmax(0, 1fr)); }
html[data-site="medical-gauze"] .support-points article {
  border-radius: 10px;
  background: rgba(255, 255, 255, .06);
  border-color: rgba(224, 236, 245, .24);
  box-shadow: none;
}
html[data-site="medical-gauze"] .support-points article p {
  color: #eef4fa;
  font-size: 1rem;
  font-weight: 450;
  line-height: 1.6;
}
/* V84: the complete compact contact pill is clickable, including label and padding. */
html[data-site="medical-gauze"] a.factory-whatsapp {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  max-width: 100%;
  min-height: 40px;
  padding: 6px 10px;
  font-size: .875rem;
  line-height: 1.4;
  color: var(--muted);
  text-decoration: none;
  white-space: nowrap;
  direction: ltr;
  unicode-bidi: isolate;
  cursor: pointer;
}
html[data-site="medical-gauze"] .factory-whatsapp-number {
  color: var(--green);
  font-weight: 900;
}
html[data-site="medical-gauze"] a.factory-whatsapp:hover {
  background: rgba(20, 125, 106, .16);
  border-color: rgba(20, 125, 106, .45);
}
html[data-site="medical-gauze"] a.factory-whatsapp:focus-visible {
  outline: 3px solid #397fa0;
  outline-offset: 3px;
}
/* V70: a slimmer inquiry action, scoped away from the header and hero buttons. */
html[data-site="medical-gauze"] .inquiry-form .form-button {
  min-height: 36px;
  max-width: 100%;
  padding: 6px 16px;
  font-size: .875rem;
  line-height: 1.2;
  text-align: center;
}
html[data-site="medical-gauze"] .inquiry-form .inquiry-help {
  margin: 14px 0 0;
  color: #465d70;
  font-size: .875rem;
  line-height: 1.6;
}
/* V82: omit the long handoff explanation on phones; keep form status feedback. */
@media (max-width: 860px) {
  html[data-site="medical-gauze"] .inquiry-form .inquiry-help {
    display: none;
  }
}
html[data-site="medical-gauze"][lang="ar"] .faq-item bdi {
  direction: ltr;
  unicode-bidi: isolate;
  white-space: nowrap;
}
/* Buyer guidance alongside the source-aligned gauze questions. */
html[data-site="medical-gauze"] #faq .faq-intro-column {
  min-width: 0;
  position: sticky;
  top: 104px;
}
html[data-site="medical-gauze"] #faq .faq-intro-column .section-heading {
  position: static;
}
html[data-site="medical-gauze"] #faq .faq-project {
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid #c7d8e3;
  text-align: start;
}
html[data-site="medical-gauze"] #faq .faq-project h3 {
  margin: 0 0 12px;
  color: #123f68;
  font-size: 1.125rem;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: 0;
}
html[data-site="medical-gauze"] #faq .faq-project p {
  margin: 0 0 20px;
  color: #465d70;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.6;
}
html[data-site="medical-gauze"] #faq .faq-project-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  max-width: 100%;
  min-height: 42px;
  padding: 10px 16px;
  border: 1px solid #b51228;
  border-radius: 8px;
  background: #b51228;
  color: #fff;
  font-size: .9375rem;
  font-weight: 700;
  line-height: 1.4;
  text-align: center;
  text-decoration: none;
  white-space: normal;
}
/* V44: a compact fabric brief; keep the established layout and hero untouched. */
html[data-site="medical-gauze"] #faq .faq-project-checklist {
  margin: 0 0 24px;
  padding-inline-start: 1.2em;
  color: #465d70;
  font-size: 1rem;
  line-height: 1.6;
  text-align: start;
}
html[data-site="medical-gauze"] #faq .faq-project-checklist li + li {
  margin-top: 10px;
}
html[data-site="medical-gauze"][lang="ar"] #faq .faq-project-checklist bdi {
  direction: ltr;
  unicode-bidi: isolate;
}
html[data-site="medical-gauze"] #faq .faq-project-link:hover {
  background: #991023;
  border-color: #991023;
}
html[data-site="medical-gauze"] #faq .faq-project-link:focus-visible {
  outline: 3px solid #397fa0;
  outline-offset: 3px;
}
@media (max-width: 860px) {
  html[data-site="medical-gauze"] #faq .faq-intro-column {
    position: static;
  }
  html[data-site="medical-gauze"] #faq .faq-project {
    margin-top: 20px;
    padding-top: 18px;
  }
  html[data-site="medical-gauze"] #faq .faq-project h3 {
    font-size: 1.0625rem;
  }
}
@media (min-width: 1100px) {
  html[data-site="medical-gauze"] .gauze-extra-gallery {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  html[data-site="medical-gauze"] .gauze-extra-gallery .gallery-card-portrait {
    grid-row: span 2;
  }
  html[data-site="medical-gauze"] .gauze-extra-gallery .gallery-card-portrait img {
    height: 570px;
  }
}
/* V39: requested full WhatsApp label; restore the original compact language row. */
html[data-site="medical-gauze"] .site-header[data-header] .header-whatsapp {
  height: 32px;
  min-height: 32px;
  padding: 4px 8px;
  align-self: center;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}
html[data-site="medical-gauze"] .site-header[data-header] .header-whatsapp span {
  display: block;
  width: 100%;
  text-align: center;
  font-size: .8125rem;
  line-height: 1.2;
  text-transform: none;
  letter-spacing: 0;
  white-space: nowrap;
}
/* V41: flatter desktop contact button, with optically balanced text spacing. */
@media (min-width: 1024px) {
  html[data-site="medical-gauze"] .site-header[data-header] .header-whatsapp {
    padding-inline: 6px;
    background: #165b92;
    border: 1px solid #165b92;
    box-shadow: none;
  }
  html[data-site="medical-gauze"] .site-header[data-header] .header-whatsapp::before,
  html[data-site="medical-gauze"] .site-header[data-header] .header-whatsapp::after { display: none; }
  html[data-site="medical-gauze"] .site-header[data-header] .header-whatsapp span {
    color: #ffffff;
    text-shadow: none;
  }
  html[data-site="medical-gauze"] .site-header[data-header] .header-whatsapp:hover,
  html[data-site="medical-gauze"] .site-header[data-header] .header-whatsapp:focus-visible {
    background: #104d7e;
    border-color: #104d7e;
    box-shadow: none;
  }
}
@media (max-width: 1023px) {
  html[data-site="medical-gauze"] body { padding-top: 88px; }
  html[data-site="medical-gauze"] .site-header[data-header] {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 144px 40px;
    grid-template-areas: "brand contact menu" "language language language";
    grid-template-rows: 40px 28px;
    column-gap: 6px;
    row-gap: 4px;
    min-height: 88px;
    height: auto;
    padding: 8px 12px;
  }
  html[data-site="medical-gauze"] .site-header[data-header] .brand {
    grid-area: brand;
    width: min(100%, 180px);
    min-width: 0;
  }
  html[data-site="medical-gauze"] .site-header[data-header] .brand-logo { max-width: 100%; }
  html[data-site="medical-gauze"] .site-header[data-header] .header-whatsapp {
    grid-area: contact;
    width: 144px;
    min-width: 144px;
    max-width: 144px;
    height: 28px;
    min-height: 28px;
    padding: 2px 8px;
    margin: 0;
    background: #b51228;
    color: #ffffff;
    border: 1px solid #b51228;
    box-shadow: none;
  }
  html[data-site="medical-gauze"] .site-header[data-header] .header-whatsapp:hover,
  html[data-site="medical-gauze"] .site-header[data-header] .header-whatsapp:focus-visible {
    background: #991023;
    border-color: #991023;
    color: #ffffff;
    box-shadow: none;
  }
  html[data-site="medical-gauze"] .site-header[data-header] .header-whatsapp::before,
  html[data-site="medical-gauze"] .site-header[data-header] .header-whatsapp::after { display: none; }
  html[data-site="medical-gauze"] .site-header[data-header] .header-whatsapp span {
    color: #ffffff;
    font-size: .8125rem;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: 0;
    text-transform: none;
    text-shadow: none;
  }
  html[data-site="medical-gauze"] .site-header[data-header] .nav-toggle {
    grid-area: menu;
    width: 40px;
    height: 28px;
    min-height: 28px;
    align-self: center;
    padding: 0;
    margin: 0;
  }
  html[data-site="medical-gauze"] .site-header[data-header] .mobile-language-options.language-options {
    grid-area: language;
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 2px;
    width: calc(100% + 24px);
    min-height: 28px;
    max-height: 28px;
    margin: 0 -12px;
    padding: 2px 2px 3px;
  }
  html[data-site="medical-gauze"] .site-header[data-header] .site-nav { top: 88px; }
  html[data-site="medical-gauze"] .site-header[data-header].is-language-hidden {
    grid-template-rows: 40px 0;
    row-gap: 0;
    min-height: 56px;
    padding-block: 8px;
  }
  html[data-site="medical-gauze"] .site-header[data-header].is-language-hidden .mobile-language-options {
    min-height: 0;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    pointer-events: none;
  }
  html[data-site="medical-gauze"] .site-header[data-header].is-language-hidden .site-nav { top: 56px; }
}
@media (max-width: 640px) {
  html[data-site="medical-gauze"] .gauze-featured-gallery,
  html[data-site="medical-gauze"] .gauze-extra-gallery,
  html[data-site="medical-gauze"] .gauze-workshop-extra,
  html[data-site="medical-gauze"] .gauze-workshop-featured { grid-template-columns: minmax(0, 1fr); }
  html[data-site="medical-gauze"] .gauze-workshop-featured { gap: 20px; }
  html[data-site="medical-gauze"] .gauze-featured-gallery .gallery-card img {
    height: auto;
    aspect-ratio: 16 / 9;
  }
  html[data-site="medical-gauze"] .gauze-featured-gallery .gallery-card > div,
  html[data-site="medical-gauze"] .gauze-workshop-featured .workshop-card > div { padding: 14px 16px; }
  html[data-site="medical-gauze"] .gauze-featured-gallery .gallery-card h3,
  html[data-site="medical-gauze"] .gauze-workshop-featured .workshop-card h3 { font-size: 1rem; }
  html[data-site="medical-gauze"] .gauze-media-more > summary { width: 100%; }
}
/* V51: quiet, readable visitor figures at the footer's right edge. */
html[data-site="medical-gauze"] .gauze-visit-row {
  display: flex;
  justify-content: flex-end;
  direction: ltr;
  margin-top: 16px;
}
html[data-site="medical-gauze"] .gauze-visit-counter {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: flex-end;
  gap: 8px 4px;
  margin: 0;
  color: #b9cadc;
  font-size: .8125rem;
  line-height: 1.5;
}
html[data-site="medical-gauze"] .gauze-visit-counter > div {
  display: flex;
  align-items: baseline;
  gap: 8px;
}
/* V55: both figures share the same understated size, weight, and color. */
html[data-site="medical-gauze"] .gauze-visit-counter dd {
  margin: 0;
  color: #90a8c2;
  font-size: .75rem;
  font-weight: 400;
  font-variant-numeric: tabular-nums;
}
html[data-site="medical-gauze"][dir="rtl"] .gauze-visit-counter > div { direction: rtl; }
html[data-site="medical-gauze"] .gauze-visit-counter > .gauze-daily-group {
  direction: ltr;
  gap: 4px;
}

/* V65: direct video previews should clear the sticky site header. */
html[data-site="medical-gauze"] #factory-videos {
  scroll-margin-top: 100px;
}

/* V68: full-width support introduction with three equally sized service cards. */
html[data-site="medical-gauze"] .proof-layout {
  grid-template-columns: minmax(0, 1fr);
  gap: 4px;
}
html[data-site="medical-gauze"] .proof-layout > div,
html[data-site="medical-gauze"] .support-stack {
  width: 100%;
  min-width: 0;
}
html[data-site="medical-gauze"] .support-stack > p {
  max-width: 88ch;
  margin: 0;
  line-height: 1.65;
}
html[data-site="medical-gauze"] .support-points {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: stretch;
  gap: 20px;
  margin-top: 24px;
}
html[data-site="medical-gauze"] .support-points article {
  min-width: 0;
  min-height: 0;
  padding: 22px;
}
html[data-site="medical-gauze"] .support-points h3 {
  margin-bottom: 10px;
  font-size: 1.0625rem;
  line-height: 1.4;
}

/* V69: keep the fabric brief above two categories of unchanged parameter rows. */
html[data-site="medical-gauze"] .spec-layout {
  grid-template-columns: minmax(0, 1fr);
  gap: 28px;
}
html[data-site="medical-gauze"] .spec-brief {
  /* V80: the introduction leads directly into the specifications on all screens. */
  display: block;
  min-width: 0;
}
html[data-site="medical-gauze"] .spec-copy {
  position: static;
  min-width: 0;
}
@media (min-width: 861px) {
  /* V79: retain the compact desktop introduction-to-table spacing. */
  html[data-site="medical-gauze"] .spec-layout {
    gap: 22px;
  }
}
html[data-site="medical-gauze"] .spec-copy > p:last-of-type {
  max-width: 72ch;
  margin-bottom: 0;
  line-height: 1.65;
}
html[data-site="medical-gauze"] .spec-table-wrap {
  overflow: visible;
  border: 0;
  border-radius: 0;
  background: none;
  box-shadow: none;
}
html[data-site="medical-gauze"] .spec-parameter-groups {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  align-items: start;
}
html[data-site="medical-gauze"] .spec-parameter-groups .spec-table {
  display: table;
  table-layout: fixed;
  width: 100%;
  min-width: 0;
  border-collapse: separate;
  border-spacing: 0;
  border: 1px solid #cedce5;
  border-radius: 8px;
  overflow: hidden;
  background: #fbfdff;
}
html[data-site="medical-gauze"] .spec-parameter-groups .spec-table tbody {
  display: table-row-group;
}
/* V77: a single 150ms rise / 700ms fade, then a quiet selected state. */
html[data-site="medical-gauze"] .spec-parameter-groups .spec-table {
  --spec-glow-low:
    0 10px 18px -11px rgba(33, 125, 213, .24),
    0 5px 10px -8px rgba(36, 130, 224, .14),
    -6px 3px 14px -9px rgba(57, 142, 219, .10),
    6px 3px 14px -9px rgba(57, 142, 219, .10);
  --spec-glow-peak:
    0 15px 24px -10px rgba(33, 125, 213, .42),
    0 7px 14px -8px rgba(36, 130, 224, .28),
    -7px 4px 16px -9px rgba(57, 142, 219, .17),
    7px 4px 16px -9px rgba(57, 142, 219, .17);
  cursor: pointer;
  transition: box-shadow .2s ease, border-color .2s ease;
}
html[data-site="medical-gauze"] .spec-parameter-groups .spec-selection-trigger {
  display: block;
  width: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  line-height: inherit;
  text-align: inherit;
  text-transform: inherit;
  letter-spacing: inherit;
  appearance: none;
  cursor: pointer;
}
html[data-site="medical-gauze"] .spec-selection-trigger:focus-visible {
  outline: 2px solid #d7edff;
  outline-offset: 2px;
}
html[data-site="medical-gauze"] .spec-parameter-groups .spec-table.is-spec-selected {
  border-color: #adcbe0;
  box-shadow: var(--spec-glow-low);
}
html[data-site="medical-gauze"] .spec-parameter-groups .spec-table.is-spec-pulsing {
  animation: gauze-spec-selection-glow .85s ease-in-out;
}
@keyframes gauze-spec-selection-glow {
  0% { box-shadow: 0 0 0 0 rgba(33, 125, 213, 0); }
  17.647% { box-shadow: var(--spec-glow-peak); }
  100% { box-shadow: var(--spec-glow-low); }
}
@media (prefers-reduced-motion: reduce) {
  html[data-site="medical-gauze"] .spec-parameter-groups .spec-table {
    transition: none;
  }
  html[data-site="medical-gauze"] .spec-parameter-groups .spec-table.is-spec-pulsing {
    animation: none;
  }
}
html[data-site="medical-gauze"] .spec-parameter-groups .spec-label-column { width: 36%; }
html[data-site="medical-gauze"] .spec-parameter-groups .spec-value-column { width: 64%; }
html[data-site="medical-gauze"] .spec-parameter-groups .spec-table tr {
  display: table-row;
}
html[data-site="medical-gauze"] .spec-parameter-groups .spec-table th,
html[data-site="medical-gauze"] .spec-parameter-groups .spec-table td {
  display: table-cell;
  padding: 11px 14px;
  border-bottom: 1px solid #d5dfeb;
  line-height: 1.5;
  overflow-wrap: break-word;
}
html[data-site="medical-gauze"] .spec-parameter-groups .spec-table tr:not(.spec-group) th {
  width: 36%;
  font-size: .8125rem;
  background: #f1f6fa;
}
html[data-site="medical-gauze"] .spec-parameter-groups .spec-table td {
  width: auto;
  font-size: .9375rem;
  background: #fbfdff;
}
html[data-site="medical-gauze"] .spec-parameter-groups .spec-table .spec-group th {
  width: auto;
  padding-block: 10px;
  font-size: .8125rem;
}
html[data-site="medical-gauze"] .spec-parameter-groups .spec-table tr:last-child > * {
  border-bottom: 0;
}
@media (max-width: 860px) {
  html[data-site="medical-gauze"] .support-points,
  html[data-site="medical-gauze"] .spec-parameter-groups {
    grid-template-columns: minmax(0, 1fr);
  }
  html[data-site="medical-gauze"] .support-points {
    gap: 14px;
    margin-top: 20px;
  }
  html[data-site="medical-gauze"] .support-points article { padding: 18px; }
  html[data-site="medical-gauze"] .spec-parameter-groups { gap: 16px; }
  html[data-site="medical-gauze"] .spec-parameter-groups .spec-label-column { width: 38%; }
  html[data-site="medical-gauze"] .spec-parameter-groups .spec-value-column { width: 62%; }
  html[data-site="medical-gauze"] .spec-parameter-groups .spec-table th,
  html[data-site="medical-gauze"] .spec-parameter-groups .spec-table td { padding: 10px 12px; }
  html[data-site="medical-gauze"] .spec-parameter-groups .spec-table tr:not(.spec-group) th { width: 38%; }
}

/* V87: a soft local navy backdrop and restrained hierarchy over the running video.
   Keep copy static: the bottom desktop CTAs must stay anchored to hero-inner. */
html[data-site="medical-gauze"][lang] .hero > .hero-inner::before {
  content: "";
  position: absolute;
  top: calc(var(--hero-panel-y, 48px) - 28px);
  left: calc(var(--hero-panel-x, 32px) - 36px);
  width: calc(var(--hero-panel-width, 460px) + 80px);
  height: calc(var(--hero-panel-height, 190px) + 56px);
  z-index: -1;
  border-radius: 24px;
  background: radial-gradient(ellipse at 44% 50%,
    rgba(5, 22, 45, .86) 0%, rgba(5, 22, 45, .72) 45%,
    rgba(5, 22, 45, .36) 72%, transparent 100%);
  filter: blur(8px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 450ms ease;
}
html[data-site="medical-gauze"][dir="rtl"] .hero > .hero-inner::before {
  background: radial-gradient(ellipse at 56% 50%,
    rgba(5, 22, 45, .86) 0%, rgba(5, 22, 45, .72) 45%,
    rgba(5, 22, 45, .36) 72%, transparent 100%);
}
html[data-site="medical-gauze"][lang] .hero:has(.is-video-visible) > .hero-inner::before {
  opacity: 1;
}
html[data-site="medical-gauze"][lang] .hero:has(.is-video-visible) .hero-inner #hero-title,
html[data-site="medical-gauze"][lang] .hero:has(.is-video-visible) .hero-inner .hero-title-product {
  color: #fff7e8;
}
html[data-site="medical-gauze"][lang] .hero:has(.is-video-visible) .hero-inner .hero-subtitle {
  color: #aed4e5;
}
html[data-site="medical-gauze"][lang] .hero:has(.is-video-visible) .hero-inner .hero-text {
  color: #c8d8e6;
}
html[data-site="medical-gauze"][lang] .hero:has(.is-video-visible) .hero-inner .hero-performance-note {
  color: #f0d18e;
}
@media (max-width: 860px) {
  html[data-site="medical-gauze"][lang] .hero > .hero-inner::before {
    top: calc(var(--hero-panel-y, 56px) - 22px);
    left: calc(var(--hero-panel-x, 20px) - 20px);
    width: calc(var(--hero-panel-width, 100% - 40px) + 40px);
    height: calc(var(--hero-panel-height, 200px) + 44px);
    filter: blur(6px);
  }
  /* V88: lighten only the mobile copy backdrop, not the text or video. */
  html[data-site="medical-gauze"][lang] .hero:has(.is-video-visible) > .hero-inner::before {
    opacity: .55;
  }
}
@media (prefers-reduced-motion: reduce) {
  html[data-site="medical-gauze"][lang] .hero > .hero-inner::before {
    transition: none;
  }
}

/* V86: sentence-based mobile wrapping; desktop text and typography stay unchanged. */
html[data-site="medical-gauze"][lang="en"] .hero-text .hero-mobile-sentence-break {
  display: none;
}
@media (max-width: 860px) {
  html[data-site="medical-gauze"][lang="en"] .hero-text .hero-mobile-sentence-break {
    display: inline;
  }
}

/* V81: a consistent desktop spacing rhythm without changing media or mobile sizes. */
@media (min-width: 861px) {
  html[data-site="medical-gauze"] :is(.gauze-applications, .spec-band,
    .factory-gallery-section, .workshop-section, .proof-band, .faq-section,
    .inquiry-section) {
    padding-block: 32px;
  }
  html[data-site="medical-gauze"] .intro-band .intro-grid {
    padding-block: 22px;
  }
  html[data-site="medical-gauze"] :is(.gauze-application-copy, .spec-copy,
    .gallery-heading, .video-heading, .workshop-heading, .proof-layout,
    .faq-intro-column, .inquiry-copy) .section-kicker {
    margin-bottom: 8px;
  }
  html[data-site="medical-gauze"] :is(.intro-grid, .gauze-application-copy,
    .spec-copy, .gallery-heading, .video-heading, .workshop-heading,
    .proof-layout, .faq-intro-column, .inquiry-copy) h2 {
    margin-bottom: 10px;
  }
  html[data-site="medical-gauze"] :is(.gallery-heading, .video-heading, .workshop-heading) {
    margin-bottom: 16px;
  }
  /* Keep column gaps unchanged so photos and both factory videos keep their sizes. */
  html[data-site="medical-gauze"] .gauze-featured-gallery {
    row-gap: 18px;
  }
  html[data-site="medical-gauze"] .gauze-workshop-featured {
    row-gap: 20px;
  }
  html[data-site="medical-gauze"] .gauze-featured-gallery .gallery-card > div,
  html[data-site="medical-gauze"] .gauze-workshop-featured .workshop-card > div,
  html[data-site="medical-gauze"] .factory-video-grid .video-card > div {
    padding-block: 12px;
  }
  html[data-site="medical-gauze"] .factory-video-panel {
    margin-top: 18px;
    padding-top: 18px;
  }
  html[data-site="medical-gauze"] .support-points {
    margin-top: 18px;
  }
  html[data-site="medical-gauze"] .support-points article {
    padding-block: 18px;
  }
  html[data-site="medical-gauze"] .support-points h3 {
    margin-bottom: 8px;
  }
  html[data-site="medical-gauze"] #faq .faq-project {
    margin-top: 20px;
    padding-top: 18px;
  }
  html[data-site="medical-gauze"] #faq .faq-project h3 {
    margin-bottom: 8px;
  }
  html[data-site="medical-gauze"] #faq .faq-project p {
    margin-bottom: 16px;
  }
  html[data-site="medical-gauze"] #faq .faq-project-checklist {
    margin-bottom: 18px;
  }
  html[data-site="medical-gauze"] #faq .faq-project-checklist li + li {
    margin-top: 8px;
  }
  html[data-site="medical-gauze"] .faq-item {
    padding-block: 14px;
  }
  html[data-site="medical-gauze"] .inquiry-copy .gauze-detail-figure {
    margin-top: 16px;
  }
  html[data-site="medical-gauze"] .inquiry-copy .gauze-detail-figure figcaption {
    margin-top: 8px;
  }
}
