/* Только для опции "Размер". Цвета и другие варианты не трогаем */
.t-product__option-item:has(.t-product__option-input[name="Размер"]),
.t-product__option-item_buttons:has(.t-product__option-input[name="Размер"]),
.t-product__option-item_simple:has(.t-product__option-input[name="Размер"]) {
  box-sizing: border-box !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 0 !important;

  border-radius: 24px !important;
  border: 1px solid rgba(0,0,0,.14) !important;
  background: #fff !important;
  padding: 10px 18px !important;

  transition: background-color .18s ease, border-color .18s ease, box-shadow .18s ease !important;
}

.t-product__option-item:has(.t-product__option-input[name="Размер"]):hover,
.t-product__option-item_buttons:has(.t-product__option-input[name="Размер"]):hover,
.t-product__option-item_simple:has(.t-product__option-input[name="Размер"]):hover {
  background: #f3f3f3 !important;
}

.t-product__option-item_active:has(.t-product__option-input[name="Размер"]),
.t-product__option-item_buttons.t-product__option-item_active:has(.t-product__option-input[name="Размер"]),
.t-product__option-item_simple.t-product__option-item_active:has(.t-product__option-input[name="Размер"]),
.t-product__option-item:has(.t-product__option-input[name="Размер"]:checked),
.t-product__option-item_buttons:has(.t-product__option-input[name="Размер"]:checked),
.t-product__option-item_simple:has(.t-product__option-input[name="Размер"]:checked) {
  border-color: #000 !important;
  box-shadow: inset 0 0 0 1px #000 !important;
  background: #fff !important;
}

.t-product__option-item:has(.t-product__option-input[name="Размер"]) .t-product__option-checkmark,
.t-product__option-item_buttons:has(.t-product__option-input[name="Размер"]) .t-product__option-checkmark_buttons,
.t-product__option-item_simple:has(.t-product__option-input[name="Размер"]) .t-product__option-checkmark_simple {
  display: none !important;
}

.t-product__option-item:has(.t-product__option-input[name="Размер"]) .t-product__option-title,
.t-product__option-item_buttons:has(.t-product__option-input[name="Размер"]) .t-product__option-title_buttons,
.t-product__option-item_simple:has(.t-product__option-input[name="Размер"]) .t-product__option-title_simple {
  border: 0 !important;
  box-shadow: none !important;
  background: transparent !important;
  padding: 0 !important;
  margin: 0 !important;
}

.plotno-buycol {
  display: flex !important;
  flex-direction: column !important;
  align-items: stretch !important;
  gap: 8px !important;
}

.plotno-buycol .t-store__prod__btn,
.plotno-buycol .t-store__prod-popup__btn,
.plotno-buycol .js-store-prod-buy-btn,
.plotno-buycol .t-btn,
.plotno-buycol .t-btnflex.t-btnflex_type_button {
  width: 100% !important;
  max-width: 100% !important;
}

.plotno-underbuyline {
  margin-top: 4px !important;
  margin-bottom: 2px !important;
  width: 100% !important;

  display: flex !important;
  flex-wrap: wrap !important;
  justify-content: center !important;
  align-items: center !important;
  gap: 8px !important;

  font-size: 12px !important;
  line-height: 1.3 !important;
  text-align: center !important;
  opacity: .75 !important;
  font-family: "Golos Text", Helvetica, Arial, sans-serif !important;
}

.plotno-underbuyline .plotno-delivery-note,
.plotno-underbuyline .plotno-inline-sep {
  display: inline !important;
  margin: 0 !important;
  padding: 0 !important;
  font: inherit !important;
  color: inherit !important;
}

.plotno-underbuyline .plotno-return-link,
.plotno-underbuyline .plotno-return-link:visited,
.plotno-underbuyline .plotno-return-link:hover,
.plotno-underbuyline .plotno-return-link:active {
  color: inherit !important;
  font: inherit !important;
  text-decoration: none !important;
}

.plotno-underbuyline .plotno-return-link {
  opacity: 1 !important;
  border-bottom: 1px solid rgba(0,0,0,.25);
}

.plotno-underbuyline .plotno-return-link:hover {
  border-bottom-color: rgba(0,0,0,.55);
}

.plotno-sizecheck-link {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;

  margin: 8px 0 8px !important;
  padding: 6px 12px !important;

  background: rgba(0,0,0,.06) !important;
  border: 0 !important;
  border-radius: 999px !important;

  color: #000 !important;
  text-decoration: none !important;

  font-size: 13px !important;
  line-height: 1.2 !important;
  font-family: "Golos Text", Helvetica, Arial, sans-serif !important;

  cursor: pointer !important;
  width: auto !important;
  max-width: 100% !important;
}

.plotno-sizecheck-link:hover {
  background: rgba(0,0,0,.10) !important;
}

.plotno-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.45);
  display: none;
  z-index: 999999;
  align-items: center;
  justify-content: center;
  padding: 16px;
  box-sizing: border-box;
}

.plotno-modal {
  position: relative;
  width: 100%;
  max-width: 560px;
  margin: 0;
  background: #fff;
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0 12px 40px rgba(0,0,0,.2);
  font-family: "Golos Text", Helvetica, Arial, sans-serif;
  max-height: calc(100vh - 32px);
  overflow: auto;
}

.plotno-modal h3 {
  margin: 0 0 24px 0;
  font-size: 16px;
  line-height: 1.2;
  padding-right: 34px;
}

.plotno-x {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 32px;
  height: 32px;
  border-radius: 999px;
  border: 0;
  background: rgba(0,0,0,.06);
  cursor: pointer;
  font-size: 20px;
  line-height: 32px;
  text-align: center;
  font-family: "Golos Text", Helvetica, Arial, sans-serif;
}

.plotno-x:hover {
  background: rgba(0,0,0,.10);
}

.plotno-modal .row {
  display: flex;
  gap: 10px;
  margin: 24px 0;
  flex-wrap: wrap;
}

.plotno-modal .col {
  flex: 1 1 240px;
}

.plotno-modal label {
  font-size: 12px;
  opacity: .75;
  display: block;
  margin-bottom: 8px;
}

.plotno-modal select,
.plotno-modal input {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid rgba(0,0,0,.2);
  border-radius: 12px;
  font-size: 14px;
  box-sizing: border-box;
  font-family: "Golos Text", Helvetica, Arial, sans-serif;
}

.plotno-divider {
  margin: 32px 0 16px;
  padding-top: 24px;
  border-top: 1px solid rgba(0,0,0,.12);
  font-size: 16px;
  line-height: 1.2;
  font-weight: 500;
  opacity: 1;
}

.plotno-modal .row.dims {
  flex-wrap: nowrap;
  margin-top: 16px;
}

.plotno-modal .row.dims .col {
  flex: 1 1 0;
  min-width: 0;
}

.plotno-result {
  margin-top: 24px;
  padding: 12px 14px;
  border-radius: 12px;
  background: rgba(0,0,0,.04);
  font-size: 13px;
  line-height: 1.35;
}

.plotno-result.is-ok {
  background: rgba(0,170,60,.12);
}

.plotno-result.is-bad {
  background: rgba(255,140,0,.14);
}

.plotno-actions {
  display: flex;
  gap: 10px;
  justify-content: flex-end;
  margin-top: 24px;
  flex-wrap: wrap;
}

.plotno-btn {
  border: 0;
  border-radius: 999px;
  padding: 10px 14px;
  cursor: pointer;
  font-size: 14px;
  font-family: "Golos Text", Helvetica, Arial, sans-serif;
}

.plotno-btn.secondary {
  background: rgba(0,0,0,.08);
  color: #000;
}

.plotno-btn.primary {
  background: #000;
  color: #fff;
}

@media (min-width: 521px) {
  .plotno-sizecheck-link {
    margin-top: 4px !important;
    margin-bottom: 8px !important;
  }
}

@media (max-width: 520px) {
  .plotno-modal .row.dims {
    flex-wrap: wrap;
  }

  .plotno-modal .row.dims .col {
    flex: 1 1 140px;
  }

  .plotno-actions {
    width: 100% !important;
    flex-direction: column;
    align-items: stretch;
    box-sizing: border-box !important;
  }

  .plotno-actions .plotno-btn {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    margin: 0 !important;
  }
}

@media (max-width: 980px) {
  body.plotno-has-mobile-stickybuy {
    padding-bottom: var(--plotno-sticky-height, 128px) !important;
  }

  .plotno-mobile-stickybuy {
    position: fixed !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    z-index: 99998 !important;
    overflow: hidden !important;
    margin: 0 !important;

    background: rgba(255,255,255,.78) !important;
    -webkit-backdrop-filter: blur(18px) saturate(140%) !important;
    backdrop-filter: blur(18px) saturate(140%) !important;
    background-clip: padding-box !important;

    border-top: 1px solid rgba(0,0,0,.08) !important;
    box-shadow: 0 -8px 30px rgba(0,0,0,.10) !important;

    border-radius: 18px 18px 0 0 !important;
    padding: 10px 12px calc(10px + env(safe-area-inset-bottom)) !important;
    box-sizing: border-box !important;

    transform: translateZ(0) !important;
    -webkit-transform: translateZ(0) !important;
  }

  .plotno-mobile-stickybuy .t-store__prod__btn,
  .plotno-mobile-stickybuy .t-store__prod-popup__btn,
  .plotno-mobile-stickybuy .js-store-prod-buy-btn,
  .plotno-mobile-stickybuy .t-btn,
  .plotno-mobile-stickybuy .t-btnflex.t-btnflex_type_button {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
  }

  .plotno-mobile-stickybuy .plotno-underbuyline {
    margin-top: 8px !important;
    margin-bottom: 0 !important;
    opacity: 1 !important;
    font-size: 12px !important;
    line-height: 1.35 !important;
  }
}

/* Доставка отдельной строкой; ссылка на возврат ниже. */
.plotno-underbuyline { gap: 5px !important; }
.plotno-underbuyline .plotno-delivery-note {
  display: block !important;
  flex-basis: 100% !important;
}
.plotno-underbuyline .plotno-inline-sep { display: none !important; }

.plotno-shipping-native-hidden { display: none !important; }
.plotno-cart-shipping-summary {
  font-family: "Golos Text", Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.45;
  margin: 20px 0;
  color: #111;
}
.plotno-cart-shipping-summary__row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  margin: 8px 0;
}
.plotno-cart-shipping-summary__row > :last-child { white-space: nowrap; }
.plotno-cart-shipping-summary__total {
  border-top: 1px solid rgba(0,0,0,.1);
  padding-top: 14px;
  margin-top: 14px;
  font-weight: 600;
}

/* Единая гарнитура во всех элементах наших виджетов. */
.plotno-underbuyline, .plotno-underbuyline *,
.plotno-cart-shipping-summary, .plotno-cart-shipping-summary *,
.plotno-sizecheck-link, .plotno-modal, .plotno-modal * {
  font-family: "Golos Text", Helvetica, Arial, sans-serif !important;
}
.plotno-cart-shipping-summary { width: 100%; box-sizing: border-box; }
.plotno-cart-shipping-summary__row > :first-child { min-width: 0; }
@media (max-width: 980px) {
  .plotno-mobile-stickybuy .plotno-underbuyline {
    display: flex !important;
    visibility: visible !important;
    width: 100% !important;
    min-width: 0 !important;
    flex-shrink: 0 !important;
  }
  .plotno-mobile-stickybuy .plotno-delivery-note {
    white-space: normal !important;
    overflow-wrap: anywhere;
  }
  .plotno-cart-shipping-summary { font-size: 14px; }
}

.t706 a.plotno-delivery-support {
    box-sizing: border-box !important;
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 10px !important;
    width: 100% !important;
    min-height: 52px !important;
    margin: 12px 0 18px !important;
    padding: 10px 12px !important;
    border: 1px solid #d5e6f1 !important;
    border-radius: 12px !important;
    background: #f2f8fc !important;
    color: #285f83 !important;
    font-family: "Golos Text", Helvetica, Arial, sans-serif !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    line-height: 1.3 !important;
    text-align: left !important;
    text-decoration: none !important;
    opacity: 1 !important;
    visibility: visible !important;
    transition: background-color .2s ease, border-color .2s ease !important;
  }

  .t706 a.plotno-delivery-support:hover {
    background: #e9f4fa !important;
    border-color: #bfdbea !important;
  }

  .plotno-delivery-support:focus-visible {
    outline: 2px solid #73afd6;
    outline-offset: 2px;
  }

  .plotno-delivery-support__icon-wrap {
    box-sizing: border-box !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex: 0 0 30px !important;
    width: 30px !important;
    height: 30px !important;
    border-radius: 50% !important;
    background: #45a6dc !important;
    color: #fff !important;
  }

  .plotno-delivery-support__icon {
    display: block !important;
    width: 16px !important;
    height: 16px !important;
  }

  @media screen and (max-width: 480px) {
    .t706 a.plotno-delivery-support {
      min-height: 50px !important;
      margin: 10px 0 16px !important;
      padding: 9px 11px !important;
      font-size: 13px !important;
    }
  }