/* Archived BF presentation cascade, maintained in original order. See migration-manifest.json. */
/* ============================================================
   🟩 BLACK FRIDAY PRODUCT BADGE
   ============================================================ */
.my-sale-badge {
  background-color: #000 !important;
  border: 2px solid #00AC00 !important;
  color: #fff !important;
  text-align: center;
  box-shadow: 0 0 3px rgba(0, 172, 0, 0.3);
  font-family: inherit !important;
}

.my-sale-badge .sale-label {
  color: transparent !important;
  position: relative;
  display: block;
  line-height: 1;
  margin: 3px 0 0 0;
}
.my-sale-badge .sale-label::before {
  content: "Black Friday";
  color: #fff !important;
  font-weight: 600;
  font-size: 0.9em;
  line-height: 0.3;
  display: block;
  margin-bottom: -3px;
  text-shadow:
    0 0 1px rgba(255, 255, 255, 0.6),
    0 0 2px rgba(0, 172, 0, 0.3),
    0 0 3px rgba(0, 172, 0, 0.25);
}

.my-sale-badge .sale-percent {
  color: #00AC00 !important;
  font-weight: 700;
  font-size: 1.2em;
  line-height: 1;
  margin-top: 0;
  display: block;
}

/* ============================================================
   🔥 BLACK FRIDAY BANNER (DESKTOP)
   ============================================================ */
.blackfriday-banner {
  background: linear-gradient(180deg, #000 0%, #010 100%);
  border: 3px solid #00AC00;
  border-top-right-radius: 28px;
  border-bottom-left-radius: 28px;
  box-shadow: inset 0 0 14px rgba(0, 172, 0, 0.25);
  padding: 16px 48px;
  margin: 0 auto 2rem auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  column-gap: 2.5rem;
  width: 100%;
  box-sizing: border-box;
  position: relative;
  z-index: 1;
}

/* Linkerzijde */
.blackfriday-banner .bf-left {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 1rem;
  margin-left: 0 !important;
}

/* Tekst links */
.blackfriday-banner .bf-maintext {
  color: #fff;
  text-transform: uppercase;
  font-family: industry, sans-serif !important;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-shadow:
    0 0 2px rgba(255, 255, 255, 0.6),
    0 0 8px rgba(0, 172, 0, 0.6);
  font-size: clamp(2.5rem, 5vw, 4.2rem);
  margin: 0;
  white-space: nowrap;
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
}

.blackfriday-banner .bf-subtitle {
  font-size: 60%;
  font-weight: 600;
  text-transform: uppercase;
  color: #fff;
  margin-top: -8px;
  letter-spacing: 0.08em;
  text-shadow:
    0 0 2px rgba(255,255,255,0.5),
    0 0 4px rgba(255,255,255,0.3);
}

.blackfriday-banner:has(.bf-subtitle) .bf-maintext {
  transform: translateY(20px);
}

/* Paard */
.blackfriday-banner .ms-horse {
  display: inline-block;
  width: 90px;
  height: auto;
  filter:
    drop-shadow(0 0 2px rgba(255,255,255,0.6))
    drop-shadow(0 0 3px rgba(0,172,0,0.5))
    drop-shadow(0 0 4px rgba(0,172,0,0.4))
    brightness(1.15);
}

/* Tekst rechts */
.blackfriday-banner .bf-right {
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: left;
  font-family: "azo-sans-web", sans-serif !important;
  transform: translateY(2px);
}

.blackfriday-banner .bf-note {
  color: #fff;
  font-weight: 600;
  margin: 0;
  font-size: clamp(1.2rem, 2vw, 1.8rem);
  line-height: 1.4;
  text-shadow:
    0 0 2px rgba(255,255,255,0.6),
    0 0 8px rgba(0,172,0,0.6);
}

.blackfriday-banner .bf-date {
  color: #00AC00;
  font-weight: 600;
  margin: 0;
  font-size: clamp(0.9rem, 1.5vw, 1.2rem);
  line-height: 1;
  transform: translateY(-6px);
}

.blackfriday-banner .bf-date strong {
  color: #00AC00;
}

/* ============================================================
   🧩 PAGINA LAYOUT FIJNTUNING
   ============================================================ */
body[class*="term-black-friday"],
body[class*="-acties"] {
  --bf: 1;
}

body[class*="term-black-friday"] .page-title,
body[class*="-acties"] .page-title {
  display: none !important;
}

body[class*="term-black-friday"] .term-description-container,
body[class*="-acties"] .term-description-container {
  margin: 0 !important;
  padding: 0 !important;
}

body.term-black-friday .woocommerce-products-header .term-description-container {
  display: block !important;
  width: 100%;
}

/* Verberg ‘meer lezen’ */
body[class*="term-black-friday"] .term-description-container .mt-3,
body[class*="term-black-friday"] .term-description-container .term-description-toggle-button,
body[class*="-acties"] .term-description-container .mt-3,
body[class*="-acties"] .term-description-container .term-description-toggle-button {
  display: none !important;
}

/* ============================================================
   🧩 SAFARI / iOS STRUCTURELE FIX
   ============================================================ */
body[class*="term-black-friday"] .woocommerce-products-header .term-description,
body[class*="-acties"] .woocommerce-products-header .term-description {
  all: unset;
  display: block !important;
  overflow: visible !important;
  height: auto !important;
  max-height: none !important;
  -webkit-box-orient: initial !important;
  -webkit-line-clamp: unset !important;
  text-overflow: clip !important;
}

/* ============================================================
   🧩 SAFARI – glow minder intens
   ============================================================ */
@media not all and (min-resolution: 0.001dpcm) {
  @supports (-webkit-appearance: none) {

    .blackfriday-banner .bf-maintext,
    .blackfriday-banner .bf-note {
      text-shadow:
        0 0 1px rgba(255,255,255,0.35),
        0 0 3px rgba(0,172,0,0.25);
    }

    .blackfriday-banner .bf-date,
    .blackfriday-banner .bf-date strong {
      text-shadow:
        0 0 1px rgba(0,172,0,0.3),
        0 0 2px rgba(0,172,0,0.2);
    }

    .blackfriday-banner .ms-horse {
      filter:
        drop-shadow(0 0 1px rgba(255,255,255,0.4))
        drop-shadow(0 0 1.5px rgba(0,172,0,0.25))
        brightness(1.03);
    }
  }
}
/* ============================================================
   📱 PERFECTE MOBIELE LAYOUT – PAARD LINKS, TITEL RECHTS
   ============================================================ */
@media (max-width: 768px) {

  .blackfriday-banner {
    flex-wrap: wrap;
    justify-content: flex-start;
    align-items: center;
    padding: 8px 18px;
    column-gap: 0.85rem;
    row-gap: 0.35rem;
    box-shadow: inset 0 0 9px rgba(0, 172, 0, 0.22);
  }

  /* Paard */
  .blackfriday-banner .bf-center {
    order: 1;
    flex: 0 0 auto;
    margin-right: 0.5rem;
  }

  /* Titel */
  .blackfriday-banner .bf-left {
    order: 2;
    flex: 0 1 auto;
    min-width: 0;
    margin: 4px 0 0 0;
    margin-bottom: 18px; /* ideale spacing boven de slogan */
  }

  .blackfriday-banner .bf-maintext {
    font-size: clamp(1.8rem, 6vw, 2.6rem);
    line-height: 1;
    margin: 0;
    margin-left: 0.15rem;
    white-space: normal;
  }

  .blackfriday-banner .bf-subtitle {
    font-size: 60%;
    margin-top: 2px;
  }

  /* Slogan (witte regel) */
  .blackfriday-banner .bf-note {
    font-size: clamp(1rem, 3.3vw, 1.35rem);
    margin: -4px 0 2px 0; /* dichter bij groene regel */
  }

  /* Groene regel */
  .blackfriday-banner .bf-date {
    font-size: clamp(0.75rem, 2.5vw, 1rem);
    margin: 0;
  }

  /* Onderste blok over de hele breedte */
  .blackfriday-banner .bf-right {
    order: 3;
    flex: 1 1 100%;
    width: 100%;
    text-align: left;
    margin-top: 0px; /* dichter bij slogan */
  }

  .blackfriday-banner .ms-horse {
    width: 54px;
    height: auto;
  }
}
@media (max-width: 768px) {

  /* Groene regel dichter tegen witte tekst */
  .blackfriday-banner .bf-date {
    margin-top: 12px !important;
    margin-bottom: 12px !important;		
  }

}
/* Verberg banner als een term-description meerdere keren voorkomt */
.term-description-container .term-description:nth-of-type(2) .blackfriday-banner {
    display: none !important;
}
/* Black Friday menu item */
#hoofdmenu .bf-menu > a {
  font-size: 0 !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;

  /* hoogte + ruimte */
  padding: 0 10px !important;
  height: 50px !important;          /* gelijk aan andere menu-items */
  margin-top: 0 !important;         /* voorkomt dat het te hoog staat */

  /* tekst fix */
  line-height: 1 !important;
}

/* bovenste regel */
#hoofdmenu .bf-menu > a::before {
  content: "BLACK";
  font-size: 12px;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.2;
}

/* onderste regel */
#hoofdmenu .bf-menu > a::after {
  content: "FRIDAY";
  font-size: 12px;
  font-weight: 700;
  color: #00d000;
  line-height: 1.2;
  margin-top: 1px;
}

/* hover */
#hoofdmenu .bf-menu:hover > a::before,
#hoofdmenu .bf-menu:hover > a::after {
  color: #00ff4a;
}
/* ----------------------------- */
/* Mobiele versie Black Friday   */
/* ----------------------------- */
@media (max-width: 1024px) {
  #hoofdmenu .bf-menu > a {
    flex-direction: row !important;      /* BLACK FRIDAY naast elkaar */
    align-items: center !important;      /* verticaal centreren */
    justify-content: flex-start !important; /* links uitlijnen */
    
    padding-left: 16px !important;       /* zelfde marge als andere items */
    height: 50px !important;             /* gelijke hoogte */
    gap: 4px !important;                 /* ruimte tussen BLACK en FRIDAY */
  }

  #hoofdmenu .bf-menu > a::before {
    color: #000 !important;              /* BLACK → zwart op licht */
    font-size: 18px !important;
    line-height: 1 !important;
  }

  #hoofdmenu .bf-menu > a::after {
    color: #00d000 !important;           /* FRIDAY → groen */
    font-size: 18px !important;
    line-height: 1 !important;
    margin-top: 0 !important;
  }
}
/* BF-prijsopmaak 2026: uitsluitend bespaarlabel en aanvullende actie-informatie.
   De originele thema-opmaak van bedragen, btw, opties en sticky blijft intact.
   Selectie: bestaande .wt-besparing; geen BF-informatie op optie- of kaartprijzen. */

/* Alleen het bestaande bespaarlabel krijgt een BF-uiterlijk.
   Thema behoudt lettertype, tekstgrootte, regelhoogte en 5px afstand. */
.single-product :is(.summary.entry-summary, .bootstrap_summary > .sticky-element) > .price > .wt-besparing {
    display: inline-flex;
    align-items: center;
    gap: 0.3em;
    height: auto;
    min-height: 30px;
    box-sizing: border-box;
    padding: 3px 7px;
    background: #000;
    color: #fff;
    border: 2px solid var(--groen);
    border-radius: 0 8px 0 8px;
    box-shadow: 0 0 6px rgba(0, 185, 0, 0.22);
    text-shadow: 0 0 2px rgba(255,255,255,0.6), 0 0 8px rgba(0,172,0,0.6);
}

/* Alleen iets meer verticale ruimte rond de actieprijs; overige themastijlen blijven intact. */
.single-product :is(.summary.entry-summary, .bootstrap_summary > .sticky-element) > .price:has(.wt-besparing) > ins {
    margin-top: 16px; /* thema: 10px; 6px extra ademruimte */
}

/* Eén BF-vlak in de bestaande categoriebannerstijl.
   Achtergrond, rand, hoeken en gloed komen uit .blackfriday-banner;
   kopstijl uit .bf-maintext en groene voorwaardenstijl uit .bf-date.
   De voorwaarden houden de leesbare grootte van de bestaande optie-subtekst.
   Twee pseudo-elementen blijven nodig voor de twee tekststijlen. De onzichtbare
   overlap van 18px voorkomt een dubbele gloednaad tussen de twee helften. */
.single-product :is(.summary.entry-summary, .bootstrap_summary > .sticky-element) > .price:has(.wt-besparing)::before {
    content: "BLACK FRIDAY";
    order: 5;
    flex: 0 0 var(--bf-card-width);
    max-width: var(--bf-card-width);
    margin-right: calc(100% - var(--bf-card-width));
    box-sizing: border-box;
    margin-top: 22px;
    padding: 10px 12px 20px 72px;
    border: 3px solid #00AC00;
    border-bottom: 0;
    border-top-right-radius: 12px;
    background: linear-gradient(180deg, #000 0%, #010 100%);
    box-shadow: inset 0 0 14px rgba(0, 172, 0, 0.25);
    clip-path: inset(0 0 17px 0);
    font-family: industry, sans-serif;
    color: #fff;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.3;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    text-shadow: 0 0 2px rgba(255, 255, 255, 0.6), 0 0 8px rgba(0, 172, 0, 0.6);
}
.single-product :is(.summary.entry-summary, .bootstrap_summary > .sticky-element) > .price:has(.wt-besparing)::after {
    content: var(--ms-campaign-conditions);
    order: 6;
    flex: 0 0 var(--bf-card-width);
    max-width: var(--bf-card-width);
    margin-right: calc(100% - var(--bf-card-width));
    box-sizing: border-box;
    margin-top: -36px;
    padding: 18px 12px 10px 72px;
    border: 3px solid #00AC00;
    border-top: 0;
    border-bottom-left-radius: 12px;
    background: linear-gradient(180deg, #000 0%, #010 100%);
    box-shadow: inset 0 0 14px rgba(0, 172, 0, 0.25);
    clip-path: inset(18px 0 0 0);
    font-family: "azo-sans-web", sans-serif;
    color: #00AC00;
    font-size: 0.7em;
    font-weight: inherit;
    font-style: italic;
    line-height: var(--default-line-height);
    white-space: normal;
    text-shadow: none;
}

/* Bestaand Mustang-paard en filter uit .blackfriday-banner .ms-horse.
   Decoratie buiten de prijsregels; geen nieuw prijs-grid of extra HTML nodig. */
.single-product :is(.summary.entry-summary, .bootstrap_summary > .sticky-element) > .price:has(.wt-besparing) {
    position: relative;
    --bf-card-width: min(100%, 500px);
}
.single-product :is(.summary.entry-summary, .bootstrap_summary > .sticky-element) > .price:has(.wt-besparing) > del::after {
    content: "";
    position: absolute;
    left: 16px;
    bottom: 14px;
    width: 40px;
    height: 52px;
    background: url("https://mustangsafes.nl/inhoud/uploads/Mustang-Safes-paard.svg") center / contain no-repeat;
    filter: drop-shadow(0 0 2px rgba(255,255,255,0.6))
            drop-shadow(0 0 3px rgba(0,172,0,0.5))
            drop-shadow(0 0 4px rgba(0,172,0,0.4)) brightness(1.15);
    pointer-events: none;
    z-index: 1;
}

/* Sticky: btw direct naast de oorspronkelijke prijzen; bedragstijlen blijven intact. */
.single-product .jumbo_fixed_bottom .w-100-mobiel > div:first-child > .price,
.single-product .jumbo_fixed_bottom .w-100-mobiel > div:first-child > .kleine_tekst {
    display: inline;
}
.single-product .jumbo_fixed_bottom .w-100-mobiel > div:first-child > .kleine_tekst {
    margin-left: 6px;
}

/* Sticky: alleen een extra regel na de bestaande prijs en btw.
   Geen wijziging aan prijsvelden, hun positie, tekstgrootte of winkelmandknop. */
.single-product .jumbo_fixed_bottom .w-100-mobiel > div:first-child:has(.price .wt-besparing)::after {
    content: var(--ms-campaign-sticky);
    display: block;
    max-width: 280px;
    box-sizing: border-box;
    margin-top: 5px;
    padding-left: 7px;
    border-left: 2px solid var(--groen);
    background: linear-gradient(to right, rgba(0, 185, 0, 0.13), transparent) left center / 6px 100% no-repeat;
    font-family: var(--body-font);
    color: var(--blauw);
    font-size: 12px;
    line-height: 1.4;
    white-space: normal;
}
/* Bestaande mobiele banner-gloed en Safari-variant, met dezelfde waarden. */
@media (max-width: 768px) {
    .single-product :is(.summary.entry-summary, .bootstrap_summary > .sticky-element) > .price:has(.wt-besparing)::before,
    .single-product :is(.summary.entry-summary, .bootstrap_summary > .sticky-element) > .price:has(.wt-besparing)::after {
        box-shadow: inset 0 0 9px rgba(0, 172, 0, 0.22);
    }
}
@media not all and (min-resolution: 0.001dpcm) {
    @supports (-webkit-appearance: none) {
        .single-product :is(.summary.entry-summary, .bootstrap_summary > .sticky-element) > .price > .wt-besparing,
        .single-product :is(.summary.entry-summary, .bootstrap_summary > .sticky-element) > .price:has(.wt-besparing)::before {
            text-shadow: 0 0 1px rgba(255,255,255,0.35), 0 0 3px rgba(0,172,0,0.25);
        }
        .single-product :is(.summary.entry-summary, .bootstrap_summary > .sticky-element) > .price:has(.wt-besparing)::after {
            text-shadow: 0 0 1px rgba(0,172,0,0.3), 0 0 2px rgba(0,172,0,0.2);
        }
        .single-product :is(.summary.entry-summary, .bootstrap_summary > .sticky-element) > .price:has(.wt-besparing) > del::after {
            filter: drop-shadow(0 0 1px rgba(255,255,255,0.4))
                    drop-shadow(0 0 1.5px rgba(0,172,0,0.25))
                    drop-shadow(0 0 1px rgba(0,172,0,0.25)) brightness(1.03);
        }
    }
}
@media (max-width: 767px) {
    .single-product :is(.summary.entry-summary, .bootstrap_summary > .sticky-element) > .price:has(.wt-besparing) > del::after {
        bottom: 16px;
    }
    .single-product :is(.summary.entry-summary, .bootstrap_summary > .sticky-element) > .price:has(.wt-besparing)::after {
        line-height: 1.28; /* bestaande mobiele optie-subtekst */
    }
    .single-product .jumbo_fixed_bottom .w-100-mobiel > div:first-child:has(.price .wt-besparing)::after {
        content: var(--ms-campaign-sticky);
        max-width: 280px;
    }
}
/* Ook op zeer smalle schermen blijft de sticky bij twee regels. */
@media (max-width: 359px) {
    .single-product .jumbo_fixed_bottom .w-100-mobiel > div:first-child:has(.price .wt-besparing)::after {
        font-size: 11px;
    }
}
/* Einde BF-prijsopmaak 2026. */




/* BF-hoofdfotobadge: dezelfde selectie als het bespaarlabel, uitsluitend eerste foto. */
.single-product .product:has(:is(.summary.entry-summary, .bootstrap_summary > .sticky-element) > .price > .wt-besparing) .big-custom-gallery > .big-custom-gall-img:first-child {
  position: relative;
}
.single-product .product:has(:is(.summary.entry-summary, .bootstrap_summary > .sticky-element) > .price > .wt-besparing) .big-custom-gallery > .big-custom-gall-img:first-child::before {
  content: "BLACK\A FRIDAY";
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;
  box-sizing: border-box;
  padding: 9px 12px 9px 47px;
  min-height: 56px;
  border: 2px solid #00AC00;
  border-radius: 0 12px 0 12px;
  background: linear-gradient(180deg, #000 0%, #010 100%);
  box-shadow: inset 0 0 9px rgba(0,172,0,.22), 0 0 3px rgba(0,172,0,.3);
  color: #fff;
  font-family: industry, sans-serif;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: .05em;
  white-space: pre;
  text-shadow: 0 0 2px rgba(255,255,255,.6), 0 0 8px rgba(0,172,0,.6);
  pointer-events: none;
}
.single-product .product:has(:is(.summary.entry-summary, .bootstrap_summary > .sticky-element) > .price > .wt-besparing) .big-custom-gallery > .big-custom-gall-img:first-child::after {
  content: "";
  position: absolute;
  top: 22px;
  left: 25px;
  z-index: 3;
  width: 26px;
  height: 36px;
  background: url("https://mustangsafes.nl/inhoud/uploads/Mustang-Safes-paard.svg") center / contain no-repeat;
  filter: drop-shadow(0 0 2px rgba(255,255,255,.6)) drop-shadow(0 0 3px rgba(0,172,0,.5)) drop-shadow(0 0 4px rgba(0,172,0,.4)) brightness(1.15);
  pointer-events: none;
}

/* Echte BF-link in Topmenu. Wit/groen uit bestaande #hoofdmenu .bf-menu.
   De linktekst blijft echte tekst; geen dubbele tekst via pseudo-elementen. */
.mini-cart-container > #topmenu > li:has(> a[href$="/black-friday/"]) {
  flex: 0 0 auto;
  margin: 0;
}
.mini-cart-container > #topmenu > li > a[href$="/black-friday/"] {
  display: block;
  box-sizing: border-box;
  width: 44px;
  padding: 6px 0;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.15;
  text-transform: uppercase;
  text-align: center;
  white-space: normal;
  color: #fff;
  background: linear-gradient(to bottom, #fff 0 50%, #00d000 50% 100%);
  background-origin: content-box;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.mini-cart-container > #topmenu > li > a[href$="/black-friday/"]:hover {
  background-image: linear-gradient(#00ff4a, #00ff4a);
}
.mini-cart-container > #topmenu > li > a[href$="/black-friday/"]:focus-visible {
  outline: 2px solid #00d000;
  outline-offset: 3px;
}
@media (max-width: 767px) {
  .mini-cart-container > #topmenu:has(> li > a[href$="/black-friday/"]) {
    display: flex !important;
    flex: 0 0 auto;
    align-items: center;
    margin: 0;
    padding: 0;
    gap: 0;
  }
  .mini-cart-container > #topmenu > li:not(:has(> a[href$="/black-friday/"])) {
    display: none;
  }
}
@media (max-width: 399px) {
  body:has(.mini-cart-container > #topmenu a[href$="/black-friday/"]) #logoholder {
    width: clamp(100px, calc(100vw - 246px), 150px);
  }
}
@media (max-width: 359px) {
  .mini-cart-container:has(> #topmenu a[href$="/black-friday/"]) {
    gap: 6px;
    margin-right: 10px;
  }
  .mini-cart-container > #topmenu > li > a[href$="/black-friday/"] {
    width: 40px;
    font-size: 11px;
  }
}

/* De extra BF-headerlink is alleen nodig bij de ingeklapte mobiele navigatie.
   Vanaf 992px blijft uitsluitend de bestaande BF-link in het megamenu zichtbaar. */
@media (min-width: 992px) {
  .mini-cart-container > #topmenu > li:has(> a[href$="/black-friday/"]) {
    display: none;
  }
}

/* BF-prijsvariant: compacte fotobadge naast de oorspronkelijke desktopprijs.
   Bedragen, btw, bespaarlabel en dynamische optieprijzen behouden hun themastijlen. */
.single-product :is(.summary.entry-summary, .bootstrap_summary > .sticky-element) > .price:has(.wt-besparing)::after {
  flex: 0 0 100%;
  max-width: 100%;
  margin: 16px 0 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: none;
  box-shadow: none;
  clip-path: none;
  color: var(--blauw);
  text-shadow: none;
}
@media (min-width: 992px) {
  .single-product .summary.entry-summary > .price:has(.wt-besparing) {
    display: grid;
    grid-template-columns: max-content max-content minmax(0, 1fr);
  }
  .single-product .summary.entry-summary > .price:has(.wt-besparing) > del {
    grid-area: 1 / 1;
  }
  .single-product .summary.entry-summary > .price:has(.wt-besparing) > .wt-besparing {
    grid-area: 1 / 2;
  }
  .single-product .summary.entry-summary > .price:has(.wt-besparing) > ins {
    grid-area: 2 / 1 / 3 / 3;
  }
  .single-product .summary.entry-summary > .price:has(.wt-besparing)::before {
    content: "BLACK\A FRIDAY";
    grid-area: 1 / 3 / 3 / 4;
    justify-self: start;
    align-self: center;
    min-height: 56px;
    max-width: none;
    margin: 0 0 0 24px;
    padding: 9px 12px 9px 47px;
    border: 2px solid #00AC00;
    border-radius: 0 12px 0 12px;
    background: linear-gradient(180deg, #000 0%, #010 100%);
    box-shadow: inset 0 0 9px rgba(0,172,0,.22), 0 0 3px rgba(0,172,0,.3);
    clip-path: none;
    font-family: industry, sans-serif;
    font-size: 17px;
    font-weight: 700;
    line-height: 1.05;
    letter-spacing: .05em;
    white-space: pre;
    text-shadow: 0 0 2px rgba(255,255,255,.6), 0 0 8px rgba(0,172,0,.6);
    pointer-events: none;
  }
  .single-product .summary.entry-summary > .price:has(.wt-besparing) > del::after {
    content: none;
    display: none;
  }
  .single-product .summary.entry-summary > .price:has(.wt-besparing) > ins {
    position: relative;
  }
  .single-product .summary.entry-summary > .price:has(.wt-besparing) > ins::before {
    content: "";
    position: absolute;
    left: calc(100% + 37px);
    top: -24px;
    width: 26px;
    height: 36px;
    background: url("https://mustangsafes.nl/inhoud/uploads/Mustang-Safes-paard.svg") center / contain no-repeat;
    filter: drop-shadow(0 0 2px rgba(255,255,255,.6)) drop-shadow(0 0 3px rgba(0,172,0,.5)) drop-shadow(0 0 4px rgba(0,172,0,.4)) brightness(1.15);
    pointer-events: none;
    z-index: 1;
  }
  .single-product .summary.entry-summary > .price:has(.wt-besparing)::after {
    grid-area: 3 / 1 / 4 / -1;
  }
}
@media (max-width: 991px) {
  .single-product :is(.summary.entry-summary, .bootstrap_summary > .sticky-element) > .price:has(.wt-besparing)::before,
  .single-product :is(.summary.entry-summary, .bootstrap_summary > .sticky-element) > .price:has(.wt-besparing) > del::after {
    content: none;
    display: none;
  }
}
/* Einde BF-prijsvariant: foto-badge, mobiele header en sticky blijven intact. */

/* Slanke voorwaardenbox: dezelfde zwarte/groene BF-stijl, zonder extra badge.
   Alleen de voorwaarden bij de hoofdprijs; sticky en prijsopmaak blijven gelijk. */
.single-product :is(.summary.entry-summary, .bootstrap_summary > .sticky-element) > .price:has(.wt-besparing)::after {
  flex: 0 1 auto;
  justify-self: start;
  width: fit-content;
  max-width: 100%;
  padding: 4px 10px;
  border: 2px solid #00AC00;
  border-radius: 0 8px 0 8px;
  background: linear-gradient(180deg, #000 0%, #010 100%);
  box-shadow: inset 0 0 9px rgba(0,172,0,.22), 0 0 3px rgba(0,172,0,.3);
  color: #00AC00;
  line-height: 1.4;
}

/* Mobiele hoofdfotobadge: paard en tekst naast elkaar; alleen achtergrond licht transparant. */
@media (max-width: 767px) {
  .single-product .product:has(:is(.summary.entry-summary, .bootstrap_summary > .sticky-element) > .price > .wt-besparing) .big-custom-gallery > .big-custom-gall-img:first-child::before {
    background: linear-gradient(180deg, rgba(0,0,0,.84) 0%, rgba(0,17,0,.84) 100%);
  }
}
/* Voorwaarden iets lichter groen: bestaande BF-menukleur. */
.single-product :is(.summary.entry-summary, .bootstrap_summary > .sticky-element) > .price:has(.wt-besparing)::after {
  color: #00d000;
}

/* Mobiele BF-link rechts in de headergroep, direct naast de menuknop. */
@media (max-width: 767px) {
  .mini-cart-container > #topmenu:has(> li > a[href$="/black-friday/"]) {
    order: 1;
  }
}


/* BF: mobiele fotobadge blijft op de galerij staan; de geopende fotoviewer blijft ongewijzigd. */
@media (max-width: 767px) {
  .single-product .product:has(:is(.summary.entry-summary, .bootstrap_summary > .sticky-element) > .price > .wt-besparing) .big-custom-gallery_container > .tns-outer::before {
    content: "BLACK\A FRIDAY";
    position: absolute;
    top: 13px;
    left: 13px;
    z-index: 2;
    box-sizing: border-box;
    padding: 9px 12px 9px 47px;
    min-height: 56px;
    border: 2px solid #00AC00;
    border-radius: 0 12px 0 12px;
    background: linear-gradient(180deg, rgba(0,0,0,.84) 0%, rgba(0,17,0,.84) 100%);
    box-shadow: inset 0 0 9px rgba(0,172,0,.22), 0 0 3px rgba(0,172,0,.3);
    color: #fff;
    font-family: industry, sans-serif;
    font-size: 17px;
    font-weight: 700;
    line-height: 1.05;
    letter-spacing: .05em;
    white-space: pre;
    text-shadow: 0 0 2px rgba(255,255,255,.6), 0 0 8px rgba(0,172,0,.6);
    pointer-events: none;
  }
  .single-product .product:has(:is(.summary.entry-summary, .bootstrap_summary > .sticky-element) > .price > .wt-besparing) .big-custom-gallery_container > .tns-outer::after {
    content: "";
    position: absolute;
    top: 23px;
    left: 26px;
    z-index: 3;
    width: 26px;
    height: 36px;
    background: url("https://mustangsafes.nl/inhoud/uploads/Mustang-Safes-paard.svg") center/contain no-repeat;
    filter: drop-shadow(0 0 2px rgba(255,255,255,.6)) drop-shadow(0 0 3px rgba(0,172,0,.5)) drop-shadow(0 0 4px rgba(0,172,0,.4)) brightness(1.15);
    pointer-events: none;
  }
  .single-product .product:has(:is(.summary.entry-summary, .bootstrap_summary > .sticky-element) > .price > .wt-besparing) .big-custom-gallery_container > .tns-outer .big-custom-gallery > .big-custom-gall-img:first-child::before,
  .single-product .product:has(:is(.summary.entry-summary, .bootstrap_summary > .sticky-element) > .price > .wt-besparing) .big-custom-gallery_container > .tns-outer .big-custom-gallery > .big-custom-gall-img:first-child::after {
    content: none;
  }
}

/* BF: badge follows DEL in the existing flex row; INS keeps its theme-owned full row. */
.single-product .product:has(:is(.summary.entry-summary, .bootstrap_summary > .sticky-element) > .price > .wt-besparing) .bundle_price:has(> .price > del) > .price::before {
  content: "Black Friday";
  display: block;
  order: 1;
  align-self: center;
  width: fit-content;
  height: auto;
  margin: 0;
  padding: 3px 8px;
  border: 1px solid #00AC00;
  border-radius: 0 6px 0 6px;
  background: #000;
  color: #fff;
  font-family: var(--body-font, sans-serif);
  font-size: 12px;
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: normal;
  box-shadow: none;
  text-shadow: none;
}



/* Existing theme: DEL order 0, INS order 4/full width; keep sizing and wrapping. */
.single-product .product:has(:is(.summary.entry-summary, .bootstrap_summary > .sticky-element) > .price > .wt-besparing) .bundle_price:has(> .price > del) > .price {
  column-gap: 5px;
}
