/* theme_mods_themify-ultra-child : shop_add_to_cart_button_border */
{"top":{"color":"","opacity":"","style":"","width":""},"left":{"color":"","opacity":"","style":"","width":""},"bottom":{"color":"","opacity":"","style":"","width":""},"right":{"color":"","opacity":"","style":"","width":""},"style":"none","same":"same"}
/* theme_mods_themify-ultra-child : customcss */
/*
 * Адаптивный каталог продукции clock812.ru
 * Версия 1.0 — 30.07.2026
 * Все правила изолированы классом .c812-catalog.
 */

.c812-catalog,
.c812-catalog * {
  box-sizing: border-box;
}

.c812-catalog {
  --c812-blue: #075a94;
  --c812-blue-dark: #073a61;
  --c812-blue-soft: #e9f3f9;
  --c812-red: #d9312b;
  --c812-red-dark: #a91f1a;
  --c812-gold: #d19a2a;
  --c812-ink: #102435;
  --c812-muted: #5d6d79;
  --c812-line: #d9e4ec;
  --c812-white: #ffffff;
  position: relative;
  isolation: isolate;
  width: 100%;
  max-width: 1672px;
  margin: 0 auto;
  padding: clamp(32px, 4.4vw, 72px) clamp(18px, 3.6vw, 60px);
  overflow: hidden;
  color: var(--c812-ink);
  font-family: Montserrat, Arial, Helvetica, sans-serif;
  background:
    radial-gradient(circle at 10% 12%, rgba(7, 90, 148, 0.12), transparent 24%),
    radial-gradient(circle at 92% 88%, rgba(217, 49, 43, 0.08), transparent 25%),
    linear-gradient(145deg, #f3f8fb 0%, #ffffff 48%, #f6f9fb 100%);
  border: 1px solid #e0e9ef;
  border-radius: 32px;
}

.c812-catalog::before,
.c812-catalog::after {
  position: absolute;
  z-index: -1;
  width: 300px;
  height: 300px;
  content: "";
  border: 1px solid rgba(7, 90, 148, 0.12);
  border-radius: 50%;
}

.c812-catalog::before {
  top: -205px;
  right: 11%;
}

.c812-catalog::after {
  bottom: -230px;
  left: 7%;
  width: 380px;
  height: 380px;
  border-color: rgba(217, 49, 43, 0.1);
}

.c812-catalog__header {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 28px;
  align-items: end;
  max-width: 1420px;
  margin: 0 auto clamp(28px, 3vw, 46px);
}

.c812-catalog__eyebrow {
  display: inline-flex;
  gap: 10px;
  align-items: center;
  margin: 0 0 10px;
  color: var(--c812-red-dark);
  font-size: 12px;
  font-weight: 800;
  line-height: 1.3;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.c812-catalog__eyebrow::before {
  width: 32px;
  height: 3px;
  content: "";
  background: var(--c812-red);
  border-radius: 99px;
}

.c812-catalog__title {
  max-width: 980px;
  margin: 0;
  color: var(--c812-blue-dark);
  font-size: clamp(32px, 4.1vw, 68px);
  font-weight: 800;
  line-height: 0.98;
  letter-spacing: -0.045em;
}

.c812-catalog__intro {
  max-width: 760px;
  margin: 18px 0 0;
  color: var(--c812-muted);
  font-size: clamp(15px, 1.25vw, 19px);
  line-height: 1.6;
}

.c812-catalog__all-link {
  display: inline-flex;
  gap: 13px;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 13px 21px;
  color: var(--c812-white) !important;
  font-size: 14px;
  font-weight: 750;
  line-height: 1.2;
  text-decoration: none !important;
  white-space: nowrap;
  background: var(--c812-blue);
  border: 1px solid var(--c812-blue);
  border-radius: 999px;
  box-shadow: 0 10px 24px rgba(7, 90, 148, 0.18);
  transition: color 180ms ease, background 180ms ease, transform 180ms ease,
    box-shadow 180ms ease;
}

.c812-catalog__all-link:hover {
  color: var(--c812-blue-dark) !important;
  background: var(--c812-white);
  box-shadow: 0 12px 28px rgba(7, 90, 148, 0.14);
  transform: translateY(-2px);
}

.c812-catalog__arrow {
  display: inline-block;
  font-size: 20px;
  line-height: 1;
  transition: transform 180ms ease;
}

.c812-catalog a:hover .c812-catalog__arrow {
  transform: translateX(4px);
}

.c812-catalog__groups {
  display: grid;
  grid-template-columns: 1.08fr 1fr 0.78fr;
  gap: clamp(14px, 1.5vw, 24px);
  max-width: 1540px;
  margin: 0 auto;
}

.c812-group {
  position: relative;
  display: flex;
  min-width: 0;
  min-height: 100%;
  flex-direction: column;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid var(--c812-line);
  border-radius: 24px;
  box-shadow: 0 18px 46px rgba(25, 58, 82, 0.09);
}

.c812-group::before {
  display: block;
  width: 100%;
  height: 6px;
  flex: 0 0 auto;
  content: "";
  background: var(--c812-blue);
}

.c812-group--electronic::before {
  background: var(--c812-red);
}

.c812-group--quartz::before {
  background: var(--c812-gold);
}

.c812-group__heading-link {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 16px;
  align-items: center;
  min-height: 108px;
  padding: 23px clamp(18px, 2vw, 30px) 22px;
  color: var(--c812-blue-dark) !important;
  text-decoration: none !important;
  border-bottom: 1px solid var(--c812-line);
  transition: background 180ms ease, color 180ms ease;
}

.c812-group--electronic .c812-group__heading-link {
  color: #861d1a !important;
}

.c812-group--quartz .c812-group__heading-link {
  color: #6d4b08 !important;
}

.c812-group__heading-link:hover {
  background: var(--c812-blue-soft);
}

.c812-group--electronic .c812-group__heading-link:hover {
  background: #fff1f0;
}

.c812-group--quartz .c812-group__heading-link:hover {
  background: #fff7e6;
}

.c812-group__heading {
  margin: 0;
  font-size: clamp(20px, 1.6vw, 27px);
  font-weight: 800;
  line-height: 1.16;
  letter-spacing: -0.025em;
}

.c812-group__heading-note {
  display: block;
  margin-top: 7px;
  color: var(--c812-muted);
  font-size: 12px;
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: 0.02em;
}

.c812-group__heading-link .c812-catalog__arrow {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  color: var(--c812-white);
  background: var(--c812-blue);
  border-radius: 50%;
}

.c812-group--electronic .c812-group__heading-link .c812-catalog__arrow {
  background: var(--c812-red);
}

.c812-group--quartz .c812-group__heading-link .c812-catalog__arrow {
  background: var(--c812-gold);
}

.c812-products {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 16px;
  list-style: none;
}

.c812-products__item {
  min-width: 0;
  margin: 0;
  padding: 0;
}

.c812-product {
  display: grid;
  grid-template-columns: minmax(92px, 34%) minmax(0, 1fr);
  gap: 15px;
  align-items: center;
  min-height: 124px;
  padding: 10px 16px 10px 10px;
  overflow: hidden;
  color: var(--c812-ink) !important;
  text-decoration: none !important;
  background: #fbfdfe;
  border: 1px solid #e3ebf0;
  border-radius: 17px;
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.c812-product:hover {
  color: var(--c812-blue-dark) !important;
  border-color: rgba(7, 90, 148, 0.4);
  box-shadow: 0 10px 24px rgba(17, 64, 96, 0.11);
  transform: translateY(-2px);
}

.c812-group--electronic .c812-product:hover {
  color: #861d1a !important;
  border-color: rgba(217, 49, 43, 0.38);
}

.c812-product__media {
  display: grid;
  width: 100%;
  min-height: 99px;
  place-items: center;
  overflow: hidden;
  background: var(--c812-white);
  border: 1px solid #edf1f4;
  border-radius: 12px;
}

.c812-product__image {
  display: block;
  width: 100% !important;
  height: 99px !important;
  margin: 0 !important;
  padding: 6px;
  object-fit: contain;
  object-position: center;
  background: var(--c812-white);
  border: 0 !important;
  box-shadow: none !important;
}

.c812-product__content {
  min-width: 0;
}

.c812-product__name {
  display: block;
  font-size: clamp(14px, 1.04vw, 17px);
  font-weight: 750;
  line-height: 1.28;
}

.c812-product__hint {
  display: flex;
  gap: 7px;
  align-items: center;
  margin-top: 9px;
  color: var(--c812-muted);
  font-size: 11px;
  font-weight: 650;
  line-height: 1.35;
  letter-spacing: 0.02em;
}

.c812-product__hint::before {
  width: 16px;
  height: 2px;
  flex: 0 0 auto;
  content: "";
  background: currentColor;
  border-radius: 99px;
}

.c812-group--quartz .c812-products {
  flex: 1 1 auto;
}

.c812-group--quartz .c812-products,
.c812-group--quartz .c812-products__item,
.c812-group--quartz .c812-product {
  min-height: 100%;
}

.c812-group--quartz .c812-product {
  grid-template-columns: 1fr;
  grid-template-rows: minmax(250px, 1fr) auto;
  gap: 22px;
  align-content: stretch;
  padding: 14px 14px 24px;
  text-align: center;
}

.c812-group--quartz .c812-product__media {
  min-height: 250px;
  background:
    radial-gradient(circle at center, rgba(209, 154, 42, 0.13), transparent 58%),
    var(--c812-white);
}

.c812-group--quartz .c812-product__image {
  height: 100% !important;
  min-height: 250px;
  padding: 20px;
}

.c812-group--quartz .c812-product__name {
  font-size: clamp(17px, 1.35vw, 22px);
}

.c812-group--quartz .c812-product__hint {
  justify-content: center;
}

.c812-benefits {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  max-width: 1390px;
  margin: clamp(24px, 3vw, 42px) auto 0;
  overflow: hidden;
  background: rgba(7, 90, 148, 0.16);
  border: 1px solid rgba(7, 90, 148, 0.14);
  border-radius: 18px;
  list-style: none;
}

.c812-benefits__item {
  display: flex;
  gap: 12px;
  align-items: center;
  min-height: 72px;
  margin: 0;
  padding: 15px 20px;
  color: var(--c812-blue-dark);
  font-size: 13px;
  font-weight: 750;
  line-height: 1.35;
  background: rgba(255, 255, 255, 0.88);
}

.c812-benefits__mark {
  display: grid;
  width: 27px;
  height: 27px;
  flex: 0 0 27px;
  place-items: center;
  color: var(--c812-white);
  font-size: 14px;
  line-height: 1;
  background: var(--c812-blue);
  border-radius: 50%;
}

.c812-catalog a:focus-visible {
  outline: 3px solid #f5b83f;
  outline-offset: 3px;
}

@media (max-width: 1180px) {
  .c812-catalog__groups {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .c812-group--quartz {
    grid-column: 1 / -1;
  }

  .c812-group--quartz .c812-products {
    min-height: 0;
  }

  .c812-group--quartz .c812-product {
    grid-template-columns: minmax(210px, 32%) minmax(0, 1fr);
    grid-template-rows: auto;
    min-height: 260px;
    padding: 14px 26px 14px 14px;
    text-align: left;
  }

  .c812-group--quartz .c812-product__hint {
    justify-content: flex-start;
  }
}

@media (max-width: 860px) {
  .c812-catalog {
    border-radius: 24px;
  }

  .c812-catalog__header {
    grid-template-columns: 1fr;
    gap: 20px;
    align-items: start;
  }

  .c812-catalog__all-link {
    justify-self: start;
  }

  .c812-catalog__groups {
    grid-template-columns: 1fr;
  }

  .c812-group--quartz {
    grid-column: auto;
  }

  .c812-benefits {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 520px) {
  .c812-catalog {
    padding-right: 12px;
    padding-left: 12px;
    border-radius: 18px;
  }

  .c812-catalog__header {
    padding: 0 6px;
  }

  .c812-catalog__title {
    font-size: clamp(31px, 10vw, 44px);
  }

  .c812-catalog__all-link {
    width: 100%;
  }

  .c812-group {
    border-radius: 19px;
  }

  .c812-group__heading-link {
    min-height: 92px;
    padding: 18px 16px;
  }

  .c812-group__heading-link .c812-catalog__arrow {
    width: 34px;
    height: 34px;
  }

  .c812-products {
    gap: 9px;
    padding: 10px;
  }

  .c812-product {
    grid-template-columns: 92px minmax(0, 1fr);
    gap: 11px;
    min-height: 112px;
    padding: 8px 11px 8px 8px;
    border-radius: 14px;
  }

  .c812-product__media,
  .c812-product__image {
    height: 92px !important;
    min-height: 92px;
  }

  .c812-group--quartz .c812-product {
    grid-template-columns: 1fr;
    min-height: 0;
    padding: 10px 10px 21px;
    text-align: center;
  }

  .c812-group--quartz .c812-product__media,
  .c812-group--quartz .c812-product__image {
    height: 230px !important;
    min-height: 230px;
  }

  .c812-group--quartz .c812-product__hint {
    justify-content: center;
  }

  .c812-benefits {
    grid-template-columns: 1fr;
    margin-right: 4px;
    margin-left: 4px;
  }

  .c812-benefits__item {
    min-height: 60px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .c812-catalog *,
  .c812-catalog *::before,
  .c812-catalog *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}

/*
 * Дополнение для уже установленной версии каталога.
 * Добавьте этот код в самый конец Custom CSS.
 */

/* Равные колонки и одинаковая высота шапок на десктопе. */
@media (min-width: 1181px) {
  .c812-catalog__groups {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .c812-group__heading-shell,
  .c812-group__heading-link {
    min-height: 156px;
  }
}

/* Поднимает стрелки в заголовках на телефонах и планшетах. */
@media (max-width: 860px) {
  .c812-group__heading-link .c812-catalog__arrow {
    transform: translateY(-5px);
  }

  .c812-group__heading-link:hover .c812-catalog__arrow {
    transform: translate(4px, -5px);
  }
}

/*
 * Исправление положения стрелок и внутреннего контура третьей колонки.
 * Добавьте этот код ПОСЛЕ ранее добавленных дополнений CSS.
 */

/* Круг остаётся по центру, а сам символ стрелки поднимается на 2 px. */
.c812-group__heading-link .c812-catalog__arrow {
  font-size: 0;
  line-height: 0;
}

.c812-group__heading-link .c812-catalog__arrow::before {
  display: block;
  content: "→";
  font-size: 20px;
  line-height: 1;
  transform: translateY(1px);
}

/* Отменяет прежний сдвиг всего круга на мобильных экранах. */
@media (max-width: 860px) {
  .c812-group__heading-link .c812-catalog__arrow {
    transform: none;
  }

  .c812-group__heading-link:hover .c812-catalog__arrow {
    transform: translateX(4px);
  }
}

/* Внутренняя карточка занимает только свободную часть третьей колонки. */
.c812-group--quartz .c812-products,
.c812-group--quartz .c812-products__item,
.c812-group--quartz .c812-product {
  min-height: 0;
}

.c812-group--quartz .c812-products__item,
.c812-group--quartz .c812-product {
  height: 100%;
}

/* theme_mods_themify-ultra-child : single_add_to_cart_button_border */
{"top":{"color":"","opacity":"","style":"","width":""},"left":{"color":"","opacity":"","style":"","width":""},"bottom":{"color":"","opacity":"","style":"","width":""},"right":{"color":"","opacity":"","style":"","width":""},"style":"none","same":"same"}
