/* Kittle - Univers dédiés : structure commune (chargée uniquement dans un univers) */
html { scroll-behavior: smooth; }

/* L'en-tête Kittle laisse la place à celui de l'univers (ordinateur) */
@media (min-width: 768px) {
  html.kun #header .header-top { display: none; }
  html.kun #header .header-nav { margin-bottom: 0; }
}
@media (max-width: 767px) {
  html.kun #header .top-logo { visibility: hidden; }
  html.kun .kun-search { display: none; }
}
html.kun #header { border-top: 0; border-image: none; background: transparent; box-shadow: none; }

/* Barre de l'univers */
.kun-bar { position: relative; overflow: hidden; }
.kun-deco { position: absolute; inset: 0; pointer-events: none; }
.kun-bar-in {
  position: relative; display: flex; flex-wrap: wrap; align-items: center;
  gap: 14px 28px; padding-top: 18px; padding-bottom: 18px;
}
.kun-brand { display: flex; align-items: center; gap: 12px; text-decoration: none !important; }
.kun-logo { flex: 0 0 auto; width: 52px; height: 52px; border-radius: 50%; background: center / 30px 30px no-repeat; }
.kun-brand-txt { display: flex; flex-direction: column; line-height: 1.05; }
.kun-name { font-size: 32px; }
.kun-sign { margin-top: 4px; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; }
.kun-nav { display: flex; flex-wrap: wrap; gap: 4px 6px; flex: 1 1 0; min-width: 0; }
.kun-nav a { padding: 7px 12px; border-radius: 999px; font-size: 15px; text-decoration: none !important; transition: background .15s ease, color .15s ease; }
.kun-search { position: relative; display: flex; align-items: center; }
.kun-search input { width: 190px; height: 38px; padding: 0 40px 0 16px; border-radius: 999px; border: 0; font-size: 14px; outline: none; }
.kun-search button { position: absolute; right: 4px; width: 32px; height: 32px; border: 0; border-radius: 50%; display: flex; align-items: center; justify-content: center; cursor: pointer; }
.kun-search button .material-icons { font-size: 20px; }
.kun-back { order: -1; flex: 0 0 100%; margin-bottom: -10px; font-size: 12px; text-decoration: none !important; opacity: .85; }
.kun-back:hover { opacity: 1; }

/* Grand visuel d'entrée (catégorie mère) */
.kun-hero { position: relative; }
.kun-hero-in { display: grid; grid-template-columns: 1.05fr 1fr; align-items: center; gap: 30px; padding-top: 18px; padding-bottom: 40px; }
.kun-kicker { margin: 0 0 8px; font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.kun-title { margin: 0 0 14px; font-size: 48px; line-height: 1.05; }
.kun-text { margin: 0 0 22px; font-size: 17px; line-height: 1.6; max-width: 34em; }
.kun-btn { display: inline-block; padding: 12px 26px; border-radius: 999px; font-size: 16px; font-weight: 700; text-decoration: none !important; transition: transform .15s ease, box-shadow .15s ease; }
.kun-btn:hover { transform: translateY(-2px); }
.kun-hero-vis { position: relative; height: 330px; }
.kun-hero-card { position: absolute; top: 50%; display: block; aspect-ratio: 1 / 1; height: 78%; border: 6px solid #fff; border-radius: 14px; overflow: hidden; background: #fff; box-shadow: 0 18px 40px rgba(0, 0, 0, .35); }
.kun-hero-card img { display: block; width: 100%; height: 100%; object-fit: cover; }
.kun-n3 .kun-hc1 { left: 2%; transform: translateY(-50%) rotate(-8deg); height: 70%; }
.kun-n3 .kun-hc3 { right: 2%; transform: translateY(-50%) rotate(7deg); height: 70%; }
.kun-n3 .kun-hc2 { left: 50%; transform: translate(-50%, -50%); z-index: 2; height: 92%; }
.kun-n1 .kun-hc1 { left: 50%; transform: translate(-50%, -50%) rotate(-2deg); height: 100%; }

/* Page catégorie : pleine largeur, sans l'arbre des autres univers */
@media (min-width: 768px) {
  html.kun #left-column { display: none; }
  html.kun #content-wrapper.left-column { width: 100%; max-width: 100%; flex: 0 0 100%; }
}
html.kun #js-product-list-header { scroll-margin-top: 20px; }
html.kun .block-category { border-radius: 16px; }
html.kun .block-category .block-category-inner #category-description { font-size: 15px; line-height: 1.65; }
html.kun .products .product-miniature .thumbnail-container { border-radius: 14px; overflow: hidden; transition: transform .2s ease, box-shadow .2s ease; }
html.kun .products .product-miniature .thumbnail-container:hover { transform: translateY(-4px); }
html.kun .product-miniature .product-title a { text-overflow: unset; white-space: normal; }

/* Section « comment ça marche » en bas de chaque page de l'univers */
.kun-how { position: relative; left: 50%; width: 100vw; margin-left: -50vw; margin-top: 24px; padding: 44px 0 36px; clear: both; }
.kun-how-title { margin: 0 0 24px; text-align: center; font-size: 34px; line-height: 1.1; }
.kun-how-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; margin: 0; padding: 0; list-style: none; counter-reset: kh; }
.kun-how-list li { position: relative; padding: 26px 22px 22px 22px; border-radius: 16px; counter-increment: kh; }
.kun-how-list li::before { content: counter(kh); display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; margin-bottom: 12px; border-radius: 50%; font-size: 22px; }
.kun-how-t { display: block; margin-bottom: 6px; font-size: 20px; }
.kun-how-d { display: block; font-size: 15px; line-height: 1.55; }
.kun-how-back { margin: 24px 0 0; text-align: center; font-size: 14px; }

@media (max-width: 991px) {
  .kun-hero-in { grid-template-columns: 1fr; }
  .kun-hero-vis { height: 260px; }
  .kun-title { font-size: 38px; }
  .kun-search input { width: 150px; }
}
@media (max-width: 767px) {
  .kun-bar-in { gap: 10px; padding-top: 22px; padding-bottom: 12px; }
  .kun-name { font-size: 26px; }
  .kun-logo { width: 42px; height: 42px; background-size: 24px 24px; }
  .kun-nav { flex-wrap: nowrap; overflow-x: auto; width: 100%; padding-bottom: 4px; }
  .kun-nav a { white-space: nowrap; font-size: 14px; }
  .kun-title { font-size: 32px; }
  .kun-text { font-size: 15px; }
  .kun-hero-in { padding-bottom: 26px; }
  .kun-hero-vis { height: 220px; }
  .kun-how-list { grid-template-columns: 1fr; }
  .kun-how-title { font-size: 28px; }
}

/* Petits ajustements de l'en-tête et du pied de page dans les univers */
html.kun #header .header-nav .blockcart { background: transparent; }
html.kun .footer-container .block-contact, html.kun .footer-container .block-contact * { color: inherit !important; opacity: .92; }
html.kun .kt-tile { border-radius: 14px; }
