﻿/*
Theme Name: KOEHL Gartenhäuser
Theme URI: https://abris-jardin.local
Author: KOEHL Gartenhäuser DE
Description: Premium Gartenhäuser und Außenstrukturen – Eleganter deutscher Webshop
Version: 1.0.0
Requires at least: 6.0
Tested up to: 7.0
Requires PHP: 8.0
License: Proprietary
Text Domain: abris-jardin
WC requires at least: 7.0
WC tested up to: 10.8.1
*/

/* ============================================================
   DESIGN SYSTEM — KOEHL Gartenhäuser
   Palette: Forest Green + Plus Jakarta Sans (inspired by touschalets.com)
   Font: Plus Jakarta Sans (Google Fonts) — weights 300–800
   ============================================================ */
:root {
  --color-primary:     #88B53B;
  --color-primary-dark:#7EBD00;
  --color-primary-light:#A8D05A;
  --color-accent:      #88B53B;
  --color-accent-light:#7EBD00;
  --color-promo:       #911E1E;
  --color-promo-dark:  #6E1515;
  --color-bg:          #F6F6F6;
  --color-bg-dark:     #1A1A1A;
  --color-surface:     #FFFFFF;
  --color-surface-2:   #EEEDED;
  --color-text:        #262626;
  --color-text-muted:  #989898;
  --color-text-secondary: #666666;
  --color-border:      #E8E8E8;
  --color-success:     #88B53B;
  --color-error:       #911E1E;
  --color-wood:        #A0673A;

  --font-heading: 'Plus Jakarta Sans', 'Helvetica Neue', Arial, sans-serif;
  --font-body:    'Plus Jakarta Sans', 'Helvetica Neue', Arial, sans-serif;

  --radius-sm:    4px;
  --radius-md:    8px;
  --radius-lg:    16px;
  --radius-xl:    24px;

  --shadow-sm:    0 1px 4px rgba(0,0,0,.08);
  --shadow-md:    0 4px 16px rgba(0,0,0,.12);
  --shadow-lg:    0 8px 32px rgba(0,0,0,.16);
  --shadow-xl:    0 16px 48px rgba(0,0,0,.20);

  --transition:   all 0.25s ease;
  --transition-fast: all 0.15s ease;

  --container:    1280px;
  --navbar-h:     72px;
}

/* ============================================================
   RESET & BASE
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { font-size: 16px; scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.65;
  color: var(--color-text);
  background: var(--color-bg);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--color-primary); text-decoration: none; transition: var(--transition-fast); }
a:hover { color: var(--color-primary-dark); }

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  line-height: 1.2;
  color: var(--color-text);
  font-weight: 900;
}

h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.5rem, 4vw, 2.4rem); }
h3 { font-size: clamp(1.1rem, 3vw, 1.625rem); }
h4 { font-size: 1.25rem; font-weight: 700; }

p { margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }

ul, ol { padding-left: 1.5rem; }

/* ============================================================
   LAYOUT
   ============================================================ */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 1.5rem;
}

@media (max-width: 768px) {
  .container { padding: 0 1rem; }
}

.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2rem; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }

@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
  .grid-4, .grid-3, .grid-2 { grid-template-columns: 1fr; }
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.75rem;
  border-radius: var(--radius-md);
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  border: 2px solid transparent;
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
  white-space: nowrap;
}

.btn-primary {
  background: var(--color-primary);
  color: #fff;
  border-color: var(--color-primary);
}
.btn-primary:hover {
  background: var(--color-primary-dark);
  border-color: var(--color-primary-dark);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-accent {
  background: var(--color-accent);
  color: #fff;
  border-color: var(--color-accent);
}
.btn-accent:hover {
  background: var(--color-wood);
  border-color: var(--color-wood);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-outline {
  background: transparent;
  color: var(--color-primary);
  border-color: var(--color-primary);
}
.btn-outline:hover {
  background: var(--color-primary);
  color: #fff;
  transform: translateY(-2px);
}

.btn-white {
  background: #fff;
  color: var(--color-primary);
  border-color: #fff;
}
.btn-white:hover {
  background: var(--color-bg);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-lg {
  padding: 1rem 2.25rem;
  font-size: 1.05rem;
}

.btn-sm {
  padding: 0.5rem 1.25rem;
  font-size: 0.875rem;
}

.btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

/* ============================================================
   TOPBAR
   ============================================================ */
#header-topbar {
  background: #fff;
  border-bottom: 1px solid var(--color-border);
  padding: 7px 0;
}

.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  flex-wrap: nowrap;
  overflow: hidden;
}

.topbar-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.72rem;
  font-weight: 900;
  color: var(--color-text);
  text-transform: uppercase;
  letter-spacing: 0.03em;
  padding: 0 14px;
  white-space: nowrap;
  position: relative;
}

.topbar-item + .topbar-item::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  height: 14px;
  width: 1px;
  background: var(--color-border);
}

.topbar-item i { font-size: 0.85rem; color: var(--color-accent); }

.topbar-rating { gap: 4px; }
.topbar-rating i { color: #F5A623; font-size: 0.7rem; }
.topbar-rating span { font-weight: 900; margin-left: 4px; }

@media (max-width: 1100px) {
  .topbar-item:nth-child(n+5) { display: none; }
}
@media (max-width: 768px) {
  #header-topbar { display: none; }
}

/* ============================================================
   MAIN HEADER (dark like touschalets.com)
   ============================================================ */
#site-header {
  background: #262626;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 8px rgba(0,0,0,.25);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding: 14px 0;
}

/* Logo */
.header-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
}

.logo-wrap {
  line-height: 1;
}

.logo-row1 {
  display: block;
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 900;
  color: #ffffff;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  line-height: 1;
}

.logo-row2 {
  display: flex;
  align-items: center;
  font-family: var(--font-heading);
  font-size: 0.82rem;
  font-weight: 900;
  color: #88B53B;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-top: 3px;
  line-height: 1;
}

.logo-house-icon {
  display: inline-flex;
  align-items: center;
  margin: 0 4px;
}

.logo-house-icon svg {
  height: 1.7em;
  width: auto;
  display: block;
  border-radius: 3px;
}

/* Search */
.header-search {
  flex: 1;
  display: flex;
  align-items: center;
  background: #fff;
  border-radius: 50px;
  overflow: hidden;
  height: 48px;
}

.header-search-input {
  flex: 1;
  border: none;
  outline: none;
  padding: 0 1.25rem;
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--color-text);
  background: transparent;
  height: 100%;
}

.header-search-input::placeholder { color: #aaa; }

.header-search-btn {
  width: 52px;
  height: 100%;
  background: var(--color-accent);
  border: none;
  color: #fff;
  font-size: 1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background 0.2s;
}

.header-search-btn:hover { background: #7EBD00; }

/* Right icons */
.header-right {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.header-icon-btn {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  background: var(--color-accent);
  border-radius: 50%;
  color: #fff;
  font-size: 1.1rem;
  text-decoration: none;
  transition: background 0.2s;
  border: none;
  cursor: pointer;
}

.header-icon-btn:hover { background: #7EBD00; color: #fff; }

.header-cart-btn {
  width: auto;
  border-radius: 50px;
  padding: 0 16px;
  gap: 8px;
}

.header-cart-label {
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 700;
  white-space: nowrap;
  line-height: 1;
}

.cart-badge {
  position: absolute;
  top: -4px;
  right: -4px;
  min-width: 18px;
  height: 18px;
  background: var(--color-promo);
  color: #fff;
  border-radius: 50%;
  font-size: 0.62rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 3px;
}

.header-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  background: rgba(255,255,255,.1);
  border: none;
  border-radius: 8px;
  padding: 8px;
}

.header-hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
}

/* ============================================================
   SITE NAVIGATION / MEGA-MENU
   ============================================================ */
#site-nav {
  background: #1e1e1e;
  border-top: 1px solid rgba(255,255,255,.08);
  position: sticky;
  top: 76px;
  z-index: 999;
}

.site-nav-list {
  display: flex;
  align-items: center;
  list-style: none;
  padding: 0;
  margin: 0;
  gap: 0;
}

.site-nav-item { position: relative; }

.site-nav-link {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 13px 18px;
  font-family: var(--font-heading);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: rgba(255,255,255,.85);
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.15s, background 0.15s;
}

.site-nav-link:hover { color: #fff; background: rgba(255,255,255,.07); }

.site-nav-link--main {
  background: var(--color-accent);
  color: #fff;
  border-radius: 4px;
  margin: 6px 8px 6px 0;
  padding: 8px 16px;
}

.site-nav-link--main:hover { background: #7EBD00; color: #fff; }

.site-nav-link--light { color: rgba(255,255,255,.55); }
.site-nav-link--light:hover { color: #fff; }

.site-nav-right { margin-left: auto; }

/* Mega-menu dropdown */
.mega-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: #fff;
  box-shadow: 0 8px 32px rgba(0,0,0,.18);
  border-radius: 0 0 12px 12px;
  min-width: 280px;
  z-index: 998;
  padding: 1rem;
}

.site-nav-has-mega:hover .mega-menu { display: block; }

.mega-menu-grid {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.mega-menu-item {
  display: block;
  padding: 10px 14px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--color-text);
  border-radius: 8px;
  text-decoration: none;
  transition: background 0.15s, color 0.15s;
}

.mega-menu-item:hover {
  background: var(--color-surface-2);
  color: var(--color-accent);
}

/* Mobile responsive */
@media (max-width: 900px) {
  .header-search { display: none; }
  .header-hamburger { display: flex; }
  .header-cart-label { display: none; }
  .header-cart-btn { width: 48px; padding: 0; border-radius: 50%; }
}

@media (max-width: 768px) {
  #site-nav { display: none; }
  #site-nav.open {
    display: block;
    position: fixed;
    top: 76px;
    left: 0;
    right: 0;
    bottom: 0;
    overflow-y: auto;
  }
  .site-nav-list { flex-direction: column; align-items: stretch; }
  .site-nav-item { border-bottom: 1px solid rgba(255,255,255,.07); }
  .site-nav-link { padding: 14px 20px; }
  .site-nav-right { margin-left: 0; }
  .site-nav-link--main { margin: 10px 16px; border-radius: 8px; }
}

@media (max-width: 480px) {
  .header-icon-btn:not(.header-cart-btn):not(:last-child) { display: none; }
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--color-primary-dark);
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(26,61,28,0.88) 0%,
    rgba(26,61,28,0.60) 50%,
    rgba(26,61,28,0.30) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 1;
  padding: calc(var(--navbar-h) + 4rem) 0 5rem;
  max-width: 680px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255,255,255,0.15);
  backdrop-filter: blur(8px);
  color: #fff;
  padding: 0.4rem 1rem;
  border-radius: 100px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
  border: 1px solid rgba(255,255,255,0.25);
}

.hero h1 {
  color: #fff;
  font-size: clamp(2.4rem, 6vw, 4rem);
  margin-bottom: 1.25rem;
  line-height: 1.15;
}

.hero h1 em {
  font-style: normal;
  color: var(--color-accent-light);
}

.hero-subtitle {
  color: rgba(255,255,255,0.85);
  font-size: clamp(1rem, 2vw, 1.2rem);
  line-height: 1.7;
  margin-bottom: 2.5rem;
}

.hero-cta {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.hero-stats {
  display: flex;
  gap: 2.5rem;
  margin-top: 4rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.2);
}

.hero-stat-value {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 700;
  color: var(--color-accent-light);
  display: block;
}

.hero-stat-label {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.7);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

@media (max-width: 768px) {
  .hero-content { padding-top: calc(var(--navbar-h) + 3rem); }
  .hero-stats { gap: 1.5rem; }
  .hero-stat-value { font-size: 1.5rem; }
}

/* ============================================================
   CATEGORY CARDS
   ============================================================ */
.categories-section {
  padding: 5rem 0;
  background: var(--color-bg);
}

.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  background: var(--color-surface-2);
  color: var(--color-primary);
  padding: 0.3rem 0.875rem;
  border-radius: 100px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 0.875rem;
  border: 1px solid var(--color-border);
}

.section-title {
  color: var(--color-text);
  margin-bottom: 0.75rem;
}

.section-subtitle {
  color: var(--color-text-muted);
  font-size: 1.05rem;
  max-width: 540px;
  margin: 0 auto;
}

.category-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4/3;
  cursor: pointer;
  text-decoration: none;
  display: block;
  transition: var(--transition);
}

.category-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-xl); }
.category-card:hover .category-card-img { transform: scale(1.08); }

.category-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.category-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(26,61,28,0.9) 0%, rgba(26,61,28,0.2) 60%, transparent 100%);
}

.category-card-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1.5rem;
  color: #fff;
}

.category-card-icon {
  font-size: 1.75rem;
  margin-bottom: 0.5rem;
}

.category-card-title {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.category-card-count {
  font-size: 0.8rem;
  opacity: 0.8;
}

/* ============================================================
   PRODUCT CARDS
   ============================================================ */
.products-section {
  padding: 5rem 0;
  background: var(--color-surface);
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

@media (max-width: 1200px) { .product-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 900px)  { .product-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 500px)  { .product-grid { grid-template-columns: 1fr; } }

.product-card {
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--color-border);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  cursor: pointer;
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--color-primary-light);
}

.product-card-image {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
  background: var(--color-surface-2);
}

.product-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.product-card:hover .product-card-image img { transform: scale(1.06); }

.product-card-badge {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  background: var(--color-promo);
  color: #fff;
  padding: 0.2rem 0.625rem;
  border-radius: var(--radius-sm);
  font-size: 0.72rem;
  font-weight: 900;
  font-family: var(--font-heading);
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.product-card-wishlist {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text-muted);
  font-size: 0.9rem;
  cursor: pointer;
  transition: var(--transition-fast);
  border: none;
}

.product-card-wishlist:hover {
  background: #fff;
  color: #E74C3C;
  transform: scale(1.1);
}

.product-card-body {
  padding: 1.125rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.product-card-category {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--color-accent);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.375rem;
}

.product-card-title {
  font-family: var(--font-heading);
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 0.75rem;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.product-card-title a {
  color: var(--color-text);
}

.product-card-title a:hover {
  color: var(--color-primary);
}

.product-card-footer {
  display: flex;
  flex-direction: column;
  gap: .6rem;
  margin-top: auto;
  padding-bottom: .875rem;
}

/* ── Boutons carte produit ── */
.pc-btns {
  display: flex;
  align-items: center;
}
.pc-btn-cart {
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .45rem;
  background: #88B53B;
  color: #fff;
  border: none;
  border-radius: 9999px;
  padding: .58rem 1rem;
  font-size: .82rem;
  font-weight: 700;
  cursor: pointer;
  transition: background .15s, transform .1s, box-shadow .15s;
  white-space: nowrap;
  letter-spacing: .01em;
}
.pc-btn-cart:hover { background: #7aa433; transform: translateY(-1px); box-shadow: 0 3px 10px rgba(136,181,59,.35); }
.pc-btn-cart.is-loading { opacity: .65; pointer-events: none; }
.pc-btn-cart.is-added { background: #5a9020; }

/* ── Icône œil overlay sur l'image ── */
.pc-overlay-view {
  position: absolute;
  bottom: .6rem;
  right: .6rem;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,.9);
  border-radius: 50%;
  font-size: .8rem;
  color: var(--color-text);
  opacity: 0;
  transform: scale(.85);
  transition: opacity .18s, transform .18s;
  pointer-events: none;
}
.product-card:hover .pc-overlay-view {
  opacity: 1;
  transform: scale(1);
}

/* Prix normal */
.product-card-price {
  font-family: var(--font-heading);
  font-size: 1.125rem;
  font-weight: 900;
  color: var(--color-text);
  line-height: 1;
}

/* Prix quand produit en promo */
.product-card-price.has-discount {
  color: var(--color-promo);
}
.product-card-price.has-discount .woocommerce-Price-amount {
  color: var(--color-promo);
}

/* Prix barré */
.product-card-price .old-price,
del .woocommerce-Price-amount {
  font-size: 0.85rem;
  color: var(--color-text-muted);
  text-decoration: line-through;
  font-weight: 400;
  display: block;
  margin-bottom: 0.15rem;
}

/* Badge de réduction ex: -10% */
.product-card-discount {
  display: inline-block;
  background: var(--color-promo);
  color: #fff;
  font-family: var(--font-heading);
  font-size: 0.72rem;
  font-weight: 900;
  padding: 0.15rem 0.5rem;
  border-radius: var(--radius-sm);
  margin-left: 0.375rem;
  vertical-align: middle;
}

/* ---- CTA buttons row ---- */
.product-card-cta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border-top: 1px solid var(--color-border);
}

.product-card-btn-atc,
.product-card-btn-buy {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.65rem 0.5rem;
  font-family: var(--font-heading);
  font-size: 0.78rem;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
  transition: var(--transition-fast);
  white-space: nowrap;
  text-decoration: none;
  border: none;
}

/* Bouton plein vert — "In den Warenkorb" */
.product-card-btn-atc {
  background: var(--color-accent);
  color: #fff;
  border-right: 1px solid rgba(255,255,255,0.15);
}

.product-card-btn-atc:hover {
  background: #749c2e;
  color: #fff;
}

.product-card-btn-atc.added {
  background: #4caf50;
  color: #fff;
  pointer-events: none;
}

.product-card-btn-atc.loading {
  opacity: 0.7;
  pointer-events: none;
}

/* Bouton outline vert — "Jetzt kaufen" */
.product-card-btn-buy {
  background: #fff;
  color: var(--color-accent);
  border-left: 1px solid var(--color-accent);
  outline: none;
}

.product-card-btn-buy:hover {
  background: var(--color-accent);
  color: #fff;
}

/* ============================================================
   FILTERS / SIDEBAR
   ============================================================ */
.shop-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 2.5rem;
  padding: 3rem 0;
}

@media (max-width: 900px) {
  .shop-layout { grid-template-columns: 1fr; }
}

.shop-sidebar {
  position: sticky;
  top: calc(var(--navbar-h) + 1.5rem);
  height: fit-content;
}

.sidebar-widget {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  margin-bottom: 1.25rem;
}

.sidebar-widget-title {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.sidebar-widget-title i {
  color: var(--color-primary);
}

.filter-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.filter-list li a,
.filter-list li label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.5rem 0.625rem;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  color: var(--color-text);
  cursor: pointer;
  transition: var(--transition-fast);
}

.filter-list li a:hover,
.filter-list li label:hover {
  background: var(--color-surface-2);
  color: var(--color-primary);
}

.filter-list li a.active {
  background: var(--color-primary);
  color: #fff;
}

.filter-count {
  font-size: 0.75rem;
  background: var(--color-surface-2);
  color: var(--color-text-muted);
  padding: 0.15rem 0.5rem;
  border-radius: 100px;
}

.filter-list li a.active .filter-count {
  background: rgba(255,255,255,0.2);
  color: #fff;
}

/* Price range */
.price-range-inputs {
  display: flex;
  gap: 0.75rem;
  align-items: center;
  margin-top: 0.75rem;
}

.price-input {
  flex: 1;
  padding: 0.5rem 0.625rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  font-size: 0.875rem;
  font-family: var(--font-body);
  background: var(--color-bg);
  color: var(--color-text);
  width: 100%;
}

.price-input:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(136,181,59,0.12);
}

/* ============================================================
   SHOP TOOLBAR
   ============================================================ */
.shop-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.25rem;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}

.shop-results-count {
  font-size: 0.9rem;
  color: var(--color-text-muted);
}

.shop-results-count strong {
  color: var(--color-text);
}

.shop-toolbar-right {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.sort-select {
  padding: 0.5rem 2.5rem 0.5rem 0.875rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  font-size: 0.875rem;
  font-family: var(--font-body);
  background: var(--color-bg) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M0 0l6 8 6-8z' fill='%235C5C5C'/%3E%3C/svg%3E") no-repeat right 0.75rem center;
  -webkit-appearance: none;
  color: var(--color-text);
  cursor: pointer;
}

.sort-select:focus {
  outline: none;
  border-color: var(--color-primary);
}

.view-toggle {
  display: flex;
  gap: 0.25rem;
}

.view-btn {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  background: none;
  border: 1px solid var(--color-border);
  color: var(--color-text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition-fast);
  font-size: 0.85rem;
}

.view-btn.active,
.view-btn:hover {
  background: var(--color-primary);
  color: #fff;
  border-color: var(--color-primary);
}

/* ============================================================
   SINGLE PRODUCT
   ============================================================ */
.product-single { padding: 2rem 0 5rem; }

/* Layout 7/12 galerie + 5/12 infos (comme touschalets.com) */
.product-single-grid {
  display: grid;
  grid-template-columns: 58% 1fr;
  gap: 3rem;
  align-items: start;
  margin-bottom: 3rem;
}

@media (max-width: 960px) {
  .product-single-grid { grid-template-columns: 1fr; gap: 2rem; }
}

/* ── Galerie ── */
.product-gallery-main {
  position: relative;
  background: var(--color-surface-2);
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 10px;
  aspect-ratio: 1 / 1;
}

.product-gallery-main img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.product-gallery-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--color-promo);
  color: #fff;
  font-size: 0.82rem;
  font-weight: 900;
  padding: 4px 10px;
  border-radius: 6px;
  z-index: 2;
}

.product-gallery-thumbs {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 6px;
  scrollbar-width: thin;
  scrollbar-color: var(--color-border) transparent;
}
.product-gallery-thumbs::-webkit-scrollbar { height: 4px; }
.product-gallery-thumbs::-webkit-scrollbar-track { background: transparent; }
.product-gallery-thumbs::-webkit-scrollbar-thumb { background: var(--color-border); border-radius: 2px; }

.product-gallery-thumb {
  flex-shrink: 0;
  width: 88px;
  height: 70px;
  border-radius: 8px;
  overflow: hidden;
  cursor: pointer;
  border: 2px solid var(--color-border);
  transition: border-color 0.15s, transform 0.15s, box-shadow 0.15s;
  position: relative;
}
.product-gallery-thumb:hover { border-color: var(--color-accent); transform: translateY(-2px); box-shadow: 0 4px 12px rgba(0,0,0,0.12); }
.product-gallery-thumb.active { border-color: var(--color-accent); box-shadow: 0 0 0 3px rgba(136,181,59,0.25); }
.product-gallery-thumb.active::after {
  content: '';
  position: absolute; inset: 0;
  background: rgba(136,181,59,0.08);
  pointer-events: none;
}

.product-gallery-thumb img { width: 100%; height: 100%; object-fit: cover; }

/* Transition fluide sur l'image principale lors du changement de photo */
#main-product-img { transition: opacity 0.2s ease; }

/* ── Infos produit ── */
.product-info-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--color-surface-2);
  color: var(--color-primary);
  padding: 4px 12px;
  border-radius: 100px;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 10px;
}

.product-info-title {
  font-size: clamp(1.35rem, 3vw, 1.75rem);
  line-height: 1.25;
  margin-bottom: 10px;
  color: var(--color-text);
}

.product-stars {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
}

.product-stars .star-rating { font-size: 0.9rem; }
.product-stars-count { font-size: 0.78rem; color: var(--color-text-muted); }

.product-info-short-desc {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  line-height: 1.65;
  margin-bottom: 1.25rem;
  border-left: 3px solid var(--color-accent);
  padding-left: 12px;
}

/* ── Cadre prix touschalets.com style ── */
.pr-wrap {
  border: 1px solid var(--color-border);
  border-radius: 15px;
  padding: 18px 20px;
  background: #fff;
  margin-bottom: 1rem;
}

.pr-tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}

.pr-tag {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  border: 1px solid #628729;
  color: #628729;
  border-radius: 4px;
  padding: 2px 10px;
  font-size: 0.78rem;
  font-weight: 700;
}

.product-info-price-block {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 6px;
}

.product-price-main {
  font-family: var(--font-heading);
  font-size: 1.875rem;
  font-weight: 900;
  color: var(--color-promo);
}

.product-price-main .woocommerce-Price-amount { color: var(--color-promo); font-size: inherit; font-weight: inherit; }

.product-price-old {
  font-size: 1rem;
  color: var(--color-text-muted);
  text-decoration: line-through;
  font-weight: 400;
}

.product-price-badge {
  background: var(--color-promo);
  color: #fff;
  font-size: 0.9rem;
  font-weight: 900;
  border-radius: 5px;
  padding: 1px 7px;
}

.product-price-tax {
  font-size: 0.75rem;
  color: var(--color-text-muted);
  margin-bottom: 16px;
}

/* ── Quantité + CTA boutons produit ── */
.product-add-cart { margin-bottom: 16px; }

.product-cta-form { display: flex; flex-direction: column; gap: 12px; }

.product-qty-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
}
.product-qty-label {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--color-text);
  white-space: nowrap;
}
.product-qty-ctrl {
  display: flex;
  align-items: center;
  border: 2px solid var(--color-border);
  border-radius: 10px;
  overflow: hidden;
}
.qty-btn {
  width: 40px;
  height: 44px;
  background: var(--color-bg);
  border: none;
  cursor: pointer;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--color-text);
  transition: background 0.15s, color 0.15s;
  line-height: 1;
}
.qty-btn:hover { background: var(--color-accent); color: #fff; }
.qty-input {
  width: 54px;
  text-align: center;
  border: none;
  border-left: 1px solid var(--color-border);
  border-right: 1px solid var(--color-border);
  height: 44px;
  font-size: 1rem;
  font-weight: 700;
  font-family: var(--font-body);
  color: var(--color-text);
  background: #fff;
  -moz-appearance: textfield;
}
.qty-input::-webkit-inner-spin-button,
.qty-input::-webkit-outer-spin-button { -webkit-appearance: none; }

.product-cta-btns {
  display: flex;
  gap: 10px;
}
.btn-add-cart,
.btn-buy-now {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 52px;
  border-radius: 10px;
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
  white-space: nowrap;
}
.btn-add-cart {
  background: var(--color-accent);
  color: #fff;
  border: 2px solid var(--color-accent);
}
.btn-add-cart:hover {
  background: #6d9430;
  border-color: #6d9430;
  color: #fff;
}
.btn-buy-now {
  background: #fff;
  color: var(--color-accent);
  border: 2px solid var(--color-accent);
}
.btn-buy-now:hover {
  background: var(--color-accent);
  color: #fff;
}

/* Override texte "Add to cart" → "In den Warenkorb" via CSS content trick n/a — géré en PHP/hook */
.product-out-of-stock {
  padding: 12px 16px;
  background: #FEF2F2;
  border-radius: var(--radius-md);
  color: var(--color-promo);
  font-weight: 600;
  margin-bottom: 16px;
}

/* Réassurance compacte sous le bouton */
.pr-reassurance {
  border-top: 1px solid var(--color-border);
  padding-top: 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.pr-reassurance-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  color: var(--color-text-muted);
}

.pr-reassurance-item i { color: var(--color-accent); width: 14px; flex-shrink: 0; }

.product-sku {
  font-size: 0.78rem;
  color: var(--color-text-muted);
  margin-top: 8px;
}

/* ── Accordéons ── */
.product-accordions { margin-top: 3rem; display: flex; flex-direction: column; gap: 8px; }

.accordion-item {
  border-radius: 15px;
  overflow: hidden;
  background: var(--color-surface-2);
}

.accordion-title {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 18px 22px;
  font-size: 1rem;
  font-weight: 900;
  color: var(--color-text);
  cursor: pointer;
  user-select: none;
  background: var(--color-surface-2);
  transition: background 0.15s;
}

.accordion-title:hover { background: #E5E4E3; }

.accordion-chevron { margin-left: auto; transition: transform 0.3s; color: var(--color-text-muted); }

.accordion-item.open .accordion-chevron { transform: rotate(180deg); }

.accordion-content {
  padding: 0 22px 22px;
  background: #fff;
}

.accordion-content .wc-desc-content img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin: 1rem 0;
}

/* Specs grid */
.specs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 8px;
}

.spec-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  background: var(--color-surface-2);
  border-radius: var(--radius-md);
}

.spec-label {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--color-text-muted);
  min-width: 120px;
}

.spec-value { font-size: 0.9rem; color: var(--color-text); }

.specs-empty { color: var(--color-text-muted); font-size: 0.9rem; padding: 0.5rem 0; }

/* Shipping grid */
.shipping-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

@media (max-width: 640px) {
  .shipping-grid { grid-template-columns: 1fr; }
}

.shipping-card {
  background: var(--color-surface-2);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  text-align: center;
}

.shipping-icon {
  width: 48px;
  height: 48px;
  background: var(--color-accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.2rem;
  margin: 0 auto 1rem;
}

.shipping-card h3 { font-size: 1rem; margin-bottom: 0.5rem; }
.shipping-card p  { font-size: 0.85rem; color: var(--color-text-muted); margin: 0; }

/* Produits liés */
.product-related { margin-top: 4rem; padding-top: 3rem; border-top: 1px solid var(--color-border); }

.product-related-title {
  font-size: 1.5rem;
  font-weight: 900;
  margin-bottom: 1.75rem;
  padding-left: 18px;
  position: relative;
}

.product-related-title::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 6px;
  height: 28px;
  background: var(--color-accent);
  border-radius: 3px;
}

/* Sticky ATC bar */
.sticky-atc-bar {
  position: fixed;
  bottom: -80px;
  left: 0;
  right: 0;
  background: #262626;
  color: #fff;
  z-index: 990;
  padding: 12px 0;
  transition: bottom 0.3s ease;
  box-shadow: 0 -4px 20px rgba(0,0,0,.2);
}

.sticky-atc-bar.visible { bottom: 0; }

.sticky-atc-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.sticky-atc-title {
  font-size: 0.9rem;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  flex: 1;
}

.sticky-atc-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--color-accent);
  color: #fff;
  padding: 10px 22px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.9rem;
  white-space: nowrap;
  text-decoration: none;
  transition: background 0.2s;
  flex-shrink: 0;
}

.sticky-atc-btn:hover { background: #7EBD00; color: #fff; }

/* Responsive mobile produit */
@media (max-width: 640px) {
  .product-info-title { font-size: 1.2rem; }
  .product-price-main { font-size: 1.5rem; }
  .pr-wrap { padding: 14px; }
  .product-accordions { margin-top: 2rem; }
  .sticky-atc-title { display: none; }
}

/* ============================================================
   TRUST BADGES / USPs
   ============================================================ */
.usp-bar {
  background: var(--color-primary);
  padding: 0.875rem 0;
}

.usp-bar-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3rem;
  flex-wrap: wrap;
}

.usp-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: rgba(255,255,255,0.92);
  font-size: 0.85rem;
  font-weight: 600;
}

.usp-item i {
  color: var(--color-accent-light);
  font-size: 1rem;
}

/* ============================================================
   WHY US SECTION
   ============================================================ */
.why-us-section {
  padding: 5rem 0;
  background: var(--color-surface-2);
}

.feature-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

@media (max-width: 900px) { .feature-cards { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .feature-cards { grid-template-columns: 1fr; } }

.feature-card {
  background: var(--color-surface);
  border-radius: var(--radius-xl);
  padding: 2rem 1.5rem;
  text-align: center;
  border: 1px solid var(--color-border);
  transition: var(--transition);
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--color-primary-light);
}

.feature-icon {
  width: 64px;
  height: 64px;
  background: var(--color-surface-2);
  border-radius: var(--radius-xl);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem;
  font-size: 1.75rem;
  color: var(--color-primary);
  transition: var(--transition);
}

.feature-card:hover .feature-icon {
  background: var(--color-primary);
  color: #fff;
}

.feature-card h3 {
  font-size: 1.1rem;
  margin-bottom: 0.625rem;
}

.feature-card p {
  font-size: 0.875rem;
  color: var(--color-text-muted);
  line-height: 1.6;
  margin: 0;
}

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.testimonials-section {
  padding: 5rem 0;
  background: var(--color-bg);
}

.testimonial-card {
  background: var(--color-surface);
  border-radius: var(--radius-xl);
  padding: 2rem;
  border: 1px solid var(--color-border);
  position: relative;
}

.testimonial-quote {
  font-size: 3rem;
  line-height: 1;
  color: var(--color-primary);
  font-family: var(--font-heading);
  margin-bottom: 0.75rem;
  opacity: 0.3;
}

.testimonial-text {
  color: var(--color-text-muted);
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 1.25rem;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 0.875rem;
}

.testimonial-avatar {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--color-surface-2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--color-primary);
  font-size: 1.1rem;
  flex-shrink: 0;
}

.testimonial-name {
  font-weight: 700;
  font-size: 0.9rem;
  margin-bottom: 0.1rem;
}

.testimonial-location {
  font-size: 0.78rem;
  color: var(--color-text-muted);
}

.testimonial-stars {
  color: var(--color-accent);
  font-size: 0.85rem;
  margin-top: 0.2rem;
}

/* ============================================================
   CTA BANNER
   ============================================================ */
.cta-banner {
  background: linear-gradient(135deg, var(--color-primary-dark) 0%, var(--color-primary) 100%);
  padding: 5rem 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.cta-banner-content {
  position: relative;
  z-index: 1;
}

.cta-banner h2 {
  color: #fff;
  margin-bottom: 1rem;
  font-size: clamp(1.75rem, 4vw, 2.75rem);
}

.cta-banner p {
  color: rgba(255,255,255,0.8);
  font-size: 1.1rem;
  max-width: 540px;
  margin: 0 auto 2rem;
}

/* ============================================================
   CART & CHECKOUT
   ============================================================ */
.cart-page { padding: 3rem 0 5rem; }
.checkout-page { padding-top: 2rem; padding-bottom: 5rem; }

.cart-page-title, .checkout-page-title {
  font-size: clamp(1.4rem, 3vw, 1.9rem);
  margin-bottom: 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.625rem;
}

.checkout-page-title i { color: #88B53B; font-size: 0.85em; }

.cart-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.cart-table th {
  background: var(--color-surface-2);
  padding: 1rem 1.25rem;
  text-align: left;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-text-muted);
  border-bottom: 1px solid var(--color-border);
}

.cart-table td {
  padding: 1.25rem;
  border-bottom: 1px solid var(--color-border);
  vertical-align: middle;
}

.cart-table tr:last-child td { border-bottom: none; }

.cart-product-info {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.cart-product-img {
  width: 72px;
  height: 56px;
  border-radius: var(--radius-md);
  object-fit: cover;
  flex-shrink: 0;
  background: var(--color-surface-2);
}

.cart-product-name {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--color-text);
}

.cart-product-meta {
  font-size: 0.78rem;
  color: var(--color-text-muted);
  margin-top: 0.2rem;
}

.cart-remove {
  background: none;
  border: none;
  color: var(--color-text-muted);
  cursor: pointer;
  font-size: 1rem;
  padding: 0.25rem;
  transition: var(--transition-fast);
  border-radius: var(--radius-sm);
}

.cart-remove:hover { color: var(--color-error); background: #FEF2F2; }

.cart-summary {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: 1.75rem;
  position: sticky;
  top: calc(var(--navbar-h) + 1.5rem);
}

.cart-summary-title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.summary-line {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.625rem 0;
  border-bottom: 1px solid var(--color-border);
  font-size: 0.9rem;
  color: var(--color-text-muted);
}

.summary-line:last-of-type { border-bottom: none; }

.summary-line.total {
  padding-top: 1rem;
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--color-text);
}

.summary-line.total .amount {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  color: var(--color-primary);
}

/* Checkout form */
.checkout-grid {
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 2.5rem;
  align-items: start;
}

@media (max-width: 900px) { .checkout-grid { grid-template-columns: 1fr; } }

.checkout-form-section {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: 2rem;
  margin-bottom: 1.5rem;
}

.checkout-section-title {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--color-text);
}

.checkout-section-title i {
  color: var(--color-primary);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 1rem;
}

.form-row.full { grid-template-columns: 1fr; }

@media (max-width: 640px) { .form-row { grid-template-columns: 1fr; } }

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
}

.form-label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-text);
}

.form-label .required { color: var(--color-error); margin-left: 0.25rem; }

.form-input, .form-select {
  padding: 0.75rem 1rem;
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-md);
  font-size: 0.9rem;
  font-family: var(--font-body);
  color: var(--color-text);
  background: var(--color-bg);
  transition: var(--transition-fast);
  width: 100%;
}

.form-input:focus, .form-select:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(136,181,59,0.12);
  background: #fff;
}

.form-input::placeholder { color: #aaa; }

.payment-options {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.payment-option {
  display: flex;
  align-items: center;
  gap: 0.875rem;
  padding: 1rem 1.25rem;
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-lg);
  cursor: pointer;
  transition: var(--transition-fast);
}

.payment-option:hover {
  border-color: var(--color-primary-light);
  background: var(--color-surface-2);
}

.payment-option.selected {
  border-color: var(--color-primary);
  background: rgba(136,181,59,0.05);
}

.payment-option input[type="radio"] { display: none; }

.payment-option-icon {
  width: 42px;
  height: 28px;
  border-radius: var(--radius-sm);
  background: var(--color-surface-2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.payment-option-label {
  font-weight: 600;
  font-size: 0.9rem;
}

.payment-option-desc {
  font-size: 0.78rem;
  color: var(--color-text-muted);
  margin-top: 0.1rem;
}

/* ============================================================
   CHECKOUT — design amélioré
   ============================================================ */

/* Fond gris sur toute la page checkout via body class WooCommerce */
body.woocommerce-checkout #main-content {
  background: #F4F5F7;
}

/* Masquer les notices WooCommerce sur la page checkout */
body.woocommerce-checkout .woocommerce-notices-wrapper,
body.woocommerce-checkout .woocommerce-message,
body.woocommerce-checkout .woocommerce-info,
body.woocommerce-checkout .woocommerce-error {
  display: none !important;
}

/* Barre de progression sécurisée */
.co-secure-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
  background: #fff;
  border: 1px solid #E8E8E8;
  border-radius: 10px;
  padding: 0.75rem 1.25rem;
  margin-bottom: 1.5rem;
  font-size: 0.78rem;
}

.co-secure-ssl {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  color: #5a7a25;
  font-weight: 600;
}

.co-secure-ssl i { color: #88B53B; }

.co-progress-steps {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.co-progress-step {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.76rem;
  color: #aaa;
  font-weight: 500;
}

.co-progress-step + .co-progress-step::before {
  content: '›';
  color: #ccc;
  margin-right: 0.2rem;
}

.co-progress-step.is-done { color: #88B53B; }
.co-progress-step.is-active { color: var(--color-text); font-weight: 700; }

.co-ps-dot {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #E8E8E8;
  color: #999;
  font-size: 0.65rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.co-progress-step.is-done .co-ps-dot {
  background: #88B53B;
  color: #fff;
}

.co-progress-step.is-active .co-ps-dot {
  background: var(--color-text);
  color: #fff;
}

/* Layout 2 colonnes : 7fr / 5fr */
.checkout-layout {
  display: grid;
  grid-template-columns: 7fr 5fr;
  gap: 1.75rem;
  align-items: start;
}

@media (max-width: 960px) {
  .checkout-layout { grid-template-columns: 1fr; }
  .checkout-col-right { order: -1; }
}

/* Colonne droite sticky */
.checkout-col-right {
  position: sticky;
  top: calc(var(--navbar-h) + 1.25rem);
  max-height: calc(100vh - var(--navbar-h) - 2.5rem);
  overflow-y: auto;
  scrollbar-width: none;
}
.checkout-col-right::-webkit-scrollbar { display: none; }

/* ── Numéro d'étape ──────────────────────────────────────── */
.co-step-num {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: #88B53B;
  color: #fff;
  font-size: 0.72rem;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  line-height: 1;
}

/* ── Section card ────────────────────────────────────────── */
.co-section {
  background: #fff;
  border: 1px solid #E8E8E8;
  border-radius: 12px;
  padding: 1.5rem 1.75rem;
  margin-bottom: 1rem;
  box-shadow: 0 1px 4px rgba(0,0,0,0.04);
}

.co-section-title {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 1.25rem;
}

.co-section-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  background: #F4F7EE;
  border-radius: 7px;
  color: #88B53B;
  font-size: 0.8rem;
  flex-shrink: 0;
}

/* ── Grilles champs ──────────────────────────────────────── */
.co-row { display: grid; gap: 1rem; margin-bottom: 1rem; }
.co-row-2 { grid-template-columns: 1fr 1fr; }
.co-row-1 { grid-template-columns: 1fr; }

@media (max-width: 600px) { .co-row-2 { grid-template-columns: 1fr; } }

.co-field { display: flex; flex-direction: column; gap: 0.3rem; }

/* ── Labels ──────────────────────────────────────────────── */
.co-label {
  font-size: 0.8rem;
  font-weight: 600;
  color: #444;
  letter-spacing: 0.01em;
}

.co-req { color: #e53935; margin-left: 0.15rem; }
.co-optional { font-weight: 400; color: #aaa; font-size: 0.75rem; }

/* ── Validation errors ───────────────────────────────────── */
.co-input.co-has-error,
.co-select.co-has-error {
  border-color: #e53935 !important;
  background: #fff8f8 !important;
  box-shadow: 0 0 0 3px rgba(229,57,53,0.10) !important;
  animation: co-shake 0.32s ease;
}
@keyframes co-shake {
  0%,100% { transform: translateX(0); }
  20%      { transform: translateX(-5px); }
  60%      { transform: translateX(5px); }
}
.co-error-msg {
  display: block;
  color: #e53935;
  font-size: 0.76rem;
  margin-top: 0.25rem;
  font-weight: 500;
}
.co-terms-label.co-has-error .co-terms-box {
  border-color: #e53935 !important;
  box-shadow: 0 0 0 3px rgba(229,57,53,0.12) !important;
}
.co-terms-label.co-has-error .co-terms-text {
  color: #e53935;
}

/* ── Inputs & selects ────────────────────────────────────── */
.co-input, .co-select {
  padding: 0.7rem 0.9rem;
  border: 1.5px solid #E2E2E2;
  border-radius: 8px;
  font-size: 0.88rem;
  font-family: var(--font-body);
  color: var(--color-text);
  background: #FAFAFA;
  transition: border-color 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
  width: 100%;
  appearance: none;
  -webkit-appearance: none;
}

.co-input:focus, .co-select:focus {
  outline: none;
  border-color: #88B53B;
  box-shadow: 0 0 0 3px rgba(136,181,59,0.14);
  background: #fff;
}

.co-input::placeholder { color: #c0c0c0; }

.co-select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23888' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.9rem center;
  padding-right: 2.5rem;
  cursor: pointer;
}

.co-textarea {
  resize: vertical;
  min-height: 90px;
  line-height: 1.6;
}

/* ── Livraison toggle ────────────────────────────────────── */
.co-shipping-toggle {
  display: flex;
  align-items: flex-start;
  gap: 0.875rem;
  cursor: pointer;
  padding: 0.875rem 1rem;
  background: #FAFAFA;
  border: 1.5px solid #E8E8E8;
  border-radius: 10px;
  user-select: none;
  transition: border-color 0.18s, background 0.18s;
}

.co-shipping-toggle:hover {
  border-color: rgba(136,181,59,0.5);
  background: #F6FAF0;
}

.co-shipping-checkbox { display: none; }

.co-shipping-toggle-box {
  width: 22px;
  height: 22px;
  border: 2px solid #D0D0D0;
  border-radius: 6px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color 0.18s, background 0.18s;
  margin-top: 0.1rem;
}

.co-shipping-checkmark { color: #fff; font-size: 0.7rem; opacity: 0; transition: opacity 0.15s; }

.co-shipping-checkbox:checked ~ .co-shipping-toggle-box,
.co-shipping-checkbox:checked + .co-shipping-toggle-box {
  background: #88B53B;
  border-color: #88B53B;
}

.co-shipping-checkbox:checked ~ .co-shipping-toggle-box .co-shipping-checkmark,
.co-shipping-checkbox:checked + .co-shipping-toggle-box .co-shipping-checkmark { opacity: 1; }

.co-shipping-toggle-text strong { display: block; font-size: 0.88rem; color: var(--color-text); }
.co-shipping-toggle-text small { font-size: 0.76rem; color: #999; margin-top: 0.1rem; display: block; }

.co-shipping-fields {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.38s ease, opacity 0.3s ease;
  opacity: 0;
}

.co-shipping-fields.is-open { max-height: 900px; opacity: 1; }

.co-shipping-inner {
  padding-top: 1.25rem;
  border-top: 1.5px solid #F0F0F0;
  margin-top: 1.25rem;
}

/* ── Méthodes de paiement ────────────────────────────────── */
.co-payment-list { display: flex; flex-direction: column; gap: 0.625rem; }

.co-pay-option {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.125rem;
  border: 1.5px solid #E4E4E4;
  border-radius: 10px;
  cursor: pointer;
  transition: border-color 0.18s, background 0.18s, box-shadow 0.18s;
}

.co-pay-option:hover {
  border-color: rgba(136,181,59,0.5);
  background: rgba(136,181,59,0.03);
}

.co-pay-option.is-active {
  border-color: #88B53B;
  background: rgba(136,181,59,0.06);
  box-shadow: 0 0 0 3px rgba(136,181,59,0.1);
}

.co-pay-radio { display: none; }

.co-pay-icon {
  width: 46px;
  height: 30px;
  background: #F0F0F0;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.co-pay-info { flex: 1; display: flex; flex-direction: column; gap: 0.1rem; }
.co-pay-title { font-weight: 600; font-size: 0.88rem; color: var(--color-text); }
.co-pay-desc { font-size: 0.76rem; color: #999; }

.co-pay-check { color: #D4D4D4; font-size: 1.2rem; transition: color 0.18s; flex-shrink: 0; }
.co-pay-option.is-active .co-pay-check { color: #88B53B; }

.co-pay-extra {
  background: #F8F9F5;
  border: 1px solid #E0EACC;
  border-top: none;
  border-radius: 0 0 10px 10px;
  padding: 1rem 1.125rem;
  margin-top: -0.625rem;
  margin-bottom: 0.375rem;
}

/* Info virement bancaire */
.co-bacs-info {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  background: #EEF5E0;
  border: 1px solid #C8E08A;
  border-radius: 8px;
  padding: 0.875rem 1rem;
  margin-top: 0.25rem;
}

.co-bacs-info > i {
  color: #6a9a1f;
  font-size: 1rem;
  margin-top: 0.15rem;
  flex-shrink: 0;
}

.co-bacs-info strong { display: block; font-size: 0.82rem; color: #3d5c0a; margin-bottom: 0.3rem; }
.co-bacs-info p { font-size: 0.78rem; color: #5a7a1a; line-height: 1.5; margin: 0; }

.co-no-payment { color: #999; font-style: italic; font-size: 0.88rem; }

/* ── Récapitulatif commande (colonne droite) ─────────────── */
.co-summary {
  background: #fff;
  border: 1px solid #E8E8E8;
  border-radius: 14px;
  padding: 1.5rem;
  box-shadow: 0 2px 16px rgba(0,0,0,0.06);
}

.co-summary-title {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 1.125rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--color-text);
  padding-bottom: 0.875rem;
  border-bottom: 1.5px solid #F0F0F0;
}

.co-summary-title i { color: #88B53B; }

/* Articles */
.co-items {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 1rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid #F0F0F0;
}

.co-item { display: flex; align-items: center; gap: 0.75rem; }

.co-item-img {
  width: 58px;
  height: 46px;
  object-fit: cover;
  border-radius: 7px;
  flex-shrink: 0;
  background: #F5F5F5;
  border: 1px solid #F0F0F0;
}

.co-item-img--placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ccc;
  font-size: 1.25rem;
}

.co-item-info { flex: 1; display: flex; flex-direction: column; gap: 0.1rem; }

.co-item-name {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--color-text);
  line-height: 1.35;
}

.co-item-qty { font-size: 0.72rem; color: #aaa; }

.co-item-price {
  font-weight: 700;
  font-size: 0.875rem;
  color: var(--color-text);
  white-space: nowrap;
}

/* Sous-totaux */
.co-totals-sub { margin-bottom: 0.875rem; }

.co-total-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.45rem 0;
  border-bottom: 1px solid #F5F5F5;
  font-size: 0.84rem;
  color: #777;
}

/* Grand total box mis en valeur */
.co-grand-box {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: linear-gradient(135deg, #88B53B 0%, #7aa433 100%);
  border-radius: 10px;
  padding: 1rem 1.25rem;
  margin-bottom: 1.125rem;
}

.co-grand-label {
  color: rgba(255,255,255,0.88);
  font-size: 0.8rem;
  font-weight: 600;
  line-height: 1.4;
}

.co-grand-label small {
  display: block;
  font-size: 0.68rem;
  font-weight: 400;
  opacity: 0.75;
}

.co-grand-amount {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 800;
  color: #fff;
  white-space: nowrap;
}

.co-free { color: #88B53B; font-weight: 600; }

/* Badges sécurité */
.co-trust-badges {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  flex-wrap: wrap;
  padding: 0.75rem 0;
  border-top: 1px solid #F0F0F0;
  border-bottom: 1px solid #F0F0F0;
  margin-bottom: 1rem;
}

.co-trust-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.25rem 0.55rem;
  background: #F5F7F2;
  border: 1px solid #DDE8C4;
  border-radius: 20px;
  font-size: 0.7rem;
  font-weight: 600;
  color: #5a7a25;
  white-space: nowrap;
}

.co-trust-badge i { font-size: 0.9rem; color: #88B53B; vertical-align: middle; }
.co-trust-badge .fa-cc-visa { color: #1A1F71; }
.co-trust-badge .fa-cc-mastercard { color: #EB001B; }
.co-trust-badge .fa-paypal { color: #003087; }

/* Checkbox CGU */
.co-terms-label {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  cursor: pointer;
  margin-bottom: 1rem;
  user-select: none;
}

.co-terms-cb { display: none; }

.co-terms-box {
  width: 20px;
  height: 20px;
  border: 2px solid #D0D0D0;
  border-radius: 5px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color 0.18s, background 0.18s;
  margin-top: 0.15rem;
}

.co-terms-box i { color: #fff; font-size: 0.62rem; opacity: 0; transition: opacity 0.15s; }

.co-terms-cb:checked + .co-terms-box { background: #88B53B; border-color: #88B53B; }
.co-terms-cb:checked + .co-terms-box i { opacity: 1; }

.co-terms-text { font-size: 0.77rem; color: #666; line-height: 1.5; }
.co-terms-text a { color: #88B53B; text-decoration: underline; }

/* Bouton principal */
.co-submit-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.625rem;
  width: 100%;
  padding: 1.1rem 1.5rem;
  background: linear-gradient(135deg, #96c542 0%, #7aa433 100%);
  color: #fff;
  border: none;
  border-radius: 10px;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: filter 0.2s ease, transform 0.15s ease, box-shadow 0.2s ease;
  box-shadow: 0 4px 18px rgba(136,181,59,0.4);
  margin-bottom: 0.75rem;
}

.co-submit-btn:hover {
  filter: brightness(1.07);
  box-shadow: 0 6px 24px rgba(136,181,59,0.5);
  transform: translateY(-1px);
}

.co-submit-btn:active {
  transform: translateY(0);
  filter: brightness(0.97);
}

.co-submit-btn i { font-size: 0.9rem; opacity: 0.9; }

/* Mention légale */
.co-legal-note {
  font-size: 0.69rem;
  color: #bbb;
  text-align: center;
  line-height: 1.5;
  margin-bottom: 1rem;
}

.co-legal-note a { color: #88B53B; text-decoration: underline; }

/* Réassurance bas de carte */
.co-reassurance {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.875rem;
  flex-wrap: wrap;
  padding-top: 0.875rem;
  border-top: 1px solid #F0F0F0;
  font-size: 0.71rem;
  color: #999;
}

.co-reassurance span { display: flex; align-items: center; gap: 0.3rem; }
.co-reassurance i { color: #88B53B; }

/* ── Surcharge WooCommerce natif dans checkout ────────────── */
.checkout-layout .woocommerce-checkout-payment { display: none; }
.checkout-layout .woocommerce-terms-and-conditions-wrapper { display: none; }
.checkout-layout p.form-row { display: none; }

/* ============================================================
   PAGINATION
   ============================================================ */
.pagination {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 3rem;
  padding: 1rem 0;
  flex-wrap: wrap;
}

.page-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--color-text);
  background: var(--color-surface);
  text-decoration: none;
  transition: var(--transition-fast);
  cursor: pointer;
}

.page-link:hover {
  background: var(--color-surface-2);
  color: var(--color-primary);
  border-color: var(--color-primary);
}

.page-link.active {
  background: var(--color-primary);
  color: #fff;
  border-color: var(--color-primary);
}

.page-link.disabled {
  opacity: 0.4;
  pointer-events: none;
}

/* ============================================================
   BREADCRUMB
   ============================================================ */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.825rem;
  color: var(--color-text-muted);
  padding: 1.25rem 0;
  flex-wrap: wrap;
}

.breadcrumb a {
  color: var(--color-text-muted);
  transition: var(--transition-fast);
}

.breadcrumb a:hover { color: var(--color-primary); }

.breadcrumb-sep {
  color: var(--color-border);
  font-size: 0.7rem;
}

.breadcrumb-current {
  color: var(--color-text);
  font-weight: 600;
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--color-bg-dark);
  color: rgba(255,255,255,0.75);
  padding: 4rem 0 1.5rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }

.footer-brand {
  max-width: 300px;
}

.footer-logo {
  display: inline-flex;
  margin-bottom: 1rem;
  text-decoration: none;
}

.logo-wrap--footer .logo-row1 {
  font-size: 1.25rem;
  letter-spacing: 0.2em;
}

.logo-wrap--footer .logo-row2 {
  font-size: 0.68rem;
  letter-spacing: 0.1em;
}

/* ============================================================
   HOMEPAGE — SECTION 1 : SLIDER HÉRO #home-top
   ============================================================ */
#home-top {
  padding: 1.25rem 0 2rem;
  background: var(--color-bg);
}

#home-top > .container {
  max-width: none;
  padding: 0;
}

.home-top-inner {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 1rem;
  align-items: stretch;
}

/* --- Slider --- */
.home-slider-wrap {
  position: relative;
  border-radius: 15px;
  overflow: hidden;
  height: 624px;
}

.home-slider {
  position: relative;
  width: 100%;
  height: 624px;
  background: #1a1a1a;
  border-radius: 15px;
  overflow: hidden;
}

.home-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.7s ease;
  pointer-events: none;
}

.home-slide.active {
  opacity: 1;
  pointer-events: auto;
}

.home-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.slider-txt {
  position: absolute;
  bottom: 30px;
  left: 80px;
  background: rgba(0, 0, 0, .4);
  padding: 10px 20px;
  border-radius: 15px;
  color: #fff;
}

.slider-title {
  color: #fff;
  font-size: 3.75rem;
  font-weight: 900;
  line-height: 1;
  font-family: var(--font-heading);
  margin-bottom: 0.75rem;
}

.slider-btn {
  display: inline-block;
  background: var(--color-accent);
  color: #fff;
  padding: 0.6rem 1.5rem;
  border-radius: var(--radius-md);
  font-weight: 700;
  font-size: 0.9rem;
  text-decoration: none;
  transition: var(--transition);
}

.slider-btn:hover {
  background: #6fa030;
  color: #fff;
  transform: translateY(-2px);
}

/* Dots */
.slider-dots {
  position: absolute;
  bottom: 14px;
  right: 20px;
  display: flex;
  gap: 7px;
  z-index: 10;
}

.slider-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,.7);
  background: transparent;
  cursor: pointer;
  transition: var(--transition-fast);
  padding: 0;
}

.slider-dot.active {
  background: #fff;
  border-color: #fff;
}

/* --- Colonne latérale droite --- */
.home-top-sidebar {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.home-side-card {
  position: relative;
  border-radius: 15px;
  overflow: hidden;
  flex: 1;
  min-height: 0;
  transition: var(--transition);
  background: #fff;
}

.home-side-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

.home-side-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  z-index: 0;
}

.home-side-card-body {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  z-index: 1;
  padding: 1.25rem 1.25rem 1.1rem;
  background: linear-gradient(to top, rgba(0,0,0,0.78) 0%, rgba(0,0,0,0.3) 60%, transparent 100%);
  display: flex;
  flex-direction: column;
}

.home-side-card-body h3 {
  color: #fff;
  font-size: 1.2rem;
  font-weight: 900;
  margin-bottom: 0.2rem;
}

.home-side-card-body p {
  color: rgba(255,255,255,.85);
  font-size: 0.82rem;
  margin-bottom: 0.7rem;
}

.home-side-btn {
  display: inline-block;
  background: #fff;
  color: #262626;
  padding: 0.4rem 1.1rem;
  border-radius: var(--radius-md);
  font-weight: 700;
  font-size: 0.82rem;
  text-decoration: none;
  align-self: flex-start;
  transition: var(--transition);
}

.home-side-btn:hover {
  background: var(--color-accent);
  color: #fff;
}

@media (max-width: 900px) {
  .home-top-inner {
    grid-template-columns: 1fr;
  }
  .home-top-sidebar {
    flex-direction: row;
  }
  .home-side-card {
    flex: 1;
  }
  .slider-title {
    font-size: 2.5rem;
  }
  .slider-txt {
    left: 30px;
    bottom: 20px;
  }
}

@media (max-width: 600px) {
  .home-top-sidebar {
    flex-direction: column;
  }
  .slider-title {
    font-size: 1.8rem;
  }
  .slider-txt {
    left: 16px;
    bottom: 16px;
  }
}

/* ============================================================
   HOMEPAGE — SECTION 2 : CATÉGORIES #home-cat
   ============================================================ */
#home-cat {
  padding: 2rem 0;
  background: #fff;
}

.home-cat-track {
  display: flex;
  gap: 1.5rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;

  padding-bottom: 0.5rem;
  scrollbar-width: thin;
  scrollbar-color: var(--color-border) transparent;
}

.home-cat-track::-webkit-scrollbar {
  height: 4px;
}
.home-cat-track::-webkit-scrollbar-track { background: transparent; }
.home-cat-track::-webkit-scrollbar-thumb { background: var(--color-border); border-radius: 4px; }

.home-cat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
  scroll-snap-align: start;
  text-decoration: none;
  transition: var(--transition);
}

.home-cat-item:hover { transform: translateY(-4px); }

.home-cat-img-wrap {
  width: 215px;
  height: 141px;
  background: #EEEDED;
  border-radius: 200px 200px 0 0;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.home-cat-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.home-cat-label {
  font-size: 1rem;
  text-transform: uppercase;
  font-weight: 900;
  color: #81776F;
  text-align: center;
  font-family: var(--font-heading);
  letter-spacing: 0.03em;
}

/* ============================================================
   HOMEPAGE — SECTIONS : TITRES WATERMARK + HEAD
   ============================================================ */
.home-section-head {
  text-align: center;
  position: relative;
  margin-bottom: 2.5rem;
  padding-top: 1.5rem;
}

.home-watermark {
  font-size: clamp(3rem, 8vw, 6rem);
  font-weight: 200;
  color: rgba(38, 38, 38, .12);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  line-height: 1;
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  white-space: nowrap;
  pointer-events: none;
  user-select: none;
}

.home-watermark--light {
  color: rgba(255, 255, 255, .25);
}

.home-watermark--faint {
  color: rgba(38, 38, 38, .08);
}

.home-section-title {
  font-size: 2.75rem;
  font-weight: 900;
  color: #262626;
  text-align: center;
  position: relative;
  z-index: 1;
  padding-top: 1.5rem;
}

.home-section-title--light {
  color: #fff;
}

.home-section-sub {
  color: var(--color-text-muted);
  font-size: 1rem;
  text-align: center;
  margin-top: 0.5rem;
  position: relative;
  z-index: 1;
}

/* ============================================================
   HOMEPAGE — SECTION 3 : BESTSELLERS #home-bestsellers
   ============================================================ */
#home-bestsellers {
  padding: 3rem 0 3.5rem;
  background: var(--color-bg);
  overflow: hidden;
}

.home-see-all {
  text-align: center;
  margin-top: 2.5rem;
}

/* ============================================================
   HOMEPAGE — SECTION 4 : INNOVATIONS #home-innovations
   ============================================================ */
#home-innovations {
  background: #262626;
  padding: 3rem 0 3.5rem;
  overflow: hidden;
}

.home-section-head--dark {
  color: #fff;
}

.home-innov-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.home-innov-card {
  position: relative;
  border-radius: 15px;
  overflow: hidden;
  aspect-ratio: 9/14;
  display: block;
  text-decoration: none;
}

.home-innov-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

.home-innov-card:hover img {
  transform: scale(1.05);
}

.home-innov-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,.75) 0%, rgba(0,0,0,.1) 55%, transparent 100%);
  display: flex;
  align-items: flex-end;
  padding: 1.75rem 1.5rem;
  transition: var(--transition);
}

.home-innov-text {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  width: 100%;
}

.home-innov-text::before {
  content: '';
  display: block;
  width: 40px;
  height: 3px;
  background: #fff;
  border-radius: 2px;
}

.home-innov-title {
  color: #fff;
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 900;
  line-height: 1.1;
}

.home-innov-btn {
  display: inline-block;
  background: var(--color-accent);
  color: #fff;
  padding: 0.5rem 1.25rem;
  border-radius: var(--radius-md);
  font-weight: 700;
  font-size: 0.875rem;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.3s ease, transform 0.3s ease;
  align-self: flex-start;
}

.home-innov-card:hover .home-innov-btn {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 900px) {
  .home-innov-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .home-innov-grid { grid-template-columns: 1fr; }
  .home-innov-card { aspect-ratio: 4/3; }
}

/* ============================================================
   HOMEPAGE — SECTION 5 : BERATUNG #home-beratung
   ============================================================ */

/* ── Base section ── */
#home-beratung {
  position: relative;
  background: linear-gradient(135deg, #141414 0%, #1e1e1e 50%, #181818 100%);
  padding: 2rem 0 2.5rem;
  overflow: hidden;
  border-top: 1px solid rgba(255,255,255,.06);
}

/* Pattern de points subtil en background */
#home-beratung::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(136,181,59,.07) 1px, transparent 1px);
  background-size: 28px 28px;
  pointer-events: none;
  z-index: 0;
}

/* ── Blobs décoratifs ── */
.hb-blob {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
}
.hb-blob--1 {
  width: 420px;
  height: 420px;
  background: radial-gradient(circle, rgba(136,181,59,.10) 0%, transparent 70%);
  top: -120px;
  left: -100px;
}
.hb-blob--2 {
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(136,181,59,.08) 0%, transparent 70%);
  bottom: -80px;
  right: 10%;
}
.hb-blob--3 {
  width: 180px;
  height: 180px;
  background: radial-gradient(circle, rgba(255,255,255,.04) 0%, transparent 70%);
  top: 30%;
  right: 35%;
}

/* ── Container positionné ── */
.hb-container {
  position: relative;
  z-index: 1;
}

/* ── Watermark ── */
.hb-watermark {
  position: absolute;
  top: -1rem;
  left: 50%;
  transform: translateX(-50%);
  font-size: clamp(3rem, 8vw, 5.5rem);
  font-weight: 900;
  letter-spacing: 0.12em;
  color: rgba(255,255,255,.045);
  white-space: nowrap;
  pointer-events: none;
  user-select: none;
  line-height: 1;
  z-index: 0;
}

/* ── En-tête section ── */
.hb-section-sub {
  color: rgba(255,255,255,.55);
  font-size: 0.875rem;
  margin-top: 0.25rem;
  text-align: center;
}

/* ── Grille principale asymétrique 60/40 ── */
.hb-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 1.25rem;
  align-items: stretch;
  margin-top: 1.25rem;
  position: relative;
  z-index: 1;
}

/* ══════════════════════════════════════════
   COLONNE GAUCHE — Carte glassmorphism
   ══════════════════════════════════════════ */
.hb-card {
  background: rgba(255,255,255,.04);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,.10);
  border-radius: 16px;
  padding: 1.5rem 1.75rem;
  color: #fff;
  position: relative;
  overflow: hidden;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}
.hb-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(136,181,59,.5), transparent);
}
.hb-card:hover {
  border-color: rgba(136,181,59,.25);
  box-shadow: 0 8px 40px rgba(136,181,59,.08);
}

/* Badge GRATUIT */
.hb-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: var(--color-accent);
  color: #fff;
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  padding: 0.2rem 0.65rem;
  border-radius: 50px;
  margin-bottom: 0.875rem;
  text-transform: uppercase;
}
.hb-badge i {
  font-size: 0.6rem;
}

/* Icône headset avec glow */
.hb-icon-wrap {
  position: relative;
  width: 50px;
  height: 50px;
  margin-bottom: 0.875rem;
}
.hb-icon-glow {
  position: absolute;
  inset: -6px;
  background: radial-gradient(circle, rgba(136,181,59,.35) 0%, transparent 70%);
  border-radius: 50%;
  animation: hb-glow-pulse 3s ease-in-out infinite;
}
.hb-icon {
  position: relative;
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, #88B53B, #6fa030);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  color: #fff;
  box-shadow: 0 4px 16px rgba(136,181,59,.4);
  z-index: 1;
}

/* Titre carte */
.hb-card-title {
  font-size: 1.15rem;
  font-weight: 900;
  color: #fff;
  margin-bottom: 0.4rem;
  line-height: 1.3;
}

/* Description */
.hb-card-desc {
  color: rgba(255,255,255,.7);
  font-size: 0.85rem;
  line-height: 1.55;
  margin-bottom: 0.875rem;
}
.hb-card-desc strong {
  color: rgba(255,255,255,.9);
  font-weight: 700;
}

/* Checklist pill verte */
.hb-checklist {
  list-style: none;
  padding: 0;
  margin: 0 0 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}
.hb-checklist li {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  color: rgba(255,255,255,.85);
  font-size: 0.82rem;
  line-height: 1.35;
}
.hb-check-bullet {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  background: var(--color-accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 6px rgba(136,181,59,.4);
}
.hb-check-bullet i {
  font-size: 0.55rem;
  color: #fff;
}

/* Statistiques / social proof */
.hb-stats {
  display: flex;
  align-items: center;
  gap: 0;
  padding-top: 0.875rem;
  border-top: 1px solid rgba(255,255,255,.08);
}
.hb-stat {
  flex: 1;
  text-align: center;
}
.hb-stat-num {
  display: block;
  font-size: 1rem;
  font-weight: 900;
  color: var(--color-accent);
  line-height: 1.2;
}
.hb-stat-label {
  display: block;
  font-size: 0.65rem;
  color: rgba(255,255,255,.5);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-top: 0.1rem;
}
.hb-stat-sep {
  width: 1px;
  height: 26px;
  background: rgba(255,255,255,.1);
  flex-shrink: 0;
}

/* ══════════════════════════════════════════
   COLONNE DROITE — CTA gradient vert
   ══════════════════════════════════════════ */
.hb-cta {
  position: relative;
  background: linear-gradient(145deg, #88B53B 0%, #6fa030 55%, #5d8a28 100%);
  border-radius: 16px;
  padding: 1.5rem 1.5rem;
  text-align: center;
  color: #fff;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  box-shadow: 0 12px 36px rgba(136,181,59,.3), 0 4px 16px rgba(0,0,0,.25);
}

/* Blob interne décoratif */
.hb-cta-blob {
  position: absolute;
  width: 260px;
  height: 260px;
  background: radial-gradient(circle, rgba(255,255,255,.12) 0%, transparent 70%);
  top: -80px;
  right: -60px;
  border-radius: 50%;
  pointer-events: none;
}

/* Icône téléphone animée avec anneaux */
.hb-cta-icon-wrap {
  position: relative;
  width: 56px;
  height: 56px;
  margin-bottom: 0.875rem;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hb-cta-icon-ring {
  position: absolute;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,.35);
  animation: hb-ring-pulse 2.4s ease-out infinite;
}
.hb-cta-icon-ring--1 {
  width: 56px;
  height: 56px;
  animation-delay: 0s;
}
.hb-cta-icon-ring--2 {
  width: 56px;
  height: 56px;
  animation-delay: 0.8s;
}
.hb-cta-icon-circle {
  position: relative;
  width: 48px;
  height: 48px;
  background: rgba(255,255,255,.2);
  border: 2px solid rgba(255,255,255,.4);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  color: #fff;
  z-index: 1;
  backdrop-filter: blur(4px);
}

/* Titre CTA */
.hb-cta-title {
  font-size: 1.2rem;
  font-weight: 900;
  color: #fff;
  margin-bottom: 0.35rem;
  line-height: 1.25;
  position: relative;
  z-index: 1;
}

/* Description CTA */
.hb-cta-desc {
  color: rgba(255,255,255,.85);
  font-size: 0.82rem;
  line-height: 1.5;
  margin-bottom: 1rem;
  position: relative;
  z-index: 1;
}

/* Bloc téléphone mis en valeur */
.hb-tel-block {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(0,0,0,.18);
  border: 1px solid rgba(255,255,255,.25);
  border-radius: 50px;
  padding: 0.5rem 1.1rem;
  color: #fff;
  font-size: 1rem;
  font-weight: 900;
  text-decoration: none;
  letter-spacing: 0.02em;
  margin-bottom: 0.75rem;
  position: relative;
  z-index: 1;
  transition: var(--transition);
  backdrop-filter: blur(4px);
}
.hb-tel-block i {
  font-size: 1rem;
}
.hb-tel-block:hover {
  background: rgba(0,0,0,.30);
  border-color: rgba(255,255,255,.5);
  color: #fff;
  transform: translateY(-2px);
}

/* Bouton CTA inversé blanc/vert */
.hb-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: #fff;
  color: #5d8a28;
  padding: 0.6rem 1.5rem;
  border-radius: var(--radius-md, 8px);
  font-weight: 800;
  font-size: 0.9rem;
  text-decoration: none;
  transition: var(--transition);
  margin-bottom: 0.75rem;
  position: relative;
  z-index: 1;
  box-shadow: 0 4px 14px rgba(0,0,0,.18);
  letter-spacing: 0.01em;
}
.hb-cta-btn i {
  font-size: 0.95rem;
}
.hb-cta-btn:hover {
  background: #f0f9e0;
  color: #4a7020;
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(0,0,0,.22);
}

/* Disponibilité */
.hb-cta-avail {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: rgba(255,255,255,.75);
  font-size: 0.8rem;
  position: relative;
  z-index: 1;
  margin: 0;
}
.hb-dot {
  font-size: 0.5rem;
  color: #b5ff6a;
  animation: hb-dot-blink 1.8s ease-in-out infinite;
}

/* ── Animations ── */
@keyframes hb-glow-pulse {
  0%, 100% { opacity: 0.6; transform: scale(1); }
  50%       { opacity: 1;   transform: scale(1.12); }
}

@keyframes hb-ring-pulse {
  0%   { transform: scale(0.7); opacity: 0.8; }
  80%  { transform: scale(1.6); opacity: 0; }
  100% { transform: scale(1.6); opacity: 0; }
}

@keyframes hb-dot-blink {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0.3; }
}

/* ── Responsive ── */
@media (max-width: 1024px) {
  .hb-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  .hb-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  /* Sur mobile : CTA d'abord (ordre inversé) */
  .hb-cta   { order: -1; }
  .hb-card  { order: 1; }
  .hb-watermark { font-size: clamp(3.5rem, 18vw, 6rem); }
}
@media (max-width: 500px) {
  .hb-card  { padding: 1.75rem 1.25rem; }
  .hb-cta   { padding: 2rem 1.25rem; }
  .hb-stats { flex-wrap: wrap; gap: 1rem; }
  .hb-stat-sep { display: none; }
  .hb-tel-block { font-size: 1.05rem; }
}

/* ============================================================
   HOMEPAGE — SECTION 6 : SPÉCIALISTE #home-spezialisten
   ============================================================ */
#home-spezialisten {
  background: #fff;
  padding: 3.5rem 0 4rem;
  overflow: hidden;
}

.home-spec-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.home-spec-item {
  text-align: center;
}

.home-spec-img {
  width: 100%;
  aspect-ratio: 4/3;
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: 1.25rem;
}

.home-spec-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.home-spec-item:hover .home-spec-img img {
  transform: scale(1.04);
}

.home-spec-item h3 {
  font-size: 1.2rem;
  font-weight: 900;
  color: var(--color-text);
  margin-bottom: 0.625rem;
}

.home-spec-item p {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  line-height: 1.6;
  margin: 0;
}

@media (max-width: 900px) {
  .home-spec-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .home-spec-grid { grid-template-columns: 1fr; }
  .home-section-title { font-size: 2rem; }
}
/* END HOMEPAGE STYLES */
  font-size: 1rem;
}

.footer-logo-text {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  color: #fff;
}

.footer-brand p {
  font-size: 0.875rem;
  line-height: 1.7;
  margin-bottom: 1.25rem;
}

.footer-socials {
  display: flex;
  gap: 0.5rem;
}

.footer-social-btn {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-md);
  background: rgba(255,255,255,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.7);
  font-size: 0.9rem;
  text-decoration: none;
  transition: var(--transition-fast);
  border: 1px solid rgba(255,255,255,0.1);
}

.footer-social-btn:hover {
  background: var(--color-primary);
  color: #fff;
  border-color: var(--color-primary);
}

.footer-col-title {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 1.25rem;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
}

.footer-links li a {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.65);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: var(--transition-fast);
}

.footer-links li a:hover {
  color: var(--color-accent-light);
}

.footer-links li a i {
  font-size: 0.75rem;
  opacity: 0.6;
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 0.875rem;
  font-size: 0.875rem;
}

.footer-contact-item i {
  color: var(--color-primary-light);
  margin-top: 0.15rem;
  flex-shrink: 0;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.45);
}

.footer-bottom-links {
  display: flex;
  gap: 1.5rem;
}

.footer-bottom-links a {
  color: rgba(255,255,255,0.45);
  font-size: 0.8rem;
  transition: var(--transition-fast);
}

.footer-bottom-links a:hover { color: var(--color-accent-light); }

/* ============================================================
   BACK TO TOP
   ============================================================ */
#back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 999;
  width: 46px;
  height: 46px;
  background: var(--color-primary);
  color: #fff;
  border: none;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 1rem;
  box-shadow: var(--shadow-md);
  transition: var(--transition);
  opacity: 0;
  pointer-events: none;
}

#back-to-top.visible {
  opacity: 1;
  pointer-events: auto;
}

#back-to-top:hover {
  background: var(--color-primary-dark);
  transform: translateY(-3px);
}

/* ============================================================
   TOAST NOTIFICATIONS
   ============================================================ */
#toast-container {
  position: fixed;
  bottom: 5rem;
  right: 2rem;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
}

.toast {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 1rem 1.25rem;
  box-shadow: var(--shadow-xl);
  border-left: 4px solid var(--color-primary);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.875rem;
  min-width: 260px;
  animation: toastIn 0.3s ease;
}

.toast.success { border-left-color: var(--color-primary); }
.toast.error   { border-left-color: var(--color-error); }

@keyframes toastIn {
  from { transform: translateX(100%); opacity: 0; }
  to   { transform: translateX(0); opacity: 1; }
}

/* ============================================================
   WOOCOMMERCE OVERRIDES
   ============================================================ */
.woocommerce-notices-wrapper { padding-top: 1rem; }

.woocommerce ul.products li.product { margin: 0; padding: 0; }

.woocommerce .woocommerce-ordering select,
.woocommerce-page .woocommerce-ordering select {
  padding: 0.5rem 2rem 0.5rem 0.875rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  font-family: var(--font-body);
  font-size: 0.875rem;
}

/* ============================================================
   UTILITIES
   ============================================================ */
.text-center { text-align: center; }
.text-primary { color: var(--color-primary); }
.text-accent { color: var(--color-accent); }
.text-muted { color: var(--color-text-muted); }

.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mb-4 { margin-bottom: 2rem; }

.pt-4 { padding-top: 2rem; }
.pb-4 { padding-bottom: 2rem; }

.d-flex { display: flex; }
.align-center { align-items: center; }
.justify-between { justify-content: space-between; }
.gap-1 { gap: 0.5rem; }
.gap-2 { gap: 1rem; }

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  border: 0;
}

.skeleton {
  background: linear-gradient(90deg, var(--color-surface-2) 25%, var(--color-border) 50%, var(--color-surface-2) 75%);
  background-size: 200% 100%;
  animation: skeleton-shimmer 1.5s infinite;
  border-radius: var(--radius-md);
}

@keyframes skeleton-shimmer {
  0%   { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

@media print {
  #navbar, #back-to-top, #toast-container { display: none; }
}

/* ============================================================
   CART — Page panier refonte premium v2
   ============================================================ */

/* ── PAGE WRAPPER ── */
.cart-main {
  padding-top: var(--navbar-h);
  background: var(--color-bg);
  min-height: 60vh;
}

.cart-page {
  padding: 2.75rem 0 6rem;
}

.cart-page-title {
  font-family: var(--font-heading);
  font-size: clamp(1.9rem, 4vw, 2.6rem);
  font-weight: 900;
  margin-bottom: 2rem;
  display: flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--color-text);
  letter-spacing: -0.01em;
}

.cart-page-title i {
  color: var(--color-accent);
  font-size: 0.85em;
}

.cart-count-badge {
  font-size: 0.52em;
  font-weight: 700;
  background: rgba(136,181,59,0.13);
  color: #5a7b25;
  border: 1px solid rgba(136,181,59,0.3);
  border-radius: 50px;
  padding: 0.2em 0.7em;
  letter-spacing: 0.02em;
  font-family: var(--font-body);
  align-self: center;
}

/* ── PANIER VIDE ── */
.cart-empty {
  text-align: center;
  padding: 5.5rem 1rem 7rem;
}

.cart-empty-icon {
  width: 110px;
  height: 110px;
  background: linear-gradient(135deg, rgba(136,181,59,0.08) 0%, rgba(136,181,59,0.18) 100%);
  border: 2px dashed rgba(136,181,59,0.35);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 2rem;
}

.cart-empty-icon i {
  font-size: 2.75rem;
  color: var(--color-accent);
}

.cart-empty-title {
  font-family: var(--font-heading);
  font-size: 1.9rem;
  font-weight: 900;
  margin-bottom: 0.75rem;
  color: var(--color-text);
}

.cart-empty-text {
  color: var(--color-text-muted);
  font-size: 1rem;
  max-width: 380px;
  margin: 0 auto 2rem;
  line-height: 1.6;
}

.cart-empty-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

/* ── LAYOUT 2 COLONNES ── */
.cart-layout {
  display: grid;
  grid-template-columns: 58fr 42fr;
  gap: 2rem;
  align-items: start;
}

@media (max-width: 1024px) {
  .cart-layout {
    grid-template-columns: 55fr 45fr;
    gap: 1.5rem;
  }
}

@media (max-width: 840px) {
  .cart-layout {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}

/* ── COLONNE GAUCHE : card articles ── */
.cart-items-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0,0,0,0.05), 0 1px 3px rgba(0,0,0,0.04);
}

/* En-tête tableau */
.cart-table-head {
  display: grid;
  grid-template-columns: 1fr 110px 138px 108px 48px;
  padding: 0.8rem 1.75rem;
  background: linear-gradient(to right, var(--color-surface-2), #f4f5f7);
  border-bottom: 1px solid var(--color-border);
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-text-muted);
}

.cth-price,
.cth-qty,
.cth-total { text-align: center; }

@media (max-width: 680px) {
  .cart-table-head { display: none; }
}

/* Ligne article */
.cart-item {
  display: grid;
  grid-template-columns: 1fr 110px 138px 108px 48px;
  align-items: center;
  padding: 1.35rem 1.75rem;
  border-bottom: 1px solid var(--color-border);
  transition: background 0.18s ease;
  position: relative;
}

.cart-item::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: transparent;
  transition: background 0.18s ease;
  border-radius: 0 2px 2px 0;
}

.cart-item:hover::before {
  background: var(--color-accent);
}

.cart-item:last-child {
  border-bottom: none;
}

.cart-item:hover {
  background: rgba(136,181,59,0.035);
}

@media (max-width: 680px) {
  .cart-item {
    grid-template-columns: 1fr auto;
    gap: 0.85rem 1rem;
    padding: 1.25rem;
  }
  .ci-product { grid-column: 1 / -1; }
  .ci-price   { grid-column: 1; }
  .ci-qty     { grid-column: 1 / -1; }
  .ci-total   { grid-column: 1; }
  .ci-del     { grid-column: 2; grid-row: 1; justify-self: end; align-self: start; }
}

/* Image + Nom */
.ci-product {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.ci-img-wrap {
  flex-shrink: 0;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,0.10);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.ci-img-wrap:hover {
  transform: scale(1.04);
  box-shadow: 0 4px 16px rgba(0,0,0,0.15);
}

.ci-img {
  width: 92px;
  height: 72px;
  border-radius: var(--radius-md);
  object-fit: cover;
  background: var(--color-surface-2);
  display: block;
  transition: opacity 0.18s ease;
}

.ci-img-wrap:hover .ci-img { opacity: 0.9; }

.ci-info {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  min-width: 0;
}

.ci-name {
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--color-text);
  line-height: 1.4;
  text-decoration: none;
  transition: color 0.15s ease;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.ci-name:hover { color: var(--color-accent); }

.ci-sku {
  font-size: 0.73rem;
  color: var(--color-text-muted);
  font-family: var(--font-body);
}

/* Prix unitaire */
.ci-price {
  text-align: center;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--color-text-secondary);
}

/* Total ligne */
.ci-total { text-align: center; }

.ci-total-amount {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1rem;
  color: var(--color-text);
  letter-spacing: -0.01em;
}

/* Labels mobiles */
@media (max-width: 680px) {
  .ci-price::before,
  .ci-total::before {
    content: attr(data-label) "\00a0:\00a0";
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--color-text-muted);
    display: block;
    margin-bottom: 0.15rem;
  }
}

/* ── STEPPER QUANTITE ── */
.qty-stepper {
  display: flex;
  align-items: center;
  border: 1.5px solid var(--color-border);
  border-radius: 50px;
  overflow: hidden;
  width: fit-content;
  margin: 0 auto;
  background: var(--color-surface);
  box-shadow: 0 1px 4px rgba(0,0,0,0.06);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.qty-stepper:hover {
  border-color: var(--color-accent);
  box-shadow: 0 1px 8px rgba(136,181,59,0.18);
}

.qty-btn {
  background: transparent;
  border: none;
  cursor: pointer;
  width: 34px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.62rem;
  color: var(--color-text-secondary);
  transition: background 0.15s ease, color 0.15s ease;
  flex-shrink: 0;
}

.qty-btn:hover {
  background: var(--color-accent);
  color: #fff;
}

.qty-btn:active {
  background: var(--color-primary-dark);
  color: #fff;
}

.qty-input {
  width: 40px;
  border: none;
  border-left: 1px solid var(--color-border);
  border-right: 1px solid var(--color-border);
  text-align: center;
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--color-text);
  padding: 0.38rem 0;
  background: transparent;
  -moz-appearance: textfield;
}

.qty-input::-webkit-outer-spin-button,
.qty-input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.qty-input:focus {
  outline: none;
  background: rgba(136,181,59,0.06);
}

/* ── BOUTON SUPPRIMER ── */
.ci-del { display: flex; justify-content: center; }

.cart-remove-btn {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: var(--color-text-muted);
  background: transparent;
  transition: background 0.18s ease, color 0.18s ease, transform 0.18s ease;
  font-size: 0.78rem;
  text-decoration: none;
}

.cart-remove-btn:hover {
  color: var(--color-error);
  background: #FEF2F2;
  transform: scale(1.12);
}

/* ── ACTIONS BAS : "Weiter einkaufen" + coupon ── */
.cart-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 1.5rem;
  padding: 1rem 1.75rem;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  box-shadow: 0 1px 4px rgba(0,0,0,0.04);
}

.cart-continue-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-text-secondary);
  text-decoration: none;
  padding: 0.45rem 0.85rem;
  border-radius: var(--radius-md);
  transition: color 0.15s ease, background 0.15s ease;
}

.cart-continue-link:hover {
  color: var(--color-accent);
  background: rgba(136,181,59,0.07);
}

/* Coupon */
.cart-coupon-wrap .coupon {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.cart-coupon-wrap input[type="text"] {
  padding: 0.55rem 1rem;
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-md);
  font-size: 0.875rem;
  font-family: var(--font-body);
  color: var(--color-text);
  background: var(--color-surface-2);
  transition: border-color 0.15s ease, background 0.15s ease;
  min-width: 150px;
}

.cart-coupon-wrap input[type="text"]:focus {
  outline: none;
  border-color: var(--color-accent);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(136,181,59,0.12);
}

.cart-coupon-wrap input[type="text"]::placeholder {
  color: var(--color-text-muted);
  font-size: 0.82rem;
}

.cart-coupon-wrap button[type="submit"] {
  padding: 0.55rem 1.2rem;
  background: var(--color-surface-2);
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-md);
  font-size: 0.875rem;
  font-weight: 700;
  font-family: var(--font-body);
  color: var(--color-text-secondary);
  cursor: pointer;
  transition: background 0.18s ease, border-color 0.18s ease, color 0.18s ease;
  white-space: nowrap;
}

.cart-coupon-wrap button[type="submit"]:hover {
  background: var(--color-accent);
  border-color: var(--color-accent);
  color: #fff;
}

/* ── COLONNE DROITE : résumé sticky ── */
.cart-summary-col {
  position: sticky;
  top: calc(var(--navbar-h) + 1.5rem);
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

@media (max-width: 840px) {
  .cart-summary-col { position: static; }
}

/* Card résumé */
.cart-summary-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,0.07), 0 1px 4px rgba(0,0,0,0.05);
}

/* En-tête card résumé */
.cart-summary-title {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 900;
  margin-bottom: 0;
  padding: 1.25rem 1.75rem;
  background: linear-gradient(135deg, rgba(136,181,59,0.06) 0%, rgba(136,181,59,0.12) 100%);
  border-bottom: 1px solid rgba(136,181,59,0.2);
  display: flex;
  align-items: center;
  gap: 0.55rem;
  color: var(--color-text);
  letter-spacing: -0.01em;
}

.cart-summary-title i {
  color: var(--color-accent);
  font-size: 0.95em;
}

/* Lignes résumé */
.summary-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.65rem 1.75rem;
  font-size: 0.9rem;
}

.summary-row:first-of-type {
  padding-top: 1.25rem;
}

.sr-label {
  color: var(--color-text-secondary);
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.sr-value {
  font-weight: 600;
  color: var(--color-text);
}

.sr-coupon .sr-label { color: var(--color-accent); }
.sr-coupon .sr-label i { font-size: 0.8em; }

.sr-discount { color: var(--color-accent) !important; }

.sr-free {
  color: var(--color-accent);
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  background: rgba(136,181,59,0.1);
  padding: 0.18rem 0.55rem;
  border-radius: 50px;
  font-size: 0.82rem;
}

/* Bandeau livraison gratuite */
.summary-shipping-info {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.77rem;
  color: #5a7b25;
  font-weight: 700;
  background: rgba(136,181,59,0.1);
  border: 1px solid rgba(136,181,59,0.22);
  border-radius: var(--radius-sm);
  padding: 0.5rem 0.85rem;
  margin: 0.25rem 1.75rem 0.5rem;
}

.summary-shipping-info i { font-size: 0.9em; }

/* Séparateur */
.summary-divider {
  height: 1px;
  background: var(--color-border);
  margin: 0.25rem 1.75rem 0.25rem;
}

/* Bloc total TTC */
.summary-total {
  background: linear-gradient(135deg, rgba(136,181,59,0.05) 0%, rgba(136,181,59,0.11) 100%);
  border-radius: var(--radius-md);
  margin: 0 1.25rem;
  padding: 0.85rem 1.1rem !important;
  border: 1px solid rgba(136,181,59,0.18);
}

.summary-total .sr-label {
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-text);
}

.sr-total-amount {
  font-family: var(--font-heading);
  font-size: 1.65rem !important;
  font-weight: 900 !important;
  color: var(--color-accent) !important;
  line-height: 1;
  letter-spacing: -0.02em;
}

.summary-tax-note {
  text-align: right;
  font-size: 0.72rem;
  color: var(--color-text-muted);
  margin: 0.3rem 1.75rem 1.25rem;
}

/* ── CTA "Zur Kasse" ── */
.cart-checkout-btn {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 0.65rem;
  width: calc(100% - 3.5rem);
  margin: 0 1.75rem 0.65rem !important;
  padding: 1.05rem 1.5rem !important;
  font-family: var(--font-heading) !important;
  font-size: 1.12rem !important;
  font-weight: 900 !important;
  letter-spacing: 0.03em;
  border-radius: var(--radius-md) !important;
  text-decoration: none;
  background: linear-gradient(135deg, var(--color-accent) 0%, var(--color-primary-dark) 100%);
  color: #fff !important;
  box-shadow: 0 4px 20px rgba(136,181,59,0.38), 0 1px 4px rgba(0,0,0,0.1);
  transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
  position: relative;
  overflow: hidden;
}

.cart-checkout-btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.12) 0%, transparent 60%);
  pointer-events: none;
}

.cart-checkout-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(136,181,59,0.48), 0 2px 8px rgba(0,0,0,0.12);
  filter: brightness(1.05);
  color: #fff !important;
}

.cart-checkout-btn:active {
  transform: translateY(0);
  box-shadow: 0 2px 10px rgba(136,181,59,0.3);
}

.cart-checkout-btn i {
  font-size: 0.88em;
  opacity: 0.9;
}

/* CTA secondaire */
.cart-summary-continue {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--color-text-muted);
  text-decoration: none;
  margin: 0 1.75rem 1.25rem;
  transition: color 0.15s ease;
}

.cart-summary-continue:hover { color: var(--color-accent); }

/* Icones paiement */
.summary-payment-icons {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.85rem;
  border-top: 1px solid var(--color-border);
  padding: 1rem 1.75rem;
}

.summary-payment-icons i {
  opacity: 0.75;
  transition: opacity 0.15s ease, transform 0.15s ease;
}

.summary-payment-icons i:hover {
  opacity: 1;
  transform: scale(1.12);
}

.summary-payment-icons .fa-paypal          { color: #003087; font-size: 1.55rem; }
.summary-payment-icons .fa-cc-visa         { color: #1A1F71; font-size: 1.55rem; }
.summary-payment-icons .fa-cc-mastercard   { color: #EB001B; font-size: 1.55rem; }
.summary-payment-icons .fa-building-columns{ color: var(--color-text-muted); font-size: 1.45rem; }

/* ── REASSURANCE 3 ICONES ── */
.cart-reassurance {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.reassurance-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.35rem;
  border-bottom: 1px solid var(--color-border);
  transition: background 0.15s ease;
}

.reassurance-item:last-child { border-bottom: none; }

.reassurance-item:hover {
  background: rgba(136,181,59,0.035);
}

.reassurance-icon {
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, rgba(136,181,59,0.1) 0%, rgba(136,181,59,0.2) 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--color-accent);
  font-size: 1.05rem;
  transition: transform 0.2s ease, background 0.2s ease;
}

.reassurance-item:hover .reassurance-icon {
  transform: scale(1.1) rotate(-4deg);
  background: linear-gradient(135deg, rgba(136,181,59,0.18) 0%, rgba(136,181,59,0.32) 100%);
}

.reassurance-text {
  display: flex;
  flex-direction: column;
  gap: 0.12rem;
}

.reassurance-text strong {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--color-text);
  line-height: 1.3;
}

.reassurance-text span {
  font-size: 0.75rem;
  color: var(--color-text-muted);
  line-height: 1.4;
}

/* ── BADGE ARTICLE COUNT ── */
.cart-items-card .cart-table-head::after {
  display: none;
}

/* ── RESPONSIVE TABLETTE (680-840px) ── */
@media (min-width: 681px) and (max-width: 840px) {
  .cart-item {
    grid-template-columns: 1fr 100px 120px 90px 42px;
    padding: 1.1rem 1.25rem;
  }
  .cart-table-head {
    grid-template-columns: 1fr 100px 120px 90px 42px;
    padding: 0.7rem 1.25rem;
  }
}

/* ── FIN CART ── */

/* ============================================================
   DISRUPTDEAL PAYMENT FLOW DESIGN
   ============================================================ */

/* ── Dark page header (cart + checkout) ──────────── */
.dd-page-header {
  background: linear-gradient(135deg, #1c2d07 0%, #111d04 100%);
  padding: calc(var(--navbar-h) + 0.75rem) 0 1rem;
  position: relative;
  overflow: hidden;
}
.dd-page-header::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 50% 80% at 80% 50%, rgba(136,181,59,.07) 0%, transparent 70%);
  pointer-events: none;
}
.dd-page-header::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(136,181,59,.28), transparent);
}
.dd-page-header .breadcrumb { color: rgba(255,255,255,.45); margin-bottom: .9rem; padding: 0; }
.dd-page-header .breadcrumb a { color: #88B53B; }
.dd-page-header .breadcrumb-sep,
.dd-page-header .breadcrumb-current { color: rgba(255,255,255,.45); }
.dd-page-header__title {
  color: #fff;
  font-size: clamp(1.9rem, 3.5vw, 2.6rem);
  margin-bottom: .4rem;
  font-family: var(--font-heading);
  font-weight: 800;
}
.dd-page-header__sub {
  color: rgba(255,255,255,.5);
  font-size: .93rem;
  line-height: 1.65;
  margin-top: .4rem;
}

/* ── Background surfaces ──────────────────────────── */
.cart-main,
.dd-checkout-main { background: #f5f5f0; padding-top: 0; }
.dd-page-body { padding: 2.5rem 0 5rem; }

/* ── Cart page count pill ─────────────────────────── */
.dd-header-count {
  display: inline-flex;
  align-items: center;
  background: rgba(136,181,59,.18);
  border: 1.5px solid rgba(136,181,59,.4);
  color: #88B53B;
  border-radius: 9999px;
  padding: .25rem .85rem;
  font-size: .8rem;
  font-weight: 700;
  margin-left: .75rem;
  vertical-align: middle;
}

/* ── Progress steps (dark header) ────────────────── */
.dd-progress-steps {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 9999px;
  padding: .4rem .9rem;
  margin-bottom: .9rem;
}
.dd-progress-step {
  display: flex;
  align-items: center;
  gap: .3rem;
  font-size: .72rem;
  color: rgba(255,255,255,.35);
  font-weight: 500;
}
.dd-progress-step + .dd-progress-step::before {
  content: '›';
  color: rgba(255,255,255,.25);
  margin-right: .15rem;
}
.dd-progress-step.is-done  { color: #88B53B; }
.dd-progress-step.is-active { color: #fff; font-weight: 700; }
.dd-ps-dot {
  width: 18px; height: 18px;
  border-radius: 50%;
  background: rgba(255,255,255,.1);
  color: rgba(255,255,255,.4);
  font-size: .6rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.dd-progress-step.is-done  .dd-ps-dot { background: #88B53B; color: #fff; }
.dd-progress-step.is-active .dd-ps-dot { background: #fff; color: #1c2d07; }

/* ── Order summary sidebar ────────────────────────── */
.dd-order-summary {
  background: #f5f5f0;
  border: 1px solid #e4e4df;
  border-radius: 18px;
  padding: 1.75rem;
  position: sticky;
  top: calc(var(--navbar-h) + 1.25rem);
}
.dd-order-summary__title {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 1.1rem;
  color: var(--color-text);
  padding-bottom: .75rem;
  border-bottom: 1px solid #e4e4df;
  font-family: var(--font-heading);
}
.dd-order-item { display: flex; align-items: center; gap: .75rem; margin-bottom: .75rem; }
.dd-order-item__img {
  width: 48px; height: 48px;
  object-fit: contain;
  border: 1px solid #e4e4df;
  border-radius: 8px;
  background: #fff;
  flex-shrink: 0;
}
.dd-order-item__details { flex: 1; min-width: 0; }
.dd-order-item__name {
  font-size: .82rem;
  font-weight: 600;
  color: var(--color-text);
  line-height: 1.35;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.dd-order-item__qty  { font-size: .74rem; color: #6b7280; margin-top: .1rem; }
.dd-order-item__price { font-size: .85rem; font-weight: 700; color: var(--color-text); white-space: nowrap; }
.dd-summary-divider  { border: none; border-top: 1px solid #e4e4df; margin: 1rem 0; }
.dd-summary-row { display: flex; justify-content: space-between; font-size: .87rem; padding: .25rem 0; color: #6b7280; }
.dd-summary-row--total {
  color: var(--color-text);
  font-weight: 700;
  font-size: 1.05rem;
  padding-top: .6rem;
  border-top: 2px solid #e4e4df;
  margin-top: .4rem;
}
.dd-summary-row--total .dd-summary-val { color: #88B53B; font-size: 1.15rem; }

/* ── Trust badge pills ─────────────────────────────── */
.dd-trust-pills { display: flex; gap: .45rem; margin-top: 1rem; flex-wrap: wrap; }
.dd-trust-pill {
  font-size: .69rem;
  background: rgba(136,181,59,.09);
  color: #5a7a25;
  border: 1px solid rgba(136,181,59,.3);
  border-radius: 9999px;
  padding: .2rem .6rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: .2rem;
  white-space: nowrap;
}
.dd-trust-pill i { font-size: .62rem; color: #88B53B; }

/* ── CTA buttons ───────────────────────────────────── */
.dd-checkout-btn,
a.dd-checkout-btn,
button.dd-checkout-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  width: 100%;
  padding: .95rem;
  background: linear-gradient(135deg, #96c542 0%, #7aa433 100%);
  color: #fff;
  border: none;
  border-radius: 9999px;
  font-family: var(--font-body);
  font-size: .95rem;
  font-weight: 700;
  letter-spacing: .02em;
  cursor: pointer;
  text-decoration: none;
  transition: filter .2s ease, transform .15s ease, box-shadow .2s ease;
  box-shadow: 0 4px 18px rgba(136,181,59,.4);
  margin-top: 1.25rem;
}
.dd-checkout-btn:hover,
a.dd-checkout-btn:hover,
button.dd-checkout-btn:hover { filter: brightness(1.07); transform: translateY(-1px); box-shadow: 0 6px 24px rgba(136,181,59,.5); color: #fff; }
button.dd-checkout-btn:active { transform: translateY(0); filter: brightness(.97); }

.dd-continue-link { display: block; text-align: center; font-size: .8rem; color: #6b7280; text-decoration: none; margin-top: .5rem; transition: color .15s; }
.dd-continue-link:hover { color: var(--color-text); }
.dd-edit-cart-link { display: block; font-size: .78rem; color: #6b7280; text-decoration: none; margin: .4rem 0 .75rem; transition: color .15s; }
.dd-edit-cart-link:hover { color: var(--color-text); }
.dd-edit-cart-link i { margin-right: .25rem; }

/* ── Cart items card header ─────────────────────────── */
.dd-card-head { display: flex; align-items: center; justify-content: space-between; padding: 1.25rem 1.75rem 1rem; border-bottom: 1px solid #e4e4df; }
.dd-card-head__title { font-size: 1rem; font-weight: 700; color: var(--color-text); font-family: var(--font-heading); margin: 0; }
.dd-clear-btn { font-size: .78rem; color: #6b7280; text-decoration: none; transition: color .15s; }
.dd-clear-btn:hover { color: #e53935; }

/* ── Thank-you hero ─────────────────────────────────── */
.ty-main { background: #f5f5f0; min-height: 60vh; }
.ty-hero {
  background: linear-gradient(135deg, #1c2d07 0%, #111d04 100%);
  padding: calc(var(--navbar-h) + 1rem) 0 1rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.ty-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 80% at 50% 50%, rgba(136,181,59,.07) 0%, transparent 70%);
  pointer-events: none;
}
.ty-hero::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(136,181,59,.28), transparent);
}
.ty-hero__check {
  width: 56px; height: 56px;
  background: #88B53B;
  border-radius: 50%;
  display: grid;
  place-items: center;
  margin: 0 auto .75rem;
  animation: ty-pop-in .5s cubic-bezier(.34,1.56,.64,1) both;
  position: relative;
  z-index: 1;
}
.ty-hero__check svg { width: 28px; height: 28px; stroke: #fff; fill: none; stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
@keyframes ty-pop-in { from { transform: scale(0); opacity: 0; } to { transform: scale(1); opacity: 1; } }
.ty-hero__number {
  display: inline-block;
  background: rgba(136,181,59,.15);
  border: 1.5px solid rgba(136,181,59,.4);
  color: #88B53B;
  border-radius: 9999px;
  padding: .25rem .9rem;
  font-size: .8rem;
  font-weight: 700;
  margin-bottom: .4rem;
  position: relative;
  z-index: 1;
}
.ty-hero__title { font-size: clamp(1.3rem,2.5vw,1.9rem); color: #fff; margin-bottom: .4rem; font-family: var(--font-heading); font-weight: 800; position: relative; z-index: 1; }
.ty-hero__sub { color: rgba(255,255,255,.6); font-size: .9rem; max-width: 50ch; margin: 0 auto; line-height: 1.5; position: relative; z-index: 1; }

/* ── Thank-you content ──────────────────────────────── */
.ty-content { padding: 2.5rem 0 5rem; }
.ty-content-inner { max-width: 700px; margin: 0 auto; }

.ty-meta-grid { display: grid; grid-template-columns: repeat(4,1fr); background: #fff; border: 1px solid #e4e4df; border-radius: 14px; overflow: hidden; margin-bottom: 1.5rem; }
.ty-meta-item { padding: 1.25rem 1.2rem; border-right: 1px solid #e4e4df; display: flex; flex-direction: column; gap: 5px; }
.ty-meta-item:last-child { border-right: none; }
.ty-meta-label { font-size: .7rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: #6b7280; }
.ty-meta-label i { margin-right: 3px; color: #88B53B; }
.ty-meta-value { font-size: .9rem; font-weight: 600; color: var(--color-text); }
.ty-meta-value--total { color: #88B53B; font-weight: 800; font-size: 1rem; }

.ty-email-card { background: rgba(136,181,59,.08); border: 1.5px solid rgba(136,181,59,.3); border-radius: 14px; padding: 1.25rem 1.5rem; display: flex; align-items: flex-start; gap: .9rem; margin-bottom: 1.5rem; }
.ty-email-card__icon { width: 36px; height: 36px; background: #88B53B; border-radius: 50%; display: grid; place-items: center; flex-shrink: 0; }
.ty-email-card__icon i { color: #fff; font-size: .85rem; }
.ty-email-card__title { font-size: .88rem; font-weight: 700; color: var(--color-text); margin-bottom: .2rem; }
.ty-email-card__text { font-size: .82rem; color: #5a7a25; line-height: 1.55; }

.ty-bank-box { background: #f0f7e2; border: 1.5px solid #c8e08a; border-radius: 14px; padding: 1.5rem 1.75rem; margin-bottom: 1.5rem; }
.ty-bank-box__title { font-weight: 700; color: #5a7a25; margin-bottom: .75rem; font-size: .95rem; display: flex; align-items: center; gap: .5rem; font-family: var(--font-heading); }
.ty-bank-box__title i { color: #88B53B; }
.ty-bank-box__row { display: flex; justify-content: space-between; font-size: .88rem; padding: .4rem 0; border-bottom: 1px solid #c8e08a; gap: 1rem; }
.ty-bank-box__row:last-child { border-bottom: none; font-weight: 700; }
.ty-bank-box__label { color: #6b7280; }
.ty-bank-box__val { font-weight: 600; color: var(--color-text); }
.ty-bank-box__val--accent { color: #88B53B; font-size: .82rem; font-weight: 700; }

.ty-items-card { background: #fff; border: 1px solid #e4e4df; border-radius: 14px; overflow: hidden; margin-bottom: 1.5rem; }
.ty-items-card__head { padding: 1rem 1.25rem; border-bottom: 1px solid #e4e4df; font-size: .95rem; font-weight: 700; color: var(--color-text); font-family: var(--font-heading); display: flex; align-items: center; gap: .4rem; }
.ty-items-card__head i { color: #88B53B; }
.ty-item-row-new { display: flex; align-items: center; gap: .75rem; padding: .9rem 1.25rem; border-bottom: 1px solid #e4e4df; }
.ty-item-row-new:last-of-type { border-bottom: none; }
.ty-item-row-new__img { width: 56px; height: 44px; object-fit: cover; border-radius: 7px; border: 1px solid #e4e4df; flex-shrink: 0; }
.ty-item-row-new__info { flex: 1; }
.ty-item-row-new__name { font-size: .88rem; font-weight: 600; color: var(--color-text); line-height: 1.3; }
.ty-item-row-new__qty { font-size: .75rem; color: #6b7280; margin-top: .1rem; }
.ty-item-row-new__price { font-size: .9rem; font-weight: 700; color: var(--color-text); white-space: nowrap; }

.ty-items-card__totals { background: #fafafa; border-top: 1px solid #e4e4df; }
.ty-items-card__total-row { display: flex; justify-content: space-between; padding: .5rem 1.25rem; font-size: .87rem; color: #6b7280; border-bottom: 1px solid #f0f0f0; }
.ty-items-card__total-row:last-child { border-bottom: none; }
.ty-items-card__total-row--grand { font-weight: 700; font-size: 1rem; color: var(--color-text); padding: .75rem 1.25rem; background: #fff; border-top: 2px solid #e4e4df; }
.ty-items-card__total-row--grand span:last-child { color: #88B53B; }
.ty-free-badge { color: #88B53B; font-weight: 600; }

.ty-addr-card { background: #fff; border: 1px solid #e4e4df; border-radius: 14px; padding: 1.25rem 1.5rem; margin-bottom: 1.5rem; }
.ty-addr-card__title { font-size: .88rem; font-weight: 700; color: var(--color-text); margin-bottom: .65rem; display: flex; align-items: center; gap: .4rem; font-family: var(--font-heading); }
.ty-addr-card__title i { color: #88B53B; }
address.ty-addr { font-style: normal; font-size: .88rem; line-height: 1.7; color: var(--color-text); }

.ty-order-steps { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.25rem; margin-bottom: 2rem; text-align: center; }
.ty-step { background: #fff; border: 1px solid #e4e4df; border-radius: 14px; padding: 1.5rem 1rem; }
.ty-step--active { border-color: #88B53B; border-width: 2px; }
.ty-step__icon { width: 52px; height: 52px; border-radius: 50%; background: rgba(136,181,59,.1); display: grid; place-items: center; margin: 0 auto .75rem; border: 2px solid rgba(136,181,59,.3); }
.ty-step--active .ty-step__icon { background: rgba(136,181,59,.2); border-color: #88B53B; }
.ty-step__icon i { color: #88B53B; font-size: 1.2rem; }
.ty-step__title { font-weight: 700; font-size: .88rem; color: var(--color-text); margin-bottom: .25rem; }
.ty-step__sub { font-size: .78rem; color: #6b7280; line-height: 1.45; }

.ty-cta-wrap { text-align: center; margin-top: .5rem; }
.ty-cta-link { display: inline-flex; align-items: center; gap: .5rem; background: linear-gradient(135deg, #96c542 0%, #7aa433 100%); color: #fff; text-decoration: none; padding: .9rem 2.5rem; border-radius: 9999px; font-size: .95rem; font-weight: 700; letter-spacing: .02em; transition: filter .2s ease, transform .15s ease, box-shadow .2s ease; box-shadow: 0 4px 18px rgba(136,181,59,.4); }
.ty-cta-link:hover { filter: brightness(1.07); transform: translateY(-2px); box-shadow: 0 6px 24px rgba(136,181,59,.5); color: #fff; }

/* checkout-col-right est déjà sticky — pas besoin de sticky en double */
.checkout-col-right .dd-order-summary { position: static; top: auto; }

@media (max-width: 900px) {
  .dd-order-summary { position: static; }
}
@media (max-width: 640px) {
  .dd-page-header { padding: calc(var(--navbar-h) + 0.5rem) 0 0.75rem; }
  .ty-meta-grid { grid-template-columns: 1fr 1fr; }
  .ty-meta-item { border-right: none; border-bottom: 1px solid #e4e4df; }
  .ty-meta-item:last-child { border-bottom: none; }
  .ty-order-steps { grid-template-columns: 1fr; }
}

/* ── Simplified cart items (scierie-comtois style) ── */
.dd-items-list { padding: 0; }
.dd-ci {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.25rem 1.75rem;
  border-bottom: 1px solid #e4e4df;
}
.dd-ci:last-child { border-bottom: none; }
.dd-ci__img-wrap { flex-shrink: 0; text-decoration: none; }
.dd-ci__img {
  width: 84px;
  height: 66px;
  object-fit: cover;
  border-radius: 10px;
  border: 1px solid #e4e4df;
  background: #fff;
  display: block;
  transition: opacity .15s;
}
.dd-ci__img-wrap:hover .dd-ci__img { opacity: .85; }
.dd-ci__body {
  flex: 1;
  min-width: 0;
}
.dd-ci__cat {
  display: block;
  font-size: .65rem;
  font-weight: 800;
  color: #88B53B;
  text-transform: uppercase;
  letter-spacing: .09em;
  margin-bottom: .2rem;
}
.dd-ci__name {
  display: block;
  font-size: .9rem;
  font-weight: 600;
  color: var(--color-text);
  line-height: 1.35;
  margin-bottom: .3rem;
  text-decoration: none;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.dd-ci__name:hover { color: #88B53B; }
.dd-ci__unit-price {
  display: block;
  font-size: .88rem;
  font-weight: 700;
  color: #88B53B;
  margin-bottom: .6rem;
}
.dd-ci__foot {
  display: flex;
  align-items: center;
  gap: .75rem;
  flex-wrap: wrap;
}
.dd-ci__remove {
  color: #ccc;
  font-size: .85rem;
  text-decoration: none;
  transition: color .15s;
  padding: .3rem .4rem;
  border-radius: 6px;
}
.dd-ci__remove:hover { color: #e53935; }
.dd-ci__line-total {
  font-size: .95rem;
  font-weight: 700;
  color: var(--color-text);
  white-space: nowrap;
  align-self: center;
  margin-left: auto;
  flex-shrink: 0;
}

@media (max-width: 480px) {
  .dd-ci { padding: 1rem 1.25rem; gap: .75rem; }
  .dd-ci__img { width: 64px; height: 52px; }
  .dd-ci__name { font-size: .84rem; }
  .dd-ci__line-total { font-size: .88rem; }
}

/* ── Help box ── */
.dd-help-box {
  background: rgba(136,181,59,.06);
  border: 1.5px solid rgba(136,181,59,.2);
  border-radius: 14px;
  padding: 1rem 1.25rem;
  margin-top: 1.25rem;
  text-align: center;
}
.dd-help-box__title {
  font-size: .85rem;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: .3rem;
  font-family: var(--font-heading);
}
.dd-help-box__title i { color: #88B53B; margin-right: .3rem; }
.dd-help-box__text {
  font-size: .78rem;
  color: #6b7280;
  line-height: 1.5;
  margin-bottom: .65rem;
}
.dd-help-box__btn {
  display: inline-flex;
  align-items: center;
  gap: .3rem;
  font-size: .78rem;
  font-weight: 600;
  color: #88B53B;
  text-decoration: none;
  border: 1.5px solid rgba(136,181,59,.35);
  border-radius: 9999px;
  padding: .35rem .9rem;
  transition: background .15s, color .15s, border-color .15s;
}
.dd-help-box__btn:hover { background: #88B53B; color: #fff; border-color: #88B53B; }

/* ============================================================
   CART PAGE — Éléments additionnels v3
   ============================================================ */

/* ── Bannière livraison gratuite ── */
.cart-free-shipping-banner {
  display: flex;
  align-items: center;
  gap: .65rem;
  background: linear-gradient(135deg, #f0f7e2 0%, #e6f3cc 100%);
  border: 1.5px solid #c8e08a;
  border-radius: 12px;
  padding: .75rem 1.25rem;
  font-size: .88rem;
  color: #3d6b10;
  margin-bottom: 1.5rem;
  font-weight: 500;
}
.cart-free-shipping-banner i {
  color: #88B53B;
  font-size: 1.1rem;
  flex-shrink: 0;
}
.cart-free-shipping-banner strong { font-weight: 700; }
.cart-fsbanner-badge {
  margin-left: auto;
  background: #88B53B;
  color: #fff;
  border-radius: 9999px;
  font-size: .72rem;
  font-weight: 700;
  padding: .2rem .7rem;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: .25rem;
  flex-shrink: 0;
}

/* ── Total ligne droite + note TVA ── */
.dd-ci__right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: .15rem;
  flex-shrink: 0;
  margin-left: auto;
  align-self: center;
}
.dd-ci__tax-note {
  font-size: .67rem;
  color: #9ca3af;
  white-space: nowrap;
}
.dd-ci__sku {
  display: block;
  font-size: .7rem;
  color: #9ca3af;
  margin-bottom: .2rem;
  font-family: var(--font-body);
}

/* ── Réassurance horizontale bas gauche ── */
.cart-reassurance-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: .75rem;
  margin-top: 1rem;
}
@media (max-width: 900px) {
  .cart-reassurance-row { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  .cart-reassurance-row { grid-template-columns: 1fr 1fr; gap: .5rem; }
}
.crr-item {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 10px;
  padding: .75rem .85rem;
  display: flex;
  align-items: flex-start;
  gap: .55rem;
  font-size: .78rem;
  color: var(--color-text-secondary);
  line-height: 1.4;
  transition: background .15s, border-color .15s;
}
.crr-item:hover {
  background: rgba(136,181,59,.05);
  border-color: rgba(136,181,59,.3);
}
.crr-item i {
  color: #88B53B;
  font-size: 1rem;
  margin-top: .05rem;
  flex-shrink: 0;
}
.crr-item small { font-size: .7rem; color: #9ca3af; }

/* ── Note MwSt sous total ── */
.dd-summary-tax-note {
  font-size: .72rem;
  color: #9ca3af;
  text-align: center;
  margin: -.35rem 0 .75rem;
  padding: 0 .25rem;
  line-height: 1.5;
}

/* ── Coupon dans résumé ── */
.dd-summary-row--coupon { color: #e53935; }
.dd-summary-row--coupon i { font-size: .7rem; margin-right: .2rem; }
.dd-coupon-val { color: #e53935; font-weight: 700; }

/* ── Badge livraison gratuite dans résumé ── */
.dd-free-badge {
  display: inline-flex;
  align-items: center;
  gap: .25rem;
  color: #88B53B;
  font-weight: 700;
  font-size: .82rem;
  background: rgba(136,181,59,.1);
  border: 1px solid rgba(136,181,59,.25);
  border-radius: 9999px;
  padding: .15rem .55rem;
}
.dd-free-badge i { font-size: .65rem; }

/* ── Icones paiement bas du résumé ── */
.dd-payment-icons {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .65rem;
  padding: .85rem 0 .25rem;
  border-top: 1px solid #e4e4df;
  margin-top: .5rem;
}
.dd-payment-icons i {
  font-size: 1.55rem;
  opacity: .7;
  transition: opacity .15s, transform .15s;
}
.dd-payment-icons i:hover { opacity: 1; transform: scale(1.1); }
.dd-payment-icons .fa-paypal            { color: #003087; }
.dd-payment-icons .fa-cc-visa           { color: #1a1f71; }
.dd-payment-icons .fa-cc-mastercard     { color: #eb001b; }
.dd-payment-icons .fa-building-columns  { color: #6b7280; font-size: 1.35rem; }

/* ── Amélioration image dd-ci (plus grande) ── */
.dd-ci__img {
  width: 96px !important;
  height: 78px !important;
}
@media (max-width: 480px) {
  .dd-ci__img { width: 72px !important; height: 58px !important; }
}

/* ── Sr-only accessibility ── */
.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border-width: 0;
}

/* ============================================================
   MINI-CART FLYOUT DRAWER
   ============================================================ */
.mc-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.45);
  z-index: 1100;
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s ease;
}
.mc-overlay.is-open { opacity: 1; pointer-events: all; }

.mc-drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: 420px;
  max-width: 100vw;
  height: 100vh;
  background: #fff;
  z-index: 1101;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform .32s cubic-bezier(.4,0,.2,1);
  box-shadow: -4px 0 40px rgba(0,0,0,.13);
}
.mc-drawer.is-open { transform: translateX(0); }

/* Header */
.mc-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.2rem 1.5rem;
  border-bottom: 1px solid #e4e4df;
  flex-shrink: 0;
}
.mc-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--color-text);
  display: flex;
  align-items: center;
  gap: .55rem;
  margin: 0;
  font-family: var(--font-heading);
}
.mc-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 22px;
  height: 22px;
  padding: 0 .3rem;
  background: #88B53B;
  color: #fff;
  font-size: .7rem;
  font-weight: 800;
  border-radius: 9999px;
}
.mc-close {
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  background: #f3f3ef;
  border-radius: 50%;
  color: var(--color-text);
  font-size: .95rem;
  cursor: pointer;
  transition: background .15s;
  flex-shrink: 0;
}
.mc-close:hover { background: #e4e4df; }

/* Items list */
.mc-items {
  flex: 1;
  overflow-y: auto;
  padding: .25rem 0;
  scrollbar-width: thin;
  scrollbar-color: #d1d5db transparent;
}
.mc-item {
  display: flex;
  gap: .9rem;
  padding: 1rem 1.5rem;
  border-bottom: 1px solid #f0f0ec;
}
.mc-item__img-link { flex-shrink: 0; }
.mc-item__img {
  width: 64px;
  height: 64px;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid #e4e4df;
  background: #f8f8f5;
  display: block;
}
.mc-item__body {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: .15rem;
}
.mc-item__name {
  font-size: .875rem;
  font-weight: 600;
  color: var(--color-text);
  text-decoration: none;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  line-height: 1.35;
}
.mc-item__name:hover { color: #88B53B; }
.mc-item__sku { font-size: .71rem; color: #9ca3af; }
.mc-item__price { font-size: .93rem; font-weight: 700; color: #88B53B; margin: .1rem 0; }
.mc-item__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: .3rem;
}

/* Qty stepper */
.mc-qty-stepper {
  display: inline-flex;
  align-items: center;
  border: 1.5px solid #d1d5db;
  border-radius: 9999px;
  overflow: hidden;
  height: 30px;
}
.mc-qty-btn {
  width: 28px;
  height: 28px;
  border: none;
  background: transparent;
  color: var(--color-text);
  font-size: .65rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .15s;
}
.mc-qty-btn:hover { background: #f3f3ef; }
.mc-qty-input {
  width: 32px;
  border: none;
  text-align: center;
  font-size: .82rem;
  font-weight: 600;
  color: var(--color-text);
  background: transparent;
  -moz-appearance: textfield;
  outline: none;
}
.mc-qty-input::-webkit-outer-spin-button,
.mc-qty-input::-webkit-inner-spin-button { -webkit-appearance: none; }
.mc-item__remove {
  font-size: .78rem;
  color: #9ca3af;
  text-decoration: none;
  transition: color .15s;
  white-space: nowrap;
}
.mc-item__remove:hover { color: #e53935; }

/* Empty state */
.mc-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 3.5rem 1.5rem;
  text-align: center;
  gap: .85rem;
}
.mc-empty__icon { font-size: 3rem; color: #d1d5db; }
.mc-empty p { font-size: .9rem; color: #6b7280; margin: 0; }
.mc-empty__link {
  font-size: .85rem;
  font-weight: 600;
  color: #88B53B;
  text-decoration: none;
}
.mc-empty__link:hover { text-decoration: underline; }

/* Summary */
.mc-summary {
  padding: .9rem 1.5rem;
  border-top: 1px solid #e4e4df;
  background: #fafaf8;
  flex-shrink: 0;
}
.mc-summary-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: .875rem;
  color: var(--color-text);
  padding: .28rem 0;
}
.mc-summary-row--total {
  font-weight: 700;
  font-size: .98rem;
  padding-top: .65rem;
  margin-top: .35rem;
  border-top: 1px solid #e4e4df;
}
.mc-free { color: #88B53B; font-weight: 600; }
.mc-total-price { color: #88B53B; font-weight: 800; }

/* Actions */
.mc-actions {
  padding: .9rem 1.5rem 1.4rem;
  display: flex;
  flex-direction: column;
  gap: .6rem;
  border-top: 1px solid #e4e4df;
  flex-shrink: 0;
}
.mc-btn {
  display: block;
  width: 100%;
  text-align: center;
  padding: .72rem 1rem;
  border-radius: 9999px;
  font-size: .88rem;
  font-weight: 600;
  text-decoration: none;
  transition: background .15s, color .15s, border-color .15s;
  cursor: pointer;
  letter-spacing: .01em;
}
.mc-btn--outline {
  border: 1.5px solid #d1d5db;
  background: #fff;
  color: var(--color-text);
}
.mc-btn--outline:hover { border-color: #88B53B; color: #88B53B; }
.mc-btn--primary {
  background: #88B53B;
  color: #fff;
  border: 1.5px solid #88B53B;
}
.mc-btn--primary:hover { background: #7aa433; border-color: #7aa433; color: #fff; }
.mc-back-link {
  text-align: center;
  font-size: .8rem;
  color: #9ca3af;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .3rem;
  transition: color .15s;
}
.mc-back-link:hover { color: var(--color-text); }

@media (max-width: 480px) {
  .mc-drawer { width: 100vw; }
  .mc-header { padding: 1rem 1.1rem; }
  .mc-item  { padding: .9rem 1.1rem; }
  .mc-summary { padding: .75rem 1.1rem; }
  .mc-actions { padding: .75rem 1.1rem 1.2rem; }
}
