.czcard-single.container {
  max-width: 1400px;
  width: 100%;
  margin: 0 auto;
  padding: 25px;
  box-sizing: border-box;
}

.czcard-archive {
   width: 1400px; max-width: 100%; margin: 0 auto; padding: 35px 25px 0; box-sizing: border-box;
}


/* ===============================
   CZCARD — БАЗОВАЯ КАРТОЧКА
   =============================== */

.zntech-card {
    background: #fff;
    border-radius: 16px;
    padding: 20px;
    box-shadow: 0 6px 24px rgba(0,0,0,0.08);
    transition: box-shadow .25s ease, transform .25s ease;
}

.zntech-card:hover {
    box-shadow: 0 10px 30px rgba(0,0,0,0.12);
    transform: translateY(-2px);
}

.zntech-thumb {
    margin-bottom: 15px;
}

.zntech-title {
    font-size: 18px;
    font-weight: 500;
    color: #1c2c4c;
    margin-bottom: 12px;
    line-height: 1.4;
}

.zntech-btn a,
.zntech-btn button {
    display: inline-block;
    background: #1c2c4c;
    color: #fff;
    padding: 10px 16px;
    border-radius: 8px;
    font-size: 14px;
    text-decoration: none;
    transition: background .2s ease;
}

.zntech-btn a:hover,
.zntech-btn button:hover {
    background: #c01c54;
}

.zntech-btn-blue{
    display: inline-block;
    padding: 5px 15px;
    margin: 0 3px;
    width: 100%;
    border-radius: 6px;
    font-size:14px;
	text-align:center;
    background: #1c2c4c;
    color: #fff;
    text-decoration: none;
    transition: 0.2s;
}

.ast-content-flow {
    display: block;
    width: 100%;
}

.ha-flip-box-back-inner p{
    
    color:#fff!important;
}

.czcard-category-desc h2{
    padding-top:15px;
    padding-bottom:15px;
    
}
.czcard-category-desc--bottom {
    
    padding-bottom:70px;
    
}

.zntech-btn-blue:hover{
    background: #c01c54;
	  color: #fff;
		}

.b24-form-click-btn-wrapper.\--b24-mod-center > button {
display: inline-block!important;
    padding: 8px 14px!important;
    margin: 0 3px!important;
    font-family: "Normalidad", Sans-serif!important;
    margin-top:5px!important;
    width: 100%!important;
    border-radius: 6px!important;
    text-align: center!important;
    background: #be195a!important;
    color: #fff!important;
    font-weight: 500!important;
    font-size:14px!important;
    text-decoration: none!important;
    transition: 0.2s!important;
}

.b24-form-click-btn-wrapper.\--b24-mod-center > button:hover {
background: #1c2c4c!important;
}

.archive-title{
    
    padding-bottom:15px;
}

.zntech-fwidth {
    background: #F9F9F9;
}

.zntech-prim {
    max-width: 1400px;
    padding:70px;
    margin: 0 auto;
}

.czcard-product-top {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  margin-bottom: 40px;
}

.czcard-thumb {
  flex: 0 0 45%;
}
.czcard-thumb img {
  width: 100%;
  padding: 160px;
  border-radius: 12px;
}

.czcard-gallery {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 15px;
}

.czcard-gallery-thumb {
  border-radius: 8px;
  border: 1px solid #eee;
  transition: 0.2s;
}

.czcard-gallery-thumb:hover {
  transform: scale(1.05);
  border-color: #ccc;
}


.czcard-table-layout{
    padding-bottom:60px;
}

.czcard-info {
    flex: 1;
    min-width: 0;

    padding: 30px;
    border: solid 1px #f5f5f5;
    border-radius: 25px;

}

.czcard-title {
  font-size: 28px;
  color: #1c2c4c;
  margin-bottom: 10px;
}

.czcard-short {
  font-size: 16px;
  color: #747c9c;
  margin-bottom: 20px;
}

.czcard-btn .btn-primary {
  display: inline-block;
  background: #0067b1;
  color: #fff;
  padding: 12px 24px;
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none;
  transition: 0.2s;
}

.czcard-btn .btn-primary:hover {
  background: #004b7f;
}

.czcard-description {
  border-top: 1px solid #eee;
  padding-top: 30px;
  font-size: 15px;
  line-height: 1.6;
}

.czcard-related {
  margin-top: 60px;
  margin-bottom:60px;
}

.czcard-related h2 {
  margin-bottom: 25px;
  font-size: 22px;
  color: #1c2c4c;
}


.czcard-btn .b24-form-click-btn-wrapper.\--b24-mod-center > button {
  margin: 0;
}

.czcard-breadcrumbs{
padding-bottom:35px;    
}

.czcard-breadcrumbs a{
    color: #5f5f5f;
    text-decoration: none;
}


.czcard-breadcrumbs span:last-of-type {
    color: #9f9f9f;
}

.czcard-notices {
  margin-top: 25px;
  padding-top: 20px;
  border-top: 1px solid #eee;
  font-size: 14px;
  color: #555;
  line-height: 1.5;
}
.czcard-appearance {
  margin-top: 10px;
  font-style: italic;
  color: #666;
}

.czcard-specs {
  margin-top: 30px;
  border-top: 1px solid #eee;
  padding-top: 20px;
}

.czcard-specs h2 {
  font-size: 20px;
  margin-bottom: 15px;
  color: #1c2c4c;
}

.czcard-specs-table-front {
  width: 100%;
  border-collapse: collapse;
}

.czcard-specs-table-front td {
  padding: 6px 8px;
  border-bottom: 1px solid #f0f0f0;
}

.czcard-spec-name {
  width: 40%;
  font-weight: 600;
  color: #333;
}

.czcard-spec-value {
  color: #555;
}

.zntech-pagination {
  margin: 40px 0;
  text-align: center;
}
.zntech-pagination .page-numbers {
  display: inline-block;
  padding: 8px 14px;
  margin: 0 3px;
  border-radius: 6px;
  background: #f3f4f6;
  color: #1c2c4c;
  text-decoration: none;
  transition: 0.2s;
}
.zntech-pagination .page-numbers.current {
  background: #1c2c4c;
  color: #fff;
  font-weight: 600;
}
.zntech-pagination .page-numbers:hover {
  background: #c01c54;
  color: #fff;
}

/* Исправляем flex Astra внутри архива CZCARD */
.czcard-archive.ast-container {
  display: block !important;
}

/* Отступ сверху у ссылки-кнопки "Подробнее" только на страницах архива CZCARD */
.czcard-archive .zntech-card a.zntech-btn {
  display: inline-block; /* чтобы margin работал корректно */
  margin-top: 15px;
}

.czcard-layout {
  display: flex;
  flex-wrap: nowrap;
  gap: 40px;
}

.czcard-sidebar {
  flex: 0 0 260px;
  background: #f9f9f9;
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 0 10px rgba(0,0,0,0.05);
}

.czcard-sidebar-title {
  font-size: 18px;
  font-weight: 600;
  color: #1c2c4c;
  margin-bottom: 15px;
}

.czcard-main {
  flex: 1;
  min-width: 0; /* важно для flex-контейнеров */
}

.czcard-sidebar ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.czcard-sidebar li {
  margin-bottom: 10px;
}

.czcard-sidebar a {
  text-decoration: none;
  color: #333;
  transition: color .2s;
}

.czcard-sidebar a:hover {
  color: #c01c54;
}



/* --- CZCARD TABLE VIEW адаптив --- */
@media (max-width: 992px) {
  .czcard-layout {
    flex-direction: column;
  }
  .czcard-sidebar {
    display: none; /* 🔹 прячем сайдбар на мобильных */
  }
  .czcard-main {
    width: 100%;
  }
  .czcard-table-layout {
    flex-direction: column;
  }
  .czcard-table-left {
    margin-bottom: 25px;
  }
  .czcard-table table {
    font-size: 14px;
  }
}

/* --- CZCARD TABLE VIEW адаптив и пагинация --- */
@media (max-width: 992px) {
  .czcard-layout {
    flex-direction: column;
  }
  .czcard-sidebar {
    display: none; /* 🔹 Прячем сайдбар на мобильных */
  }
  .czcard-main {
    width: 100%;
  }
  .czcard-table-layout {
    flex-direction: column;
  }
  .czcard-table-left {
    margin-bottom: 25px;
  }
  .czcard-table table {
    font-size: 14px;
  }
}

.czcard-table-right .zntech-pagination {
  margin-top: 25px;
  text-align: center;
}


table, td, th {
    border: 1px solid #efefef;
}


/* === CZCARD: карточка в таблице — тень на весь блок === */
.czcard-table-left .czcard-mini-card {
  background: #fff;
  border-radius: 16px;
  padding: 25px 25px 30px;
  box-shadow: 0 6px 24px rgba(0,0,0,0.08);
  transition: box-shadow .25s ease, transform .25s ease;
}

.czcard-table-left .czcard-mini-card:hover {
  box-shadow: 0 10px 30px rgba(0,0,0,0.12);
  transform: translateY(-2px);
}

/* Фото без тени и с мягкими скруглёнными углами */
.czcard-table-left .czcard-thumb img {
  box-shadow: none !important;
  border-radius: 12px;
  display: block;
  width: 100%;
  height: auto;
}

/* Заголовок и отступы внутри карточки */
.czcard-table-left .czcard-title {
  margin-top: 18px;
  margin-bottom: 10px;
  font-size: 22px;
  color: #1c2c4c;
  line-height: 1.3;
}

/* Категория и кнопки */
.czcard-table-left .czcard-category {
  color: #666;
  font-size: 14px;
  margin-bottom: 20px;
}

.czcard-table-left .czcard-mini-btns {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.czcard-table-left .czcard-mini-btns button,
.czcard-table-left .czcard-mini-btns a.czcard-btn-more {
  background: #1c2c4c;
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 10px 18px;
  font-size: 14px;
  cursor: pointer;
  text-decoration: none;
  transition: background .2s ease;
}

.czcard-table-left .czcard-mini-btns button:hover,
.czcard-table-left .czcard-mini-btns a.czcard-btn-more:hover {
  background: #c01c54;
}

/* --- Единая высота и обрезка фото в карточках каталога --- */
.zntech-card .zntech-thumb,
.czcard-mini-card .czcard-thumb {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3; /* можно 1 / 1, если хочешь квадрат */
  overflow: hidden;
  border-radius: 12px;
  background: #fff; /* ← вместо #f7f7f7 теперь белый фон */
  display: flex;
  align-items: center;
  justify-content: center;
}

.zntech-card .zntech-thumb img,
.czcard-mini-card .czcard-thumb img {
  object-fit: contain; /* теперь фото не обрезается */
  object-position: center; /* центрируем */
  width: 100%;
  height: 100%;
  display: block;
  margin: 0 auto;
  border: 0;
  border-radius: 12px;
  vertical-align: middle;
  background: #fff; /* белый фон под прозрачные или узкие изображения */
  box-shadow: none;
  pointer-events: none;
}


.czcard-category-desc--top {
  margin: 15px 0 25px;
  font-size: 15px;
  color: #333;
  line-height: 1.6;
}

.czcard-category-desc--bottom {
  margin-top: 40px;
  padding-top: 30px;
  border-top: 1px solid #eee;
  font-size: 14px;
  color: #555;
  line-height: 1.6;
}

.czcard-category-desc h3{
    
 padding-bottom:15px;  
    
}


.czcard-archive.ast-container{
    
   padding-bottom:35px;
    
}


/* ===============================
   CZCARD — ДОПОЛНИТЕЛЬНЫЙ АДАПТИВ
   =============================== */

/* --- Планшеты (до 1200px) --- */
@media (max-width: 1200px) {
  .czcard-layout {
    gap: 25px;
  }
  .czcard-sidebar {
    flex: 0 0 220px;
    padding: 15px;
  }
  .zntech-grid {
    gap: 20px;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  }
  .czcard-table-left .czcard-mini-card {
    padding: 20px;
  }
  .czcard-table-left .czcard-title {
    font-size: 20px;
  }
}

/* --- Планшеты и горизонтальные смартфоны (до 992px) --- */
@media (max-width: 992px) {
  .czcard-layout {
    flex-direction: column;
  }

  .czcard-sidebar {
    order: 2;
    margin-top: 25px;
    flex: 1 1 100%;
    background: #fff;
    box-shadow: none;
    padding: 10px 0;
  }

  .czcard-sidebar-title {
    display: none;
  }

  .czcard-sidebar ul {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 12px;
  }

  .czcard-sidebar li {
    margin: 0;
  }

  .czcard-sidebar a {
    padding: 6px 12px;
    background: #f5f6f9;
    border-radius: 6px;
    font-size: 14px;
  }

  .czcard-main {
    order: 1;
  }

  .zntech-grid {
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  }

  .zntech-card {
    padding: 15px;
  }

  .czcard-table-layout {
    display: flex;
    flex-direction: column;
  }

  .czcard-table-left {
    margin-bottom: 25px;
  }

  .czcard-table table {
    font-size: 14px;
  }
}

/* --- Смартфоны (до 768px) --- */
@media (max-width: 768px) {
  .czcard-archive.ast-container,
  .czcard-single.container {
    width: 100%;
    padding: 60px 15px 0;
  }

  .czcard-layout {
    flex-direction: column;
    gap: 20px;
  }

  .czcard-sidebar {
    display: none; /* скрываем сайдбар */
  }

  .zntech-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .zntech-card {
    padding: 15px;
  }

  .zntech-title,
  .archive-title {
    font-size: 18px;
  }

  .czcard-table-left .czcard-title {
    font-size: 18px;
  }

  .czcard-table-left .czcard-mini-btns {
    flex-direction: column;
    gap: 10px;
  }

  .czcard-table-left .czcard-mini-btns button,
  .czcard-table-left .czcard-mini-btns a.czcard-btn-more {
    width: 100%;
    text-align: center;
  }

  .czcard-category-desc--top,
  .czcard-category-desc--bottom {
    font-size: 14px;
    line-height: 1.6;
  }

  .czcard-breadcrumbs {
    font-size: 13px;
    margin-bottom: 15px;
  }

  .zntech-pagination {
    margin: 25px 0;
  }
}

/* --- Маленькие смартфоны (до 480px) --- */
@media (max-width: 480px) {
  .zntech-card {
    border-radius: 12px;
    padding: 12px;
  }

  .zntech-title {
    font-size: 16px;
  }

  .zntech-btn button {
    padding: 8px 12px;
    font-size: 13px;
  }

  .czcard-table-left .czcard-title {
    font-size: 16px;
  }

  .czcard-table-left .czcard-mini-card {
    padding: 15px;
  }

  .czcard-table-left .czcard-thumb img {
    border-radius: 10px;
  }

  .czcard-category-desc--top,
  .czcard-category-desc--bottom {
    font-size: 13px;
  }

  .zntech-pagination .page-numbers {
    padding: 6px 10px;
    font-size: 13px;
  }
}


.czcard-order-btn {
        background: #be195a;
    color: #fff;
    border: none;
    border-radius: 8px;
    padding: 10px 18px;
    font-size: 14px;
    cursor: pointer;
    text-decoration: none;
    transition: background .2s 
ease;
}


.czcard-table-btn {
    background: #1c2c4c;
    color: #fff;
    border: none;
    border-radius: 8px;
    padding: 10px 18px!important;
    font-size: 14px;
    cursor: pointer;
    text-decoration: none;
    transition: background .2s 
}


.czcard-series-children a.czcard-child-link {
  color: #1c2c4c;
  font-weight: 500;
  text-decoration: none;
  margin-right: 6px;
  transition: color .2s;
}
.czcard-series-children a.czcard-child-link:hover {
  color: #c01c54;
  text-decoration: underline;
}

.czcard-series-info {
  margin-top: 12px;
  font-size: 15px;
  color: #333;
}

.czcard-series-info a.czcard-child-link {
  display: inline-block;
  background: #f6f7fa;
  border: 1px solid #dcdfe6;
  border-radius: 6px;
  padding: 4px 10px;
  margin: 4px 6px 0 0;
  color: #1c2c4c;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.2s ease;
}
.czcard-series-info a.czcard-child-link:hover {
  background: #c01c54;
  color: #fff;
  border-color: #c01c54;
}
.czcard-series-info a.czcard-child-link.active {
  background: #1c2c4c;
  color: #fff;
  border-color: #1c2c4c;
}

.czcard-series-block {
    margin: 20px 0 30px;
    padding: 15px 20px;
    background: #fafbfc;
    border: 1px solid #e3e5e8;
    border-radius: 10px;
}

.czcard-series-title {
    margin-bottom: 12px;
    font-size: 18px;
    font-weight: 600;
}

.czcard-color-title {
    font-weight: 600;
    margin-bottom: 8px;
    padding-left: 10px;
    border-left: 4px solid transparent;
}

.active-color .czcard-color-title {
    border-left-color: #c01c54;
}

.czcard-series-sizes,
.czcard-size-line,
.czcard-color-line {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 18px;
}

.czcard-size-btn,
.czcard-color-btn {
    display: inline-block;
    padding: 6px 12px;
    border-radius: 6px;
    background: #fff;
    border: 1px solid #dcdcdc;
    cursor: pointer;
    text-decoration: none !important;
    color: #1c2c4c;
    transition: .2s;
    font-size: 14px;
}

.czcard-size-btn:hover,
.czcard-color-btn:hover {
    background: #f2f2f2;
}

.active-size {
    border: 2px solid #c01c54 !important;
}

.active-color-btn {
    border-left: 4px solid #c01c54 !important;
    padding-left: 8px;
}


.czcard-why-we{
    padding-top:25px;
    
}

.czcard-why-we .ha-desc{
    font-size:13px!important;
    
}


.czcard-news-block{
    padding-top:70px;
    
}

.czcard-about-catalog{
        padding-top:35px;
    
}

.zntech-card {
    display: flex;
    flex-direction: column;
    height: 100%;           /* чтобы карточки были одинаковые */
}

.zntech-title {
    flex: 1 1 auto;         /* заголовок растягивается */
}

.zntech-btn {
    margin-top: auto;       /* кнопка уходит вниз */
    display: block;
}




.czcard-about-catalog p{
    margin-top:25px;
    color:#47557C;
    font-size:16px;
    
}


.czcard-why-we p{
font-size:18px;
}

.czcard-news-block p{
font-size:18px;  
}

/* =========================================================
   СЕТКА — 4 → 3 → 2 → 1
========================================================= */
.zntech-grid {
    display: grid;
    gap: 25px;
    grid-template-columns: repeat(4, 1fr);
}

@media (max-width: 1024px) {
    .zntech-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 767px) {
    .zntech-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .zntech-grid {
        grid-template-columns: 1fr;
    }
}

.zntech-btn-flex-single {
    background: #f4f6fa;
    padding: 15px;
    display: flex !important;
    gap: 30px !important;
}




/* ===============================
   CZCARD — Tabs (описание товара)
=================================*/

.czcard-desc-tabs {
    margin-top: 40px;
}

/* Навигация */
.czcard-desc-tabs-nav {
    display: flex;
    gap: 24px;
    border-bottom: 2px solid #eee;
    margin-bottom: 20px;
}

.czcard-desc-tabs-nav button {
    background: none;
    border: none;
    padding: 12px 0;
    cursor: pointer;
    font-weight: 600;
    color: #777;
    position: relative;
}

.czcard-desc-tabs-nav button.active {
    color: #000;
}

.czcard-desc-tabs-nav button.active::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -2px;
    width: 100%;
    height: 2px;
    background: #c01c54;
}

/* Контент */
.czcard-desc-tab {
    display: none;
}

.czcard-desc-tab.active {
    display: block;
}


@media (max-width: 768px) {
  .czcard-product-top {
    flex-direction: column;
    gap: 25px;
  }

  .czcard-thumb,
  .czcard-info {
    flex: 1 1 100%;
    width: 100%;
  }

  .czcard-info {
    padding: 20px;
    border-radius: 16px;
  }
  
  .czcard-thumb img {
    width: 100%;
    padding: 15px;
    border-radius: 12px;
}
  
  
}


.czcard-table-view .czcard-thumb img {
    padding: 0;
}