/* /public/assets/littoral/storefront-mockup.css */
body:has(.mk-home) {
  background: var(--surface);
}
.mk-header.public-topbar {
  display: block;
  padding: 0;
  min-height: 0;
}
.mk-header-inner {
  display: grid;
  grid-template-columns: 230px minmax(240px, 1fr) 150px;
  gap: 32px;
  align-items: center;
  max-width: 1480px;
  margin: auto;
  padding: 14px 30px;
}
.mk-header .mk-brand {
  width: 200px;
  padding: 0;
  margin: 0;
}
.mk-header .mk-brand img {
  width: 200px;
  max-width: 100%;
  height: auto;
}
.mk-header .mk-brand .brand-on-dark {
  display: none;
}
html[data-theme="dark"] .mk-header .mk-brand .brand-on-dark {
  display: block;
}
html[data-theme="dark"] .mk-header .mk-brand .brand-on-light {
  display: none;
}
.mk-header .mk-search {
  width: 100%;
  border-radius: 7px;
  background: var(--bg);
  padding: 0 10px;
  min-height: 38px;
  margin: 0;
}
.mk-header .mk-search input {
  padding: 9px 6px;
  font-size: 13px;
  width: 100%;
  height: 36px;
  border: 0;
  background: transparent;
}
.mk-header .mk-search button {
  display: grid;
  place-items: center;
  padding: 0;
  margin: 0;
  width: 28px;
  height: 30px;
  min-height: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
}
.mk-header .mk-search svg {
  width: 20px;
  height: 20px;
}
.mk-header .mk-header-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 20px;
  padding: 0;
  margin: 0;
}
.mk-header .mk-header-actions > button,
.mk-header .mk-account,
.mk-header .mk-account > summary,
.mk-header .navbar-cart > summary {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 34px;
  min-height: 0;
  min-width: 0;
  padding: 0;
  margin: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--ink);
}
.mk-header .mk-header-actions svg {
  width: 25px;
  height: 25px;
  stroke-width: 1.55;
}
.mk-header .mk-account {
  text-decoration: none;
}
.mk-header .navbar-cart {
  margin: 0;
}
.mk-header .navbar-cart > summary {
  position: relative;
}
.mk-header .navbar-cart > summary .cart-count {
  position: absolute;
  right: -10px;
  top: -4px;
  min-width: 15px;
  height: 15px;
  padding: 0 3px;
  font-size: 9px;
  line-height: 15px;
}
.mk-header .cart-count[data-zero] {
  display: none;
}
.mk-header .navbar-cart-panel {
  font-size: 13px;
}
.mk-mobile-menu,
.mk-mobile-text {
  display: none;
}
.mockup-home-shell.public-shell main {
  max-width: 1480px;
  padding: 0 20px 24px;
}
.mk-home {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.mk-navigation {
  position: relative;
  z-index: 40;
  display: flex;
  gap: 28px;
  align-items: center;
  padding: 9px 0;
  margin-bottom: 0;
  border-bottom: 1px solid var(--line);
}
.mk-navigation .sf-category-menu {
  flex: none;
}
.mk-navigation .sf-category-menu > summary {
  min-height: 32px;
  padding: 6px 13px;
  font-size: 12px;
  border-radius: 6px;
}
.mk-navigation-links {
  display: flex;
  flex: 1;
  align-items: center;
  gap: clamp(14px, 2.5vw, 40px);
  min-width: 0;
}
.mk-navigation a {
  color: var(--ink);
  text-decoration: none;
  font-size: 12px;
}
.mk-navigation-links > a {
  font-weight: 600;
  white-space: nowrap;
}
.mk-project-links {
  display: flex;
  gap: 24px;
  align-items: center;
  border-left: 1px solid var(--line);
  padding-left: 24px;
}
.mk-home .sf-category-panel {
  top: 100%;
}
.mk-home .sf-category-panel a {
  font-size: 14px;
}
.mk-sprite {
  display: block;
  width: 100%;
  aspect-ratio: var(--sprite-w) / var(--sprite-h);
  background-image: url("./mockup/reference-home.png");
  background-repeat: no-repeat;
  background-size: calc(1536 / var(--sprite-w) * 100%)
    calc(1024 / var(--sprite-h) * 100%);
  background-position: calc(var(--sprite-x) / (1536 - var(--sprite-w)) * 100%)
    calc(var(--sprite-y) / (1024 - var(--sprite-h)) * 100%);
}
.mk-categories {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}
.mk-category {
  display: flex;
  flex-direction: column;
  gap: 7px;
  padding: 12px 16px 10px;
  border: 1px solid var(--line);
  border-radius: 7px;
  color: var(--ink);
  text-decoration: none;
  background: var(--surface);
  min-width: 0;
}
.mk-category h2 {
  font-size: 18px;
  line-height: 1.2;
  margin: 0;
  font-weight: 700;
}
.mk-category .mk-sprite {
  margin: auto 0;
}
.mk-category-cameras {
  --sprite-x: 73;
  --sprite-y: 375;
  --sprite-w: 224;
  --sprite-h: 72;
}
.mk-category-recorders {
  --sprite-x: 332;
  --sprite-y: 376;
  --sprite-w: 217;
  --sprite-h: 70;
}
.mk-category-alarms {
  --sprite-x: 602;
  --sprite-y: 371;
  --sprite-w: 209;
  --sprite-h: 77;
}
.mk-category-network {
  --sprite-x: 857;
  --sprite-y: 373;
  --sprite-w: 224;
  --sprite-h: 74;
}
.mk-category-link {
  color: var(--red);
  font-size: 13px;
  text-align: center;
}
.mk-section-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}
.mk-section-title h2 {
  font-size: 23px;
  line-height: 1.2;
  letter-spacing: -0.025em;
  margin: 0;
}
.mk-section-title > a {
  font-size: 12px;
  text-decoration: none;
  flex: none;
}
.mk-product-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  grid-auto-rows: 1fr;
  gap: 9px;
}
.mk-product {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 10px;
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: var(--surface);
}
.mk-product h3 {
  height: 2.5em;
  margin: 0;
  font-size: 12px;
  line-height: 1.25;
  font-weight: 650;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.mk-product h3 a {
  text-decoration: none;
  color: var(--ink);
}
.mk-product-photo {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  min-height: 112px;
  background: #fff;
  border-radius: 4px;
}
.mk-product-photo > a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 112px;
  padding: 7px 0;
}
.mk-product-photo .mk-sprite {
  max-width: 146px;
}
.mk-photo-bullet {
  --sprite-x: 76;
  --sprite-y: 565;
  --sprite-w: 143;
  --sprite-h: 78;
}
.mk-photo-dome,
.mk-photo-turret {
  --sprite-x: 244;
  --sprite-y: 564;
  --sprite-w: 143;
  --sprite-h: 78;
}
.mk-photo-nvr {
  --sprite-x: 420;
  --sprite-y: 566;
  --sprite-w: 145;
  --sprite-h: 78;
}
.mk-product-photo .mk-photo-alarm {
  --sprite-x: 628;
  --sprite-y: 555;
  --sprite-w: 94;
  --sprite-h: 91;
  max-width: 94px;
}
.mk-photo-switch {
  --sprite-x: 768;
  --sprite-y: 567;
  --sprite-w: 147;
  --sprite-h: 77;
}
.mk-product-photo .mk-photo-disk {
  --sprite-x: 987;
  --sprite-y: 552;
  --sprite-w: 83;
  --sprite-h: 94;
  max-width: 83px;
}
.mk-product-photo .mk-photo-wifi {
  --sprite-x: 1006;
  --sprite-y: 371;
  --sprite-w: 82;
  --sprite-h: 75;
  max-width: 100px;
}
.mk-product .design-favorite {
  position: absolute;
  top: -6px;
  right: -4px;
  bottom: auto;
  left: auto;
  display: grid;
  place-items: center;
  width: 25px;
  height: 25px;
  min-height: 0;
  padding: 3px;
  background: transparent;
  border: 0;
  box-shadow: none;
  color: var(--ink);
}
.mk-product .design-favorite svg {
  width: 19px;
  height: 19px;
}
.mk-product .design-favorite[aria-pressed="true"] svg path {
  fill: #fbbf24;
  stroke: #92400e;
}
.mk-reference {
  margin: auto 0 0;
  min-height: 16px;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  font-size: 10px;
  color: var(--muted);
}
.mk-price {
  margin: 0;
  font-size: 16px;
  font-weight: 700;
  color: var(--red);
}
.mk-home .mk-card-actions > [data-sync-quantity] {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr);
  gap: 7px;
  width: 100%;
}
.mk-home .mk-card-actions [data-sync-quantity] .product-quantity-stepper {
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr) 24px;
  grid-column: 1;
  grid-row: 1;
  justify-self: center;
  width: 88px;
  min-width: 0;
  height: 25px;
  min-height: 0;
  border: 1px solid var(--line);
  border-radius: 5px;
  overflow: hidden;
}
.mk-home
  .mk-card-actions
  [data-sync-quantity]
  .product-quantity-stepper
  button {
  display: grid;
  place-items: center;
  min-width: 0;
  width: 100%;
  min-height: 0;
  height: 23px;
  flex: none;
  padding: 0;
  border: 0;
  border-radius: 0;
  font-size: 20px;
  line-height: 1;
}
.mk-home .mk-card-actions [data-sync-quantity] .product-quantity-stepper input {
  width: 100% !important;
  min-width: 0 !important;
  min-height: 0;
  height: 23px;
  padding: 0 !important;
  font-size: 13px;
  text-align: center;
  border: 0;
}
.mk-home .mk-card-actions [data-sync-quantity] [data-quantity-apply],
.mk-discover {
  grid-column: 1;
  grid-row: 2;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 30px;
  height: auto;
  padding: 5px 4px;
  width: 100%;
  border-radius: 6px;
  background: var(--red);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
}
.mk-home [data-product-remove] {
  display: none !important;
}
.mk-discover {
  margin-top: 32px;
}
.mk-duo {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}
.mk-duo > a {
  display: block;
  border-radius: 7px;
  overflow: hidden;
}
.mk-project {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  background: var(--tint);
  padding: 12px 16px;
  border-radius: 7px;
}
.mk-project h2 {
  font-size: 22px;
  margin: 0;
  letter-spacing: -0.02em;
}
.mk-project .button {
  min-height: 30px;
  border-radius: 6px;
  padding: 6px 18px;
  font-size: 13px;
}
.mk-illustration-note {
  font-size: 10px;
  color: var(--muted);
  margin: 0;
}
.mk-home .sf-banner {
  border-radius: 7px;
}
@media (min-width: 768px) and (max-width: 1099px) {
  .mk-header-inner {
    grid-template-columns: 185px minmax(150px, 1fr) 120px;
    gap: 18px;
    padding-inline: 20px;
  }
  .mk-header .mk-brand,
  .mk-header .mk-brand img {
    width: 180px;
  }
  .mk-navigation {
    gap: 15px;
  }
  .mk-navigation-links {
    gap: 16px;
    overflow-x: auto;
  }
  .mk-product-grid {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }
  .mk-product {
    padding: 7px;
  }
  .mk-product h3 {
    font-size: 11px;
  }
  .mk-home .mk-card-actions [data-sync-quantity] [data-quantity-apply] {
    font-size: 10px;
  }
}
@media (max-width: 767px) {
  body:has(.mk-home) {
    padding-bottom: calc(66px + env(safe-area-inset-bottom, 0px));
  }
  .mk-header-inner {
    grid-template-columns: 34px minmax(0, 1fr) 34px;
    gap: 12px 10px;
    padding: 14px 16px 12px;
  }
  .mk-header .mk-brand {
    grid-column: 2;
    justify-self: center;
    width: 190px;
  }
  .mk-header .mk-brand img {
    width: 190px;
  }
  .mk-header .mk-mobile-menu {
    display: grid;
    place-items: center;
    grid-column: 1;
    grid-row: 1;
    min-height: 0;
    width: 30px;
    height: 30px;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
  }
  .mk-header .mk-search {
    grid-row: 2;
    grid-column: 1 / -1;
    min-height: 36px;
  }
  .mk-header .mk-search input {
    height: 34px;
    font-size: 12px;
  }
  .mk-header .mk-header-actions {
    grid-column: 3;
    grid-row: 1;
    width: 30px;
  }
  .mk-header .mk-account,
  .mk-header .mk-favorites {
    display: none;
  }
  .mockup-home-shell.public-shell main {
    padding: 0 10px 20px;
  }
  .mk-home {
    gap: 14px;
  }
  .mk-navigation {
    padding: 10px 0 0;
    border: 0;
  }
  .mk-navigation .sf-category-menu {
    width: 100%;
  }
  .mk-navigation .sf-category-menu > summary {
    justify-content: center;
    min-height: 36px;
    padding: 7px;
    font-size: 14px;
  }
  .mk-desktop-text,
  .mk-navigation-links,
  .mk-project-links {
    display: none;
  }
  .mk-mobile-text {
    display: inline;
  }
  .mk-home .sf-category-panel {
    top: calc(100% + 4px);
  }
  .mk-categories {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 9px;
  }
  .mk-category {
    padding: 12px 12px 9px;
    gap: 7px;
  }
  .mk-category h2 {
    font-size: 16px;
  }
  .mk-category-link {
    font-size: 12px;
    text-align: left;
  }
  .mk-section-title {
    gap: 8px;
    margin-bottom: 10px;
  }
  .mk-section-title h2 {
    font-size: 21px;
  }
  .mk-section-title > a {
    font-size: 10px;
  }
  .mk-product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }
  .mk-product {
    padding: 10px;
    gap: 7px;
  }
  .mk-product h3 {
    font-size: 12px;
  }
  .mk-product-photo,
  .mk-product-photo > a {
    min-height: 114px;
    height: 114px;
  }
  .mk-product .design-favorite {
    top: -4px;
    right: -1px;
    width: 25px;
    height: 25px;
    padding: 2px;
  }
  .mk-reference {
    font-size: 10px;
  }
  .mk-home .mk-card-actions [data-sync-quantity] .product-quantity-stepper {
    width: 94px;
    height: 26px;
  }
  .mk-home .mk-card-actions [data-sync-quantity] [data-quantity-apply] {
    min-height: 36px;
    font-size: 12px;
  }
  .mk-duo {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .mk-project {
    align-items: flex-start;
    flex-direction: column;
    padding: 16px;
  }
  .mk-project h2 {
    font-size: 21px;
  }
  .mk-project .button {
    min-height: 36px;
  }
  .mk-mobile-bar {
    padding-top: 7px;
  }
}
/* L’en-tête d’accueil utilise toute la largeur réservée à la recherche. */
.mk-header.public-topbar .mk-search {
  max-width: none;
  min-width: 0;
  flex: none;
}
.mk-header.public-topbar .mk-header-actions {
  gap: 20px;
}
.mk-header.public-topbar .mk-search {
  max-width: 720px;
  justify-self: center;
}
.mk-navigation [data-storefront-categories] {
  scroll-margin-top: 120px;
}
@media (min-width: 1100px) {
  .mk-header-inner {
    grid-template-columns: 260px minmax(240px, 1fr) 180px;
    gap: 36px;
  }
}
@media (max-width: 767px) {
  .mk-header.public-topbar .mk-header-actions > .mk-favorites {
    display: none;
  }
  .mk-header.public-topbar .mk-search {
    max-width: none;
  }
}
.mockup-home-shell.public-shell main {
  max-width: 1480px !important;
  padding-top: 0 !important;
}
