/* konfigurator */
.cnf_items {
}
.cnf_items .cnf_item {
  margin-top: 15px; background-color: #ebebeb; border-radius: 18px;
}
.cnf_items .cnf_item:first-child {
  margin-top: 0;
}
.cnf_items .cnf_item .cnf_top {
  display: flex; gap: 15px; align-items: center; width: 100%; padding: 25px 20px; font-size: 18px; font-weight: 500; cursor: pointer;
}
.cnf_items .cnf_item .cnf_top .cnf_title {

}
.cnf_items .cnf_item .cnf_top .cnf_count {
  width: 32px; height: 32px; display: inline-flex; align-items: center; justify-content: center; padding: 0; color: #000000; font-size: 14px; background: #ffffff; border-radius: 50%;
}
.cnf_items .cnf_item .cnf_top .cnf_count.active {
  color: #ffffff; background: #ED1D24;
}


.cnf_items .cnf_item .cnf_top .cnf_top_r { 
  display: inline-flex; align-items: center; gap: 10px; margin-left: auto;
}
.cnf_items .cnf_item .cnf_top .tag {
  padding: 8px 15px; font-weight: 300; border-radius: 19px; color: #000000; border: 1px solid #000000;
}
.cnf_items .cnf_item .cnf_top .arrow {
  display: block; width: 20px; height: 20px; transition: transform .25s ease;
}
.cnf_items .cnf_item .cnf_top .arrow::after {
  display: inline-block; content: ''; width: 20px; height: 20px; margin-left: auto; background-image: url(/img/arrow_items_down.svg); background-repeat: no-repeat; background-position: center center;
}
.cnf_items .cnf_item.active .cnf_top .arrow::after {
  transform: rotate(180deg);
}
.cnf_items .cnf_item .cnf_body {
  display: none; padding: 25px 20px; border-top: 1px solid #d5d5d5;
}
.cnf_items .cnf_item .cnf_products {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 25px;
}
.cnf_items .cnf_item .cnf_products .item {
  display: flex; flex-direction: column; height: 100%; padding: 4px 4px 12px 4px; color: #000000; border-radius: 16px;
}
.cnf_items .cnf_item .cnf_products .item:hover {
  color: #ffffff; background-color: #000000;
}
.cnf_items .cnf_item .cnf_products .item.active {
  color: #ffffff; background-color: #000000;
}
.cnf_items .cnf_item .cnf_products .item .image {
  aspect-ratio: 1 / 1; display: flex; align-items: center; justify-content: center; overflow: hidden;
  padding: 5px; text-align: center; background-color: #ffffff; border-radius: 16px;
}
.cnf_items .cnf_item .cnf_products .item .image img {
  display: block; width: 100%; height: 100%; object-fit: contain;
}
/* .cnf_items .cnf_item .cnf_products .item .image {
  aspect-ratio: 1 / 1;
  display: block;
  overflow: hidden;
  padding: 0;
  background-color: #ffffff;
  border-radius: 16px;
}

.cnf_items .cnf_item .cnf_products .item .image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
} */
.cnf_items .cnf_item .cnf_products .item .data {
  flex: 1; margin-top: 15px; margin-bottom: 15px; text-align: center;
}
.cnf_items .cnf_item .cnf_products .item .data h4 {
  padding: 0 7px; font-weight: 500;
}
.cnf_items .cnf_item .cnf_products .item .data .price {
  margin-top: 10px;
}
.cnf_items .cnf_item .cnf_products .item .tobasket_buttons {
  margin-left: auto; margin-right: auto;
}
.cnf_items .cnf_item .cnf_products .item .tobasket_buttons,
.cnf_items .cnf_item .cnf_products .item .tobasket_button_one {
  margin-top: auto;
}



.cnf_result1 {
  position: absolute; top: 0; left: 0; width: 100%; height: calc(100% - 40px); background-color: #ffffff; padding: 25px; border: 1px solid #000000; overflow: auto;
}
.cnf_result1 .cnf_result1_item {
  display: flex; align-items: center; gap: 20px; padding: 15px 0; border-bottom: 1px solid #000000;
}
.cnf_result1 .cnf_result1_item .image {
  padding: 10px; text-align: center; background-color: #ffffff; border: 1px solid #d5d5d5;
}
.cnf_result1 .cnf_result1_item .image img {
  display: block; width: 80px; height: 80px; max-width: 80px; max-height: 80px; object-fit: contain;
}
.cnf_result1 .cnf_result1_item .data {
  display: flex; flex-direction: column; gap: 5px; width: 100%;
}
.cnf_result1 .cnf_result1_item .data input[type="text"] { 
  width: 100%; padding: 8px; border: 1px solid #9e9e9e;
}
.cnf_result1 .cnf_result1_item .data h4 { 
  font-weight: 500; 
}
.cnf_result1 .cnf_result1_item .data .price { 
  font-weight: 600;
}
.cnf_result1 .cnf_result1_item .data .price span { 
  font-weight: 300; text-decoration: line-through;
}
.cnf_result1 .cnf_result1_item .data .buttons { 
  width: 100%; margin-top: 10px; display: flex; align-items: center; gap: 8px;
}
.cnf_result1 .cnf_result1_item .data .buttons input[type="text"].price { 
  width: 100px; text-align: right;
}
.cnf_result1 .cnf_result1_item .data .buttons input[type="submit"] { 
  padding: 8px; color: #ffffff; background-color: rgb(86, 86, 86);
}
.cnf_result1 .cnf_result1_item .data .buttons input[type="submit"]:hover { 
  background-color: black;
}
.cnf_result1 .cnf_result1_item .data .buttons .remove { 
  display: inline-block; margin-left: auto; cursor: pointer; opacity: 0.5;
}
.cnf_result1 .cnf_result1_item .data .buttons .remove:hover { 
   opacity: 1; 
}

[cnf_result1].is-loading { opacity: 1; pointer-events: none; filter: grayscale(0.2); }
[cnf_result1] .cnf-loading { 
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; gap: 10px; background: rgba(255,255,255,0.65); backdrop-filter: blur(2px); font-weight: 600; z-index: 5; 
}
[cnf_result1] .cnf-spinner { 
  width: 16px; height: 16px; border: 2px solid rgba(0,0,0,0.2); border-top-color: rgba(0,0,0,0.7); border-radius: 50%; animation: cnfspin 0.8s linear infinite; 
}
@keyframes cnfspin { to { transform: rotate(360deg); } }
[cnf_result1].saved-flash { animation: cnfflash 0.8s ease; }
@keyframes cnfflash { 0% { box-shadow: 0 0 0 0 rgba(0,160,80,0.0); } 30% { box-shadow: 0 0 0 6px rgba(0,160,80,0.25); } 100% { box-shadow: 0 0 0 0 rgba(0,160,80,0.0); } }



.cnf_result {
  display: flex; justify-content: space-between; gap: 4%; width: 96%; margin: 0 auto;
}
.cnf_result > .left {
  flex: 1; width: 100%; padding-right: 4%; border-right: 1px solid #a8a8a8;
}
.cnf_result > .right {
  flex: 1; width: 100%;
}
.cnf_result .hdr1 {
  margin-bottom: 15px; font-size: 32px; font-weight: 500;
}



.cnf_result_info {
  display: flex; flex-direction: column; gap: 15px;
}
.cnf_result_info .row {
  padding: 12px 15px 20px 15px; background-color: #e6e6e6; border-radius: 16px;
}
.cnf_result_info .row label {
  font-size: 12px; color: #787878;
}
.cnf_result_info .row .data {
  margin-top: 7px; font-size: 16px;
}


.cnf_result_info .row.url {
  padding: 12px 15px 20px 15px; background-color: #000000;
}
.cnf_result_info .row.url label {
  color: #ffffff;
}
.copy-wrapper {
  position: relative; display: flex; align-items: center;
}
.cnf_result_info .row.url input[type="text"] {
  width: 100%; padding: 16px; padding-right: 55px;font-size: 20px; background-color: rgba(255,255,255, 0.1); border: none; outline: none; border-radius: 12px; color: #ffffff; cursor: pointer;
}
.btn-copy {
  position: absolute; right: 10px; background: transparent; border: none; color: #ffffff; font-size: 20px; cursor: pointer; opacity: 0.7;  transition: opacity 0.2s;
}
.btn-copy:hover {
  opacity: 1;
}