/**
* 2010-2026 SwissGeek | Web Developer Freelance
*
* NOTICE OF LICENSE
*
* This source file is subject to the Academic Free License (AFL 3.0)
* that is bundled with this package in the file LICENSE.txt.
* It is also available through the world-wide-web at this URL:
* http://opensource.org/licenses/afl-3.0.php
* If you did not receive a copy of the license and are unable to
* obtain it through the world-wide-web, please send an email
* to license@prestashop.com so we can send you a copy immediately.
*
* DISCLAIMER
*
* Do not edit or add to this file if you wish to upgrade PrestaShop or PhenixSuite to newer
* versions in the future. If you wish to customize PrestaShop or PhenixSuite for your
* needs please refer to https://www.prestashop.com or https://www.phenixsuite.com for more information.
*
* @Module		SGK Audit RGAA & EAA
* @Description	Detailed RGAA 4.1.2 / EAA accessibility audit (106 criteria)
* @Version		1.3.6
* @Copyright	SwissGeek | Web Developer Freelance <https://swissgeek.dev/>
* @support		Support Requests <https://admin.swissgeek.dev/forms/ticket?styled=1&with_logo=1>
* @Blog			Breaking News <https://news.swissgeek.dev/> <https://news.prestageek.ch/>
* @Addons		Developments <https://prestageek.ch/> <https://add.swissgeek.dev/>
*
* @license		Valid for 1 website (or project) for each purchase of license International Registered 
*				Trademark & Property of SwissGeek. More information on <https://swissgeek.dev/license/>
*/

/* RGAA 12.7 — Lien d'évitement vers le contenu principal */
.sgkar-skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 100000;
  padding: 12px 20px;
  background: #000;
  color: #fff;
  font-weight: 700;
  text-decoration: none;
  border-radius: 0 0 6px 0;
}
.sgkar-skip-link:focus {
  left: 0;
  outline: 3px solid #ffbf47;
  outline-offset: 2px;
}

/* RGAA 10.7 — Prise de focus visible (beaucoup de thèmes suppriment l'outline) */
.sgkar-a11y-focus a:focus-visible,
.sgkar-a11y-focus button:focus-visible,
.sgkar-a11y-focus input:focus-visible,
.sgkar-a11y-focus select:focus-visible,
.sgkar-a11y-focus textarea:focus-visible,
.sgkar-a11y-focus [tabindex]:focus-visible,
.sgkar-a11y-focus summary:focus-visible {
  outline: 3px solid #1d4ed8 !important;
  outline-offset: 2px !important;
  border-radius: 2px;
}

/* Cibles tactiles suffisantes (WCAG 2.5.8 / tendance RGAA 5) sans casser la mise en page */
.sgkar-a11y-targets a[role="button"],
.sgkar-a11y-targets button,
.sgkar-a11y-targets input[type="checkbox"],
.sgkar-a11y-targets input[type="radio"] {
  min-block-size: 24px;
  min-inline-size: 24px;
}

/* RGAA 13.8 — Respect de la préférence "réduire les animations" */
@media (prefers-reduced-motion: reduce) {
  .sgkar-a11y-motion *,
  .sgkar-a11y-motion *::before,
  .sgkar-a11y-motion *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}

/* classe utilitaire pour textes réservés aux lecteurs d'écran */
.sgkar-sr-only {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
