/* Product pages only. Keep desktop thumbnails and native purchase controls. */
.cfr-product-photo-dots { display: none; }
@media (max-width: 700px) {
  .cfr-redesign .product-buttons-wrapper > .fast-order-button { display: none !important; }
  .cfr-redesign .product-top-gallery-wrapper.cfr-photo-dots-ready .product-top-gallery-icons { display: none; }
  .cfr-redesign .cfr-product-photo-dots {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    margin: 0;
    padding: 0;
  }
  .cfr-redesign .cfr-product-photo-dots button {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    min-height: 44px;
    padding: 0;
    border: 0;
    border-radius: 8px;
    background: transparent;
    cursor: pointer;
  }
  .cfr-redesign .cfr-product-photo-dots button::before {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #c8c7d8;
  }
  .cfr-redesign .cfr-product-photo-dots button[aria-pressed="true"]::before { background: #303247; }
  .cfr-redesign .cfr-product-photo-dots button:focus-visible { outline: 2px solid #c52b60; outline-offset: -3px; }
  .cfr-redesign .product-detail { margin-bottom: 0; }
  .cfr-redesign .product-top-gallery-wrapper { margin-bottom: 12px; }
  .cfr-redesign .product-top-gallery-wrapper.cfr-photo-dots-ready { margin-bottom: 0; }
  .cfr-redesign .product-price-block { margin-bottom: 12px; }
  .cfr-redesign .cfr-product-help { margin: 0 0 12px; padding: 4px 12px; gap: 0 16px; }
  .cfr-redesign .product-articul { margin: 12px 0 0; }
  .cfr-redesign .product-notice { margin: 24px 0 0; padding: 16px; }
  .cfr-redesign .product-notice-additional { margin-top: 0; }
  .cfr-redesign .product-composition-title { margin: 0 0 12px; }
  .cfr-redesign .product-composition { margin-bottom: 16px; }
  .cfr-redesign #similar-products { margin-top: 28px; }
  .cfr-redesign #similar-products .catalog-section-title { margin-bottom: 16px; }
  .cfr-redesign #similar-products .catalog-section { align-items: stretch; }
  .cfr-redesign #similar-products .catalog-section-item { align-self: stretch; }
  .cfr-redesign #similar-products .product-card { height: auto; }
  .cfr-redesign #similar-products .catalog-section-item-title { min-height: 0; margin-bottom: 10px; }
  .cfr-redesign #similar-products .catalog-section-item-button { margin-top: auto; }
}

/* Product lower blocks: mixed availability stays in normal row flow. */
.cfr-redesign #similar-products { display: flow-root; }
.cfr-redesign #similar-products .catalog-section { align-items: stretch; grid-auto-rows: auto; overflow: visible; }
.cfr-redesign #similar-products .catalog-section > .catalog-section-item {
  align-self: stretch; height: auto; min-height: 0;
}
.cfr-redesign #similar-products .catalog-section .product-card {
  box-sizing: border-box; flex: 1 1 auto; align-self: stretch; height: auto; min-height: 0;
}
.cfr-redesign #similar-products .product-card > * { flex-shrink: 0; }
.cfr-redesign #similar-products .catalog-section-item-button { position: relative; inset: auto; margin-top: auto; flex-shrink: 0; }
.cfr-redesign #similar-products .cfr-stock-action { box-sizing: border-box; max-width: 100%; min-height: 44px; height: auto; white-space: normal; }
.cfr-redesign #similar-products > .button-wrapper { position: static; clear: both; margin: 20px 0 0; padding: 0; width: 100%; }
.cfr-redesign #similar-products > .button-wrapper .index-button { box-sizing: border-box; max-width: 100%; min-height: 44px; height: auto; padding: 12px 20px; line-height: 1.4; }
/* These are text links, not image tiles. Override inherited item widths too. */
.cfr-redesign .cfr-product-section-nav-title { margin: 32px 0 16px; text-align: left; line-height: 1.25; }
.cfr-redesign .block-links.cfr-product-section-nav { display: grid !important; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 10px 12px; margin: 0 0 32px; align-items: stretch; }
.cfr-redesign .cfr-product-section-nav > .block-links-item { display: flex; width: auto !important; max-width: none; min-width: 0; min-height: 0; height: auto; margin: 0 !important; float: none; }
.cfr-redesign .cfr-product-section-nav > .block-links-item:empty { display: none; }
.cfr-redesign .cfr-product-section-nav > .block-links-item > a,
.cfr-redesign .cfr-product-section-nav > a { display: flex; flex: 1; align-items: center; box-sizing: border-box; width: 100% !important; min-width: 0; min-height: 44px; height: auto; margin: 0 !important; padding: 12px 14px; border: 1px solid #e9e7ed; border-radius: 12px; background: #fff; color: #44425b; font-size: 14px; line-height: 1.4; white-space: normal; word-break: normal; overflow-wrap: anywhere; text-decoration: none; }
/* The inherited global reset uses outline:none!important. Restore only these links. */
.cfr-redesign .cfr-product-section-nav > .block-links-item > a:hover,
.cfr-redesign .cfr-product-section-nav > a:hover,
.cfr-redesign .cfr-product-section-nav > .block-links-item > a:focus-visible,
.cfr-redesign .cfr-product-section-nav > a:focus-visible { border-color: #c52b60; background: #fff5f8; outline: 2px solid #c52b60 !important; outline-offset: 2px; }
@media (max-width: 1000px) {
  .cfr-redesign .block-links.cfr-product-section-nav { grid-template-columns: repeat(3,minmax(0,1fr)); }
}
@media (max-width: 700px) {
  .cfr-redesign .block-links.cfr-product-section-nav { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 8px; }
  .cfr-redesign .cfr-product-section-nav > .block-links-item > a,
  .cfr-redesign .cfr-product-section-nav > a { padding: 10px 12px; font-size: 13px; }
}
