/*
 * Mobile system layer
 * Loaded last on every hand-built page so one responsive contract governs
 * navigation, scale, touch targets and dense commerce components.
 */

html {
  overflow-x: clip;
  -webkit-text-size-adjust: 100%;
}

body {
  min-width: 320px;
}

:where(a, button, input, select, textarea, summary):focus-visible {
  outline: 3px solid rgba(242, 100, 34, 0.42);
  outline-offset: 3px;
}

.gw-header__menu,
.gw-header__backdrop {
  display: none;
}

@media (max-width: 900px) {
  body {
    padding-top: 76px;
    font-size: 16px;
    line-height: 1.55;
  }

  body.gw-menu-open {
    overflow: hidden;
  }

  .page-section,
  .site-footer__inner,
  .cg-hero__inner,
  .cg-tasks__inner,
  .cg-story__inner,
  .cg-gallery__inner,
  .cg-range__inner,
  .cg-quality__inner,
  .cg-numbers__inner,
  .cg-cta__inner {
    width: min(100% - 32px, 720px);
  }

  h1,
  .catalog-head h1,
  .product-detail__name,
  .cg-hero__text h1 {
    font-size: clamp(30px, 8vw, 40px);
    line-height: 1.08;
    letter-spacing: -0.035em;
    text-wrap: balance;
  }

  h2,
  .hm-faq__title,
  .cg-section-head h2 {
    font-size: clamp(27px, 7vw, 34px);
    line-height: 1.12;
    letter-spacing: -0.025em;
    text-wrap: balance;
  }

  p,
  li {
    overflow-wrap: break-word;
  }

  input,
  select,
  textarea {
    font-size: 16px !important;
  }

  .btn,
  .hm-btn,
  .cg-btn,
  .contacts-cta-btn,
  .product-card__btn,
  .product-buybox__cta,
  .marketplace-btn,
  .hm-cta__form-submit {
    min-height: 48px;
  }

  /* Mobile header: compact bar + proper modal navigation sheet. */
  .gw-header {
    top: 10px;
    left: 12px;
    right: 12px;
    width: auto;
    transform: none;
    grid-template-columns: minmax(0, 1fr) 48px;
    gap: 8px;
    pointer-events: none;
  }

  .gw-header__brand {
    position: relative;
    z-index: 3;
    justify-content: flex-start;
    width: 100%;
    min-height: 48px;
    padding: 0 18px;
    font-size: clamp(16px, 5vw, 20px);
    box-shadow: 0 10px 26px rgba(23, 23, 23, 0.12);
  }

  .gw-header__menu {
    position: relative;
    z-index: 3;
    display: grid;
    place-content: center;
    gap: 4px;
    width: 48px;
    height: 48px;
    padding: 0;
    border: 1px solid rgba(23, 23, 23, 0.08);
    border-radius: 50%;
    color: var(--gw-text);
    background: var(--gw-header-surface);
    box-shadow: 0 10px 26px rgba(23, 23, 23, 0.12);
    pointer-events: auto;
    cursor: pointer;
  }

  .gw-header__menu span {
    display: block;
    width: 20px;
    height: 2px;
    border-radius: 2px;
    background: currentColor;
    transition: transform 220ms ease, opacity 180ms ease;
  }

  .gw-header.is-menu-open .gw-header__menu span:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
  }

  .gw-header.is-menu-open .gw-header__menu span:nth-child(2) {
    opacity: 0;
  }

  .gw-header.is-menu-open .gw-header__menu span:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
  }

  .gw-header__backdrop {
    position: fixed;
    z-index: 1;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    padding: 0;
    border: 0;
    background: rgba(17, 17, 17, 0.48);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 220ms ease, visibility 220ms ease;
  }

  .gw-header.is-menu-open .gw-header__backdrop {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  .gw-header__navwrap {
    position: fixed;
    z-index: 2;
    top: 68px;
    left: 12px;
    right: 12px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    min-height: 0;
    max-height: calc(100dvh - 82px);
    padding: 14px;
    overflow: auto;
    border: 1px solid rgba(23, 23, 23, 0.08);
    border-radius: 24px;
    background: var(--gw-header-surface);
    box-shadow: 0 24px 60px rgba(23, 23, 23, 0.2);
    backdrop-filter: blur(18px);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    pointer-events: none;
    transition: opacity 200ms ease, transform 220ms ease, visibility 220ms ease;
  }

  .gw-header.is-menu-open .gw-header__navwrap {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
  }

  .gw-header__nav {
    grid-column: 1 / -1;
    display: grid;
    gap: 4px;
    width: 100%;
  }

  .gw-header__nav a {
    display: flex;
    align-items: center;
    min-height: 48px;
    padding: 0 16px;
    border-radius: 14px;
    color: var(--gw-text);
    font-size: 16px;
    font-weight: 800;
  }

  .gw-header__nav a.is-active {
    color: var(--gw-orange-dark);
    background: var(--gw-soft);
  }

  .gw-header__phone {
    grid-column: 1 / -1;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 50px;
    margin: 2px 0 0;
    border-radius: 14px;
    color: #fff;
    background: var(--gw-orange);
    font-size: 15px;
    font-weight: 850;
  }

  .gw-header__icon {
    display: grid !important;
    width: 100%;
    height: 48px;
    border: 1px solid var(--gw-line);
    border-radius: 14px;
    background: #f5f5f4;
  }

  .gw-header__icon img {
    width: 32px;
    height: 32px;
  }

  #delivery,
  #contacts,
  #popular,
  #reliability,
  #mechanism,
  #benefits,
  #order,
  #reviews,
  #faq {
    scroll-margin-top: 82px;
  }

  #request {
    scroll-margin-top: 106px;
  }

  /* Shared spacing: nested container sections should not double their padding. */
  .hero {
    padding: 48px 0 56px;
  }

  .hero > .page-section,
  .contacts-hero__inner.page-section {
    padding-top: 0;
    padding-bottom: 0;
  }

  .page-section {
    padding-top: 48px;
    padding-bottom: 48px;
  }

  .catalog-section > .page-section {
    padding-top: 26px;
  }

  .lead,
  .catalog-head p,
  p.cg-hero__lead {
    font-size: 16px;
    line-height: 1.6;
  }

  .actions,
  .hm-hero__ctas,
  .cg-hero__actions {
    gap: 10px;
  }

  /* Homepage */
  .hm-hero__grid {
    gap: 18px;
  }

  .hm-hero__card {
    gap: 18px;
    padding: 28px 24px;
    border-radius: 24px;
  }

  .hm-hero__brand-block {
    gap: 10px;
  }

  .hm-hero__title {
    font-size: clamp(34px, 10vw, 44px);
  }

  .hm-hero__tagline {
    font-size: 17px;
  }

  .hm-hero__intro {
    font-size: 16px;
    line-height: 1.55;
  }

  .hm-hero__photo {
    border-radius: 18px;
  }

  .hm-popular__head,
  .hm-reliability__head,
  .hm-delivery__head {
    gap: 12px;
    margin-bottom: 24px;
  }

  .hm-popular__head p,
  .hm-reliability__head p {
    font-size: 16px;
  }

  .hm-popular__grid {
    display: flex;
    gap: 12px;
    width: calc(100% + 16px);
    padding: 0 16px 14px 0;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
  }

  .hm-popular__grid::-webkit-scrollbar {
    display: none;
  }

  .hm-product {
    flex: 0 0 min(82vw, 310px);
    padding: 16px;
    scroll-snap-align: start;
  }

  .hm-product__photo {
    aspect-ratio: 4 / 3;
  }

  .hm-product__name {
    font-size: 18px;
  }

  .hm-reliability__col {
    flex-direction: column;
  }

  .hm-promo-row {
    display: grid;
    grid-template-columns: 1fr;
  }

  .hm-reason,
  .order-step {
    border-radius: 18px;
  }

  .order-step {
    display: grid;
    grid-template-columns: 44px 72px minmax(0, 1fr);
    gap: 8px 14px;
    align-items: center;
    padding: 20px;
    text-align: left;
  }

  .order-step__num,
  .order-step__icon {
    margin: 0;
  }

  .order-step__num {
    width: 44px;
    height: 44px;
    grid-row: 1 / 3;
  }

  .order-step__icon {
    width: 64px;
    height: 64px;
    grid-row: 1 / 3;
  }

  .order-step__title,
  .order-step p {
    grid-column: 3;
  }

  .order-step__title {
    align-self: end;
    margin: 0;
    font-size: 17px;
  }

  .order-step p {
    align-self: start;
    font-size: 13px;
  }

  .hm-faq__item summary {
    min-height: 56px;
  }

  .order-step__phone,
  .hm-faq__phone,
  .hm-cta__form-contacts a,
  .cinfo-val,
  .site-footer__col a,
  .site-footer__cta,
  .breadcrumbs a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
  }

  .hm-cta__form-fields input,
  .hm-cta__form-submit {
    min-height: 52px;
  }

  /* Catalog: dense two-column scan pattern on phones. */
  .catalog-head {
    gap: 12px;
    margin-bottom: 26px;
  }

  .catalog-search__input,
  .filter-toggle,
  .sort-select {
    min-height: 48px;
  }

  .filter-btn,
  .load-chip,
  .filter-reset-btn {
    min-height: 44px;
  }

  .catalog-toolbar {
    align-items: stretch;
    margin-bottom: 18px;
    padding-bottom: 16px;
  }

  .sort-wrap {
    flex: 1 1 auto;
    justify-content: flex-end;
  }

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

  .product-card {
    border-radius: 14px;
  }

  .product-card:hover {
    transform: none;
  }

  .product-card__photo {
    aspect-ratio: 1;
  }

  .product-card__photo img {
    object-position: center;
  }

  .product-card__body {
    padding: 12px;
  }

  .product-card__cat,
  .product-card__article,
  .product-card__lengths {
    display: none;
  }

  .product-card__name {
    min-height: 3.8em;
    margin-bottom: 10px;
    font-size: 14px;
    line-height: 1.28;
  }

  .product-card__name a {
    display: flex;
    align-items: center;
    min-height: 44px;
  }

  .product-card__attrs {
    display: grid;
    grid-template-columns: 1fr;
    gap: 4px;
    margin-bottom: 10px;
  }

  .product-card__attrs li {
    justify-content: space-between;
    padding: 6px 8px;
  }

  .product-card__attrs span {
    font-size: 9px;
  }

  .product-card__attrs strong {
    font-size: 11px;
  }

  .product-card__buy {
    gap: 8px;
    padding-top: 10px;
  }

  .product-card__price {
    display: block;
  }

  .product-card__price span {
    display: block;
    font-size: 10px;
  }

  .product-card__price strong {
    font-size: 13px;
  }

  .product-card__btn {
    height: auto;
    padding: 0 8px;
    font-size: 11px;
    white-space: normal;
    text-align: center;
  }

  .product-card__tag {
    top: 8px;
    left: 8px;
    max-width: calc(100% - 16px);
    padding: 5px 8px;
    font-size: 8px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  /* Product detail */
  .breadcrumbs {
    min-height: 44px;
    margin-bottom: 12px;
    overflow-x: auto;
    white-space: nowrap;
    scrollbar-width: none;
  }

  .product-detail {
    min-width: 0;
    width: 100%;
    margin-bottom: 48px;
    border-radius: 0;
  }

  .product-detail__gallery-col,
  .product-detail__info {
    min-width: 0;
    width: 100%;
    padding-left: 0;
    padding-right: 0;
  }

  .product-detail__gallery {
    flex: none;
    width: 100%;
    aspect-ratio: 4 / 3;
  }

  .product-detail__gallery img {
    inset: 0;
    width: 100%;
    height: 100%;
  }

  .product-detail__trust {
    grid-template-columns: 1fr;
    gap: 8px;
    padding-bottom: 0;
    overflow: visible;
    scroll-snap-type: none;
  }

  .product-detail__trust li {
    min-height: 46px;
    padding: 11px 13px;
    scroll-snap-align: none;
  }

  .product-detail__name {
    margin-top: 2px;
  }

  .product-detail__info .product-card__cat {
    display: block;
  }

  .product-detail__attrs.product-card__attrs {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-bottom: 20px;
  }

  .product-detail__attrs.product-card__attrs li {
    padding: 14px 0;
  }

  .product-detail__lengths {
    display: flex;
  }

  .length-chip {
    min-width: 44px;
    min-height: 44px;
    justify-content: center;
    padding: 6px 10px;
  }

  .product-buybox {
    padding: 0;
    border-radius: 0;
  }

  .product-buybox__row .product-card__price strong {
    font-size: 23px;
  }

  .product-tabs__nav {
    gap: 26px;
    overflow-x: auto;
    scrollbar-width: none;
  }

  .product-tabs__btn {
    min-height: 48px;
    flex: 0 0 auto;
    font-size: 14px;
  }

  .product-tabs__panel p,
  .product-tabs__alert-body p {
    font-size: 16px;
    line-height: 1.65;
  }

  .product-tabs__alert {
    padding: 18px 0 0;
  }

  /* About: the value proposition must precede decorative product art. */
  .cg-about {
    --cg-section-py: 52px;
  }

  .cg-hero {
    padding: 30px 0 var(--cg-section-py);
  }

  .cg-hero__inner {
    gap: 30px;
  }

  .cg-hero__visual {
    order: 0;
    max-width: 520px;
    margin: 0 auto;
  }

  .cg-hero__actions {
    margin-bottom: 24px;
  }

  .cg-hero__secondary {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
  }

  .cg-hero__points li {
    display: flex;
    align-items: center;
    min-height: 36px;
  }

  .cg-story__visual {
    min-height: 260px;
  }

  .cg-gallery__bento {
    gap: 10px;
  }

  /* Contacts / delivery / 404 */
  .contacts-hero {
    padding: 54px 0 58px;
  }

  .contacts-hero__h1 {
    font-size: clamp(42px, 12vw, 54px);
    line-height: 0.98;
  }

  .contacts-hero__lead {
    font-size: 17px;
    line-height: 1.6;
  }

  .contacts-cta-btn,
  .contact-row__link,
  .contacts-form input,
  .contacts-form textarea,
  .contacts-form button {
    min-height: 52px;
  }

  .contacts-form-wrap {
    border-radius: 18px;
  }

  .hero__grid {
    gap: 34px;
  }

  .hero__media {
    order: 0;
  }

  .not-found {
    min-height: calc(100svh - 210px) !important;
    padding: 44px 16px !important;
  }
}

@media (max-width: 600px) {
  .hm-btn,
  .btn,
  .cg-btn {
    justify-content: center;
  }

  .hm-hero__ctas,
  .actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .hm-hero__ctas > *,
  .actions > * {
    width: 100%;
  }

  /* On a phone the product should establish context before the offer. */
  .hm-hero__photo {
    order: -1;
  }

  .catalog-toolbar {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
  }

  .sort-wrap {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
  }

  .sort-select {
    width: 100%;
    min-width: 0;
  }

  .product-specs-table td {
    font-size: 13px;
  }

  .order-step {
    grid-template-columns: 44px minmax(0, 1fr);
  }

  .order-step__icon {
    display: none;
  }

  .order-step__title,
  .order-step p {
    grid-column: 2;
  }

  /* Homepage after the product carousel: compact, swipeable mobile story. */
  .hm-main > .hm-section > .page-section,
  .hm-main > .how-order {
    padding-top: 20px;
    padding-bottom: 20px;
  }

  .hm-reliability__head {
    gap: 12px;
    margin-bottom: 20px;
  }

  .hm-reliability__head h2,
  .hm-reasons__heading h2,
  .hm-reviews__title,
  .hm-delivery__head h2,
  .hm-faq__title,
  .hm-cta__panel h2,
  .hm-cta__form h2 {
    font-size: 28px;
    line-height: 1.1;
    letter-spacing: -0.025em;
  }

  .hm-reliability__head p,
  .hm-reasons__heading p,
  .how-order__desc {
    font-size: 15px;
    line-height: 1.55;
  }

  .hm-reliability__grid {
    display: flex;
    gap: 12px;
    width: calc(100% + 16px);
    min-height: 0;
    padding: 0 16px 14px 0;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
  }

  .hm-reliability__grid::-webkit-scrollbar,
  .hm-promo-row::-webkit-scrollbar,
  .hm-reasons__grid::-webkit-scrollbar,
  .hm-reviews__wrapper::-webkit-scrollbar {
    display: none;
  }

  .hm-reliability__stack {
    display: contents;
  }

  .hm-engineering-card,
  .hm-engineering-card--landscape,
  .hm-engineering-card--portrait {
    flex: 0 0 min(84vw, 320px);
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: 230px minmax(0, 1fr);
    min-height: 500px;
    scroll-snap-align: start;
    border-radius: 20px;
  }

  .hm-engineering-card__media {
    order: -1;
  }

  .hm-engineering-card__body,
  .hm-engineering-card--portrait .hm-engineering-card__body {
    padding: 20px 22px 24px;
  }

  .hm-engineering-card__body h3 {
    font-size: 22px;
  }

  .hm-engineering-card__body p {
    font-size: 14px;
    line-height: 1.45;
  }

  .hm-reasons__top {
    gap: 0;
    margin-bottom: 14px;
  }

  .hm-reasons__heading h2 {
    margin-bottom: 10px;
  }

  .hm-promo-row {
    display: none;
  }

  .hm-promo {
    flex: 0 0 min(82vw, 300px);
    min-height: 210px;
    padding: 20px;
    scroll-snap-align: start;
    border-radius: 20px;
  }

  .hm-promo__tag {
    margin-bottom: 22px;
    font-size: 11px;
  }

  .hm-promo h3 {
    max-width: 230px;
    font-size: 24px;
  }

  .hm-promo p {
    font-size: 14px;
  }

  .hm-reasons__grid {
    display: flex;
    gap: 12px;
    width: calc(100% + 16px);
    padding: 0 16px 14px 0;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
  }

  .hm-reason,
  .hm-reason--1,
  .hm-reason--2,
  .hm-reason--3,
  .hm-reason--4,
  .hm-reason--wide {
    display: block;
    flex: 0 0 min(78vw, 286px);
    min-height: 214px;
    padding: 20px;
    scroll-snap-align: start;
    border-radius: 20px;
  }

  .hm-reason--wide .hm-reason__num {
    position: static;
    margin-bottom: 14px;
  }

  .hm-reason h3,
  .hm-reason--wide h3 {
    max-width: calc(100% - 12px);
    font-size: 22px;
    line-height: 1.08;
  }

  .hm-reason p,
  .hm-reason--wide p {
    font-size: 14px;
    line-height: 1.4;
  }

  .hm-reason__road {
    margin-top: 16px;
  }

  .how-order__head {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 24px;
  }

  .how-order__left {
    display: contents;
  }

  .how-order__left h2 {
    order: 1;
    margin: 0;
    font-size: 28px;
  }

  .how-order__desc {
    order: 2;
  }

  .how-order__left .hm-btn {
    order: 3;
    width: 100%;
    margin-top: 2px;
  }

  .order-steps {
    gap: 0;
    overflow: hidden;
    border: 1px solid var(--hm-line);
    border-radius: 20px;
    background: #fff;
  }

  .order-step {
    min-height: 116px;
    padding: 18px;
    border: 0;
    border-bottom: 1px solid var(--hm-line);
    border-radius: 0;
    background: #fff;
  }

  .order-step:last-child {
    border-bottom: 0;
  }

  .order-step__title {
    font-size: 16px;
  }

  .order-step p {
    font-size: 13px;
    line-height: 1.45;
  }

  .hm-reviews__title {
    margin-bottom: 20px;
  }

  .hm-reviews__wrapper {
    position: static;
    left: auto;
    width: calc(100% + 16px);
    margin-left: 0;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -webkit-mask-image: none;
    mask-image: none;
  }

  .hm-reviews__track {
    width: auto;
    gap: 12px;
    padding: 4px 16px 14px 0;
    animation: none;
    transform: none;
  }

  .hm-review {
    flex: 0 0 min(82vw, 300px);
    width: auto;
    padding: 14px 20px 14px 24px;
    scroll-snap-align: start;
    border-radius: 18px;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.05);
  }

  .hm-review[aria-hidden="true"] {
    display: none;
  }

  .hm-review__stars {
    margin-bottom: 8px;
    font-size: 17px;
  }

  .hm-review p {
    margin-bottom: 10px;
    font-size: 14px;
    line-height: 1.45;
  }

  .hm-review__author {
    font-size: 15px;
    font-weight: 700;
  }

  .hm-delivery > .page-section {
    display: flex;
    flex-direction: column;
  }

  .hm-delivery__head,
  .hm-delivery__grid {
    display: contents;
  }

  .hm-delivery__head h2 {
    order: 1;
    margin-bottom: 20px;
  }

  .hm-delivery__head .hm-btn {
    order: 4;
    width: 100%;
  }

  .hm-delivery__note {
    order: 3;
    gap: 14px;
    margin-bottom: 14px;
    padding: 22px;
    border-radius: 18px;
  }

  .hm-delivery__note p,
  .hm-delivery__list li {
    font-size: 15px;
    line-height: 1.5;
  }

  .hm-delivery__list {
    gap: 10px;
  }

  .hm-delivery__list li {
    padding-left: 18px;
  }

  .hm-delivery__list li::before {
    top: 8px;
    width: 6px;
    height: 6px;
  }

  .hm-delivery__cta {
    padding-top: 14px;
  }

  .hm-delivery__media {
    order: 2;
    height: 190px;
    margin-bottom: 14px;
    border-radius: 18px;
    background: #fff;
  }

  .hm-delivery__media img {
    object-fit: contain;
  }

  .hm-faq__grid {
    gap: 26px;
  }

  .hm-faq__title {
    margin-bottom: 18px;
  }

  .hm-faq__trust {
    margin-bottom: 18px;
    padding-left: 16px;
  }

  .hm-faq__trust strong {
    margin-bottom: 6px;
    font-size: 15px;
  }

  .hm-faq__trust p {
    font-size: 14px;
    line-height: 1.5;
  }

  .hm-faq__contact {
    padding: 16px;
    border-radius: 18px;
  }

  .hm-faq__contact span {
    font-size: 12px;
  }

  .hm-faq__contact a.hm-faq__phone {
    font-size: 18px;
  }

  .hm-faq__item summary {
    align-items: center;
    gap: 12px;
    min-height: 62px;
    padding: 16px 4px;
  }

  .hm-faq__item[open] summary {
    padding-right: 14px;
    padding-left: 14px;
    border-radius: 16px 16px 0 0;
  }

  .hm-faq__num {
    font-size: 12px;
  }

  .hm-faq__question {
    font-size: 15px;
    line-height: 1.25;
  }

  .hm-faq__toggle {
    font-size: 20px;
  }

  .hm-faq__answer,
  .hm-faq__item[open] .hm-faq__answer {
    padding: 2px 14px 18px;
    border-radius: 0 0 16px 16px;
    font-size: 14px;
    line-height: 1.5;
  }

  .hm-cta__grid {
    gap: 12px;
  }

  .hm-cta__panel {
    display: none;
  }

  .hm-cta__form {
    padding: 24px 20px 20px;
    border-radius: 18px;
  }

  .hm-cta__form h2 {
    margin-bottom: 12px;
  }

  .hm-cta__form-contacts {
    gap: 4px;
    margin: 14px 0 18px;
    padding-left: 12px;
  }

  .hm-cta__form-contacts a:first-child {
    font-size: 17px;
  }

  .hm-cta__form-contacts a:last-child {
    font-size: 14px;
  }

  .hm-cta__form-fields {
    gap: 10px;
  }

  .hm-cta__form-fields input,
  .hm-cta__form-submit {
    min-height: 52px;
  }

  .catalog-section > .page-section {
    padding-top: 18px;
  }

  .breadcrumbs {
    margin-bottom: 18px;
    font-size: 12px;
  }

  .breadcrumbs__current {
    max-width: 54vw;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .product-detail {
    display: flex;
    flex-direction: column;
    gap: 0;
    margin-bottom: 42px;
  }

  .product-detail__gallery-col,
  .product-detail__info {
    display: contents;
  }

  .product-detail__info .product-card__cat {
    order: 1;
    margin: 0 0 7px;
    font-size: 10px;
    letter-spacing: 0.055em;
  }

  .product-detail__name {
    order: 2;
    margin: 0 0 9px;
    font-size: clamp(27px, 8vw, 34px);
    line-height: 1.08;
  }

  .product-detail__sku {
    order: 3;
    margin: 0 0 17px;
    font-size: 11px;
  }

  .product-detail__gallery {
    order: 4;
    width: 100%;
    margin: 0 0 16px;
    aspect-ratio: 4 / 3;
    border-radius: 17px;
    background: #f7f6f4;
  }

  .product-detail__gallery img {
    border-radius: inherit;
  }

  .product-buybox {
    order: 5;
    display: flex;
    flex-direction: column;
    margin: 0;
    padding: 20px;
    background: #f6f5f3;
    border: 1px solid rgba(23, 23, 23, 0.075);
    border-radius: 17px;
  }

  .product-buybox__row {
    order: 1;
    display: grid;
    grid-template-columns: 1fr;
    gap: 15px;
    align-items: stretch;
    margin: 0 0 20px;
    padding: 0 0 20px;
    border-bottom: 1px solid rgba(23, 23, 23, 0.1);
  }

  .product-buybox__row .product-card__price {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 5px 12px;
    align-items: end;
  }

  .product-buybox__row .product-card__price span {
    align-self: center;
    color: #6e6e6e;
    font-size: 10px;
    letter-spacing: 0.04em;
  }

  .product-buybox__row .product-card__price strong {
    grid-column: 1;
    font-size: clamp(29px, 8.8vw, 35px);
    font-weight: 780;
    letter-spacing: -0.025em;
  }

  .product-buybox__availability {
    grid-column: 2;
    grid-row: 1 / span 2;
    align-self: center;
    max-width: 116px;
    margin: 0;
    color: #566158;
    font-size: 10px;
    line-height: 1.35;
  }

  .product-buybox__cta {
    width: 100%;
    min-height: 56px;
    padding: 0 22px;
    border-radius: 12px;
    font-size: 15px;
    box-shadow: 0 10px 22px rgba(242, 100, 34, 0.2);
  }

  .product-buybox__quick-trust {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    margin: -3px 0 0;
    padding: 0;
    list-style: none;
  }

  .product-buybox__quick-trust li {
    position: relative;
    padding-left: 15px;
    color: #6a6a6a;
    font-size: 9.5px;
    font-weight: 700;
    line-height: 1.35;
  }

  .product-buybox__quick-trust li::before {
    content: "";
    position: absolute;
    top: 0.4em;
    left: 0;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--gw-orange);
  }

  .product-buybox__lengths {
    order: 2;
    margin: 0 0 19px;
  }

  .product-buybox__label {
    margin-bottom: 10px;
    font-size: 10px;
  }

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

  .product-detail__lengths .length-chip {
    width: 100%;
    min-width: 0;
    min-height: 46px;
    padding: 7px;
    border-color: rgba(23, 23, 23, 0.1);
    background: #fff;
    font-size: 12px;
  }

  .product-detail__lengths .length-chip.is-active {
    border-color: var(--gw-orange);
    background: var(--gw-orange);
  }

  .product-buybox__marketplaces {
    order: 3;
  }

  .product-buybox__mp-label {
    margin-bottom: 9px;
    color: #777;
    font-size: 9px;
  }

  .marketplace-buttons {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .marketplace-btn {
    width: 100%;
    min-height: 45px;
    height: 45px;
    padding: 0 14px;
    border-radius: 10px;
  }

  .product-detail__attrs.product-card__attrs {
    order: 6;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0 18px;
    margin: 26px 0 0;
    border-top: 1px solid var(--gw-line);
  }

  .product-detail__attrs.product-card__attrs li {
    min-width: 0;
    padding: 14px 0;
  }

  .product-detail__attrs.product-card__attrs span {
    font-size: 9px;
  }

  .product-detail__attrs.product-card__attrs strong {
    margin-top: 4px;
    font-size: 14px;
  }

  .product-detail__trust {
    display: none;
  }
}

@media (max-width: 360px) {
  .page-section,
  .site-footer__inner,
  .cg-hero__inner,
  .cg-tasks__inner,
  .cg-story__inner,
  .cg-gallery__inner,
  .cg-range__inner,
  .cg-quality__inner,
  .cg-numbers__inner,
  .cg-cta__inner {
    width: min(100% - 24px, 720px);
  }

  .product-grid {
    gap: 8px;
  }

  .hm-popular__grid,
  .hm-reliability__grid,
  .hm-promo-row,
  .hm-reasons__grid,
  .hm-reviews__wrapper {
    width: calc(100% + 12px);
  }

  .hm-popular__grid,
  .hm-reliability__grid,
  .hm-promo-row,
  .hm-reasons__grid,
  .hm-reviews__track {
    padding-right: 12px;
  }

  .hm-instruction__steps,
  .hm-benefits__rail {
    width: calc(100% + 12px);
    padding-right: 12px;
  }

  .catalog-toolbar {
    grid-template-columns: 1fr;
  }

  .sort-wrap {
    justify-content: stretch;
  }

  .product-card__body {
    padding: 10px;
  }

  .product-card__name {
    font-size: 13px;
  }
}

/*
 * Product detail responsive contract.
 * Kept at the end of the cascade so legacy catalog rules cannot resize or
 * reorder the purchase flow differently around the 600 px breakpoint.
 */
@media (max-width: 860px) {
  .catalog-section > .page-section {
    padding-top: 18px;
  }

  .product-detail {
    display: flex;
    width: 100%;
    min-width: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    margin-bottom: 42px;
  }

  .product-detail__gallery-col,
  .product-detail__info {
    display: contents;
  }

  .product-detail__info .product-card__cat {
    order: 1;
    margin: 0 0 7px;
    font-size: 11px;
    letter-spacing: 0.045em;
  }

  .product-detail__name {
    order: 2;
    max-width: 720px;
    margin: 0 0 9px;
    font-size: clamp(32px, 5.2vw, 40px);
    line-height: 1.08;
    letter-spacing: -0.03em;
  }

  .product-detail__sku {
    order: 3;
    margin: 0 0 18px;
    font-size: 12px;
  }

  .product-detail__gallery {
    order: 4;
    width: 100%;
    min-width: 0;
    margin: 0 0 18px;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    border-radius: 18px;
    background: #f7f6f4;
  }

  .product-detail__gallery img {
    inset: 0;
    width: 100%;
    height: 100%;
    border-radius: inherit;
    object-fit: cover;
    object-position: center;
  }

  .product-detail__trust {
    display: none;
  }

  .product-buybox {
    order: 5;
    display: flex;
    box-sizing: border-box;
    width: 100%;
    min-width: 0;
    flex-direction: column;
    margin: 0;
    padding: 24px;
    background: #f7f6f4;
    border: 1px solid rgba(23, 23, 23, 0.09);
    border-radius: 18px;
  }

  .product-buybox__row {
    order: 1;
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
    align-items: stretch;
    margin: 0 0 22px;
    padding: 0 0 22px;
    border-bottom: 1px solid rgba(23, 23, 23, 0.11);
  }

  .product-buybox__row .product-card__price {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 5px 16px;
    align-items: center;
  }

  .product-buybox__row .product-card__price span {
    grid-column: 1;
    margin: 0;
    color: #686868;
    font-size: 10px;
    letter-spacing: 0.045em;
  }

  .product-buybox__row .product-card__price strong {
    grid-column: 1;
    font-size: clamp(30px, 7vw, 36px);
    font-weight: 780;
    line-height: 1;
    letter-spacing: -0.03em;
  }

  .product-buybox__availability {
    grid-column: 2;
    grid-row: 1 / span 2;
    align-self: center;
    max-width: 150px;
    margin: 0;
    color: #4d5d51;
    font-size: 11px;
    line-height: 1.4;
  }

  .product-buybox__cta {
    width: 100%;
    min-height: 56px;
    padding: 0 24px;
    border-radius: 12px;
    font-size: 15px;
    box-shadow: 0 10px 22px rgba(242, 100, 34, 0.18);
  }

  .product-buybox__quick-trust {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 24px;
    margin: -2px 0 0;
    padding: 0;
    list-style: none;
  }

  .product-buybox__quick-trust li {
    position: relative;
    flex: 1 1 180px;
    padding-left: 16px;
    color: #606060;
    font-size: 11px;
    font-weight: 700;
    line-height: 1.4;
  }

  .product-buybox__quick-trust li::before {
    content: "";
    position: absolute;
    top: 0.45em;
    left: 0;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--gw-orange);
  }

  .product-buybox__lengths {
    order: 2;
    margin: 0 0 21px;
  }

  .product-buybox__label,
  .product-buybox__mp-label {
    margin-bottom: 10px;
    color: #5f5f5f;
    font-size: 10px;
    letter-spacing: 0.045em;
  }

  .product-detail__lengths {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
  }

  .product-detail__lengths .length-chip {
    width: auto;
    min-width: 64px;
    min-height: 46px;
    flex: 0 0 64px;
    justify-content: center;
    padding: 7px 12px;
    border-color: rgba(23, 23, 23, 0.11);
    background: #fff;
    font-size: 12px;
  }

  .product-detail__lengths .length-chip.is-active {
    border-color: var(--gw-orange);
    background: var(--gw-orange);
  }

  .product-buybox__marketplaces {
    order: 3;
  }

  .marketplace-buttons {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 9px;
  }

  .marketplace-btn {
    box-sizing: border-box;
    width: 100%;
    min-width: 0;
    min-height: 46px;
    height: 46px;
    padding: 0 14px;
    border-radius: 10px;
  }

  .product-detail__attrs.product-card__attrs {
    order: 6;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0 24px;
    width: 100%;
    min-width: 0;
    margin: 27px 0 0;
    border-top: 1px solid var(--gw-line);
  }

  .product-detail__attrs.product-card__attrs li {
    min-width: 0;
    padding: 15px 0;
  }

  .product-detail__attrs.product-card__attrs span {
    font-size: 10px;
  }

  .product-detail__attrs.product-card__attrs strong {
    margin-top: 4px;
    font-size: 14px;
  }
}

@media (max-width: 600px) {
  .breadcrumbs {
    min-height: 40px;
    margin-bottom: 14px;
    overflow: visible;
    font-size: 13px;
  }

  .breadcrumbs a:first-of-type,
  .breadcrumbs__sep,
  .breadcrumbs__current {
    display: none;
  }

  .breadcrumbs a:last-of-type::before {
    content: "←";
    margin-right: 8px;
    color: var(--gw-orange);
    font-size: 16px;
  }

  .product-detail__name {
    font-size: clamp(27px, 7.2vw, 34px);
  }

  .product-detail__gallery {
    aspect-ratio: 4 / 3;
    margin-bottom: 16px;
    border-radius: 16px;
  }

  .product-buybox {
    padding: 20px;
    border-radius: 16px;
  }

  .product-buybox__availability {
    max-width: 122px;
    font-size: 10px;
  }

  .product-buybox__quick-trust {
    gap: 7px 18px;
  }

  .product-buybox__quick-trust li {
    flex-basis: 135px;
    font-size: 10.5px;
  }

  .product-detail__attrs.product-card__attrs {
    gap: 0 18px;
  }
}

@media (min-width: 480px) and (max-width: 860px) {
  .product-detail__gallery {
    aspect-ratio: 16 / 10;
    background: #fff;
  }

  .product-detail__gallery img {
    object-fit: contain;
  }
}

@media (max-width: 360px) {
  .product-buybox {
    padding: 18px;
  }

  .product-buybox__row .product-card__price {
    gap: 4px 10px;
  }

  .product-buybox__availability {
    max-width: 108px;
  }

  .product-buybox__quick-trust li {
    flex-basis: 125px;
  }

  .marketplace-btn {
    padding: 0 10px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .gw-header__navwrap,
  .gw-header__backdrop,
  .gw-header__menu span {
    transition: none !important;
  }
}

/* Homepage mobile density pass: each story is compact and swipeable instead
   of stretching individual cards across several phone screens. */
.gw-header__phone-short {
  display: none;
}

@media (max-width: 600px) {
  .gw-header {
    grid-template-columns: max-content minmax(0, 1fr) 46px 46px;
    gap: 7px;
  }

  .gw-header__brand {
    width: max-content;
    min-height: 46px;
    padding: 0 15px;
    font-size: clamp(15px, 4.6vw, 18px);
  }

  .gw-header__phone-short,
  .gw-header__menu {
    position: relative;
    z-index: 3;
    display: grid;
    width: 46px;
    height: 46px;
    min-height: 46px;
    place-items: center;
    padding: 0;
    border: 1px solid rgba(23, 23, 23, 0.08);
    border-radius: 50%;
    color: var(--gw-text);
    background: var(--gw-header-surface);
    box-shadow: 0 8px 22px rgba(23, 23, 23, 0.11);
    pointer-events: auto;
  }

  .gw-header__phone-short {
    grid-column: 3;
    text-decoration: none;
  }

  .gw-header__menu {
    grid-column: 4;
  }

  .gw-header__navwrap {
    top: 65px;
  }

  .hm-main > .hm-section > .page-section,
  .hm-main > .how-order {
    padding-top: 15px;
    padding-bottom: 15px;
  }

  .hm-hero__grid {
    gap: 12px;
  }

  .hm-hero__photo {
    aspect-ratio: 16 / 8.3;
  }

  .hm-hero__card {
    gap: 14px;
    padding: 21px 18px;
    border-radius: 20px;
  }

  .hm-hero__brand-block {
    gap: 8px;
  }

  .hm-hero__title {
    font-size: clamp(31px, 9vw, 39px);
  }

  .hm-hero__tagline {
    font-size: 16px;
  }

  .hm-hero__intro {
    font-size: 15px;
    line-height: 1.45;
  }

  .hm-popular__head,
  .hm-reliability__head {
    gap: 8px;
    margin-bottom: 16px;
  }

  .hm-popular__head h2,
  .hm-reliability__head h2,
  .hm-benefits__heading h2,
  .hm-instruction__section-title {
    font-size: clamp(25px, 7.2vw, 30px);
    line-height: 1.04;
    letter-spacing: -0.035em;
    text-wrap: balance;
  }

  .hm-popular__head p,
  .hm-reliability__head p {
    flex: none;
    width: 100%;
    padding-top: 0;
    font-size: 14px;
    line-height: 1.45;
  }

  .hm-product {
    flex-basis: min(74vw, 270px);
    gap: 10px;
    padding: 12px;
  }

  .hm-product__photo {
    aspect-ratio: 4 / 3;
  }

  .hm-product__body {
    gap: 8px;
  }

  .hm-product__name {
    min-height: 38px;
    font-size: 16px;
    line-height: 1.18;
  }

  .hm-product__attrs {
    gap: 4px;
  }

  .hm-product__attrs li {
    padding: 4px 6px;
  }

  .hm-reliability__grid {
    padding-bottom: 8px;
  }

  .hm-engineering-card,
  .hm-engineering-card--landscape,
  .hm-engineering-card--portrait {
    flex-basis: min(78vw, 286px);
    grid-template-rows: 152px auto;
    min-height: 340px;
    max-height: 360px;
  }

  .hm-engineering-card__body,
  .hm-engineering-card--portrait .hm-engineering-card__body {
    padding: 15px 16px 18px;
  }

  .hm-engineering-card__body h3 {
    margin-bottom: 7px;
    font-size: 19px;
  }

  .hm-engineering-card__body p {
    font-size: 12.5px;
    line-height: 1.4;
  }

  .hm-instruction__section-title {
    margin-bottom: 14px;
    white-space: normal;
  }

  .hm-instruction__layout,
  .hm-instruction__aside {
    gap: 10px;
  }

  .hm-instruction__intro {
    gap: 10px;
    padding: 18px;
    border-radius: 18px;
  }

  .hm-instruction__slogan {
    font-size: 24px;
  }

  .hm-instruction__copy .hm-instruction__copy-lead {
    margin-bottom: 0;
    font-size: 14px;
    line-height: 1.45;
  }

  .hm-instruction__copy-point,
  .hm-instruction__copy-note,
  .hm-instruction__cta small {
    display: none;
  }

  .hm-instruction__cta {
    min-height: 58px;
    padding: 10px 12px 10px 18px;
    border-radius: 16px;
  }

  .hm-instruction__cta > span:first-child {
    gap: 0;
  }

  .hm-instruction__cta strong {
    font-size: 17px;
  }

  .hm-instruction__cta-icon {
    flex-basis: 42px;
    width: 42px;
    height: 42px;
  }

  .hm-instruction__guide {
    gap: 16px;
  }

  .hm-instruction__column {
    display: block;
  }

  .hm-instruction__tab {
    justify-content: flex-start;
    min-height: 34px;
    margin-bottom: 8px;
    padding: 0 13px;
    font-size: 11px;
  }

  .hm-instruction__steps {
    display: flex;
    gap: 9px;
    width: calc(100% + 16px);
    padding: 0 16px 5px 0;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
  }

  .hm-instruction__steps::-webkit-scrollbar {
    display: none;
  }

  .hm-instruction__step,
  .hm-instruction__step--final {
    flex: 0 0 min(76vw, 278px);
    grid-template-columns: minmax(0, 1fr) 43%;
    height: 156px;
    min-height: 156px;
    border-radius: 16px;
    scroll-snap-align: start;
  }

  .hm-instruction__step-copy,
  .hm-instruction__step--final .hm-instruction__step-copy {
    padding: 13px 0 12px 13px;
  }

  .hm-instruction__num {
    min-height: 22px;
    margin-bottom: 7px;
    padding: 4px 7px;
    font-size: 9px;
  }

  .hm-instruction__step h4 {
    margin-bottom: 5px;
    font-size: 15px;
  }

  .hm-instruction__step p {
    font-size: 11.5px;
  }

  .hm-instruction__step .hm-instruction__finish {
    display: none;
  }

  .hm-instruction__step--final img {
    height: 100%;
  }

  .hm-benefits__head {
    gap: 8px;
    margin-bottom: 14px;
    padding-bottom: 14px;
  }

  .hm-benefits__intro {
    display: block;
    overflow: visible;
    font-size: 13.5px;
    line-height: 1.45;
    -webkit-line-clamp: unset;
  }

  .hm-benefits__rail {
    display: flex;
    flex-direction: row;
    gap: 10px;
    width: calc(100% + 16px);
    padding: 0 16px 8px 0;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
  }

  .hm-benefits__rail::-webkit-scrollbar {
    display: none;
  }

  .hm-benefits__strap,
  .hm-benefit__node,
  .hm-benefit__card::after {
    display: none;
  }

  .hm-benefit {
    display: block;
    flex: 0 0 min(78vw, 286px);
    scroll-snap-align: start;
  }

  .hm-benefit--left .hm-benefit__card,
  .hm-benefit--right .hm-benefit__card {
    width: 100%;
    height: 100%;
    min-height: 248px;
    padding: 16px;
    border-radius: 18px;
  }

  .hm-benefit__top {
    margin-bottom: 8px;
  }

  .hm-benefit__card h3 {
    font-size: 19px;
    line-height: 1.08;
  }

  .hm-benefit__card p {
    font-size: 12.5px;
    line-height: 1.42;
  }

  .how-order__head {
    gap: 8px;
    margin-bottom: 14px;
  }

  .how-order__left h2 {
    font-size: 28px;
  }

  .how-order__desc {
    font-size: 13.5px;
    line-height: 1.45;
  }

  .how-order__left .hm-btn {
    display: none;
  }

  .order-steps {
    border-radius: 16px;
  }

  .order-step {
    grid-template-columns: 36px minmax(0, 1fr);
    gap: 3px 10px;
    min-height: 0;
    padding: 13px 14px;
  }

  .order-step__num {
    grid-column: 1;
    grid-row: 1 / 3;
    width: 32px;
    height: 32px;
    font-size: 12px;
  }

  .order-step__title,
  .order-step p {
    grid-column: 2;
  }

  .order-step__title {
    font-size: 14px;
  }

  .order-step p {
    font-size: 11.5px;
    line-height: 1.38;
  }

  .order-step__phone {
    min-height: 0;
  }
}

/* ═══════════════════════════════════════════════════════════════
   Product page — canonical responsive contract
   Kept last so older shared catalog rules cannot reorder this page.
═══════════════════════════════════════════════════════════════ */
@media (max-width: 860px) {
  .product-page {
    overflow-x: clip;
  }

  .product-page .catalog-section > .page-section {
    padding-top: 14px;
    padding-bottom: 40px;
  }

  .product-page .breadcrumbs {
    min-height: 40px;
    margin-bottom: 12px;
  }

  .product-page .product-detail {
    display: flex;
    width: 100%;
    min-width: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    overflow: visible;
    margin-bottom: 36px;
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
  }

  .product-page .product-detail__gallery-col,
  .product-page .product-detail__info {
    display: contents;
  }

  .product-page .product-detail__info .product-card__cat {
    order: 1;
    margin: 0 0 7px;
    font-size: 10px;
    letter-spacing: 0.055em;
  }

  .product-page .product-detail__name {
    order: 2;
    max-width: 680px;
    margin: 0 0 8px;
    font-size: clamp(28px, 6.8vw, 36px);
    line-height: 1.1;
    letter-spacing: -0.035em;
  }

  .product-page .product-detail__sku {
    order: 3;
    margin: 0 0 16px;
    font-size: 11px;
  }

  .product-page .product-detail__gallery {
    order: 4;
    width: 100%;
    min-height: 0;
    margin: 0 0 20px;
    aspect-ratio: 4 / 3;
    background: #f7f6f4;
    border: 1px solid rgba(23, 23, 23, 0.07);
    border-radius: 16px;
  }

  .product-page .product-detail__gallery img {
    inset: 10px;
    width: calc(100% - 20px);
    height: calc(100% - 20px);
    object-fit: contain;
    object-position: center;
  }

  .product-page .product-detail__trust {
    display: none;
  }

  .product-page .product-detail__attrs.product-card__attrs {
    order: 5;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0 18px;
    width: 100%;
    margin: 0 0 22px;
    border-top: 1px solid var(--gw-line);
  }

  .product-page .product-detail__attrs.product-card__attrs li {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 0;
    min-width: 0;
    min-height: 62px;
    padding: 12px 0;
  }

  .product-page .product-detail__attrs.product-card__attrs span {
    font-size: 9px;
  }

  .product-page .product-detail__attrs.product-card__attrs strong {
    margin-top: 3px;
    font-size: 14px;
  }

  .product-page .product-buybox {
    order: 6;
    display: flex;
    width: 100%;
    min-width: 0;
    flex-direction: column;
    margin: 0;
    padding: 0;
    background: transparent;
    border: 0;
    border-radius: 0;
  }

  .product-page .product-buybox__lengths {
    order: 1;
    margin: 0 0 18px;
  }

  .product-page .product-buybox__label,
  .product-page .product-buybox__mp-label {
    margin-bottom: 9px;
    color: #656565;
    font-size: 10px;
    letter-spacing: 0.055em;
  }

  .product-page .product-detail__lengths {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 8px;
  }

  .product-page .product-detail__lengths .length-chip {
    width: 100%;
    min-width: 0;
    min-height: 48px;
    padding: 6px;
    background: #f5f4f2;
    border-color: rgba(23, 23, 23, 0.09);
    font-size: 12px;
  }

  .product-page .product-buybox__row {
    order: 2;
    display: grid;
    grid-template-columns: 1fr;
    gap: 14px;
    align-items: stretch;
    margin: 0 0 18px;
    padding: 18px 0;
    border-top: 1px solid var(--gw-line);
    border-bottom: 1px solid var(--gw-line);
  }

  .product-page .product-buybox__row .product-card__price {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 4px 12px;
    align-items: center;
  }

  .product-page .product-buybox__row .product-card__price span {
    grid-column: 1;
    margin: 0;
    font-size: 10px;
  }

  .product-page .product-buybox__row .product-card__price strong {
    grid-column: 1;
    font-size: clamp(28px, 7.5vw, 34px);
    line-height: 1;
    letter-spacing: -0.03em;
  }

  .product-page .product-buybox__availability {
    grid-column: 2;
    grid-row: 1 / span 2;
    max-width: 130px;
    margin: 0;
    font-size: 10px;
  }

  .product-page .product-buybox__cta {
    width: 100%;
    min-height: 52px;
    padding: 0 20px;
    border-radius: 12px;
    font-size: 15px;
    box-shadow: 0 8px 20px rgba(242, 100, 34, 0.16);
  }

  .product-page .product-buybox__quick-trust {
    display: flex;
    flex-wrap: wrap;
    gap: 7px 18px;
    margin: 0;
    padding: 0;
    list-style: none;
  }

  .product-page .product-buybox__quick-trust li {
    position: relative;
    flex: 1 1 135px;
    padding-left: 14px;
    color: #646464;
    font-size: 10px;
    font-weight: 700;
    line-height: 1.35;
  }

  .product-page .product-buybox__quick-trust li::before {
    content: "";
    position: absolute;
    top: 0.4em;
    left: 0;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--gw-orange);
  }

  .product-page .product-buybox__marketplaces {
    order: 3;
  }

  .product-page .marketplace-buttons {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .product-page .marketplace-btn {
    width: 100%;
    min-height: 46px;
    height: 46px;
    padding: 0 12px;
  }

  .product-page .product-tabs {
    margin-bottom: 48px;
    padding: 40px 0 0;
  }

  .product-page .product-tabs__head {
    display: block;
  }

  .product-page .product-tabs__eyebrow {
    margin-bottom: 8px !important;
    font-size: 10px !important;
  }

  .product-page .product-tabs__head h2 {
    max-width: 520px;
    font-size: clamp(25px, 6.8vw, 31px);
    line-height: 1.12;
  }

  .product-page .product-tabs__head > p {
    display: none;
  }

  .product-page .product-tabs__nav {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 4px;
    margin: 22px 0 0;
    padding: 4px;
    overflow: visible;
    background: #f4f3f1;
    border: 0;
    border-radius: 12px;
  }

  .product-page .product-tabs__btn {
    min-width: 0;
    min-height: 48px;
    padding: 0 6px;
    border: 0;
    border-radius: 9px;
    font-size: 11px;
    text-align: center;
  }

  .product-page .product-tabs__btn.is-active {
    color: var(--gw-text);
    background: #fff;
    border: 0;
    box-shadow: 0 4px 12px rgba(23, 23, 23, 0.07);
  }

  .product-page .product-tabs__content {
    padding: 24px 0 0;
  }

  .product-page .product-tabs__desc-grid {
    gap: 24px;
  }

  .product-page .product-tabs__panel p,
  .product-page .product-tabs__alert-body p {
    margin-bottom: 14px;
    font-size: 15px;
    line-height: 1.6;
  }

  .product-page .product-tabs__lead {
    font-size: 16px !important;
    line-height: 1.6 !important;
  }

  .product-page .product-tabs__desc-main > p:not(:first-child),
  .product-page .product-tabs__desc-main > .product-tabs__alert {
    display: none;
  }

  .product-page .product-tabs__desc-main.is-expanded > p,
  .product-page .product-tabs__desc-main.is-expanded > .product-tabs__alert {
    display: block;
  }

  .product-page .product-tabs__alert {
    margin-top: 22px;
    padding-top: 16px;
  }

  .product-page .product-tabs__highlights {
    padding: 18px 0 0;
  }

  .product-page .product-tabs__highlights-title {
    margin-bottom: 6px;
    font-size: 11px;
  }

  .product-page .product-tabs__highlights ul {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0 18px;
  }

  .product-page .product-tabs__highlights li {
    min-width: 0;
    padding: 12px 0;
  }

  .product-page .product-tabs__highlights li span {
    font-size: 13px;
  }

  .product-page .product-tabs__readmore {
    display: inline-flex;
    width: 100%;
  }

  .product-page .how-order {
    padding-top: 40px;
    padding-bottom: 40px;
  }

  .product-page .how-order__head {
    gap: 10px;
    margin-bottom: 20px;
  }

  .product-page .how-order__left h2 {
    font-size: 27px;
  }

  .product-page .how-order__desc {
    font-size: 14px;
    line-height: 1.5;
  }

  .product-page .how-order__left .btn {
    order: 3;
    width: 100%;
    min-height: 48px;
    margin-top: 2px;
  }

  .product-page .order-steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1px;
    border: 1px solid var(--gw-line);
    border-radius: 16px;
  }

  .product-page .order-step {
    display: block;
    min-height: 154px;
    padding: 15px;
    border: 0;
    text-align: left;
  }

  .product-page .order-step:nth-child(odd) {
    border-right: 1px solid var(--gw-line);
  }

  .product-page .order-step:nth-child(-n + 2) {
    border-bottom: 1px solid var(--gw-line);
  }

  .product-page .order-step__num {
    display: grid;
    width: 30px;
    height: 30px;
    margin: 0 0 12px;
    font-size: 12px;
  }

  .product-page .order-step__icon {
    display: none;
  }

  .product-page .order-step__title,
  .product-page .order-step p {
    display: block;
  }

  .product-page .order-step__title {
    margin-bottom: 6px;
    font-size: 14px;
  }

  .product-page .order-step p {
    font-size: 11px;
    line-height: 1.4;
  }

  .product-page .order-step__phone {
    display: inline;
    min-height: 0;
  }

  .product-page .site-footer__inner {
    padding: 34px 0 22px;
  }

  .product-page .site-footer__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px 20px;
    padding-bottom: 26px;
  }

  .product-page .site-footer__grid > div:first-child {
    grid-column: 1 / -1;
  }

  .product-page .site-footer__col {
    gap: 7px;
  }

  .product-page .site-footer__col-title {
    margin-bottom: 7px;
  }

  .product-page .site-footer__col a,
  .product-page .site-footer__col span,
  .product-page .site-footer__cta {
    min-height: 0;
    font-size: 12px;
    line-height: 1.45;
  }

  .product-page .site-footer__bottom {
    flex-direction: row;
    align-items: center;
    padding-top: 18px;
  }
}

@media (max-width: 379px) {
  .product-page .product-detail__name {
    font-size: 27px;
  }

  .product-page .product-detail__lengths {
    gap: 6px;
  }

  .product-page .product-tabs__btn {
    font-size: 10px;
  }

  .product-page .order-steps {
    grid-template-columns: 1fr;
  }

  .product-page .order-step {
    min-height: 112px;
  }

  .product-page .order-step:nth-child(odd),
  .product-page .order-step:nth-child(-n + 2) {
    border-right: 0;
    border-bottom: 1px solid var(--gw-line);
  }

  .product-page .site-footer__grid {
    grid-template-columns: 1fr;
  }

  .product-page .site-footer__grid > div:first-child {
    grid-column: auto;
  }
}

/* Catalog phone density pass: compact controls and product cards while all
   primary tap targets remain at least 44px tall. */
@media (max-width: 600px) {
  .catalog-page .catalog-head {
    margin-bottom: 18px;
  }

  .catalog-page .catalog-layout {
    gap: 10px;
  }

  .catalog-page .catalog-search {
    margin-bottom: 8px;
  }

  .catalog-page .catalog-search__input,
  .catalog-page .filter-toggle,
  .catalog-page .sort-select {
    min-height: 44px;
    height: 44px;
    border-radius: 10px;
  }

  .catalog-page .filter-toggle {
    padding: 0 14px;
    font-size: 14px;
  }

  .catalog-page .catalog-filter-panel {
    margin-top: 8px;
    padding: 2px 14px 14px;
    border-radius: 10px;
  }

  .catalog-page .catalog-toolbar {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 10px;
    align-items: center;
    margin-bottom: 12px;
    padding: 0;
    border: 0;
  }

  .catalog-page .catalog-result {
    font-size: 13px;
    white-space: nowrap;
  }

  .catalog-page .sort-wrap {
    display: block;
    min-width: 0;
  }

  .catalog-page .sort-wrap label {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
  }

  .catalog-page .sort-select {
    width: 100%;
    min-width: 0;
    padding: 0 32px 0 12px;
    font-size: 13px !important;
  }

  .catalog-page .product-grid {
    gap: 8px;
  }

  .catalog-page .product-card {
    border-radius: 12px;
  }

  .catalog-page .product-card__photo {
    aspect-ratio: 4 / 3;
  }

  .catalog-page .product-card__photo img {
    padding: 6px;
  }

  .catalog-page .product-card__body {
    padding: 9px;
  }

  .catalog-page .product-card__name {
    display: -webkit-box;
    min-height: 2.5em;
    margin-bottom: 7px;
    overflow: hidden;
    font-size: 13px;
    line-height: 1.25;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
  }

  .catalog-page .product-card__name a {
    display: inline;
    min-height: 0;
  }

  .catalog-page .product-card__attrs {
    gap: 3px;
    margin-bottom: 7px;
  }

  .catalog-page .product-card__attrs li {
    min-width: 0;
    padding: 4px 6px;
  }

  .catalog-page .product-card__attrs li:nth-child(2),
  .catalog-page .product-card__attrs li:nth-child(4) {
    display: none;
  }

  .catalog-page .product-card__attrs span {
    overflow: hidden;
    font-size: 8px;
    line-height: 1.15;
    text-overflow: ellipsis;
  }

  .catalog-page .product-card__attrs strong {
    font-size: 10px;
  }

  .catalog-page .product-card__buy {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 6px;
    align-items: center;
    padding-top: 7px;
  }

  .catalog-page .product-card__price span {
    display: none;
  }

  .catalog-page .product-card__price strong {
    font-size: 12px;
  }

  .catalog-page .product-card__btn {
    width: auto;
    min-width: 62px;
    min-height: 44px;
    height: 44px;
    padding: 0 9px;
    border-radius: 8px;
    font-size: 11px;
    white-space: nowrap;
  }
}

/* Homepage order flow: a compact 2×2 map matching the product-page pattern. */
@media (max-width: 600px) {
  .home-page .how-order {
    margin-top: 0;
    margin-bottom: 0;
    padding-top: 30px !important;
    padding-bottom: 30px !important;
    border: 0;
    border-top: 1px solid var(--hm-line);
    border-radius: 0;
    background: #fff;
    box-shadow: none;
    overflow: visible;
  }

  .home-page .how-order::before {
    display: none;
    content: none;
  }

  .home-page .how-order__head {
    gap: 10px;
    margin-bottom: 20px;
  }

  .home-page .how-order__kicker {
    display: none;
  }

  .home-page .how-order__left h2 {
    font-size: 27px;
    letter-spacing: -0.025em;
    line-height: 1.08;
    text-transform: none;
  }

  .home-page .how-order__desc {
    order: 2;
    max-width: 34em;
    color: var(--hm-muted);
    font-size: 13.5px;
    line-height: 1.48;
  }

  .home-page .how-order__left .hm-btn {
    order: 3;
    display: inline-flex;
    width: 100%;
    min-height: 48px;
    margin-top: 2px;
    border-radius: 8px;
    box-shadow: none;
  }

  .home-page .order-steps {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0;
    width: 100%;
    padding: 0;
    overflow: hidden;
    border: 1px solid var(--hm-line);
    border-radius: 16px;
    background: #fff;
  }

  .home-page .order-step {
    position: relative;
    display: block;
    min-width: 0;
    min-height: 230px;
    padding: 15px;
    border: 0;
    border-radius: 0;
    background: #fff;
    box-shadow: none;
    text-align: left;
  }

  .home-page .order-step:nth-child(odd) {
    border-right: 1px solid var(--hm-line);
  }

  .home-page .order-step:nth-child(-n + 2) {
    border-bottom: 1px solid var(--hm-line);
  }

  .home-page .order-step:last-child {
    border: 0;
  }

  .home-page .order-step__num {
    width: 32px;
    height: 32px;
    margin: 0 0 24px;
    font-size: 12px;
    box-shadow: none;
  }

  .home-page .order-step__icon {
    position: absolute;
    top: 16px;
    right: 16px;
    display: grid;
    width: 34px;
    height: 34px;
    margin: 0;
    padding: 0;
    place-items: center;
    border: 0;
    border-radius: 0;
    background: transparent;
  }

  .home-page .order-step__title {
    display: block;
    margin: 0 0 8px;
    padding-right: 0;
    font-size: 16px;
    line-height: 1.2;
  }

  .home-page .order-step p {
    color: var(--hm-muted);
    font-size: 13px;
    line-height: 1.45;
  }

  .home-page .order-step__phone {
    min-height: 0;
  }
}

@media (max-width: 339px) {
  .home-page .order-steps {
    grid-template-columns: 1fr;
  }

  .home-page .order-step {
    min-height: 0;
    padding: 18px;
  }

  .home-page .order-step:nth-child(odd),
  .home-page .order-step:nth-child(-n + 2),
  .home-page .order-step:not(:last-child) {
    border-right: 0;
    border-bottom: 1px solid var(--hm-line);
  }

  .home-page .order-step__title {
    font-size: 16px;
  }

  .home-page .order-step p {
    font-size: 13px;
  }
}

/* Final delivery panel on mobile: drop the delivery-condition tags and the
   product cutout photos, which don't fit the compact mobile layout. */
@media (max-width: 600px) {
  .home-page .hm-cta__tags,
  .home-page .hm-cta__strap--orange,
  .home-page .hm-cta__strap--black {
    display: none;
  }
}

/* The primary homepage hierarchy uses one scale at every responsive tier.
   This block is deliberately last: older component overrides above must not
   reintroduce different families, sizes or weights. */
@media (max-width: 900px) {
  .home-page :is(
    .hm-popular__head h2,
    .hm-reliability__head h2,
    .hm-instruction__section-title,
    .hm-benefits__heading h2,
    .how-order__left h2
  ) {
    font-family: var(--hm-section-title-family);
    font-size: clamp(28px, 5vw, 34px);
    font-weight: var(--hm-section-title-weight);
    line-height: 1.08;
    letter-spacing: 0;
  }

  .home-page :is(
    .hm-popular__head > p,
    .hm-reliability__head > p,
    .hm-benefits__head > .hm-benefits__intro,
    .how-order__head > .how-order__desc
  ) {
    font-family: var(--hm-section-copy-family);
    font-size: 15px;
    font-weight: var(--hm-section-copy-weight);
    line-height: 1.5;
    letter-spacing: 0;
  }
}

@media (max-width: 600px) {
  .home-page :is(
    .hm-popular__head h2,
    .hm-reliability__head h2,
    .hm-instruction__section-title,
    .hm-benefits__heading h2,
    .how-order__left h2
  ) {
    font-size: clamp(25px, 7.2vw, 30px);
    line-height: 1.04;
  }

  .home-page :is(
    .hm-popular__head > p,
    .hm-reliability__head > p,
    .hm-benefits__head > .hm-benefits__intro,
    .how-order__head > .how-order__desc
  ) {
    font-size: 14px;
    line-height: 1.45;
  }
}

/* Match the specificity of the desktop section rhythm. */
@media (max-width: 900px) {
  .home-page .hm-main > .hm-section > .page-section {
    padding-block: 24px;
  }

  .home-page .hm-main > .hm-hero > .page-section {
    padding-top: 12px;
  }
}

@media (max-width: 600px) {
  .home-page .hm-main > .hm-section > .page-section {
    padding-block: 20px;
  }

  .home-page .hm-main > .hm-hero > .page-section {
    padding-top: 8px;
  }

  /* Keep the unbroken wordmark inside the card even at 320px. */
  .hm-hero__title {
    font-size: clamp(27px, 8.2vw, 39px);
  }
}

@media (max-width: 360px) {
  /* The outer gutter is 12px at this tier, not the usual 16px. */
  .hm-instruction__steps,
  .hm-benefits__rail {
    width: calc(100% + 12px);
    padding-right: 12px;
  }
}

/* Compact shared footer. The brand remains the introduction, while the two
   useful link groups use the horizontal space instead of forming one tall
   stack on phones. */
@media (min-width: 601px) and (max-width: 900px) {
  .site-footer__inner {
    padding: 36px 0 22px;
  }

  .site-footer__grid {
    grid-template-columns: minmax(0, 1.35fr) repeat(2, minmax(0, 1fr));
    gap: 24px;
    padding-bottom: 26px;
  }

  .site-footer__col {
    gap: 6px;
  }

  .site-footer__col-title {
    margin-bottom: 6px;
  }

  .site-footer__col a,
  .site-footer__col span,
  .site-footer__cta {
    min-height: 0;
  }
}

@media (max-width: 600px) {
  .site-footer__inner,
  .product-page .site-footer__inner {
    padding: 28px 0 18px;
  }

  .site-footer__grid,
  .product-page .site-footer__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px 16px;
    padding-bottom: 22px;
  }

  .site-footer__grid > div:first-child,
  .product-page .site-footer__grid > div:first-child {
    grid-column: 1 / -1;
  }

  .site-footer__brand {
    margin-bottom: 10px;
    font-size: 23px;
  }

  .site-footer__text {
    max-width: 35em;
    font-size: 12.5px;
    line-height: 1.5;
  }

  .site-footer__col,
  .product-page .site-footer__col {
    gap: 2px;
  }

  .site-footer__col-title,
  .product-page .site-footer__col-title {
    margin-bottom: 6px;
    font-size: 10px;
  }

  .site-footer__col a,
  .site-footer__col span,
  .site-footer__cta,
  .product-page .site-footer__col a,
  .product-page .site-footer__col span,
  .product-page .site-footer__cta {
    display: flex;
    align-items: center;
    min-height: 34px;
    font-size: 12px;
    line-height: 1.4;
  }

  .site-footer__bottom,
  .product-page .site-footer__bottom {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 8px 16px;
    padding-top: 16px;
    font-size: 11px;
  }

  .site-footer__legal {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px 16px;
    order: 3;
  }

  .site-footer__legal a {
    font-size: 10.5px;
    line-height: 1.45;
  }

  .site-footer__cta,
  .product-page .site-footer__cta {
    justify-self: end;
    min-height: 34px;
  }
}
