/*
 * Keyzone header bar (03/10): one component for the whole site. It is the header of every page except the
 * homepage, and the compact header that slides down on the homepage (class .kz-bar on both).
 * Geometry from Layout Jeu Keyzone.ai (1920 px artboard); below 1152 px the 1080 px mobile artboard.
 */
.kz-bar {
  --kzg-surface: #211832;
  --kzg-white: #fff;
  --kzg-u: clamp(.6px, calc(calc(100*var(--kz-vw,1vw)) / 1920), 1px);
  --kzg-fs: var(--kzg-u);
}
@media (max-width: 1151px) {
  .kz-bar { --kzg-u: calc(calc(100*var(--kz-vw,1vw)) / 1080); }
}
@media (max-width: 767px) {
  .kz-bar { --kzg-fs: calc(calc(100*var(--kz-vw,1vw)) / 720); }
}
body .kz-bar .kz-trustbar {
  display: none;
}
body .kz-bar {
  position: sticky;
  z-index: 1000;
  top: 0;
  height: calc(91 * var(--kzg-u));
  min-height: calc(91 * var(--kzg-u));
  background: var(--kzg-surface) !important;
}
body .kz-bar .kz-nav {
  position: relative;
  width: 100%;
  max-width: calc(1920 * var(--kzg-u));
  height: calc(91 * var(--kzg-u));
  min-height: calc(91 * var(--kzg-u));
  margin: 0 auto;
  padding: 0 calc(58.328 * var(--kzg-u));
  display: grid;
  grid-template-columns: calc(274 * var(--kzg-u)) 1fr auto;
  align-items: center;
  gap: 0;
}
body .kz-bar .kz-logo,
body .kz-bar .kz-logo img {
  width: calc(274 * var(--kzg-u));
  height: calc(50 * var(--kzg-u));
  display: block;
}
body .kz-bar .kz-primary-nav {
  position: static;
  width: clamp(calc(580 * var(--kzg-u)), 42.604vw, calc(818 * var(--kzg-u)));
  height: auto;
  margin: 0;
  justify-self: center;
  transform: none;
}
body .kz-bar .kz-primary-nav .kz-platform-search__suggestions { top: calc(91 * var(--kzg-u)); width: clamp(calc(580 * var(--kzg-u)), 42.604vw, calc(818 * var(--kzg-u))); transform: translateX(-50%); }
body .kz-bar .kz-nav-actions {
  width: auto;
  height: calc(91 * var(--kzg-u));
  gap: calc(38 * var(--kzg-u));
  margin-left: 0;
}
body .kz-bar .kz-tagline { width: calc(150.351 * var(--kzg-u)); height: calc(49.721 * var(--kzg-u)); object-fit: contain; }
body .kz-bar :is(.kz-cart-toggle, .kz-account-toggle) { width: calc(38 * var(--kzg-u)); height: calc(38 * var(--kzg-u)); color: var(--kzg-white); }
body .kz-bar :is(.kz-cart-toggle, .kz-account-toggle) svg { width: calc(38 * var(--kzg-u)); height: calc(38 * var(--kzg-u)); stroke-width: 1.2; }
body .kz-bar .kz-menu-toggle { display: none; }
@media (min-width: 1152px) {
  body .kz-bar .kz-primary-nav {
    width: min(calc(818 * var(--kzg-u)), calc(100% - calc(48 * var(--kzg-u))));
  }
  body .kz-bar .kz-primary-nav > .kz-platform-nav,
body .kz-bar .kz-primary-nav > .kz-platform-nav.is-searching {
    width: 100%;
    transform: none;
  }
}
@media (max-width: 1151px) {
  body .kz-bar,
body .kz-bar .kz-nav { height: max(56px, calc(91 * var(--kzg-u))); min-height: max(56px, calc(91 * var(--kzg-u))); }
  body .kz-bar .kz-nav { padding: 0 calc(59 * var(--kzg-u)) 0 calc(80 * var(--kzg-u)); grid-template-columns: auto minmax(0, 1fr) auto; column-gap: calc(24 * var(--kzg-u)); }
  body .kz-bar .kz-logo,
body .kz-bar .kz-logo img { width: max(96px, calc(274 * var(--kzg-u))); height: auto; }
  body .kz-bar .kz-primary-nav { position: static; width: min(100%, max(150px, calc(360.5 * var(--kzg-u)))); display: block; margin: 0; padding: 0; background: none; justify-self: center; }
  body .kz-bar .kz-platform-nav,
body .kz-bar .kz-platform-nav.is-searching { width: 100%; min-height: max(34px, calc(66.7 * var(--kzg-u))); border-width: max(2px, calc(3 * var(--kzg-u))); transform: none; }
  body .kz-bar .kz-platform-nav > a { min-width: 0; flex: 1 1 0; padding: 0; font-size: 0; }
  body .kz-bar .kz-platform-nav__icon { width: max(16px, calc(34 * var(--kzg-u))); height: max(16px, calc(34 * var(--kzg-u))); }
  body .kz-bar .kz-platform-nav__icon.is-pc { width: max(19px, calc(41 * var(--kzg-u))); height: max(15px, calc(32 * var(--kzg-u))); }
  body .kz-bar .kz-platform-nav__search { width: max(30px, calc(60 * var(--kzg-u))); }
  body .kz-bar .kz-platform-nav__search svg { width: max(16px, calc(30 * var(--kzg-u))); height: max(16px, calc(30 * var(--kzg-u))); }
  body .kz-bar .kz-primary-nav .kz-platform-search__suggestions { top: max(56px, calc(91 * var(--kzg-u))); width: calc(calc(100*var(--kz-vw,1vw)) - 24px); }
  body .kz-bar .kz-nav-actions { position: static; width: auto; height: auto; gap: calc(34 * var(--kzg-u)); }
  body .kz-bar .kz-tagline { width: max(48px, calc(150.4 * var(--kzg-u))); height: auto; }
  body .kz-bar :is(.kz-cart-toggle, .kz-account-toggle),
body .kz-bar :is(.kz-cart-toggle, .kz-account-toggle) svg { width: max(24px, calc(38 * var(--kzg-u))); height: max(24px, calc(38 * var(--kzg-u))); }
  body .kz-bar .kz-menu-toggle { display: none; }
}
@media (max-width: 1151px) {
  body .kz-bar .kz-primary-nav { width: calc(100% - 12px); max-width: max(200px, calc(360.5 * var(--kzg-u))); }
  body .kz-bar .kz-platform-nav,
body .kz-bar .kz-platform-nav.is-searching { min-height: max(40px, calc(66.7 * var(--kzg-u))); }
  body .kz-bar .kz-platform-nav__icon { width: max(20px, calc(34 * var(--kzg-u))); height: max(20px, calc(34 * var(--kzg-u))); }
  body .kz-bar .kz-platform-nav__icon.is-pc { width: max(24px, calc(41 * var(--kzg-u))); height: max(19px, calc(32 * var(--kzg-u))); }
  body .kz-bar .kz-platform-nav__search { width: max(36px, calc(60 * var(--kzg-u))); }
  body .kz-bar .kz-platform-nav__search svg { width: max(20px, calc(30 * var(--kzg-u))); height: max(20px, calc(30 * var(--kzg-u))); }
}
@media (max-width: 1151px) {
  body .kz-bar .kz-platform-nav { padding-left: 8px; }
}
@media (max-width: 767px) {
  body .kz-bar,
body .kz-bar .kz-nav { height: 66px; min-height: 66px; }
  body .kz-bar .kz-nav { padding: 0 6px 0 10px; grid-template-columns: auto minmax(0, 1fr) auto; column-gap: 8px; }
  body .kz-bar .kz-logo,
body .kz-bar .kz-logo img { width: 134px; height: auto; }
  body .kz-bar .kz-primary-nav { width: 180px; max-width: 100%; justify-self: center; }
  body .kz-bar .kz-platform-nav,
body .kz-bar .kz-platform-nav.is-searching { min-height: 46px; padding-left: 0; border-width: 2px; border-color: #8a7ea8; border-radius: 26px; background: none; }
  body .kz-bar .kz-platform-nav__icon { width: 18px; height: 18px; }
  body .kz-bar .kz-platform-nav__icon.is-pc { width: 20px; height: 18px; }
  body .kz-bar .kz-platform-nav__search { width: 34px; }
  body .kz-bar .kz-platform-nav__search svg { width: 20px; height: 20px; }
  body .kz-bar .kz-nav-actions { gap: 0; }
  body .kz-bar :is(.kz-cart-toggle, .kz-account-toggle) { width: 44px; height: 44px; display: grid; place-items: center; }
  body .kz-bar :is(.kz-cart-toggle, .kz-account-toggle) svg { width: 29px; height: 29px; }
  body .kz-bar .kz-primary-nav .kz-platform-search__suggestions { top: 66px; }
}
@media (max-width: 767px) {
  body .kz-bar .kz-nav { padding: 0 10px; grid-template-columns: minmax(88px, 134px) minmax(0, 1fr) auto; column-gap: clamp(6px, 2vw, 12px); }
  body .kz-bar .kz-logo,
body .kz-bar .kz-logo img { width: 100%; max-width: 134px; }
  body .kz-bar .kz-primary-nav { width: 100%; max-width: none; }
  body .kz-bar .kz-platform-nav__icon { width: clamp(17px, 4.7vw, 21px); height: clamp(17px, 4.7vw, 21px); }
  body .kz-bar .kz-platform-nav__icon.is-pc { width: clamp(20px, 5.2vw, 25px); height: clamp(17px, 4.7vw, 21px); }
  body .kz-bar .kz-platform-nav__search { width: clamp(28px, 8vw, 38px); }
  body .kz-bar .kz-platform-nav__search svg { width: 20px; height: 20px; }
  body .kz-bar .kz-nav-actions { justify-self: start; }
  body .kz-bar :is(.kz-cart-toggle, .kz-account-toggle) { width: 44px; height: 44px; }
  body .kz-bar :is(.kz-cart-toggle, .kz-account-toggle) svg { width: 29px; height: 29px; }
}
@media (max-width: 360px) {
  body .kz-bar .kz-nav { padding: 0 8px; grid-template-columns: 94px minmax(0, 1fr) auto; column-gap: 6px; }
  body .kz-bar .kz-platform-nav__search { width: 28px; }
}

/* The logo box follows the logo proportions (274:50), so KEYZONE sits centred in the bar. */
body .kz-bar .kz-logo { height: auto; align-self: center; }
body .kz-bar .kz-logo img { height: auto; aspect-ratio: 274 / 50; }
/* The trust bar and the breadcrumb are not shown above the bar. */
body.kz-site:not(.home) .kz-trustbar,
body.kz-site:not(.home) .woocommerce-breadcrumb { display: none; }
/* The bar keeps its own grid order on the homepage too (the homepage header places its logo in the middle). */
body .kz-bar .kz-logo { grid-column: auto; justify-self: start; }
body .kz-bar .kz-nav-actions { grid-column: auto; display: flex; align-items: center; }

/* Search first (04/10): below 1152px the open search takes the whole bar (logo and icons hide while typing),
   so the account icon next to the cart never shrinks the search field. */
@media (max-width: 1151px) {
  body .kz-bar .kz-nav:has(.kz-platform-nav.is-searching) { grid-template-columns: minmax(0, 1fr) !important; }
  body .kz-bar .kz-nav:has(.kz-platform-nav.is-searching) > :not(.kz-primary-nav) { display: none !important; }
  body .kz-bar .kz-nav:has(.kz-platform-nav.is-searching) .kz-primary-nav { width: 100% !important; max-width: none !important; grid-column: 1 / -1; }
}

/* Cart + account (04/10): one tight group (the actions gap was made for tagline / cart and left a wide hole).
   Phones: 36px-wide icons (44px tall touch area) and a fluid logo, so the platform pill keeps its room. */
.kz-nav-icons { display: flex; align-items: center; gap: clamp(10px, 1.1vw, 20px); }
@media (max-width: 767px) {
  .kz-nav-icons { gap: 0; }
  body .kz-bar .kz-nav { grid-template-columns: clamp(88px, 26vw, 134px) minmax(0, 1fr) auto; }
  body .kz-bar :is(.kz-cart-toggle, .kz-account-toggle) { width: 36px; }
  body .kz-bar :is(.kz-cart-toggle, .kz-account-toggle) svg { width: 26px; height: 26px; }
}
@media (max-width: 360px) {
  body .kz-bar .kz-nav { grid-template-columns: 88px minmax(0, 1fr) auto; }
  body .kz-bar :is(.kz-cart-toggle, .kz-account-toggle) { width: 34px; }
}

/* Compact footer (07/10): three bands, no dead space.
   1. newsletter: [community title + text] | [e-mail field, notice right under it] | [payment logos on two lines];
   2. [Trustpilot + Google badges] | [legal links, even spacing] | [social icons];
   3. one discreet copyright line.
   Same layout in French, English and Arabic (decision D8: only the text direction changes). Selectors start with
   .kz-site .kz-site-footer so they win over the older footer rules of style.css, which stays untouched. */
.kz-site .kz-site-footer { --kz-fpad: max(16px, calc(36 * var(--kz-u))); }
.kz-site .kz-site-footer .kz-newsletter { display: grid; grid-template-columns: minmax(0, 1fr) minmax(300px, 500px) minmax(0, 1fr); align-items: center; gap: 0 28px; min-height: 0; margin: 0; padding: 10px var(--kz-fpad); }
.kz-site .kz-site-footer .kz-newsletter__copy { min-width: 0; }
.kz-site .kz-site-footer .kz-newsletter__copy h2 { gap: 10px; margin: 0; font-size: max(14px, calc(24 * var(--kz-u))); line-height: 1.2; }
.kz-site .kz-site-footer .kz-newsletter__copy h2 img { width: max(84px, calc(116 * var(--kz-u))); height: auto; }
.kz-site .kz-site-footer .kz-newsletter__copy p { max-width: 460px; margin: 4px 0 0; font-size: max(12px, calc(17 * var(--kz-u))); line-height: 1.25; }
.kz-site .kz-site-footer .kz-newsletter__signup { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.kz-site .kz-site-footer .kz-newsletter form { width: 100%; min-height: 42px; border-width: 2px; }
.kz-site .kz-site-footer .kz-newsletter input { font-size: max(12px, calc(17 * var(--kz-u))); }
/* Text and placeholder centred on the whole field: the left padding equals the button width on the right. */
.kz-site .kz-site-footer .kz-newsletter input[type='email'] { padding: 0 0 0 62px; text-align: center; }
.kz-site .kz-site-footer .kz-newsletter input[type='email']::placeholder { text-align: center; }
.kz-site .kz-site-footer .kz-newsletter__notice, .kz-site .kz-site-footer .kz-newsletter__message { margin: 0; text-align: center; }
.kz-site .kz-site-footer .kz-newsletter__message { font-size: 13px; line-height: 1.35; }
.kz-site .kz-site-footer .kz-payment-icons { width: 188px; min-width: 0; justify-self: end; justify-content: flex-end; margin: 0; column-gap: 6px; row-gap: 6px; }
.kz-site .kz-site-footer .kz-payment-icons img:nth-child(-n+3) { height: 32px; }
.kz-site .kz-site-footer .kz-payment-icons img:nth-child(4) { height: 30px; }
.kz-site .kz-site-footer .kz-payment-icons img:nth-child(n+5) { height: 20px; }
.kz-site .kz-site-footer .kz-footer-legal { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; justify-content: stretch; gap: 0 20px; width: 100%; min-height: 0; padding: 4px var(--kz-fpad); }
.kz-site .kz-site-footer .kz-footer-badges { flex-wrap: nowrap; gap: 14px; margin: 0; }
.kz-site .kz-site-footer .kz-footer-trustpilot { --tp-width: 240px; width: var(--tp-width); margin: 0; align-self: auto; }
.kz-site .kz-site-footer .kz-footer-nav { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 4px 16px; min-width: 0; }
.kz-site .kz-site-footer .kz-footer-links { margin: 0; }
.kz-site .kz-site-footer .kz-footer-links ul { flex-wrap: wrap; justify-content: center; gap: 4px 16px; }
.kz-site .kz-site-footer .kz-footer-links li { line-height: 19.8px; }
.kz-site .kz-site-footer .kz-footer-links a, .kz-site .kz-site-footer .kz-footer-meta a { font-size: 12px; line-height: 19.8px; white-space: nowrap; color: #fff; }
.kz-site .kz-site-footer .kz-footer-meta { gap: 16px; }
.kz-site .kz-site-footer .kz-footer-social { justify-self: end; gap: 8px; }
.kz-site .kz-site-footer .kz-footer-copyright { margin: 0; padding: 4px var(--kz-fpad) 5px; border: 0; color: #b9afc9; font-size: 11.5px; line-height: 1.4; text-align: center; }
.kz-site .kz-footer-social__link { --kz-social: 255, 255, 255; display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: 50%; background: rgba(var(--kz-social), .14); color: #fff; line-height: 0; transition: background-color .15s ease, transform .15s ease; }
.kz-site .kz-footer-social__link svg { width: 18px; height: 18px; display: block; }
.kz-site .kz-footer-social__link:hover, .kz-site .kz-footer-social__link:focus-visible { background: rgba(var(--kz-social), .34); transform: translateY(-1px); color: #fff; }
.kz-site .kz-footer-social__link:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
.kz-site .kz-footer-social__link--instagram { --kz-social: 225, 48, 108; }
.kz-site .kz-footer-social__link--facebook { --kz-social: 24, 119, 242; }
.kz-site .kz-footer-social__link--tiktok { --kz-social: 255, 255, 255; }
.kz-site .kz-footer-social__link--whatsapp { --kz-social: 37, 211, 102; }
@media (prefers-reduced-motion: reduce) { .kz-site .kz-footer-social__link { transition: none; transform: none; } }
@media (min-width: 768px) {
  .kz-site .kz-footer-social__link { width: 32px; height: 32px; }
  .kz-site .kz-footer-social__link svg { width: 16px; height: 16px; }
}
@media (min-width: 768px) and (max-width: 1099px) {
  .kz-site .kz-site-footer .kz-newsletter { grid-template-columns: minmax(0, 1fr) minmax(280px, 400px); gap: 10px 24px; }
  .kz-site .kz-site-footer .kz-payment-icons { grid-column: 1 / -1; width: auto; justify-self: center; justify-content: center; flex-wrap: nowrap; }
  .kz-site .kz-site-footer .kz-newsletter { padding-block: 10px; }
  .kz-site .kz-site-footer .kz-payment-icons img:nth-child(-n+3) { height: 28px; }
  .kz-site .kz-site-footer .kz-payment-icons img:nth-child(4) { height: 26px; }
  .kz-site .kz-site-footer .kz-payment-icons img:nth-child(n+5) { height: 18px; }
  .kz-site .kz-site-footer .kz-footer-legal { grid-template-columns: auto auto; justify-content: space-between; gap: 2px 20px; }
  .kz-site .kz-site-footer .kz-footer-nav { grid-column: 1 / -1; grid-row: 2; }
}
@media (max-width: 767px) {
  .kz-site .kz-site-footer .kz-newsletter { grid-template-columns: minmax(0, 1fr); gap: 10px; padding: 14px 16px 12px; text-align: center; }
  .kz-site .kz-site-footer .kz-newsletter__copy h2 { flex-wrap: wrap; justify-content: center; font-size: 18px; }
  .kz-site .kz-site-footer .kz-newsletter__copy p { margin: 4px auto 0; }
  .kz-site .kz-site-footer .kz-payment-icons { width: 100%; justify-self: center; justify-content: center; flex-wrap: nowrap; column-gap: 4px; }
  .kz-site .kz-site-footer .kz-payment-icons img:nth-child(-n+3) { height: min(32px, 8vw); }
  .kz-site .kz-site-footer .kz-payment-icons img:nth-child(4) { height: min(30px, 7.5vw); }
  .kz-site .kz-site-footer .kz-payment-icons img:nth-child(n+5) { height: min(20px, 5vw); }
  .kz-site .kz-site-footer .kz-footer-legal { display: flex; flex-direction: column; align-items: center; width: 100%; gap: 8px; padding: 10px 16px; }
  .kz-site .kz-site-footer .kz-footer-badges { width: 100%; flex-direction: column; justify-content: center; align-self: center; gap: 8px; }
  .kz-site .kz-site-footer .kz-footer-trustpilot { align-self: center; }
  .kz-site .kz-site-footer .kz-footer-google { justify-content: center; }
  .kz-site .kz-site-footer .kz-footer-nav, .kz-site .kz-site-footer .kz-footer-links ul { gap: 6px 16px; justify-content: center; }
  .kz-site .kz-site-footer .kz-footer-social { justify-self: center; gap: 12px; }
  .kz-site .kz-footer-social__link { width: 38px; height: 38px; }
}

/* Phones (07/10): the language selector in the bar loses its box (bare « FR ⌄ », 40px touch area) so the platform pill
   and the cart keep their room. Desktop unchanged; the dropdown keeps its own styles (language module). */
@media (max-width: 767px) {
  body .kz-bar .kz-lang-switcher__toggle { min-width: 40px; height: 40px; padding: 0 4px; gap: 3px; justify-content: center; border-color: transparent; background: transparent; font-size: 12px; }
  body .kz-bar .kz-lang-switcher__toggle svg { width: 9px; height: 9px; }
  body .kz-bar .kz-lang-switcher__toggle:is(:hover, :focus-visible, [aria-expanded="true"]) { border-color: rgba(255, 255, 255, .35); background: rgba(255, 255, 255, .08); }
  body .kz-bar .kz-lang-switcher__list { inset-inline-end: -4px; }
}

/* Phones (07/10): five equal cells in the pill (PC, PlayStation, Xbox, Switch, search), each icon centred in its cell,
   so the spacing is even on both sides (the search button used to be narrower than the platform cells). */
@media (max-width: 767px) {
  body .kz-bar .kz-platform-nav { padding-inline: 4px; }
  body .kz-bar .kz-platform-nav > :is(a, .kz-platform-nav__search) { flex: 1 1 0; width: auto; min-width: 0; justify-content: center; align-items: center; }
}

/* Responsive audit (07/10) — very large screens and small fixes. style.css stays untouched.
   1. Footer: the three bands follow the 1920 px frame of the header and the content instead of touching the screen edges at 2560.
   2. Lists (collections, search, gift cards): the 1320 px column got lost in the middle of a 2560 screen; beyond 1920 it
      widens to 1640 px and shows 5 cards per row (6 in dense mode), cards stay the same size.
   3. 404 page: the Astra block was white with an invisible title; it now follows the dark Keyzone theme.
   4. Touch zones of the header on phones and tablets: widened with a pseudo-element, the layout does not move. */
@media (min-width: 1921px) {
  .kz-site .kz-site-footer { --kz-fpad: max(16px, calc((calc(100*var(--kz-vw,1vw)) - 1920px) / 2 + 36px)); }
  .kz-catalog.kz-container { width: min(100% - (2 * var(--kz-gutter)), 1640px); }
  .kz-catalog__grid { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .kz-catalog__grid.is-compact { grid-template-columns: repeat(6, minmax(0, 1fr)); }
}

body.error404 .kz-site-main #primary { box-sizing: border-box; width: min(100%, 720px); margin: 0 auto; padding: clamp(56px, 9vw, 120px) 20px; background: transparent; text-align: center; }
body.error404 .kz-site-main .error-404 { margin: 0; padding: 0; background: transparent; }
body.error404 .kz-site-main .ast-404-layout-1 { padding: 0; }
body.error404 .kz-site-main .page-title { margin: 0 0 14px; color: #fff; font-size: clamp(26px, 4vw, 40px); line-height: 1.2; }
body.error404 .kz-site-main .page-sub-title { margin: 0 0 28px; color: var(--kz-color-text, #cfc8e6); font-size: clamp(15px, 2vw, 18px); font-weight: 400; line-height: 1.5; }
body.error404 .kz-site-main .search-form { position: relative; display: block; max-width: 520px; margin: 0 auto; }
body.error404 .kz-site-main .search-form label { display: block; margin: 0; }
body.error404 .kz-site-main .search-field { width: 100%; min-height: 48px; padding: 0 56px 0 20px; border: 2px solid rgb(255 255 255 / .3); border-radius: 999px; background: #1b1230; color: #fff; font-size: 16px; }
body.error404 .kz-site-main .search-field::placeholder { color: #9d93b8; }
body.error404 .kz-site-main .search-form .ast-search-submit { position: absolute; top: 0; right: 0; width: 48px; height: 48px; padding: 0; border: 0; background: transparent; color: #fff; }
body.error404 .kz-site-main .search-form .ast-search-submit svg { width: 18px; height: 18px; fill: currentColor; }
body.error404 .kz-site-main .search-form input.search-submit { display: none; }

@media (max-width: 1024px) {
  body .kz-bar .kz-platform-nav a, body .kz-bar .kz-cart-toggle, body .kz-bar .kz-account-toggle, body .kz-bar .kz-logo, body .kz-bar .kz-lang-switcher__toggle { position: relative; }
  body .kz-bar .kz-platform-nav a::before, body .kz-bar .kz-cart-toggle::before, body .kz-bar .kz-account-toggle::before { content: ''; position: absolute; top: 0; bottom: 0; left: -7px; right: -7px; }
  body .kz-bar .kz-logo::before, body .kz-bar .kz-lang-switcher__toggle::before { content: ''; position: absolute; top: -12px; bottom: -12px; left: 0; right: 0; }
}

/* Language menu (07/10): on the phone homepage the selector sits at the LEFT edge of the screen, and the panel, anchored to
   the button's right edge, overflowed to the left (« …nçais », « …glish »). It now opens to the right of the button's left
   edge, whatever the language, and never exceeds the screen width. Other pages were already inside the screen. */
.kz-lang-switcher__list { max-width: calc(calc(100*var(--kz-vw,1vw)) - 16px); box-sizing: border-box; }
@media (max-width: 767px) {
  .home .kz-site-header .kz-lang-switcher--header .kz-lang-switcher__list { inset-inline: auto; left: 0; right: auto; }
}

/* Footer in three zones (07/10, Instant Gaming as a model for the space split): [trust: Trustpilot, Google rating
   + review button] | [links: footer menu on two levels] | [community: social icons, newsletter,
   payment logos], thin vertical separators, then a bottom bar (copyright | language). Content in a 1600 px column.
   Tablet: links on a full row, trust | community under them. Phones: links as a 2 x 2 accordion, then trust on one line,
   social icons on one line, newsletter, payments, bottom bar. Same placement in FR / EN / AR (D8). */
/* The footer colour of the Customizer is forced on .kz-site-footer (!important, black like the page): the purple panel with
   rounded top corners is an inner block, so the footer stays visible against the page. Less dead space above it. */
.kz-site .kz-site-main:has(+ .kz-site-footer--zones) { padding-bottom: 32px; }
.kz-site.home .kz-home-faq:last-child { padding-bottom: 32px; } /* last block of the homepage: no extra band above the footer */
.kz-site .kz-footer-panel { background: #211832; border-radius: 24px 24px 0 0; }
.kz-site .kz-footer-zones { box-sizing: border-box; width: 100%; max-width: 1600px; margin: 0 auto; padding: 40px 32px 22px; display: grid; grid-template-columns: minmax(220px, 250px) minmax(0, 1fr) minmax(300px, 360px); grid-template-areas: "trust links community"; align-items: start; }
.kz-site .kz-footer-zone { min-width: 0; }
.kz-site .kz-footer-zone--trust { grid-area: trust; padding-inline-end: clamp(20px, 2.4vw, 40px); display: flex; flex-direction: column; align-items: flex-start; gap: 14px; }
.kz-site .kz-footer-zone--links { grid-area: links; padding: 0 clamp(20px, 2.4vw, 40px); border-inline: 1px solid rgba(255, 255, 255, .08); }
.kz-site .kz-footer-zone--community { grid-area: community; padding-inline-start: clamp(20px, 2.4vw, 40px); display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.kz-site .kz-site-footer--zones .kz-footer-trustpilot { --tp-width: 240px; width: var(--tp-width); min-height: 52px; margin: 0; }
/* Trust block: the Trustpilot widget centres its one-line badge (about 210 px) in a 240 px box; the Google stars and the
   review button get the same 210 px, centred in the same 240 px, so the three share the same edges (also in Arabic). */
.kz-site .kz-site-footer--zones .kz-footer-google { display: flex; justify-content: center; width: 240px; }
.kz-site .kz-site-footer--zones .kz-gr--badge { width: 210px; align-items: stretch; gap: 10px; }
.kz-site .kz-site-footer--zones .kz-gr--badge .kz-gr-summary { justify-content: space-between; flex-wrap: nowrap; }
.kz-site .kz-site-footer--zones .kz-gr--badge .kz-gr-write { justify-content: center; }
/* Arabic: each link column reads right to left (titles, Arabic labels and Latin game names on the same right edge). */
.kz-site.kz-lang-ar .kz-footer-col { direction: rtl; text-align: right; }
/* Links */
.kz-site .kz-site-footer .kz-footer-columns { margin: 0; padding: 0; }
.kz-site .kz-site-footer .kz-footer-columns__inner { display: grid; grid-template-columns: repeat(4, minmax(0, max-content)); justify-content: space-between; gap: 0 20px; }
.kz-site .kz-site-footer .kz-footer-col__title { margin: 0 0 6px; color: #fff; font-size: 12px; font-weight: 700; line-height: 18px; letter-spacing: .06em; text-transform: uppercase; list-style: none; cursor: default; }
.kz-site .kz-site-footer .kz-footer-col__title::-webkit-details-marker { display: none; }
.kz-site .kz-site-footer .kz-footer-col__links { margin: 0; padding: 0; list-style: none; }
.kz-site .kz-site-footer .kz-footer-col__links li { margin: 0; padding: 0; line-height: 1; }
.kz-site .kz-site-footer .kz-footer-col__links a { display: inline-block; padding: 4px 0; color: #b9afc9; font-size: 13px; line-height: 18px; text-decoration: none; }
.kz-site .kz-site-footer .kz-footer-col__links a:hover, .kz-site .kz-site-footer .kz-footer-col__links a:focus-visible { color: #fff; text-decoration: underline; }
/* Community */
.kz-site .kz-footer-community__title { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; margin: 0; color: #fff; font-size: 15px; font-weight: 600; line-height: 1.2; letter-spacing: .02em; text-transform: uppercase; }
.kz-site .kz-footer-community__title img { width: 96px; height: auto; }
.kz-site .kz-site-footer--zones .kz-footer-social { display: flex; flex-wrap: wrap; gap: 10px; margin: 0; }
.kz-site .kz-site-footer--zones .kz-footer-social__link { width: 52px; height: 52px; }
.kz-site .kz-site-footer--zones .kz-footer-social__link svg { width: 24px; height: 24px; }
.kz-site .kz-footer-signup { width: 100%; display: flex; flex-direction: column; gap: 6px; }
.kz-site .kz-footer-signup__text { margin: 0; color: var(--kz-color-violet-soft); font-size: 13px; line-height: 1.35; }
.kz-site .kz-footer-signup form { width: 100%; min-height: 42px; display: flex; overflow: hidden; margin: 0; border: 2px solid var(--kz-color-violet-soft); border-radius: 30px; }
.kz-site .kz-footer-signup input { flex: 1; min-width: 0; padding: 0 16px; border: 0; background: transparent !important; color: #fff; font-size: 14px; }
.kz-site .kz-footer-signup input.screen-reader-text { width: 1px; min-width: 1px; flex: 0 0 1px; padding: 0; }
.kz-site .kz-footer-signup button { width: 52px; padding: 0; border: 0; background: transparent; color: #fff; font-size: 22px; }
.kz-site .kz-footer-signup button:hover, .kz-site .kz-footer-signup button:focus { border: 0; background: transparent; color: #fff; }
.kz-site .kz-footer-signup__notice, .kz-site .kz-footer-signup__message { margin: 0; color: #b9afc9; font-size: 11px; line-height: 1.35; }
.kz-site .kz-footer-signup__message:empty { display: none; }
.kz-site .kz-site-footer--zones .kz-payment-icons { width: auto; min-width: 0; display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-start; gap: 6px; margin: 0; }
.kz-site .kz-site-footer--zones .kz-payment-icons img:nth-child(-n+3) { height: 28px; }
.kz-site .kz-site-footer--zones .kz-payment-icons img:nth-child(4) { height: 26px; }
.kz-site .kz-site-footer--zones .kz-payment-icons img:nth-child(n+5) { height: 18px; }
/* Bottom bar */
.kz-site .kz-footer-bottom-bar { box-sizing: border-box; width: 100%; max-width: 1600px; margin: 0 auto; padding: 8px 32px; display: flex; align-items: center; justify-content: space-between; gap: 12px; border-top: 1px solid rgba(255, 255, 255, .08); }
.kz-site .kz-site-footer--zones .kz-footer-copyright { margin: 0; padding: 0; color: #b9afc9; font-size: 11.5px; line-height: 1.4; text-align: start; }
.kz-site .kz-lang-switcher--footer .kz-lang-switcher__list { inset-block-start: auto; inset-block-end: calc(100% + 8px); }
@media (min-width: 768px) {
  .kz-site .kz-site-footer .kz-footer-col__title { pointer-events: none; }
}
@media (min-width: 768px) and (max-width: 1099px) {
  .kz-site .kz-footer-zones { grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); grid-template-areas: "trust links" "community links"; gap: 16px 0; padding: 32px 24px 14px; }
  .kz-site .kz-footer-zone--trust { padding-inline-end: 24px; flex-direction: row; flex-wrap: wrap; align-items: center; gap: 10px 16px; }
  .kz-site .kz-footer-zone--community { padding-inline: 0 24px; }
  .kz-site .kz-footer-zone--links { padding: 0 0 0 24px; border-inline: 0; border-inline-start: 1px solid rgba(255, 255, 255, .08); }
  .kz-site .kz-site-footer .kz-footer-columns__inner { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 20px; }
  .kz-site .kz-footer-bottom-bar { padding: 8px 24px; }
}
@media (max-width: 767px) {
  .kz-site .kz-site-main:has(+ .kz-site-footer--zones) { padding-bottom: 24px; }
  .kz-site .kz-footer-panel { border-radius: 18px 18px 0 0; }
  .kz-site .kz-footer-zones { grid-template-columns: minmax(0, 1fr); grid-template-areas: "links" "trust" "community"; gap: 12px; padding: 14px 16px 12px; }
  .kz-site .kz-footer-zone--links { padding: 0 0 10px; border: 0; border-bottom: 1px solid rgba(255, 255, 255, .08); }
  .kz-site .kz-site-footer .kz-footer-columns__inner { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 12px; align-items: start; }
  .kz-site .kz-site-footer .kz-footer-col__title { min-height: 44px; margin: 0; display: flex; align-items: center; justify-content: space-between; gap: 8px; font-size: 13px; cursor: pointer; }
  .kz-site .kz-site-footer .kz-footer-col__title::after { content: ''; flex: none; width: 7px; height: 7px; margin: -3px 4px 0; border: solid currentColor; border-width: 0 2px 2px 0; transform: rotate(45deg); transition: transform .15s; }
  .kz-site .kz-site-footer .kz-footer-col[open] .kz-footer-col__title::after { margin-top: 3px; transform: rotate(-135deg); }
  .kz-site .kz-site-footer .kz-footer-col__title:focus-visible { outline: 2px solid #fff; outline-offset: -2px; border-radius: 8px; }
  .kz-site .kz-site-footer .kz-footer-col__links { padding: 0 0 6px; }
  .kz-site .kz-site-footer .kz-footer-col__links a { padding: 8px 0; font-size: 14px; }
  .kz-site .kz-footer-zone--trust { padding: 0; flex-direction: row; flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px 10px; }
  .kz-site .kz-site-footer--zones .kz-footer-trustpilot { --tp-width: 150px; min-height: 52px; }
  .kz-site .kz-site-footer--zones .kz-footer-google { width: auto; }
  .kz-site .kz-site-footer--zones .kz-gr--badge { width: auto; }
  .kz-site .kz-site-footer--zones .kz-gr--badge { align-items: center; gap: 6px; }
  .kz-site .kz-site-footer--zones .kz-gr--badge .kz-gr-stars { --kz-gr-size: 14px; }
  .kz-site .kz-site-footer--zones .kz-gr--badge .kz-gr-google { width: 42px; height: 14px; }
  .kz-site .kz-site-footer--zones .kz-gr--badge .kz-gr-write { height: 26px; padding: 3px 9px 4px; font-size: 12px; }
  .kz-site .kz-site-footer--zones .kz-gr--badge .kz-gr-write .kz-gr-g { width: 16px; height: 16px; background-size: 12px; }
  .kz-site .kz-footer-zone--community { padding: 0; align-items: center; gap: 10px; text-align: center; }
  .kz-site .kz-footer-community__title { justify-content: center; font-size: 14px; }
  .kz-site .kz-footer-community__title img { width: 84px; }
  .kz-site .kz-site-footer--zones .kz-footer-social { justify-content: center; gap: 12px; }
  .kz-site .kz-site-footer--zones .kz-footer-social__link { width: 44px; height: 44px; }
  .kz-site .kz-site-footer--zones .kz-footer-social__link svg { width: 20px; height: 20px; }
  .kz-site .kz-footer-signup { align-items: stretch; }
  .kz-site .kz-footer-signup input[type='email'] { padding: 0 0 0 52px; text-align: center; }
  .kz-site .kz-footer-signup input[type='email']::placeholder { text-align: center; }
  .kz-site .kz-site-footer--zones .kz-payment-icons { justify-content: center; flex-wrap: nowrap; gap: 4px; }
  .kz-site .kz-site-footer--zones .kz-payment-icons img:nth-child(-n+3) { height: min(28px, 7.4vw); }
  .kz-site .kz-site-footer--zones .kz-payment-icons img:nth-child(4) { height: min(26px, 6.9vw); }
  .kz-site .kz-site-footer--zones .kz-payment-icons img:nth-child(n+5) { height: min(18px, 4.8vw); }
  .kz-site .kz-footer-bottom-bar { padding: 6px 16px 8px; }
}
@media (prefers-reduced-motion: reduce) { .kz-site .kz-site-footer .kz-footer-col__title::after { transition: none; } }

/* Pied de page : lien « Aide » à la place de l'icône WhatsApp (01/11/2026) ; sélecteurs assez précis pour passer devant les tailles fixes des pastilles rondes */
.kz-site .kz-site-footer .kz-footer-social .kz-footer-social__link--aide { --kz-social: 240, 91, 34; width: auto; padding: 0 18px 0 14px; gap: 8px; flex: 0 0 auto; border-radius: 999px; font-size: 14px; font-weight: 600; line-height: 1; text-decoration: none; }
.kz-site .kz-site-footer .kz-footer-social .kz-footer-social__link--aide span { white-space: nowrap; }
.kz-site .kz-site-footer .kz-footer-social .kz-footer-social__link--aide svg { flex: 0 0 20px; width: 20px; height: 20px; }
