/* main.css */
#fh div {
  background: url(/shop/fonts/preview/fontsprite.png);
  height: 30px;
  width: 240px;
  display: block;
  cursor: pointer
}

#oh div {
  background: #FFF url(/shop/sprites/bordersprite.png);
  display: inline-block;
  height: 100px;
  width: 100px !important;
  margin-right: 5px;
  cursor: pointer;
  margin-bottom: 10px
}

.sr {
  font-family: "Sacramento", serif;
  font-weight: 400;
  font-style: normal;
  font-size: 2em;
  color: #000;
  display: inline-block;
  transform: rotate(-4deg);
  background: url(/i/pijl.svg);
  background-repeat: no-repeat;
  padding-left: 65px;
  height: 40px
}

#tabholder .tabinput {
  display: none;
  visibility: hidden
}

#tabholder .tablabel,
.button {
  background-color: #275CAB;
  line-height: 40px;
  height: 40px;
  padding: 0 20px 0 20px;
  display: inline-block;
  color: #FFF;
  text-align: center;
  font-weight: bold;
  cursor: pointer;
  z-index: 150;
  text-decoration: none
}

#tabholder .tablabel:hover {
  background-color: #3073d7
}

#tabholder .tabinput:checked+label {
  color: #000;
  background: #FFF
}

.nav {
  border: 1px solid #275CAB;
  line-height: 30px;
  height: 30px;
  margin-bottom: 10px;
  padding: 0 20px 0 20px;
  display: inline-block;
  color: #275CAB;
  text-align: center;
  cursor: pointer
}

.nav:hover {
  background: #275CAB;
  color: #FFF
}

#pageholder #p1,
#pageholder #p2,
#pageholder #p3,
#pageholder #p4,
#pageholder #p5,
#pageholder #p6 {
  background: #FFF;
  display: none;
  position: relative;
  z-index: -100
}

#tabholder .tabinput#tab-1:checked~#pageholder #p1,
#tabholder .tabinput#tab-2:checked~#pageholder #p2,
#tabholder .tabinput#tab-3:checked~#pageholder #p3,
#tabholder .tabinput#tab-4:checked~#pageholder #p4,
#tabholder .tabinput#tab-5:checked~#pageholder #p5,
#tabholder .tabinput#tab-6:checked~#pageholder #p6 {
  display: block;
  z-index: 100
}

#pageholder {
  margin-bottom: 300px
}

#tabholder .tablabel {
  width: 2.5em;
  line-height: 1.25em;
  display: inline-block;
  margin: 0;
  padding: 0
}

#tabholder .tablabel span {
  visibility: hidden;
  display: none;
  line-height: 1.25em;
  margin: 0;
  padding: 0
}

#tabholder .tablabel:nth-child(2) {
  margin-left: 10px
}

#tabholder .tablabel i {
  position: relative;
  top: 10px
}

.holder {
  font-size: 1em
}

#foto {
  z-index: 100;
  width: 100%;
  height: 100%
}

#vergeling-effect {
  z-index: 200
}

#kaderontwerp {
  z-index: 300
}

#craquele-effect {
  z-index: 400
}

#slijtage-effect {
  z-index: 500
}

#tegelontwerp {
  z-index: 600
}

#fadeout-effect {
  z-index: 700
}

#textafbeelding {
  z-index: 800 !important
}

#shadowlayer {
  z-index: 800 !important;
  -moz-box-shadow: inset 0 0 10px #ccc;
  -webkit-box-shadow: inset 0 0 10px #ccc;
  box-shadow: inset 0 0 10px #ccc
}

#arrowdown,
#arrowleft,
#arrowright,
#arrowup {
  line-height: 20px;
  display: inline-block
}

#arrowdown a,
#arrowleft a,
#arrowright a,
#arrowup a {
  display: block;
  width: 14px;
  color: #fff;
  margin: auto
}

#arrowup a,
#arrowdown a,
#arrowleft a,
#arrowright a {
  display: block;
  width: 14px;
  color: #FFF;
  margin: auto
}

.page .holder {
  margin-left: 10px;
  margin-top: 10px;
  width: 94vw
}

#p1 #oh,
#p3 #fh,
#p5 #kh {
  height: 125px;
  max-width: 91vw;
  white-space: nowrap;
  overflow-x: auto;
  overflow-y: hidden;
  display: -webkit-box;
  display: -moz-box;
  display: -ms-flexbox;
  display: -webkit-flex;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  -webkit-overflow-scrolling: touch
}

#p1 #oh {
  height: 100px;
  max-width: 320px;
  display: block;
  margin-bottom: 10px
}

#p3 #fh {
  height: 200px;
  background: #FFF;
  flex-wrap: wrap;
  webkit-flex-wrap: wrap;
  overflow-y: scroll
}

#p1 #oh img {
  cursor: pointer;
  display: inline-block;
  margin-bottom: 15px;
  visibility: visible;
  min-width: 100px;
  min-height: 100px
}

#p1 #fh img {
  cursor: pointer;
  display: inline-block;
  visibility: visible;
  width: auto;
  height: auto
}

#p3 #fh img:hover {
  background: #EFEFEF
}

#p5 #oh img:last-child {
  margin-right: 0
}

#productgrid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

@media (min-width:980px) {
  .page .holder {
    margin-top: 10px;
    margin-left: 0;
    width: 470px
  }

  #p2.page .holder input {
    width: 345px;
    font-size: 1em;
    line-height: 1.5em
  }

  #p2 label,
  #p3 label,
  #p5 label:not:nth-of-type(1) {
    margin-top: 10px
  }

  #p2.page .holder textarea {
    width: 450px;
    font-size: 1em;
    line-height: 1.5em
  }

  #p1 #oh {
    height: 100px;
    max-width: 460px;
    white-space: nowrap;
    overflow: auto;
    display: -webkit-box;
    display: -moz-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    -webkit-overflow-scrolling: touch
  }

  #p1 #oh,
  #p3 #fh {
    height: 285px;
    flex-wrap: wrap;
    webkit-flex-wrap: wrap;
    background: #F7F7F7;
    margin-bottom: 10px
  }

  #p5 #kh {
    height: 133px;
    margin: 0
  }

  #pageholder {
    margin-bottom: 0
  }
}

:target:before {
  content: "";
  display: block;
  height: 80px;
  margin: -80px 0 0
}

* {
  font-family: "Bitter", arial
}

[data-tooltip] {
  position: relative;
  z-index: 2;
  cursor: pointer
}

[data-tooltip]:after,
[data-tooltip]:before,
[data-tooltipani]:after,
[data-tooltipani]:before {
  visibility: hidden;
  opacity: 0;
  pointer-events: none
}

[data-tooltip]:after,
[data-tooltipani]:after {
  position: absolute;
  bottom: 125%;
  left: 50%;
  margin-left: -5px;
  width: 0;
  border-top: 5px solid #000;
  border-top: 5px solid hsla(0, 0%, 20%, .9);
  border-right: 5px solid transparent;
  border-left: 5px solid transparent;
  content: " ";
  font-size: 0;
  line-height: 0
}

[data-tooltip]:before,
[data-tooltipani]:before {
  position: absolute;
  bottom: 125%;
  left: 50%;
  max-width: 20em;
  margin-bottom: 5px;
  margin-left: -59%;
  padding: 7px;
  width: auto;
  height: auto;
  -webkit-border-radius: 3px;
  -moz-border-radius: 3px;
  border-radius: 3px;
  background-color: #000;
  background-color: hsla(0, 0%, 20%, .9);
  color: #fff;
  content: attr(data-tooltip);
  text-align: center;
  font-size: 12px;
  line-height: 1.2;
  z-index: 10000
}

[data-tooltip]:hover:after,
[data-tooltip]:hover:before,
[data-tooltipani]:hover:after,
[data-tooltipani]:hover:before {
  visibility: visible;
  opacity: 1
}

[data-tooltipani]:after,
[data-tooltipani]:before {
  -webkit-animation-name: bounce;
  animation-name: bounce;
  -webkit-animation-duration: 1s;
  animation-duration: 1s;
  -webkit-animation-fill-mode: both;
  animation-fill-mode: both;
  -webkit-animation-timing-function: linear;
  animation-timing-function: linear;
  animation-iteration-count: infinite;
  -webkit-animation-iteration-count: infinite
}

[data-tooltipani]:before {
  content: attr(data-tooltipani)
}

a.tooltip {
  position: relative;
  display: inline-block;
  background: #fff;
  color: #000;
  border: 1px solid #ccc;
  border-radius: 22px;
  font-size: 1em;
  width: 25px;
  height: 25px;
  line-height: 1.6em;
  vertical-align: middle;
  text-align: center
}

body,
html {
  margin: 0;
  padding: 0
}

dialog:focus {
  border: 0
}

dialog::backdrop {
  background: rgba(0, 0, 0, .75);
  backdrop-filter: blur(3px)
}

.grid-container {
  display: grid;
  grid-template-rows: auto;
  gap: 10px
}

figure a.glare {
  position: relative;
  overflow: hidden;
  width: 400px;
  height: 400px;
  max-width: 93vw;
  max-height: 93vw
}

footer {
  background: #f7f7f7
}

footer div ul {
  line-height: 1.5em;
  list-style-type: none;
  margin: 10px 0 30px 10px;
  padding: 0;
  width: 94%;
  display: inline-block
}

footer div ul li a {
  color: #000;
  text-decoration: none;
  background: 0 0;
  margin: auto;
  text-align: left;
  line-height: 1.5em
}

footer div ul li b {
  line-height: 2em
}

h2 {
  font-size: 1.65em
}

header {
  height: 50px;
  position: fixed;
  background: #275cab !important;
  z-index: 5000;
  width: 100%
}

header div div {
  width: 200px;
  height: 30px;
  position: absolute;
  left: 80px;
  top: 6px
}

html {
  scroll-behavior: smooth
}

input:invalid {
  border-color: red;
  background-color: #fbb
}

input:required:invalid {
  border-color: Grey;
  background-color: #fff
}

input[name^=product] {
  margin: 0 28px
}

input[type=checkbox] {
  accent-color: #00ac00;
  cursor: pointer
}

input[type=checkbox]:checked div~#shippingbox {
  display: block !important
}

input[type=number]::-webkit-inner-spin-button,
input[type=number]::-webkit-outer-spin-button {
  opacity: 1
}

label {
  cursor: pointer
}

label[for=avbutton]a {
  color: #000
}

main #wall {
  width: 100%;
  background-size: cover;
  display: flex
}

main #wall .box>div div {
  display: inline-block
}

main #wall ul {
  width: 100%;
  flex-wrap: wrap;
  list-style-type: none;
  justify-content: center;
  display: flex;
  margin: 0 auto;
  padding: 0 !important
}

main #wall ul li {
  width: 200px;
  margin-bottom: 45px
}

main #wall ul li div {
  width: 200px;
  height: 200px;
  display: block;
  padding: 0;
  margin: 0;
  clear: none;
  border-radius: 2px;
  background: #fff url(https://www.tegelspreuken.nl/shop/designs/preview/tegeltje-2.png) center center/cover no-repeat
}

main #wall ul li div img {
  margin: 25px;
  display: inline-block
}

main * #margin {
  margin: 0 10px
}

main * .box {
  width: auto;
  background: #fff;
  line-height: 2em
}

nav {
  background: #f7f7f7;
  display: none;
  visibility: hidden
}

p {
  line-height: 1.5em
}

select {
  height: 40px
}

textarea {
  width: 100%;
  height: 100px
}

#afbeelding {
  display: none;
  visibility: hidden
}

#afterpayinfo {
  font-size: .75em;
  width: 100%;
  border: 1px solid #ccc;
  border-radius: 4px;
  line-height: 1.5em;
  margin-bottom: .5em
}

#afterpayinfo>div {
  margin: 10px
}

#basketpage {
  grid-column: 1;
  grid-row: 1;
  overflow: hidden
}

#checkout {
  display: grid;
  grid-template-columns: 70% 30%
}

#checkout #basketpage .row.orderitem {
  margin-bottom: 10px;
}

#closepreview {
  display: none;
  visibility: hidden;
  margin-bottom: 10px
}

#contact,
#question {
  color: #fff;
  font-weight: 700;
  text-decoration: none
}

#contact:before {
  color: #fff;
  font-family: FontAwesome;
  font-size: 14px;
  font-style: normal;
  margin-right: 5px;
  content: "\f095";
  margin-top: 2px;
  display: block;
  float: left;
  -webkit-animation: Rotate 2s linear 2s;
  animation: Rotate 2s linear 2s
}

#contact:hover {
  color: #000
}

#cookie tr {
  padding-bottom: 1.5em
}

#cookie tr td {
  text-align: left
}

#cookie tr:last-child td {
  text-align: center
}

#cropbox {
  display: none;
  position: fixed;
  text-align: left;
  right: 0 auto;
  left: 0 auto;
  top: 100px;
  background-color: #fff;
  width: 94vw;
  z-index: 4999 !important;
  height: auto;
  margin-right: 3vw;
  margin-left: 2.99vw;
  margin-top: 1em
}

#cropbox #cropex {
  margin-top: 1.5em
}

#dialogdiv,
.hide {
  display: none;
  visibility: hidden
}

#effectenlijst {
  margin: 0;
  padding: 0;
  list-style-type: none
}

#hint {
  display: inline-block;
  margin-left: 25px;
  line-height: 49px
}

#included {
  font-size: 1em;
  line-height: 2em
}

#infobox form,
dialog form {
  width: 100%;
  text-align: center;
  margin-top: 1em
}

#infobox img,
.fw {
  width: 100%;
  height: auto
}

#infobox ul {
  list-style-type: none;
  margin: 0;
  padding: 0
}

#infobox ul li {
  padding: 5px 0;
  border-bottom: 1px dashed #ccc
}

#infobox ul li input[type=radio] {
  display: none
}

#infobox ul li:hover {
  background: #ccc
}

#infobox,
dialog {
  z-index: 9999;
  position: fixed;
  margin: 0;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  min-width: 300px;
  min-height: 250px;
  width: 800px;
  max-width: 80%;
  background-color: #fff;
  padding: 20px;
  border-radius: 10px;
  border: 0;
  box-shadow: 0 0 10px rgba(0, 0, 0, .5);
  animation-name: dialog-pop;
  animation-duration: .2s;
  animation-timing-function: ease-out;
  transform-origin: center
}

dialog.nopop {
  left: 0;
  max-width: 100vw;
  border-radius: 0;
  width: 100%;
  bottom: 0;
  padding: 0;
  transform: none;
  top: auto;
  animation: none !important
}

dialog.nopop p {
  margin: 10px 10px 0 10px;
}

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

.inputText,
select,
textarea {
  display: inline-block;
  padding: 5px 5px;
  font-size: 22px;
  line-height: 28px;
  color: #000;
  background-image: none;
  border: 1px solid #CCC;
  border-radius: 3px;
  font-size: 14px;
  -webkit-transition: border-color ease-in-out .25s, -webkit-box-shadow ease-in-out .25s;
  -o-transition: border-color ease-in-out .25s, box-shadow ease-in-out .25s;
  transition: border-color ease-in-out .25s, box-shadow ease-in-out .25s;
}

.toggle {
  cursor: pointer;
  display: inline-block;
}

.toggle-switch {
  display: inline-block;
  background: #c9302c;
  border-radius: 16px;
  width: 58px;
  height: 32px;
  position: relative;
  vertical-align: middle;
  transition: background 0.25s;
}

.toggle-switch:before,
.toggle-switch:after {
  content: "";
}

.toggle-switch:before {
  display: block;
  background: #FFF;
  border-radius: 50%;
  width: 24px;
  height: 24px;
  position: absolute;
  top: 4px;
  left: 4px;
  transition: left 0.25s;
}

.toggle-checkbox:checked+.toggle-switch {
  background: #26B826;
}

.toggle-checkbox:checked+.toggle-switch:before {
  left: 30px;
}

.toggle input[type="checkbox"] {
  position: absolute;
  visibility: hidden;
}

.croppie-container .cr-image {
  z-index: -1;
  position: absolute;
  top: 0;
  left: 0;
  transform-origin: 0 0;
  max-height: none;
  max-width: none
}

.croppie-container .cr-boundary {
  position: relative;
  overflow: hidden;
  margin: 0 auto;
  z-index: 1;
  width: 100%;
  height: 100%
}

.croppie-container .cr-viewport,
.croppie-container .cr-resizer {
  position: absolute;
  border: 2px solid #fff;
  margin: auto;
  top: 0;
  bottom: 0;
  right: 0;
  left: 0;
  box-shadow: 0 0 2000px 2000px rgba(0, 0, 0, 0.5);
  z-index: 0
}

.croppie-container .cr-resizer {
  z-index: 2;
  box-shadow: none;
  pointer-events: none
}

.croppie-container .cr-resizer-vertical,
.croppie-container .cr-resizer-horisontal {
  position: absolute;
  pointer-events: all
}

.croppie-container .cr-resizer-vertical::after,
.croppie-container .cr-resizer-horisontal::after {
  display: block;
  position: absolute;
  box-sizing: border-box;
  border: 1px solid #000;
  background: #fff;
  width: 10px;
  height: 10px;
  content: ''
}

.croppie-container .cr-resizer-vertical {
  bottom: -5px;
  cursor: row-resize;
  width: 100%;
  height: 10px
}

.croppie-container .cr-resizer-vertical::after {
  left: 50%;
  margin-left: -5px
}

.croppie-container .cr-resizer-horisontal {
  right: -5px;
  cursor: col-resize;
  width: 10px;
  height: 100%
}

.croppie-container .cr-resizer-horisontal::after {
  top: 50%;
  margin-top: -5px
}

.croppie-container .cr-original-image {
  display: none
}

.croppie-container .cr-vp-circle {
  border-radius: 50%
}

.croppie-container .cr-overlay {
  z-index: 1;
  position: absolute;
  cursor: move;
  touch-action: none
}

.croppie-container .cr-slider-wrap {
  width: 75%;
  margin: 15px auto 0px auto;
  text-align: center
}

.croppie-result {
  position: relative;
  overflow: hidden
}

.croppie-result img {
  position: absolute
}

.croppie-container .cr-image,
.croppie-container .cr-overlay,
.croppie-container .cr-viewport {
  -webkit-transform: translateZ(0);
  -moz-transform: translateZ(0);
  -ms-transform: translateZ(0);
  transform: translateZ(0)
}

.cr-slider {
  -webkit-appearance: none;
  width: 300px;
  max-width: 100%;
  padding-top: 8px;
  padding-bottom: 8px;
  background-color: transparent
}

.cr-slider::-webkit-slider-runnable-track {
  width: 100%;
  height: 3px;
  background: rgba(0, 0, 0, 0.5);
  border: 0;
  border-radius: 3px
}

.cr-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  border: none;
  height: 16px;
  width: 16px;
  border-radius: 50%;
  background: #ddd;
  margin-top: -6px
}

.cr-slider:focus {
  outline: none
}

.cr-slider::-moz-range-track {
  width: 100%;
  height: 3px;
  background: rgba(0, 0, 0, 0.5);
  border: 0;
  border-radius: 3px
}

.cr-slider::-moz-range-thumb {
  border: none;
  height: 16px;
  width: 16px;
  border-radius: 50%;
  background: #ddd;
  margin-top: -6px
}

.cr-slider:-moz-focusring {
  outline: 1px solid #fff;
  outline-offset: -1px
}

.cr-slider::-ms-track {
  width: 100%;
  height: 5px;
  background: transparent;
  border-color: transparent;
  border-width: 6px 0;
  color: transparent
}

.cr-slider::-ms-fill-lower {
  background: rgba(0, 0, 0, 0.5);
  border-radius: 10px
}

.cr-slider::-ms-fill-upper {
  background: rgba(0, 0, 0, 0.5);
  border-radius: 10px
}

.cr-slider::-ms-thumb {
  border: none;
  height: 16px;
  width: 16px;
  border-radius: 50%;
  background: #ddd;
  margin-top: 1px
}

.cr-slider:focus::-ms-fill-lower {
  background: rgba(0, 0, 0, 0.5)
}

.cr-slider:focus::-ms-fill-upper {
  background: rgba(0, 0, 0, 0.5)
}

.cr-rotate-controls {
  position: absolute;
  bottom: 5px;
  left: 5px;
  z-index: 1
}

.cr-rotate-controls button {
  border: 0;
  background: none
}

.cr-rotate-controls i:before {
  display: inline-block;
  font-style: normal;
  font-weight: 900;
  font-size: 22px
}

.cr-rotate-l i:before {
  content: '?'
}

.cr-rotate-r i:before {
  content: '?'
}

#item {
  margin: 0;
  flex: 98%;
  margin-left: 1%
}

#kassatotaal {
  margin-bottom: 17px;
  display: block
}

#kh {
  margin: 20px 0 0 0
}

#kh img {
  background-color: #0090e3
}

#korting,
.green {
  color: #00ac00
}

#layerpreview {
  position: fixed;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  background: rgba(0, 0, 0, .5);
  z-index: 5000;
  display: none
}

#logo {
  position: fixed;
  z-index: 100;
  height: 60px;
  width: auto;
  left: 50%;
  margin-left: -38px
}

#logo img {
  height: 60px;
  width: auto
}

#mand {
  position: absolute;
  right: 8px;
  top: 8px
}

#methods {
  list-style-type: none;
  margin: 0;
  padding: 0
}

#methods #afterpayinfo,
#methods select {
  display: none;
  visibility: hidden
}

#methods .sel #afterpayinfo,
#methods .sel #afterpayinfo *,
#methods .sel select {
  display: inline-block;
  visibility: visible
}

#methods li div {
  display: inline-block
}

#methods li img {
  display: inline-block;
  padding: 0;
  margin-top: -3px;
  margin-right: 5px
}

#methods li input,
#paymentoptions:not(checked)+#methods li {
  display: none;
  visibility: hidden
}

#methods select {
  width: 150px;
  margin-left: 10px
}

#methods>label {
  width: 100%;
  height: 44px;
  line-height: 44px;
  display: inline-block
}

#methods>label:hover {
  background: #eee
}

#moblayer {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: #f7f7f7;
  z-index: 4000
}

#moblayer div {
  margin: 5px
}

#moblayer div a:last-child {
  display: block;
  width: 200px;
  text-transform: uppercase;
  color: #fff;
  text-align: center;
  font-weight: 700;
  line-height: 30px;
  text-decoration: none;
  margin-top: 5px
}

#moblayer div input {
  border: 0;
  text-align: center;
  font-weight: 700
}

#mock1 {
  max-width: 500px;
  width: 95vw;
  height: auto;
  border: 10px solid #fff
}

#p3 #fh {
  height: 165px;
  flex-wrap: wrap;
  webkit-flex-wrap: wrap;
  background: #f7f7f7
}

#paymentoptions:checked+#methods li,
.sel {
  display: inline-block !important;
  visibility: visible !important;
  width: 100% !important
}

#prevbox {
  position: fixed;
  bottom: 10px;
  right: 10px;
  z-index: 50000;
  background: #fff;
  height: 100px;
  width: 100px;
  overflow: hidden;
  -webkit-animation: swinging 10s ease-in-out 0s infinite;
  -moz-animation: swinging 10s ease-in-out 0s infinite;
  animation: swinging 10s ease-in-out 0s infinite;
  transform-origin: 50% 0;
  -webkit-box-shadow: 0 0 23px 0 rgba(0, 0, 0, .4);
  -moz-box-shadow: 0 0 23px 0 rgba(0, 0, 0, .4);
  box-shadow: 0 0 23px 0 rgba(0, 0, 0, .4)
}

#prevbox img {
  width: 100px;
  height: auto;
  position: absolute
}

#previewafbeelding {
  max-width: 500px;
  position: absolute;
  top: 0;
  left: 0;
  background: #fff;
  height: auto;
  border: 10px solid #fff;
  z-index: 2
}

#previewtile {
  max-width: 520px;
  width: 100%;
  height: auto;
  background: #fff;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%)
}

#previewtile div {
  border-left: 10px solid #fff;
  border-right: 10px solid #fff;
  border-bottom: 10px solid #fff
}

#product figure {
  margin: 0;
  text-align: center;
  max-width: 96vw
}

#product img {
  max-width: 400px;
  filter: brightness(.96)
}

#product,
#product img {
  width: 93vw;
  height: auto;
  margin: 0;
  flex: 93%
}

#product_eigenschappen {
  max-width: 100%
}

#product_eigenschappen caption {
  text-align: left;
  font-size: 1.5em;
  font-weight: 700;
  margin-bottom: 1em
}

#product_eigenschappen tr td {
  border-bottom: 1px solid #ccc;
  margin: 0;
  padding: 0;
  line-height: 1.5em
}

#product_eigenschappen tr td:first-child {
  width: 40%
}

#product_eigenschappen tr th {
  text-align: left
}

#product_eigenschappen tr:last-child td {
  border: none
}

#productpreviewcontent,
#productpreviewholder {
  width: 100%;
  display: block
}

.button-container,
#productpreviewholder figure {
  margin: 10px auto;
  text-align: center
}

#productpreviewholder figure img {
  width: 300px;
  height: auto
}

#shipping_address {
  height: auto;
  margin: 10px 0 12px 0
}

#verzending {
  user-select: none;
}

#verzending #shippingbox {
  display: block !important;
  max-height: 0px;
  overflow: hidden;
  transition: max-height 0.5s;
}

#verzending:has(input#shipping_address:checked) #shippingbox {
  max-height: 999px;
}

#slidebuttons {
  position: relative;
  top: -4em;
  padding: .5em;
  margin-bottom: -4em;
  z-index: 2000
}

#stats {
  left: 5px;
  position: absolute;
  top: 7px;
  display: none;
  visibility: hidden
}

#ster {
  font-family: flaticon;
  color: #fc3
}

#sum {
  grid-column: 2;
  grid-row: 1;
  position: -webkit-sticky;
  position: sticky;
  top: 0;
  align-self: flex-start;
  top: 120px;
  border-left: 1px solid #ccc;
  padding-left: 20px
}

#sum {
  line-height: 2.5em
}

#sum h3 {
  font-size: 1em;
  margin: 1.5em 0 0 0;
  display: inline-block
}

#sum select {
  width: 273px
}

#tegeltext:focus~#updatebutton {
  display: inline-block;
  visibility: visible
}

#top {
  display: block;
  height: 60px
}

#updatebutton {
  display: none;
  visibility: hidden;
  position: absolute;
  left: 228px;
  top: 50px
}

#usp {
  background-color: #fff;
  list-style-type: none;
  padding-left: 22px;
  display: inline-block
}

#usp li {
  padding-left: 1ch;
  margin-bottom: 10px
}

#usp li .btn {
  font-size: 18px
}

#usp li .btn i {
  color: #fff
}

#usp li .fa-star {
  color: #fc3;
  margin-right: 3px
}

#usp li div {
  vertical-align: text-top;
  line-height: 2em;
  margin-top: -5px
}

#usp li:last-child {
  margin-top: 20px
}

#usp li:not(:last-child)::marker {
  content: "\f00c";
  font-family: "FontAwesome";
  color: #5cb85c;
  font-size: 20px;
}

#usp li.showm:last-child {
  margin-top: 0px
}

li.showm::marker {
  content: "\f00c";
  font-family: "FontAwesome";
  color: #5cb85c;
  font-size: 20px;
}

#verzending {
  vertical-align: top;
  width: 100%
}

#zoekbut1,
#zoekbut2 {
  display: none;
  visibility: hidden
}

#zoom {
  display: none;
  visibility: hidden
}

#zoom:checked+#prevbox {
  position: fixed;
  bottom: auto;
  border: 5vw solid #fff;
  right: auto;
  top: 43px;
  left: 0;
  z-index: 4999;
  background: #fff;
  height: 90vw;
  width: 90vw;
  overflow: visible;
  -webkit-animation: none;
  animation: none;
  -moz-animation: none;
  -webkit-box-shadow: none;
  -moz-box-shadow: none;
  box-shadow: none
}

#zoom:checked+#prevbox img {
  width: 100%;
  height: 100%
}

#zoom:checked+#prevbox::after {
  width: 100%;
  height: 100%;
  content: " ";
  position: absolute;
  display: block;
  background: #fff
}

#zoom:checked+#prevbox>#closepreview {
  display: block;
  visibility: visible;
  z-index: 1000 !important
}

.aantal {
  width: 45px;
  text-align: center
}

.bar {
  background: #f7f7f7;
  line-height: 60px;
  text-align: center;
  margin-top: 20px
}

.boxs {
  animation: pulse-shadow;
  background: url(/i/box-folded.svg) right top/cover, url(/i/cardboard.png);
  height: 245px;
  width: 245px;
  display: inline-block;
  margin: 0;
  position: absolute;
  animation-iteration-count: 1;
  -webkit-animation: linear .5s normal ease-in-out forwards;
  -webkit-animation-duration: .75s;
  z-index: 250;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  border-bottom: 4px solid #ccc
}

.boxs img {
  animation-delay: 4s;
  -webkit-animation-delay: 4s;
  position: absolute;
  left: 60px;
  animation-fill-mode: forwards;
  top: 45px;
  animation-name: pop;
  animation-iteration-count: 1;
  -webkit-animation-duration: 3s
}

.btn {
  text-shadow: 1px 1px rgba(0, 0, 0, .5);
  display: inline-block;
  padding: 6px 12px;
  margin-bottom: 0;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.42857143;
  text-align: center;
  white-space: nowrap;
  vertical-align: middle;
  -ms-touch-action: manipulation;
  touch-action: manipulation;
  cursor: pointer;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  background-image: none;
  border: 1px solid transparent;
  border-radius: 4px;
  text-decoration: none;
  text-transform: uppercase;
  font-weight: 700
}

.btn-danger {
  color: #fff;
  background-color: #d9534f;
  box-shadow: #c9302c 0 -2px 0 0 inset;
  border-color: #c9302c
}

.btn-danger:active {
  color: #fff;
  background-color: #c9302c;
  border-color: #ac2925
}

.btn-danger:active:focus,
.btn-danger:active:hover {
  color: #fff;
  background-color: #ac2925;
  border-color: #761c19
}

.btn-danger:focus {
  color: #fff;
  background-color: #c9302c;
  border-color: #761c19
}

.btn-danger:hover {
  color: #fff;
  background-color: #c9302c;
  border-color: #ac2925
}

.btn-default {
  color: #333;
  background-color: #fff;
  border-color: #ccc;
  box-shadow: #bbb 0 -2px 0 0 inset;
  border-color: #bbb;
  text-shadow: none
}

.btn-default:focus {
  color: #333;
  background-color: #e6e6e6;
  border-color: #8c8c8c
}

.btn-default:hover {
  color: #333;
  background-color: #e6e6e6;
  border-color: #adadad
}

.btn-info {
  color: #fff;
  background-color: #40acea;
  border-color: #0090e3;
  box-shadow: #0090e3 0 -2px 0 0 inset
}

.btn-info.focus,
.btn-info:focus {
  color: #fff;
  background-color: #0090e3
}

.btn-info:active {
  color: #fff;
  background-color: #31b0d5;
  border-color: #269abc
}

.btn-info:hover {
  color: #fff;
  background-color: #0090e3
}

.btn-success {
  color: #fff;
  background-color: #4cc54c;
  box-shadow: inset #00ac00 0 -2px 0 0, 3px 3px 5px rgba(0, 0, 0, .2);
  border-color: #00ac00
}

.btn-success:active {
  background-color: #5cb85c;
  border-color: #4cae4c
}

.btn-success:focus {
  color: #fff;
  background-color: #00ac00;
  border-color: #00ac00
}

.btn-success:hover {
  color: #fff;
  background-color: #26b826;
  border-color: #00ac00
}

.btn-white {
  color: rgb(128, 128, 128);
  text-shadow: none;
  background-color: #fff;
  border-color: rgb(192, 192, 192)
}

.btn-block {
  color: #fff;
  background-color: #1863DC
}

.btn-wide {
  padding-right: 4em;
  padding-left: 4em
}

.btn:active {
  background-image: none;
  outline: 0;
  -webkit-box-shadow: inset 0 3px 5px rgba(0, 0, 0, .125);
  box-shadow: inset 0 3px 5px rgba(0, 0, 0, .125)
}

.btn:hover {
  text-shadow: none;
  text-decoration: none
}

.button:hover {
  color: #000
}

.button:hover,
input[type=radio]+label:hover,
nav a {
  -webkit-transition: all .25s ease-in-out;
  -moz-transition: all .25s ease-in-out;
  -o-transition: all .25s ease-in-out;
  transition: all .25s ease-in-out
}

.cover {
  border-bottom: 4px solid #ccc;
  background: #fefefe url(https://www.tegelspreuken.nlhttps://www.tegelspreuken.nl/i/cardboard.png) left top;
  height: 245px;
  width: 245px;
  display: inline-block;
  margin: 0;
  position: absolute;
  z-index: 500;
  animation: runcover 2s forwards;
  -webkit-animation-duration: 2s;
  animation-iteration-count: 1;
  transform-origin: left;
  animation-delay: 2s
}

.cover-inside {
  border-bottom: 4px solid #ccc;
  background: url(https://www.tegelspreuken.nlhttps://www.tegelspreuken.nl/i/box-folded.svg) 4px top/cover;
  height: 245px;
  width: 245px;
  display: inline-block;
  margin: 0;
  position: absolute;
  animation: runcover 2s forwards;
  box-shadow: 0 3px 10px rgb(0 0 0/.2);
  -webkit-animation-duration: 2s;
  animation-iteration-count: 1;
  transform-origin: left;
  animation-delay: 2s;
  z-index: 400
}

.defaultview {
  max-width: 500px;
  position: absolute;
  top: 0;
  width: 95vw;
  background: #fff;
  height: auto;
  border: 10px solid #fff
}

.echtetegel {
  -webkit-box-shadow: 6px 6px 10px 4px rgba(0, 0, 0, .1);
  -moz-box-shadow: 6px 6px 10px 4px rgba(0, 0, 0, .1);
  box-shadow: 6px 6px 10px 4px rgba(0, 0, 0, .1);
  margin-bottom: 10px;
  border-top: 2px solid #ededed;
  border-right: 3px solid #dbc8b6;
  border-bottom: 3px solid #c6a992;
  border-left: 2px solid #ededed;
  border-radius: 1px;
  display: block;
  max-width: 93vw;
  max-height: 93vw
}

.fa-star,
.stars span {
  color: #fc3
}

.fp {
  position: relative;
  display: inline-block;
  margin-bottom: 10px
}

.upsell .fp {
  width: 100%;
  line-height: 40px;
}

.upsell .fp span {
  float: right
}

.fp input:not(type="checkbox"),
.fp select {
  position: relative;
  display: inline-block
}

.fp input::placeholder {
  color: transparent
}

.fp input:invalid {
  border-color: #fc3;
  background-color: #fff
}

.fp input:placeholder-shown {
  border-color: #999
}

.fp input:valid {
  border-color: #4cc54c
}

.fp select {
  position: relative
}

.fp:not(.upsell .fp) label {
  user-select: none;
  cursor: text;
  position: absolute;
  white-space: nowrap;
  overflow: hidden;
  display: inline-block;
  margin: 11px 28px 11px 5px;
  padding: 2px;
  font-size: 16px;
  color: var(--text-light);
  z-index: 100;
  color: #999;
  left: 0;
  transform-origin: 0 0;
  transition: transform .2s ease-in
}

.fp:not(.upsell .fp) input:focus+label,
.fp:not(.upsell .fp) input:not(:placeholder-shown)+label {
  transform: translateY(-1.1em) scale(0.75);
  background: #FFF
}

.fullwidth,
footer,
main {
  width: 100%
}

.glare {
  position: relative;
  overflow: hidden;
  width: 400px;
  height: 400px
}

.glare:before {
  z-index: 100;
  background-image: linear-gradient(to bottom, rgba(255, 255, 255, .9), transparent 10px), linear-gradient(to top, rgba(0, 0, 0, .3), transparent 6px), linear-gradient(to left, transparent, rgba(255, 255, 255, .9) 10px), linear-gradient(to right, transparent, rgba(0, 0, 0, .3) 15px);
  background-position: top, bottom, left, right;
  background-size: 100% 10px, 100% 10px, 10px 100%, 10px 100%;
  background-repeat: no-repeat;
  content: '';
  display: block;
  height: 100%;
  width: 100%;
  position: absolute;
  top: 0
}

.grandtotal {
  border-top: 1px solid #999
}

.h {
  margin-top: 1.5em;
  display: inline-block
}

.hide {
  visibility: hidden;
  display: none
}

.inputText,
select,
textarea {
  display: inline-block;
  padding: 5px 5px;
  line-height: 28px;
  color: #000;
  background-image: none;
  border: 1px solid #ccc;
  border-radius: 3px;
  font-size: 14px;
  -webkit-transition: border-color ease-in-out .25s, -webkit-box-shadow ease-in-out .25s;
  -o-transition: border-color ease-in-out .25s, box-shadow ease-in-out .25s;
  transition: border-color ease-in-out .25s, box-shadow ease-in-out .25s
}

.inputText:focus,
select:focus,
textarea:focus {
  box-shadow: 0 0 7px rgba(39, 92, 171, 1)
}

.inside {
  display: inline-block;
  height: 245px;
  width: 245px;
  margin: 0;
  animation-iteration-count: 1;
  -webkit-animation: .75s ease-in-out 1s forwards run;
  animation-delay: 1s;
  animation-timing-function: ease-in-out;
  z-index: 400
}

.inside,
.sleeve {
  top: 66px;
  position: absolute
}

.kado {
  max-width: 94vw;
  height: auto
}

.large {
  line-height: 2.5em
}

.margin,
main #wall .box>div {
  margin: 10px
}

.navbut {
  margin-top: 10px
}

.number {
  width: 35px;
  text-align: center
}

.offer {
  width: calc(100%-40px);
  background: #fff;
  padding: 10px;
  margin: 20px 0 0 0;
  border-radius: 1px;
  line-height: 60px
}

.offer img {
  vertical-align: middle
}

.overview {
  width: auto;
  margin: 0;
  padding: 0
}

.overview li {
  list-style-type: none;
  padding: 0;
  display: inline-block;
  width: 326px;
  margin-bottom: 2em
}

.overview li a:first-child {
  display: block;
  margin-bottom: 2em;
  border-radius: 7px
}

.overview li img {
  width: 93vw;
  height: auto;
  margin-bottom: 1vw
}

.payments {
  width: 100%
}

.payments input[type=radio] {
  display: none;
  visibility: hidden
}

.payments input[type=radio]+label #afterpayinfo {
  display: none;
  visibility: hidden
}

.payments input[type=radio]:checked+label #afterpayinfo {
  display: block;
  visibility: visible;
  margin: 0 5px 20px 5px;
  font-size: 14px
}

.payments input[type=radio]:checked+label,
.payments label:hover {
  background: #bfedbf
}

.payments input[type=radio]:nth-child(23)+label div:nth-child(1) {
  width: 80px !important
}

.payments input[type=radio]:nth-child(23):checked+label {
  height: 215px !important
}

.payments label {
  width: 100%;
  text-overflow: ellipsis;
  display: inline-block;
  background: #f7f7f7;
  cursor: pointer;
  margin-bottom: 10px;
  font-size: 14px;
  border-radius: 1px
}

.payments label div {
  display: inline-block;
  font-size: 11px;
  line-height: 16px;
  margin-top: 8px
}

.payments label div b {
  color: #666
}

.payments label img {
  margin: 5px;
  vertical-align: top
}

.perspectiveview {
  width: 64% !important;
  margin: 16%;
  border: 0 solid #fff !important;
  transform: perspective(50em) rotateX(50deg);
  background: 0 0 !important
}

.pulse {
  animation-name: pulse-shadow;
  animation-duration: 5s;
  animation-iteration-count: infinite
}

.right {
  float: right;
  margin-right: 10px
}

.row {
  width: calc(100%-20px);
  background: #f7f7f7;
  padding: 10px;
  border-radius: 1px
}

.row img {
  vertical-align: middle;
  background: #fff
}

.selected {
  transform: translateX(0) rotateY(-180deg);
  transform-style: preserve-3d;
  transition: transform 1s
}

.selected:after {
  content: '\f00c';
  font-family: FontAwesome;
  font-weight: 400;
  font-style: normal;
  font-size: 50px;
  margin: 0 25px;
  line-height: 100px;
  text-decoration: none;
  color: #5cb85c;
  position: absolute
}

.selectedfont {
  background-color: #275cab !important;
  transform: translateX(0) rotateX(-360deg);
  transform-style: preserve-3d;
  transition: transform 1s
}

.sleeve {
  width: 250px;
  height: 250px;
  transform: rotate3d(360, 120, -90, 0deg) rotateZ(0);
  background: linear-gradient(to bottom right, transparent 49%, #fff 52%) bottom right/6px 6px, linear-gradient(to top left, transparent 49%, #fff 52%) top left/6px 6px, linear-gradient(#efefef, #efefef) 100% 100%/calc(100% - 5px) 6px, linear-gradient(#ccc 13px, #efefef 161px) 0 0/6px 100%, url(https://www.tegelspreuken.nl/i/sleeveslide.png) center/cover;
  background-repeat: no-repeat;
  z-index: 1000;
  box-shadow: 0 3px 10px rgb(0 0 0/.2);
  animation: 3s 2s forwards sleeve;
  -webkit-animation-duration: 3s
}

.stars {
  color: #fc0;
  font-size: 20px
}

.stats {
  position: absolute;
  list-style-type: none;
  margin: 2px 0 0 0;
  padding: 0
}

.stats li {
  width: 220px;
  position: absolute;
  animation: statani 16s infinite;
  opacity: 0;
  font-size: 14px;
  color: #fff
}

.stats li a {
  color: #fff;
  text-decoration: none
}

.stats li:nth-child(1) {
  animation-delay: 12s
}

.stats li:nth-child(2) {
  animation-delay: 8s
}

.stats li:nth-child(3) {
  animation-delay: 4s
}

.stats li:nth-child(4) {
  animation-delay: 0s
}

.subtotal {
  float: right
}

.swingonce {
  -webkit-animation: swinging 10s ease-in-out 0s 1;
  -moz-animation: swinging 10s ease-in-out 0s 1;
  animation: swinging 10s ease-in-out 0s 1;
  -webkit-transform-origin: 50% 0;
  -moz-transform-origin: 50% 0;
  transform-origin: 50% 0
}

.tel {
  text-decoration: none;
  color: #000
}

.th {
  width: 50%;
  display: inline-block;
  color: #aaa;
  vertical-align: text-top;
  font-size: .75em;
  line-height: 1.8em
}

.th b {
  color: #555
}

.thema {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-gap: 1vw
}

.thema a {
  height: auto;
  display: inline-block;
  text-decoration: none
}

.ts {
  margin-top: 10px
}

.upsell {
  margin: 0;
  padding: 8px;
  vertical-align: top;
  background: #f7f7f7;
  overflow: hidden
}

.wallview {
  max-width: 500px;
  position: absolute;
  margin: 8.5%;
  width: 83% !important;
  background: 0 0 !important;
  height: auto;
  border: 0 solid #fff !important
}

.white {
  background: #fff !important;
  display: inline-block;
  height: auto !important;
  width: 93% !important;
  vertical-align: text-top
}

.wrapper {
  perspective: 800px;
  width: 480px;
  height: 400px
}

@-webkit-keyframes swinging {
  0% {
    -webkit-transform: rotate(0)
  }

  10% {
    -webkit-transform: rotate(-9deg)
  }

  100% {
    -webkit-transform: rotate(0)
  }

  15% {
    -webkit-transform: rotate(8deg)
  }

  20% {
    -webkit-transform: rotate(-7deg)
  }

  25% {
    -webkit-transform: rotate(6deg)
  }

  30% {
    -webkit-transform: rotate(-5deg)
  }

  35% {
    -webkit-transform: rotate(4deg)
  }

  40% {
    -webkit-transform: rotate(-3deg)
  }

  45% {
    -webkit-transform: rotate(2deg)
  }

  5% {
    -webkit-transform: rotate(10deg)
  }

  50% {
    -webkit-transform: rotate(0)
  }
}

@-moz-keyframes swinging {
  0% {
    -moz-transform: rotate(0)
  }

  10% {
    -moz-transform: rotate(-9deg)
  }

  100% {
    -moz-transform: rotate(0)
  }

  15% {
    -moz-transform: rotate(8deg)
  }

  20% {
    -moz-transform: rotate(-7deg)
  }

  25% {
    -moz-transform: rotate(6deg)
  }

  30% {
    -moz-transform: rotate(-5deg)
  }

  35% {
    -moz-transform: rotate(4deg)
  }

  40% {
    -moz-transform: rotate(-3deg)
  }

  45% {
    -moz-transform: rotate(2deg)
  }

  5% {
    -moz-transform: rotate(10deg)
  }

  50% {
    -moz-transform: rotate(0)
  }
}

@keyframes swinging {
  0% {
    transform: rotate(0)
  }

  10% {
    transform: rotate(-9deg)
  }

  100% {
    transform: rotate(0)
  }

  15% {
    transform: rotate(8deg)
  }

  20% {
    transform: rotate(-7deg)
  }

  25% {
    transform: rotate(6deg)
  }

  30% {
    transform: rotate(-5deg)
  }

  35% {
    transform: rotate(4deg)
  }

  40% {
    transform: rotate(-3deg)
  }

  45% {
    transform: rotate(2deg)
  }

  5% {
    transform: rotate(10deg)
  }

  50% {
    transform: rotate(0)
  }
}

@keyframes slideIn {
  0% {
    margin-left: 0
  }

  100% {
    margin-left: 0
  }

  20% {
    margin-left: 15%
  }

  80% {
    margin-left: 15%
  }
}

@keyframes slideInMob {
  0% {
    margin-left: 0
  }

  100% {
    margin-left: 0
  }

  20% {
    margin-left: 45%
  }

  80% {
    margin-left: 45%
  }
}

@-webkit-keyframes fadeInFromNone {
  0% {
    opacity: 0
  }

  100% {
    opacity: 1
  }
}

@-moz-keyframes fadeInFromNone {
  0% {
    opacity: 0
  }

  100% {
    opacity: 1
  }
}

@-o-keyframes fadeInFromNone {
  0% {
    opacity: 0
  }

  100% {
    opacity: 1
  }
}

@keyframes fadeInFromNone {
  0% {
    opacity: 0
  }

  100% {
    opacity: 1
  }
}

@keyframes statani {
  0% {
    opacity: 0;
    display: inline;
    visibility: visible
  }

  1% {
    opacity: 1;
    display: inline;
    visibility: visible
  }

  24% {
    opacity: 1;
    display: inline;
    visibility: visible
  }

  25% {
    opacity: 0;
    display: none;
    visibility: none
  }
}

@-webkit-keyframes Rotate {
  0% {
    -webkit-transform: rotate(0)
  }

  100% {
    -webkit-transform: rotate(0)
  }

  12% {
    -webkit-transform: rotate(-45deg)
  }

  16% {
    -webkit-transform: rotate(0)
  }

  20% {
    -webkit-transform: rotate(-45deg)
  }

  24% {
    -webkit-transform: rotate(0)
  }

  4% {
    -webkit-transform: rotate(-45deg)
  }

  8% {
    -webkit-transform: rotate(0)
  }
}

@keyframes Rotate {
  0% {
    transform: rotate(0)
  }

  100% {
    transform: rotate(0)
  }

  12% {
    transform: rotate(-45deg)
  }

  16% {
    transform: rotate(0)
  }

  20% {
    transform: rotate(-45deg)
  }

  24% {
    transform: rotate(0)
  }

  4% {
    transform: rotate(-45deg)
  }

  8% {
    transform: rotate(0)
  }
}

@-webkit-keyframes run {
  0% {
    left: 0
  }

  100% {
    box-shadow: 0 3px 10px rgb(0 0 0/.2);
    left: 255px
  }
}

@-webkit-keyframes sleeve {
  100% {
    opacity: 0;
    z-index: 100
  }

  50% {
    z-index: 100
  }
}

@keyframes runcover {
  0% {
    transform: perspective(800px) rotateY(0)
  }

  100% {
    transform: perspective(800px) rotateY(-180deg);
    z-index: 100
  }

  50% {
    transform: perspective(800px) rotateY(-90deg);
    box-shadow: 0 3px 10px rgb(0 0 0/.1);
    border-right: 5px solid #ccc;
    z-index: 10001
  }
}

@keyframes pop {
  0% {
    transform: scale(1);
    -webkit-box-shadow: 6px 6px 10px 4px rgba(0, 0, 0, .1), inset 0 0 15px #ccc;
    -moz-box-shadow: 6px 6px 10px 4px rgba(0, 0, 0, .1), inset 0 0 15px #ccc;
    box-shadow: 6px 6px 10px 4px rgba(0, 0, 0, .1), inset 0 0 15px #ccc;
    margin-bottom: 10px;
    border-top: 0 solid #b19e8a;
    border-right: 0 solid #dbc8b6;
    border-bottom: 0 solid #c6a992;
    border-left: 0 solid #b19e8a;
    border-radius: 1px;
    max-width: 91vw;
    height: auto
  }

  100% {
    top: 3px;
    transform: scale(1.5);
    -webkit-box-shadow: 6px 6px 10px 4px rgba(0, 0, 0, .1), inset 0 0 15px #ccc;
    -moz-box-shadow: 6px 6px 10px 4px rgba(0, 0, 0, .1), inset 0 0 15px #ccc;
    box-shadow: 6px 6px 10px 4px rgba(0, 0, 0, .1), inset 0 0 15px #ccc;
    margin-bottom: 10px;
    border-top: 0 solid #b19e8a;
    border-right: 3px solid #dbc8b6;
    border-bottom: 3px solid #c6a992;
    border-left: 0 solid #b19e8a;
    border-radius: 1px;
    max-width: 100%;
    width: 100%;
    height: auto;
    left: -125px
  }

  40% {
    top: 3px;
    transform: scale(1.5);
    -webkit-box-shadow: 6px 6px 10px 4px rgba(0, 0, 0, .1), inset 0 0 15px #ccc;
    -moz-box-shadow: 6px 6px 10px 4px rgba(0, 0, 0, .1), inset 0 0 15px #ccc;
    box-shadow: 6px 6px 10px 4px rgba(0, 0, 0, .1), inset 0 0 15px #ccc;
    margin-bottom: 10px;
    border-top: 0 solid #b19e8a;
    border-right: 3px solid #dbc8b6;
    border-bottom: 3px solid #c6a992;
    border-left: 0 solid #b19e8a;
    border-radius: 1px;
    max-width: 100%;
    width: 100%;
    height: auto;
    left: -125px
  }
}

.tile-box {
  position: relative;
  transform-style: preserve-3d;
  perspective: 300px;
}

.tile-box,
.tile-box * {
  box-sizing: border-box;
}

.tile-box .tb-scale {
  position: relative;
  width: 100%;
  height: 0%;
  padding-top: 48.5436893204%;
  transform: scale(0.7);
}

.tile-box .tb-size {
  position: absolute;
  left: 0%;
  top: 0%;
  width: 100%;
  height: 100%;
  /*  border: 1px solid #efefef;*/
  transform: rotateX(30deg) rotateY(0deg) rotateZ(0deg);
}

.tile-box,
.tile-box *,
.tile-box *:before,
.tile-box *:after {
  transform-style: preserve-3d;
}

.tile-box .tb-cover {
  position: absolute;
  left: 0%;
  top: 0%;
  width: 48.5%;
  height: 100%;
}

.tile-box .tb-cover>div:nth-child(1),
.tile-box .tb-cover>div:nth-child(2),
.tile-box .tb-cover>.tb-image {
  position: absolute;
  left: 0%;
  top: 0%;
  width: 100%;
  height: 100%;
  background-color: #DDD;
}

.tile-box .tb-cover .tb-image>img {
  position: absolute;
  display: block;
  left: 50%;
  top: 50%;
  width: 100%;
  min-height: 100%;
  transform: translateX(-50%) translateY(-50%);
}

.tile-box .tb-cover>div:nth-child(1),
.tile-box .tb-cover>.tb-image {
  transform: translateZ(19px);
}

.tile-box .tb-cover>div:nth-child(1):before,
.tile-box .tb-cover>div:nth-child(1):after,
.tile-box .tb-cover>div:nth-child(2):before,
.tile-box .tb-cover>div:nth-child(2):after {
  content: "";
  position: absolute;
  left: 0%;
  bottom: 0%;
  width: 100%;
  height: 3px;
  background-color: #7ea39e;
  transform-origin: 50% 100%;
  transform: rotateX(90deg);
}

.tile-box .tb-cover>div:nth-child(1):after,
.tile-box .tb-cover>div:nth-child(2):after {
  bottom: auto;
  top: 0%;
  transform: rotateX(-90deg);
  transform-origin: 50% 0%;
}

.tile-box .tb-cover>div:nth-child(2):before {
  transform: rotateX(-90deg);
}

.tile-box .tb-cover>div:nth-child(2):after {
  transform: rotateX(90deg);
}

.tile-box .tb-cover>div:nth-child(1)>div,
.tile-box .tb-cover>div:nth-child(2)>div {
  position: absolute;
  left: 0%;
  top: 0%;
  width: 100%;
  height: 100%;
  transform: translateZ(-3px);
  background-color: #DDD;
}

.tile-box .tb-cover>div:nth-child(2)>div {
  transform: translateZ(3px);
}

.tile-box .tb-cover>div:nth-child(1)>div:before,
.tile-box .tb-cover>div:nth-child(1)>div:after,
.tile-box .tb-cover>div:nth-child(2)>div:before,
.tile-box .tb-cover>div:nth-child(2)>div:after {
  content: "";
  position: absolute;
  left: 0%;
  top: 0%;
  width: 3px;
  height: 100%;
  transform-origin: 0% 50%;
  transform: rotateY(-90deg);
  background-color: #7ea39e;
}

.tile-box .tb-cover>div:nth-child(2)>div:before,
.tile-box .tb-cover>div:nth-child(2)>div:after {
  transform: rotateY(90deg);
}

.tile-box .tb-cover>div:nth-child(1)>div:after,
.tile-box .tb-cover>div:nth-child(2)>div:after {
  right: 0%;
  left: auto;
  transform-origin: 100% 50%;
  transform: rotateY(90deg);
}

.tile-box .tb-cover>div:nth-child(2)>div:after {
  transform: rotateY(-90deg);
}

.tile-box .tb-cover>.tb-image {
  background-color: transparent;
}

.tile-box .tb-cover>.tb-image img {
  position: absolute;
  display: block;
  width: 100%;
  max-height: 100%;
  left: 50%;
  top: 50%;
  transform: translateX(-50%) translateY(-50%);
}

.tile-box .tb-cover>div:nth-child(3),
.tile-box .tb-cover>div:nth-child(4) {
  position: absolute;
  left: 0%;
  top: 0%;
  width: 100%;
  height: 13px;
  background-color: #9CB8B4;
  transform-origin: 50% 0%;
  transform: translateZ(3px) rotateX(90deg);
}

.tile-box .tb-cover>div:nth-child(4) {
  top: 100%;
}

.tile-box .tb-cover>div:nth-child(3)>div,
.tile-box .tb-cover>div:nth-child(4)>div {
  position: absolute;
  left: 0%;
  top: 0%;
  width: 100%;
  height: 100%;
  background-color: #8dada9;
  transform: translateZ(-3px);
}

.tile-box .tb-cover>div:nth-child(4)>div {
  transform: translateZ(3px);
}

.tile-box .tb-cover>div:nth-child(3)>div:before,
.tile-box .tb-cover>div:nth-child(3)>div:after,
.tile-box .tb-cover>div:nth-child(4)>div:before,
.tile-box .tb-cover>div:nth-child(4)>div:after {
  content: "";
  position: absolute;
  left: 0%;
  top: 0%;
  width: 3px;
  height: 100%;
  background-color: #7ea39e;
  transform-origin: 0% 50%;
  transform: rotateY(-90deg);
}

.tile-box .tb-cover>div:nth-child(3)>div:after,
.tile-box .tb-cover>div:nth-child(4)>div:after {
  left: auto;
  right: 0%;
  transform-origin: 100% 50%;
  transform: rotateY(90deg);
}

.tile-box .tb-cover>div:nth-child(4)>div:before,
.tile-box .tb-cover>div:nth-child(4)>div:after {
  transform: rotateY(90deg);
}

.tile-box .tb-cover>div:nth-child(4)>div:after {
  transform: rotateY(-90deg);
}

.tile-box .tb-box {
  position: absolute;
  left: 51.5%;
  top: 0%;
  width: 48.5%;
  height: calc(100% - 6px);
  top: 3px;
  transform: translateZ(3px);
}

.tile-box .tb-box>div:nth-child(1) {
  position: absolute;
  left: 0%;
  top: 0%;
  width: 100%;
  height: 100%;
  background-color: #EEE;
}

.tile-box .tb-box>div:nth-child(2),
.tile-box .tb-box>div:nth-child(3) {
  position: absolute;
  left: 0%;
  top: 0%;
  width: 100%;
  height: 10px;
  transform-origin: 50% 0%;
  transform: rotateX(90deg);
  background-color: #cbc5a1;
}

.tile-box .tb-box>div:nth-child(3) {
  top: auto;
  bottom: 0%;
  transform-origin: 50% 100%;
  transform: rotateX(-90deg);
}

.tile-box .tb-box>div:nth-child(4),
.tile-box .tb-box>div:nth-child(5) {
  position: absolute;
  left: 0%;
  top: 0%;
  width: 10px;
  height: 100%;
  transform-origin: 0% 50%;
  transform: rotateY(-90deg);
  background-color: #cbc5a1;
}

.tile-box .tb-box>div:nth-child(5) {
  left: auto;
  right: 0%;
  transform-origin: 100% 50%;
  transform: rotateY(90deg);
}

.tile-box .tb-box>.tb-image {
  position: absolute;
  left: 0%;
  top: 0%;
  width: 100%;
  height: 100%;
  transform: translateZ(10px);
  overflow: hidden;
}

.tile-box .tb-box>.tb-image>img {
  position: absolute;
  display: block;
  left: 50%;
  top: 50%;
  width: 100%;
  min-height: 100%;
  transform: translateX(-50%) translateY(-50%);
}

.tile-box .tb-tile {
  position: absolute;
  left: 62.95%;
  top: 18%;
  width: 31.72%;
  height: 65.6%;
  transform: translateZ(5px);
}

.tile-box .tb-tile-in {
  position: absolute;
  left: 0%;
  top: 0%;
  width: 100%;
  height: 100%;
}

.tile-box .tb-tile-in>div:nth-child(1) {
  position: absolute;
  left: 0%;
  top: 0%;
  width: 100%;
  height: 100%;
  background-color: #D5BBB1;
}

.tile-box .tb-tile-in>div:nth-child(2),
.tile-box .tb-tile-in>div:nth-child(3) {
  position: absolute;
  left: 0%;
  top: 0%;
  width: 100%;
  height: 8px;
  transform-origin: 50% 0%;
  transform: rotateX(90deg);
  background-color: #c39e90;
}

.tile-box .tb-tile-in>div:nth-child(3) {
  top: auto;
  bottom: 0%;
  transform-origin: 50% 100%;
  transform: rotateX(-90deg);
}

.tile-box .tb-tile-in>div:nth-child(4),
.tile-box .tb-tile-in>div:nth-child(5) {
  position: absolute;
  left: 0%;
  top: 0%;
  width: 8px;
  height: 100%;
  transform-origin: 0% 50%;
  transform: rotateY(-90deg);
  background-color: #c39e90;
}

.tile-box .tb-tile-in>div:nth-child(5) {
  left: auto;
  right: 0%;
  transform-origin: 100% 50%;
  transform: rotateY(90deg);
}

.tile-box .tb-tile-in>.tb-image {
  position: absolute;
  left: 0%;
  top: 0%;
  width: 100%;
  height: 100%;
  transform: translateZ(8px);
  overflow: hidden
}

.tile-box .tb-tile-in>.tb-image>img {
  position: absolute;
  display: block;
  left: 50%;
  top: 50%;
  width: 100%;
  min-height: 100%;
  transform: translateX(-50%) translateY(-50%);
}

.tile-box .tb-tile-in>.tb-image:after {
  content: "";
  position: absolute;
  left: 50%;
  top: 0%;
  width: 50%;
  height: 100%;
  background: linear-gradient(to right, rgba(255, 255, 255, 0) 0%, white 100%);
}

.tile-box .tb-box-cover {
  position: absolute;
  left: 51.5%;
  top: 0%;
  width: 48.5%;
  height: calc(100% - 6px);
  top: 3px;
  transform-origin: 0% 50%;
  transform: translateZ(13px);
}

.tile-box .tb-box-cover-in {
  position: absolute;
  left: 0%;
  top: 0%;
  width: 100%;
  height: 100%;
  transform-origin: 50% 50%;
  transform: rotateY(180deg) translateZ(-3px);
}

.tile-box .tb-box-cover-in>div:nth-child(1) {
  position: absolute;
  left: 0%;
  top: 0%;
  width: 100%;
  height: 100%;
  background-color: #EEE;
}

.tile-box .tb-box-cover-in>div:nth-child(2),
.tile-box .tb-box-cover-in>div:nth-child(3) {
  position: absolute;
  left: 0%;
  top: 0%;
  width: 100%;
  height: 3px;
  transform-origin: 50% 0%;
  transform: rotateX(90deg);
  background-color: #cbc5a1;
}

.tile-box .tb-box-cover-in>div:nth-child(3) {
  top: auto;
  bottom: 0%;
  transform-origin: 50% 100%;
  transform: rotateX(-90deg);
}

.tile-box .tb-box-cover-in>div:nth-child(4),
.tile-box .tb-box-cover-in>div:nth-child(5) {
  position: absolute;
  left: 0%;
  top: 0%;
  width: 3px;
  height: 100%;
  transform-origin: 0% 50%;
  transform: rotateY(-90deg);
  background-color: #cbc5a1;
}

.tile-box .tb-box-cover-in>div:nth-child(5) {
  left: auto;
  right: 0%;
  transform-origin: 100% 50%;
  transform: rotateY(90deg);
}

.tile-box .tb-box-cover-in>.tb-image,
.tile-box .tb-box-cover-in>.tb-image-2 {
  position: absolute;
  left: 0%;
  top: 0%;
  width: 100%;
  height: 100%;
  transform: translateZ(3px);
  overflow: hidden;
}

.tile-box .tb-box-cover-in>.tb-image>img,
.tile-box .tb-box-cover-in>.tb-image-2>img {
  position: absolute;
  display: block;
  left: 50%;
  top: 50%;
  width: 100%;
  min-height: 100%;
  transform: translateX(-50%) translateY(-50%) rotateY(180deg);
}

.tile-box .tb-box-cover-in>.tb-image-2:before {
  content: "";
  position: absolute;
  left: 10%;
  top: 0%;
  width: 100%;
  height: 100%;
  background-color: #efede3;
}

.tile-box .tb-box-cover-in>.tb-image-2>img {
  mix-blend-mode: overlay;
}

.tile-box .tb-shadow {
  position: absolute;
  left: 0%;
  top: 0%;
  width: 100%;
  height: 100%;
}

.tile-box .tb-shadow>div {
  position: absolute;
  left: calc(50% + 1%);
  top: 50%;
  width: calc(31.72% + 16%);
  height: calc(65.6% + 16%);
  transform: translateX(-50%) translateY(-50%) translateZ(90px);
  background-color: black;
  filter: blur(30px);
  opacity: 0;
}

.tile-box .tb-size {
  transform: rotateX(60deg) rotateY(0deg) rotateZ(90deg);
  animation: tb-size-rotate-1 1.05s forwards 1s ease-in-out, tb-size-rotate-2 0.7s forwards 5s ease-in-out;
}

@keyframes tb-size-rotate-1 {
  0% {
    transform: rotateX(60deg) rotateY(0deg) rotateZ(90deg);
  }

  100% {
    transform: rotateX(30deg) rotateY(0deg) rotateZ(0deg);
  }
}

@keyframes tb-size-rotate-2 {
  0% {
    transform: rotateX(30deg) rotateY(0deg) rotateZ(0deg);
  }

  100% {
    transform: rotateX(0deg) rotateY(0deg) rotateZ(0deg);
  }
}

.tile-box .tb-cover {
  left: 25.75%;
  animation: tb-cover-move-1 1.05s forwards 1.45s ease-in-out, tb-cover-move-2 0.7s forwards 3.05s ease-in-out, tb-cover-move-3 0.9s forwards 3.85s ease-in-out;
}

@keyframes tb-cover-move-1 {
  0% {
    left: 25.75%;
  }

  100% {
    left: 0%;
  }
}

@keyframes tb-cover-move-2 {
  0% {
    left: 0%;
  }

  100% {
    left: 25.75%;
  }
}

@keyframes tb-cover-move-3 {
  0% {
    left: 25.75%;
  }

  100% {
    left: 51.5%;
  }
}

.tile-box .tb-box {
  left: 25.75%;
  animation: tb-box-move-1 1.05s forwards 1.45s ease-in-out, tb-box-move-2 0.7s forwards 2.75s ease-in-out, tb-box-move-3 0.9s forwards 3.85s ease-in-out;
}

@keyframes tb-box-move-1 {
  0% {
    left: 25.75%;
  }

  100% {
    left: 51.5%;
  }
}

@keyframes tb-box-move-2 {
  0% {
    left: 51.5%;
    transform: translateZ(3px);
  }

  50% {
    transform: translateZ(50px);
  }

  100% {
    left: 25.75%;
    transform: translateZ(19px);
  }
}

@keyframes tb-box-move-3 {
  0% {
    left: 25.75%;
  }

  100% {
    left: 51.5%;
  }
}

.tile-box .tb-tile {
  left: 37.2%;
  animation: tb-tile-move-1 1.05s forwards 1.45s ease-in-out, tb-tile-move-2 0.7s forwards 2.75s ease-in-out, tb-tile-move-3 0.9s forwards 3.85s ease-in-out, tb-tile-show-1 1s forwards 5s ease-in-out;
}

@keyframes tb-tile-move-1 {
  0% {
    left: 37.2%;
  }

  100% {
    left: 62.95%;
  }
}

@keyframes tb-tile-move-2 {
  0% {
    left: 62.95%;
    transform: translateZ(5px);
  }

  50% {
    transform: translateZ(52px);
  }

  100% {
    left: 37.2%;
    transform: translateZ(21px);
  }
}

@keyframes tb-tile-move-3 {
  0% {
    left: 37.2%;
  }

  100% {
    left: 62.95%;
  }
}

@keyframes tb-tile-show-1 {
  0% {
    left: 62.95%;
    transform: translateZ(21px);
  }

  50% {
    left: 34.14%;
    transform: translateZ(150px) rotateY(-30deg);
  }

  100% {
    left: 34.14%;
    transform: translateZ(150px) rotateY(0deg);
  }
}

.tile-box .tb-box-cover {
  left: 25.75%;
  animation: tb-box-cover-move-1 1.05s forwards 1.45s ease-in-out, tb-box-cover-move-2 0.7s forwards 2.75s ease-in-out, tb-box-cover-open-1 0.9s forwards 3.85s ease-in-out;
}

@keyframes tb-box-cover-move-1 {
  0% {
    left: 25.75%;
  }

  100% {
    left: 51.5%;
  }
}

@keyframes tb-box-cover-move-2 {
  0% {
    left: 51.5%;
    transform: translateZ(13px);
  }

  50% {
    transform: translateZ(60px);
  }

  100% {
    left: 25.75%;
    transform: translateZ(29px);
  }
}

@keyframes tb-box-cover-open-1 {
  0% {
    left: 25.75%;
    transform: translateZ(29px);
  }

  100% {
    left: 51.5%;
    transform: translateZ(29px) rotateY(-165deg);
  }
}

/* change */
.tile-box.tile-box-1 .tb-tile-in {
  animation: tb-tile-change-1-1 0s forwards 6s ease-in-out;
}

.tile-box .tb-tile-in>.tb-image>img {
  opacity: 0;
}

.tile-box .tb-tile-in>.tb-image>img:nth-child(1) {
  opacity: 1;
}

.tile-box.tile-box-1 .tb-tile-in>.tb-image>img:nth-child(2) {
  animation: tb-tile-image-show-2-1 0.01s forwards 9s;
}

@keyframes tb-tile-image-show-2-1 {
  0% {
    opacity: 0;
  }

  100% {
    opacity: 1;
  }
}

.tile-box.tile-box-1 .tb-tile-in>.tb-image>img:nth-child(1) {
  animation: tb-tile-image-show-1-1 0.01s forwards 5s;
}

@keyframes tb-tile-image-show-1-1 {
  0% {
    opacity: 0;
  }

  100% {
    opacity: 1;
  }
}

.tile-box.tile-box-1 .tb-shadow>div {
  opacity: 0;
  animation: tb-tile-shadow-1-1 1s forwards 5s ease-in-out;
}

@keyframes tb-tile-shadow-1-1 {
  0% {
    opacity: 0;
  }

  100% {
    opacity: 1;
  }
}

.tile-box.tile-box-1 .tb-tile-in>.tb-image:after {
  opacity: 0;
  animation: tb-tile-Reflection-1-1 1s forwards 5s ease-in-out;
}

@keyframes tb-tile-Reflection-1-1 {
  0% {
    opacity: 0;
  }

  50% {
    opacity: 1;
  }

  100% {
    opacity: 0;
  }
}

.tile-box {
  width: 100%;
  position: relative;
  transform-style: preserve-3d;
  perspective: 360px;
}

.tile-box,
.tile-box * {
  box-sizing: border-box;
}

.tile-box .tb-scale {
  position: relative;
  width: 100%;
  height: 0%;
  padding-top: 48.5436893204%;
  transform: scale(0.7);
}

.tile-box .tb-size {
  position: absolute;
  left: 0%;
  top: 0%;
  width: 100%;
  height: 100%;
  /*  border: 1px solid #efefef;*/
  transform: rotateX(30deg) rotateY(0deg) rotateZ(0deg);
}

.tile-box,
.tile-box *,
.tile-box *:before,
.tile-box *:after {
  transform-style: preserve-3d;
}

.tile-box .tb-cover {
  position: absolute;
  left: 0%;
  top: 0%;
  width: 48.5%;
  height: 100%;
}

.tile-box .tb-cover>div:nth-child(1),
.tile-box .tb-cover>div:nth-child(2),
.tile-box .tb-cover>.tb-image {
  position: absolute;
  left: 0%;
  top: 0%;
  width: 100%;
  height: 100%;
  background-color: #DDD
}

.tile-box .tb-cover .tb-image>img {
  position: absolute;
  display: block;
  left: 50%;
  top: 50%;
  width: 100%;
  min-height: 100%;
  transform: translateX(-50%) translateY(-50%);
}

.tile-box .tb-cover>div:nth-child(1),
.tile-box .tb-cover>.tb-image {
  transform: translateZ(19px);
}

.tile-box .tb-cover>div:nth-child(1):before,
.tile-box .tb-cover>div:nth-child(1):after,
.tile-box .tb-cover>div:nth-child(2):before,
.tile-box .tb-cover>div:nth-child(2):after {
  content: "";
  position: absolute;
  left: 0%;
  bottom: 0%;
  width: 100%;
  height: 3px;
  background-color: #DDD;
  transform-origin: 50% 100%;
  transform: rotateX(90deg);
}

.tile-box .tb-cover>div:nth-child(1):after,
.tile-box .tb-cover>div:nth-child(2):after {
  bottom: auto;
  top: 0%;
  transform: rotateX(-90deg);
  transform-origin: 50% 0%;
}

.tile-box .tb-cover>div:nth-child(2):before {
  transform: rotateX(-90deg);
}

.tile-box .tb-cover>div:nth-child(2):after {
  transform: rotateX(90deg);
}

.tile-box .tb-cover>div:nth-child(1)>div,
.tile-box .tb-cover>div:nth-child(2)>div {
  position: absolute;
  left: 0%;
  top: 0%;
  width: 100%;
  height: 100%;
  transform: translateZ(-3px);
  background-color: #DDD;
}

.tile-box .tb-cover>div:nth-child(2)>div {
  transform: translateZ(3px);
}

.tile-box .tb-cover>div:nth-child(1)>div:before,
.tile-box .tb-cover>div:nth-child(1)>div:after,
.tile-box .tb-cover>div:nth-child(2)>div:before,
.tile-box .tb-cover>div:nth-child(2)>div:after {
  content: "";
  position: absolute;
  left: 0%;
  top: 0%;
  width: 3px;
  height: 100%;
  transform-origin: 0% 50%;
  transform: rotateY(-90deg);
  background-color: #DDD;
}

.tile-box .tb-cover>div:nth-child(2)>div:before,
.tile-box .tb-cover>div:nth-child(2)>div:after {
  transform: rotateY(90deg);
}

.tile-box .tb-cover>div:nth-child(1)>div:after,
.tile-box .tb-cover>div:nth-child(2)>div:after {
  right: 0%;
  left: auto;
  transform-origin: 100% 50%;
  transform: rotateY(90deg);
}

.tile-box .tb-cover>div:nth-child(2)>div:after {
  transform: rotateY(-90deg);
}

.tile-box .tb-cover>.tb-image {
  background-color: transparent;
}

.tile-box .tb-cover>.tb-image img {
  position: absolute;
  display: block;
  width: 100%;
  max-height: 100%;
  left: 50%;
  top: 50%;
  transform: translateX(-50%) translateY(-50%);
}

.tile-box .tb-cover>div:nth-child(3),
.tile-box .tb-cover>div:nth-child(4) {
  position: absolute;
  left: 0%;
  top: 0%;
  width: 100%;
  height: 13px;
  background-color: #DDD;
  transform-origin: 50% 0%;
  transform: translateZ(3px) rotateX(90deg);
}

.tile-box .tb-cover>div:nth-child(4) {
  top: 100%;
}

.tile-box .tb-cover>div:nth-child(3)>div,
.tile-box .tb-cover>div:nth-child(4)>div {
  position: absolute;
  left: 0%;
  top: 0%;
  width: 100%;
  height: 100%;
  background-color: #DDD;
  transform: translateZ(-3px);
}

.tile-box .tb-cover>div:nth-child(4)>div {
  transform: translateZ(3px);
}

.tile-box .tb-cover>div:nth-child(3)>div:before,
.tile-box .tb-cover>div:nth-child(3)>div:after,
.tile-box .tb-cover>div:nth-child(4)>div:before,
.tile-box .tb-cover>div:nth-child(4)>div:after {
  content: "";
  position: absolute;
  left: 0%;
  top: 0%;
  width: 3px;
  height: 100%;
  background-color: #DDD;
  transform-origin: 0% 50%;
  transform: rotateY(-90deg);
}

.tile-box .tb-cover>div:nth-child(3)>div:after,
.tile-box .tb-cover>div:nth-child(4)>div:after {
  left: auto;
  right: 0%;
  transform-origin: 100% 50%;
  transform: rotateY(90deg);
}

.tile-box .tb-cover>div:nth-child(4)>div:before,
.tile-box .tb-cover>div:nth-child(4)>div:after {
  transform: rotateY(90deg);
}

.tile-box .tb-cover>div:nth-child(4)>div:after {
  transform: rotateY(-90deg);
}

.tile-box .tb-box {
  position: absolute;
  left: 51.5%;
  top: 0%;
  width: 48.5%;
  height: calc(100% - 6px);
  top: 3px;
  transform: translateZ(3px);
}

.tile-box .tb-box>div:nth-child(1) {
  position: absolute;
  left: 0%;
  top: 0%;
  width: 100%;
  height: 100%;
  background-color: #EEE;
}

.tile-box .tb-box>div:nth-child(2),
.tile-box .tb-box>div:nth-child(3) {
  position: absolute;
  left: 0%;
  top: 0%;
  width: 100%;
  height: 10px;
  transform-origin: 50% 0%;
  transform: rotateX(90deg);
  background-color: #CCC;
}

.tile-box .tb-box>div:nth-child(3) {
  top: auto;
  bottom: 0%;
  transform-origin: 50% 100%;
  transform: rotateX(-90deg);
}

.tile-box .tb-box>div:nth-child(4),
.tile-box .tb-box>div:nth-child(5) {
  position: absolute;
  left: 0%;
  top: 0%;
  width: 10px;
  height: 100%;
  transform-origin: 0% 50%;
  transform: rotateY(-90deg);
  background-color: #CCC;
}

.tile-box .tb-box>div:nth-child(5) {
  left: auto;
  right: 0%;
  transform-origin: 100% 50%;
  transform: rotateY(90deg);
}

.tile-box .tb-box>.tb-image {
  position: absolute;
  left: 0%;
  top: 0%;
  width: 100%;
  height: 100%;
  transform: translateZ(10px);
  overflow: hidden;
}

.tile-box .tb-box>.tb-image>img {
  position: absolute;
  display: block;
  left: 50%;
  top: 50%;
  width: 100%;
  min-height: 100%;
  transform: translateX(-50%) translateY(-50%);
}

.tile-box .tb-tile {
  position: absolute;
  left: 62.95%;
  top: 18%;
  width: 31.72%;
  height: 65.6%;
  transform: translateZ(5px);
}

.tile-box .tb-tile-in {
  position: absolute;
  left: 0%;
  top: 0%;
  width: 100%;
  height: 100%;
}

.tile-box .tb-tile-in>div:nth-child(1) {
  position: absolute;
  left: 0%;
  top: 0%;
  width: 100%;
  height: 100%;
  background-color: #D5BBB1;
}

.tile-box .tb-tile-in>div:nth-child(2),
.tile-box .tb-tile-in>div:nth-child(3) {
  position: absolute;
  left: 0%;
  top: 0%;
  width: 100%;
  height: 8px;
  transform-origin: 50% 0%;
  transform: rotateX(90deg);
  background-color: #c39e90;
}

.tile-box .tb-tile-in>div:nth-child(3) {
  top: auto;
  bottom: 0%;
  transform-origin: 50% 100%;
  transform: rotateX(-90deg);
}

.tile-box .tb-tile-in>div:nth-child(4),
.tile-box .tb-tile-in>div:nth-child(5) {
  position: absolute;
  left: 0%;
  top: 0%;
  width: 8px;
  height: 100%;
  transform-origin: 0% 50%;
  transform: rotateY(-90deg);
  background-color: #c39e90;
}

.tile-box .tb-tile-in>div:nth-child(5) {
  left: auto;
  right: 0%;
  transform-origin: 100% 50%;
  transform: rotateY(90deg);
}

.tile-box .tb-tile-in>.tb-image {
  position: absolute;
  left: 0%;
  top: 0%;
  border-radius: 1px;
  width: 100%;
  height: 100%;
  transform: translateZ(8px);
  overflow: hidden;
}

.tile-box .tb-tile-in>.tb-image>img {
  position: absolute;
  display: block;
  left: 50%;
  top: 50%;
  width: 100%;
  min-height: 100%;
  transform: translateX(-50%) translateY(-50%);
}

.tile-box .tb-tile-in>.tb-image:after {
  content: "";
  position: absolute;
  left: 50%;
  top: 0%;
  width: 50%;
  height: 100%;
  background: linear-gradient(to right, rgba(255, 255, 255, 0) 0%, white 100%);
}

.tile-box .tb-box-cover {
  position: absolute;
  left: 51.5%;
  top: 0%;
  width: 48.5%;
  height: calc(100% - 6px);
  top: 3px;
  transform-origin: 0% 50%;
  transform: translateZ(13px);
}

.tile-box .tb-box-cover-in {
  position: absolute;
  left: 0%;
  top: 0%;
  width: 100%;
  height: 100%;
  transform-origin: 50% 50%;
  transform: rotateY(180deg) translateZ(-3px);
}

.tile-box .tb-box-cover-in>div:nth-child(1) {
  position: absolute;
  left: 0%;
  top: 0%;
  width: 100%;
  height: 100%;
  background-color: #EEE;
}

.tile-box .tb-box-cover-in>div:nth-child(2),
.tile-box .tb-box-cover-in>div:nth-child(3) {
  position: absolute;
  left: 0%;
  top: 0%;
  width: 100%;
  height: 3px;
  transform-origin: 50% 0%;
  transform: rotateX(90deg);
  background-color: #CCC;
}

.tile-box .tb-box-cover-in>div:nth-child(3) {
  top: auto;
  bottom: 0%;
  transform-origin: 50% 100%;
  transform: rotateX(-90deg);
}

.tile-box .tb-box-cover-in>div:nth-child(4),
.tile-box .tb-box-cover-in>div:nth-child(5) {
  position: absolute;
  left: 0%;
  top: 0%;
  width: 3px;
  height: 100%;
  transform-origin: 0% 50%;
  transform: rotateY(-90deg);
  background-color: #CCC;
}

.tile-box .tb-box-cover-in>div:nth-child(5) {
  left: auto;
  right: 0%;
  transform-origin: 100% 50%;
  transform: rotateY(90deg);
}

.tile-box .tb-box-cover-in>.tb-image,
.tile-box .tb-box-cover-in>.tb-image-2 {
  position: absolute;
  left: 0%;
  top: 0%;
  width: 100%;
  height: 100%;
  transform: translateZ(3px);
  overflow: hidden;
}

.tile-box .tb-box-cover-in>.tb-image>img,
.tile-box .tb-box-cover-in>.tb-image-2>img {
  position: absolute;
  display: block;
  left: 50%;
  top: 50%;
  width: 100%;
  min-height: 100%;
  transform: translateX(-50%) translateY(-50%) rotateY(180deg);
}

.tile-box .tb-box-cover-in>.tb-image-2:before {
  content: "";
  position: absolute;
  left: 10%;
  top: 0%;
  width: 100%;
  height: 100%;
  background-color: #efede3;
}

.tile-box .tb-box-cover-in>.tb-image-2>img {
  mix-blend-mode: overlay;
}

.tile-box .tb-shadow {
  position: absolute;
  left: 0%;
  top: 0%;
  width: 100%;
  height: 100%;
}

.tile-box .tb-shadow>div {
  position: absolute;
  left: calc(50% + 1%);
  top: 50%;
  width: calc(31.72% + 16%);
  height: calc(65.6% + 16%);
  transform: translateX(-50%) translateY(-50%) translateZ(90px);
  background-color: #00000059;
  filter: blur(20px);
  opacity: 0;
}

#drop-area {
  width: 100%;
  height: 200px;
  border: 2px dashed #ccc;
  border-radius: 10px;
  text-align: center;
  font-family: Arial, sans-serif;
  cursor: pointer;
}

#file-list {
  margin-top: 20px;
  list-style-type: none;
}

.file-item {
  margin-bottom: 5px;
}

.faq {
  display: grid;
  grid-template-columns: 1fr;
  width: 100%;
  column-gap: 1em;
  row-gap: 1em;
  list-style-type: none;
  margin: 0 auto;
  border-radius: 4px;
  padding: 0;
  margin: 2em 0 0 0;
}

.faq label {
  display: block;
  position: relative;
  overflow: hidden;
  cursor: pointer;
  line-height: 1.5em;
  padding: 0.5em;
  border: 1px solid #E1E1E1;
}

.faq input[type="radio"] {
  display: none;
}

.faq .faq-arrow {
  width: 5px;
  height: 5px;
  transition: -webkit-transform 0.8s;
  transition: transform 0.8s;
  transition: transform 0.8s, -webkit-transform 0.8s;
  -webkit-transition-timing-function: cubic-bezier(0.68, -0.55, 0.265, 1.55);
  border-top: 2px solid rgba(0, 0, 0, 0.33);
  border-right: 2px solid rgba(0, 0, 0, 0.33);
  float: right;
  position: relative;
  top: -30px;
  right: 27px;
  -webkit-transform: rotate(45deg);
  transform: rotate(45deg);
}

.faq input[type="radio"]:checked+label>.faq-arrow {
  transition: -webkit-transform 0.8s;
  transition: transform 0.8s;
  transition: transform 0.8s, -webkit-transform 0.8s;
  -webkit-transition-timing-function: cubic-bezier(0.68, -0.55, 0.265, 1.55);
  -webkit-transform: rotate(135deg);
  transform: rotate(135deg);
}

.faq input[type="radio"]:checked+label {
  display: block;
  background: rgba(255, 255, 255, 255) !important;
  height: auto;
  transition: height 0.8s;
  -webkit-transition-timing-function: cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.faq input[type='radio']:not(:checked)+label {
  display: block;
  transition: height 0.8s;
  height: 1.5em;
  -webkit-transition-timing-function: cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

@media (max-device-width:480px) {
  #productgrid {
    grid-template-columns: 1fr
  }

  figcaption {
    display: none;
    visibility: hidden
  }

  #checkout {
    display: inline-block;
    grid-template-rows: auto
  }

  #hint {
    margin-left: 10px;
    margin-bottom: 15px;
    margin: 0 0 0 10px;
    float: none;
    line-height: 1em
  }

  #included {
    width: 100%;
    padding: 0 10px
  }

  #sum {
    margin: 0 10px 0 10px;
    padding: 0;
    border: none
  }

  #sum .pulse {
    width: calc(100% - 24px)
  }

  #sum select:not([name="issuer"]) {
    width: 100%
  }

  #sum>div {
    margin-top: 1em;
    margin-bottom: 1em
  }

  #sum>div span:not(:empty) {
    padding: 0 5px
  }

  #verzending {
    margin: 0 10px
  }

  .glare {
    position: relative;
    width: 91vw;
    overflow: hidden
  }

  .large {
    max-width: calc(100vw - 45px)
  }

  .thema {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-gap: 1vw
  }
}

@keyframes dialog-pop {
  0% {
    transform: translate(-50%, -50%) scale(0)
  }

  100% {
    transform: translate(-50%, -50%) scale(1)
  }
}

@media (max-device-width:979px) and (min-device-width:481px) {
  .overview li {
    width: 49%
  }

  .overview li img {
    width: 45vw;
    max-width: 400px;
    height: auto;
    margin-bottom: 1vw
  }

  .glare {
    position: relative;
    overflow: hidden;
    width: auto;
    height: auto
  }

  .glare:before {
    z-index: 100;
    background-image: linear-gradient(to bottom, rgba(255, 255, 255, .9), transparent 10px), linear-gradient(to top, rgba(0, 0, 0, .3), transparent 6px), linear-gradient(to left, transparent, rgba(255, 255, 255, .9) 10px), linear-gradient(to right, transparent, rgba(0, 0, 0, .3) 15px);
    background-position: top, bottom, left, right;
    background-size: 100% 10px, 100% 10px, 10px 100%, 10px 100%;
    background-repeat: no-repeat;
    content: '';
    display: block;
    position: absolute;
    top: 0
  }

  figure a.glare {
    position: relative;
    overflow: hidden;
    width: 400px;
    height: 400px;
    max-width: 93vw;
    max-height: 93vw
  }

  #view {
    display: flex;
    grid-area: product;
    width: 100%;
    margin-top: 2em
  }
}

@media (min-width:980px) {
  .faq {
    grid-template-columns: 1fr 1fr;
    column-gap: 1em;
  }

  .tile-box {
    perspective: 500px;
  }

  .grid-container {
    display: grid;
    grid-auto-columns: minmax(0, 1fr);
    grid-template-rows: auto;
    grid-auto-flow: column;
    margin-top: 2em;
  }

  #checkout #basketpage .row.orderitem {
    width: calc((98% * 0.5) - 10px);
    box-sizing: border-box;
  }

  #checkout #basketpage .row.orderitem:nth-child(even) {
    margin-right: 10px;
  }

  #checkout #basketpage .row.orderitem:nth-child(odd) {
    margin-left: 10px;
  }

  #checkout #basketpage .upsell {
    box-sizing: border-box;
  }

  :target:before {
    content: "";
    display: inline-block;
    height: 0;
    margin: -200px 0 0
  }

  body,
  html {
    background: #fff
  }

  figcaption {
    font-style: italic;
    margin-top: 10px;
    display: block;
    visibility: visible
  }

  footer {
    margin-top: 20px
  }

  footer div {
    width: 980px;
    margin: 0 auto
  }

  footer div ul {
    width: 240px;
    margin: 10px 0 30px 0
  }

  footer div ul li a:hover {
    text-decoration: underline
  }

  header {
    height: 58px;
    position: fixed;
    width: 100%;
    clear: all
  }

  header div {
    width: 980px;
    margin: 0 auto
  }

  main #wall .box {
    border-radius: 1px
  }

  main #wall ul {
    width: 980px;
    justify-content: space-between
  }

  main * #margin {
    margin: 0 auto
  }

  main * h1 {
    margin: 0 auto;
    font-size: 2em;
    margin-bottom: .2em
  }

  main section {
    width: 980px;
    margin: auto
  }

  nav {
    display: block;
    visibility: visible;
    top: 40px;
    position: relative;
    height: 40px
  }

  nav ul {
    list-style-type: none;
    padding: 0;
    margin: 0;
    margin: auto;
    width: 980px
  }

  nav ul li {
    width: 200px;
    float: left;
    line-height: 40px;
    text-align: center
  }

  nav ul li a {
    text-transform: uppercase;
    color: #000;
    font-weight: 700;
    text-decoration: none
  }

  nav ul li a:hover {
    color: #275cab
  }

  nav ul li:nth-child(3) {
    margin-left: 180px
  }

  #aantaltegels {
    display: inline-block;
    height: 28px;
    padding: 5px 5px;
    font-size: 22px;
    line-height: 28px;
    color: #000 !important;
    max-width: 90vw;
    background: #fff !important;
    border: 1px solid #ccc !important;
    border-radius: 3px !important;
    box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075) !important;
    font-size: 14px;
    -webkit-transition: border-color ease-in-out .25s, -webkit-box-shadow ease-in-out .25s !important;
    -o-transition: border-color ease-in-out .25s, box-shadow ease-in-out .25s !important;
    transition: border-color ease-in-out .25s, box-shadow ease-in-out .25s !important;
    margin: 0 5px
  }

  #aantaltegeltjestotaal::before {
    content: "";
    display: inline-block;
    height: 150px;
    margin: -150px 0 0
  }

  #basketpage h2 {
    margin-top: 0
  }

  #cropbox {
    display: none;
    position: absolute;
    text-align: left;
    right: auto;
    left: auto;
    top: 162px;
    background-color: #fff;
    width: 100%;
    z-index: 4999 !important;
    max-width: 470px;
    height: 500px;
    margin-right: 0;
    margin-left: 0;
    margin-top: 0
  }

  #en {
    background: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTIwMCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB2aWV3Qm94PSIwIDAgNjAgMzAiIGhlaWdodD0iNjAwIj4NCjxkZWZzPg0KPGNsaXBQYXRoIGlkPSJ0Ij4NCjxwYXRoIGQ9Im0zMCwxNWgzMHYxNXp2MTVoLTMwemgtMzB2LTE1enYtMTVoMzB6Ii8+DQo8L2NsaXBQYXRoPg0KPC9kZWZzPg0KPHBhdGggZmlsbD0iIzAwMjQ3ZCIgZD0ibTAsMHYzMGg2MHYtMzB6Ii8+DQo8cGF0aCBzdHJva2U9IiNmZmYiIHN0cm9rZS13aWR0aD0iNiIgZD0ibTAsMGw2MCwzMG0wLTMwbC02MCwzMCIvPg0KPHBhdGggc3Ryb2tlPSIjY2YxNDJiIiBzdHJva2Utd2lkdGg9IjQiIGQ9Im0wLDBsNjAsMzBtMC0zMGwtNjAsMzAiIGNsaXAtcGF0aD0idXJsKCN0KSIvPg0KPHBhdGggc3Ryb2tlPSIjZmZmIiBzdHJva2Utd2lkdGg9IjEwIiBkPSJtMzAsMHYzMG0tMzAtMTVoNjAiLz4NCjxwYXRoIHN0cm9rZT0iI2NmMTQyYiIgc3Ryb2tlLXdpZHRoPSI2IiBkPSJtMzAsMHYzMG0tMzAtMTVoNjAiLz4NCjwvc3ZnPg0K);
    width: 30px;
    height: 15px;
    display: inline-block;
    background-size: 100% 100%
  }

  #fh div:hover {
    background-color: #fefefe
  }

  #item {
    margin: 0;
    flex: 50%
  }

  #logo {
    position: fixed;
    top: 0;
    z-index: 100;
    margin-left: -83px;
    left: 50%;
    height: 96px;
    width: 122px
  }

  #logo img {
    height: 96px;
    margin-top: 0
  }

  #mand {
    position: absolute;
    visibility: visible;
    display: block;
    margin-left: 900px;
    color: #fff;
    left: 467px;
    top: 17px
  }

  #mand #basket {
    margin-left: 0
  }

  #mand a {
    text-decoration: none;
    color: #fff
  }

  #moblayer {
    position: relative;
    display: inline-block !important;
    bottom: 0;
    width: auto;
    left: 25px;
    height: 39px;
    background: 0 0
  }

  #moblayer div a:last-child {
    display: inline-block;
    text-transform: uppercase;
    color: #fff;
    text-align: center;
    font-weight: 700;
    line-height: 18px;
    text-decoration: none;
    width: auto;
    margin-top: 0
  }

  #moblayer div br {
    display: none
  }

  #moblayer div input {
    border: 0;
    text-align: center;
    background: #275cab;
    font-weight: 700;
    color: #fff
  }

  #nl {
    background: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iOTAwIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIGhlaWdodD0iNjAwIiB2aWV3Qm94PSIwIDAgOSA2Ij4NCjxwYXRoIGZpbGw9IiMyMTQ2OGIiIGQ9Im0wLDBoOXY2aC05eiIvPg0KPHBhdGggZmlsbD0iI2ZmZiIgZD0ibTAsMGg5djRoLTl6Ii8+DQo8cGF0aCBmaWxsPSIjYWUxYzI4IiBkPSJtMCwwaDl2MmgtOXoiLz4NCjwvc3ZnPg0K);
    width: 30px;
    height: 15px;
    display: inline-block;
    background-size: 100% 100%
  }

  #paymentoptions,
  #zoom,
  .hide {
    display: none;
    visibility: hidden
  }

  #prevbox {
    position: relative;
    top: -510px;
    left: 480px;
    z-index: 500;
    background: #fff;
    height: 500px;
    width: 500px;
    overflow: visible;
    -webkit-animation: none;
    animation: none;
    -moz-animation: none;
    -webkit-box-shadow: none;
    -moz-box-shadow: none;
    box-shadow: none
  }

  #prevbox img {
    width: 500px;
    height: auto;
    position: absolute
  }

  #product {
    width: 400px;
    margin: 0;
    flex: 50%;
    width: 50%
  }

  #product figure {
    margin: auto auto;
    text-align: center;
    max-width: 400px
  }

  #productpreviewcontent,
  #productpreviewholder {
    width: 480px;
    display: inline-block;
    vertical-align: text-top
  }

  #productpreviewholder figure img {
    width: 400px;
    height: auto
  }

  #productpreviewholder figure img {
    background: #fff;
    -webkit-animation: swinging 10s ease-in-out 0s infinite;
    -moz-animation: swinging 10s ease-in-out 0s infinite;
    animation: swinging 10s ease-in-out 0s infinite;
    -webkit-transform-origin: 50% 0;
    -moz-transform-origin: 50% 0;
    transform-origin: 50% 0;
    margin-top: -10px
  }

  #stats {
    left: auto;
    position: relative;
    top: 10px;
    display: block;
    visibility: visible
  }

  #tabholder .tablabel {
    text-indent: 0;
    height: 2em;
    width: auto;
    line-height: auto;
    display: inline-block;
    padding: 10px 10px 0 10px
  }

  #tabholder .tablabel i {
    position: static;
    top: 0;
    left: 0
  }

  #tabholder .tablabel span {
    visibility: visible;
    display: inline-block
  }

  #tabholder .tablabel:nth-child(2) {
    margin-left: 0
  }

  #tabholder:target:before {
    content: "";
    position: relative;
    visibility: hidden;
    margin: 0 0 0
  }

  #tegeltext:focus~#updatebutton {
    left: 353px;
    top: 50px
  }

  #top {
    height: 120px
  }

  #usp {
    width: 460px;
    display: inline-block;
    line-height: 1.5em
  }

  #usp li div {
    width: 406px !important
  }

  #verzending {
    width: 495px
  }

  #verzending,
  .payments {
    margin-top: 20px;
    display: inline-block
  }

  #view {
    display: flex;
    grid-area: product;
    width: 100%;
    margin-top: 2em
  }

  #zoom:checked+#prevbox {
    position: relative;
    top: -510px;
    left: 480px;
    z-index: 500;
    background: #fff;
    height: 500px;
    width: 500px;
    overflow: visible;
    -webkit-animation: none;
    animation: none;
    -moz-animation: none;
    -webkit-box-shadow: none;
    -moz-box-shadow: none;
    box-shadow: none;
    border: 0
  }

  #zoom:checked+#prevbox img {
    width: 500px;
    height: auto;
    position: absolute
  }

  #zoom:checked+#prevbox::after {
    display: none;
    visibility: hidden
  }

  #zoom:checked+#prevbox>#closepreview {
    display: none;
    visibility: hidden
  }

  .contact {
    width: 710px !important;
    display: flex
  }

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

  .glare:after {
    content: "";
    overflow: hidden;
    position: absolute;
    top: 0;
    left: -200px;
    width: 0;
    height: 100%;
    transform: skewX(-45deg);
    background-color: rgba(255, 255, 255, .7);
    -webkit-transition: none;
    -moz-transition: none;
    -ms-transition: none;
    -o-transition: none;
    transition: none
  }

  .glare:hover:after {
    width: 50%;
    left: 500px;
    background-color: rgba(255, 255, 255, 0);
    -webkit-transition: all .5s ease-in;
    -moz-transition: all .5s ease-in;
    -ms-transition: all .5s ease-in;
    -o-transition: all .5s ease-in;
    transition: all .5s ease-in
  }

  .hidefs {
    visibility: hidden;
    display: none
  }

  .margincor a:nth-child(2) {
    margin-left: 65px
  }

  .offer {
    width: 960px
  }

  .overview {
    width: 980px;
    margin: 0;
    padding: 0
  }

  .overview li img {
    background: #fff;
    width: 300px;
    height: auto;
    filter: brightness(.96)
  }

  .page {
    min-height: 500px
  }

  .payments {
    width: 480px;
    vertical-align: top
  }

  .payments #methods {
    width: 480px
  }

  .payments #methods li {
    display: inline-block;
    width: 235px
  }

  .payments #methods li:nth-child(even) {
    margin-left: 10px
  }

  .payments,
  .payments label {
    width: 480px;
    vertical-align: top
  }

  .row {
    width: 44%;
    display: inline-block;
    margin: 10px 0;
    line-height: 60px
  }

  .row a:nth-child(2) {
    margin-left: 10px
  }

  .row a:nth-child(4) {
    margin-right: 10px
  }

  .row img {
    vertical-align: middle;
    -webkit-box-shadow: 0 0 23px 0 rgba(0, 0, 0, .4);
    -moz-box-shadow: 0 0 5px 0 rgba(0, 0, 0, .4);
    box-shadow: 0 0 5px 0 rgba(0, 0, 0, .4)
  }

  .row:nth-child(2n+3):not(:first-child) {
    margin: 10px 0 0 20px
  }

  .upsell {
    width: 98%;
    display: inline-block
  }
}

@media (min-width:1380px) {
  footer div ul {
    width: 24%
  }

  .overview,
  footer div,
  header div,
  main section,
  main #wall ul {
    width: 1320px
  }
}

@media (max-width:320px) {
  #usp li div {
    vertical-align: text-top;
    display: inline-block;
    width: 280px !important
  }
}

@-webkit-keyframes bounce {

  0%,
  100% {
    -webkit-transform: translateY(0)
  }

  50% {
    -webkit-transform: translateY(-5px)
  }
}

@keyframes bounce {

  0%,
  100% {
    transform: translateY(0)
  }

  50% {
    transform: translateY(-5px)
  }
}

@keyframes pulse-shadow {
  0% {
    box-shadow: rgb(0 172 0) 0 -2px 0 0 inset
  }

  10% {
    box-shadow: rgb(0 172 0) 0 -2px 0 0 inset, 0 5px 5px rgba(0, 0, 0, .4);
    transition: box-shadow .3s ease-in-out;
    transform: scale(1.1)
  }

  20% {
    box-shadow: rgb(0 172 0) 0 -2px 0 0 inset;
    transform: scale(1)
  }
}

.tile-box .tb-size {
  transform: rotateX(60deg) rotateY(0deg) rotateZ(90deg);
  animation: tb-size-rotate-1 1.05s forwards 1s ease-in-out, tb-size-rotate-2 0.7s forwards 5s ease-in-out;
}

@keyframes tb-size-rotate-1 {
  0% {
    transform: rotateX(60deg) rotateY(0deg) rotateZ(90deg);
  }

  100% {
    transform: rotateX(30deg) rotateY(0deg) rotateZ(0deg);
  }
}

@keyframes tb-size-rotate-2 {
  0% {
    transform: rotateX(30deg) rotateY(0deg) rotateZ(0deg);
  }

  100% {
    transform: rotateX(0deg) rotateY(0deg) rotateZ(0deg);
  }
}

.tile-box .tb-cover {
  left: 25.75%;
  animation: tb-cover-move-1 1.05s forwards 1.45s ease-in-out, tb-cover-move-2 0.7s forwards 3.05s ease-in-out, tb-cover-move-3 0.9s forwards 3.85s ease-in-out;
}

@keyframes tb-cover-move-1 {
  0% {
    left: 25.75%;
  }

  100% {
    left: 0%;
  }
}

@keyframes tb-cover-move-2 {
  0% {
    left: 0%;
  }

  100% {
    left: 25.75%;
  }
}

@keyframes tb-cover-move-3 {
  0% {
    left: 25.75%;
  }

  100% {
    left: 51.5%;
  }
}

.tile-box .tb-box {
  left: 25.75%;
  animation: tb-box-move-1 1.05s forwards 1.45s ease-in-out, tb-box-move-2 0.7s forwards 2.75s ease-in-out, tb-box-move-3 0.9s forwards 3.85s ease-in-out;
}

@keyframes tb-box-move-1 {
  0% {
    left: 25.75%;
  }

  100% {
    left: 51.5%;
  }
}

@keyframes tb-box-move-2 {
  0% {
    left: 51.5%;
    transform: translateZ(3px);
  }

  50% {
    transform: translateZ(50px);
  }

  100% {
    left: 25.75%;
    transform: translateZ(19px);
  }
}

@keyframes tb-box-move-3 {
  0% {
    left: 25.75%;
  }

  100% {
    left: 51.5%;
  }
}

.tile-box .tb-tile {
  left: 37.2%;
  animation: tb-tile-move-1 1.05s forwards 1.45s ease-in-out, tb-tile-move-2 0.7s forwards 2.75s ease-in-out, tb-tile-move-3 0.9s forwards 3.85s ease-in-out, tb-tile-show-1 1s forwards 5s ease-in-out;
}

@keyframes tb-tile-move-1 {
  0% {
    left: 37.2%;
  }

  100% {
    left: 62.95%;
  }
}

@keyframes tb-tile-move-2 {
  0% {
    left: 62.95%;
    transform: translateZ(5px);
  }

  50% {
    transform: translateZ(52px);
  }

  100% {
    left: 37.2%;
    transform: translateZ(21px);
  }
}

@keyframes tb-tile-move-3 {
  0% {
    left: 37.2%;
  }

  100% {
    left: 62.95%;
  }
}

@keyframes tb-tile-show-1 {
  0% {
    left: 62.95%;
    transform: translateZ(21px);
  }

  50% {
    left: 34.14%;
    transform: translateZ(150px) rotateY(-30deg);
  }

  100% {
    left: 34.14%;
    transform: translateZ(150px) rotateY(0deg);
  }
}

.tile-box .tb-box-cover {
  left: 25.75%;
  animation: tb-box-cover-move-1 1.05s forwards 1.45s ease-in-out, tb-box-cover-move-2 0.7s forwards 2.75s ease-in-out, tb-box-cover-open-1 0.9s forwards 3.85s ease-in-out;
}

@keyframes tb-box-cover-move-1 {
  0% {
    left: 25.75%;
  }

  100% {
    left: 51.5%;
  }
}

@keyframes tb-box-cover-move-2 {
  0% {
    left: 51.5%;
    transform: translateZ(13px);
  }

  50% {
    transform: translateZ(60px);
  }

  100% {
    left: 25.75%;
    transform: translateZ(29px);
  }
}

@keyframes tb-box-cover-open-1 {
  0% {
    left: 25.75%;
    transform: translateZ(29px);
  }

  100% {
    left: 51.5%;
    transform: translateZ(29px) rotateY(-165deg);
  }
}

/* change */
.tile-box.tile-box-5 .tb-tile-in {
  animation: tb-tile-change-1-5 16s forwards 6s ease-in-out;
}

@keyframes tb-tile-change-1-5 {
  0% {
    transform: rotateY(0deg);
  }

  0.00625% {
    transform: rotateY(0deg);
  }

  12.5% {
    transform: rotateY(0deg);
  }

  22.5% {
    transform: rotateY(-390deg);
  }

  25% {
    transform: rotateY(-360deg);
  }

  25% {
    transform: rotateY(-360deg);
  }

  25.00625% {
    transform: rotateY(-360deg);
  }

  37.5% {
    transform: rotateY(-360deg);
  }

  47.5% {
    transform: rotateY(-750deg);
  }

  50% {
    transform: rotateY(-720deg);
  }

  50% {
    transform: rotateY(-720deg);
  }

  50.00625% {
    transform: rotateY(-720deg);
  }

  62.5% {
    transform: rotateY(-720deg);
  }

  72.5% {
    transform: rotateY(-1110deg);
  }

  75% {
    transform: rotateY(-1080deg);
  }

  75% {
    transform: rotateY(-1080deg);
  }

  75.00625% {
    transform: rotateY(-1080deg);
  }

  87.5% {
    transform: rotateY(-1080deg);
  }

  97.5% {
    transform: rotateY(-1470deg);
  }

  100% {
    transform: rotateY(-1440deg);
  }
}

.tile-box .tb-tile-in>.tb-image>img {
  opacity: 0;
}

.tile-box .tb-tile-in>.tb-image>img:nth-child(1) {
  opacity: 1;
}

.tile-box.tile-box-5 .tb-tile-in>.tb-image>img:nth-child(2) {
  animation: tb-tile-image-show-2-5 0.01s forwards 9s;
}

@keyframes tb-tile-image-show-2-5 {
  0% {
    opacity: 0;
  }

  100% {
    opacity: 1;
  }
}

.tile-box.tile-box-5 .tb-tile-in>.tb-image>img:nth-child(3) {
  animation: tb-tile-image-show-3-5 0.01s forwards 13s;
}

@keyframes tb-tile-image-show-3-5 {
  0% {
    opacity: 0;
  }

  100% {
    opacity: 1;
  }
}

.tile-box.tile-box-5 .tb-tile-in>.tb-image>img:nth-child(4) {
  animation: tb-tile-image-show-4-5 0.01s forwards 17s;
}

@keyframes tb-tile-image-show-4-5 {
  0% {
    opacity: 0;
  }

  100% {
    opacity: 1;
  }
}

.tile-box.tile-box-5 .tb-tile-in>.tb-image>img:nth-child(5) {
  animation: tb-tile-image-show-5-5 0.01s forwards 21s;
}

@keyframes tb-tile-image-show-5-5 {
  0% {
    opacity: 0;
  }

  100% {
    opacity: 1;
  }
}

.tile-box.tile-box-5 .tb-shadow>div {
  opacity: 0;
  animation: tb-tile-shadow-1-5 17s forwards 5s ease-in-out;
}

@keyframes tb-tile-shadow-1-5 {
  0% {
    opacity: 0;
  }

  5.8823529412% {
    opacity: 1;
  }

  17.6470588235% {
    opacity: 1;
  }

  23.5294117647% {
    opacity: 0;
  }

  29.4117647059% {
    opacity: 1;
  }

  41.1764705882% {
    opacity: 1;
  }

  47.0588235294% {
    opacity: 0;
  }

  52.9411764706% {
    opacity: 1;
  }

  64.7058823529% {
    opacity: 1;
  }

  70.5882352941% {
    opacity: 0;
  }

  76.4705882353% {
    opacity: 1;
  }

  88.2352941176% {
    opacity: 1;
  }

  94.1176470588% {
    opacity: 0;
  }

  100% {
    opacity: 1;
  }
}

.tile-box.tile-box-5 .tb-tile-in>.tb-image:after {
  opacity: 0;
  animation: tb-tile-Reflection-1-5 17s forwards 5s ease-in-out;
}

@keyframes tb-tile-Reflection-1-5 {
  0% {
    opacity: 0;
  }

  2.9411764706% {
    opacity: 1;
  }

  5.8823529412% {
    opacity: 0;
  }

  23.5294117647% {
    opacity: 0;
  }

  27.0588235294% {
    opacity: 1;
  }

  29.4117647059% {
    opacity: 0;
  }

  47.0588235294% {
    opacity: 0;
  }

  50.5882352941% {
    opacity: 1;
  }

  52.9411764706% {
    opacity: 0;
  }

  70.5882352941% {
    opacity: 0;
  }

  74.1176470588% {
    opacity: 1;
  }

  76.4705882353% {
    opacity: 0;
  }

  94.1176470588% {
    opacity: 0;
  }

  97.6470588235% {
    opacity: 1;
  }

  100% {
    opacity: 0;
  }
}

/* used only for live browser testing - do not include anywhere */

/* mandje */

body {
  --transition-duration: 0.5s;
  --selection-color: 38, 184, 38;
  --selection-border-size: 2px;
  --selection-opacity: 0.1;
  --left-padding: 20px;
  --right-padding: var(--left-padding);
  --border-color: #efefef;
  --light-color: #efefef;
  --max-width: 1320px;
  --vertical-margin: 40px;
  --vertical-gap: 20px;
  --input-padding: 10px;
  --horizontal-gap: 20px;
  --color-unselect: 201, 48, 44;
  --color-select: #26B826;
  --input-margin: 10px;
  --link-color: #275cab;
  --header-height: 58px;
  --menu-background-color: #f7f7f7;
  --primary-color: #275cab;
  --bread-height: 13px;
  --bread-line-height: 2px;
  --bread-line-width: 25px;
  --dialog-transition: 0.5s;
  --tabholder-button-size: 100px;
  --margin-below-header: 10px;
  --tile-border-size: 3px;
  --tile-border-color: #c6a992;
  --tile-shadow: 6px 6px 10px 4px rgba(0, 0, 0, .1);
}

#checkout {
  display: flex;
  box-sizing: border-box;
  padding-left: var(--left-padding);
  padding-right: var(--right-padding);
  width: 100%;
  max-width: var(--max-width);
}

#checkout>div:nth-child(1) {
  width: 70%;
}

#checkout>div:nth-child(2) {
  width: 30%;
}

#checkout div:has(> .radio-toggle):has(> label) {
  display: inline-flex;
  align-items: center;
  margin-bottom: 5px;
  cursor: pointer;
  position: relative;
  padding-right: 10px;
  user-select: none;
}

#checkout div:has(> .radio-toggle):has(> label)>label {
  position: absolute;
  display: block;
  left: 0%;
  top: 0%;
  width: 100%;
  height: 100%;
  cursor: pointer;
}

#checkout div:has(> .radio-toggle):has(> label)>label:nth-last-child(1) {
  display: none;
}

#checkout div:has(> .radio-toggle):has(> label):has(input:checked)>label:nth-last-child(1) {
  display: block;
}

.radio-toggle {
  margin: 0px;
  padding: 0px;
  margin-right: 10px;
  position: relative;
  -webkit-appearance: none;
  width: 58px;
  min-width: 58px;
  height: 32px;
  min-height: 32px;
  background-color: rgba(var(--color-unselect), 1);
  border-radius: 15px;
  cursor: pointer;
  font-size: 10px;
  font-family: arial;
  transition: border 0.2s;
  display: inline-block;
  box-sizing: border-box;
}

.radio-toggle:checked {
  background-color: var(--color-select);
}

/*.radio-toggle:before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translateX(-50%) translateY(-50%);
  width: 100%;
  text-align: center;
  line-height: 1;
  box-sizing: border-box;
  cursor: pointer;
  font-size: 10px;
  font-family: arial;
}*/
.radio-toggle:after {
  content: "";
  position: absolute;
  left: 3px;
  top: 3px;
  width: 26px;
  height: 26px;
  background-color: #ffffff;
  box-sizing: border-box;
  border-radius: 50%;
  transition: left 0.2s;
  box-sizing: border-box;
  cursor: pointer;
  font-size: 10px;
  font-family: arial;
}

.radio-toggle:checked:after {
  left: 29px;
  right: 0px;
}

#checkout #shipping_address.radio-toggle {
  margin: 0px;
  margin-right: 10px;
}

#checkout #shippingbox {
  max-height: 0px;
  overflow: hidden;
  transition: max-height var(--transition-duration), padding-bottom var(--transition-duration);
  padding-bottom: 0px;
}

#checkout:has(#shipping_address.radio-toggle:checked) #shippingbox {
  max-height: 999px;
  padding-bottom: calc(var(--vertical-margin) * 0.5);
}

#checkout {
  padding-bottom: 20px;
}

#checkout #locations {
  display: block;
  max-height: 0px;
  overflow: hidden;
  transition: max-height var(--transition-duration), padding var(--transition-duration), opacity var(--transition-duration);
  /*  opacity: 0.5;*/
  /*  pointer-events: none;*/
}

#checkout:has(#pickup_address.radio-toggle:checked) #locations {
  padding-top: 20px;
  padding-bottom: 0px;
  max-height: 1500px;
}

#checkout #pickup {
  opacity: 1;
  /*opacity: 0.5;
  transition: opacity var(--transition-duration);*/
  /*  pointer-events: none;*/
  display: none;
}

body:not(:has(#basket[total="0"])):not(:has(#basket[total="1"])):not(:has(#basket[total="2"])):has(#form-land[value="NL"]):not(:has(#form-postcode[value=""])):not(:has(#form-huisnummer[value=""])) #pickup,
body:not(:has(#basket[total="0"])):not(:has(#basket[total="1"])):not(:has(#basket[total="2"])):has(#form-land[value="NL"]):not(:has(#form-postcode[value=""])):not(:has(#form-huisnummer[value=""])) #locations {
  display: block;
  /*opacity: 1;
  pointer-events: auto;*/
}

#checkout #locations .loader {
  width: 100%;
  box-sizing: border-box;
  opacity: 0;
  transition: opacity var(--transition-duration), max-height var(--transition-duration);
  pointer-events: none;
  max-height: 0px;
}

#checkout #locations.loading .loader {
  opacity: 1;
  max-height: 999px;
}

#checkout #locations .loader>div {
  position: relative;
  min-height: 40px;
  border-radius: 5px;
  background-color: #efefef;
  overflow: hidden;
  margin-bottom: 3px;
  width: 50%;
}

#checkout #locations .loader>div:after {
  content: "";
  position: absolute;
  left: 0%;
  top: 0%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, rgba(234, 234, 234, 0) 0%, rgba(234, 234, 234, 1) 45%, rgba(255, 255, 255, 1) 55%, rgba(255, 255, 255, 0) 100%);
  left: -100%;
  animation: location-placeholder-1 calc(var(--transition-duration) * 2) infinite;
}

@keyframes location-placeholder-1 {
  0% {
    left: -100%;
  }

  100% {
    left: 100%;
  }
}

#checkout #locations .loader>div:nth-child(2) {
  width: 70%;
}

#checkout #locations .loader>div:nth-child(3) {
  width: 60%;
}

#checkout #locations .loader>div:nth-child(2):after {
  animation-delay: calc(var(--transition-duration) * 0.5 * 1);
}

#checkout #locations .loader>div:nth-child(3):after {
  animation-delay: calc(var(--transition-duration) * 0.5 * -2);
}

#checkout #locations .list {
  width: 100%;
  opacity: 0;
  max-height: 0px;
  overflow: hidden;
  transition: opacity var(--transition-duration), max-height var(--transition-duration);
  pointer-events: none;
}

#checkout #locations:not(.loading) .list {
  opacity: 1;
  pointer-events: inherit;
  max-height: 1500px;
  padding-right: 0px;
  box-sizing: border-box;
}

#checkout #locations .list .item.dummy {
  display: none;
}

#checkout #locations .list .item {
  padding: 20px;
  background-color: rgba(0, 0, 0, 0.04);
  margin-bottom: 3px;
  border-radius: 10px;
  cursor: pointer;
  transition: background-color var(--transition-duration), box-shadow var(--transition-duration), border var(--transition-duration);
  border: 2px solid transparent;
  display: flex;
  column-gap: var(--left-padding);
  align-items: flex-start;
  position: relative;
}

#checkout #locations .list .item>div:nth-child(1) {
  background-color: rgba(var(--color-unselect), 1);
  border-radius: 50px;
  width: 30px;
  height: 30px;
  overflow: hidden;
  position: relative;
  opacity: 0.1;
  transition: opacity var(--transition-duration), background-color var(--transition-duration);
}

#checkout #locations .list .item>div:nth-child(1):has(input:checked) {
  background-color: rgba(var(--selection-color), 1);
  opacity: 1;
}

#checkout #locations .list .item>div:nth-child(1) img {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 60%;
  transform: translateX(-50%) translateY(-50%);
  opacity: 0;
  transition: opacity var(--transition-duration);
}

#checkout #locations .list .item>div:nth-child(1):has(input:checked) img {
  opacity: 1;
}

#checkout #locations .list .item>div:nth-child(1) input {
  display: none;
}

#checkout #locations .list .item label {
  position: absolute;
  left: 0%;
  top: 0%;
  width: 100%;
  height: 100%;
}

#checkout #locations .list .item:has(input:checked) label {
  display: none;
}

#checkout #locations .list .item:nth-child(odd) {
  background-color: rgba(0, 0, 0, 0.01);
}

#checkout #locations .list .item:hover,
#checkout #locations .list .item:focus {
  background-color: rgba(0, 0, 0, 0.1);
  /*  box-shadow: 0px 0px 5px rgba(0, 0, 0, 0.2);*/
}

#checkout #locations .list .item:has(input:checked) {
  background-color: rgba(var(--selection-color), var(--selection-opacity));
  border: 2px solid rgba(var(--selection-color), 1);
}

#checkout #locations .list .item>div>span {
  display: block;
}

#checkout #locations .list .item>div>span:nth-last-child(2) {
  margin-top: 10px;
}

#checkout #locations .error {
  box-sizing: border-box;
  width: calc(100% - 0px);
  background-color: rgba(0, 0, 0, 0.04);
  padding: 20px;
  display: none;
}

#checkout #locations:not(.loading):not(:has(.list .item:nth-child(2))) .error {
  display: block;
}

#checkout #locations .list .item>div:nth-child(2) {}

#checkout #locations .list .item>div:nth-child(2)>div {
  max-height: 0px;
  overflow: hidden;
  transition: max-height var(--transition-duration);
  padding-left: calc(var(--left-padding) * 0.5);
  padding-top: calc(0.25 * var(--vertical-margin));
}

#checkout #locations .list .item>div:nth-child(2):focus>div,
#checkout #locations .list .item>div:nth-child(2):focus-within>div {
  max-height: 200px;
}

#checkout #locations .list .item>div:nth-child(2)>div>div {
  display: flex;
  column-gap: var(--left-padding);
  font-size: 0.9em;
  text-transform: capitalize;
}

#checkout #locations .list .item>div:nth-child(2)>div>div span:nth-child(1) {
  width: 80px;
}

#checkout #locations .list .item>div:nth-child(2) span:has(i) {
  color: var(--link-color);
}

#checkout #locations .list .item>div:nth-child(2) i {
  transform: rotateZ(-90deg);
  transition: transform var(--transition-duration);
}

#checkout #locations .list .item>div:nth-child(2):focus i,
#checkout #locations .list .item>div:nth-child(2):focus-within i {
  transform: rotateZ(0deg);
}

#checkout #sum {
  border-left: 1px solid var(--border-color);
  padding-left: var(--left-padding);
  line-height: inherit;
  box-sizing: border-box;
}

#checkout #sum>div.zig-zag-top {
  --row-gap: calc(0.35 * var(--vertical-margin));
  display: flex;
  flex-direction: column;
  width: 100%;
  row-gap: var(--row-gap);
  margin-bottom: calc(0.5 * var(--vertical-margin));
}

#checkout #sum>div.zig-zag-top label {
  cursor: initial;
}

#checkout #sum>div.zig-zag-top>span,
#checkout #sum>div.zig-zag-top br {
  display: none;
}

#checkout #sum>div.zig-zag-top>div,
#checkout #sum>div.zig-zag-top>div>#kassatotaal,
#checkout #sum>div.zig-zag-top>#extra>div {
  display: flex;
  width: 100%;
  column-gap: calc(var(--left-padding) * 0.5);
  align-items: flex-end;
  text-align: left;
  margin-bottom: 0px;
  position: relative;
}

#checkout #sum>div.zig-zag-top>#extra>div:not(:last-child) {
  margin-bottom: var(--row-gap);
}

#checkout #sum>div.zig-zag-top>div:has(> #kassatotaal)>span {
  align-items: flex-start;
}

#checkout #sum>div.zig-zag-top>div>#kassatotaal:before {
  content: "";
  position: absolute;
  top: calc(0% - (0.5 * var(--row-gap)));
  right: 0%;
  width: 100%;
  border-top: 1px solid #cccccc;
}

#checkout #sum #totaldiscount {
  width: 100%;
  margin-bottom: calc(var(--vertical-margin) * 0.5);
  display: flex;
  text-align: center;
  font-size: 1em;
  font-weight: bold;
  color: var(--color-select);
}

#checkout #sum>div.zig-zag-top>div:not(:has(> span)) {
  display: none;
}

#checkout #sum>div.zig-zag-top>div *:last-child:not(label) {
  flex-grow: 100;
  min-width: 80px;
  text-align: right;
}

#checkout #sum>div.zig-zag-top>div:has(#kassatotaal)>*,
#checkout #sum>div.zig-zag-top>div:has(#verzendkosten)>* {
  min-width: 1%;
}

#checkout #sum>div.zig-zag-top #kassatotaal .grandtotal {
  border-top: none;
  position: relative;
}

#checkout #sum select {
  width: 100%;
}

footer {
  padding-top: var(--vertical-margin);
  padding-bottom: var(--vertical-margin);
  box-sizing: border-box;
  overflow: hidden;
  display: flex;
  justify-content: center;
}

ul {
  margin: 0px;
}

footer>div {
  max-width: var(--max-width);
  display: flex;
  position: relative;
  box-sizing: border-box;
  margin: 0px;
  width: 100% !important;
  column-gap: var(--horizontal-gap);
  row-gap: calc(var(--vertical-gap) * 2);
  flex-wrap: wrap;
  padding-left: var(--left-padding);
  padding-right: var(--right-padding);
}

footer>div ul {
  width: calc(25% - 15px);
  max-width: 25%;
  margin: 0px;
}

footer>div>div {
  position: relative;
  top: auto;
  width: 100%;
}

footer>div ul li img {
  display: block;
  max-width: 100%;
}

footer br {
  display: none;
}

footer>div ul:nth-child(3) {
  align-self: flex-start;
}

header {
  display: flex;
  flex-wrap: wrap;
  width: 100%;
  max-width: var(--max-width);
  left: 50%;
  transform: translateX(-50%);
  box-sizing: border-box;
  padding-left: var(--left-padding);
  padding-right: var(--right-padding);
}

header:before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 9999px;
  height: calc(100% + 2px);
  transform: translateX(-50%) translateY(-50%);
  background-color: inherit;
  box-sizing: border-box;
  z-index: -1;
}

header>* {
  /*position: initial !important;
  width: auto !important;
  margin-left: 0px !important;*/
  flex-grow: 100;
}

header>*:nth-child(1) {
  width: auto;
}

#mand {
  position: relative;
  margin-left: 0px;
  width: auto;
  left: auto;
  top: auto;
  display: flex;
  justify-content: flex-end;
  box-shadow: none !important;
  text-shadow: none !important;
  color: #ffffff;
}

#mand>* {
  display: flex;
  align-items: center;
  height: 100%;
}

#mand>a:nth-child(2) {
  position: relative;
  width: auto;
  left: auto;
  right: calc(0% - (0.5 * var(--right-padding)));
  top: calc(0% + 0px);
  margin: 0px;
  min-width: 100px;
  height: 75%;
  background: none;
  border: none;
  border-bottom: 0px;
  box-shadow: none !important;
  justify-content: center;
  padding-right: var(--right-padding);
  padding-left: var(--left-padding);
  color: inherit !important;
  text-shadow: none !important;
  font-size: inherit;
  padding-top: 0px;
  padding-bottom: 0px;
  overflow: hidden;
  column-gap: 5px;
  line-height: 1;
}

#mand>a:nth-child(2):before {
  content: "";
  position: absolute;
  left: 0%;
  top: calc(0% - 1px);
  width: 100%;
  height: 100%;
  box-sizing: border-box;
  --r: 0.8em;
  border-inline: var(--r) solid #0000;
  border-radius: calc(2*var(--r)) calc(2*var(--r)) 0 0/var(--r);
  mask:
    radial-gradient(var(--r) at var(--r) 0, transparent 98%, #000 101%) calc(-1*var(--r)) 100%/100% var(--r) repeat-x,
    conic-gradient(red 0 0) padding-box;
  background: rgba(255, 255, 255, 0.15);
  z-index: -1;
  transform: rotateX(180deg);
  transition: background var(--transition-duration);
}

#mand>a:nth-child(2)>i {
  margin-right: 5px;
}

#mand>a:nth-child(2):hover:before {
  background: rgba(255, 255, 255, 0.30);
}

#mand>a {
  cursor: pointer;
}

#checkout #basketpage {
  box-sizing: border-box;
  padding-right: var(--right-padding);
  padding-left: 7px;
  margin-left: -7px;
  width: calc(70% + 7px);
}

#checkout #basketpage .upsell {
  width: 100%;
  box-sizing: border-box;
  background: none;
  display: flex;
  flex-direction: column;
  padding-left: 0px;
  padding-right: 0px;
  row-gap: 3px;
  padding-top: 20px;
}

#checkout .upsell .fp {
  background-color: #f7f7f7;
  margin-bottom: 0px;
  padding: 10px;
  box-sizing: border-box;
}

#checkout .upsell>br {
  display: none;
}

#checkout #basketpage div:has(> .fp) {
  width: 100%;
}

#checkout #basketpage div:has(> .fp) .fp {
  /*  width: 100%;*/
}

#checkout div:has(> #hint) {
  display: flex;
  width: 100%;
  align-items: center;
  margin-top: 10px;
}

#checkout div:has(> #hint)>#hint {
  flex-grow: 100;
  margin-left: 0px;
  padding-left: var(--left-padding);
  line-height: 1.2;
  text-align: center;
}

#checkout .address-form {
  width: 100%;
  max-width: 500px;
}

#checkout .address-form .fp,
#checkout #locations .fp {
  position: relative;
  width: 100%;
}

.form .fp input,
#checkout .address-form .fp input,
#checkout #locations .fp input {
  width: 100% !important;
  box-sizing: border-box;
  padding-left: 10px;
  padding-right: 10px;
}

#checkout .address-form .fp label,
#checkout #locations .fp label {
  margin: 0px;
  top: 50%;
  transform: translateY(-50%);
  margin-left: 10px;
  transition: top calc(var(--transition-duration) * 0.4) ease-in-out, transform calc(var(--transition-duration) * 0.4) ease-in-out;
  animation: none !important;
}

#checkout .address-form .fp:not(:has(input:placeholder-shown)) label,
#checkout .address-form .fp:has(input:focus) label,
#checkout #locations .fp:not(:has(input:placeholder-shown)) label,
#checkout #locations .fp:has(input:focus) label {
  top: 0%;
  transform: scale(0.7) translateY(-40%);
}

#checkout .address-form .fp:nth-of-type(1) span,
#checkout #locations .fp:nth-of-type(1) span {
  height: 0px;
  display: inline-block;
}

#checkout .address-form>div:not(.fp) {
  display: flex;
  column-gap: var(--input-margin);
}

#checkout .address-form div:has(> div > select)>div {
  width: 100%;
}

#checkout .address-form div select {
  width: 100%;
}

#checkout #basketpage .orderitem+br {
  display: none;
}

#checkout div:has(#hint)+br,
#checkout div:has(#hint)+br+br {
  display: none;
}

#checkout #basketpage:not(:has(div.orderitem:nth-child(3))) .orderitem:nth-child(2) {
  width: 100%;
  box-sizing: border-box;
}

#checkout #morepay {
  white-space: nowrap;
  display: block;
  color: var(--link-color);
  text-decoration: underline;
  max-height: 60px;
  overflow: hidden;
  transition: opacity calc(var(--transition-duration) * 0.5);
  margin-top: -29px;
  text-align: right;
  position: relative;
  z-index: 1;
  user-select: none;
  outline: none;
  -webkit-tap-highlight-color: transparent;
}

#checkout:has(#paymentoptions:checked) #morepay {
  max-height: initial;
  opacity: 0;
  pointer-events: none;
}

#checkout #morepay+br {
  display: none;
}

#checkout ul#methods {
  position: relative;
  display: flex;
  flex-direction: column;
  border-bottom: 1px solid transparent;
  padding-top: calc(0 * var(--vertical-margin));
}

#checkout:has(#paymentoptions:checked) ul#methods {
  /*  border-bottom: 1px solid var(--border-color);*/
}

#checkout ul#methods li {
  max-height: 0px;
  overflow: hidden;
  margin: 0px;
  display: block !important;
  background-color: transparent;
  transition: background-color var(--transition-duration), max-height var(--transition-duration), padding-left var(--transition-duration);
  padding-left: 0px;
  box-sizing: border-box;
}

#checkout:has(#paymentoptions:checked) ul#methods li.sel,
#checkout:has(#paymentoptions:checked) ul#methods li:hover {
  background-color: rgba(var(--selection-color), var(--selection-opacity));
  padding-left: 10px;
}

#checkout ul#methods li label {
  padding-top: 5px;
  padding-bottom: 5px;
  display: flex;
  align-items: center;
  column-gap: 10px;
}

#checkout ul#methods li label img {
  margin: 0px;
  display: block;
  height: 100%;
}

#checkout ul#methods li label span {
  line-height: 1;
}

#checkout ul#methods li.sel,
#checkout:has(#paymentoptions:checked) ul#methods li {
  max-height: 60px;
}

#checkout #paymentoptions:not(checked)+#methods li {
  visibility: visible;
}

#checkout #sum label[for="av"] {
  display: inline-block;
  /*  margin-bottom: calc(0.5 * var(--vertical-margin));*/
}

#checkout #sum label[for="av"] a {
  color: inherit;
}

#checkout #sum label[for="av"]+br {
  display: none;
}

#checkout:has(#paymentoptions:checked) #sum {
  max-height: calc(100dvh - 120px - (var(--vertical-margin) * 0.5));
  overflow: auto;
}

#checkout #sum div:has(label[for="av"]) {
  margin-top: calc(1 * var(--vertical-margin));
  margin-bottom: calc(0.5 * var(--vertical-margin));
  background-color: transparent;
  display: flex;
  align-items: flex-start;
  column-gap: calc(0.5 * var(--left-padding));
}

#checkout #sum div:has(label[for="av"])+br {
  display: none;
}

#checkout #sum .th {
  margin-top: calc(var(--vertical-margin) * 0.25);
}

#checkout #basketpage .row.orderitem>div {
  display: flex;
  width: 100%;
  align-items: center;
  flex-shrink: 0;
  column-gap: calc(var(--left-padding) * 0.25);
}

#checkout #basketpage .row.orderitem>div>div:has([type="number"]) {
  flex-grow: 100;
  width: 100%;
  text-align: center;
  position: relative;
}

#checkout #basketpage .row.orderitem>div>div:has(input) input[type="number"] {
  margin: 0px;
  webkit-appearance: textfield;
  -moz-appearance: textfield;
  appearance: textfield;
  line-height: 1;
  border-radius: 0px;
  outline: none;
}

#checkout #basketpage .row.orderitem>div>div:has(input) [type="number"]::-webkit-inner-spin-button,
#checkout #basketpage .row.orderitem>div>div:has(input) [type="number"]::-webkit-outer-spin-button {
  -webkit-appearance: none;
}

#checkout #basketpage .row.orderitem>div>div:nth-child(n+2)>* {
  line-height: 1;
}

#checkout #basketpage .row.orderitem>div>div:has([type="number"])>div {
  display: inline-block;
  position: relative;
}

#checkout #basketpage .row.orderitem>div>div:has([type="number"])>div>div {
  height: 100%;
  position: absolute;
  background-color: red;
  display: flex;
  width: 20px;
  box-sizing: border-box;
  right: 100%;
  top: 0%;
  background-color: rgba(var(--color-unselect), var(--selection-opacity));
  cursor: pointer;
  border-top-left-radius: 5px;
  border-bottom-left-radius: 5px;
  transition: background-color var(--transition-duration);
}

#checkout #basketpage .row.orderitem:hover>div>div:has([type="number"])>div>div,
#checkout #basketpage .row.orderitem>div>div:has([type="number"])>div:focus-within>div {
  background-color: rgba(var(--color-unselect), calc(var(--selection-opacity) * 5));
  font-weight: bold;
}

#checkout #basketpage .row.orderitem>div>div:has([type="number"])>div>div:last-child {
  right: auto;
  left: 100%;
  background-color: rgba(var(--selection-color), var(--selection-opacity));
  border-top-left-radius: 0px;
  border-bottom-left-radius: 0px;
  border-top-right-radius: 5px;
  border-bottom-right-radius: 5px;
}

#checkout #basketpage .row.orderitem:hover>div>div:has([type="number"])>div>div:last-child,
#checkout #basketpage .row.orderitem>div>div:has([type="number"])>div:focus-within>div:last-child {
  background-color: rgba(var(--selection-color), calc(var(--selection-opacity) * 5));
}

#checkout #basketpage .row.orderitem>div>div:has([type="number"])>div>div:before {
  content: "-";
  display: block;
  transition: opacity var(--transition-duration);
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translateX(-50%) translateY(-50%);
}

#checkout #basketpage .row.orderitem>div>div:has([type="number"])>div>div:first-child:after {
  content: "\f014";
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translateX(-50%) translateY(-50%);
  font: normal normal normal 14px/1 FontAwesome;
  opacity: 0;
  transition: opacity var(--transition-duration);
}

#checkout #basketpage .row.orderitem>div>div:has([type="number"])>div>div:last-child:before {
  content: "+";
}

#checkout #basketpage .row.orderitem>div>div:has([type="number"][value="1"])>div>div:first-child:before {
  opacity: 0;
}

#checkout #basketpage .row.orderitem>div>div:has([type="number"][value="1"])>div>div:first-child:after {
  opacity: 1;
}

#checkout #basketpage .row.orderitem input[type="number"],
a.btn {
  padding: 10px;
}

#checkout #sum div:has(> a.btn-success[id="submit"]) {
  display: flex;
  width: 100%;
  justify-content: center;
}

#checkout #basketpage .row.orderitem a.btn-default:before {
  left: auto;
  right: 0%;
}

#checkout #basketpage .row.orderitem a:has(img)>img {
  box-shadow: 6px 6px 10px 4px rgba(0, 0, 0, .1);
  margin-bottom: 0px;
  border-top: 1px solid #ededed;
  border-right: 3px solid #dbc8b6;
  border-bottom: 3px solid #c6a992;
  border-left: 1px solid #ededed;
  border-radius: 1px;
  display: block;
  max-width: 93vw;
  max-height: 93vw;
}

#checkout #locations div:has(> .fp) {
  width: 100%;
  display: flex;
  justify-content: flex-end;
  box-sizing: border-box;
}

#checkout #locations div:has(> .fp) .fp {
  width: 100%;
  max-width: 200px;
}

/*#checkout #invoice_address, #shipping_address, #pickup_address {
  display: block !important;
  visibility: visible;
}*/
header {
  height: auto;
  min-height: var(--header-height);
  background-color: transparent !important;
}

header>#mand {
  height: var(--header-height);
}

header:before {
  background-color: var(--primary-color) !important;
  top: 0%;
  transform: translateX(-50%);
  height: var(--header-height);
}

header>nav {
  height: auto;
  top: auto;
  width: 100%;
  min-width: 100%;
  background: none;
}

header>nav:before {
  content: "";
  position: absolute;
  left: 50%;
  top: 0%;
  height: 100%;
  width: 9999px;
  transform: translateX(-50%);
  background-color: var(--menu-background-color);
  z-index: -1;
}

dialog#preview,
dialog.dialog-animated {
  opacity: 0;
  transition: opacity calc(var(--dialog-transition)) 0s;
  animation: none !important;
  left: 50%;
  top: 50%;
  transform: translateX(-50%) translateY(-50%) !important;
  padding: 20px;
  z-index: 99999;
}

dialog#preview[showing][open],
dialog.dialog-animated[showing][open] {
  opacity: 1;
}

dialog#preview::backdrop,
dialog.dialog-animated::backdrop {
  opacity: 0;
  transition: opacity calc(var(--dialog-transition)) 0s;
}

dialog#preview[showing][open]::backdrop,
dialog.dialog-animated[showing][open]::backdrop {
  opacity: 1;
}

body:has(#tabholder) dialog {
  display: block;
  pointer-events: none;
  opacity: 0;
}

body:has(#tabholder) dialog[showing][open] {
  opacity: 1;
  pointer-events: auto;
}

/* ontwerp */

form:has(#tabholder) {
  width: 100%;
  max-width: var(--max-width);
  padding-left: var(--left-padding);
  padding-right: var(--right-padding);
  box-sizing: border-box;
  display: flex;
}

#tabholder {
  display: flex;
  flex-direction: column;
  /*  row-gap: var(--vertical-margin);*/
  margin-left: 0px;
  margin-right: 0px;
  width: 100%;
  box-sizing: border-box;
  column-gap: 3px;
  flex-grow: 100;
  margin-bottom: var(--vertical-gap);
  margin-top: 0px;
  position: relative;
  margin-bottom: 0px;
}

#tabholder:before {
  content: "";
  position: absolute;
  left: 0%;
  top: 50px;
  width: 100%;
  height: calc(100% - 50px);
  background: linear-gradient(180deg, rgba(239, 239, 239, 1) 0%, rgba(255, 255, 255, 1) 45%, rgba(255, 255, 255, 1) 55%, rgba(255, 255, 255, 0) 100%);
  box-shadow: 0px 5px 5px rgba(0, 0, 0, 0.1);
  border-bottom-left-radius: 10px;
  border-bottom-right-radius: 10px;
  background-color: #ffffff;
}

#tabholder #pageholder {
  display: flex;
  width: 100%;
  column-gap: calc(var(--horizontal-gap) * 2);
  padding: var(--left-padding);
  border-bottom-left-radius: 10px;
  border-bottom-right-radius: 10px;
  position: relative;
  box-shadow: 0px 5px 5px rgba(0, 0, 0, 0.1);
  box-sizing: border-box;
  flex-grow: 100;
  box-shadow: none;
  margin-bottom: 0px;
}

#tabholder #pageholder:before {
  content: "";
  position: absolute;
  left: 0%;
  top: 0%;
  width: 100%;
  height: 50%;
  background: linear-gradient(180deg, rgba(239, 239, 239, 1) 0%, rgba(255, 255, 255, 1) 45%, rgba(255, 255, 255, 1) 55%, rgba(255, 255, 255, 0) 100%);
  display: none;
}

#tabholder #pageholder>.page {
  width: 50%;
  width: auto;
  flex: 0 0 calc(50% - var(--horizontal-gap));
  flex: auto;
  height: 100%;
  box-sizing: border-box;
  background-color: initial;
  min-height: calc(100dvh - 300px);
}

#tabholder #pageholder>.page>.holder {
  width: 101%;
  /* had to change */
  box-sizing: border-box;
  height: 100%;
  row-gap: var(--vertical-gap);
  margin-top: 0px;
}

#tabholder #pageholder>.page>.holder textarea {
  width: 100%;
  box-sizing: border-box;
}

#tabholder #pageholder #previewpage {
  box-sizing: border-box;
  --width: min(58%, calc(100dvh - 120px - 50px - var(--margin-below-header) - 5px - var(--vertical-gap) - (var(--left-padding) * 2) - 45px));
  width: var(--width);
  flex: 0 0 var(--width);
}

#tabholder #pageholder #previewpage>label {
  display: flex;
  height: 100%;
}

#tabholder #pageholder #previewpage #prevbox {
  top: auto;
  left: auto;
  right: auto;
  bottom: auto;
  width: 100%;
  box-sizing: border-box;
  height: 0%;
  padding-top: 100%;
  background-color: initial;
  display: flex;
  justify-content: center;
  margin-right: 0px;
  animation: none !important;
  --border-1: 2px;
  --border-2: 7px;
  overflow: initial;
  transform: translateY(45px);
}

#tabholder #pageholder #previewpage #prevbox>img {
  max-width: initial;
  max-height: initial;
  height: 100%;
  width: 100%;
  box-sizing: border-box;
  left: 0% !important;
  top: 0% !important;
  transform: none !important;
}

#tabholder #pageholder #previewpage #prevbox>img:last-child {
  border: none;
  box-shadow: none;
}

#tabholder #pageholder #previewpage #prevbox>img#shadowlayer {
  left: calc(0px - var(--border-1)) !important;
  top: calc(0px - var(--border-1)) !important;
  border-top: var(--border-1) solid #ededed;
  border-right: var(--border-2) solid #dbc8b6;
  border-bottom: var(--border-2) solid #c6a992;
  border-left: var(--border-1) solid #ededed;
  border-radius: 1px;
  background-color: #ffffff;
  z-index: 1 !important;
  box-sizing: initial;
}

#tabholder #pageholder #previewpage #prevbox>img:not(#shadowlayer) {
  z-index: 2;
  transform: translateY(var(--border-1)) translateX(calc(0px - var(--border-1)));
  opacity: 0;
  transition: opacity var(--transition-duration);
}

#tabholder #pageholder #previewpage #prevbox>img:not(#shadowlayer):not([src="/shop/kaders/preview/transparant.png"]):not([src="/shop/kaders/preview/white.png"]):not([src="/shop/designs/preview/transparant.png"]) {
  opacity: 1;
}

main:has(#tabholder) {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: calc(100dvh - 125px);
}

main:has(#tabholder)>*:not(dialog),
dialog:has(.text-search-dialog-form) {
  width: 100%;
  max-width: var(--max-width);
  flex-grow: 100;
}

main:has(#tabholder) #ontwerpForm {
  padding-top: var(--margin-below-header);
  padding-bottom: var(--vertical-gap);
}

#tabholder .tabinput+label {
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
  padding: 15px;
  line-height: 1;
  height: auto;
  box-shadow: 0px -5px 10px rgba(0, 0, 0, 0.1);
  background-color: initial;
  color: initial;
  transition: background-color var(--transition-duration), color var(--transition-duration);
}

#tabholder .tabinput+label:hover,
#tabholder .tabinput+label:focus {
  background-color: var(--primary-color);
  color: #ffffff;
}

#tabholder .tabinput:checked+label {
  background-color: var(--primary-color);
  color: #ffffff;
}

#tabholder #pageholder>.page>.holder:has(#oh) {
  display: flex;
  flex-direction: column;
}

#tabholder #pageholder>.page>.holder:has(#oh)>br {
  display: none;
}

#tabholder .holder #oh {
  width: 100%;
  max-width: initial;
  position: relative;
  flex-grow: 100;
  height: 0px;
  perspective: 300px;
  transform-style: preserve-3d;
  margin-left: -40px;
  padding-left: 40px;
  background-color: transparent;
  margin-right: -20px;
  padding-right: 20px;
  padding-bottom: 40px;
  column-gap: 10px;
  row-gap: 10px;
  align-items: flex-start;
  align-content: flex-start;
}

#tabholder .holder #oh>div {
  transition: transform var(--transition-duration);
  width: calc(25% - 15px) !important;
  max-width: 120px !important;
  height: auto !important;
  margin: 0px;
  background-size: cover;
  background-position: 0px calc(((var(--n) * 100) / (var(--h) - 100)) * 100%) !important;
  background-repeat: no-repeat;
  position: relative;
}

#tabholder .holder #oh>div:before {
  content: "";
  display: block;
  left: 0%;
  top: 0%;
  width: 100%;
  height: 0%;
  padding-top: 100%;
}

#tabholder .holder #oh>div:after {
  position: absolute;
  left: 0%;
  top: 0%;
  margin: 0px !important;
  width: 100%;
  display: flex;
  height: 100%;
  max-height: 100%;
  align-items: center;
  justify-content: center;
}

#tabholder .holder #oh>div:hover {
  transform: rotateY(10deg);
}

#tabholder .holder #oh>div.selected {
  transform: rotateY(360deg);
  transform-style: preserve-3d;
}

#tabholder .holder #oh>div:after {
  content: '\f00c';
  font-family: FontAwesome;
  font-weight: 400;
  font-style: normal;
  font-size: 50px;
  margin: 0 25px;
  line-height: 100px;
  text-decoration: none;
  color: #5cb85c;
  position: absolute;
  opacity: 0;
  transition: opacity calc(var(--transition-duration) * 2);
  pointer-events: none;
}

#tabholder .holder #oh>div.selected:after {
  opacity: 1;
  pointer-events: auto;
}

#tabholder #moblayer {
  flex-grow: 100;
  height: auto !important;
  left: auto;
  box-sizing: border-box;
  max-height: 50px;
}

#tabholder #moblayer * {
  box-sizing: border-box;
}

#tabholder #moblayer>div {
  display: flex;
  justify-content: flex-end;
  column-gap: 0px;
  align-items: center;
  height: 100%;
  margin: 0px;
}

#tabholder #moblayer a.btn.btn-default {
  background-color: rgba(var(--color-unselect), var(--selection-opacity));
  border: none;
  box-shadow: none;
  padding: 0px;
  width: 20px;
  display: flex;
  height: 80%;
  line-height: 1;
  align-items: center;
  justify-content: center;
  transition: background-color var(--transition-duration);
}

#tabholder #moblayer a.btn.btn-default:nth-of-type(1) {
  background-color: rgba(var(--color-unselect), var(--selection-opacity));
  border-top-right-radius: 0px;
  border-bottom-right-radius: 0px;
  margin-left: var(--horizontal-gap);
}

#tabholder #moblayer a.btn.btn-default:nth-of-type(2) {
  background-color: rgba(var(--selection-color), var(--selection-opacity));
  margin-right: var(--horizontal-gap);
  border-top-left-radius: 0px;
  border-bottom-left-radius: 0px;
}

#tabholder #moblayer input {
  margin: 0px;
  display: block;
  height: calc(80%);
  border-radius: 0px !important;
  border: 1px solid #cccccc !important;
  width: 45px;
  padding: 10px;
  box-sizing: initial;
  padding-top: 0px;
  padding-bottom: 0px;
  transition: box-shadow var(--transition-duration) !important;
  outline: none !important;
  box-shadow: 0 0 7px rgba(39, 92, 171, 0) !important;
}

#tabholder #moblayer input:focus {
  box-shadow: 0 0 7px rgba(39, 92, 171, 1) !important;
}

#tabholder #moblayer>div:hover a.btn.btn-default:nth-of-type(1),
#tabholder #moblayer>div:has(input:focus) a.btn.btn-default:nth-of-type(1) {
  background-color: rgba(var(--color-unselect), calc(var(--selection-opacity) * 5));
}

#tabholder #moblayer>div:hover a.btn.btn-default:nth-of-type(2),
#tabholder #moblayer>div:has(input:focus) a.btn.btn-default:nth-of-type(2) {
  background-color: rgba(var(--selection-color), calc(var(--selection-opacity) * 5));
}

#tabholder #p1 a.tooltip {
  display: inline-block;
}

#tabholder #p1 div:has(> a.tooltip),
#tabholder #p2 div:has(> a.tooltip) {
  display: flex;
  column-gap: var(--horizontal-gap);
  align-items: center;
}

#tabholder #p2 div:has(> a.tooltip):not(#tabholder #pageholder > #p2.page > .holder > *:first-child) {
  display: none;
}

#tabholder #pageholder div:has(#filter)>span {
  display: block;
  flex-grow: 100;
}

#tabholder #pageholder div:has(#filter)>input,
#tabholder #pageholder div:has(#filter)>label[for="geen_randje"] {
  visibility: hidden;
  width: 0px;
  height: 0px;
  min-width: initial !important;
  max-width: 0px;
  overflow: hidden;
}

#tabholder #pageholder>.page>.holder textarea {
  padding: 0px;
}

#tabholder #pageholder>#p2.page>.holder {
  display: flex;
  flex-direction: column;
}

#tabholder #pageholder #p2.page>.holder>br {
  display: none;
}

#tabholder #pageholder #p2.page>.holder>div:has(> textarea) {
  flex-grow: 100;
  display: flex;
  flex-direction: column-reverse;
  align-items: flex-end;
  row-gap: 5px;
}

#tabholder #pageholder #p2.page>.holder>div>textarea {
  height: 100%;
  resize: none;
  padding: var(--input-padding);
  outline: none;
}

#tabholder #pageholder #p2.page #trefwoord {
  width: 100%;
  padding: calc(var(--input-padding) * 0.5);
  padding-left: var(--input-padding);
  padding-right: var(--input-padding);
  box-sizing: border-box;
  font-size: inherit;
  border-top-right-radius: 0px;
  border-bottom-right-radius: 0px;
  outline: none;
}

#tabholder #pageholder .holder>.navbut {
  margin-top: 0px;
  display: flex;
  width: 100%;
  flex-direction: row-reverse;
  justify-content: flex-end;
}

#tabholder #pageholder .holder>.navbut>label {
  min-width: var(--tabholder-button-size);
}

#tabholder #pageholder .holder>.navbut>label.btn-success {
  animation: pulse-shadow 5s infinite;
}

#tabholder #pageholder .holder>.navbut>label:nth-child(1) {
  margin-right: 0px;
  display: block;
  position: absolute;
  right: 0%;
}

#tabholder #pageholder #p2.page .holder>select {
  font-size: inherit;
  outline: none;
}

#tabholder #pageholder #p2.page .holder>div>div:has(> #trefwoord) {
  display: flex;
  width: 100%;
}

#tabholder #pageholder #p2.page .holder>div>div:has(> #trefwoord)>a:not(#updatebutton) {
  border-top-left-radius: 0px;
  border-bottom-left-radius: 0px;
}

#tabholder #pageholder #p2.page .holder #updatebutton {
  display: flex;
  position: initial;
  visibility: visible;
  max-width: initial;
  margin-left: var(--horizontal-gap);
  align-items: center;
  column-gap: 10px;
}

#tabholder #pageholder #p1.page .holder>div:has(> #fontskip) {
  display: flex;
  justify-content: flex-end;
  flex-direction: row;
  align-items: center;
}

#tabholder #pageholder #p1.page .holder>div:has(> #fontskip)>* {
  min-width: var(--tabholder-button-size);
}

body:has(#tabholder) dialog:has(.text-search-dialog-form) {
  height: calc(100dvh - 100px);
  max-height: calc(100dvh - 80px);
  overflow: hidden;
  outline: none;
  box-sizing: border-box;
  width: calc(100vw - 80px);
}

body:has(#tabholder) dialog:has(.text-search-dialog-form)>form>p>br {
  display: none;
}

body:has(#tabholder) dialog:has(.text-search-dialog-form)>form {
  margin: 0px;
  height: 100%;
  display: block;
  position: relative;
  max-height: 100%;
  overflow: initial;
}

body:has(#tabholder) dialog:has(.text-search-dialog-form)>form>p {
  display: flex;
  flex-direction: column;
  row-gap: var(--vertical-gap);
  margin: 0px;
  height: 100%;
  align-items: center;
  counter-reset: index;
}

body:has(#tabholder) dialog:has(.text-search-dialog-form)>form>p>ul {
  height: auto;
  overflow-y: auto;
  max-height: initial;
  width: 100%;
  list-style: none;
  padding-left: 0px;
  display: block;
  column-count: 3;
  column-gap: var(--horizontal-gap);
  flex-grow: 100;
}

body:has(#tabholder) dialog:has(.text-search-dialog-form)>form>p>ul>li {
  width: 100%;
  display: inline-block;
  background-color: #efefef;
  margin-bottom: var(--vertical-gap);
  border-radius: 5px;
  transition: background-color var(--transition-duration) 0s, color var(--transition-duration) 0s !important;
  break-inside: avoid-column;
}

body:has(#tabholder) dialog:has(.text-search-dialog-form)>form>p>ul>li:before {
  counter-increment: index;
  content: counter(index);
  display: none;
}

body:has(#tabholder) dialog:has(.text-search-dialog-form)>form>p>ul>li:nth-child(4n) {
  clear: both;
  display: block;
}

body:has(#tabholder) dialog:has(.text-search-dialog-form)>form>p>ul>li:hover,
body:has(#tabholder) dialog:has(.text-search-dialog-form)>form>p>ul>li:focus {
  background-color: rgba(var(--selection-color), 1);
  color: #ffffff !important;
}

body:has(#tabholder) dialog:has(.text-search-dialog-form)>form>p>ul>li label {
  padding: var(--input-padding);
  display: block;
  box-sizing: border-box;
  transition: none !important;
  color: inherit;
}

body:has(#tabholder) dialog:has(.text-search-dialog-form)>form>p>ul>li input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

body:has(#tabholder) dialog:has(.text-search-dialog-form)>form>p>a#cancelButton {
  max-width: var(--tabholder-button-size);
  min-width: var(--tabholder-button-size);
}

body>.loader {
  position: fixed;
  left: 0%;
  top: 0%;
  width: 100vw;
  height: 100dvh;
  background-color: rgba(255, 255, 255, 0.7);
  box-sizing: border-box;
  z-index: 999999 !important;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-duration);
  mix-blend-mode: darken;
}

body>.loader * {
  box-sizing: border-box;
}

body>.loader:before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  background-image: url(https://www.tegelspreuken.nl/shop/i/laden.gif);
  width: 200px;
  height: 200px;
  background-size: cover;
  background-position: center;
  transform: translateX(-50%) translateY(-50%);
}

body:before {
  content: "";
  position: fixed;
  left: 0%;
  top: 0%;
  width: 100%;
  height: 100%;
  background-color: rgba(255, 255, 255, 0.7);
  z-index: 999999 !important;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-duration);
}

body:has(> .loader.show):before {
  opacity: 1;
}

body>.loader.show {
  opacity: 1;
  pointer-events: auto;
}

body:has(> .loader.show) {
  overflow: hidden;
}

#tabholder #pageholder>#p3.page>.holder {
  display: flex;
  flex-direction: column;
}

#tabholder #pageholder>#p3.page>.holder>div#tekstgrootte {
  display: flex;
  align-items: center;
  column-gap: var(--horizontal-gap);
}

#tabholder #pageholder>#p3.page>.holder>div#tekstgrootte>select {
  margin-top: 0px;
  outline: none;
}

#tabholder #pageholder>#p3.page>.holder>br {
  display: none;
}

#tabholder #pageholder>#p3.page>.holder>#fh {
  flex-grow: 100;
  margin-bottom: 0px;
  width: 100%;
  column-gap: var(--horizontal-gap);
  background-color: #ffffff;
}

#tabholder #pageholder>#p3.page>.holder>#fh>div {
  width: calc(50% - (var(--horizontal-gap) * 0.5));
  background: url('/shop/fonts/preview/fontsprite.png'), #FFF;
  transition: filter var(--transition-duration);
  animation: none !important;
  background-repeat: no-repeat;
  background-position: -10000px;
  position: relative;
}

#tabholder #pageholder>#p3.page>.holder>#fh>div:before {
  content: "";
  position: absolute;
  left: 0%;
  top: 0%;
  width: 100%;
  height: 100%;
  background: inherit;
  background-position: 0px calc(var(--n) * -30px);
}

#tabholder #pageholder>#p3.page>.holder>#fh>div:hover {
  filter: opacity(0.5) drop-shadow(0 0 0 var(--primary-color));
}

#tabholder #pageholder>#p3.page>.holder>div:has([type="color"]) {
  display: flex;
  align-items: center;
  column-gap: var(--horizontal-gap);
}

#tabholder #pageholder>#p3.page>.holder>div:has([type="color"])>a,
#tabholder #pageholder>#p3.page>.holder>div:has([type="color"])>label {
  height: 100%;
  box-sizing: border-box;
  padding: 10px;
}

#tabholder #pageholder>#p3.page>.holder>div:has([type="color"]) input {
  height: 100%;
}

#tabholder #pageholder>#p4.page>.holder {
  display: flex;
  flex-direction: column;
}

#tabholder #pageholder>#p4.page>.holder>br {
  display: none;
}

#tabholder #pageholder>#p4.page>.holder>div:has(#arrowup) {
  display: flex;
  align-items: center;
  column-gap: var(--horizontal-gap);
  flex-grow: 100;
  justify-content: center;
  flex-direction: column;
  row-gap: var(--vertical-gap);
}

#tabholder #pageholder>#p4.page>.holder>div:has(#arrowup)>div {
  display: flex;
  flex-direction: column;
  row-gap: var(--vertical-gap);
}

#tabholder #pageholder>#p4.page>.holder>div:has(#arrowup)>div>div {
  display: flex;
  column-gap: var(--horizontal-gap);
  align-items: center;
}

#tabholder #pageholder>#p4.page>.holder>div:has(#arrowup)>div>div>div {
  display: flex;
  column-gap: calc(var(--horizontal-gap) * 0.5);
}

#tabholder #pageholder>#p4.page>.holder>div:has(#arrowup)>div>div>select {
  flex-grow: 100;
}

#tabholder #pageholder>#p5.page>.holder {
  display: flex;
  flex-direction: column;
}

#tabholder #pageholder>#p5.page>.holder br {
  display: none;
}

#tabholder #pageholder>#p5.page>.holder>div:nth-child(1) {
  display: flex;
  flex-grow: 100;
  flex-direction: column;
  row-gap: var(--vertical-gap);
  position: relative;
}

#tabholder #pageholder>#p5.page>.holder>div>#alleen_foto {
  flex-grow: 100;
  align-items: center;
  justify-content: center;
  display: flex;
  position: relative;
  column-gap: calc(var(--horizontal-gap) * 0.5);
}

#tabholder #pageholder>#p5.page>.holder>div>#alleen_foto:before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translateX(-50%) translateY(-50%);
  width: 200px;
  height: 200px;
  background-image: url(https://showcase.ylo.one/images/pexels-moose-photos-170195-1036623.jpg);
  background-position: center;
  background-size: cover;
  z-index: -1;
  opacity: 0.3;
  display: none;
}

#tabholder #pageholder>#p5.page>.holder>div>#alleen_foto>label {
  padding: 12px;
}

label[for],
a.btn {
  transition: background-color var(--transition-duration), color var(--transition-duration), border-color var(--transition-duration), text-shadow var(--transition-duration);
}

#tabholder #pageholder>#p5.page>.holder>div>#photooptions {
  display: flex;
  flex-wrap: wrap;
  column-gap: var(--horizontal-gap);
  align-items: center;
  row-gap: var(--vertical-gap);
}

#tabholder #pageholder>#p5.page>.holder>div>#photooptions.hide {
  display: none;
}

#tabholder #pageholder>#p5.page>.holder>div>#photooptions>label {
  display: block;
  margin-left: calc(0px - (var(--horizontal-gap) * 0.5));
}

#tabholder #pageholder>#p5.page>.holder>div>#photooptions #kh {
  column-gap: calc(var(--horizontal-gap) * 0.25);
  row-gap: calc(var(--horizontal-gap) * 0.25);
  transform-style: preserve-3d;
  perspective: 300px;
  height: auto;
  padding-top: var(--vertical-gap);
  padding-bottom: var(--vertical-gap);
  margin-top: calc(0px - var(--vertical-gap));
  margin-bottom: calc(0px - var(--vertical-gap));
  max-width: initial;
  margin-bottom: 0px;
  padding-left: var(--vertical-gap);
  margin-left: calc(0px - var(--vertical-gap));
  flex-wrap: wrap;
  overflow: hidden;
  justify-content: flex-start;
  align-items: flex-start;
}

#tabholder #pageholder>#p5.page>.holder>div>#photooptions #kh>img {
  cursor: pointer;
  border: var(--selection-border-size) solid var(--border-color);
  transition: border var(--transition-duration), transform calc(var(--transition-duration) * 2);
  transform-style: preserve-3d;
  width: calc(25% - calc(var(--horizontal-gap) * 0.25 * 2));
  height: auto !important;
}

#tabholder #pageholder>#p5.page>.holder>div>#photooptions #kh>img:hover {
  transform: rotateY(20deg);
}

#tabholder #pageholder>#p5.page>.holder>div>#photooptions #kh>img.selected {
  border: var(--selection-border-size) solid var(--primary-color);
  transform: rotateY(360deg);
}

#tabholder #pageholder .holder>div>#cropbox {
  top: 0%;
  left: 0%;
  right: auto;
  width: 100%;
  height: auto;
  max-width: initial;
  height: 100%;
  background-color: rgba(255, 255, 255, 1);
  display: flex !important;
  flex-direction: column;
  row-gap: var(--vertical-gap);
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-duration);
}

#tabholder #pageholder .holder>div>#cropbox[show="1"] {
  opacity: 1;
  pointer-events: auto;
}

#tabholder #pageholder .holder>div>#cropbox div:has(.croppie-container) {
  flex-grow: 100;
  display: flex;
  width: 100%;
}

#tabholder #pageholder .holder>div>#cropbox div:has(.croppie-container) .croppie-container {
  width: 100%;
  display: flex;
  flex-direction: column;
}

#tabholder #pageholder .holder>div>#cropbox div:has(.croppie-container) .croppie-container>div:has(img) {
  flex-grow: 100;
  height: auto !important;
  width: 100% !important;
}

#tabholder #pageholder>#p6.page .holder {
  display: flex;
  flex-direction: column;
}

#tabholder #pageholder>#p6.page .holder>ul {
  flex-grow: 100;
}

#tabholder #pageholder>#p6.page .holder>ul>li {
  display: flex;
  align-items: center;
  column-gap: calc(var(--horizontal-gap) * 0.5);
}

#tabholder #pageholder>#p6.page .holder>ul>li input {
  margin: 0px;
}

#tabholder #pageholder>#p6.page .holder br {
  display: none;
}

#tabholder:has(#tab-1:checked) #pageholder #p1.page {
  display: block;
  z-index: 100;
}

#tabholder:has(#tab-2:checked) #pageholder #p2.page {
  display: block;
  z-index: 100;
}

#tabholder:has(#tab-3:checked) #pageholder #p3.page {
  display: block;
  z-index: 100;
}

#tabholder:has(#tab-4:checked) #pageholder #p4.page {
  display: block;
  z-index: 100;
}

#tabholder:has(#tab-5:checked) #pageholder #p5.page {
  display: block;
  z-index: 100;
}

#tabholder:has(#tab-6:checked) #pageholder #p6.page {
  display: block;
  z-index: 100;
}

#tabholder>*:not(:last-child) {
  max-height: initial;
}

#tabholder>div:has(> div > .tablabel) {
  display: flex;
  column-gap: var(--horizontal-gap);
  max-height: 50px;
  overflow: hidden;
  margin-top: -20px;
  padding-top: 20px;
  margin-left: -10px;
  padding-left: 10px;
  margin-right: -10px;
  padding-right: 10px;
}

#tabholder>div:has(> div > .tablabel)>div:not(#moblayer) {
  display: flex;
  flex-wrap: wrap;
  column-gap: 3px;
  row-gap: 50px;
}

#tabholder #pageholder>#p3.page>.holder>div:nth-child(1)>a.tooltip {
  opacity: 0;
  pointer-events: none;
}

#tabholder #pageholder #previewpage #prevbox>img:last-child {
  box-sizing: border-box;
}

#tabholder #pageholder>.page>.holder:has(#oh) #oh>div:has(label) {
  background: none;
  background-color: #ffffff;
  border-bottom: var(--tile-border-size) solid var(--tile-border-color);
  border-right: var(--tile-border-size) solid var(--tile-border-color);
  box-shadow: var(--tile-shadow);
}

#tabholder #pageholder>.page>.holder:has(#oh) #oh>div:has(label)>label {
  position: absolute;
  display: block;
  width: 100%;
  height: 100%;
  left: 0%;
  top: 0%;
}

#tabholder #pageholder>#p3.page #tekstgrootte input {
  accent-color: var(--primary-color);
  cursor: pointer;
  transition: accent-color var(--transition-duration);
}

#tabholder #pageholder>#p3.page #tekstgrootte input:hover {
  accent-color: var(--primary-color);
}

*::-webkit-scrollbar {
  width: 16px;
  height: 16px;
}

*::-webkit-scrollbar-track {
  border-radius: 12px;
  background-color: #e7e7e7;
  border: 1px solid #cacaca;
}

*::-webkit-scrollbar-thumb {
  border-radius: 12px;
  border: 3px solid transparent;
  background-clip: content-box;
  background-color: #275CAB;
}

#tabholder #p2 #updatebutton {
  /*  display: none !important;*/
}

#tabholder #p2 .p2-loader {
  display: flex;
  column-gap: 3px;
  flex-grow: 100;
  justify-content: flex-end;
  display: none;
}

#tabholder #p2:has(textarea[loading]) .p2-loader {
  display: flex;
}

#tabholder #p2 .p2-loader span {
  --time: 2s;
  display: block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background-color: #ffffff;
  animation: p2-loader var(--time) infinite linear calc((var(--time) / 3) * (var(--n) - 1));
}

@keyframes p2-loader {
  0% {
    background-color: transparent;
  }

  33% {
    background-color: #ffffff;
  }

  60% {
    background-color: #ffffff;
  }

  100% {
    background-color: transparent;
  }
}

#tabholder #p2 .p2-loader span:nth-child(1) {
  --n: 1;
}

#tabholder #p2 .p2-loader span:nth-child(2) {
  --n: 2;
}

#tabholder #p2 .p2-loader span:nth-child(3) {
  --n: 3;
}

#tabholder #p2 .holder>div:has(select) {
  display: flex;
  column-gap: var(--horizontal-gap);
}

#tabholder #p2 .holder>div:has(select) select {
  flex-grow: 100;
  outline: none;
}

#tabholder #p2 .holder>div:has(> #trefwoord) {
  display: none;
}

#dialog #trefwoord {
  outline: none;
}

#tabholder #p2 .holder>div:has(#updatebutton) {
  display: flex;
}

#tabholder #p2 .holder>div:has(#updatebutton)>div:has(> span) {
  display: block;
  flex-grow: 0;
  overflow: hidden;
  white-space: nowrap;
  flex: auto;
  text-overflow: ellipsis;
  max-width: min(200px);
}

#tabholder #p2 .holder>div:has(#updatebutton)>div:has(> span)>span {
  display: block;
}

#tabholder #pageholder #p2.page .text-search-dialog-form {
  display: none;
}

dialog .text-search-dialog-form {
  display: flex;
  column-gap: var(--horizontal-gap);
}

dialog .text-search-dialog-form>div:nth-child(1) {}

dialog .text-search-dialog-form input {
  padding-left: var(--input-padding);
  padding-right: var(--input-padding);
}

#tabholder #p2 .holder a.tooltip {
  min-width: 25px;
  min-height: 25px;
}

#tabholder #p3 .btn-choose-font {
  display: none;
}

dialog {
  outline: none;
}

body:has(#tabholder) dialog {
  min-height: initial;
}

#tabholder #p5 .croppie-container .cr-image:not([src]) {
  display: none;
}

#tabholder #p5 #cropbox div>img:nth-child(1):not(.cr-image) {
  display: none;
}

#tabholder #p5 #cropbox>div:nth-child(1) {
  flex-grow: 100;
}

#mand>a:nth-child(2)>i {
  margin-right: 0px;
}

/* responsive */
@media (max-width: 979.99px) {
  body {
    --vertical-margin: 20px;
    --vertical-gap: 15px;
  }

  header {
    --bread-top: calc((var(--header-height) - var(--bread-height)) * 0.5);
  }

  header>nav {
    position: fixed;
    left: 0%;
    top: 0%;
    min-width: 300px;
    width: 300px;
    height: 100dvh;
    padding-left: 0px;
    display: block;
    z-index: 9;
    visibility: visible;
    pointer-events: none;
  }

  header>nav>* {
    pointer-events: auto;
  }

  header>nav:before {
    width: 100%;
    left: 0%;
    margin-top: var(--header-height);
    pointer-events: auto;
    box-shadow: 0px 0px 25px rgba(0, 0, 0, 0.3);
    transform: translateX(-120%);
    transition: transform var(--transition-duration);
  }

  header>nav.nav-open:before {
    transform: translateX(0%);
  }

  header>nav>ul {
    margin-top: var(--header-height);
    pointer-events: auto;
    list-style: none;
    padding-left: 0px;
    padding-top: 20px;
    transform: translateX(-120%);
    transition: transform var(--transition-duration);
  }

  header>nav.nav-open>ul {
    transform: translateX(0%);
  }

  header>nav:after {
    content: "";
    position: absolute;
    left: 0%;
    top: 0%;
    width: 100vw;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.7);
    z-index: -2;
    margin-top: var(--header-height);
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--transition-duration);
  }

  header>nav.nav-open:after {
    opacity: 1;
  }

  header>nav>div {
    position: absolute;
    left: var(--left-padding);
    top: var(--bread-top);
    width: var(--bread-line-width);
    height: var(--bread-height);
    box-sizing: border-box;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
  }

  header>nav>div:before,
  header>nav>div:after {
    content: "";
    position: absolute;
    left: 0%;
    top: 0%;
    width: 100%;
    height: var(--bread-line-height);
    background-color: #ffffff;
    border-radius: 3px;
    transition: transform var(--transition-duration), top var(--transition-duration), left var(--transition-duration);
  }

  header>nav>div:after {
    top: calc(100% - var(--bread-line-height));
  }

  header>nav.nav-open>div:before,
  header>nav.nav-open>div:after {
    transform: rotateZ(45deg);
    top: 50%;
  }

  header>nav.nav-open>div:after {
    transform: rotateZ(-45deg);
  }

  header>nav>ul>li {
    width: 100%;
    background-color: rgba(0, 0, 0, 0.1);
    margin-bottom: 3px;
    box-sizing: border-box;
    cursor: pointer;
    transition: color var(--transition-duration), background-color var(--transition-duration);
    transition-delay: 0s;
  }

  header>nav>ul>li:hover,
  header>nav>ul>li:focus {
    background-color: var(--primary-color);
    color: #ffffff;
  }

  header>nav>ul>li>a {
    text-decoration: none;
    color: inherit;
    transition: none;
    width: 100%;
    display: block;
    padding: 20px;
  }

  main:has(#tabholder) {
    height: calc(100dvh - 60px);
  }

  #tabholder {
    row-gap: 0px;
    flex: 0 0 30px;
    align-content: start;
    max-width: initial;
    flex-grow: 100;
    flex-direction: column;
  }

  #tabholder .tabinput+label {
    padding-left: 5px;
    padding-right: 5px;
    padding-top: 8px;
    padding-bottom: 22px;
  }

  #tabholder .tablabel:nth-child(2) {
    margin-left: 0px;
  }

  #tabholder #moblayer {
    position: relative;
    display: flex;
    justify-content: center;
    padding-top: var(--vertical-gap);
    background-color: #ffffff;
    padding-left: var(--left-padding);
    padding-right: var(--left-padding);
    box-shadow: 0px 5px 5px rgba(0, 0, 0, 0.1);
    z-index: 0;
    padding-bottom: 0px;
    max-height: initial;
    box-shadow: none;
    background-color: initial;
  }

  #tabholder #moblayer:before {
    content: "";
    position: absolute;
    left: 0%;
    top: 0%;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(239, 239, 239, 1) 0%, rgba(255, 255, 255, 1) 45%, rgba(255, 255, 255, 1) 55%, rgba(255, 255, 255, 0) 100%);
    z-index: -1;
    display: none;
  }

  #tabholder #moblayer div a:last-child {
    width: auto;
  }

  #tabholder #pageholder>div#previewpage {
    order: 1;
    height: auto;
    min-height: initial;
    padding-bottom: calc(var(--vertical-gap) * 2);
    flex-grow: 10;
    flex: auto;
    display: flex;
    justify-content: center;
  }

  #tabholder #pageholder {
    box-sizing: border-box;
    margin-bottom: 0px;
    flex-grow: 100;
    z-index: 2;
    padding-top: 0px;
    flex-direction: column-reverse;
    background-color: transparent;
  }

  #tabholder #pageholder:before {
    display: none;
  }

  #tabholder #pageholder #previewpage #prevbox {
    position: relative;
    border: none;
    width: 100%;
    padding-top: 100% !important;
    height: 0px;
    --border-1: 2px;
    --border-2: 4px;
    transform: none;
  }

  #tabholder #pageholder #previewpage #prevbox:after {
    display: none;
  }

  #tabholder #pageholder #previewpage #prevbox>a {
    display: none !important;
  }

  #tabholder #pageholder #previewpage #prevbox>img {
    left: 50%;
    top: 50%;
    transform: translateX(-50%) translateY(-50%);
  }

  #tabholder #pageholder #previewpage>label {
    justify-content: center;
    width: 100%;
    max-width: calc(100dvh - 570px);
  }

  #tabholder #pageholder>.page {
    width: 100%;
    flex: auto;
    flex-grow: 100;
  }

  #tabholder #pageholder>.page .holder {
    margin-left: 0px;
  }

  #tabholder .holder #oh {
    margin-bottom: 0px;
    display: flex;
    flex-wrap: wrap;
    overflow-y: auto;
    perspective: 300px;
    transform-style: preserve-3d;
    padding-left: var(--horizontal-gap);
    padding-right: var(--horizontal-gap);
    padding-top: var(--vertical-gap);
    padding-bottom: var(--vertical-gap);
    margin-left: calc(0px - var(--horizontal-gap));
    margin-right: calc(0px - var(--horizontal-gap));
    margin-top: calc(0px - var(--vertical-gap));
  }

  #tabholder #pageholder #oh>div {
    transform-style: preserve-3d;
  }

  #tabholder #pageholder #oh>div.selected {
    transform: rotateY(360deg);
  }

  #tabholder {
    height: 100%;
    flex-flow: column;
  }

  #tabholder #pageholder {
    height: 100%;
  }

  #tabholder #pageholder>* {
    min-height: initial !important;
  }

  #tabholder #pageholder #p2.page>.holder>div>textarea {
    height: 0px;
    flex-grow: 100;
  }

  #tabholder #pageholder>#p3.page>.holder>#fh {
    height: 0px;
    flex-grow: 100;
  }

  #tabholder>div:has(> div > .tablabel) {
    flex-direction: column;
    max-height: initial;
    overflow: initial;
  }

  #tabholder:has(#tab-1:checked) #moblayer,
  #tabholder:has(#tab-2:checked) #moblayer,
  #tabholder:has(#tab-3:checked) #moblayer {
    display: none;
  }

  #tabholder #pageholder #previewpage {
    padding-top: calc(var(--vertical-gap) * 2);
    width: 100%;
  }

  #tabholder #pageholder>#p5.page>.holder>div>#alleen_foto:before {
    display: none;
  }

  #tabholder #pageholder .holder>div>#cropbox {
    margin-left: 0px;
    margin-top: 0px;
    top: calc(58px + 10px);
    left: var(--left-padding);
    width: calc(100% - (var(--left-padding) * 2));
    height: calc(100% - 58px - var(--left-padding) - 10px);
    border-radius: 10px;
    padding: var(--vertical-gap);
    box-sizing: border-box;
    margin-right: 0px;
    background-color: #ffffff;
    box-shadow: 0px 0px 5px rgba(0, 0, 0, 0.2);
    z-index: 999;
  }

  main:has(#tabholder) {
    position: relative;
  }

  #tabholder #pageholder {
    z-index: 99999;
  }

  #tabholder #pageholder #p5.page {
    z-index: 99999 !important;
  }

  #tabholder:has(#cropbox[show="1"])>div:has(> div > .tablabel) {
    /*    display: none;*/
  }

  /*#tabholder:has(#cropbox[show="1"]):before {
    display: none;
  }*/
  #tabholder:before {
    top: 46px;
  }

  #tabholder #pageholder #previewpage #prevbox>img:not(#shadowlayer) {
    transform: translateY(calc(-50% + (var(--border-1) * 0.5))) translateX(calc(-50% + 0px - (var(--border-1) * 0.5)));
    margin-bottom: 0px;
  }

  body:has(#tabholder) dialog:has(.text-search-dialog-form) {
    width: calc(100vw - 40px);
    height: calc(100dvh - 40px);
    max-height: calc(100dvh - 40px);
  }

  body:has(#tabholder) dialog:has(.text-search-dialog-form)>form>p>ul {
    column-count: 2;
  }

  #logo img {
    height: 66px;
  }

  #mand>a:nth-child(2) {
    min-width: 60px;
    margin-right: calc(-20px - var(--right-padding));
  }

  #mand>a:nth-child(2)>i {
    margin-right: 0px;
    margin-left: -5px;
  }
}

/*@media (width: 980px) {
  main:has(#tabholder) {
    height: calc(100dvh - 125px);
  }
}*/
@media (max-width: 980px) {
  #tabholder #pageholder>#p5.page>.holder>div>#photooptions #kh {
    max-height: 95px;
    flex-wrap: nowrap;
    overflow-x: auto;
    min-width: 100%;
    padding-right: var(--vertical-gap);
    margin-right: var(--vertical-gap);
    align-items: flex-start;
    justify-content: flex-start;
  }

  #tabholder #pageholder>#p5.page>.holder>div>#photooptions #kh>img {
    width: 100px;
    max-width: 100px;
  }
}

@media (max-width: 768px) {

  #checkout,
  body:has(#checkout) footer {
    display: block;
    --left-padding: 10px;
    --right-padding: var(--left-padding);
  }

  #checkout>div:nth-child(1),
  #checkout>div:nth-child(2) {
    width: 100%;
  }

  #checkout #sum {
    border-left: none;
    padding-left: 0px;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid var(--border-color);
    margin-left: 0px;
    max-height: initial;
  }

  #checkout:has(#paymentoptions:checked) #sum {
    max-height: initial;
  }

  footer>div {
    flex-direction: row;
    row-gap: calc(var(--vertical-margin) * 2);
  }

  footer>div ul {
    width: calc(50% - 10px);
    max-width: 100%;
  }

  #checkout #basketpage {
    padding-right: 7px;
    padding-left: 7px;
    margin-left: -7px;
    margin-right: -7px;
    width: calc(100% + 14px);
  }

  #checkout #verzending {
    margin-left: 0px;
  }

  #checkout #submit {
    width: 100%;
    box-sizing: border-box;
  }
}

@media (min-width: 980px) {
  #checkout #basketpage .row.orderitem {
    width: calc((100% * 0.5) - calc(var(--left-padding) * 0.5));
    box-sizing: border-box;
  }

  #checkout #basketpage .row.orderitem:nth-child(even) {
    margin-right: calc(var(--left-padding) * 0.5);
  }

  #checkout #basketpage .row.orderitem:nth-child(odd) {
    margin-left: calc(var(--left-padding) * 0.5);
  }

  #checkout #basketpage .upsell {
    box-sizing: border-box;
  }
}

@media (max-height: 700px) and (max-width: 480px) {
  #tabholder #pageholder #previewpage>label {
    max-width: calc(100dvh - 530px);
  }
}

@media (max-width: 480px) {

  #tabholder:has(#tab-4:checked) #moblayer,
  #tabholder:has(#tab-5:checked) #moblayer {
    display: none;
  }

  #tabholder #p3 .btn-choose-font {
    display: block;
  }

  #tabholder:has(#tab-3:checked) #pageholder #p3.page {
    z-index: 99999;
  }

  #tabholder #pageholder>#p3.page>.holder>#fh {
    position: fixed;
    opacity: 0;
    pointer-events: none;
    left: var(--horizontal-gap);
    top: var(--vertical-gap);
    width: calc(100vw - (2 * var(--horizontal-gap)));
    height: calc(100dvh - (2 * var(--vertical-gap)));
    z-index: 2;
    padding: 20px;
    padding-right: 0px;
    box-sizing: border-box;
    transition: opacity var(--transition-duration);
  }

  #tabholder #pageholder>#p3.page>.holder:before {
    content: "";
    position: fixed;
    left: 50%;
    top: 50%;
    width: calc(100vw + 40px);
    height: calc(100dvh + 40px);
    transform: translateX(-50%) translateY(-50%);
    background-color: rgba(255, 255, 255, 0.7);
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--transition-duration);
  }

  #tabholder #pageholder #p3 .holder>.navbut {
    flex-grow: 100;
    align-items: flex-end;
  }

  body.show-choose-font {
    overflow: hidden;
  }

  body.show-choose-font #tabholder #pageholder>#p3.page>.holder>#fh {
    opacity: 1;
    pointer-events: auto;
  }

  body.show-choose-font #tabholder #pageholder>#p3.page>.holder:before {
    opacity: 1;
    pointer-events: auto;
  }

  body:has(#tabholder) dialog:has(.text-search-dialog-form)>form>p>ul {
    column-count: 1;
  }
}

@media (max-width: 400px) {
  #tabholder #pageholder>#p3.page>.holder>div:has([type="color"]) input {
    width: 0%;
    padding: 0px;
    background: none;
    border: none;
    margin-left: calc(0px - var(--horizontal-gap));
  }
}

#ytv {
  width: 100%;
  height: auto;
}

#fixdesign {
  display: none;
  visibility: hidden
}

#preview>div>.simple-preview:has(> div > img) {
  width: 100%;
  padding-top: 48.5436893204%;
  position: relative;
}

#preview>div>.simple-preview>div:has(> img) {
  position: absolute;
  width: 100%;
  height: 100%;
  left: 0%;
  top: 0%;
  display: flex;
  align-items: center;
  justify-content: center;
}

#preview>div>.simple-preview>div>img {
  height: calc(100% - 30px);
  width: auto !important;
}

#preview[show-animation]>div>.simple-preview {
  opacity: 0;
  pointer-events: none;
}

#preview>div:has(> .tile-box) {
  position: relative;
}

#preview>div>.tile-box {
  position: absolute;
  left: 0%;
  top: 0%;
  width: 100%;
  height: 100%;
}

#preview>div>.simple-preview,
#preview>div>.tile-box {
  transition: opacity var(--transition-duration) !important;
}

#preview:not([show-animation])>div>.tile-box {
  opacity: 0;
  pointer-events: none;
}

/* text selection dialog */

body:has(#tabholder) dialog:has(#trefwoord) {
  display: flex;
  flex-direction: column;
  row-gap: 20px;
}

body:has(#tabholder) dialog:has(#trefwoord)>form {
  height: 0px;
  flex-grow: 100;
}

body:has(#tabholder) dialog:has(#trefwoord)>button {
  align-self: center;
  width: fit-content;
}

body:has(#tabholder) dialog:has(#trefwoord) ul>li:has(input:checked) {
  background-color: rgba(var(--selection-color), 1);
  color: #ffffff !important;
}

/* tile editor */
#slider {
  margin-bottom: 0px;
  height: 80vh;
  width: 100%;
  max-width: var(--max-width);
}

#slider .slice-form {
  height: 100%;
  display: flex;
  flex-direction: column;
  row-gap: 0px;
  max-height: 100%;
  padding-top: 0px;
}

#slider .slice-form .sl-columns {
  flex-grow: 100;
  max-height: 100%;
  height: 0px;
  column-gap: 40px;
  row-gap: 20px;
  background: linear-gradient(180deg, rgba(239, 239, 239, 1) 0%, rgba(255, 255, 255, 1) 45%, rgba(255, 255, 255, 1) 55%, rgba(255, 255, 255, 0) 100%);
  background-color: #ffffff;
  border-bottom-left-radius: 10px;
  border-bottom-right-radius: 10px;
  box-shadow: 0px 5px 5px rgba(0, 0, 0, 0.1);
  padding: 20px;
  z-index: 1;
}

#slider .slice-form .sl-columns .sl-left-column {
  height: 100%;
  position: relative;
}

#slider .sl-section {
  height: 100%;
  opacity: 0;
  pointer-events: none;
  position: absolute;
  left: 0%;
  top: 0%;
  width: 100%;
  height: 100%;
}

#slider .slice-form .sl-section:has(input[type="radio"]:checked) {
  opacity: 1;
  position: auto;
  position: relative;
}

#slider .sl-section .sl-content {
  height: 100%;
  max-height: 100%;
}

#slider .sl-section .sl-content>div {
  height: 100%;
  padding-top: 0px;
  padding-bottom: 0px;
  display: flex;
  flex-direction: column;
}

#slider .sl-section .sl-buttons {
  margin-top: auto;
}

#slider .sl-section:has(#sl-section-1) .sl-file {
  flex-grow: 100;
  max-height: 100%;
  height: 100%;
}

#slider .sl-section:has(#sl-section-1) .sl-file img {
  height: 100%;
  max-height: 100%;
}

#slider .sl-section:has(#sl-section-3) .slice-holder {
  height: 100%;
  display: flex;
  flex-direction: column;
}

#slider .sl-section:has(#sl-section-3) .slice-holder>.sl-image {
  height: 100%;
}

#slider .sl-section:has(#sl-section-3) .slice-holder .sl-preview {
  display: none;
}

#slider .slice-form .sl-button.btn-success {
  animation: pulse-shadow 5s infinite;
  margin-right: 0px;
}

#slider .sl-top-bar {
  padding-left: 0px;
  padding-right: 0px;
}

#slider .sl-zoom .sl-button {
  background-color: #333333;
}

body:has(#slider .slice-form) footer {
  display: none;
}

#slider .sl-tabs-nav {
  display: flex;
  column-gap: 2px;
  z-index: 0;
}

#slider .sl-tab-link {
  margin-right: 0px;
  border-radius: 0px;
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
  padding: 15px;
  display: inline-block;
  line-height: 1;
  height: auto;
  box-shadow: 0px -5px 10px rgba(0, 0, 0, 0.1);
  background: none;
  background-color: initial;
  color: initial;
  transition: background-color var(--transition-duration), color var(--transition-duration);
  text-transform: uppercase;
  font-size: 16px;
}

#slider .sl-tab-link span {
  line-height: 1.25;
}

#slider .sl-tab-link.sl-active {
  border: none;
  background-color: var(--primary-color);
  color: #ffffff;
}

@media not all and (min-width: 980px) {
  #slider .slice-form {
    padding-top: 20px;
  }

  #slider .sl-tab-link span {
    display: none;
  }

  #slider .slice-form .sl-columns {
    flex-direction: column-reverse;
  }

  #slider .slice-form .sl-columns .sl-left-column {
    height: 0px;
    flex-grow: 100;
    width: 100%;
  }

  #slider .slice-form .sl-columns .sl-right-column {
    align-self: center;
    max-height: 25vh;
  }
}

#slider .sl-content .sl-row {
  width: 100%;
  ;
}

#slider .sl-content .sl-row .sl-label+* {
  flex-grow: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  column-gap: 10px;
}

#slider .sl-content .sl-row .sl-label+*>* {
  flex-grow: 100;
}

#slider .slice-holder .sl-image .sl-selected-image {
  height: 100%;
}

#slider .slice-holder .sl-image .sl-selected-image>img {
  height: auto !important;
}

#slider .slice-form.sl-loaded-image .sl-section:not(:has(input[type="radio"]:checked)) .slice-holder,
#slider .slice-form.sl-loaded-image .sl-section:not(:has(input[type="radio"]:checked)) .slice-holder * {
  pointer-events: none !important;
}

/* ontwerp-foto editor */
#ontwerpForm #tabholder #pageholder div:has(> #photooptions):not(:has(> #photooptions.hide)) {
  align-items: center;
  justify-content: center;
}

#ontwerpForm #tabholder #pageholder div:has(> #photooptions):not(:has(> #photooptions.hide)) #alleen_foto {
  display: none;
}

#tabholder #pageholder>#p5.page>.holder>div>#photooptions {
  width: 100%;
}

#tabholder #pageholder>#p5.page>.holder>div>#photooptions.cropbox-visible {
  flex-wrap: initial;
  flex-direction: column;
  flex-grow: 100;
}

#ontwerpForm #tabholder #pageholder #photooptions #actions {
  display: flex;
  width: 100%;
  align-items: center;
  column-gap: 10px;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  row-gap: 10px;
}

#ontwerpForm #tabholder #pageholder #photooptions #actions>* {
  margin: 0px !important;
}

#ontwerpForm #tabholder #pageholder #photooptions #actions>*:nth-last-child(1),
#ontwerpForm #tabholder #pageholder #photooptions #actions>*:nth-last-child(2) {}

#ontwerpForm #tabholder #pageholder #photooptions #cropbox {
  position: initial;
  top: initial;
  background-color: initial;
  flex-grow: 100;
  height: initial;
  max-width: initial;
  width: 100%;
  margin: 0px;
}

#ontwerpForm #tabholder #pageholder #photooptions #cropbox #cropex {
  margin-top: 0px;
}

#ontwerpForm #tabholder #pageholder #photooptions #cropbox>div {
  display: flex;
  flex-direction: column;
  row-gap: 10px;
  height: 100%;
}

#ontwerpForm #tabholder #pageholder #photooptions #cropbox>div>div:has(button):not(.movement) {
  display: flex;
  width: 100%;
  column-gap: 10px;
  flex-wrap: wrap;
  row-gap: 10px;
}

#ontwerpForm #tabholder #pageholder #photooptions #cropbox>div>div:has(button):not(.movement)>* {
  flex-grow: 100;
  cursor: pointer;
}

#ontwerpForm #tabholder #pageholder #photooptions #cropbox div:has(> div > canvas) {
  flex-grow: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100px;
  width: 100%;
}

#ontwerpForm #tabholder #pageholder #photooptions #cropbox div:has(> div > canvas)>div {
  position: relative;
}

#ontwerpForm #tabholder #pageholder #photooptions #cropbox div:has(> div > canvas) img {
  display: block;
  max-width: 100%;
  max-height: 100%;
  opacity: 0;
  margin: 0px;
}

#ontwerpForm #tabholder #pageholder #photooptions #cropbox canvas {
  position: absolute;
  left: 0%;
  top: 0%;
  width: 100% !important;
  height: 100% !important;
}

#ontwerpForm #tabholder #pageholder #photooptions #cropbox .movement>button {
  background: none;
  border: none;
  cursor: pointer;
}

#ontwerpForm #tabholder #pageholder #photooptions #cropbox div:has(> input[type="range"]) {
  display: flex;
  column-gap: 20px;
  align-items: center;
  justify-content: flex-start;
}

#ontwerpForm #tabholder #pageholder #photooptions #cropbox div:has(> input[type="range"]) label {
  width: 100px;
}

#ontwerpForm #tabholder #pageholder #photooptions #cropbox input[type="range"]::-webkit-slider-runnable-track {
  width: 100%;
  height: 5px;
  background: #ddd;
  border-radius: 3px;
}

#ontwerpForm #tabholder #pageholder #photooptions #cropbox input[type="range"]::-moz-range-track {
  width: 100%;
  height: 5px;
  background: #ddd;
  border-radius: 3px;
}

#ontwerpForm #tabholder #pageholder #photooptions #cropbox input[type="range"]::-webkit-slider-thumb {
  appearance: none;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #4285f4;
  cursor: pointer;
  margin-top: -6px;
}

#ontwerpForm #tabholder #pageholder #photooptions #cropbox input[type="range"]::-moz-range-thumb {
  width: 18px;
  height: 18px;
  border: none;
  border-radius: 50%;
  background: #4285f4;
  cursor: pointer;
}

#ontwerpForm #tabholder #pageholder #photooptions #cropbox input[type="range"]:focus {
  outline: none;
}

#ontwerpForm #tabholder #pageholder #photooptions #cropbox input[type="range"]:focus::-webkit-slider-thumb {
  box-shadow: 0 0 0 3px rgba(66, 133, 244, 0.3);
}

#ontwerpForm #tabholder #pageholder #photooptions #cropbox input[type="range"]:focus::-moz-range-thumb {
  box-shadow: 0 0 0 3px rgba(66, 133, 244, 0.3);
}

@media not all and (min-width: 980px) {
  #tabholder:has(#tab-5:checked) #pageholder:has(#photooptions.cropbox-visible) #previewpage {
    display: none;
  }

  #tabholder:has(#tab-5:checked):has(#photooptions.cropbox-visible) {
    row-gap: 20px;
  }
}

#canvas {
  user-select: none;
  touch-action: none;
}

/* tiles layout */
ul.overview {
  display: flex;
  flex-wrap: wrap;
  gap: 0px;
  width: 100%;
  column-gap: 10px;
  --font-size: 16px;
}

.overview,
.overview * {
  box-sizing: border-box;
}

.overview li a {
  font-size: calc(var(--font-size) - 2px);
  line-height: 1;
}

.overview li img {
  width: 100%;
  margin-bottom: 0px;
  min-width: 100%;
}

.overview li a.btn {
  z-index: 101;
}

.overview li {
  width: calc(50% - 5px);
  text-align: right;
  position: relative;
  font-size: 0px;
  line-height: 56px;
}

.overview li .glare {
  width: 100%;
  height: auto;
}

.overview li .glare:before {
  box-sizing: border-box;
}

.overview li:after {
  content: "€ 9,95";
  letter-spacing: normal;
  position: absolute;
  right: 20px;
  top: 20px;
  color: #000000;
  background-color: #ffffff;
  padding: 10px;
  border-radius: 10px;
  box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.2);
  font-size: calc(var(--font-size) * 0.8);
  line-height: 1;
}

.overview li a:first-child {
  margin-bottom: 1rem;
}

.overview li a.btn {
  margin-bottom: 5px;
  float: left;
}

body .overview li a.btn {
  margin: 0px;
  color: transparent;
  text-shadow: none;
  letter-spacing: -14px;
  width: 41.5px;
}

body .overview li a.btn:before,
body .overview li a.btn i {
  color: #ffffff;
  letter-spacing: normal;
}

.overview li a.btn:not(:has(.fa-paint-brush)) {
  margin-left: 5px;
}

.overview li {
  color: transparent;
  text-shadow: none;
}

.overview li a.btn {
  letter-spacing: normal;
  color: #ffffff;
}

/* Copyright page styling */
.copyright-section {
  margin-bottom: 2rem;
  border-bottom: 1px solid #eaeaea;
  padding-bottom: 1.5rem;
}

.copyright-section:last-child {
  border-bottom: none;
}

.copyright-section h2 {
  color: #333;
  margin-bottom: 1rem;
  font-size: 1.5rem;
}

.copyright-section p {
  margin-bottom: 1rem;
  line-height: 1.6;
}

.copyright-section ul {
  margin-left: 1.5rem;
  margin-bottom: 1.5rem;
}

.copyright-section li {
  margin-bottom: 0.75rem;
  line-height: 1.6;
}

footer .cookie-settings-link {
  cursor: pointer;
}

/* specials page */
.specials-page table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
}

.specials-page th,
.specials-page td {
  padding: 8px;
  text-align: left;
  border-bottom: 1px solid #ddd;
}

.specials-page th {
  background-color: var(--light-color);
}

.specials-page tr {
  transition: background-color var(--transition-duration) ease, color var(--transition-duration) ease;
}

.specials-page tr:hover {
  background-color: #f7f7f7;
}

/* search form box */
#zoekform1,
#zoekform2,
#zoekform3 {
  display: flex;
  gap: 20px;
  box-sizing: border-box;
  padding: 20px;
  justify-content: center;
}

#zoekform1>*,
#zoekform2>*,
#zoekform3>* {
  width: auto;
}

#zoekform1>div,
#zoekform2>div,
#zoekform3>div {
  display: flex;
  gap: 0px;
}

#zoekform1>b,
#zoekform2>b,
#zoekform3>b {
  line-height: 1;
  display: flex;
  align-items: center;
  white-space: nowrap;
}

#zoekform1>div>label,
#zoekform2>div>label,
#zoekform3>div>label {
  display: flex;
  align-items: center;
  gap: 5px;
  border-top-left-radius: 0px !important;
  border-bottom-left-radius: 0px !important;
}

#zoekform1>div>input,
#zoekform2>div>input,
#zoekform3>div>input {
  box-sizing: border-box;
  flex-grow: 1;
  flex-shrink: 1;
  flex-basis: 0px;
  max-width: 400px;
  width: 100%;
  border-top-right-radius: 0px !important;
  border-bottom-right-radius: 0px !important;
  padding-left: 10px;
  padding-right: 10px;
}

#zoekform1>div>input[type="submit"],
#zoekform2>div>input[type="submit"],
#zoekform3>div>input[type="submit"] {
  opacity: 0;
  width: 0px;
  height: 0px;
  overflow: hidden;
  flex-grow: 0;
  position: absolute;
}

#zoekform1>label,
#zoekform2>label,
#zoekform3>label {
  line-height: 1;
  display: flex;
  align-items: center;
}



@media not screen and (min-width: 980px) {
  .specials-page table {
    display: block;
    overflow-x: auto;
    white-space: nowrap;
  }

  .specials-page table,
  .specials-page thead,
  .specials-page tbody,
  .specials-page th,
  .specials-page td,
  .specials-page tr {
    display: block;
  }

  .specials-page thead tr {
    position: absolute;
    top: -9999px;
    left: -9999px;
  }

  .specials-page tr:has(> th) {
    display: none;
  }

  .specials-page tr {
    border: 1px solid #ccc;
    margin-bottom: 15px;
  }

  .specials-page td {
    border: none;
    border-bottom: 1px solid #eee;
    position: relative;
    padding-left: 50%;
    white-space: normal;
    text-align: right;
  }

  .specials-page td:before {
    position: absolute;
    top: 6px;
    left: 6px;
    width: 45%;
    padding-right: 10px;
    white-space: nowrap;
    text-align: left;
    font-weight: bold;
    content: attr(data-title);
  }

  .specials-page td:before {
    content: attr(data-title);
  }

  .specials-page *:has(> tr) {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
  }

  .specials-page tr {
    width: 100%;
    margin-bottom: 0px;
    box-sizing: border-box;
  }

  .specials-page tr td:first-child {
    background-color: var(--light-color);
  }
}

@media not screen and (min-width: 768px) {
  .specials-page *:has(> tr) {
    grid-template-columns: repeat(2, 1fr);
  }

  #zoekform1,
  #zoekform2,
  #zoekform3 {
    flex-direction: column;
    align-items: center;
  }
}

@media not screen and (min-width: 480px) {
  .specials-page *:has(> tr) {
    grid-template-columns: repeat(1, 1fr);
  }

  /* search form changes */
  #zoekform1>div,
  #zoekform2>div,
  #zoekform3>div {
    width: 100%;
  }

  #zoekform1>label,
  #zoekform2>label,
  #zoekform3>label {
    display: none;
  }
}

/* faq page */
.faq input[type='radio']+label {
  padding: 0px;
  transition: border calc(var(--transition-duration) * 0.5) ease !important;
}

.faq input[type='radio']:not(:checked)+label {
  height: auto;
}

.faq input[type='radio']:not(:checked)+label:hover {
  border: calc(var(--selection-border-size) * 0.5) solid rgb(var(--selection-color));
}

.faq input[type='radio']:checked+label {
  height: auto;
  border: calc(var(--selection-border-size) * 0.5) solid rgb(var(--selection-color));
}

.faq input[type='radio']+label>p {
  max-height: 0px;
  overflow: hidden;
  margin: 0px;
  transition: max-height var(--transition-duration) ease, margin calc(var(--transition-duration) * 0.5) ease;
  padding: 0px 10px;
}

.faq input[type='radio']:checked+label>p {
  max-height: 100px;
  margin: 10px 0px;
}

.faq input[type='radio']+label>b {
  display: block;
  padding: 10px;
  transition: background-color var(--transition-duration) ease;
}

.faq input[type='radio']:checked+label>b {
  background-color: var(--light-color);
}

body:has(.faq) .box>h2 {
  margin: 0px;
}

body:has(.faq) .box>.faq {
  margin-top: calc(var(--vertical-gap) * 0.5);
  margin-bottom: var(--vertical-margin);
}

footer ul>li:first-child {
  font-weight: bold;
}

/* single tile page - header */
.single-tile-page>#margin>#view {
  gap: 40px;
  justify-content: center;
}

.single-tile-page>#margin>#view>div {
  display: flex;
  gap: 40px;
  align-items: center;
}

.single-tile-page>#margin>#view figure {
  margin: 0px;
}


@media not screen and (min-width: 768px) {
  .single-tile-page>#margin>#view>div {
    flex-direction: column;
  }
}


@media screen and (min-width: 360px) {
  body .overview li a.btn:has(.fa-paint-brush) {
    margin: 0px;
    color: #ffffff;
    text-shadow: none;
    letter-spacing: normal;
    width: auto;
  }
}

@media not screen and (min-width: 360px) {

  /* max-width: 360px */
  #home #usp a.btn {
    font-size: 0.8em;
  }

  #usp li div {
    width: 100% !important;
  }
}

@media screen and (min-width: 530px) {
  .overview li:after {
    display: none;
  }

  .overview li {
    color: inherit;
    font-size: var(--font-size);
    line-height: 2.4;
  }

  .overview li * {
    line-height: normal;
  }

}

@media screen and (min-width: 768px) {
  .overview li {
    width: calc(33.33% - 7.5px);
  }
}

@media screen and (min-width: 980px) {
  body .overview li a.btn {
    margin: 0px;
    color: #ffffff;
    text-shadow: none;
    letter-spacing: normal;
    width: auto;
  }
}

@media screen and (min-width: 1380px) {
  .overview li {
    width: calc(25% - 7.5px);
  }

  body .overview li a.btn {
    margin: 0px;
    color: transparent;
    text-shadow: none;
    letter-spacing: -14px;
    width: 41.5px;
  }
}

@media not screen and (min-width: 480px) {

  /* max-width: 480px */
  body .overview li:nth-child(even) a.btn {
    position: relative;
  }

  body .overview li:nth-child(even) a.btn:not(:has(.fa-paint-brush)):before {
    left: 50%;
    margin-left: 0px;
    transform: translateX(-80%);
  }

  body .overview li:nth-child(even) a.btn:has(.fa-paint-brush):before {
    left: 50%;
  }

  body .overview li:nth-child(even) a.btn:has(.fa-paint-brush):before {
    left: 50%;
    margin-left: 0px;
    transform: translateX(-50%);
  }

  footer>div ul {
    width: 100%;
  }

}

@media screen and (min-width: 980px) {
  section#home:has(> #margin):has(.overview li) {
    width: 100%;
    max-width: var(--max-width);
  }

  #home #usp {
    width: initial;
  }

  section#home:has(> #margin):has(.overview li) #margin {
    margin: 0px 10px;
    box-sizing: border-box;
  }
}

/* common */
html:has(.fix-margins) main section {
  width: 100%;
  box-sizing: border-box;
  max-width: var(--max-width);
  margin-bottom: 10px;
}

html:has(.fix-margins) main section>#margin {
  width: 100%;
  box-sizing: border-box;
  margin: 0px;
  padding: 0px 10px;
}
/* live.css */
#moblayer:has(> .btn.fullwidth),
#moblayer:has(> .btn.fullwidth) * {
  box-sizing: border-box;
}

#moblayer:has(> .btn.fullwidth) {
  width: 100%;
  padding: 10px;
  /* box-shadow: 0px 0px 30px rgba(0, 0, 0, 0.5); */
  background: inherit;
}

#moblayer:has(> .btn.fullwidth):before {
  content: "";
  position: absolute;
  top: 0px;
  left: 0px;
  width: 100%;
  height: 100%;
  backdrop-filter: blur(0px);
  background: linear-gradient(180deg, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 1) 44%, rgba(255, 255, 255, 1) 100%);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

#moblayer:has(> .btn.fullwidth) .btn.fullwidth {
  margin: 0px;
  display: block;
  max-width: initial;
  position: relative;
}

section#home:has(#margin).single-tile-page>div#margin {
  margin: 0px;
}

#moblayer:has(> .btn.fullwidth)>.btn.fullwidth:before {
  left: 50%;
  margin: 0px;
  transform: translateX(-50%);
}

#moblayer:has(> .btn.fullwidth)>.btn.fullwidth:after {
  transform: translateY(100%);
}

@media screen and (min-width: 980px) {
  #moblayer:has(> .btn.fullwidth) {
    display: none !important;
  }
}

/* single tile page - header */
.single-tile-page>#margin>#view {
  gap: 40px;
  justify-content: center;
}

.single-tile-page>#margin>#view>div {
  display: flex;
  gap: 40px;
  align-items: center;
  width: 100%;
}

.single-tile-page>#margin>#view #item {
  margin: 0px;
  flex-grow: 100;
  flex: initial;
  width: 50%;
}

.single-tile-page>#margin>#view #product {
  width: 50%;
  flex: initial;
  display: flex;
  justify-content: center;
}

.single-tile-page>#margin>#view #item .producttext {
  margin-left: 32px;
}

.single-tile-page>#margin>#view figure {
  margin: 0px;
}

.single-tile-page>#margin>#view figure>a {
  margin-left: 0px;
  margin-right: 0px;
  display: block;
}

.single-tile-page>#margin>#view figure>a img {
  max-width: inherit;
  max-height: inherit;
  width: 100%;
  height: auto;
}

.single-tile-page>#margin>#productgrid {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
}

.single-tile-page>#margin>#productgrid>div {
  width: calc(50% - 20px);
}

.single-tile-page>#margin>#productgrid>div:has(#cadeau) img {
  display: block;
  max-width: initial;
  width: 100%;
}

.single-tile-page>#margin>#view #item .btn.btn-success:has(i.fa-shopping-basket) {
  margin-right: 10px;
}

.return-form-page textarea {
  box-sizing: border-box;
  width: 100%;
}

/* Retouren & service form. Same building blocks as the checkout address form and
   the contact page: .fp wrappers around .inputText, the .btn classes for the
   buttons and --vertical-gap / --input-margin for the spacing. */
.return-form-page>#margin>.box {
  max-width: 720px;
}

.return-form-page>#margin>.box>p {
  margin-bottom: var(--vertical-gap);
}

.return-form-page .form {
  display: flex;
  flex-direction: column;
  row-gap: var(--vertical-gap);
}

.return-form-page .form .form-row {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  column-gap: var(--input-margin);
  row-gap: var(--input-margin);
}

.return-form-page .form .form-row>.fp {
  flex: 1 1 200px;
  margin-bottom: 0;
}

.return-form-page .form .form-row>.fp.fp-gender {
  flex: 0 0 100px;
}

.return-form-page .form .fp select {
  width: 100%;
  box-sizing: border-box;
}

/* Label sits inside the field and lifts to the border on focus, the way the
   checkout address form does it. */
.return-form-page .form .fp label {
  margin: 0 0 0 10px;
  top: 50%;
  transform: translateY(-50%);
  /* The base .fp rule only animates transform, so the label would jump the moment
     top changes. The checkout animates both, and this page has to move the same
     way — same properties, same duration, same easing, and the shop's own
     entrance animation off, exactly like #checkout .address-form does. */
  transition: top calc(var(--transition-duration) * 0.4) ease-in-out,
              transform calc(var(--transition-duration) * 0.4) ease-in-out;
  animation: none !important;
}

.return-form-page .form .fp:not(:has(input:placeholder-shown)) label,
.return-form-page .form .fp:has(input:focus) label {
  top: 0;
  transform: scale(0.7) translateY(-40%);
  background: #fff;
}

.return-form-page .form textarea {
  height: 140px;
  resize: vertical;
}

.return-form-page .form .field-label {
  flex: 1 0 100%;
  line-height: 1.4;
}

/* File picker: the real input stays focusable (so "required" can still point at
   it) but is invisible on top of the button, like the photo picker in the editor. */
.return-form-page .form .file-field {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  column-gap: var(--input-margin);
  row-gap: 5px;
}

.return-form-page .form .file-field input[type="file"] {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
}

.return-form-page .form .file-field .btn {
  padding-left: 16px;
  padding-right: 16px;
}

.return-form-page .form .file-name {
  color: #999;
  font-size: 14px;
  line-height: 1.4;
  overflow-wrap: anywhere;
}


@media not screen and (min-width: 980px) {
  .single-tile-page>#margin>#view>div>#product {
    width: 40%;
  }

  .single-tile-page>#margin>#view>div>#item {
    width: 60%;
  }

  .single-tile-page>#margin>#view figure>a {
    width: 100%;
    height: auto;
    max-width: initial;
    max-height: initial;
  }

  .single-tile-page>#margin>#view figure>a img {
    width: 100%;
  }

  body:has(#moblayer > .btn.fullwidth) {
    footer {
      padding-bottom: 100px;
    }
  }

  #tabholder #pageholder>#p5.page>.holder>div>#photooptions #kh {
    padding-left: 0px;
    padding-bottom: 5px !important;
    padding-right: 0px;
    margin-right: 0px;
    margin-left: 0px;
  }

  #tabholder #pageholder>#p5.page>.holder>div>#photooptions #kh>img {
    width: 70px;
    max-width: 70px;
  }

  #ai-effects-dropdown {
    margin-top: 0px;
  }

  .ai-effects-help-container {
    display: none;
  }
  
  body:has(.kh-photo) #tabholder #pageholder>#p5.page>.holder>div>#photooptions #kh {
    width: 100%;
    max-width: 500px;
    min-width: auto;
  }

  dialog.tableau-edit-dialog div:has( > button) {
    flex-direction: column !important;
  }
}

@media not screen and (min-width: 768px) {
  .single-tile-page>#margin>#view>div {
    flex-direction: column;
    width: 100%;
  }

  .single-tile-page>#margin>#view>div>#product {
    width: 60%;
  }

  .single-tile-page>#margin>#view>div>#item {
    width: 100%;
  }

  .single-tile-page>#margin>#productgrid>div {
    width: 100%;
  }

  .single-tile-page>#margin>#view #item {
    width: 100%;
  }
}

@media not screen and (min-width: 480px) {
  .single-tile-page>#margin>#view>div>#product {
    width: 100%;
  }
}

@media not screen and (min-width: 430px) {
  .single-tile-page>#margin>#view #item .btn.btn-success:has(i.fa-shopping-basket) {
    color: transparent;
    text-shadow: none;
    letter-spacing: -14px;
    padding: 10px 22px;
  }

  .single-tile-page>#margin>#view #item .btn.btn-success:has(i.fa-shopping-basket) i {
    color: #ffffff;
    text-shadow: 1px 1px rgba(0, 0, 0, .5);
    letter-spacing: normal;
  }
}

@media not screen and (min-width: 350px) {
  .single-tile-page>#margin>#view #item .btn.btn-success:has(i.fa-arrow-right) {
    color: transparent;
    text-shadow: none;
    letter-spacing: -14px;
    padding: 10px 22px;
  }

  .single-tile-page>#margin>#view #item .btn.btn-success:has(i.fa-arrow-right) i {
    color: #ffffff;
    text-shadow: 1px 1px rgba(0, 0, 0, .5);
    letter-spacing: normal;
  }
}

/* Shipping & Delivery Page Styles */
.shipping-page #verzendtabel {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
  table-layout: fixed;
}

.shipping-page #verzendtabel td,
.shipping-page #verzendtabel th {
  padding: 8px;
  text-align: left;
  border-bottom: 1px solid #ddd;
  vertical-align: top;
}

.shipping-page #verzendtabel tr:first-child {
  background-color: var(--light-color);
  font-weight: bold;
}

.shipping-page #verzendtabel tr {
  transition: background-color var(--transition-duration) ease, color var(--transition-duration) ease;
}

.shipping-page #verzendtabel tr:hover {
  background-color: #f7f7f7;
}

/* Responsive styles for shipping tables */
@media not screen and (min-width: 768px) {
  .shipping-page #verzendtabel {
    display: block;
  }

  .shipping-page #verzendtabel,
  .shipping-page #verzendtabel tbody,
  .shipping-page #verzendtabel tr,
  .shipping-page #verzendtabel td {
    display: block;
    width: 100%;
  }

  .shipping-page #verzendtabel tr:first-child {
    position: absolute;
    top: -9999px;
    left: -9999px;
  }

  .shipping-page #verzendtabel tr {
    border: 1px solid #ddd;
    margin-bottom: 15px;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  }

  .shipping-page tr td:first-child {
    background-color: var(--light-color);
  }

  .shipping-page #verzendtabel td {
    border: none;
    border-bottom: 1px solid #eee;
    position: relative;
    white-space: normal;
    text-align: right;
    box-sizing: border-box;
    display: flex;
    width: 100%;
  }

  .shipping-page #verzendtabel td:last-child {
    border-bottom: none;
  }

  .shipping-page #verzendtabel td:before {
    width: 45%;
    padding-right: 10px;
    text-align: left;
    font-weight: bold;
    flex-grow: 100;
  }

  .shipping-page #verzendtabel td:before {
    content: attr(data-title);
  }

  /* Grid layout for the tables */
  .shipping-page #verzendtabel:not([width="600"]) tbody {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
  }

  .shipping-page #verzendtabel:not([width="600"]) tr:first-child {
    display: none;
  }

  .shipping-page #verzendtabel:not([width="600"]) tr {
    width: 100%;
    margin-bottom: 0;
  }

  .shipping-page #verzendtabel:not([width="600"]) tr td:first-child {
    background-color: var(--light-color);
  }
}

@media not screen and (min-width: 600px) {
  .shipping-page #verzendtabel:not([width="600"]) tbody {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media not screen and (min-width: 480px) {
  .shipping-page #verzendtabel:not([width="600"]) tbody {
    grid-template-columns: repeat(1, 1fr);
  }
}

/* temporary */
#productgrid {
  /* display: none; */
}

#checkout:has(#paymentoptions:checked) #sum {
  max-height: initial;
  overflow: initial;
}

#checkout:not(:has(#paymentoptions:checked)) ul#methods li.sel label span {
  width: calc(100% - 115px);
}

#checkout #sum>div.zig-zag-top>#korting>div {
    display: flex;
    width: 100%;
    column-gap: calc(var(--left-padding) * 0.5);
    align-items: flex-end;
    text-align: left;
    margin-bottom: 0px;
    position: relative;
}

#checkout #sum>div.zig-zag-top>#korting>div:not(:last-child) {
  margin-bottom: var(--row-gap);
}

/* # ontwerp - preview-mode - starts */
body #pageholder > div:not(#previewpage) {
  transition: height var(--transition-duration) ease, flex-grow var(--transition-duration) ease;
}

#tabholder #pageholder #previewpage>label {
  /* transition: max-width var(--transition-duration) ease; */
}

@media not screen and (min-width: 480px) {
  #tabholder #pageholder .holder>.navbut {
    width: calc(100% - 5px);
  }
  
  body.preview-mode #pageholder > div:not(#previewpage) {
    height: 0px !important;
    flex-grow: 0 !important;
    overflow: hidden;
  }

  body.preview-mode #pageholder > #previewpage {
    flex-grow: 100 !important;
  }

  body.preview-mode #tabholder #pageholder #previewpage>label {
    max-width: 100%;
    align-items: center;
  }
}
/* # ontwerp - preview-mode - ends */

.rate-limit-display {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 8px;
  border-radius: 10px;
  font-size: 11px;
  font-weight: 600;
  margin-left: auto;
  margin-right: 8px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.rate-limit-display.high {
  background: linear-gradient(135deg, #4CAF50 0%, #45a049 100%);
  color: white;
}

.rate-limit-display.medium {
  background: linear-gradient(135deg, #FF9800 0%, #f57c00 100%);
  color: white;
}

.rate-limit-display.low {
  background: linear-gradient(135deg, #f44336 0%, #d32f2f 100%);
  color: white;
  animation: pulse 2s ease-in-out infinite;
}

.rate-limit-icon {
  font-size: 14px;
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.2));
}

.rate-limit-text {
  letter-spacing: 0.5px;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.85; }
}

.effects-dropdown {
  width: 100%;
  margin-bottom: 0px;
  position: relative;
  clear: both;
}

.effects-dropdown .dropdown-selected {
  display: flex;
  align-items: center;
  padding: 5px;
  background-color: #fff;
  border: 2px solid #cacaca;
  border-radius: 4px;
  cursor: pointer;
  transition: border-color 0.2s ease, border-radius 0.3s ease;
  user-select: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  min-height: 60px;
  max-height: 60px;
  box-sizing: border-box;
}

.effects-dropdown .dropdown-selected:hover {
  border-color: #275CAB;
}

.effects-dropdown .dropdown-selected.open {
  border-color: #275CAB;
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
}

.effects-dropdown .dropdown-selected.open.show-upward {
  border-top-left-radius: 0;
  border-top-right-radius: 0;
  border-bottom-left-radius: 4px;
  border-bottom-right-radius: 4px;
}

.effects-dropdown .effect-thumbnail {
  width: 50px;
  height: 50px;
  object-fit: cover;
  border: 1px solid #e0e0e0;
  margin-right: 12px;
  flex-shrink: 0;
}

.effects-dropdown .effect-name {
  flex: 1;
  font-size: 14px;
  color: #333;
  user-select: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
}

.effects-dropdown .dropdown-arrow {
  margin-left: 10px;
  color: #666;
  font-size: 12px;
  transition: transform 0.3s ease, color 0.2s ease;
}

.effects-dropdown .dropdown-selected.open .dropdown-arrow {
  transform: rotate(180deg);
  color: #275CAB;
}

.effects-dropdown .dropdown-list {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background-color: #fff;
  border: 2px solid #275CAB;
  border-top: none;
  border-bottom-left-radius: 4px;
  border-bottom-right-radius: 4px;
  max-height: 0;
  overflow: hidden;
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease, visibility 0.2s ease, max-height 0.2s ease;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.effects-dropdown .dropdown-list.show-upward {
  top: auto;
  bottom: 100%;
  border-top: 2px solid #275CAB;
  border-bottom: none;
  border-top-left-radius: 4px;
  border-top-right-radius: 4px;
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
  box-shadow: 0 -4px 6px rgba(0, 0, 0, 0.1);
}

.effects-dropdown .dropdown-list.open {
  opacity: 1;
  visibility: visible;
  max-height: 300px;
  overflow-y: auto;
}

.effects-dropdown .dropdown-item {
  display: flex;
  align-items: center;
  padding: 5px;
  cursor: pointer;
  transition: background-color 0.15s ease;
  border-bottom: 1px solid #f0f0f0;
  user-select: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  min-height: 60px;
  box-sizing: border-box;
}

.effects-dropdown .dropdown-item:last-child {
  border-bottom: none;
}

.effects-dropdown .dropdown-item:hover {
  background-color: #f5f5f5;
}

.effects-dropdown .dropdown-item.selected {
  background-color: #e8f0fe;
  transform: none !important;
  transform-style: flat !important;
}

.effects-dropdown .dropdown-item.selected::after {
  content: none !important;
  display: none !important;
}

.effects-dropdown .dropdown-item.cached {
  background-color: #e8f5e9;
}

.effects-dropdown .dropdown-item.cached:hover {
  background-color: #c8e6c9;
}

.effects-dropdown .dropdown-item.selected.cached {
  background-color: #d4edda;
}

#tabholder #pageholder>#p5.page>.holder>div>#photooptions #kh {
  padding-bottom: 0px;
}

#photooptions.cropbox-visible #ai-effects-dropdown {
  display: none;
}

@media (max-width: 980px) {
  #ai-effects-dropdown .effect-thumbnail {
    width: 40px;
    height: 40px;
  }
  
  #ai-effects-dropdown .effect-name {
    font-size: 13px;
  }
}

.upload-progress-container {
  width: 100%;
  max-width: 400px;
  margin: 20px auto 0;
}

.upload-progress-bar {
  width: 100%;
  height: 30px;
  background-color: #f0f0f0;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.1);
  position: relative;
}

.upload-progress-fill {
  height: 100%;
  background: linear-gradient(135deg, #4CAF50 0%, #45a049 100%);
  border-radius: 15px;
  transition: width 0.3s ease;
  width: 0%;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.upload-progress-text {
  position: absolute;
  width: 100%;
  text-align: center;
  font-weight: 600;
  font-size: 13px;
  color: #333;
  line-height: 30px;
  text-shadow: 0 1px 2px rgba(255, 255, 255, 0.8);
}

.upload-progress-fill .upload-progress-text {
  color: white;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

body:has(#cropbox img#canvasOverlay) #prevbox > img {
  pointer-events: none;
}

#cropbox img#canvasOverlay {
  max-width: initial !important;
  max-height: initial !important;
}

#cropbox div:has( > img#canvasOverlay) {
  border: 1px solid black;
}

#cropbox div:has( > img#canvasOverlay) > canvas {
  border: none !important;
}

#prevbox #foto-container {
  position:absolute;
  left:0;
  top:0;
  width:100%;
  height:100%;
  overflow:hidden;
  pointer-events:auto;
  z-index: 2;
  background-color: #ffffff;
  cursor: grab;
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  touch-action: none;
  -webkit-tap-highlight-color: transparent;
}

#prevbox #foto-container:active {
  cursor: grabbing;
}

#preview-zoom-icon {
  position: absolute;
  bottom: 10px;
  right: 10px;
  width: 40px;
  height: 40px;
  background: rgba(39, 92, 171, 0.9);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  pointer-events: auto;
  z-index: 10;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
  display: none;
}

#preview-zoom-icon:hover {
  background: rgba(39, 92, 171, 1);
  /* transform: scale(1.1); */
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

#preview-zoom-icon i {
  color: white;
  font-size: 20px;
  pointer-events: none;
}

body.preview-mode #preview-zoom-icon i:before {
  content: "\f010";
}

#prevbox #foto-container img,
#prevbox #foto {
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  pointer-events: none;
  -webkit-tap-highlight-color: transparent;
}

body:has(.kh-photo) #tabholder #pageholder>#p5.page>.holder>div>#photooptions #kh {
  width: 100%;
}

body:has(.kh-photo) #kh {
  display: flex;
  flex-wrap: nowrap;
  gap: 5px;
  width: 100%;
  overflow: hidden !important;
}

body:has(.kh-photo) #kh > div {
  position: relative;
  overflow: hidden;
  line-height: 0;
  border: var(--selection-border-size) solid var(--border-color);
  box-sizing: border-box;
  cursor: pointer;
  transition: border var(--transition-duration), transform calc(var(--transition-duration) * 2);
  flex: 1;
  aspect-ratio: 1;
  min-width: 0;
  min-height: initial;
}

body:has(.kh-photo) #kh > div.selected {
  border: var(--selection-border-size) solid var(--primary-color);
  transform: rotateY(360deg);
}

body:has(.kh-photo) #kh .kh-frame {
  position: relative;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  pointer-events: none;
  background: none;
}

body:has(.kh-photo) #kh .kh-photo {
  position: absolute;
  pointer-events: none;
  z-index: 1;
}

#tabholder #pageholder #previewpage #prevbox>img:not(#shadowlayer) {
  z-index: 3;
}

@media not screen and (min-width: 980px) {
  body:has(.kh-photo) #kh > div {
    flex: 1;
    aspect-ratio: 1;
    min-width: 0;
  }

  body:has(.kh-photo) #kh .kh-frame {
    width: 100%;
    height: 100%;
  }

  #tabholder #pageholder #previewpage>label {
    max-width: calc(100dvh - 590px);
  }

  body .transparency-controls .btn-danger {
    display: block;
  }

  #actions > div:has( > .btn-danger):not(.transparency-controls) {
    display: none;
  }
}

#pageholder #photooptions #actionEdit {
  display: none !important;
}

#pageholder #cropex {
  display: none;
}

#pageholder .zoom-controls {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: nowrap;
  width: 100%;
}

#pageholder .zoom-controls label {
  white-space: nowrap;
}

#pageholder .zoom-controls .slider-wrapper {
  flex: 1;
  min-width: 72px;
}

#pageholder .zoom-controls .slider-wrapper input[type="range"] {
  width: 100%;
  max-width: 250px;
}

#pageholder .movement-buttons {
  display: flex;
  gap: 5px;
  align-items: center;
}

.movement-buttons > button {
  display: inline-block;
  width: 25px;
  height: 25px;
  margin: 0px;
  padding: 0px;
  cursor: pointer;
  font-size: 1em;
  display: flex;
  align-items: center;
  justify-content: center;
}

#pageholder .transparency-controls {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: nowrap;
  width: 100%;
}

#pageholder .transparency-controls label {
  white-space: nowrap;
}

#pageholder .transparency-controls .slider-wrapper {
  flex: 1;
  min-width: 100px;
}

#pageholder .transparency-controls .slider-wrapper input[type="range"] {
  width: 100%;
  max-width: 250px;
}

#pageholder .transparency-controls .contrast-group {
  display: flex;
  align-items: center;
  gap: 5px;
  white-space: nowrap;
}

@media not screen and (min-width: 980px) {
  #pageholder .transparency-controls > label {
    display: none;
  }
}

#ontwerpForm #tabholder #pageholder #photooptions #actions {
  row-gap: var(--vertical-gap);
}

#tabholder #pageholder #previewpage {
  --width: min(50%, calc(100dvh - 120px - 50px - var(--margin-below-header) - 5px - var(--vertical-gap) - (var(--left-padding) * 2) - 45px));
}

#footnoteval {
  width: 60px;
}

#tabholder #p2 .holder>div:has(select) {
  gap: 10px;
}

body.iframe-mode #zoeken {
  padding: 0px;
}

#zoeken form input[type="submit"] {
  line-height: 2;
}

.rotation-dial-container {
    display: inline-block;
    margin: 0 0px;
}

.rotation-dial {
    position: relative;
    width: 48px;
    height: 48px;
    cursor: grab;
    user-select: none;
}

.rotation-dial.dragging {
    cursor: grabbing;
}

body.rotation-active,
body.rotation-active * {
    cursor: grabbing !important;
}

.dial-svg {
    width: 100%;
    height: 100%;
    transform: rotate(-90deg);
}

.dial-track {
    fill: none;
    stroke: #e0e0e0;
    stroke-width: 4;
}

.dial-progress {
    fill: none;
    stroke: #4CAF50;
    stroke-width: 4;
    stroke-dasharray: 251.2;
    stroke-dashoffset: 251.2;
}

.dial-handle {
    fill: #4CAF50;
    cursor: grab;
    transition: r 0.2s ease;
}

.dial-handle:hover {
    r: 6;
}

.dial-handle:active {
    cursor: grabbing;
}

.dial-value {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 9px;
    font-weight: bold;
    color: #333;
    pointer-events: none;
}

select.tile-size {
    max-width: 90px;
}

#tiles-total-line > div {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

@media not screen and (min-width: 980px) {
  form#ontwerpForm {
    padding-left: 0px;
    padding-bottom: 0px !important;
    padding-right: 0px;
    box-sizing: border-box;
  }

  form#ontwerpForm #tabholder > div:nth-child(1) {
    padding-right: 0px;
    width: 100%;
    margin-left: 0px;
    margin-right: 0px;
    padding-left: 10px;
    box-sizing: border-box;
  }

  #tabholder .holder #oh {
    box-sizing: border-box;
    margin-right: 0px;
    width: 100%;
    margin-left: 0px;
    padding-left: 0px;
  }

  #tabholder:before {
    box-shadow: none;
  }

  body {
    --vertical-gap: 7.5px;
  }

  #tabholder #pageholder {
    padding-bottom: 10px;
  }

  #preview-zoom-icon {
    display: flex;
  }

  select.tile-size {
    padding: 5px 2px;
    max-width: 80px;
  }

  #checkout #basketpage .row.orderitem>div>div:has(input) input[type="number"] {
    padding: 10px 0px;
  }
}

.transparency-controls .btn-danger {
  display: none;
}

@media (max-height: 720px) and (max-width: 540px) {
  #tabholder #pageholder #previewpage>label {
      max-width: calc(100dvh - 440px);
  }

  .effects-dropdown .dropdown-selected {
    min-height: 55px;
    max-height: 55px;
  }

  .transparency-controls .btn-danger {
    display: block;
  }

  #actions > div:has( > .btn-danger):not(.transparency-controls) {
    display: none;
  }
}

@media (max-height: 600px) and (max-width: 1024px) {
  .transparency-controls .btn-danger {
    display: block;
  }

  #actions > div:has( > .btn-danger):not(.transparency-controls) {
    display: none;
  }

  .ai-effects-help-container {
    display: none;
  }
}

.tableau-grid {
  perspective: 700px;
}

.tableau-tile-wrap {
  position: relative;
  perspective: 700px;
  cursor: pointer;
}

.tableau-tile-wrap,
.tableau-tile-wrap * {
  transform-style: preserve-3d;
}

.tableau-tile {
  transition: transform 0.1s, box-shadow 0.2s;
  display: block;
}

.tableau-tile-wrap:hover .tableau-tile {
  box-shadow: 0px 0px 15px 0px rgba(0, 0, 0, 0.5);
}

#previewpage .echtetegel {
  border: none !important;
}

@media not screen and (min-width: 480px) {
  #tabholder #pageholder #previewpage>label {
    max-width: calc(100dvh - 475px);
  }

  .transparency-controls .btn-danger {
    display: block;
  }

  #actions > div:has( > .btn-danger):not(.transparency-controls) {
    display: none;
  }
}

@media (max-width: 365px) {
  .zoom-controls label[for="scale"] {
    display: none;
  }
  #pageholder .transparency-controls .slider-wrapper input[type="range"] {
    max-width: 75px;
  }
  #pageholder .transparency-controls .slider-wrapper {
    min-width: 75px;
  }
}

#checkout #basketpage .row.orderitem a:has(img)>img {
  box-sizing: border-box;
}

#checkout #basketpage .row.orderitem .tableau-wrapper {
  position: relative;
  display: inline-block;
}

#checkout #basketpage .row.orderitem .tableau-container {
  position: relative;
  width: 60px;
  height: 60px;
}

#checkout #basketpage .row.orderitem .tableau-img {
  display: block;
  border: none;
  display: block;
  border: none;
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translateX(-50%) translateY(-50%);
}

#checkout #basketpage .row.orderitem .tableau-grid-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

#checkout #basketpage .row.orderitem .tableau-grid {
  display: grid;
  column-gap: 1px;
}

#checkout #basketpage .row.orderitem .tableau-tile-link {
  margin: 0;
  padding: 0;
  line-height: 0;
}

#checkout #basketpage .row.orderitem .tableau-tile-img {
  display: block;
  margin: 0;
  padding: 0;
}

@media (min-width: 980px) {
  #checkout #basketpage .row.orderitem:nth-child(even) {
      margin-right: initial;
  }
  #checkout #basketpage .row.orderitem:nth-child(odd) {
    margin-left: initial;
  }
  #checkout #basketpage .row.orderitem {
    width: calc(100% - 20px);
    box-sizing: initial;
    margin-top: 0px;
  }
}

@media (min-width: 1150px) {
  #checkout #basketpage .row.orderitem:nth-child(even) {
      margin-right: calc(var(--left-padding) * 0.5);
  }
  #checkout #basketpage .row.orderitem {
    width: calc((100% * 0.5) - calc(var(--left-padding) * 0.5));
    box-sizing: border-box;
  }
}

dialog.dialog-auto-height {
  min-height: auto;
}

select.tile-size-tableau {
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
}

.overview-examples {
  margin-top: 20px;
}

@media screen and (min-width: 768px) {
  .overview-examples li {
    width: calc(25% - 7.5px);
  }
}

#menu-toggle {
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 1000;
  width: 30px;
  max-width: 30px;
  min-width: 30px;
  height: 25px;
  min-height: 25px;
  align-self: center;
}

#menu-toggle span {
  width: 100%;
  height: 3px;
  background-color: #fff;
  transition: all 0.3s ease;
  transform-origin: center;
}

#menu-toggle.active span:nth-child(1) {
  transform: translateY(8.5px) rotate(45deg);
}

#menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

#menu-toggle.active span:nth-child(3) {
  transform: translateY(-8.5px) rotate(-45deg);
}

@media screen and (min-width: 980px) {
  #menu-toggle {
    display: none;
  }
  #main-nav ul:before {
    display: none;
  }
}

@media not screen and (min-width: 980px) {
  body #main-nav ul:before {
    background-color: var(--primary-color);
  }
  body #main-nav ul li a {
    color: #ffffff;
  }
}

#main-nav ul {
  min-height: 100%;
  padding-right: 40px;
  position: relative;
  overflow: hidden;
}

#main-nav ul:before {
  content: "";
  background-color: #ffffff;
  position: absolute;
  left: 0%;
  top: 0%;
  width: calc(100% - 40px);
  height: 100%;
  z-index: -1;
  box-shadow: 0px 0px 30px rgba(0, 0, 0, 0.5);
}

#main-nav:after {
  background-color: rgba(0, 0, 0, 0.5);
}

#main-nav.active:after {
  pointer-events: auto;
}

#main-nav.active ul {
  transform: none;
}

#main-nav.active:after {
  opacity: 1;
}

#main-nav ul > li > a {
  box-sizing: border-box;
}

header {
  z-index: 999999;
}

/* Account page: make the shared-engine buttons follow the tiles theme (.btn / .btn-success). */
#checkout .acct-page .acct-primary,
#checkout .acct-page .acct-reorder {
  background: #4cc54c;
  color: #fff;
  border: 1px solid #00ac00;
  border-radius: 4px;
  box-shadow: inset #00ac00 0 -2px 0 0, 3px 3px 5px rgba(0, 0, 0, .2);
  text-shadow: 1px 1px rgba(0, 0, 0, .3);
  text-transform: uppercase;
  font-weight: 700;
  text-decoration: none;
  transition: background .2s;
}
#checkout .acct-page .acct-primary {
  padding: 12px 18px;
}
#checkout .acct-page .acct-primary:hover,
#checkout .acct-page .acct-reorder:hover {
  background: #26b826;
  border-color: #00ac00;
  color: #fff;
}
#checkout .acct-page .acct-primary:active,
#checkout .acct-page .acct-reorder:active {
  background: #5cb85c;
}
#checkout .acct-page .acct-reorder,
#checkout .acct-page .acct-invoice {
  display: inline-block;
  padding: 6px 12px;
  font-size: 13px;
  line-height: 1.4;
  white-space: nowrap;
}
#checkout .acct-page .acct-invoice {
  background: #fff;
  color: #275CAB;
  border: 1px solid #275CAB;
  border-radius: 4px;
  text-transform: uppercase;
  font-weight: 700;
  text-decoration: none;
  transition: background .2s;
}
#checkout .acct-page .acct-invoice:hover {
  background: #275CAB;
  color: #fff;
}
#checkout .acct-page .acct-link {
  background: none;
  border: 0;
  padding: 4px;
  color: #275CAB;
  font-size: 14px;
  cursor: pointer;
  text-decoration: underline;
  text-transform: none;
  box-shadow: none;
  text-shadow: none;
}
#checkout .acct-page .acct-link:hover {
  color: #1a3c6e;
}

/* Account page: full content width using the site's --max-width variable (same as every other
   content container). #checkout is display:flex, so the flex child must be told to grow/fill —
   otherwise it shrinks to its content width and max-width never takes effect. */
#checkout .acct-page {
  flex: 1 1 auto;
  width: 100%;
  max-width: var(--max-width);
  margin: 30px auto;
  padding: 0;
  color: #1a2540;
}
#checkout .acct-page.acct-guest {
  margin: 60px auto 70px;
}
#checkout .acct-page .acct-guest-card {
  max-width: 520px;
  margin: 0 auto;
  background: #fff;
  border: 1px solid #eceef4;
  border-radius: 16px;
  padding: 36px 32px;
  box-shadow: 0 8px 28px rgba(20, 30, 60, .06);
  text-align: center;
}
#checkout .acct-page h1 {
  font-size: 24px;
  margin: 0 0 4px;
}
#checkout .acct-page .acct-guest-card > p {
  color: #6a7488;
  margin: 10px auto 22px;
  max-width: 440px;
}
#checkout .acct-page .acct-muted {
  color: #6a7488;
}

/* Account page inline login form. */
#checkout .acct-page .acct-input {
  display: block;
  width: 100%;
  max-width: 340px;
  margin: 0 auto 12px;
  padding: 11px 14px;
  font-size: 15px;
  border: 1px solid #cfd6e4;
  border-radius: 4px;
  box-sizing: border-box;
}
#checkout .acct-page .acct-input:focus {
  outline: none;
  border-color: #275CAB;
  box-shadow: 0 0 0 3px rgba(39, 92, 171, .12);
}
#checkout .acct-page .acct-login .acct-primary {
  display: block;
  width: 100%;
  max-width: 340px;
  margin: 0 auto;
}
#checkout .acct-page .acct-login .acct-link {
  display: inline-block;
  margin-top: 14px;
}
#checkout .acct-page .acct-msg {
  min-height: 1em;
  margin-top: 12px;
  color: #c0392b;
}

/* Orders table: match site typography + readable rows. */
#checkout .acct-orders table {
  font-size: 15px;
}
#checkout .acct-orders td {
  color: #1a2540;
}
@media (min-width: 601px) {
  #checkout .acct-orders tbody tr:nth-child(even) {
    background: #fafbfd;
  }
}

/* Orders pagination. */
#checkout .acct-pager {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px;
  margin: 20px 0 4px;
}
#checkout .acct-pager .acct-pg {
  min-width: 40px;
  padding: 8px 12px;
  border: 1px solid #d5dbe6;
  background: #fff;
  color: #1a3c6e;
  border-radius: 4px;
  font-weight: 700;
  font-size: 14px;
  line-height: 1;
  cursor: pointer;
}
#checkout .acct-pager .acct-pg:hover:not(:disabled) {
  border-color: #275CAB;
}
#checkout .acct-pager .acct-pg:disabled {
  opacity: .4;
  cursor: default;
}
#checkout .acct-pager .acct-pg-on {
  background: #4cc54c;
  border-color: #00ac00;
  color: #fff;
}
#checkout .acct-pager .acct-pg-dots {
  padding: 8px 4px;
  color: #8a93a6;
}

/* Header profile icon — LAST child in the DOM (the flag/basket nth-child rules count positions),
   shown visually FIRST via flex order. Only visible when logged in to the account. */
#mand #acct-ico {
  text-decoration: none;
  order: -1;
  display: flex;
  align-items: flex-end;
  align-self: center;
  height: auto;
  color: #fff;
  font-size: 19px;
  padding: 0 16px 0 0;
}
#mand #acct-ico:hover {
  color: #cfe0f5;
}
#mand #acct-ico span {
  margin-right: 7px;
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
  max-width: 140px;
  overflow: hidden;
  text-overflow: ellipsis;
}
@media not screen and (min-width: 980px) {
  #mand #acct-ico span {
    max-width: 110px;
  }
  #mand #acct-ico {
    padding: 0 0 0 10px;
    margin-right: -8px;
  }
}
@media not screen and (min-width: 768px) {
  #mand #acct-ico span {
    display: none;
  }
}

/* 2026-09-27 (todo #85): offerte + contact form, one clean grid on desktop, single column on phones */
form.cform { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; max-width: 640px; margin: 10px 0 30px; }
form.cform > br { display: none; }
form.cform .fp { display: block; margin: 0; }
form.cform .fp input { width: 100%; box-sizing: border-box; margin: 0; }
form.cform .fp.full, form.cform textarea, form.cform > label.btn { grid-column: 1 / -1; }
form.cform textarea { width: 100%; box-sizing: border-box; min-height: 150px; margin: 0; resize: vertical; }
form.cform > label.btn { justify-self: start; margin: 4px 0 0; }
@media (max-width: 600px) {
  form.cform { grid-template-columns: 1fr; gap: 12px; }
}

/* 2026-09-27 (todo #106): theme pages (thema.php), side margins on phones; desktop keeps its centred column */
@media (max-width: 979px) {
  #themapage { padding: 0 10px; box-sizing: border-box; }
}

/* #772: English saying cards on the English home page: the tile border as background, the saying in the tile font */
@font-face{font-family:"TileSaying";src:url(/shop/fonts/euphorigenic_17.ttf) format("truetype");font-display:swap}
.overview li a.entile{display:flex;align-items:center;justify-content:center;width:300px;max-width:100%;aspect-ratio:1/1;margin:0 auto;background-color:#fff;background-size:cover;background-position:center;text-decoration:none;box-sizing:border-box;padding:21%}
.overview a.entile span{display:block;width:100%;font-family:"TileSaying",Bitter,serif;color:#111;text-align:center;line-height:1.12;overflow-wrap:break-word;float:none;margin:0;position:static}
.overview a.entile.en-l span{font-size:30px}
.overview a.entile.en-m span{font-size:23px}
.overview a.entile.en-s span{font-size:18px}
.overview a.entile.en-xs span{font-size:15px}
/* #772: the big drawn tile on the page of one English saying, and the page links of the English overview */
.single-tile-page>#margin>#view figure>a.entile,#product figure a.entile,#product figure span.entile{display:flex;align-items:center;justify-content:center;width:100%;max-width:560px;aspect-ratio:1/1;margin:0 auto;background-color:#fff;background-size:cover;background-position:center;text-decoration:none;box-sizing:border-box;padding:21%}
#product .entile span{display:block;width:100%;font-family:"TileSaying",Bitter,serif;color:#111;text-align:center;line-height:1.12;overflow-wrap:break-word;float:none;margin:0;position:static}
#product .entile.en-l span{font-size:clamp(26px,5.4vw,54px)}
#product .entile.en-m span{font-size:clamp(20px,4.1vw,41px)}
#product .entile.en-s span{font-size:clamp(16px,3.2vw,32px)}
#product .entile.en-xs span{font-size:clamp(13px,2.6vw,26px)}
.enpager{text-align:center;margin:18px 0}
.enpager span{display:inline-block;margin:0 12px}
/* the tile shine lies exactly over the drawn tile (it was shifted by the inner space = a thin seam on the left) */
.entile.glare:before{left:0;top:0;width:100%;height:100%;box-sizing:border-box}

