body.shop-popup-open{
  max-height: 100vh;
  overflow: hidden;
  width: 100vw;
}

.popup-shop {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  /* bottom: 0; */
  z-index: 2000000;
  background-color: rgba(0,0,0,0.2);
  box-sizing: border-box;
  max-height: 100vh;
}

.popup-shop p a:hover {
  color: red;
}
.shop-content {
  width: 100%;
  max-width: 1280px;
}
.shop-placeholder {
  flex-grow: 1;
}
.shop-screen-container {
  background-color: white;
  box-shadow: 0px 0 16px 0px rgba(0,0,0,0.8);
  flex-grow: 1;
  /* overflow: auto; */
}
.shop-content .shop-screen-group {
  /* padding-bottom: 200px; */
}
.shop-content select {
  display: block;
  font-size: inherit;
  font-family: inherit;
  font-weight: inherit;
  color: inherit;
  line-height: inherit;
  padding: 0.4em 0.5em 0.3em 0.5em;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  /* margin: 0 0 1.3em 0; */
  border: 1px solid black;
  box-shadow: none;
  border-radius: 0;
  -moz-appearance: none;
  -webkit-appearance: none;
  appearance: none;
  background-color: transparent;
  background-image: url(images/chevron-down.svg);
  background-repeat: no-repeat, repeat;
  background-position: right 0.3em top 50%, 0 0;
  background-size: 1em auto, 100%;
}
.shop-content select::-ms-expand {
    display: none;
}
.shop-content select:hover {
  outline: none;
}
.shop-content select:focus {
  outline: none;
}
.shop-content select option {
  font-weight: inherit;
}
.shop-content button {
  background-color: transparent;
  outline: none;
}
.shop-content button,
.shop-content .button {
  display: block;
  padding: 5px 1em 2px;
  border-radius: 2em;
  /* box-shadow: 0px 0px 8px 0px rgba(0,0,0,0.25); */
  cursor: pointer;
  border: 1px solid black;
  margin: 0 10px;

  text-transform: uppercase;
}
.shop-content button.yellow,
.shop-content .button.yellow {
  background-color: yellow;
  border: none;
}
.shop-content button.red,
.shop-content .button.red {
  background-color: red;
  border: none;
}
.shop-content button:hover,
.shop-content .button:hover {
  background-color: black;
  color: rgb(245, 234, 220);
}
.shop-content button.yellow:hover,
.shop-content .button.yellow:hover {
  color: yellow;
}
.shop-content button.red:hover,
.shop-content .button.red:hover {
  color: red;
}
.shop-content button.black,
.shop-content .button.black {
  background-color: black;
  color: rgb(245, 234, 220);
  border: none;
}
.shop-content button.black:not(.disabled):hover,
.shop-content .button.black:not(.disabled):hover {
  background-color: rgb(0, 218, 102);
  color: rgb(245, 234, 220);
}

.shop-screen-header {
  /* margin-left: 30px; */
  padding: 10px 10px 10px 10px;
  display: flex;
  flex-direction: column;
}



.shop-screen-header .shop-screen-header-column {
  box-sizing: border-box;
  order: 2;
}
.shop-screen-header .close-btn {
  align-self: flex-end;
  cursor: pointer;
  order: 1;
  margin-bottom: 50px;
}

.shop-screen-header .shop-screen-header-column.title-column {
  margin-bottom: 15px;
}
.shop-screen-header .shop-screen-header-column.desktop-licence,
.shop-screen-header .shop-screen-header-column.web-licence {
  margin-top: 10px;
}

.shop-screen-header label {
  width: 100%;
  font-weight: inherit;
  display: block;
  margin-bottom: 0;
}
.shop-screen-header h2 {
  font-size: 30px;
  line-height: 1.3;
}
.shop-screen-body {
  max-height: calc(100vh - 230px);
    overflow: scroll;
  background-color: #f9eadc;
}
.shop-screen-footer {
  background-color: #f9eadc;
}


/* .shop-content table {
  table-layout: fixed;
  border-collapse: collapse;
  border-spacing: 0;
  width: 100%;
  line-height: 1.3;
}
.shop-content table tr td {
  padding: 5px 10px 5px 30px;
  border-bottom: 1px solid black;
}
.shop-content table tr:last-child td {
  border-bottom: none;
}
.shop-content .shop-typeface-screen table {
  border-top: 2px solid black;
}
.shop-typeface-screen table tr td label {
  font-weight: inherit;
  display: block;
}
.shop-typeface-screen table tr td label span {
}

.shop-typeface-screen table tr td.weight {
  font-size: 1.5em;
  width: 220px;
}
.shop-typeface-screen table tr td.price {
  width: 120px;
}
.shop-typeface-screen table tr td.edit {
  width: 160px;
  text-align: right;
}

.shop-typeface-screen table tr td select {
  display: block;
} */


@media (min-width: 961px) {
  .popup-shop {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 50px;
    min-height: 100%;
  }
  .shop-screen-header {
    flex-direction: row;
    align-items: flex-end;
    justify-content: space-between;
    padding: 15px 10px 10px 30px;
  }
  .shop-screen-header .shop-screen-header-column.title-column,
  .shop-screen-header .shop-screen-header-column.full-column {
    padding-left: 14px;
    padding-right: 10px;
    margin-bottom: 0;
  }
  .shop-screen-header .shop-screen-header-column.desktop-licence,
  .shop-screen-header .shop-screen-header-column.web-licence {
    padding-right: 10px;
    margin-top: 0;
  }
  .shop-typeface-screen .shop-screen-header .shop-screen-header-column.title-column,
  .shop-typeface-screen .shop-screen-header .shop-screen-header-column.desktop-licence {
    width: calc(33.33% - 50px);
    min-width: max-content;
  }
  .shop-typeface-screen .shop-screen-header .shop-screen-header-column.web-licence {
    width: calc(33.33% + 100px);
    padding-right: 160px;
  }
  .shop-screen-header .close-btn {
    align-self: flex-start;
    order: 3;
    margin-bottom: 0;
  }
  .shop-screen-header h2 {
    margin-bottom: -0.25em;
  }
}

/* SELECT SCREEN
---------------------------------------------- */
.shop-select-typeface {
  font-size: 1.1em;
  line-height: 1.3em;
  padding-top: 0.5em;
  /* background-color: rgb(245, 233, 208); */
}
.shop-select-table {
  overflow: hidden;
}
.shop-select-row {
  margin: 0 10px;
}
.shop-select-row.light {
  display: block;
  padding: 0;
  font-size: 0.75em;
  line-height: 1.15em;
}
.shop-select-column {
  box-sizing: border-box;
  padding: 0 0;
  margin-bottom: 1.15em;
}

.shop-select-group.group-header {
  min-height: 3.45em;
}

.shop-select-group-columns {
  display: flex;
  grid-gap: 1em;
}
.shop-select-group-columns:hover .shop-select-font-name,
.shop-select-group-columns:hover .shop-select-font-price {
  cursor: pointer;
}
.shop-select-group-columns.in-cart {
  color: red;
}
.shop-select-group-columns.parent-in-cart .shop-select-group-column.underlined-column::before {
  content:"";
  top: 20px;
  position: absolute;
  width: 100%;
  border-bottom: 1px solid black;
}
.shop-select-group-columns:hover .shop-select-font-name,
.shop-select-group-columns:hover .shop-select-font-price {
  opacity: 0.5;
}
.shop-select-group-column {
  position: relative;
}
.shop-select-group-column.shop-select-font-name {
  flex-grow: 1;
}
.shop-select-group-column.shop-select-font-name .shop-font-description-style {
  display: block;
}
.shop-select-group-column.shop-select-font-name .shop-font-description-info {
  display: block;
  font-size: 0.75em;
  line-height: 1.15em;
}
.shop-select-group-column.shop-select-font-price {
  width: 70px;
}
.shop-select-font-price .price {
  display: flex;
}
.shop-select-font-price .price .price-currency {
  flex-grow: 1;
}
.shop-select-font-price .add-button {
  display: none;
}
.shop-select-group-columns:hover .shop-select-font-price .add-button {
  display: flex;
  justify-content: flex-end;
}
.shop-select-font-price .price {
  display: flex;
  padding: 0;
}
.shop-select-group-columns:hover .shop-select-font-price .price {
  display: none;
}
.shop-select-group-column.shop-select-font-relation {
  display: none;
}
.shop-select-row p.select-notice {
  margin: 0;
}

@media (min-width: 450px) {
  .shop-select-typeface {
    font-size: 1.5em;
    line-height: 1.15em;
  }
  .shop-select-group-column.shop-select-font-price {
    width: 100px;
  }
}
@media (min-width: 961px) {
  .shop-select-row {
    display: flex;
    padding: 0 0 1.15em;
    margin: 0 44px;
  }
  .shop-select-column {
    margin-bottom: 0;
  }
  .shop-select-column.left-column {
    width: max-content;
  }
  .shop-select-column.right-column {
    width: max-content;
  }
  .shop-select-group-column.shop-select-font-relation {
    display: block;
    width: 100px;
    text-align: center;
    flex-shrink: 0;
  }
}
/* .shop-select-column.italic-column .shop-select-group-columns.parent-in-cart:not(.in-cart) .shop-select-font-name::after,
.shop-select-column.italic-column .shop-select-group-columns.parent-in-cart:not(.in-cart) .shop-select-font-price::after {
  content: "";
  position: absolute;
  bottom: 5px;
  left: 0;
  width: 100%;
  border-bottom: 1px solid black;
} */

/*
.shop-select-column.typeface-family-title {
  padding-left: 14px;
}
.shop-select-column.typeface-family-unites {
  width: calc(33.33% + 100px);
  padding-right: 10px;
}
.shop-select-font {
  cursor: pointer;
  height: 1.25em;
  width: 100%;
}
.shop-select-font:hover {
  opacity: 0.5;
}
.shop-select-font .button {
  display: none;
  padding: 0;
}
.shop-select-font .price {
  display: inline;
  padding: 0;
}
.shop-select-font:hover .button {
  display: inline;
}
.shop-select-font:hover .price {
  display: none;
}
.shop-select-font-columns {
  display: flex;
}
.shop-select-font-columns .shop-select-font-name {
  flex-grow: 1;
}
.shop-select-font-columns .shop-select-font-price {
  width: 140px;
} */



/* CART SCREEN
---------------------------------------------- */
/* .shop-cart-table table {
}
.shop-cart-table table tr td {
  padding-top: 11px;
  padding-bottom: 11px;
}

.shop-cart-table table tr td.edit {
  font-size: 3em;
  width: 70px;
  padding-left: 44px;
}
.shop-cart-table table tr td.description {
  font-size: 1.5em;
}
.shop-cart-table table tr td.price {
  width: 280px;
  font-size: 3em;
}
.shop-cart-table table tr.total td {
}
.shop-cart-table table tr td .remove-button {
  cursor: pointer;
} */




/* CHECKOUT SCREEN
---------------------------------------------- */



.shop-checkout-form {
  width: 100%;
}
.shop-checkout-form-column {
  padding: 0 10px;
}

.shop-checkout-form-columns.form-handle a {
  display: block;
}
.shop-checkout-form-columns.form-handle .shop-checkout-form-column {
  padding: 2em 10px 0;
}

.shop-checkout-form .checkbox {
  font-size: 1.5em;
  line-height: 1.1em;

}
.shop-checkout-form .checkbox .box {
  width: 15px;
  height: 15px;
  display: inline-block;
  position: relative;
  border: 1px solid black;
  margin-right: 0.4em;
  cursor: pointer;

}
.shop-checkout-form .checkbox p.checkbox-label {
  display: inline;
}

.shop-checkout-form .checkbox .box.checked::before {
  content:"";
  position:absolute;
  width: 142%;
  height:1px;
  border-bottom: 1px solid black;
  transform: rotate(45deg);
  transform-origin: top left;
}
.shop-checkout-form .checkbox .box.checked::after {
  content:"";
  position:absolute;
  width: 142%;
  height:1px;
  bottom: 0;
  border-bottom: 1px solid black;
  transform: rotate(-45deg);
  transform-origin: bottom left;
}
.shop-checkout-form .licence-info {
  margin-bottom: 1em;
}

@media (min-width: 961px) {
  .shop-checkout-form-columns {
    display: flex;
  }
  .shop-checkout-form-content {
    margin: 0 30px;
  }
  .shop-checkout-form-column {
    width: 50%;
    padding: 0 14px;
  }
  .shop-checkout-form-columns.form-handle .shop-checkout-form-column {
    padding: 2em 14px 0;
  }
}
.shop-checkout-form-column.full {
  width: 100%;
}
.shop-checkout-form input {
  font-size: 1.5em;
  line-height: 1.1em;
  font-family: helvetica, sans-serif;
  border-radius: 0;
  background-color: transparent;
  border: none;
  border-bottom: 1px solid black;
  padding: 0.75em 0 0.25em;
  box-sizing: border-box;
  width: 100%;
}
.shop-checkout-form input::placeholder {
  color: rgb(127, 127, 127);
}
#card-number-input-container,
#card-cvc-input-container,
#card-expiry-input-container {
  /* font-size: 1.5em; */
  border-bottom: 1px solid black;
  padding: 0.75em 0 0.25em;
}
.shop-screen-footer {

}
/* .shop-screen-footer .shop-checkout-form {
  padding: 1em 0;
  border-top: 2px solid black;
} */
/* .shop-screen-footer .shop-checkout-form-columns {
  justify-content: space-between;
  align-items: center;
}
.shop-screen-footer .shop-checkout-form-column {
  width: auto;
  padding: 0;
} */
.shop-screen-footer button.big {
  font-size: 3em;
  line-height: 0.9;
}


/* CHECKOUT Notice
---------------------------------------------- */
.shop-checkout-form-columns.notice {
  font-size: 1.5em;
  line-height: 1.15em;
  display: flex;
  align-items: flex-end;
  color: red;
  min-height: 120px;
}
.shop-checkout-form-columns.notice .notice-content {
  padding: 0.5em 0;
}

/* CHECKOUT Recap
---------------------------------------------- */
.shop-checkout-recap {

}
.shop-checkout-recap-content {
  /* margin: 0 14px 0 44px; */
}
.shop-checkout-form-columns.recap table tr td {
  padding: 4px 10px;
  border-top: 1px solid black;
}
.shop-checkout-form-columns.recap table tr:last-child td {
  /* border-bottom: none; */
}
.shop-checkout-form-columns.recap table tr td:first-child {
  padding-left: 0;
}
.shop-checkout-form-columns.recap table tr td:last-child {
  padding-right: 0;
}
.shop-checkout-form-columns.recap table tr td.desktop-licence,
.shop-checkout-form-columns.recap table tr td.web-licence {
  width: 150px;
}
.shop-checkout-form-columns.recap table tr td.price {
  width: 100px;
  text-align: right;
}

/* @media (max-width: 960px) {
  .shop-checkout-form-columns.recap table,
  .shop-checkout-form-columns.recap table tbody,
  .shop-checkout-form-columns.recap table tbody td {
    display: block;
  }
  .shop-checkout-form-columns.recap table tbody td {
    border: none;
    padding: 0;
  }
  .shop-checkout-form-columns.recap table tbody tr {
    display: grid;
    padding: 4px 0;
    border-top: 1px solid black;
  }
  .shop-checkout-form-columns.recap table tr td.description {
    grid-column-start: 1;
  }
  .shop-checkout-form-columns.recap table tr td.desktop-licence {
    grid-column-start: 1;
  }
  .shop-checkout-form-columns.recap table tr td.web-licence {
    grid-column-start: 1;
  }
  .shop-checkout-form-columns.recap table tr td.price {
    width: auto;
    grid-column-start: 2;
  }
  .shop-checkout-form-columns.recap table tr.total td.price {
    grid-row-start: 1;
  }
} */



/* Cart Shop table
---------------------------------------------- */
.shop-tr {
  display: grid;
  padding: 4px 0;
  border-top: 1px solid black;
}
.shop-cart-header {
  font-size: 3em;
  line-height: 1.15em;
  border-top: 2px solid black;
  padding: 10px 10px;
}
.shop-cart .shop-tr {
  grid-template-columns: 35px auto;
  padding: 15px 10px 0;
  align-items: center;
  row-gap: 10px;
}
.shop-cart .shop-tr .remove-button {
  cursor: pointer;
}
.shop-cart .shop-tr .remove-button img {
  width: auto;
}
.shop-cart .shop-td.description {
  font-size: 1.5em;
  line-height: 1.15em;
}
.shop-cart .shop-td.desktop-licence {
  grid-column-start: 1;
  grid-column-end: 3;
}
.shop-cart .shop-td.web-licence {
  grid-column-start: 1;
  grid-column-end: 3;
}
.shop-cart .shop-td.price {
  grid-column-start: 1;
  grid-column-end: 3;
  font-size: 3em;
  line-height: 1.15em;
}
.shop-cart .shop-tr.total {
  border-top-width: 2px;
  padding-top: 15px;
}
.shop-cart .shop-tr.total .shop-td.edit {
  font-size: 3em;
  line-height: 1.15em;
  grid-column-start: 1;
  grid-column-end: 3;
}
.shop-cart .shop-tr.total .shop-td.price {
  grid-column-start: 3;
  justify-self: flex-end;
}
@media (min-width: 961px) {
  .shop-cart-header {
    padding: 10px 44px;
  }
  .shop-cart-table .shop-tr {
    padding: 11px 0;
  }
  .shop-cart .shop-tr {
    grid-template-columns: 35px auto 180px 180px 243px;
    padding: 10px 44px;
    column-gap: 20px;
  }
  .shop-cart .shop-td.desktop-licence {
    grid-column-start: 3;
    grid-column-end: 4;
  }
  .shop-cart .shop-td.web-licence {
    grid-column-start: 4;
    grid-column-end: 5;
  }
  .shop-cart .shop-td.price {
    grid-column-start: 5;
    grid-column-end: 6;
  }

  .shop-cart .shop-tr.total .shop-td.edit {
    grid-column-start: 1;
    grid-column-end: 3;
  }
  .shop-cart .shop-tr.total .shop-td.price {
    grid-column-start: 5;
    grid-column-end: 6;
    justify-self: flex-start;
  }
}

/* .shop-cart-table table tr td.edit {
  font-size: 3em;
  width: 70px;
  padding-left: 44px;
} */

.shop-cart-table table tr td.price {
  width: 280px;
  font-size: 3em;
}




/* CHECKOUT Shop table
---------------------------------------------- */
.shop-checkout-form-columns.recap .shop-tr {
  display: grid;
  padding: 4px 0;
  border-top: 1px solid black;
}
.shop-checkout-form-columns.recap .shop-td.description {
  grid-column-start: 1;
}
.shop-checkout-form-columns.recap .shop-td.desktop-licence {
  grid-column-start: 1;
}
.shop-checkout-form-columns.recap .shop-td.web-licence {
  grid-column-start: 1;
}
.shop-checkout-form-columns.recap .shop-td.price {
  grid-column-start: 2;
  text-align: right;
}
.shop-checkout-form-columns.recap .shop-tr.total .shop-td.price {
  grid-row-start: 1;
}
@media (min-width: 961px) {
  .shop-checkout-form-columns.recap .shop-tr {
    grid-template-columns: auto 175px 175px 75px;
  }
  .shop-checkout-form-columns.recap .shop-td.description {
    grid-column-start: auto;
  }
  .shop-checkout-form-columns.recap .shop-td.desktop-licence {
    grid-column-start: auto;
  }
  .shop-checkout-form-columns.recap .shop-td.web-licence {
    grid-column-start: auto;
  }
  .shop-checkout-form-columns.recap .shop-td.price {
    grid-column-start: 4;
    text-align: left;
  }

}







/* thanx screen
---------------------------------------------- */
.shop-screen-thanx {
  min-height: 300px;
  padding: 1em 0;
  font-size: 1.5em;
  line-height: 1.15em;
}
.shop-thanx-columns {
  display: flex;
}
.shop-thanx-columns .shop-thanx-column {
  padding: 0 10px;
}
.shop-thanx-columns .shop-thanx-column.success img {
  width: 50px;
  margin-top: 4px;
}
.shop-thanx-columns .shop-thanx-column.text-content {
  max-width: 800px;
}
@media (min-width: 961px) {
  .shop-screen-thanx {
    padding: 1em 30px;
  }
  .shop-thanx-columns .shop-thanx-column {
    padding: 0 14px;
  }
}


/* shop popup footer
---------------------------------------------- */

.shop-screen-footer {
  padding: 4px 0;
  border-top: 2px solid black;
}
.shop-screen-footer-columns {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}
.shop-screen-footer .button {
  margin: 10px 10px;
  text-align: center;
}
.shop-screen-footer .button.big {
  font-size: 3em;
  line-height: 0.9;
  padding: 12px 0.5em 5px;
}
/* .shop-screen-group .shop-cart-screen .shop-screen-header {
  background-color: rgb(245, 233, 208);
  border-top: 2px solid;
}
.shop-screen-group .shop-cart-screen .shop-screen-header .close-btn {
  display: none;
} */

@media (min-width: 961px) {
  .shop-screen-footer {
    padding: 4px 34px 4px;
  }
  .shop-content .button {
    display: inline-block;
    padding: 10px 1em 8px;
  }
}



/* Shop Trial
---------------------------------------------- */

.shop-trials-table {
  margin: 0 0;
}
.shop-trials-group {
  display: flex;
  flex-wrap: wrap;

  margin: 0 10px;
}
.shop-trials-group.full-collection {
  margin-bottom: 1.3em;
  border-bottom: 1px solid black;
}
.shop-trials-item {
  width: 100%;
  margin-bottom: 1em;
  cursor: pointer;
}

.shop-trials-item-select{
  border: 1px solid black;
    border-radius: 100px;
    line-height: 1.1em;
    padding: 10px 10px 7px;
    text-transform: uppercase;
    font-size: 0.7em;
}

.shop-trials-item-select:hover{
  color: white;
  background: red;
  border-color: red;
}

.shop-trials-item-node.in-cart .shop-trials-item-select{
  color: white;
  background: red;
  border-color: red;
}

.shop-trials-item-node {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}
.shop-trials-item-node .shop-trials-item-name {
  width: 60%;
}
.shop-trials-item-node.in-cart {
  color: red;
}
@media (min-width: 961px) {
  .shop-trials-table {
    margin: 0 34px;
  }
  .shop-trials-group {
  }
  .shop-trials-item {
    width: 50%;
  }
  .shop-trials-item-node {
    justify-content: flex-start;
  }
}




/* Shop Trial Checkout
---------------------------------------------- */


.shop-trial-checkout .shop-checkout-form-column ul {
  margin-top: 1em;
}




/* General UI
---------------------------------------------- */

/* HEADER
---------------------------------------------- */
.header-shop-cart {
  position: fixed;
  right: 60px;
  top: 14px;
  z-index: 200;
}
.header-shop-cart a {
  cursor: pointer;
  text-decoration: underline;
}
.header-shop-cart a:hover {
  text-decoration: none;
  color: red;
}

.header-shop-cart .header-shop-cart-content.cart-full .bullet {
    background-color: red;
    width: 11px;
    height: 11px;
    display: inline-block;
    border-radius: 100%;
    vertical-align: middle;
    position: absolute;
    left: -16px;
    line-height: 1em;
    top: calc(1em/2 - 0.4em);
}

@media (min-width: 961px) {
  .header-shop-cart {
    right: 10px;
  }
}

@media (max-width: 720px){
  .header-shop-cart{
    display: none;
  }

  .header-shop-cart.onBurger{
    display: block;
    z-index: 999999;
  }

}



/* Footer
---------------------------------------------- */
.cart-count {
  display: inline-block;
  position: absolute;
  transform: translateY(-0.3em);
}
.cart-count-content {
 background-color: red;
    margin-left: 10px;
    border-radius: 1em;
    min-width: calc(1em + 5px);
    text-align: center;
    font-size: 1em;
    color: white;
    height: calc(1em + 5px);
    line-height: 1.5em;
}
@media (max-width: 720px){
.cart-count-content{
    font-size: 1em;
  }
}
a:hover .cart-count-content {
  background-color: rgb(0, 218, 102);
}
