/* ===================  ГЛОБАЛЬНЫЙ АКЦЕНТ  =================== */
:root{
  --pay-blue:#3671ff;
  --pay-blue-2:#4b8bff;
  --accent-blue:#3B82F6;
  --chip-bg:rgba(255,255,255,.06);
  --chip-text:#ffffff;
}

/* ===================  СПИСОК ТОВАРОВ  =================== */
#rec1252656476 .t951__cont-wrapper{ display:block !important; }
#rec1252656476 .t951__sidebar{ float:none !important; width:100% !important; margin:0 0 10px 0 !important; padding:0 !important; background:transparent !important; }
#rec1252656476 .t951__grid-cont{ clear:both !important; }
#rec1252656476 .t951__cont-w-filter, #rec1252656476 .t951__grid-cont, #rec1252656476 .t-store__grid-cont{
  max-width:500px !important; margin-left:auto !important; margin-right:auto !important;
}
#rec1252656476 .t-store__parts-switch{ display:flex !important; flex-flow:row wrap !important; justify-content:flex-start !important; gap:8px !important; padding:4px 0 !important; overflow:auto hidden !important; -ms-overflow-style:none; scrollbar-width:none; font-family:'Inter',system-ui,-apple-system,Segoe UI,Roboto,Helvetica,Arial,sans-serif !important; }
#rec1252656476 .t-store__parts-switch::-webkit-scrollbar{ display:none; }
#rec1252656476 .t-store__parts-switch-btn{ display:inline-flex !important; flex:0 0 auto !important; width:auto !important; padding:8px 12px !important; border-radius:10px !important; background:rgba(255,255,255,.08) !important; color:#fff !important; font-weight:600 !important; font-size:15px !important; line-height:1 !important; border:none !important; box-shadow:none !important; letter-spacing:.2px; }
#rec1252656476 .t-store__parts-switch-btn.t-active{ background:#fff !important; color:#000 !important; }
#rec1252656476 .t-store__parts-switch-btn.t-active *{ color:#000 !important; fill:#000 !important; stroke:#000 !important; }

#rec1252656476 .t951__grid-cont .t-store__card.t-item{ width:100% !important; max-width:100% !important; float:none !important; padding-left:0 !important; padding-right:0 !important; margin-bottom:5px !important; }
#rec1252656476 .t-store__card.t-item{ position:relative; padding:10px 14px !important; border-radius:12px !important; font-family:'Inter',system-ui,-apple-system,Segoe UI,Roboto,Helvetica,Arial,sans-serif !important; }
#rec1252656476 .t-store__card__imgwrapper{ float:left; width:56px !important; height:56px !important; margin:0 12px 0 0 !important; padding:0 !important; overflow:hidden !important; border-radius:10px !important; }
#rec1252656476 .t-store__card__bgimg, #rec1252656476 .t-store__card__bgimg_second{ width:100% !important; height:100% !important; background-size:cover !important; background-position:center !important; border-radius:10px !important; }
#rec1252656476 .t-store__card__textwrapper{
  margin-left:68px !important; display:grid !important;
  grid-template-columns:1fr auto !important; grid-auto-rows:min-content !important;
  align-items:start !important; column-gap:12px !important; row-gap:4px !important; min-width:0 !important;
}
#rec1252656476 .t-store__card__title{ grid-column:1 !important; grid-row:1 !important; margin:0 !important; line-height:1.2 !important; white-space:nowrap !important; overflow:hidden !important; text-overflow:ellipsis !important; font-size:16px !important; font-weight:700 !important; }
#rec1252656476 .t-store__card__descr{ grid-column:1 !important; grid-row:2 !important; margin:0 !important; color:#9aa0a6 !important; font-size:14px !important; line-height:1.3 !important; }
#rec1252656476 .t-store__card__descr:empty{ display:none !important; }
#rec1252656476 .t-store__card__price-wrapper{ grid-column:2 !important; grid-row:1 !important; align-self:start !important; display:inline-flex !important; align-items:center; padding:4px 10px !important; border-radius:9999px !important; background:rgba(255,255,255,.06) !important; white-space:nowrap; margin:0 !important; }
#rec1252656476 .t-store__card__price-wrapper::before{ content:'от '; margin-right:4px; color:var(--accent-blue) !important; font-weight:600 !important; }
#rec1252656476 .t-store__card__price, #rec1252656476 .t-store__card__price .t-store__card__price-currency, #rec1252656476 .t-store__card__price-value{ color:var(--accent-blue) !important; font-size:16px !important; font-weight:600 !important; }
#rec1252656476 .t-store__card__price_old{ color:#6b7280 !important; font-size:14px !important; margin-left:6px !important; }
#rec1252656476 .t-store__card__price_old:empty{ display:none !important; }
#rec1252656476 .t-store__card__price-wrapper:has(.js-store-prod-price-val:empty){ display:none !important; }
#rec1252656476 .t-store__card__textwrapper:has(.js-store-prod-price-val:empty)::after{ content:'ОТКРЫТЬ'; grid-column:2; grid-row:1; justify-self:end; padding:4px 10px; border-radius:9999px; background:rgba(255,255,255,.06); color:#fff; font-weight:600; }
#rec1252656476 .t-store__card.t-item::after{ content:""; display:block; clear:both; }
@media (max-width:640px){
  #rec1252656476 .t-store__card__imgwrapper{ width:52px !important; height:52px !important; margin-right:10px !important; }
  #rec1252656476 .t-store__card__textwrapper{ margin-left:62px !important; column-gap:10px !important; }
}

/* ===================  ПОПАП/СТРАНИЦА — МИНИ-ПРЕВЬЮ У НАЗВАНИЯ  =================== */
.t-store__prod-popup__title-wrapper.gpt-titleline,
.t-store__prod-title-wrapper.gpt-titleline,
.t-store__prod__title.gpt-titleline,
.t-store__prod-title.gpt-titleline{ display:flex; align-items:center; gap:12px; }

.gpt-top-thumb{
  width:54px; height:54px; border-radius:12px;
  background-size:cover; background-position:center; flex:0 0 54px;
}

/* ===================  ЦЕНЫ/ВАЛЮТА  =================== */
.t-store__prod-popup__price-currency,
.t-store__card__price-currency,
.js-store-prod-price-currency{ display:none !important; }
.gpt-scanning .t-store__prod-popup__price-wrapper{ visibility:hidden; }

/* ===================  ВАРИАНТЫ (радио-чипы)  =================== */
.t-product__option-input_radio{ position:absolute !important; opacity:0 !important; pointer-events:none !important; }
.t-product__option-variants_radio .t-product__option-item_radio{
  display:flex; align-items:center; gap:12px;
  padding:12px 14px; margin:8px 0;
  border-radius:12px;
  background:rgba(255,255,255,.06);
  color:#fff;
  cursor:pointer; user-select:none;
  transition:background .15s ease, box-shadow .15s ease, transform .06s ease;
  font-family:'Inter',system-ui,-apple-system,Segoe UI,Roboto,Helvetica,Arial,sans-serif;
}
.t-product__option-variants_radio .t-product__option-item_radio:hover{ transform:translateY(-1px); }
.t-product__option-variants_radio .t-product__option-item_active{
  background:rgba(255,255,255,.12);
  box-shadow:0 0 0 2px var(--accent-blue);
  color:#fff;
}
.t-product__option-checkmark_image{
  width:42px; height:42px; border-radius:10px; flex:0 0 42px;
  background-size:cover !important; background-position:center !important;
}
.t-product__option-title_radio{
  font-weight:700; font-size:14px; line-height:1.2;
  margin-right:8px;
}
.gpt-price-hint{
  margin-left:auto;
  padding:4px 10px; border-radius:9999px;
  background:rgba(255,255,255,.10);
  font-weight:700; font-size:14px; line-height:1; white-space:nowrap;
}

/* ===================  КНОПКА ОПЛАТЫ  =================== */
.t-store__prod-popup .t-store__prod-popup__btn-wrapper .t-store__btn,
.t-store__prod .t-store__prod__btn .t-store__btn,
.t-store__prod-popup__btn,
.t-store__prod__btn{
  width:100%; height:56px; border-radius:14px; font-weight:800; font-size:16px; letter-spacing:.2px;
  background:linear-gradient(180deg, var(--pay-blue-2), var(--pay-blue)) !important;
  color:#fff !important; border:0 !important;
  box-shadow:0 10px 30px rgba(54,113,255,.35), inset 0 -2px 0 rgba(255,255,255,.2) !important;
  transition:transform .06s ease, box-shadow .15s ease;
  display:flex; align-items:center; justify-content:center;
}
.t-store__prod-popup .t-store__prod-popup__btn-wrapper .t-store__btn:hover,
.t-store__prod .t-store__prod__btn .t-store__btn:hover,
.t-store__prod-popup__btn:hover,
.t-store__prod__btn:hover{
  transform:translateY(-1px);
  box-shadow:0 14px 40px rgba(54,113,255,.45), inset 0 -2px 0 rgba(255,255,255,.25) !important;
}
.t-store__prod-popup .t-store__prod-popup__btn-wrapper .t-store__btn:active,
.t-store__prod .t-store__prod__btn .t-store__btn:active,
.t-store__prod-popup__btn:active,
.t-store__prod__btn:active{ transform:translateY(0); }
.t-store__prod-popup__btn .t-btnflex__text{ color:#fff !important; }

/* ===================  УБРАТЬ БОЛЬШУЮ КАРТИНКУ (и в попапе, и на странице)  =================== */
.t-store__prod-popup__col-left,
.t-store__prod-popup__img,
.t-store__prod-popup__imgwrapper,
.t-store__prod__img-wrapper,
.t-store__prod__img{ display:none !important; }

/* ===================  МИНИ-ПОПАП КОНТАКТОВ (поверх всего)  =================== */
#gpt-pay-overlay{
  position:fixed; inset:0; display:block; opacity:0; pointer-events:none; transition:opacity .15s ease;
  z-index:2147483647;  /* выше любых попапов Тильды */
}
#gpt-pay-overlay.show{ opacity:1; pointer-events:auto; }
#gpt-pay-overlay .gpt-pay-backdrop{ position:absolute; inset:0; background:rgba(0,0,0,.6); }
#gpt-pay-overlay .gpt-pay-modal{
  position:absolute; left:50%; top:50%; transform:translate(-50%,-50%);
  width:min(520px, 92vw); padding:22px; border-radius:16px; background:#0f1220; color:#fff;
  box-shadow:0 20px 60px rgba(0,0,0,.45), 0 0 0 1px rgba(255,255,255,.06) inset;
  font-family:'Inter',system-ui,-apple-system,Segoe UI,Roboto,Helvetica,Arial,sans-serif;
}
.gpt-pay-title{ font-size:18px; font-weight:800; margin-bottom:16px; line-height:1.35; }
.gpt-pay-actions{ display:flex; gap:10px; flex-wrap:wrap; }
.gpt-pay-btn{
  flex:1 1 120px; display:flex; align-items:center; justify-content:center;
  height:48px; border-radius:12px; text-decoration:none; font-weight:800; font-size:15px;
  background:#1f243a; color:#fff; transition:transform .06s ease, box-shadow .15s ease, background .15s ease;
  box-shadow:0 10px 30px rgba(0,0,0,.25);
}
.gpt-pay-btn:hover{ transform:translateY(-1px); box-shadow:0 14px 40px rgba(0,0,0,.35); }
.gpt-vk{ background:#2787f5; }
.gpt-tg{ background:#2aabee; }
.gpt-wa{ background:#25d366; color:#0d2b12; }
.gpt-pay-close{
  position:absolute; right:10px; top:6px; width:36px; height:36px; border-radius:10px; border:none;
  background:rgba(255,255,255,.08); color:#fff; font-size:22px; line-height:1; cursor:pointer;
}