/* A fourth column for greenhouse savings, beside the existing price. */
body#top.calm-catalog.v4-store #main .price-layout-classic table.dk-prices-with-saving tr > :nth-child(1) { width: 24%; }
body#top.calm-catalog.v4-store #main .price-layout-classic table.dk-prices-with-saving tr > :nth-child(2) { width: 16%; }
body#top.calm-catalog.v4-store #main .price-layout-classic table.dk-prices-with-saving tr > :nth-child(3) { width: 26%; text-align: right; }
body#top.calm-catalog.v4-store #main .price-layout-classic table.dk-prices-with-saving tr > :nth-child(4) { width: 34%; }
body#top.calm-catalog.v4-store #main .price-layout-classic table .dk-table-saving {
  color: #945016;
  font-size: 12px !important;
  font-weight: 650;
  line-height: 1.35 !important;
  white-space: nowrap;
}
body#top.calm-catalog.v4-store #main .price-layout-classic table small.dk-table-saving {
  display: block;
  margin-top: 3px;
  font-size: 11px !important;
}
.colored-material-visual .material-photo { position: relative; }
.colored-material-badge {
  position: absolute;
  top: 1.65%;
  right: 1.65%;
  width: 22.1%;
  height: auto;
  pointer-events: none;
}
.colored-material-visual .material-photo picture { display:block; }
.colored-material-visual .material-photo picture > img { width:100%; height:auto; aspect-ratio:4/3; object-fit:contain; }
.colored-material-colors { margin: 16px 0 0; padding:0; border:0; min-width:0; }
.colored-material-colors legend { margin-bottom:10px; font-size:15px; font-weight:650; }
.colored-material-colors .finish-swatches { display:grid; grid-template-columns:repeat(5,minmax(0,1fr)); gap:6px; }
.colored-material-colors .finish-swatch { min-width:0; width:100%; min-height:62px; padding:7px 3px; border-radius:6px; }
.colored-material-colors .finish-swatch small { font-size:11px; white-space:normal; overflow-wrap:normal; }
.colored-material-colors .finish-swatch[aria-pressed="true"] { border-color:#587590; background:#f1f5f7; }
.colored-material-note { font-size:12px; color:#65707e; margin:10px 0 0; }
@media(max-width:700px) {
  .colored-material-colors { margin-top:10px; }
  .colored-material-colors .finish-swatches { grid-template-columns:repeat(3,minmax(0,1fr)); }
  body#top.calm-catalog.v4-store #main .price-layout-classic table.dk-prices-with-saving :is(td,th) { padding-inline:4px !important; }
  body#top.calm-catalog.v4-store #main .price-layout-classic table.dk-prices-with-saving :is(td,th) { font-size:12px !important; }
  body#top.calm-catalog.v4-store #main .price-layout-classic table.dk-prices-with-saving thead th { font-size:11px !important; }
}
@media(max-width:350px) {
  body#top.calm-catalog.v4-store #main .price-layout-classic table.dk-prices-with-saving .dk-table-saving { font-size:11px !important; }
  body#top.calm-catalog.v4-store #main .price-layout-classic table small.dk-table-saving { font-size:10px !important; }
}
body#top .colored-material-visual .material-photo > button { position:relative; }
body#top .colored-material-visual .material-photo > button > img.colored-material-badge {
  position:absolute !important;
  width:22.1% !important;
  height:auto !important;
  top:1.65% !important;
  right:1.65% !important;
  left:auto !important;
  bottom:auto !important;
  object-fit:contain !important;
  box-shadow:none !important;
  border-radius:0 !important;
}
body#top.calm-catalog.v4-store #main .price-layout-classic table small.dk-table-saving { white-space:normal; }
.dk-table-saving-amount { white-space:nowrap; }
@media(max-width:700px) {
  .dk-table-saving-amount { display:block; }
}
