/*!
 * Electropo — Design System (WordPress child theme).
 * Reproduces the Next.js visual language: cyan #08AAC5 primary,
 * navy #0A2F43/#083E5E text, black footer, 12–16px radii, system fonts.
 */

/* ─── Tokens ────────────────────────────────────────────────────────────── */
:root {
  --color-primary: #08AAC5;
  --color-primary-hover: #069AB3;
  --color-navy: #083E5E;
  --color-navy-deep: #0A2F43;
  --color-text: #0A2F43;
  --color-text-muted: #5A7A8C;
  --color-border: #E4EDF2;
  --color-bg: #FFFFFF;
  --color-bg-muted: #F4F6F7;
  --color-bg-header: #F4F6F7;
  --color-bg-quicknav: #3E3E3A;
  --color-bg-footer: #000000;
  --color-footer-text: #86868b;
  --color-footer-text-light: #B0C8D8;

  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 20px;

  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 10px 30px rgba(0, 0, 0, 0.12);

  --font-body: -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;

  --container-max: 1280px;
  --header-h: 80px;
}

/* ─── Reset / base ─────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; overflow-x: hidden; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.55;
  color: var(--color-text);
  background: var(--color-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img { max-width: 100%; height: auto; display: block; }
/* SVG: keep intrinsic size unless explicitly styled — global max-width would break inline icons. */
svg { display: inline-block; vertical-align: middle; }
a { color: var(--color-primary); text-decoration: none; transition: color .15s ease; }
a:hover { color: var(--color-primary-hover); }
button { font-family: inherit; cursor: pointer; }
input, select, textarea { font-family: inherit; font-size: inherit; }

h1, h2, h3, h4 { color: var(--color-text); line-height: 1.2; margin: 0 0 .5em; font-weight: 700; }
h1 { font-size: clamp(28px, 4vw, 40px); }
h2 { font-size: clamp(22px, 3vw, 32px); }
h3 { font-size: 18px; }

.screen-reader-text {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
.skip-link { position: absolute; left: -9999px; z-index: 100; padding: 8px 12px; background: #000; color: #fff; }
.skip-link:focus { left: 8px; top: 8px; }

/* ─── Layout ───────────────────────────────────────────────────────────── */
.container-main {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 16px;
}
@media (min-width: 768px) { .container-main { padding: 0 24px; } }
@media (min-width: 1200px) { .container-main { padding: 0 32px; } }

.site-main { min-height: 60vh; }
.woocommerce-checkout .site-main,
.woocommerce-order-received .site-main { min-height: 0; }

/* ─── Buttons ──────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 24px;
  border: 1px solid transparent;
  border-radius: var(--radius-md);
  font-weight: 600; font-size: 14px; line-height: 1;
  cursor: pointer; text-decoration: none;
  transition: background .15s ease, color .15s ease, box-shadow .15s ease, transform .1s ease;
  min-height: 44px;
}
.btn:active { transform: translateY(1px); }
.btn-sm { padding: 8px 16px; min-height: 36px; font-size: 13px; }
.btn-lg { padding: 14px 32px; min-height: 52px; font-size: 15px; }

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

.btn-secondary { background: var(--color-navy-deep); color: #fff; }
.btn-secondary:hover { background: #0d3d55; color: #fff; }

.btn-ghost { background: transparent; color: var(--color-text); border-color: var(--color-border); }
.btn-ghost:hover { background: var(--color-bg-muted); color: var(--color-text); }
.btn-ghost--onDark { color: #fff; border-color: rgba(255,255,255,.4); }
.btn-ghost--onDark:hover { background: rgba(255,255,255,.1); color: #fff; }

.btn-glass {
  background: rgba(255,255,255,.7);
  border: 1px solid rgba(0,0,0,.08);
  color: var(--color-navy-deep);
  padding: 10px 16px;
  border-radius: var(--radius-md);
  font-weight: 600; font-size: 14px;
  display: inline-flex; align-items: center; gap: 8px;
  cursor: pointer;
  transition: background .15s ease;
}
.btn-glass:hover { background: #fff; }

.btn-icon-mobile {
  display: none;
  width: 36px; height: 36px;
  align-items: center; justify-content: center;
  background: transparent; border: 0;
  border-radius: 10px;
  color: #3E3E3A;
  padding: 0;
}
.btn-icon-mobile:hover { background: rgba(0,0,0,.06); }
.btn-icon-mobile svg { width: 20px; height: 20px; flex-shrink: 0; }

/* ─── Header ───────────────────────────────────────────────────────────── */
.site-header {
  position: sticky; top: 0; z-index: 40;
  box-shadow: 0 2px 8px rgba(0,0,0,.06);
  background: #fff;
}
.header-row-1 {
  background: var(--color-bg-header);
  border-bottom: 1px solid #e6e9eb;
}
.header-row-1__inner {
  display: flex; align-items: center; gap: 12px;
  height: var(--header-h);
}

.site-logo { flex-shrink: 0; display: inline-flex; align-items: center; }
.site-logo__text {
  font-size: 22px; font-weight: 800; letter-spacing: -.02em;
  color: var(--color-navy-deep);
}
.site-logo__accent { color: var(--color-primary); }
@media (min-width: 640px) { .site-logo__text { font-size: 28px; } }

.btn-categories { display: none; flex-shrink: 0; }
@media (min-width: 768px) { .btn-categories { display: inline-flex; } }

.header-search-desktop { display: none; flex: 1 1 auto; min-width: 0; margin: 0 12px; align-self: center; }
@media (min-width: 768px) { .header-search-desktop { display: flex; } }

.search-form { position: relative; display: flex; align-items: center; width: 100%; margin: 0; }
.search-input {
  box-sizing: border-box;
  width: 100%; height: 44px; padding: 0 44px 0 16px; margin: 0;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background: #fff; color: var(--color-text);
  outline: none;
  line-height: 1.2;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.search-input:focus { border-color: var(--color-primary); box-shadow: 0 0 0 3px rgba(8,170,197,.15); }
.search-submit {
  position: absolute; right: 4px; top: 50%; transform: translateY(-50%);
  width: 36px; height: 36px;
  background: var(--color-primary); border: 0;
  color: #fff;
  border-radius: 8px;
  display: inline-flex; align-items: center; justify-content: center;
  cursor: pointer;
}
.search-submit svg { width: 18px; height: 18px; flex-shrink: 0; }
.search-submit:hover { background: var(--color-primary-hover); }

.header-actions { display: flex; align-items: center; gap: 4px; flex-shrink: 0; }
.header-action-link {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 8px;
  color: #3E3E3A; font-size: 14px;
  border-radius: 10px;
  position: relative;
}
.header-action-link:hover { color: var(--color-primary); }
.header-action-link svg { flex-shrink: 0; width: 20px; height: 20px; }
.header-cart svg { width: 22px; height: 22px; }
.header-action-link__label { display: none; }
@media (min-width: 1024px) { .header-action-link__label { display: inline; } }

.header-cart { position: relative; }
.cart-badge {
  position: absolute; top: 0; right: -2px;
  min-width: 18px; height: 18px; padding: 0 5px;
  background: var(--color-primary); color: #fff;
  font-size: 11px; font-weight: 700; line-height: 18px;
  border-radius: 9px;
  text-align: center;
}

.lang-switcher select {
  padding: 6px 10px; border: 1px solid var(--color-border);
  border-radius: 8px; background: #fff; font-size: 13px;
  color: var(--color-text);
}
.lang-switcher { display: none; }
@media (min-width: 640px) { .lang-switcher { display: block; } }

@media (max-width: 767px) {
  .btn-icon-mobile { display: inline-flex; }
}
@media (min-width: 768px) {
  .btn-icon-mobile { display: none !important; }
}

.mobile-search-bar { padding: 8px 0 12px; }

/* Row 2 — quick nav */
.header-quicknav { display: none; background: var(--color-bg-quicknav); }
@media (min-width: 768px) { .header-quicknav { display: block; } }
.quicknav-list {
  list-style: none; margin: 0; padding: 0;
  display: flex; align-items: center; gap: 4px;
  height: 40px; overflow-x: auto;
  scrollbar-width: none;
}
.quicknav-list::-webkit-scrollbar { display: none; }
.quicknav-item--right { margin-left: auto; }
.quicknav-link {
  display: inline-block; padding: 8px 12px;
  color: rgba(255,255,255,.8);
  font-size: 13px; font-weight: 500;
  white-space: nowrap;
  transition: color .12s ease;
}
.quicknav-link:hover { color: #fff; }
.quicknav-link.is-active { color: var(--color-primary); }

/* Mobile drawer */
.mobile-drawer {
  position: fixed; inset: 0; z-index: 60;
}
.mobile-drawer__backdrop {
  position: absolute; inset: 0;
  background: rgba(10,47,67,.5);
  backdrop-filter: blur(4px);
}
.mobile-drawer__panel {
  position: absolute; top: 0; right: 0; bottom: 0;
  width: min(320px, 88vw);
  background: #fff; padding: 20px;
  overflow-y: auto;
  box-shadow: -10px 0 30px rgba(0,0,0,.15);
  animation: drawerIn .22s cubic-bezier(0.22, 1, 0.36, 1);
}
@keyframes drawerIn { from { transform: translateX(100%); } to { transform: translateX(0); } }
.mobile-drawer__header {
  display: flex; align-items: center; justify-content: space-between;
  padding-bottom: 12px; border-bottom: 1px solid var(--color-border);
}
.mobile-drawer__title { font-weight: 700; font-size: 16px; color: var(--color-navy-deep); }
.mobile-drawer__close {
  background: transparent; border: 0; font-size: 26px; color: var(--color-text-muted);
  width: 32px; height: 32px; border-radius: 8px;
}
.mobile-drawer__close:hover { background: var(--color-bg-muted); }
.mobile-drawer__list { list-style: none; margin: 12px 0 0; padding: 0; }
.mobile-drawer__list a {
  display: block; padding: 12px 8px;
  color: var(--color-text); font-weight: 500; font-size: 15px;
  border-radius: 8px;
}
.mobile-drawer__list a:hover { background: var(--color-bg-muted); color: var(--color-primary); }
.mobile-drawer__sep { height: 1px; background: var(--color-border); margin: 12px 0; }

/* ─── Hero ─────────────────────────────────────────────────────────────── */
.hero {
  background: linear-gradient(135deg, var(--color-navy-deep) 0%, var(--color-navy) 100%);
  color: #fff;
  padding: 64px 0;
}
@media (min-width: 768px) { .hero { padding: 96px 0; } }
.hero__inner { }
.hero__content { max-width: 720px; }
.hero__badge {
  display: inline-block; padding: 6px 14px;
  background: rgba(8,170,197,.15); color: var(--color-primary);
  border: 1px solid rgba(8,170,197,.3);
  border-radius: 999px; font-size: 12px; font-weight: 600;
  text-transform: uppercase; letter-spacing: .05em;
  margin-bottom: 16px;
}
.hero__title { color: #fff; font-size: clamp(32px, 5vw, 52px); margin-bottom: 12px; }
.hero__subtitle { color: rgba(255,255,255,.85); font-size: 17px; margin-bottom: 28px; max-width: 560px; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; }

/* ─── Reassurance bar ──────────────────────────────────────────────────── */
.reassurance { background: #fff; border-bottom: 1px solid var(--color-border); padding: 28px 0; }
.reassurance__grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px;
}
@media (min-width: 768px) { .reassurance__grid { grid-template-columns: repeat(4, 1fr); gap: 24px; } }
.reassurance__item { display: flex; align-items: center; gap: 12px; }
.reassurance__icon {
  width: 40px; height: 40px; border-radius: 10px;
  background: rgba(8,170,197,.1);
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 20px; flex-shrink: 0;
}
.reassurance__title { font-weight: 600; font-size: 14px; margin: 0; color: var(--color-navy-deep); }
.reassurance__sub { font-size: 12px; color: var(--color-text-muted); margin: 0; }

/* ─── Sections ─────────────────────────────────────────────────────────── */
.section { padding: 64px 0; }
.section--muted { background: var(--color-bg-muted); }
.section__header { text-align: center; margin-bottom: 32px; }
.section__title { margin-bottom: 8px; }
.section__subtitle { color: var(--color-text-muted); font-size: 15px; margin: 0; }
.section__cta { text-align: center; margin-top: 32px; }

/* ─── Category grid ────────────────────────────────────────────────────── */
.category-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px;
}
@media (min-width: 640px) { .category-grid { grid-template-columns: repeat(4, 1fr); gap: 16px; } }
@media (min-width: 1024px) { .category-grid { grid-template-columns: repeat(8, 1fr); } }
.category-card {
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  padding: 20px 8px;
  background: #fff; border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  text-align: center; color: var(--color-text);
  transition: border-color .15s ease, transform .15s ease, box-shadow .15s ease;
}
.category-card:hover {
  border-color: var(--color-primary);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  color: var(--color-navy-deep);
}
.category-card__emoji { font-size: 28px; }
.category-card__label { font-size: 13px; font-weight: 600; line-height: 1.3; }

/* ─── Product grid & cards ─────────────────────────────────────────────── */
.product-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px;
}
@media (min-width: 768px) { .product-grid { grid-template-columns: repeat(3, 1fr); gap: 20px; } }
@media (min-width: 1024px) { .product-grid { grid-template-columns: repeat(4, 1fr); gap: 24px; } }

.product-card {
  background: #fff; border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex; flex-direction: column;
  transition: border-color .15s ease, box-shadow .15s ease, transform .15s ease;
}
.product-card:hover {
  border-color: var(--color-primary);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}
.product-card__media {
  position: relative;
  aspect-ratio: 1 / 1;
  display: block; background: #fafbfc;
  overflow: hidden;
}
.product-card__media img { width: 100%; height: 100%; object-fit: contain; padding: 12px; }
.product-card__badge {
  position: absolute; top: 8px; left: 8px;
  padding: 4px 8px;
  background: var(--color-primary); color: #fff;
  font-size: 11px; font-weight: 700; text-transform: uppercase;
  border-radius: 6px;
  z-index: 1;
}
.product-card__badge--out { background: #666; }
.product-card__body { padding: 12px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.product-card__brand {
  font-size: 11px; text-transform: uppercase; font-weight: 700;
  color: var(--color-text-muted); letter-spacing: .04em; margin: 0;
}
.product-card__title { font-size: 14px; font-weight: 600; margin: 0; line-height: 1.35; }
.product-card__title a { color: var(--color-text); }
.product-card__title a:hover { color: var(--color-primary); }
.product-card__price { font-size: 16px; font-weight: 700; color: var(--color-navy-deep); margin-top: 4px; }
.product-card__price ins { text-decoration: none; color: var(--color-primary); }
.product-card__price del { color: var(--color-text-muted); font-weight: 400; font-size: 13px; margin-right: 6px; }
.product-card__actions { margin-top: auto; padding-top: 8px; }
.product-card__actions .btn { width: 100%; }

/* ─── Catalog page ─────────────────────────────────────────────────────── */
.catalog-page { padding: 24px 0 64px; }
.breadcrumb { font-size: 13px; color: var(--color-text-muted); margin-bottom: 16px; }
.breadcrumb a { color: var(--color-text-muted); }
.breadcrumb a:hover { color: var(--color-primary); }
.breadcrumb__sep { margin: 0 6px; color: #b5c6d1; }

.catalog-header { margin-bottom: 24px; }
.catalog-title { font-size: 28px; margin-bottom: 4px; }
.woocommerce-result-count { font-size: 13px; color: var(--color-text-muted); margin: 0; }

.catalog-controls {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 16px; margin-bottom: 24px;
  padding: 12px 0; border-top: 1px solid var(--color-border); border-bottom: 1px solid var(--color-border);
}
.filter-pills { display: flex; flex-wrap: wrap; gap: 8px; }
.filter-pill {
  display: inline-flex; align-items: center;
  padding: 6px 14px;
  background: #fff; border: 1px solid var(--color-border);
  border-radius: 999px;
  font-size: 13px; font-weight: 500; color: var(--color-text);
  transition: all .12s ease;
}
.filter-pill:hover { border-color: var(--color-primary); color: var(--color-primary); }
.filter-pill--active { background: var(--color-primary); color: #fff; border-color: var(--color-primary); }
.filter-pill--active:hover { color: #fff; background: var(--color-primary-hover); }

.catalog-sort select {
  padding: 8px 30px 8px 12px;
  border: 1px solid var(--color-border);
  border-radius: 10px;
  background: #fff;
  font-size: 13px; color: var(--color-text);
  cursor: pointer;
}

.catalog-pagination {
  margin-top: 40px; display: flex; justify-content: center;
}
.catalog-pagination .page-numbers, .woocommerce-pagination .page-numbers {
  list-style: none; display: flex; gap: 6px; padding: 0; margin: 0;
}
.catalog-pagination a, .catalog-pagination span,
.woocommerce-pagination a, .woocommerce-pagination span {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 36px; height: 36px; padding: 0 12px;
  border: 1px solid var(--color-border); border-radius: 8px;
  font-size: 13px; font-weight: 600; color: var(--color-text);
  text-decoration: none;
}
.catalog-pagination .current, .woocommerce-pagination .current {
  background: var(--color-primary); color: #fff; border-color: var(--color-primary);
}
.catalog-pagination a:hover, .woocommerce-pagination a:hover {
  border-color: var(--color-primary); color: var(--color-primary);
}
.catalog-empty { padding: 60px 0; text-align: center; color: var(--color-text-muted); }

/* ─── Single product ───────────────────────────────────────────────────── */
.single-product-page { padding: 24px 0 64px; }
.product-grid-single {
  display: grid; grid-template-columns: 1fr; gap: 32px;
  margin-bottom: 48px;
}
@media (min-width: 768px) { .product-grid-single { grid-template-columns: 1fr 1fr; gap: 48px; } }
.product-gallery img { border-radius: var(--radius-lg); background: #fafbfc; }
.product-brand {
  font-size: 12px; font-weight: 700; text-transform: uppercase;
  color: var(--color-text-muted); letter-spacing: .05em; margin: 0 0 6px;
}
.product-title { font-size: clamp(24px, 3vw, 32px); margin-bottom: 12px; }
.product-price { font-size: 28px; font-weight: 800; color: var(--color-navy-deep); margin-bottom: 16px; }
.product-price ins { text-decoration: none; color: var(--color-primary); }
.product-price del { color: var(--color-text-muted); font-weight: 400; font-size: 18px; margin-right: 8px; }
.product-short-desc { color: var(--color-text-muted); margin-bottom: 20px; }
.product-buy { margin-bottom: 20px; }
.product-buy .single_add_to_cart_button {
  background: var(--color-primary); color: #fff; border: 0;
  padding: 14px 28px; border-radius: var(--radius-md);
  font-weight: 700; font-size: 15px; cursor: pointer;
  min-height: 52px;
}
.product-buy .single_add_to_cart_button:hover { background: var(--color-primary-hover); }
.product-buy .quantity { display: inline-block; margin-right: 12px; }
.product-buy input.qty {
  width: 72px; height: 52px; text-align: center;
  border: 1px solid var(--color-border); border-radius: var(--radius-md);
  font-size: 15px; font-weight: 600;
}
.product-meta { font-size: 13px; color: var(--color-text-muted); margin-bottom: 20px; }
.product-meta p { margin: 4px 0; }
.product-stock.in-stock { color: #0a8f4f; font-weight: 600; }
.product-stock.out-of-stock { color: #b3261e; font-weight: 600; }
.product-reassurance {
  list-style: none; padding: 16px; margin: 0;
  background: var(--color-bg-muted); border-radius: var(--radius-lg);
  display: grid; grid-template-columns: 1fr; gap: 10px;
  font-size: 13px; color: var(--color-navy-deep);
}
.product-tabs { margin: 48px 0; }
.product-tabs .wc-tabs {
  list-style: none; padding: 0; margin: 0 0 20px;
  display: flex; gap: 8px; border-bottom: 1px solid var(--color-border);
}
.product-tabs .wc-tabs li { }
.product-tabs .wc-tabs a {
  display: inline-block; padding: 12px 20px;
  color: var(--color-text-muted); font-weight: 600; font-size: 14px;
  border-bottom: 2px solid transparent;
}
.product-tabs .wc-tabs li.active a { color: var(--color-primary); border-bottom-color: var(--color-primary); }
.product-related h2 { margin-bottom: 20px; }
.product-related ul.products { list-style: none; padding: 0; }

/* ─── Static / legal pages ─────────────────────────────────────────────── */
.page-content { padding: 32px 0 64px; max-width: 820px; }
.page-header { margin-bottom: 24px; padding-bottom: 20px; border-bottom: 1px solid var(--color-border); }
.page-title { margin: 0; }
.page-body h2 { margin-top: 32px; }
.page-body p { margin: 0 0 1em; }
.page-body ul, .page-body ol { padding-left: 20px; margin: 0 0 1em; }

/* ─── Cart ─────────────────────────────────────────────────────────────── */
.cart-page { padding: 24px 0 64px; }
.cart-page__title { margin-bottom: 24px; }
.cart-layout {
  display: grid; grid-template-columns: 1fr; gap: 32px;
}
@media (min-width: 900px) { .cart-layout { grid-template-columns: 2fr 1fr; align-items: start; } }

.shop_table {
  width: 100%; border-collapse: collapse;
  background: #fff; border: 1px solid var(--color-border);
  border-radius: var(--radius-lg); overflow: hidden;
}
.shop_table th, .shop_table td { padding: 14px 12px; text-align: left; font-size: 14px; border-bottom: 1px solid var(--color-border); }
.shop_table th { background: var(--color-bg-muted); font-weight: 600; font-size: 12px; text-transform: uppercase; color: var(--color-text-muted); letter-spacing: .04em; }
.shop_table tr:last-child td { border-bottom: 0; }
.shop_table .product-remove a.remove {
  display: inline-flex; align-items: center; justify-content: center;
  width: 28px; height: 28px; border-radius: 50%;
  background: var(--color-bg-muted); color: var(--color-text-muted);
  font-size: 18px; font-weight: 700;
}
.shop_table .product-remove a.remove:hover { background: #ffe5e5; color: #b3261e; }
.shop_table .product-thumbnail img { width: 60px; height: 60px; object-fit: contain; }

.cart-summary {
  background: #fff; border: 1px solid var(--color-border);
  border-radius: var(--radius-lg); padding: 20px;
  position: sticky; top: calc(var(--header-h) + 60px);
}
.cart-summary .cart_totals table { width: 100%; }
.cart-summary .cart_totals th, .cart-summary .cart_totals td {
  padding: 10px 0; border-bottom: 1px solid var(--color-border);
  font-size: 14px;
}
.cart-summary .cart_totals .order-total td { font-size: 18px; font-weight: 800; color: var(--color-navy-deep); }
.cart-summary .checkout-button, .cart-summary .wc-proceed-to-checkout .button {
  display: inline-flex; align-items: center; justify-content: center;
  width: 100%;
  background: var(--color-primary); color: #fff;
  padding: 14px 24px; border-radius: var(--radius-md);
  font-weight: 700; font-size: 15px; margin-top: 16px;
  min-height: 52px; text-decoration: none;
}
.cart-summary .checkout-button:hover { background: var(--color-primary-hover); }

.cart-empty-state {
  padding: 80px 0; text-align: center; max-width: 480px; margin: 0 auto;
}
.cart-empty-state__icon { font-size: 64px; margin-bottom: 16px; }
.cart-empty-state__title { margin-bottom: 8px; }
.cart-empty-state__desc { color: var(--color-text-muted); margin-bottom: 24px; }

.coupon { display: inline-flex; gap: 8px; align-items: center; }
.coupon .input-text {
  padding: 10px 14px; border: 1px solid var(--color-border);
  border-radius: 10px; font-size: 14px;
}

/* ─── Checkout ─────────────────────────────────────────────────────────── */
.woocommerce-wrapper { padding: 24px 0 64px; }
.checkout-form { }
.checkout-layout {
  display: grid; grid-template-columns: 1fr; gap: 32px;
}
@media (min-width: 900px) { .checkout-layout { grid-template-columns: 3fr 2fr; align-items: start; } }
.checkout-block {
  background: #fff; border: 1px solid var(--color-border);
  border-radius: var(--radius-lg); padding: 20px;
  margin-bottom: 20px;
}
.checkout-block h3 { margin-top: 0; }
.checkout-block label { display: block; font-size: 13px; font-weight: 600; margin-bottom: 4px; color: var(--color-navy-deep); }
.checkout-block input[type="text"], .checkout-block input[type="tel"], .checkout-block input[type="email"],
.checkout-block textarea, .checkout-block select, .checkout-block .select2-selection {
  width: 100% !important;
  padding: 10px 14px !important;
  border: 1px solid var(--color-border) !important;
  border-radius: 10px !important;
  font-size: 14px !important;
  background: #fff;
  box-sizing: border-box;
}
.checkout-block input:focus, .checkout-block select:focus {
  outline: none; border-color: var(--color-primary) !important;
  box-shadow: 0 0 0 3px rgba(8,170,197,.15);
}
.form-row { margin-bottom: 16px; }

.checkout-summary {
  background: #fff; border: 1px solid var(--color-border);
  border-radius: var(--radius-lg); padding: 20px;
  position: sticky; top: calc(var(--header-h) + 20px);
}
.checkout-summary__title { margin-top: 0; margin-bottom: 16px; }

.sepa-info {
  margin-top: 20px; padding: 16px;
  background: rgba(8,170,197,.06);
  border: 1px solid rgba(8,170,197,.25);
  border-radius: var(--radius-md);
}
.sepa-info h4 { margin: 0 0 6px; color: var(--color-navy-deep); font-size: 14px; }
.sepa-info__desc { font-size: 13px; color: var(--color-text-muted); margin: 0 0 12px; }
.sepa-details { display: flex; flex-direction: column; gap: 8px; }
.sepa-row { display: flex; flex-direction: column; gap: 2px; }
.sepa-label { font-size: 11px; text-transform: uppercase; font-weight: 700; color: var(--color-text-muted); letter-spacing: .05em; }
.sepa-value { font-size: 14px; font-weight: 600; color: var(--color-navy-deep); word-break: break-all; }
.sepa-value--mono { font-family: var(--font-mono); letter-spacing: .02em; }

/* ─── FAQ accordion ────────────────────────────────────────────────────── */
.faq-accordion { max-width: 780px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
.faq-item {
  background: #fff; border: 1px solid var(--color-border);
  border-radius: var(--radius-lg); overflow: hidden;
}
.faq-item[open] { border-color: var(--color-primary); box-shadow: var(--shadow-sm); }
.faq-item__q {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 16px 20px; cursor: pointer;
  font-weight: 600; font-size: 15px; color: var(--color-navy-deep);
  list-style: none;
}
.faq-item__q::-webkit-details-marker { display: none; }
.faq-item__chevron { transition: transform .2s ease; color: var(--color-text-muted); }
.faq-item[open] .faq-item__chevron { transform: rotate(180deg); color: var(--color-primary); }
.faq-item__a { padding: 0 20px 16px; color: var(--color-text-muted); font-size: 14px; line-height: 1.6; }
.faq-item__a p { margin: 0; }

/* ─── Account ──────────────────────────────────────────────────────────── */
.woocommerce-account .woocommerce { padding: 32px 0; }
.woocommerce-MyAccount-navigation ul { list-style: none; padding: 0; margin: 0 0 24px; display: flex; flex-wrap: wrap; gap: 4px; }
.woocommerce-MyAccount-navigation li a {
  display: inline-block; padding: 10px 16px;
  background: var(--color-bg-muted); border-radius: 10px;
  color: var(--color-text); font-size: 14px; font-weight: 600;
}
.woocommerce-MyAccount-navigation li.is-active a { background: var(--color-primary); color: #fff; }

.account-dashboard__hello { margin-bottom: 12px; }
.account-dashboard__intro { color: var(--color-text-muted); margin-bottom: 24px; }
.account-dashboard__cards {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px;
}
@media (min-width: 640px) { .account-dashboard__cards { grid-template-columns: repeat(4, 1fr); } }
.account-card {
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  padding: 24px 12px; background: #fff;
  border: 1px solid var(--color-border); border-radius: var(--radius-lg);
  color: var(--color-navy-deep); text-align: center;
  transition: border-color .15s ease, transform .15s ease;
}
.account-card:hover { border-color: var(--color-primary); transform: translateY(-2px); color: var(--color-navy-deep); }
.account-card__icon { font-size: 32px; }
.account-card__label { font-weight: 600; font-size: 14px; }

.account-orders__table td, .account-orders__table th { font-size: 14px; }
.order-status {
  display: inline-block; padding: 3px 10px; border-radius: 999px;
  font-size: 11px; font-weight: 700; text-transform: uppercase;
  background: var(--color-bg-muted); color: var(--color-navy-deep);
}
.order-status--completed { background: rgba(10,143,79,.15); color: #0a8f4f; }
.order-status--processing { background: rgba(8,170,197,.15); color: var(--color-primary); }
.order-status--on-hold { background: rgba(200,140,0,.15); color: #c88c00; }
.order-status--cancelled, .order-status--failed { background: rgba(179,38,30,.12); color: #b3261e; }

.account-orders__empty { padding: 60px 0; text-align: center; }
.account-orders__empty-icon { font-size: 48px; margin-bottom: 12px; }

.account-addresses__grid {
  display: grid; grid-template-columns: 1fr; gap: 16px;
}
@media (min-width: 640px) { .account-addresses__grid { grid-template-columns: 1fr 1fr; } }
.account-address-card {
  background: #fff; border: 1px solid var(--color-border);
  border-radius: var(--radius-lg); padding: 20px;
}
.account-address-card__header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; }
.account-address-card__body { font-style: normal; color: var(--color-text-muted); font-size: 14px; line-height: 1.6; }

/* ─── 404 ──────────────────────────────────────────────────────────────── */
.error-404 { padding: 80px 0; text-align: center; }
.error-404__inner { max-width: 480px; margin: 0 auto; }
.error-404__code {
  font-size: 96px; font-weight: 900; color: var(--color-primary);
  line-height: 1; margin-bottom: 8px;
}
.error-404__title { margin-bottom: 8px; }
.error-404__desc { color: var(--color-text-muted); margin-bottom: 24px; }
.error-404__actions { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; }

/* ─── Footer ───────────────────────────────────────────────────────────── */
.site-footer { background: var(--color-bg-footer); color: #fff; }
.site-footer__grid {
  display: grid; grid-template-columns: 1fr; gap: 32px;
  padding: 60px 16px 40px;
}
@media (min-width: 640px) {
  .site-footer__grid { grid-template-columns: repeat(2, 1fr); }
  .site-footer__brand { grid-column: span 2; }
}
@media (min-width: 1024px) {
  .site-footer__grid { grid-template-columns: repeat(4, 1fr); padding: 80px 32px 48px; }
  .site-footer__brand { grid-column: span 1; }
}
.site-footer__logo { font-size: 26px; font-weight: 800; letter-spacing: -.02em; color: #fff; display: inline-block; margin-bottom: 10px; }
.site-footer__logo-accent { color: var(--color-primary); }
.site-footer__desc { color: var(--color-footer-text-light); font-size: 14px; line-height: 1.55; margin: 0 0 16px; }
.site-footer__email {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--color-footer-text-light); font-size: 14px;
}
.site-footer__email:hover { color: #fff; }

.site-footer__title {
  font-size: 12px; font-weight: 700; text-transform: uppercase;
  color: #fff; letter-spacing: .08em; margin: 0 0 14px;
}
.site-footer__list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 8px; }
.site-footer__list a { color: var(--color-footer-text); font-size: 14px; }
.site-footer__list a:hover { color: var(--color-primary); }

.site-footer__payment { margin-top: 24px; }
.site-footer__payment-label {
  font-size: 11px; text-transform: uppercase; color: #6e6e73;
  letter-spacing: .06em; margin: 0 0 8px;
}
.site-footer__badges { display: flex; gap: 8px; }
.pay-badge {
  background: rgba(255,255,255,.15); color: #fff;
  padding: 5px 10px; border-radius: 6px;
  font-size: 11px; font-weight: 700; letter-spacing: .04em;
}

.site-footer__bottom { border-top: 1px solid rgba(255,255,255,.1); }
.site-footer__bottom-inner {
  padding: 16px; display: flex; flex-direction: column; gap: 12px;
  align-items: center; justify-content: space-between;
  font-size: 12px; color: #6e6e73;
}
@media (min-width: 640px) { .site-footer__bottom-inner { flex-direction: row; } }
.site-footer__bottom-inner p { margin: 0; }
.site-footer__legal-links { display: flex; flex-wrap: wrap; gap: 16px; }
.site-footer__legal-links a { color: #6e6e73; }
.site-footer__legal-links a:hover { color: #fff; }

/* ─── WooCommerce message overrides ────────────────────────────────────── */
.woocommerce-notices-wrapper .woocommerce-message,
.woocommerce-notices-wrapper .woocommerce-info,
.woocommerce-notices-wrapper .woocommerce-error {
  padding: 12px 16px; border-radius: var(--radius-md);
  font-size: 14px; margin-bottom: 16px;
  border: 1px solid;
}
.woocommerce-notices-wrapper .woocommerce-message { background: rgba(10,143,79,.08); border-color: rgba(10,143,79,.3); color: #0a8f4f; }
.woocommerce-notices-wrapper .woocommerce-info { background: rgba(8,170,197,.08); border-color: rgba(8,170,197,.3); color: var(--color-primary); }
.woocommerce-notices-wrapper .woocommerce-error { background: rgba(179,38,30,.08); border-color: rgba(179,38,30,.3); color: #b3261e; list-style: none; padding-left: 16px; }

/* ─── Utilities ────────────────────────────────────────────────────────── */
.text-center { text-align: center; }
.text-muted { color: var(--color-text-muted); }

/* ─── Logo image ───────────────────────────────────────────────────────── */
.site-logo__img {
  height: 34px; width: auto; display: block;
}
@media (min-width: 640px) { .site-logo__img { height: 38px; } }

.site-footer__logo-img { height: 34px; width: auto; display: block; }
.site-footer__logo-link { display: inline-block; margin-bottom: 12px; }

/* ─── Hero enhancements — pill badge with dot + gradient rounded CTAs ─── */
.hero__badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 14px;
  background: rgba(8,170,197,.12); color: var(--color-primary);
  border: 1px solid rgba(8,170,197,.35);
  border-radius: 999px; font-size: 12px; font-weight: 700;
  letter-spacing: .08em; text-transform: uppercase;
  margin-bottom: 18px;
}
.hero__badge-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(8,170,197,.25);
  animation: pulse 1.6s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 3px rgba(8,170,197,.25); }
  50%      { box-shadow: 0 0 0 6px rgba(8,170,197,.05); }
}
.hero__cta-primary {
  background: linear-gradient(180deg, var(--color-primary) 0%, #069AB3 100%);
  color: #fff; border-radius: 999px;
  box-shadow: 0 6px 20px rgba(8,170,197,.35), inset 0 1px 0 rgba(255,255,255,.35);
  padding: 14px 26px;
}
.hero__cta-primary:hover {
  background: linear-gradient(180deg, #069AB3 0%, #05879C 100%);
  color: #fff;
  transform: translateY(-1px);
}
.hero__cta-secondary {
  background: rgba(255,255,255,.10);
  color: #fff;
  border: 1px solid rgba(255,255,255,.30);
  border-radius: 999px;
  padding: 14px 26px;
  backdrop-filter: blur(6px);
}
.hero__cta-secondary:hover { background: rgba(255,255,255,.18); color: #fff; }

/* ─── Reassurance — icon variants (cyan-tinted glass squares) ──────────── */
.reassurance__icon {
  width: 44px; height: 44px; border-radius: 12px;
  background: rgba(8,170,197,.10);
  color: var(--color-primary);
  display: inline-flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  border: 1px solid rgba(8,170,197,.15);
}
.reassurance__icon svg { display: block; width: 22px; height: 22px; flex-shrink: 0; }
.hero__cta-primary svg,
.hero__cta-secondary svg { width: 16px; height: 16px; flex-shrink: 0; }
.faq-item__chevron { width: 18px; height: 18px; flex-shrink: 0; }
.category-card svg { width: 20px; height: 20px; flex-shrink: 0; }
.product-card__add svg { width: 14px; height: 14px; flex-shrink: 0; }
.site-footer__email svg { width: 16px; height: 16px; flex-shrink: 0; }
.cart-empty-state svg { width: 72px; height: 72px; margin: 0 auto 8px; }
.lang-switcher__btn svg { width: 12px; height: 12px; }

/* ─── Product card — energy label + specs + stock dot ──────────────────── */
.product-card__energy {
  position: absolute; top: 8px; right: 8px; z-index: 2;
  padding: 3px 8px;
  font-size: 11px; font-weight: 800;
  border-radius: 6px;
  color: #fff;
  letter-spacing: .02em;
  line-height: 1.2;
  box-shadow: 0 1px 2px rgba(0,0,0,.15);
}
/* Legacy generic modifiers (fallback) */
.product-card__energy--green   { background: #22a05a; }
.product-card__energy--yellow  { background: #d19b1a; }
.product-card__energy--red     { background: #b3261e; }
/* Exact palette — mirrors src/components/product/ProductCard.tsx ENERGY_COLORS */
.product-card__energy--aplusplusplus { background: #00A550; color: #fff; }
.product-card__energy--aplusplus     { background: #3DB84B; color: #fff; }
.product-card__energy--aplus         { background: #7DC342; color: #fff; }
.product-card__energy--a             { background: #B5D334; color: #1a1a1a; }
.product-card__energy--b             { background: #F5E800; color: #1a1a1a; }
.product-card__energy--c             { background: #FABD00; color: #1a1a1a; }
.product-card__energy--d             { background: #F28B00; color: #fff; }
.product-card__energy--e             { background: #EE5E25; color: #fff; }
.product-card__energy--f             { background: #E03020; color: #fff; }
.product-card__energy--g             { background: #C00020; color: #fff; }

.product-card__specs {
  font-size: 12px; color: var(--color-text-muted);
  margin: 0;
}
.product-card__stock {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 12px; margin: 0;
}
.product-card__stock--in { color: #0a8f4f; }
.product-card__stock-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: #22a05a;
  box-shadow: 0 0 0 2px rgba(34,160,90,.15);
}
.product-card__add {
  background: linear-gradient(180deg, var(--color-primary) 0%, #069AB3 100%);
  color: #fff; border-radius: 999px;
  box-shadow: 0 3px 10px rgba(8,170,197,.28), inset 0 1px 0 rgba(255,255,255,.30);
  min-height: 40px;
}
.product-card__add:hover {
  background: linear-gradient(180deg, #069AB3 0%, #05879C 100%);
  color: #fff;
}

/* ─── Language switcher — flag + code + dropdown ───────────────────────── */
.lang-switcher { position: relative; display: none; }
@media (min-width: 640px) { .lang-switcher { display: inline-block; } }
.lang-switcher__btn {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 8px 10px;
  background: transparent; border: 0;
  color: #3E3E3A; font-size: 13px; font-weight: 600;
  border-radius: 10px;
  cursor: pointer;
}
.lang-switcher__btn:hover { background: rgba(0,0,0,.04); }
.lang-flag { font-size: 18px; line-height: 1; }
.lang-code { letter-spacing: .04em; }
.lang-switcher__menu {
  position: absolute; top: calc(100% + 4px); right: 0; z-index: 30;
  min-width: 140px; padding: 6px;
  background: #fff; border: 1px solid var(--color-border);
  border-radius: 10px;
  box-shadow: var(--shadow-md);
  list-style: none; margin: 0;
}
.lang-switcher__menu li a {
  display: flex; align-items: center; gap: 8px;
  padding: 8px 10px; border-radius: 6px;
  color: var(--color-text); font-size: 13px; font-weight: 500;
}
.lang-switcher__menu li a:hover { background: var(--color-bg-muted); color: var(--color-primary); }
.lang-switcher__menu li a[aria-current="true"] { background: rgba(8,170,197,.10); color: var(--color-primary); font-weight: 700; }

/* ─── Cookie banner ────────────────────────────────────────────────────── */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 12px;
  z-index: 80;
  padding: 0 12px;
  pointer-events: none;
}
.cookie-banner__panel {
  max-width: 560px; margin: 0 auto;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: 14px;
  box-shadow: 0 12px 40px rgba(10,47,67,.18);
  padding: 16px 18px;
  pointer-events: auto;
}
.cookie-banner__text {
  margin: 0 0 12px;
  font-size: 13px; line-height: 1.5;
  color: var(--color-navy-deep);
}
.cookie-banner__link {
  color: var(--color-primary); text-decoration: underline;
  text-underline-offset: 2px;
}
.cookie-banner__actions {
  display: flex; gap: 8px; justify-content: flex-end;
  flex-wrap: wrap;
}
.cookie-banner__actions .btn { flex: 1; min-width: 140px; }

/* ─── Auth page (/compte before login) ─────────────────────────────────── */
.auth-page {
  max-width: 460px; margin: 0 auto;
  padding: 48px 20px 64px;
  display: flex; flex-direction: column; align-items: center; gap: 20px;
}
.auth-page__logo { display: inline-flex; }
.auth-page__logo img { height: 38px; width: auto; }
.auth-card {
  width: 100%;
  background: #fff; border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  box-shadow: 0 4px 20px rgba(10,47,67,.06);
}
.auth-card__title {
  font-size: 22px; margin: 0 0 20px;
  color: var(--color-navy-deep);
}
.auth-form .form-row { margin-bottom: 16px; }
.auth-form label { display: block; font-size: 13px; font-weight: 600; margin-bottom: 6px; color: var(--color-navy-deep); }
.auth-form .input-text {
  width: 100%; padding: 12px 14px;
  border: 1px solid var(--color-border);
  border-radius: 10px; font-size: 14px;
  background: #fff;
  box-sizing: border-box;
}
.auth-form .input-text:focus {
  outline: none; border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(8,170,197,.15);
}
.form-row__label-inline { display: flex; align-items: center; justify-content: space-between; margin-bottom: 6px; }
.auth-forgot { font-size: 13px; color: var(--color-primary); font-weight: 600; }
.auth-forgot:hover { text-decoration: underline; }
.form-row__remember label {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 500; color: var(--color-text-muted);
  margin: 0;
}
.auth-submit { width: 100%; }
.auth-toggle {
  text-align: center; margin: 18px 0 0; font-size: 14px;
  color: var(--color-text-muted);
}
.auth-toggle__link { color: var(--color-primary); font-weight: 700; margin-left: 4px; }
.auth-toggle__link:hover { text-decoration: underline; }
.auth-card--register { margin-top: 20px; }
.auth-back { text-align: center; font-size: 13px; color: var(--color-text-muted); margin: 0; }
.auth-back a { color: var(--color-text-muted); }
.auth-back a:hover { color: var(--color-primary); }

/* ─── Header cart icon size adjustment ─────────────────────────────────── */
.header-cart .cart-badge {
  top: 2px; right: 0;
}

/* ─── Homepage sections (Agent I) ──────────────────────────────────────── */

/* Section header (used by AC/category/products sections) */
.section-header {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 32px;
}
@media (min-width: 640px) {
  .section-header {
    flex-direction: row;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 44px;
  }
}
.section-header__text { flex: 1; min-width: 0; }
.section-header__eyebrow {
  color: var(--color-primary);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .12em;
  margin: 0 0 10px;
}
.section-header__title {
  font-size: clamp(24px, 4vw, 44px);
  font-weight: 700;
  color: var(--color-navy-deep);
  letter-spacing: -.02em;
  line-height: 1.1;
  margin: 0;
}
.section-header__sub {
  color: var(--color-text-muted);
  font-size: 15px;
  line-height: 1.55;
  max-width: 32rem;
  margin: 12px 0 0;
}
.section-header__see-all {
  display: none;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
  padding: 10px 20px;
  border-radius: 999px;
  background: rgba(255,255,255,.7);
  border: 1px solid rgba(0,0,0,.08);
  color: var(--color-navy-deep);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: background .15s ease, transform .1s ease;
}
.section-header__see-all:hover { background: #fff; color: var(--color-navy-deep); }
.section-header__see-all--primary {
  background: var(--color-primary);
  color: #fff;
  border-color: transparent;
}
.section-header__see-all--primary:hover { background: var(--color-primary-hover); color: #fff; }
@media (min-width: 640px) { .section-header__see-all { display: inline-flex; } }
.section-header__cta-mobile { display: flex; justify-content: center; margin-top: 32px; }
@media (min-width: 640px) { .section-header__cta-mobile { display: none; } }

/* AC section — gradient background */
.section-ac {
  padding: 64px 0;
  background: linear-gradient(180deg, #EBF8FB 0%, #ffffff 100%);
}
@media (min-width: 768px) { .section-ac { padding: 96px 0; } }

/* Category sections — alternating */
.section-cat { padding: 64px 0; }
@media (min-width: 768px) { .section-cat { padding: 96px 0; } }
.section-cat--even { background: #fff; }
.section-cat--odd  { background: #F5F5F7; }

/* Featured products (popular / promo) */
.section-featured { padding: 80px 0; }
@media (min-width: 768px) { .section-featured { padding: 96px 0; } }
.section-featured--even { background: #fff; }
.section-featured--odd  { background: #F5F5F7; }

/* Horizontal-scroll product row (2 rows on desktop, 1 on mobile) */
.product-scroll {
  display: grid;
  grid-auto-flow: column;
  grid-template-rows: 1fr;
  grid-auto-columns: minmax(240px, 260px);
  gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 4px 0 20px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: rgba(0,0,0,.15) transparent;
}
.product-scroll > * { scroll-snap-align: start; min-width: 0; }
.product-scroll::-webkit-scrollbar { height: 8px; }
.product-scroll::-webkit-scrollbar-thumb { background: rgba(0,0,0,.15); border-radius: 4px; }
.product-scroll::-webkit-scrollbar-thumb:hover { background: rgba(0,0,0,.25); }
@media (min-width: 768px) {
  .product-scroll[data-scroll-rows="2"] {
    grid-template-rows: 1fr 1fr;
    grid-auto-columns: minmax(260px, 280px);
    gap: 20px 16px;
  }
}

.section-empty {
  text-align: center;
  padding: 48px 0;
  color: var(--color-text-muted);
  font-size: 14px;
}

/* ─── Reassurance (big) ─────────────────────────────────────────────────── */
.reassurance-big {
  background: #F5F5F7;
  padding: 48px 0;
}
@media (min-width: 768px) { .reassurance-big { padding: 72px 0; } }
@media (min-width: 1024px) { .reassurance-big { padding: 88px 0; } }
.reassurance-big__header { text-align: center; margin-bottom: 36px; }
.reassurance-big__eyebrow {
  color: var(--color-primary);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .12em;
  margin: 0 0 10px;
}
.reassurance-big__title {
  font-size: clamp(22px, 3.4vw, 36px);
  font-weight: 700;
  color: var(--color-navy-deep);
  letter-spacing: -.02em;
  margin: 0;
}
.reassurance-big__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}
@media (min-width: 640px) { .reassurance-big__grid { grid-template-columns: repeat(2, 1fr); gap: 16px; } }
@media (min-width: 1024px) { .reassurance-big__grid { grid-template-columns: repeat(4, 1fr); gap: 18px; } }
.reassurance-big__card {
  background: #fff;
  border-radius: 20px;
  padding: 22px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 16px;
  box-shadow: var(--shadow-sm);
  transition: box-shadow .25s ease, transform .2s ease;
}
.reassurance-big__card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}
@media (min-width: 768px) { .reassurance-big__card { padding: 30px 26px; } }
.reassurance-big__icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: rgba(8, 170, 197, 0.10);
  color: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.reassurance-big__icon svg { width: 28px; height: 28px; }
.reassurance-big__body { max-width: 100%; }
.reassurance-big__card-title {
  font-size: 14px;
  font-weight: 600;
  color: var(--color-navy-deep);
  margin: 0;
  line-height: 1.35;
}
.reassurance-big__card-sub {
  font-size: 12.5px;
  color: var(--color-text-muted);
  margin: 6px 0 0;
  line-height: 1.55;
}

/* ─── Newsletter ────────────────────────────────────────────────────────── */
.newsletter-section {
  background: #fff;
  padding: 72px 0;
  border-top: 1px solid rgba(210, 210, 215, .3);
}
@media (min-width: 768px) { .newsletter-section { padding: 96px 0; } }
.newsletter-card {
  max-width: 640px;
  margin: 0 auto;
  text-align: center;
}
.newsletter-card__icon {
  width: 56px; height: 56px;
  border-radius: 16px;
  background: rgba(8, 170, 197, 0.10);
  color: var(--color-primary);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 22px;
}
.newsletter-card__icon svg { width: 28px; height: 28px; }
.newsletter-card__title {
  font-size: clamp(24px, 3.4vw, 34px);
  font-weight: 700;
  color: var(--color-navy-deep);
  letter-spacing: -.02em;
  margin: 0 0 12px;
}
.newsletter-card__sub {
  font-size: 15px;
  color: var(--color-text-muted);
  line-height: 1.55;
  margin: 0 0 28px;
}
.newsletter-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 460px;
  margin: 0 auto;
}
@media (min-width: 640px) { .newsletter-form { flex-direction: row; } }
.newsletter-form__input {
  flex: 1;
  min-width: 0;
  padding: 12px 20px;
  border-radius: 999px;
  border: 1px solid #d2d2d7;
  background: #fff;
  color: var(--color-navy-deep);
  font-size: 14px;
  box-shadow: var(--shadow-sm);
  transition: border-color .15s ease, box-shadow .15s ease;
}
.newsletter-form__input::placeholder { color: var(--color-text-muted); }
.newsletter-form__input:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(8, 170, 197, 0.20);
}
.newsletter-form__btn {
  border-radius: 999px !important;
  padding: 12px 28px;
  white-space: nowrap;
}
.newsletter-form__msg { margin: 16px 0 0; font-size: 13px; min-height: 1em; }
.newsletter-form__msg--error { color: #E85E47; }
.newsletter-form__msg--success { color: #25A96B; font-weight: 600; }
.newsletter-form__msg--success span { display: block; font-weight: 400; color: var(--color-text-muted); margin-top: 6px; font-size: 12px; }

/* --- Login page: hide native page title when not logged in --- */
body.woocommerce-account:not(.logged-in) .page-title,
body.woocommerce-account:not(.logged-in) .entry-title,
body.woocommerce-account:not(.logged-in) .site-main > h1:first-child,
body.woocommerce-account:not(.logged-in) .container-main > h1:first-child { display: none !important; }

/* --- Also hide the "My account" native page title when LOGGED IN — our dashboard has its own greeting --- */
body.woocommerce-account.logged-in .page-title,
body.woocommerce-account.logged-in .entry-title,
body.woocommerce-account.logged-in .site-main > h1:first-child,
body.woocommerce-account.logged-in .container-main > h1:first-child { display: none !important; }

/* Auth page container — clean centered standalone-looking layout */
body.woocommerce-account:not(.logged-in) .container-main.woocommerce-wrapper { max-width: 480px; padding: 32px 20px 64px; }
body.woocommerce-account:not(.logged-in) .woocommerce { background: transparent; }
.auth-page { display: flex; flex-direction: column; align-items: center; gap: 24px; padding-top: 40px; }
.auth-page__logo img { display: block; height: 40px; width: auto; }
.auth-card { background: #fff; border: 1px solid #E4EDF2; border-radius: 16px; padding: 32px 28px; width: 100%; max-width: 440px; box-shadow: 0 2px 8px rgba(0,0,0,0.03); }
.auth-card__title { font-size: 22px; font-weight: 700; color: #083E5E; margin: 0 0 20px; }
.auth-form { display: flex; flex-direction: column; gap: 16px; }
.auth-form .form-row { margin: 0; padding: 0; }
.auth-form label { display: block; font-size: 13px; color: #083E5E; font-weight: 500; margin-bottom: 6px; }
.auth-form .form-row__label-inline { display: flex; align-items: baseline; justify-content: space-between; }
.auth-form .auth-forgot { font-size: 12px; color: #08AAC5; text-decoration: none; }
.auth-form .auth-forgot:hover { text-decoration: underline; }
.auth-form input.input-text, .auth-form input[type="text"], .auth-form input[type="email"], .auth-form input[type="password"] {
    width: 100%; box-sizing: border-box; padding: 10px 14px; border: 1px solid #E4EDF2; border-radius: 8px;
    font-size: 14px; background: #fff; color: #083E5E; outline: none; transition: border-color .15s;
}
.auth-form input:focus { border-color: #08AAC5; }
.auth-form .form-row__remember label { display: flex; align-items: center; gap: 8px; font-weight: 400; color: #5A7A8C; margin: 0; cursor: pointer; }
.auth-form .form-row__remember input[type="checkbox"] { width: 16px; height: 16px; accent-color: #08AAC5; }
.auth-submit {
    width: 100%; background: #08AAC5; color: #fff; border: 0; padding: 12px 16px; border-radius: 10px;
    font-size: 14px; font-weight: 600; cursor: pointer; transition: background .15s;
}
.auth-submit:hover { background: #0798af; }
.auth-toggle { text-align: center; font-size: 13px; color: #5A7A8C; margin: 20px 0 0; }
.auth-toggle__link { color: #08AAC5; text-decoration: none; font-weight: 600; margin-left: 4px; }
.auth-toggle__link:hover { text-decoration: underline; }
.auth-back { text-align: center; font-size: 13px; margin: 0; }
.auth-back a { color: #5A7A8C; text-decoration: none; }
.auth-back a:hover { color: #083E5E; }

/* Hide the second register card (we'll show it via toggle only if enabled) */
.auth-card--register { display: none; }
.auth-card--register:target { display: block; }

/* ==========================================================================
   Auth page — refinements (lost-password, reset, confirmation, dashboard)
   Matches Next.js electropo.fr /connexion /inscription /mot-de-passe-oublie
   /reinitialisation-mot-de-passe cards.
   ========================================================================== */

/* Force the WooCommerce wrapper to fully surrender to our card layout
   on ALL auth-related pages (login, lost-password, reset, confirmation). */
body.woocommerce-account:not(.logged-in) .container-main.woocommerce-wrapper {
    max-width: 480px;
    padding: 32px 20px 64px;
}
body.woocommerce-account:not(.logged-in) .container-main.woocommerce-wrapper > .page-header,
body.woocommerce-account:not(.logged-in) .container-main.woocommerce-wrapper > .entry-header,
body.woocommerce-account:not(.logged-in) .container-main.woocommerce-wrapper > h1:first-of-type,
body.woocommerce-account:not(.logged-in) .container-main.woocommerce-wrapper > h1.page-title { display: none !important; }
body.woocommerce-account:not(.logged-in) .woocommerce-MyAccount-content,
body.woocommerce-account:not(.logged-in) .woocommerce-MyAccount-navigation { background: transparent; }

/* Subtitle inside auth-card (used on lost-password + confirmation + reset) */
.auth-card__subtitle {
    font-size: 13px;
    line-height: 1.5;
    color: #5A7A8C;
    margin: -8px 0 20px;
}

/* Success variant (confirmation email sent) */
.auth-card--success { text-align: center; }
.auth-card--success .auth-card__title { text-align: center; }
.auth-card--success .auth-card__subtitle { text-align: center; margin-bottom: 24px; }
.auth-card__icon {
    display: flex; justify-content: center; margin: 0 auto 16px;
}

/* Link-styled submit (confirmation "back to login" CTA that looks like the pill) */
.auth-submit--link {
    display: block; text-align: center; text-decoration: none;
    line-height: normal;
}
.auth-submit--link:hover { background: #069AB3; color: #fff; }

/* Notice styling (WooCommerce error/message inside auth pages) */
.auth-page .woocommerce-notices-wrapper,
.woocommerce-account:not(.logged-in) .woocommerce-notices-wrapper { margin-bottom: 16px; }
.auth-page .woocommerce-error,
.auth-page .woocommerce-message,
.auth-page .woocommerce-info,
body.woocommerce-account:not(.logged-in) .woocommerce-error,
body.woocommerce-account:not(.logged-in) .woocommerce-message,
body.woocommerce-account:not(.logged-in) .woocommerce-info {
    border-radius: 12px;
    padding: 10px 14px;
    font-size: 13px;
    list-style: none;
    margin: 0 0 12px;
    border-width: 1px;
    border-style: solid;
    max-width: 440px;
    box-sizing: border-box;
}
body.woocommerce-account:not(.logged-in) .woocommerce-error { background: #fef2f2; border-color: #fecaca; color: #b91c1c; }
body.woocommerce-account:not(.logged-in) .woocommerce-message { background: #ecfdf5; border-color: #a7f3d0; color: #047857; }
body.woocommerce-account:not(.logged-in) .woocommerce-info { background: #eff9fb; border-color: #a7e0ea; color: #08758a; }
body.woocommerce-account:not(.logged-in) .woocommerce-error a,
body.woocommerce-account:not(.logged-in) .woocommerce-message a,
body.woocommerce-account:not(.logged-in) .woocommerce-info a { color: inherit; text-decoration: underline; }
body.woocommerce-account:not(.logged-in) .woocommerce-error .button { display: none; }

/* Native li bullets from WC error list */
body.woocommerce-account:not(.logged-in) ul.woocommerce-error { padding-left: 14px; }
body.woocommerce-account:not(.logged-in) ul.woocommerce-error li { list-style: none; }

/* Center-align notices with the card */
body.woocommerce-account:not(.logged-in) .woocommerce-notices-wrapper { display: flex; flex-direction: column; align-items: center; }
body.woocommerce-account:not(.logged-in) .woocommerce-notices-wrapper > * { width: 100%; max-width: 440px; }

/* ==========================================================================
   Dashboard — refined cards (post-login)
   ========================================================================== */
.account-dashboard__header { margin-bottom: 24px; }
.account-dashboard__hello {
    font-size: 26px; font-weight: 700; color: #083E5E;
    margin: 0 0 6px;
    letter-spacing: -0.01em;
}
.account-dashboard__intro { color: #5A7A8C; font-size: 14px; margin: 0; }

.account-dashboard__cards {
    display: grid; grid-template-columns: 1fr; gap: 12px;
    margin-top: 8px;
}
@media (min-width: 640px) { .account-dashboard__cards { grid-template-columns: repeat(2, 1fr); gap: 14px; } }

.account-card {
    display: flex; flex-direction: row; align-items: center; gap: 14px;
    padding: 18px 18px; background: #fff;
    border: 1px solid #E4EDF2; border-radius: 14px;
    color: #083E5E; text-align: left; text-decoration: none;
    transition: border-color .18s ease, transform .18s ease, box-shadow .18s ease;
}
.account-card:hover {
    border-color: #08AAC5;
    transform: translateY(-1px);
    box-shadow: 0 4px 14px rgba(8,170,197,0.12);
    color: #083E5E;
}
.account-card__icon {
    flex: 0 0 40px; width: 40px; height: 40px;
    display: flex; align-items: center; justify-content: center;
    background: #E6F7FA; color: #08AAC5;
    border-radius: 10px;
    font-size: 20px;
}
.account-card__body { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.account-card__label { font-weight: 600; font-size: 14px; color: #083E5E; }
.account-card__hint { font-size: 12px; color: #5A7A8C; }
.account-card--muted .account-card__icon { background: #F3F7FA; color: #5A7A8C; }
.account-card--muted:hover { border-color: #C9D6DE; box-shadow: 0 4px 14px rgba(90,122,140,0.10); }

/* Dashboard nav sidebar (WC My Account nav) — keep clean pill style */
.woocommerce-account.logged-in .woocommerce {
    display: grid; grid-template-columns: 1fr; gap: 24px;
}
@media (min-width: 900px) {
    .woocommerce-account.logged-in .woocommerce {
        grid-template-columns: 220px 1fr; gap: 32px;
    }
}
.woocommerce-account.logged-in .woocommerce-MyAccount-navigation ul {
    display: flex; flex-direction: column; gap: 4px;
    list-style: none; padding: 0; margin: 0;
}
.woocommerce-account.logged-in .woocommerce-MyAccount-navigation li a {
    display: block; padding: 10px 14px;
    background: transparent; border-radius: 10px;
    color: #5A7A8C; font-size: 14px; font-weight: 500;
    text-decoration: none;
    transition: background .15s ease, color .15s ease;
}
.woocommerce-account.logged-in .woocommerce-MyAccount-navigation li a:hover {
    background: #F3F7FA; color: #083E5E;
}
.woocommerce-account.logged-in .woocommerce-MyAccount-navigation li.is-active a {
    background: #E6F7FA; color: #08AAC5; font-weight: 600;
}

/* Small screens */
@media (max-width: 560px) {
    .auth-card { padding: 24px 20px; }
    .auth-page { gap: 20px; padding-top: 24px; }
    .account-dashboard__hello { font-size: 22px; }
}

/* ─── Footer — 2026-08-27 Lenas-inspired refresh, Electropo palette ─── */
.site-footer {
  background: #1D1D1F;  /* Apple navy — matches prod electropo.fr */
  color: rgba(255, 255, 255, 0.75);
  margin-top: 80px;
}
.woocommerce-checkout .site-footer,
.woocommerce-order-received .site-footer { margin-top: 24px; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { text-decoration: none; }
.site-footer__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  padding: 60px 20px 32px;
  max-width: 1280px;
  margin: 0 auto;
}
@media (min-width: 640px) {
  .site-footer__grid {
    grid-template-columns: 1fr 1fr;
    gap: 40px 48px;
  }
  .site-footer__brand { grid-column: span 2; }
}
@media (min-width: 1024px) {
  .site-footer__grid {
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 48px;
    padding: 72px 32px 40px;
  }
  .site-footer__brand { grid-column: auto; }
}

/* Brand column */
.site-footer__logo-link { display: inline-block; margin-bottom: 20px; }
.site-footer__logo-img {
  height: 34px; width: auto; display: block;
  /* Logo cyan is already correct — no filter needed */
}
.site-footer__desc {
  color: rgba(255, 255, 255, 0.65);
  font-size: 14px;
  line-height: 1.6;
  margin: 0 0 20px;
  max-width: 380px;
}
.site-footer__address {
  font-style: normal;
  font-size: 14px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.7);
  margin: 0 0 20px;
}
.site-footer__company-name {
  color: rgba(255, 255, 255, 0.95);
  font-weight: 600;
}
.site-footer__contact-list {
  list-style: none; padding: 0; margin: 0;
  display: flex; flex-direction: column; gap: 8px;
}
.site-footer__contact-link {
  display: inline-flex; align-items: center; gap: 8px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 14px;
  transition: color .15s ease;
}
.site-footer__contact-link:hover { color: #08AAC5; }
.site-footer__contact-link svg { flex-shrink: 0; opacity: 0.75; }

/* Section titles */
.site-footer__title {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  color: #ffffff;
  letter-spacing: 0.1em;
  margin: 0 0 16px;
}

/* Link lists */
.site-footer__list {
  list-style: none; padding: 0; margin: 0;
  display: flex; flex-direction: column; gap: 10px;
}
.site-footer__list a {
  color: rgba(255, 255, 255, 0.7);
  font-size: 14px;
  transition: color .15s ease;
  line-height: 1.4;
}
.site-footer__list a:hover { color: #ffffff; }

/* Bottom bar */
.site-footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 20px 0;
}
.site-footer__bottom-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.55);
  text-align: center;
}
@media (min-width: 768px) {
  .site-footer__bottom-inner {
    flex-direction: row;
    text-align: left;
    padding: 0 32px;
  }
}
.site-footer__copy { margin: 0; line-height: 1.5; }
.site-footer__copy-sep {
  display: inline-block;
  margin: 0 6px;
  opacity: 0.5;
}
.site-footer__pay-badges {
  display: flex; gap: 8px; flex-wrap: wrap; justify-content: center;
}
.pay-badge {
  display: inline-flex; align-items: center; gap: 6px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.85);
  padding: 5px 10px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.05em;
}
.pay-badge svg { opacity: 0.8; }
/* ─── /Footer refresh ─── */
