/*
 Theme Name:   DeskPickr Affiliate Theme
 Theme URI:    https://deskpickr.com
 Description:  Theme enfant premium affiliation Amazon
 Author:       DeskPickr
 Template:     generatepress
 Version:      4.0.0
 Text Domain:  deskpickr-theme
*/

/* =========================================================
   0. IMPORTS & TOKENS
   ========================================================= */
@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,400;0,14..32,500;0,14..32,600;0,14..32,700;0,14..32,800;1,14..32,400&display=swap');

:root {
  /* Brand */
  --c-navy:       #1a2332;
  --c-navy-mid:   #232f3e;
  --c-orange:     #f59e0b;
  --c-orange-dk:  #d97706;
  --c-orange-bg:  #fffbeb;

  /* Greys */
  --c-bg:         #f8fafc;
  --c-surface:    #ffffff;
  --c-border:     #e2e8f0;
  --c-border-dk:  #cbd5e1;
  --c-text:       #0f172a;
  --c-text-2:     #475569;
  --c-text-3:     #94a3b8;

  /* Semantic */
  --c-green:      #16a34a;
  --c-green-bg:   #f0fdf4;
  --c-green-bd:   #bbf7d0;
  --c-red:        #dc2626;
  --c-red-bg:     #fff1f2;
  --c-red-bd:     #fecdd3;

  /* Radii */
  --r-sm:  6px;
  --r-md:  10px;
  --r-lg:  16px;
  --r-xl:  24px;

  /* Shadows */
  --sh-sm:  0 1px 3px rgba(0,0,0,.08), 0 1px 2px rgba(0,0,0,.04);
  --sh-md:  0 4px 16px rgba(0,0,0,.07), 0 1px 4px rgba(0,0,0,.04);
  --sh-lg:  0 10px 32px rgba(0,0,0,.09), 0 2px 8px rgba(0,0,0,.04);
  --sh-xl:  0 20px 48px rgba(0,0,0,.10), 0 4px 12px rgba(0,0,0,.05);

  /* Layout */
  --shell: min(1160px, calc(100% - 2.4rem));
  --shell-narrow: min(780px, calc(100% - 2.4rem));

  /* Motion */
  --ease: cubic-bezier(.4,0,.2,1);
  --dur: .18s;
}

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

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

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: var(--c-bg);
  color: var(--c-text);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--c-navy-mid); text-decoration: none; transition: color var(--dur) var(--ease); }
a:hover { color: var(--c-orange-dk); }
img { max-width: 100%; height: auto; display: block; }

/* GeneratePress overrides */
.site-header            { display: none !important; }
.generate-back-to-top   { display: none !important; }
.footer-widgets-container .widget { margin: 0; }
.site-footer { background: var(--c-navy) !important; color: #94a3b8 !important; }
.site-footer a { color: #cbd5e1 !important; }
.site-footer a:hover { color: var(--c-orange) !important; }
.inside-footer { max-width: var(--shell) !important; margin: 0 auto; padding: 2.5rem 0 !important; }
.grid-container { max-width: var(--shell) !important; }
.site-content { padding-top: 0 !important; }
.content-area { padding: 0 !important; }
.entry-content > *:first-child { margin-top: 0 !important; }

/* =========================================================
   2. NAVIGATION
   ========================================================= */
.dp-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,.96);
  border-bottom: 1px solid var(--c-border);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: box-shadow var(--dur) var(--ease);
}
.dp-nav.scrolled { box-shadow: var(--sh-md); }

.dp-nav-inner {
  max-width: var(--shell);
  margin: 0 auto;
  padding: 0 1.2rem;
  height: 60px;
  display: flex;
  align-items: center;
  gap: 2rem;
}

.dp-brand {
  display: flex;
  align-items: center;
  gap: .55rem;
  font-weight: 800;
  font-size: 1.15rem;
  color: var(--c-text) !important;
  letter-spacing: -.03em;
  flex-shrink: 0;
}
.dp-brand-mark {
  width: 30px; height: 30px;
  background: var(--c-navy);
  border-radius: 8px;
  display: grid;
  place-items: center;
  color: var(--c-orange);
  font-size: .85rem;
  font-weight: 900;
}
.dp-brand span { color: var(--c-orange); }

.dp-nav-links {
  display: flex;
  align-items: center;
  gap: .25rem;
  list-style: none;
  flex: 1;
}
.dp-nav-links a {
  display: block;
  padding: .45rem .75rem;
  font-size: .85rem;
  font-weight: 500;
  color: var(--c-text-2) !important;
  border-radius: var(--r-sm);
  transition: background var(--dur), color var(--dur);
}
.dp-nav-links a:hover,
.dp-nav-links a.current { background: var(--c-bg); color: var(--c-text) !important; }
.dp-nav-links li.current-menu-item > a,
.dp-nav-links li.current-menu-ancestor > a { color: var(--c-navy) !important; font-weight: 600; }

.dp-nav-cta {
  flex-shrink: 0;
  background: var(--c-navy);
  color: #fff !important;
  font-size: .82rem;
  font-weight: 600;
  padding: .45rem 1rem;
  border-radius: 99px;
  transition: background var(--dur);
}
.dp-nav-cta:hover { background: var(--c-orange-dk) !important; color: #fff !important; }

/* GeneratePress nav override */
#site-navigation.main-navigation { position: relative; background: transparent; margin: 0; }
#site-navigation .inside-navigation { padding: 0 !important; background: transparent !important; box-shadow: none !important; border: none !important; backdrop-filter: none !important; }
#site-navigation .main-nav ul { list-style: none; display: flex; gap: .25rem; }
#site-navigation .main-nav ul li a { display: block; padding: .45rem .75rem; font-size: .85rem; font-weight: 500; color: var(--c-text-2); border-radius: var(--r-sm); transition: background var(--dur), color var(--dur); }
#site-navigation .main-nav ul li a:hover { background: var(--c-bg); color: var(--c-text); }
#site-navigation .main-nav ul li.current-menu-item > a { color: var(--c-navy); font-weight: 600; }

/* =========================================================
   3. SHELL / LAYOUT UTILITIES
   ========================================================= */
.dp-shell {
  max-width: var(--shell);
  margin: 0 auto;
  padding: 0 1.2rem;
}
.dp-shell--narrow {
  max-width: var(--shell-narrow);
}

.dp-section {
  padding: 5rem 0;
}
.dp-section + .dp-section {
  padding-top: 0;
}

.dp-kicker {
  display: inline-block;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--c-orange-dk);
  margin-bottom: .75rem;
}

.dp-section-title {
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 800;
  letter-spacing: -.03em;
  line-height: 1.2;
  color: var(--c-text);
  margin-bottom: 1rem;
}

.dp-section-lead {
  font-size: 1.05rem;
  color: var(--c-text-2);
  max-width: 560px;
  line-height: 1.7;
}

.dp-section-head {
  margin-bottom: 3rem;
}

/* =========================================================
   4. BUTTONS
   ========================================================= */
.dp-btn {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: .88rem;
  border-radius: 8px;
  padding: .65rem 1.4rem;
  border: none;
  cursor: pointer;
  text-decoration: none !important;
  transition: background var(--dur) var(--ease), transform .12s var(--ease), box-shadow var(--dur) var(--ease), color var(--dur);
  line-height: 1.4;
}
.dp-btn:active { transform: scale(.97); }

.dp-btn--primary {
  background: var(--c-orange);
  color: var(--c-navy) !important;
}
.dp-btn--primary:hover {
  background: var(--c-orange-dk);
  color: var(--c-navy) !important;
  box-shadow: 0 4px 14px rgba(245,158,11,.4);
}

.dp-btn--navy {
  background: var(--c-navy);
  color: #fff !important;
}
.dp-btn--navy:hover {
  background: #0f1929;
  color: #fff !important;
  box-shadow: 0 4px 14px rgba(26,35,50,.3);
}

.dp-btn--ghost {
  background: transparent;
  color: var(--c-text-2) !important;
  border: 1px solid var(--c-border-dk);
}
.dp-btn--ghost:hover {
  background: var(--c-bg);
  color: var(--c-text) !important;
  border-color: var(--c-text-2);
}

.dp-btn--sm {
  font-size: .8rem;
  padding: .5rem 1rem;
}

.dp-btn--lg {
  font-size: .96rem;
  padding: .85rem 1.8rem;
  border-radius: 10px;
}

/* Amazon CTA special */
.dp-btn--amazon {
  background: #ff9900;
  color: #111 !important;
  font-weight: 700;
}
.dp-btn--amazon::before { content: ''; display: inline-block; width: 16px; height: 16px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23111'%3E%3Cpath d='M13.976 9.15c-2.172-.806-4.064-1.166-5.976-.94C4.773 8.565 2 10.608 2 14.15c0 3.337 2.41 5.4 5.77 5.4 2.143 0 4.037-.837 5.67-2.277.178.324.398.619.648.877C15.24 19.332 16.56 20 18.13 20c2.17 0 3.87-1.33 3.87-3.93 0-2.13-1.34-3.83-3.42-4.6l-4.6-2.32zm-6.5 8.4c-1.8 0-2.92-1.06-2.92-2.9 0-2.16 1.68-3.57 4-3.57.52 0 1.05.08 1.58.22l.8 4.03c-.87 1.38-2.1 2.22-3.46 2.22zm9.5 0c-.98 0-1.7-.48-2.1-1.3l-.88-4.42c.7-.15 1.42-.23 2.14-.23 1.8 0 2.92 1.06 2.92 2.9 0 1.84-1.1 3.05-2.08 3.05z'/%3E%3C/svg%3E") no-repeat center/contain; }

/* =========================================================
   5. HERO — HOME
   ========================================================= */
.dpv6-home {}

.dpv6-home-hero {
  background: var(--c-surface);
  border-bottom: 1px solid var(--c-border);
  padding: 5rem 0 4rem;
}

.dpv6-home-hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.dpv6-home-copy h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  letter-spacing: -.04em;
  line-height: 1.15;
  color: var(--c-text);
  margin-bottom: 1.2rem;
}

.dpv6-lead {
  font-size: 1.05rem;
  color: var(--c-text-2);
  line-height: 1.75;
  margin-bottom: 2rem;
}

.dpv6-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  margin-bottom: 2.5rem;
}

/* Proof row (stats) */
.dpv6-proof-row {
  display: flex;
  gap: 2rem;
  padding-top: 2rem;
  border-top: 1px solid var(--c-border);
}
.dpv6-proof-card { text-align: left; }
.dpv6-proof-card strong {
  display: block;
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--c-text);
  letter-spacing: -.03em;
}
.dpv6-proof-card span {
  font-size: .78rem;
  color: var(--c-text-3);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: .06em;
}

/* Hero right — showcase */
.dpv6-showcase-stack {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.dpv6-surface {
  background: var(--c-bg);
  border: 1px solid var(--c-border);
  border-radius: var(--r-lg);
  padding: 1.5rem;
}
.dpv6-surface--feature { padding: 1.25rem; }
.dpv6-surface-label {
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--c-text-3);
  margin-bottom: .75rem;
}

.dpv6-surface--metrics {
  display: flex;
  gap: 1.5rem;
  padding: 1.25rem 1.5rem;
}
.dpv6-micro-stat span {
  display: block;
  font-size: .72rem;
  color: var(--c-text-3);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: .06em;
  margin-bottom: .2rem;
}
.dpv6-micro-stat strong {
  font-size: .92rem;
  font-weight: 700;
  color: var(--c-text);
}

/* =========================================================
   6. MARQUEE / CHIP ROW
   ========================================================= */
.dpv6-marquee {
  background: var(--c-navy);
  padding: .9rem 0;
  overflow: hidden;
}
.dpv6-marquee-track {
  display: flex;
  align-items: center;
  gap: .6rem;
  flex-wrap: wrap;
}
.dpv6-chip {
  display: inline-flex;
  align-items: center;
  padding: .35rem .9rem;
  border-radius: 99px;
  font-size: .78rem;
  font-weight: 600;
  background: rgba(255,255,255,.12);
  color: #e2e8f0 !important;
  text-decoration: none !important;
  border: 1px solid rgba(255,255,255,.15);
  transition: background var(--dur), color var(--dur);
  white-space: nowrap;
}
.dpv6-chip:hover { background: rgba(255,255,255,.22); color: #fff !important; }
.dpv6-chip--muted { opacity: .5; pointer-events: none; }

/* =========================================================
   7. SECTION STYLES
   ========================================================= */
.dpv6-section {
  padding: 5rem 0;
}

.dpv6-section-head {
  margin-bottom: 3rem;
}
.dpv6-section-head h2 {
  font-size: clamp(1.5rem, 2.8vw, 2rem);
  font-weight: 800;
  letter-spacing: -.03em;
  line-height: 1.25;
  color: var(--c-text);
  margin-bottom: .75rem;
  max-width: 640px;
}
.dpv6-section-head p {
  color: var(--c-text-2);
  max-width: 520px;
  font-size: .96rem;
}

/* =========================================================
   8. STORY CARDS
   ========================================================= */
.dpv6-story-grid {
  display: grid;
  gap: 1.25rem;
}
.dpv6-story-grid--home {
  grid-template-columns: repeat(auto-fill, minmax(280px,1fr));
}

.dpv6-story-card {
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--r-lg);
  overflow: hidden;
  text-decoration: none !important;
  display: flex;
  flex-direction: column;
  transition: box-shadow var(--dur) var(--ease), transform var(--dur) var(--ease), border-color var(--dur);
}
.dpv6-story-card:hover {
  box-shadow: var(--sh-lg);
  transform: translateY(-3px);
  border-color: var(--c-border-dk);
}

.dpv6-story-thumb {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  background: var(--c-bg);
}
.dpv6-story-thumb-placeholder {
  width: 100%;
  aspect-ratio: 16/9;
  background: linear-gradient(135deg, var(--c-navy) 0%, #2d4060 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: rgba(255,255,255,.3);
}

.dpv6-story-body {
  padding: 1.25rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.dpv6-story-meta {
  display: flex;
  align-items: center;
  gap: .5rem;
  flex-wrap: wrap;
  margin-bottom: .6rem;
}
.dpv6-story-meta span {
  font-size: .74rem;
  color: var(--c-text-3);
  font-weight: 500;
}
.dpv6-story-meta span::before { content: '·'; margin-right: .5rem; }
.dpv6-story-meta span:first-child::before { display: none; }

.dpv6-story-taxonomy {
  font-size: .72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--c-orange-dk) !important;
  text-decoration: none !important;
}

.dpv6-story-title {
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.35;
  color: var(--c-text);
  margin-bottom: .5rem;
  letter-spacing: -.01em;
}
.dpv6-story-card:hover .dpv6-story-title { color: var(--c-navy-mid); }

.dpv6-story-excerpt {
  font-size: .85rem;
  color: var(--c-text-2);
  line-height: 1.6;
  flex: 1;
  margin-bottom: 1rem;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.dpv6-story-cta {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  font-size: .8rem;
  font-weight: 600;
  color: var(--c-navy-mid) !important;
  margin-top: auto;
}
.dpv6-story-cta::after {
  content: '→';
  transition: transform var(--dur);
}
.dpv6-story-card:hover .dpv6-story-cta::after { transform: translateX(4px); }

/* Featured / large card */
.dpv6-story-card--feature {
  flex-direction: row;
}
.dpv6-story-card--feature .dpv6-story-thumb {
  width: 200px;
  flex-shrink: 0;
  aspect-ratio: auto;
  height: auto;
}
.dpv6-story-card--feature .dpv6-story-title { font-size: .95rem; }

/* =========================================================
   9. CATEGORY CATALOG
   ========================================================= */
.dpv6-cat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px,1fr));
  gap: 1rem;
}

.dpv6-cat-card {
  display: block;
  text-decoration: none !important;
  border-radius: var(--r-lg);
  overflow: hidden;
  position: relative;
  aspect-ratio: 4/3;
  background: var(--c-navy);
  transition: box-shadow var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.dpv6-cat-card:hover {
  box-shadow: var(--sh-xl);
  transform: translateY(-4px) scale(1.01);
}

.dpv6-cat-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s var(--ease);
}
.dpv6-cat-card:hover .dpv6-cat-img { transform: scale(1.06); }

.dpv6-cat-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, rgba(15,23,42,.15) 0%, rgba(15,23,42,.72) 100%);
}

.dpv6-cat-label {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 1rem 1.2rem;
}
.dpv6-cat-name {
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: -.01em;
  line-height: 1.3;
}
.dpv6-cat-count {
  font-size: .74rem;
  color: rgba(255,255,255,.7);
  font-weight: 500;
  margin-top: .15rem;
}

/* No-image fallback */
.dpv6-cat-card--fallback {
  background: var(--c-bg);
  border: 1px solid var(--c-border);
}
.dpv6-cat-card--fallback .dpv6-cat-name { color: var(--c-text); }
.dpv6-cat-card--fallback .dpv6-cat-count { color: var(--c-text-3); }
.dpv6-cat-card--fallback:hover { border-color: var(--c-border-dk); }

/* =========================================================
   10. EDITORIAL GRID (VALUE PROPS)
   ========================================================= */
.dpv6-editorial-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}

.dpv6-editorial-panel h2 {
  font-size: clamp(1.4rem, 2.5vw, 1.9rem);
  font-weight: 800;
  letter-spacing: -.03em;
  line-height: 1.25;
  margin-bottom: 1rem;
}
.dpv6-editorial-panel p { color: var(--c-text-2); font-size: .96rem; }

.dpv6-value-stack { display: flex; flex-direction: column; gap: 1rem; }

.dpv6-mini-card {
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--r-md);
  padding: 1.25rem 1.4rem;
  transition: box-shadow var(--dur);
}
.dpv6-mini-card:hover { box-shadow: var(--sh-md); }
.dpv6-mini-card h3 {
  font-size: .92rem;
  font-weight: 700;
  margin-bottom: .35rem;
  color: var(--c-text);
}
.dpv6-mini-card p { font-size: .85rem; color: var(--c-text-2); line-height: 1.6; }

/* =========================================================
   11. FINAL CTA BLOCK
   ========================================================= */
.dpv6-final-cta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
  background: var(--c-navy);
  border-radius: var(--r-xl);
  padding: 3.5rem;
  flex-wrap: wrap;
}

.dpv6-final-cta .dpv6-kicker { color: var(--c-orange); }

.dpv6-final-cta h2 {
  font-size: clamp(1.3rem, 2.5vw, 1.8rem);
  font-weight: 800;
  letter-spacing: -.03em;
  color: #fff;
  margin-bottom: .6rem;
}
.dpv6-final-cta p { color: #94a3b8; font-size: .92rem; max-width: 440px; }

.dpv6-final-cta .dpv6-actions { margin-top: 0; margin-bottom: 0; }

/* =========================================================
   12. SINGLE ARTICLE
   ========================================================= */
.dpv6-page--single { padding: 0; }
.dpv6-page--single > .dp-shell { padding-top: 2rem; padding-bottom: 4rem; }

/* Breadcrumb */
.dp-breadcrumb {
  display: flex;
  align-items: center;
  gap: .4rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}
.dp-breadcrumb a { font-size: .8rem; color: var(--c-text-3) !important; font-weight: 500; }
.dp-breadcrumb a:hover { color: var(--c-orange-dk) !important; }
.dp-breadcrumb span.sep { font-size: .8rem; color: var(--c-text-3); }
.dp-breadcrumb span:last-child { font-size: .8rem; color: var(--c-text-2); font-weight: 500; }

/* Single hero */
.dpv6-single-article {}

.dpv6-single-hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  align-items: center;
  margin-bottom: 3.5rem;
  padding-bottom: 3.5rem;
  border-bottom: 1px solid var(--c-border);
}

.dpv6-story-meta--hero {
  margin-bottom: 1rem;
}

.dpv6-single-copy h1 {
  font-size: clamp(1.7rem, 3.5vw, 2.6rem);
  font-weight: 800;
  letter-spacing: -.04em;
  line-height: 1.15;
  color: var(--c-text);
  margin-bottom: 1rem;
}

.dpv6-single-media img {
  width: 100%;
  border-radius: var(--r-lg);
  aspect-ratio: 16/9;
  object-fit: cover;
}
.dpv6-single-fallback {
  width: 100%;
  aspect-ratio: 16/9;
  background: linear-gradient(135deg, var(--c-navy) 0%, #2d4060 100%);
  border-radius: var(--r-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 800;
  color: rgba(255,255,255,.4);
  letter-spacing: -.02em;
}

/* Single layout (article + sidebar) */
.dpv6-single-layout {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 3rem;
  align-items: start;
}

.dpv6-article-shell {
  min-width: 0;
}

.dpv6-article-prose {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--c-text);
}

/* Prose typography */
.dpv6-article-prose h2 {
  font-size: 1.55rem;
  font-weight: 800;
  letter-spacing: -.03em;
  margin: 2.5rem 0 .9rem;
  color: var(--c-text);
  padding-top: 1rem;
  border-top: 2px solid var(--c-border);
}
.dpv6-article-prose h3 {
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: -.02em;
  margin: 2rem 0 .7rem;
  color: var(--c-text);
}
.dpv6-article-prose h4 {
  font-size: 1rem;
  font-weight: 700;
  margin: 1.5rem 0 .5rem;
  color: var(--c-text);
}
.dpv6-article-prose p { margin-bottom: 1.3rem; }
.dpv6-article-prose ul, .dpv6-article-prose ol {
  margin: 1rem 0 1.3rem 1.5rem;
}
.dpv6-article-prose li { margin-bottom: .4rem; }
.dpv6-article-prose strong { color: var(--c-text); font-weight: 700; }
.dpv6-article-prose em { font-style: italic; color: var(--c-text-2); }
.dpv6-article-prose a { color: var(--c-navy-mid); text-decoration: underline; text-underline-offset: 3px; }
.dpv6-article-prose a:hover { color: var(--c-orange-dk); }
.dpv6-article-prose blockquote {
  border-left: 3px solid var(--c-orange);
  padding: .75rem 1.25rem;
  background: var(--c-orange-bg);
  border-radius: 0 var(--r-sm) var(--r-sm) 0;
  margin: 1.5rem 0;
  font-size: .96rem;
  color: var(--c-text-2);
}
.dpv6-article-prose img {
  border-radius: var(--r-md);
  margin: 1.5rem 0;
}
.dpv6-article-prose hr {
  border: none;
  border-top: 1px solid var(--c-border);
  margin: 2.5rem 0;
}

/* Sidebar */
.dpv6-sidecar {
  position: sticky;
  top: 80px;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.dpv6-sidecard {
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--r-lg);
  padding: 1.4rem;
}

.dpv6-panel-kicker {
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--c-orange-dk);
  margin-bottom: .5rem;
}

.dpv6-sidecard h3 {
  font-size: .96rem;
  font-weight: 700;
  color: var(--c-text);
  margin-bottom: .9rem;
  letter-spacing: -.01em;
}

.dpv6-side-list { list-style: none; }
.dpv6-side-list li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: .5rem 0;
  border-bottom: 1px solid var(--c-border);
  font-size: .84rem;
}
.dpv6-side-list li:last-child { border-bottom: none; }
.dpv6-side-list span { color: var(--c-text-3); font-weight: 500; }
.dpv6-side-list strong { color: var(--c-text); font-weight: 600; }

.dpv6-related-mini { list-style: none; display: flex; flex-direction: column; gap: .6rem; }
.dpv6-related-mini a {
  font-size: .85rem;
  color: var(--c-text) !important;
  font-weight: 500;
  line-height: 1.4;
  display: flex;
  gap: .4rem;
}
.dpv6-related-mini a::before { content: '→'; color: var(--c-orange-dk); flex-shrink: 0; }
.dpv6-related-mini a:hover { color: var(--c-orange-dk) !important; }

.dpv6-sidecard--cta { background: var(--c-navy); border-color: transparent; }
.dpv6-sidecard--cta .dpv6-panel-kicker { color: var(--c-orange); }
.dpv6-sidecard--cta h3 { color: #fff; }
.dpv6-sidecard--cta p { color: #94a3b8; font-size: .84rem; margin-bottom: 1rem; line-height: 1.6; }

/* =========================================================
   13. SHORTCODE COMPONENTS
   ========================================================= */

/* --- Product Grid --- */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px,1fr));
  gap: 1.25rem;
  margin: 2rem 0;
}

/* --- Product Card --- */
.product-card {
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--r-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: box-shadow var(--dur) var(--ease), transform var(--dur) var(--ease), border-color var(--dur);
}
.product-card:hover {
  box-shadow: var(--sh-lg);
  transform: translateY(-3px);
  border-color: var(--c-border-dk);
}
.product-card img {
  width: 100%; height: 200px;
  object-fit: contain;
  background: var(--c-bg);
  padding: 16px;
}
.product-card-body { padding: 1.1rem 1.25rem 1.25rem; flex: 1; display: flex; flex-direction: column; }
.product-card-badge {
  display: inline-block;
  font-size: .68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--c-orange-dk);
  background: var(--c-orange-bg);
  border-radius: 4px;
  padding: .2rem .5rem;
  margin-bottom: .6rem;
}
.product-card h3 {
  font-size: .95rem;
  font-weight: 700;
  margin-bottom: .4rem;
  color: var(--c-text);
  line-height: 1.35;
  letter-spacing: -.01em;
}
.product-card .price {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--c-text);
  margin-bottom: .8rem;
}
.product-card .price small { font-size: .75em; font-weight: 400; color: var(--c-text-3); }
.product-card .stars { color: var(--c-orange); font-size: .85rem; margin-bottom: .5rem; }
.product-card p { font-size: .84rem; color: var(--c-text-2); line-height: 1.55; margin-bottom: 1rem; flex: 1; }
.product-card a.dp-btn {
  display: flex;
  justify-content: center;
  margin-top: auto;
}

/* --- Pros / Cons --- */
.pros-cons-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin: 1.75rem 0;
}
.pros-box, .cons-box {
  border-radius: var(--r-md);
  padding: 1.25rem 1.4rem;
}
.pros-box {
  background: var(--c-green-bg);
  border: 1px solid var(--c-green-bd);
}
.cons-box {
  background: var(--c-red-bg);
  border: 1px solid var(--c-red-bd);
}
.pros-box h4 {
  font-size: .75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--c-green);
  margin-bottom: .75rem;
}
.cons-box h4 {
  font-size: .75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--c-red);
  margin-bottom: .75rem;
}
.pros-box ul, .cons-box ul { list-style: none; }
.pros-box li, .cons-box li {
  font-size: .88rem;
  padding: .3rem 0;
  display: flex;
  align-items: flex-start;
  gap: .6rem;
  color: var(--c-text);
  line-height: 1.5;
}
.pros-box li::before { content: '✓'; color: var(--c-green); font-weight: 800; flex-shrink: 0; }
.cons-box li::before { content: '✕'; color: var(--c-red); font-weight: 800; flex-shrink: 0; }

/* --- CTA Box --- */
.cta-box {
  background: var(--c-navy);
  border-radius: var(--r-lg);
  padding: 2rem 2.25rem;
  margin: 2rem 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
}
.cta-box-text h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: .35rem;
  letter-spacing: -.02em;
}
.cta-box-text p { font-size: .88rem; color: #94a3b8; }
.cta-box a {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: var(--c-orange) !important;
  color: var(--c-navy) !important;
  font-weight: 700;
  font-size: .9rem;
  padding: .7rem 1.5rem;
  border-radius: 8px;
  text-decoration: none !important;
  transition: background var(--dur) var(--ease), transform .12s;
  white-space: nowrap;
}
.cta-box a:hover { background: var(--c-orange-dk) !important; transform: translateY(-1px); }

/* --- Affiliate Disclosure --- */
.affiliate-disclosure {
  background: #fffbeb;
  border: 1px solid #fde68a;
  border-radius: var(--r-sm);
  padding: .85rem 1.1rem;
  font-size: .82rem;
  color: #78350f;
  line-height: 1.6;
  margin: 1.25rem 0;
  display: flex;
  gap: .65rem;
  align-items: flex-start;
}
.affiliate-disclosure::before { content: '🔗'; flex-shrink: 0; }

/* --- Comparison Table --- */
.entry-content table,
.dpv6-article-prose table {
  width: 100%;
  border-collapse: collapse;
  margin: 2rem 0;
  font-size: .88rem;
  border-radius: var(--r-md);
  overflow: hidden;
  box-shadow: var(--sh-sm);
}
.entry-content table thead th,
.dpv6-article-prose table thead th {
  background: var(--c-navy);
  color: #fff;
  padding: .85rem 1rem;
  text-align: left;
  font-weight: 600;
  font-size: .8rem;
  letter-spacing: .03em;
  text-transform: uppercase;
}
.entry-content table tbody tr,
.dpv6-article-prose table tbody tr {
  transition: background var(--dur);
}
.entry-content table tbody tr:nth-child(even),
.dpv6-article-prose table tbody tr:nth-child(even) {
  background: var(--c-bg);
}
.entry-content table tbody tr:hover,
.dpv6-article-prose table tbody tr:hover {
  background: var(--c-orange-bg);
}
.entry-content table td,
.dpv6-article-prose table td {
  padding: .75rem 1rem;
  border-bottom: 1px solid var(--c-border);
  color: var(--c-text);
}
.entry-content table tbody tr:first-child,
.dpv6-article-prose table tbody tr:first-child {
  background: var(--c-orange-bg) !important;
  font-weight: 600;
}

/* =========================================================
   14. READING PROGRESS BAR
   ========================================================= */
#dp-progress-bar {
  position: fixed;
  top: 0; left: 0;
  height: 3px;
  width: 0%;
  background: linear-gradient(90deg, var(--c-navy) 0%, var(--c-orange) 100%);
  z-index: 9999;
  transition: width .1s linear;
  pointer-events: none;
}

/* =========================================================
   15. BACK TO TOP
   ========================================================= */
#dp-back-to-top {
  position: fixed;
  bottom: 28px; right: 28px;
  width: 42px; height: 42px;
  background: var(--c-navy);
  color: #fff;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  display: grid;
  place-items: center;
  font-size: 1rem;
  box-shadow: var(--sh-md);
  opacity: 0;
  transform: translateY(10px);
  transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease), background var(--dur);
  z-index: 998;
  pointer-events: none;
}
#dp-back-to-top.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
#dp-back-to-top:hover { background: var(--c-orange-dk); }

/* =========================================================
   16. TABLE OF CONTENTS
   ========================================================= */
#dp-toc {
  background: var(--c-bg);
  border: 1px solid var(--c-border);
  border-left: 3px solid var(--c-orange);
  border-radius: 0 var(--r-md) var(--r-md) 0;
  padding: 1.25rem 1.5rem;
  margin: 2rem 0;
  font-size: .88rem;
}
#dp-toc-title {
  font-size: .72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--c-text-3);
  margin-bottom: .9rem;
}
#dp-toc ol { padding-left: 1.25rem; margin: 0; }
#dp-toc li { margin: .4rem 0; }
#dp-toc a {
  color: var(--c-text-2) !important;
  font-weight: 500;
  text-decoration: none !important;
  transition: color var(--dur);
}
#dp-toc a:hover, #dp-toc a.active { color: var(--c-orange-dk) !important; }

/* =========================================================
   17. SCROLL REVEAL
   ========================================================= */
.dp-reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .5s var(--ease), transform .5s var(--ease);
}
.dp-reveal.dp-visible { opacity: 1; transform: translateY(0); }

/* =========================================================
   18. ARCHIVE / BLOG PAGE
   ========================================================= */
.dpv6-page--archive {
  padding: 3rem 0 5rem;
}
.dpv6-archive-header {
  margin-bottom: 2.5rem;
}
.dpv6-archive-header h1 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 800;
  letter-spacing: -.03em;
  margin-bottom: .4rem;
}
.dpv6-archive-header p { color: var(--c-text-2); }

/* =========================================================
   19. PAGE (A PROPOS, CONTACT, ETC.)
   ========================================================= */
.dpv6-page--page {
  padding: 3rem 0 5rem;
}
.dpv6-page-header {
  margin-bottom: 2.5rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--c-border);
}
.dpv6-page-header h1 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 800;
  letter-spacing: -.03em;
}

/* =========================================================
   20. FOOTER
   ========================================================= */
.site-footer {
  background: var(--c-navy) !important;
}
.site-footer * { box-sizing: border-box; }
.inside-footer {
  text-align: center;
  font-size: .82rem;
  color: #64748b !important;
  padding: 1.5rem 0 !important;
}

/* =========================================================
   21. RESPONSIVE
   ========================================================= */
@media (max-width: 1024px) {
  .dpv6-single-layout {
    grid-template-columns: 1fr;
  }
  .dpv6-sidecar {
    position: static;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px,1fr));
  }
}

@media (max-width: 900px) {
  .dpv6-home-hero-grid,
  .dpv6-editorial-grid,
  .dpv6-single-hero {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .dpv6-home-hero { padding: 3rem 0; }
  .dpv6-showcase-stack { display: none; }
  .dpv6-single-media { display: none; }
  .dpv6-final-cta { padding: 2.5rem; flex-direction: column; }
}

@media (max-width: 768px) {
  .dp-shell { padding: 0 1rem; }
  .dpv6-section, .dp-section { padding: 3rem 0; }
  .dpv6-proof-row { flex-wrap: wrap; gap: 1.25rem; }
  .pros-cons-wrap { grid-template-columns: 1fr; }
  .dpv6-cat-grid { grid-template-columns: 1fr 1fr; }
  .dp-nav-links { display: none; }
  .dp-nav-cta { display: none; }
  .dpv6-story-card--feature { flex-direction: column; }
  .dpv6-story-card--feature .dpv6-story-thumb { width: 100%; }
  .cta-box { flex-direction: column; align-items: flex-start; }
  .dpv6-story-grid--home { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .dpv6-cat-grid { grid-template-columns: 1fr; }
  .product-grid { grid-template-columns: 1fr; }
  .dpv6-final-cta { padding: 1.75rem; }
  .dpv6-sidecar { grid-template-columns: 1fr; }
}

/* =========================================================
   22. MISC POLISH
   ========================================================= */

/* Smooth focus ring */
:focus-visible {
  outline: 2px solid var(--c-orange);
  outline-offset: 2px;
}

/* Better selection */
::selection {
  background: var(--c-orange);
  color: var(--c-navy);
}

/* Category card legacy shortcode compat */
.category-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px,1fr));
  gap: 1rem;
  margin: 2rem 0;
}

/* Kicker in article prose */
.dpv6-article-prose .dpv6-kicker { color: var(--c-orange-dk); }

/* No JS fallback */
.dp-reveal { opacity: 1 !important; transform: none !important; }
.js-loaded .dp-reveal { opacity: 0; transform: translateY(18px); }
.js-loaded .dp-reveal.dp-visible { opacity: 1; transform: translateY(0); }

/* =========================================================
   PATCH — Classes réelles du thème (dpv6 functions.php)
   ========================================================= */

/* ---- Category Catalog ---- */
.dpv6-category-catalog {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1rem;
  margin-top: 1rem;
}

.dpv6-category-tile {
  display: block;
  text-decoration: none !important;
  border-radius: var(--r-lg);
  overflow: hidden;
  position: relative;
  background: var(--c-navy);
  transition: box-shadow var(--dur) var(--ease), transform var(--dur) var(--ease);
  aspect-ratio: 4 / 3;
  color: #fff !important;
}
.dpv6-category-tile:hover {
  box-shadow: var(--sh-xl);
  transform: translateY(-4px) scale(1.01);
}

.dpv6-category-media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.dpv6-category-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .4s var(--ease);
}
.dpv6-category-tile:hover .dpv6-category-media img {
  transform: scale(1.06);
}
.dpv6-category-media::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, rgba(15,23,42,.15) 0%, rgba(15,23,42,.75) 100%);
}

.dpv6-category-copy {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 1rem 1.2rem;
  z-index: 1;
}

.dpv6-category-meta {
  display: flex;
  align-items: center;
  gap: .5rem;
  margin-bottom: .35rem;
}
.dpv6-category-meta span {
  font-size: .7rem;
  color: rgba(255,255,255,.75);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: .06em;
}
.dpv6-category-meta span:first-child {
  background: rgba(255,255,255,.15);
  padding: .15rem .45rem;
  border-radius: 4px;
  font-weight: 700;
}

.dpv6-category-copy h3 {
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: -.01em;
  line-height: 1.3;
  margin: 0 0 .2rem;
}
.dpv6-category-copy p {
  font-size: .78rem;
  color: rgba(255,255,255,.75);
  line-height: 1.45;
  margin: 0 0 .5rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.dpv6-category-copy .dpv6-story-cta {
  display: inline-flex;
  align-items: center;
  gap: .3rem;
  font-size: .75rem;
  font-weight: 600;
  color: var(--c-orange) !important;
  text-decoration: none !important;
}
.dpv6-category-copy .dpv6-story-cta::after {
  content: '→';
  transition: transform var(--dur);
}
.dpv6-category-tile:hover .dpv6-story-cta::after {
  transform: translateX(4px);
}

/* ---- Story Cards ---- */
.dpv6-story-card {
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--r-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: box-shadow var(--dur) var(--ease), transform var(--dur) var(--ease), border-color var(--dur);
}
.dpv6-story-card:hover {
  box-shadow: var(--sh-lg);
  transform: translateY(-3px);
  border-color: var(--c-border-dk);
}

.dpv6-story-link {
  display: flex;
  flex-direction: column;
  flex: 1;
  text-decoration: none !important;
  color: inherit !important;
}

.dpv6-story-media {
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--c-bg);
  flex-shrink: 0;
}
.dpv6-story-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .35s var(--ease);
}
.dpv6-story-card:hover .dpv6-story-media img {
  transform: scale(1.04);
}

.dpv6-story-content {
  padding: 1.25rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.dpv6-story-meta {
  display: flex;
  align-items: center;
  gap: .5rem;
  flex-wrap: wrap;
  margin-bottom: .65rem;
}
.dpv6-story-meta span {
  font-size: .74rem;
  color: var(--c-text-3);
  font-weight: 500;
}

.dpv6-story-taxonomy {
  font-size: .72rem !important;
  font-weight: 700 !important;
  text-transform: uppercase;
  letter-spacing: .07em;
  color: var(--c-orange-dk) !important;
}

.dpv6-story-content h3 {
  font-size: .96rem;
  font-weight: 700;
  line-height: 1.35;
  color: var(--c-text);
  margin: 0 0 .5rem;
  letter-spacing: -.01em;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.dpv6-story-card:hover .dpv6-story-content h3 {
  color: var(--c-navy-mid);
}

.dpv6-story-content p {
  font-size: .84rem;
  color: var(--c-text-2);
  line-height: 1.6;
  flex: 1;
  margin: 0 0 1rem;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.dpv6-story-cta {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  font-size: .8rem;
  font-weight: 600;
  color: var(--c-navy-mid) !important;
  text-decoration: none !important;
  margin-top: auto;
}
.dpv6-story-cta::after {
  content: '→';
  transition: transform var(--dur);
}
.dpv6-story-card:hover .dpv6-story-cta::after {
  transform: translateX(4px);
}

/* Feature card (horizontal) */
.dpv6-story-card--feature .dpv6-story-link {
  flex-direction: row;
}
.dpv6-story-card--feature .dpv6-story-media {
  width: 200px;
  aspect-ratio: auto;
  height: auto;
  flex-shrink: 0;
}

/* Grid layout */
.dpv6-story-grid--home {
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
}

/* ---- Buttons ---- */
.dpv6-btn {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: .88rem;
  border-radius: 8px;
  padding: .65rem 1.35rem;
  text-decoration: none !important;
  transition: background var(--dur), transform .12s, box-shadow var(--dur), color var(--dur);
  line-height: 1.4;
  cursor: pointer;
  border: none;
}
.dpv6-btn:active { transform: scale(.97); }

.dpv6-btn--primary {
  background: var(--c-orange);
  color: var(--c-navy) !important;
}
.dpv6-btn--primary:hover {
  background: var(--c-orange-dk);
  color: var(--c-navy) !important;
  box-shadow: 0 4px 14px rgba(245,158,11,.4);
}

.dpv6-btn--ghost {
  background: transparent;
  color: var(--c-text-2) !important;
  border: 1px solid var(--c-border-dk);
}
.dpv6-btn--ghost:hover {
  background: rgba(0,0,0,.03);
  color: var(--c-text) !important;
  border-color: var(--c-text-2);
}

/* ---- Final CTA ---- */
.dpv6-final-cta .dpv6-btn--ghost {
  border-color: rgba(255,255,255,.3);
  color: rgba(255,255,255,.8) !important;
}
.dpv6-final-cta .dpv6-btn--ghost:hover {
  background: rgba(255,255,255,.1);
  color: #fff !important;
  border-color: rgba(255,255,255,.5);
}

/* ---- Panel section ---- */
.dpv6-panel {
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--r-lg);
  padding: 2rem;
}
.dpv6-panel h2 {
  font-size: clamp(1.3rem, 2.5vw, 1.8rem);
  font-weight: 800;
  letter-spacing: -.03em;
  line-height: 1.25;
  margin-bottom: .75rem;
}
.dpv6-panel p { color: var(--c-text-2); font-size: .95rem; }

/* ---- Showcase surface cards ---- */
.dpv6-surface--feature .dpv6-story-card {
  box-shadow: none;
  border: none;
}
.dpv6-surface--feature .dpv6-story-card:hover {
  transform: none;
  box-shadow: none;
}

/* ---- Responsive ---- */
@media (max-width: 900px) {
  .dpv6-category-catalog {
    grid-template-columns: repeat(2, 1fr);
  }
  .dpv6-story-card--feature .dpv6-story-link {
    flex-direction: column;
  }
  .dpv6-story-card--feature .dpv6-story-media {
    width: 100%;
    aspect-ratio: 16/9;
  }
}
@media (max-width: 480px) {
  .dpv6-category-catalog {
    grid-template-columns: 1fr 1fr;
  }
  .dpv6-story-grid--home {
    grid-template-columns: 1fr;
  }
}

/* =========================================================
   V4 FOOTER / HEADER FIX
   ========================================================= */
.dp-nav-meta { display: none !important; }
.site-footer { display: none !important; }
.footer-disclosure {
  background: #1a2332 !important;
  color: #64748b !important;
  padding: 2.5rem 0 !important;
  font-size: .82rem !important;
  line-height: 1.7 !important;
  border-top: 1px solid rgba(255,255,255,.06);
}
.footer-disclosure .grid-container {
  max-width: min(1160px, calc(100% - 2.4rem)) !important;
  margin: 0 auto !important;
  padding: 0 1.2rem !important;
}
.footer-disclosure p { margin: 0 0 .6rem !important; color: #64748b !important; }
.footer-disclosure p:last-child { margin: 0 !important; }
.footer-disclosure strong { color: #94a3b8 !important; }
.footer-disclosure .footer-links { margin-top: .75rem !important; }
.footer-disclosure .footer-links a {
  color: #94a3b8 !important; text-decoration: none !important;
  font-weight: 500 !important; transition: color .18s !important;
}
.footer-disclosure .footer-links a:hover { color: #f59e0b !important; }
.dp-trust-strip {
  background: #fffbeb; border: 1px solid #fde68a;
  border-radius: 8px; padding: .75rem 1.1rem;
  font-size: .8rem; color: #78350f; margin: 0 0 1.5rem; line-height: 1.6;
}
.dp-trust-strip p { margin: .15rem 0 !important; }
.dp-trust-strip strong { color: #92400e; }
.product-card .card-media img {
  width: 100%; height: 200px; object-fit: contain;
  background: #f8fafc; padding: 12px;
}
.product-card .card-body { padding: 1rem 1.2rem 1.25rem; }
.product-card .card-title { font-size: .95rem; font-weight: 700; margin: 0 0 .5rem; color: #0f172a; line-height: 1.35; }
.product-card .product-meta { display: flex; align-items: center; gap: .4rem; margin: 0 0 .5rem; font-size: .8rem; color: #94a3b8; }
.product-card .stars { color: #f59e0b; letter-spacing: .05em; }
.product-card .price { font-size: 1.05rem; font-weight: 800; color: #0f172a; margin: 0 0 .9rem; }
.product-card .old-price { font-size: .8em; font-weight: 400; color: #94a3b8; text-decoration: line-through; margin-left: .4rem; }
.product-card .badge { display: inline-block; font-size: .68rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: #d97706; background: #fffbeb; border-radius: 4px; padding: .18rem .45rem; margin-bottom: .6rem; }
.product-card .btn-amazon, .product-card a.btn-amazon {
  display: flex; align-items: center; justify-content: center;
  background: #f59e0b; color: #1a2332 !important; font-weight: 700;
  font-size: .85rem; padding: .6rem 1rem; border-radius: 8px;
  text-decoration: none !important; transition: background .18s, transform .12s;
}
.product-card .btn-amazon:hover { background: #d97706; transform: translateY(-1px); }
.pros-cons { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin: 1.5rem 0; }
@media(max-width:520px){ .pros-cons { grid-template-columns: 1fr; } }
.pros-cons .pros { background: #f0fdf4; border: 1px solid #bbf7d0; border-radius: 10px; padding: 1.1rem 1.3rem; }
.pros-cons .cons { background: #fff1f2; border: 1px solid #fecdd3; border-radius: 10px; padding: 1.1rem 1.3rem; }
.pros-cons h4 { font-size: .75rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; margin: 0 0 .65rem; }
.pros-cons .pros h4 { color: #16a34a; }
.pros-cons .cons h4 { color: #dc2626; }
.pros-cons ul { list-style: none; padding: 0; margin: 0; }
.pros-cons li { font-size: .88rem; padding: .28rem 0; display: flex; align-items: flex-start; gap: .55rem; line-height: 1.5; }
.pros-cons .pros li::before { content: "✓"; color: #16a34a; font-weight: 800; flex-shrink: 0; }
.pros-cons .cons li::before { content: "✕"; color: #dc2626; font-weight: 800; flex-shrink: 0; }
.cta-box { background: #1a2332; border-radius: 14px; padding: 1.75rem 2rem; margin: 2rem 0; display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; flex-wrap: wrap; }
.cta-box h3 { font-size: 1rem; font-weight: 700; color: #fff; margin: 0 0 .25rem; }
.cta-box p { font-size: .85rem; color: #94a3b8; margin: 0; }
.cta-box .btn-amazon { background: #f59e0b; color: #1a2332 !important; font-weight: 700; font-size: .88rem; padding: .65rem 1.35rem; border-radius: 8px; text-decoration: none !important; white-space: nowrap; transition: background .18s, transform .12s; flex-shrink: 0; }
.cta-box .btn-amazon:hover { background: #d97706; transform: translateY(-1px); }
@media(max-width:640px){ .cta-box { flex-direction: column; align-items: flex-start; } }
.related-posts { margin: 2.5rem 0; padding: 1.5rem; background: #f8fafc; border: 1px solid #e2e8f0; border-radius: 12px; }
.related-posts h3 { font-size: .88rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: #94a3b8; margin: 0 0 .9rem; }
.related-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: .5rem; }
.related-list a { font-size: .9rem; font-weight: 500; color: #0f172a !important; text-decoration: none !important; display: flex; align-items: center; gap: .4rem; }
.related-list a::before { content: "→"; color: #f59e0b; flex-shrink: 0; }
.related-list a:hover { color: #d97706 !important; }

/* =========================================================
   DESKPICKR v4 — POLISH & INTERACTIONS
   ========================================================= */

/* ---- Page base ---- */
.dpv6-page { padding: 0; }
.dpv6-page > .dp-shell { padding-top: 1.75rem; padding-bottom: 5rem; }

/* ---- Breadcrumb ---- */
.dp-breadcrumbs {
  display: flex; align-items: center; gap: .35rem;
  flex-wrap: wrap; margin-bottom: 2.5rem;
}
.dp-breadcrumbs a {
  font-size: .78rem; color: #94a3b8 !important;
  font-weight: 500; text-decoration: none !important;
  transition: color .15s;
}
.dp-breadcrumbs a:hover { color: #f59e0b !important; }
.dp-breadcrumbs .sep { font-size: .78rem; color: #cbd5e1; }
.dp-breadcrumbs span:not(.sep) { font-size: .78rem; color: #64748b; font-weight: 500; }

/* =========================================================
   PAGE HERO — all variants
   ========================================================= */
.dpv6-page-hero {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 2.5rem;
  align-items: start;
  margin-bottom: 3.5rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid #e2e8f0;
}
.dpv6-page-hero--journal h1,
.dpv6-page-hero--static h1,
.dpv6-page-hero--archive h1 {
  font-size: clamp(1.7rem, 3.5vw, 2.8rem);
  font-weight: 800;
  letter-spacing: -.04em;
  line-height: 1.15;
  color: #0f172a;
  margin: 0 0 .9rem;
}
.dpv6-page-hero .dpv6-lead {
  font-size: .96rem; color: #475569; line-height: 1.75; margin: 0;
}

/* Chip row */
.dpv6-page-hero-aside {
  display: flex; flex-direction: column;
  gap: .5rem; align-items: flex-start;
  padding-top: .35rem; flex-shrink: 0;
}
.dpv6-page-hero-aside .dpv6-chip {
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
  color: #475569 !important;
  font-weight: 600;
  font-size: .78rem;
  padding: .35rem .9rem;
  border-radius: 99px;
  cursor: pointer;
  transition: background .15s, border-color .15s, color .15s, transform .12s;
}
.dpv6-page-hero-aside .dpv6-chip:hover {
  background: #1a2332;
  border-color: #1a2332;
  color: #fff !important;
  transform: translateY(-1px);
}
.dpv6-page-hero-aside .dpv6-chip.active {
  background: #f59e0b;
  border-color: #f59e0b;
  color: #1a2332 !important;
  font-weight: 700;
}

/* Hero archive — 2col with featured card */
.dpv6-page-hero--archive {
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}
.dpv6-hero-feature-card .dpv6-story-card { margin: 0; }

@media(max-width:768px) {
  .dpv6-page-hero { grid-template-columns: 1fr; gap: 1.5rem; }
  .dpv6-page-hero--archive { grid-template-columns: 1fr; }
  .dpv6-page-hero-aside { flex-direction: row; flex-wrap: wrap; }
}

/* =========================================================
   FEATURE SPLIT — blog homepage
   ========================================================= */
.dpv6-feature-split {
  display: grid;
  grid-template-columns: 3fr 2fr;
  gap: 1.25rem;
  margin-bottom: 3rem;
}
.dpv6-feature-side {
  display: flex; flex-direction: column; gap: 1.25rem;
}

/* Feature card — big */
.dpv6-story-card--feature { min-height: 300px; }
.dpv6-story-card--feature .dpv6-story-link { flex-direction: column; }
.dpv6-story-card--feature .dpv6-story-media {
  aspect-ratio: 16/9; width: 100%; height: auto; flex-shrink: 0;
}
.dpv6-story-card--feature .dpv6-story-content h3 { font-size: 1.15rem; }

/* Compact card */
.dpv6-story-card--compact { flex-direction: row; }
.dpv6-story-card--compact .dpv6-story-link { flex-direction: row; }
.dpv6-story-card--compact .dpv6-story-media {
  width: 120px; flex-shrink: 0; aspect-ratio: 1/1;
}
.dpv6-story-card--compact .dpv6-story-content h3 { font-size: .88rem; -webkit-line-clamp: 2; }
.dpv6-story-card--compact .dpv6-story-content p { display: none; }
.dpv6-story-card--compact .dpv6-story-cta { font-size: .76rem; }

@media(max-width:900px) {
  .dpv6-feature-split { grid-template-columns: 1fr; }
  .dpv6-story-card--feature .dpv6-story-link { flex-direction: column; }
}

/* =========================================================
   STORY GRID — archive
   ========================================================= */
.dpv6-story-grid--archive {
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-bottom: 3rem;
}
@media(max-width:1024px) { .dpv6-story-grid--archive { grid-template-columns: repeat(2,1fr); } }
@media(max-width:600px)  { .dpv6-story-grid--archive { grid-template-columns: 1fr; } }

/* =========================================================
   STORY CARD — deeper hover polish
   ========================================================= */
.dpv6-story-card {
  will-change: transform, box-shadow;
  cursor: pointer;
}
.dpv6-story-card .dpv6-story-media {
  position: relative; overflow: hidden;
}
.dpv6-story-card .dpv6-story-media::after {
  content: '';
  position: absolute; inset: 0;
  background: rgba(15,23,42,0);
  transition: background .25s;
  pointer-events: none;
}
.dpv6-story-card:hover .dpv6-story-media::after {
  background: rgba(15,23,42,.06);
}
.dpv6-story-card .dpv6-story-media img {
  transition: transform .4s cubic-bezier(.4,0,.2,1);
  will-change: transform;
}
.dpv6-story-card:hover .dpv6-story-media img { transform: scale(1.05); }

/* Read time badge */
.dpv6-story-meta .read-time::before { content: '·'; margin-right: .35rem; }

/* =========================================================
   PAGINATION
   ========================================================= */
.dpv6-pagination { margin-top: 1rem; }
.dpv6-pagination .nav-links {
  display: flex; align-items: center;
  justify-content: center; gap: .4rem;
  flex-wrap: wrap;
}
.dpv6-pagination .page-numbers {
  display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px;
  border-radius: 8px;
  font-size: .85rem; font-weight: 600;
  color: #475569 !important; text-decoration: none !important;
  border: 1px solid #e2e8f0;
  background: #fff;
  transition: background .15s, border-color .15s, color .15s, transform .12s;
}
.dpv6-pagination .page-numbers:hover {
  background: #1a2332; border-color: #1a2332;
  color: #fff !important; transform: translateY(-1px);
}
.dpv6-pagination .page-numbers.current {
  background: #f59e0b; border-color: #f59e0b;
  color: #1a2332 !important; font-weight: 700;
}
.dpv6-pagination .prev, .dpv6-pagination .next {
  width: auto; padding: 0 1rem; font-size: .82rem;
}
.dpv6-pagination .dots { border: none; background: none; cursor: default; }

/* =========================================================
   STATIC PAGES — À propos, Contact, Mentions légales
   ========================================================= */
.dpv6-page-body { padding-top: .5rem; }

.dpv6-about-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 1.25rem; margin-bottom: 2rem;
}
@media(max-width:768px) { .dpv6-about-grid { grid-template-columns: 1fr; } }

.dpv6-principles {
  display: grid; grid-template-columns: repeat(3,1fr);
  gap: 1.25rem; margin-bottom: 2rem;
}
@media(max-width:768px) { .dpv6-principles { grid-template-columns: 1fr; } }

.dpv6-panel {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 1.75rem 2rem;
  transition: box-shadow .18s, transform .18s, border-color .18s;
}
.dpv6-panel:hover {
  box-shadow: 0 6px 24px rgba(0,0,0,.07);
  transform: translateY(-2px);
  border-color: #cbd5e1;
}
.dpv6-panel h2 { font-size: 1.1rem; font-weight: 700; margin: 0 0 .75rem; letter-spacing: -.02em; }
.dpv6-panel h3 { font-size: 1rem; font-weight: 700; margin: 0 0 .6rem; letter-spacing: -.01em; }
.dpv6-panel p { font-size: .9rem; color: #475569; line-height: 1.7; margin: 0 0 .6rem; }
.dpv6-panel p:last-child { margin: 0; }
.dpv6-panel a { color: #1a2332 !important; text-decoration: underline; text-underline-offset: 3px; }
.dpv6-panel a:hover { color: #f59e0b !important; }

.dpv6-about-manifesto { grid-column: span 2; }
@media(max-width:768px) { .dpv6-about-manifesto { grid-column: span 1; } }
.dpv6-about-manifesto h2 { font-size: clamp(1.3rem, 2.5vw, 1.75rem); letter-spacing: -.03em; line-height: 1.25; margin-bottom: .75rem; }

.dpv6-about-cta { text-align: center; background: #f8fafc; }

.dpv6-legal-grid {
  display: grid; grid-template-columns: repeat(2,1fr);
  gap: 1.25rem;
}
@media(max-width:768px) { .dpv6-legal-grid { grid-template-columns: 1fr; } }

/* Contact form */
.dpv6-contact-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 2rem; align-items: start;
}
@media(max-width:768px) { .dpv6-contact-grid { grid-template-columns: 1fr; } }

.dpv6-contact-info { padding: 1.75rem 2rem; }
.dpv6-contact-info h2 { font-size: 1.2rem; font-weight: 700; margin: 0 0 .5rem; }
.dpv6-contact-info p { font-size: .9rem; color: #475569; line-height: 1.7; }

.dpv6-form-panel { padding: 2rem; }

.dp-contact-form { display: flex; flex-direction: column; gap: 1rem; margin-top: 1rem; }
.dp-contact-form label {
  display: flex; flex-direction: column; gap: .4rem;
  font-size: .85rem; font-weight: 600; color: #0f172a;
}
.dp-contact-form input,
.dp-contact-form textarea {
  padding: .65rem .9rem;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  font-size: .9rem;
  font-family: 'Inter', sans-serif;
  color: #0f172a;
  background: #f8fafc;
  transition: border-color .15s, box-shadow .15s, background .15s;
  outline: none;
  resize: vertical;
}
.dp-contact-form input:focus,
.dp-contact-form textarea:focus {
  border-color: #f59e0b;
  background: #fff;
  box-shadow: 0 0 0 3px rgba(245,158,11,.15);
}
.dp-contact-form button.dp-btn { margin-top: .25rem; }
.dp-form-notice { padding: .75rem 1rem; border-radius: 8px; font-size: .88rem; margin-bottom: 1rem; }
.dp-form-notice--success { background: #f0fdf4; color: #16a34a; border: 1px solid #bbf7d0; }
.dp-form-notice--error   { background: #fff1f2; color: #dc2626; border: 1px solid #fecdd3; }

/* Sitemap */
.dpv6-sitemap-grid { display: grid; grid-template-columns: 1fr 2fr; gap: 1.5rem; }
@media(max-width:768px) { .dpv6-sitemap-grid { grid-template-columns: 1fr; } }
.dpv6-sitemap-list { list-style: none; padding: 0; margin: .75rem 0 0; display: flex; flex-direction: column; gap: .35rem; }
.dpv6-sitemap-list li { display: flex; align-items: center; justify-content: space-between; }
.dpv6-sitemap-list a { font-size: .88rem; color: #0f172a !important; text-decoration: none !important; font-weight: 500; }
.dpv6-sitemap-list a:hover { color: #f59e0b !important; }
.dpv6-sitemap-list span { font-size: .75rem; color: #94a3b8; font-weight: 600; }

/* =========================================================
   VALUE STACK (homepage / about)
   ========================================================= */
.dpv6-value-stack { display: flex; flex-direction: column; gap: .85rem; }
.dpv6-mini-card {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 1.25rem 1.4rem;
  transition: box-shadow .18s, border-color .18s, transform .18s;
  cursor: default;
}
.dpv6-mini-card:hover {
  box-shadow: 0 4px 16px rgba(0,0,0,.07);
  border-color: #cbd5e1;
  transform: translateX(3px);
}
.dpv6-mini-card h3 { font-size: .92rem; font-weight: 700; margin: 0 0 .3rem; }
.dpv6-mini-card p { font-size: .84rem; color: #475569; line-height: 1.6; margin: 0; }

/* =========================================================
   ARTICLE SINGLE — prose improvements
   ========================================================= */
.dpv6-article-prose { font-size: 1.01rem; }
.dpv6-article-prose h2 { scroll-margin-top: 80px; }
.dpv6-article-prose h3 { scroll-margin-top: 80px; }

/* Inline link hover underline animation */
.dpv6-article-prose a {
  color: #1a2332 !important;
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: rgba(245,158,11,.4);
  transition: text-decoration-color .18s, color .18s;
}
.dpv6-article-prose a:hover {
  color: #d97706 !important;
  text-decoration-color: #f59e0b;
}

/* =========================================================
   STAGGER REVEAL — JS adds .dp-stagger-item
   ========================================================= */
.dp-stagger-item {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .5s ease, transform .5s ease;
}
.dp-stagger-item.dp-in { opacity: 1; transform: translateY(0); }

/* Image blur-to-clear on load */
.dp-img-loading { filter: blur(8px) saturate(.5); transition: filter .4s ease; }
.dp-img-loaded  { filter: blur(0) saturate(1); }

/* =========================================================
   NAV — mobile menu button
   ========================================================= */
#site-navigation .menu-toggle {
  display: none;
  margin-left: auto;
}
@media(max-width:768px) {
  #site-navigation .menu-toggle { display: flex; }
  #site-navigation .main-nav { display: none; }
  #site-navigation .main-nav.open {
    display: block;
    position: absolute;
    top: 61px; left: 0; right: 0;
    background: rgba(255,255,255,.98);
    border-bottom: 1px solid #e2e8f0;
    box-shadow: 0 8px 24px rgba(0,0,0,.08);
    padding: .75rem 1.2rem 1rem;
    z-index: 99;
    animation: menuSlideIn .2s ease;
  }
  #site-navigation .main-nav.open ul { flex-direction: column; gap: .15rem; }
  #site-navigation .main-nav.open ul li a {
    padding: .55rem .75rem !important;
    font-size: .9rem !important;
  }
  @keyframes menuSlideIn {
    from { opacity: 0; transform: translateY(-8px); }
    to   { opacity: 1; transform: translateY(0); }
  }
}

/* =========================================================
   MARQUEE NAV — dark band below hero
   ========================================================= */
.dpv6-marquee { overflow: hidden; }
.dpv6-marquee-track {
  display: flex; align-items: center;
  gap: .55rem; flex-wrap: nowrap;
  overflow-x: auto;
  scrollbar-width: none; -ms-overflow-style: none;
  padding: 0 1.2rem;
}
.dpv6-marquee-track::-webkit-scrollbar { display: none; }

/* =========================================================
   SECTION DIVIDERS
   ========================================================= */
.dpv6-section { border-top: 1px solid #e2e8f0; }
.dpv6-section:first-child { border-top: none; }

/* =========================================================
   HOMEPAGE — final CTA
   ========================================================= */
.dpv6-final-cta {
  border-radius: 20px;
  overflow: hidden;
  position: relative;
}
.dpv6-final-cta::before {
  content: '';
  position: absolute;
  top: -60%; right: -10%;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(245,158,11,.15) 0%, transparent 70%);
  pointer-events: none;
}

/* =========================================================
   SCROLL PROGRESS + BACK TO TOP
   ========================================================= */
#dp-back-to-top {
  border-radius: 10px;
  font-size: .9rem;
  font-weight: 700;
  letter-spacing: .02em;
}

/* =========================================================
   CATEGORY TILE — no-image fallback style
   ========================================================= */
.dpv6-category-index {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  font-size: 3rem; font-weight: 900;
  color: rgba(255,255,255,.12);
  letter-spacing: -.05em;
}

/* =========================================================
   FOCUS RING — accessibility
   ========================================================= */
a:focus-visible, button:focus-visible {
  outline: 2px solid #f59e0b;
  outline-offset: 3px;
  border-radius: 4px;
}


/* ---- STAGGER FIX: only hide with js-loaded class ---- */
.dp-stagger-item { opacity: 1; transform: none; }
.js-loaded .dp-stagger-item { opacity: 0; transform: translateY(20px); transition: opacity .5s ease, transform .5s ease; }
.js-loaded .dp-stagger-item.dp-in { opacity: 1; transform: translateY(0); }
