html,
body {
  margin: 0 auto;
  scroll-behavior: smooth;
  font-family: acumin-pro, sans-serif;
}

body.modal-screen{
  height: 110vh;
  overflow-y: hidden;
}

body.checkout-modal{
  height: 110vh;
  overflow-y: hidden;
}

body {
  background-image: url(../img/papir.jpg);
}

a {
  color: inherit;
  font-weight: bold;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

p {
  text-align: justify;
}

p.help-text {
  margin-top: 0;
  font-size: 0.7em;
  color: #888;
}

div.success div.code {
  font-size: 2em;
  margin-bottom: 1em;
}

h1,
h3 {
  font-weight: 300;
}

.container {
  z-index: 1;
  perspective: 3000px;
  height: 90vh;
}

.book {
  cursor: pointer;
}

.container .book {
  position: relative;
  display: block;
  width: 400px;
  height: 550px;
  margin: 10% auto;
  border-radius: 2px 4px 4px 2px;
  background: linear-gradient(45deg, #DAD5DC 0%, #f2ebf4 100%);
  font-family: acumin-pro, sans-serif;
  -webkit-box-shadow: 13px 13px 8px 0px rgba(151, 146, 153, 0.6);
  -moz-box-shadow: 13px 13px 8px 0px rgba(151, 146, 153, 0.6);
  box-shadow: 13px 13px 8px 0px rgba(151, 146, 153, 0.6);
  font-weight: 400;
  color: #2b2b2b;
  -webkit-transform-style: preserve-3d;
  -moz-transform-style: preserve-3d;
  transform-style: preserve-3d;
  -webkit-transition: -webkit-transform .5s;
  -moz-transition: -moz-transform .5s;
  transition: transform .5s;
}

.container .book {
  transition: transform 1s;
}

.container .book>div,
.container .front>div {
  display: block;
  position: absolute;
  color: #fff;
}


.container .front {
  -webkit-transform-style: preserve-3d;
  -moz-transform-style: preserve-3d;
  transform-style: preserve-3d;
  -webkit-transform-origin: 0% 50%;
  -moz-transform-origin: 0% 50%;
  transform-origin: 0% 50%;
  -webkit-transition: -webkit-transform .5s;
  -moz-transition: -moz-transform .5s;
  transition: transform .5s;
  -webkit-transform: translate3d(0, 0, 20px);
  -moz-transform: translate3d(0, 0, 20px);
  transform: translate3d(0, 0, 20px);
  z-index: 10;
}

.container .front>div {
  width: 400px;
  height: 550px;
}

.container .left-side {
  width: 40px;
  left: -20px;
  height: 550px;
  background: linear-gradient(180deg, #6ca9fd 40%, rgba(255, 255, 255, 1) 25%, rgba(255, 243, 72, 1) 95%);
  -webkit-transform: rotate3d(0, 1, 0, -90deg);
  -moz-transform: rotate3d(0, 1, 0, -90deg);
  transform: rotate3d(0, 1, 0, -90deg);
}

.cover {
  background-image: url('../img/kniha2.jpg');
  background-size: cover;
  width: 100%;
  display: block;
}

.container .front>div {
  border-radius: 0 3px 3px 0;
  box-shadow:
    inset 4px 0 10px rgba(0, 0, 0, 0.1);
}

.container .front:after {
  content: '';
  position: absolute;
  top: 1px;
  bottom: 1px;
  left: -1px;
  width: 1px;
}

.container .cover:after {
  content: '';
  position: absolute;
  top: 0;
  left: 10px;
  bottom: 0;
  width: 3px;
  box-shadow: 1px 0 3px rgba(255, 255, 255, 0.1);
}


.container h2 {
  width: 500px;
  height: 40px;
  color: #2b2b2b;
  font-size: 15px;
  line-height: 40px;
  padding-right: 10px;
  text-align: right;
  -webkit-transform-origin: 0 0;
  -moz-transform-origin: 0 0;
  transform-origin: 0 0;
  -webkit-transform: rotate(90deg) translateY(-40px);
  -moz-transform: rotate(90deg) translateY(-40px);
  transform: rotate(90deg) translateY(-40px);
}

.left-side h2 span:first-child {
  font-weight: 400;
  font-size: 13px;
  padding-right: 20px;
  color: #202020;
}

.left-side h2 span:last-child {
  font-family: acumin-pro, sans-serif;
  color: #202020;
}

.animated {
  -webkit-animation-duration: 1s;
  animation-duration: 1s;
  -webkit-animation-fill-mode: both;
  animation-fill-mode: both;
}

.animated.infinite {
  -webkit-animation-iteration-count: infinite;
  animation-iteration-count: infinite;
}

@-webkit-keyframes slideInUp {
  from {
    -webkit-transform: translate3d(0, 100%, 0);
    transform: translate3d(0, 100%, 0);
    visibility: visible;
  }

  to {
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
  }
}

@keyframes slideInUp {
  from {
    -webkit-transform: translate3d(0, 100%, 0);
    transform: translate3d(0, 100%, 0);
    visibility: visible;
  }

  to {
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
  }
}

.slideInUp {
  -webkit-animation-name: slideInUp;
  animation-name: slideInUp;
}

@keyframes zoomIn {
  from {
    opacity: 0;
    -webkit-transform: scale3d(0.3, 0.3, 0.3);
    transform: scale3d(0.3, 0.3, 0.3);
  }

  50% {
    opacity: 1;
  }
}

.zoomIn {
  -webkit-animation-name: zoomIn;
  animation-name: zoomIn;
}

.login {
  display: grid;
  grid-template-columns: 1fr 1fr;
  height: 100vh;
  margin: 0 auto;
  width: 80%;
}

.box.select {
  width: 46vw;
  justify-content: center;
}

.box.checkout {
  width: 50vw;
}

.box.select_account {
  width: 33vw;
}

.box {
  display: none;
  margin: 4% auto;
}

.kniha {
  width: 45%;
  background-image: url('../img/kniha.jpg');
  background-size: cover;
}

.box.select .form {
  width: 50%;
}

.box.checkout .form,
.box.select_account .form {
  width: 100%;
}

.form>div {
  width: 90%;
  margin: 0 auto;
  border: 1px solid #ddd;
  padding: 30px;
  border-radius: 10px;
  background: white;
}

.main-box {
  border-radius: 0 !important;
  border: none;
}

input:not([type=checkbox]),
select,
textarea {
  width: 100%;
  padding: 12px 20px;
  margin: 8px 0;
  display: inline-block;
  border: 1px solid #ccc;
  border-radius: 4px;
  box-sizing: border-box;
}

textarea {
  height: 10em;
}

input[type=submit],
button[type=submit] {
  width: 100%;
  background-color: #2b2929;
  color: white;
  padding: 14px 20px;
  margin: 8px auto;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  -webkit-appearance: none;
  border: 1px solid #2b2929;

}

input[type=submit]:hover,
button[type=submit]:hover {
  background-color: #202020;
}

button.download:hover,
input.download:hover {
  background-color: #eee;
}


button:disabled,
button[disabled],
button:disabled:hover,
button[disabled]:hover{
  background-color: #cccccc;
  border: 1px solid #cccccc;
  cursor: default;
}


button.download,
input.download {
  background-color: white;
  color: #2b2929;
  border: 1px solid #2b2929;

}

form div>ul {
  border: 1px solid tomato;
  color: tomato;
  border-radius: 5px;
  padding: 5px;
  list-style-type: none;
}

#order:nth-child(2n+1) {
  display: grid !important;
  grid-template-columns: 45% 55% !important;
  gap: 10px;
}

@media only screen and (max-width: 750px) {

  .error-box {
    width: 90% !important;
    margin: 30% auto !important;
  }

  .audio-box {
    width: 90% !important;
    margin: 20% auto !important;
    display: grid !important;
    grid-template-columns: 1fr !important;
  }

  .choices {
    grid-template-columns: 60% 35% !important;
  }

  .download-btn {
    line-height: 60px !important;
  }

  .box.select_account {
    width: 90% !important;
    margin: 20% auto;
  }

  .box {
    width: 95vw;
    margin: 10% auto;
  }

  .box.select {
    width: 96vw;
    justify-content: center;
    margin: 2% auto !important;
  }

  .kniha {
    display: none;
  }

  .form {
    width: 95% !important;
  }

  .form>div {
    width: 90% !important;
    padding: 10px !important;
  }

  .success {
    margin: 45% auto !important;
    width: 90vw !important;
  }

  #order:nth-child(2n+1) {
    display: grid;
    grid-template-columns: 1fr !important;
  }

}

@media screen and (min-width:751px) and (max-width:1200px) {
  .box {
    width: 98%;
    height: auto;
  }

  .form>div {
    width: 90%;
  }

  .kniha {
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    background-color: #231f1e;
    width: 40%;
  }

  .form {
    width: 60%;
  }

  .success {
    width: 75vw !important;
  }
}

.success {
  width: 30vw;
  text-align: center;
  background-color: #fff;
  padding: 20px;
  margin: 5% auto;
  border-radius: 10px;
  border: 1px solid #ddd;
}

.success-text {
  padding: 10px;
  border-radius: 10px;
  border: 1px solid #ddd;
}

.success-animation {
  margin: 20px auto;
}

.checkmark {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  display: block;
  stroke-width: 2;
  stroke: #4bb71b;
  stroke-miterlimit: 10;
  box-shadow: inset 0px 0px 0px #4bb71b;
  animation: fill .4s ease-in-out .4s forwards, scale .3s ease-in-out .9s both;
  position: relative;
  top: 5px;
  right: 5px;
  margin: 0 auto;
}

.checkmark__circle {
  stroke-dasharray: 166;
  stroke-dashoffset: 166;
  stroke-width: 2;
  stroke-miterlimit: 10;
  stroke: #4bb71b;
  fill: #fff;
  animation: stroke 0.6s cubic-bezier(0.65, 0, 0.45, 1) forwards;

}

.checkmark__check {
  transform-origin: 50% 50%;
  stroke-dasharray: 48;
  stroke-dashoffset: 48;
  animation: stroke 0.3s cubic-bezier(0.65, 0, 0.45, 1) 0.8s forwards;
}

@keyframes stroke {
  100% {
    stroke-dashoffset: 0;
  }
}

@keyframes scale {

  0%,
  100% {
    transform: none;
  }

  50% {
    transform: scale3d(1.1, 1.1, 1);
  }
}

@keyframes fill {
  100% {
    box-shadow: inset 0px 0px 0px 30px #4bb71b;
  }
}

.ui-error {
  width: 100px;
  height: 100px;
  margin: 0 auto;
}

.ui-error-circle {
  stroke-dasharray: 260.75219025px, 260.75219025px;
  stroke-dashoffset: 260.75219025px;
  animation: ani-error-circle 1.2s linear;
}

.ui-error-line1 {
  stroke-dasharray: 54px 55px;
  stroke-dashoffset: 55px;
  stroke-linecap: round;
  animation: ani-error-line 0.15s 1.2s linear both;
}

.ui-error-line2 {
  stroke-dasharray: 54px 55px;
  stroke-dashoffset: 55px;
  stroke-linecap: round;
  animation: ani-error-line 0.2s 0.9s linear both;
}

@keyframes ani-error-line {
  to {
    stroke-dashoffset: 0;
  }
}

@keyframes ani-error-circle {
  0% {
    stroke-dasharray: 0, 260.75219025px;
    stroke-dashoffset: 0;
  }

  35% {
    stroke-dasharray: 120px, 120px;
    stroke-dashoffset: -120px;
  }

  70% {
    stroke-dasharray: 0, 260.75219025px;
    stroke-dashoffset: -260.75219025px;
  }

  100% {
    stroke-dasharray: 260.75219025px, 0;
    stroke-dashoffset: -260.75219025px;
  }
}

.admin {
  text-align: center;
  background-color: #fff;
  padding: 10px;
  margin: 1em;
  box-shadow: 13px 13px 8px 0px rgba(151, 146, 153, 0.6);
}

.admin_values {
  display: flex;
  flex-direction: row;
  justify-content: space-around;
  flex-wrap: wrap;
}

.admin_value {
  margin: .5em;
  padding: .3em;
  width: 15em;
  box-shadow: 5px 5px 8px 0px rgba(151, 146, 153, 0.6);
}

.admin_value.v1 {
  background-color: yellow;
}

.admin_value.v2 {
  background-color: lightblue;
}

.admin_value.v3 {
  background-color: lightgreen;
}

.admin_value.v4 {
  background-color: #ff8080;
}

.admin_value.v5 {
  background-color: #ff80ff;
}

.admin_value.v6 {
  background-color: #80ffff;
}


.admin_value span {
  display: block;
  font-size: 1.5em;
  margin: .5em;
}

.admin_table {
  margin-top: 2em;
  margin-bottom: 2em;
}

.admin_table table {
  margin: 0 auto;
  box-shadow: 5px 5px 8px 0px rgba(151, 146, 153, 0.6);
}

.admin_table table th {
  background-color: lightblue;
}

.admin_table table tr:nth-child(odd) td {
  background-color: #e0e0e0;
}

.admin_table table tr:nth-child(even) td {
  background-color: #ffffff;
}

.admin_table table th,
.admin_table table td {
  padding: .4em;
}

.admin_table table a {
  color: inherit;
  text-decoration: none;
  font-weight: bold;
}

.admin_table table a:hover {
  text-decoration: none;
  text-decoration: underline;
}

.admin_table table tr {
  color: black;
}

.admin_table table tr.deleted {
  color: gray;
}

table.order_summary {
  width: 100%;
}

table.order_summary td.name {
  padding: .2em 1em .2em .2em;
}

table.order_summary td.price {
  text-align: right;
  width: 6em;
}

table.order_summary td.count {
  text-align: center;
  width: 4em;
  padding: .2em 1em;
}

table.order_summary tr.total {
  padding: .2em .2em .2em 1em;
  font-size: 1.2em;
  font-weight: bold;
}

.back-btn {
  position: absolute;
  left: 20px;
  top: 20px;
  padding: 11px;
  border-radius: 5px;
  background-color: #232323;
  color: #fff;
  text-decoration: none !important;
  font-weight: lighter;
}

.complete {
  border: none !important;
  width: 33vw !important;
}

.complete>form>#order {
  display: grid;
  grid-template-columns: 1fr !important;
}

.order_summary {
  border: 1px solid #ddd;
  padding: 5px;
  border-radius: 5px;
}

.audio-choice {
  padding: 10px;
  width: 43vw;
  margin: 2% auto;
  border-radius: 10px;
  border: 1px solid #ddd;
  background-color: #fff;
}

.error-box {
  padding: 10px;
  width: 43vw;
  margin: 2% auto;
  border-radius: 10px;
  border: 1px solid #ddd;
  background-color: #fff;
}

.audio-box {
  padding: 10px;
  width: 43vw;
  margin: 2% auto;
  border-radius: 10px;
  border: 1px solid #ddd;
  background-color: #fff;
  display: grid;
  grid-template-columns: 30% 70%;
}

.audio-box h3,
.error-box h3 {
  font-weight: bolder;
}

.audio-box h4,
.error-box h4 {
  font-weight: lighter;
}

.image {
  padding: 20px;
}

.audio-image {
  width: 200px;
  border-radius: 10px;
}

.audio-info {}

.download-btn {
  border: none;
  background-color: #3283f6;
  padding: 10px;
  color: #fff;
  text-decoration: none !important;
  border-radius: 5px;
  line-height: 40px;
  cursor: pointer;
  height: auto;
  text-align: center;
}

.download-btn:hover {
  background-color: #0c2e5f;
}

.choices {
  display: grid;
  grid-template-columns: 80% 20%;
  gap: 10px;
  width: 90%;
  margin: 1% auto;
}

.activated-products {
  display: grid;
  grid-template-columns: 1fr 1fr;
  padding: 10px;
  gap: 10px;
}

.active-prod {
  padding: 10px;
  border-radius: 10px;
  border: 1px solid #202020;
}

.checkout-img {
  width: 120px;
}

.top-nav {
  padding: 10px;
  background-color: #fff;
  display: grid;
  grid-template-columns: 30% 50% 20%;
  border-bottom: 1px solid #ddd;
}

.name {
  padding: 10px;
  font-weight: lighter;
}

.cart, .cart-empty {
  padding: 10px;
  text-align: right;
  margin-right: 10px;
}

.cart {
  cursor: pointer;
}

.cart i {
  font-size: 20px;
}

.name {
  font-size: 20px;
}

.products {
  display: flex;
  justify-content: center;
  gap: 10px;
  padding: 10px;
  margin: 2% auto;
  width: 58%;
  flex-wrap: wrap;
}

.instructions {
  padding: 20px;
  margin: 1em auto;
  width: 49vw;
  text-align: justify;
  background: white;
  border-radius: 20px;
  border: 1px solid #ddd;
}

.product{
  width: 300px;
  border-radius: 20px;
  border: 2px solid #e7e7e7;
  background-color: #fff;
  margin: 0 auto;
  padding: .5em;
}

.product:hover{
  border: 2px solid #999999;
}

.product h3 {
    min-height: 3.3em;
}

div.prod-img {
  margin-top: .5em;
  height: 300px;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
}

img.prod-img{
  display: block;
  margin: 5% auto;
  max-width: 220px;
  border-radius: 12px !important;
  object-fit: contain;
  max-height: 300px;
}

.prod-name{
  text-align: center;
}

.detail-price{
  display: grid;
  grid-template-columns: 50% 50%;
}

.detail-image{
  width: 80%;
}

.detail-image img{
  border-radius: 20px;
  margin: 0 auto;
  width: 90%;
}

.prod-detail{
  text-align: center;
  margin-bottom: 10px;
}

.prod-price{
  text-align: center;
  font-size: 19px;
  padding-top: 6px;
}

.detail-btn{
  cursor: pointer;
  width: 80%;
  background-color: #fff;
  padding: 10px;
  border-radius: 10px;
  border: none;
  color: #292e32;
  margin: 0 auto;
  background-color: #e7e7e7;
}

.wrapper {
  height: 420px;
  width: 654px;
  margin: 50px auto;
  border-radius: 7px 7px 7px 7px;
  /* VIA CSS MATIC https://goo.gl/cIbnS */
  -webkit-box-shadow: 0px 14px 32px 0px rgba(0, 0, 0, 0.15);
  -moz-box-shadow: 0px 14px 32px 0px rgba(0, 0, 0, 0.15);
  box-shadow: 0px 14px 32px 0px rgba(0, 0, 0, 0.15);
}

.product-img {
  float: left;
  height: 420px;
  width: 327px;
}

.product-img img {
  border-radius: 7px 0 0 7px;
}


.product-info {
  float: left;
  height: 420px;
  width: 327px;
  border-radius: 0 7px 10px 7px;
  background-color: #ffffff;
}

.product-text {
  height: 300px;
  width: 327px;
}

.product-text h1 {
  margin: 0 0 0 38px;
  padding-top: 20px;
  font-size: 24px;
  color: #474747;
}

.product-text h2 {
  margin: 0 0 47px 38px;
  font-size: 13px;
  font-weight: 400;
  text-transform: uppercase;
  color: #d2d2d2;
  letter-spacing: 0.2em;
}

.product-text p {
  height: 125px;
  margin: 0 0 0 38px;
  color: #8d8d8d;
  line-height: 1.7em;
  font-size: 15px;
  overflow: hidden;
}

.product-price-btn {
  height: 103px;
  width: 327px;
  margin-top: 30px;
  position: relative;
}

.product-price-btn p {
  display: inline-block;
  position: absolute;
  height: 50px;
  margin: 9px 0 0 38px;
  font-size: 20px;
  font-weight: lighter;
  color: #474747;
}

.product-price-btn p>span{
    display: inline-block;
    height: 50px;
    font-size: 25px;
}

.product-price-btn button {
  float: right;
  display: inline-block;
  height: 50px;
  width: 176px;
  margin: 0 15px 0 16px;
  box-sizing: border-box;
  border: transparent;
  border-radius: 60px;
  font-size: 14px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: #ffffff;
  background-color: #78b4fc;
  cursor: pointer;
  outline: none;
}

.product-price-btn button:hover {
  background-color: #4d9bfb;
}

@media only screen and (max-width: 750px) {
  .products {
    display: block;
  }

  .wrapper {
    width: 300px;
    height: 300px;
  }

  .product-img img {
    border-radius: 7px 7px 0px 0px;
  }

  .top-nav {
    padding: 10px;
    background-color: #fff;
    display: grid;
    grid-template-columns: 50% 0% 50%;
    border-bottom: 1px solid #ddd;
  }

  .modal-screen{
    position: fixed !important;
    max-height: 300vh;
  }
  .detail-box{
    overflow: auto;
    position: relative;
  }

  .instructions{
    width: 80vw;
  }
}

.shopping-cart{
  width: 52vw;
  margin: 5% auto;
  border-radius: 20px;
  display: grid;
  grid-template-columns: 1fr;
  position: absolute;
  left: 24%;  
}

.cart-items{
  padding: 10px;
  border-radius: 20px 20px 0px 0px;
  background-color: #eceaea; 
}

.item-img{
  width: 100px;
  border-radius: 5px;
}

.decrease{
  position: absolute;
left: 8px;
right: inherit;
width: 22px;
top: 17px;
height: 22px;
border: none;
border-radius: 20px;
background: transparent !important;
opacity: .7;
}

.quantity-field{
  margin: 17% auto !important;
  border-radius: 10px !important;
  padding: 10px !important; 
  width: 80% !important;
}

.add-to-cart-btn{
  padding: 20px;
  color: #202020;
  background-color: #fff;
  font-size: 18px;
  font-weight: lighter;
  border-radius: 10px;
  cursor: pointer;
  border: none;
  width: 100%;
  border: 1px solid #ddd;
}

.add-to-cart-btn:hover{
  background-color: #202020;
  color: #fff;
}

.items-row{
  display: flex;
  gap: 48px;
  padding: 20px;
  border-bottom: 1px solid #ddd;
}

.empty-sign {
    font-size: 2em;
    text-align: center;
    padding: .5em;
    display: hidden;
}


.item-name{
  padding-top: 44px;
  width: 30% !important;
}

.item-price{
  padding-top: 44px;
}

.remove-item{
  line-height: 7rem;
  font-size: 30px;
  cursor: pointer;
  position: absolute;
  right: 30px;
}

.remove-item i:hover{
  color: red;
}

.checkout{
  background-color: #fff;
  border-radius: 0px 0px 20px 20px;
  border: 2px solid #eceaea;
}

.checkout-btn{
  display: block;
  width: 80% !important;
  border-radius: 10px;
  background-color: #202020;
  color: #fff;
  padding: 20px;
  font-size: 20px;
  margin: 2% auto;
  border: none;
  cursor: pointer;
}

.checkout-modal{
  top: 0;
  position: fixed;
  background-color: rgba(0, 0, 0, 0.6);
  width: 100vw;
  height: 100vh;
  display: none;
  overflow: auto;
}

.sum{
  text-align: center;
  margin-bottom: 5%;
}

.celkem{
  font-size: 21px;
font-weight: bolder;
}

.checkout p{
  text-align: center !important;
  font-size: 18px;
}

.detail-box{
  padding: 20px;
  border-radius: 20px;
  width: 40vw;
  position: absolute;
  right: 0;
  left: 0;
  top: 10%;
  margin: auto;
  z-index: 1111;
  background-color: white;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.modal-screen{
  top: 0;
  position: fixed;
  background-color: rgba(0, 0, 0, 0.6);
  width: 100vw;
  height: 100vh;
  display: none;
}

.close{
  right: 10px;
  padding: 30px;
  cursor: pointer;
  position: fixed;
}

.close i{
  color: #fff;
  font-size: 40px;
}

.detail-info{
  margin-right: 20px;
  margin-top: 35px;
  font-weight: lighter;
  border-bottom: 1px solid #ddd;
}

.check-qty{
  margin-top: 30px !important;
}

.qty-input {
  color: #000;
  background: #fff;
  display: flex;
  align-items: center;
  overflow: hidden;
  margin-top: 10px;
}
.qty-input .product-qty,
.qty-input .qty-count {
  background: transparent;
  color: inherit;
  font-weight: bold;
  font-size: inherit;
  border: none;
  display: inline-block;
  min-width: 70px !important;
  height: 2.5rem;
  line-height: 1;
}
.qty-input .product-qty:focus,
.qty-input .qty-count:focus {
  outline: none;
}
.qty-input .product-qty {
  width: 50px;
  min-width: 0;
  display: inline-block;
  text-align: center;
  -webkit-appearance: textfield;
     -moz-appearance: textfield;
          appearance: textfield;
}
.qty-input .product-qty::-webkit-outer-spin-button, .qty-input .product-qty::-webkit-inner-spin-button {
  -webkit-appearance: none;
          appearance: none;
  margin: 0;
}
.qty-input .qty-count {
  padding: 0;
  cursor: pointer;
  width: 2.5rem;
  font-size: 0;
  overflow: hidden;
  position: relative;
}
.qty-input .qty-count:before, .qty-input .qty-count:after {
  content: "";
  height: 2px;
  width: 10px;
  position: absolute;
  display: block;
  background: #000;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  margin: auto;
}
.qty-input .qty-count--minus {
  border-right: 1px solid #e2e2e2;
}
.qty-input .qty-count--add {
  border-left: 1px solid #e2e2e2;
}
.qty-input .qty-count--add:after {
  transform: rotate(90deg);
}
.qty-input .qty-count:disabled {
  color: #ccc;
  background: #f2f2f2;
  cursor: not-allowed;
  border-color: transparent;
}
.qty-input .qty-count:disabled:before, .qty-input .qty-count:disabled:after {
  background: #ccc;
}

.qty-input {
  border-radius: 4px;
  border: 1px solid #ddd;
  width: auto;
}

.price-quant{
  display: flex;
  justify-content: space-around;
}

.det-price{
  font-size: 23px;
}

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

.variant{
  margin-top: 10px;
  padding: 10px;
  border-radius: 10px;
  border: 1px solid #ddd;
}

#size{
    padding: 10px;
    font-size: 16px;
    border: 1px solid #ccc;
    border-radius: 4px;
    background-color: #fff;
}

.description h2{
  font-weight: lighter;
}

.add-to-cart-btn2 {
  padding: 20px;
  color: #202020;
  background-color: #fff;
  font-size: 18px;
  font-weight: lighter;
  border-radius: 10px;
  cursor: pointer;
  border: none;
  width: 89%;
  margin: 4% auto;
  display: block;
  border: 1px solid #ddd;
  text-align: center;
  box-sizing: border-box;
}

.add-to-cart-btn2:hover{
  background-color: #e7e7e7;
  text-decoration: none;
}

.again-download{
  padding: 10px;
  border: 1px solid #ddd;
  background-color: #fff;
  cursor: pointer;
  border-radius: 10px;
  font-weight: normal;
  display: block;
}

.again-download:hover{
  background-color: #e7e7e7;
  text-decoration: none;
}

.again-download.hl {
  color: white;
  background-color: #2b2929;
  border: 1px solid #2b2929;
}

.again-download.hl:hover {
  background-color: #000;
}

.again-download-box {
    margin-top: 2em;
    text-align: center;
}
@media only screen and (max-width: 1700px) {
  .shopping-cart{
    width: 64vw;
  margin: 5% auto;
  border-radius: 20px;
  display: grid;
  grid-template-columns: 1fr;
  position: absolute;
  left: 20%;
  }
}

@media only screen and (max-width: 1400px) {
.products{
  width: 90%;
}

.instructions{
  width: 85%;
}

.item-img{
  display: none;
}

.detail-box{
  display: block;
}

.detail-image{
  width: 80% !important;
margin: 0 auto;
text-align: center;
}

.detail-image img{
  width: 50% !important;
}

.shopping-cart{
  width: 64vw;
margin: 5% auto;
border-radius: 20px;
display: grid;
grid-template-columns: 1fr;
position: absolute;
left: 20%;
}

}

@media only screen and (max-width: 550px) {
  .remove-item{
    position: initial !important;
  }

  .items-row{
    position: relative !important;
  }

}

@media only screen and (max-width: 750px) {

  .detail-image{
    margin: 0 auto;
  }

  .remove-item{
    line-height: 7rem;
    font-size: 30px;
    cursor: pointer;
  }

  .products{
    width: 90%;
  }
  .product{
    margin: 5% auto;
    width: 97% !important;
  }

  .detail-box{
    width: 85%;
    display: block;
    height: 80vh;
    overflow: auto;
  }

  .items-row{
    display: flex;
    flex-wrap: wrap;
    overflow: auto;
  }

  .shopping-cart{
    width: 94%;
    margin: 23% auto;
    border-radius: 20px;
    display: grid;
    grid-template-columns: 1fr;
    position: absolute;
    left: 3%;
  }

  .checkout, .cart-items{
    border-radius: 10px;
  }

  .cart-items{
    border-radius: 20px 20px 0px 0px;
  }
  .checkout{
    border-radius: 0px 0px 20px 20px;
  }

  .item-img{
    display: none;
  }


}

@media only screen and (min-device-width: 751px) and (max-device-width: 1000px) {

  .modal-screen{
    height: 100% !important;
  }

  .shopping-cart{
    width: 90%;
    position: relative;
    margin: 10% auto;
    left: 0;
    display: block;
  }
} 

@media (max-height: 900px) {
  .cart-items {
    overflow: auto;
}

  body.modal-screen{
    height: 50vh !important;
    overflow: hidden;
  }

  .remove-item{
    position: absolute;
  }

}
