/*
 * bebarefoot.eu — homepage redesign
 * Scope: homepage only (body.id-1 + #bb-home)
 * Load after the existing custom category/header stylesheets.
 */

body.id-1 #bb-home {
  --bb-home-ink: #171716;
  --bb-home-paper: #ffffff;
  --bb-home-soft: #f3f3f0;
  --bb-home-line: #d9d9d4;
  --bb-home-muted: #686863;
  --bb-home-red: #ef2b20;
  --bb-home-radius: 14px;
  color: var(--bb-home-ink);
  background: var(--bb-home-paper);
  font-family: inherit;
  font-size: 16px;
  line-height: 1.5;
  overflow: hidden;
}

body.id-1 #bb-home,
body.id-1 #bb-home *,
body.id-1 #bb-home *::before,
body.id-1 #bb-home *::after {
  box-sizing: border-box;
}

body.id-1 #bb-home img {
  display: block;
  max-width: 100%;
}

body.id-1 #bb-home a {
  color: inherit;
}

body.id-1 #bb-home h1,
body.id-1 #bb-home h2,
body.id-1 #bb-home h3,
body.id-1 #bb-home p {
  margin-top: 0;
}

body.id-1.bb-home-enhanced .bb-home-main-shell,
body.id-1.bb-home-enhanced .bb-home-main-shell > main,
body.id-1.bb-home-enhanced main#content.bb-home-main {
  float: none;
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
}

body.id-1.bb-home-enhanced .bb-home-source-shell,
body.id-1.bb-home-enhanced .bb-home-native-heading {
  display: none !important;
}

body.id-1 .welcome-wrapper:has(#bb-home) {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
}

body.id-1 #bb-home .bb-home__announcement {
  display: block;
  min-height: 36px;
  margin: 0;
  padding: 11px 8px;
  background: var(--bb-home-ink);
  color: #fff;
  font-size: clamp(9px, 2.65vw, 11px);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: 0;
  text-align: center;
  white-space: nowrap;
}

body.id-1 #bb-home .bb-home__announcement span {
  margin: 0 .35em;
  color: rgba(255, 255, 255, .6);
}

body.id-1 #bb-home .bb-home-hero {
  position: relative;
  min-height: clamp(510px, 72svh, 650px);
  overflow: hidden;
  isolation: isolate;
  background: #2a2a28;
  color: #fff;
}

body.id-1 #bb-home .bb-home-hero__image,
body.id-1 #bb-home .bb-home-hero__shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

body.id-1 #bb-home .bb-home-hero__image {
  z-index: -2;
  object-fit: cover;
  object-position: 50% 48%;
}

body.id-1 #bb-home .bb-home-hero__shade {
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(9, 9, 9, .03) 20%, rgba(9, 9, 9, .24) 55%, rgba(9, 9, 9, .82) 100%),
    linear-gradient(90deg, rgba(9, 9, 9, .2), transparent 70%);
}

body.id-1 #bb-home .bb-home-hero__content {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  width: 100%;
  max-width: 760px;
  padding: 40px 18px 24px;
}

body.id-1 #bb-home .bb-home-hero__heading-slot:empty {
  display: none;
}

body.id-1 #bb-home .bb-home-hero__title,
body.id-1 #bb-home .bb-home-hero__heading-slot h1 {
  max-width: 11ch;
  margin: 0 0 14px;
  padding: 0;
  color: #fff;
  font-size: clamp(40px, 12vw, 58px);
  font-weight: 700;
  line-height: .95;
  letter-spacing: -.045em;
}

body.id-1 #bb-home .bb-home-hero__heading-slot h1::before,
body.id-1 #bb-home .bb-home-hero__heading-slot h1::after {
  display: none;
}

body.id-1 #bb-home .bb-home-hero__intro {
  max-width: 530px;
  margin: 0 0 22px;
  color: rgba(255, 255, 255, .92);
  font-size: 15px;
  line-height: 1.45;
}

body.id-1 #bb-home .bb-home-hero__actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

body.id-1 #bb-home .bb-home-button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  padding: 11px 20px;
  border: 1px solid currentColor;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
  text-align: center;
  text-decoration: none;
  transition: background-color .2s ease, color .2s ease, border-color .2s ease;
}

body.id-1 #bb-home .bb-home-button--wide {
  grid-column: 1 / -1;
}

body.id-1 #bb-home .bb-home-button--light {
  border-color: #fff;
  background: #fff;
  color: var(--bb-home-ink);
}

body.id-1 #bb-home .bb-home-button--dark {
  border-color: var(--bb-home-ink);
  background: var(--bb-home-ink);
  color: #fff;
}

body.id-1 #bb-home .bb-home-button:hover,
body.id-1 #bb-home .bb-home-button:focus-visible {
  border-color: var(--bb-home-ink);
  background: var(--bb-home-ink);
  color: #fff;
}

body.id-1 #bb-home .bb-home-section {
  width: 100%;
  padding: 72px 18px;
}

body.id-1 #bb-home .bb-home-section__header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
  max-width: 1440px;
  margin: 0 auto 28px;
}

body.id-1 #bb-home .bb-home-eyebrow,
body.id-1 #bb-home .bb-home-story__eyebrow {
  margin: 0 0 10px;
  color: var(--bb-home-red);
  font-size: 11px;
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: .15em;
  text-transform: uppercase;
}

body.id-1 #bb-home .bb-home-section__header h2,
body.id-1 #bb-home .bb-home-fit h2,
body.id-1 #bb-home .bb-home-about h2,
body.id-1 #bb-home .bb-home-principles h2 {
  max-width: 13ch;
  margin: 0;
  color: inherit;
  font-size: clamp(36px, 10.2vw, 52px);
  font-weight: 700;
  line-height: .98;
  letter-spacing: -.045em;
}

body.id-1 #bb-home .bb-home-swipe-hint,
body.id-1 #bb-home .bb-home-text-link {
  flex: none;
  margin: 0;
  color: var(--bb-home-muted);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.3;
  text-decoration: none;
  white-space: nowrap;
}

body.id-1 #bb-home .bb-home-swipe-hint span,
body.id-1 #bb-home .bb-home-text-link span {
  display: inline-block;
  margin-left: 4px;
}

body.id-1 #bb-home .bb-home-text-link:hover,
body.id-1 #bb-home .bb-home-text-link:focus-visible {
  color: var(--bb-home-red);
}

body.id-1 #bb-home .bb-home-story-track,
body.id-1 #bb-home .bb-home-native-slot--products .products,
body.id-1 #bb-home .bb-home-native-slot--blog .homepage-blog-wrapper {
  scrollbar-width: none;
  -ms-overflow-style: none;
}

body.id-1 #bb-home .bb-home-story-track::-webkit-scrollbar,
body.id-1 #bb-home .bb-home-native-slot--products .products::-webkit-scrollbar,
body.id-1 #bb-home .bb-home-native-slot--blog .homepage-blog-wrapper::-webkit-scrollbar {
  display: none;
}

body.id-1 #bb-home .bb-home-story-track {
  display: grid;
  grid-auto-columns: min(82vw, 340px);
  grid-auto-flow: column;
  gap: 12px;
  width: auto;
  max-width: none;
  margin: 0 -18px;
  padding: 0 18px 8px;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  scroll-padding-inline: 18px;
  scroll-snap-type: inline mandatory;
  -webkit-overflow-scrolling: touch;
}

body.id-1 #bb-home .bb-home-story {
  position: relative;
  min-height: 470px;
  margin: 0;
  overflow: hidden;
  border-radius: var(--bb-home-radius);
  background: #2b2b29;
  color: #fff;
  isolation: isolate;
  scroll-snap-align: start;
}

body.id-1 #bb-home .bb-home-story > img,
body.id-1 #bb-home .bb-home-story__shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

body.id-1 #bb-home .bb-home-story > img {
  z-index: -2;
  object-fit: cover;
  transition: transform .6s cubic-bezier(.2, .7, .2, 1);
}

body.id-1 #bb-home .bb-home-story:first-child > img {
  object-position: 52% 50%;
}

body.id-1 #bb-home .bb-home-story:nth-child(2) > img {
  object-position: 56% 50%;
}

body.id-1 #bb-home .bb-home-story:nth-child(3) > img {
  object-position: 50% 46%;
}

body.id-1 #bb-home .bb-home-story:nth-child(4) > img {
  object-position: 50% 40%;
}

body.id-1 #bb-home .bb-home-story__shade {
  z-index: -1;
  background: linear-gradient(180deg, rgba(9, 9, 9, .04) 32%, rgba(9, 9, 9, .78) 100%);
}

body.id-1 #bb-home .bb-home-story__content {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  padding: 24px 20px 20px;
}

body.id-1 #bb-home .bb-home-story__eyebrow {
  color: rgba(255, 255, 255, .76);
}

body.id-1 #bb-home .bb-home-story h3 {
  max-width: 12ch;
  margin: 0 0 14px;
  color: #fff;
  font-size: 29px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -.035em;
}

body.id-1 #bb-home .bb-home-story__links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 2px 18px;
}

body.id-1 #bb-home .bb-home-story__links a {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 5px;
}

body.id-1 #bb-home .bb-home-story:hover > img {
  transform: scale(1.025);
}

body.id-1 #bb-home .bb-home-new {
  background: var(--bb-home-soft);
}

body.id-1 #bb-home .bb-home-native-slot {
  max-width: 1440px;
  margin: 0 auto;
}

body.id-1 #bb-home .bb-home-native-slot:empty {
  display: none;
}

body.id-1 #bb-home .bb-home-native-slot--products .products {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  align-items: stretch;
  gap: 12px;
  width: auto;
  margin: 0 -18px !important;
  padding: 0 18px 8px !important;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  scroll-padding-inline: 18px;
  scroll-snap-type: inline mandatory;
  -webkit-overflow-scrolling: touch;
}

body.id-1 #bb-home .bb-home-native-slot--products .products > .product {
  flex: 0 0 min(69vw, 275px) !important;
  width: auto !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
  border-top: 0 !important;
  scroll-snap-align: start;
}

body.id-1 #bb-home .bb-home-native-slot--products .products > .product > .p {
  height: 100%;
  margin: 0;
  border: 0;
  border-radius: 10px;
  background: #fff;
}

body.id-1 #bb-home .bb-home-native-slot--products .product > .p > .image {
  height: auto !important;
  aspect-ratio: 1 / 1;
  background: #fff;
}

body.id-1 #bb-home .bb-home-native-slot--products .product > .p > .image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

body.id-1 #bb-home .bb-home-native-slot--products .product .p-in {
  padding-right: 14px;
  padding-left: 14px;
}

body.id-1 #bb-home .bb-home-fit {
  display: grid;
  gap: 34px;
  max-width: 1440px;
  margin: 0 auto;
}

body.id-1 #bb-home .bb-home-fit__media,
body.id-1 #bb-home .bb-home-about__media {
  overflow: hidden;
  border-radius: var(--bb-home-radius);
  background: var(--bb-home-soft);
}

body.id-1 #bb-home .bb-home-fit__media {
  aspect-ratio: 4 / 3;
}

body.id-1 #bb-home .bb-home-fit__media img,
body.id-1 #bb-home .bb-home-about__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

body.id-1 #bb-home .bb-home-fit__media img {
  object-position: 50% 100%;
}

body.id-1 #bb-home .bb-home-fit__content > p:not(.bb-home-eyebrow),
body.id-1 #bb-home .bb-home-about__content > p:not(.bb-home-eyebrow) {
  max-width: 58ch;
  margin: 22px 0 24px;
  color: var(--bb-home-muted);
  font-size: 16px;
  line-height: 1.6;
}

body.id-1 #bb-home .bb-home-link-list {
  border-top: 1px solid var(--bb-home-line);
}

body.id-1 #bb-home .bb-home-link-list a {
  display: flex;
  min-height: 58px;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border-bottom: 1px solid var(--bb-home-line);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}

body.id-1 #bb-home .bb-home-link-list a:hover,
body.id-1 #bb-home .bb-home-link-list a:focus-visible {
  color: var(--bb-home-red);
}

body.id-1 #bb-home .bb-home-principles {
  padding: 76px 18px;
  background: var(--bb-home-ink);
  color: #fff;
}

body.id-1 #bb-home .bb-home-principles__inner {
  max-width: 1440px;
  margin: 0 auto;
}

body.id-1 #bb-home .bb-home-principles .bb-home-eyebrow {
  color: rgba(255, 255, 255, .56);
}

body.id-1 #bb-home .bb-home-principles h2 {
  max-width: 10ch;
  color: #fff;
}

body.id-1 #bb-home .bb-home-principles__list {
  margin: 42px 0 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid rgba(255, 255, 255, .2);
}

body.id-1 #bb-home .bb-home-principles__list li {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 12px;
  padding: 24px 0;
  border-bottom: 1px solid rgba(255, 255, 255, .2);
}

body.id-1 #bb-home .bb-home-principles__number {
  color: rgba(255, 255, 255, .5);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .1em;
}

body.id-1 #bb-home .bb-home-principles__list h3 {
  margin: 0 0 8px;
  color: #fff;
  font-size: 23px;
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -.025em;
}

body.id-1 #bb-home .bb-home-principles__list p {
  max-width: 44ch;
  margin: 0;
  color: rgba(255, 255, 255, .68);
  font-size: 14px;
  line-height: 1.55;
}

body.id-1 #bb-home .bb-home-native-slot--blog .homepage-blog-wrapper {
  display: flex !important;
  flex-wrap: nowrap !important;
  gap: 12px;
  width: auto;
  margin: 0 -18px !important;
  padding: 0 18px 8px !important;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  scroll-padding-inline: 18px;
  scroll-snap-type: inline mandatory;
  -webkit-overflow-scrolling: touch;
}

body.id-1 #bb-home .bb-home-native-slot--blog .news-item {
  flex: 0 0 min(82vw, 340px) !important;
  width: auto !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 0 18px !important;
  overflow: hidden;
  border: 1px solid var(--bb-home-line);
  border-radius: var(--bb-home-radius);
  background: #fff;
  scroll-snap-align: start;
}

body.id-1 #bb-home .bb-home-native-slot--blog .news-item .image,
body.id-1 #bb-home .bb-home-native-slot--blog .news-item > a:first-child {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
}

body.id-1 #bb-home .bb-home-native-slot--blog .news-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}

body.id-1 #bb-home .bb-home-native-slot--blog .news-item:hover img {
  transform: scale(1.025);
}

body.id-1 #bb-home .bb-home-native-slot--blog .news-item .text,
body.id-1 #bb-home .bb-home-native-slot--blog .news-item .description,
body.id-1 #bb-home .bb-home-native-slot--blog .news-item .news-item-content,
body.id-1 #bb-home .bb-home-native-slot--blog .news-item > h3,
body.id-1 #bb-home .bb-home-native-slot--blog .news-item > p,
body.id-1 #bb-home .bb-home-native-slot--blog .news-item > .read-article {
  margin-right: 18px;
  margin-left: 18px;
}

body.id-1 #bb-home .bb-home-native-slot--blog .news-item h3,
body.id-1 #bb-home .bb-home-native-slot--blog .news-item .title {
  margin-top: 18px;
  margin-bottom: 10px;
  color: var(--bb-home-ink);
  font-size: 22px;
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -.025em;
}

body.id-1 #bb-home .bb-home-native-slot--blog .news-item p {
  color: var(--bb-home-muted);
  font-size: 14px;
  line-height: 1.5;
}

body.id-1 #bb-home .bb-home-native-slot--blog .news-item .read-article,
body.id-1 #bb-home .bb-home-native-slot--blog .news-item .read-more {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  color: var(--bb-home-ink);
  font-size: 13px;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 4px;
}

body.id-1 #bb-home .bb-home-about {
  display: grid;
  gap: 34px;
  max-width: 1440px;
  margin: 0 auto;
  background: var(--bb-home-soft);
}

body.id-1 #bb-home .bb-home-about__media {
  aspect-ratio: 4 / 3;
}

body.id-1 #bb-home .bb-home-about__media img {
  object-position: 50% 50%;
}

@media (max-width: 767.98px) {
  body.id-1 #bb-home .bb-home-fit__media,
  body.id-1 #bb-home .bb-home-about__media {
    width: calc(100% + 36px);
    margin-left: -18px;
    border-radius: 0;
  }
}

@media (min-width: 768px) {
  body.id-1 #bb-home .bb-home__announcement {
    min-height: 42px;
    font-size: 13px;
  }

  body.id-1 #bb-home .bb-home-hero {
    min-height: min(760px, 78svh);
  }

  body.id-1 #bb-home .bb-home-hero__image {
    object-position: 50% 45%;
  }

  body.id-1 #bb-home .bb-home-hero__content {
    left: clamp(24px, 5vw, 76px);
    padding: 56px 0;
  }

  body.id-1 #bb-home .bb-home-hero__title,
  body.id-1 #bb-home .bb-home-hero__heading-slot h1 {
    font-size: clamp(56px, 7vw, 92px);
  }

  body.id-1 #bb-home .bb-home-hero__intro {
    font-size: 17px;
  }

  body.id-1 #bb-home .bb-home-hero__actions {
    display: flex;
    max-width: 550px;
  }

  body.id-1 #bb-home .bb-home-button {
    min-width: 150px;
  }

  body.id-1 #bb-home .bb-home-button--wide {
    grid-column: auto;
  }

  body.id-1 #bb-home .bb-home-section {
    padding: 104px clamp(24px, 4vw, 64px);
  }

  body.id-1 #bb-home .bb-home-section__header {
    margin-bottom: 38px;
  }

  body.id-1 #bb-home .bb-home-section__header h2,
  body.id-1 #bb-home .bb-home-fit h2,
  body.id-1 #bb-home .bb-home-about h2,
  body.id-1 #bb-home .bb-home-principles h2 {
    font-size: clamp(48px, 5.2vw, 76px);
  }

  body.id-1 #bb-home .bb-home-swipe-hint,
  body.id-1 #bb-home .bb-home-text-link {
    font-size: 14px;
  }

  body.id-1 #bb-home .bb-home-story-track {
    grid-auto-columns: min(42vw, 430px);
    gap: 18px;
    margin: 0;
    padding: 0 0 10px;
    scroll-padding-inline: 0;
  }

  body.id-1 #bb-home .bb-home-story {
    min-height: 590px;
  }

  body.id-1 #bb-home .bb-home-native-slot--products .products,
  body.id-1 #bb-home .bb-home-native-slot--blog .homepage-blog-wrapper {
    gap: 18px;
    margin: 0 !important;
    padding: 0 0 10px !important;
    scroll-padding-inline: 0;
  }

  body.id-1 #bb-home .bb-home-native-slot--products .products > .product {
    flex-basis: min(31vw, 330px) !important;
  }

  body.id-1 #bb-home .bb-home-fit,
  body.id-1 #bb-home .bb-home-about {
    grid-template-columns: minmax(0, 1.1fr) minmax(320px, .9fr);
    align-items: center;
    gap: clamp(48px, 7vw, 110px);
  }

  body.id-1 #bb-home .bb-home-fit__content,
  body.id-1 #bb-home .bb-home-about__content {
    padding-right: clamp(0px, 3vw, 48px);
  }

  body.id-1 #bb-home .bb-home-principles {
    padding: 110px clamp(24px, 4vw, 64px);
  }

  body.id-1 #bb-home .bb-home-principles__list {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0;
    border-bottom: 1px solid rgba(255, 255, 255, .2);
  }

  body.id-1 #bb-home .bb-home-principles__list li {
    display: block;
    min-height: 250px;
    padding: 28px clamp(22px, 3vw, 44px);
    border-right: 1px solid rgba(255, 255, 255, .2);
    border-bottom: 0;
  }

  body.id-1 #bb-home .bb-home-principles__list li:first-child {
    padding-left: 0;
  }

  body.id-1 #bb-home .bb-home-principles__list li:last-child {
    padding-right: 0;
    border-right: 0;
  }

  body.id-1 #bb-home .bb-home-principles__number {
    display: block;
    margin-bottom: 70px;
  }

  body.id-1 #bb-home .bb-home-native-slot--blog .news-item {
    flex-basis: min(39vw, 410px) !important;
  }

  body.id-1 #bb-home .bb-home-about {
    grid-template-columns: minmax(320px, .9fr) minmax(0, 1.1fr);
  }
}

@media (min-width: 1180px) {
  body.id-1 #bb-home .bb-home-story-track {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    grid-auto-columns: auto;
    grid-auto-flow: row;
    max-width: 1440px;
    margin: 0 auto;
    overflow: visible;
  }

  body.id-1 #bb-home .bb-home-story {
    min-height: 560px;
  }

  body.id-1 #bb-home .bb-home-native-slot--products .products > .product {
    flex-basis: calc((100% - 54px) / 4) !important;
  }

  body.id-1 #bb-home .bb-home-native-slot--blog .news-item {
    flex-basis: calc((100% - 54px) / 3.35) !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  body.id-1 #bb-home *,
  body.id-1 #bb-home *::before,
  body.id-1 #bb-home *::after {
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
  }
}
