

/* Start:/compare/compare.css?17720160244380*/
.compare-wrapper {
  max-width: 1280px;
  margin: 0 auto;
  margin-bottom: 64px;
}

h1 {
  margin-top: 24px !important;
}
.controls-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
  flex-wrap: wrap;
  gap: 8px;
}

.clear {
  display: flex;
  gap: 4px;
  align-items: center;
  height: 40px !important;
  line-height: 40px !important;
  padding: 0 16px !important;
}

@media (max-width: 768px) {
  .clear span {
    display: none;
  }
}

.switch-wrapper {
  display: flex;
  gap: 8px;
  align-items: center;
}

.switch {
  width: 40px;
  height: 24px;
  border-radius: 50px;
  background-color: #e0e0e0;
  position: relative;
  cursor: pointer;
}

.switch-ball {
  height: 22px;
  width: 22px;
  border-radius: 50%;
  background-color: #ffffff;
  position: absolute;
  top: 1px;
  left: 1px;
  transition: left 0.3s ease-in-out;
}

.switch.on {
  background: #b3c535;
}

.switch.on .switch-ball {
  left: 17px;
}

/* ----------------------------------------------------------------------------------------------- */

/* Основной контейнер сравнения */
.product-compare-wrapper {
  display: flex;
  width: 100%;
  flex-wrap: nowrap;
  overflow-x: auto;
  padding-bottom: 16px;
}

.product-card {
  width: 244px;
  display: flex;
  flex-direction: column;
  border: 1px solid #e5e5e5;
  border-right: none;
  flex-shrink: 0;
}

.product-card:first-child {
  border-top-left-radius: 4px;
  border-bottom-left-radius: 4px;
}

.product-card:last-child {
  border-right: 1px solid #e5e5e5;
  border-top-right-radius: 4px;
  border-bottom-right-radius: 4px;
}

/* Верхняя часть (padding 16px 24px 24px) */
.card-top {
  padding: 24px;
  padding-top: 16px;
  display: flex;
  flex-direction: column;
  /* Важно: если названия разной высоты, card-actions прибьется вниз */
  flex-grow: 1;
  position: relative;
  cursor: pointer;
}

.delete-icon-btn {
  position: absolute;
  top: 4px;
  right: 4px;
}

.delete-icon-btn:hover path {
  stroke: #FD6A6A;
}

/* Изображение */
.image-wrapper {
  width: 100%;
  height: 140px;
  margin-bottom: 16px;
  overflow: hidden;
}

.product-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  aspect-ratio: 1.4 / 1;
  border-radius: 8px;
}

/* Контейнер для цены и кнопки */
.card-actions {
  margin-top: auto; /* Прибивает цену и кнопку к низу верхней секции */
}

.product-card .shadow-btn {
  width: 100%;
}

.shadow-btn:hover {
  opacity: 0.9;
}

/* Блок характеристик */
.specs-list {
  border-top: 1px solid #e5e5e5;
  display: flex;
  flex-direction: column;
}

.spec-row {
  padding: 8px 24px; /* Из ТЗ */
  border-bottom: 1px solid #e5e5e5;
  min-height: 40px; /* Опционально, для выравнивания */
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.spec-row:last-child {
  border-bottom: none;
}

.spec-label {
  color: #999999; /* Из ТЗ */
  margin-bottom: 4px;
}

.spec-value {
  color: #333333;
}

@media (max-width: 768px) {
  .product-card {
    width: 200px;
  }

  .card-top {
    padding: 16px;
    padding-top: 16px;
    padding-bottom: 16px;
  }

  .delete-icon-btn {
    top: 0;
    right: 0;
  }

}

/* */
/* Табы */
.tabs-wrapper {
  overflow-x: auto;
  margin-bottom: 32px;
}

.tabs-compare {
  display: flex;
  border-bottom: 2px solid #e0e0e0;
}

.tab-btn {
  padding: 16px;
  cursor: pointer;

  display: flex;
  gap: 10px;
  position: relative;
  font-weight: bold;
  flex-shrink: 0;
}

button {
  font-size: inherit;
  line-height: inherit;
  cursor: pointer;
}

.tab-btn::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  height: 2px;
  background-color: #e0e0e0;
}

.tab-btn:hover::after {
  background-color: #b3c535;
}

.tab-btn.active::after {
  background-color: #b3c535;
}

.tab-count {
  color: #999999;
  font-weight: 400;
}

/* Контент табов */
.tab-content {
  display: none;
  animation: fadeIn 0.3s ease;
}

.tab-content.active {
  display: block;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

#wait_bx_catalog_compare_block {
  display: none !important;
}
/* End */


/* Start:/local/templates/polymax_copy/components/bitrix/catalog.compare.result/custom/style.css?17651876235492*/
.bx_compare .bx_sort_container{
	margin-bottom:15px;
}
.bx_compare .bx_sort_container .sorttext{
	font-size:14px;
	display:inline-block;
}
.bx_compare .bx_sort_container .sortbutton{
	font-size:12px;
	font-weight:bold;
	display:inline-block;
	min-width:24px;
	padding:6px 10px;
	text-align:center;
	text-decoration:none;
	color:#717171;
	border:1px solid #c9c9c9;
	border-radius:3px;
	background:#fefefe;
	background:url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/Pgo8c3ZnIHhtbG5zPSJod…EiIGhlaWdodD0iMSIgZmlsbD0idXJsKCNncmFkLXVjZ2ctZ2VuZXJhdGVkKSIgLz4KPC9zdmc+);
	background:   -moz-linear-gradient(top,#fefefe 0%,#eaeaea 100%);
	background:-webkit-gradient(linear,left top,left bottom,color-stop(0%,#fefefe),color-stop(100%,#eaeaea));
	background:-webkit-linear-gradient(top,#fefefe 0%,#eaeaea 100%);
	background:     -o-linear-gradient(top,#fefefe 0%,#eaeaea 100%);
	background:    -ms-linear-gradient(top,#fefefe 0%,#eaeaea 100%);
	background:        linear-gradient(to bottom,#fefefe 0%,#eaeaea 100%);
	text-shadow:0 1px 1px rgba(255, 255, 255, .9);

	filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#fefefe',endColorstr='#eaeaea',GradientType=0);
}
.bx_compare .bx_sort_container .sortbutton:hover{
	color:#717171;
	background:#fff;
}

.bx_compare .bx_sort_container .sortbutton.current{
	font-weight:bold;
	min-width:26px;
	padding:7px 11px;
	text-align:center;
	color:#f2f2f2;
	border:none;
	background-color:#606060;
	background-image:-webkit-linear-gradient(bottom,rgba(0, 0, 0, .09),rgba(255, 255, 255, .09));
	background-image:   -moz-linear-gradient(bottom,rgba(0,0,0,.09),rgba(255,255,255,.09));
	background-image:     -o-linear-gradient(bottom,rgba(0,0,0,.09),rgba(255,255,255,.09));
	background-image:    -ms-linear-gradient(bottom,rgba(0,0,0,.09),rgba(255,255,255,.09));
	background-image:        linear-gradient(to top,rgba(0, 0, 0, .09),rgba(255, 255, 255, .09));
	box-shadow:0 1px #fff,inset 0 1px 5px rgba(0, 0, 0, .4);
	text-shadow:0 1px rgba(0, 0, 0, .13);
}
.bx_compare .bx_filtren_container{
	padding:2.6%;
	border:7px solid #e1f5fb;
	border-radius:2px;
	background:#c3e9f4;
}
.bx_compare .bx_filtren_container h5{
	font-size:15px;
	margin:0 0 23px 0;
	text-shadow:0 1px 1px #fff;
}
.bx_compare .bx_filtren_container ul{
	margin:0;
	padding:0;
}
.bx_compare .bx_filtren_container ul li{
	position:relative;
	display:inline-block;
	width:150px;
	margin-right:25px;
	margin-bottom:10px;
	padding-left:18px;
	vertical-align:top;
}
.bx_compare .bx_filtren_container ul li span{
	font-size:13px;
	line-height:20px;
	text-decoration:none;
	color:#3f3f3f;
}
.bx_compare .table_compare{
	overflow:auto;
	width:100%;
}
.bx_compare .table_compare table{
	min-width:100%;
	border-collapse:collapse;
}
.bx_compare .table_compare table tr td{
	font-size:13px;
	position:relative;
	padding:8px 20px;
	text-align:left;
}
.bx_compare .table_compare table tr:nth-child(odd) td{
	background:#f9f9f9;
}
.bx_compare .table_compare table tr td:first-child{
	font-weight:bold;
	white-space:nowrap;
	color:#3d4345;
}
.bx_compare .table_compare table tr td a{
	color:#007acf;
}
.bx_compare .table_compare table tr td a:hover{
	text-decoration:underline;
}
.bx_compare .table_compare table tr td.bx_compare_del_col{
	text-align:center;
}
.bx_compare .table_compare table tr td.bx_compare_del_col a{
	font-size:11px;
}

.bx_compare .table_compare table.compare-price tr td
{
	font-weight: normal;
	background-color: transparent;
}

.bx_compare .table_compare table.compare-price tr td:first-child
{
	text-align: right;
}

.bx_compare .table_compare table.compare-price tr td:last-child
{
	text-align: left;
}

.bx_compare .table_compare table.compare-price tr td.simple:first-child
{
	text-align: left;
}


/*BTN*/

.bx_compare .bx_bt_button{
	font-weight:bold;
	display:inline-block;
	cursor:pointer;
	text-decoration:none;
	color:#fff !important;
	border:none;
	border-radius:3px;
	background:#00a2df;
	background:url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/Pgo8c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgdmlld0JveD0iMCAwIDEgMSIgcHJlc2VydmVBc3BlY3RSYXRpbz0ibm9uZSI+CiAgPGxpbmVhckdyYWRpZW50IGlkPSJncmFkLXVjZ2ctZ2VuZXJhdGVkIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgeDE9IjAlIiB5MT0iMCUiIHgyPSIwJSIgeTI9IjEwMCUiPgogICAgPHN0b3Agb2Zmc2V0PSIwJSIgc3RvcC1jb2xvcj0iIzAwYTJkZiIgc3RvcC1vcGFjaXR5PSIxIi8+CiAgICA8c3RvcCBvZmZzZXQ9IjEwMCUiIHN0b3AtY29sb3I9IiMwMDZmY2IiIHN0b3Atb3BhY2l0eT0iMSIvPgogIDwvbGluZWFyR3JhZGllbnQ+CiAgPHJlY3QgeD0iMCIgeT0iMCIgd2lkdGg9IjEiIGhlaWdodD0iMSIgZmlsbD0idXJsKCNncmFkLXVjZ2ctZ2VuZXJhdGVkKSIgLz4KPC9zdmc+);
	background:   -moz-linear-gradient(top, #00a2df 0%, #006fcb 100%);
	background:-webkit-gradient(linear, left top, left bottom, color-stop(0%,#00a2df), color-stop(100%,#006fcb));
	background:-webkit-linear-gradient(top, #00a2df 0%,#006fcb 100%);
	background:     -o-linear-gradient(top, #00a2df 0%,#006fcb 100%);
	background:    -ms-linear-gradient(top, #00a2df 0%,#006fcb 100%);
	background:        linear-gradient(to bottom, #00a2df 0%,#006fcb 100%);
	text-shadow:0 1px 1px #006fb4;

	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#00a2df', endColorstr='#006fcb',GradientType=0 );
}
.bx_compare .bx_bt_button.bx_medium{
	line-height:36px;
	height:36px;
	padding:0 9px;
}
.bx_compare .bx_bt_button.bx_small{
	display:inline-block;
	height: 20px;
	line-height:20px;
	font-size: 12px !important;
	padding:0 9px;
	font-weight: normal;
}

.tac{text-align: center;}
/* End */
/* /compare/compare.css?17720160244380 */
/* /local/templates/polymax_copy/components/bitrix/catalog.compare.result/custom/style.css?17651876235492 */
