/*NOTE: This file is intended for programmers. Aspro technical support is not advised to work with him.*/

/* Examples (uncomment to use):*/

/* Expand site width */
/* body .wrapper { max-width: 1400px !important;  } */

/* Set site background image */
/* body {  background: url(image_source) top no-repeat; }

/* Hide compare button */
/* a.compare_item { display: none !important;  }*/

 .custom-table-wrap {
    max-width: 100%;
    overflow-x: auto;
    font-family: Arial, sans-serif;
  }
  table.custom-table {
    border-collapse: collapse;
    width: 100%;
    background: white;
    color: #000;
    min-width: 900px;
  }
  table.custom-table th,
  table.custom-table td {
    border: 2px solid #23a9d6;
    padding: 8px 12px;
    text-align: center;
    vertical-align: middle;
  }
  table.custom-table th {
    background-color: #23a9d6;
    color: white;
    font-weight: 600;
    font-size: 14px;
  }
  table.custom-table td {
    font-size: 13px;
  }
  /* Кнопка в последнем столбце */
  .apply-btn {
    background-color: #23a9d6;
    color: white;
    border: none;
    border-radius: 4px;
    padding: 6px 14px;
    cursor: pointer;
    font-size: 13px;
    transition: background-color 0.3s ease;
  }
  .apply-btn:hover {
    background-color: #1b84b0;
  }


.table-wrap {
    overflow-x: auto;
    margin: 20px 0;
    width: 100%;
  }
  
  .prod {
    width: 100%;
    border-collapse: collapse;
    margin: 0;
    font-size: 14px;
  }
  
  .prod th, .prod td {
    padding: 12px 15px;
    text-align: center;
    border: 1px solid #ddd;
  }
  
  .prod th {
    background-color: #23a9d6;
    color: white;
    font-weight: bold;
  }
  
  .prod tr:nth-child(even) {
    background-color: #f9f9f9;
  }
  
  .prod tr:hover {
    background-color: #f1f1f1;
  }
  
  .order_button {
    display: inline-block;
    padding: 8px 16px;
    background-color: #23a9d6;
    color: white;
    border-radius: 4px;
    cursor: pointer;
    font-weight: bold;
    font-size: 14px;
    transition: background-color 0.3s;
  }
  
  .order_button:hover {
    background-color: #1d8fb8;
  }

  /* Мобильная версия */
  @media (max-width: 768px) {
    .table-wrap {
      overflow-x: visible;
    }
    
    .prod {
      display: block;
      width: 100%;
    }
    
    .prod thead {
      display: none;
    }
    
    .prod tbody {
      display: flex;
      flex-direction: column;
      gap: 16px;
    }
    
    .prod tr {
      display: grid;
      grid-template-columns: repeat(2, 1fr);
      margin-bottom: 0;
      border: 1px solid #ddd;
      border-radius: 8px;
      overflow: hidden;
      box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    }
    
    .prod td {
      display: flex;
      flex-direction: column;
      padding: 12px 15px;
      text-align: center;
      border-bottom: 1px solid #eee;
      justify-content: center;
    }
    
    .prod td::before {
      content: attr(data-label);
      font-weight: bold;
      color: #23a9d6;
      margin-bottom: 5px;
      font-size: 12px;
    }
    
    .prod td:last-child {
      grid-column: 1 / -1;
      background: #f9f9f9;
      border-bottom: none;
      padding: 15px;
    }
    
    .prod td:last-child::before {
      display: none;
    }
    
    .order_button {
      width: 100%;
      max-width: 200px;
      margin: 0 auto;
      padding: 12px;
      text-align: center;
      font-size: 16px;
    }
  }

.form__overlay {
    position: fixed;
    background-color: #000000;
    display: none;
    opacity: 0.8;
    height: 100%;
    width: 100%;
    z-index: 33;
    left: 0px;
    top: 0px;
    z-index: 999;
}
.form__overlay.open {
    display: block;
}
.form__product-buy {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: #EEF1F3;
    padding: 100px 50px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    color: black;
    width: 600px;
    border-radius: 50px;
}
.detail_form{
	display: none;
}
.detail_form.active{
	display: block;
}

.close-btn {
    width: 40px;
    height: 40px;
    background-image: url(/images/close.png);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    cursor: pointer;
    top: 20px;
    right: 20px;
    position: absolute;
}
.form__product-buy .top-form.bordered_block {
    border: 0;
    padding: 0;
}
div[data-sid="URL"],
div[data-sid="PRODUCT_NAME"] {
    display: none;
}
@media screen and (max-width: 660px){
	.form__product-buy {
	    width: 90%;
	}
}
.form__success {
    display: block;
    font-size: 22px;
    color: green;
    text-align: center;
}
.gallery_about {
	width: 100%;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}
.gallery_about img {
	width: 100%;
}
@media screen and (max-width: 768px){
	.gallery_about {
		grid-template-columns: repeat(2, 1fr);
	}
}
@media screen and (max-width: 567px){
	.gallery_about {
		grid-template-columns: repeat(1, 1fr);
		gap: 30px;
	}
}