*
 {
  box-sizing: border-box;
  border: 0;
  outline: 0;
  padding: 0;
  margin: 0;
  -webkit-tap-highlight-color: transparent;
 }
html
 {
  background: #fff;
 }
body
 {
  background: #fff;
  font-family: Verdana, sanf-serif;
  font-size: 14px;
 }
input,textarea,select,button
 {
  font-family: Verdana, sanf-serif;
  font-size: 16px;
 }
a
 {
  text-decoration: none;
  color: #1976d2;
 }
a:hover,button:hover
 {
  cursor: pointer;
  opacity: 0.94;
 }
header,main,section,footer
 {
  display: block;
 }
.page
 {
  display: flex;
  flex-flow: column;
  min-height: 100vh;
 }
.container
 {
  padding: 0 18px;
  margin: 0 auto;
  max-width: 720px;
 }
.header
 {
  background: #b0ff3b;
  background-color: rgba(177,255,61,0.96);
  display: flex;
  align-items: center;
  justify-content: center;
  position: sticky;
  top: 0;
  z-index: 999;
  height: 42px;
 }
.logo
 {
  display: flex;
  flex-flow: row nowrap;
  justify-content: center;
  font-size: 18px;
  font-weight: bold;
  line-height: 1;
  color: #000;
  user-select: none;
 }
.logo-uz
 {
  font-weight: normal;
 }

.warning
 {
  color: #ff0000;
  font-size: 16px;
  text-align: center;
  display: block !important;
  margin: 0 0 25px 0;
 }

.content
 {
  padding: 42px 0;
  margin-bottom: auto;
 }
.product-image
 {
  display: flex;
  align-items: start;
  margin: 0 0 25px 0;
 }
.product-image img
 {
  vertical-align: top;
  margin: auto 0;
  width: 100%;
  max-width: 100%;
 }
.product-image-list
 {
  scroll-behavior: smooth;
  padding-right: 10px;
  overflow: hidden;
  overflow-y: auto;
  max-height: 1px;
  width: 20%;
 }
.product-image-list>div
 {
  background: #dbdbdb;
  border: 1px solid #d1d1d1;
  border-radius: 7px;
  cursor: pointer;
  overflow: hidden;
 }
.product-image-list>div:not(:first-child)
 {
  margin-top: 10px;
 }
.product-image-list>div.active
 {
  border-color: #ff0000;
 }
.product-image-main
 {
  background: #fafafa;
  border: 1px solid #d1d1d1;
  border-radius: 7px;
  overflow: hidden;
  display: flex;
  width: 100%;
 }
.product-image-main:after
 {
  content: "";
  display: block;
  padding-bottom: 100%;
 }


.product-name
 {
  font-size: 22px;
  font-weight: bold;
  margin: 0 0 15px 0;
 }
.product-price-info
 {
  font-size: 16px;
  margin: 0 0 20px 0;
 }
.product-description
 {
  line-height: 1.4;
 }


.product-order
 {
  background: rgba(0,0,0,0.9);
  position: sticky;
  bottom: 0;
  z-index: 2;
  padding: 15px 0;
 }
.product-order-info
 {
  display: flex;
  flex-flow: row nowrap;
  align-items: center;
  justify-content: space-between;
 }
.product-price
 {
  font-size: 12px;
  color: #fff;
  white-space: nowrap;
  padding: 0 10px 0 0;
  width: 50%;
 }
.product-price-value
 {
  font-size: 16px;
  font-weight: bold;
 }
.product-order-button
 {
  background: #e91e63;
  border-radius: 7px;
  font-size: 16px;
  text-align: center;
  color: #fff;
  padding: 15px 0;
  width: 50%;
 }
.order-form-show .product-order-button
 {
  background: #1e88e5;
 }

.products
 {
  padding: 30px 0;
 }
.products h1
 {
  font-size: 24px;
  font-weight: normal;
  margin: 0 0 30px 0;
 }
.products-list
 {
  display: grid;
  grid-template-columns: repeat(1,1fr);
  grid-column-gap: 20px;
  grid-row-gap: 30px;
  padding-bottom: 30px;
 }
.products-list>a
 {
  display: block;
  width: 100%;
 }
.products-list-image
 {
  background: #dbdbdb;
  border-radius: 8px;
  overflow: hidden;
  display: flex;
  position: relative;
  z-index: 1;
  margin: 0 0 12px 0;
 }
.products-list-image:after
 {
  content: "";
  display: block;
  padding-bottom: 100%;
 }
.products-list-image img
 {
  vertical-align: top;
  margin: auto 0;
  width: 100%;
  max-width: 100%;
 }
.products-list-name
 {
  font-size: 15px;
  color: #5800ff;
  display: block;
  line-height: 1.5;
  margin: 0 0 5px 0;
 }
.products-list-price
 {
  font-size: 15px;
  color: #000;
  display: block;
 }


body:not(.order-form-show) .order-form
 {
  display: none;
 }
body.order-form-show .product-order
 {
  position: static;
 }
.order-form
 {
  display: flex;
  flex-flow: column;
  width: 100%;
 }
.order-form label
 {
  white-space: nowrap;
  display: block;
  position: relative;
  padding: 22px 0 0 0;
  margin: 0 0 30px 0;
 }
.order-form label>input
 {
  background: #fff;
  border: 3px solid #b8b8b8;
  border-radius: 3px;
  font-size: 20px;
  padding: 12px 10px;
  min-width: 210px;
  width: 100%;
 }
.order-form label>span
 {
  font-size: 14px;
  color: #fff;
  position: absolute;
  top: 0;
  left: 0;
 }
.order-form label>input:focus
 {
  border-color: #03a9f4;
 }
.order-form label>input:focus+span
 {
  color: #03a9f4;
 }
.order-form-send
 {
  display: none;
 }

.input-error
 {
  animation: shake 0.2s ease-in-out 0s 2;
 }
@keyframes shake
 {
  0% { margin-left: 0rem; }
  25% { margin-left: 0.5rem; }
  75% { margin-left: -0.5rem; }
  100% { margin-left: 0rem; }
 }


.order
 {
  text-align: center;
  font-size: 16px;
  padding: 30px 0;
  margin: auto 0;
 }
.order h1
 {
  font-size: 24px;
  margin: 0 0 30px 0;
 }



.pagination
 {
  display: flex;
  flex-flow: row wrap;
  margin: 5px 0 5px -10px;
 }
.pagination a
 {
  background: #ffffff;
  border: 1px solid #d8d8d8;
  border-radius: 3px;
  color: #008eff;
  padding: 7px 15px;
  margin-top: 15px;
  margin-left: 10px;
 }
.pagination a.current
 {
  background: #d8edff;
  border-color: #47acff;
 }
.pagination a:hover
 {
  background: #d8edff;
 }




@media all and (min-width:800px)
 {
  .container
   {
    max-width: 1200px;
   }
  .content>div
   {
    display: flex;
    flex-flow: row nowrap;
    align-items: flex-start;
   }
  .product-image
   {
    margin: 0 35px 0 0;
    width: 50%;
   }
  .product-info
   {
    width: 50%;
   }
  
  .order-form
   {
    flex-flow: row nowrap;
    justify-content: space-between;
   }
  .order-form label
   {
    width: 49%;
   }
  
  .product-order
   {
    padding: 20px 0;
   }
  .product-price
   {
    font-size: 16px;
   }
  .product-price-value
   {
    font-size: 20px;
   }
  .product-order-button
   {
    padding: 20px 0;
   }
 }


@media all and (min-width:350px)
 {
  .products-list
   {
    grid-template-columns: repeat(2,1fr);
   }
 }


@media all and (min-width:700px)
 {
  .products-list
   {
    grid-template-columns: repeat(3,1fr);
    grid-column-gap: 30px;
    grid-row-gap: 40px;
    padding-bottom: 40px;
   }
 }


@media all and (min-width:1000px)
 {
  .products-list
   {
    grid-template-columns: repeat(4,1fr);
   }
 }



