@charset "UTF-8";

* {
  padding: 0;
  margin: 0;
  outline: none;
}

body {
  width: 100%;
  height: 100%;
  color: black;
  font-size: 1em;
  font-size: 14px;
  font-family: sans-serif;
  line-height: 135%;
}

a {
  color: black;
}

a:active {
  color: black;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
}

fieldset,
img {
  border: 0;
}

img {
  max-width: 100%;
  height: auto;
  width: auto\9;
}

address,
caption,
cite,
code,
dfn,
em,
th,
var {
  font-weight: normal;
  font-style: normal;
}

ol,
ul {
  list-style: none;
}

caption,
th {
  text-align: left;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-size: 100%;
}

q:before,
q:after {
  content: "";
}

abbr,
acronym {
  border: 0;
}

a {
  text-decoration: none;
}

::-moz-selection {
  background-color: #469ad1;
  color: #fff;
}

::selection {
  background-color: #469ad1;
  color: #fff;
}

::-webkit-selection {
  background-color: #469ad1;
  color: #fff;
}

::-moz-selection {
  background-color: #469ad1;
  color: #fff;
}

::-ms-selection {
  background-color: #469ad1;
  color: #fff;
}

::-o-selection {
  background-color: #469ad1;
  color: #fff;
}

* {
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
}

.header {
  width: 80%;
  margin: 10px auto;
  border-bottom: 2px solid #F7F7F7;
  background: #e6f5e9;
}

.header-container {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}

.header-container__logo img {
  width: 80px;
}

.header-container__navigation {
  padding: 10px 20px;
  font-family: Arial, sans-serif;
}

.header-container__navigation ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: start;
      -ms-flex-pack: start;
          justify-content: flex-start;
  gap: 25px;
}

.header-container__navigation li a {
  color: black;
  text-decoration: none;
  font-weight: 600;
  line-height: 20px;
  padding: 8px 12px;
  border-radius: 5px;
  -webkit-transition: background-color 0.25s ease, color 0.25s ease;
  -o-transition: background-color 0.25s ease, color 0.25s ease;
  transition: background-color 0.25s ease, color 0.25s ease;
  text-align: center;
}

.header-container__navigation li a:hover,
.header-container__navigation li a:focus {
  background-color: #28a040;
  border: 1px solid black;
  color: #fff;
  outline: none;
}

.header-container__icons ul {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
}

.header-container__icons ul li {
  border: 2px solid #F7F7F7;
  margin-left: 2px;
  width: 75px;
  height: 75px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}

.header-container__icons ul li .iconBlock {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
}

.header-container__icons ul li .iconBlock p {
  font-size: 9px;
}

.header-container__icons ul li img {
  width: 20px;
  height: 20px;
}

.header-container__icons ul li:hover {
  border: 2px solid #000000;
  -webkit-transition: border-color 0.5s ease;
  -o-transition: border-color 0.5s ease;
  transition: border-color 0.5s ease;
}

.cart-block {
  margin-left: auto;
  margin-right: auto;
  position: relative;
}

.cart-block span {
  border-radius: 30px;
  background-color: #000000;
  color: white;
  padding: 0px 6px 0px 6px;
  position: absolute;
  margin-top: -12px;
  left: 11px;
}

.mini-header {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}

.mini-header__icons ul li {
  width: 60px;
  height: 60px;
}

.main-page {
  max-width: 800px;
  margin: 60px auto;
  padding: 30px 20px;
  background: -o-linear-gradient(305deg, #f4f6f8, #d9e2ec);
  background: linear-gradient(145deg, #f4f6f8, #d9e2ec);
  border-radius: 15px;
  -webkit-box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
          box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  color: #102a43;
  text-align: center;
}

.main-page h1 {
  font-size: 2.5rem;
  font-weight: 700;
  color: #334e68;
  line-height: 35px;
  margin-bottom: 40px;
}

.main-page p {
  font-size: 1.15rem;
  line-height: 1.6;
  margin: 12px 0;
  color: #486581;
}

.cart-container h1 {
  font-size: 20px;
  text-align: center;
  margin-bottom: 20px;
  color: #148f08;
}

.cart-container h4 {
  color: #148f08;
  font-weight: 900;
}

.cart-container h5 {
  color: black;
}

.cart-container h5 span {
  color: green;
  font-weight: 900;
}

.item-cart {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  background-color: #FFFFFF;
  border: 1px solid #4d4d4d;
  margin-bottom: 20px;
  min-height: 200px;
  padding: 15px;
  position: relative;
}

.item-cart__column {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
}

.item-cart__column:first-child {
  width: 80%;
}

.item-cart__column-image {
  min-width: 150px;
  width: 15%;
}

.item-cart__column-param {
  width: 80%;
}

.item-cart__column-total {
  height: auto;
  min-width: 150px;
  text-align: center;
}

.item-cart__column-total p {
  font-size: 16px;
  margin-bottom: 5px;
  font-weight: 700;
  color: #535353;
}

.item-cart__column-total span {
  font-size: 30px;
  font-weight: 900;
}

.item-cart .close .close-btn {
  background: url("../img/ico/delete.png") 0 0/100% no-repeat;
  width: 25px;
  height: 25px;
  cursor: pointer;
  -webkit-transition: all 0.5s ease 0s;
  -o-transition: all 0.5s ease 0s;
  transition: all 0.5s ease 0s;
  position: absolute;
  right: 5px;
  top: 10px;
  -webkit-transform: translate(-50%, 0);
      -ms-transform: translate(-50%, 0);
          transform: translate(-50%, 0);
}

.item-cart .close .close-btn:hover {
  background: url("../img/ico/delete_h.png") 0 0/100% no-repeat;
}

.param-column {
  min-width: 300px;
  min-height: 150px;
  height: 10px;
  width: 100%;
  padding: 10px;
  font-size: 20px;
}

.param-column__title h3 {
  font-size: 22px;
  word-break: break-all;
}

.param-column__category {
  color: #b4301e;
  font-size: 16px;
  margin-top: 5px;
}

.quantity {
  width: 110px;
  height: 33px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  margin-top: 20px;
}

.quantity__button {
  -webkit-box-flex: 0;
      -ms-flex: 0 0 20px;
          flex: 0 0 20px;
  position: relative;
  cursor: pointer;
  background: url("../img/ico/quantity_arrow_grey.png") 0 0/100% no-repeat;
  -webkit-transition: all 0.3s ease 0s;
  -o-transition: all 0.3s ease 0s;
  transition: all 0.3s ease 0s;
  width: 20px;
  height: 17px;
}

.quantity__button:hover {
  background: url("../img/ico/quantity_arrow_h.png") 0 0/100% no-repeat;
}

.quantity__button_plus {
  -webkit-transform: rotate(180deg);
      -ms-transform: rotate(180deg);
          transform: rotate(180deg);
}

.quantity__input {
  -webkit-box-flex: 1;
      -ms-flex: 1 1 auto;
          flex: 1 1 auto;
  padding: 0px 12px;
  height: 33px;
}

.quantity__input input {
  height: 100%;
  color: #686767;
  font-size: 16px;
  border: 2px solid #e5e5e5;
  font-weight: 700;
  width: 100%;
  text-align: center;
}

.total-price-block {
  margin-top: 10px;
  margin-bottom: 50px;
}

.total-price-block__row {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: right;
      -ms-flex-pack: right;
          justify-content: right;
}

.total-price-block__col {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  font-weight: 900;
  font-size: 30px;
}

.total-price-block__col span {
  margin-left: 15px;
  margin-right: 30px;
  color: green;
  font-size: 20px;
  font-size: 30px;
}

.table-checklist tr {
  margin-bottom: 10px;
}

.table-checklist td {
  padding-left: 5px;
  border: 1px solid black;
}

.table-checklist td:nth-child(1) {
  width: 180px;
}

.table-checklist td:nth-child(2) {
  width: 200px;
  text-align: center;
}

.table-checklist__title {
  font-weight: 900;
  text-align: center;
}

.table-checklist__total td {
  font-weight: 900;
  font-size: 18px;
  padding-top: 10px;
  padding-bottom: 10px;
  text-align: center;
}

.office-info {
  margin-left: 30px;
}

.office-info ul {
  margin-top: 20px;
}

.office-info ul li {
  margin-bottom: 5px;
}

.office-info ul li :hover {
  text-decoration: underline;
}

.office-container h1 {
  font-size: 20px;
  text-align: center;
  margin-bottom: 20px;
}

.office-container p {
  font-size: 16px;
}

.office-container p span {
  color: #47b159;
  font-weight: 900;
}

.block-linksoffice {
  background-color: #f5f5f5;
  /* светлый фон */
  padding: 15px;
  border-radius: 8px;
  max-width: 100%;
  -webkit-box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
          box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  font-family: Arial, sans-serif;
  margin-right: 20px;
}

.block-linksoffice ul {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  list-style: none;
  padding: 0;
  margin: 0;
}

.block-linksoffice li {
  margin: 8px 20px;
}

.block-linksoffice a {
  display: block;
  padding: 10px 15px;
  color: #333;
  text-decoration: none;
  font-weight: 600;
  border-radius: 6px;
  -webkit-transition: background-color 0.3s, color 0.3s;
  -o-transition: background-color 0.3s, color 0.3s;
  transition: background-color 0.3s, color 0.3s;
}

.block-linksoffice a:hover,
.block-linksoffice a:focus {
  background-color: #28a040;
  color: #fff;
}

.registration-container {
  max-width: 420px;
  width: 100%;
  margin: 48px auto;
  background: #fff;
  border-radius: 14px;
  -webkit-box-shadow: 0 8px 30px rgba(40, 160, 84, 0.15);
          box-shadow: 0 8px 30px rgba(40, 160, 84, 0.15);
  padding: 36px 28px 28px 28px;
  border: 2px solid #cce9d0;
  border: 1px solid black;
}

.registration-container h1 {
  color: #2e7d40;
  text-align: center;
  margin-bottom: 18px;
}

.message-block {
  min-height: 22px;
  margin-bottom: 10px;
  color: #b61d1d;
  text-align: center;
}

.regform {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  gap: 12px;
}

.regform-item__field {
  width: 100%;
}

.input {
  width: 100%;
  padding: 12px;
  border-radius: 8px;
  border: 1.3px solid #67b97d;
  background: #f5fff9;
  color: #2e7d40;
  font-size: 16px;
  -webkit-transition: border 0.25s;
  -o-transition: border 0.25s;
  transition: border 0.25s;
}

.input:focus {
  border-color: #238c31;
  background: #eafdde;
  outline: none;
}

.checkbox2__input2 {
  accent-color: #238c31;
  margin-right: 7px;
}

.checkbox2__text2 span {
  color: #238c31;
  font-size: 15px;
}

.block-submit {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  margin-top: 10px;
}

.auth-container {
  min-width: 260px;
}

.auth-container__msg {
  background-color: #f86f6f;
  color: white;
  font-weight: 900;
  display: block;
  height: auto;
  text-align: center;
  padding-top: 15px;
  padding-bottom: 15px;
  display: none;
  margin-bottom: 20px;
}

.auth-container__body {
  width: 80%;
  margin-left: auto;
  margin-right: auto;
  margin-top: 10px;
}

.auth-container .body-auth__title {
  text-align: center;
  margin-bottom: 5px;
}

.auth-container .body-auth input {
  text-align: center;
  margin-bottom: 10px;
  margin-left: 15px;
  padding: 5px;
  width: 85%;
}

.auth-container .body-auth__input-btn {
  background-color: #1D67AE;
  cursor: pointer;
  color: white;
  width: 88%;
}

.auth-container .body-auth__input-btn:hover {
  background-color: #4c82b6;
}

.rub:after {
  content: " ₽";
}

.disabledBlock {
  pointer-events: none;
  opacity: 0.4;
}

/*
   <!-- МЕНЮ БУРГЕР -->
   <div class="icon-burger">
         <div class="icon-burger__lines">
            <span></span>
            <span></span>
            <span></span>
         </div>
   </div>
*/

/*
   <div class="header-mini">
      <div class="header-mini__menu">
            <ul>
               <li><a href="index.php">Главная</a></li>
               <li><a href="about.php">О нас</a></li>
               <li><a href="spa.php">СПА услуги</a></li>
               <li><a href="guarantees.php">Гарантии</a></li>
               <li><a href="responses.php">Отзывы</a></li>
               <?php
                  if($_SESSION['auth']=='yes' && $_SESSION['u_login'] == 'admin'){
                        ECHO '<li><a href="office.php">Личный кабинет</a></li>';
                  }
               ?>
            </ul>
      </div>
   </div>
*/

.header-mini {
  width: 60%;
  height: auto;
  background-color: #ffffff;
  opacity: 0.95;
  position: absolute;
  left: 40%;
  top: 0px;
  padding-top: 50px;
  padding-bottom: 30px;
  padding-left: 10%;
  display: none;
  z-index: 999998;
  -webkit-box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
          box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.header-mini__menu ul {
  font-size: 20px;
}

.header-mini__menu ul li {
  margin-top: 20px;
}

.header-mini__menu ul li a {
  color: black;
}

.header-mini__menu ul li a:hover {
  text-decoration: underline;
}

.btn {
  width: 100%;
  cursor: pointer;
  border: none;
  border-radius: 10px;
  padding: 13px 0;
  font-size: 17px;
  font-weight: 600;
  color: #fff;
  background: -webkit-gradient(linear, left top, right top, color-stop(50%, #44b45e), to(#238c31));
  background: -o-linear-gradient(left, #44b45e 50%, #238c31 100%);
  background: linear-gradient(90deg, #44b45e 50%, #238c31 100%);
  -webkit-box-shadow: 0 3px 12px rgba(50, 145, 81, 0.16);
          box-shadow: 0 3px 12px rgba(50, 145, 81, 0.16);
  -webkit-transition: background 0.2s;
  -o-transition: background 0.2s;
  transition: background 0.2s;
  text-align: center;
  padding-left: 10px;
  padding-right: 10px;
}

.btn:hover,
.btn:focus {
  background: -webkit-gradient(linear, left top, right top, color-stop(30%, #238c31), to(#44b45e));
  background: -o-linear-gradient(left, #238c31 30%, #44b45e 100%);
  background: linear-gradient(90deg, #238c31 30%, #44b45e 100%);
  -webkit-box-shadow: 0 5px 18px rgba(50, 145, 81, 0.22);
          box-shadow: 0 5px 18px rgba(50, 145, 81, 0.22);
}

/* Адаптация для мобильных устройств */

/*
<div class="btnMoveTop"></div>
*/

.btnMoveTop {
  width: 45px;
  height: 45px;
  position: fixed;
  right: 4%;
  bottom: 2%;
  opacity: 0;
  display: none;
  z-index: 999999;
  background-image: url("../img/ico/arrowUp.png");
  background-position: center;
  background-size: 45px 45px;
  background-repeat: no-repeat;
}

.btnMoveTop:hover {
  cursor: pointer;
  background: url("../img/ico/arrowUp_hover.png") center/contain no-repeat;
  -webkit-transition: all 0.9s ease;
  -o-transition: all 0.9s ease;
  transition: all 0.9s ease;
}

select {
  display: block;
  min-width: 100px;
  width: 100%;
  height: 40px;
  cursor: pointer;
  border-radius: 4px;
  padding: 5px 5px;
  font-size: 14px;
  -moz-text-align-last: center;
       text-align-last: center;
}

/*
<label class='categories-search__checkbox checkbox' for='chb4'>
   <input data-error='Ошибка' class='checkbox__input' type='checkbox' id='chb4' value='1' name='form[]'>
   <span class='checkbox__text'><span>Гребные тренажер</span></span>
</label>
*/

.checkbox__input {
  position: absolute;
  visibility: hidden;
  width: 0;
  height: 0;
  opacity: 0;
}

.checkbox__input:checked + .checkbox__text {
  color: #f68038;
}

.checkbox__text {
  display: -webkit-inline-box;
  display: -ms-inline-flexbox;
  display: inline-flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  position: relative;
  font-size: 16px;
  color: #999;
  letter-spacing: -0.3px;
  line-height: calc(20 / 16);
  cursor: pointer;
}

.checkbox__text::before {
  position: absolute;
  -ms-flex-item-align: flex-center;
      align-self: flex-center;
  margin: 2px 0px 0px 0px;
  -webkit-box-flex: 1;
      -ms-flex: 1 1 10px;
          flex: 1 1 10px;
  top: 0;
  left: 0;
  width: 15px;
  height: 15px;
  border: 2px solid #a7a9ac;
}

/*
   <label class='checkbox2'>
      <input data-error='Ошибка' class='checkbox2__input2' type='checkbox' value='1' name='form[]'>
      <span class='checkbox2__text2'><span>Без выбора цвета</span></span>
   </label>
*/

.checkbox2 {
  display: inline;
  margin: 0px 0px 15px 0px;
  cursor: pointer;
}

.checkbox2__text2 {
  display: -webkit-inline-box;
  display: -ms-inline-flexbox;
  display: inline-flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  position: relative;
  font-size: 16px;
  color: black;
  letter-spacing: -0.3px;
  line-height: calc(20 / 16);
  cursor: pointer;
  margin-top: -40px;
  margin-bottom: 10px;
}

.checkbox2__input2 {
  position: absolute;
  visibility: hidden;
  width: 0;
  height: 0;
  opacity: 0;
}

.checkbox2__input2:checked + .checkbox2__text2::after {
  content: "";
  position: absolute;
  left: 4px;
  top: 6px;
  width: 11px;
  height: 11px;
  background-color: #53b5de;
}

.checkbox2__input2:checked + .checkbox2__text2::before {
  border: 2px solid #009AAF;
}

.checkbox2__text2::before {
  content: "";
  -ms-flex-item-align: flex-center;
      align-self: flex-center;
  margin: 2px 15px 0px 0px;
  -webkit-box-flex: 1;
      -ms-flex: 1 1 10px;
          flex: 1 1 10px;
  top: 0;
  left: 0;
  width: 15px;
  height: 15px;
  border: 2px solid #a7a9ac;
}

.checkbox2:last-child {
  margin: 0px 0px 0px 0px;
}

.checkbox2__input {
  cursor: pointer;
}

/*
   <?PHP 
      // первое изображение для слайдера
      $randImages = readTableToArray("SELECT it_img FROM titems ORDER BY RAND() LIMIT 5");
      $sliderImg = $randImages[0]['it_img'];
   ?>
	<div class="simple-slider">
			<div class="simple-slider__block">
				<div class="simple-slider__block-prev">
					<button id="prev">&#10094;</button>
				</div>
				<div class="simple-slider__block-img">
					<?PHP ECHO '<img src="img/items/'.$sliderImg.'" id="slideImg">'; ?>
				</div>
				<div class="simple-slider__block-next">
					<button id="next">&#10095;</button>
				</div>
			</div>
	</div>
*/

.simple-slider {
  max-width: 400px;
  margin: auto;
  padding-left: 26px;
  overflow: hidden;
  z-index: 5;
  margin-bottom: 20px;
}

.simple-slider__block {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}

.simple-slider__block-next {
  position: relative;
  right: 26px;
}

.simple-slider__block-prev {
  position: absolute;
}

.simple-slider__block-prev button,
.simple-slider__block-next button {
  background-color: rgba(0, 0, 0, 0.5);
  color: white;
  border: none;
  cursor: pointer;
  padding: 10px;
  z-index: 10;
}

.simple-slider__block-img {
  max-width: 600px;
  max-height: 350px;
}

.simple-slider__block-img img {
  width: 100%;
  height: 100%;
}

#prev {
  left: 0;
}

#next {
  right: 0;
}

.about-block {
  width: 80%;
  margin-left: auto;
  margin-right: auto;
  padding: 30px;
  text-align: justify;
  font-size: 16px;
}

.about-block h1 {
  text-align: center;
}

.about-block span {
  font-size: 18px;
}

.about-block ul li {
  text-align: left;
  margin-top: 2px;
  margin-bottom: 2px;
  text-decoration: underline;
}

.block-items {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
}

.item-block {
  border-radius: 5px;
  max-width: 300px;
  min-width: 300px;
  margin-left: 20px;
  margin-bottom: 25px;
  padding: 10px 10px 10px 10px;
  background-color: #FFFFFF;
  border: 1px solid #dbdbdb;
}

.item-block:hover {
  -webkit-box-shadow: 0px 5px 10px 0px #bbbbbb;
          box-shadow: 0px 5px 10px 0px #bbbbbb;
}

.item-img {
  width: auto;
  min-height: 300px;
  max-height: 300px;
  text-align: center;
}

.item-img img {
  max-width: 250px;
  max-height: 300px;
  width: auto;
}

.item-price {
  margin-top: 10px;
  margin-bottom: 10px;
  padding-left: 30px;
  padding-right: 30px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  text-align: center;
  font-family: "Oswald", sans-serif;
}

.item-price__col {
  width: 100px;
}

.item-price__col p {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 5px;
}

.item-price__col span {
  color: #1133cd;
}

.item-info__title {
  text-align: right;
  font-size: 20px;
  padding-right: 30px;
  min-height: 76px;
}

.item-info__category {
  text-align: right;
  font-size: 15px;
  color: #ec2424;
  padding-right: 30px;
}

.item-info__description {
  min-height: 135px;
  padding-left: 15px;
  padding-right: 15px;
  margin-bottom: 10px;
  font-family: "Kaushan Script";
  line-height: 150%;
  font-size: 15px;
}

.block-category {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  width: 100%;
  margin-bottom: 10px;
  font-size: 20px;
}

.block-category p {
  margin-right: 20px;
}

.block-category select {
  display: block;
  min-width: 100px;
  width: 200px;
  cursor: pointer;
  border-radius: 4px;
  padding: 5px 5px;
  font-size: 14px;
  -moz-text-align-last: center;
       text-align-last: center;
}

.edit-drug {
  background: #f6fff6;
  max-width: 650px;
  margin: 32px auto;
  padding: 28px 22px 22px 22px;
  border-radius: 16px;
  border: 1.5px solid #b1d8b1;
  -webkit-box-shadow: 0 6px 20px rgba(40, 160, 84, 0.15);
          box-shadow: 0 6px 20px rgba(40, 160, 84, 0.15);
  font-family: Arial, sans-serif;
  color: #238c31;
}

.edit-drug h1 {
  font-size: 1.8rem;
  font-weight: 600;
  margin-bottom: 2px;
  text-align: center;
  letter-spacing: 1px;
  line-height: 30px;
}

.msg-edititem {
  min-height: 22px;
  margin-bottom: 14px;
  color: #ad1c1c;
  text-align: center;
  font-weight: 500;
}

.block-edit {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  gap: 14px;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
}

.block-edit__column {
  -webkit-box-flex: 1;
      -ms-flex: 1 1 20px;
          flex: 1 1 20px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  gap: 14px;
}

.block-edit__row {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  width: 100%;
}

.block-edit__row-column {
  width: 100%;
  text-align: center;
}

.block-edit__row-column:first-child {
  margin-right: 5px;
}

.edit-change {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  gap: 10px;
}

.edit-change__id select,
.edit-change__state select,
.block-edit__row input,
.block-edit__row select {
  width: 100%;
  padding: 7px 10px;
  border-radius: 8px;
  border: 1.2px solid #73cf95;
  background: #f7fff7;
  color: #238c31;
  font-size: 16px;
  -webkit-transition: border 0.2s;
  -o-transition: border 0.2s;
  transition: border 0.2s;
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
  text-align: center;
}

.edit-change__id select:hover,
.edit-change__state select:hover,
.block-edit__row input:hover,
.block-edit__row select:hover,
.edit-change__id select:focus,
.edit-change__state select:focus,
.block-edit__row input:focus,
.block-edit__row select:focus {
  border-color: #238c31;
  outline: none;
  background: #e7f4e7;
}

.descr {
  width: 100%;
}

.descr p {
  text-align: center;
}

.annotation {
  width: 100%;
  height: 100px;
  padding: 7px 10px;
  border-radius: 8px;
  border: 1.2px solid #73cf95;
  background: #f7fff7;
  color: #238c31;
  font-size: 16px;
  -webkit-transition: border 0.2s;
  -o-transition: border 0.2s;
  transition: border 0.2s;
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
  text-align: center;
  resize: none;
}

.footer {
  background-color: #222;
  color: #eee;
  padding: 20px 10px;
  font-family: Arial, sans-serif;
}

.footer .footer-nav {
  max-width: 960px;
  margin: 0 auto;
  text-align: center;
}

.footer .footer-nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
}

.footer .footer-nav li {
  margin: 0 15px;
  margin-bottom: 10px;
}

.footer .footer-nav a {
  color: #eee;
  text-decoration: none;
  font-weight: 600;
  -webkit-transition: color 0.3s ease;
  -o-transition: color 0.3s ease;
  transition: color 0.3s ease;
}

.footer .footer-nav a:hover,
.footer .footer-nav a:focus {
  color: #59b9f2;
}

.popup {
  position: fixed;
  width: 100%;
  height: 100%;
  background-color: rgba(235, 237, 241, 0.5);
  top: 0;
  left: 0;
  opacity: 0;
  visibility: hidden;
  overflow-y: auto;
  overflow-x: hidden;
  -webkit-transition: all 0.4s ease 0s;
  -o-transition: all 0.4s ease 0s;
  transition: all 0.4s ease 0s;
  z-index: 9999;
}

.popup.open {
  opacity: 1;
  visibility: visible;
}

.popup.open .popup__content {
  opacity: 1;
  -webkit-transform: translate(0px, 0px);
      -ms-transform: translate(0px, 0px);
          transform: translate(0px, 0px);
}

.popup__body {
  min-height: 100%;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  padding: 0px 0px;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

.popup__content {
  /*
  background-color: #fff;
  color: #000;
  min-width: 200px;
  width: auto;
  padding: 30px 0px 10px 00px;
  position: relative;
  transition: all 0.4s ease 0s;
  opacity: 0;
  transform: translate(0px, -100%);
  */
  background-color: #FFFFFF;
  display: block;
  margin-left: auto;
  margin-right: auto;
  height: auto;
  min-width: 180px;
  padding: 24px;
  border-radius: 16px;
  -webkit-box-shadow: 0px 3px 10px 1px rgba(0, 0, 0, 0.1);
          box-shadow: 0px 3px 10px 1px rgba(0, 0, 0, 0.1);
  position: relative;
}

.popup__content ul li {
  margin-bottom: 14px;
}

.popup__close {
  background: url("../img/icons/close.png") 0 0 no-repeat;
  position: absolute;
  cursor: pointer;
  width: 20px;
  height: 20px;
  right: 29px;
  top: 29px;
}

.popup__title {
  font-family: Proxima Nova;
  font-size: 24px;
  font-weight: 700;
  line-height: 30px;
  letter-spacing: 0em;
  text-align: center;
  margin-bottom: 20px;
}

.popup__info {
  margin-bottom: 40px;
  margin-top: 40px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
}

.popup__info-fields {
  width: 137px;
  height: 176px;
  font-size: 18px;
  font-weight: 400;
  letter-spacing: 0em;
  color: #262C40;
  margin-right: 40px;
}

.popup__info-data {
  font-size: 16px;
  font-weight: 400;
  letter-spacing: 0em;
  text-align: left;
  color: #8189A3;
}

.popup__description h2 {
  font-size: 18px;
  font-weight: 400;
  line-height: 24px;
  letter-spacing: 0em;
  color: #262C40;
  margin-bottom: 12px;
}

.popup__description p {
  font-size: 16px;
  font-weight: 400;
  line-height: 18px;
  letter-spacing: 0em;
  text-align: left;
  color: #8189A3;
}

.popup__btn {
  margin-top: 30px;
}

body.lock {
  overflow: hidden;
}

.about-container {
  width: 80%;
  margin-left: auto;
  margin-right: auto;
  padding: 30px;
  font-size: 18px;
}

.about-container h1 {
  text-align: center;
}

.edit-category {
  background: #f6fff6;
  max-width: 480px;
  margin: 32px auto;
  padding: 28px 22px 22px 22px;
  border-radius: 16px;
  border: 1.5px solid #b1d8b1;
  -webkit-box-shadow: 0 6px 20px rgba(40, 160, 84, 0.15);
          box-shadow: 0 6px 20px rgba(40, 160, 84, 0.15);
  font-family: Arial, sans-serif;
  color: #238c31;
}

.edit-category h1 {
  font-size: 1.8rem;
  font-weight: 600;
  margin-bottom: 2px;
  text-align: center;
  letter-spacing: 1px;
  line-height: 30px;
}

.msg-edititem {
  min-height: 22px;
  margin-bottom: 14px;
  color: #ad1c1c;
  text-align: center;
  font-weight: 500;
}

.block-edit {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  gap: 14px;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
}

.block-edit__column {
  -webkit-box-flex: 1;
      -ms-flex: 1 1 20px;
          flex: 1 1 20px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  gap: 14px;
}

.block-edit__row {
  width: 100%;
}

.edit-change {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  gap: 10px;
}

.edit-change__id select,
.edit-change__state select,
.edit-title input {
  width: 100%;
  padding: 0px 10px;
  border-radius: 8px;
  border: 1.2px solid #73cf95;
  background: #f7fff7;
  color: #238c31;
  font-size: 16px;
  -webkit-transition: border 0.2s;
  -o-transition: border 0.2s;
  transition: border 0.2s;
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
  text-align: center;
}

.edit-title input {
  height: 50px;
}

.edit-change__id,
.edit-change__state {
  width: 100%;
}

.edit-change__id select:hover,
.edit-change__state select:hover,
.edit-title input:hover,
.edit-change__id select:focus,
.edit-change__state select:focus,
.edit-title input:focus {
  border-color: #238c31;
  outline: none;
  background: #e7f4e7;
}

/* Мобильная адаптация */

.msg-edititem {
  display: none;
}

.order-form {
  max-width: 550px;
  margin: 36px auto;
  padding: 30px 18px 22px 18px;
  background: #effaf4;
  border-radius: 16px;
  border: 1.5px solid #bbe4c9;
  -webkit-box-shadow: 0 8px 24px rgba(70, 185, 126, 0.13);
          box-shadow: 0 8px 24px rgba(70, 185, 126, 0.13);
  font-family: Arial, sans-serif;
  color: #238c31;
}

.order-form__section {
  margin-bottom: 16px;
}

.order-form__input,
.order-form__select {
  width: 100%;
  padding: 11px 12px;
  border-radius: 8px;
  border: 1.2px solid #46b97e;
  background: #fff;
  font-size: 16px;
  color: #238c31;
  margin-bottom: 3px;
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
  -webkit-transition: border 0.16s;
  -o-transition: border 0.16s;
  transition: border 0.16s;
  text-align: center;
}

.order-form__input:focus,
.order-form__select:focus {
  border-color: #238c31;
  outline: none;
  background: #e5f8ea;
}

.drug-names {
  height: 120px;
}

.order-form__row {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  gap: 16px;
  margin-bottom: 12px;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
}

.order-form__row--double {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  gap: 16px;
}

.order-form__row--double > * {
  -webkit-box-flex: 1;
      -ms-flex: 1 1 44%;
          flex: 1 1 44%;
}

.order-form__row--grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 20px;
  margin-bottom: 10px;
}

.order-form__row--grid p {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}

.order-form__info {
  background: #fff;
  border-radius: 10px;
  border: 1.2px solid #bbe4c9;
  -webkit-box-shadow: 0 2px 7px rgba(70, 185, 126, 0.07);
          box-shadow: 0 2px 7px rgba(70, 185, 126, 0.07);
  padding: 12px 14px;
  font-size: 14px;
  margin-bottom: 10px;
}

.order-form__info-box {
  background: #fff;
  border-radius: 10px;
  border: 1.2px solid #bbe4c9;
  -webkit-box-shadow: 0 2px 7px rgba(70, 185, 126, 0.07);
          box-shadow: 0 2px 7px rgba(70, 185, 126, 0.07);
  padding: 13px 15px;
  font-size: 14px;
  margin-bottom: 0;
  width: 48%;
}

.order-form__title {
  font-weight: bold;
  margin-bottom: 6px;
  font-size: 15px;
}

.order-form__btn {
  background: -webkit-gradient(linear, left top, right top, color-stop(60%, #46b97e), to(#238c31));
  background: -o-linear-gradient(left, #46b97e 60%, #238c31 100%);
  background: linear-gradient(90deg, #46b97e 60%, #238c31 100%);
  border: none;
  border-radius: 12px;
  color: #fff;
  width: 100%;
  padding: 14px 0;
  font-size: 18px;
  font-weight: 600;
  letter-spacing: 1px;
  -webkit-box-shadow: 0 8px 24px rgba(70, 185, 126, 0.13);
          box-shadow: 0 8px 24px rgba(70, 185, 126, 0.13);
  -webkit-transition: background 0.14s;
  -o-transition: background 0.14s;
  transition: background 0.14s;
  cursor: pointer;
  margin-top: 9px;
}

.order-form__btn:hover,
.order-form__btn:focus {
  background: -webkit-gradient(linear, left top, right top, color-stop(30%, #238c31), to(#46b97e));
  background: -o-linear-gradient(left, #238c31 30%, #46b97e 100%);
  background: linear-gradient(90deg, #238c31 30%, #46b97e 100%);
  -webkit-box-shadow: 0 8px 30px rgba(45, 140, 90, 0.16);
          box-shadow: 0 8px 30px rgba(45, 140, 90, 0.16);
}

/* Мобильная адаптация */

.pharmacy-table-wrapper {
  overflow-x: auto;
  max-width: 100%;
  padding: 10px;
  margin-right: 10px;
}

.pharmacy-table {
  width: 100%;
  border-collapse: collapse;
  font-family: Arial, sans-serif;
}

.pharmacy-table thead {
  background-color: #4caf50;
  color: white;
}

.pharmacy-table th,
.pharmacy-table td {
  padding: 8px 12px;
  border: 1px solid #ddd;
  text-align: center;
}

.pharmacy-table tbody tr {
  cursor: pointer;
  -webkit-transition: background-color 0.2s ease;
  -o-transition: background-color 0.2s ease;
  transition: background-color 0.2s ease;
}

.pharmacy-table tbody tr:hover {
  background-color: #e8f5e9;
}

.warehouser-pharm__search {
  margin-left: 10px;
  margin-right: 10px;
  max-width: 500px;
}

.warehouser-pharm__search input {
  height: 30px;
  width: 100%;
  text-align: center;
}

body {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  font-family: Arial, sans-serif;
}

.wrapper {
  min-height: 1000px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
}

.page {
  font-family: Formular;
  -webkit-box-flex: 1;
      -ms-flex: 1 1 auto;
          flex: 1 1 auto;
  min-height: 500px;
  height: auto;
  width: 80%;
  margin-left: auto;
  margin-right: auto;
  padding-top: 15px;
  padding-bottom: 15px;
  background: #e6f5e9;
}

.page > h1 {
  font-size: 24px;
  text-align: center;
  margin-top: 10px;
  margin-bottom: 40px;
}

@media (min-width: 780px) {
  .mini-header {
    display: none;
  }
}

@media (min-width: 840px) {
  .item-cart__column-total {
    margin-top: 45%;
  }
}

@media (max-width: 840px) {
  .item-cart {
    display: block;
  }

  .item-cart__column {
    display: block;
  }

  .item-cart__column:first-child {
    width: 100%;
  }

  .item-cart__column-image {
    text-align: center;
    width: 100%;
  }

  .item-cart__column-image img {
    width: 45%;
    min-width: 150px;
  }

  .param-column {
    min-width: 200px;
  }
}

@media (max-width: 780px) {
  .header {
    width: 100%;
  }

  .header-container {
    display: none;
  }

  .icon-burger {
    margin-top: auto;
    margin-bottom: auto;
    margin-left: 20px;
    margin-right: 10px;
    -webkit-box-flex: 0;
        -ms-flex: 0 0 36px;
            flex: 0 0 36px;
    width: 36px;
    height: 20px;
    background-color: transparent;
    position: relative;
    cursor: pointer;
    z-index: 999999;
  }

  .icon-burger span {
    -webkit-transition: all 0.3s ease 0s;
    -o-transition: all 0.3s ease 0s;
    transition: all 0.3s ease 0s;
    top: calc(50% - 1px);
    left: 0px;
    position: absolute;
    width: 100%;
    height: 2px;
    background-color: #000000;
  }

  .icon-burger span:first-child {
    top: 0px;
    -webkit-transform-origin: left center;
        -ms-transform-origin: left center;
            transform-origin: left center;
  }

  .icon-burger span:nth-child(2) {
    -webkit-transform-origin: left center;
        -ms-transform-origin: left center;
            transform-origin: left center;
  }

  .icon-burger span:last-child {
    top: auto;
    bottom: 0px;
    -webkit-transform-origin: left center;
        -ms-transform-origin: left center;
            transform-origin: left center;
  }

  ._activate-burger span {
    background-color: #333;
  }

  ._activate-burger span:first-child {
    -webkit-transform: rotate(35deg) translate(1px, -2px);
        -ms-transform: rotate(35deg) translate(1px, -2px);
            transform: rotate(35deg) translate(1px, -2px);
    width: calc(100% - 1px);
  }

  ._activate-burger span:nth-child(2) {
    width: 0;
    opacity: 0;
  }

  ._activate-burger span:last-child {
    -webkit-transform: rotate(-35deg) translate(1px, 2px);
        -ms-transform: rotate(-35deg) translate(1px, 2px);
            transform: rotate(-35deg) translate(1px, 2px);
    width: calc(100% - 1px);
  }

  .page {
    width: 100%;
  }
}

@media (max-width: 776.1px) {
  .item-block {
    width: auto;
    min-width: 300px;
  }
}

@media (max-width: 768px) {
  .pharmacy-table th,
  .pharmacy-table td {
    padding: 6px 8px;
    font-size: 14px;
  }
}

@media (max-width: 750px) {
  .edit-drug {
    max-width: 98vw;
    padding: 10px 2vw 14px 2vw;
  }

  .block-edit {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    gap: 18px;
  }

  .block-edit__column {
    -webkit-box-flex: 0;
        -ms-flex: none;
            flex: none;
    width: 100%;
  }
}

@media (max-width: 640px) {
  .order-form {
    max-width: 98vw;
    padding: 10px 3vw 15px 3vw;
  }

  .order-form__row {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    gap: 8px;
  }

  .order-form__row--double {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    gap: 8px;
  }

  .order-form__row--grid {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .order-form__info-box {
    margin-bottom: 10px;
    width: 100%;
  }
}

@media (max-width: 600px) {
  .header-container__navigation {
    padding: 8px 10px;
  }

  .header-container__navigation ul {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    gap: 15px;
    -webkit-box-align: start;
        -ms-flex-align: start;
            align-items: flex-start;
  }

  .header-container__navigation li a {
    display: block;
  }

  .main-page {
    margin: 40px 15px;
    padding: 20px 15px;
  }

  .main-page h1 {
    font-size: 1.8rem;
  }

  .main-page p {
    font-size: 1rem;
  }

  .block-linksoffice {
    padding: 10px;
  }

  .block-linksoffice ul {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
  }

  .block-linksoffice li {
    margin: 8px 0;
  }

  .btn {
    padding: 8px 18px;
    font-size: 16px;
  }

  .footer {
    padding: 15px 5px;
  }

  .footer .footer-nav ul {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    gap: 10px;
  }

  .footer .footer-nav li {
    margin: 5px 0;
  }

  .order-form__row--grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 550px) {
  .param-column__title h3 {
    font-size: 16px;
  }

  .total-price-block__col {
    font-size: 16px;
  }

  .total-price-block__col span {
    font-size: 18px;
  }
}

@media (max-width: 500px) {
  .block-edit {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    gap: 18px;
  }

  .block-edit__column {
    -webkit-box-flex: 0;
        -ms-flex: none;
            flex: none;
    width: 100%;
  }
}