/* MUSE WEAR: shared catalog variant buttons, 2026-11-06. */
.t-product__option-variants_buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.t-product__option-variants_buttons .t-product__option-item {
  margin: 0 !important;
}
.t-product__option-variants_buttons .t-product__option-item_simple {
  min-height: 44px;
  min-width: 44px;
  max-width: 100%;
  padding: 10px 18px !important;
  border: 1px solid #d6d6d6 !important;
  border-radius: 999px;
  background: #fff !important;
  color: #111 !important;
  transition: background-color .15s ease, border-color .15s ease;
}
.t-product__option-variants_buttons .t-product__option-title_simple {
  padding: 0 !important;
  margin: 0 !important;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.35;
  white-space: normal;
  overflow-wrap: anywhere;
  color: inherit !important;
  background: transparent !important;
}
@media (hover: hover) {
  .t-product__option-variants_buttons .t-product__option-item_simple:not(.t-product__option-item_disabled):not(.t-product__option-item_active):hover {
    background: #fff0f4 !important;
    border-color: #a76a7b !important;
  }
}
.t-product__option-variants_buttons .t-product__option-item_simple.t-product__option-item_active {
  background: #ff507a !important;
  border-color: #ff507a !important;
  color: #fff !important;
}
.t-product__option-variants_buttons .t-product__option-item_active .t-product__option-title_simple {
  font-weight: 600;
}
/* Keep native labeled radios available to the keyboard and screen readers. */
.t-product__option-variants_buttons .t-product__option-input_simple {
  visibility: visible;
  position: absolute;
  left: 0;
  top: 0;
  width: 1px;
  height: 1px;
  margin: 0;
  opacity: 0;
  clip-path: inset(50%);
}
.t-product__option-variants_buttons .t-product__option-item_simple:has(.t-product__option-input:focus-visible) {
  border-color: #111 !important;
  box-shadow: inset 0 0 0 1px #111;
}
.t-product__option-item_disabled .t-product__option-input {
  visibility: hidden;
}
@media (prefers-reduced-motion: reduce) {
  .t-product__option-variants_buttons .t-product__option-item_simple {
    transition: none;
  }
}

/* MUSE WEAR — shared button press. Components with an equivalent local
   transform keep their transition and avoid a second scale. */
@media (prefers-reduced-motion: no-preference) {
  :is(body, #allrecords) :is(button, input:is([type="button"], [type="submit"], [type="reset"]),
      a[href]:is(.t-btn, .t-btnflex, .t-submit), .tn-elem[data-elem-type="button"] a.tn-atom,
      [role="button"], [role="tab"], .vb-flt__option, [data-muse-press]):not(:where(
        :disabled, [aria-disabled="true"], [aria-disabled="true"] *, [inert] *, label:has(input:disabled),
        [data-muse-press="local"], .vb-cg2__page-arrow, .vb-e5x__button, .vb-t3c button,
        .vb-b2t:not([data-muse-voice-copy]) .vb-b2t__button, .vb-r7k__arrow, .vb-f6t__social-link,
        .vb-pgc-root :is(.t762__btn, .t1002__addBtn, .vb-u2p__story-link, .vb-u2p__viewer button)
      )) {
    transition: scale 120ms ease-out, transform 120ms ease-out, background-color 150ms ease-out,
      border-color 150ms ease-out, color 150ms ease-out, opacity 150ms ease-out;

    &:active,
    &[data-muse-pressed],
    &:has(> input:is([type="checkbox"], [type="radio"]):is(:active, [data-muse-pressed])) {
      scale: 0.97;
    }
  }
}

/* MUSE WEAR: text links in editorial copy and product descriptions. */
@layer muse-text-links {
  #allrecords [data-muse-link-surface="dark"] {
    --muse-text-link-color: #faf6f1;
    --muse-text-link-hover: #fba7d5;
  }

  /* Important declarations in this layer take precedence over old block CSS. */
  #allrecords :is(
    :where(
      p, dd, details li, .t-text, .t-descr, .t-redactor__text, .js-catalog-prod-all-text,
      .js-store-prod-text, [class$="__answer"], [class$="__note"]
    ) a[href],
    [data-elem-type="text"] a:is([href^="mailto:"], [href^="tel:"]),
    a[href][data-muse-text-link]
  ):not(:where(
    .t-btn, .t-btnflex, .t-submit, [role="button"], [role="tab"], [role="menuitem"],
    [aria-disabled="true"], [data-muse-text-link="off"], .js-catalog-close-text,
    .t-menu__link-item, .t-menu a, nav a, [role="navigation"] a,
    [class*="__breadcrumbs"] a, .vb-f6t a, :has(img, picture, video, svg)
  )) {
    color: var(--muse-text-link-color, #211d1c) !important;
    font-weight: 700 !important;
    text-decoration: none !important;

    & :where(span, strong, b, em, i, u, font) {
      color: inherit !important;
    }

    @media (hover: hover) {
      &:hover {
        color: var(--muse-text-link-hover, #78172d) !important;
      }
    }
  }
}

/* MUSE WEAR. Радиус самостоятельных поверхностей и фотоплиток. */
#allrecords {
  --muse-bento-radius: 30px;
}

#allrecords :is(
  .vb-a3b__card,
  .vb-b2t__banner,
  .vb-c71__message,
  .vb-c71__direct,
  .vb-c7p__card,
  .vb-c8a__card,
  .vb-c8a__photos img,
  .vb-cg2__collection,
  .vb-cg2__views,
  .vb-cg2__results,
  .vb-d4k__card,
  .vb-d4p__story,
  .vb-d4p__help > a,
  .vb-d7q__panel,
  .vb-d85__panel,
  .vb-e5x__wrap,
  .vb-e5x article,
  .vb-e64__contact,
  .vb-e64__document,
  .vb-flt,
  .vb-h4b__card,
  .vb-h4b__specs,
  .vb-h4b__tile,
  .vb-h4b__pair a,
  .vb-j5d__item,
  .vb-j8v__card,
  .vb-j8v__media,
  .vb-k2c__wrap,
  .vb-k2c__card,
  .vb-k72__panel,
  .vb-k72__pair,
  .vb-k73__card,
  .vb-k74__cards,
  .vb-k74__card,
  .vb-k75__panel,
  .vb-m6q__card,
  .vb-m6q__media,
  .vb-o54__address,
  .vb-o54__map-slot,
  .vb-p2f__panel,
  .vb-p4k__card,
  .vb-p6z__card,
  .vb-p83__card,
  .vb-p94__contact,
  .vb-p94__document,
  .vb-pcd__card,
  .vb-q76__panel,
  .vb-q9f__card,
  .vb-q9k__card,
  .vb-q9k__media,
  .vb-r4m__panel,
  .vb-r6m__card,
  .vb-r7k__surface,
  .vb-r82__card,
  .vb-s4m__panel,
  .vb-t3c__category,
  .vb-t3c__results,
  .vb-t3c__empty,
  .vb-w6m__panel,
  .vb-w6m__media,
  .mws-compare__steps > li,
  .mws-fabrics__card,
  .mws-fabrics__care,
  .mws-questions__panel,
  .mws-size-help__panel,
  :is(.vb-tr1,.vb-tr2,.vb-tr3,.vb-tr4,.vb-tr6,.vb-tr7) :is(.panel,.tile),
  :is(.vb-tw4,.vb-tx7) :is(.card,.panel),
  :is(.vb-z5n,.vb-r6g,.vb-p2c,.vb-o7f) [data-legal-card],
  .t-catalog .t-catalog__card,
  .vb-pgc-root :is(.t762__container,.t762__info,.t-slds,.t-slds__container),
  .nlm095_910191142997 .t552__blockimg
),
#allrecords #vb-q7m-story :is(.vb-q7m__copy,.vb-q7m__product),
#allrecords #muse-harry-hero .muse-harry-panel,
#allrecords #muse-size-guide :is(.visual,.measure-panel),
#allrecords #rec1130191121 .t117_map,
#allrecords[data-tilda-page-id="234313309"] :is(#product-preview,.panel),
#allrecords[data-product-page="y"] .js-catalog-product.t-catalog__product-snippet:not(.vb-pgc-root) > .t-container > div,
#allrecords :is(#rec782193844,#rec850359032) :is(.t706__cartpage-form-wrapper,.t706__cartpage-info-wrapper) {
  border-radius: var(--muse-bento-radius);
}

#allrecords :is(.vb-m4p,.vb-n8s) {
  border-radius: 0 0 var(--muse-bento-radius) var(--muse-bento-radius);
}

#allrecords .vb-c8a::before,
#allrecords .vb-pcd__card :is(.vb-pcd__photo,.vb-pcd__info) {
  border-radius: var(--muse-bento-radius) var(--muse-bento-radius) 0 0;
}

#allrecords .vb-k72__panel::before {
  border-radius: inherit;
}

/* Фотоплитки Zero Block на странице мерча. */
#allrecords :is(#rec843167587,#rec843171946,#rec843184621,#rec843185165)
  .tn-elem:is([data-elem-id="1734701827341"],[data-elem-id="1734702138915"],[data-elem-id="1734702299908"]),
#allrecords :is(#rec843167587,#rec843171946,#rec843184621,#rec843185165)
  .tn-elem:is([data-elem-id="1734701827341"],[data-elem-id="1734702138915"],[data-elem-id="1734702299908"]) > .tn-atom {
  border-radius: var(--muse-bento-radius);
}

/* MUSE WEAR. Тень под самостоятельными бенто-поверхностями. */
#allrecords {
  --muse-bento-shadow: 0 11px 10px -10px #211d1c18, 0 4px 4px -4px #211d1c08;
}

#allrecords :is(
  .vb-a3b__card,
  .vb-b2t__banner,
  .vb-c71__message,
  .vb-c71__direct,
  .vb-c7p__card,
  .vb-c8a__card,
  .vb-cg2__collection,
  .vb-cg2__results,
  .vb-d4k__card,
  .vb-d4p__story,
  .vb-d4p__help > a,
  .vb-d7q__panel,
  .vb-d85__panel,
  .vb-e5x article,
  .vb-e64__contact,
  .vb-e64__document,
  .vb-flt,
  .vb-h4b__card,
  .vb-h4b__specs,
  .vb-h4b__tile,
  .vb-j5d__item,
  .vb-j8v__card,
  .vb-j8v__media,
  .vb-k2c__card,
  .vb-k72__panel,
  .vb-k73__card,
  .vb-k74__cards,
  .vb-k75__panel,
  .vb-m6q__card,
  .vb-m6q__media,
  .vb-o54__address,
  .vb-o54__map-slot,
  .vb-p2f__panel,
  .vb-p4k__card,
  .vb-p6z__card,
  .vb-p83__card,
  .vb-p94__contact,
  .vb-p94__document,
  .vb-pcd__card,
  .vb-q76__panel,
  .vb-q9f__card,
  .vb-q9k__card,
  .vb-q9k__media,
  .vb-r4m__panel,
  .vb-r6m__card,
  .vb-r82__card,
  .vb-s4m__panel,
  .vb-t3c__results,
  .vb-w6m__panel,
  .vb-w6m__media,
  .mws-compare__steps > li,
  .mws-fabrics__card,
  .mws-fabrics__care,
  .mws-questions__panel,
  .mws-size-help__panel,
  :is(.vb-tr1,.vb-tr2,.vb-tr3,.vb-tr4,.vb-tr6,.vb-tr7) :is(.panel,.tile),
  :is(.vb-tw4,.vb-tx7) :is(.card,.panel),
  :is(.vb-z5n,.vb-r6g,.vb-p2c,.vb-o7f) [data-legal-card],
  .t-catalog .t-catalog__card,
  .vb-pgc-root .t762__container,
  .nlm095_910191142997 .t552__blockimg
),
#allrecords #vb-q7m-story :is(.vb-q7m__copy,.vb-q7m__product),
#allrecords #muse-harry-hero .muse-harry-panel,
#allrecords #muse-size-guide :is(.visual,.measure-panel),
#allrecords #rec905670493 .t902__inner-col,
#allrecords :is(#rec782193844,#rec850359032) :is(.t706__cartpage-form-wrapper,.t706__cartpage-info-wrapper),
#allrecords :is(#rec843167587,#rec843171946,#rec843184621,#rec843185165)
  .tn-elem:is([data-elem-id="1734701827341"],[data-elem-id="1734702138915"],[data-elem-id="1734702299908"]) > .tn-atom {
  box-shadow: var(--muse-bento-shadow);
}

/* Keep the lower shadow inside the collection carousel's scrollport. */
#allrecords .vb-k2c__track {
  padding-block-end: 12px;
}

@media (max-width: 760px) {
  #allrecords[data-product-page="y"] .js-catalog-product.t-catalog__product-snippet:not(.vb-pgc-root) > .t-container > div {
    box-shadow: var(--muse-bento-shadow);
  }
}
