/* /public/assets/littoral/storefront.css */
.sf-navigation {
  position: relative;
  z-index: 35;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 8px 0 12px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 14px;
}
.sf-category-menu {
  margin: 0;
  flex: none;
}
.sf-category-menu > summary {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 7px;
  color: #fff;
  background: var(--red);
  list-style: none;
  font-weight: 650;
}
.sf-category-menu > summary::-webkit-details-marker {
  display: none;
}
.sf-category-panel {
  position: absolute;
  z-index: 50;
  left: 0;
  right: 0;
  top: calc(100% - 4px);
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: var(--surface);
  box-shadow: 0 14px 28px #0002;
  max-height: 65vh;
  overflow: auto;
}
.sf-category-columns {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
  margin-top: 18px;
}
.sf-category-group {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 9px;
}
.sf-category-group a {
  text-decoration: none;
  color: var(--muted);
}
.sf-category-group .sf-category-title {
  font-weight: 700;
  color: var(--ink);
}
.sf-category-group a:hover,
.sf-category-shortcuts a:hover {
  color: var(--red);
  text-decoration: underline;
}
.sf-category-shortcuts {
  display: flex;
  align-items: center;
  gap: 22px;
  overflow-x: auto;
  min-width: 0;
  flex: 1;
}
.sf-category-shortcuts a {
  color: var(--ink);
  text-decoration: none;
  white-space: nowrap;
  font-weight: 600;
  padding: 7px 0;
}
.sf-category-shortcuts [aria-current] {
  color: var(--red);
}
.sf-project-link {
  flex: none;
  color: var(--ink);
  text-decoration: none;
}
.sf-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 15px;
  color: var(--muted);
}
.sf-breadcrumb a {
  color: inherit;
  text-decoration: none;
}
.storefront-shell.public-shell main {
  max-width: 1600px;
  padding: 12px 20px 30px;
}
.storefront {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.storefront .sf-navigation {
  margin-bottom: -4px;
}
.sf-hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  min-height: 300px;
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow: hidden;
  background: var(--surface);
}
.sf-hero-copy {
  padding: 34px;
}
.sf-eyebrow {
  color: var(--muted);
  font-size: 12px;
}
.sf-hero h1 {
  font-size: clamp(30px, 3.3vw, 52px);
  line-height: 1.06;
  letter-spacing: -0.025em;
  margin: 14px 0;
}
.sf-hero p {
  margin: 0 0 22px;
  font-size: 18px;
  color: var(--muted);
}
.sf-hero .button {
  min-height: 42px;
}
.sf-hero-products {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 28px;
  background: var(--tint);
  min-height: 100%;
}
.sf-hero-products > a {
  flex: 1;
  min-width: 0;
  padding: 12px;
  background: #fff;
  border-radius: 9px;
}
.sf-hero-products img {
  width: 100%;
  height: 180px;
  object-fit: contain;
}
.sf-universes {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}
.sf-universe {
  display: flex;
  flex-direction: column;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: var(--surface);
  color: var(--ink);
  text-decoration: none;
  min-width: 0;
}
.sf-universe h2 {
  font-size: 18px;
  line-height: 1.3;
  margin: 0 0 12px;
}
.sf-universe-images {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: #fff;
  border-radius: 6px;
  padding: 10px;
  min-height: 116px;
}
.sf-universe-images img {
  width: calc(50% - 4px);
  height: 94px;
  object-fit: contain;
}
.sf-universe > span {
  color: var(--red);
  font-weight: 600;
  margin-top: 12px;
}
.sf-section-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 12px;
}
.sf-section-heading h2 {
  margin: 0;
  font-size: 22px;
  letter-spacing: -0.02em;
}
.sf-section-heading > a {
  flex: none;
  text-decoration: none;
  font-size: 13px;
}
.storefront .compact-catalogue-results > .catalogue-grid {
  grid-template-columns: repeat(6, minmax(0, 1fr));
  grid-auto-rows: 1fr;
  align-items: stretch;
  gap: 10px;
  margin: 0;
}
.storefront .catalogue-compact-product .design-card-heading {
  padding: 8px 9px 4px;
}
.storefront .catalogue-compact-product .design-card-heading h2 {
  font-size: 13px;
  line-height: 1.25;
  height: 2.5em;
  min-height: 2.5em;
  margin: 0;
  -webkit-line-clamp: 2;
}
.storefront .catalogue-compact-product .design-card-media {
  position: relative;
}
.storefront .catalogue-compact-product .design-photo-slide {
  height: 180px;
  padding: 10px;
}
.storefront .catalogue-compact-product .design-photo-slide img {
  height: 100%;
  width: 100%;
  object-fit: contain;
}
.storefront .catalogue-compact-product .product-body {
  padding: 9px;
  gap: 3px;
}
.storefront .catalogue-compact-product .card-reference {
  margin-top: auto;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.storefront .catalogue-compact-product .card-action-row {
  margin-top: 0;
}
.storefront
  .catalogue-compact-product
  .design-card-media
  > [data-favorite-toggle] {
  position: absolute;
  inset: 0 0 auto auto;
  z-index: 3;
  background: transparent;
  border-color: transparent;
  box-shadow: none;
}
.storefront .catalogue-compact-product [data-favorite-toggle] svg path {
  fill: none;
}
.storefront
  .catalogue-compact-product
  [data-favorite-toggle][aria-pressed="true"]
  svg
  path {
  fill: #fbbf24;
  stroke: #92400e;
}
.storefront-shell
  .storefront
  .compact-catalogue-results
  .catalogue-compact-product
  .card-action-row
  > [data-sync-quantity]
  .product-quantity-stepper {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr) minmax(0, 1fr);
  box-sizing: border-box;
}
.storefront-shell
  .storefront
  .compact-catalogue-results
  .catalogue-compact-product
  .card-action-row
  > [data-sync-quantity]
  .product-quantity-stepper
  button {
  display: grid;
  place-items: center;
  min-width: 0;
  width: 100%;
  height: 100%;
  min-height: 0;
  line-height: 1;
}
.storefront-shell
  .storefront
  .compact-catalogue-results
  .catalogue-compact-product
  .card-action-row
  > [data-sync-quantity]
  .product-quantity-stepper
  input {
  min-width: 0 !important;
  height: 100%;
  min-height: 0;
  box-sizing: border-box;
}
.sf-duo {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
.sf-promo {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 170px;
  padding: 24px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 9px;
  text-decoration: none;
  color: var(--ink);
}
.sf-promo h2 {
  font-size: 22px;
  margin: 0 0 12px;
}
.sf-promo span {
  color: var(--red);
}
.sf-promo > img {
  width: 45%;
  height: 130px;
  object-fit: contain;
  background: #fff;
  border-radius: 6px;
}
.sf-banner {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: var(--surface);
}
.sf-banner [hidden] {
  display: none !important;
}
.sf-banner img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
}
.sf-carousel-controls {
  display: flex;
  gap: 8px;
  align-items: center;
  justify-content: center;
  padding: 7px;
}
.sf-carousel-controls button {
  min-width: 34px;
  min-height: 34px;
}
.sf-project {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 22px 26px;
  background: var(--tint);
  border-radius: 9px;
}
.sf-project h2 {
  margin: 0 0 5px;
  font-size: 23px;
}
.sf-project p {
  margin: 0;
  color: var(--muted);
}
.sf-project .button {
  flex: none;
}
.sf-services {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  justify-content: center;
  padding: 15px;
}
.sf-services a {
  color: var(--ink);
  text-decoration: none;
}
.sf-thumbnail-empty {
  display: grid;
  place-items: center;
  flex: 1;
  width: 100%;
  height: 100px;
  color: #737d89;
  background: #fff;
}
.sf-thumbnail-empty svg {
  width: 40px;
  height: 40px;
}
.sf-mobile-bar {
  display: none;
}
@media (max-width: 1099px) and (min-width: 768px) {
  .storefront .compact-catalogue-results > .catalogue-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .sf-universes {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .sf-category-shortcuts {
    gap: 15px;
  }
  .sf-category-columns {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
@media (max-width: 767px) {
  .storefront-shell.public-shell main {
    padding: 8px 10px 20px;
  }
  .storefront {
    gap: 16px;
  }
  .sf-navigation {
    flex-wrap: wrap;
    gap: 8px;
    padding-top: 0;
  }
  .sf-category-menu {
    flex: 1;
  }
  .sf-category-menu > summary {
    justify-content: center;
    min-height: 42px;
  }
  .sf-category-shortcuts {
    display: none;
  }
  .sf-project-link {
    padding: 10px;
  }
  .sf-category-panel {
    padding: 16px;
  }
  .sf-category-columns {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
  }
  .sf-category-group a {
    padding: 5px 0;
  }
  .sf-hero {
    grid-template-columns: 1.25fr 0.85fr;
    min-height: 0;
  }
  .sf-hero-copy {
    padding: 20px 14px;
  }
  .sf-hero h1 {
    font-size: 24px;
  }
  .sf-eyebrow {
    font-size: 10px;
  }
  .sf-hero p {
    font-size: 14px;
    margin-bottom: 14px;
  }
  .sf-hero-products {
    padding: 12px;
    gap: 8px;
    flex-direction: column;
    justify-content: center;
  }
  .sf-hero-products > a {
    flex: none;
    width: 100%;
    max-width: 150px;
    padding: 7px;
  }
  .sf-hero-products > a:nth-child(n + 3) {
    display: none;
  }
  .sf-hero-products img {
    height: 75px;
  }
  .sf-universes {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 9px;
  }
  .sf-universe {
    padding: 12px;
  }
  .sf-universe h2 {
    font-size: 15px;
    height: 2.6em;
    margin-bottom: 8px;
  }
  .sf-universe-images {
    padding: 5px;
    min-height: 84px;
  }
  .sf-universe-images img {
    height: 74px;
  }
  .sf-universe > span {
    font-size: 12px;
  }
  .sf-section-heading {
    gap: 8px;
  }
  .sf-section-heading h2 {
    font-size: 19px;
  }
  .sf-section-heading > a {
    font-size: 12px;
  }
  .storefront .compact-catalogue-results > .catalogue-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }
  .storefront .catalogue-compact-product .design-photo-slide {
    height: 150px;
  }
  .sf-duo {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .sf-promo {
    min-height: 142px;
    padding: 18px;
  }
  .sf-promo h2 {
    font-size: 20px;
  }
  .sf-promo > img {
    height: 110px;
  }
  .sf-project {
    flex-direction: column;
    align-items: flex-start;
    padding: 22px;
  }
  .sf-project h2 {
    font-size: 22px;
  }
  .sf-mobile-bar {
    position: fixed;
    z-index: 60;
    bottom: 0;
    left: 0;
    right: 0;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    padding: 7px 6px calc(7px + env(safe-area-inset-bottom, 0px));
    background: var(--surface);
    border-top: 1px solid var(--line);
  }
  .sf-mobile-bar a,
  .sf-mobile-bar button {
    display: flex;
    flex-direction: column;
    gap: 3px;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 0;
    background: none;
    text-decoration: none;
    color: var(--ink);
    font-size: 11px;
    padding: 4px;
    min-height: 44px;
  }
  .sf-mobile-bar svg {
    width: 22px;
    height: 22px;
  }
  .sf-mobile-bar [aria-current] {
    color: var(--red);
  }
  body:has(.storefront) {
    padding-bottom: calc(68px + env(safe-area-inset-bottom, 0px));
  }
}

/* Bannières administrables : aucune commande visible. */
.sf-banner .sf-carousel-controls{display:none!important}
.mk-duo[hidden]{display:none!important}
.mk-duo>.sf-banner:only-child{grid-column:1/-1}
