/* Campaign atmosphere only. White cards and native layout dimensions are retained. */
body.hm-black-days-2026 #products #js-product-list .products {
  background:radial-gradient(ellipse at 35% 0%,rgba(255,255,255,.085),transparent 55%),
    linear-gradient(135deg,#070708 0%,#242427 48%,#080809 100%)!important;
  box-shadow:0 0 0 12px #080809!important;
}
.hmbd-product-card { --hmbd-badge-size:64px; }
.hmbd-product-card .hmbd-badge-anchor { position:relative; }
.hmbd-product-card .hmbd-badge {
  position:absolute!important;
  top:8px!important;
  right:8px!important;
  left:auto!important;
  width:var(--hmbd-badge-size)!important;
  height:var(--hmbd-badge-size)!important;
  box-sizing:border-box;
  display:flex!important;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:2px;
  border-radius:50%!important;
  border:1px solid #3c3c3f;
  background:#050505!important;
  color:#fff!important;
  padding:7px!important;
  margin:0!important;
  font-size:10px!important;
  font-weight:700;
  line-height:1.08!important;
  letter-spacing:.055em;
  text-align:center;
  text-transform:uppercase;
  box-shadow:0 2px 6px rgba(0,0,0,.12);
  z-index:6;
  pointer-events:none;
}
.hmbd-product-card .hmbd-badge span,
.hmbd-product-card .hmbd-badge strong { display:block; color:inherit; font-size:inherit; }
/* Native wishlist/compare/quick-view controls remain accessible below the badge. */
body .hmbd-product-card .product-functional-buttons {
  top:auto!important;
  bottom:8px!important;
  right:8px!important;
}
@media(max-width:767.98px) {
  body.hm-black-days-2026 #products #js-product-list .products { box-shadow:0 0 0 6px #080809!important; }
  .hmbd-product-card { --hmbd-badge-size:48px; }
  .hmbd-product-card .hmbd-badge { top:6px!important; right:6px!important; font-size:8px!important; padding:5px!important; gap:1px; }
  body .hmbd-product-card .product-functional-buttons { width:auto!important; bottom:6px!important; right:6px!important; }
  body .hmbd-product-card .product-functional-buttons-links { display:flex!important; gap:4px; }
  body .hmbd-product-card .product-functional-buttons-links a { margin:0!important; }
}
@media(max-width:359.98px) {
  .hmbd-product-card { --hmbd-badge-size:44px; }
  .hmbd-product-card .hmbd-badge { font-size:7px!important; right:4px!important; padding:3px!important; }
}
/* Horizontal list cards have a narrow image; use the compact badge size. */
.hmbd-product-card.product-miniature-list { --hmbd-badge-size:54px; }
.hmbd-product-card.product-miniature-list .hmbd-badge { font-size:8px!important; }
.hmbd-product-card.product-miniature-list .product-description { padding-right:78px!important; }

/* Circle typography shares the permanent offers palette. */
body .hmbd-product-card .hmbd-badge span,
body .hmbd-product-card .hmbd-badge strong { color:#e5d07a!important; }
@supports ((background-clip:text) or (-webkit-background-clip:text)) {
  body .hmbd-product-card .hmbd-badge span,
  body .hmbd-product-card .hmbd-badge strong {
    background:var(--hmo-gold-gradient,linear-gradient(160deg,#fff1b6 0%,#e5d07a 42%,#c3a449 75%,#eedb8e 100%))!important;
    background-clip:text!important; -webkit-background-clip:text!important;
    -webkit-text-fill-color:transparent!important;
  }
}

body.hm-black-days-banners #js-product-list .products > .hmbd-banner {
  grid-column:span 2!important; flex:0 0 50%!important; width:auto!important; max-width:none!important;
  box-sizing:border-box; position:relative; display:flex; flex-direction:column; justify-content:flex-end;
  gap:8px; min-height:320px; margin:0!important; padding:18px!important; overflow:hidden;
  border:1px solid #80704a; border-radius:0; color:#f5edd9;
  background:radial-gradient(ellipse at 20% 0%,#4b3d22 0%,transparent 60%),#11100d;
}
.hmbd-banner-kicker { display:block; color:#e5d07a; font-size:10px; font-weight:700; letter-spacing:.18em; }
.hmbd-banner .hmbd-banner-title { color:#f5edd9!important; font-size:24px!important; font-weight:700; line-height:1.12; margin:8px 0!important; max-width:300px; }
.hmbd-banner-text { color:#d0c4ad; font-size:12px; line-height:1.4; max-width:420px; margin:0 0 10px; }
.hmbd-banner-test { display:block; color:#9d927d; font-size:8px; letter-spacing:.13em; }
.hmbd-banner-product { display:flex; flex-direction:column; align-items:center; gap:8px; color:#e5d07a!important; font-size:9px; font-weight:700; text-decoration:none; }
.hmbd-banner-product img { width:110px; height:110px; object-fit:contain; background:#fff; border-radius:50%; padding:12px; }
.hmbd-banner-product { order:-1; align-self:flex-end; }
.hmbd-banner-copy { width:100%; }
.hmbd-banner-offer { display:inline-block; font-size:24px; font-weight:700; color:#e5d07a; margin:0 0 6px; }
.hmbd-banner--editorial .hmbd-banner-offer { color:#302719; }
body.hm-black-days-banners #js-product-list .products > .hmbd-banner--editorial { background:linear-gradient(115deg,#e9dbb7,#c7aa67); color:#111; border-color:#c7aa67; }
.hmbd-banner--editorial .hmbd-banner-title { color:#111!important; }
.hmbd-banner--editorial :is(.hmbd-banner-text,.hmbd-banner-kicker,.hmbd-banner-test,.hmbd-banner-product) { color:#302719!important; }
body.hm-black-days-banners #js-product-list .products > .hmbd-banner--minimal { background:linear-gradient(110deg,#050505,#252525); border-color:#55503f; }
.hmbd-banner--minimal .hmbd-banner-title { color:#e5d07a!important; }
@media(max-width:767.98px) {
  body.hm-black-days-banners #js-product-list .products > .hmbd-banner { padding:22px 18px!important; gap:12px; min-height:320px; }
  .hmbd-banner .hmbd-banner-title { font-size:24px!important; margin-top:12px!important; }
  .hmbd-banner-product img { width:110px; height:110px; padding:9px; }
  .hmbd-banner-product { font-size:9px; text-align:center; }
  .hmbd-banner-text { font-size:12px; }
  .hmbd-banner-kicker { font-size:9px; letter-spacing:.1em; }
}
@media(max-width:359.98px) {
  body.hm-black-days-banners #js-product-list .products > .hmbd-banner { grid-template-columns:1fr; }
  .hmbd-banner-product { flex-direction:row; justify-content:flex-start; }
}

/* Fourth tile: image-led silver/ivory design. */
body.hm-black-days-banners #js-product-list a.hmbd-banner { text-decoration:none!important; cursor:pointer; }
body.hm-black-days-banners #js-product-list a.hmbd-banner:focus-visible { outline:3px solid #e5d07a; outline-offset:3px; }
body.hm-black-days-banners #js-product-list .products > .hmbd-banner--heart {
  background:radial-gradient(ellipse at 50% 20%,#fff 0%,#f2efea 80%); border-color:#d2cdc4;
  justify-content:space-between; gap:0;
}
.hmbd-banner--heart .hmbd-banner-product { align-self:center; width:100%; }
.hmbd-banner--heart .hmbd-banner-product img { width:260px; max-width:100%; height:210px; border-radius:0; padding:0; background:transparent; }
.hmbd-banner--heart .hmbd-banner-product > span { display:none; }
.hmbd-banner--heart .hmbd-banner-title { color:#24211f!important; font-size:22px!important; max-width:none; margin:8px 0!important; }
.hmbd-banner--heart :is(.hmbd-banner-kicker,.hmbd-banner-text,.hmbd-banner-test,.hmbd-banner-offer) { color:#655b4e; }
.hmbd-banner--heart .hmbd-banner-text { display:none; }
.hmbd-banner--heart .hmbd-banner-offer { position:absolute; top:18px; right:18px; padding:8px 10px; background:#050505; color:#e5d07a; font-size:20px; border-radius:6px; }

/* Supplied artwork is shown whole, without the old product copy or offer overlays. */
body.hm-black-days-banners #js-product-list .products > .hmbd-banner--image {
  display:block; align-self:start; min-height:0; padding:0!important; gap:0;
  border:0; background:#fff; aspect-ratio:1 / 1;
}
.hmbd-banner--image .hmbd-banner-artwork {
  display:block; width:100%!important; height:auto!important; max-width:100%;
  margin:0; padding:0; border:0; border-radius:0; object-fit:contain;
}

/* Show the first promo at the top while leaving the theme's pinned cards at
   their expected DOM indices. This prevents competing placement observers. */
body.hm-black-days-banners #js-product-list .products > .hmbd-banner--first {
  order:-1;
}

/* This stylesheet is registered only while the Black Days design is enabled.
   Keep the evergreen tiles intact so they return when the module is disabled.
   CSS also covers tiles reinserted by the theme during endless scroll. */
body.category-id-3 #js-product-list #hartmann-smykkevaerksted-grid-promo,
body.category-id-3 #js-product-list #hartmann-giftwrap-grid-promo,
body.hm-black-days-banners #js-product-list #hartmann-ure-newsletter-grid-promo {
  display:none!important;
}
