/* Blog-only header tweaks. Do NOT target bare #header —
   eshop-sub also uses #header and would inherit these rules. */
#header.main-menu { height:auto; min-height:225px; padding-top:182px; box-sizing:border-box; }
#header.main-menu ul { position:relative; top:auto; left:auto; height:auto; padding:0; display:flex; flex-wrap:wrap; background:linear-gradient(#ffd51c,#ff8705); }
#header.main-menu ul li { display:block; }
#header.main-menu ul li a { float:none; display:block; line-height:43px; padding:0 12px 0 30px; font-size:13px; }

/* --- eshop-sub polish (#Master is BSSHOP-only) --- */
#Master .htmlSliderOuter {
  width: 100% !important;
  height: auto !important;
  max-width: 830px;
  margin: 0 auto 1em;
}
#Master .htmlSliderOuter .SliderView.image {
  height: auto;
}
#Master .htmlSliderOuter .SliderView.image .slide img {
  display: block;
  width: 100%;
  height: auto;
}
/* Empty product image slots (archive has no product photos) */
#Master .ProductView a.image:empty,
#Master .ProductDetailImageView a.mainImage:not(:has(img[src])),
#Master .ProductDetailImageView img.mainImg:not([src]) {
  display: block;
  min-height: 140px;
  background: #f5f6f7 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='64' height='64' viewBox='0 0 64 64'%3E%3Crect width='64' height='64' fill='%23eef0f2'/%3E%3Cpath d='M12 44l12-14 8 9 10-12 10 17H12z' fill='%23c5c8cc'/%3E%3Ccircle cx='22' cy='22' r='5' fill='%23c5c8cc'/%3E%3C/svg%3E") center center / 64px 64px no-repeat;
  border: 1px solid #e6e7e8;
  border-radius: 2px;
}
#Master .ProductDetailImageView {
  min-height: 180px;
}
#Master .ProductDetailImageView img.mainImg:not([src]) {
  width: 100%;
  max-width: 320px;
  min-height: 200px;
}

/* WP footer injected into eshop — keep copy inside the content column */
#Master #footer {
  clear: both;
  width: 100%;
  max-width: 1020px;
  margin: 1.5em auto 2em;
  padding: 1em 10px 1.5em;
  box-sizing: border-box;
  color: #8c8c8c;
  font-size: 12px;
  background: transparent;
  border: none;
  text-align: left;
}
#Master #footer .site-copy {
  margin: 1em 0 0;
  line-height: 1.5;
}
#Master #footer a {
  color: #6c207e;
}
#Master #footer .romlifooter {
  overflow: hidden;
}
#Master #footer .romlifooter img {
  display: block;
  max-width: 160px;
  width: auto;
  height: auto;
  object-fit: contain;
  margin-bottom: 0.75em;
}
