/*
Theme Name: Kaolp' Boutique
Theme URI: http://kaolp.local
Author: Michel
Description: Thème custom pour Kaolp' Boutique - vêtements et jouets de seconde main
Version: 3.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 8.0
License: GNU General Public License v2 or later
Text Domain: kaolp-boutique
*/

/* =============================================
   RESET & BASE
============================================= */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; }
body {
  font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
  background: #f8f5f0;
  color: #1a1208;
  line-height: 1.65;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
ul { list-style: none; }
button { cursor: pointer; font-family: inherit; }

/* =============================================
   VARIABLES
============================================= */
:root {
  --terra:        #e05c2a;
  --terra-hover:  #c44d20;
  --terra-light:  #fdf0ea;
  --terra-pale:   #fef8f5;
  --terra-mid:    #f4a07a;
  --beige:        #f8f5f0;
  --beige-dark:   #ede8e0;
  --white:        #ffffff;
  --text:         #1a1208;
  --text-muted:   #6b5d50;
  --text-light:   #a89880;
  --border:       #e8e0d5;
  --border-hover: #d4c8b8;
  --radius-sm:    6px;
  --radius:       10px;
  --radius-lg:    16px;
  --radius-xl:    24px;
  --shadow-sm:    0 1px 4px rgba(0,0,0,0.06);
  --shadow:       0 4px 20px rgba(0,0,0,0.08);
  --shadow-terra: 0 4px 16px rgba(224,92,42,0.2);
}

/* =============================================
   LAYOUT
============================================= */
.container { max-width: 1200px; margin: 0 auto; padding: 0 1.5rem; }
.section { padding: 4rem 0; }

/* =============================================
   PAGE TITLE BAR
============================================= */
.page-title-bar {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  padding: 1.2rem 0;
}
.page-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* =============================================
   HEADER
============================================= */
#masthead {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 200;
  box-shadow: var(--shadow-sm);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.9rem 1.5rem;
  max-width: 1200px;
  margin: 0 auto;
  gap: 1.5rem;
}
.site-logo {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--text);
  white-space: nowrap;
  letter-spacing: -0.02em;
}
.site-logo span { color: var(--terra); }

#site-navigation > ul { display: flex; gap: 0; align-items: center; }
#site-navigation a {
  font-size: 0.88rem;
  color: var(--text-muted);
  font-weight: 500;
  padding: 0.45rem 0.9rem;
  border-radius: var(--radius-sm);
  transition: all 0.15s;
}
#site-navigation a:hover { color: var(--terra); background: var(--terra-pale); }

.header-actions { display: flex; align-items: center; gap: 0.6rem; }
.header-user, .header-login {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.45rem 0.9rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  transition: all 0.15s;
  background: var(--white);
}
.header-user:hover, .header-login:hover {
  border-color: var(--terra);
  color: var(--terra);
  background: var(--terra-pale);
}
.header-cart a {
  background: var(--terra);
  color: var(--white) !important;
  padding: 0.5rem 1.1rem;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  transition: all 0.15s;
  box-shadow: var(--shadow-terra);
}
.header-cart a:hover { background: var(--terra-hover); }
.cart-count {
  background: var(--white);
  color: var(--terra);
  border-radius: 20px;
  padding: 0 6px;
  font-size: 0.75rem;
  font-weight: 800;
}
.hamburger {
  display: none;
  background: none;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  flex-direction: column;
  gap: 4px;
  padding: 8px;
}
.hamburger span { display: block; width: 20px; height: 2px; background: var(--text); border-radius: 2px; }

/* =============================================
   HERO
============================================= */
.hero {
  background: var(--beige);
  padding: 6rem 1.5rem;
  text-align: center;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--border);
}
.hero::before {
  content: '';
  position: absolute;
  top: -100px; right: -100px;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(224,92,42,0.08) 0%, transparent 70%);
  border-radius: 50%;
}
.hero::after {
  content: '';
  position: absolute;
  bottom: -80px; left: -80px;
  width: 300px; height: 300px;
  background: radial-gradient(circle, rgba(224,92,42,0.05) 0%, transparent 70%);
  border-radius: 50%;
}
.hero-content { position: relative; z-index: 1; }
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--terra-light);
  color: var(--terra);
  font-size: 0.78rem;
  font-weight: 700;
  padding: 0.35rem 1rem;
  border-radius: 20px;
  margin-bottom: 1.5rem;
  border: 1px solid var(--terra-mid);
  letter-spacing: 0.04em;
}
.hero h1 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 900;
  color: var(--text);
  margin-bottom: 1.25rem;
  line-height: 1.1;
  letter-spacing: -0.03em;
}
.hero h1 em { font-style: normal; color: var(--terra); }
.hero p {
  font-size: 1.1rem;
  color: var(--text-muted);
  margin-bottom: 2.5rem;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.7;
}
.hero-buttons { display: flex; gap: 0.75rem; justify-content: center; flex-wrap: wrap; }
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 2rem;
  border-radius: var(--radius);
  font-size: 0.95rem;
  font-weight: 700;
  transition: all 0.2s;
  border: 2px solid transparent;
  cursor: pointer;
}
.btn-primary {
  background: var(--terra);
  color: var(--white);
  box-shadow: var(--shadow-terra);
}
.btn-primary:hover { background: var(--terra-hover); color: var(--white); transform: translateY(-1px); }
.btn-outline {
  background: var(--white);
  color: var(--terra);
  border-color: var(--terra);
}
.btn-outline:hover { background: var(--terra); color: var(--white); }

/* =============================================
   TRUST BAR
============================================= */
.trust-bar {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  padding: 0.85rem 1.5rem;
}
.trust-inner {
  display: flex;
  gap: 2rem;
  justify-content: center;
  flex-wrap: wrap;
  max-width: 1200px;
  margin: 0 auto;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.82rem;
  color: var(--text-muted);
  font-weight: 500;
}
.trust-item .icon { color: var(--terra); }

/* =============================================
   CATEGORIES
============================================= */
.categories-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 1rem; }
.category-card {
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.75rem 1rem;
  text-align: center;
  cursor: pointer;
  transition: all 0.2s;
  text-decoration: none;
  display: block;
  position: relative;
  overflow: hidden;
}
.category-card::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 3px;
  background: var(--terra);
  transform: scaleX(0);
  transition: transform 0.2s;
}
.category-card:hover { border-color: var(--terra); transform: translateY(-3px); box-shadow: var(--shadow); }
.category-card:hover::after { transform: scaleX(1); }
.category-icon { font-size: 2.2rem; margin-bottom: 0.75rem; }
.category-name { font-size: 0.88rem; font-weight: 700; color: var(--text); text-transform: uppercase; letter-spacing: 0.04em; }
.category-count { font-size: 0.75rem; color: var(--text-light); margin-top: 0.3rem; }

/* =============================================
   SECTION TITLE
============================================= */
.section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 2rem;
  flex-wrap: wrap;
  gap: 0.5rem;
  padding-bottom: 1rem;
  border-bottom: 2px solid var(--beige-dark);
}
.section-title { font-size: 1.6rem; font-weight: 800; color: var(--text); letter-spacing: -0.02em; }
.section-title span { color: var(--terra); }
.see-all {
  display: none;
  font-size: 0.82rem;
  color: var(--terra);
  font-weight: 700;
  /* =display: flex; */
  align-items: center;
  gap: 0.2rem;
  padding: 0.35rem 0.85rem;
  border: 1.5px solid var(--terra-mid);
  border-radius: var(--radius-sm);
  transition: all 0.15s;
  background: var(--terra-pale);
}
.see-all:hover { background: var(--terra); color: var(--white); }



/* =============================================
   PRODUITS WOOCOMMERCE
============================================= */
.woocommerce ul.products {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1.25rem;
  margin: 0 !important;
  padding: 0 !important;
}
.woocommerce ul.products li.product {
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all 0.2s;
  text-align: left !important;
  padding: 0 !important;
  margin: 0 !important;
  display: flex;
  flex-direction: column;
}
.woocommerce ul.products li.product:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: var(--terra-mid);
}
.woocommerce ul.products li.product a.woocommerce-loop-product__link { overflow: hidden; display: block; }
.woocommerce ul.products li.product a.woocommerce-loop-product__link img {
  width: 100%; height: 220px; object-fit: cover; transition: transform 0.4s ease;
}
.woocommerce ul.products li.product:hover img { transform: scale(1.03); }
.woocommerce ul.products li.product .woocommerce-loop-product__title {
  font-size: 0.9rem !important;
  font-weight: 600 !important;
  color: var(--text) !important;
  padding: 0.9rem 1rem 0.3rem !important;
  line-height: 1.4 !important;
}
.woocommerce ul.products li.product .price {
  padding: 0 1rem 0.3rem !important;
  color: var(--terra) !important;
  font-weight: 800 !important;
  font-size: 1.1rem !important;
  display: block;
}
.woocommerce ul.products li.product .price del {
  color: var(--text-light) !important;
  font-size: 0.8rem;
  font-weight: 400;
  margin-right: 0.3rem;
}
.woocommerce ul.products li.product .price ins { text-decoration: none; }
.woocommerce ul.products li.product .button {
  margin: auto 1rem 1rem !important;
  display: block !important;
  width: calc(100% - 2rem) !important;
  background: var(--terra) !important;
  color: var(--white) !important;
  border: none !important;
  border-radius: var(--radius-sm) !important;
  padding: 0.65rem !important;
  font-weight: 700 !important;
  font-size: 0.85rem !important;
  text-align: center !important;
  transition: background 0.15s !important;
}
.woocommerce ul.products li.product .button:hover { background: var(--terra-hover) !important; }
.woocommerce ul.products li.product .onsale {
  background: var(--terra) !important;
  color: white !important;
  border-radius: 0 !important;
  font-size: 0.72rem !important;
  font-weight: 800 !important;
  padding: 4px 10px !important;
  top: 0 !important; left: 0 !important;
  letter-spacing: 0.04em !important;
}
.product-etat {
  display: inline-flex;
  font-size: 0.72rem;
  padding: 3px 10px;
  border-radius: 20px;
  margin: 0 1rem 0.5rem;
  font-weight: 600;
  width: fit-content;
}
.etat-neuf     { background: #fff8e1; color: #8a6000; border: 1px solid #f0c040; }
.etat-tres-bon { background: #e8f4fd; color: #1565a0; border: 1px solid #90c8f0; }
.etat-bon      { background: var(--terra-light); color: var(--terra); border: 1px solid var(--terra-mid); }

/* =============================================
   PAGE PRODUIT INDIVIDUEL
============================================= */
.woocommerce div.product {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  border: 1.5px solid var(--border);
  box-shadow: var(--shadow-sm);
}
.woocommerce div.product .product_title {
  font-size: 1.8rem; font-weight: 800; margin-bottom: 0.5rem; letter-spacing: -0.02em; color: var(--text);
}
.woocommerce div.product p.price { color: var(--terra); font-size: 2rem; font-weight: 800; margin: 0.75rem 0; }
.woocommerce div.product .single_add_to_cart_button {
  background: var(--terra) !important; color: var(--white) !important; border: none !important;
  border-radius: var(--radius) !important; padding: 1rem 2rem !important;
  font-size: 1rem !important; font-weight: 700 !important; width: 100% !important;
  transition: all 0.2s !important; box-shadow: var(--shadow-terra) !important;
}
.woocommerce div.product .single_add_to_cart_button:hover {
  background: var(--terra-hover) !important; transform: translateY(-1px) !important;
}
.woocommerce div.product .woocommerce-product-details__short-description {
  color: var(--text-muted); font-size: 0.95rem; line-height: 1.7;
  margin: 1rem 0; padding: 1rem; background: var(--beige);
  border-radius: var(--radius); border-left: 3px solid var(--terra-mid);
}

/* =============================================
   COMMENT CA MARCHE
============================================= */
.how-it-works { background: var(--white); }
.steps-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 1.5rem; }
.step-card {
  text-align: center; padding: 2rem 1.25rem; background: var(--beige);
  border-radius: var(--radius-lg); border: 1.5px solid var(--border); transition: all 0.2s;
}
.step-card:hover { border-color: var(--terra-mid); background: var(--terra-pale); transform: translateY(-2px); }
.step-number {
  width: 50px; height: 50px; border-radius: 50%; background: var(--terra); color: var(--white);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem; font-weight: 800; margin: 0 auto 1.1rem;
  box-shadow: var(--shadow-terra);
}
.step-title { font-size: 0.95rem; font-weight: 700; color: var(--text); margin-bottom: 0.4rem; }
.step-desc { font-size: 0.85rem; color: var(--text-muted); line-height: 1.55; }

/* =============================================
   FILTRES SOUS-CATEGORIES
============================================= */
.kaolp-filters { margin-bottom: 2rem; border-bottom: 1px solid var(--border); padding-bottom: 1.25rem; }
.kaolp-filters-title {
  font-size: 0.72rem; font-weight: 700; color: var(--text-muted);
  text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 0.75rem;
}
.kaolp-filters-list { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.kaolp-filter-btn {
  display: inline-flex; align-items: center; gap: 0.35rem;
  padding: 0.4rem 1rem; border-radius: 20px;
  font-size: 0.8rem; font-weight: 600;
  color: var(--text-muted); border: 1.5px solid var(--border);
  background: var(--white); transition: all 0.15s; text-decoration: none;
}
.kaolp-filter-btn:hover, .kaolp-filter-btn.active {
  border-color: var(--terra); color: var(--terra); background: var(--terra-pale);
}
.kaolp-filter-btn .count { font-size: 0.7rem; color: var(--text-light); }
.kaolp-filter-btn.active .count { color: var(--terra); opacity: 0.7; }

/* Breadcrumb */
.kaolp-breadcrumb {
  font-size: 0.8rem; color: var(--text-light); margin-bottom: 1.25rem;
  display: flex; align-items: center; gap: 0.4rem;
}
.kaolp-breadcrumb a { color: var(--terra); transition: color 0.15s; }
.kaolp-breadcrumb a:hover { color: var(--terra-hover); }
.kaolp-breadcrumb strong { color: var(--text-muted); }

/* =============================================
   PAGE MON COMPTE
============================================= */
.woocommerce-account .page-title-bar { display: none; }
.woocommerce-account .container { padding-top: 3rem; padding-bottom: 4rem; }
.woocommerce-account .woocommerce {
  max-width: 500px; margin: 0 auto; background: var(--white);
  border-radius: var(--radius-xl); padding: 2.5rem;
  border: 1.5px solid var(--border); box-shadow: var(--shadow);
}
.woocommerce-account .woocommerce h2 {
  font-size: 1rem; font-weight: 700; margin: 1.75rem 0 1rem; color: var(--text);
  padding-top: 1.75rem; border-top: 1px solid var(--border);
}
.woocommerce-account .woocommerce h2:first-child { margin-top: 0; padding-top: 0; border-top: none; }
.woocommerce-account .woocommerce form .form-row { margin-bottom: 1rem; }
.woocommerce-account .woocommerce form .form-row label {
  font-size: 0.82rem; font-weight: 600; color: var(--text-muted); margin-bottom: 0.4rem; display: block;
}
.woocommerce-account.woocommerce-page .woocommerce {
  max-width: 900px; display: grid; grid-template-columns: 200px 1fr; gap: 2rem; align-items: start;
}
.woocommerce-MyAccount-navigation {
  background: var(--beige); border-radius: var(--radius-lg); padding: 1rem; border: 1.5px solid var(--border);
}
.woocommerce-MyAccount-navigation ul li a {
  display: flex; align-items: center; gap: 0.5rem;
  padding: 0.6rem 0.85rem; border-radius: var(--radius-sm);
  color: var(--text-muted); font-size: 0.875rem; font-weight: 500; transition: all 0.15s;
}
.woocommerce-MyAccount-navigation ul li a:hover,
.woocommerce-MyAccount-navigation ul li.is-active a {
  background: var(--terra-light); color: var(--terra); font-weight: 600;
}

/* =============================================
   FORMULAIRES WOOCOMMERCE
============================================= */
.woocommerce form .form-row input.input-text,
.woocommerce form .form-row textarea,
.woocommerce form .form-row select {
  width: 100%; border: 1.5px solid var(--border) !important;
  border-radius: var(--radius-sm) !important; padding: 0.7rem 1rem !important;
  font-size: 0.9rem !important; background: var(--white) !important;
  color: var(--text) !important; transition: all 0.15s !important; font-family: inherit !important;
}
.woocommerce form .form-row input.input-text:focus,
.woocommerce form .form-row textarea:focus {
  border-color: var(--terra) !important; outline: none !important;
  box-shadow: 0 0 0 3px rgba(224,92,42,0.12) !important;
}

/* =============================================
   BOUTONS WOOCOMMERCE
============================================= */
.woocommerce #respond input#submit,
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button {
  background: var(--terra) !important; color: var(--white) !important; border: none !important;
  border-radius: var(--radius-sm) !important; padding: 0.7rem 1.5rem !important;
  font-size: 0.9rem !important; font-weight: 700 !important; cursor: pointer !important;
  transition: all 0.15s !important; font-family: inherit !important;
}
.woocommerce #respond input#submit:hover,
.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover { background: var(--terra-hover) !important; }

/* =============================================
   PANIER & CHECKOUT
============================================= */
.woocommerce table.shop_table {
  border: 1.5px solid var(--border) !important; border-radius: var(--radius-lg) !important;
  overflow: hidden; background: var(--white);
}
.woocommerce table.shop_table th {
  background: var(--beige) !important; font-size: 0.78rem !important; font-weight: 700 !important;
  color: var(--text-muted) !important; text-transform: uppercase !important;
  letter-spacing: 0.06em !important; padding: 0.9rem 1rem !important;
  border-bottom: 1.5px solid var(--border) !important;
}
.woocommerce table.shop_table td {
  padding: 1rem !important; border-bottom: 1px solid var(--border) !important;
  vertical-align: middle !important; color: var(--text) !important;
}
.woocommerce .cart-collaterals,
.woocommerce-cart .cart-collaterals {
  background: var(--white); padding: 1.5rem;
  border-radius: var(--radius-lg); border: 1.5px solid var(--border);
}

/* =============================================
   NOTIFICATIONS
============================================= */
.woocommerce-message, .woocommerce-info {
  background: var(--terra-pale) !important; border-left: 3px solid var(--terra) !important;
  color: var(--terra-hover) !important; padding: 1rem 1.25rem !important;
  border-radius: 0 var(--radius) var(--radius) 0 !important; font-weight: 500 !important;
}
.woocommerce-error {
  background: #fff0f0 !important; border-left: 3px solid #e53e3e !important;
  color: #c53030 !important; padding: 1rem 1.25rem !important;
  border-radius: 0 var(--radius) var(--radius) 0 !important;
}

/* =============================================
   PAGES CATEGORIE
============================================= */
.tax-product_cat .page-title-bar,
.post-type-archive-product .page-title-bar { display: none; }
.woocommerce-products-header { margin-bottom: 1.5rem; }
.woocommerce-products-header__title {
  font-size: 1.6rem !important; font-weight: 800 !important; color: var(--text) !important;
  letter-spacing: -0.02em !important;
}
.woocommerce-result-count { color: var(--text-muted) !important; font-size: 0.82rem !important; }
.woocommerce-ordering select {
  border: 1.5px solid var(--border) !important; border-radius: var(--radius-sm) !important;
  padding: 0.4rem 0.8rem !important; font-size: 0.82rem !important;
  color: var(--text-muted) !important; background: var(--white) !important;
}

/* =============================================
   FOOTER
============================================= */
#colophon {
  background: #2a1f14;
  color: #c8b8a0;
  padding: 4rem 1.5rem 2rem;
  margin-top: 4rem;
  border-top: 3px solid var(--terra);
}
.footer-inner {
  max-width: 1200px; margin: 0 auto 2.5rem;
  display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 3rem;
}
.footer-brand .logo { font-size: 1.4rem; font-weight: 800; color: white; margin-bottom: 0.85rem; letter-spacing: -0.02em; }
.footer-brand .logo span { color: var(--terra-mid); }
.footer-brand p { font-size: 0.875rem; color: #9a8870; line-height: 1.75; }
.footer-col h4 { font-size: 0.75rem; font-weight: 700; color: white; margin-bottom: 1.1rem; text-transform: uppercase; letter-spacing: 0.1em; }
.footer-col ul li { margin-bottom: 0.6rem; }
.footer-col ul li a { font-size: 0.875rem; color: #9a8870; transition: color 0.15s; }
.footer-col ul li a:hover { color: var(--terra-mid); }
.footer-bottom {
  max-width: 1200px; margin: 0 auto;
  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: 0.5rem;
}
.footer-bottom p { font-size: 0.8rem; color: #6a5840; }
.footer-bottom a { color: #9a8870; transition: color 0.15s; }
.footer-bottom a:hover { color: var(--terra-mid); }

/* =============================================
   RESPONSIVE
============================================= */
@media (max-width: 900px) {
  .woocommerce-account.woocommerce-page .woocommerce { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  #site-navigation { display: none; position: absolute; }
  #site-navigation.open {
    display: block; top: 100%; left: 0; right: 0;
    background: var(--white); border-bottom: 1.5px solid var(--border);
    padding: 1rem 1.5rem; box-shadow: var(--shadow); z-index: 199;
  }
  #site-navigation.open ul { flex-direction: column; gap: 0.25rem; }
  .hamburger { display: flex; }
  .hero { padding: 4rem 1rem; }
  .woocommerce div.product { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
}
@media (max-width: 480px) {
  .woocommerce ul.products { grid-template-columns: repeat(2, 1fr) !important; gap: 0.75rem; }
  .container { padding: 0 1rem; }
}

/* =============================================
   MENU DEROULANT
============================================= */
#site-navigation li { position: relative; }
#site-navigation li.has-dropdown > a { padding-right: 0.5rem; }

#site-navigation .dropdown {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  min-width: 180px;
  z-index: 300;
  padding: 0.5rem 0;
}
#site-navigation li.has-dropdown:hover .dropdown { display: block; }
#site-navigation .dropdown li { width: 100%; display: block; }
#site-navigation .dropdown li a {
  display: block;
  padding: 0.5rem 1.1rem;
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 500;
  border-radius: 0;
  transition: all 0.15s;
  white-space: nowrap;
  background: none;
}
#site-navigation .dropdown li:first-child a {
  color: var(--terra);
  font-weight: 700;
  border-bottom: 1px solid var(--border);
  margin-bottom: 0.25rem;
  padding-bottom: 0.6rem;
}
#site-navigation .dropdown li a:hover {
  background: var(--terra-pale) !important;
  color: var(--terra);
}
/* =============================================
   PANIER FIX - REMOVE BUTTON + COUPON CLEAN
============================================= */

/* BOUTON RETIRER (× panier) */
.woocommerce a.remove {
  display: flex !important;
  align-items: center;
  justify-content: center;

  width: 28px;
  height: 28px;

  font-size: 18px !important;
  font-weight: 800 !important;

  line-height: 1 !important;

  border-radius: 50% !important;

  background: #e74c3c !important;
  color: #fff !important;

  text-decoration: none !important;

  transition: all 0.2s ease;
}

.woocommerce a.remove:hover {
  background: #c0392b !important;
  transform: scale(1.1);
}

/* TABLE PANIER ALIGNEMENT */
.woocommerce-cart table.shop_table td.product-remove {
  text-align: center;
  width: 50px;
}

/* COUPON ZONE (CODE PROMO) */
.woocommerce-cart .coupon {
  display: flex;
  gap: 0.75rem;
  align-items: center;
  margin-top: 1.5rem;
  flex-wrap: wrap;
}

/* INPUT COUPON */
.woocommerce-cart .coupon input.input-text {
  flex: 1;
  min-width: 180px;

  padding: 0.75rem 1rem;

  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);

  font-size: 0.9rem;

  background: var(--white);
}

/* INPUT FOCUS */
.woocommerce-cart .coupon input.input-text:focus {
  border-color: var(--terra);
  outline: none;
  box-shadow: 0 0 0 3px rgba(224,92,42,0.12);
}

/* BOUTON APPLIQUER */
.woocommerce-cart .coupon button.button {
  background: var(--terra) !important;
  color: var(--white) !important;

  border: none !important;
  border-radius: var(--radius-sm) !important;

  padding: 0.75rem 1.25rem !important;

  font-size: 0.85rem !important;
  font-weight: 700 !important;

  transition: all 0.2s ease;
}

.woocommerce-cart .coupon button.button:hover {
  background: var(--terra-hover) !important;
  transform: translateY(-1px);
}

/* MOBILE COUPON */
@media (max-width: 768px) {
  .woocommerce-cart .coupon {
    flex-direction: column;
    align-items: stretch;
  }

  .woocommerce-cart .coupon button.button {
    width: 100%;
  }
}
#kaolp-cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #1a1208;
  color: #fff;
  z-index: 99999;
  padding: 15px;
}

.cookie-box {
  max-width: 1100px;
  margin: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 15px;
  flex-wrap: wrap;
}

.cookie-box p {
  font-size: 0.85rem;
  margin: 0;
  color: #f5f5f5;
}

.cookie-actions {
  display: flex;
  gap: 10px;
}

.cookie-actions button {
  border: none;
  padding: 8px 14px;
  border-radius: 6px;
  cursor: pointer;
  font-weight: 700;
  font-size: 0.8rem;
}

#accept-cookies {
  background: #e05c2a;
  color: white;
}

#refuse-cookies {
  background: transparent;
  border: 1px solid #fff;
  color: white;
}
