/* Landing page only: no changes to catalog, cart or comparison layouts. */
@font-face {
  font-family: "Dancing Script";
  src: url("/comparateur/assets/fonts/dancing-script.woff2") format("woff2");
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
}
.home-route .home-badge,.home-route .home-start {
  display: table;
  max-width: 100%;
  margin: 0 0 26px;
  padding: 7px 13px;
  border-radius: 999px;
  background: #7540e8;
  color: white;
  font-size: .66rem;
  font-weight: 850;
  letter-spacing: .12em;
  line-height: 1.35;
}
.home-route #hero-title { font-size: clamp(26px,3.2vw,44px); line-height: 1.14; letter-spacing: -.04em; }
.home-route #hero-title span { color: inherit; }
.home-route #hero-title .home-line { display: block; }
.home-route #hero-title .home-handwritten {
  display: inline;
  font-family: "Dancing Script", "Segoe Script", "Snell Roundhand", cursive;
  font-size: 1.12em;
  font-weight: 600;
  letter-spacing: -.025em;
  color: #bb96ff;
}
.home-route .search-wrap {
  margin-top: 34px;
  padding: 20px;
  border: 1px solid #a780f2;
  border-radius: 22px;
  background: #efe8fc;
  color: #24113f;
  box-shadow: 0 12px 30px #09011926;
}
.home-route .home-start { margin: 0 0 8px; padding: 5px 10px; font-size: .65rem; }
.home-route #home-search-title { margin: 0 0 16px; font-size: clamp(19px,2vw,27px); line-height: 1.2; letter-spacing: -.035em; font-weight: 850; }
.home-route .searchbox { min-height: 52px; border: 1px solid #e1d6f4; border-radius: 999px; background: #fff; box-shadow: 0 8px 24px #43226512; }
.home-route .home-search-icon { flex: 0 0 22px; margin-left: 16px; color: #7540e8; }
.home-route .searchbox input { min-width: 0; padding: 14px 12px; font-size: 16px; }
.home-route .searchbox input::placeholder { color: #71568f; opacity: 1; }
.home-route .searchbox:focus-within { border-color: #7540e8; outline: 3px solid #7540e8; outline-offset: 3px; }
.home-route #spinner { font-size: .7rem; padding-right: 10px; }
.home-route .hero-visual { overflow: visible; }
.home-route .hero-visual img { width: 100%; max-width: 100%; max-height: none; }
@media (max-width: 760px) {
  .home-route .hero { padding: 22px 14px 0; }
  .home-route .hero-inner { gap: 16px; }
  .home-route .home-badge { font-size: clamp(8px,2.2vw,10px); letter-spacing: .1em; margin-bottom: 26px; padding: 6px 10px; }
  .home-route #hero-title { font-size: clamp(23px,6.9vw,36px); line-height: 1.14; }
  .home-route:lang(fr) #hero-title .home-line { white-space: nowrap; }
  .home-route .search-wrap { margin-top: 34px; padding: 16px; border-radius: 18px; }
  .home-route .hero-visual { max-height: none; }
  .home-route body.mobile-cart-visible { padding-bottom: calc(92px + env(safe-area-inset-bottom, 0px)); }
  .home-route .family-navigation { scroll-margin-bottom: calc(92px + env(safe-area-inset-bottom, 0px)); }
}
@media (max-width: 359px) {
  .home-route #hero-title { font-size: clamp(18px,6.7vw,24px); }
  .home-route:lang(fr) #hero-title .home-line { white-space: normal; }
  .home-route .search-wrap { padding: 13px; }
}
.home-route .logo { flex-shrink: 0; white-space: nowrap; }
.home-route .hero-inner { grid-template-columns: 1.2fr .8fr; gap: 32px; }
.home-route #hero-title { font-size: clamp(26px,2.65vw,38px); }
.home-route #hero-title .home-handwritten { font-size: 1.3em; }
.home-route .language-control select { min-height: 44px; }
@media (max-width: 1000px) {
  .home-route .hero-inner { grid-template-columns: 1fr; }
  .home-route .hero-copy { max-width: 680px; width: 100%; margin-inline: auto; }
  .home-route .hero-visual { max-width: 680px; width: 100%; margin-inline: auto; }
}
@media (max-width: 760px) {
  .home-route #cart-shortcut { display: none; }
  .home-route #hero-title { font-size: clamp(23px,6.9vw,36px); }
  .home-route .hero-inner { gap: 16px; }
}
@media (max-width: 359px) {
  .home-route #hero-title { font-size: clamp(18px,6.7vw,24px); }
}

/* Compact home language control; full native names remain in the menu. */
.home-route .home-language { position: relative; flex-shrink: 0; z-index: 1000; }
.home-route #language-button {
  display: inline-flex; align-items: center; justify-content: center; gap: 7px;
  min-width: 62px; min-height: 44px; padding: 9px 12px;
  border: 1px solid #e6deef; border-radius: 999px;
  background: #fff; color: var(--violet-deep); font: inherit; cursor: pointer;
}
.home-route #language-button .language-code { display: inline; font-weight: 800; }
.home-route #language-menu {
  position: absolute; top: calc(100% + 8px); right: 0; min-width: 170px;
  max-width: calc(100vw - 28px); padding: 6px; border: 1px solid #d9cceb;
  border-radius: 14px; background: #fff; color: var(--violet-deep);
  box-shadow: 0 12px 30px #14062833;
}
.home-route #language-menu[hidden] { display: none; }
.home-route #language-menu button {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  width: 100%; min-height: 44px; padding: 10px 12px; border: 0;
  border-radius: 8px; background: transparent; color: inherit; font: inherit;
  text-align: left; white-space: nowrap; cursor: pointer;
}
.home-route #language-menu button:hover { background: #efe8fc; }
.home-route #language-menu .language-check { display: inline; min-width: 1em; }
.home-route #language-button:focus-visible,.home-route #language-menu button:focus-visible {
  outline: 3px solid #a47ae8; outline-offset: 2px;
}
@media (max-width:760px) {
  .home-route body.mobile-cart-visible .family-navigation {
    padding-top: calc(28px + var(--home-cart-height,52px) + 24px);
  }
  .home-route .mobile-cart-shortcut {
    transform: translateY(calc(-1 * var(--home-cart-lift,0px)));
    transition: none;
  }
  .home-route body.mobile-cart-visible {
    padding-bottom: calc(var(--home-cart-height,52px) + 40px + env(safe-area-inset-bottom,0px));
  }
}

/* Decorative Swiss identity; retain the badge's existing height and typography. */
.home-route .home-badge { position: relative; padding-inline-end: 30px; }
.home-route .home-swiss-flag {
  position: absolute; inset-inline-end: 10px; top: 50%; transform: translateY(-50%);
  display: block; width: 14px; height: 14px;
}
@media (max-width: 760px) {
  .home-route:lang(rm) .home-badge { letter-spacing: .04em; padding-inline-start: 8px; padding-inline-end: 28px; }
  .home-route:lang(rm) .home-swiss-flag { inset-inline-end: 8px; }
}
