:root {
  --baseFontColor: #2b2a29;
  --baseGreen: #62af33;
}

* {
  box-sizing: border-box;
  transition: all, 0.35s;
}

html,
body,
hr,
ul,
h1,
h2,
h3,
h4,
p {
  margin: 0;
  padding: 0;
}

::marker{
  color: #e5e5e5;
}

h1,
h2,
h3,
h4 {
  line-height: 1.2;
}

body {
  font-family: 'Roboto';
  background-color: #e5e5e5;
}

a {
  text-decoration: none;
  color: var(--baseFontColor);
}

.container {
  max-width: 1150px;
  margin: auto;
}

.container.inner{
  margin: 40px auto;
  padding: 40px 30px;
  background-color: #fff;
}

.container.basket{
  margin: 40px auto;
}

.container.inner h1{
  font-size: 36px;
}

.product-info{
  display: flex;
  margin-bottom: 30px;
}

.product-img{
  margin-right: 30px;
}

.product_price{
  font-size: 24px;
  margin-bottom: 20px;
}

.quantity{
  display: flex;
  margin-bottom: 20px;
}

.quantity .count{
  margin: 0 10px;
  text-align: center;
  background:none;
  border: 1px solid #aaa;
}

input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
    /* display: none; <- Crashes Chrome on hover */
    -webkit-appearance: none;
    margin: 0; /* <-- Apparently some margin are still there even though it's hidden */
}

.q_minus, .q_plus{
  cursor: pointer;
  display: inline-block;
  border: 1px solid #62af33;
  -webkit-border-radius: 50%;
  -moz-border-radius: 50%;
  border-radius: 50%;
  font-size: 28px;
  width: 32px;
  line-height: 32px;
  text-align: center;
}

.q_minus:hover, .q_plus:hover{
  background-color: #62af33;
  color: #fff;
}

#msGallery{
  margin-right: 30px;
}

h1 {
  font-size: 40px;
  font-weight: 600;
  line-height: 52px;
  margin-bottom: 15px;
}

/* HEADER */

header {
  background-color: #fff;
}

.header-info {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 38px 20px;
}

.header-logo {
  display: flex;
  align-items: center;
  margin-right: 10px;
}

.company-name {
  display: inline-block;
  margin-left: 10px;
  font-size: 24px;
  font-weight: 700;
  line-height: 22px;
  white-space: nowrap;
}

.link:hover {
  color: var(--baseGreen);
}

.phone-number {
  font-size: 18px;
  font-weight: 600;
}

.btn {
  cursor: pointer;
  display: inline-block;
  padding: 14px 24px;
  border: 1px solid var(--baseGreen);
  border-radius: 50px;
  background: none;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  white-space: nowrap;
  text-align: center;
}

.btn:hover {
  background-color: var(--baseGreen);
  color: #fff;
}

.header-nav .msMiniCart {
  border-radius: 20px;
  background: var(--baseGreen);
  display: inline-block;
  padding: 8px 10px;
  color: #fff;
}

.header-nav .msMiniCart:hover{
  background-color: #ed6d11;
  color: #fff;
}


.catalog{
  margin-top: 40px;
  margin-bottom: 40px;
}

.burger {
  display: none;
  position: relative;
  margin-left: 30px;
  width: 30px;
  height: 3px;
  background-color: var(--baseFontColor);
  -webkit-transition: all 0.35s;
  -o-transition: all 0.35s;
  transition: all 0.35s;
}

.burger::after,
.burger::before {
  position: relative;
  content: '';
  display: block;
  width: 30px;
  height: 3px;
  background: var(--baseFontColor);
  -webkit-transition: all 0.35s;
  -o-transition: all 0.35s;
  transition: all 0.35s;
}

.burger::before {
  bottom: 10px;
}

.burger::after {
  top: 7px;
}

.burger.open {
  background-color: rgba(244, 245, 249, 0);
  z-index: 1000;
}

.burger.open::before {
  bottom: 0px;
  -webkit-transform: rotate(-45deg);
  -ms-transform: rotate(-45deg);
  transform: rotate(-45deg);
  background-color: var(--baseGreen);
}

.burger.open::after {
  top: -3px;
  -webkit-transform: rotate(45deg);
  -ms-transform: rotate(45deg);
  transform: rotate(45deg);
  background-color: var(--baseGreen);
}

.d-flex{
  display: flex;
  align-items: center;
}

.d-flex .image{
  min-width: 160px;
  max-width: 160px;
  max-height: 160px;
  margin-right: 20px;
}

.d-flex .image img{
  width: 100%;
  object-fir: cover;
}

.d-flex a:hover{
  color: #ed6d11;
}

.d-flex.total{
  justify-content: flex-end;
  font-weight: bold;
  font-size: 24px;
  margin: 30px 0;
}


@media (max-width: 639px) {
  .burger {
    display: block;
  }
}

.header-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 20px;
}

.header-nav ul {
  display: flex;
  align-items: center;
}

.header-nav li {
  font-size: 16px;
  font-weight: 300;
  line-height: 22px;
  list-style-type: none;
  margin-right: 20px;
}

.header-nav a:hover {
  color: #ed6d11;
}

.hidden {
  display: block !important;
}

@media (min-width: 768px) and (max-width: 1023px) {
  .header-discr {
    display: none;
  }
  .container.inner h1 {
    font-size: 24px;
    line-height: 1.35;
  }
}

@media (max-width: 767px) {
  .header-discr,
  .header-adress {
    display: none;
  }
  
  .product-info{
    flex-direction: column;
  }
  .product-img{
    margin-bottom: 20px;
  }
  
  .container.inner h1 {
    font-size: 24px;
    line-height: 1.35;
  }
}

@media (max-width: 639px) {
  .header-discr,
  .header-adress,
  .header-nav,
  hr,
  header .btn {
    display: none;
  }

  .header-info {
    padding: 10px 20px;
  }

  .header-logo {
    margin-right: 5px;
  }
  
  .header-nav .msMiniCart{
    width: 100%;
    text-align: center;
  }

  .company-name {
    margin-left: 5px;
  }

  .header-nav {
    display: block;
    width: 100%;
    position: absolute;
    z-index: 100;
    top: -100vh;
    background-color: #fff;
  }

  .header-nav ul {
    flex-direction: column;
  }

  .header-nav ul li {
    margin-bottom: 12px;
  }

  .header-nav.open {
    top: 54px;
  }

  .header-info {
    position: relative;
    z-index: 101;
    background-color: #fff;
  }
}

@media (max-width: 375px) {
  h1 {
    font-size: 32px;
    line-height: 1.2;
  }
}

@media (max-width: 410px) {
  header .company-name {
    display: none;
  }
}

/* MAIN SECTION PRODUCT */

.first-screen {
  display: flex;
  padding: 44px 20px 70px;
}

.prod-list {
  width: 255px;
  margin-right: 30px;
  padding: 30px;
  background-color: var(--baseGreen);
  font-size: 14px;
  line-height: 36px;
}

.prod-list li {
  align-items: center;
  margin-left: 7px;
  list-style-image: url('./img/svg/li.svg');
}

.prod-list a {
  color: #fff;
  transition: all 0.35s;
}

.prod-list a:hover {
  margin-left: 10px;
}

.prod-selling {
  position: relative;
  flex-basis: calc(100% - 255px);
  padding: 50px 60px;
  color: #fff;
  background-image: url('../img/selling.png');
  background-size: cover;
}

.prod-selling h2 {
  margin-bottom: 15px;
  font-size: 40px;
  font-weight: 600;
  line-height: 52px;
  text-transform: uppercase;
}

.prod-selling span {
  display: inline-block;
  font-size: 22px;
  line-height: 22px;
  margin-bottom: 45px;
}

.prod-selling .btn {
  width: 150px;
  display: block;
  text-transform: uppercase;
  color: #fff;
  font-family: Roboto;
  font-size: 12px;
  line-height: 14px;
  letter-spacing: 0.3px;
}

.prod-selling .btn:hover {
  background-color: var(--baseGreen);
}

@media (min-width: 768px) and (max-width: 1023px) {
  .first-screen {
    padding: 20px;
  }

  .prod-list {
    margin-right: 12px;
  }

  .prod-selling h2 {
    font-size: 32px;
  }

  .prod-selling {
    padding: 30px;
  }
}

@media (max-width: 767px) {
  .first-screen {
    padding: 20px;
  }

  .prod-selling h2 {
    font-size: 32px;
  }
}

@media (max-width: 639px) {
  main .prod-list {
    display: none;
  }

  .prod-selling {
    padding: 30px 40px;
  }

  .first-screen {
    padding: 20px;
  }
}

.card-box {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  max-width: 1150px;
  margin: auto;
  padding: 0 20px;
}

.card-cont {
  position: relative;
  width: calc((100% - 30px) / 2);
  background-color: #fffefe;
  border: 1px solid #e9e9e9;
  overflow: hidden;
  margin-bottom: 32px;
  padding: 76px 40px;
}

.card-cont:hover {
  cursor: pointer;
  box-shadow: 0px 0px 15px rgba(0, 0, 0, 0.15);
}

.card-cont span {
  font-size: 24px;
  line-height: 28px;
}

.card-img {
  position: absolute;
  bottom: 0;
  right: 0;
}

@media (min-width: 768px) and (max-width: 1023px) {
  .card-box {
    padding-left: 20px;
    padding-right: 20px;
  }

  .card-cont {
    margin-bottom: 24px;
    padding: 56px 24px;
  }

  .card-img {
    width: 220px;
  }
}

@media (max-width: 767px) {
  .card-cont {
    width: 100%;
    margin-bottom: 16px;
  }

  .card-cont:last-of-type {
    margin-bottom: 0;
  }

  .card-img {
    width: 50%;
    height: 100%;
    object-fit: cover;
  }

  .first-screen {
    flex-direction: column;
  }

  .prod-list,
  .prod-selling {
    width: 100%;
  }

  .prod-list {
    display: inline-flex;
    justify-content: space-between;
  }

  .prod-selling {
    flex-basis: initial;
  }
}

@media (max-width: 640px) {
  .card-cont {
    padding: 50px 36px;
  }
}

@media (max-width: 375px) {
  .card-cont {
    padding: 24px;
  }

  .contact-item.adress {
    flex-basis: 100%;
    order: 1;
  }

  .contact-group {
    flex-wrap: wrap;
  }
}

/* ПОПУЛЯРНЫЕ ТОВАРЫ */

.most-popular {
  display: flex;
  flex-direction: column;
  max-width: 1150px;
  padding: 0 20px;
}

.popular-heding {
  font-size: 32px;
  font-weight: 600;
  margin-top: 52px;
  margin-bottom: 40px;
}

.popular-prod-box {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}

.popular-item {
  display: flex;
  flex-direction: column;
  flex-basis: calc((100% - 60px) / 3);
  background-color: #fff;
  margin-bottom: 32px;
}

.popular-item {
  max-width: 330px;
  display: flex;
  justify-content: space-between;
}

.popular-item:hover {
  box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.25);
}

.info-box {
  padding: 12px 16px 0;
}

.info-discription {
  display: inline-block;
  margin-bottom: 20px;
  font-family: Roboto;
  font-size: 14px;
  line-height: 18px;
}

.item-img {
  width: 100%;
  margin-bottom: 16px;
}

.price-order {
  display: flex;
  justify-content: start;
  align-items: center;
  margin-bottom: 24px;
}

.price-order span {
  margin-right: 20px;
}

.price {
  font-family: Roboto;
  font-size: 20px;
  font-weight: 600;
  line-height: 24px;
  letter-spacing: 0em;
  text-align: left;
  color: #ed6d11;
  margin-right: 20px;
}

.more {
  padding: 16px;
  font-size: 12px;
  line-height: 14px;
  letter-spacing: 0.1em;
  fill: var(--baseGreen);
}

.more:hover {
  color: #fff;
  background-color: var(--baseGreen);
}

.more span {
  font-size: 12px;
  line-height: 14px;
  letter-spacing: 0.1em;
  margin-right: 12px;
  text-transform: uppercase;
  color: var(--baseGreen);
}

.more:hover span {
  color: #fff;
}

.more:hover svg {
  fill: #fff;
}

@media (min-width: 768px) and (max-width: 1023px) {
  .price-order {
    display: block;
  }

  .price {
    margin-bottom: 20px;
  }

  .popular-heding {
    margin-top: 0;
    margin-bottom: 24px;
  }
}

@media (max-width: 767px) {
  .popular-heding {
    margin-top: 24px;
    margin-bottom: 12px;
  }

  .popular-item {
    flex-basis: calc((100% - 30px) / 2);
    max-width: inherit;
  }

  .price {
    margin-right: 20px;
  }
}

@media (max-width: 639px) {
  .popular-item {
    flex-basis: 100%;
    margin-bottom: 24px;
  }
}

/* КОНЕЦ ПОПУЛЯРНЫЕ ТОВАРЫ */

/* O HAC */

.about {
  display: flex;
  margin: auto;
  justify-content: center;
  width: 100%;
  margin-bottom: 80px;
  padding: 64px 20px;
  background-color: #fff;
}

.about-info {
  max-width: 490px;
  margin-right: 78px;
}

.header-about {
  font-size: 32px;
  font-weight: 600;
  line-height: 38px;
  margin-bottom: 30px;
}

.about p {
  font-size: 14px;
  font-weight: 300;
  line-height: 22px;
}

.about span:nth-of-type(1) {
  margin-bottom: 24px;
  font-size: 20px;
  line-height: 28px;
}

.about span:nth-of-type(2) {
  margin-bottom: 24px;
}

.about-more {
  display: inline-block;
  margin-top: 30px;
  font-size: 12px;
  line-height: 14px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #ed6d11;
  fill: #ed6d11;
}

.about-more:hover {
  color: var(--baseGreen);
  fill: var(--baseGreen);
}

@media (min-width: 768px) and (max-width: 1023px) {
  .about-img {
    max-width: 300px;
    object-fit: cover;
  }

  .about {
    margin-bottom: 20px;
    padding: 30px;
  }
}

@media (max-width: 767px) {
  .about {
    padding: 30px;
    margin-bottom: 32px;
  }

  .about-img {
    display: none;
  }

  .about-info {
    max-width: inherit;
    margin-right: 0;
  }
}

/* КОНЕЦ  ABOUT */

/* MAP КАРТА */

.contact h3 {
  margin-left: 20px;
  margin-bottom: 48px;
  font-size: 32px;
  font-weight: 600;
}

.map-heading__low {
  display: none;
}

.map {
  position: relative;
}

.contact-info {
  position: absolute;
  z-index: 1;
  display: flex;
  flex-direction: column;
  padding: 32px 64px 36px 44px;
  background-color: #fff;
  color: var(--baseFontColor);
  top: 118px;
  left: 86px;
}

.contact-info h4 {
  font-size: 12px;
  line-height: 14px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--baseGreen);
  margin-bottom: 8px;
}

.contact-info .btn {
  font-size: 12px;
}

.contact-item {
  margin-bottom: 20px;
}

@media (min-width: 768px) and (max-width: 1023px) {
  .container .map-heading {
    margin-bottom: 24px;
  }
}

@media (max-width: 767px) {
  .map-heading {
    display: none;
  }

  .contact-info .map-heading__low {
    display: block;
    margin-left: 0;
    margin-bottom: 24px;
  }

  .contact-info {
    position: static;
  }

  .contact-group {
    display: flex;
    justify-content: space-between;
  }
}

@media (max-width: 640px) {
  .contact-info {
    padding: 20px;
  }
}

/* КОНЕЦ КАРТЫ */

/* БЛОК КОНСУЛЬТАЦИЙ ФОРМА */

.consultation {
  padding: 28px 20px;
  background-color: #ed6d11;
}

.consultation-cont {
  display: flex;
  justify-content: space-between;
  max-width: 1110px;
  margin: auto;
  margin-top: 28px;
}

.form-cont {
  max-width: 482px;
  color: #fff;
}

.form-cont h3 {
  font-size: 32px;
  font-weight: 600;
  line-height: 38px;
  margin-bottom: 8px;
}

.form-cont > span {
  display: block;
  margin-bottom: 48px;
  font-size: 14px;
  font-weight: 300;
  line-height: 17px;
}

.consultation-form input,
textarea {
  width: 100%;
  font-size: 12px;
  font-weight: 300;
  line-height: 14px;
  border: 1px solid #ffffff;
  opacity: 0.7;
  border-radius: 5px;
  padding: 12px 16px;
  resize: none;
}

.input-name {
  margin-right: 12px;
}

.input-flex-box {
  display: flex;
}

.input-name,
.input-tel {
  height: 40px;
  flex-basis: calc((100% - 12px) / 2);
  margin-bottom: 12px;
}

.input-message {
  text-align: start;
  width: 100%;
  height: 64px;
  margin-bottom: 60px;
}

.img-consultation {
  object-fit: cover;
  max-width: 550px;
  min-width: 200px;
  flex-basis: calc((100% - 10px) / 2);
  margin-left: 20px;
}

.underline {
  text-decoration: underline;
}

.personal-box {
  display: flex;
  justify-content: start;
}

.personal-box > span {
  font-size: 12px;
  font-weight: 300;
  line-height: 18px;
}

.personal-box .underline {
  cursor: pointer;
}

.form-btn {
  margin-right: 40px;
  padding: 12px 24px;
  background-color: #fff;
  font-size: 12px;
  line-height: 14px;
  letter-spacing: 0.1em;
  border-radius: 50px;
  border-color: transparent;
  text-transform: uppercase;
  cursor: pointer;
}

@media (min-width: 1024px) and (max-width: 1080px) {
}

@media (min-width: 768px) and (max-width: 1023px) {
  .consultation-cont {
    margin-top: 0;
  }
}

@media (max-width: 767px) {
  .consultation-cont {
    margin-top: 0;
  }

  .img-consultation {
    display: none;
  }

  .form-cont {
    margin: auto;
  }

  .input-message {
    margin-bottom: 12px;
  }

  .form-cont > span {
    margin-bottom: 24px;
  }
}

@media (max-width: 375px) {
  .form-btn {
    padding: 12px;
  }
}

/* КОНЕЦ ФОРМЫ */

/* FOOTER */

footer {
  color: #fff;
  background-color: var(--baseFontColor);
}

footer .container {
  padding: 44px 20px;
}

.footer-list-logo-box {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 40px;
}

.footer-list {
  display: flex;
  justify-content: space-between;
  list-style-type: none;
  width: calc(100% - 167px);
  margin-left: 140px;
}

.li-flex-cont {
  display: flex;
  justify-content: space-around;
  align-content: center;
  width: calc(100% / 2);
}

.footer-list a,
footer a {
  color: #fffefe;
}

.footer-list a:hover,
footer a:hover {
  color: var(--baseGreen);
}

.footer-second {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-info {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  font-weight: 300;
  line-height: 14px;
}

.copyright {
  margin-right: 70px;
}

.footer-tel {
  margin-right: 24px;
}

@media (min-width: 768px) and (max-width: 1023px) {
  .copyright {
    margin-right: 10px;
  }

  .footer-list {
    margin-left: 40px;
  }
}

@media (max-width: 767px) {
  .li-flex-cont {
    display: flex;
    justify-content: space-evenly;
    width: 100%;
  }

  .footer-second {
    justify-content: space-around;
  }

  .footer-info {
    flex-direction: column;
  }

  .copyright {
    margin-right: 0;
    margin-bottom: 10px;
  }

  .footer-contact {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .footer-tel {
    margin-right: 0;
    margin-bottom: 20px;
  }
}

@media (max-width: 639px) {
  .footer-list li {
    text-align: center;
    margin-bottom: 4px;
  }

  .header-about {
    font-size: 28px;
  }

  .footer-list-logo-box {
    display: block;
  }

  .footer-list {
    margin-left: 0;
    flex-wrap: wrap;
    width: 100%;
    margin-top: 20px;
  }

  .footer-list li {
    margin-bottom: 10px;
    flex-basis: 45%;
    text-align: left;
  }

  .li-flex-cont {
    flex-direction: column;
  }

  .footer-info {
    justify-content: flex-end;
  }

  footer .footer-second {
    align-items: unset;
  }
}

.table{
  border-collapse: collapse
}

.table th{
  padding: 12px 20px;
  text-align: left;
  color: #fff;
}

.table tr{
  background-color: #fff;
}

.table tr:nth-child(2n+1){
  background-color: #f3f3f3;
}

.table tr:first-of-type{
  background-color: #62af33;
}

.table tr td{
  padding: 20px;
}

.table tr td:last-of-type{
  text-align: center;
}

.table .quantity{
  margin-bottom: 0;
}
.btn-danger{
  background-color: #C62121;
  color: #fff;
  font-size: 32px;
  border: none;
  padding: 7px 14px 5px 16px;
}
.btn-danger:hover{
  background-color: #8D0101;
}


#msOrder input[type='text']{
  width: 100%;
  padding: 8px 12px;
  font-size: 16px;
  margin-bottom: 20px;
  border: 1px solid #aaa;
}

#msOrder textarea{
  font-family: 'Roboto';
  font-size: 16px;
  height: 120px;
  border: 1px solid #aaa;
}

#msOrder > .row{
  background-color: #fff;
  padding: 20px;
  margin-bottom: 20px;
}


#msOrder h4{
  margin-bottom: 20px;
  font-size: 24px;
}

#msOrder label{
  display: inline-block;
  margin-bottom: 8px;
}

@media screen and (max-width: 600px) {
  table {
    width: 100%;
    border: 0;
  }
  table tr:first-of-type {
    display: none;
  }
  table tr {
    margin-bottom: 10px;
    display: block;
    border-bottom: 2px solid #ddd;
  }
  table td {
    display: block;
    text-align: right;
    border-bottom: 1px dotted #ccc;
    border-right: 1px solid transparent;
    text-align: center;
  }
  table td:last-child {
    border-bottom: 0;
  }
  .table .quantity{
    width: 140px;
    margin: auto;
  }
}

.fotorama__stage__frame{
  border: 2px solid #62af33;
  -webkit-border-radius: 20px;
  -moz-border-radius: 20px;
  border-radius: 20px;
  overflow: hidden;
}