/* Floating Black Friday offer trigger. */
.sbf-floating-offer {
  position: fixed;
  right: calc(16px + env(safe-area-inset-right, 0px));
  bottom: calc(16px + env(safe-area-inset-bottom, 0px));
  z-index: 90;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 10px 20px;
  border: 1px solid #0c0407;
  border-radius: 999px;
  background: #0c0407;
  color: #f8f8f8;
  box-shadow: 0 4px 16px rgb(12 4 7 / 18%);
  font: 500 14px/1.4 Jost, sans-serif;
  text-decoration: none;
  cursor: pointer;
}
.sbf-floating-offer:hover { background: #2d2528; color: #fff; }
.sbf-floating-offer:focus-visible { outline: 2px solid #0c0407; outline-offset: 3px; }
@media (min-width: 768px) {
  .sbf-floating-offer { right: 24px; bottom: 24px; }
}

/* SORTAGE BF26 — offer banner */
:is([data-sbf-module="home-offer"], [data-sbf-module="collection-offer"]) {
  position: relative;
  display: block;
  box-sizing: border-box;
  width: 100%;
  aspect-ratio: auto;
  margin: 12px 0 16px;
  padding: 12px 16px;
  overflow: hidden;
  border: 1px solid #d9d4d4;
  border-radius: 4px;
  background: #f8f7f7;
  color: #0c0407;
  font-family: Jost, sans-serif;
}
[data-sbf-module="home-offer"] { margin: 20px 0 28px; }
:is([data-sbf-module="home-offer"], [data-sbf-module="collection-offer"]) .sbf-offer-row {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
}
:is([data-sbf-module="home-offer"], [data-sbf-module="collection-offer"]) .sbf-offer-body {
  display: grid;
  flex: 1;
  gap: 4px;
  min-width: 0;
}
:is([data-sbf-module="home-offer"], [data-sbf-module="collection-offer"]) .sbf-offer-icon {
  flex: 0 0 32px;
  width: 32px;
  height: 32px;
}
:is([data-sbf-module="home-offer"], [data-sbf-module="collection-offer"]) .sbf-offer-title {
  margin: 0;
  font-size: 22px;
  line-height: 1.15;
  font-weight: 500;
}
:is([data-sbf-module="home-offer"], [data-sbf-module="collection-offer"]) .sbf-text {
  max-width: 720px;
  margin: 0;
  color: #4c4c4c;
  font-size: 14px;
  line-height: 1.35;
}
:is([data-sbf-module="home-offer"], [data-sbf-module="collection-offer"]) .sbf-offer-actions {
  display: flex;
  flex: 0 0 auto;
  flex-wrap: wrap;
  gap: 6px;
  min-width: 0;
  margin: 0;
}
:is([data-sbf-module="home-offer"], [data-sbf-module="collection-offer"]) .sbf-offer-actions :is(a, button) {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  width: auto;
  min-height: 44px;
  margin: 0;
  padding: 7px 11px;
  border: 1px solid #0c0407;
  border-radius: 999px;
  background: transparent;
  color: #0c0407;
  font: 500 13px/1.2 Jost, sans-serif;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
}
:is([data-sbf-module="home-offer"], [data-sbf-module="collection-offer"]) .sbf-offer-actions .sbf-offer-first-accent {
  background: #0c0407;
  color: #fff;
}
:is([data-sbf-module="home-offer"], [data-sbf-module="collection-offer"]) .sbf-offer-actions :is(a, button):focus-visible {
  outline: 2px solid #0c0407;
  outline-offset: 2px;
}
@media (max-width: 767px) {
  :is([data-sbf-module="home-offer"], [data-sbf-module="collection-offer"]) {
    margin: 8px 0 12px;
    padding: 10px 12px;
  }
  :is([data-sbf-module="home-offer"], [data-sbf-module="collection-offer"]) .sbf-offer-row {
    display: grid;
    gap: 8px;
  }
  :is([data-sbf-module="home-offer"], [data-sbf-module="collection-offer"]) .sbf-offer-icon { display: none; }
  :is([data-sbf-module="home-offer"], [data-sbf-module="collection-offer"]) .sbf-offer-title { font-size: 19px; }
  :is([data-sbf-module="home-offer"], [data-sbf-module="collection-offer"]) .sbf-text { font-size: 13px; }
  :is([data-sbf-module="home-offer"], [data-sbf-module="collection-offer"]) .sbf-offer-actions :is(a, button) {
    padding-inline: 9px;
    font-size: 12px;
  }
}

/* SORTAGE BF26 — personal selection */
.sbf-floating-offer {
  gap: 7px;
  box-sizing: border-box;
  max-width: calc(100vw - 32px);
  padding-inline: 14px;
  font-size: 13px;
  white-space: nowrap;
}
.sbf-floating-offer::before {
  content: "";
  display: block;
  flex: 0 0 16px;
  width: 16px;
  height: 16px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='white' d='M21.8 3.6 18.5 20c-.25 1.1-.9 1.35-1.85.85l-5.2-3.8-2.5 2.4c-.25.25-.5.5-1.05.5l.35-5.3L18 5.9c.4-.35-.1-.55-.65-.2L5.3 13.2.2 11.6c-1.1-.35-1.1-1.1.25-1.65L20.5 2.2c.95-.35 1.75.2 1.3 1.4Z'/%3E%3C/svg%3E") center / contain no-repeat;
}
@media (max-width: 767px) {
  .sbf-floating-offer { min-height: 44px; }
}
