/**
 * Unified responsive layer — breakpoints:
 * sm ≤767px | md 768–1023px | lg 1024–1279px | xl ≥1280px
 */

/* ========== FOUNDATION ========== */
@media (max-width: 1023px) {
  :root {
    --st-shell: min(1280px, calc(100% - 48px));
  }
}

@media (max-width: 767px) {
  :root {
    --st-shell: min(1280px, calc(100% - 32px));
    --st-header-h: 64px;
    --st-edge: max(12px, env(safe-area-inset-right, 0px));
  }

  .st-logo__img {
    height: 36px;
  }
}

/* Touch targets */
@media (max-width: 1023px) {
  .st-btn,
  .st-header__cta,
  .st-header__drawer .st-btn--ghost,
  .st-search-btn,
  .st-burger,
  .st-faq__q,
  .st-form input,
  .st-form textarea,
  .st-form select,
  .st-form button {
    min-height: var(--st-touch-min, 44px);
  }

  .st-nav--mobile .st-nav__link {
    display: flex;
    align-items: center;
    min-height: var(--st-touch-min, 44px);
    padding-block: 4px;
  }

  .st-pager__dot {
    width: 10px;
    height: 10px;
  }
}

/* ========== INNER PAGE HERO ========== */
@media (max-width: 1023px) {
  .st-page-hero {
    min-height: 0;
    margin-bottom: var(--st-space-6);
    padding: var(--st-space-4) 0 var(--st-space-5);
  }
}

@media (max-width: 767px) {
  .st-page-hero {
    margin-bottom: var(--st-space-5);
    padding: var(--st-space-3) 0 var(--st-space-4);
  }

  .st-page-hero__title {
    font-size: clamp(24px, 7vw, 32px);
  }

  .st-crumbs {
    margin-bottom: var(--st-space-3);
  }
}

/* ========== HEADER / DRAWER ========== */
@media (max-width: 1023px) {
  .st-header__actions {
    gap: 4px;
    padding: 4px 6px;
  }

  .st-search-btn,
  .st-header-cart,
  .st-burger {
    width: var(--st-touch-min, 44px);
    height: var(--st-touch-min, 44px);
    min-width: var(--st-touch-min, 44px);
  }

  .st-nav:not(.st-nav--mobile):not(.st-nav--footer) {
    display: none;
  }

  .st-burger {
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .st-header__cta {
    display: none;
  }

  .st-pager {
    display: none;
  }

  /* Keep logo | … | actions columns when desktop nav is removed */
  .st-header__inner {
    grid-template-columns: 1fr auto;
    gap: 12px;
    padding-inline: max(12px, env(safe-area-inset-left, 0px)) max(12px, env(safe-area-inset-right, 0px));
  }

  .st-header__inner > .st-logo {
    grid-column: 1;
  }

  .st-header__inner > .st-header__actions {
    grid-column: 2;
  }
}

.st-header__backdrop {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 48;
  margin: 0;
  padding: 0;
  border: 0;
  background: rgba(4, 8, 10, 0.62);
  cursor: pointer;
}

body.st-nav-open {
  overflow: hidden;
}

@media (max-width: 1023px) {
  .st-header {
    overflow: visible;
  }

  .st-header__drawer {
    position: fixed;
    top: var(--st-header-h);
    left: 0;
    right: 0;
    width: 100%;
    max-width: none;
    margin: 0;
    box-sizing: border-box;
    z-index: 49;
    max-height: calc(100dvh - var(--st-header-h) - env(safe-area-inset-bottom, 0px));
    overflow-x: hidden;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    padding: 20px max(24px, env(safe-area-inset-right)) max(28px, env(safe-area-inset-bottom)) max(24px, env(safe-area-inset-left));
    box-shadow: 0 18px 48px rgba(0, 0, 0, 0.45);
  }

  body.st-nav-open .st-header__drawer {
    display: block !important;
  }

  .st-header__drawer .st-nav--mobile {
    width: 100%;
    align-items: stretch;
  }

  .st-header__drawer .st-nav__link {
    width: 100%;
    justify-content: flex-start;
  }

  .st-header__drawer .st-btn--ghost {
    display: flex;
    width: 100%;
  }

  body.st-nav-open .st-header__backdrop {
    display: block;
  }
}

/* ========== HERO (01) ========== */
@media (max-width: 1100px) {
  .st-hero {
    height: auto;
    min-height: 100dvh;
    max-height: none;
    overflow: visible;
  }

  .st-hero__layout {
    overflow: visible;
  }
}

@media (max-width: 1023px) {
  .st-hero {
    height: auto;
    min-height: 100dvh;
    max-height: none;
    overflow: visible;
  }

  .st-hero__layout {
    padding: calc(var(--st-header-h) + 24px) 0 24px;
    overflow: visible;
  }

  .st-hero__hud {
    position: static;
    width: min(100%, 380px);
    margin: 24px 0 0;
  }

  .st-hero__compare {
    transform: none;
  }

  .st-hero__bg,
  .st-hero__video {
    object-position: center center;
  }
}

@media (max-width: 767px) {
  .st-hero {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    height: 100dvh;
    min-height: 100dvh;
    max-height: 100dvh;
    overflow: hidden;
  }

  .st-hero__bg,
  .st-hero__video,
  .st-hero__slide-img {
    object-position: center center;
  }

  .st-hero__eyebrow {
    margin-bottom: 8px;
    flex-shrink: 0;
  }

  .st-hero__title {
    font-size: clamp(32px, 10vw, 44px);
    margin-bottom: 8px;
  }

  .st-hero__subtitle {
    font-size: clamp(15px, 4.2vw, 20px);
    margin-bottom: 12px;
  }

  /* Brand: left-aligned, vertically centered between header and CTA */
  .st-hero__brand {
    width: 100%;
    margin-block: auto;
    text-align: left;
  }

  /* Less clutter: brand + catalog CTA */
  .st-hero__features,
  .st-hero__slogan,
  .st-hero__btn--video {
    display: none !important;
  }

  .st-hero__layout {
    order: 1;
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
    min-height: 0;
    padding-bottom: 8px;
    overflow: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
  }

  .st-hero__layout::-webkit-scrollbar {
    display: none;
    width: 0;
    height: 0;
  }

  .st-hero__copy {
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
    min-height: 0;
    max-width: none;
    padding-top: 8px;
  }

  /* CTA stays under the centered brand; HUD below */
  .st-hero__actions {
    flex-direction: column;
    align-items: stretch;
    flex-shrink: 0;
    gap: 8px;
    margin-top: 0;
    padding-top: 16px;
  }

  .st-hero__btn {
    width: 100%;
    min-height: 44px;
  }

  .st-hero__hud {
    flex: 0 0 auto;
    width: 100%;
    margin: 12px 0 0;
    display: flex;
    flex-direction: row;
    align-items: flex-end;
    justify-content: space-between;
    gap: 12px;
  }

  .st-hero__compare {
    display: none;
  }

  .st-hero__stat {
    margin: 0;
  }

  .st-hero__stat-value {
    font-size: 40px;
  }

  /* Stick slide pager to bottom of first mobile screen */
  .st-hero__slides {
    order: 2;
    position: relative;
    left: auto;
    right: auto;
    bottom: auto;
    transform: none;
    z-index: 4;
    flex: 0 0 auto;
    align-self: stretch;
    width: auto;
    max-width: none;
    margin: 0 12px max(10px, env(safe-area-inset-bottom, 0px));
    gap: 8px;
    padding: 6px 8px;
    border-radius: 999px;
  }

  .st-hero__slides-nav {
    width: 36px;
    height: 36px;
  }

  .st-hero__slides-nav svg {
    width: 14px;
    height: 14px;
  }

  .st-hero__slides-mid {
    min-width: 0;
    flex: 1 1 auto;
    gap: 8px;
  }

  .st-hero__slides-cur {
    font-size: 16px;
  }

  .st-hero__slides-sep,
  .st-hero__slides-total {
    font-size: 11px;
  }

  .st-hero__slides-rail {
    gap: 4px;
  }

  .st-hero__slides-seg-track {
    height: 2px;
  }
}

@media (max-height: 500px) and (orientation: landscape) {
  .st-hero {
    min-height: auto;
  }

  .st-hero__layout {
    padding-block: calc(var(--st-header-h) + 12px) 20px;
  }

  .st-hero__hud {
    display: none;
  }
}

/* ========== ADVANTAGES (02) — 2 cols on tablet + mobile ========== */
@media (max-width: 1023px) {
  .st-advantages {
    padding-top: 12px;
  }

  .st-advantages__bar {
    flex-wrap: wrap;
    height: auto;
    min-height: 0;
    border: 1px solid rgba(214, 196, 150, 0.14);
    border-radius: 14px;
  }

  .st-advantages__item {
    flex: 1 1 33.333%;
    min-height: 130px;
    padding-top: 22px;
  }

  .st-advantages__item::before,
  .st-advantages__item::after {
    display: none !important;
  }

  /* Vertical divider between columns */
  .st-advantages__item:nth-child(even)::before {
    display: none !important;
  }

  .st-advantages__item:not(:nth-child(3n + 1))::before {
    display: block !important;
  }

  /* Horizontal divider under first row */
  .st-advantages__item:nth-child(n + 4)::after {
    content: "";
    display: block !important;
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 58%;
    height: 1px;
    background: var(--st-line);
  }

  .st-advantages__line {
    font-size: 11px;
    letter-spacing: 0.08em;
  }
}

/* ========== PRODUCTS (03) ========== */
@media (max-width: 1023px) {
  .st-products__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 767px) {
  .st-section-head {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }

  .st-products__grid {
    grid-template-columns: 1fr;
  }

  .st-pcard__link {
    min-height: 320px;
    aspect-ratio: 4 / 5;
  }

  .st-advantages__item {
    flex: 1 1 50%;
  }

  .st-advantages__item:last-child {
    flex: 1 1 100%;
  }

  .st-advantages__item:not(:nth-child(3n + 1))::before {
    display: none !important;
  }

  .st-advantages__item:nth-child(even)::before {
    display: block !important;
  }

  .st-advantages__item:nth-child(n + 4)::after {
    display: none !important;
  }

  .st-advantages__item:nth-child(n + 3)::after {
    content: "";
    display: block !important;
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 58%;
    height: 1px;
    background: var(--st-line);
  }
}

/* ========== TESTED (04) ========== */
@media (max-width: 1023px) {
  .st-tested__panel {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .st-tested__media {
    order: -1;
    min-height: 220px;
  }

  .st-tested__copy {
    padding: 28px 24px 24px;
  }

  .st-tested__stats {
    flex-direction: column;
    gap: 14px;
    margin-top: 24px;
  }

  .st-tested__stat {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    gap: 6px 12px;
    max-width: none;
    min-width: 0;
    text-align: left;
  }

  .st-tested__stat-value {
    flex: 0 0 auto;
  }

  .st-tested__stat-label {
    margin-top: 0;
    flex: 1 1 auto;
    min-width: 0;
    white-space: nowrap;
    font-size: 12px;
    line-height: 1.25;
  }

  .st-tested__stat-label br {
    display: none;
  }
}

/* ========== HOW (05) ========== */
@media (max-width: 1023px) {
  .st-how__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 767px) {
  .st-how__grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .st-hcard {
    flex-direction: row;
    align-items: stretch;
  }

  .st-hcard__img {
    flex: 0 0 clamp(104px, 30vw, 128px);
    max-width: 128px;
  }

  .st-hcard__img img {
    width: 100%;
    height: auto;
    min-height: 0;
    object-fit: contain;
  }

  .st-hcard__body {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 14px 16px;
  }

  .st-hcard__title {
    min-height: 0;
    font-size: 15px;
    line-height: 1.3;
  }

  .st-hcard__text {
    margin-top: 8px;
    font-size: 14px;
    line-height: 1.5;
  }

  .st-hcard__num {
    top: 10px;
    left: 12px;
    font-size: 18px;
  }
}

/* ========== PROCESS (06) ========== */
@media (max-width: 1023px) {
  .st-process__title {
    padding-right: 200px;
  }

  .st-process__steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px 16px;
    padding: 22px 200px 36px 32px;
  }

  .st-process__panel {
    min-height: 400px;
  }

  .st-process__statue {
    width: min(240px, 30%);
  }

  .st-pstep:nth-child(2)::after,
  .st-pstep:nth-child(4)::after,
  .st-pstep--last::after,
  .st-pstep--last::before {
    display: none;
  }
}

@media (max-width: 767px) {
  .st-process__title {
    padding: 28px 24px 0;
  }

  .st-process__steps {
    grid-template-columns: 1fr;
    gap: 18px;
    padding: 24px;
  }

  .st-process__panel {
    min-height: 0;
  }

  .st-process__statue {
    position: relative;
    top: auto;
    width: min(220px, 72%);
    margin: 0 auto 8px;
  }

  .st-pstep:not(.st-pstep--last)::after,
  .st-pstep--last::after,
  .st-pstep--last::before {
    display: none;
  }

  .st-pstep {
    display: grid;
    grid-template-columns: 56px auto 1fr;
    grid-template-areas:
      "icon num title"
      "icon text text";
    column-gap: 10px;
    row-gap: 4px;
    align-items: center;
    padding-right: 0;
  }

  .st-pstep__icon {
    grid-area: icon;
    align-self: start;
  }

  .st-pstep__icon img {
    width: 52px;
    height: 52px;
    margin-left: 0;
  }

  .st-pstep__num {
    grid-area: num;
    margin-top: 0;
    font-size: 22px;
  }

  .st-pstep__title {
    grid-area: title;
    margin: 0;
    font-size: 14px;
    letter-spacing: 0.1em;
    white-space: nowrap;
  }

  .st-pstep__text {
    grid-area: text;
    margin: 0;
    min-height: 0;
    font-size: 14px;
    line-height: 1.5;
  }
}

/* ========== FABRIC (07) + THERMO (08) ========== */
@media (max-width: 1023px) {
  .st-fabric__layout,
  .st-thermo__layout {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .st-fabric__copy {
    padding: 32px 0 20px;
    max-width: none;
  }

  .st-fabric__title,
  .st-fabric__lead,
  .st-thermo__title,
  .st-thermo__lead {
    max-width: none;
  }

  .st-fabric__media {
    order: -1;
    min-height: 260px;
  }

  .st-thermo__copy {
    padding: 20px 0 32px;
    max-width: none;
  }

  .st-thermo__panels {
    gap: 16px;
    padding-bottom: 24px;
  }
}

@media (max-width: 767px) {
  .st-thermo__panels {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

/* ========== DUO (09) ========== */
@media (max-width: 1023px) {
  .st-duo__grid {
    grid-template-columns: 1fr;
    gap: 12px;
    border: 0;
    border-radius: 0;
    overflow: visible;
  }

  .st-duo__card {
    border-top: 1px solid var(--st-line);
    border-bottom: 1px solid var(--st-line);
    border-radius: 12px;
  }

  .st-duo__card--factory,
  .st-duo__card--services {
    padding: 24px;
  }

  .st-duo__factory-photo {
    opacity: 0.42;
  }

  .st-duo__services-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px 16px;
    margin: 20px 0 0;
  }

  .st-scard + .st-scard {
    border-left: 0;
    padding-left: 0;
  }
}

@media (max-width: 767px) {
  .st-duo__services-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px 12px;
  }

  .st-duo__lead {
    max-width: none;
  }

  .st-scard__line {
    font-size: 11px;
  }
}

/* ========== MISSION (10) ========== */
@media (max-width: 1023px) {
  .st-mission {
    height: auto;
    min-height: 0;
  }

  .st-mission__layout {
    display: grid;
    gap: 14px;
    height: auto;
    padding: 28px 0 32px;
  }

  .st-mission__title,
  .st-mission__lead,
  .st-mission__cta {
    position: static;
    width: auto;
    max-width: none;
  }

  .st-mission__cta {
    justify-self: start;
  }

  .st-mission__photo {
    width: min(520px, 88vw);
    opacity: 0.5;
  }
}

/* ========== ABOUT (11) ========== */
@media (max-width: 1023px) {
  .st-about__layout {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .st-about__copy {
    margin-right: 0;
    padding-right: 0;
  }

  .st-about__video {
    top: auto;
    width: 100%;
    max-width: none;
    height: auto;
    aspect-ratio: 16 / 9;
    min-height: 0;
    margin-top: 24px;
  }

  .st-about__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: 100%;
    gap: 20px 16px;
  }

  .st-acard,
  .st-acard:nth-child(3) {
    flex: none;
    width: auto;
    max-width: none;
  }
}

@media (max-width: 767px) {
  .st-about__title {
    font-size: 32px;
  }

  .st-about__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px 12px;
  }

  .st-acard,
  .st-acard:nth-child(3) {
    flex: none;
    width: auto;
    max-width: none;
  }

  .st-about__video {
    aspect-ratio: 16 / 9;
    min-height: 0;
  }

  .st-about__video-label {
    white-space: normal;
    text-align: center;
  }
}

/* ========== FOOTER (12) ========== */
@media (max-width: 1023px) {
  .st-footer__top {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .st-contacts {
    grid-template-columns: 1fr;
    grid-template-areas:
      "phone"
      "email"
      "address";
    row-gap: 16px;
  }

  .st-footer__panel {
    display: flex;
    flex-direction: column;
    aspect-ratio: auto;
    min-height: 0;
  }

  .st-footer__map {
    position: relative;
    inset: auto;
    order: 2;
    width: 100%;
    min-height: 200px;
  }

  .st-footer__map-fade {
    width: 100%;
    height: 42%;
    top: auto;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
      0deg,
      rgba(18, 20, 22, 0.95) 0%,
      rgba(18, 20, 22, 0.4) 55%,
      transparent 100%
    );
  }

  .st-footer__panel .st-form {
    order: 1;
    width: 100%;
    max-width: none;
    min-height: 0;
    height: auto;
    padding: 20px 20px 16px;
    background: var(--st-bg-panel);
  }

  .st-form .st-btn {
    margin-top: 12px;
    align-self: flex-start;
  }

  .st-afterfooter__inner {
    grid-template-columns: 1fr auto;
    grid-template-areas:
      "logo top"
      "nav nav"
      "copy copy";
    padding-block: 18px;
    gap: 14px;
  }

  .st-logo--footer {
    grid-area: logo;
  }

  .st-to-top {
    grid-area: top;
    justify-self: end;
    min-width: var(--st-touch-min, 44px);
    min-height: var(--st-touch-min, 44px);
  }

  .st-nav--footer {
    grid-area: nav;
    justify-content: flex-start;
  }

  .st-afterfooter__copy {
    grid-area: copy;
    white-space: normal;
    text-align: left;
  }
}

@media (max-width: 767px) {
  .st-footer__map {
    min-height: 180px;
  }

  .st-nav--footer {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px 12px;
  }
}

/* ========== INNER PAGES ========== */
@media (max-width: 1023px) {
  .st-cards,
  .st-steps,
  .st-field-videos__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .st-split,
  .st-contacts-page,
  .st-legal {
    grid-template-columns: 1fr;
  }

  .st-page-hero__title {
    font-size: clamp(22px, 4.5vw, 34px);
    max-width: none;
  }

  .st-legal__nav {
    position: static;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding: 0;
    border: 0;
    background: transparent;
  }

  .st-legal__link {
    min-height: var(--st-touch-min, 44px);
    padding-inline: 14px;
    border: 1px solid var(--st-line);
    border-radius: var(--st-radius-sm);
  }
}

@media (max-width: 767px) {
  .st-main--inner:not(.st-main--has-hero) {
    padding-top: calc(var(--st-header-h) + var(--st-space-6));
  }

  .st-stats,
  .st-cards,
  .st-cards--3,
  .st-steps,
  .st-field-videos__grid,
  .st-tech-grid,
  .st-thermo-mini {
    grid-template-columns: 1fr;
  }

  .st-page-hero__hud {
    display: none;
  }

  .st-table-wrap {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    margin-inline: calc(-1 * var(--st-space-4));
    padding-inline: var(--st-space-4);
  }

  .st-table {
    min-width: 560px;
  }
}

/* ========== WOOCOMMERCE ========== */
@media (max-width: 1023px) {
  .st-shop ul.products {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .st-shop .st-products--shop .st-products__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .st-shop .single-product .product,
  body.single-product .st-shop div.product,
  .st-shop .cart-collaterals,
  body.woocommerce-checkout .st-shop .col2-set,
  .st-shop.woocommerce-account .woocommerce {
    grid-template-columns: 1fr;
  }

  .st-shop .woocommerce-product-gallery {
    position: static;
  }

  body.single-product .st-shop .related.products ul.products,
  body.single-product .st-shop .upsells.products ul.products {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .st-shop .woocommerce-tabs ul.tabs {
    display: flex;
    flex-wrap: nowrap;
    gap: 4px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 4px;
    scrollbar-width: thin;
  }

  .st-shop .woocommerce-tabs ul.tabs li {
    flex: 0 0 auto;
  }
}

@media (max-width: 767px) {
  .st-shop ul.products {
    grid-template-columns: 1fr;
  }

  body.single-product .st-shop .related.products ul.products,
  body.single-product .st-shop .upsells.products ul.products {
    grid-template-columns: 1fr;
  }

  .st-shop .st-cat-nav {
    flex-wrap: nowrap;
    gap: 6px;
    margin-bottom: 0;
    padding-bottom: 4px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  .st-shop .st-cat-nav::-webkit-scrollbar {
    display: none;
  }

  .st-shop .st-cat-nav__item {
    flex-shrink: 0;
  }

  .st-shop .st-cat-nav-wrap {
    margin-bottom: var(--st-space-4);
  }

  .st-shop .st-cat-nav__hint {
    display: block;
    position: absolute;
    top: 0;
    right: 0;
    bottom: 4px;
    width: 44px;
    pointer-events: none;
    background: linear-gradient(
      90deg,
      rgba(10, 13, 16, 0) 0%,
      rgba(10, 13, 16, 0.88) 70%,
      rgba(10, 13, 16, 1) 100%
    );
  }

  .st-shop .st-cat-nav__hint::after {
    content: '›';
    position: absolute;
    right: 6px;
    top: 50%;
    transform: translateY(-55%);
    font-size: 22px;
    line-height: 1;
    color: rgba(232, 215, 176, 0.75);
  }

  .st-crumbs a,
  .st-crumbs__link {
    display: inline-flex;
    align-items: center;
    min-height: var(--st-touch-min);
    padding: 4px 0;
  }

  body.single-product .st-shop .flex-control-thumbs {
    gap: 8px;
  }

  body.single-product .st-shop .flex-control-thumbs li {
    flex: 0 0 64px;
    width: 64px;
    max-width: 64px;
  }

  .st-shop table.shop_table thead {
    display: none;
  }

  .st-shop table.shop_table tr {
    display: grid;
    gap: 8px;
    padding: var(--st-space-4);
  }

  body.woocommerce-cart .st-shop .cart_totals table.shop_table td::before {
    display: none;
    content: none;
  }

  body.woocommerce-checkout .st-shop .woocommerce-checkout-review-order-table tr {
    display: table-row;
    padding: 0;
  }

  body.woocommerce-checkout .st-shop .woocommerce-checkout-review-order-table tr.sila-ship-panels {
    display: table-row;
  }

  body.woocommerce-checkout .st-shop .woocommerce-checkout-review-order-table tr.sila-ship-panels td {
    display: block;
    width: 100%;
  }

  body.woocommerce-checkout .st-shop .woocommerce-checkout-review-order-table td::before {
    display: none;
    content: none;
  }

  .st-shop table.shop_table td {
    border: 0;
    padding: 0;
  }

  .st-shop table.shop_table td::before {
    content: attr(data-title) ": ";
    font-weight: 600;
    color: var(--st-muted);
  }

  body.woocommerce-checkout .st-shop #place_order {
    position: sticky;
    bottom: max(12px, env(safe-area-inset-bottom));
    z-index: 5;
    width: 100%;
    margin-top: 16px;
    box-shadow: 0 -8px 32px rgba(0, 0, 0, 0.35);
  }
}

/* ========== HOME: mobile rhythm (balanced, not crushed) ========== */
@media (max-width: 767px) {
  .st-products,
  .st-tested,
  .st-how,
  .st-process,
  .st-thermo,
  .st-duo,
  .st-mission,
  .st-about,
  .st-fabric {
    padding-top: 20px;
  }

  .st-section-head--how,
  .st-section-head {
    margin-bottom: 16px;
  }

  .st-pcard__link {
    min-height: 280px;
  }

  .st-pcard__text {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  .st-tested__media {
    min-height: 180px;
  }

  .st-tested__copy {
    padding: 20px 16px 18px;
  }

  .st-tested__stats {
    margin-top: 16px;
    gap: 12px;
  }

  .st-how__grid {
    gap: 12px;
  }

  .st-process__panel {
    min-height: 0;
  }

  .st-process__statue {
    display: none;
  }

  .st-process__title {
    padding: 24px 20px 0;
  }

  .st-process__steps {
    padding: 16px 20px 24px;
    gap: 16px;
    grid-template-columns: 1fr;
  }

  .st-thermo__img {
    min-height: 140px;
  }

  .st-duo__factory-photo {
    min-height: 160px;
  }

  .st-mission {
    min-height: 0;
  }

  .st-mission__photo {
    max-height: 140px;
  }

  .st-about__video {
    min-height: 0;
  }

  .st-about__grid {
    gap: 8px;
  }

  .st-fabric__media {
    min-height: 200px;
  }

  .st-fabric__copy {
    padding: 28px 0 24px;
  }

  /* Desktop line-breaks from admin look ragged on narrow screens */
  .st-fabric__title {
    overflow-wrap: normal;
    text-wrap: balance;
  }

  .st-fabric__title br {
    display: none;
  }

  .st-thermo__copy {
    padding-bottom: 28px;
  }
}

/* ========== REDUCED MOTION ========== */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .st-hero__video,
  .st-fabric__video,
  .st-tested__video,
  .st-about__video-el,
  [data-st-lazy-autoplay] {
    display: none !important;
  }

  .st-pcard__link:hover {
    transform: none;
  }
}

/* Final visual polish: reserve room for navigation and improve small text. */
@media (max-width: 1479px) { .st-pager { display: none; } }
@media (min-width: 1480px) {
 .st-pager__cur { font-size: 22px; }
 .st-pager__rail { gap: 2px; }
 .st-pager__dot { width: 20px; height: 20px; border: 6px solid transparent; background-clip: padding-box; background-color: #86918e; box-shadow: none; }
 .st-pager__dot.is-active { background-color: #d2b16d; box-shadow: none; }
}
.st-pcard__text, .st-acard__text, .st-contacts__sub, .st-section-head__lead { color: #b5b9b4; }
.st-pcard__text, .st-acard__text, .st-contacts__sub { font-size: 14px; line-height: 1.5; }
.st-link-gold { color: #d2b780; font-size: 12px; }
.st-footer__bottom img { object-fit: contain; }
.st-shop .st-woo-card .onsale, body.single-product .st-shop .onsale {
 min-height: 0; height: auto; line-height: 1.4; padding: 6px 10px; border-radius: 4px;
 font-size: 11px; letter-spacing: .03em; background: #ceb173; color: #151711;
}
.st-shop .st-woo-card__visual img { object-fit: contain; }
body.single-product .st-page-hero { padding-top: 18px; padding-bottom: 20px; }
body.single-product .st-page-hero__title { max-width: 960px; font-size: clamp(24px, 2.4vw, 34px); line-height: 1.2; text-wrap: balance; }
body.single-product .st-crumbs__current { display: none; }
body.single-product .st-crumbs__sep { display: none; }
body.single-product .st-crumbs__sep:last-of-type { display: none; }
body.single-product .st-shop .flex-control-thumbs {
  scrollbar-width: thin;
  scrollbar-color: #9e875b #101516;
}
@media (max-width: 767px) {
  body.single-product .st-page-hero__title { font-size: 23px; }
  body.single-product .st-shop .flex-control-thumbs li {
    flex: 0 0 56px;
    width: 56px;
    max-width: 56px;
  }
}

/* Keep breathing room below the enquiry submit button. */
.st-footer__panel { aspect-ratio: auto; }
.st-footer__panel .st-form { min-height: 0; padding-bottom: 24px; }
