@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;1,300;1,400&family=Manrope:wght@300;400;500;700;800&display=swap');

/* БАЗОВЫЙ ФИКС */
html { max-width:100% !important; overflow-x:hidden !important; -webkit-text-size-adjust:100% !important; }
body { max-width:100% !important; overflow-x:hidden !important; width:100% !important; }

/* ТИЛЬДА — контейнеры */
.t-body,.t-section,.t-container,.t-container_10,.t-container_8,
.t-width,.t-width_brk,.t-col,.t-cell { max-width:100% !important; box-sizing:border-box !important; }

/* Убираем padding Тильды вокруг T123 */
.t-container_100, .t-width_100 { padding:0 !important; margin:0 !important; }

/* Скрываем старый блок tz-b3 если остался */
#tz-b3 { display:none !important; }

/* ИЗОБРАЖЕНИЯ */
.t-section img, .t-container img { height:auto !important; }

/* СЛАЙДЕР ГЕРОЯ */
.tz-hero__slide img {
  width:100% !important; height:100% !important;
  max-width:none !important; max-height:none !important;
  object-fit:cover !important; object-position:center center !important;
}

/* ЛОГОТИП ГЕРОЯ */
.tz-hero__logo img {
  height:40px !important; width:auto !important;
  max-width:none !important; max-height:none !important;
}

/* ФОТО В КАРТОЧКАХ КОЛЛЕКЦИЙ */
.tz-photo img {
  width:100% !important; height:100% !important;
  max-width:none !important; max-height:none !important;
  object-fit:cover !important; object-position:center top !important;
}

/* БЕЙДЖИК — скрыть */
.t-badge { display:none !important; }

/* ════════════════════════════════════════
   КАТАЛОГ
   ════════════════════════════════════════ */
.uc-tz-store-catalog { overflow:hidden !important; width:100% !important; background:#0a0a0a !important; }
.uc-tz-store-catalog .t-store,
.uc-tz-store-catalog .t-store__mainblock,
.uc-tz-store-catalog .t-container { background:#0a0a0a !important; overflow:visible !important; }

.uc-tz-store-catalog .t-store__card-list {
  display:flex !important; flex-wrap:wrap !important;
  gap:20px !important;
  max-width:1280px !important;
  margin:0 auto !important;
  padding:32px 32px 80px 32px !important;
  width:100% !important; box-sizing:border-box !important;
  float:none !important; height:auto !important;
  justify-content:flex-start !important;
}

/* Убиваем разделители */
.uc-tz-store-catalog .t-clear,
.uc-tz-store-catalog .t-store__grid-separator { display:none !important; width:0 !important; height:0 !important; }
.uc-tz-store-catalog .js-store-grid-cont-preloader { display:none !important; }

/* Убираем пустые карточки */
.uc-tz-store-catalog .t-store__card:not([data-product-uid]) { display:none !important; }

/* КАРТОЧКИ */
.uc-tz-store-catalog .t-store__card {
  width:calc(25% - 15px) !important;
  max-width:none !important; min-width:0 !important;
  float:none !important; padding:0 !important; margin:0 !important;
  flex-shrink:0 !important; box-sizing:border-box !important;
  background:linear-gradient(160deg,#1a1a1a 0%,#111 100%) !important;
  border:1px solid rgba(200,166,75,0.2) !important;
  border-radius:20px !important; overflow:hidden !important;
  position:relative !important; display:flex !important;
  flex-direction:column !important;
  transition:transform 0.35s ease,border-color 0.35s ease,box-shadow 0.35s ease !important;
  box-shadow:0 6px 24px rgba(0,0,0,0.5) !important;
}
.uc-tz-store-catalog .t-store__card::after {
  content:''; position:absolute; inset:0; border-radius:20px;
  border:1px solid rgba(200,166,75,0.06); pointer-events:none; z-index:1;
}
.uc-tz-store-catalog .t-store__card:hover {
  transform:translateY(-6px) !important;
  border-color:rgba(200,166,75,0.5) !important;
  box-shadow:0 20px 50px rgba(0,0,0,0.65) !important;
}
.uc-tz-store-catalog .t-store__card.tz-hidden { display:none !important; }

/* ФОТО */
.uc-tz-store-catalog .t-store__card__imgwrapper {
  margin:10px 10px 0 !important;
  border-radius:14px !important; overflow:hidden !important;
  position:relative !important;
  padding-bottom:130% !important;
  height:0 !important; flex-shrink:0 !important;
  background:#1c1c1c !important;
}
.uc-tz-store-catalog .t-store__card__imgwrapper img,
.uc-tz-store-catalog .t-store__card__imgwrapper .t-store__card__bgimg {
  position:absolute !important; top:0 !important; left:0 !important;
  width:100% !important; height:100% !important;
  max-width:none !important; max-height:none !important;
  object-fit:cover !important; object-position:center top !important;
  display:block !important;
}
.uc-tz-store-catalog .t-store__card__imgwrapper img:nth-child(2),
.uc-tz-store-catalog .t-img-second { display:none !important; }

/* НАЗВАНИЕ */
.uc-tz-store-catalog .t-store__card__title,
.uc-tz-store-catalog .t-store__card__title a {
  font-family:'Cormorant Garamond',serif !important;
  font-size:19px !important; font-weight:500 !important;
  color:#fff !important; text-align:center !important;
  text-decoration:none !important;
  margin:14px 12px 4px !important;
  line-height:1.25 !important; display:block !important;
}

/* ОПИСАНИЕ */
.uc-tz-store-catalog .t-store__card__descr {
  font-family:'Manrope',sans-serif !important;
  font-size:10px !important; color:rgba(255,255,255,0.35) !important;
  text-align:center !important; margin:0 12px 6px !important; line-height:1.5 !important;
}

/* ЦЕНА */
.uc-tz-store-catalog .t-store__card__price-wrapper { text-align:center !important; margin:4px 12px 10px !important; }
.uc-tz-store-catalog .t-store__card__price,
.uc-tz-store-catalog .t-store__card__price-item {
  font-family:'Manrope',sans-serif !important;
  font-size:20px !important; font-weight:800 !important; color:#C8A64B !important;
}
.uc-tz-store-catalog .t-store__card__price-item_old {
  font-size:13px !important; color:rgba(255,255,255,0.2) !important; text-decoration:line-through !important;
}

/* Штатные кнопки — скрываем */
.uc-tz-store-catalog .t-store__card__btn,
.uc-tz-store-catalog .t-store__card__btn-wrapper,
.uc-tz-store-catalog .js-store-product-button-addtocart { display:none !important; }

/* НАШИ КНОПКИ */
.tz-card-buttons { display:flex; gap:8px; margin:auto 12px 14px; padding-top:8px; }
.tz-card-btn-main, .tz-card-btn-sec {
  flex:1; border-radius:999px; padding:10px 4px;
  font-family:'Manrope',sans-serif; font-size:11px; font-weight:700;
  text-align:center; cursor:pointer; transition:all 0.25s;
  display:flex; align-items:center; justify-content:center;
  text-decoration:none; border:none; outline:none;
}
.tz-card-btn-main {
  background:linear-gradient(135deg,#C8A64B,#a8893d);
  color:#000 !important; box-shadow:0 4px 14px rgba(200,166,75,0.3);
}
.tz-card-btn-main:hover { color:#000 !important; }
.tz-card-btn-sec { background:transparent; color:#C8A64B; border:1px solid rgba(200,166,75,0.35) !important; }
.tz-card-btn-sec:hover { background:rgba(200,166,75,0.08); }

/* БЕЙДЖ */
.tz-col-badge {
  position:absolute; top:12px; left:12px; z-index:10;
  background:rgba(0,0,0,0.75); border:1px solid rgba(200,166,75,0.45);
  backdrop-filter:blur(8px); border-radius:999px;
  padding:3px 10px; font-family:'Manrope',sans-serif;
  font-size:9px; font-weight:700; letter-spacing:1.5px; text-transform:uppercase;
  color:#C8A64B; pointer-events:none;
}

/* SPECS */
.tz-card-specs {
  font-family:'Manrope',sans-serif; font-size:9px; font-weight:700;
  letter-spacing:1.6px; text-transform:uppercase;
  color:rgba(200,166,75,0.5); text-align:center; margin:0 12px 6px;
}

/* ════════════════════════════════════════
   ПОПАП
   ════════════════════════════════════════ */
.t-store__prod-popup { background:#0a0a0a !important; }
.t-store__prod-popup__container {
  background:linear-gradient(160deg,#141414 0%,#0d0d0d 100%) !important;
  border:1px solid rgba(200,166,75,0.2) !important;
  border-radius:20px !important;
  box-shadow:0 40px 100px rgba(0,0,0,0.8) !important;
}
.t-store__prod-popup__imgwrapper {
  border-radius:14px !important; overflow:hidden !important;
  border:1px solid rgba(200,166,75,0.1) !important;
}
.t-store__prod-popup__name {
  font-family:'Cormorant Garamond',serif !important;
  font-size:32px !important; font-weight:400 !important;
  color:#fff !important; line-height:1.2 !important;
}
.t-store__prod-popup__descr p, .t-store__prod-popup__descr {
  font-family:'Manrope',sans-serif !important;
  font-size:13px !important; color:rgba(255,255,255,0.55) !important; line-height:1.7 !important;
}
.t-store__prod-popup__price {
  font-family:'Manrope',sans-serif !important;
  font-size:26px !important; font-weight:800 !important; color:#C8A64B !important;
}
.t-store__prod-popup__price-old { color:rgba(255,255,255,0.25) !important; text-decoration:line-through !important; }
.t-store__prod-popup__btn-wrap .t-submit,
.t-store__prod-popup__btn {
  background:linear-gradient(135deg,#C8A64B,#a8893d) !important;
  color:#000 !important; border:none !important; border-radius:999px !important;
  font-family:'Manrope',sans-serif !important; font-weight:700 !important;
  font-size:13px !important; letter-spacing:1px !important;
  box-shadow:0 8px 24px rgba(200,166,75,0.35) !important;
}
.t-store__prod-popup__close { color:rgba(255,255,255,0.4) !important; }
.t-store__prod-popup__close:hover { color:#C8A64B !important; }

/* ════════════════════════════════════════
   АДАПТИВ
   ════════════════════════════════════════ */
@media (max-width:1279px) {
  .uc-tz-store-catalog .t-store__card { width:calc(33.33% - 14px) !important; }
}
@media (max-width:1023px) {
  .uc-tz-store-catalog .t-store__card { width:calc(50% - 10px) !important; }
  .uc-tz-store-catalog .t-store__card-list { gap:16px !important; padding:20px !important; }
  .tz-grid { grid-template-columns:repeat(2,1fr) !important; }
  .tz-photos { height:300px !important; }
}
@media (max-width:767px) {
  .uc-tz-store-catalog .t-store__card { width:calc(50% - 8px) !important; }
  .uc-tz-store-catalog .t-store__card-list { gap:12px !important; padding:14px !important; }
  .tz-grid { grid-template-columns:1fr !important; }
  .tz-photos { height:260px !important; }
}
@media (max-width:479px) {
  .tz-col-name { font-size:22px !important; }
  .tz-col-desc { display:none !important; }
  .uc-tz-store-catalog .t-store__card__title,
  .uc-tz-store-catalog .t-store__card__title a { font-size:14px !important; margin:10px 8px 3px !important; }
  .uc-tz-store-catalog .t-store__card__price,
  .uc-tz-store-catalog .t-store__card__price-item { font-size:15px !important; }
  .tz-card-buttons { gap:6px !important; margin:auto 8px 10px !important; }
  .tz-card-btn-main,.tz-card-btn-sec { font-size:10px !important; padding:8px 4px !important; }
}