/* Homepage desktop refresh — approved visual, 22/09/2026 */
@media (min-width: 900px) {
  .gallery-page {
    background: #f5f1e8;
  }

  .gallery-page .bk-nav {
    position: fixed;
    inset: 0 0 auto;
    height: 66px;
    background: transparent;
    border-bottom: 1px solid transparent;
    box-shadow: none;
    color: #fff;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    transition: background-color 250ms ease, border-color 250ms ease, box-shadow 250ms ease, color 250ms ease;
  }

  .gallery-page .bk-nav.navbar--solid,
  .gallery-page .bk-nav.navbar--scrolled {
    background: rgba(245, 241, 232, 0.98);
    border-bottom-color: rgba(31, 52, 43, 0.14);
    box-shadow: 0 5px 20px rgba(22, 42, 34, 0.08);
    color: #183e31;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
  }

  .gallery-page .bk-nav.navbar--transparent,
  .gallery-page .bk-nav.navbar--transparent::before,
  .gallery-page .bk-nav.navbar--transparent::after {
    background: transparent !important;
    border-color: transparent !important;
    box-shadow: none !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
  }

  .gallery-page .bk-nav__inner {
    width: 100%;
    max-width: none;
    height: 66px;
    padding: 0 clamp(36px, 5.5vw, 112px);
    grid-template-columns: auto minmax(0, 1fr) auto;
    grid-template-areas: "brand links icons";
    column-gap: clamp(28px, 4vw, 72px);
  }

  .gallery-page .bk-nav__brand {
    grid-area: brand;
    position: static;
    transform: none;
    justify-self: start;
    color: #fff;
    font-size: clamp(1.45rem, 2vw, 1.9rem);
    text-shadow: 0 1px 8px rgba(0, 0, 0, 0.3);
    white-space: nowrap;
  }

  .gallery-page .bk-nav__links--desktop {
    grid-area: links;
    justify-self: center;
    gap: clamp(20px, 2.25vw, 38px);
  }

  .gallery-page .bk-nav__links--desktop .bk-nav__drop-trigger {
    color: #fff;
    text-shadow: 0 1px 8px rgba(0, 0, 0, 0.35);
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    white-space: nowrap;
  }

  .gallery-page .bk-nav__icons--mobile {
    grid-area: icons;
    justify-self: end;
  }

  .gallery-page .bk-nav__icon,
  .gallery-page .bk-nav__icon svg {
    color: #fff;
    stroke: currentColor;
    filter: drop-shadow(0 1px 5px rgba(0, 0, 0, 0.35));
  }

  .gallery-page .bk-nav.navbar--transparent:hover,
  .gallery-page .bk-nav.navbar--hovered {
    background: rgba(245, 241, 232, 0.98) !important;
    border-bottom-color: rgba(31, 52, 43, 0.14) !important;
    box-shadow: 0 5px 20px rgba(22, 42, 34, 0.08) !important;
    color: #183e31;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
  }

  .gallery-page .bk-nav.navbar--transparent:hover .bk-nav__brand,
  .gallery-page .bk-nav.navbar--transparent:hover .bk-nav__links--desktop .bk-nav__drop-trigger,
  .gallery-page .bk-nav.navbar--transparent:hover .bk-nav__icon,
  .gallery-page .bk-nav.navbar--transparent:hover .bk-nav__icon svg,
  .gallery-page .bk-nav.navbar--hovered .bk-nav__brand,
  .gallery-page .bk-nav.navbar--hovered .bk-nav__links--desktop .bk-nav__drop-trigger,
  .gallery-page .bk-nav.navbar--hovered .bk-nav__icon,
  .gallery-page .bk-nav.navbar--hovered .bk-nav__icon svg {
    color: #183e31;
    text-shadow: none;
    filter: none;
  }

  .gallery-page .bk-nav.navbar--transparent:hover .bk-nav__drop-panel,
  .gallery-page .bk-nav.navbar--hovered .bk-nav__drop-panel {
    background: #fbf9f4;
    border-color: rgba(31, 52, 43, 0.12);
    box-shadow: 0 12px 28px rgba(22, 42, 34, 0.12);
  }

  .gallery-page .bk-nav.navbar--transparent:hover .bk-nav__drop-item,
  .gallery-page .bk-nav.navbar--hovered .bk-nav__drop-item {
    color: #183e31;
  }
  .gallery-page .bk-nav.navbar--solid .bk-nav__brand,
  .gallery-page .bk-nav.navbar--solid .bk-nav__links--desktop .bk-nav__drop-trigger,
  .gallery-page .bk-nav.navbar--solid .bk-nav__icon,
  .gallery-page .bk-nav.navbar--solid .bk-nav__icon svg,
  .gallery-page .bk-nav.navbar--scrolled .bk-nav__brand,
  .gallery-page .bk-nav.navbar--scrolled .bk-nav__links--desktop .bk-nav__drop-trigger,
  .gallery-page .bk-nav.navbar--scrolled .bk-nav__icon,
  .gallery-page .bk-nav.navbar--scrolled .bk-nav__icon svg {
    color: #183e31;
    text-shadow: none;
    filter: none;
  }

  .gallery-page .bk-hero {
    /* Full-width 16:9 photograph, matching the desktop reference. */
    height: 56.25vw;
    min-height: 0;
    max-height: none;
    margin-top: 0;
  }

  .gallery-page .bk-hero__bg img {
    object-position: center 54%;
  }

  .gallery-page .bk-hero__overlay {
    background:
      linear-gradient(90deg, rgba(14, 30, 24, 0.78) 0%, rgba(14, 30, 24, 0.42) 43%, rgba(14, 30, 24, 0.08) 78%),
      linear-gradient(0deg, rgba(10, 23, 18, 0.28), rgba(10, 23, 18, 0.04) 55%);
  }

  .gallery-page .bk-hero__content {
    height: 100%;
    max-width: none;
    padding: 48px clamp(40px, 5.5vw, 112px) 44px;
    justify-content: center;
    align-items: flex-start;
    gap: 12px;
  }

  .gallery-page .bk-hero__label {
    margin: 0;
    font-size: 0.7rem;
    letter-spacing: 0.2em;
  }

  .gallery-page .bk-hero__pitch {
    max-width: 650px;
    margin: 0;
    font-size: clamp(2.75rem, 4.5vw, 4.25rem);
    line-height: 0.98;
    letter-spacing: -0.035em;
  }

  .gallery-page .bk-hero__sub {
    max-width: 590px;
    margin: 4px 0 6px;
    font-size: 0.96rem;
    line-height: 1.55;
  }

  .gallery-page .bk-hero__actions {
    margin-top: 4px;
  }

  .gallery-page .bk-hero__cta {
    min-height: 46px;
    padding: 0 25px;
    border-radius: 999px;
  }

  .gallery-page .g-catalog {
    max-width: none;
    padding: 0 clamp(36px, 4.2vw, 72px) 72px;
    background: #f5f1e8;
  }

  .gallery-page .g-catalog__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    margin: 0;
    padding: 22px 0 17px;
  }

  .gallery-page .g-catalog__title {
    margin: 0;
    font-size: clamp(1.75rem, 2.3vw, 2.3rem);
    color: #183e31;
  }

  .gallery-page .g-catalog__all-link {
    color: #183e31;
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-decoration: none;
    text-transform: uppercase;
  }

  .gallery-page .g-catalog__all-link:hover {
    text-decoration: underline;
    text-underline-offset: 4px;
  }

  .gallery-page .g-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 22px 18px;
  }

  .gallery-page .furniture-card {
    display: flex;
    flex-direction: column;
    min-width: 0;
    min-height: 0;
    overflow: hidden;
    border: none;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
  }

  .gallery-page .furniture-image-frame {
    height: auto;
    min-height: 0;
    aspect-ratio: 4 / 5;
    background: transparent;
  }

  .gallery-page .furniture-image-frame .showcase-swap,
  .gallery-page .furniture-image-frame .showcase-swap__layer,
  .gallery-page .furniture-image-frame .furniture-frame {
    height: 100%;
    min-height: 0;
  }

  .gallery-page .furniture-card-body {
    display: grid;
    min-height: 0;
    max-height: none;
    opacity: 1;
    overflow: visible;
    padding: 14px 2px 6px;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    background: transparent;
  }

  .gallery-page .furniture-title {
    display: -webkit-box;
    overflow: hidden;
    margin: 0 0 6px;
    color: #183e31;
    font-family: "Playfair Display", Georgia, serif;
    font-size: clamp(0.95rem, 1.05vw, 1.12rem);
    font-weight: 700;
    line-height: 1.25;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
  }

  .gallery-page .furniture-subtitle {
    display: none;
  }

  .gallery-page .furniture-price {
    margin-top: 0;
    color: #b07a3f;
    font-family: "Playfair Display", Georgia, serif;
    font-size: 1rem;
    font-weight: 700;
    justify-self: start;
  }

  .gallery-page .furniture-card .fc-overlay {
    display: none;
  }
}

@media (min-width: 900px) and (max-width: 1160px) {
  .gallery-page .bk-nav__inner {
    padding-inline: 28px;
    column-gap: 24px;
  }

  .gallery-page .bk-nav__links--desktop {
    gap: 16px;
  }

  .gallery-page .bk-nav__links--desktop .bk-nav__drop-trigger {
    font-size: 0.7rem;
    letter-spacing: 0.045em;
  }
}

/* Types, bandeau hero, cartes toujours lisibles */
.bk-type-tile__media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.bk-type-tile__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 35%, rgba(10,29,19,.75)); }
.bk-category-hero { position: relative; isolation: isolate; overflow: hidden; min-height: 460px; display: flex; align-items: center; background: #183e31; color: #fff; }
.bk-category-hero__image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.bk-category-hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(9,25,17,.78), rgba(9,25,17,.3) 70%, rgba(9,25,17,.12)); z-index: -1; }
.bk-category-hero__content { width: 100%; max-width: 1360px; box-sizing: border-box; margin: 0 auto; padding: 40px clamp(24px,5.5vw,88px) 64px; }
.bk-category-hero__content h1 { font-family: "Playfair Display", Georgia, serif; font-size: clamp(2.7rem,6vw,5.5rem); line-height: 1.05; color: #fff; margin: 16px 0 22px; }
.bk-category-hero__content > p { color: #fff; max-width: 560px; font-size: 1.05rem; line-height: 1.6; }
.bk-category-hero__content .bk-category-hero__eyebrow { margin-top: 36px; font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .18em; }
.bk-category-hero__breadcrumb a { color: #fff; text-underline-offset: 4px; }
.bk-category-hero__content .bk-category-hero__breadcrumb { font-size: .8rem; }
.bk-category-hero .bk-hero__cta { margin-top: 16px; }
.bk-category-hero__caption { position: absolute; bottom: 16px; right: 24px; padding: 4px 8px; border-radius: 4px; color: #fff; background: #12221aaa; font-size: .7rem; }
#seo-category-grid { scroll-margin-top: 100px; }
.bk-category-hero + .bk-seo-category__main { padding-top: 40px; }
@media (max-width:599px) {
  .bk-category-hero { min-height: 430px; }
  .bk-category-hero::before { background: linear-gradient(90deg, rgba(9,25,17,.75), rgba(9,25,17,.25)); }
}
.bk-hero {
  position: relative;
  overflow-x: hidden;
}

.bk-hero__ticker {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 3;
  overflow: hidden;
  background: rgba(18, 34, 26, 0.72);
  border-top: 1px solid rgba(245, 241, 232, 0.18);
  color: #f5f1e8;
  font-family: "DM Sans", system-ui, sans-serif;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  line-height: 1;
  pointer-events: none;
}

.bk-hero__ticker-track {
  display: flex;
  width: max-content;
  gap: 0;
  animation: bk-hero-ticker 42s linear infinite;
}

.bk-hero__ticker-group {
  display: flex;
  align-items: center;
  justify-content: space-around;
  flex: 0 0 auto;
  width: max-content;
  min-width: 100vw;
  box-sizing: border-box;
  gap: clamp(32px, 6vw, 96px);
  padding-inline: clamp(24px, 4vw, 72px);
}

.bk-hero__ticker-group span {
  display: inline-block;
  padding: 12px 0;
  white-space: nowrap;
}
.bk-hero__ticker-group [hidden] { display: none; }

@keyframes bk-hero-ticker {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

@media (prefers-reduced-motion: reduce) {
  .bk-hero__ticker-track { animation: none; }
  .bk-hero__ticker-track { width: 100%; }
  .bk-hero__ticker-group { width: 100%; min-width: 0; flex-wrap: wrap; gap: 0 24px; }
  .bk-hero__ticker-group[aria-hidden="true"] { display: none; }
}

.bk-types {
  scroll-margin-top: 84px;
  background: #f5f1e8;
  padding: 56px 20px 28px;
}

.bk-types__inner {
  max-width: 1240px;
  margin: 0 auto;
}

.bk-types__eyebrow {
  margin: 0 0 6px;
  color: #164f3c;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.bk-types__title {
  margin: 0 0 10px;
  color: #183e31;
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(1.7rem, 3vw, 2.35rem);
  font-weight: 700;
}

.bk-types__sub {
  max-width: 640px;
  margin: 0 0 28px;
  color: #5d645f;
  font-size: 0.98rem;
  line-height: 1.5;
}

.bk-types__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.bk-type-tile {
  position: relative;
  display: block;
  min-height: 220px;
  overflow: hidden;
  background: #e4ddd0;
  color: #fff;
  text-decoration: none;
}

.bk-type-tile__media {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(18, 34, 26, 0.05) 30%, rgba(18, 34, 26, 0.62) 100%),
    #cfc6b4 center / cover no-repeat;
}

.bk-type-tile__label {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 1;
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(1.15rem, 2.4vw, 1.7rem);
  font-weight: 700;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.45);
}

.bk-type-tile:hover .bk-type-tile__media,
.bk-type-tile:focus-visible .bk-type-tile__media {
  transform: scale(1.04);
}

.bk-type-tile__media {
  transition: transform 0.45s ease;
}

@media (min-width: 900px) {
  .bk-types {
    padding: 72px clamp(36px, 5.5vw, 112px) 20px;
  }

  .bk-types__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
  }

  .bk-type-tile {
    min-height: 320px;
  }
}

#home-catalogue-grid .furniture-card-body {
  max-height: none;
  min-height: 0;
  opacity: 1;
  overflow: visible;
  padding: 12px 4px 8px;
}

#home-catalogue-grid .furniture-price {
  opacity: 1;
}
