/* ==========================================================================
   ARMURIAS – Feuille de style principale
   Theme: Twenty Twenty-Five Child
   Version: 2.0
   ========================================================================== */

/* ==========================================================================
   1. VARIABLES GLOBALES
   ========================================================================== */
:root {
  /* --- Couleurs --- */
  --bg: #0a0908;
  --bg-dark: #050403;
  --panel: #f4e5d3;
  --text: #e9dcc9;
  --muted: #a09080;

  --gold-1: #d4af37;
  --gold-2: #cda869;
  --danger: #8b0000;

  --line-1: rgba(212, 165, 116, 0.30);
  --line-2: rgba(212, 165, 116, 0.18);

  /* --- Espacements & Layout --- */
  --space-1: 8px;
  --space-2: 12px;
  --space-3: 18px;
  --space-4: 24px;
  --space-5: 32px;
  --space-6: 48px;
  --space-7: 72px;
  --space-8: 96px;

  --container: 1600px;
  --container-wide: 1600px;

  /* --- UI Elements --- */
  --radius: 16px;
  --radius-small: 10px;

  --shadow: 0 12px 30px rgba(0, 0, 0, 0.35);
  --shadow-hover: 0 18px 36px rgba(0, 0, 0, 0.35);

  --transition: 0.25s ease;
}

/* ==========================================================================
   2. RESET & BASE
   ========================================================================== */
html,
body {
  overflow-x: hidden;
  margin: 0;
  padding: 0;
}

#primary {
  color: var(--panel);
  background: var(--bg);
  font-family: sans-serif;
  /* Fallback */
}

#primary img,
#primary video {
  max-width: 100%;
  height: auto;
  display: block;
}

#primary a:not(.wp-element-button) {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition);
}

#primary a:not(.wp-element-button):hover {
  text-decoration: underline;
}

/* Helpers */
.centered,
#primary .section .container {
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--space-4);
}

/* Screen reader only utility (used by the front-page hero H1). */
.arm-sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

/* ==========================================================================
   3. HEADER & NAVIGATION
   ========================================================================== */

/* --- Top Bar --- */
.arm-topbar {
  background: var(--bg-dark);
  border-bottom: 1px solid var(--line-2);
  padding: 10px 0;
}

.arm-topbar .container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--space-4);
}

.topbar-content {
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  gap: var(--space-3);
}

/* Liens Utilisateur */
.arm-topbar .user-links {
  display: flex;
  gap: var(--space-4);
}

.arm-topbar .user-links a {
  font-family: 'Cinzel', serif;
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #ffffff;
  transition: opacity var(--transition);
}

.arm-topbar .user-links a:hover {
  opacity: 0.8;
}

/* Recherche */
.arm-topbar .search input {
  width: min(40vw, 420px);
  padding: 10px 16px;
  border-radius: 999px;
  background: #111;
  border: 1px solid var(--line-1);
  color: var(--text);
  outline: none;
}

/* Turbo Search (Armurias Turbo Search): cap the search width so the cart total stays visible. */
@media (min-width: 1025px) {
  .arm-topbar .ats-wrapper {
    width: clamp(200px, 18vw, 280px);
    max-width: 280px;
    min-width: 0;
  }

  .arm-topbar .ats-input {
    box-sizing: border-box !important;
    /* prevent padding from overflowing into cart column */
    width: 100%;
  }
}

.arm-topbar .search input:focus {
  border-color: var(--gold-2);
  box-shadow: 0 0 0 3px rgba(212, 168, 116, 0.2);
}

.arm-topbar .search input::placeholder {
  color: var(--muted);
}

/* Panier */
.arm-topbar .cart-btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-1);
  padding: 10px 18px;
  border-radius: 999px;
  background: var(--gold-2);
  color: var(--bg);
  font-family: 'Cinzel', serif;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: transform var(--transition), box-shadow var(--transition);
  text-decoration: none;
}

.arm-topbar .cart-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(211, 168, 116, 0.35);
  text-decoration: none;
}

/* --- Navigation Principale --- */
.arm-header {
  background: #4b1b1b;
  border-bottom: 1px solid var(--line-2);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.arm-header .container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 14px var(--space-4) 18px;
}

.arm-header .nav-grid {
  display: grid;
  grid-template-rows: auto auto;
  row-gap: 6px;
}

/* Menu Desktop */
.arm-header .nav-line ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 26px 34px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.arm-header a.nav-link {
  font-family: 'Cinzel', serif;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  background: linear-gradient(180deg, #e8d28f 0%, #cfae62 55%, #b8923f 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  position: relative;
  white-space: nowrap;
  display: inline-block;
}

.arm-header a.nav-link:hover {
  opacity: 0.9;
  transform: translateY(-1px);
}

.arm-header a.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -6px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold-2), transparent);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform var(--transition);
}

.arm-header a.nav-link:hover::after {
  transform: scaleX(1);
}

.arm-header .dropdown-indicator {
  display: inline-block;
  margin-left: 6px;
  font-size: 0.7em;
  vertical-align: middle;
}

/* Mobile Toggle (Hidden on Desktop) */
.mobile-menu-toggle {
  display: none;
}

/* ==========================================================================
   4. HERO SECTION
   ========================================================================== */
#primary .hero {
  position: relative;
  min-height: clamp(420px, 60vh, 720px);
  display: grid;
  place-items: center;
  text-align: center;
  padding: var(--space-7) var(--space-4);
  background:
    linear-gradient(180deg, rgba(10, 9, 8, 0) 0%, rgba(10, 9, 8, 0.35) 60%, rgba(10, 9, 8, 0.85) 100%),
    #0f0d0a;
  overflow: hidden;
  border-bottom: 1px solid var(--line-2);
}

#primary .hero .hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  /* Override earlier inline styles (object-fit: contain) to avoid side black bars. */
  object-fit: cover !important;
  /* Slightly higher framing so the image isn't "cut" too much in height. */
  object-position: 50% 35% !important;
  z-index: 0;
  pointer-events: none;
}

#primary .hero .wrap {
  max-width: 900px;
  margin-inline: auto;
  position: relative;
  z-index: 2;
}

#primary .hero h1:not(.arm-sr-only),
#primary .hero .hero-title {
  font-family: 'Cinzel', serif;
  font-weight: 700;
  font-size: clamp(48px, 8vw, 112px);
  letter-spacing: 6px;
  margin: 0 0 var(--space-3);
  background: linear-gradient(180deg, var(--gold-1) 0%, var(--gold-2) 50%, var(--gold-1) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 0 40px rgba(212, 165, 116, 0.25);
  line-height: 1.1;
}

#primary .hero p {
  font-family: 'Cinzel', serif;
  color: var(--gold-1);
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.65);
  font-size: clamp(16px, 2.5vw, 22px);
  letter-spacing: 3px;
  opacity: 0.95;
  margin-bottom: var(--space-5);
}

#primary .hero .hero-kicker {
  font-weight: 600;
}

/* Hero Buttons */
#primary .hero .btns {
  display: flex;
  gap: var(--space-4);
  justify-content: center;
  flex-wrap: wrap;
}

#primary .btn {
  padding: 14px 28px;
  border-radius: 999px;
  letter-spacing: 2px;
  font-weight: 600;
  text-transform: uppercase;
  border: 2px solid transparent;
  font-family: 'Cinzel', serif;
  transition: all var(--transition);
  cursor: pointer;
  display: inline-block;
}

#primary .btn-primary {
  background: var(--gold-2);
  color: var(--bg);
  border-color: var(--gold-2);
}

#primary .btn-primary:hover {
  background: transparent;
  color: var(--gold-2);
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(212, 165, 116, 0.25);
}

#primary .btn-secondary {
  background: transparent;
  color: var(--panel);
  border-color: var(--panel);
}

#primary .btn-secondary:hover {
  background: var(--panel);
  color: var(--bg);
  transform: translateY(-2px);
}

/* ==========================================================================
   5. SECTIONS COMMONS
   ========================================================================== */
#primary .section {
  padding: var(--space-8) 0;
  border-top: 1px solid var(--line-2);
}

#primary .section.dark {
  background: linear-gradient(135deg, #1a1612, #0a0908);
}

#primary .section-title-wrapper {
  text-align: center;
  margin-bottom: var(--space-6);
}

#primary .section-title {
  display: inline-flex;
  align-items: center;
  gap: var(--space-3);
  font-family: 'Cinzel', serif;
  font-size: clamp(28px, 3.2vw, 40px);
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  background: linear-gradient(180deg, #f7e5a4 0%, #d4af37 45%, #b88a2a 70%, #f3d77b 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 2px 0 rgba(0, 0, 0, 0.25);
}

#primary .section-title::before,
#primary .section-title::after {
  content: "⚜";
  font-size: 0.9em;
  background: linear-gradient(180deg, #f7e5a4 0%, #d4af37 50%, #b88a2a 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.35));
}

#primary .section .sub {
  color: var(--muted);
  font-size: 1.1rem;
  letter-spacing: 0.5px;
  text-align: center;
  margin-top: var(--space-2);
}

/* ==========================================================================
   6. COLLECTIONS
   ========================================================================== */
#primary .grid.collections {
  display: grid;
  grid-template-columns: repeat(4, minmax(260px, 1fr));
  gap: var(--space-4);
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--space-4);
}

#primary .card {
  position: relative;
  height: 380px;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line-2);
  background: linear-gradient(135deg, rgba(26, 22, 18, 0.8), rgba(26, 22, 18, 0.45));
  box-shadow: var(--shadow);
  transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
  cursor: pointer;
}

#primary .card:hover {
  transform: translateY(-6px);
  border-color: var(--gold-2);
  box-shadow: 0 22px 44px rgba(212, 165, 116, 0.18);
}

#primary .card__img {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform 0.5s;
  filter: saturate(1.05) contrast(1.03);
}

#primary .card:hover .card__img {
  transform: scale(1.08);
}

/* Woo category/shop: de-zoom product images (avoid heavy cropping) */
body.tax-product_cat #primary ul.products li.product.card .card__img,
body.post-type-archive-product #primary ul.products li.product.card .card__img {
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}

body.tax-product_cat #primary ul.products li.product.card:hover .card__img,
body.post-type-archive-product #primary ul.products li.product.card:hover .card__img {
  transform: none;
}

/* Woo product cards: keep the add-to-cart area visible (image is absolutely positioned). */
body.woocommerce #primary ul.products li.product.card>a.card__link {
  position: relative;
  /* becomes containing block for .card__img/.card__body */
  flex: 1 1 auto;
  /* reserve space above the add-to-cart block */
  display: block;
}

body.woocommerce #primary ul.products li.product.card>.card__add {
  flex: 0 0 auto;
}

#primary .card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 0%, rgba(10, 9, 8, 0.85) 100%);
}

#primary .card__body {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: var(--space-4);
}

#primary .card .era {
  color: var(--gold-2);
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  display: block;
}

#primary .card .title {
  font-family: 'Cinzel', serif;
  font-size: 24px;
  font-weight: 600;
  margin: 6px 0;
  color: var(--panel);
}

#primary .card .count {
  color: var(--muted);
  margin-bottom: var(--space-3);
  font-size: 0.9em;
}

#primary .card .link {
  color: var(--gold-2);
  font-weight: 600;
  letter-spacing: 1px;
  font-size: 14px;
}

/* ==========================================================================
  /* ==========================================================================
   7 & 9. PRODUITS & WOOCOMMERCE (FUSIONNÉS)
   ========================================================================== */

/* --- Grille Principale (Valable pour vos listes manuelles et celles de Woo) --- */
#primary .grid.products,
body.woocommerce ul.products,
body.post-type-archive-product ul.products,
body.tax-product_cat ul.products {
  display: grid;
  grid-template-columns: repeat(3, minmax(260px, 1fr));
  gap: var(--space-4);
  max-width: var(--container);
  margin: 32px auto 64px;
  padding-inline: var(--space-4);
  list-style: none;
}

/* --- Carte Produit (Design unifié) --- */
#primary .p-card,
body.woocommerce ul.products li.product {
  position: relative;
  display: flex;
  flex-direction: column;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line-2);
  background: linear-gradient(135deg, rgba(26, 22, 18, 0.8), rgba(26, 22, 18, 0.45));
  /* Fond unifié */
  box-shadow: var(--shadow);
  transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);

  /* Reset specifique Woo */
  width: auto !important;
  float: none !important;
  margin: 0 !important;
}

/* Effet Hover sur la carte */
#primary .p-card:hover,
body.woocommerce ul.products li.product:hover {
  transform: translateY(-4px);
  border-color: var(--gold-2);
  box-shadow: var(--shadow-hover);
}

/* --- Images --- */
#primary .p-card .p-img,
body.woocommerce ul.products li.product img {
  height: 240px;
  width: 100%;
  object-fit: cover;
  display: block;
  /* ou grid pour votre placeholder */
  place-items: center;
  /* Pour centrer si placeholder */
  background: linear-gradient(135deg, #2a2420, #1a1612);
  color: rgba(212, 165, 116, 0.22);
}

/* --- Titres --- */
#primary .p-name,
body.woocommerce ul.products li.product h2.woocommerce-loop-product__title {
  font-family: 'Cinzel', serif;
  font-size: 20px;
  font-weight: 600;
  color: var(--panel);
  /* Assuré d'avoir la couleur */
  margin: 16px 16px 6px;
  padding: 0;
  line-height: 1.3;
}

/* --- Description (Uniquement pour votre HTML perso) --- */
#primary .p-desc {
  color: var(--muted);
  font-size: 14px;
  margin: 0 16px 10px;
  line-height: 1.55;
}

/* --- Prix --- */
#primary .p-price,
body.woocommerce ul.products li.product .price {
  font-size: 22px;
  font-weight: 700;
  color: var(--gold-2);
  margin: 0 16px 14px;
  display: block;
}

/* --- Boutons d'action --- */
#primary .btn-cart,
body.woocommerce ul.products li.product .button {
  display: block;
  /* Assure que le lien se comporte comme un bloc */
  margin: 0 16px 16px;
  width: auto;
  box-sizing: border-box;
  padding: 12px 16px;
  border-radius: var(--radius-small);
  border: 2px solid var(--gold-2);
  background: transparent;
  color: var(--gold-2);
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  text-align: center;
  cursor: pointer;
  text-decoration: none;
  /* Reset lien */
  transition: all var(--transition);
}

#primary .btn-cart:hover,
body.woocommerce ul.products li.product .button:hover {
  background: var(--gold-2);
  color: var(--bg);
  transform: translateY(-2px);
}

/* --- Badges / Promos --- */
#primary .p-card .badge,
body.woocommerce span.onsale {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 3;
  background: var(--danger);
  color: var(--panel);
  padding: 5px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  box-shadow: 0 8px 14px rgba(0, 0, 0, 0.25);
  min-height: auto;
  /* Reset Woo */
  min-width: auto;
  /* Reset Woo */
  line-height: normal;
  /* Reset Woo */
}

/* ==========================================================================
   8. FEATURES (Engagements)
   ========================================================================== */
#primary .features {
  display: grid;
  grid-template-columns: repeat(4, minmax(180px, 1fr));
  gap: var(--space-5);
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--space-4);
}

#primary .feature {
  text-align: center;
  padding: 16px;
  border: 1px solid var(--line-2);
  border-radius: var(--radius);
  background: linear-gradient(135deg, rgba(26, 22, 18, 0.7), rgba(26, 22, 18, 0.35));
  transition: transform var(--transition);
}

#primary .feature:hover {
  transform: translateY(-2px);
}

#primary .feature .ico {
  font-size: 40px;
  color: var(--gold-2);
  margin-bottom: 10px;
  display: inline-block;
  filter: drop-shadow(0 0 10px rgba(212, 165, 116, 0.35));
}

#primary .feature h3 {
  font-family: 'Cinzel', serif;
  font-size: 18px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--gold-1);
  margin: 0 0 6px;
}

#primary .feature p {
  color: var(--muted);
  margin: 0;
  font-size: 14px;
  line-height: 1.6;
}

/* ==========================================================================
   10. FOOTER
   ========================================================================== */
.arm-footer {
  border-top: 1px solid var(--line-2);
  padding-block: 60px 30px;
  background: var(--bg-dark);
  color: var(--panel);
}

.arm-footer .footer-content {
  display: grid;
  grid-template-columns: repeat(4, minmax(200px, 1fr));
  gap: 40px 60px;
  align-items: start;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--space-4);
}

.arm-footer .footer-section h3 {
  font-family: 'Cinzel', serif;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 1px;
  margin: 0 0 18px;
  text-transform: uppercase;
  background: linear-gradient(90deg, var(--gold-1), #f9e076, var(--gold-1));
  -webkit-background-clip: text;
  background-clip: text;
  /* Standardisation */
  -webkit-text-fill-color: transparent;
  border-bottom: 2px solid var(--gold-2);
  padding-bottom: 6px;
  display: inline-block;
}

.arm-footer .footer-section ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.arm-footer .footer-section li+li {
  margin-top: 8px;
}

.arm-footer .footer-section a {
  color: var(--text);
  opacity: 0.9;
  text-decoration: none;
  transition: opacity var(--transition);
}

.arm-footer .footer-section a:hover {
  opacity: 1;
  text-decoration: underline;
}

.arm-footer .footer-bottom {
  max-width: var(--container);
  margin: 30px auto 0;
  padding: 15px var(--space-4) 0;
  text-align: center;
  font-size: 14px;
  color: var(--gold-2);
  font-family: 'Crimson Text', serif;
  border-top: 1px solid var(--gold-2);
}

/* ==========================================================================
   11. RESPONSIVE & MOBILE MENU
   ========================================================================== */

/* --- Tablettes & Petits Ecrans (Max 1024px) --- */
@media (max-width: 1024px) {

  /* Header Layout */
  .topbar-content {
    grid-template-columns: 1fr auto;
    row-gap: 10px;
  }

  .arm-topbar .search {
    grid-column: 1 / -1;
    justify-content: center;
    display: flex;
  }

  .arm-header .nav-line ul {
    gap: 18px 24px;
  }

  /* Grilles à 2 colonnes */
  #primary .grid.collections,
  #primary .grid.products,
  body.woocommerce ul.products,
  #primary .features,
  .arm-footer .footer-content {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* --- Mobiles (Max 768px - Comprend le menu Burger) --- */
@media (max-width: 768px) {

  /* 1. HEADER MOBILE & BURGER */
  .mobile-menu-toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 12px 16px;
    margin-bottom: 6px;
    background: rgba(10, 9, 8, 0.85);
    border: 1px solid var(--line-1);
    border-radius: var(--radius-small);
    color: var(--gold-1);
    font-family: 'Cinzel', serif;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    cursor: pointer;
  }

  .mobile-menu-toggle .burger-icon {
    display: inline-flex;
    flex-direction: column;
    gap: 4px;
    margin-right: 12px;
  }

  .mobile-menu-toggle .burger-icon span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--gold-1);
    border-radius: 999px;
    transition: transform 0.2s ease, opacity 0.2s ease;
  }

  /* Animation Burger Actif (nécessite la classe JS .arm-menu-open sur le body ou header) */
  .arm-menu-open .mobile-menu-toggle .burger-icon span:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
  }

  .arm-menu-open .mobile-menu-toggle .burger-icon span:nth-child(2) {
    opacity: 0;
  }

  .arm-menu-open .mobile-menu-toggle .burger-icon span:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
  }

  /* Affichage du Menu au clic */
  .arm-menu-ready .arm-header .nav-line {
    display: none;
    width: 100%;
  }

  .arm-menu-open .arm-header .nav-line {
    display: block;
    animation: fadeIn 0.3s ease;
  }

  .arm-menu-ready .arm-header .nav-line ul {
    display: none;
    /* Caché par défaut en JS ready */
  }

  .arm-menu-open .arm-header .nav-line ul {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: #070706;
    border-top: 1px solid var(--line-2);
  }

  .arm-header a.nav-link {
    padding: 16px;
    border-bottom: 1px solid var(--line-2);
    display: block;
    text-align: center;
  }

  /* 2. LAYOUT MOBILE */
  .arm-topbar .topbar-content {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 10px;
  }

  .arm-topbar .search,
  .arm-topbar .cart-btn {
    width: 100%;
  }

  .arm-topbar .user-links {
    flex-wrap: wrap;
    justify-content: center;
    width: 100%;
    gap: 10px 14px;
  }

  /* Prevent phone + account links from being pushed/clipped off-screen on mobile. */
  .arm-topbar .topbar-phone,
  .arm-topbar .topbar-account {
    margin-left: 0 !important;
    flex-shrink: 0;
    white-space: nowrap;
  }

  /* 3. HERO MOBILE */
  #primary .hero {
    padding: var(--space-6) var(--space-3);
  }
}

/* --- Très petits écrans (Max 640px) --- */
@media (max-width: 640px) {

  /* Grilles à 1 colonne */
  #primary .grid.collections,
  #primary .grid.products,
  body.woocommerce ul.products,
  #primary .features,
  .arm-footer .footer-content {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   CORRECTIONS MENU MOBILE
   ========================================================================== */
@media (max-width: 1024px) {

  /* 1. CACHER le texte "N MENU N" avec transparence */
  .mobile-menu-toggle {
    color: transparent;
    justify-content: center;
    /* Centrer le burger */
  }

  /* 2. S'assurer que le bouton est bien cliquable */
  .mobile-menu-toggle {
    pointer-events: auto;
    cursor: pointer;
    position: relative;
    z-index: 999;
  }

  /* 3. Barres du burger VISIBLES et CLIQUABLES */
  .mobile-menu-toggle .burger-icon {
    pointer-events: auto;
    position: relative;
    z-index: 1000;
  }

  .mobile-menu-toggle .burger-icon span {
    background: var(--gold-1);
    display: block;
    pointer-events: auto;
  }

  /* 4. MENU FERMÉ PAR DÉFAUT - Sans .arm-menu-ready */
  body:not(.arm-menu-open) .arm-header .nav-line,
  .arm-header .nav-line {
    display: none;
    opacity: 0;
    visibility: hidden;
    height: 0;
    overflow: hidden;
  }

  /* 5. Menu visible SEULEMENT avec .arm-menu-open */
  body.arm-menu-open .arm-header .nav-line,
  .arm-menu-open .arm-header .nav-line {
    display: block;
    opacity: 1;
    visibility: visible;
    height: auto;
  }

  body.arm-menu-open .arm-header .nav-line ul,
  .arm-menu-open .arm-header .nav-line ul {
    display: flex;
  }
}

/* ==========================================================================
   MENU MOBILE - Cacher les sous-menus et boutons dropdown
   ========================================================================== */
@media (max-width: 1024px) {

  /* CACHER les boutons dropdown (les petits carrés) */
  button.dropdown-toggle {
    display: none;
  }

  /* CACHER tous les sous-menus par défaut */
  .arm-header ul.dropdown-menu {
    display: none;
    height: 0;
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
  }

  /* Afficher le sous-menu seulement si le parent a la classe 'active' */
  .arm-header li.has-dropdown.active>ul.dropdown-menu {
    display: block;
    height: auto;
    opacity: 1;
    visibility: visible;
  }

}

/* ==========================================================================
   12. ACCESSIBILITÉ
   ========================================================================== */
#primary .card:focus-visible,
#primary .btn:focus-visible,
#primary .btn-cart:focus-visible,
#primary .link:focus-visible,
.arm-topbar a:focus-visible,
.arm-header a:focus-visible {
  outline: 2px solid var(--gold-2);
  outline-offset: 2px;
  text-decoration: none;
}

/* ==========================================================================
   CENTRAGE DES SECTIONS PRINCIPALES
   ========================================================================== */

/* Conteneur général pour toutes les sections */
#primary .section {
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--space-4);
}

/* Titres centrés */
#primary .section-title-wrapper,
#primary .section>h2,
#primary .section-title {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
  display: block;
}

/* Sous-titre centré */
#primary .section .sub {
  text-align: center;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* Grilles centrées avec largeur maximale */
#primary .grid.collections,
#primary .grid.products,
#primary .features {
  max-width: var(--container);
  margin-left: auto;
  margin-right: auto;
  padding-inline: var(--space-4);
}

/* Si vous utilisez des conteneurs WordPress */
#primary .wp-block-group__inner-container,
#primary .wp-block-columns {
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--space-4);
}

/* ============================================================
   Single product – layout et visibilité
   ============================================================ */
.single-product .product {
  display: grid;
  grid-template-columns: minmax(0, 560px) 1fr;
  /* Image max 560px + contenu fluide */
  gap: 48px;
  align-items: start;
  max-width: var(--container);
  margin: 40px auto 80px;
  padding: 0 24px;
}

/* Galerie toujours visible */
.woocommerce div.product div.images,
.woocommerce div.product div.summary {
  width: auto;
}

.woocommerce-product-gallery {
  opacity: 1;
}

/* Images fluides */
.single-product .woocommerce-product-gallery img {
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
}

/* Bouton add to cart visible */
.single-product form.cart {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.single-product .single_add_to_cart_button {
  display: inline-block;
}

/* Évite qu'une règle de listing s'applique au single */
.woocommerce ul.products li.product img {
  height: auto;
}

/* Responsive – petits écrans */
@media (max-width: 920px) {
  .single-product .product {
    grid-template-columns: 1fr;
    /* Image au-dessus, texte en dessous */
  }
}

/* Bouton & variations toujours visibles */
.single-product div.product .summary form.cart {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.single-product div.product .summary .quantity {
  min-width: 88px;
}

.single-product div.product .summary .single_add_to_cart_button {
  display: inline-flex;
  align-items: center;
  border: 2px solid var(--gold-2);
  background: transparent;
  color: var(--gold-2);
  padding: 10px 16px;
  border-radius: 10px;
  font-weight: 700;
  text-transform: uppercase;
}

.single-product div.product .summary .single_add_to_cart_button:hover {
  background: var(--gold-2);
  color: #0a0908;
  transform: translateY(-2px);
}

/* Variations (produits variables) */
.woocommerce div.product form.cart .variations {
  margin: 0 0 12px;
}

.woocommerce div.product .woocommerce-variation {
  margin: 8px 0 0;
}

/* Aligner quantité et bouton sur une même ligne (single + variables) */
.single-product form.cart,
.single-product div.product .summary form.cart {
  align-items: center;
}

.single-product .variations_button,
.single-product .woocommerce-variation-add-to-cart {
  display: flex;
  align-items: center;
  gap: 12px;
}

@media (max-width: 560px) {

  .single-product form.cart,
  .single-product .variations_button,
  .single-product .woocommerce-variation-add-to-cart {
    flex-wrap: wrap;
  }
}

/* Onglets description/info/avis – margin géré plus bas dans le bloc onglets */
/* Force left column (images) to be wide and aligned left */
.single-product .product {
  display: grid !important;
  grid-template-columns: minmax(520px, 720px) 1fr !important;
  /* left = images, right = summary */
  gap: 36px;
  align-items: start;
  max-width: 1200px;
  margin: 40px auto;
  padding: 0 20px;
}

/* Make sure images can expand and aren't limited by margins/widths */
.woocommerce div.product div.images {
  width: auto !important;
  max-width: 720px !important;
  margin: 0 !important;
  justify-self: start;
}

/* Gallery items always fill the column */
.woocommerce div.product div.images .woocommerce-product-gallery__wrapper,
.woocommerce div.product div.images .woocommerce-product-gallery__image {
  width: 100% !important;
}

.woocommerce div.product div.images img {
  width: 100% !important;
  height: auto !important;
  object-fit: cover;
}

/* Thumbnails a bit larger and left-aligned */
.woocommerce div.product div.images .flex-control-thumbs {
  display: flex;
  gap: 10px;
  margin-top: 12px;
  justify-content: flex-start;
}

.woocommerce div.product div.images .flex-control-thumbs li {
  width: 100px;
  height: 100px;
}

.woocommerce div.product div.images .flex-control-thumbs img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Mobile: stack */
@media (max-width: 920px) {
  .single-product .product {
    grid-template-columns: 1fr;
  }
}

/* === FIX mise en page produit : image grande, alignée à gauche === */

/* 1) Ne pas décaler le bloc produit vers la droite */
.single-product .product-top-section {
  padding-left: 0 !important;
  margin-left: 0 !important;
}

/* 2) Colonne images large et non limitée */
.single-product .product-images {
  flex: 0 0 60% !important;
  /* garde 60% à gauche */
  width: 60% !important;
  max-width: none !important;
  /* enlève la limite 750px */
}

/* 3) Le conteneur galerie doit prendre toute la largeur de sa colonne */
.woocommerce div.product div.images,
.woocommerce div.product div.images .woocommerce-product-gallery,
.woocommerce div.product div.images .woocommerce-product-gallery__wrapper,
.woocommerce div.product div.images .woocommerce-product-gallery__image {
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
}

/* 4) L'image remplit bien la largeur disponible */
.woocommerce div.product div.images img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
}

/* 5) Optionnel : si tu ne veux pas brider le bloc de droite */
.single-product .summary {
  max-width: none !important;
  /* retire le 450px vu dans le DOM */
}

/* 6) Mobile : on empile proprement */
@media (max-width: 920px) {
  .single-product .product-top-section {
    padding-left: 0 !important;
  }

  .single-product .product-images,
  .single-product .summary {
    width: 100% !important;
    flex: 1 1 100% !important;
  }
}

/* largeur "conteneur" (met la même valeur que ton max-width : 1200px chez toi) */
:root {
  --armu-container: 1200px;
}

/* on garde .product-top-section centrée,
   mais on "déborde" uniquement la colonne image vers la gauche */
.single-product .product-images {
  margin-left: calc((100vw - var(--armu-container)) / -2) !important;
}

@media (max-width: 1200px) {
  .single-product .product-images {
    margin-left: 0 !important;
  }
}

/* 4 produits par rangée sur archives (shop + catégories) */
body.woocommerce ul.products,
body.post-type-archive-product ul.products,
body.tax-product_cat ul.products {
  display: grid !important;
  grid-template-columns: repeat(4, 1fr) !important;
  gap: 24px !important;
  padding: 0 15px !important;
}

/* Responsives */
@media (max-width: 1280px) {

  body.woocommerce ul.products,
  body.post-type-archive-product ul.products,
  body.tax-product_cat ul.products {
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 20px !important;
  }
}

@media (max-width: 980px) {

  body.woocommerce ul.products,
  body.post-type-archive-product ul.products,
  body.tax-product_cat ul.products {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 15px !important;
    padding: 0 10px !important;
  }

  /* S'assurer que les produits ne débordent pas */
  .woocommerce ul.products li.product {
    min-width: 0 !important;
    max-width: 100% !important;
  }
}

@media (max-width: 640px) {

  body.woocommerce ul.products,
  body.post-type-archive-product ul.products,
  body.tax-product_cat ul.products {
    grid-template-columns: 1fr !important;
    padding: 0 15px !important;
  }
}

:root {
  --armu-wide: min(1600px, 95vw);
  /* ajuste: 1400–1600px ou 92–96vw */
}

/* Applique la largeur "wide" à toutes les zones produit */
.single-product .product-top-section,
.single-product .product-bottom-section,
.single-product .woocommerce-tabs,
.single-product .related.products {
  max-width: var(--armu-wide) !important;
  margin-left: auto !important;
  margin-right: auto !important;
  padding-left: 24px !important;
  padding-right: 24px !important;
}

/* Laisse respirer l'image principale sur très grands écrans */
@media (min-width: 1280px) {
  .single-product .product-images .woocommerce-product-gallery__wrapper {
    max-width: none;
  }
}

/* Grille propre dans la section "Produits similaires" */
.related.products ul.products {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(240px, 1fr)) !important;
  gap: 24px !important;
  list-style: none;
  padding: 0;
  margin: 0;
}

/* Neutraliser l'ancien layout en float/width */
.related.products ul.products li.product {
  float: none !important;
  width: auto !important;
  margin: 0 !important;
}

/* Related products: some CSS forces li.product to grid, which collapses our absolute card layers. */
.related.products ul.products li.product.card {
  display: flex !important;
  flex-direction: column !important;
}

.related.products ul.products li.product.card>a.card__link {
  width: 100%;
  min-width: 0;
}

/* Responsive (si tu veux) */
@media (max-width: 1024px) {
  .related.products ul.products {
    grid-template-columns: repeat(3, 1fr) !important;
  }
}

@media (max-width: 768px) {
  .related.products ul.products {
    grid-template-columns: repeat(2, 1fr) !important;
  }
}

@media (max-width: 480px) {
  .related.products ul.products {
    grid-template-columns: 1fr !important;
  }
}

/* Empêche les pseudo-éléments WooCommerce de prendre une cellule de grid */
.woocommerce ul.products::before,
.woocommerce ul.products::after,
.related.products ul.products::before,
.related.products ul.products::after {
  content: none !important;
  display: none !important;
}

/* =========================
   A. Mise en page + stickers
   ========================= */

/* Colonne infos collante (desktop) */
@media (min-width:1024px) {
  .single-product .summary {
    position: sticky;
    top: 110px;
    /* ajuste si ton header est plus grand */
  }
}

/* Un peu de respiration verticale */
.single-product .product-top-section {
  row-gap: 26px;
}

/* Coins et bordures discrètes sur les médias */
.single-product .product-images .woocommerce-product-gallery__wrapper,
.single-product .product-images .woocommerce-product-gallery__image a,
.single-product .product-images img {
  border-radius: 14px;
  overflow: hidden;
}

.single-product .product-images .woocommerce-product-gallery__image {
  box-shadow: 0 14px 36px rgba(0, 0, 0, .35);
}

/* Zoom très léger au survol de l'image principale */
.single-product .product-images .woocommerce-product-gallery__image img {
  transition: transform .35s ease;
}

.single-product .product-images .woocommerce-product-gallery__image:hover img {
  transform: scale(1.02);
}

/* Vignettes plus chic */
.woocommerce div.product div.images .flex-control-thumbs {
  gap: 12px;
}

.woocommerce div.product div.images .flex-control-thumbs li {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(0, 0, 0, .25);
}

/* =========================
   B. Titre + prix + avis
   ========================= */

.single-product .product_title {
  font-family: 'Cinzel', serif;
  font-weight: 700;
  letter-spacing: .06em;
  line-height: 1.15;
  margin: 6px 0 12px;
  text-transform: uppercase;
  background: linear-gradient(180deg, #f7e5a4 0%, #d4af37 45%, #b88a2a 70%, #f3d77b 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 8px 26px rgba(212, 165, 116, .18);
  position: relative;
  padding-bottom: 8px;
}

/* filet doré sous le titre */
.single-product .product_title::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: min(260px, 40%);
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, #d4af37 20%, #f3d77b 50%, #d4af37 80%, transparent);
  box-shadow: 0 0 18px rgba(212, 165, 116, .25);
}

/* Prix : doré + lisibilité */
.single-product .price {
  font-size: clamp(20px, 2.2vw, 28px);
  font-weight: 800;
  margin: 6px 0 16px;
  color: var(--panel);
}

.single-product .price .amount {
  color: var(--gold-2);
}

.single-product .price del {
  opacity: .45;
  margin-right: 10px;
}

/* Étoiles d'avis en doré doux */
.woocommerce .star-rating span::before,
.woocommerce .star-rating::before {
  color: var(--gold-2);
}

/* Espace et alignement des étoiles sous le titre (single) */
.single-product .woocommerce-product-rating {
  margin: 6px 0 10px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

/* =========================
   C. Variations + quantité + bouton
   ========================= */

.single-product .variations label {
  color: var(--gold-2);
  text-transform: uppercase;
  letter-spacing: .08em;
  font-size: 12px;
  margin-bottom: 6px;
  display: block;
}

.single-product .variations select {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid rgba(212, 165, 116, .28);
  border-radius: 10px;
  background: #111;
  color: var(--panel);
  outline: none;
  transition: border-color .2s ease, box-shadow .2s ease;
}

.single-product .variations select:focus {
  border-color: var(--gold-2);
  box-shadow: 0 0 0 3px rgba(212, 165, 116, .18);
}

/* Input quantité */
.single-product .quantity .qty {
  width: 84px;
  padding: 12px 10px;
  text-align: center;
  border-radius: 10px;
  border: 1px solid rgba(212, 165, 116, .28);
  background: #111;
  color: var(--panel);
}

/* Bouton ajouter au panier */
.single-product .single_add_to_cart_button {
  width: 100%;
  padding: 14px 18px;
  border-radius: 12px;
  border: 2px solid var(--gold-2);
  background: transparent;
  color: var(--gold-2);
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  transition: transform .15s ease, background .2s ease, color .2s ease, box-shadow .2s ease;
}

.single-product .single_add_to_cart_button:hover {
  background: var(--gold-2);
  color: #0a0908;
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(212, 165, 116, .28);
}

/* Message "disponible / en stock" subtil */
.stock.in-stock {
  color: var(--gold-2);
}

/* Infos méta (UGS, catégories, tags) plus discrètes */
.single-product .product_meta {
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid rgba(212, 165, 116, .18);
  color: var(--muted);
  font-size: 14px;
}

.single-product .product_meta a {
  color: var(--panel);
}

.single-product .product_meta a:hover {
  color: var(--gold-2);
}

/* =========================
   D. Onglets (description / infos / avis)
   ========================= */

.woocommerce-tabs {
  margin-top: 42px;
}

.woocommerce-tabs ul.tabs {
  border-bottom: 1px solid rgba(212, 165, 116, .18);
  gap: 22px;
}

.woocommerce-tabs ul.tabs li a {
  color: var(--text);
  padding: 12px 10px 14px;
  text-decoration: none;
  position: relative;
  transition: color .2s ease;
}

.woocommerce-tabs ul.tabs li a:hover {
  color: var(--gold-2);
}

.woocommerce-tabs ul.tabs li.active a {
  color: var(--gold-2);
}

.woocommerce-tabs ul.tabs li.active a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -2px;
  height: 2px;
  background: linear-gradient(90deg, transparent, #d4af37 30%, #f3d77b 60%, transparent);
}

/* Texte du panneau */
.woocommerce-tabs .panel {
  color: var(--panel);
  line-height: 1.75;
  font-size: 16px;
  opacity: .98;
}

/* =========================
   E. Produits similaires (déjà 4x2) – petite harmonisation
   ========================= */

.related.products ul.products li.product {
  border-radius: 16px;
  overflow: hidden;
  background: linear-gradient(135deg, rgba(26, 22, 18, .75), rgba(26, 22, 18, .4));
  border: 1px solid rgba(212, 165, 116, .18);
  box-shadow: 0 18px 36px rgba(0, 0, 0, .32);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.related.products ul.products li.product:hover {
  transform: translateY(-4px);
  border-color: var(--gold-2);
  box-shadow: 0 22px 44px rgba(212, 165, 116, .22);
}

/* Images dans les cartes similaires : ratio harmonisé */
.related.products ul.products li.product img {
  aspect-ratio: 4/3;
  object-fit: cover;
}

/* Titre et prix dans les cartes similaires */
.related.products ul.products li.product .woocommerce-loop-product__title {
  font-family: 'Cinzel', serif;
  font-weight: 700;
}

.related.products ul.products li.product .price {
  color: var(--gold-2);
  font-weight: 800;
}

/* =========================
   F. Mobile tweaks
   ========================= */

@media (max-width:768px) {
  .single-product .single_add_to_cart_button {
    font-size: 16px;
  }

  .single-product .product_title {
    font-size: 24px;
  }

  .woocommerce-tabs ul.tabs {
    gap: 10px;
    flex-wrap: wrap;
  }
}

.armu-trust {
  display: grid;
  grid-template-columns: repeat(2, minmax(140px, 1fr));
  gap: 10px 16px;
  margin: 16px 0 8px;
  padding: 14px 16px;
  border: 1px solid rgba(212, 165, 116, .18);
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(26, 22, 18, .5), rgba(26, 22, 18, .25));
  color: var(--text);
  font-size: 14px;
}

.armu-trust li {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 8px;
  line-height: 1.4;
}

@media (max-width:560px) {
  .armu-trust {
    grid-template-columns: 1fr;
  }
}

:root {
  --armu-wide: min(1600px, 95vw);
}

/* Toutes les grandes zones du single */
/* doublon supprimé: conteneurs single-product déjà définis plus haut */
/* Fix titre coupé sur desktop */
.single-product .product_title {
  font-size: 30px;
  font-weight: 700;
  margin-bottom: 20px;
  line-height: 1.2;
  color: #1a1a1a;
  word-wrap: break-word;
  overflow-wrap: break-word;
  max-width: 100%;
}

/* Réassurances alignées */
.single-product .woocommerce-product-details__short-description ul,
.product-details ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.product-details ul li {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}

/* Si les icônes sont des emojis ou images */
.product-details ul li::before {
  flex-shrink: 0;
  /* Empêche l'icône de rétrécir */
}


ul.armu-trust li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  line-height: 1.4;
}

/* Icônes/emojis */
ul.armu-trust li::before {
  content: attr(data-icon);
  /* Si vous utilisez data-icon */
  flex-shrink: 0;
  font-size: 18px;
}

/* Version mobile - 1 colonne */
@media (max-width: 768px) {
  ul.armu-trust {
    grid-template-columns: 1fr;
  }
}

/* ===== Chips & métas compactes ===== */
.armu-chip {
  display: inline-block;
  padding: 6px 12px;
  border: 1px solid rgba(212, 165, 116, .35);
  border-radius: 999px;
  color: var(--gold-2);
  font-family: 'Cinzel', serif;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  font-size: 12px;
  background: linear-gradient(135deg, rgba(26, 22, 18, .65), rgba(26, 22, 18, .35));
  box-shadow: 0 6px 14px rgba(0, 0, 0, .25);
  margin-bottom: 10px;
}

.armu-mini-meta {
  margin: 4px 0 14px;
  color: var(--muted);
  font-size: 14px;
  letter-spacing: .02em;
}

/* (Option) éviter doublon UGS dans le bloc méta bas de page */
.single-product .product_meta .sku_wrapper {
  display: none;
}

/* ===== Breadcrumbs stylés mais sobres ===== */
.woocommerce-breadcrumb {
  max-width: var(--armu-wide);
  margin: 10px auto 12px;
  padding: 0 24px;
  color: var(--muted);
  font-size: 14px;
  letter-spacing: .02em;
}

.woocommerce-breadcrumb a {
  color: var(--text);
}

.woocommerce-breadcrumb a:hover {
  color: var(--gold-2);
}

.woocommerce-breadcrumb .breadcrumb-separator::before {
  content: "⚜";
  margin: 0 .6rem;
  color: var(--gold-2);
  opacity: .8;
}

/* ===== Teaser Caractéristiques ===== */
.armu-specs {
  margin: 10px 0 18px;
  padding: 14px 16px;
  border: 1px solid rgba(212, 165, 116, .18);
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(26, 22, 18, .55), rgba(26, 22, 18, .28));
}

.armu-specs__title {
  margin: 0 0 10px;
  font-family: 'Cinzel', serif;
  font-size: 16px;
  letter-spacing: .06em;
  color: var(--gold-2);
  text-transform: uppercase;
}

.armu-specs__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(140px, 1fr));
  gap: 10px 18px;
}

.armu-specs__item {
  display: flex;
  gap: 8px;
  align-items: baseline;
}

.armu-specs__k {
  color: var(--muted);
  font-size: 14px;
}

.armu-specs__v {
  color: var(--panel);
  font-weight: 600;
}

@media (max-width:640px) {
  .armu-specs__grid {
    grid-template-columns: 1fr;
  }
}

/* ===== Légers ajustements "entre-deux" sur le titre/prix ===== */
.single-product .product_title {
  margin-top: 6px;
  padding-bottom: 8px;
}

.single-product .price .amount {
  color: var(--gold-2);
}

/* ===== (Option) Titre "Produits similaires" un peu premium ===== */
.related.products>h2 {
  font-family: 'Cinzel', serif;
  text-transform: uppercase;
  letter-spacing: .08em;
  background: linear-gradient(180deg, #f7e5a4 0%, #d4af37 45%, #b88a2a 70%, #f3d77b 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 8px 22px rgba(212, 165, 116, .18);
  margin-bottom: 18px;
}

/* ====== FULL-BLEED À GAUCHE POUR LA GALERIE PRODUIT ====== */
/* Desktop : la colonne images "saigne" vers le bord gauche de l'écran */
@media (min-width: 1024px) {

  /* marge de sécurité à gauche, pour garder un petit gutter */
  :root {
    --armu-gutter: clamp(12px, 2vw, 24px);
  }

  /* La galerie elle-même */
  .single-product .product-images,
  .single-product .woocommerce div.product div.images {
    /* on la tire vers la gauche jusqu'au bord de la fenêtre */
    margin-left: calc(50% - 50vw + var(--armu-gutter)) !important;
    /* et on retire toute contrainte de largeur max héritée */
    max-width: none !important;
    width: auto !important;
  }

  /* Les images doivent remplir la largeur disponible */
  .single-product .woocommerce div.product div.images img,
  .single-product .product-images img {
    width: 100% !important;
    height: auto !important;
    display: block;
  }

  /* On garde un bel espace entre la galerie et le résumé */
  .single-product .summary {
    margin-left: clamp(24px, 4vw, 48px);
  }
}

/* Mobile / tablette : pas de "saignement", on revient à la normale */
@media (max-width: 1023.98px) {

  .single-product .product-images,
  .single-product .woocommerce div.product div.images {
    margin-left: 0 !important;
    padding-left: 0 !important;
    max-width: 100% !important;
  }
}

/* ====== Colonne droite (titre / prix / description) plus large ====== */
@media (min-width: 1024px) {

  /* Laisse la colonne droite s'étirer, enlève toute largeur fixe héritée */
  .single-product .summary {
    width: auto !important;
    flex: 1 1 auto !important;
    /* peut grandir */
    max-width: clamp(600px, 48vw, 860px);
    /* largeur utile + lisible */
    margin-left: clamp(24px, 4vw, 56px);
    /* espace avec la galerie */
  }

  /* Si tu as mis auparavant .summary { width: 42% ou 48% } => ceci écrase */
  /* Et si tu as un conteneur .product-top-section en flex, on aligne proprement */
  .single-product .product-top-section {
    align-items: flex-start;
    column-gap: clamp(24px, 4vw, 56px);
  }

  /* Titre : un peu moins d'espacement et des lignes mieux équilibrées */
  .single-product h1.product_title {
    font-size: clamp(36px, 4vw, 56px);
    letter-spacing: .02em;
    /* évite un effet "lettres éparpillées" */
    line-height: 1.1;
    text-wrap: balance;
    /* moderne ; sinon, tu peux l'ignorer */
  }

  /* Texte descriptif : largeur confortable */
  .single-product .woocommerce-product-details__short-description {
    max-width: 70ch;
    /* belle longueur de ligne */
    font-size: clamp(16px, 1.1vw, 18px);
    line-height: 1.55;
  }

  /* Prix un peu plus consistant */
  .single-product .price {
    font-size: clamp(22px, 2vw, 28px);
  }
}

/* ========================================
   BOUTON PANIER ET TRUSTS - PLUS COMPACTS
   ======================================== */

/* Bouton panier moins large */
.single-product .single_add_to_cart_button {
  width: auto !important;
  max-width: 280px !important;
  padding: 14px 28px !important;
}

/* Formulaire panier aligné à gauche */
.single-product form.cart {
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-start !important;
  gap: 12px !important;
}

/* Input quantité plus petit */
.single-product .quantity {
  max-width: 100px !important;
}

/* Réassurances (trusts) moins larges */
ul.armu-trust {
  max-width: 380px !important;
  width: 100% !important;
  padding: 12px 14px !important;
}

ul.armu-trust li {
  font-size: 13px !important;
  gap: 6px !important;
}

/* ========================================
   ONGLETS DESCRIPTION/AVIS - FOND NOIR DORÉ
   ======================================== */

/* Conteneur onglets */
.woocommerce-tabs {
  background: var(--bg);
  padding: 20px;
  border-radius: 12px;
  margin-top: 42px;
}

/* Barre d'onglets */
.woocommerce-tabs ul.tabs {
  background: transparent;
  border-bottom: 2px solid rgba(212, 165, 116, 0.3);
}

/* Onglets inactifs */
.woocommerce-tabs ul.tabs li {
  background: transparent;
  border: none;
}

.woocommerce-tabs ul.tabs li a {
  color: var(--muted);
  background: transparent;
  padding: 12px 24px;
  transition: color 0.2s ease;
}

.woocommerce-tabs ul.tabs li a:hover {
  color: var(--gold-2);
}

/* Onglet actif - doré */
.woocommerce-tabs ul.tabs li.active {
  background: transparent;
  border: none;
}

.woocommerce-tabs ul.tabs li.active a {
  color: var(--gold-2);
  background: transparent;
  border-bottom: 2px solid var(--gold-2);
}

/* Contenu des onglets */
.woocommerce-tabs .panel {
  background: transparent;
  color: var(--panel);
  padding: 20px 10px;
}

/* ========================================
   BORDURES DORÉES SUR LES BLOCS
   ======================================== */

/* Réassurances avec bordure dorée */
ul.armu-trust {
  border: 2px solid var(--gold-2);
  border-radius: 12px;
}

/* Onglets avec bordure dorée */
.woocommerce-tabs {
  border: 2px solid var(--gold-2);
}

/* Section méta (UGS, catégories) avec bordure */
.single-product .product_meta {
  border: 2px solid rgba(212, 165, 116, 0.4);
  border-radius: 12px;
  padding: 16px;
  margin-top: 20px;
}


/* Description courte avec bordure (optionnel) */
.single-product .woocommerce-product-details__short-description {
  border: 1px solid rgba(212, 165, 116, 0.3);
  border-radius: 10px;
  padding: 14px !important;
}

/* Réduire la taille du titre produit */
.single-product .product_title {
  font-size: 25px !important;
}

/* Responsive - encore plus petit sur mobile */
@media (max-width: 768px) {
  .single-product .product_title {
    font-size: 22px !important;
  }
}

/* Fond noir avec ligne dorée sous le header */
body.single-product {
  background: var(--bg) !important;
}

.single-product #primary,
.single-product .content-area {
  background: var(--bg) !important;
}

/* Ligne dorée entre header et contenu */
.single-product .content-area::before {
  content: "";
  display: block;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold-2) 20%, var(--gold-1) 50%, var(--gold-2) 80%, transparent);
  box-shadow: 0 0 10px rgba(212, 165, 116, 0.3);
  margin-bottom: 0;
}

/* ===== DROPDOWN MENU - VERSION CORRIGÉE ===== */

/* Position relative pour les items */
.nav-line li {
  position: relative;
}

/* Dropdown CACHÉ par défaut - IMPORTANT */
.dropdown-menu {
  display: none !important;
  position: absolute;
  top: 100%;
  left: 0;
  background: #1a1a1a;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  border-top: 2px solid #d4af37;
  min-width: 220px;
  max-width: 280px;
  z-index: 9999;
  list-style: none;
  margin: 0;
  padding: 10px 0;
  margin-top: 0;
}

/* Afficher UNIQUEMENT au survol */
.has-dropdown:hover>.dropdown-menu {
  display: block !important;
  animation: fadeIn 0.2s ease;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(-5px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Items du dropdown - LISTE VERTICALE */
.dropdown-menu li {
  display: block !important;
  list-style: none;
  margin: 0;
  padding: 0;
  width: 100%;
}

/* Liens du dropdown */
.dropdown-menu a {
  display: block;
  padding: 12px 20px;
  color: #d4af37;
  text-decoration: none;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: all 0.2s;
  white-space: nowrap;
  border-bottom: 1px solid rgba(212, 175, 55, 0.1);
}

.dropdown-menu li:last-child a {
  border-bottom: none;
}

.dropdown-menu a:hover {
  background: rgba(212, 175, 55, 0.1);
  color: #fff;
  padding-left: 25px;
}

/* Responsive mobile */
@media (max-width: 768px) {
  .dropdown-menu {
    position: static;
    box-shadow: none;
    border-top: 1px solid rgba(212, 175, 55, 0.3);
    background: #0d0d0d;
    min-width: 100%;
    max-width: 100%;
  }
}

/* Code qui a réussi à colorer la somme */
.xoo-wsc-sc-cont {
  color: #FFD700 !important;
}

/* Cible l'icône du panier (la ligne qui n'a probablement pas fonctionné) */
.arm-topbar .xoo-wsc-sc-bki {
  color: #FFD700;
}

/* AJOUTEZ ce ciblage plus spécifique, au cas où */
.xoo-wsc-bki-icon-shopping-bag,
.xoo-wsc-bkc-cont .xoo-wsc-bki {
  color: #FFD700;
}

/* ======= Thème Médiéval Armurias ======= */
.arm-medieval {
  --arm-bg: #0f0e0c;
  /* noir/brun très sombre */
  --arm-panel: #171411;
  /* panneau */
  --arm-text: #e8e2d5;
  /* ivoire */
  --arm-muted: #b7ab8a;
  /* ivoire doux */
  --arm-gold: #d4af37;
  /* or */
  --arm-gold-2: #cda869;
  --arm-border: #3a332b;
  --arm-shadow: 0 10px 30px rgba(0, 0, 0, .4);
  --arm-radius: 14px;
  --arm-gap: 22px;
  background: var(--arm-bg);
  color: var(--arm-text);
  font-family: "Merriweather", Georgia, serif;
}

/* Titres */
.arm-medieval h1,
.arm-medieval h2,
.arm-medieval h3,
.arm-medieval .page-title,
.arm-medieval .section-title {
  font-family: "Cinzel", serif;
  letter-spacing: .5px;
  color: var(--arm-text);
}

/* Separateur ornemental */
.arm-medieval .arm-rule {
  height: 10px;
  margin: 18px 0 26px;
  position: relative;
  background: linear-gradient(90deg, transparent, var(--arm-gold), transparent);
}

.arm-medieval .arm-rule::before,
.arm-medieval .arm-rule::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 18px;
  height: 18px;
  transform: translateY(-50%) rotate(45deg);
  border: 2px solid var(--arm-gold);
  background: var(--arm-panel);
}

.arm-medieval .arm-rule::before {
  left: -9px;
}

.arm-medieval .arm-rule::after {
  right: -9px;
}

/* Cartouches/panneaux */
.arm-medieval .arm-panel,
.arm-medieval .woocommerce,
.arm-medieval .woocommerce-MyAccount-content,
.arm-medieval .woocommerce-MyAccount-navigation {
  background: var(--arm-panel);
  border: 1px solid var(--arm-border);
  border-radius: var(--arm-radius);
  box-shadow: var(--arm-shadow);
}

/* ===== Mon compte (WooCommerce) ===== */
.arm-medieval .woocommerce {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: var(--arm-gap);
  padding: var(--arm-gap);
}

.arm-medieval .woocommerce-MyAccount-navigation {
  padding: 16px;
}

.arm-medieval .woocommerce-MyAccount-navigation ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.arm-medieval .woocommerce-MyAccount-navigation li a {
  display: block;
  padding: 10px 12px;
  border-radius: 10px;
  color: var(--arm-text);
  text-decoration: none;
  transition: background .2s ease, color .2s ease, transform .08s ease;
}

.arm-medieval .woocommerce-MyAccount-navigation li a:hover {
  background: rgba(212, 175, 55, .08);
  color: var(--arm-gold);
  transform: translateX(2px);
}

.arm-medieval .woocommerce-MyAccount-navigation li.is-active a {
  background: rgba(212, 175, 55, .14);
  color: var(--arm-gold);
  border: 1px solid rgba(212, 175, 55, .35);
}

/* Contenu */
.arm-medieval .woocommerce-MyAccount-content {
  padding: 22px;
}

.arm-medieval .woocommerce-message,
.arm-medieval .woocommerce-error {
  background: rgba(212, 175, 55, .08);
  border: 1px solid rgba(212, 175, 55, .35);
  color: var(--arm-text);
  border-radius: 10px;
  padding: 12px 14px;
}

/* Boutons Woo */
.arm-medieval .woocommerce a.button,
.arm-medieval .woocommerce button.button,
.arm-medieval .woocommerce input.button,
.arm-medieval .button {
  background: linear-gradient(180deg, var(--arm-gold), var(--arm-gold-2));
  color: #1a1612;
  border: none;
  border-radius: 10px;
  padding: 10px 16px;
  text-transform: none;
  font-weight: 700;
  letter-spacing: .2px;
  box-shadow: 0 4px 12px rgba(212, 175, 55, .25);
}

.arm-medieval .woocommerce a.button:hover,
.arm-medieval .woocommerce button.button:hover,
.arm-medieval .woocommerce input.button:hover,
.arm-medieval .button:hover {
  filter: brightness(1.05);
}

/* Inputs / selects (Woo + Contact) */
.arm-medieval input[type="text"],
.arm-medieval input[type="email"],
.arm-medieval input[type="password"],
.arm-medieval input[type="tel"],
.arm-medieval textarea,
.arm-medieval select {
  width: 100%;
  background: #120f0c;
  color: var(--arm-text);
  border: 1px solid var(--arm-border);
  border-radius: 10px;
  padding: 10px 12px;
}

.arm-medieval ::placeholder {
  color: #8e8470;
}

/* Liens */
.arm-medieval a {
  color: var(--arm-gold);
}

.arm-medieval a:hover {
  color: #f0d773;
}

/* ===== Page Contact ===== */
.arm-medieval .arm-contact-wrap {
  max-width: 820px;
  margin: 0 auto;
  padding: var(--arm-gap);
}

.arm-medieval .arm-contact-panel {
  padding: 24px;
  background: var(--arm-panel);
  border: 1px solid var(--arm-border);
  border-radius: var(--arm-radius);
  box-shadow: var(--arm-shadow);
}

.arm-medieval .arm-contact .row {
  display: grid;
  gap: 14px;
  grid-template-columns: 1fr 1fr;
}

.arm-medieval .arm-contact .row .full {
  grid-column: 1 / -1;
}

/* Ornements pour titres */
.arm-medieval .page-title,
.arm-medieval h1.section-title {
  position: relative;
  padding-bottom: 10px;
  margin-bottom: 10px;
}

.arm-medieval .page-title::after,
.arm-medieval h1.section-title::after {
  content: "";
  display: block;
  height: 2px;
  margin-top: 12px;
  background: linear-gradient(90deg, transparent, var(--arm-gold), transparent);
}

/* Fix décalage : neutraliser le clearfix WooCommerce dans notre layout */
/* décale un peu plus le contenu vers la droite */
.arm-medieval .woocommerce {
  display: grid !important;
  grid-template-columns: 400px minmax(0, 1fr);
  /* menu plus large */
  gap: 56px;
  /* espace plus grand entre menu et contenu */
  align-items: start;
}

.arm-medieval .woocommerce::before,
.arm-medieval .woocommerce::after {
  content: none !important;
  display: none !important;
}

.arm-medieval .woocommerce-MyAccount-navigation,
.arm-medieval .woocommerce-MyAccount-content {
  margin: 0 !important;
}

/* ===== Reset tableau Mes commandes (propre et aligné) ===== */

/* 1) Tableau classique (pas de table-layout fixed ici) */
.arm-medieval .woocommerce-orders-table {
  width: 100%;
  table-layout: auto !important;
  /* remplace notre fixed précédent */
  border-collapse: separate;
  border-spacing: 0;
  /* pas d'écart entre cellules */
}

/* 2) En-têtes lisibles et alignés */
.arm-medieval .woocommerce table.shop_table thead th {
  text-align: left;
  white-space: nowrap;
  /* évite "CommandeDate..." collés */
  padding: 12px 14px;
  line-height: 1.3;
}

/* 3) Cellules : pas de casse bizarre */
.arm-medieval .woocommerce table.shop_table td {
  vertical-align: middle;
  padding: 14px;
  line-height: 1.35;
  word-break: normal;
  white-space: normal;
  /* le texte descriptif peut aller à la ligne */
}

/* 4) Largeurs de colonnes (ajuste si besoin) */
.arm-medieval .woocommerce-orders-table th:nth-child(1),
.arm-medieval .woocommerce-orders-table td:nth-child(1) {
  width: 22%;
}

/* Commande */
.arm-medieval .woocommerce-orders-table th:nth-child(2),
.arm-medieval .woocommerce-orders-table td:nth-child(2) {
  width: 18%;
}

/* Date */
.arm-medieval .woocommerce-orders-table th:nth-child(3),
.arm-medieval .woocommerce-orders-table td:nth-child(3) {
  width: 18%;
}

/* État */
.arm-medieval .woocommerce-orders-table th:nth-child(4),
.arm-medieval .woocommerce-orders-table td:nth-child(4) {
  width: 22%;
}

/* Total */

/* 5) Colonne Actions : largeur fixe + boutons compacts */
.arm-medieval .woocommerce-orders-table__header-order-actions,
.arm-medieval .woocommerce-orders-table__cell-order-actions {
  width: 160px !important;
  text-align: right;
  white-space: nowrap;
}

.arm-medieval .woocommerce-orders-table__cell-order-actions .button {
  display: inline-block;
  /* mettre "block" si tu veux en colonne verticale */
  padding: 8px 12px;
  margin-left: 6px;
}

/* 6) Le prix reste sur une ligne, le "pour 1 article" peut revenir à la ligne */
.arm-medieval td.woocommerce-orders-table__cell-order-total .woocommerce-Price-amount {
  white-space: nowrap;
}

/* Conteneur principal plus large */
.arm-medieval .site-main {
  max-width: 1400px;
  /* élargis si tu veux (1500/1600) */
  margin: 0 auto;
  padding: 0 32px;
  /* petite marge interne */
}

/* Le contenu de Mon compte ne doit plus être limité */
.arm-medieval .woocommerce-MyAccount-content {
  max-width: none;
  /* supprime la contrainte précédente */
}

/* 1. Style pour le conteneur principal */
.footer-bottom-content {
  display: flex;

  /* ALIGNEMENT : Empile les deux éléments verticalement (copyright et logos) */
  flex-direction: column;

  /* INVERSION : Place le dernier élément (logos) avant le premier (copyright) */
  flex-direction: column-reverse;

  /* Centre horizontalement les éléments empilés */
  align-items: center;

  /* Ajoute un petit espace entre les deux blocs (logos et copyright) */
  gap: 15px;
}

/* 2. Style pour le texte du copyright (centrage) */
.footer-copyright {
  /* Maintient le texte sur une seule ligne */
  white-space: nowrap;

  /* Assure que le texte est centré à l'intérieur de son propre conteneur (si nécessaire) */
  text-align: center;

  /* Supprime toute marge qui pourrait déplacer le copyright */
  margin: 0;
}

/* 3. Ajustement des icônes de paiement */
.footer-payment-icons {
  display: flex;
  align-items: center;
  gap: 10px;

  /* Centre le bloc de logos au milieu de la page */
  justify-content: center;
}

/* 4. Gestion des logos sur mobile (si nécessaire) */
@media (max-width: 480px) {
  .footer-payment-icons {
    /* Permet aux logos de passer à la ligne s'il n'y a pas assez de place sur un très petit écran */
    flex-wrap: wrap;
    justify-content: center;
  }
}

/* Élargir le menu de navigation Mon Compte */
.woocommerce-MyAccount-navigation {
  min-width: 250px !important;
  width: 250px !important;
}

/* Élargir les liens du menu */
.woocommerce-MyAccount-navigation-link a {
  padding: 18px 25px !important;
  font-size: 16px !important;
  white-space: nowrap !important;
}

/* Account page layout: only when logged in (nav + content).
   When logged out, WooCommerce shows the login/register form and this grid pushes it off-screen on mobile. */
body.logged-in.woocommerce-account .woocommerce {
  display: grid;
  grid-template-columns: 250px 1fr;
  gap: 30px;
}

/* Notices should span both columns so nav/content keep their expected positions. */
body.logged-in.woocommerce-account .woocommerce>.woocommerce-notices-wrapper {
  grid-column: 1 / -1;
}

/* Logged-out My Account page should not use the 2-column grid. */
body.woocommerce-account:not(.logged-in) .woocommerce {
  display: block !important;
}

/* Mon compte: reduire la largeur des champs (desktop) */
body.woocommerce-account:not(.logged-in) #customer_login,
body.woocommerce-account:not(.logged-in) .woocommerce form.woocommerce-form-login,
body.woocommerce-account:not(.logged-in) .woocommerce form.woocommerce-form-register,
body.woocommerce-account:not(.logged-in) .woocommerce form.lost_reset_password {
  width: 100% !important;
  max-width: 560px !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

body.woocommerce-account:not(.logged-in) #customer_login .u-column1,
body.woocommerce-account:not(.logged-in) #customer_login .u-column2,
body.woocommerce-account:not(.logged-in) #customer_login .col-1,
body.woocommerce-account:not(.logged-in) #customer_login .col-2 {
  float: none !important;
  width: 100% !important;
  max-width: 100% !important;
}

body.logged-in.woocommerce-account .woocommerce-MyAccount-content form {
  max-width: 720px !important;
}

body.logged-in.woocommerce-account .woocommerce-MyAccount-content form .form-row input.input-text,
body.logged-in.woocommerce-account .woocommerce-MyAccount-content form .form-row input[type=text],
body.logged-in.woocommerce-account .woocommerce-MyAccount-content form .form-row input[type=email],
body.logged-in.woocommerce-account .woocommerce-MyAccount-content form .form-row input[type=tel],
body.logged-in.woocommerce-account .woocommerce-MyAccount-content form .form-row input[type=password],
body.logged-in.woocommerce-account .woocommerce-MyAccount-content form .form-row select,
body.logged-in.woocommerce-account .woocommerce-MyAccount-content form .form-row textarea {
  width: 100% !important;
  max-width: 100% !important;
  box-sizing: border-box !important;
}


/* Élargir le tableau des commandes */
.woocommerce-MyAccount-content {
  width: 80% !important;
  max-width: 80% !important;
}

.woocommerce-orders-table {
  width: 100% !important;
  table-layout: auto !important;
}

/* Ajuster les colonnes du tableau */
.woocommerce-orders-table th,
.woocommerce-orders-table td {
  padding: 15px 20px !important;
}

/* Donner plus d'espace à la colonne "Commande" */
.woocommerce-orders-table .woocommerce-orders-table__cell-order-number {
  min-width: 120px !important;
}

/* Élargir la colonne "Date" */
.woocommerce-orders-table .woocommerce-orders-table__cell-order-date {
  min-width: 150px !important;
}

/* Élargir la colonne "Total" */
.woocommerce-orders-table .woocommerce-orders-table__cell-order-total {
  min-width: 130px !important;
}

/* Étirer le conteneur principal de la page Mon Compte */
.woocommerce-account .woocommerce {
  max-width: 100% !important;
  width: 100% !important;
  padding: 30px !important;
  box-sizing: border-box !important;
}

/* Étirer le conteneur avec bordure arrondie */
.woocommerce-MyAccount-content {
  padding: 30px !important;
  min-height: 500px !important;
}

/* Si c'est un article ou section parent */
.post-11.page {
  max-width: 100% !important;
}

article.page {
  max-width: 100% !important;
  padding: 0 40px !important;
}

/* Étirer la zone de contenu principale */
.site-main {
  max-width: 1400px !important;
  width: 100% !important;
  margin: 0 auto !important;
}

/* Mobile Ultra Compact */
@media (max-width: 768px) {

  /* Réduire tous les paddings */
  body {
    font-size: 14px !important;
  }

  .site-main {
    padding: 0 10px !important;
  }

  /* HEADER - Logo et menu plus petits */
  .site-header {
    padding: 10px 15px !important;
  }

  .site-logo,
  .custom-logo {
    max-width: 120px !important;
    height: auto !important;
  }

  /* MENU NAVIGATION très compact */
  .woocommerce-account .woocommerce {
    padding: 10px !important;
    gap: 15px !important;
    /* Stack nav + content on small screens (portrait). */
    grid-template-columns: 1fr !important;
  }

  /* Logged-out My Account: keep the login/register form within the viewport. */
  body.woocommerce-account:not(.logged-in) #customer_login {
    width: 100% !important;
    max-width: 100% !important;
  }

  body.woocommerce-account:not(.logged-in) #customer_login input,
  body.woocommerce-account:not(.logged-in) #customer_login select,
  body.woocommerce-account:not(.logged-in) #customer_login textarea {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  .woocommerce-MyAccount-navigation {
    padding: 10px !important;
    width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
  }

  .woocommerce-MyAccount-navigation-link a {
    padding: 10px 12px !important;
    font-size: 13px !important;
  }

  /* TITRE PAGE plus petit */
  .page-title,
  h1 {
    font-size: 20px !important;
    margin: 10px 0 !important;
    padding: 0 10px !important;
  }

  /* TABLEAU COMMANDES - Version carte ultra compacte */
  .woocommerce-MyAccount-content {
    padding: 10px !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  .woocommerce-orders-table tr {
    margin-bottom: 10px !important;
    padding: 10px !important;
  }

  .woocommerce-orders-table td {
    font-size: 12px !important;
    padding: 5px 0 !important;
    line-height: 1.4 !important;
  }

  .woocommerce-orders-table td::before {
    font-size: 11px !important;
    margin-right: 5px !important;
  }

  /* Boutons plus petits */
  .woocommerce-button {
    padding: 8px 12px !important;
    font-size: 12px !important;
    margin: 3px 0 !important;
  }

  /* FOOTER plus compact */
  .armurias-footer {
    padding: 30px 0 0 0 !important;
  }

  .footer-container {
    padding: 0 10px !important;
  }

  .footer-title {
    font-size: 14px !important;
    margin-bottom: 10px !important;
  }

  .footer-links li {
    margin-bottom: 8px !important;
    font-size: 13px !important;
  }

  /* Paiements sécurisés plus petits */
  .payment-methods {
    gap: 8px !important;
  }

  .payment-item {
    height: 45px !important;
    padding: 5px !important;
  }

  .payment-item svg {
    width: 60px !important;
    height: 35px !important;
  }

  /* Newsletter compacte */
  .footer-newsletter {
    padding: 15px !important;
    margin-top: 20px !important;
  }

  .newsletter-form input {
    padding: 8px 10px !important;
    font-size: 13px !important;
  }

  .newsletter-form button {
    padding: 8px 15px !important;
    font-size: 13px !important;
  }
}

@media (max-width: 480px) {

  /* Encore plus petit pour très petits écrans */
  body {
    font-size: 13px !important;
  }

  .site-logo,
  .custom-logo {
    max-width: 100px !important;
  }

  h1,
  .page-title {
    font-size: 18px !important;
  }

  .woocommerce-MyAccount-navigation-link a {
    padding: 8px 10px !important;
    font-size: 12px !important;
  }

  .woocommerce-orders-table td {
    font-size: 11px !important;
  }

  .woocommerce-button {
    padding: 6px 10px !important;
    font-size: 11px !important;
  }

  .footer-title {
    font-size: 13px !important;
  }

  .footer-links li {
    font-size: 12px !important;
  }
}

/* Mode paysage sur mobile */
@media (max-width: 768px) and (orientation: landscape) {
  .woocommerce-account .woocommerce {
    grid-template-columns: 200px 1fr !important;
  }

  .woocommerce-MyAccount-navigation {
    width: 200px !important;
    min-width: 200px !important;
  }
}

/* ==== Overrides: bouton panier à droite de la quantité ==== */
.single-product form.cart {
  flex-direction: row !important;
  align-items: center !important;
}

.single-product .quantity {
  margin-right: 12px;
}

.single-product .variations_button,
.single-product .woocommerce-variation-add-to-cart {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  gap: 12px !important;
}

@media (max-width:560px) {

  .single-product form.cart,
  .single-product .variations_button,
  .single-product .woocommerce-variation-add-to-cart {
    flex-wrap: wrap !important;
  }
}

/* Rating on product cards */
.armu-loop-rating .star-rating {
  margin: 6px 0 8px;
}

/* Supprimer le fond marron de la barre de recherche */
.dgwt-wcas-search-wrapp {
  background: transparent !important;
  padding: 0 !important;
  border: none !important;
}

.dgwt-wcas-search-wrapp.dgwt-wcas-has-submit {
  background: transparent !important;
  padding: 0 !important;
}

/* Si besoin de cibler plus précisément */
.dgwt-wcas-search-wrapp.woocommerce {
  background: transparent !important;
  padding: 0 !important;
}

/* Fond marron foncé uniforme pour toutes les pages */
body {
  background-color: #0a0908 !important;
  background: #0a0908 !important;
}

.site-main,
main#primary {
  background-color: #0a0908 !important;
}

/* Spécifique pour la page d'accueil */
.home .site-main,
.page-template-default .site-main {
  background-color: #0a0908 !important;
}

/* Spécifique pour les pages catégories/archive */
.archive .site-main,
.woocommerce-page .site-main,
.product-category .site-main {
  background-color: #0a0908 !important;
}

/* Container général */
.wp-site-blocks,
.site-content {
  background-color: #0a0908 !important;
}

/* ============================================
   STYLE MÉDIÉVAL UNIQUEMENT POUR PAGES LÉGALES
   Pages ciblées : 12683, 12674, 12676, 3, 12,3509,12691,12694,12696,12710
   ============================================ */

/* Cibler UNIQUEMENT les pages par leur ID */
body.page-id-12683 article,
body.page-id-12674 article,
body.page-id-12691 article,
body.page-id-12676 article,
body.page-id-3 article,
body.page-id-12 article,
body.page-id-12694 article,
body.page-id-12696 article,
body.page-id-12710 article,
body.page-id-3509 article::before {
  max-width: 1000px;
  margin: 40px auto;
  background: linear-gradient(to bottom,
      #f4e4c1 0%,
      #e8d4a8 50%,
      #f4e4c1 100%);
  border: 3px solid #8b6914;
  border-radius: 15px;
  box-shadow:
    0 0 30px rgba(139, 105, 20, 0.4),
    inset 0 0 50px rgba(101, 67, 33, 0.1);
  padding: 50px 60px;
  position: relative;
  font-family: 'Georgia', 'Times New Roman', serif;
  color: #2d1810;
}

/* Effet de texture parchemin */
body.page-id-12683 article::before,
body.page-id-12691 article::before,
body.page-id-12674 article::before,
body.page-id-12676 article::before,
body.page-id-12694 article::before,
body.page-id-12696 article::before,
body.page-id-12710 article::before,
body.page-id-3 article::before,
body.page-id-12 article::before,
body.page-id-3509 article::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image:
    repeating-linear-gradient(0deg,
      transparent,
      transparent 2px,
      rgba(101, 67, 33, 0.03) 2px,
      rgba(101, 67, 33, 0.03) 4px);
  pointer-events: none;
  border-radius: 12px;
  z-index: 1;
}

/* Coins décoratifs */
body.page-id-12683 article::after,
body.page-id-12674 article::after,
body.page-id-12691 article::after,
body.page-id-12676 article::after,
body.page-id-12694 article::after,
body.page-id-12696 article::after,
body.page-id-12710 article::after,
body.page-id-3 article::after,
body.page-id-12 article::after,
body.page-id-3509 article::before {
  content: '⚜️';
  position: absolute;
  top: 20px;
  right: 20px;
  font-size: 40px;
  opacity: 0.3;
  z-index: 2;
}

/* Contenu au-dessus */
body.page-id-12683 article>*,
body.page-id-12694 article>*,
body.page-id-12696 article>*,
body.page-id-12710 article>*,
body.page-id-12674 article>*,
body.page-id-12691 article>*,
body.page-id-12676 article>*,
body.page-id-3 article>*,
body.page-id-12 article>* body.page-id-3509 article::before {
  position: relative;
  z-index: 3;
}

/* Titre H1 - UNIQUEMENT pages légales */
body.page-id-12694 article h1 body.page-id-12696 article h1 body.page-id-12710 article h1 body.page-id-12683 article h1,
body.page-id-12674 article h1,
body.page-id-12676 article h1,
body.page-id-12691 article h1,
body.page-id-3 article h1,
body.page-id-12 article h1,
body.page-id-3509 article h1 {
  font-family: 'Cinzel', 'Georgia', serif;
  color: #8b6914;
  text-align: center;
  font-size: 42px;
  margin-bottom: 30px;
  padding-bottom: 20px;
  border-bottom: 3px double #8b6914;
  text-transform: uppercase;
  letter-spacing: 3px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

body.page-id-12694 article h1::after,
body.page-id-12696 article h1::after,
body.page-id-12710 article h1::after,
body.page-id-12683 article h1::after,
body.page-id-12674 article h1::after,
body.page-id-12691 article h1::after,
body.page-id-12676 article h1::after,
body.page-id-3 article h1::after,
body.page-id-3509 article h1::after,
body.page-id-12 article h1::after {
  content: '⚔️';
  display: block;
  text-align: center;
  font-size: 24px;
  margin-top: 15px;
  opacity: 0.6;
}

/* H2 - UNIQUEMENT pages légales */
body.page-id-12694 article h2,
body.page-id-12696 article h2,
body.page-id-12710 article h2,
body.page-id-12683 article h2,
body.page-id-12691 article h2,
body.page-id-12674 article h2,
body.page-id-12676 article h2,
body.page-id-3 article h2,
body.page-id-3509 article h2,
body.page-id-12 article h2 {
  font-family: 'Cinzel', 'Georgia', serif;
  color: #654321;
  font-size: 28px;
  margin-top: 40px;
  margin-bottom: 20px;
  padding-left: 20px;
  border-left: 5px solid #d4af6a;
  position: relative;
}

body.page-id-12694 article h2::before,
body.page-id-12696 article h2::before,
body.page-id-12710 article h2::before,
body.page-id-12683 article h2::before,
body.page-id-12674 article h2::before,
body.page-id-12691 article h2::before,
body.page-id-12676 article h2::before,
body.page-id-3 article h2::before,
body.page-id-3509 article h2::before,
body.page-id-12 article h2::before {
  content: '⚜';
  position: absolute;
  left: -5px;
  color: #d4af6a;
  font-size: 20px;
}

/* H3 - UNIQUEMENT pages légales */
body.page-id-12694 article h3,
body.page-id-12696 article h3,
body.page-id-12710 article h3,
body.page-id-12683 article h3,
body.page-id-12674 article h3,
body.page-id-12691 article h3,
body.page-id-12676 article h3,
body.page-id-3 article h3,
body.page-id-12 article h3 {
  font-family: 'Georgia', serif;
  color: #8b6914;
  font-size: 22px;
  margin-top: 30px;
  margin-bottom: 15px;
  font-style: italic;
}

/* Paragraphes - UNIQUEMENT pages légales */
body.page-id-12694 article p,
body.page-id-12696 article p,
body.page-id-12710 article p,
body.page-id-12683 article p,
body.page-id-12674 article p,
body.page-id-12691 article p,
body.page-id-12676 article p,
body.page-id-3 article p,
body.page-id-12 article p {
  font-size: 16px;
  line-height: 1.8;
  margin-bottom: 20px;
  text-align: justify;
  color: #2d1810;
}

/* Première lettre enluminée - UNIQUEMENT pages légales */
body.page-id-12694 article>p:first-of-type::first-letter,
body.page-id-12696 article>p:first-of-type::first-letter,
body.page-id-12710 article>p:first-of-type::first-letter,
body.page-id-12683 article>p:first-of-type::first-letter,
body.page-id-12674 article>p:first-of-type::first-letter,
body.page-id-12676 article>p:first-of-type::first-letter,
body.page-id-12691 article>p:first-of-type::first-letter,
body.page-id-3 article>p:first-of-type::first-letter,
body.page-id-12 article>p:first-of-type::first-letter {
  font-size: 60px;
  font-weight: bold;
  float: left;
  line-height: 50px;
  padding: 5px 10px 0 0;
  color: #8b6914;
  font-family: 'Cinzel', serif;
}

/* Tables - UNIQUEMENT pages légales */
body.page-id-12694 article table,
body.page-id-12696 article table,
body.page-id-12710 article table,
body.page-id-12683 article table,
body.page-id-12674 article table,
body.page-id-12676 article table,
body.page-id-12691 article table,
body.page-id-3 article table,
body.page-id-12 article table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  margin: 30px 0;
  background: rgba(255, 255, 255, 0.5);
  border: 2px solid #8b6914;
  border-radius: 8px;
  overflow: hidden;
}

body.page-id-12694 article th,
body.page-id-12696 article th,
body.page-id-12710 article th,
body.page-id-12683 article th,
body.page-id-12674 article th,
body.page-id-12676 article th,
body.page-id-12691 article th,
body.page-id-3 article th,
body.page-id-12 article th {
  background: linear-gradient(to bottom, #d4af6a, #b8964f);
  color: #2d1810;
  padding: 15px;
  font-family: 'Cinzel', serif;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 14px;
}

body.page-id-12694 article td,
body.page-id-12696 article td,
body.page-id-12710 article td,
body.page-id-12683 article td,
body.page-id-12674 article td,
body.page-id-12676 article td,
body.page-id-12691 article td,
body.page-id-3 article td,
body.page-id-12 article td {
  padding: 12px 15px;
  border-bottom: 1px solid #d4af6a;
}

body.page-id-12694 article tr:hover,
body.page-id-12696 article tr:hover,
body.page-id-12710 article tr:hover,
body.page-id-12683 article tr:hover,
body.page-id-12674 article tr:hover,
body.page-id-12676 article tr:hover,
body.page-id-12691 article tr:hover,
body.page-id-3 article tr:hover,
body.page-id-12 article tr:hover {
  background: rgba(212, 175, 106, 0.1);
}

/* Liens - UNIQUEMENT pages légales */
body.page-id-12694 article a,
body.page-id-12696 article a,
body.page-id-12710 article a,
body.page-id-12683 article a,
body.page-id-12674 article a,
body.page-id-12691 article a,
body.page-id-12676 article a,
body.page-id-3 article a,
body.page-id-12 article a {
  color: #8b6914;
  text-decoration: none;
  border-bottom: 1px solid #d4af6a;
  transition: all 0.3s ease;
}

body.page-id-12683 article a:hover,
body.page-id-12674 article a:hover,
body.page-id-12676 article a:hover,
body.page-id-12691 article a:hover,
body.page-id-3 article a:hover,
body.page-id-12 article a:hover {
  color: #654321;
  border-bottom: 2px solid #654321;
}

/* Listes - UNIQUEMENT pages légales */
body.page-id-12694 article ul,
body.page-id-12696 article ul,
body.page-id-12710 article ul,
body.page-id-3 article ul,
body.page-id-12 article ul,
body.page-id-12691 article ul,
body.page-id-12683 article ol,
body.page-id-12674 article ol,
body.page-id-12676 article ol,
body.page-id-12691 article ol,
body.page-id-3 article ol,
body.page-id-12 article ol {
  margin: 20px 0;
  padding-left: 40px;
}

body.page-id-12694 article li,
body.page-id-12696 article li,
body.page-id-12710 article li,
body.page-id-12683 article li,
body.page-id-12674 article li,
body.page-id-12676 article li,
body.page-id-12691 article li,
body.page-id-3 article li,
body.page-id-12 article li {
  margin-bottom: 12px;
  line-height: 1.7;

}

/* Responsive Mobile - UNIQUEMENT pages légales */
@media (max-width: 768px) {

  body.page-id-12694 article,
  body.page-id-12696 article,
  body.page-id-12710 article,
  body.page-id-12683 article,
  body.page-id-12674 article,
  body.page-id-12676 article,
  body.page-id-12691 article,
  body.page-id-3 article,
  body.page-id-12 article {
    padding: 30px 25px;
    margin: 20px 15px;
  }

  body.page-id-12694 article h1,
  body.page-id-12696 article h1,
  body.page-id-12710 article h1,
  body.page-id-12683 article h1,
  body.page-id-12674 article h1,
  body.page-id-12676 article h1,
  body.page-id-12691 article h1 body.page-id-3 article h1,
  body.page-id-12 article h1 {
    font-size: 28px;
  }
}

/* Pour la page ID 12 qui utilise div.page-content au lieu d'article */
body.page-id-12 .page-content {
  max-width: 1000px;
  margin: 40px auto;
  background: linear-gradient(to bottom,
      #f4e4c1 0%,
      #e8d4a8 50%,
      #f4e4c1 100%);
  border: 3px solid #8b6914;
  border-radius: 15px;
  box-shadow:
    0 0 30px rgba(139, 105, 20, 0.4),
    inset 0 0 50px rgba(101, 67, 33, 0.1);
  padding: 50px 60px;
  position: relative;
  font-family: 'Georgia', 'Times New Roman', serif;
  color: #2d1810;
}

body.page-id-12 .page-content::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image:
    repeating-linear-gradient(0deg,
      transparent,
      transparent 2px,
      rgba(101, 67, 33, 0.03) 2px,
      rgba(101, 67, 33, 0.03) 4px);
  pointer-events: none;
  border-radius: 12px;
  z-index: 1;
}

body.page-id-12 .page-content::after {
  content: '⚜️';
  position: absolute;
  top: 20px;
  right: 20px;
  font-size: 40px;
  opacity: 0.3;
  z-index: 2;
}

body.page-id-12 .page-content>* {
  position: relative;
  z-index: 3;
}

body.page-id-12 .page-content h1 {
  font-family: 'Cinzel', 'Georgia', serif;
  color: #8b6914;
  text-align: center;
  font-size: 42px;
  margin-bottom: 30px;
  padding-bottom: 20px;
  border-bottom: 3px double #8b6914;
  text-transform: uppercase;
  letter-spacing: 3px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

body.page-id-12 .page-content h1::after {
  content: '⚔️';
  display: block;
  text-align: center;
  font-size: 24px;
  margin-top: 15px;
  opacity: 0.6;
}

body.page-id-12 .page-content h2 {
  font-family: 'Cinzel', 'Georgia', serif;
  color: #654321;
  font-size: 28px;
  margin-top: 40px;
  margin-bottom: 20px;
  padding-left: 20px;
  border-left: 5px solid #d4af6a;
  position: relative;
}

body.page-id-12 .page-content h2::before {
  content: '⚜';
  position: absolute;
  left: -5px;
  color: #d4af6a;
  font-size: 20px;
}

body.page-id-12 .page-content h3 {
  font-family: 'Georgia', serif;
  color: #8b6914;
  font-size: 22px;
  margin-top: 30px;
  margin-bottom: 15px;
  font-style: italic;
}

body.page-id-12 .page-content p {
  font-size: 16px;
  line-height: 1.8;
  margin-bottom: 20px;
  text-align: justify;
  color: #2d1810;
}

body.page-id-12 .page-content>p:first-of-type::first-letter {
  font-size: 60px;
  font-weight: bold;
  float: left;
  line-height: 50px;
  padding: 5px 10px 0 0;
  color: #8b6914;
  font-family: 'Cinzel', serif;
}

body.page-id-12 .page-content ul li::marker {
  content: '⚔️ ';
}

body.page-id-12 .page-content a {
  color: #8b6914;
  text-decoration: none;
  border-bottom: 1px solid #d4af6a;
  transition: all 0.3s ease;
}

body.page-id-12 .page-content a:hover {
  color: #654321;
  border-bottom: 2px solid #654321;
}

body.page-id-12 .page-content table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  margin: 30px 0;
  background: rgba(255, 255, 255, 0.5);
  border: 2px solid #8b6914;
  border-radius: 8px;
  overflow: hidden;
}

body.page-id-12 .page-content th {
  background: linear-gradient(to bottom, #d4af6a, #b8964f);
  color: #2d1810;
  padding: 15px;
  font-family: 'Cinzel', serif;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 14px;
}

body.page-id-12 .page-content td {
  padding: 12px 15px;
  border-bottom: 1px solid #d4af6a;
}

/* Section Les Plus Vendus */
.bestsellers-section {
  max-width: 1400px;
  margin: 80px auto;
  padding: 60px 40px;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.3) 0%, rgba(0, 0, 0, 0.5) 100%);
  border-top: 2px solid #d4af6a;
  border-bottom: 2px solid #d4af6a;
}

.bestsellers-section .section-title {
  font-family: 'Cinzel', serif;
  color: #f4d03f;
  text-align: center;
  font-size: 48px;
  margin-bottom: 15px;
  text-transform: uppercase;
  letter-spacing: 4px;
}

.bestsellers-section .fleur-gauche,
.bestsellers-section .fleur-droite {
  font-size: 36px;
  margin: 0 15px;
  color: #d4af6a;
}

.bestsellers-section .section-subtitle {
  text-align: center;
  color: #c0c0c0;
  font-size: 18px;
  margin-bottom: 50px;
  font-style: italic;
}

/* Badge Best-Seller */
.bestseller-badge {
  background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%) !important;
  color: #000 !important;
  font-weight: bold !important;
}

/* Grille de produits */
.bestsellers-section .products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

/* Responsive */
@media (max-width: 1024px) {
  .bestsellers-section .products-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .bestsellers-section {
    padding: 40px 20px;
    margin: 40px 20px;
  }

  .bestsellers-section .section-title {
    font-size: 32px;
  }

  .bestsellers-section .products-grid {
    grid-template-columns: 1fr;
  }
}

/* Amélioration des images des produits Les Plus Vendus */
.bestsellers-section .product-card {
  background: rgba(26, 26, 26, 0.8);
  border: 2px solid #333;
  border-radius: 10px;
  overflow: hidden;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
}

.bestsellers-section .product-card:hover {
  transform: translateY(-5px);
  border-color: #d4af6a;
  box-shadow: 0 8px 25px rgba(212, 175, 106, 0.3);
}

/* Container image avec ratio fixe */
/* Image: remplissage total et zoom au survol */
.bestsellers-section .product-image-link {
  position: relative;
  width: 100%;
  height: 320px;
  /* hauteur stable pour toutes les cartes */
  overflow: hidden;
  background: #000;
  display: block;
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
  padding: 0 !important;
  /* pas d'espace autour de l'image */
  margin: 0 !important;
}

.bestsellers-section .product-image-link img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* remplit le cadre, recadre proprement */
  transform: scale(1);
  transition: transform 0.35s ease;
}

.bestsellers-section .product-card:hover .product-image-link img {
  transform: scale(1.06);
}

/* Badge Best-Seller repositionné */
/* Badge en bas à droite de la photo */
.bestsellers-section .product-badge {
  position: absolute;
  right: 12px;
  bottom: 12px;
  left: auto;
  top: auto;
  z-index: 10;
  background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%);
  color: #000;
  padding: 8px 14px;
  border-radius: 6px;
  font-weight: 800;
  font-size: 12px;
  letter-spacing: .06em;
  box-shadow: 0 6px 16px rgba(255, 215, 0, 0.35);
}

/* Zone d'informations du produit */
.bestsellers-section .product-info {
  padding: 25px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.bestsellers-section .product-title {
  font-family: 'Cinzel', serif;
  font-size: 20px;
  margin-bottom: 15px;
  min-height: 60px;
  /* Hauteur fixe pour aligner les titres */
}

.bestsellers-section .product-title a {
  color: #f4d03f;
  text-decoration: none;
  transition: color 0.3s ease;
}

.bestsellers-section .product-title a:hover {
  color: #fff;
}

.bestsellers-section .product-excerpt {
  color: #c0c0c0;
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 20px;
  flex-grow: 1;
  min-height: 80px;
  /* Hauteur min pour aligner */
}

.bestsellers-section .product-price {
  font-size: 24px;
  font-weight: bold;
  color: #d4af6a;
  margin-bottom: 20px;
  text-align: center;
}

.bestsellers-section .product-button {
  background: linear-gradient(135deg, #c79f2f 0%, #d8b24a 100%);
  /* plus foncé */
  color: #0a0908;
  text-align: center;
  padding: 12px 25px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: all 0.3s ease;
  display: block;
}

.bestsellers-section .product-button:hover {
  background: linear-gradient(135deg, #d4af37 0%, #c79f2f 100%);
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(212, 175, 106, 0.4);
}

/* Responsive */
@media (max-width: 768px) {
  .bestsellers-section .product-image-link {
    padding-top: 100%;
  }

  .bestsellers-section .product-title {
    font-size: 18px;
    min-height: auto;
  }

  .bestsellers-section .product-excerpt {
    min-height: auto;
  }
}

/* Ajustements section Les Plus Vendus - Page d'accueil */

/* Réduire la hauteur des cartes */
.bestsellers-section .product-card {
  min-height: auto;
}

/* Réduire la zone image */
.bestsellers-section .product-image-link {
  padding-top: 75%;
  /* Ratio 4:3 au lieu de 1:1 */
}

.bestsellers-section .product-image-link img {
  padding: 10px;
  /* Réduire la marge intérieure */
}

/* Réduire les infos produit */
.bestsellers-section .product-info {
  padding: 15px;
}

.bestsellers-section .product-title {
  font-size: 18px;
  min-height: 50px;
}

.bestsellers-section .product-excerpt {
  font-size: 13px;
  min-height: 60px;
  margin-bottom: 15px;
}

.bestsellers-section .product-price {
  font-size: 20px;
  margin-bottom: 15px;
}

/* Masquer le descriptif */
.bestsellers-section .product-excerpt {
  display: none;
}


/* Image visible entièrement dans le cadre */
.bestsellers-section .product-image-link {
  padding-top: 100%;
  background: #fff;
}

.bestsellers-section .product-image-link img {
  object-fit: contain;
  padding: 15px;
  width: 100%;
  height: 100%;
}

/* Réduire l'espace vide en bas */
.bestsellers-section .product-info {
  padding: 20px 15px 15px 15px;
}

.bestsellers-section .product-title {
  min-height: 45px;
  margin-bottom: 15px;
}

/* Laisser l'image en format naturel */
.bestsellers-section .product-image-link {
  padding-top: 0;
  height: 400px;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
}

.bestsellers-section .product-image-link img {
  position: static;
  transform: none;
  object-fit: contain;
  padding: 20px;
  width: auto;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
}

/* Badge "Les Plus Vendus" sur page produit individuelle */
/* Badge sous le titre */
.single-product .badge-plus-vendus-single {
  position: static;
  display: inline-block;
  background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%);
  color: #000;
  padding: 8px 16px;
  border-radius: 5px;
  font-weight: bold;
  font-size: 12px;
  letter-spacing: 1px;
  margin-bottom: 15px;
  box-shadow: 0 3px 10px rgba(255, 215, 0, 0.4);
}

/* S'assurer que le conteneur galerie est en position relative */
.single-product .woocommerce-product-gallery {
  position: relative;
}

/* Réduire drastiquement la hauteur de la gravure */
.armurias-gravure-option {
  padding: 10px 12px !important;
}

.gravure-title {
  display: none !important;
  margin: 0 !important;
}

.gravure-field {
  margin-bottom: 8px !important;
}

.gravure-field label {
  margin-bottom: 4px !important;
  font-size: 12px !important;
}

.gravure-field textarea,
.gravure-field input {
  padding: 6px 8px !important;
  font-size: 13px !important;
}

.gravure-preview {
  min-height: 60px !important;
  max-height: 80px !important;
  padding: 8px !important;
  margin: 8px 0 !important;
}

.gravure-field select {
  padding: 6px 8px !important;
  margin-bottom: 8px !important;
}

/* Réduire espacement upload fichier */
.gravure-field input[type="file"] {
  margin: 5px 0 !important;
}

/* ============================================================
   Bestsellers – zoom stable, dimensions harmonisées, badge en bas à droite
   ============================================================ */
/* Même gabarit que les cartes classiques (image ~240px) */
.bestsellers-section .product-image-link {
  padding-top: 0 !important;
  height: 320px !important;
  /* hauteur cohérente */
  display: block !important;
  overflow: hidden !important;
  background: #000 !important;
  position: relative !important;
  /* badge position context */
}

.bestsellers-section .product-image-link img {
  position: static !important;
  width: 100% !important;
  height: 100% !important;
  object-fit: contain !important;
  /* garde l'image entière */
  padding: 0 !important;
  /* supprime tout espace intérieur résiduel */
  margin: 0 !important;
  border: 0 !important;
  display: block !important;
  object-position: center center !important;
  transform: scale(1) !important;
  transition: transform .35s ease !important;
}

.bestsellers-section .product-card:hover .product-image-link img {
  transform: scale(1.06) !important;
  /* zoom léger au survol */
}

/* Badge "Les plus vendus" toujours visible en bas à droite */
.badge-plus-vendus,
.bestsellers-section .product-badge,
.bestsellers-section .product-image-link .product-badge {
  position: absolute !important;
  right: 12px !important;
  bottom: 12px !important;
  top: auto !important;
  left: auto !important;
  z-index: 2;
  opacity: 1 !important;
  visibility: visible !important;
}

/* S'assurer que la carte est la référence pour le positionnement du badge */
.bestsellers-section .product-card {
  position: relative !important;
}

/* Badge sur les cartes produit du listing (template card) */
li.product.card {
  position: relative;
}

.badge-plus-vendus {
  top: 12px !important;
  right: 12px !important;
  bottom: auto !important;
}

/* Téléphone dans la topbar */
.topbar-phone {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-left: 20px;
  white-space: nowrap;
  color: #f4d03f !important;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s ease;
}

.topbar-phone:hover {
  color: #fff !important;
}

/* Icône téléphone (remplace le style inline dans header.php) */
.topbar-phone-icon {
  font-size: 18px;
  line-height: 1;
}

/* Mon Compte dans la topbar */
.topbar-account {
  margin-left: auto;
  color: #d4af37 !important;
  white-space: nowrap;
}

/* ========================================
   ÉLARGISSEMENT PAGE D'ACCUEIL
   ======================================== */

/* Élargir tous les conteneurs principaux */
.site-main,
.page-container,
body.home main,
.home .site-content {
  max-width: 18000px !important;
  margin: 0 auto;
}

/* Élargir le hero */
.hero-section,
.product-top-section {
  max-width: 1700px !important;
  margin: 0 auto;
  padding: 0 40px;
}

/* Élargir les collections */
.collections-section,
.bestsellers-section {
  max-width: 1700px !important;
  margin: 0 auto;
}

/* Grilles de produits plus larges */
.products-grid,
.collections-grid {
  max-width: 1700px !important;
  gap: 35px !important;
}

/* ========================================
   AMÉLIORATION DES CONTRASTES
   ======================================== */

/* Textes plus lisibles */
.section-subtitle,
.home p,
.product-excerpt {
  color: #e8e8e8 !important;
}

/* Titres sections encore plus visibles */
.home h2,
.section-title {
  color: #f4d03f !important;
  text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.7);
}

/* Sous-titres en or plus clair */
.home h3 {
  color: #ffd966 !important;
}

/* Description produits plus contrastée */
.product-card p,
.collection-card p {
  color: #d0d0d0 !important;
}

/* Prix bien visible */
.product-price,
.price {
  color: #f4d03f !important;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

/* ========================================
   ESPACEMENT ET RESPIRATION
   ======================================== */

/* Espacer les sections principales */
.home section,
.collections-section,
.bestsellers-section {
  padding: 100px 40px !important;
  margin-bottom: 60px;
}

/* Plus d'espace dans les grilles */
.collections-grid {
  gap: 45px !important;
}

.products-grid {
  gap: 40px !important;
}

/* Espacer les cartes produits */
.product-card,
.collection-card {
  margin-bottom: 30px;
}

/* Plus d'air dans le hero */
.hero-section {
  padding: 120px 40px !important;
}

/* Espacer les titres de sections */
.section-title {
  margin-bottom: 50px !important;
}

.section-subtitle {
  margin-bottom: 60px !important;
}

/* Boutons plus aérés */
.product-button,
.wp-block-button__link {
  padding: 14px 30px !important;
  margin: 15px 0 !important;
}

/* Réduire hauteur section Nos Engagements */
.section.dark {
  padding: 30px 30px !important;
}

.features {
  gap: 20px !important;
}

.features>div {
  padding: 25px 20px !important;
  min-height: auto !important;
}

.section-title.center {
  margin-bottom: 40px !important;
}

/* Réduire l'espace au-dessus de "Les Plus Vendus" */
.bestsellers-section {
  padding-top: 40px !important;
  margin-top: -40px !important;
}

.bestsellers-section .section-title {
  margin-top: 0 !important;
  padding-top: 0 !important;
}

/* Réduire espace entre Collections et Nouveautés */
#collections+section {
  padding-top: 40px !important;
  margin-top: -40px !important;
}

/* Badge Cusrev flottant en bas à droite */
.cusrev-floating-badge {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 9999;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  border-radius: 8px;
  transition: transform 0.3s ease;
}

.cusrev-floating-badge:hover {
  transform: translateY(-5px);
}

/* Responsive */
@media (max-width: 768px) {
  .cusrev-floating-badge {
    bottom: 10px;
    right: 10px;
    transform: scale(0.8);
  }
}

/* Réduire la taille du badge Cusrev */
.cusrev-floating-badge {
  transform: scale(0.7);
  transform-origin: bottom right;
}

.cusrev-floating-badge:hover {
  transform: scale(0.75) translateY(-5px);
}

/* Mobile encore plus petit */
@media (max-width: 768px) {
  .cusrev-floating-badge {
    transform: scale(0.5);
  }
}

/* Déplacer le badge Cusrev à gauche du panier */
.cusrev-floating-badge {
  position: fixed;
  bottom: 20px;
  right: 90px;
  /* Décalé à gauche du panier */
  z-index: 9998;
  /* Sous le panier */
}

/* Ajuster pour mobile */
@media (max-width: 768px) {
  .cusrev-floating-badge {
    right: 70px;
    bottom: 15px;
  }
}

/* CusRev trustbadge (floating badge): keep stars inside the badge */
.cusrev-floating-badge .cr-badge.badge-vs {
  /* CusRev can output a fixed inline width; allow the badge to size to its content. */
  width: auto !important;
  width: max-content !important;
}

.cusrev-floating-badge .cr-badge.badge-vs .badge__info {
  /* Flex items default to min-width:auto; allow shrinking when needed. */
  min-width: 0;
}

.cusrev-floating-badge .cr-badge.badge-vs .badge__info.badge__nowrap {
  /* If the badge is constrained, wrapping is better than overflowing out of the bubble. */
  white-space: normal !important;
}

.cusrev-floating-badge .cr-badge.badge-vs .badge__details,
.cusrev-floating-badge .cr-badge.badge-vs .badge__rating-line {
  flex-wrap: wrap;
}

.cusrev-floating-badge .cr-badge.badge-vs .badge__rating-line {
  justify-content: flex-start;
  gap: 6px;
}

.cusrev-floating-badge .cr-badge.badge-vs .badge__reviews {
  margin-left: 6px;
  padding: 6px 14px 5px;
}

/* ====== Layout global ====== */
.armu-reviews-hub {
  display: grid;
  grid-template-columns: minmax(0, 2.2fr) minmax(380px, 1fr);
  /* grille + colonne avis */
  gap: 24px;
  align-items: start;
}

/* ====== Grid produits ====== */
.armu-rev-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 16px;
}

.armu-rev-card {
  background: var(--arm-panel, #12100e);
  border: 1px solid var(--arm-border, #3a332b);
  border-radius: 12px;
  overflow: hidden;
}

.armu-rev-card a {
  color: inherit;
  text-decoration: none;
  display: block
}

.armu-card-thumb {
  width: 100%;
  height: auto;
  display: block
}

.armu-card-title {
  font-size: 1rem;
  line-height: 1.25;
  margin: .6rem .8rem
}

.armu-card-stars {
  margin: .2rem .8rem .9rem;
  display: flex;
  align-items: center;
  gap: .45rem;
  flex-wrap: wrap;
}

/* Couleur des étoiles Woo ET Cusrev */
.armu-card-stars .star-rating,
.armu-card-stars .star-rating::before,
.armu-card-stars .star-rating span::before {
  color: #E6C34A
}

.armu-card-stars .cr-stars,
.armu-card-stars .cr-rating,
.armu-card-stars svg {
  color: #E6C34A;
  fill: #E6C34A
}

.armu-count {
  opacity: .8;
  font-size: .92rem
}

/* ====== Colonne droite : flux d'avis ====== */
.armu-rev-stream {
  min-width: 380px;
  max-height: 72vh;
  overflow: auto;
  border: 1px solid var(--arm-border, #3a332b);
  border-radius: 12px;
  padding: 12px;
  background: var(--arm-panel, #12100e);
  scroll-behavior: smooth;
  /* douceur quand on remonte en haut */
}

/* --- Right column: make the <a> the grid container --- */
.armu-rev-item {
  padding: 12px 10px;
  border-bottom: 1px solid #2a241f;
}

.armu-rev-item:last-child {
  border-bottom: none;
}

/* The anchor wraps image + meta => grid here */
.armu-rev-item>a {
  display: grid;
  grid-template-columns: 60px 1fr;
  align-items: start;
  column-gap: 12px;
  row-gap: 4px;
  color: inherit;
  text-decoration: none;
}

/* Thumbnail + text blocks */
.armu-rev-thumb {
  width: 60px;
  height: 60px;
  object-fit: cover;
  border-radius: 6px;
  display: block;
}

.armu-rev-meta {
  display: grid;
  grid-template-columns: 1fr;
  gap: 4px;
  overflow-wrap: break-word;
  /* avoid aggressive letter-by-letter breaks */
  word-break: normal;
}

/* Neutralise Woo float on rating */
.armu-rev-meta .star-rating {
  float: none !important;
  display: inline-block;
  margin: 0;
  line-height: 1
}

.armu-rev-meta .star-rating,
.armu-rev-meta .star-rating::before,
.armu-rev-meta .star-rating span::before {
  color: #E6C34A;
  font-size: .95rem;
}

.armu-rev-text {
  margin: .25rem 0 .35rem;
  color: #d9d0bf;
  font-size: .95rem;
}

.armu-rev-item:last-child {
  border-bottom: none
}

.armu-rev-thumb {
  width: 60px;
  height: 60px;
  object-fit: cover;
  border-radius: 6px;
  display: block;
}

.armu-rev-meta {
  display: grid;
  grid-template-columns: 1fr;
  gap: 4px;
  overflow-wrap: anywhere;
  white-space: normal;
}

/* Fix du float Woo pour les étoiles dans la colonne avis */
.armu-rev-meta .star-rating {
  float: none !important;
  display: inline-block;
  margin: 0;
  line-height: 1
}

.armu-rev-meta .star-rating,
.armu-rev-meta .star-rating::before,
.armu-rev-meta .star-rating span::before {
  color: #E6C34A;
  font-size: .95rem
}

.armu-rev-text {
  margin: .25rem 0 .35rem;
  color: #d9d0bf;
  font-size: .95rem
}

/* ====== Pagination (tout en bas) ====== */
.armu-pagination--bottom {
  grid-column: 1 / -1;
  margin-top: 22px;
  display: flex;
  justify-content: center;
}

.armu-pagination--bottom ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.armu-pagination--bottom li {
  border: 1px solid #3a332b;
  border-radius: 8px;
  overflow: hidden
}

.armu-pagination--bottom a,
.armu-pagination--bottom span {
  display: block;
  padding: 6px 10px
}

/* ====== Responsive ====== */
@media (max-width:980px) {
  .armu-reviews-hub {
    grid-template-columns: 1fr
  }

  .armu-rev-stream {
    max-height: none;
    min-width: 0
  }
}

/* Désactive le gradient et utilise la couleur */
.arm-header .nav-line a {
  background: none;
  -webkit-background-clip: initial;
  -webkit-text-fill-color: initial;
  color: var(--arm-text, #f0e7cf);
  /* ou var(--arm-gold, #d4af37) si tu veux or */
  font-weight: 700;
  text-shadow: 0 1px 0 #000;
}

.arm-header .nav-line a:hover {
  color: var(--arm-gold, #d4af37);
}

/* Enlève les soulignements dans la topbar et le menu */
.arm-topbar a,
.arm-header .nav-line a,
.arm-topbar a:where(:not(.wp-element-button)),
.arm-header .nav-line a:where(:not(.wp-element-button)) {
  text-decoration: none;
}

/* Pas d'underline au survol non plus */
.arm-topbar a:hover,
.arm-header .nav-line a:hover {
  text-decoration: none;
}

/* Si tu avais l'effet de soulignement via ::after, on le coupe */
.arm-header .nav-line a::after {
  display: none;
}

/* Nouveautés : réduire le recadrage des images */
section[aria-labelledby="h-new"] .p-img {
  /* augmente la hauteur relative du cadre : 4/3, 3/2, 5/4… à tester */
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: 14px;
  background: #111;
}

section[aria-labelledby="h-new"] .p-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  /* garde l'image entière */
  object-position: center;
  /* centre l'image dans le cadre */
}

/* --- NOUVEAUTÉS : simplifier la carte et booster le bouton --- */

/* 1) Cacher la description dans la section Nouveautés */
section[aria-labelledby="h-new"] .p-desc {
  display: none !important;
}

/* Titre + prix un peu plus nets */
section[aria-labelledby="h-new"] .p-name {
  font-size: clamp(18px, 2.2vw, 22px);
  line-height: 1.25;
  margin: .55rem 0 .25rem;
}

section[aria-labelledby="h-new"] .p-price {
  color: #E6C34A;
  font-weight: 700;
  letter-spacing: .02em;
  margin: .25rem 0 .9rem;
}

/* ===========================
   NOUVEAUTÉS – images & boutons
   =========================== */

/* 0) Scoping selector: the section that has the title "Nouveautés" */

/* 1) Cacher la description si elle existe encore dans ce bloc */
section[aria-labelledby="h-new"] .p-desc {
  display: none !important;
}

/* 2) Images : hauteur harmonisée + crop propre */
section[aria-labelledby="h-new"] .p-img,
section[aria-labelledby="h-new"] .p-card .p-img,
section[aria-labelledby="h-new"] .p-card a.woocommerce-LoopProduct-link,
section[aria-labelledby="h-new"] .p-card a.woocommerce-LoopProduct-link .wp-post-image {
  display: block;
  width: 100%;
  overflow: hidden;
  border-radius: 12px;
  /* joli arrondi */
}

/* Image elle-même */
section[aria-labelledby="h-new"] .p-img img,
section[aria-labelledby="h-new"] .p-card img,
section[aria-labelledby="h-new"] .p-card .wp-post-image {
  width: 100%;
  height: 100%;
  max-height: 100%;
  /* l'image respecte le cadre */
  object-fit: contain;
  object-position: center center;
  display: block;
  background: #111;
}

/* Spécifique Woo: prioritaire sans !important */
section[aria-labelledby="h-new"] .p-card a.woocommerce-LoopProduct-link img,
section[aria-labelledby="h-new"] .p-card a.woocommerce-LoopProduct-link .wp-post-image {
  width: 100%;
  height: 100%;
  max-height: 100%;
  object-fit: contain;
  object-position: center center;
  display: block;
  background: #111;
}

/* Override thème (si un object-fit: cover est forcé ailleurs) */
section[aria-labelledby="h-new"] img.wp-post-image,
section[aria-labelledby="h-new"] a.woocommerce-LoopProduct-link img {
  object-fit: contain !important;
  object-position: center center !important;
  background: #111;
}

/* 3) Titre & prix un peu plus propres (optionnel) */
section[aria-labelledby="h-new"] .p-name {
  font-size: clamp(18px, 2.2vw, 22px);
  line-height: 1.25;
  margin: .65rem 0 .25rem;
}

section[aria-labelledby="h-new"] .p-price {
  color: #E6C34A;
  font-weight: 700;
  letter-spacing: .02em;
  margin: .25rem 0 .9rem;
}

/* 4) Boutons (WooCommerce) : doré + relief + hover – version compacte */
section[aria-labelledby="h-new"] a.button,
section[aria-labelledby="h-new"] .wp-element-button,
section[aria-labelledby="h-new"] .add_to_cart_button,
section[aria-labelledby="h-new"] .product_type_variable,
section[aria-labelledby="h-new"] .single_add_to_cart_button {
  --gold1: #f7e1a2;
  --gold2: #e2bf64;
  --gold3: #b88f2e;
  --goldBorder: #b4862b;

  display: inline-flex;
  /* au lieu de flex */
  align-items: center;
  justify-content: center;
  gap: .6rem;

  width: auto;
  /* au lieu de 100% */
  min-width: clamp(180px, 60%, 320px);
  /* largeur mini agréable */
  max-width: 90%;
  /* ne déborde jamais */
  padding: 12px 18px;
  /* un peu plus fin */
  margin: 10px auto 0;
  /* centré dans la carte */

  border-radius: 12px;
  border: 1px solid var(--goldBorder) !important;
  background: linear-gradient(180deg, var(--gold1) 0%, var(--gold2) 60%, var(--gold3) 100%) !important;
  color: #1a130c !important;
  text-transform: uppercase;
  letter-spacing: .04em;
  font-weight: 800;

  box-shadow: 0 6px 18px rgba(0, 0, 0, .35), inset 0 1px 0 rgba(255, 255, 255, .55);
  transition: transform .12s ease, box-shadow .2s ease, filter .2s ease;
  text-decoration: none !important;
}

/* Icône panier avant le texte (identique) */
section[aria-labelledby="h-new"] a.button::before,
section[aria-labelledby="h-new"] .wp-element-button::before {
  content: "";
  width: 18px;
  height: 18px;
  background: center / contain no-repeat url("data:image/svg+xml;utf8,\
<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%231a130c'>\
<path d='M7 4h-2a1 1 0 0 0 0 2h1l1.6 8.1A2 2 0 0 0 9.5 16h7a2 2 0 0 0 2-1.6l1.2-6A1 1 0 0 0 18.7 7H8.2L8 6a2 2 0 0 0-2-2zM9 20a1.5 1.5 0 1 0 0-3 1.5 1.5 0 0 0 0 3zm8 0a1.5 1.5 0 1 0 0-3 1.5 1.5 0 0 0 0 3z'/>\
</svg>");
}

/* Hover/active (inchangé) */
section[aria-labelledby="h-new"] a.button:hover,
section[aria-labelledby="h-new"] .wp-element-button:hover {
  filter: brightness(1.05);
  box-shadow: 0 10px 22px rgba(0, 0, 0, .45), inset 0 1px 0 rgba(255, 255, 255, .6);
  transform: translateY(-1px);
}

section[aria-labelledby="h-new"] a.button:active,
section[aria-labelledby="h-new"] .wp-element-button:active {
  filter: brightness(.98);
  transform: translateY(0);
  box-shadow: 0 5px 12px rgba(0, 0, 0, .35), inset 0 1px 0 rgba(255, 255, 255, .4);
}

/* ===== Sélection Promos ===== */
#promos .grid.products {
  /* reprend le même type de grille que nouveautés */
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}

#promos .p-card {
  position: relative;
  background: var(--arm-panel, #12100e);
  border: 1px solid var(--arm-border, #3a332b);
  border-radius: 14px;
  overflow: hidden;
}

/* Badge promo (-%) */
.badge.badge--promo {
  position: absolute;
  top: .6rem;
  right: .6rem;
  padding: .28rem .6rem;
  border-radius: 999px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .02em;
  color: #fff;
  background: #b80d0d;
  border: 1px solid #f5c267;
  box-shadow: 0 8px 16px rgba(0, 0, 0, .35);
}

/* Prix promo : met en valeur le prix remisé */
#promos .p-price--promo del {
  opacity: .6;
  margin-right: .35rem;
}

#promos .p-price--promo ins {
  text-decoration: none;
  color: #f4d03f;
  background: linear-gradient(180deg, #f7e1a2, #e2bf64);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 800;
}

/* Harmonise les boutons dans la section Promos
   (réutilise ton style doré version compacte) */
#promos a.button,
#promos .wp-element-button,
#promos .add_to_cart_button,
#promos .product_type_variable,
#promos .single_add_to_cart_button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .6rem;
  width: auto;
  min-width: clamp(180px, 60%, 320px);
  max-width: 90%;
  padding: 12px 18px;
  margin: 10px auto 0;
  border-radius: 12px;
  border: 1px solid #b4862b !important;
  background: linear-gradient(180deg, #f7e1a2 0%, #e2bf64 60%, #b88f2e 100%) !important;
  color: #1a130c !important;
  text-transform: uppercase;
  letter-spacing: .04em;
  font-weight: 800;
  box-shadow: 0 6px 18px rgba(0, 0, 0, .35), inset 0 1px 0 rgba(255, 255, 255, .55);
  transition: transform .12s ease, box-shadow .2s ease, filter .2s ease;
  text-decoration: none !important;
}

#promos a.button:hover,
#promos .wp-element-button:hover {
  filter: brightness(1.05);
  box-shadow: 0 10px 22px rgba(0, 0, 0, .45), inset 0 1px 0 rgba(255, 255, 255, .6);
  transform: translateY(-1px)
}

#promos a.button:active,
#promos .wp-element-button:active {
  filter: brightness(.98);
  transform: translateY(0);
  box-shadow: 0 5px 12px rgba(0, 0, 0, .35), inset 0 1px 0 rgba(255, 255, 255, .4)
}

/* Laisse respirer le bas de l'image comme pour Nouveautés */
#promos .p-body {
  padding-top: .9rem;
}

/* ===== Palette (reprend ton doré/noir) ===== */
:root {
  --arm-gold: #c6a25d;
  --arm-gold-strong: #d9b46c;
  --arm-card: #1b1510;
  --arm-text: #e9e3d7;
  --arm-muted: #b7a992;
  --arm-border: rgba(255, 255, 255, .06);
  --arm-shadow: 0 6px 20px rgba(0, 0, 0, .35);
}

/* ===== Bloc Panier vide (Cart Block) ===== */
body.woocommerce-cart .wp-block-woocommerce-empty-cart-block {
  margin: 0 auto;
  max-width: 1200px;
  padding: 0 16px 32px;
}

/* Titre "panier vide" */
body.woocommerce-cart .wp-block-woocommerce-empty-cart-block .wc-block-cart__empty-cart__title {
  text-align: center;
  color: var(--arm-muted);
  font-size: clamp(18px, 2vw, 20px);
  letter-spacing: .08em;
  margin-bottom: 10px;
}

/* Séparateur en points → un peu plus discret */
body.woocommerce-cart .wp-block-woocommerce-empty-cart-block hr.is-style-dots {
  opacity: .35;
  max-width: 120px;
  margin: 8px auto 18px;
}

/* Titre "Découvrez nos armes et armures" en doré, uppercase */
body.woocommerce-cart .wp-block-woocommerce-empty-cart-block h2.wp-block-heading {
  text-align: center;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--arm-gold);
  font-weight: 700;
  font-size: clamp(22px, 2.6vw, 32px);
  margin: 10px 0 16px;
}

/* ===== Grille produits (Woo Blocks) ===== */
body.woocommerce-cart .wp-block-woocommerce-empty-cart-block .wc-block-grid {
  /* retire les espacements par défaut un peu lâches */
  margin-top: .5rem;
}

/* Force une vraie grille fluide 4 → 1 colonnes auto-fit */
body.woocommerce-cart .wp-block-woocommerce-empty-cart-block .wc-block-grid__products {
  display: grid !important;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: clamp(14px, 2vw, 24px);
  align-items: stretch;
}

/* Carte produit */
body.woocommerce-cart .wp-block-woocommerce-empty-cart-block .wc-block-grid__product {
  background: linear-gradient(180deg, var(--arm-card), rgba(0, 0, 0, 0));
  border: 1px solid var(--arm-border);
  border-radius: 14px;
  padding: 14px;
  box-shadow: var(--arm-shadow);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
  position: relative;
  overflow: hidden;
}

body.woocommerce-cart .wp-block-woocommerce-empty-cart-block .wc-block-grid__product:hover,
body.woocommerce-cart .wp-block-woocommerce-empty-cart-block .wc-block-grid__product:focus-within {
  transform: translateY(-4px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, .45);
  border-color: rgba(198, 162, 93, .35);
}

/* Image carrée + cover */
body.woocommerce-cart .wp-block-woocommerce-empty-cart-block .wc-block-grid__product-image img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 10px;
  display: block;
  background: #0f0d0a;
}

/* Titre produit : deux lignes max */
body.woocommerce-cart .wp-block-woocommerce-empty-cart-block .wc-block-grid__product-title {
  color: var(--arm-text);
  font-weight: 600;
  font-size: clamp(14px, 1.6vw, 16px);
  line-height: 1.25;
  margin: 10px 0 6px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 2.6em;
  text-align: center;
}

/* Prix lisible */
body.woocommerce-cart .wp-block-woocommerce-empty-cart-block .wc-block-grid__product-price {
  color: var(--arm-gold-strong);
  font-weight: 700;
  font-size: clamp(14px, 1.6vw, 16px);
  margin-bottom: .6rem;
  text-align: center;
}

/* Bouton "Ajouter au panier" noir/doré, full-width */
body.woocommerce-cart .wp-block-woocommerce-empty-cart-block .wp-block-button .wp-block-button__link,
body.woocommerce-cart .wp-block-woocommerce-empty-cart-block .wc-block-components-product-button__button {
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  padding: .75rem 1rem;
  border-radius: 10px;
  background: #0e0d0b;
  border: 1px solid var(--arm-gold);
  color: var(--arm-gold) !important;
  text-transform: none;
  letter-spacing: .02em;
  transition: background .18s ease, color .18s ease, transform .18s ease, border-color .18s ease;
}

body.woocommerce-cart .wp-block-woocommerce-empty-cart-block .wp-block-button .wp-block-button__link:hover,
body.woocommerce-cart .wp-block-woocommerce-empty-cart-block .wc-block-components-product-button__button:hover,
body.woocommerce-cart .wp-block-woocommerce-empty-cart-block .wp-block-button .wp-block-button__link:focus-visible,
body.woocommerce-cart .wp-block-woocommerce-empty-cart-block .wc-block-components-product-button__button:focus-visible {
  background: var(--arm-gold);
  color: #1a1a1a !important;
  transform: translateY(-1px);
  border-color: var(--arm-gold);
}

/* Badge promo Woo Blocks */
body.woocommerce-cart .wp-block-woocommerce-empty-cart-block .wc-block-components-sale-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  background: var(--arm-gold);
  color: #1a1a1a;
  border-radius: 999px;
  padding: .35rem .6rem;
  font-weight: 700;
  font-size: 12px;
}

/* Mobile serré */
@media (max-width:480px) {
  body.woocommerce-cart .wp-block-woocommerce-empty-cart-block .wc-block-grid__products {
    gap: 12px;
  }

  body.woocommerce-cart .wp-block-woocommerce-empty-cart-block .wc-block-grid__product {
    padding: 12px;
    border-radius: 12px;
  }
}

/* ==== Correctif "cartes trop étroites" (Woo Blocks) ==== */
body.woocommerce-cart .wp-block-woocommerce-empty-cart-block .wc-block-grid__products {
  /* on impose notre grille et on désactive le flex interne */
  display: grid !important;
  grid-template-columns: repeat(4, minmax(220px, 1fr));
  gap: clamp(14px, 2vw, 24px);
}

body.woocommerce-cart .wp-block-woocommerce-empty-cart-block .wc-block-grid__products .wc-block-grid__product {
  /* Woo Blocks met flex:1 0 calc(...); width:calc(...); => on neutralise */
  flex: initial !important;
  width: auto !important;
  max-width: none !important;
  margin: 0 !important;
  box-sizing: border-box;
  display: flex;
  /* structure verticale propre */
  flex-direction: column;
  height: 100%;
}

/* Assure que tous les sous-éléments utilisent la pleine largeur de la carte */
body.woocommerce-cart .wp-block-woocommerce-empty-cart-block .wc-block-grid__product-inner,
body.woocommerce-cart .wp-block-woocommerce-empty-cart-block .wc-block-grid__product-link,
body.woocommerce-cart .wp-block-woocommerce-empty-cart-block .wc-block-grid__product-image,
body.woocommerce-cart .wp-block-woocommerce-empty-cart-block .wc-block-grid__product-title,
body.woocommerce-cart .wp-block-woocommerce-empty-cart-block .wc-block-grid__product-price,
body.woocommerce-cart .wp-block-woocommerce-empty-cart-block .wc-block-grid__product-add-to-cart {
  width: 100% !important;
}

/* Image carrée et grande (les thumbnails Woo s'agrandissent correctement) */
body.woocommerce-cart .wp-block-woocommerce-empty-cart-block .wc-block-grid__product-image img {
  width: 100% !important;
  height: auto !important;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  display: block;
  border-radius: 10px;
}

/* Titre & prix centrés (deux lignes max sur le titre) */
body.woocommerce-cart .wp-block-woocommerce-empty-cart-block .wc-block-grid__product-title {
  text-align: center;
  color: var(--arm-text);
  font-weight: 600;
  font-size: clamp(14px, 1.6vw, 16px);
  line-height: 1.25;
  margin: 10px 0 6px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 2.6em;
}

body.woocommerce-cart .wp-block-woocommerce-empty-cart-block .wc-block-grid__product-price {
  text-align: center;
  color: var(--arm-gold-strong);
  font-weight: 700;
  font-size: clamp(14px, 1.6vw, 16px);
  margin-bottom: .6rem;
  margin-top: auto;
  /* pousse le bouton en bas */
}

/* Bouton pleine largeur, noir/doré */
body.woocommerce-cart .wp-block-woocommerce-empty-cart-block .wc-block-components-product-button__button,
body.woocommerce-cart .wp-block-woocommerce-empty-cart-block .wp-block-button .wp-block-button__link {
  width: 70%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  padding: .75rem 1rem;
  border-radius: 20px;
  background: #0e0d0b;
  border: 1px solid var(--arm-gold);
  color: var(--arm-gold) !important;
  text-transform: none;
  letter-spacing: .02em;
  transition: background .18s, color .18s, transform .18s, border-color .18s;
  white-space: normal;
  /* évite la compression du texte */
}

body.woocommerce-cart .wp-block-woocommerce-empty-cart-block .wc-block-components-product-button__button:hover,
body.woocommerce-cart .wp-block-woocommerce-empty-cart-block .wp-block-button .wp-block-button__link:hover,
body.woocommerce-cart .wp-block-woocommerce-empty-cart-block .wc-block-components-product-button__button:focus-visible,
body.woocommerce-cart .wp-block-woocommerce-empty-cart-block .wp-block-button .wp-block-button__link:focus-visible {
  background: var(--arm-gold);
  color: #1a1a1a !important;
  transform: translateY(-1px);
  border-color: var(--arm-gold);
}

/* Optionnel : si tu veux 3 colonnes sous 1100px et 2 sous 760px */
@media (max-width: 1100px) {
  body.woocommerce-cart .wp-block-woocommerce-empty-cart-block .wc-block-grid__products {
    grid-template-columns: repeat(3, minmax(220px, 1fr));
  }
}

@media (max-width: 760px) {
  body.woocommerce-cart .wp-block-woocommerce-empty-cart-block .wc-block-grid__products {
    grid-template-columns: repeat(2, minmax(160px, 1fr));
  }
}

@media (max-width: 420px) {
  body.woocommerce-cart .wp-block-woocommerce-empty-cart-block .wc-block-grid__products {
    grid-template-columns: 1fr;
  }
}

/* Fond noir pour le menu déroulant des variations de produits */
.variations select,
.variations_form select,
select[name*="attribute"],
.single-product select {
  background-color: #000000 !important;
  color: #ffffff !important;
  border: 1px solid #333333 !important;
}

/* Options du menu déroulant */
.variations select option,
select[name*="attribute"] option {
  background-color: #000000 !important;
  color: #ffffff !important;
}

/* Au survol */
.variations select:hover,
.variations select:focus {
  background-color: #1a1a1a !important;
  border-color: #666666 !important;
}

/* Flèche du select (si nécessaire) */
.variations select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23ffffff' d='M6 9L1 4h10z'/%3E%3C/svg%3E") !important;
  background-repeat: no-repeat !important;
  background-position: right 10px center !important;
}

/* Bouton "Explorer nos époques" en noir */
.btn.btn-primary {
  background-color: #000000 !important;
  color: #D4AF37 !important;
  border: 2px solid #D4AF37 !important;
}

/* Au survol */
.btn.btn-primary:hover {
  background-color: #1a1a1a !important;
  border-color: #FFD700 !important;
  color: #FFD700 !important;
}

/* Tableau de commande - lignes dorées */
.shop_table.woocommerce-checkout-review-order-table,
.shop_table.woocommerce-checkout-review-order-table th,
.shop_table.woocommerce-checkout-review-order-table td {
  border-color: #d4af6a !important;
}

.shop_table.woocommerce-checkout-review-order-table thead tr,
.shop_table.woocommerce-checkout-review-order-table tbody tr {
  border-bottom: 1px solid #d4af6a !important;
}

/* Ligne Total */
.shop_table.woocommerce-checkout-review-order-table tfoot {
  border-top: 2px solid #d4af6a !important;
}

.shop_table.woocommerce-checkout-review-order-table tfoot tr {
  border-bottom: 1px solid #d4af6a !important;
}

/* Afficher les miniatures produits dans le tableau de commande */
.shop_table.woocommerce-checkout-review-order-table .product-name::before {
  content: '';
  display: inline-block;
  width: 60px;
  height: 60px;
  margin-right: 15px;
  vertical-align: middle;
  background-size: cover;
  background-position: center;
  border: 2px solid #d4af6a;
}

/* Images pour chaque ligne */
.shop_table.woocommerce-checkout-review-order-table tbody tr {
  position: relative;
}

.shop_table.woocommerce-checkout-review-order-table .product-thumbnail {
  display: inline-block !important;
  width: 60px;
  height: 60px;
  margin-right: 15px;
  vertical-align: middle;
}

.shop_table.woocommerce-checkout-review-order-table .product-thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border: 2px solid #d4af6a;
}

/* Cacher les cadres vides */
.shop_table.woocommerce-checkout-review-order-table .product-name::before {
  display: none !important;
}

/* Styler les vraies images produits */
.shop_table.woocommerce-checkout-review-order-table .product-name img {
  width: 60px !important;
  height: 60px !important;
  object-fit: cover !important;
  border: 2px solid #d4af6a !important;
  margin-right: 15px !important;
  vertical-align: middle !important;
  display: inline-block !important;
}

/* Alignement du texte */
.shop_table.woocommerce-checkout-review-order-table .product-name {
  display: flex !important;
  align-items: center !important;
}

/* Étirer le tableau de commande */
.shop_table.woocommerce-checkout-review-order-table {
  width: 100% !important;
}

/* Ajuster les colonnes */
.shop_table.woocommerce-checkout-review-order-table th.product-name,
.shop_table.woocommerce-checkout-review-order-table td.product-name {
  width: 60% !important;
}

.shop_table.woocommerce-checkout-review-order-table th.product-total,
.shop_table.woocommerce-checkout-review-order-table td.product-total {
  width: 40% !important;
  text-align: right !important;
  padding-right: 20px !important;
}

/* Container parent */
.woocommerce-checkout-review-order {
  width: 100% !important;
}

/* Réduire la hauteur du hero Armurias */
.hero,
.site-hero,
section.hero,
.front-page-hero {
  /*
    IMPORTANT:
    With `object-fit: cover`, a too-short hero crops the artwork in height.
    We size it based on viewport width to keep the line-up visible.
    Hero image ratio: 1696x608.
  */
  box-sizing: border-box !important;
  height: clamp(360px, calc(100vw * 608 / 1696), 900px) !important;
  min-height: unset !important;
  padding: clamp(60px, 10vh, 120px) 20px !important;
}

/* Ajuster le contenu */
.hero h1,
.hero-title {
  margin-bottom: 20px !important;
}

.hero p,
.hero-subtitle {
  margin-bottom: 30px !important;
}

.hero .buttons,
.hero-buttons {
  margin-top: 20px !important;
}

/* Réduire la hauteur de la section Promos */
#promos,
section#promos,
.section#promos {
  min-height: 150px !important;
  padding: 40px 20px !important;
}

/* Ajuster le titre */
#promos h2,
#promos .section-title {
  margin-bottom: 15px !important;
}

/* Ajuster le sous-titre */
#promos p,
#promos .sub {
  margin-bottom: 20px !important;
}

/* Ajuster la grille produits */
#promos .grid,
#promos .products {
  margin-top: 20px !important;
}




/* Hotfix Android – galerie produit toujours visible */
.woocommerce-product-gallery {
  opacity: 1 !important;
}

.woocommerce-tabs .wc-tabs {
  display: block !important;
  list-style: none !important;
  padding: 0 !important;
  border: none !important;
  margin-bottom: 0 !important;
}

.woocommerce-tabs .wc-tabs li {
  display: block !important;
  width: 100% !important;
  border: 1px solid #333333 !important;
  margin-bottom: 8px !important;
  background: #1a1a1a !important;
  transition: all 0.3s ease !important;
  cursor: pointer !important;
  float: none !important;
}

.woocommerce-tabs .wc-tabs li:hover {
  background: #2d2d2d !important;
  border-color: #cfae62 !important;
}

.woocommerce-tabs .wc-tabs li.active {
  background: #2d2d2d !important;
  border-color: #cfae62 !important;
}

.woocommerce-tabs .wc-tabs li a {
  display: block !important;
  padding: 18px 25px !important;
  position: relative !important;
  text-decoration: none !important;
  color: #ffffff !important;
  font-size: 16px !important;
  font-weight: 600 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.05em !important;
  border: none !important;
  background: transparent !important;
}

/* Icône + / - */
.woocommerce-tabs .wc-tabs li a::after {
  content: '+' !important;
  position: absolute !important;
  right: 25px !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  font-size: 24px !important;
  font-weight: bold !important;
  color: #cfae62 !important;
  transition: transform 0.3s ease !important;
}

.woocommerce-tabs .wc-tabs li.active a::after {
  content: '−' !important;
  transform: translateY(-50%) rotate(180deg) !important;
}

/* Cache le contenu par défaut */
.woocommerce-Tabs-panel {
  display: none !important;
  padding: 25px !important;
  border: 1px solid #333333 !important;
  border-top: none !important;
  margin-bottom: 8px !important;
  background: #0f0d0a !important;
  line-height: 1.8 !important;
  animation: slideDown 0.3s ease !important;
}

.woocommerce-Tabs-panel.active {
  display: block !important;
}

/* Animation d'ouverture */
@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Titres dans les panels */
.woocommerce-Tabs-panel h2 {
  color: #e8d28f !important;
  margin-bottom: 15px !important;
  font-size: 20px !important;
}

.woocommerce-Tabs-panel p {
  color: #cccccc !important;
  margin-bottom: 15px !important;
}

/* Listes dans les panels */
.woocommerce-Tabs-panel ul {
  list-style: none !important;
  padding-left: 0 !important;
}

.woocommerce-Tabs-panel li {
  padding: 8px 0 !important;
  border-bottom: 1px solid #2d2d2d !important;
  color: #cccccc !important;
}

.woocommerce-Tabs-panel li::before {
  content: '→' !important;
  color: #cfae62 !important;
  margin-right: 10px !important;
  font-weight: bold !important;
}

/* Responsive mobile */
@media (max-width: 768px) {
  .woocommerce-tabs .wc-tabs li a {
    padding: 15px 20px !important;
    font-size: 14px !important;
  }

  .woocommerce-tabs .wc-tabs li a::after {
    right: 15px !important;
    font-size: 20px !important;
  }

  .woocommerce-Tabs-panel {
    padding: 20px !important;
  }
}

#promos .sub {
  margin-bottom: 20px !important;
}

/* Ajuster la grille produits */
#promos .grid,
#promos .products {
  margin-top: 20px !important;
}


/* Overlay sombre pour lisibilité */
.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1;
}

/* Contenu au-dessus */
.hero h1,
.hero p,
.hero .buttons,
.hero .btns,
.hero .wrap,
.hero .hero-title,
.hero .hero-subtitle {
  position: relative;
  z-index: 2;
}

.hero h1 {
  font-size: 50px !important;
}

/* Responsive */
@media (max-width: 768px) {
  .hero h1 {
    font-size: 50px !important;
  }
}

/* Hotfix Android – galerie produit toujours visible */
.woocommerce-product-gallery {
  opacity: 1 !important;
}

.woocommerce-tabs .wc-tabs {
  display: block !important;
  list-style: none !important;
  padding: 0 !important;
  border: none !important;
  margin-bottom: 0 !important;
}

.woocommerce-tabs .wc-tabs li {
  display: block !important;
  width: 100% !important;
  border: 1px solid #333333 !important;
  margin-bottom: 8px !important;
  background: #1a1a1a !important;
  transition: all 0.3s ease !important;
  cursor: pointer !important;
  float: none !important;
}

.woocommerce-tabs .wc-tabs li:hover {
  background: #2d2d2d !important;
  border-color: #cfae62 !important;
}

.woocommerce-tabs .wc-tabs li.active {
  background: #2d2d2d !important;
  border-color: #cfae62 !important;
}

.woocommerce-tabs .wc-tabs li a {
  display: block !important;
  padding: 18px 25px !important;
  position: relative !important;
  text-decoration: none !important;
  color: #ffffff !important;
  font-size: 16px !important;
  font-weight: 600 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.05em !important;
  border: none !important;
  background: transparent !important;
}

/* Icône + / - */
.woocommerce-tabs .wc-tabs li a::after {
  content: '+' !important;
  position: absolute !important;
  right: 25px !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  font-size: 24px !important;
  font-weight: bold !important;
  color: #cfae62 !important;
  transition: transform 0.3s ease !important;
}

.woocommerce-tabs .wc-tabs li.active a::after {
  content: '−' !important;
  transform: translateY(-50%) rotate(180deg) !important;
}

/* Cache le contenu par défaut */
.woocommerce-Tabs-panel {
  display: none;
  /* ENLEVÉ !important */
  padding: 25px !important;
  border: 1px solid #333333 !important;
  border-top: none !important;
  margin-bottom: 8px !important;
  background: #0f0d0a !important;
  line-height: 1.8 !important;
  animation: slideDown 0.3s ease !important;
}

.woocommerce-Tabs-panel.active {
  display: block;
  /* ENLEVÉ !important */
}

.woocommerce-Tabs-panel.active {
  display: block !important;
}

/* Animation d'ouverture */
@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Titres dans les panels */
.woocommerce-Tabs-panel h2 {
  color: #e8d28f !important;
  margin-bottom: 15px !important;
  font-size: 20px !important;
}

.woocommerce-Tabs-panel p {
  color: #cccccc !important;
  margin-bottom: 15px !important;
}

/* Listes dans les panels */
.woocommerce-Tabs-panel ul {
  list-style: none !important;
  padding-left: 0 !important;
}

.woocommerce-Tabs-panel li {
  padding: 8px 0 !important;
  border-bottom: 1px solid #2d2d2d !important;
  color: #cccccc !important;
}

.woocommerce-Tabs-panel li::before {
  content: '→' !important;
  color: #cfae62 !important;
  margin-right: 10px !important;
  font-weight: bold !important;
}

/* Responsive mobile */
@media (max-width: 768px) {
  .woocommerce-tabs .wc-tabs li a {
    padding: 15px 20px !important;
    font-size: 14px !important;
  }

  .woocommerce-tabs .wc-tabs li a::after {
    right: 15px !important;
    font-size: 20px !important;
  }

  .woocommerce-Tabs-panel {
    padding: 20px !important;
  }
}

/* ==========================================================================
   FIN DU STYLE ACCORDÉON
   ========================================================================== */

/* Mobile single-product fixes are centralized in assets/armurias-mobile-patch.css */

/* ==========================================================================
   FIX SLIDER SELECTION - CORRECTION COMPLÈTE
   ========================================================================== */

/* Conteneur slider */
.arm-slider {
  position: relative;
  padding: 0 60px;
  /* Espace pour les flèches */
}

/* Taille des slides */
.arm-slider .swiper-slide {
  width: 300px !important;
  max-width: 300px !important;
  flex: 0 0 300px !important;
  height: auto !important;
}

/* Cartes produits - Restaurer les cadres */
.arm-slider .p-card,
.arm-slider .arm-card {
  background: #1a1a1a !important;
  border: 1px solid #3a3a3a !important;
  border-radius: 8px !important;
  padding: 15px !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3) !important;
  height: 100% !important;
  display: flex !important;
  flex-direction: column !important;
}

/* Images dans les cartes */
/* Nouveaux produits (slider) : éviter le zoom/crop */
.arm-slider .p-card img,
.arm-slider .arm-card img {
  width: 100% !important;
  height: 250px !important;
  max-height: 250px !important;
  object-fit: contain !important;
  object-position: center center !important;
  border-radius: 4px !important;
  margin-bottom: 12px !important;
  background: #111 !important;
}

/* Espacement entre les slides */
.arm-slider .swiper-wrapper {
  gap: 20px !important;
  align-items: stretch !important;
}

/* FLÈCHES DE NAVIGATION - Repositionner sur les côtés */
.arm-slider .swiper-button-prev,
.arm-slider .swiper-button-next {
  position: absolute !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  width: 44px !important;
  height: 44px !important;
  background: rgba(207, 174, 98, 0.9) !important;
  border-radius: 50% !important;
  color: #1a1a1a !important;
  z-index: 10 !important;
}

.arm-slider .swiper-button-prev {
  left: 0 !important;
  right: auto !important;
  bottom: auto !important;
}

.arm-slider .swiper-button-next {
  right: 0 !important;
  left: auto !important;
  bottom: auto !important;
}

.arm-slider .swiper-button-prev:hover,
.arm-slider .swiper-button-next:hover {
  background: rgba(207, 174, 98, 1) !important;
}

/* Mobile - Adapter */
@media (max-width: 768px) {
  .arm-slider {
    padding: 0 10px !important;
  }

  .arm-slider .swiper-slide {
    width: calc(50% - 10px) !important;
    max-width: calc(50% - 10px) !important;
    flex: 0 0 calc(50% - 10px) !important;
  }

  .arm-slider .swiper-button-prev,
  .arm-slider .swiper-button-next {
    width: 32px !important;
    height: 32px !important;
  }
}

.mobile-menu-toggle .burger-label {
  display: none !important;
}

.mobile-menu-toggle {
  font-size: 0 !important;
  line-height: 0 !important;
}

.mobile-menu-toggle .burger-icon {
  font-size: 14px !important;
}

/* ==========================================================================
   FIX ICÔNE RECHERCHE MOBILE - Rendre visible
   ========================================================================== */
@media (max-width: 1024px) {

  /* Repositionner l'icône loupe */
  .dgwt-wcas-search-wrapp {
    position: relative !important;
    right: auto !important;
    left: auto !important;
    display: block !important;
    width: auto !important;
    min-width: 0 !important;
    margin: 0 auto !important;
    text-align: center !important;
  }

  /* L'icône elle-même */
  .dgwt-wcas-enable-mobile-form,
  .js-dgwt-wcas-enable-mobile-form {
    position: relative !important;
    display: inline-block !important;
    width: 44px !important;
    height: 44px !important;
    background: rgba(207, 174, 98, 0.2) !important;
    border-radius: 50% !important;
    cursor: pointer !important;
  }

  /* L'icône SVG loupe */
  .dgwt-wcas-search-icon {
    display: block !important;
    width: 24px !important;
    height: 24px !important;
    margin: 10px auto !important;
    fill: var(--gold-1) !important;
    color: var(--gold-1) !important;
  }

  /* Placer dans la topbar */
  .arm-topbar .dgwt-wcas-search-wrapp {
    order: 3 !important;
  }

}

/* ==========================================================================
   CACHER la loupe "enable-mobile-form" (doublon)
   ========================================================================== */
@media (max-width: 1024px) {

  /* Cacher le bouton enable-mobile-form */
  .js-dgwt-wcas-enable-mobile-form,
  .dgwt-wcas-enable-mobile-form,
  a.js-dgwt-wcas-enable-mobile-form {
    display: none !important;
  }

  /* Garder seulement l'icône principale */
  .dgwt-wcas-ico-magnifier-handler {
    display: block !important;
  }

}

/* ==========================================================================
   FIX LIGHTBOX MOBILE - Permettre les clics sur l'image
   ========================================================================== */
@media (max-width: 1024px) {

  /* Activer les clics sur l'image produit */
  .single-product .woocommerce-product-gallery__image,
  .single-product .woocommerce-product-gallery__image a,
  .single-product .woocommerce-product-gallery__image img {
    pointer-events: auto !important;
    cursor: pointer !important;
  }

  /* S'assurer que la galerie est interactive */
  .woocommerce-product-gallery {
    pointer-events: auto !important;
  }

}

/* Supprimer les carrés blancs (dropdown-indicator) */
.dropdown-toggle,
.dropdown-indicator,
button.dropdown-toggle {
  display: none !important;
}

/* Police Cinzel pour le menu */
.nav-line a,
.nav-line ul,
.dropdown-menu a,
#arm-nav-1 a,
#arm-nav-2 a,
.arm-header a {
  font-family: 'Cinzel', serif !important;
}

/* Centrer le titre Nouveaux Produits */
.arm-slider-title {
  text-align: center !important;
}

.arm-slider-title {
  font-family: 'Cinzel', serif !important;
}

/* 1. Supprime l'espace SOUS la bannière Hero */
section.hero {
  margin-bottom: 5 !important;
  padding-bottom: 5 !important;
}

/* 2. Supprime l'espace AU-DESSUS du bloc slider global */
section.arm-slider-wrap {
  margin-top: 10 !important;
  padding-top: 10px !important;
  /* Je laisse 20px pour que le titre ne colle pas trop */
}

/* 3. Supprime la marge par défaut du titre H2 */
h2.arm-slider-title {
  margin-top: 0 !important;
}

/* 1. INDISPENSABLE : Le parent doit servir de cadre de référence */
.arm-slider-rail {
  position: relative !important;
  overflow: visible !important;
  /* Permet aux flèches de dépasser un peu si besoin */
}

/* 2. Style de base et positionnement ABSOLU (pour qu'ils flottent) */
.arm-swiper-prev,
.arm-swiper-next {
  position: absolute !important;
  /* C'est ça qui les sort de la liste "haut/bas" */
  top: 50% !important;
  /* Place à la moitié de la hauteur */
  transform: translateY(-50%) !important;
  /* Centre parfaitement verticalement */
  z-index: 100 !important;
  /* Passe au-dessus des images */

  /* Design (Carré ou Rond Noir et Or) */
  width: 40px !important;
  height: 40px !important;
  background: rgba(0, 0, 0, 0.8) !important;
  border: 1px solid #d4af37 !important;
  color: #d4af37 !important;
  /* Couleur de la flèche si c'est du texte */
  display: flex !important;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 0 !important;
  /* Cache le texte (< / >) pour ne garder que la flèche CSS */
}

/* 3. Forcer la Gauche et la Droite */
.arm-swiper-prev {
  left: 0 !important;
  /* Colle à gauche */
  right: auto !important;
  margin-left: -20px;
  /* (Optionnel) Pour le sortir un peu du cadre vers l'extérieur */
}

.arm-swiper-next {
  right: 0 !important;
  /* Colle à droite */
  left: auto !important;
  margin-right: -20px;
  /* (Optionnel) Pour le sortir un peu du cadre vers l'extérieur */
}

/* 4. Dessiner les flèches (si elles sont vides) */
.arm-swiper-prev::after,
.arm-swiper-next::after {
  content: '' !important;
  display: block;
  width: 10px;
  height: 10px;
  border-top: 2px solid #d4af37;
  border-right: 2px solid #d4af37;
}

/* Rotation pour pointer dans la bonne direction */
.arm-swiper-prev::after {
  transform: rotate(-135deg);
  /* Pointe Gauche */
  margin-left: 4px;
}

.arm-swiper-next::after {
  transform: rotate(45deg);
  /* Pointe Droite */
  margin-right: 4px;
}

/* Style du badge NOUVEAU (version rouge et arrondie) */
.mon-badge-nouveau {
  display: inline-block;
  /* Permet un bon positionnement et redimensionnement */
  margin-top: 8px;
  /* Espace entre le prix et le badge */

  /* Design spécifique pour ressembler à l'image */
  background-color: #a72e2e;
  /* Rouge foncé (une nuance un peu plus foncée que sur l'image) */
  color: #ffffff;
  /* Texte blanc */
  font-size: 12px;
  /* Taille de police légèrement plus grande */
  font-weight: 700;
  /* Gras */
  text-transform: uppercase;
  /* Majuscules */
  padding: 5px 12px;
  /* Augmente le rembourrage pour l'effet arrondi */
  border-radius: 20px;
  /* Valeur élevée pour obtenir des bords très arrondis */
  letter-spacing: 0.5px;
  line-height: 1;

  /* Alignement : Centre le badge par rapport à la carte si le parent a text-align: center ou flex */
  width: auto;
  margin-left: auto;
  margin-right: auto;
}

/* Si vous avez besoin de centrer le badge parfaitement dans le .arm-card-body */
.arm-card-body {
  display: flex;
  flex-direction: column;
  align-items: center;
  /* Centre les éléments enfants horizontalement */
}

/* Style du titre NOUVEAUX PRODUITS (même style que NOS COLLECTIONS) */
h2.arm-slider-title {
  font-family: 'Cinzel', serif !important;
  font-size: clamp(28px, 4vw, 42px) !important;
  font-weight: 700 !important;
  letter-spacing: 0.15em !important;
  text-transform: uppercase !important;
  text-align: center !important;
  color: #d4af37 !important;
  margin: 60px auto 40px !important;
  padding: 0 20px !important;
  position: relative !important;
  display: inline-block !important;
  width: 100% !important;
}

/* Fleurs de lys avant et après le titre */
h2.arm-slider-title::before {
  content: '⚜' !important;
  margin-right: 15px !important;
  font-size: 0.8em !important;
  color: #d4af37 !important;
}

h2.arm-slider-title::after {
  content: '⚜' !important;
  margin-left: 15px !important;
  font-size: 0.8em !important;
  color: #d4af37 !important;
}

/* Responsive mobile */
@media (max-width: 768px) {
  h2.arm-slider-title {
    font-size: 24px !important;
    letter-spacing: 0.1em !important;
    margin: 40px auto 30px !important;
  }

  h2.arm-slider-title::before,
  h2.arm-slider-title::after {
    margin-left: 10px !important;
    margin-right: 10px !important;
  }
}

#primary .card .card__hit {
  position: absolute;
  inset: 0;
  z-index: 2;
}

/* Garder le lien "Découvrir" cliquable au-dessus */
#primary .card .link {
  position: relative;
  z-index: 3;
}

/* ===== FIX BARRE DE RECHERCHE MOBILE ===== */
@media (max-width: 768px) {

  /* Topbar */
  .arm-topbar {
    padding-top: 60px;
    overflow: hidden;
  }

  /* Conteneur de recherche */
  .dgwt-wcas-search-wrapp {
    width: 100% !important;
    max-width: 100% !important;
    position: relative !important;
    z-index: 998;
  }

  /* FORMULAIRE - forcer la largeur et annuler le left inline */
  .dgwt-wcas-search-form,
  form.dgwt-wcas-search-form {
    left: 0 !important;
    right: 0 !important;
    opacity: 1 !important;
    position: relative !important;
    width: calc(100vw - 30px) !important;
    max-width: calc(100vw - 30px) !important;
    margin: 0 15px !important;
    box-sizing: border-box !important;
  }

  /* Wrapper */
  .dgwt-wcas-sf-wrapp {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  /* Input - réduire le padding et forcer la largeur */
  .dgwt-wcas-search-input,
  .dgwt-wcas-sf-wrapp input[type="search"] {
    width: 40% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    padding: 10px 15px 10px 40px !important;
  }

  /* Header */
  .arm-header {
    position: relative;
    z-index: 1000;
  }
}

/* Forcer les couleurs UNIQUEMENT pour la section produits (sans sélecteur universel) */
.top-products-section,
.top-products-section p,
.top-products-section span,
.top-products-section li,
.top-products-section small,
.top-products-section strong,
.top-products-section em,
.top-products-section a {
  color: #333 !important;
}

.top-products-section .section-title {
  color: #2d1810 !important;
}

.top-products-section .product-name {
  color: #2d1810 !important;
}

.top-products-section .product-price {
  color: #8b1a1a !important;
}

.top-products-section .product-description {
  color: #666 !important;
}

.top-products-section .product-btn {
  color: white !important;
}

/* Espace entre Hero et Nouveaux Produits sur mobile */
@media (max-width: 768px) {
  .hero .btns {
    margin-bottom: 80px;
    /* Plus d'espace en bas */
  }

  /* OU si ça ne marche pas, augmente padding de la section hero */
  section.hero {
    padding-bottom: 120px !important;
  }
}

/* =========================================
   STYLE DU FORMULAIRE DE CONTACT (Armurias)
   ========================================= */

/* 1. Le conteneur du formulaire : on réduit la largeur et on centre */
.wpcf7 {
  max-width: 800px;
  /* Largeur max pour éviter l'effet "étiré" */
  margin: 40px auto;
  /* Centrage horizontal + marge haut/bas */
  padding: 40px;
  /* Espace interne */
  background-color: #111;
  /* Fond légèrement plus clair que le noir pur */
  border: 1px solid #333;
  /* Bordure discrète couleur acier sombre */
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
  /* Ombre portée pour le relief */
}

/* 2. Les champs de saisie (Inputs & Textarea) */
.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 textarea,
.wpcf7 select {
  background-color: #000 !important;
  /* Fond noir */
  border: 1px solid #555 !important;
  /* Bordure grise acier */
  color: #fff !important;
  /* Texte blanc */
  width: 100%;
  /* Occupe toute la largeur du conteneur */
  box-sizing: border-box;
  /* Empêche les débordements */
  padding: 10px;
  margin-bottom: 20px;
  font-size: 16px;
}

/* 3. Effet quand on clique dans un champ (Focus) */
.wpcf7 input:focus,
.wpcf7 textarea:focus {
  border-color: #d4af37 !important;
  /* Couleur Or/Laiton au clic */
  outline: none;
}

/* 4. Le bouton Envoyer */
.wpcf7 input[type="submit"] {
  background-color: #d4af37;
  /* Couleur Or antique */
  color: #000;
  /* Texte noir pour le contraste */
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  border: none;
  padding: 15px 30px;
  cursor: pointer;
  transition: all 0.3s ease;
  width: auto;
  /* Laisse le bouton s'adapter au texte */
  min-width: 200px;
  /* Largeur minimale */
  display: block;
  margin: 0 auto;
  /* Centre le bouton */
}

/* 5. Survol du bouton */
.wpcf7 input[type="submit"]:hover {
  background-color: #fff;
  /* Devient blanc au survol */
  color: #000;
}

/* 6. Message de succès (la boite verte en bas) */
.wpcf7 form.sent .wpcf7-response-output {
  border-color: #46b450;
  background-color: #1e3a20;
  /* Fond vert très sombre pour rester dans le thème */
  color: #fff;
}

/* ==========================================================================
   Fix Superposition Recherche vs Panier (Turbo Search + Xoo WSC)
   But: le side-cart doit toujours passer au-dessus de la barre de recherche.
   ========================================================================== */
.xoo-wsc-markup,
.xoo-wsc-markup-notices,
.xoo-wsc-modal,
.xoo-wsc-slider-modal,
.xoo-wsc-drawer-modal {
  z-index: 200000 !important;
}

/* Align Quantity and Add to Cart button */
form.cart {
  display: flex !important;
  align-items: center !important;
  flex-wrap: wrap !important;
  gap: 15px !important;
  /* Espace entre les boutons */
}

form.cart .quantity {
  margin-right: 0 !important;
  float: none !important;
  margin-bottom: 0 !important;
  width: auto !important;
  /* S'assurer qu'il ne prend pas toute la largeur */
}

/* Style spécifique pour le champ quantité pour cleaner l'apparence */
form.cart .quantity input.qty {
  height: 44px !important;
  /* Même hauteur que bouton ajout */
  border-radius: 4px !important;
  background: #1a1a1a !important;
  color: #fff !important;
  border: 1px solid #3a3a3a !important;
  width: 60px !important;
  text-align: center !important;
}

form.cart .single_add_to_cart_button {
  float: none !important;
  margin-top: 0 !important;
  height: 44px !important;
  /* Hauteur harmonisée */
}

/* S'assurer que l'accordéon gravure prend toute la largeur au-dessus ou au-dessous */
.gwc-accordion-wrapper {
  flex-basis: 100% !important;
  width: 100% !important;
  order: 10 !important;
  /* Placer l'accordéon AVANT les boutons si désiré, ou enlever pour APRES */
  margin-bottom: 20px !important;
}

/* Gravure (epuree) - override plugin gravure-style.css */
.single-product .gwc-accordion-wrapper .gwc-gravure-container {
  background: rgba(255, 255, 255, 0.03) !important;
  border: 1px solid rgba(212, 175, 106, 0.35) !important;
  border-radius: 12px !important;
  padding: 14px !important;
  margin: 12px 0 !important;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.35) !important;
}

/* Remove the medieval inner frame + top icon to keep it light. */
.single-product .gwc-accordion-wrapper .gwc-gravure-container::before,
.single-product .gwc-accordion-wrapper .gwc-gravure-container::after {
  content: none !important;
}

/* Accordion header already says "Option Gravure"; hide duplicated title inside the box. */
.single-product .gwc-accordion-wrapper .gwc-gravure-container h3 {
  display: none !important;
}

.single-product .gwc-accordion-wrapper .gwc-gravure-container label {
  display: flex !important;
  align-items: baseline !important;
  gap: 12px !important;
  background: transparent !important;
  border-left: 0 !important;
  padding: 0 !important;
  margin: 0 0 6px !important;
  color: rgba(232, 215, 195, 0.9) !important;
  font-size: 12px !important;
  letter-spacing: 0.08em !important;
}

.single-product .gwc-accordion-wrapper .gwc-gravure-container label .arm-gravure-fee {
  margin-left: auto !important;
  color: rgba(212, 175, 106, 0.95) !important;
  font-weight: 700 !important;
  font-size: 12px !important;
  letter-spacing: 0.06em !important;
  white-space: nowrap;
}

.single-product .gwc-accordion-wrapper .gwc-gravure-container input[type="text"],
.single-product .gwc-accordion-wrapper .gwc-gravure-container select,
.single-product .gwc-accordion-wrapper .gwc-gravure-container input[type="file"] {
  background: rgba(0, 0, 0, 0.18) !important;
  border: 1px solid rgba(232, 215, 195, 0.18) !important;
  border-radius: 10px !important;
  padding: 10px 12px !important;
  font-size: 15px !important;
  box-sizing: border-box;
}

.single-product .gwc-accordion-wrapper .gwc-gravure-container input[type="file"] {
  width: 100% !important;
  max-width: 100% !important;
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.single-product .gwc-accordion-wrapper .gwc-gravure-container input[type="file"]::file-selector-button {
  background: rgba(0, 0, 0, 0.55);
  border: 1px solid rgba(232, 215, 195, 0.22);
  color: rgba(232, 215, 195, 0.92);
  border-radius: 8px;
  padding: 8px 10px;
  margin-right: 10px;
  font-size: 13px;
  cursor: pointer;
}

.single-product .gwc-accordion-wrapper .gwc-gravure-container input[type="file"]::-webkit-file-upload-button {
  background: rgba(0, 0, 0, 0.55);
  border: 1px solid rgba(232, 215, 195, 0.22);
  color: rgba(232, 215, 195, 0.92);
  border-radius: 8px;
  padding: 8px 10px;
  margin-right: 10px;
  font-size: 13px;
  cursor: pointer;
}

.single-product .gwc-accordion-wrapper .gwc-gravure-container input[type="text"],
.single-product .gwc-accordion-wrapper .gwc-gravure-container select {
  margin-bottom: 12px !important;
}

.single-product .gwc-accordion-wrapper .gwc-gravure-container select {
  background: #000 !important;
  color-scheme: dark;
}

.single-product .gwc-accordion-wrapper .gwc-gravure-container select option {
  background: #000 !important;
  color: rgba(232, 215, 195, 0.95) !important;
}

.single-product .gwc-accordion-wrapper .gwc-gravure-container input[type="text"]:focus,
.single-product .gwc-accordion-wrapper .gwc-gravure-container select:focus {
  outline: none !important;
  border-color: rgba(212, 175, 106, 0.75) !important;
  box-shadow: 0 0 0 3px rgba(212, 175, 106, 0.12) !important;
  background: rgba(0, 0, 0, 0.24) !important;
}

.single-product .gwc-accordion-wrapper #gwc_engraving_preview {
  background: rgba(0, 0, 0, 0.10) !important;
  border: 1px dashed rgba(212, 175, 106, 0.45) !important;
  border-radius: 10px !important;
  padding: 10px 12px !important;
  margin: 10px 0 12px !important;
  font-size: 15px !important;
  min-height: 46px !important;
}

.single-product .gwc-accordion-wrapper #gwc_engraving_preview em {
  color: rgba(232, 215, 195, 0.6) !important;
}

.single-product .gwc-accordion-wrapper .gwc-gravure-container p {
  margin: 8px 0 0 !important;
  color: rgba(232, 215, 195, 0.65) !important;
  font-size: 12px !important;
}

@media (max-width: 480px) {
  .single-product .gwc-accordion-wrapper .gwc-gravure-container input[type="file"] {
    font-size: 12px !important;
    padding: 8px 10px !important;
    text-transform: none !important;
  }

  .single-product .gwc-accordion-wrapper .gwc-gravure-container input[type="file"]::file-selector-button,
  .single-product .gwc-accordion-wrapper .gwc-gravure-container input[type="file"]::-webkit-file-upload-button {
    padding: 6px 8px;
    margin-right: 8px;
    font-size: 12px;
  }
}

/* Mobile quantity +/- buttons on single product (touch devices) */
.single-product form.cart .quantity.arm-qty .arm-qty-btn {
  display: none;
}

@media (hover: none) and (pointer: coarse) {
  .single-product form.cart .quantity.arm-qty {
    display: flex !important;
    align-items: stretch !important;
    gap: 0 !important;
    width: 132px !important;
    max-width: none !important;
    min-width: 0 !important;
    flex: 0 0 auto !important;
    height: 40px !important;
    overflow: hidden;
    border-radius: 12px !important;
    border: 1px solid #3a3a3a !important;
    background: #1a1a1a !important;
  }

  .single-product form.cart .quantity.arm-qty input.qty {
    width: 52px !important;
    height: 40px !important;
    padding: 0 !important;
    margin: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    text-align: center !important;
    font-size: 16px !important;
    font-weight: 800;
    color: #e8d7c3;
    appearance: textfield;
    -moz-appearance: textfield;
  }

  .single-product form.cart .quantity.arm-qty input.qty::-webkit-outer-spin-button,
  .single-product form.cart .quantity.arm-qty input.qty::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
  }

  .single-product form.cart .quantity.arm-qty .arm-qty-btn {
    width: 40px;
    min-width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    border: 0;
    background: rgba(0, 0, 0, 0.35);
    color: #d4af6a;
    font-size: 18px;
    font-weight: 900;
    line-height: 1;
    cursor: pointer;
    touch-action: manipulation;
  }

  .single-product form.cart .quantity.arm-qty .arm-qty-minus {
    border-right: 1px solid rgba(232, 215, 195, 0.12);
  }

  .single-product form.cart .quantity.arm-qty .arm-qty-plus {
    border-left: 1px solid rgba(232, 215, 195, 0.12);
  }

  .single-product form.cart .quantity.arm-qty .arm-qty-btn:active {
    background: rgba(212, 175, 106, 0.12);
  }

  .single-product form.cart .quantity.arm-qty .arm-qty-btn:disabled {
    opacity: 0.35;
    cursor: not-allowed;
  }
}

/* Cartes produit: texte calé en bas de l'image (au-dessus du bouton) */
#primary ul.products li.product.card > a.card__link .card__body {
  position: absolute !important;
  top: auto !important;
  bottom: 8px !important;
  left: 16px !important;
  right: 16px !important;
  padding: 0 !important;
}

#primary ul.products li.product.card > a.card__link .card__body .title {
  font-size: 17px !important;
  line-height: 1.15 !important;
  margin: 0 0 6px !important;
  max-width: 82% !important; /* laisse place au badge */
  display: -webkit-box !important;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

#primary ul.products li.product.card > a.card__link .card__body .p-price {
  margin: 0 0 4px !important;
}

@media (max-width: 768px) {
  #primary ul.products li.product.card > a.card__link .card__body {
    bottom: 10px !important;
    left: 12px !important;
    right: 12px !important;
  }

  #primary ul.products li.product.card > a.card__link .card__body .title {
    font-size: 15px !important;
    -webkit-line-clamp: 2;
  }
}
@media (min-width: 1024px) {
  /* conteneur principal */
  body.single-product main.site-main > div.product.type-product {
    display: block !important;
    width: min(96vw, 1680px) !important;
    max-width: min(96vw, 1680px) !important;
    margin: 40px auto 0 !important;
    padding: 0 24px !important;
    box-sizing: border-box;
  }

  /* haut de page produit (galerie + résumé) */
  body.single-product main.site-main > div.product.type-product .product-top-section {
    display: grid !important;
    grid-template-columns: minmax(0, 39%) minmax(360px, 1fr) !important;
    gap: 30px !important;
    align-items: start !important;
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  body.single-product main.site-main > div.product.type-product .product-images {
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  body.single-product main.site-main > div.product.type-product .woocommerce-product-gallery {
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
  }

  body.single-product main.site-main > div.product.type-product .summary {
    max-width: 460px !important;
    width: 100% !important;
    margin: 0 !important;
  }

  /* bas de page (onglets + produits similaires) */
  body.single-product div.product .woocommerce-tabs,
  body.single-product section.related.products {
    width: min(96vw, 1680px) !important;
    max-width: min(96vw, 1680px) !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding-left: 24px !important;
    padding-right: 24px !important;
    box-sizing: border-box;
  }

  body.single-product section.related.products ul.products {
    width: 100% !important;
    max-width: none !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
}
/* Recentrage image dans les cartes "Produits similaires" */
body.single-product section.related.products li.product.card .card__img {
  background-position: center center !important;
  background-repeat: no-repeat !important;
  background-size: contain !important; /* évite les coupes */
  background-color: #0f0f0f !important;
}
/* Header catégories: marron -> noir */
header.arm-header {
  background-color: #000 !important;
}
