/* SIMPLEST SHOPPING — quieter navigation inside the pages (flat colors, no gradients) */

/* the big gold "< INSIDE >" title row is replaced by the slim top bar */
.divTableCellN1 { display: none !important; }

/* room / type filters (Office, Living, Kitchen…) as small, quiet pills */
.divTableCellN2 {
  border: 0 !important;
  border-bottom: 1px solid #eee4d3 !important;
  background: #fff !important;
  height: auto !important;
  padding: 14px 10px !important;
}
.divTableCellN2 .btn {
  background: transparent;
  font-family: 'Dosis', sans-serif;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 1.4px;
  color: #8a6a33;
  padding: 6px 14px;
  margin: 2px;
  border-radius: 999px;
}
.divTableCellN2 .btn img { width: 20px; height: 20px; vertical-align: -5px; margin-right: 2px; }
.divTableCellN2 .btn:hover { background: #f2ebe0; color: #5b4520; border-radius: 999px; }
.divTableCellN2 .btn.ss-on { background: #c79a4c; color: #fff; }

/* product grid: clear square tiles that fill the whole page width */
body { background: #f7f2ea; }
.cardGroup {
  display: grid !important;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 18px;
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 22px 28px 40px;
  box-sizing: border-box;
}
.cardGroup .column { min-width: 0 !important; padding: 0 !important; }
.cardGroup .column > a { display: block; height: 100%; text-decoration: none; }
.cardGroup .card {
  aspect-ratio: 1 / 1;
  height: 100%;
  box-sizing: border-box;
  padding: 0 !important;
  background: #fff;
  border: 1px solid #ebe1cf !important;
  border-radius: 16px !important;
  justify-content: center;
  transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
}
.cardGroup .column:hover .card {
  transform: translateY(-3px);
  border-color: #c79a4c !important;
  box-shadow: 0 8px 20px rgba(0, 0, 0, .08);
}
.cardGroup .card__description {
  height: 100%;
  box-sizing: border-box;
  padding: 18px 14px 14px !important;
  justify-content: center;
}
.cardGroup .card__description img {
  width: auto !important;
  height: auto !important;
  max-width: 70%;
  max-height: 58%;
  object-fit: contain;
}
.cardGroup .card__descriptionText {
  padding-top: 14px !important;
  font-family: 'Dosis', sans-serif;
  font-weight: 700;
  font-size: 13px !important;
  letter-spacing: 1px;
  color: #444 !important;
  line-height: 1.25;
}
.cardGroup .card__price { padding: 4px 0 0 !important; color: #8a6a33 !important; font-size: 13px !important; }
@media (max-width: 520px) {
  .cardGroup { grid-template-columns: repeat(2, 1fr); gap: 10px; padding: 12px; }
  .cardGroup .card__descriptionText { font-size: 12px !important; }
}

/* the grid lives inside an old table layout; let it behave like a normal block
   so it never grows wider than the screen */
.divTable:has(.cardGroup),
.divTable:has(.cardGroup) .divTableRow,
.divTable:has(.cardGroup) .divTableCell { display: block; width: auto; }

/* filler products without a photo yet show their icons8 icon */
.cardGroup .card__description img.ss-ph { width: 84px !important; max-width: 84px; opacity: .9; }
