/*
Theme Name: Druck
Theme URI: https://druck.dasein.studio/
Description: Thème enfant de Twenty Twenty-Four pour dasein druck.
Author: dasein
Version: 1.0.0
Text Domain: druck
Template: twentytwentyfour
*/

/* ==================================================
   1. VARIABLES
   ================================================== */
:root {
  --druck-color-text: #000000;
  --druck-color-background: #CCCCCC;
  --druck-color-link: #3366ff;
  --druck-color-link-hover: #ffffff;
  --druck-color-border: #000000;
 	--druck-font-family: Arial, Helvetica, sans-serif;	
	
	 /*    --druck-font-family: "Monaco", Arial, sans-serif;	*/
	
	
  --druck-font-size: 1rem;
  --druck-font-size-title: 2rem;
  --druck-font-size-h3: 1.5rem;
  --druck-line-height: normal;
  --druck-line-height-title: 1.2;
  --druck-line-height-h3: 1.1;
  --druck-border-width: 1px;
}

/* ==================================================
   2. TYPOGRAPHIE ET COULEURS GÉNÉRALES
   ================================================== */
html,
body,
.wp-site-blocks,
.wp-site-blocks *,
button,
input,
select,
textarea {
  font-family: var(--druck-font-family) !important;
  font-size: var(--druck-font-size) !important;
}

h1,
h2,
h3,
h4,
h5,
h6,
.wp-block-heading,
.wp-block-post-title,
.wp-block-site-title {
  font-family: var(--druck-font-family) !important;
  font-size: var(--druck-font-size) !important;
  font-weight: normal !important;
  line-height: normal !important;
  text-align: left !important;
}

html,
body,
.wp-site-blocks {
  color: var(--druck-color-text) !important;
  background-color: var(--druck-color-background) !important;
}

header,
header.wp-block-template-part,
.wp-site-blocks > header,
.wp-block-template-part,
.wp-block-group.alignfull,
.has-base-background-color {
  background-color: var(--druck-color-background) !important;
}

a,
a:visited,
a:focus,
.wp-block-navigation a,
.wp-block-post-title a,
.wp-block-button__link {
  color: var(--druck-color-link) !important;
  text-decoration: underline !important;
  text-underline-offset: 0.12em;
}

a:hover,
.wp-block-navigation a:hover,
.wp-block-navigation .wp-block-navigation-item__content:hover,
.wp-block-navigation .wp-block-navigation-item__content:hover .wp-block-navigation-item__label {
  color: var(--druck-color-link-hover) !important;
}

a:focus,
a:active,
a:focus-visible,
.wp-block-navigation a:focus,
.wp-block-navigation a:active {
  outline: none !important;
  box-shadow: none !important;
}

/* Titres spécifiques du site */
.wp-site-blocks h1,
.wp-site-blocks .wp-block-site-title,
.wp-site-blocks .wp-block-site-title a,
header .wp-block-site-title,
header .wp-block-site-title a {
  font-size: 1.5rem !important;
  line-height: 1.2 !important;
}

h1.has-text-align-center.wp-block-post-title,
h2,
h3,
h4,
h5 {
  color: var(--druck-color-link-hover) !important;
  font-weight: bold !important;
}

.wp-site-blocks h3 {
  font-size: 1.2rem !important;
  line-height: 1.1 !important;
}

/* ==================================================
   3. LOGO ET NAVIGATION WORDPRESS
   ================================================== */
.custom-logo-link {
  display: inline-block;
  width: fit-content;
  height: fit-content;
}

.custom-logo {
  display: block;
  width: 100%;
  height: auto;
}

.wp-block-navigation,
.wp-block-navigation *,
.wp-block-navigation-item__content,
.wp-block-navigation-item__label {
  font-family: var(--druck-font-family) !important;
  font-size: var(--druck-font-size) !important;
  font-weight: normal !important;
}

.wp-block-navigation {
  min-width: 0;
}

.wp-block-navigation-item__content {
  white-space: nowrap !important;
}

/* ==================================================
   4. ICÔNES FONT AWESOME ET NAVIGATION
   ================================================== */

/* Styles communs des liens de navigation */
.wp-block-navigation .wp-block-navigation-item__content {
  color: var(--druck-color-link, #3366ff) !important;
  text-decoration: none !important;
  text-decoration-line: none !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
}

/* Pictogrammes Font Awesome */
.wp-block-navigation .wp-block-navigation-item__content::before {
  font-family: "FontAwesome" !important;
  font-size: 24px;
  font-weight: normal;
  line-height: 1;
  display: inline-block;
  text-decoration: none !important;
}

/* Masquer le texte visuellement en le conservant accessible */
.wp-block-navigation .wp-block-navigation-item__label {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Impression */
.wp-block-navigation a[href*="/impression/"]::before {
  content: "\f02f";
}

/* À propos — accueil */
.wp-block-navigation a[href="/a-propos/"]::before {
  content: "\f05a";
}

/* Contact */
.wp-block-navigation a[href*="/contact/"]::before {
  content: "\f041";
}

/* Mon compte */
.wp-block-navigation a[href*="/mon-compte/"]::before {
  content: "\f007";
}

/* Courriel */
.wp-block-navigation a[href^="mailto:"]::before {
  content: "\f0e0";
}

/* Masquer l'ancien lien Conditions */
.wp-block-navigation a[href*="/remboursements_retours/"] {
  display: none !important;
}

/* Couleur standard : bleu, y compris les pictogrammes */
.wp-block-navigation .wp-block-navigation-item__content,
.wp-block-navigation .wp-block-navigation-item__content::before {
  color: var(--druck-color-link, #3366ff) !important;
  text-decoration: none !important;
  border: 0 !important;
  box-shadow: none !important;
  background: transparent !important;
}

/* Survol : blanc, sans filet */
.wp-block-navigation .wp-block-navigation-item__content:hover,
.wp-block-navigation .wp-block-navigation-item__content:hover::before {
  color: #fff !important;
  text-decoration: none !important;
  border: 0 !important;
  box-shadow: none !important;
  background: transparent !important;
}


/* Page active : noir, sans fond ni contour */
.wp-block-navigation .current-menu-item > .wp-block-navigation-item__content,
.wp-block-navigation .current_page_item > .wp-block-navigation-item__content,
.wp-block-navigation .wp-block-navigation-item__content[aria-current="page"],
.wp-block-navigation .current-menu-item > .wp-block-navigation-item__content::before,
.wp-block-navigation .current_page_item > .wp-block-navigation-item__content::before,
.wp-block-navigation .wp-block-navigation-item__content[aria-current="page"]::before {
  color: #000 !important;
  text-decoration: none !important;
  border: 0 !important;
  box-shadow: none !important;
  background: transparent !important;
}

/* Le lien À propos, qui mène à la page d'accueil */
.wp-block-navigation a[href*="/a-propos/"][aria-current="page"],
.wp-block-navigation a[href*="/a-propos/"][aria-current="page"]::before,
.wp-block-navigation a[href="https://druck.dasein.studio/"][aria-current="page"],
.wp-block-navigation a[href="https://druck.dasein.studio/"][aria-current="page"]::before {
  color: #000 !important;
}


/* Supprimer les anciens blocs WooCommerce compte */
.wp-block-woocommerce-customer-account
 {
  display: none !important;
}



/* Infobulles de navigation */

.wp-block-navigation a[href*="/impression/"],
.wp-block-navigation a[href="/a-propos/"],
.wp-block-navigation a[href*="/contact/"],
.wp-block-navigation a[href*="/mon-compte/"],
.wp-block-navigation a[href^="mailto:"] {
  position: relative;
}

/* Texte de l'infobulle */
.wp-block-navigation a[href*="/impression/"]::after,
.wp-block-navigation a[href="/a-propos/"]::after,
.wp-block-navigation a[href*="/contact/"]::after,
.wp-block-navigation a[href*="/mon-compte/"]::after,
.wp-block-navigation a[href^="mailto:"]::after {
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%);
  padding: 5px 8px;
  background: #000;
  color: #fff;
  font-family: var(--druck-font-family, Arial, sans-serif);
  font-size: 12px;
  font-weight: normal;
  line-height: 1.3;
  white-space: nowrap;
  border: none;
  box-shadow: none;
  text-decoration: none;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  z-index: 9999;
}

/* Libellés */
.wp-block-navigation a[href*="/impression/"]::after {
  content: "Imprimer";
}

.wp-block-navigation a[href="/a-propos/"]::after {
  content: "À propos";
}

.wp-block-navigation a[href*="/contact/"]::after {
  content: "Contact";
}

.wp-block-navigation a[href*="/mon-compte/"]::after {
  content: "Mon compte";
}

.wp-block-navigation a[href^="mailto:"]::after {
  content: "Nous écrire";
}

/* Affichage au survol et au clavier */
.wp-block-navigation a[href*="/impression/"]:hover::after,
.wp-block-navigation a[href="/a-propos/"]:hover::after,
.wp-block-navigation a[href*="/contact/"]:hover::after,
.wp-block-navigation a[href*="/mon-compte/"]:hover::after,
.wp-block-navigation a[href^="mailto:"]:hover::after,
.wp-block-navigation a[href*="/impression/"]:focus-visible::after,
.wp-block-navigation a[href="/a-propos/"]:focus-visible::after,
.wp-block-navigation a[href*="/contact/"]:focus-visible::after,
.wp-block-navigation a[href*="/mon-compte/"]:focus-visible::after,
.wp-block-navigation a[href^="mailto:"]:focus-visible::after {
  opacity: 1;
  visibility: visible;
}



/* À propos : noir lorsque la page d'accueil est affichée */
body.home .wp-block-navigation a[href="/a-propos/"]::before {
  color: #000 !important;
}

/* Survol : blanc */
body.home .wp-block-navigation a[href="/a-propos/"]:hover::before {
  color: #fff !important;
}





/* ==================================================
   5. CONFIGURATEUR ATELIER PRINT
   ================================================== */
/* Largeur du configurateur sur la page d'impression */
body.page-id-89 .ap-configurator.ap-product-config {
  width: 100% !important;
  max-width: var(--wp--style--global--content-size) !important;
  margin-right: auto !important;
  margin-left: auto !important;
  box-sizing: border-box;
}

.wp-block-post-title {
  text-align: left !important;
}

.wp-block-group.has-global-padding.is-layout-constrained:has(> .wp-block-post-title) {
  width: 100%;
  box-sizing: border-box;
}

.ap-product-config section {
  padding: 16px 0;
  border-bottom: 1px solid #000;
}

.ap-payment-option h2,
.ap-payment-option {
  color: var(--druck-color-link-hover) !important;
}

/* Champs de formulaire */
input,
select,
textarea,
button {
  font-family: var(--druck-font-family) !important;
  font-size: var(--druck-font-size) !important;
  appearance: auto;
  -webkit-appearance: auto;
  transition: none;
}

.ap-form-control.ap-number,
.ap-form-control.ap-select,
.ap-form-control.ap-input {
  display: inline-block;
  box-sizing: border-box;
  border: 1px solid #000;
  background: #000;
  color: #fff;
  padding: 10px 14px;
  font: inherit;
  border-radius: 0;
}

.ap-button.ap-form-control {
  justify-content: flex-start !important;
  text-align: left !important;
  cursor: pointer;
}

.ap-button.ap-form-control:hover {
  background: var(--druck-color-link-hover);
  color: var(--druck-color-text);
}

.ap-pdf-upload-form {
  background: var(--druck-color-link);
  border: 1px solid var(--druck-color-text);
  border-radius: 0 !important;
}

.ap-pdf-preflight {
  border: 1px solid var(--druck-color-text);
  border-radius: 0 !important;
}

.ap-form-control.ap-select,
select.ap-select,
.ap-form-control.ap-select option,
select.ap-select option {
  border-radius: 0 !important;
}

/* Cases à cocher et boutons radio personnalisés */
input[type="checkbox"],
input[type="radio"] {
  appearance: none !important;
  -webkit-appearance: none !important;
  display: inline-block !important;
  box-sizing: border-box !important;
  width: 16px !important;
  min-width: 16px !important;
  height: 16px !important;
  min-height: 16px !important;
  padding: 0 !important;
  margin: 0 8px 0 0 !important;
  border: 1px solid #000 !important;
  border-radius: 0 !important;
  background: #fff !important;
  vertical-align: middle;
  cursor: pointer;
}

input[type="checkbox"]:checked,
input[type="radio"]:checked {
  background: #000 !important;
  box-shadow: inset 0 0 0 3px #fff;
}

input[type="checkbox"] + label,
input[type="radio"] + label {
  display: inline !important;
  vertical-align: middle;
}

/* Images des options */
.ap-binding-image,
.ap-production-card img {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  min-width: 100% !important;
  min-height: 100% !important;
  max-width: none !important;
  max-height: none !important;
  object-fit: fill !important;
  margin: 0 !important;
}

.ap-order-progress-step {
  font-size: 0.8em !important;
}

/* Cartes de production, papier et reliure */
.ap-paper-choice,
.ap-production-card,
.ap-binding-option {
  transition: background-color 0.2s ease, color 0.2s ease;
  background-color: var(--druck-color-link);
  color: var(--druck-color-text);
}

.ap-paper-choice:hover,
.ap-production-card:hover,
.ap-binding-option:hover {
  background-color: var(--druck-color-link-hover);
}

.ap-paper-choice:has(input:checked),
.ap-production-card.is-selected,
.ap-binding-option.is-selected {
  background-color: var(--druck-color-text) !important;
  color: var(--druck-color-link-hover) !important;
}

.ap-paper-choice:focus-visible,
.ap-production-card:focus-visible,
.ap-binding-option:focus-visible,
.ap-paper-choice:has(input:focus-visible) {
  outline: 1px solid var(--druck-color-text);
  outline-offset: 2px;
}

/* Grille des couleurs de papier */
.ap-paper-colors {
  display: grid;
  grid-template-columns: repeat(auto-fill, 160px);
  gap: 12px;
  padding: 0;
  box-sizing: border-box;
  align-items: stretch;
}

.ap-paper-colors .ap-paper-choice {
  position: static;
  inset-block-start: auto;
  transform: none !important;
  margin: 0;
  margin-top: 0 !important;
  width: 160px;
  min-width: 0;
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden !important;
  padding-top: 12px !important;
}

/* ==================================================
   6. RESPONSIVE : NAVIGATION SANS MENU HAMBURGER
   ================================================== */
@media (max-width: 768px) {
  .wp-block-navigation .wp-block-navigation__responsive-container-open,
  .wp-block-navigation .wp-block-navigation__responsive-container-close {
    display: none !important;
  }

  .wp-block-navigation .wp-block-navigation__responsive-container,
  .wp-block-navigation .wp-block-navigation__responsive-container.is-menu-open {
    display: block !important;
    position: static !important;
    inset: auto !important;
    width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    background: transparent !important;
    visibility: visible !important;
    opacity: 1 !important;
    overflow: visible !important;
  }

  .wp-block-navigation .wp-block-navigation__responsive-close,
  .wp-block-navigation .wp-block-navigation__responsive-dialog,
  .wp-block-navigation .wp-block-navigation__responsive-container-content {
    position: static !important;
    width: 100% !important;
    height: auto !important;
    max-width: none !important;
    padding: 0 !important;
    margin: 0 !important;
    overflow: visible !important;
  }

  .wp-block-navigation .wp-block-navigation__container {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: wrap !important;
    justify-content: flex-start !important;
    align-items: center !important;
    gap: 4px !important;
  }

  .wp-block-navigation .wp-block-navigation-item__content {
    padding: 8px 12px !important;
  }
}

@media (max-width: 500px) {
  .wp-block-navigation {
    flex-wrap: wrap !important;
    gap: 0.25rem !important;
    min-width: 0 !important;
  }

  .wp-block-navigation .wp-block-navigation-item {
    margin: 0 !important;
  }

  .wp-block-navigation-item__content {
    font-size: 0.75rem !important;
  }

  html,
  body {
    overflow-x: clip !important;
  }

  .ap-button.ap-form-control,
  .ap-button.ap-form-control span {
    text-align: left !important;
  }
}

/* ==================================================
   7. STYLE COMMUN — FORMULAIRES, BOUTONS ET NAVIGATION
   ================================================== */

/* --------------------------------------------------
   7.1 TYPOGRAPHIE
   Aucune taille de police imposée aux formulaires
   -------------------------------------------------- */

.ap-configurator input,
.ap-configurator select,
.ap-configurator textarea,
.ap-configurator button,
.ap-configurator .ap-form-control,
.ap-configurator .ap-button,
.ap-configurator .ap-paper-choice,
.ap-configurator .ap-production-card,
.ap-configurator .ap-binding-option,
.ap-configurator .ap-form-control *,
.ap-configurator .ap-button *,
.wc-block-components-button,
.wc-block-components-button *,
.wp-block-button__link {
    font-family: Arial, Helvetica, sans-serif !important;
    line-height: 1.4 !important;
    letter-spacing: 0.12em !important;
    text-transform: uppercase !important;
    text-align: left !important;
    box-sizing: border-box !important;
}

/* --------------------------------------------------
   7.2 BOUTONS ET CHAMPS — ÉTAT NORMAL
   -------------------------------------------------- */

.ap-configurator input:not([type="checkbox"]):not([type="radio"]),
.ap-configurator select,
.ap-configurator textarea,
.ap-configurator button,
.ap-configurator .ap-form-control,
.ap-configurator .ap-button,
.wc-block-components-button,
.wp-block-button__link,
button.ap-button.ap-form-control[type="submit"] {
    appearance: none;
    -webkit-appearance: none;
    max-width: 100% !important;
    min-width: 0 !important;
    width: auto;
    height: auto !important;
    min-height: 0 !important;
    padding: 12px !important;
    margin: 0 3px 3px 0 !important;
    background: var(--druck-color-link) !important;
    color: #fff !important;
    border: 1px solid #fff !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    outline: none !important;
    white-space: normal !important;
    overflow-wrap: anywhere;
    transition: background-color 0.2s ease,
                color 0.2s ease,
                border-color 0.2s ease !important;
}

/* Survol : blanc et texte noir */
.ap-configurator input:not([type="checkbox"]):not([type="radio"]):hover,
.ap-configurator select:hover,
.ap-configurator textarea:hover,
.ap-configurator button:hover,
.ap-configurator .ap-button:hover,
.ap-configurator .ap-form-control:hover,
.wc-block-components-button:hover,
.wp-block-button__link:hover,
button.ap-button.ap-form-control[type="submit"]:hover {
    background: #fff !important;
    color: #000 !important;
    border: 1px solid #000 !important;
}

/* Clic : noir et texte blanc */
.ap-configurator input:not([type="checkbox"]):not([type="radio"]):active,
.ap-configurator select:active,
.ap-configurator textarea:active,
.ap-configurator button:active,
.ap-configurator .ap-button:active,
.ap-configurator .ap-form-control:active,
.wc-block-components-button:active,
.wp-block-button__link:active,
button.ap-button.ap-form-control[type="submit"]:active {
    background: #000 !important;
    color: #fff !important;
    border: 1px solid #fff !important;
}

/* Après le clic : retour au bleu, même si le champ garde le focus */
.ap-configurator input:not([type="checkbox"]):not([type="radio"]):focus,
.ap-configurator select:focus,
.ap-configurator textarea:focus,
.ap-configurator button:focus,
.ap-configurator .ap-button:focus,
.ap-configurator .ap-form-control:focus,
.wc-block-components-button:focus,
.wp-block-button__link:focus,
button.ap-button.ap-form-control[type="submit"]:focus {
    background: var(--druck-color-link) !important;
    color: #fff !important;
    border: 1px solid #fff !important;
    box-shadow: none !important;
    outline: none !important;
}

/* --------------------------------------------------
   7.3 SELECTS
   Largeur disponible et texte non tronqué autant
   que le permet le contrôle natif du navigateur
   -------------------------------------------------- */

.ap-configurator select,
.ap-configurator select.ap-select {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    height: auto !important;
    min-height: 44px !important;
    padding: 12px 36px 12px 12px !important;
    white-space: normal !important;
    overflow: visible !important;
    text-overflow: clip !important;
    background: var(--druck-color-link) !important;
    color: #fff !important;
    border: 1px solid #fff !important;
    border-radius: 0 !important;
}

/* Options du menu déroulant */
.ap-configurator select option {
    background: #000 !important;
    color: #fff !important;
    text-transform: uppercase !important;
}

/* --------------------------------------------------
   7.4 CASES À COCHER — CROIX PERSONNALISÉE
   -------------------------------------------------- */

.ap-configurator input[type="checkbox"] {
    appearance: none !important;
    -webkit-appearance: none !important;
    position: relative !important;
    display: inline-grid !important;
    place-items: center !important;
    flex: 0 0 16px !important;
    width: 16px !important;
    min-width: 16px !important;
    height: 16px !important;
    min-height: 16px !important;
    padding: 0 !important;
    margin: 0 8px 0 0 !important;
    background: #fff !important;
    color: #fff !important;
    border: 1px solid #000 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    vertical-align: middle !important;
    cursor: pointer;
}

/* Case cochée */
.ap-configurator input[type="checkbox"]:checked {
    background: #000 !important;
    border: 1px solid #fff !important;
}

/* Croix blanche */
.ap-configurator input[type="checkbox"]::after {
    content: "×";
    display: none;
    color: #fff;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 16px;
    font-weight: normal;
    line-height: 14px;
    text-align: center;
}

.ap-configurator input[type="checkbox"]:checked::after {
    display: block;
}

/* --------------------------------------------------
   7.5 BOUTONS RADIO — MÊME APPARENCE QUE LES CASES
   -------------------------------------------------- */

.ap-configurator input[type="radio"],
.ap-configurator input.ap-radio {
    appearance: none !important;
    -webkit-appearance: none !important;
    position: relative !important;
    display: inline-grid !important;
    place-items: center !important;
    flex: 0 0 16px !important;
    width: 16px !important;
    min-width: 16px !important;
    height: 16px !important;
    min-height: 16px !important;
    padding: 0 !important;
    margin: 0 8px 0 0 !important;
    background: #fff !important;
    border: 1px solid #000 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    vertical-align: middle !important;
    cursor: pointer;
}

/* Radio sélectionné */
.ap-configurator input[type="radio"]:checked,
.ap-configurator input.ap-radio:checked {
    background: #000 !important;
    border: 1px solid #fff !important;
}

/* Croix blanche dans le radio sélectionné */
.ap-configurator input[type="radio"]::after,
.ap-configurator input.ap-radio::after {
    content: "×";
    display: none;
    color: #fff;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 16px;
    font-weight: normal;
    line-height: 14px;
    text-align: center;
}

.ap-configurator input[type="radio"]:checked::after,
.ap-configurator input.ap-radio:checked::after {
    display: block;
}

/* Éviter un contour de focus supplémentaire */
.ap-configurator input[type="checkbox"]:focus,
.ap-configurator input[type="checkbox"]:focus-visible,
.ap-configurator input[type="radio"]:focus,
.ap-configurator input[type="radio"]:focus-visible {
    outline: none !important;
    box-shadow: none !important;
}

/* --------------------------------------------------
   7.6 OPTIONS PAPIER
   Bordure blanche de 1 px dans les deux états
   -------------------------------------------------- */

.ap-configurator label.ap-paper-choice {
    border: 1px solid #fff !important;
    box-sizing: border-box !important;
}

/* Option papier sélectionnée */
.ap-configurator label.ap-paper-choice:has(input:checked) {
    background: #000 !important;
    color: #fff !important;
    border: 1px solid #fff !important;
}

/* --------------------------------------------------
   7.7 CARTES SÉLECTIONNÉES
   -------------------------------------------------- */

.ap-configurator .ap-production-card.is-selected,
.ap-configurator .ap-binding-option.is-selected {
    background: #000 !important;
    color: #fff !important;
    border: 1px solid #fff !important;
}


/* --------------------------------------------------
	7.8 — Navigation : couleur, survol et page active 
   -------------------------------------------------- */


/* État standard : bleu */
nav a,
nav a:link,
nav a:visited,
nav a:active,
nav a[aria-current],
nav .current-menu-item > a,
nav .current_page_item > a,
nav .current-menu-ancestor > a,
.wp-block-navigation a,
.wp-block-navigation a:link,
.wp-block-navigation a:visited,
.wp-block-navigation a:active,
.wp-block-navigation .current-menu-item > a,
.wp-block-navigation .current_page_item > a {
  color: var(--druck-color-link, #3366ff) !important;
  text-decoration: none !important;
  border-bottom: 0 !important;
  box-shadow: none !important;
  background: transparent !important;
}

/* Le pictogramme suit la couleur du lien */
nav a *,
.wp-block-navigation a * {
  color: inherit !important;
  fill: currentColor !important;
  text-decoration: none !important;
  border-bottom: 0 !important;
  box-shadow: none !important;
}

/* Survol : blanc, sans filet */
nav a:hover,
nav a:hover *,
.wp-block-navigation a:hover,
.wp-block-navigation a:hover * {
  color: #fff !important;
  fill: currentColor !important;
  text-decoration: none !important;
  border-bottom: 0 !important;
  box-shadow: none !important;
  background: transparent !important;
}

/* Page sélectionnée : noir, sans fond ni contour */
nav a[aria-current="page"],
nav a[aria-current="true"],
nav .current-menu-item > a,
nav .current_page_item > a,
nav .current-menu-ancestor > a,
.wp-block-navigation a[aria-current="page"],
.wp-block-navigation a[aria-current="true"],
.wp-block-navigation .current-menu-item > a,
.wp-block-navigation .current_page_item > a,
.wp-block-navigation .current-menu-ancestor > a {
  color: #000 !important;
  text-decoration: none !important;
  border: 0 !important;
  box-shadow: none !important;
  background: transparent !important;
}


/* ==================================================
   WOOCOMMERCE — HARMONISATION DE /MON-COMPTE/
   ================================================== */

/* 1. BOUTONS */

/* Style commun */
.woocommerce-account button.ap-account-pay-online,
.woocommerce-account button.wp-element-button,
.woocommerce-account a.button.ap-account-pay-online,
.woocommerce-account a.button.wp-element-button,
.woocommerce-account a.woocommerce-button,
.woocommerce-account .woocommerce-MyAccount-content a.edit {
    box-sizing: border-box !important;
    display: inline-block !important;
    float: none !important;
    width: auto !important;
    max-width: 100% !important;
    min-width: 0 !important;
    height: auto !important;
    min-height: 0 !important;
    margin: 0 3px 3px 0 !important;
    padding: 12px !important;
    border: 1px solid var(--druck-color-link-hover) !important;
    border-radius: 0 !important;
    background: var(--druck-color-link) !important;
    color: var(--druck-color-link-hover) !important;
    font-family: var(--druck-font-family) !important;
    font-size: 0.8em !important;
    font-weight: normal !important;
    line-height: 1.3 !important;
    letter-spacing: 0.12em !important;
    text-align: left !important;
    text-transform: uppercase !important;
    text-decoration: none !important;
    white-space: normal !important;
    box-shadow: none !important;
    transition: all 0.2s ease !important;
}

/* Survol */
.woocommerce-account button.ap-account-pay-online:hover,
.woocommerce-account button.wp-element-button:hover,
.woocommerce-account a.button.ap-account-pay-online:hover,
.woocommerce-account a.button.wp-element-button:hover,
.woocommerce-account a.woocommerce-button:hover,
.woocommerce-account .woocommerce-MyAccount-content a.edit:hover {
    background: var(--druck-color-link-hover) !important;
    border-color: var(--druck-color-text) !important;
    color: var(--druck-color-text) !important;
}

/* Pagination : alignement */
.woocommerce-account .woocommerce-pagination {
    text-align: left;
}

/* 2. TABLEAUX DE COMMANDES */

.woocommerce-account table.woocommerce-orders-table,
.woocommerce-account table.woocommerce-MyAccount-orders,
.woocommerce-account table.shop_table,
.woocommerce-account table.account-orders-table {
    border: 1px solid var(--druck-color-border) !important;
    border-collapse: collapse !important;
    border-spacing: 0 !important;
}

.woocommerce-account table.woocommerce-orders-table th,
.woocommerce-account table.woocommerce-orders-table td,
.woocommerce-account table.woocommerce-MyAccount-orders th,
.woocommerce-account table.woocommerce-MyAccount-orders td,
.woocommerce-account table.shop_table th,
.woocommerce-account table.shop_table td,
.woocommerce-account table.account-orders-table th,
.woocommerce-account table.account-orders-table td {
    border: 1px solid var(--druck-color-border) !important;
    text-align: left !important;
    vertical-align: top !important;
}

/* 3. NAVIGATION MON COMPTE */

.woocommerce-account .woocommerce-MyAccount-navigation,
.woocommerce-account .woocommerce-MyAccount-navigation ul,
.woocommerce-account .woocommerce-MyAccount-navigation li,
.woocommerce-account .woocommerce-MyAccount-navigation-link,
.woocommerce-account .woocommerce-MyAccount-navigation-link a {
    padding: 0 !important;
}

.woocommerce-account .woocommerce-MyAccount-navigation ul,
.woocommerce-account .woocommerce-MyAccount-navigation li {
    margin: 0 !important;
}

/* 4. ADRESSES */

.woocommerce-account .woocommerce-Address-title {
    text-align: left !important;
}

.woocommerce-account .woocommerce-Address-title a.edit {
    float: none !important;
    display: inline-block !important;
    margin-left: 0 !important;
    margin-right: 3px !important;
}

/* 5. FORMULAIRES */

.woocommerce-account .woocommerce-address-fields input:not([type="checkbox"]):not([type="radio"]),
.woocommerce-account .woocommerce-address-fields select,
.woocommerce-account .woocommerce-address-fields textarea,
.woocommerce-account .woocommerce-MyAccount-content input:not([type="checkbox"]):not([type="radio"]),
.woocommerce-account .woocommerce-MyAccount-content select,
.woocommerce-account .woocommerce-MyAccount-content textarea {
    box-sizing: border-box !important;
    width: 100% !important;
    max-width: 100% !important;
    min-height: 0 !important;
    margin: 0 0 12px 0 !important;
    padding: 12px !important;
    border: 1px solid var(--druck-color-border) !important;
    border-radius: 0 !important;
    background: var(--druck-color-background) !important;
    color: var(--druck-color-text) !important;
    font-family: var(--druck-font-family) !important;
    font-size: 0.8em !important;
    font-weight: normal !important;
    line-height: 1.3 !important;
    letter-spacing: 0.04em !important;
    text-align: left !important;
    text-transform: none !important;
    box-shadow: none !important;
}

/* Labels */
.woocommerce-account .woocommerce-address-fields label,
.woocommerce-account .woocommerce-MyAccount-content label {
    display: block;
    margin-bottom: 5px;
    color: var(--druck-color-text);
    font-family: var(--druck-font-family);
    text-align: left;
}

/* Focus */
.woocommerce-account .woocommerce-address-fields input:focus,
.woocommerce-account .woocommerce-address-fields select:focus,
.woocommerce-account .woocommerce-address-fields textarea:focus,
.woocommerce-account .woocommerce-MyAccount-content input:focus,
.woocommerce-account .woocommerce-MyAccount-content select:focus,
.woocommerce-account .woocommerce-MyAccount-content textarea:focus {
    outline: none !important;
    border-color: var(--druck-color-link-hover) !important;
    box-shadow: none !important;
}

/* Cases à cocher et boutons radio */
.woocommerce-account .woocommerce-address-fields input[type="checkbox"],
.woocommerce-account .woocommerce-address-fields input[type="radio"],
.woocommerce-account .woocommerce-MyAccount-content input[type="checkbox"],
.woocommerce-account .woocommerce-MyAccount-content input[type="radio"] {
    width: auto !important;
    margin-right: 6px !important;
}

/* 6. MOYENS DE PAIEMENT */

.woocommerce-account .ap-account-payment-methods-list p {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
}


/* --------------------------------------------------
   autre
   -------------------------------------------------- */


/* Bouton « S’identifier et continuer » : texte en capitales */
button.ap-button.ap-form-control[type="submit"] {
    text-transform: uppercase !important;
}

/* Section 10 : supprimer le contour noir au clic sur « Détail du calcul » */
.ap-configurator details summary:focus,
.ap-configurator details summary:focus-visible,
.ap-configurator details summary:active {
    outline: none !important;
    box-shadow: none !important;
}
/* --------------------------------------------------
   font
   -------------------------------------------------- */

@font-face {
    font-family: "Monaco";
    src: url("fonts/Monaco%20400.woff2") format("woff2");
    font-style: normal;
    font-weight: 400;
    font-display: swap;
}
