/* ================= ОБЩИЕ ЦВЕТА ================= */
.tlk-userbar__popup,
.tlk-popup__container,
.t-product__option-item,
.t-product__option-item.t-product__option-item_active,
.t-product__option-item.t-product__option-item_disabled,
.t706__cartpage-top {
    background-color: #F0ECE4 !important;
}

/* ================= ОБЩИЕ ОТСТУПЫ ================= */
html, body {
    margin: 0 !important;
    padding: 0 !important;
}
.t-records {
    padding-top: 0 !important;
}
.t-rec:first-child {
    margin-top: 0 !important;
}
.t-rec:first-child .t-container {
    padding-top: 0 !important;
}
.t228__positionfixed + .t-records {
    padding-top: 0 !important;
}

/* ================= СКРЫВАЕМ СЛУЖЕБНЫЕ БЛОКИ ================= */
.tlk-resources__empty-image,
.tlk-resources__empty-text,
.tmst-error-content,
.tmst-breadcrumbs__wrap {
    display: none !important;
}

/* ================= КНОПКИ ВЫБОРА РАЗМЕРА ================= */
.t-product__option-item {
    display: flex !important;
    align-items: center;
    justify-content: center;
    height: 34px;
    border: 1px solid #d8d1c6;
    border-radius: 0 !important;
    font-size: 16px;
    letter-spacing: .02em;
    text-transform: uppercase;
    transition: .2s ease;
    cursor: pointer;
    margin: 4px;
}
.t-product__option-checkmark,
.t-product__option-title {
    background: transparent !important;
}
.t-product__option-item.t-product__option-item_active {
    border: 1px solid #1a1a1a !important;
    border-radius: 0 !important;
}
.t-product__option-item:hover {
    transform: translateY(-1px);
}
.t-product__option-item_buttons {
    flex: 1 1 auto;
}
.t-product__option-item.t-product__option-item_disabled {
    color: #93918B !important;
    border-color: #93918B !important;
    text-decoration: line-through;
    text-decoration-thickness: 2px;
    cursor: not-allowed !important;
    pointer-events: none !important;
}

/* ================= SOLD OUT ================= */
.t-store__card__sold-out-msg {
    display: none !important;
}

/* ================= FIX ДЛЯ hb-link ================= */
.hb-link,
.hb-link:link,
.hb-link:visited {
    text-decoration: none !important;
    border-bottom: none !important;
    box-shadow: none !important;
    position: relative;
    color: #111 !important;
}
.hb-link::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    height: 1px !important;
    width: 100%;
    background: currentColor !important;
    transform: scaleX(1);
    transform-origin: right;
    transition: transform .35s ease;
}
.hb-link:hover::after,
.hb-link:focus-visible::after {
    transform: scaleX(0);
}

/* ================= ЛОГАУТ ИКОНКА ================= */
.tlk-userbar__popup-logout svg path {
    fill: #000000 !important;
}
.tlk-userbar__popup-store-item:nth-child(3) {
    display: none !important;
}
.tmst-status[title="Оплачено"] { 
  background-color: #000000 !important; 
  color: #FFFFFF !important; 
}
.tmst-button_secondary { 
  background-color: #000000 !important; 
  color: #FFFFFF !important;
  border: #ffffff solid 1px !important;
}

/* ================= РАЗМЕР + АРТИКУЛ (ТОЛЬКО МОБИЛЬНЫЕ) ================= */
@media (max-width:1024px){
  .hb-size-sku{
    display:flex; gap:16px; align-items:flex-start; width:100%;
    margin:16px 0 8px;
  }
  .hb-size-sku > .hb-col{ flex:1 1 0; min-width:0; }
  .hb-size-sku .hb-label{
    font-size:12px; line-height:1.2; letter-spacing:.02em;
    color:#000; opacity:.8; margin-bottom:6px;
  }
  .hb-sku__val{
    font-size:14px; line-height:1.35; color:#000;
    border:1px solid #000; padding:10px 12px;
  }
  .hb-size-sku .t-product__option-title{ display:none !important; }
  .hb-size-sku .t-product__option-variants,
  .hb-size-sku .t-product__option-item_buttons{ width:100% !important; }
}

/* === РАЗМЕР + ЦВЕТ в одну строку (только для rec1389299451, мобайл) === */
@media (max-width:1024px){
  #rec1389299451 .js-store-prod-controls-wrapper .t-store__prod-popup__options,
  #rec1389299451 .js-store-prod-controls-wrapper .t-product__options{
    display:flex !important;
    flex-wrap:nowrap !important;
    align-items:flex-end !important;
    gap:12px !important;
  }

  #rec1389299451 .js-store-prod-controls-wrapper .t-product__option:nth-of-type(1),
  #rec1389299451 .js-store-prod-controls-wrapper .t-product__option:nth-of-type(2){
    flex:1 1 50% !important;
    min-width:0 !important;
    margin:0 !important;
  }

  #rec1389299451 .t-product__option-variants,
  #rec1389299451 .t-product__option-item_buttons{
    width:100% !important;
  }

  #rec1389299451 .t-product__option-title{
    font-size:12px !important;
    margin-bottom:6px !important;
    color:#000 !important;
    opacity:.85 !important;
  }

  #rec1389299451 .t-product__option-item{
    width:100% !important;
    border-radius:0 !important;
    padding:10px 0 !important;
    margin:0 !important;
  }
}