/* SWELLS — визуальная система */

.t-catalog__card-list { justify-content: center; align-items: stretch; }

.t-catalog__card {
  position: relative; display: flex; flex-direction: column; height: 100%;
  background: #ffffff !important; border: 1px solid rgba(37,43,45,.08);
  border-radius: 12px; overflow: hidden;
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
.t-catalog__card:hover { transform: translateY(-2px); border-color: rgba(37,43,45,.16); }

.t-catalog__card__imgwrapper,
.t-catalog__card__imgwrapper_1-1,
.t-catalog__card__imgwrapper_3-4,
.t-catalog__card__imgwrapper_4-3,
.t-catalog__card__imgwrapper_4-5 {
  box-sizing: border-box !important; aspect-ratio: auto !important;
  height: 240px !important; min-height: 240px !important; max-height: 240px !important;
  padding: 16px !important; margin: 0 !important; width: 100% !important; max-width: none !important;
  overflow: hidden !important; position: relative; background: #ffffff !important;
}

.t-catalog__card__bgimg {
  width: 100% !important; height: 100% !important; left: 0 !important; right: 0 !important;
  background-color: #ffffff !important; background-size: contain !important;
  background-position: center center !important; background-repeat: no-repeat !important;
  transition: transform .25s ease;
}
.t-catalog__card:hover .t-catalog__card__bgimg { transform: scale(1.03); }

.t-catalog__card__imgwrapper img,
.t-catalog__card .js-product-img {
  width: 100% !important; height: 100% !important;
  object-fit: contain !important; object-position: center center !important;
  display: block !important; transition: transform .25s ease;
}
.t-catalog__card:hover .t-catalog__card__imgwrapper img,
.t-catalog__card:hover .js-product-img { transform: scale(1.03); }

.t-catalog__card__contentwrapper,
.t-catalog__card__textwrapper {
  background: #ffffff !important; display: flex !important; flex-direction: column !important;
  flex: 1 1 auto !important; padding: 14px 16px 16px !important; box-sizing: border-box;
}

.t-catalog__card__title {
  display: -webkit-box !important; -webkit-box-orient: vertical; -webkit-line-clamp: 3;
  overflow: hidden !important;
  min-height: 4.2em !important; max-height: 4.2em !important;
  font-family: Inter, TildaSans, Arial, sans-serif !important;
  font-size: 14px !important; line-height: 1.4 !important; color: #252b2d !important;
  margin: 0 0 10px !important; overflow-wrap: break-word;
}

.t-catalog__card__descr { display: none !important; }
.t-catalog__card .t-product__option { display: none !important; }

.t-catalog__card__price-wrapper {
  margin-top: auto !important; display: flex !important; flex-direction: column !important;
  align-items: flex-start !important; justify-content: flex-end !important;
  gap: 2px !important; padding-right: 52px !important; min-height: 56px;
}
.t-catalog__card__price-value,
.t-catalog__card__price {
  font-family: Manrope, TildaSans, Arial, sans-serif !important;
  font-size: 18px !important; font-weight: 700 !important; color: #252b2d !important;
}
.t-catalog__card__price_old,
.t-catalog__card__price-old,
.t-catalog__card__price-value_old {
  font-family: Manrope, TildaSans, Arial, sans-serif !important;
  font-size: 13px !important; font-weight: 400 !important; color: #d8d0c1 !important;
  text-decoration: line-through !important; margin: 0 !important;
}

.t-catalog__card__mark-wrapper,
.t-store__card__mark-wrapper {
  position: absolute !important; left: 12px !important; right: auto !important; top: 12px !important;
  z-index: 6 !important; display: block !important; overflow: visible !important;
  height: auto !important; width: auto !important;
}
.t-catalog__card__mark,
.t-store__card__mark {
  display: inline-block !important;
  height: auto !important; min-height: 0 !important; max-height: none !important;
  width: auto !important; max-width: none !important;
  padding: 6px 12px !important; border-radius: 100px !important;
  background: #183449 !important; color: #ffffff !important;
  font-family: Manrope, TildaSans, Arial, sans-serif !important;
  font-size: 10px !important; font-weight: 700 !important;
  line-height: 1.1 !important; letter-spacing: .07em !important; text-transform: uppercase !important;
  white-space: nowrap !important; overflow: visible !important; text-overflow: clip !important;
  box-shadow: none !important;
}

.t-catalog__card__btn-fav,
.t-catalog__card__wishlist {
  position: absolute !important; top: 12px !important; right: 12px !important; z-index: 6 !important;
  width: 30px !important; height: 30px !important; border-radius: 50% !important;
  background: rgba(255,255,255,.92) !important; border: 1px solid rgba(37,43,45,.10) !important;
  display: flex !important; align-items: center !important; justify-content: center !important;
  transition: border-color .2s ease, background-color .2s ease;
}
.t-catalog__card__btn-fav:hover,
.t-catalog__card__wishlist:hover { border-color: #183449 !important; }
.t-catalog__card__btn-fav img,
.t-catalog__card__wishlist img { width: 16px !important; height: 16px !important; object-fit: contain !important; }

@media (max-width: 1100px) {
  .t-catalog__card__imgwrapper,
  .t-catalog__card__imgwrapper_1-1,
  .t-catalog__card__imgwrapper_3-4,
  .t-catalog__card__imgwrapper_4-3,
  .t-catalog__card__imgwrapper_4-5 { height: 200px !important; min-height: 200px !important; max-height: 200px !important; padding: 12px !important; }
  .t-catalog__card__title { font-size: 13px !important; }
  .t-catalog__card__price-value,
  .t-catalog__card__price { font-size: 16px !important; }
  .t-catalog__card__contentwrapper,
  .t-catalog__card__textwrapper { padding: 12px 12px 14px !important; }
  .t-catalog__card__price-wrapper { padding-right: 44px !important; min-height: 48px; }
}

@media (prefers-reduced-motion: reduce) {
  .t-catalog__card,
  .t-catalog__card__bgimg,
  .t-catalog__card__imgwrapper img,
  .t-catalog__card .js-product-img { transition: none !important; }
  .t-catalog__card:hover { transform: none !important; }
  .t-catalog__card:hover .t-catalog__card__bgimg,
  .t-catalog__card:hover .t-catalog__card__imgwrapper img { transform: none !important; }
}

/* ===== ПОДКАТЕГОРИИ — пилюли ===== */
.t-catalog__parts-switch-wrapper,
.swells-parts { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-start; gap: 10px; }
.swells-parts { margin: 0 0 22px; }

.t-catalog__parts-switch-btn,
.t-catalog__parts-above-item .t-catalog__parts-switch-btn,
.swells-parts a {
  display: inline-flex !important; align-items: center !important; box-sizing: border-box !important;
  margin: 0 !important; padding: 8px 14px !important;
  background: #ffffff !important; border: 1px solid rgba(37,43,45,.18) !important;
  border-radius: 110px !important; color: #252b2d !important;
  font-family: Manrope, TildaSans, Arial, sans-serif !important;
  font-size: 13px !important; font-weight: 600 !important; line-height: 1.4 !important;
  letter-spacing: 0 !important; text-decoration: none !important;
  transition: background-color .2s ease, color .2s ease, border-color .2s ease;
}
.t-catalog__parts-switch-btn:hover,
.swells-parts a:hover { background: #f5f2ea !important; border-color: #183449 !important; color: #183449 !important; }
.t-catalog__parts-switch-btn.t-active,
.t-catalog__parts-switch-btn.is-current,
.t-catalog__parts-above-item .t-catalog__parts-switch-btn.t-active,
.swells-parts a.is-current { background: #183449 !important; border-color: #183449 !important; color: #ffffff !important; opacity: 1 !important; }

/* ===== КАТЕГОРИИ: шапка, крошки, поиск, «показать ещё» ===== */
.t-rec:has(.t-catalog__cont-wrapper) .t-title {
  font-family: Manrope, TildaSans, Arial, sans-serif !important;
  font-size: clamp(32px, 4.4vw, 56px) !important;
  font-weight: 800 !important; line-height: 1.02 !important; letter-spacing: -.03em !important;
  color: #252b2d !important; margin: 0 0 16px !important;
}
.t-rec:has(.t-catalog__cont-wrapper) .t-descr {
  font-family: Inter, TildaSans, Arial, sans-serif !important;
  font-size: 16px !important; line-height: 1.65 !important;
  color: rgba(37,43,45,.72) !important; max-width: 65ch !important;
  margin: 0 0 24px !important;
}

.t-catalog__breadcrumbs {
  font-family: Manrope, TildaSans, Arial, sans-serif !important;
  font-size: 11px !important; letter-spacing: .12em !important; text-transform: uppercase !important;
  color: #718078 !important; margin: 0 0 16px !important;
}
.t-catalog__breadcrumbs-item-text { color: #718078 !important; }
.t-catalog__breadcrumbs-item_active .t-catalog__breadcrumbs-item-text,
.t-catalog__breadcrumbs-item_active { color: #252b2d !important; }
.t-catalog__breadcrumbs-divider { opacity: .45 !important; color: #718078 !important; }
.t-catalog__breadcrumbs-item:hover .t-catalog__breadcrumbs-item-text { color: #183449 !important; }

.t-catalog__filter__search { display: none !important; }

.t-catalog__load-more-btn-wrap { width: 100% !important; margin: 36px 0 0 !important; }
.t-catalog__load-more-btn-wrap a,
.t-catalog__load-more-btn-wrap button {
  width: 100% !important; height: 48px !important;
  display: flex !important; align-items: center !important; justify-content: center !important;
  background: #183449 !important; color: #ffffff !important;
  border: 0 !important; border-radius: 100px !important;
  font-family: Manrope, TildaSans, Arial, sans-serif !important;
  font-size: 13px !important; font-weight: 700 !important; letter-spacing: .08em !important;
  text-transform: uppercase !important; box-shadow: none !important;
  transition: background-color .2s ease !important;
}
.t-catalog__load-more-btn-wrap a:hover,
.t-catalog__load-more-btn-wrap button:hover { background: #252b2d !important; }

.t473 { padding-top: 72px !important; padding-bottom: 72px !important; background: #ffffff !important; }
.t473__title {
  font-family: Manrope, TildaSans, Arial, sans-serif !important;
  font-size: 28px !important; font-weight: 700 !important; line-height: 1.2 !important;
  letter-spacing: -.015em !important; color: #252b2d !important; margin: 0 0 14px !important;
}
.t473 .t-descr,
.t473__descr {
  font-family: Inter, TildaSans, Arial, sans-serif !important;
  font-size: 16px !important; line-height: 1.7 !important;
  color: rgba(37,43,45,.72) !important; max-width: 78ch !important;
}

@media (max-width: 1100px) {
  .t-rec:has(.t-catalog__cont-wrapper) .t-title { font-size: 32px !important; }
  .t-rec:has(.t-catalog__cont-wrapper) .t-descr { font-size: 15px !important; margin-bottom: 20px !important; }
  .t473 { padding-top: 48px !important; padding-bottom: 48px !important; }
  .t473__title { font-size: 22px !important; }
}

/* ===== СТРАНИЦА ТОВАРА ===== */
body.t-body:has(.t-catalog__product-snippet) { background: #f5f2ea !important; }

.t-catalog__product-snippet {
  display: block !important;
  max-width: 1320px !important;
  margin: 36px auto 48px !important;
  padding: 48px 56px 56px !important;
  background: #ffffff !important;
  border-radius: 22px !important;
  box-shadow: 0 24px 64px rgba(37,43,45,.08) !important;
  box-sizing: border-box !important;
  overflow: hidden !important;
}

.t-catalog__product-snippet .t-slds,
.t-catalog__product-snippet .t-slds__bgimg {
  border-radius: 16px !important;
  background-color: #f5f2ea !important;
}
.t-catalog__product-snippet .t-slds__bgimg { background-size: contain !important; background-position: center !important; }

.t-catalog__product-snippet .t-catalog__prod-popup__name,
.t-catalog__product-snippet .js-catalog-prod-name {
  font-family: Manrope, TildaSans, Arial, sans-serif !important;
  font-size: clamp(24px, 2.4vw, 34px) !important; font-weight: 800 !important;
  line-height: 1.1 !important; letter-spacing: -.02em !important;
  color: #252b2d !important; margin: 0 0 10px !important;
}

.t-catalog__product-snippet .js-product-brand,
.t-catalog__product-snippet .t-catalog__prod-popup__brand {
  font-family: Manrope, TildaSans, Arial, sans-serif !important;
  font-size: 11px !important; font-weight: 600 !important; letter-spacing: .16em !important;
  text-transform: uppercase !important; color: #718078 !important; margin: 0 0 6px !important;
}

.t-catalog__product-snippet .js-catalog-prod-sku,
.t-catalog__product-snippet .t-catalog__prod-popup__sku {
  font-family: Inter, TildaSans, Arial, sans-serif !important;
  font-size: 12px !important; color: rgba(37,43,45,.45) !important; margin: 0 0 14px !important;
}

.t-catalog__product-snippet .js-product-price,
.t-catalog__product-snippet .t-catalog__prod-popup__price-value {
  font-family: Manrope, TildaSans, Arial, sans-serif !important;
  font-size: 28px !important; font-weight: 800 !important; color: #252b2d !important;
}

.t-catalog__product-snippet .t-catalog__prod-popup__descr,
.t-catalog__product-snippet .js-product-descr,
.t-catalog__product-snippet .t-descr,
.t-catalog__product-snippet .t-text {
  font-family: Inter, TildaSans, Arial, sans-serif !important;
  font-size: 16px !important; line-height: 1.7 !important; color: rgba(37,43,45,.85) !important;
}

.t-catalog__product-snippet .t-catalog__prod-popup__descr a,
.t-catalog__product-snippet .t-text a { color: #183449 !important; }

/* ===== ШАПКА / ВИДЖЕТЫ ===== */
.t706__carticon,
.t706__carticon-text,
.t985__search-widget-button { display: none !important; }

#swlHead,
.swl-drawer {
  --swl-ink: #252b2d; --swl-bg: #ffffff; --swl-lime: #183449;
  --swl-line: rgba(37,43,45,.12); --swl-mute: rgba(37,43,45,.55);
}
.swl-h { background: #ffffff !important; }
#swlHead .swl-logo img { height: 44px !important; }
@media (max-width: 1100px) { #swlHead .swl-logo img { height: 38px !important; } }
.swl-badge { background: #183449 !important; color: #ffffff !important; }
.swl-nav__link::after { background: #183449 !important; }
.swl-qadd { color: #252b2d; box-shadow: 0 4px 14px rgba(37,43,45,.14); }
.swl-qadd:hover { color: #183449; box-shadow: 0 6px 18px rgba(37,43,45,.22); }
#swlQM .swl-qm__btn { background: #183449; }
#swlQM .swl-qm__btn:hover { background: #252b2d; }
#swlQM .swl-qm__chip.is-active { background: #183449; border-color: #183449; }
#swlToast { background: #252b2d; }
#swlToast .swl-t__dot { background: #718078; }
#swlpf { background: #183449 !important; }

/* ===== ГЛАВНАЯ ===== */
#rec5450627701 { background: #183449 !important; padding-top: 96px; padding-bottom: 40px; }
#rec5450627701 .t-title,
#rec5450627701 .t-name,
#rec5450627701 .t-descr,
#rec5450627701 .t-text,
#rec5450627701 h2 { color: #ffffff !important; }
#rec5450627701 .t-catalog__card__title,
#rec5450627701 .t-catalog__card__price,
#rec5450627701 .t-catalog__card__price-value,
#rec5450627701 .js-product-name { color: #252b2d !important; }
#rec5450627701 .t-catalog__card { border-color: transparent; }
#rec5450632501 { background: #183449 !important; }

#swlCollHead { background: #183449; color: #ffffff; padding: 64px 0 48px; }
#swlCollHead .swl-ch__in { max-width: 1360px; margin: 0 auto; padding: 0 32px; }
#swlCollHead .swl-ch__eyebrow { margin: 0 0 14px; font-family: Manrope, TildaSans, Arial, sans-serif; font-size: 12px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: #b9c3bd; }
#swlCollHead h1 { margin: 0 0 14px; font-family: Manrope, TildaSans, Arial, sans-serif; font-size: clamp(30px,4vw,56px); font-weight: 800; line-height: 1.02; letter-spacing: -.03em; text-transform: uppercase; color: #ffffff; }
#swlCollHead p { margin: 0; max-width: 52ch; font-size: 16px; line-height: 1.6; color: rgba(255,255,255,.78); }
@media (max-width: 720px) {
  #swlCollHead { padding: 44px 0 34px; }
  #swlCollHead .swl-ch__in { padding: 0 20px; }
}

#rec2315251391,
#rec2331712341,
#rec2315251411,
#rec2315251471,
#rec2704744401,
#rec3963347401 { display: none !important; }

/* ===== СТАТЬЯ ===== */
body.t-body:has(.t-feed__post-popup),
body.t-body:has(.t-feed__post-popup) .t-body__content { background: #f5f2ea !important; }

.t-feed__post-popup { background: #f5f2ea !important; padding: 40px 0 0 !important; overflow-x: hidden !important; }
.t-feed__post-popup__container,
.t-feed__post-popup__content-wrapper { background: transparent !important; max-width: none !important; padding: 0 !important; }

.t-feed__post-popup__content {
  max-width: 860px !important; margin: 0 auto !important; padding: 56px !important;
  background: #ffffff !important; border-radius: 20px !important;
  box-shadow: 0 24px 64px rgba(37,43,45,.10) !important;
  float: none !important; width: calc(100% - 48px) !important;
  box-sizing: border-box !important; position: relative !important;
}

.t-feed__post-popup__close-wrapper,
.t-feed__post-popup__close-text-wrapper {
  position: fixed !important; top: 16px !important; right: 24px !important; z-index: 9999 !important;
  background: #183449 !important; border-radius: 100px !important;
  padding: 9px 18px !important; display: flex !important; align-items: center !important;
  box-shadow: 0 8px 24px rgba(24,52,73,.25) !important;
}
.t-feed__post-popup__close-text,
.t-feed__post-popup__close-wrapper svg { color: #ffffff !important; fill: #ffffff !important; }
.t-feed__post-popup__close-text { font-family: Manrope, TildaSans, Arial, sans-serif !important; font-size: 11px !important; letter-spacing: .08em !important; text-transform: uppercase !important; }

.t-feed__post-popup__date-parts-wrapper,
.t-feed__post-popup__date-wrapper { margin: 0 0 16px !important; }
.t-feed__post-popup__date { font-family: Manrope, TildaSans, Arial, sans-serif !important; font-size: 11px !important; font-weight: 600 !important; letter-spacing: .16em !important; text-transform: uppercase !important; color: #718078 !important; }

.t-feed__post-popup__title-wrapper { margin: 0 0 30px !important; position: relative !important; }
.t-feed__post-popup__title-wrapper::before {
  content: "Журнал SWELLS"; display: block;
  font-family: Manrope, TildaSans, Arial, sans-serif;
  font-size: 11px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase;
  color: #183449; margin: 0 0 16px; padding-bottom: 16px;
  border-bottom: 1px solid rgba(37,43,45,.12);
}
.t-feed__post-popup__title,
.js-feed-post-title {
  font-family: Manrope, TildaSans, Arial, sans-serif !important;
  font-size: clamp(30px, 4vw, 52px) !important;
  font-weight: 800 !important; line-height: 1.06 !important; letter-spacing: -.03em !important;
  color: #252b2d !important; text-transform: none !important;
  margin: 0 !important; max-width: 22ch !important;
}

.t-feed__post-popup__img-wrapper { margin: 0 -56px 36px !important; border-radius: 0 !important; overflow: hidden !important; }
.t-feed__post-popup__img-wrapper img,
.t-feed__post-popup__img img,
.t-feed__post-popup__content img { border-radius: 0 !important; width: 100% !important; height: auto !important; display: block !important; }

.t-feed__post-popup__text,
.t-feed__post-popup__content .t-text,
.t-feed__post-popup__content .t-descr {
  font-family: Inter, TildaSans, Arial, sans-serif !important;
  font-size: 17px !important; line-height: 1.75 !important;
  color: rgba(37,43,45,.88) !important; margin: 0 0 20px !important;
}
.t-feed__post-popup__content h2,
.t-feed__post-popup__content h3 {
  font-family: Manrope, TildaSans, Arial, sans-serif !important;
  font-weight: 700 !important; letter-spacing: -.015em !important;
  color: #252b2d !important; line-height: 1.2 !important;
  margin: 40px 0 14px !important; padding-left: 18px; border-left: 3px solid #183449;
}
.t-feed__post-popup__content h3 { font-size: 24px !important; }
.t-feed__post-popup__content h2 { font-size: 30px !important; }
.t-feed__post-popup__content ul { margin: 0 0 24px !important; padding-left: 22px !important; }
.t-feed__post-popup__content li {
  font-family: Inter, TildaSans, Arial, sans-serif !important;
  font-size: 17px !important; line-height: 1.7 !important; color: rgba(37,43,45,.88) !important;
  margin: 0 0 8px !important;
}
.t-feed__post-popup__content a { color: #183449 !important; border-bottom: 1px solid rgba(24,52,73,.35); text-decoration: none; }

.t-feed__post-popup__content::after {
  content: "SWELLS — сделано райдерами для райдеров"; display: block;
  margin: 44px 0 0; padding-top: 26px; border-top: 1px solid rgba(37,43,45,.12);
  font-family: Manrope, TildaSans, Arial, sans-serif;
  font-size: 11px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: #718078;
}

@media (max-width: 900px) {
  .t-feed__post-popup { padding-top: 20px !important; }
  .t-feed__post-popup__content { padding: 28px 22px 36px !important; width: calc(100% - 24px) !important; border-radius: 16px !important; }
  .t-feed__post-popup__img-wrapper { margin: 0 -22px 26px !important; }
  .t-feed__post-popup__text,
  .t-feed__post-popup__content .t-text,
  .t-feed__post-popup__content li { font-size: 15px !important; line-height: 1.7 !important; }
  .t-feed__post-popup__content h3 { font-size: 20px !important; margin-top: 30px !important; }
  .t-feed__post-popup__content h2 { font-size: 24px !important; }
  .t-feed__post-popup__close-wrapper,
  .t-feed__post-popup__close-text-wrapper { top: 10px !important; right: 12px !important; padding: 7px 14px !important; }
}
