/*
 * SolarHertz responsive compatibility layer.
 * The historical three-column layout remains available on wide screens.
 */

html {
  -webkit-text-size-adjust: 100%;
}

/* First desktop readability pass: wider canvas, larger type, same structure. */
body,
table,
input,
select,
textarea,
tt {
  font-size: 13px;
  line-height: 1.4;
}

input,
select,
textarea {
  font-size: 14px;
}

h1 {
  font-size: 20px;
}

h2 {
  font-size: 18px;
}

h3,
strong.h2 {
  font-size: 16px;
}

strong.h3 {
  font-size: 15px;
}

div#page {
  width: 1180px;
}

div#content {
  background: #ffffff;
}

div#content,
div#path,
div#body,
div#left,
div#right,
div#footer,
div.bar.oxid,
div.bar.links {
  font-size: 13px;
  line-height: 1.4;
}

.link,
.link2,
dl.box dt,
div.bar.links a,
div.bar.categories a,
#footer a,
#footer a:hover,
#footer .shopicons,
#footer .footertext,
div.bar.copy,
div.bar.copy a,
div.bar.shop,
div.bar.shop a,
div.bar.icons,
#right .listitem.rightlist .price a,
#right .listitem.rightlist .link,
#right dl.actionslist .link {
  font-size: 13px;
}

div.bar.links a,
div.bar.categories a,
ul.tree li a {
  line-height: 1.4;
}

div.bar.copy {
  height: auto;
}

span.btn {
  background: #5e5e5e;
  height: auto;
  line-height: normal;
  padding: 0;
}

span.btn input,
span.btn a {
  background: #5e5e5e;
  box-sizing: border-box;
  font-size: 13px;
  height: auto;
  line-height: 1.2;
  min-height: 26px;
  padding: 4px 8px;
}

#left form.search p {
  font-size: 0;
  padding-left: 4px;
  padding-right: 4px;
}

#left .search-query {
  box-sizing: border-box;
  display: flex;
  margin-top: 2px;
  width: 100%;
}

#left .search-query input.txt {
  border-right: 0;
  box-sizing: border-box;
  flex: 1 1 auto;
  margin: 0;
  min-height: 30px;
  min-width: 0;
  padding: 4px 6px;
  width: auto;
}

#left .search-submit {
  align-items: center;
  background: #5e5e5e;
  border: 1px solid #5e5e5e;
  box-sizing: border-box;
  color: #ffffff;
  cursor: pointer;
  display: flex;
  flex: 0 0 34px;
  justify-content: center;
  margin: 0;
  min-height: 30px;
  padding: 0;
  width: 34px;
}

#left .search-submit:hover,
#left .search-submit:focus {
  background: #4f4f4f;
}

#left .search-submit svg {
  display: block;
}

#left .search select {
  box-sizing: border-box;
  display: block;
  width: 100%;
}

#right .form,
#right .form input.txt,
#right .form span.btn,
#right .form span.btn input {
  box-sizing: border-box;
  max-width: 100%;
  width: 100%;
}

#body,
#body td,
#body th,
#body a {
  font-size: 13px;
  line-height: 1.4;
}

#body strong.head,
#body h1.head {
  font-size: 18px;
}

#body strong.head2,
#body .boxhead,
#body .product.head strong.h4,
#body .product.head strong.h4.thin,
#body .product.head strong.h4.thinest,
#body .product.head strong.h4.big {
  font-size: 16px;
}

#body strong.head em,
#body h1.head em,
#body .boxhead em,
#body strong.head small,
#body h1.head small,
#body .boxhead small,
#body .product.head strong.h4 small,
#body .form th,
#body .form th small,
#body .locator .lochead strong.h4,
#body .locator .locbody,
#body .locator .locbody a,
#body .locator .arrow,
#body .product strong.h3 a,
#body .product .desc,
#body .product .actions a,
#body .product .variants label,
#body .product .amount label,
#body .product.details .desc,
#body .product.details .exturls a,
#body .product.details .cats,
#body .product.details .cats a,
#body .product.details .status,
#body .product.details .price sup.dinfo,
#body .product.details .price sup.dinfo a,
#body .product.details .price .desc,
#body .product.details .packing,
#body .product.details .pperunit,
#body .product.details .amprice th,
#body .product.details .amprice td,
#body .product.details .pricealarm a,
#body .product.details .persparam label,
#body .box .attributes td,
#body .box .pricealarm th label,
#body .account_header dt a,
#body .account_header dd,
#body .account strong.h4,
#body .account small,
#body .basket .art_title a,
#body .basket .art_num,
#body .basket .notice td,
#body .basket .discount,
#body .basket .coupon,
#body .form.orderhistory td,
#body .form.orderhistory th,
#body .form.orderhistory a.artlink {
  font-size: 13px;
  line-height: 1.4;
}

#body .account_header .account-newsletter-title {
  color: #5e5e5e;
  display: inline-block;
  font-size: 13px;
  font-weight: bold;
  padding-left: 8px;
}

#body .account_header .account-newsletter-form > div {
  align-items: center;
  display: flex;
  gap: 8px;
}

#body .account_header .account-newsletter-form select {
  min-width: 64px;
}

#body .account_header .account-newsletter-message {
  display: block;
  margin-top: 5px;
}

#body .account-delete-box p {
  margin-bottom: 10px;
}

#body .account_header .account-delete-link dt a {
  color: #8b1f1f;
}

#body .account_header .account-delete-link dt a:hover,
#body .account_header .account-delete-link dt a:focus,
#body .account_header .account-delete-link dt a.active {
  color: #661717;
}

#body .account-delete-retention {
  color: #5e5e5e;
}

#body .account-delete-form label {
  display: block;
  font-weight: bold;
  margin: 8px 0 4px;
}

#body .account-delete-form input[type="password"] {
  box-sizing: border-box;
  max-width: 360px;
  width: 100%;
}

#body .account-delete-form .account-delete-confirm {
  align-items: flex-start;
  display: flex;
  font-weight: normal;
  gap: 8px;
  max-width: 720px;
}

#body .account-delete-form .account-delete-confirm input {
  flex: 0 0 auto;
  margin-top: 3px;
}

#body .account-delete-button {
  background: #a51f1f;
  border: 1px solid #7f1717;
  color: #ffffff;
  cursor: pointer;
  font-weight: bold;
  margin-top: 10px;
  padding: 8px 12px;
}

#body .account-delete-button:hover,
#body .account-delete-button:focus {
  background: #7f1717;
}

#body .account-delete-success {
  background: #eef7d8;
  border: 1px solid #a8bd42;
  box-sizing: border-box;
  color: #405000;
  margin: 0 5px 10px;
  padding: 10px;
  width: calc(100% - 10px);
}

#body .account-title {
  box-sizing: border-box;
  display: block;
  height: auto;
  overflow-wrap: anywhere;
  white-space: normal;
  word-wrap: break-word;
}

#body .product.details h1,
#body .product.moredetails .longdesc strong.h3 {
  font-size: 18px;
  line-height: 1.3;
}

#body .product .price big {
  font-size: 22px;
}

#body .product.big .price big,
#body .product.details .price big {
  font-size: 28px;
}

#body strong.head2,
#body .boxhead,
#body .box,
#body .box.info,
#body .box.notice,
#body .errorbox,
#body .locator,
#body div.bar.prevnext,
#body .msg,
#body .basket,
#body .morecats,
#body .separator,
#body .txtseparator,
#body .product.big,
#body .product.details,
#body .product.moredetails,
#body .product.thin {
  box-sizing: border-box;
  max-width: calc(100% - 10px);
  width: calc(100% - 10px);
}

#body .separator.inbox,
#body .txtseparator.inbox,
#body .errorbox.inbox,
#body .product.thinest {
  box-sizing: border-box;
  max-width: 100%;
  width: 100%;
}

#body .welcome {
  box-sizing: border-box;
  height: auto;
  min-height: 150px;
  width: calc(100% - 10px);
}

#body .product.head:not(.thin):not(.thinest):not(.big):not(.details) {
  box-sizing: border-box;
  height: auto;
  min-height: 190px;
  width: calc(50% - 10px);
}

#body .product:not(.small):not(.thin):not(.thinest):not(.big):not(.details):not(.moredetails) {
  box-sizing: border-box;
  height: auto;
  min-height: 220px;
  width: calc(50% - 10px);
}

#body .product:not(.small):not(.thin):not(.thinest):not(.big):not(.details):not(.moredetails) strong.h3 {
  height: auto;
  min-height: 58px;
}

#body .product.head:not(.thin):not(.thinest):not(.big):not(.details) {
  min-height: 190px;
}

#body .product.big,
#body .product.details {
  min-height: 280px;
}

#body .product.head strong.h4,
#body .product.head strong.h4.big,
#body .product.head strong.h4.thin {
  box-sizing: border-box;
  height: 30px;
  right: -1px;
  width: calc(100% + 2px);
}

#body .product.moredetails .longdesc {
  line-height: 1.4;
}

#body .product .tocart {
  background: #5e5e5e;
  height: 28px;
  line-height: normal;
}

#body .product .tocart input {
  background: #5e5e5e;
  box-sizing: border-box;
  font-size: 13px;
  height: 28px;
  line-height: 1.2;
  padding: 4px 6px;
}

@media screen and (min-width: 701px) {
  #body .product:not(.small) .tocart,
  #body .product:not(.small) .tocart input {
    width: 170px;
  }
}

#body .product span.btn a {
  font-size: 13px;
  line-height: 1.2;
  min-height: 26px;
  padding: 4px 8px;
}

@media screen and (min-width: 701px) and (max-width: 820px) {
  #body .product:not(.small):not(.thin):not(.thinest):not(.big):not(.details):not(.moredetails) {
    max-width: calc(100% - 10px);
    width: calc(100% - 10px);
  }
}

@media screen and (min-width: 701px) and (max-width: 866px) {
  #body table.form {
    box-sizing: border-box;
    table-layout: fixed;
    width: 100%;
  }

  #body table.form input.txt,
  #body table.form select,
  #body table.form textarea {
    box-sizing: border-box;
    max-width: 100%;
  }

  #body table.form textarea {
    width: 100%;
  }
}

@media screen and (max-width: 480px) {
  #body .product.head:not(.thin):not(.thinest):not(.big):not(.details),
  #body .product:not(.small):not(.thin):not(.thinest):not(.big):not(.details):not(.moredetails) {
    max-width: 100%;
    width: 100%;
  }
}

/* Keep the required marker beside contact fields at every viewport width. */
#body table.form td.contact-required {
  white-space: nowrap;
}

#body table.form td.contact-required input.defaultcontent {
  box-sizing: border-box;
  max-width: 420px;
  vertical-align: middle;
  width: calc(100% - 24px);
}

img {
  height: auto;
  max-width: 100%;
}

#header div.bar.links .right > a {
  align-items: center;
  box-sizing: border-box;
  display: inline-flex;
  min-height: 30px;
}

#header div.bar.links a.account-link {
  gap: 6px;
}

#header div.bar.links a.account-link .account-link-icon {
  display: block;
  flex: 0 0 16px;
  height: 16px;
  width: 16px;
}

#body .welcome .homepage-title {
  font-size: 1em;
  line-height: normal;
  margin: 0;
  padding: 0;
}

@media screen and (max-width: 1194px) {
  div#page {
    max-width: 1180px;
    width: 100%;
  }

  div#right {
    display: none;
  }

  div#body {
    margin-left: 188px;
    margin-right: 0;
  }

  div#path {
    margin-right: 0;
  }

  #body strong.head2,
  #body .box,
  #body .boxhead,
  #body .locator {
    box-sizing: border-box;
    max-width: calc(100% - 10px);
    width: calc(100% - 10px);
  }

  div.bar.categories {
    display: flex;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
  }

  div.bar.categories > a.fixed {
    flex: 0 0 auto;
    float: none;
  }

  div.bar.categories > ul.menue.horizontal {
    display: flex;
    flex: 0 0 auto;
    flex-wrap: nowrap;
  }

  div.bar.categories > ul.menue.horizontal > li {
    float: none;
  }

  #body .product.head:not(.thin):not(.thinest):not(.big):not(.details) {
    box-sizing: border-box;
    width: calc(50% - 10px);
  }

  #body .product.big,
  #body .product.details,
  #body .product.moredetails {
    box-sizing: border-box;
    width: calc(100% - 10px);
  }

  #body .product.head strong.h4,
  #body .product.head strong.h4.big,
  #body .product.head strong.h4.thin {
    box-sizing: border-box;
    width: calc(100% + 2px);
  }
}

@media screen and (max-width: 700px) {
  body,
  table,
  input,
  select,
  textarea,
  tt {
    font-size: 14px;
  }

  div#content {
    background: #ffffff;
  }

  div#left {
    background: #ffffff;
    border: 0;
    float: none;
    padding: 0 10px;
    width: auto;
  }

  #left > *:not(.search) {
    display: none;
  }

  #left > strong.h2:not(.search),
  #left > ul:not(.search),
  #left > div:not(.search),
  #left > dl:not(.search) {
    display: none;
  }

  #left strong.search,
  #left form.search {
    display: block;
  }

  #left form.search p {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    padding: 8px 0;
  }

  #left .search-query,
  #left .search select {
    box-sizing: border-box;
    flex: 1 1 100%;
    margin: 0;
    width: 100%;
  }

  #left .search-query input.txt,
  #left .search select {
    min-height: 38px;
    padding: 6px;
  }

  #left .search-submit {
    flex-basis: 42px;
    min-height: 38px;
    width: 42px;
  }

  div#path {
    margin: 0;
    padding: 10px;
  }

  div#path a.dinfo {
    display: block;
    line-height: 1.4;
    margin-top: 6px;
    position: static;
  }

  div#body {
    font-size: 14px;
    margin: 0;
    padding: 10px;
  }

  #body,
  #body td,
  #body th,
  #body a {
    font-size: 14px;
  }

  #header div.bar.oxid .logo {
    display: block;
    float: none;
    padding: 0;
  }

  #header div.bar.oxid .logo picture,
  #header div.bar.oxid .logo img {
    display: block;
    width: 100%;
  }

  #header div.bar.oxid .logo img {
    height: auto;
    margin: 0;
    max-height: none;
  }

  #header dl.box.service {
    display: none;
  }

  #header div.bar.oxid dl.box {
    box-sizing: border-box;
    float: left;
    margin: 0;
    min-height: 0;
    min-width: 0;
    width: 50%;
  }

  #header dl.box.open dd.dropdown {
    width: 100%;
  }

  div.bar.links {
    align-items: stretch;
    display: flex;
    padding: 4px;
  }

  div.bar.links .fixed,
  div.bar.links .left,
  div.bar.links .right {
    float: none;
    min-width: 0;
  }

  #header div.bar.links .fixed,
  div.bar.links .left {
    flex: 0 0 auto;
  }

  #header div.bar.links .fixed {
    min-width: 0;
  }

  div.bar.links .right {
    display: block;
    flex: 0 0 auto;
    margin-left: auto;
  }

  div.bar.links > .clear {
    display: none;
  }

  div.bar.links a,
  div.bar.links .left a,
  div.bar.links .right a {
    display: inline-block;
    float: none;
    line-height: 18px;
    padding: 7px 9px;
  }

  div.bar.categories {
    display: flex;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
  }

  div.bar.categories > a.fixed {
    flex: 0 0 auto;
    float: none;
    min-width: 74px;
  }

  div.bar.categories > ul.menue.horizontal {
    display: flex;
    flex: 0 0 auto;
    flex-wrap: nowrap;
  }

  div.bar.categories > ul.menue.horizontal > li {
    float: none;
  }

  div.bar.categories a {
    box-sizing: border-box;
    min-height: 42px;
    padding: 14px 10px;
  }

  #body strong.head2,
  #body .boxhead,
  #body .box,
  #body .box.info,
  #body .box.notice,
  #body .errorbox,
  #body .locator,
  #body div.bar.prevnext,
  #body .msg,
  #body .product.moredetails {
    box-sizing: border-box;
    float: none;
    height: auto;
    max-width: 100%;
    width: auto;
  }

  #body strong.head,
  #body h1.head,
  #body strong.head2,
  #body .boxhead,
  #body .box,
  #body .errorbox,
  #body .locator,
  #body .msg,
  #body .product.moredetails {
    margin-left: 0;
    margin-right: 0;
  }

  #body .boxhead {
    min-height: 34px;
  }

  #body .boxhead h1,
  #body .boxhead em {
    display: inline;
  }

  #body .boxhead small {
    display: block;
    line-height: 1.35;
    margin-top: 6px;
    position: static;
  }

  #body .welcome {
    float: none;
    height: auto;
    margin: 0 0 12px;
    padding: 0;
    width: auto;
  }

  #body .locator .lochead,
  #body .locator .locbody {
    height: auto;
    text-align: left;
  }

  #body .locator .locbody {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 6px 16px;
    justify-content: space-between;
  }

  #body .locator .locbody .left,
  #body .locator .locbody .right {
    float: none;
  }

  #body .locator .lochead strong.h4 {
    float: none;
  }

  #body input[type="text"],
  #body input[type="password"],
  #body input[type="email"],
  #body select,
  #body textarea {
    box-sizing: border-box;
    max-width: 100%;
    min-height: 36px;
    padding: 6px;
  }

  #body textarea {
    width: 100%;
  }

  #body input[type="submit"],
  #body input[type="button"] {
    background: #BDCD00;
    border: 1px solid #9eac00;
    box-sizing: border-box;
    color: #ffffff;
    cursor: pointer;
    min-height: 42px;
    padding: 8px 12px;
  }

  #body table.basket,
  #body table.wrapping,
  #body table.cmp_tbl,
  #body table.orderhistory {
    display: block;
    max-width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  /* Keep every basket amount visible instead of widening the legacy table. */
  #body table.basket {
    display: table;
    overflow: visible;
    table-layout: fixed;
    width: 100%;
  }

  #body table.basket col:nth-child(1) { width: 4%; }
  #body table.basket col:nth-child(2) { width: 14%; }
  #body table.basket col:nth-child(3) { width: 31%; }
  #body table.basket col:nth-child(4) { width: 12%; }
  #body table.basket col:nth-child(5) { width: 15%; }
  #body table.basket col:nth-child(6) { width: 8%; }
  #body table.basket col:nth-child(7) { width: 14%; }
  #body table.basket col:nth-child(8) { width: 2%; }

  #body table.basket th,
  #body table.basket td {
    box-sizing: border-box;
    min-width: 0;
    overflow-wrap: anywhere;
  }

  #body table.basket td select {
    display: block;
    min-width: 0;
    width: 100%;
  }

  #body table.basket td:nth-child(4),
  #body table.basket .price,
  #body table.basket .vat,
  #body table.basket .totalprice {
    padding-left: 4px;
    padding-right: 4px;
  }

  #body .basket {
    box-sizing: border-box;
    float: none;
    margin-left: 0;
    margin-right: 0;
    max-width: 100%;
  }

  #body .ordersteps {
    display: flex;
    float: none;
    flex-wrap: wrap;
    gap: 6px;
    margin: 0 0 10px;
  }

  #body .ordersteps dl,
  #body .ordersteps.nofinalstep dl,
  #body .ordersteps .lastinrow,
  #body .ordersteps.nofinalstep .lastinrow {
    box-sizing: border-box;
    flex: 1 1 120px;
    float: none;
    height: auto;
    margin: 0;
    min-height: 78px;
    width: auto;
  }

  #body dl.orderinfocol,
  #body dl.orderinfocol.greetingcard {
    box-sizing: border-box;
    float: none;
    margin: 0 0 12px;
    width: 100%;
  }

  #body div.bar.prevnext {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 4px;
  }

  #body div.bar.prevnext .left,
  #body div.bar.prevnext .right {
    float: none;
  }

  #body div.bar.prevnext form,
  #body div.bar.prevnext input {
    width: 100%;
  }

  #body .product {
    box-sizing: border-box;
    max-width: calc(100% - 10px);
  }

  #body .product.thin,
  #body .product.thinest,
  #body .product.moredetails {
    width: auto;
  }

  #body .product.big,
  #body .product.details {
    clear: both;
    float: none;
    min-height: 0;
    padding: 270px 8px 8px;
  }

  #body .product.big .picture,
  #body .product.details .picture {
    height: 250px;
    left: 8px;
    top: 8px;
    width: calc(100% - 16px);
  }

  #body .product.details .exturls {
    position: static;
    width: auto;
  }

  #body .product.details .tocart {
    background: #5e5e5e;
    box-sizing: border-box;
    clear: both;
    float: none;
    height: 42px;
    line-height: normal;
    margin: 8px 0 0;
    padding: 0;
    width: 100%;
  }

  #body .product.details .tocart input {
    background: #5e5e5e;
    border: 0;
    box-sizing: border-box;
    color: #ffffff;
    display: block;
    font-size: 14px;
    height: 42px;
    line-height: normal;
    min-height: 42px;
    padding: 8px 10px;
    text-align: center;
    white-space: normal;
    width: 100%;
  }

  #body .product.moredetails {
    clear: both;
  }

  /* Search results: replace the legacy absolute positioning with fluid cards. */
  #body .search-results {
    clear: both;
    width: 100%;
  }

  #body .search-results .separator {
    display: none;
  }

  #body .search-results .product.thin {
    border: 1px solid #5e5e5e;
    box-sizing: border-box;
    clear: both;
    column-gap: 12px;
    display: grid;
    float: none;
    grid-template-areas:
      "picture identity"
      "picture actions"
      "purchase purchase";
    grid-template-columns: 116px minmax(0, 1fr);
    height: auto;
    margin: 0 0 12px;
    max-width: 100%;
    min-height: 0;
    padding: 10px;
    row-gap: 8px;
    width: 100%;
  }

  #body .search-results .product.thin.head {
    margin-top: 38px;
  }

  #body .search-results .product.thin > strong.h4.thin {
    box-sizing: border-box;
    height: auto;
    left: -1px;
    line-height: 1.25;
    min-height: 38px;
    padding: 7px 10px;
    right: -1px;
    top: -38px;
    width: auto;
  }

  #body .search-results .product.thin > a.picture {
    align-self: start;
    grid-area: picture;
    height: auto;
    left: auto;
    overflow: visible;
    position: static;
    top: auto;
    width: 100%;
  }

  #body .search-results .product.thin > a.picture picture,
  #body .search-results .product.thin > a.picture img {
    display: block;
    height: auto;
    margin: 0 auto;
    max-width: 100%;
  }

  #body .search-results .product.thin > strong.h3 {
    grid-area: identity;
    height: auto;
    margin: 0;
    min-height: 0;
    min-width: 0;
    overflow-wrap: anywhere;
  }

  #body .search-results .product.thin > strong.h3 a {
    font-size: 15px;
    line-height: 1.3;
  }

  #body .search-results .product.thin > strong.h3 tt {
    float: none;
    font-size: 14px;
    line-height: 1.35;
    margin-top: 3px;
  }

  #body .search-results .product.thin > .actions {
    align-self: start;
    grid-area: actions;
    margin: 0;
    min-width: 0;
  }

  #body .search-results .product.thin > .actions br {
    display: none;
  }

  #body .search-results .product.thin > .actions a {
    box-sizing: border-box;
    display: block;
    font-size: 14px;
    line-height: 1.3;
    margin: 0;
    padding: 6px 10px;
    text-align: center;
    white-space: normal;
    width: 100%;
  }

  #body .search-results .product.thin > form {
    align-items: center;
    display: grid;
    gap: 8px 12px;
    grid-area: purchase;
    grid-template-columns: minmax(0, 1fr) auto;
    min-width: 0;
  }

  #body .search-results .product.thin > form > .price {
    grid-column: 1;
    grid-row: 1;
    margin: 0;
    padding: 0;
    position: static;
    text-align: left;
  }

  #body .search-results .product.thin > form > .price big {
    white-space: normal;
  }

  #body .search-results .product.thin > form > .amount {
    align-items: center;
    display: flex;
    gap: 6px;
    grid-column: 2;
    grid-row: 1;
    padding: 0;
    position: static;
  }

  #body .search-results .product.thin > form > .amount label {
    margin: 0;
  }

  #body .search-results .product.thin > form > .amount input {
    width: 54px;
  }

  #body .search-results .product.thin > form > .variants {
    grid-column: 1 / -1;
    grid-row: 2;
    height: auto;
    position: static;
  }

  #body .search-results .product.thin > form > .variants select {
    box-sizing: border-box;
    width: 100%;
  }

  #body .search-results .product.thin > form > .tocart,
  #body .search-results .product.thin > form > span.moreinfo {
    bottom: auto;
    box-sizing: border-box;
    grid-column: 1 / -1;
    grid-row: 3;
    margin: 0;
    position: static;
    right: auto;
    width: 100%;
  }

  #body .search-results .product.thin > form > .tocart input,
  #body .search-results .product.thin > form > span.moreinfo a {
    box-sizing: border-box;
    width: 100%;
  }

  #body .product.head strong.h4,
  #body .product.head strong.h4.big,
  #body .product.head strong.h4.thin {
    box-sizing: border-box;
    right: -1px;
    width: auto;
  }

  #footer .shopicons,
  div.bar.copy,
  div.bar.shop {
    box-sizing: border-box;
    height: auto;
    padding: 10px;
    text-align: center;
  }

  div.bar.copy .left,
  div.bar.copy .right {
    float: none;
    padding: 3px 0;
  }

  div.on.popup {
    box-sizing: border-box;
    left: 5%;
    margin-left: 0;
    width: 90%;
  }
}

@media screen and (max-width: 767px) {
  #body .product.head:not(.thin):not(.thinest):not(.big):not(.details) {
    max-width: 100%;
    width: 100%;
  }
}

@media screen and (min-width: 481px) and (max-width: 767px) {
  #body .product.head:not(.thin):not(.thinest):not(.big):not(.details) {
    height: auto;
    min-height: 188px;
  }
}

@media screen and (min-width: 701px) and (max-width: 767px) {
  #body .product.head:not(.thin):not(.thinest):not(.big):not(.details) {
    max-width: calc(100% - 10px);
    width: calc(100% - 10px);
  }
}

@media screen and (min-width: 481px) and (max-width: 700px) {
  #body .product:not(.small):not(.head) {
    box-sizing: border-box;
    float: none;
    height: auto;
    margin: 0 0 12px;
    min-height: 210px;
    width: 100%;
  }

  #body .product:not(.small):not(.head) strong.h3 {
    height: auto;
    min-height: 44px;
  }
}

@media screen and (max-width: 480px) {
  #body table.basket col:nth-child(1) { width: 7%; }
  #body table.basket col:nth-child(2) { width: 17%; }
  #body table.basket col:nth-child(3) { width: 33%; }
  #body table.basket col:nth-child(4) { width: 13%; }
  #body table.basket col:nth-child(5) { width: 15%; }
  #body table.basket col:nth-child(6),
  #body table.basket col:nth-child(8) {
    display: none;
    width: 0;
  }
  #body table.basket col:nth-child(7) { width: 15%; }

  #body table.basket thead th:nth-child(6),
  #body table.basket thead th:nth-child(8),
  #body table.basket tbody tr[valign="top"] > td:nth-child(6),
  #body table.basket tbody tr[valign="top"] > td:nth-child(8) {
    display: none;
  }

  #body table.basket thead th {
    font-size: 11px;
    padding-left: 3px;
  }

  div#body {
    padding: 8px;
  }

  #body table.form > tbody > tr > td,
  #body table.form > tbody > tr > th {
    box-sizing: border-box;
    display: block;
    width: 100%;
  }

  #body table.form > tbody > tr > td:first-child {
    font-weight: bold;
    padding-top: 9px;
  }

  #body table.form input[type="text"],
  #body table.form input[type="password"],
  #body table.form input[type="email"],
  #body table.form select {
    width: 100%;
  }

  #body input[name*="oxbirthdate"] {
    min-width: 52px;
    width: auto !important;
  }

  #body .product:not(.small) {
    float: none;
    height: auto;
    margin-left: 0;
    margin-right: 0;
    min-height: 168px;
    width: 100%;
  }

  #body .product.head:not(.thin):not(.thinest) {
    max-width: 100%;
    width: 100%;
  }

  #body .product.big,
  #body .product.details {
    min-height: 0;
    padding: 270px 8px 8px;
  }

  #body .product.big .picture,
  #body .product.details .picture {
    height: 250px;
    left: 8px;
    top: 8px;
    width: calc(100% - 16px);
  }

  #body .product.details .exturls {
    position: static;
    width: auto;
  }

  #body .product.small {
    box-sizing: border-box;
    height: auto;
    margin: 0 1% 10px;
    min-height: 300px;
    width: 48%;
  }

  #body .product .variants select,
  #body .product .tocart,
  #body .product .tocart input,
  #body .product span.btn a {
    max-width: 100%;
  }

  #body .product .actions {
    margin: 10px 0;
  }

  #body .product .actions br {
    display: none;
  }

  #body .product .actions a {
    background: #5e5e5e;
    box-sizing: border-box;
    color: #ffffff;
    display: block;
    font-size: 14px;
    line-height: 20px;
    margin: 4px 0;
    padding: 6px 10px;
    text-align: center;
    white-space: normal;
    width: 100%;
  }

  #body .product.details .actions a {
    color: #ffffff;
  }

  #body .product .tocart {
    background: #5e5e5e;
    box-sizing: border-box;
    height: 42px;
    line-height: normal;
    width: 100%;
  }

  #body .product .tocart input {
    background: #5e5e5e;
    box-sizing: border-box;
    height: 42px;
    line-height: normal;
    min-height: 42px;
    padding: 8px 10px;
    width: 100%;
  }

  #zoom {
    box-sizing: border-box;
    min-height: 0;
    min-width: 0;
    padding: 10px;
    width: 100%;
  }
}

/* Basket actions: replace the legacy 18 px sprite buttons with fluid controls. */
#body .basket .basket-actions {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding-bottom: 7px;
}

#body .basket .basket-actions .frombasket,
#body .basket .basket-actions span.btn {
  background: none;
  border: 0;
  float: none;
  height: auto;
  line-height: normal;
  margin: 0;
  padding: 0;
  width: auto;
}

#body .basket .basket-actions .frombasket input,
#body .basket .basket-actions span.btn input.upd {
  background: #5e5e5e;
  border: 0;
  box-sizing: border-box;
  color: #ffffff;
  cursor: pointer;
  display: block;
  font-size: 13px;
  font-weight: bold;
  height: auto;
  line-height: 1.2;
  margin: 0;
  min-height: 30px;
  padding: 6px 12px;
  width: auto;
}

/* Dynamic header banner: scalable background, logo and translated text. */
#header div.bar.oxid {
  align-items: center;
  background: #fffaf0 url(../img/solarhertz_orange_banner_background.svg) center center / 100% 100% no-repeat;
  box-sizing: border-box;
  display: flex;
  height: clamp(88px, 15.1vw, 178px);
  overflow: hidden;
  width: 100%;
}

#header div.bar.oxid .logo {
  align-items: center;
  box-sizing: border-box;
  display: flex;
  float: none;
  height: 100%;
  padding: 0;
  text-decoration: none;
  width: 100%;
}

#header div.bar.oxid .logo .header-brand-picture {
  box-sizing: border-box;
  display: block;
  flex: 0 0 48%;
  height: 92%;
  line-height: 0;
  margin: 0;
  max-height: 92%;
  max-width: 48%;
  padding-left: 1.5%;
  width: 48%;
}

#header div.bar.oxid .logo .header-brand-logo {
  display: block;
  height: 100%;
  max-height: 100%;
  max-width: 100%;
  object-fit: contain;
  object-position: left center;
  width: 100%;
}

#header div.bar.oxid .header-brand-tagline {
  color: #d5680b;
  display: block;
  flex: 1 1 auto;
  font-family: Arial, Helvetica, sans-serif;
  font-size: clamp(12px, 2.6vw, 34px);
  font-style: italic;
  font-weight: bold;
  letter-spacing: 0.04em;
  line-height: 1.05;
  margin: 0 4% 0 0;
  text-align: center;
  text-shadow: 0 1px 0 #ffffff, 0 2px 3px rgba(137, 70, 0, 0.22);
}

#header div.bar.oxid .header-brand-tagline span {
  display: block;
}

@media screen and (max-width: 480px) {
  #header div.bar.oxid .logo .header-brand-picture {
    flex-basis: 48%;
    max-width: 48%;
    padding-left: 1%;
    width: 48%;
  }

  #header div.bar.oxid .header-brand-tagline {
    font-size: clamp(11px, 3.6vw, 17px);
    letter-spacing: 0.02em;
    margin-left: 0;
    margin-right: 2%;
  }
}
