/* Scoped Black Friday additions for theme 5230 only. */
:root {
  --bf5230-ink: #0b0b0b;
  --bf5230-ink-soft: #171714;
  --bf5230-paper: #fffdf8;
  --bf5230-warm: #f4eee3;
  --bf5230-gold: #c6a664;
  --bf5230-forest: #153329;
  --bf5230-line: rgba(11, 11, 11, .15);
}

/* Announcement ticker directly below the navigation. */
.bf5230-ticker {
  position: relative;
  z-index: 12;
  height: 38px;
  overflow: hidden;
  background: var(--bf5230-ink);
  color: #fff;
  border-top: 1px solid rgba(198, 166, 100, .4);
  border-bottom: 1px solid rgba(198, 166, 100, .4);
}

.bf5230-ticker__track {
  display: flex;
  width: max-content;
  height: 100%;
  animation: bf5230-ticker-scroll 36s linear infinite;
  will-change: transform;
}

.bf5230-ticker__group {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: space-around;
  min-width: 100vw;
  height: 100%;
  white-space: nowrap;
}

.bf5230-ticker__item {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 0 20px;
  font-family: var(--font-stack-body);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.bf5230-ticker__item::after {
  color: var(--bf5230-gold);
  content: "✦";
  font-size: 12px;
}

@keyframes bf5230-ticker-scroll {
  from { transform: translate3d(0, 0, 0); }
  to { transform: translate3d(-25%, 0, 0); }
}

/* First homepage banner copy. */
.section_id_slider-GaSMg0nxAV .bf5230-hero-title {
  display: inline-block;
  color: #fffaf2;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(42px, 5vw, 82px);
  font-weight: 600;
  letter-spacing: -.025em;
  line-height: .95;
  text-shadow: 0 3px 22px rgba(0, 0, 0, .52);
  text-transform: uppercase;
}

.section_id_slider-GaSMg0nxAV .bf5230-hero-offer {
  display: inline-flex;
  max-width: min(780px, 88vw);
  flex-direction: column;
  align-items: center;
  margin-top: 18px;
  padding: 15px 24px;
  border: 1px solid rgba(255, 255, 255, .38);
  background: rgba(11, 11, 11, .72);
  color: #fff;
  line-height: 1.4;
  text-align: center;
  backdrop-filter: blur(8px);
}

.section_id_slider-GaSMg0nxAV .bf5230-hero-offer strong {
  color: #ead8ad;
  font-family: var(--font-stack-body);
  font-size: 18px;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.section_id_slider-GaSMg0nxAV .bf5230-hero-offer span {
  margin-top: 5px;
  font-family: var(--font-stack-body);
  font-size: 14px;
  font-weight: 500;
}

/* Homepage offer panel after the banner. */
.bf5230-offers {
  padding: 54px 0 58px;
  background: var(--bf5230-paper);
  border-bottom: 1px solid var(--bf5230-line);
}

.bf5230-offers__inner {
  width: min(1460px, calc(100vw - 64px));
  margin: 0 auto;
}

.bf5230-offers__header {
  max-width: 780px;
  margin: 0 auto 28px;
  text-align: center;
}

.bf5230-offers__eyebrow {
  margin: 0 0 10px;
  color: #7c5d24;
  font-family: var(--font-stack-body);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .2em;
  text-transform: uppercase;
}

.bf5230-offers__title {
  margin: 0;
  color: var(--bf5230-ink);
  font-family: var(--font-stack-header);
  font-size: clamp(42px, 5vw, 72px);
  font-weight: 500;
  letter-spacing: -.03em;
  line-height: 1;
  text-transform: uppercase;
}

.bf5230-offers__description {
  max-width: 660px;
  margin: 14px auto 0;
  color: #514a40;
  font-family: var(--font-stack-body);
  font-size: 14px;
  line-height: 1.55;
}

.bf5230-offers__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border: 1px solid var(--bf5230-ink);
  background: var(--bf5230-paper);
}

.bf5230-offer-card {
  position: relative;
  min-width: 0;
  padding: 28px 22px 22px;
  border-right: 1px solid var(--bf5230-line);
}

.bf5230-offer-card:last-child {
  border-right: 0;
}

.bf5230-offer-card__number {
  position: absolute;
  top: 12px;
  right: 14px;
  color: #938d83;
  font-size: 10px;
}

.bf5230-offer-card__rate {
  color: var(--bf5230-ink);
  font-family: var(--font-stack-header);
  font-size: clamp(38px, 4vw, 58px);
  font-weight: 600;
  letter-spacing: -.04em;
  line-height: 1;
}

.bf5230-offer-card__rate small {
  color: #b01f26;
  font-family: var(--font-stack-body);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .04em;
}

.bf5230-offer-card__threshold {
  min-height: 22px;
  margin: 13px 0 22px;
  color: #5b554c;
  font-family: var(--font-stack-body);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.bf5230-code {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  min-height: 43px;
  border: 1px solid var(--bf5230-ink);
  background: #fff;
}

.bf5230-code code {
  display: flex;
  align-items: center;
  min-width: 0;
  padding: 0 12px;
  color: var(--bf5230-ink);
  font-family: var(--font-stack-body);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .05em;
}

.bf5230-copy {
  min-width: 94px;
  min-height: 41px;
  padding: 0 13px;
  border: 0;
  background-color: var(--bf5230-ink) !important;
  color: #fff !important;
  cursor: pointer;
  font-family: var(--font-stack-body);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  transition: background-color .2s ease, color .2s ease;
}

.bf5230-copy:hover,
.bf5230-copy:focus-visible {
  background-color: var(--bf5230-gold) !important;
  color: #fff !important;
  outline: 2px solid var(--bf5230-ink);
  outline-offset: 2px;
}

.bf5230-offers__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 20px;
}

.bf5230-offers__note {
  max-width: 720px;
  margin: 0;
  color: #625c54;
  font-size: 12px;
  line-height: 1.55;
}

.bf5230-shop-button {
  display: inline-flex;
  min-height: 44px;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  padding: 0 20px;
  background: var(--bf5230-ink);
  color: #fff !important;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .1em;
  text-decoration: none;
  text-transform: uppercase;
}

.bf5230-shop-button:hover,
.bf5230-shop-button:focus-visible {
  background: var(--bf5230-gold);
  color: #fff !important;
}

/* Custom product-card display that preserves each product photo's real ratio. */
.f-product-card__media {
  position: relative;
  height: auto !important;
  padding: 12px !important;
  border: 1px solid rgba(11, 11, 11, .08);
  background: #faf9f6 !important;
  overflow: hidden !important;
  isolation: isolate;
}

.f-product-card__media > .f-product-card__link {
  position: relative !important;
  display: block !important;
  width: 100% !important;
  height: auto !important;
}

.f-product-card__media .f-product-card__main-image {
  position: relative !important;
  width: 100% !important;
  height: auto !important;
  margin: 0 !important;
}

.f-product-card__media .f-product-card__main-image > responsive-image,
.f-product-card__media .f-product-card__main-image > .f-image {
  display: block !important;
  width: 100% !important;
  height: auto !important;
  max-height: none !important;
  background: transparent;
}

.f-product-card__media .f-product-card__main-image > [style*='--aspect-ratio']::before {
  display: none !important;
  padding-top: 0 !important;
}

.f-product-card__media .f-product-card__main-image img {
  position: static !important;
  display: block !important;
  width: 100% !important;
  height: auto !important;
  max-height: none !important;
  object-fit: contain !important;
  object-position: center !important;
}

.f-product-card__media .f-product-card__hover-image {
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  background: #faf9f6;
}

.f-product-card__media .f-product-card__hover-image > responsive-image,
.f-product-card__media .f-product-card__hover-image > .f-image {
  display: flex !important;
  width: 100% !important;
  height: 100% !important;
  align-items: center;
  justify-content: center;
  background: transparent;
}

.f-product-card__media .f-product-card__hover-image > [style*='--aspect-ratio']::before {
  display: none !important;
  padding-top: 0 !important;
}

.f-product-card__media .f-product-card__hover-image img {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  object-fit: contain !important;
  object-position: center !important;
}

.f-product-card__media .f-product-card__video {
  width: 100% !important;
  height: auto !important;
}

.f-product-card__media::after {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 7;
  padding: 6px 10px 6px 22px;
  border: 1px solid rgba(234, 216, 173, .38);
  border-radius: 999px;
  background: rgba(11, 11, 11, .94);
  box-shadow: 0 5px 14px rgba(0, 0, 0, .2);
  color: #fffdf8;
  content: "Up to 20% OFF";
  font-family: var(--font-stack-body);
  font-size: 9px;
  font-weight: 750;
  letter-spacing: .08em;
  line-height: 1;
  pointer-events: none;
  text-transform: uppercase;
  white-space: nowrap;
}

.f-product-card__media::before {
  position: absolute;
  top: 18px;
  left: 18px;
  z-index: 8;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #fffdf8;
  content: "";
  pointer-events: none;
}

.f-product-card__tags {
  z-index: 9;
}

/* Product-page discount panel. */
.bf5230-product-offers {
  margin-top: 18px;
}

.bf5230-product-offers__heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 8px;
  color: var(--bf5230-ink);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.bf5230-product-offers__heading span:last-child {
  color: #716a60;
  font-size: 9px;
  font-weight: 600;
}

.bf5230-product-offer {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(128px, 31%);
  min-height: 58px;
  margin-top: 7px;
  overflow: hidden;
  background: var(--bf5230-ink);
  color: #fff;
}

.bf5230-product-offer__main {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 9px 13px;
  border-right: 1px dashed rgba(234, 216, 173, .72);
}

.bf5230-product-offer__eyebrow {
  color: #e8d5a5;
  font-size: 8px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.bf5230-product-offer__rate {
  margin-top: 1px;
  font-family: var(--font-stack-header);
  font-size: 21px;
  font-weight: 600;
  line-height: 1.05;
}

.bf5230-product-offer__rate small {
  font-family: var(--font-stack-body);
  font-size: 9px;
  font-weight: 700;
}

.bf5230-product-offer__threshold {
  color: #d8d0c6;
  font-size: 9px;
}

.bf5230-product-offer .bf5230-code {
  min-height: 58px;
  border: 0;
  background: var(--bf5230-forest);
}

.bf5230-product-offer .bf5230-code code {
  color: #f3dfad;
  font-size: 12px;
}

.bf5230-product-offer .bf5230-copy {
  min-width: 70px;
  background: transparent;
  color: #f7f0e2;
  font-size: 8px;
}

/* Product-page small banner. */
.bf5230-product-banner {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  min-height: 245px;
  margin-top: 22px;
  overflow: hidden;
  border: 1px solid var(--bf5230-ink);
  background: #10100f;
}

.bf5230-product-banner__visual {
  position: relative;
  display: block;
  min-height: 245px;
  text-decoration: none;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, .04), rgba(0, 0, 0, .3)),
    url("https://www.simiglighting.pl/media/diy/575/image/2026/11/19/b122c9f7504356b28ec1164f7d67e3a4.webp") center/cover no-repeat;
}

.bf5230-product-banner__visual::after {
  position: absolute;
  right: 12px;
  bottom: 12px;
  left: 12px;
  color: #fff;
  content: "BLACK FRIDAY";
  font-family: var(--font-stack-header);
  font-size: 26px;
  font-weight: 600;
  letter-spacing: .02em;
  line-height: 1;
  text-shadow: 0 2px 12px rgba(0, 0, 0, .75);
}

.bf5230-product-banner__offers {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 13px;
  background: var(--bf5230-warm);
}

.bf5230-product-banner__title {
  margin: 0 0 7px;
  color: var(--bf5230-ink);
  font-family: var(--font-stack-header);
  font-size: 22px;
  font-weight: 600;
  line-height: 1;
}

.bf5230-product-banner__offer {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  min-height: 38px;
  padding: 5px 0;
  border-bottom: 1px solid rgba(11, 11, 11, .12);
  color: var(--bf5230-ink);
  font-size: 10px;
}

.bf5230-product-banner__offer:last-child {
  border-bottom: 0;
}

.bf5230-product-banner__offer strong {
  font-family: var(--font-stack-header);
  font-size: 20px;
  line-height: 1;
}

.bf5230-product-banner__offer em {
  display: block;
  margin-top: 2px;
  color: #655e55;
  font-size: 8px;
  font-style: normal;
  text-transform: uppercase;
}

.bf5230-product-banner__offer button {
  min-height: 29px;
  padding: 0 8px;
  border: 1px solid var(--bf5230-ink);
  background: var(--bf5230-ink);
  color: #fff;
  cursor: pointer;
  font-size: 8px;
  font-weight: 800;
  letter-spacing: .05em;
  text-transform: uppercase;
}

/* Footer: move social below business hours and keep payment marks visible. */
.bf5230-footer-socials {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin: 15px 0 -5px -5px;
  padding: 5px;
  overflow: visible;
}

.bf5230-footer-socials .bf5230-footer-socials__item {
  position: relative;
  display: block;
  width: 44px !important;
  min-width: 44px !important;
  height: 44px !important;
  min-height: 44px !important;
  flex: 0 0 44px;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 50% !important;
  background: transparent !important;
  color: #fff !important;
  overflow: visible !important;
  text-decoration: none;
  transform: none !important;
  box-shadow: none !important;
  transition: none;
}

.bf5230-footer-socials .bf5230-footer-socials__icon {
  display: block;
  width: 44px;
  height: 44px;
  overflow: visible;
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.bf5230-footer-socials .bf5230-footer-socials__ring {
  fill: var(--bf5230-ink);
  stroke: var(--bf5230-ink);
  stroke-width: 1;
  transition: none;
}

.bf5230-footer-socials .bf5230-footer-socials__glyph {
  position: absolute;
  top: 13px;
  left: 13px;
  display: block;
  width: 18px;
  height: 18px;
  overflow: visible;
  fill: currentColor;
  pointer-events: none;
}

.bf5230-footer-socials .bf5230-footer-socials__item:focus-visible {
  outline: none;
}

.bf5230-footer-socials .bf5230-footer-socials__item:focus-visible .bf5230-footer-socials__ring {
  stroke: var(--bf5230-gold);
  stroke-width: 2.5;
}

.f-footer--bottom .f-footer--bottom-right > .social-media-links {
  display: none !important;
}

.f-payment-icons--list {
  align-items: center;
  gap: 7px;
}

.f-payment-icons--item {
  display: inline-flex;
  min-height: 28px;
  align-items: center;
}

.f-payment-icons--item-icon {
  width: auto;
  max-width: 48px;
  max-height: 28px;
  object-fit: contain;
}

/* Keep the sticky purchase bar above all product-detail content. */
body.template-product .section_id_main,
body.template-product .section_id_main > div,
body.template-product .f-main-product,
body.template-product .f-main-product--info,
body.template-product .f-main-product--media {
  z-index: auto;
}

body.template-product .f-sticky-addtocart {
  z-index: 9999 !important;
  isolation: isolate;
  mix-blend-mode: normal !important;
}

@media (max-width: 1024px) {
  .bf5230-offers__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .bf5230-offer-card:nth-child(2) {
    border-right: 0;
  }

  .bf5230-offer-card:nth-child(-n+2) {
    border-bottom: 1px solid var(--bf5230-line);
  }

  .bf5230-product-banner {
    grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr);
  }
}

@media (max-width: 767px) {
  .f-product-card__media {
    padding: 8px !important;
  }

  .bf5230-ticker {
    height: 34px;
  }

  .bf5230-ticker__item {
    gap: 8px;
    padding: 0 13px;
    font-size: 9px;
  }

  .section_id_slider-GaSMg0nxAV .bf5230-hero-title {
    font-size: 42px;
  }

  .section_id_slider-GaSMg0nxAV .bf5230-hero-offer {
    width: calc(100% - 20px);
    padding: 11px 13px;
  }

  .section_id_slider-GaSMg0nxAV .bf5230-hero-offer strong {
    font-size: 14px;
  }

  .section_id_slider-GaSMg0nxAV .bf5230-hero-offer span {
    font-size: 11px;
  }

  .bf5230-offers {
    padding: 38px 0 42px;
  }

  .bf5230-offers__inner {
    width: calc(100vw - 28px);
  }

  .bf5230-offers__grid {
    grid-template-columns: 1fr;
  }

  .bf5230-offer-card,
  .bf5230-offer-card:nth-child(2) {
    padding: 24px 16px 16px;
    border-right: 0;
    border-bottom: 1px solid var(--bf5230-line);
  }

  .bf5230-offer-card:last-child {
    border-bottom: 0;
  }

  .bf5230-offers__footer {
    align-items: stretch;
    flex-direction: column;
  }

  .bf5230-shop-button {
    width: 100%;
  }

  .bf5230-product-offer {
    grid-template-columns: minmax(0, 1fr) 132px;
  }

  .bf5230-product-offer__rate {
    font-size: 19px;
  }

  .bf5230-product-offer .bf5230-code code {
    padding: 0 8px;
    font-size: 11px;
  }

  .bf5230-product-offer .bf5230-copy {
    min-width: 56px;
    padding: 0 6px;
    font-size: 7px;
  }

  .bf5230-product-banner {
    grid-template-columns: 1fr;
  }

  .bf5230-product-banner__visual {
    min-height: 170px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .bf5230-ticker {
    overflow-x: auto;
  }

  .bf5230-ticker__track {
    animation: none;
  }
}
