/* ═══════════════════════════════════════════════════════
   DISTRIBUTION DIGITALE — Design System v9
   Charte : Centrale Digitale (Navy / Blue / Gold)
   Structure : ManoMano-inspired
   ═══════════════════════════════════════════════════════ */

:root {
  --primary: #1A2B6B;
  --primary-dark: #101E4A;
  --secondary: #1E7FD8;
  --accent: #F5C518;
  --accent-dark: #E8B000;
  --white: #FFFFFF;
  --snow: #F7F9FC;
  --ice: #EDF1F7;
  --border: #E2E6EE;
  --text: #1A1A2E;
  --text-secondary: #5A6072;
  --text-muted: #8B90A0;
  --radius-sm: 8px;
  --radius: 12px;
  --radius-lg: 16px;
  --radius-xl: 20px;
  --radius-full: 9999px;
  --transition: 0.25s ease;
  --transition-fast: 0.15s ease;
  --bg-light: #F7F9FC;
  --border-light: #E2E6EE;
  --border-medium: #C8CDD8;
  --header-height: 68px;
  --success: #059669;
  --danger: #DC2626;
  --danger-bg: #FEF2F2;
  --warning: #D97706;
}

/* ═══ RESET ═══ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  color: var(--text); background: var(--snow);
  line-height: 1.6; -webkit-font-smoothing: antialiased;
}
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; display: block; }
.container { max-width: 1240px; margin: 0 auto; padding: 0 24px; }

/* ═══ TOP BAR ═══ */
.top-bar {
  background: var(--accent); color: var(--primary);
  font-size: 13px; padding: 7px 0;
  overflow: hidden; white-space: nowrap;
}
.top-bar .marquee {
  display: inline-block;
  animation: marquee 35s linear infinite;
  padding-left: 100%;
}
.top-bar .marquee span {
  font-weight: 600;
}
@keyframes marquee {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-100%); }
}

/* ═══ HEADER ═══ */
.header {
  position: sticky; top: 0; z-index: 100;
  background: var(--white); border-bottom: 1px solid var(--border);
}
.header-inner { display: flex; align-items: center; gap: 20px; height: 68px; }
.logo {
  font-size: 19px; font-weight: 800; color: var(--primary);
  letter-spacing: -0.3px; flex-shrink: 0;
  display: flex; align-items: center; gap: 6px;
}
.logo-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--secondary); }
.header-search {
  flex: 1; max-width: 540px;
  display: flex; align-items: center;
  background: var(--ice); border: 2px solid transparent;
  border-radius: var(--radius-sm);
}
.header-search:focus-within {
  background: var(--white); border-color: var(--secondary);
  box-shadow: 0 0 0 3px rgba(30,127,216,0.08);
}
.header-search input {
  flex: 1; padding: 10px 16px; background: transparent;
  border: none; color: var(--text); font-size: 14px;
  font-family: inherit; outline: none;
}
.header-search input::placeholder { color: var(--text-muted); }
.header-search button {
  display: flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; background: transparent;
  border: none; color: var(--text-muted); cursor: pointer;
  margin-right: 4px;
}
.header-search button:hover { color: var(--primary); }
.header-actions { display: flex; align-items: center; gap: 4px; flex-shrink: 0; }
.icon-btn {
  display: flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; border-radius: var(--radius-sm);
  border: none; background: transparent; color: var(--text-secondary);
  cursor: pointer; position: relative; font-size: 14px;
}
.icon-btn:hover { color: var(--primary); background: var(--ice); }
.cart-badge {
  position: absolute; top: 2px; right: 2px;
  min-width: 18px; height: 18px; display: flex; align-items: center; justify-content: center;
  background: var(--secondary); color: var(--white); font-size: 10px; font-weight: 700;
  border-radius: 9px; padding: 0 4px;
}

/* ═══ NAV BAR ═══ */
.nav-bar { display: none; background: var(--primary); }
@media (min-width: 1025px) {
  .nav-bar { display: block; }
  .nav-bar .nav-desktop > ul { list-style: none; margin: 0; padding: 0; }
}
.nav-bar .container { overflow-x: auto; }
.nav-links, .nav-desktop ul, .nav-desktop .menu { display: flex; align-items: center; height: 44px; }
.nav-links a, .nav-desktop a {
  padding: 10px 18px; font-size: 13px; font-weight: 500;
  color: rgba(255,255,255,0.78); white-space: nowrap;
  transition: color var(--transition);
}
.nav-links a:hover, .nav-desktop a:hover,
.nav-desktop li.current-menu-item a { color: var(--white); }

/* ═══ HERO ═══ */
.hero {
  background:
    radial-gradient(ellipse at 20% 20%, rgba(30,127,216,0.04) 0%, transparent 60%),
    linear-gradient(170deg, #0F1A40 0%, var(--primary) 50%, #1E3A8A 100%);
  padding: 60px 0 64px; position: relative; overflow: hidden; color: var(--white);
}
.hero::before {
  content: ''; position: absolute; inset: 0;
  background-image: radial-gradient(circle, rgba(255,255,255,0.02) 1px, transparent 1px);
  background-size: 30px 30px; pointer-events: none;
}
.hero-content { position: relative; z-index: 1; max-width: 600px; }
.hero h1 {
  font-size: clamp(26px, 3.5vw, 40px); font-weight: 800;
  line-height: 1.1; letter-spacing: -0.5px; margin-bottom: 10px;
}
.hero h1 .hl { color: var(--accent); }
.hero p { font-size: 15px; color: rgba(255,255,255,0.55); margin-bottom: 24px; }
.hero-search {
  display: flex; background: var(--white);
  border-radius: var(--radius); overflow: hidden;
  box-shadow: 0 10px 40px rgba(0,0,0,0.25); margin-bottom: 28px;
}
.hero-search input {
  flex: 1; padding: 16px 22px; border: none;
  color: var(--text); font-size: 15px; font-family: inherit; outline: none;
}
.hero-search input::placeholder { color: var(--text-muted); }
.hero-search button {
  padding: 0 28px; background: var(--secondary); border: none;
  color: var(--white); font-weight: 600; font-size: 14px;
  cursor: pointer; font-family: inherit;
}
.hero-search button:hover { background: #1A6DC4; }

/* Hero category pills */
.hero-cats { display: flex; gap: 10px; flex-wrap: wrap; }
.hero-cat {
  display: flex; align-items: center; gap: 8px;
  padding: 10px 18px; border-radius: 100px;
  background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.1);
  color: rgba(255,255,255,0.85); font-size: 13px; font-weight: 500;
  cursor: pointer; transition: all var(--transition);
}
.hero-cat:hover {
  background: rgba(255,255,255,0.15); border-color: rgba(255,255,255,0.25);
  transform: translateY(-1px);
}

/* ═══ REASSURANCE BAR ═══ */
.reassurance {
  background: var(--white); border-bottom: 1px solid var(--border); padding: 16px 0;
}
.reassurance-grid { display: flex; justify-content: space-between; gap: 16px; overflow-x: auto; }
.reassurance-item {
  display: flex; align-items: center; gap: 10px;
  padding: 8px 16px; flex-shrink: 0; font-size: 13px; color: var(--text-secondary);
}
.reassurance-item .ico { font-size: 20px; }
.reassurance-item strong { color: var(--text); font-weight: 600; }

/* ═══ SECTIONS ═══ */
.section { padding: 56px 0; }
.section-white { background: var(--white); }
.section-header { margin-bottom: 32px; }
.section-header.center { text-align: center; }
.section-tag {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 4px 12px; border-radius: 100px;
  font-size: 11px; font-weight: 700; letter-spacing: 0.5px;
  text-transform: uppercase; margin-bottom: 8px;
  background: rgba(26,43,107,0.06); color: var(--primary);
  border: 1px solid rgba(26,43,107,0.1);
}
.section-title {
  font-size: clamp(20px, 2.5vw, 28px); font-weight: 800;
  color: var(--text); letter-spacing: -0.3px; line-height: 1.2;
}
.section-desc {
  font-size: 14px; color: var(--text-secondary); margin-top: 4px;
  max-width: 440px; line-height: 1.6;
}
.section-header.center .section-desc { margin-left: auto; margin-right: auto; }
.section-link {
  font-size: 14px; font-weight: 600; color: var(--secondary);
  display: inline-flex; align-items: center; gap: 4px;
}
.section-link:hover { text-decoration: underline; }

/* ═══ CATEGORIES GRID ═══ */
.cat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.cat-card {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 28px 18px;
  text-align: center; cursor: pointer;
  transition: all 0.3s ease;
  display: flex; flex-direction: column; align-items: center; gap: 10px;
}
.cat-card:hover {
  border-color: var(--secondary); transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(26,43,107,0.10);
}
.cat-icon {
  width: 62px; height: 62px; border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  transition: transform 0.3s ease;
}
.cat-icon { color: var(--text-muted); }
.cat-icon .cat-svg-icon { display: block; }
.cat-card:hover .cat-icon { transform: scale(1.08); }
.cat-card .name { font-size: 15px; font-weight: 600; color: var(--text); }
.cat-card .count { font-size: 12px; color: var(--text-muted); }

/* ═══ DEALS CAROUSEL ═══ */
.deals-scroll {
  display: flex; gap: 16px; overflow-x: auto;
  padding-bottom: 8px; scroll-snap-type: x mandatory;
}
.deal-card {
  min-width: 220px; flex-shrink: 0; scroll-snap-align: start;
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 20px;
  display: flex; flex-direction: column; align-items: center;
  text-align: center; gap: 10px;
  transition: all 0.3s ease; cursor: pointer;
}
.deal-card:hover {
  border-color: var(--secondary); transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(26,43,107,0.08);
}
.deal-card .emoji { font-size: 48px; }
.deal-card .discount {
  padding: 3px 10px; border-radius: 100px;
  background: #DC2626; color: var(--white);
  font-size: 12px; font-weight: 700;
}
.deal-card .text { font-size: 14px; font-weight: 600; color: var(--text); }
.deal-card .desc { font-size: 12px; color: var(--text-muted); }

/* ═══ CATEGORY ROWS ═══ */
.cat-row { margin-bottom: 36px; }
.cat-row-header {
  display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px;
}
.cat-row-header h3 {
  font-size: 18px; font-weight: 700; color: var(--text);
  display: flex; align-items: center; gap: 8px;
}
.cat-row-header h3 .cat-row-icon { flex-shrink: 0; }
.cat-sub-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 10px; }
.cat-sub-card {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 16px 12px;
  text-align: center; cursor: pointer;
  transition: all 0.3s ease;
  display: flex; flex-direction: column; align-items: center; gap: 6px;
}
.cat-sub-card:hover {
  border-color: var(--secondary); transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(26,43,107,0.06);
}
.cat-sub-card .name { font-size: 13px; font-weight: 500; color: var(--text); }
.cat-sub-card .count { font-size: 11px; color: var(--text-muted); }

/* ═══ PRODUCT CARDS ═══ */
.prod-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.prod-card {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius-lg); overflow: hidden;
  transition: all 0.3s ease; position: relative;
}
.prod-card:hover {
  transform: translateY(-3px); border-color: var(--secondary);
  box-shadow: 0 12px 40px rgba(26,43,107,0.10);
}
.prod-image {
  position: relative; aspect-ratio: 1/1; background: var(--ice);
  display: flex; align-items: center; justify-content: center; overflow: hidden;
}
.prod-image img { width: 100%; height: 100%; object-fit: contain; padding: 16px; transition: transform 0.3s ease; }
.prod-card:hover .prod-image img { transform: scale(1.06); }
.prod-image .emoji { font-size: 64px; }
.prod-badge {
  position: absolute; top: 10px; left: 10px;
  padding: 3px 9px; border-radius: 6px;
  font-size: 11px; font-weight: 700; color: var(--white);
  background: #DC2626;
}
.prod-badge.new { background: var(--secondary); }
.prod-fav {
  position: absolute; top: 10px; right: 10px;
  width: 32px; height: 32px; border-radius: 50%;
  background: var(--white); border: 1px solid var(--border);
  color: var(--text-muted); cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: all var(--transition); opacity: 0; z-index: 2;
}
.prod-card:hover .prod-fav { opacity: 1; }
.prod-fav:hover { color: #DC2626; border-color: #DC2626; }
.prod-fav.liked { color: #DC2626; border-color: #DC2626; }
.prod-body { padding: 14px 16px 18px; }
.prod-brand { font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.4px; color: var(--secondary); margin-bottom: 4px; }
.prod-title {
  font-size: 14px; font-weight: 500; color: var(--text); line-height: 1.4;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
  overflow: hidden; min-height: 38px;
}
.prod-title a { color: inherit; }
.prod-title a:hover { color: var(--secondary); }
.prod-stars { font-size: 12px; color: var(--accent); margin-top: 6px; }
.prod-pricing { margin-top: 8px; display: flex; align-items: baseline; gap: 7px; }
.price-current { font-size: 17px; font-weight: 700; color: var(--text); }
.price-old { font-size: 12px; color: var(--text-muted); text-decoration: line-through; }
.price-save {
  font-size: 10px; font-weight: 600; color: var(--white);
  background: #DC2626; padding: 2px 7px; border-radius: 5px;
}
.prod-add {
  margin-top: 12px; width: 100%; padding: 10px;
  border: 1.5px solid var(--border); border-radius: var(--radius-sm);
  background: var(--white); color: var(--text-secondary);
  font-size: 13px; font-weight: 600; cursor: pointer;
  transition: all var(--transition); font-family: inherit; display: block; text-align: center;
}
.prod-add:hover { border-color: var(--primary); color: var(--primary); background: rgba(26,43,107,0.03); }

/* ═══ GUIDES ═══ */
.guides-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.guide-card {
  border-radius: var(--radius-lg); overflow: hidden;
  background: var(--white); border: 1px solid var(--border);
  cursor: pointer; transition: all 0.3s ease;
}
.guide-card:hover { transform: translateY(-3px); box-shadow: 0 12px 40px rgba(26,43,107,0.10); }
.guide-img {
  height: 160px; display: flex; align-items: center; justify-content: center; font-size: 48px;
}
.guide-body { padding: 16px 20px 20px; }
.guide-body .tag {
  font-size: 11px; font-weight: 600; text-transform: uppercase;
  letter-spacing: 0.4px; color: var(--secondary); margin-bottom: 6px;
}
.guide-body h4 { font-size: 16px; font-weight: 700; color: var(--text); margin-bottom: 4px; }
.guide-body p { font-size: 13px; color: var(--text-secondary); line-height: 1.5; }

/* ═══ BRANDS ═══ */
.brand-scroll { display: flex; gap: 12px; overflow-x: auto; padding-bottom: 4px; justify-content: center; flex-wrap: wrap; }
.brand-pill {
  padding: 10px 24px; background: var(--white);
  border: 1px solid var(--border); border-radius: var(--radius);
  font-size: 14px; font-weight: 500; color: var(--text-secondary);
  transition: all var(--transition); cursor: default;
}
.brand-pill:hover {
  border-color: var(--primary); color: var(--primary);
  transform: translateY(-1px); box-shadow: 0 4px 12px rgba(26,43,107,0.06);
}

/* ═══ PROMO BANNER ═══ */
.promo {
  background: linear-gradient(135deg, var(--primary) 0%, #152253 50%, #1A2B6B 100%);
  border-radius: var(--radius-xl); padding: 44px 48px;
  display: flex; align-items: center; justify-content: space-between;
  gap: 32px; position: relative; overflow: hidden;
}
.promo::before {
  content: ''; position: absolute; top: -40%; right: -10%;
  width: 350px; height: 350px; border-radius: 50%;
  background: radial-gradient(circle, rgba(245,197,24,0.06) 0%, transparent 70%);
  pointer-events: none;
}
.promo-content { position: relative; z-index: 1; }
.promo-tag {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 5px 12px; background: rgba(245,197,24,0.15);
  color: var(--accent); font-size: 11px; font-weight: 700;
  border-radius: 100px; margin-bottom: 12px;
  text-transform: uppercase; letter-spacing: 0.5px;
}
.promo h3 { font-size: clamp(18px, 2vw, 26px); font-weight: 700; color: var(--white); margin-bottom: 8px; }
.promo p { font-size: 14px; color: rgba(255,255,255,0.55); max-width: 400px; }

/* ═══ BUTTONS ═══ */
.btn {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 12px 24px; font-size: 14px; font-weight: 600;
  border: none; border-radius: var(--radius-sm); cursor: pointer;
  transition: all var(--transition); font-family: inherit;
}
.btn-primary {
  background: var(--primary); color: var(--white);
  box-shadow: 0 2px 8px rgba(26,43,107,0.18);
}
.btn-primary:hover { background: #152253; transform: translateY(-1px); box-shadow: 0 6px 20px rgba(26,43,107,0.3); }
.btn-gold {
  background: var(--accent); color: var(--primary); font-weight: 700;
  box-shadow: 0 4px 16px rgba(245,197,24,0.3);
}
.btn-gold:hover { background: var(--accent-dark); transform: translateY(-1px); box-shadow: 0 8px 28px rgba(245,197,24,0.4); }
.btn-outline {
  background: transparent; color: var(--text-secondary);
  border: 1.5px solid var(--border);
}
.btn-outline:hover { border-color: var(--primary); color: var(--primary); background: rgba(26,43,107,0.03); }

/* ═══ NEWSLETTER — Gold ═══ */
.newsletter {
  background: linear-gradient(135deg, var(--accent) 0%, #F8D54A 100%);
  border-radius: var(--radius-xl); padding: 52px 40px;
  text-align: center; position: relative; overflow: hidden;
}
.newsletter::before {
  content: ''; position: absolute; top: -30%; right: -10%;
  width: 300px; height: 300px; border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,0.2) 0%, transparent 70%);
  pointer-events: none;
}
.newsletter h3 { font-size: 24px; font-weight: 800; color: var(--primary); margin-bottom: 6px; position: relative; z-index: 1; }
.newsletter p { color: rgba(26,43,107,0.65); margin-bottom: 22px; max-width: 360px; margin: 0 auto 22px; font-size: 14px; position: relative; z-index: 1; }
.nl-form {
  display: flex; max-width: 460px; margin: 0 auto;
  border-radius: var(--radius-sm); overflow: hidden;
  position: relative; z-index: 1;
  box-shadow: 0 4px 16px rgba(26,43,107,0.1);
}
.nl-form input {
  flex: 1; padding: 14px 20px; background: var(--white);
  border: none; color: var(--text); font-size: 14px;
  font-family: inherit; outline: none;
}
.nl-form input::placeholder { color: var(--text-muted); }
.nl-form button {
  padding: 0 28px; background: var(--primary); border: none;
  color: var(--white); font-weight: 700; font-size: 14px;
  cursor: pointer; font-family: inherit;
}
.nl-form button:hover { background: #101A4A; }

/* ═══ FOOTER ═══ */
.footer {
  background: #0F1535; color: rgba(255,255,255,0.5); padding: 48px 0 0;
}
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 36px; }
.footer-brand p { font-size: 13px; color: rgba(255,255,255,0.4); margin-top: 10px; line-height: 1.7; max-width: 280px; }
.footer h4 { font-size: 13px; font-weight: 600; color: var(--white); margin-bottom: 14px; text-transform: uppercase; letter-spacing: 0.5px; }
.footer li { margin-bottom: 8px; }
.footer a { font-size: 13px; color: rgba(255,255,255,0.45); }
.footer a:hover { color: var(--white); }
.footer-social { display: flex; gap: 8px; margin-top: 14px; }
.footer-social a {
  width: 38px; height: 38px; border-radius: var(--radius-sm);
  background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.08);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.4);
}
.footer-social a:hover { border-color: var(--accent); color: var(--accent); background: rgba(245,197,24,0.08); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 20px 0; display: flex; justify-content: space-between;
  align-items: center; font-size: 12px; color: rgba(255,255,255,0.3);
}
.footer-bottom-links { display: flex; gap: 20px; }
.footer-bottom a, .footer-bottom-links a { color: rgba(255,255,255,0.35); font-size: 12px; }
.footer-bottom a:hover, .footer-bottom-links a:hover { color: var(--white); }

/* ═══ BOTTOM NAV — masqué ═══ */
.bottom-nav { display: none !important; }

/* ═══ WOOCOMMERCE OVERRIDES ═══ */
.woocommerce-breadcrumb { font-size: 13px; color: var(--text-muted); margin-bottom: 20px; }
.woocommerce-breadcrumb a { color: var(--secondary); }
.woocommerce-breadcrumb a:hover { color: var(--primary); }
.woocommerce-ordering select, .woocommerce-result-count { font-size: 14px; color: var(--text-secondary); }

.dd-single-product { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.dd-product-gallery img { border-radius: var(--radius-lg); border: 1px solid var(--border); width: 100%; }
.dd-product-title { font-size: clamp(22px, 3vw, 30px); font-weight: 700; color: var(--text); letter-spacing: -0.3px; margin-bottom: 8px; }
.dd-product-brand { font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.5px; color: var(--secondary); margin-bottom: 16px; }
.dd-product-price { font-size: 28px; font-weight: 700; color: var(--primary); margin: 16px 0; }
.dd-product-price del { font-size: 16px; font-weight: 400; color: var(--text-muted); margin-right: 10px; }
.dd-product-price ins { text-decoration: none; }
.dd-specs-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 24px 0; }
.dd-spec-item { padding: 12px 16px; background: var(--snow); border-radius: var(--radius); font-size: 13px; }
.dd-spec-item .label { color: var(--text-muted); font-size: 11px; text-transform: uppercase; letter-spacing: 0.5px; }
.dd-spec-item .value { color: var(--text); font-weight: 600; margin-top: 2px; }
.dd-qty {
  display: flex; align-items: center; border: 1.5px solid var(--border);
  border-radius: var(--radius); overflow: hidden; width: fit-content; margin: 16px 0;
}
.dd-qty button, .dd-qty input { background: transparent; border: none; color: var(--text); font-family: inherit; }
.dd-qty button { width: 42px; height: 42px; font-size: 18px; cursor: pointer; display: flex; align-items: center; justify-content: center; }
.dd-qty button:hover { background: var(--snow); }
.dd-qty input { width: 56px; text-align: center; font-size: 15px; font-weight: 600; border-left: 1.5px solid var(--border); border-right: 1.5px solid var(--border); }

.single_add_to_cart_button {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 15px 36px; font-size: 15px; font-weight: 700;
  border: none; border-radius: var(--radius); cursor: pointer;
  font-family: inherit; margin-top: 16px;
  background: var(--accent); color: var(--primary);
  box-shadow: 0 4px 16px rgba(245,197,24,0.3);
  transition: all var(--transition);
}
.single_add_to_cart_button:hover { background: var(--accent-dark); transform: translateY(-2px); box-shadow: 0 8px 28px rgba(245,197,24,0.4); }

.woocommerce-tabs ul.tabs {
  list-style: none; display: flex; border-bottom: 2px solid var(--border);
  margin-bottom: 24px; padding: 0;
}
.woocommerce-tabs ul.tabs li {
  padding: 12px 24px; font-size: 14px; font-weight: 500;
  color: var(--text-secondary); cursor: pointer;
  border-bottom: 2px solid transparent; margin-bottom: -2px;
}
.woocommerce-tabs ul.tabs li.active { color: var(--primary); border-bottom-color: var(--accent); }

.woocommerce-message, .woocommerce-info, .woocommerce-error {
  padding: 16px 24px; border-radius: var(--radius); margin-bottom: 24px; font-size: 14px; border: 1px solid;
}
.woocommerce-message { background: #F0FFF4; border-color: #C6F6D5; color: #22543D; }
.woocommerce-info { background: #EBF8FF; border-color: #BEE3F8; color: #2A4365; }
.woocommerce-error { background: #FFF5F5; border-color: #FED7D7; color: #742A2A; }

.woocommerce form .form-row input,
.woocommerce form .form-row textarea,
.woocommerce form .form-row select,
.woocommerce-checkout form .form-row input,
.woocommerce-checkout form .form-row textarea,
.woocommerce-checkout form .form-row select {
  width: 100%; padding: 12px 14px; background: var(--white);
  border: 1.5px solid var(--border); border-radius: var(--radius-sm);
  color: var(--text); font-family: inherit; font-size: 14px;
}
.woocommerce form .form-row label,
.woocommerce-checkout form .form-row label {
  display: block; margin-bottom: 4px; font-size: 13px; font-weight: 500; color: var(--text);
}
.woocommerce form .form-row,
.woocommerce-checkout form .form-row {
  margin-bottom: 12px;
}
.woocommerce form .form-row input:focus,
.woocommerce form .form-row textarea:focus,
.woocommerce-checkout form .form-row input:focus,
.woocommerce-checkout form .form-row textarea:focus {
  border-color: var(--secondary); outline: none;
  box-shadow: 0 0 0 3px rgba(30,127,216,0.08);
}
#order_review .shop_table,
.woocommerce-checkout-review-order-table {
  width: 100%; border-collapse: collapse; font-size: 14px;
}
#order_review .shop_table td,
#order_review .shop_table th,
.woocommerce-checkout-review-order-table td,
.woocommerce-checkout-review-order-table th {
  padding: 8px 0; border-bottom: 1px solid var(--border);
}
#order_review .shop_table tfoot td,
.woocommerce-checkout-review-order-table tfoot td {
  font-weight: 600;
}
#order_review .shop_table .order-total td,
.woocommerce-checkout-review-order-table .order-total td {
  font-size: 18px; font-weight: 800; color: var(--text);
}
#payment {
  margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--border);
}
#payment .payment_methods label {
  font-size: 14px; cursor: pointer;
}
#place_order {
  width: 100%; padding: 14px; background: var(--accent); color: var(--primary);
  border: none; border-radius: var(--radius-sm);
  font-size: 16px; font-weight: 700; cursor: pointer;
  box-shadow: 0 4px 16px rgba(245,197,24,0.3);
  transition: all var(--transition);
  margin-top: 12px;
}
#place_order:hover { background: var(--accent-dark); transform: translateY(-1px); }

.dd-shop-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.dd-cart-table { width: 100%; border-collapse: collapse; }
.dd-cart-table th {
  text-align: left; padding: 14px 16px; font-size: 13px; font-weight: 600;
  color: var(--text-secondary); text-transform: uppercase; letter-spacing: 0.5px;
  border-bottom: 2px solid var(--border); background: var(--snow);
}
.dd-cart-table td { padding: 20px 16px; border-bottom: 1px solid var(--border); vertical-align: middle; }
.dd-checkout-grid { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 40px; }

/* ═══ QUICK VIEW PANEL ═══ */
.quick-view-overlay {
  position: fixed; inset: 0; z-index: 200;
  background: rgba(15,21,53,0.5); backdrop-filter: blur(2px);
  opacity: 0; pointer-events: none; transition: opacity var(--transition);
}
.quick-view-overlay.open { opacity: 1; pointer-events: all; }
.quick-view-panel {
  position: fixed; top: 0; right: 0; bottom: 0; z-index: 201;
  width: 460px; max-width: 100vw; background: var(--white);
  box-shadow: -8px 0 60px rgba(0,0,0,0.15);
  transform: translateX(100%); transition: transform 0.4s ease;
  overflow-y: auto;
}
.quick-view-panel.open { transform: translateX(0); }

/* ═══ RESPONSIVE ═══ */
@media (max-width: 1024px) {
  .cat-grid { grid-template-columns: repeat(3, 1fr); }
  .cat-sub-grid { grid-template-columns: repeat(3, 1fr); }
  .prod-grid, .dd-shop-grid { grid-template-columns: repeat(3, 1fr); }
  .guides-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .promo { flex-direction: column; text-align: center; padding: 32px 24px; }
  .promo p { max-width: 100%; }
  .reassurance-grid { flex-wrap: wrap; justify-content: center; }
}
@media (max-width: 768px) {
  .cat-grid, .cat-sub-grid, .prod-grid, .dd-shop-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .guides-grid { grid-template-columns: 1fr; }
  .header-inner { height: 60px; }
  .header-search { display: none; }
  .nav-bar { display: none; }
  .hero { padding: 40px 0 44px; }
  .hero h1 { font-size: 24px; }
  .hero-search button { padding: 0 18px; font-size: 13px; }
  .hero-cats { gap: 6px; }
  .hero-cat { padding: 8px 12px; font-size: 12px; }
  .reassurance-grid { flex-direction: column; gap: 4px; }
  .banner, .promo { padding: 28px 20px; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
  .section { padding: 40px 0; }
  .dd-single-product { grid-template-columns: 1fr; gap: 32px; }
  .dd-checkout-grid { grid-template-columns: 1fr; }
  .brand-scroll { flex-wrap: wrap; justify-content: center; }
}

/* ═══ ACCESSIBILITY ═══ */
*:focus-visible { outline: 2px solid var(--secondary); outline-offset: 2px; border-radius: 4px; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}
.section-tint { background: linear-gradient(180deg, #EEF2FF 0%, #F7F9FC 100%); }
.section-accent-tint { background: linear-gradient(180deg, #FEFCE8 0%, #F7F9FC 100%); }
.section-primary-tint { background: linear-gradient(135deg, #EEF2FF 0%, #E8F0FE 100%); }

/* ============================================================
   CATEGORY CARDS
   ============================================================ */
.cat-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 20px; }
.cat-card {
  background: #fff; border: 1px solid var(--border-light); border-radius: var(--radius);
  padding: 32px 24px; text-align: center; transition: var(--transition); cursor: pointer;
}
.cat-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; }
.cat-card-icon { width: 56px; height: 56px; border-radius: var(--radius-sm); background: var(--bg-light); display: flex; align-items: center; justify-content: center; margin: 0 auto 16px; font-size: 24px; transition: var(--transition); }
.cat-card:hover .cat-card-icon { background: #EEF2FF; color: var(--secondary); }
.cat-card-title { font-size: 16px; font-weight: 600; margin-bottom: 4px; }
.cat-card-count { font-size: 13px; color: var(--text-muted); }

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

/* ============================================================
   BRAND CAROUSEL
   ============================================================ */
.brand-carousel-wrapper { position: relative; overflow: hidden; }
.brand-carousel-wrapper::before, .brand-carousel-wrapper::after {
  content: ''; position: absolute; top: 0; bottom: 0; width: 80px; z-index: 2; pointer-events: none;
}
.brand-carousel-wrapper::before { left: 0; background: linear-gradient(to right, var(--bg-light), transparent); }
.brand-carousel-wrapper::after { right: 0; background: linear-gradient(to left, var(--bg-light), transparent); }
.brand-track { display: flex; gap: 48px; animation: scroll 30s linear infinite; width: max-content; padding: 24px 0; }
.brand-track:hover { animation-play-state: paused; }
@keyframes scroll { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }
.brand-logo { height: 40px; opacity: 0.4; filter: grayscale(1); transition: var(--transition); flex-shrink: 0; }
.brand-logo:hover { opacity: 1; filter: grayscale(0); }

/* ============================================================
   GALLERY CAROUSEL
   ============================================================ */
.gallery-carousel { position: relative; aspect-ratio: 1; border-radius: var(--radius); overflow: hidden; background: var(--bg-light); }
.gallery-slides { display: flex; height: 100%; transition: transform 0.5s ease; }
.gallery-slides img { min-width: 100%; height: 100%; object-fit: contain; flex-shrink: 0; background: var(--bg-light); }
.gallery-dots { position: absolute; bottom: 16px; left: 50%; transform: translateX(-50%); display: flex; gap: 8px; }
.gallery-dot { width: 10px; height: 10px; border-radius: 50%; background: rgba(255,255,255,0.5); cursor: pointer; transition: var(--transition); border: 2px solid transparent; }
.gallery-dot.active { background: var(--accent); border-color: #fff; transform: scale(1.2); }
.gallery-arrow { position: absolute; top: 50%; transform: translateY(-50%); width: 40px; height: 40px; border-radius: 50%; background: rgba(255,255,255,0.9); display: flex; align-items: center; justify-content: center; cursor: pointer; transition: var(--transition); font-size: 18px; color: var(--primary); z-index: 2; box-shadow: var(--shadow-sm); }
.gallery-arrow:hover { background: #fff; box-shadow: var(--shadow); }
.gallery-arrow.prev { left: 12px; }
.gallery-arrow.next { right: 12px; }

/* ============================================================
   PRODUCT CARD
   ============================================================ */
.product-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 20px; }
.product-card {
  background: #fff; border: 1px solid var(--border-light); border-radius: var(--radius);
  overflow: hidden; transition: var(--transition); position: relative; cursor: pointer;
}
.product-card:hover { transform: translateY(-2px); box-shadow: var(--shadow); border-color: transparent; }
.product-img-wrap { position: relative; aspect-ratio: 1; background: var(--bg-light); overflow: hidden; }
.product-img-wrap img { width: 100%; height: 100%; object-fit: contain; transition: transform 0.4s ease; background: var(--bg-light); }
.product-card:hover .product-img-wrap img { transform: scale(1.04); }
.product-badge-promo { position: absolute; top: 12px; left: 12px; z-index: 2; }
.product-actions-overlay { position: absolute; bottom: 12px; left: 12px; right: 12px; display: flex; gap: 8px; opacity: 0; transform: translateY(8px); transition: var(--transition); }
.product-card:hover .product-actions-overlay { opacity: 1; transform: translateY(0); }
.product-actions-overlay .btn { flex: 1; font-size: 12px; padding: 8px; }
.product-body { padding: 16px; }
.product-brand { font-size: 11px; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 4px; }
.product-title { font-size: 14px; font-weight: 500; line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; margin-bottom: 8px; }
.product-price { display: flex; align-items: baseline; gap: 8px; }
.product-price-current { font-size: 18px; font-weight: 700; color: var(--primary); }
.product-price-old { font-size: 13px; font-weight: 600; color: #EF4444; text-decoration: line-through; }
.product-stock { display: flex; align-items: center; gap: 6px; margin-top: 8px; }

@media (max-width: 1279px) { .product-grid { grid-template-columns: repeat(3,1fr); } }
@media (max-width: 768px) { .product-grid { grid-template-columns: repeat(2,1fr); } .product-actions-overlay { opacity: 1; transform: none; } }
@media (max-width: 480px) { .product-grid { grid-template-columns: 1fr; } }

/* ============================================================
   TRUST / REASSURANCE STRIP
   ============================================================ */
.trust-strip { display: grid; grid-template-columns: repeat(4,1fr); gap: 32px; text-align: center; }
.trust-item { padding: 24px; }
.trust-icon { width: 56px; height: 56px; border-radius: var(--radius); background: #EEF2FF; display: flex; align-items: center; justify-content: center; margin: 0 auto 16px; font-size: 24px; color: var(--primary); }
.trust-title { font-size: 15px; font-weight: 600; margin-bottom: 4px; }
.trust-desc { font-size: 13px; color: var(--text-secondary); }
@media (max-width: 768px) { .trust-strip { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 480px) { .trust-strip { grid-template-columns: 1fr; } }

/* ============================================================
   NEWSLETTER CTA
   ============================================================ */
.cta-section { background: var(--accent); padding: 64px 0; text-align: center; }
.cta-section .btn-primary,
.cta-section .btn-accent { background: var(--primary); color: #fff !important; border-color: var(--primary); }
.cta-section .btn-primary:hover,
.cta-section .btn-accent:hover { background: var(--primary-dark); color: #fff; }
.cta-section .btn-outline { border-color: rgba(255,255,255,0.5); color: #fff; }
.cta-section .btn-outline:hover { border-color: #fff; background: rgba(255,255,255,0.1); }
.cta-title { font-size: 28px; font-weight: 700; color: var(--primary-dark); margin-bottom: 12px; }
.cta-sub { color: var(--primary); opacity: 0.8; margin-bottom: 24px; }
.cta-input-group { display: flex; gap: 8px; max-width: 440px; margin: 0 auto; }
.cta-input-group input { flex: 1; padding: 14px 20px; border-radius: var(--radius-pill); border: 2px solid transparent; font-size: 14px; outline: none; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer { background: var(--primary-dark); color: rgba(255,255,255,0.7); padding: 64px 0 32px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr repeat(3,1fr); gap: 40px; margin-bottom: 48px; }
.footer-brand { font-size: 20px; font-weight: 700; color: #fff; margin-bottom: 12px; }
.footer-tagline { font-size: 13px; margin-bottom: 16px; }
.footer-socials { display: flex; gap: 8px; }
.footer-socials a { width: 36px; height: 36px; border-radius: 50%; background: rgba(255,255,255,0.1); display: flex; align-items: center; justify-content: center; transition: var(--transition); font-size: 14px; }
.footer-socials a:hover { background: var(--accent); color: var(--primary-dark); }
.footer-col-title { font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; color: #fff; margin-bottom: 16px; }
.footer-link { font-size: 13px; padding: 4px 0; display: block; transition: var(--transition-fast); color: rgba(255,255,255,0.6); text-decoration: none; }
.footer-link:hover { color: var(--accent); }
.footer a { color: rgba(255,255,255,0.6); text-decoration: none; transition: color 0.2s; }
.footer a:hover { color: var(--accent); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding-top: 24px; font-size: 12px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; }
@media (max-width: 768px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .footer-grid { grid-template-columns: 1fr; } }

/* ============================================================
   BREADCRUMB
   ============================================================ */
.breadcrumb { display: flex; align-items: center; gap: 8px; padding: 16px 0; font-size: 13px; color: var(--text-muted); flex-wrap: wrap; }
.breadcrumb a { color: var(--text-secondary); transition: var(--transition-fast); }
.breadcrumb a:hover { color: var(--secondary); }
.breadcrumb .sep { color: var(--border-medium); font-size: 10px; }
.breadcrumb .current { color: var(--text); font-weight: 500; }

/* ============================================================
   LISTING PAGE LAYOUT
   ============================================================ */
.listing-layout { display: flex; gap: 32px; margin-top: var(--header-height); padding: 24px 0; }
.listing-sidebar { width: var(--sidebar-width); flex-shrink: 0; position: sticky; top: calc(var(--header-height) + 24px); align-self: flex-start; max-height: calc(100vh - var(--header-height) - 48px); overflow-y: auto; }
.listing-main { flex: 1; min-width: 0; }

/* Filters */
.filter-block { margin-bottom: 20px; }
.filter-block-title {
  font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em;
  color: var(--text-muted); margin-bottom: 12px; display: flex; align-items: center; justify-content: space-between;
}
.filter-checkbox { display: flex; align-items: center; gap: 8px; padding: 6px 0; font-size: 13px; cursor: pointer; color: var(--text-secondary); transition: var(--transition-fast); }
.filter-checkbox:hover { color: var(--text); }
.filter-checkbox input[type="checkbox"] { appearance: none; width: 18px; height: 18px; border: 2px solid var(--border-medium); border-radius: var(--radius-xs); cursor: pointer; transition: var(--transition-fast); flex-shrink: 0; position: relative; }
.filter-checkbox input[type="checkbox"]:checked { background: var(--primary); border-color: var(--primary); }
.filter-checkbox input[type="checkbox"]:checked::after { content: '✓'; position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; color: #fff; font-size: 10px; font-weight: 700; }
.filter-count { margin-left: auto; font-size: 11px; color: var(--text-muted); }

.price-range-slider { width: 100%; accent-color: var(--primary); }

/* Toolbar */
.listing-toolbar { display: flex; align-items: center; justify-content: space-between; padding: 0 0 16px; gap: 12px; flex-wrap: wrap; }
.listing-results { font-size: 13px; color: var(--text-secondary); }
.toolbar-actions { display: flex; align-items: center; gap: 8px; }
.sort-select { padding: 8px 32px 8px 12px; border: 1px solid var(--border-light); border-radius: var(--radius-sm); font-size: 13px; appearance: none; background: #fff url("data:image/svg+xml,%3Csvg width='10' height='6' viewBox='0 0 10 6' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1L5 5L9 1' stroke='%238B93A4' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat right 12px center; cursor: pointer; }

@media (max-width: 1024px) {
  .listing-sidebar { display: none; }
}
@media (max-width: 480px) {
  .listing-toolbar { flex-direction: column; align-items: flex-start; }
}

/* ============================================================
   PAGINATION
   ============================================================ */
.pagination { display: flex; align-items: center; justify-content: center; gap: 4px; padding: 32px 0; }
.pagination .page-btn { width: 40px; height: 40px; border-radius: var(--radius-sm); display: flex; align-items: center; justify-content: center; font-size: 14px; font-weight: 500; color: var(--text-secondary); transition: var(--transition-fast); }
.pagination .page-btn:hover { background: var(--bg-light); }
.pagination .page-btn.active { background: var(--primary); color: #fff; }
.pagination .page-btn:disabled { opacity: 0.3; pointer-events: none; }
.pagination .page-ellipsis { letter-spacing: 2px; color: var(--text-muted); }

/* ============================================================
   PRODUCT PAGE
   ============================================================ */
.product-page { margin-top: var(--header-height); padding: 32px 0 64px; }
.product-layout { display: grid; grid-template-columns: 420px 1fr; gap: 40px; align-items: start; }
@media (max-width: 1024px) { .product-layout { grid-template-columns: 1fr 1fr; gap: 24px; } }
@media (max-width: 768px) { .product-layout { grid-template-columns: 1fr; } }

/* Gallery */
.product-gallery { display: flex; gap: 12px; }
.gallery-thumbs { display: flex; flex-direction: column; gap: 8px; flex-shrink: 0; }
.gallery-thumb { width: 64px; aspect-ratio: 1; border-radius: var(--radius-sm); border: 2px solid var(--border-light); overflow: hidden; cursor: pointer; transition: var(--transition-fast); }
.gallery-thumb:hover, .gallery-thumb.active { border-color: var(--secondary); }
.gallery-thumb img { width: 100%; height: 100%; object-fit: cover; }
.gallery-main { flex: 1; aspect-ratio: 1; border-radius: var(--radius); overflow: hidden; background: var(--bg-light); }
.gallery-main img { width: 100%; height: 100%; object-fit: cover; cursor: zoom-in; }

/* Product Info */
.product-info {}
.product-info .product-brand { font-size: 13px; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 4px; }
.product-info h1 { font-size: 28px; font-weight: 700; line-height: 1.3; margin-bottom: 16px; }
.product-info-price { display: flex; align-items: baseline; gap: 12px; margin-bottom: 16px; }
.product-info-price .current { font-size: 32px; font-weight: 800; color: var(--primary); }
.product-info-price .old { font-size: 18px; font-weight: 700; color: #EF4444; text-decoration: line-through; }
.product-info-price .discount { background: var(--danger-bg); color: var(--danger); padding: 4px 10px; border-radius: var(--radius-full); font-size: 13px; font-weight: 700; }

/* Stock & Quantity */
.stock-status { display: flex; align-items: center; gap: 8px; margin-bottom: 20px; font-size: 14px; font-weight: 500; }
.qty-selector { display: inline-flex; align-items: center; border: 1px solid var(--border-light); border-radius: var(--radius-sm); overflow: hidden; margin-bottom: 16px; }
.qty-selector button { width: 40px; height: 40px; display: flex; align-items: center; justify-content: center; font-size: 18px; color: var(--text-secondary); transition: var(--transition-fast); }
.qty-selector button:hover { background: var(--bg-light); }
.qty-selector input { width: 60px; height: 40px; text-align: center; border: none; border-left: 1px solid var(--border-light); border-right: 1px solid var(--border-light); font-weight: 600; font-size: 14px; outline: none; }

/* Action buttons */
.product-actions { display: flex; gap: 8px; margin-bottom: 24px; }
.product-actions .btn-primary { flex: 1; }

/* Quick info strip */
.quick-info { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; padding: 20px 0; border-top: 1px solid var(--border-light); border-bottom: 1px solid var(--border-light); }
.quick-info-item { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--text-secondary); }
.quick-info-item .qi-icon { color: var(--text-muted); }

/* Payment Trust Section */
.payment-trust { display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; padding: 20px 0; border-top: 1px solid var(--border-light); }
.payment-trust-item { display: flex; align-items: flex-start; gap: 12px; padding: 12px; border-radius: var(--radius-sm); background: var(--bg-light); transition: var(--transition); }
.payment-trust-item:hover { background: #EEF2FF; }
.payment-trust-icon { width: 40px; height: 40px; border-radius: var(--radius-sm); display: flex; align-items: center; justify-content: center; flex-shrink: 0; font-size: 18px; }
.payment-trust-icon.blue { background: #EEF2FF; color: var(--primary); }
.payment-trust-icon.green { background: #ECFDF5; color: #059669; }
.payment-trust-icon.amber { background: #FFFBEB; color: #B45309; }
.payment-trust-text strong { display: block; font-size: 13px; margin-bottom: 2px; }
.payment-trust-text span { font-size: 11px; color: var(--text-muted); }
@media (max-width: 768px) { .payment-trust { grid-template-columns: 1fr; } }

/* Payment badges */
.payment-badges { display: flex; align-items: center; gap: 12px; padding: 16px 0; border-top: 1px solid var(--border-light); flex-wrap: wrap; }
.payment-badges-label { font-size: 12px; font-weight: 600; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.05em; }
.payment-badge { height: 36px; padding: 6px 14px; border-radius: var(--radius-sm); background: #fff; display: flex; align-items: center; font-size: 11px; font-weight: 500; color: var(--text-secondary); gap: 8px; border: 1px solid var(--border-light); }
.payment-badge img { height: 20px; width: auto; }

/* Footer payment strip */
.footer-payment-strip { display: flex; align-items: center; gap: 16px; padding: 16px 0; flex-wrap: wrap; justify-content: center; border-top: 1px solid rgba(255,255,255,0.08); margin-top: 24px; }
.footer-payment-strip img { height: 24px; width: auto; opacity: 0.5; transition: var(--transition); }
.footer-payment-strip img:hover { opacity: 1; }

@media (max-width: 768px) { .payment-trust { grid-template-columns: 1fr; } }
@media (max-width: 480px) { .payment-badges { gap: 8px; } .payment-badge { height: 32px; padding: 4px 10px; } .payment-badge img { height: 15px; } }

/* ============================================================
   METADATA TABS (Product Page)
   ============================================================ */
.meta-tabs { margin-top: 48px; padding-top: 32px; border-top: 1px solid var(--border-light); }
.tab-nav { display: flex; gap: 0; border-bottom: 2px solid var(--border-light); margin-bottom: 24px; overflow-x: auto; -webkit-overflow-scrolling: touch; }
.tab-btn { padding: 12px 24px; font-size: 14px; font-weight: 500; color: var(--text-secondary); border-bottom: 2px solid transparent; margin-bottom: -2px; transition: var(--transition-fast); white-space: nowrap; }
.tab-btn:hover { color: var(--text); }
.tab-btn.active { color: var(--primary); border-bottom-color: var(--primary); font-weight: 600; }
.tab-panel { display: none; animation: fadeIn 0.3s ease; }
.tab-panel.active { display: block; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }

/* Meta table */
.meta-table { width: 100%; border-collapse: collapse; }
.meta-table tr td { padding: 12px 16px; font-size: 14px; border-bottom: 1px solid var(--border-light); }
.meta-table tr td:first-child { font-weight: 500; color: var(--text-secondary); width: 35%; }
.meta-table tr:nth-child(even) td { background: var(--bg-light); }

/* Marketplace cards */
.mkp-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px,1fr)); gap: 16px; }
.mkp-card { border: 1px solid var(--border-light); border-radius: var(--radius); padding: 20px; background: #fff; }
.mkp-card-header { font-size: 14px; font-weight: 600; margin-bottom: 12px; display: flex; align-items: center; gap: 8px; }
.mkp-card-body { font-size: 13px; color: var(--text-secondary); line-height: 1.8; }
.mkp-online { color: var(--success); }
.mkp-offline { color: var(--text-muted); }

/* Logistique bars */
.log-bar { display: flex; align-items: center; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--border-light); }
.log-bar-label { width: 160px; font-size: 13px; font-weight: 500; color: var(--text-secondary); flex-shrink: 0; }
.log-bar-value { font-size: 14px; }
.log-bar-gauge { flex: 1; height: 6px; border-radius: 3px; background: var(--border-light); overflow: hidden; }
.log-bar-gauge-fill { height: 100%; border-radius: 3px; background: var(--secondary); transition: width 0.6s ease; }

/* Disclosure accordion */
.disclosure { border: 1px solid var(--border-light); border-radius: var(--radius); overflow: hidden; }
.disclosure-header { padding: 16px 20px; display: flex; align-items: center; justify-content: space-between; cursor: pointer; font-weight: 500; background: var(--bg-light); transition: var(--transition-fast); }
.disclosure-header:hover { background: var(--border-light); }
.disclosure-body { padding: 20px; display: none; border-top: 1px solid var(--border-light); }
.disclosure.open .disclosure-body { display: block; }
.disclosure-arrow { transition: transform 0.3s; }
.disclosure.open .disclosure-arrow { transform: rotate(180deg); }
.badge-promo { background: var(--accent); color: var(--primary-dark); font-weight: 700; padding: 4px 10px; }
.badge-dot { width: 6px; height: 6px; border-radius: 50%; display: inline-block; }
.badge-dot.success { background: var(--success); }
.badge-dot.danger { background: var(--danger); }
.badge-dot.warning { background: var(--warning); }
.empty-state { text-align: center; padding: 64px 24px; }
.empty-state-icon { font-size: 48px; margin-bottom: 16px; opacity: 0.4; }
.empty-state-title { font-size: 18px; font-weight: 600; margin-bottom: 8px; }
.empty-state-desc { font-size: 14px; color: var(--text-secondary); max-width: 360px; margin: 0 auto 24px; }

/* ═══ PAGE CONTENT (FAQ, Contact, CGV, etc.) ═══ */
.page-content h2 { font-size: 22px; font-weight: 700; margin: 32px 0 16px; color: var(--text); }
.page-content h3 { font-size: 17px; font-weight: 600; margin: 24px 0 12px; color: var(--text); }
.page-content p { margin: 0 0 14px; }
.page-content a { color: var(--primary); font-weight: 500; text-decoration: underline; }

/* FAQ items */
.faq-item {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 20px 24px;
  margin-bottom: 12px;
  transition: border-color var(--transition-fast);
}
.faq-item:hover { border-color: var(--primary); }
.faq-item h3 { margin: 0 0 8px; font-size: 15px; font-weight: 600; color: var(--text); }
.faq-item p { margin: 0; font-size: 14px; color: var(--text-secondary); line-height: 1.6; }

/* Contact page */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  margin-top: 24px;
}
.contact-info { padding: 24px; background: var(--snow); border-radius: var(--radius-lg); border: 1px solid var(--border); }
.contact-info h3 { font-size: 14px; font-weight: 700; margin: 16px 0 4px; color: var(--text); text-transform: uppercase; letter-spacing: 0.04em; }
.contact-info h3:first-child { margin-top: 0; }
.contact-info p { font-size: 14px; color: var(--text-secondary); margin: 0 0 8px; }
.contact-info a { color: var(--primary); font-weight: 500; }
.contact-form { padding: 24px; background: var(--white); border-radius: var(--radius-lg); border: 1px solid var(--border); }
.contact-form h3 { margin: 0 0 16px; font-size: 17px; font-weight: 600; }
.contact-form label { display: block; font-size: 13px; font-weight: 600; color: var(--text-secondary); margin-bottom: 4px; }
.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form textarea {
  width: 100%; padding: 10px 14px; border: 1.5px solid var(--border); border-radius: var(--radius-sm);
  font-size: 14px; font-family: inherit; margin-bottom: 16px; box-sizing: border-box;
}

/* Page sections (CGV, Mentions légales) */
.page-section {
  margin-bottom: 24px;
  padding: 20px 24px;
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
}
.page-section h3 { margin: 0 0 10px; font-size: 16px; font-weight: 600; }
.page-section p { font-size: 14px; color: var(--text-secondary); line-height: 1.7; margin: 0; }

/* Callout boxes */
.callout {
  padding: 14px 18px;
  border-radius: var(--radius-sm);
  font-size: 13px;
  margin: 12px 0;
  line-height: 1.5;
}
.callout-info { background: #EFF6FF; border: 1px solid #BFDBFE; color: #1E40AF; }
.callout-warn { background: #FFFBEB; border: 1px solid #FDE68A; color: #92400E; }
.callout-good { background: #F0FDF4; border: 1px solid #BBF7D0; color: #166534; }

/* Info pills */
.info-pills { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 16px; }
.info-pill {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 8px 16px; border-radius: 20px;
  font-size: 12px; font-weight: 500;
  background: var(--snow); border: 1px solid var(--border);
  color: var(--text-secondary);
}
.pill-dot { width: 8px; height: 8px; border-radius: 50%; }
.pill-dot.blue { background: var(--primary); }
.pill-dot.green { background: var(--success); }
.pill-dot.amber { background: var(--accent); }

.feature-list {
  list-style: none;
  padding: 0;
  margin: 8px 0;
}
.feature-list li {
  padding: 6px 0 6px 20px;
  position: relative;
  font-size: 14px;
  color: var(--text-secondary);
}
.feature-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--success);
  font-weight: 700;
}

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

/* ═══ CHECKOUT FORM ═══ */
.dd-checkout .woocommerce-billing-fields > h3,
.dd-checkout .woocommerce-shipping-fields > h3,
.dd-checkout .woocommerce-additional-fields > h3 { display: none; }

.dd-checkout .form-row {
  margin-bottom: 14px;
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.dd-checkout .form-row label {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.03em;
}
.dd-checkout .form-row label .required { color: var(--danger); text-decoration: none; }
.dd-checkout .form-row label .optional { color: var(--text-muted); font-weight:400; text-transform: none; font-size:11px; }

.dd-checkout .input-text,
.dd-checkout select {
  width: 100%;
  padding: 11px 14px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-family: inherit;
  color: var(--text);
  background: var(--white);
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
  box-sizing: border-box;
}
.dd-checkout .input-text:focus,
.dd-checkout select:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(26,43,107,0.08);
}
.dd-checkout .input-text::placeholder { color: var(--text-muted); font-size:13px; }

.dd-checkout .form-row-first,
.dd-checkout .form-row-last {
  width: calc(50% - 8px);
  float: left;
}
.dd-checkout .form-row-last { float: right; }
.dd-checkout .form-row-wide { clear: both; width: 100%; }

.dd-checkout .woocommerce-input-wrapper { width: 100%; display: block; }

/* Order review table */
.dd-checkout .shop_table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  margin-bottom: 20px;
}
.dd-checkout .shop_table th {
  text-align: left;
  padding: 8px 0;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--text-muted);
  border-bottom: 2px solid var(--border);
}
.dd-checkout .shop_table td {
  padding: 10px 0;
  border-bottom: 1px solid var(--border-light);
  color: var(--text-secondary);
  line-height: 1.4;
}
.dd-checkout .shop_table .product-name { display:flex; flex-direction:column; gap:2px; }
.dd-checkout .shop_table .product-quantity { font-weight:400; color:var(--text-muted); }
.dd-checkout .shop_table .product-total { text-align:right; font-weight:600; white-space:nowrap; }
.dd-checkout .shop_table tfoot th { padding:8px 0; font-weight:600; color:var(--text); font-size:13px; text-transform:none; letter-spacing:0; }
.dd-checkout .shop_table tfoot td { text-align:right; font-weight:700; }
.dd-checkout .shop_table .order-total th { font-size:15px; }
.dd-checkout .shop_table .order-total td { font-size:18px; color:var(--text); white-space:nowrap; }
.dd-checkout .shop_table tfoot th { width:40%; }
.dd-checkout .shop_table tfoot td { width:60%; text-align:right; white-space:nowrap; }

/* Payment */
.dd-checkout .woocommerce-checkout-payment {
  background: var(--white);
  border-radius: var(--radius-sm);
  margin-top: 8px;
}
.dd-checkout .wc_payment_methods {
  list-style: none;
  padding: 0;
  margin: 0 0 12px;
}
.dd-checkout .wc_payment_methods li {
  padding: 12px 16px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  transition: border-color var(--transition-fast);
}
.dd-checkout .wc_payment_methods li:hover { border-color: var(--primary); }
.dd-checkout .wc_payment_methods input[type="radio"] { accent-color: var(--primary); }

/* Place order button */
.dd-checkout #place_order {
  display: block;
  width: 100%;
  padding: 14px;
  background: var(--accent);
  color: var(--primary);
  border: none;
  border-radius: var(--radius-sm);
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(245,197,24,0.3);
  transition: all var(--transition-fast);
  letter-spacing: 0.02em;
}
.dd-checkout #place_order:hover { background: var(--accent-dark, #e0b010); transform: translateY(-1px); box-shadow: 0 6px 20px rgba(245,197,24,0.4); }

/* Terms & conditions */
.dd-checkout .woocommerce-terms-and-conditions-wrapper {
  font-size: 13px;
  color: var(--text-muted);
  margin: 16px 0;
}
.dd-checkout .woocommerce-terms-and-conditions-wrapper label { display:flex; align-items:flex-start; gap:8px; cursor:pointer; font-size:13px; }
.dd-checkout .woocommerce-terms-and-conditions-wrapper input[type="checkbox"] { margin-top:2px; accent-color:var(--primary); }
.dd-checkout .woocommerce-terms-and-conditions {
  font-size: 12px;
  color: var(--text-muted);
  max-height: 160px !important;
  overflow-y: auto;
  margin: 10px 0;
  padding: 12px;
  background: var(--snow);
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-light);
  line-height: 1.5;
}
.dd-checkout .woocommerce-terms-and-conditions h3 { font-size:13px; margin:12px 0 4px; }
.dd-checkout .woocommerce-terms-and-conditions p { margin:4px 0; }

/* Coupon toggle */
.dd-checkout .woocommerce-form-coupon-toggle { margin-bottom: 16px; }
.dd-checkout .woocommerce-info {
  background: var(--ice);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  font-size: 14px;
  color: var(--text-secondary);
}
.dd-checkout .woocommerce-info a { color: var(--primary); font-weight:600; }

/* Privacy policy */
.dd-checkout .woocommerce-privacy-policy-text { font-size:12px; color:var(--text-muted); margin-bottom:8px; }
.dd-checkout .woocommerce-privacy-policy-text a { color:var(--primary); }

/* Responsive */
@media (max-width: 860px) {
  .dd-checkout form[name="checkout"] {
    grid-template-columns: 1fr;
  }
  .dd-checkout .form-row-first,
  .dd-checkout .form-row-last {
    width: 100%;
    float: none;
  }
}

/* ═══ SINGLE PRODUCT INFO PANEL ═══ */
#info-panel-content table {
  width: 100%;
  border-collapse: collapse;
}
#info-panel-content table td {
  padding: 12px 16px;
  border-bottom: 1px solid var(--border-light);
  font-size: 14px;
  line-height: 1.5;
}
#info-panel-content table td:first-child {
  font-weight: 600;
  color: var(--text-secondary);
  width: 40%;
  background: var(--snow);
}
#info-panel-content table td:last-child {
  color: var(--text);
}
#info-panel-content .woocommerce-Reviews-title { font-size:18px; font-weight:700; margin-bottom:16px; }
#info-panel-content .commentlist { list-style:none; padding:0; margin:0; }
#info-panel-content .commentlist li { padding:16px 0; border-bottom:1px solid var(--border-light); }

/* ═══════════════════════════════════════════════════════
   MY ACCOUNT — Centrale Digitale design
   ═══════════════════════════════════════════════════════ */
.dd-myaccount {
  display: flex;
  gap: 40px;
  align-items: flex-start;
  max-width: 960px;
  margin: 0 auto;
  font-family: 'Inter', sans-serif;
}
@media (max-width: 768px) { .dd-myaccount { flex-direction: column; } }

/* Nav */
.dd-myaccount .woocommerce-MyAccount-navigation { width: 220px; min-width: 200px; flex-shrink: 0; }
@media (max-width: 768px) { .dd-myaccount .woocommerce-MyAccount-navigation { width: 100%; } }
.dd-myaccount .woocommerce-MyAccount-navigation ul {
  list-style: none; padding: 0; margin: 0;
  background: #fff; border-radius: 12px;
  box-shadow: 0 2px 16px rgba(26,43,107,0.06);
  border: 1px solid var(--border-light); overflow: hidden;
}
.dd-myaccount .woocommerce-MyAccount-navigation ul li { border-bottom: 1px solid #f5f5f5; }
.dd-myaccount .woocommerce-MyAccount-navigation ul li:last-child { border-bottom: none; }
.dd-myaccount .woocommerce-MyAccount-navigation ul li a {
  display: flex; align-items: center;
  padding: 14px 18px; font-size: 13px; font-weight: 600;
  color: var(--text-muted); text-decoration: none; transition: all .15s;
}
.dd-myaccount .woocommerce-MyAccount-navigation ul li a:hover { background: var(--snow); color: var(--primary); }
.dd-myaccount .woocommerce-MyAccount-navigation ul li.is-active a {
  background: #FFFDF5; color: var(--primary) !important;
  border-left: 3px solid var(--accent); padding-left: 15px; font-weight: 700;
}

/* Nav SVG Icons */
.dd-myaccount .woocommerce-MyAccount-navigation ul li a::before {
  content: '';
  display: inline-block; width: 18px; height: 18px; margin-right: 8px; flex-shrink: 0;
  background: currentColor;
  mask-size: contain; mask-repeat: no-repeat; mask-position: center;
  -webkit-mask-size: contain; -webkit-mask-repeat: no-repeat; -webkit-mask-position: center;
  opacity: 0.55;
}
.dd-myaccount .woocommerce-MyAccount-navigation ul li.is-active a::before { opacity: 1; }

.dd-myaccount .woocommerce-MyAccount-navigation-link--dashboard a::before {
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='3' width='7' height='7' rx='1'/%3E%3Crect x='14' y='3' width='7' height='7' rx='1'/%3E%3Crect x='3' y='14' width='7' height='7' rx='1'/%3E%3Crect x='14' y='14' width='7' height='7' rx='1'/%3E%3C/svg%3E");
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='3' width='7' height='7' rx='1'/%3E%3Crect x='14' y='3' width='7' height='7' rx='1'/%3E%3Crect x='3' y='14' width='7' height='7' rx='1'/%3E%3Crect x='14' y='14' width='7' height='7' rx='1'/%3E%3C/svg%3E");
}
.dd-myaccount .woocommerce-MyAccount-navigation-link--orders a::before {
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 2L2 7l10 5 10-5-10-5Z'/%3E%3Cpath d='M2 17V7'/%3E%3Cpath d='M12 22V12'/%3E%3Cpath d='m2 7 10 5'/%3E%3Cpath d='M22 17V7'/%3E%3Cpath d='m12 12 10-5'/%3E%3C/svg%3E");
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 2L2 7l10 5 10-5-10-5Z'/%3E%3Cpath d='M2 17V7'/%3E%3Cpath d='M12 22V12'/%3E%3Cpath d='m2 7 10 5'/%3E%3Cpath d='M22 17V7'/%3E%3Cpath d='m12 12 10-5'/%3E%3C/svg%3E");
}
.dd-myaccount .woocommerce-MyAccount-navigation-link--downloads a::before {
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cpath d='M8 12l4 4 4-4'/%3E%3Cpath d='M12 8v8'/%3E%3C/svg%3E");
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cpath d='M8 12l4 4 4-4'/%3E%3Cpath d='M12 8v8'/%3E%3C/svg%3E");
}
.dd-myaccount .woocommerce-MyAccount-navigation-link--edit-address a::before {
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 10c0 7-9 13-9 13s-9-6-9-13a9 9 0 0 1 18 0Z'/%3E%3Ccircle cx='12' cy='10' r='3'/%3E%3C/svg%3E");
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 10c0 7-9 13-9 13s-9-6-9-13a9 9 0 0 1 18 0Z'/%3E%3Ccircle cx='12' cy='10' r='3'/%3E%3C/svg%3E");
}
.dd-myaccount .woocommerce-MyAccount-navigation-link--edit-account a::before {
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='8' r='4'/%3E%3Cpath d='M5 21c0-4 3.1-7 7-7s7 3 7 7'/%3E%3C/svg%3E");
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='8' r='4'/%3E%3Cpath d='M5 21c0-4 3.1-7 7-7s7 3 7 7'/%3E%3C/svg%3E");
}
.dd-myaccount .woocommerce-MyAccount-navigation-link--customer-logout a::before {
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 21H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h4'/%3E%3Cpath d='M16 17l5-5-5-5'/%3E%3Cpath d='M21 12H9'/%3E%3C/svg%3E");
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 21H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h4'/%3E%3Cpath d='M16 17l5-5-5-5'/%3E%3Cpath d='M21 12H9'/%3E%3C/svg%3E");
}

/* Content panel */
.dd-myaccount .woocommerce-MyAccount-content {
  flex: 1;
  background: #fff; border-radius: 16px; padding: 32px;
  box-shadow: 0 2px 20px rgba(26,43,107,0.05);
  border: 1px solid var(--border-light);
}
.dd-myaccount .woocommerce-MyAccount-content h2 {
  font-size: 20px; font-weight: 700; color: var(--primary);
  margin: 0 0 20px; padding-bottom: 16px;
  border-bottom: 2px solid var(--accent);
}
.dd-myaccount .woocommerce-MyAccount-content h3 {
  font-size: 16px; font-weight: 700; color: var(--primary); margin: 24px 0 12px;
}

/* Messages */
.dd-myaccount .woocommerce-notices-wrapper { margin-bottom: 24px; }
.dd-myaccount .woocommerce-message,
.dd-myaccount .woocommerce-info,
.dd-myaccount .woocommerce-error {
  padding: 14px 18px; border-radius: 10px; font-size: 13px;
  font-weight: 500; margin-bottom: 16px; border-left: 4px solid;
}
.dd-myaccount .woocommerce-message { background: #f0fdf4; color: #166534; border-color: #22c55e; }
.dd-myaccount .woocommerce-info    { background: #eff6ff; color: #1e40af; border-color: #3b82f6; }
.dd-myaccount .woocommerce-error   { background: #fef2f2; color: #991b1b; border-color: #ef4444; }
.dd-myaccount .woocommerce-error li { margin-left: 16px; }
.dd-myaccount .woocommerce-message a,
.dd-myaccount .woocommerce-info a { font-weight: 600; }

/* Forms */
.dd-myaccount .woocommerce-form-row { margin-bottom: 18px; }
.dd-myaccount .woocommerce-form-row label {
  display: block; font-size: 13px; font-weight: 600;
  color: var(--primary); margin-bottom: 6px;
}
.dd-myaccount .woocommerce-form-row .required { color: var(--danger); text-decoration: none; }
.dd-myaccount .woocommerce-Input,
.dd-myaccount .woocommerce-form__input {
  width: 100%; padding: 12px 14px;
  border: 2px solid #e5e7eb; border-radius: 10px;
  font-family: 'Inter', sans-serif; font-size: 14px;
  color: var(--text); background: #fff;
  outline: none; transition: border-color .2s, box-shadow .2s;
}
.dd-myaccount .woocommerce-Input:focus,
.dd-myaccount .woocommerce-form__input:focus {
  border-color: var(--secondary);
  box-shadow: 0 0 0 3px rgba(30,127,216,0.08);
}
.dd-myaccount select.woocommerce-Input {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%236b7280' stroke-width='2' fill='none'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center;
  padding-right: 36px;
}

/* Checkbox */
.dd-myaccount .woocommerce-form__label-for-checkbox {
  display: flex !important; align-items: center; gap: 8px; cursor: pointer; font-weight: 500;
}
.dd-myaccount .woocommerce-form__input-checkbox {
  width: 16px; height: 16px; accent-color: var(--accent); cursor: pointer;
}

/* Buttons */
.dd-myaccount button[type="submit"],
.dd-myaccount .woocommerce-Button,
.dd-myaccount button.button {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 14px 28px; background: var(--accent); color: #fff !important;
  border: none; border-radius: 10px;
  font-family: 'Inter', sans-serif; font-size: 15px; font-weight: 700;
  cursor: pointer; transition: all .2s;
  text-decoration: none;
}
.dd-myaccount button[type="submit"]:hover,
.dd-myaccount .woocommerce-Button:hover,
.dd-myaccount button.button:hover {
  box-shadow: 0 6px 20px rgba(245,197,24,0.35);
  transform: translateY(-1px);
}
.dd-myaccount .woocommerce-Button--previous {
  background: #f3f4f6 !important; color: var(--text-muted) !important;
}
.dd-myaccount .woocommerce-Button--previous:hover {
  background: #e5e7eb !important; box-shadow: none !important;
}
.dd-myaccount button.button.alt { background: var(--primary) !important; }
.dd-myaccount button.button.alt:hover { box-shadow: 0 6px 20px rgba(26,43,107,0.3) !important; }

/* Login grid */
.dd-myaccount .u-columns.col2-set {
  display: grid; grid-template-columns: 1fr 1fr; gap: 40px;
}
@media (max-width: 600px) { .dd-myaccount .u-columns.col2-set { grid-template-columns: 1fr; } }
.dd-myaccount .u-columns.col2-set .u-column1,
.dd-myaccount .u-columns.col2-set .u-column2 { float: none; width: 100%; }
.dd-myaccount .u-columns.col2-set h2 {
  font-size: 18px; font-weight: 800; color: var(--primary);
  margin: 0 0 8px; padding-bottom: 0; border-bottom: none;
}

/* Login card */
.dd-myaccount .dd-login-card { max-width: 480px; margin: 0 auto; }
.dd-myaccount .dd-panel-sub {
  font-size: 13px; color: var(--text-muted); margin-bottom: 24px; line-height: 1.5;
}
.dd-myaccount .dd-lost-password { text-align: left; margin-top: 4px; }
.dd-myaccount .dd-lost-password a {
  font-size: 13px; color: var(--secondary); text-decoration: none; font-weight: 600;
}
.dd-myaccount .dd-lost-password a:hover { text-decoration: underline; }

/* Lost password */
.dd-myaccount .dd-lost-pw-box {
  max-width: 480px; margin: 0 auto; text-align: center;
  background: #fff; border-radius: 16px; padding: 40px 32px;
  box-shadow: 0 2px 20px rgba(26,43,107,0.05);
  border: 1px solid var(--border-light);
}
.dd-myaccount .dd-lost-pw-icon {
  width: 56px; height: 56px; margin: 0 auto 16px;
  background: #FEF3C7; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
}
.dd-myaccount .dd-lost-pw-box h2 {
  font-size: 20px; font-weight: 700; color: var(--primary);
  margin: 0 0 12px; padding-bottom: 0; border-bottom: none;
}
.dd-myaccount .dd-pw-sub {
  font-size: 14px; color: var(--text-muted); margin-bottom: 24px; line-height: 1.6;
}

/* Dashboard cards */
.dd-myaccount .dd-dash-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 16px;
}
@media (max-width: 500px) { .dd-myaccount .dd-dash-grid { grid-template-columns: 1fr; } }
.dd-myaccount .dd-dash-card {
  background: var(--snow); border-radius: 12px; padding: 18px;
  border: 1px solid #e5e7eb;
}
.dd-myaccount .dd-dash-label {
  font-size: 11px; font-weight: 700; color: var(--text-muted);
  text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 6px;
}
.dd-myaccount .dd-dash-value { font-size: 15px; font-weight: 600; color: var(--primary); }

/* Orders table */
.dd-myaccount .woocommerce-orders-table {
  width: 100%; border-collapse: collapse; font-size: 13px;
}
.dd-myaccount .woocommerce-orders-table thead { background: var(--snow); }
.dd-myaccount .woocommerce-orders-table th {
  text-align: left; padding: 12px 14px;
  font-size: 11px; font-weight: 700; color: var(--text-muted);
  text-transform: uppercase; letter-spacing: 0.5px;
}
.dd-myaccount .woocommerce-orders-table td {
  padding: 14px; border-bottom: 1px solid var(--border-light);
}
.dd-myaccount .woocommerce-orders-table tr:last-child td { border-bottom: none; }
.dd-myaccount .woocommerce-orders-table__cell-order-actions .button { font-size: 12px; padding: 8px 16px; }

/* Addresses */
.dd-myaccount .woocommerce-Addresses .u-columns {
  display: grid; grid-template-columns: 1fr 1fr; gap: 20px;
}
@media (max-width: 600px) { .dd-myaccount .woocommerce-Addresses .u-columns { grid-template-columns: 1fr; } }
.dd-myaccount .woocommerce-Address {
  background: var(--snow); border-radius: 12px; padding: 20px;
  border: 1px solid #e5e7eb; margin-bottom: 16px;
}
.dd-myaccount .woocommerce-Address-title h3 { margin: 0; font-size: 15px; }
.dd-myaccount .woocommerce-Address-title .edit {
  font-size: 12px; font-weight: 600; color: var(--secondary);
  text-decoration: none; float: right;
}

/* Edit forms */
.dd-myaccount fieldset {
  border: 1px solid #e5e7eb; border-radius: 10px;
  padding: 20px; margin: 24px 0;
}
.dd-myaccount legend { font-size: 14px; font-weight: 700; color: var(--primary); padding: 0 8px; }
.dd-myaccount .woocommerce-address-fields__field-wrapper {
  display: grid; grid-template-columns: 1fr 1fr; gap: 0 18px;
}
@media (max-width: 500px) { .dd-myaccount .woocommerce-address-fields__field-wrapper { grid-template-columns: 1fr; } }

/* Password strength */
.dd-myaccount .woocommerce-password-strength {
  padding: 8px 12px; border-radius: 6px; font-size: 12px;
  font-weight: 600; margin-top: 6px;
}
.dd-myaccount .woocommerce-password-strength.short  { background: #fef2f2; color: #991b1b; }
.dd-myaccount .woocommerce-password-strength.bad    { background: #fff7ed; color: #9a3412; }
.dd-myaccount .woocommerce-password-strength.good   { background: #fefce8; color: #854d0e; }
.dd-myaccount .woocommerce-password-strength.strong { background: #f0fdf4; color: #166534; }

/* ═══════════════════════════════════════════════════════
   AUTH PAGE — Login / Register (Centrale Digitale style)
   ═══════════════════════════════════════════════════════ */

.dd-auth-wrapper {
  max-width: 520px; margin: 60px auto; padding: 0 16px;
  font-family: 'Inter', sans-serif;
}

.dd-auth-card {
  background: #fff; border-radius: 24px;
  box-shadow: 0 20px 60px rgba(26,43,107,0.08);
  border: 1px solid var(--border-light);
  overflow: hidden;
}

/* ═══ SWITCH TABS ═══ */
.dd-auth-tabs {
  display: grid; grid-template-columns: 1fr 1fr;
  background: var(--snow);
  border-bottom: 1px solid var(--border-light);
}
.dd-auth-tab {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  padding: 16px; border: none; background: transparent;
  font-family: 'Inter', sans-serif; font-size: 14px; font-weight: 600;
  color: var(--text-muted); cursor: pointer;
  transition: all 0.2s ease; position: relative;
}
.dd-auth-tab::after {
  content: ''; position: absolute; bottom: 0; left: 50%; transform: translateX(-50%);
  width: 0; height: 3px; background: var(--accent); border-radius: 3px 3px 0 0;
  transition: width 0.25s cubic-bezier(0.16,1,0.3,1);
}
.dd-auth-tab.active {
  color: var(--primary); background: #fff;
}
.dd-auth-tab.active::after { width: 60%; }
.dd-auth-tab:hover { color: var(--primary); }

/* ═══ PANELS ═══ */
.dd-auth-panel { display: none; padding: 36px; }
.dd-auth-panel.active { display: block; animation: ddFadeIn .35s ease; }
@keyframes ddFadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}

.dd-auth-header { margin-bottom: 28px; text-align: center; }
.dd-auth-header h2 {
  font-size: 22px; font-weight: 800; color: var(--primary);
  margin: 0 0 8px; padding: 0;
}
.dd-auth-header p {
  font-size: 14px; color: var(--text-muted); line-height: 1.5; margin: 0;
}

/* ═══ FORM FIELDS ═══ */
.dd-field { margin-bottom: 18px; }
.dd-field label {
  display: block; font-size: 13px; font-weight: 600;
  color: var(--primary); margin-bottom: 6px;
}
.dd-field .required { color: var(--danger); text-decoration: none; }

.dd-input,
.dd-auth-panel .woocommerce-Input {
  width: 100%; padding: 13px 16px;
  border: 2px solid #e5e7eb; border-radius: 12px;
  font-family: 'Inter', sans-serif; font-size: 14px;
  color: var(--text); background: #fff;
  outline: none; transition: border-color .2s, box-shadow .2s;
}
.dd-input:focus,
.dd-auth-panel .woocommerce-Input:focus {
  border-color: var(--secondary);
  box-shadow: 0 0 0 3px rgba(30,127,216,0.08);
}

/* ═══ ACTIONS ROW ═══ */
.dd-auth-actions {
  display: flex; align-items: center; justify-content: space-between;
  margin: 20px 0;
}

/* Custom checkbox */
.dd-checkbox {
  display: flex; align-items: center; gap: 8px;
  cursor: pointer; font-size: 13px; font-weight: 500;
  color: var(--text-muted);
}
.dd-checkbox input[type="checkbox"] {
  width: 18px; height: 18px; accent-color: var(--accent);
  cursor: pointer;
}

.dd-auth-link {
  font-size: 13px; color: var(--secondary);
  text-decoration: none; font-weight: 600;
  transition: color .15s;
}
.dd-auth-link:hover { color: var(--primary); text-decoration: underline; }

/* ═══ SUBMIT BUTTON ═══ */
.dd-auth-submit { margin-top: 24px; }

.dd-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 28px; border: none; border-radius: 12px;
  font-family: 'Inter', sans-serif; font-size: 15px; font-weight: 700;
  cursor: pointer; transition: all .2s ease;
}
.dd-btn-primary {
  background: var(--primary); color: #fff;
}
.dd-btn-primary:hover {
  box-shadow: 0 8px 28px rgba(26,43,107,0.3);
  transform: translateY(-2px);
}
.dd-btn-block { width: 100%; justify-content: center; }
.dd-btn-arrow { font-size: 18px; transition: transform .2s; }
.dd-btn:hover .dd-btn-arrow { transform: translateX(4px); }

/* ═══ NOTE ═══ */
.dd-auth-note {
  font-size: 13px; color: var(--text-muted);
  margin-bottom: 16px; line-height: 1.5;
}

/* ═══ WOO NOTICES INSIDE AUTH ═══ */
.dd-auth-panel .woocommerce-notices-wrapper { margin-bottom: 20px; }
.dd-auth-panel .woocommerce-message,
.dd-auth-panel .woocommerce-info,
.dd-auth-panel .woocommerce-error {
  padding: 12px 16px; border-radius: 10px; font-size: 13px;
  font-weight: 500; margin-bottom: 14px; border-left: 4px solid;
}
.dd-auth-panel .woocommerce-message { background: #f0fdf4; color: #166534; border-color: #22c55e; }
.dd-auth-panel .woocommerce-info    { background: #eff6ff; color: #1e40af; border-color: #3b82f6; }
.dd-auth-panel .woocommerce-error   { background: #fef2f2; color: #991b1b; border-color: #ef4444; }
.dd-auth-panel .woocommerce-error li { margin-left: 16px; }

/* ═══ RESPONSIVE ═══ */
@media (max-width: 520px) {
  .dd-auth-wrapper { margin: 24px auto; }
  .dd-auth-panel { padding: 24px 20px; }
  .dd-auth-tab { font-size: 13px; padding: 14px; }
  .dd-auth-header h2 { font-size: 19px; }
  .dd-auth-actions { flex-direction: column; align-items: flex-start; gap: 12px; }
}
