html {
  background: var(--site-background-color);
}

#page {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  background: var(--page-background-color);
  box-shadow: 0 0 15px 0 rgba(0, 0, 0, 0.1);
}

#header {
  display: grid;
  grid-template-columns: auto auto;
  align-items: center;
  padding: calc(var(--gutter-size)/2);
}

@media (min-width: 768px) {
  #header {
    padding: var(--gutter-size);
  }
}

@media (min-width: 992px) {
  #header {
    grid-template-columns: var(--sidebar-width) auto var(--sidebar-width);
  }
}

#header .logotype img {
  max-width: 200px;
}

@media (min-width: 400px) {
  #header .logotype img {
    max-width: 100%;
    max-height: 80px;
  }
}

#region {
  background: var(--site-background-color);
  border-bottom: 1px solid #fff;
  border-collapse: collapse;
  border-radius: var(--border-radius);
  border-right: 1px solid #fff;
  box-shadow: inset 0 1px 2px var(--shadow-color);
  color: var(--default-text-color);
  display: inline-block;
  font-size: 0.95em;
  padding: 5px 10px;
}

  #region .currency {
    cursor: default;
    padding: 0;
  }

    #region .currency span {
      background: #e3ece0;
      border-bottom: 1px solid #fff;
      border-left: 1px solid #d1d1d1;
      border-right: 1px solid #fff;
      border-top: 1px solid #d1d1d1;
      padding: 1px 5px;
    }

  #region .country {
    cursor: default;
  }

  #region .change {
    padding-inline-start: 0;
  }

  #region > div {
    display: inline-block;
    padding: 5px 5px;
    vertical-align: middle;
  }

#cart {
  display: inline-block;
}

  #cart > a {
    position: relative;
    display: flex;
    align-items: center;
    padding: 4px;
    border: 1px transparent solid;
    border-radius: var(--border-radius);
    color: inherit;
    white-space: nowrap;
  }

    #cart > a:hover {
      border-color: var(--default-border-color);
      text-decoration: none;
    }

  #cart img {
    max-width: 50px;
    max-height: 50px;
  }

  #cart .badge {
    background: red;
    border-radius: 1.25rem;
    padding: 0.25rem;
    display: inline-block;
    text-align: center;
    color: #fff;
    font-size: 0.75em;
    position: absolute;
    right: 0;
    top: 1em;
    width: 2em;
    animation: pulsating 1.5s linear infinite;
  }

    #cart .badge:empty {
      display: none;
    }

@media (max-width: 1200px) {
  #cart .details {
    display: none;
  }
}

#site-menu {
  margin: 0 calc(var(--gutter-size)/2) var(--gutter-size) calc(var(--gutter-size)/2);
}

@media (min-width: 768px) {
  #site-menu {
    margin: 0 var(--gutter-size) var(--gutter-size) var(--gutter-size);
  }
}

@media (max-width: 767px) {
  #site-menu {
    position: sticky;
    top: 0;
    z-index: 999;
    font-size: 1.15em;
  }
}

#main {
  flex-grow: 1;
  padding: 0 calc(var(--gutter-size)/2) var(--gutter-size) calc(var(--gutter-size)/2);
}

@media (min-width: 768px) {
  #main {
    padding: 0 var(--gutter-size) var(--gutter-size) var(--gutter-size);
    display: grid;
    grid-template-columns: max-content;
    grid-template-areas: 'sidebar content';
    grid-template-rows: 1fr;
  }
}

#sidebar {
  position: relative;
}

@media (min-width: 768px) {
  #sidebar {
    width: var(--sidebar-width);
    margin-inline-end: var(--gutter-size);
  }

    #sidebar > *:first-child {
      margin-top: 0;
    }
}

#content {
  width: 100%;
  grid-area: content;
  grid-gap: calc(var(--gutter-size)/2);
}

@media (min-width: 768px) {
  #content {
    grid-gap: var(--gutter-size);
  }
}

#footer {
  padding: var(--gutter-size) calc(var(--gutter-size)/2);
  background-color: var(--footer-background-color);
  color: var(--footer-text-color);
}

@media (min-width: 768px) {
  #footer {
    padding: calc(var(--gutter-size)*2);
  }
}

#footer a {
  color: inherit;
}

#footer .columns {
  margin-left: 20%;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  grid-gap: 15px;
}

@media (min-width: 2200px) {
  #footer .columns {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (min-width: 2600px) {
  #footer .columns {
    grid-template-columns: repeat(5, 1fr);
  }
}

#footer .title {
  font-size: 1.5em;
  margin: 0 0 0.75em 0;
  color: var(--footer-title-color);
}

#footer ul.list-vertical li {
  padding: 0;
}

#copyright {
  background: var(--copyright-background-color);
  color: var(--copyright-text-color);
}

  #copyright a {
    color: inherit;
  }

  #copyright .notice {
    padding: var(--gutter-size);
    text-align: center;
  }

#scroll-up {
  bottom: 30px;
  display: none;
  height: 48px;
  opacity: 0.3;
  position: fixed;
  right: 30px;
  width: 48px;
}
/* Boxes */
.box {
  margin: var(--gutter-size) 0;
}

  .box.white {
    margin: var(--gutter-size);
    padding: var(--gutter-size);
    border-radius: var(--border-radius);
    background: #fff;
  }

  .box.border {
    padding: var(--gutter-size);
    border: 1px solid var(--default-border-color);
    border-radius: var(--border-radius);
  }

  .box > .title {
    margin-top: 0;
  }

#box-cookie-notice {
  background: var(--cookie-notice-background-color);
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1em;
  backdrop-filter: saturate(200%) blur(5px);
  color: var(--cookie-notice-text-color);
  z-index: 999;
}

  #box-cookie-notice .notice {
    margin-bottom: 1em;
  }

@media (min-width: 992px) {
  #box-also-purchased-products {
    position: sticky;
    top: 0;
  }
}

#box-customer-logotypes img {
  max-height: 60px;
}

#box-manufacturer-logotypes img {
  max-height: 60px;
}

#box-filter .customers ul {
  max-height: 200px;
  overflow-y: auto;
}

#box-filter .manufacturers ul {
  max-height: 200px;
  overflow-y: auto;
}

#box-recently-viewed-products .listing {
  grid-template-columns: repeat(auto-fill, minmax(48px, 0.5fr));
}

.listing {
  display: grid;
  grid-gap: calc(var(--gutter-size)/2);
}

@media (min-width: 768px) {
  .listing {
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    grid-gap: var(--gutter-size);
  }
}

.listing.products.columns {
  grid-template-columns: repeat(auto-fill, minmax(145px, 1fr));
}

@media (min-width: 768px) {
  .listing.products.columns {
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  }
}

.listing.products.rows {
  grid-auto-flow: row;
  grid-template-columns: initial;
}

.listing.categories {
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
}

@media (min-width: 768px) {
  .listing.categories {
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  }
}

.listing.customers {
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
}

@media (min-width: 768px) {
  .listing.customers {
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  }
}

.listing h1,
.listing h2,
.listing h3 {
  padding-bottom: 0;
  border: none;
}

.listing a {
  color: inherit;
  text-decoration: none;
}

.listing .category,
.listing .customer,
.listing .product {
  position: relative;
  overflow: hidden;
  background: var(--image-whitespace-color);
  border: 1px solid var(--default-border-color);
  border-radius: var(--border-radius);
  transform: scale(1);
  transition: all 100ms linear;
  color: inherit;
  text-decoration: none;
}

@media (min-width: 768px) {
  .listing .category:hover,
  .listing .customer:hover,
  .listing .product:hover {
    box-shadow: 0 calc(var(--gutter-size)/4) calc(var(--gutter-size)/2) 0 rgba(0, 0, 0, 0.15);
    transform: scale(1.01);
  }
}

.listing .category .caption {
  background: #f2f2f2;
  padding: calc(var(--gutter-size)/2) var(--gutter-size);
  color: var(--default-text-color);
  text-align: center;
}

  .listing .category .caption * {
    color: inherit;
    margin: 0;
  }

.listing .customer img {
  width: 100%;
  height: auto;
  padding: calc(var(--gutter-size)/2);
}

.listing .customer .caption {
  margin: 0;
  padding: calc(var(--gutter-size)/2);
  background: #f2f2f2;
  color: var(--default-text-color);
  text-align: center;
}

.image-wrapper-gray {
  opacity: 0.4;
  filter: grayscale(100%);
}

.listing .product {
  position: relative;
}

  .listing .product .link {
    text-decoration: none;
  }

  .listing .product .image-wrapper {
    background: var(--image-whitespace-color);
  }

    .listing .product .image-wrapper .sticker {
      position: absolute;
      top: 20px;
      left: -32px;
      width: 125px;
      padding: calc(var(--gutter-size)/4) calc(var(--gutter-size)/2);
      color: #fff;
      font-size: 12px;
      font-weight: bold;
      text-align: center;
      text-transform: uppercase;
      transform: rotate(-45deg);
    }

      .listing .product .image-wrapper .sticker.new {
        background: rgba(251, 184, 41, 0.9);
      }

      .listing .product .image-wrapper .sticker.sale {
        background: rgba(237, 60, 50, 0.9);
      }

    .listing .product .image-wrapper .marker {
      position: absolute;
      top: 20px;
      right: -32px;
      width: 125px;
      padding: calc(var(--gutter-size)/4) calc(var(--gutter-size)/2);
      color: #fff;
      font-size: 12px;
      font-weight: bold;
      text-align: center;
      text-transform: uppercase;
      transform: rotate(45deg);
    }

    .listing .product .image-wrapper .marker.edition {
      background: rgba(251, 184, 41, 0.9);
    }

    .listing .product .image-wrapper .marker.issue {
      background: rgba(237, 60, 50, 0.9);
    }

    .listing .product .image-wrapper .gift {
      position: absolute;
      top: 20px;
      right: -32px;
      width: 125px;
      padding: calc(var(--gutter-size)/4) calc(var(--gutter-size)/2);
      color: #fff;
      font-size: 12px;
      font-weight: bold;
      text-align: center;
      text-transform: uppercase;
      transform: rotate(45deg);
    }

      .listing .product .image-wrapper .gift.edition {
        background: rgba(251, 184, 41, 0.9);
      }

      .listing .product .image-wrapper .gift.issue {
        background: rgba(237, 60, 50, 0.9);
      }



  .listing .product .name {
    display: flex;
    justify-content: center;
    align-content: center;
    flex-direction: column;
    height: 40px;
    font-size: 1em;
    font-weight: 400;
    line-height: 115%;
    border-bottom: 0;
    margin: 0;
  }

  .listing .product .customer-username {
    color: var(--default-text-color);
    font-size: 0.9em;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    line-height: 200%;
    opacity: 0.75;
  }

  .listing .product .description {
    text-align: left;
  }

  .listing .product .price-wrapper {
    font-size: 1.25em;
  }

    .listing .product .price-wrapper .price {
      font-weight: bold;
      color: #333;
      white-space: nowrap;
    }

    .listing .product .price-wrapper .regular-price,
    .listing .product .price-wrapper .recommended-price {
      color: var(--default-text-color);
      font-size: 0.75em;
      font-weight: normal;
      white-space: nowrap;
    }

    .listing .product .price-wrapper .campaign-price {
      font-weight: bold;
      color: #cc0000;
      white-space: nowrap;
    }

  .listing .product .preview {
    margin: 0 -1px -1px -1px;
    display: none;
    position: absolute;
    top: 7.5px;
    right: 7.5px;
    box-shadow: none;
  }

@media (min-width: 768px) {
  .listing .product:hover .preview {
    display: inline-block;
  }
}

.listing.columns .product .image {
  width: 100%;
  height: auto;
}

.listing.columns .product .info {
  padding: calc(var(--gutter-size)/2);
  text-align: center;
}

.listing.columns .product .description {
  display: none;
}

.listing.columns .product .price-wrapper {
  position: initial;
}

.listing.rows .product {
  height: 175px;
}

  .listing.rows .product .info {
    position: absolute;
    top: 0;
    left: calc(var(--gutter-size) + 100px);
    right: 0;
    bottom: 0;
    padding: calc(var(--gutter-size)/2);
  }

@media (min-width: 768px) {
  .listing.rows .product .info {
    left: calc(160px + var(--gutter-size));
  }
}

.listing.rows .product .image-wrapper {
  display: inline-block;
}

.listing.rows .product .image {
  max-width: 100px;
}

@media (min-width: 768px) {
  .listing.rows .product .image {
    max-width: 160px;
  }
}

.listing.rows .product .price-wrapper {
  position: absolute;
  bottom: 0;
  right: 0;
  font-size: 1.25em;
  background: linear-gradient(to right, rgba(255, 255, 255, 0) 0%, #ffffff 20%, #ffffff 100%);
  padding: calc(var(--gutter-size)/2);
  padding-inline-start: calc(var(--gutter-size) * 2);
}

@media (min-width: 768px) {
  .listing.rows .product {
    height: auto;
  }

    .listing.rows .product .description {
      margin-top: var(--gutter-size);
    }
}

#view-full-page {
  float: right;
  display: inline-block;
  padding: calc(var(--gutter-size)/2) var(--gutter-size);
}

#box-product form[name="buy_now_form"] {
  padding: var(--gutter-size);
  margin: 1em 0;
  border: 1px solid var(--default-border-color);
  border-radius: var(--border-radius);
}

#box-product .images {
  margin-bottom: calc(var(--gutter-size)*2);
}

#box-product .main-image {
  position: relative;
  overflow: hidden;
}

  #box-product .main-image .sticker {
    color: #fff;
    font-size: 12px;
    font-weight: bold;
    top: 15px;
    left: -35px;
    padding: calc(var(--gutter-size)/4) calc(var(--gutter-size)/2);
    position: absolute;
    text-align: center;
    text-transform: uppercase;
    transform: rotate(-45deg);
    width: 140px;
  }

    #box-product .main-image .sticker.new {
      background: rgba(251, 184, 41, 0.85);
    }

    #box-product .main-image .sticker.sale {
      background: rgba(237, 60, 50, 0.85);
    }

  #box-product .main-image .marker {
    color: #fff;
    font-size: 12px;
    font-weight: bold;
    top: 15px;
    right: -35px;
    padding: calc(var(--gutter-size)/4) calc(var(--gutter-size)/2);
    position: absolute;
    text-align: center;
    text-transform: uppercase;
    transform: rotate(45deg);
    width: 140px;
  }

    #box-product .main-image .marker.edition {
      background: rgba(251, 184, 41, 0.85);
    }

    #box-product .main-image .marker.issue {
      background: rgba(237, 60, 50, 0.85);
    }

#box-product .price-wrapper {
  font-size: 1.75em;
}

  #box-product .price-wrapper .regular-price,
  #box-product .price-wrapper .recommended-price {
    font-size: 0.75em;
  }

  #box-product .price-wrapper .campaign-price {
    color: #cc0000;
  }

#box-product .tax {
  color: #999;
}

#box-product .stock-available .value {
  color: #009900;
}

#box-product .stock-partly-available .value {
  color: #ff9900;
}

#box-product .stock-unavailable .value {
  color: #cc0000;
}

#box-product .out-of-stock-notice {
  background: var(--default-background-color);
  border: 1px solid var(--default-border-color);
  padding: var(--gutter-size);
  border-radius: var(--border-radius);
}

#box-product .social-bookmarks {
  font-size: 1.75em;
  margin: var(--gutter-size) 0;
}

#box-product .description p:first-child {
  margin-top: 0;
}

#box-product .description p:last-child {
  margin-bottom: 0;
}

#box-product .technical-data table {
  -webkit-column-break-inside: avoid;
  -moz-column-break-inside: avoid;
  break-inside: avoid-column;
}

  #box-product .technical-data table td:first-child {
    width: 50%;
  }

@media (min-width: 768px) {
  #box-product .technical-data {
    columns: auto 2;
  }
}

.btn {
  position: relative;
}

.btn-overlay {
  position: absolute;
  padding: 0;
  top: 0;
  left: 148px;
  font-size: 1em;
  font-weight: bold;
  color: darkblue;
  background-color: #ffffff;
  opacity: 0.5;
  transition: opacity .5s;
}

.panel-action-edit {
  justify-content: flex-end;
  float: right;
  right: auto;
}

.rounded-profile-large {
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background-repeat: no-repeat;
  background-size: cover;
  margin: 0px auto;
}

.rounded-profile-small {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background-repeat: no-repeat;
  background-size: cover;
  margin: 0px auto;
}

.rounded-profile-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-repeat: no-repeat;
  background-size: cover;
  margin: 0px auto;
}

.button_category {
  max-width: 50px;
  max-height: 50px;
  border-radius: 50%;
}

.ad_type_1 {
  max-width: 300px;
  max-height: 250px;
  overflow: hidden;
  margin-left: auto;
  margin-right: auto;
  width: 100%;
}

.ad_type_2 {
  max-width: 600px;
  max-height: 150px;
  overflow: hidden;
}

@media(max-width: 1065px) {
  .ad_type_2 {
    display: none;
  }
}

#layout_position_ad {
  max-width: 550px;
  overflow: hidden;
}

@media(max-width: 750px) {
  #layout_position_ad {
    display: none;
  }
}

.email_ad {
  max-width: 400px;
  max-height: 150px;
  overflow: hidden;
}

.card {
  min-width: 320px;
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
  border-radius: 10px;
  padding: 20px;
  text-align: left;
}

.card.lightgreen {
  background-color: #F3FFE3;
  color: black;
}

.card.green {
  background-color: #DBFFD6;
  color: black;
}

.card.darkgreen {
  background-color: #BFFCC6;
  color: black;
}


