/* =========================================================================
   RÉUSSIR SON MARIAGE — Design System: Cultural African Safari (07)
   Palette beige / ocre brûlé, fonts Crimson Pro (titres) + Karla (corps)
   Hero: split-50-50  /  Header: logo-center-menu-split  /  Cat: single-bottom
   Mega menu: layout B (grid 3 cols) — hash MD5(domain) % 5 = 3
   ========================================================================= */

:root {
  --d5f-primary:   #5A4530;
  --d5f-accent:    #C2853A;
  --d5f-bg:        #F0E5C8;
  --d5f-surface:   #F8EFD8;
  --d5f-text:      #2A1A0F;
  --d5f-text-soft: #7A6550;
  --d5f-line:      #D5C095;
  --d5f-white:     #FFFEFA;
  --d5f-shadow:    0 4px 24px rgba(90, 69, 48, 0.08);
  --d5f-shadow-lg: 0 8px 36px rgba(90, 69, 48, 0.15);
  --d5f-font-headings: 'Crimson Pro', Georgia, serif;
  --d5f-font-body:     'Karla', 'Helvetica Neue', Arial, sans-serif;
  --d5f-radius:    8px;
  --d5f-container: 1240px;
}

/* === RESET LIGHT =========================================================== */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--d5f-font-body);
  font-size: 17px;
  line-height: 1.65;
  color: var(--d5f-text);
  background: var(--d5f-bg);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--d5f-primary); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; transition: color .2s; }
a:hover { color: var(--d5f-accent); }

h1, h2, h3, h4, h5, h6 {
  font-family: var(--d5f-font-headings);
  color: var(--d5f-primary);
  font-weight: 600;
  letter-spacing: -0.005em;
  margin: 0 0 .8rem;
  line-height: 1.2;
}
h1 { font-size: clamp(2rem, 4.5vw, 3.4rem); }
h2 { font-size: clamp(1.55rem, 2.8vw, 2.25rem); }
h3 { font-size: clamp(1.25rem, 2vw, 1.55rem); }
p  { margin: 0 0 1.1rem; }

.d5f-container { max-width: var(--d5f-container); margin: 0 auto; padding: 0 1.5rem; }
main, .d5f-main { padding-top: 0 !important; margin-top: 0 !important; }

/* === BOUTONS =============================================================== */
.d5f-btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: .9rem 1.6rem; font-family: var(--d5f-font-body); font-weight: 600;
  font-size: .95rem; letter-spacing: .02em; text-decoration: none;
  border-radius: var(--d5f-radius); border: 1.5px solid transparent;
  cursor: pointer; transition: all .25s;
}
.d5f-btn--primary {
  background: var(--d5f-primary); color: #fff; border-color: var(--d5f-primary);
}
.d5f-btn--primary:hover { background: var(--d5f-accent); border-color: var(--d5f-accent); color: #fff; }
.d5f-btn--ghost {
  background: transparent; color: var(--d5f-primary); border-color: var(--d5f-primary);
}
.d5f-btn--ghost:hover { background: var(--d5f-primary); color: #fff; }
.d5f-btn--cta {
  background: var(--d5f-accent); color: #fff; border-color: var(--d5f-accent);
  padding: .7rem 1.25rem; font-size: .9rem;
}
.d5f-btn--cta:hover { background: var(--d5f-primary); border-color: var(--d5f-primary); color: #fff; }

/* === HEADER (logo-center-menu-split) ====================================== */
.d5f-header {
  background: var(--d5f-surface);
  border-bottom: 1px solid var(--d5f-line);
  position: sticky; top: 0; z-index: 100;
  backdrop-filter: blur(8px);
}
.d5f-header-inner {
  max-width: var(--d5f-container); margin: 0 auto;
  display: flex; align-items: center; justify-content: center;
  gap: 2rem; padding: .85rem 1.5rem;
  position: relative;
}
.d5f-nav-left, .d5f-nav-right {
  display: flex; align-items: center; gap: 1.5rem; list-style: none;
  margin: 0; padding: 0;
}
.d5f-nav-left a, .d5f-nav-right a {
  font-family: var(--d5f-font-body); font-weight: 500; font-size: .92rem;
  color: var(--d5f-text); text-decoration: none; padding: .35rem .2rem;
  border-bottom: 2px solid transparent; transition: border-color .2s;
  text-transform: uppercase; letter-spacing: .06em;
}
.d5f-nav-left a:hover, .d5f-nav-right a:hover { border-bottom-color: var(--d5f-accent); color: var(--d5f-primary); }
.d5f-brand {
  display: flex; flex-direction: column; align-items: center;
  text-decoration: none; flex-shrink: 0;
}
.d5f-brand-link { display: block; }
.d5f-brand-logo { display: block; width: auto; }
.d5f-brand-name {
  font-family: var(--d5f-font-headings); font-size: 1.45rem;
  color: var(--d5f-primary); font-weight: 700;
  text-transform: uppercase; letter-spacing: .08em;
  margin: .3rem 0 0;
}
.d5f-header-cta-desktop {
  position: absolute; right: 1.5rem;
  top: 50%; transform: translate(0, calc(-50% + 8px));
}

/* Burger mobile (caché desktop) */
.d5f-burger {
  display: none;
  width: 42px; height: 42px;
  align-items: center; justify-content: center;
  background: rgba(255,255,255,0.92);
  border: 1.5px solid rgba(0,0,0,0.15);
  border-radius: 8px;
  cursor: pointer; padding: 8px;
  z-index: 10000;
  position: absolute; right: 1.2rem; top: 50%; transform: translateY(-50%);
}
.d5f-burger-bars {
  display: flex; flex-direction: column; gap: 4px;
  width: 24px; height: 16px;
}
.d5f-burger-bars span {
  display: block; height: 2.5px; background: var(--d5f-primary); border-radius: 2px;
}

/* Drawer mobile = caché par défaut */
.d5f-nav-mobile { display: none; }

@media (max-width: 1023px) {
  .d5f-nav-left, .d5f-nav-right { display: none; }
  .d5f-burger {
    display: inline-flex !important;
    width: 42px !important; height: 42px !important;
    min-width: 42px !important; min-height: 42px !important;
    flex-shrink: 0 !important;
  }
  .d5f-header-cta-desktop { display: none !important; }
  .d5f-header-inner { justify-content: flex-start; padding-right: 70px; }

  .d5f-nav-mobile.is-open {
    display: flex !important; flex-direction: column;
    position: fixed; top: 0; right: 0; bottom: 0;
    width: 86%; max-width: 380px;
    background: var(--d5f-white);
    padding: 5rem 0 1.5rem;
    z-index: 9999; overflow-y: auto;
    box-shadow: -10px 0 30px rgba(0,0,0,0.3);
    animation: d5f-drawer-in .28s cubic-bezier(.22,1,.36,1);
  }
  .d5f-nav-mobile-list {
    list-style: none; margin: 0; padding: 0; flex: 1;
  }
  .d5f-nav-mobile-list li { border-bottom: 1px solid var(--d5f-line); }
  .d5f-nav-mobile-list a {
    display: block; padding: 1.1rem 1.5rem;
    color: var(--d5f-text); text-decoration: none;
    font-weight: 600; font-size: 1.02rem;
    text-transform: uppercase; letter-spacing: .06em;
  }
  .d5f-nav-mobile-list a:hover { background: var(--d5f-surface); color: var(--d5f-primary); }
  .d5f-drawer-cta {
    display: block !important;
    margin: 2rem 1.5rem 0 !important;
    padding: 1rem 1.5rem !important;
    text-align: center !important;
    background: var(--d5f-accent) !important;
    color: #fff !important;
    border-radius: 8px !important;
    font-weight: 600 !important;
    text-decoration: none !important;
    font-size: 1.05rem !important;
  }
  .d5f-nav-mobile-close {
    position: absolute; top: 1rem; right: 1rem;
    width: 40px; height: 40px;
    background: transparent; border: 0;
    font-size: 1.6rem; cursor: pointer; color: var(--d5f-primary);
  }
  .d5f-overlay {
    position: fixed; inset: 0; background: rgba(42,26,15,0.6);
    z-index: 9998; opacity: 0; pointer-events: none; transition: opacity .25s;
  }
  .d5f-overlay.is-open { opacity: 1; pointer-events: auto; }
}
@media (min-width: 1024px) {
  .d5f-drawer-cta { display: none !important; }
  .d5f-burger { display: none !important; }
}

@keyframes d5f-drawer-in {
  from { transform: translateX(100%); }
  to   { transform: translateX(0); }
}

/* === HERO (split-50-50) =================================================== */
.d5f-hero {
  position: relative; overflow: hidden;
  background: var(--d5f-surface);
  border-bottom: 1px solid var(--d5f-line);
}
.d5f-hero-inner {
  max-width: var(--d5f-container); margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 0; min-height: 540px;
}
.d5f-hero-text {
  padding: 4rem 2.5rem; display: flex; flex-direction: column;
  justify-content: center;
}
.d5f-hero-eyebrow {
  font-family: var(--d5f-font-body); font-size: .82rem; font-weight: 600;
  letter-spacing: .15em; text-transform: uppercase; color: var(--d5f-accent);
  margin-bottom: 1rem;
}
.d5f-hero-title {
  font-size: clamp(2.2rem, 4.5vw, 3.5rem); line-height: 1.1;
  color: var(--d5f-primary); margin-bottom: 1.2rem;
}
.d5f-hero-subtitle {
  font-size: 1.1rem; line-height: 1.6; color: var(--d5f-text-soft);
  margin-bottom: 1.8rem; max-width: 480px;
}
.d5f-hero-ctas { display: flex; gap: .85rem; flex-wrap: wrap; }
.d5f-hero-media {
  position: relative; overflow: hidden;
  background: var(--d5f-line);
  min-height: 540px;
}
.d5f-hero-bg, .d5f-hero-img {
  position: absolute; inset: 0;
  width: 100%; height: 100%; object-fit: cover;
}

/* Vidéo YouTube hero */
.d5f-hero--has-video .d5f-hero-media { background: #000; }
.d5f-hero-video-wrap {
  position: absolute; inset: 0; pointer-events: none; overflow: hidden;
}
.d5f-hero-video,
.d5f-hero-video-wrap > iframe {
  position: absolute; top: 50%; left: 50%;
  width: 100vw; height: 56.25vw;
  min-height: 100%; min-width: 177.78vh;
  transform: translate(-50%, -50%); border: 0;
  pointer-events: none;
}
.d5f-hero-video-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(90, 69, 48, 0.25) 0%, rgba(42, 26, 15, 0.55) 100%);
}
.d5f-hero--has-video .d5f-hero-media {
  position: relative;
}

@media (max-width: 900px) {
  .d5f-hero-inner { grid-template-columns: 1fr; min-height: auto; }
  .d5f-hero-text { padding: 2.8rem 1.5rem; order: 2; }
  .d5f-hero-media { min-height: 320px; order: 1; }
}

/* === SECTIONS ============================================================== */
.d5f-section { padding: 4rem 0; }
.d5f-section-header { text-align: center; margin-bottom: 2.5rem; }
.d5f-section-eyebrow {
  font-family: var(--d5f-font-body); font-size: .82rem; font-weight: 600;
  letter-spacing: .18em; text-transform: uppercase; color: var(--d5f-accent);
  display: block; margin-bottom: .7rem;
}
.d5f-section-title { font-size: clamp(1.8rem, 3.5vw, 2.6rem); margin-bottom: .5rem; }
.d5f-section-lede {
  font-size: 1.05rem; color: var(--d5f-text-soft); max-width: 640px;
  margin: 0 auto;
}

/* === BLOC ÉDITORIAL SEO (after-categories, 400-700 mots) =================== */
.d5f-editorial {
  background: var(--d5f-surface);
  padding: 4.5rem 0;
  border-top: 1px solid var(--d5f-line);
  border-bottom: 1px solid var(--d5f-line);
}
.d5f-editorial-inner {
  max-width: 880px; margin: 0 auto; padding: 0 1.5rem;
}
.d5f-editorial h2 {
  font-size: clamp(1.7rem, 3vw, 2.3rem);
  text-align: center; margin-bottom: 1.5rem;
}
.d5f-editorial h3 {
  margin-top: 2.2rem; font-size: 1.35rem;
  border-bottom: 1px solid var(--d5f-line); padding-bottom: .5rem;
}
.d5f-editorial p { font-size: 1.05rem; line-height: 1.75; color: var(--d5f-text); }
.d5f-editorial-quote {
  background: var(--d5f-bg); border-left: 4px solid var(--d5f-accent);
  padding: 1.3rem 1.5rem; margin: 2rem 0; border-radius: 0 8px 8px 0;
  font-family: var(--d5f-font-headings); font-style: italic;
  font-size: 1.1rem; color: var(--d5f-primary);
}
.d5f-editorial-quote-author {
  display: block; margin-top: .5rem;
  font-family: var(--d5f-font-body); font-size: .85rem;
  font-style: normal; color: var(--d5f-text-soft);
  letter-spacing: .05em; text-transform: uppercase;
}

/* === CATÉGORIES GRID ====================================================== */
.d5f-categories {
  padding: 4rem 0; background: var(--d5f-bg);
}
.d5f-categories-grid {
  max-width: var(--d5f-container); margin: 0 auto;
  padding: 0 1.5rem;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem;
}
.d5f-cat-card {
  position: relative; display: block;
  background: var(--d5f-surface); border: 1px solid var(--d5f-line);
  border-radius: var(--d5f-radius); overflow: hidden;
  text-decoration: none; color: var(--d5f-text);
  transition: transform .3s, box-shadow .3s;
  aspect-ratio: 4/3;
}
.d5f-cat-card:hover { transform: translateY(-4px); box-shadow: var(--d5f-shadow-lg); }
.d5f-cat-card-img {
  display: block; width: 100%; height: 70%;
  background-size: cover; background-position: center;
  background-color: var(--d5f-primary);
}
.d5f-cat-card-body {
  padding: .9rem 1rem;
  background: var(--d5f-surface);
}
.d5f-cat-card-title {
  font-family: var(--d5f-font-headings); font-size: 1.15rem; font-weight: 600;
  color: var(--d5f-primary); margin: 0;
}

@media (max-width: 1023px) {
  .d5f-categories-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 720px) {
  .d5f-categories-grid { grid-template-columns: repeat(2, 1fr); gap: 1rem; }
}

/* === DERNIERS ARTICLES GRID ============================================== */
.d5f-latest-section { padding: 4rem 0; background: var(--d5f-surface); }
.d5f-latest-grid {
  max-width: var(--d5f-container); margin: 0 auto;
  padding: 0 1.5rem;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem;
}
.d5f-card {
  background: var(--d5f-white); border: 1px solid var(--d5f-line);
  border-radius: var(--d5f-radius); overflow: hidden;
  display: flex; flex-direction: column;
  transition: transform .3s, box-shadow .3s;
}
.d5f-card:hover { transform: translateY(-3px); box-shadow: var(--d5f-shadow-lg); }
.d5f-card-img {
  width: 100%; aspect-ratio: 16/10;
  background: var(--d5f-line); display: block;
  object-fit: cover;
}
.d5f-card-img-fallback {
  width: 100%; aspect-ratio: 16/10;
  background: linear-gradient(135deg, var(--d5f-primary) 0%, var(--d5f-accent) 100%);
}
.d5f-card-body { padding: 1.25rem 1.4rem 1.5rem; display: flex; flex-direction: column; flex: 1; }
.d5f-card-cat {
  font-size: .76rem; font-weight: 600; color: var(--d5f-accent);
  text-transform: uppercase; letter-spacing: .1em; margin-bottom: .55rem;
}
.d5f-card-title {
  font-family: var(--d5f-font-headings); font-size: 1.25rem; line-height: 1.3;
  margin: 0 0 .65rem; color: var(--d5f-primary);
}
.d5f-card-title a { color: inherit; text-decoration: none; }
.d5f-card-title a:hover { color: var(--d5f-accent); }
.d5f-card-excerpt { font-size: .95rem; color: var(--d5f-text-soft); flex: 1; margin-bottom: .9rem; line-height: 1.55; }
.d5f-card-meta { font-size: .8rem; color: var(--d5f-text-soft); }
.d5f-card-meta time { font-weight: 500; }

@media (max-width: 1023px) {
  .d5f-latest-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .d5f-latest-grid { grid-template-columns: 1fr; }
}

/* === OUTIL EMBED HOME ===================================================== */
.d5f-tool-home-section {
  padding: 5rem 0; background: var(--d5f-bg);
}
.d5f-tool-home-inner {
  max-width: 880px; margin: 0 auto; padding: 0 1.5rem;
}
.d5f-tool-home-intro {
  text-align: center; margin-bottom: 2rem; font-size: 1.05rem;
  color: var(--d5f-text-soft);
}

/* === METRICS LINKS (placeholder bloc) ==================================== */
.d5f-metrics-links { padding: 3rem 0; background: var(--d5f-surface); }
.d5f-metrics-links-inner {
  max-width: var(--d5f-container); margin: 0 auto; padding: 0 1.5rem;
  text-align: center;
}
.d5f-metrics-links ul {
  display: flex; flex-wrap: wrap; justify-content: center;
  list-style: none; padding: 0; margin: 1rem 0 0; gap: 1.5rem;
}
.d5f-metrics-links a {
  font-size: .9rem; color: var(--d5f-text-soft); text-decoration: none;
  padding: .3rem .8rem; border: 1px solid var(--d5f-line); border-radius: 999px;
}
.d5f-metrics-links a:hover { color: var(--d5f-primary); border-color: var(--d5f-accent); }

/* === FOOTER ============================================================== */
.d5f-footer {
  background: #2A1A0F; color: #F0E5C8; padding: 3.8rem 0 1.5rem;
}
.d5f-footer a { color: #F0E5C8; }
.d5f-footer a:hover { color: #C2853A; }
.d5f-footer-grid {
  max-width: var(--d5f-container); margin: 0 auto; padding: 0 1.5rem;
  display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 2.5rem;
}
.d5f-footer-col {}
.d5f-footer-logo {
  display: block; height: auto; max-width: 160px; margin-bottom: 1rem;
  filter: brightness(0) invert(1) brightness(.95);
}
.d5f-footer-brand-pitch {
  font-size: .92rem; color: #D5C095; line-height: 1.65; margin-bottom: 1.25rem;
}
.d5f-footer-brand-cta {
  display: inline-block; padding: .55rem 1.1rem; border: 1.5px solid #C2853A;
  border-radius: 6px; color: #F0E5C8; text-decoration: none;
  font-weight: 600; font-size: .85rem; transition: all .2s;
}
.d5f-footer-brand-cta:hover { background: #C2853A; color: #2A1A0F; }
.d5f-footer-title {
  font-family: var(--d5f-font-headings); font-size: 1.05rem; color: #F0E5C8;
  margin: 0 0 1rem; letter-spacing: .04em; text-transform: uppercase;
  font-weight: 600;
}
.d5f-footer-links { list-style: none; padding: 0; margin: 0; }
.d5f-footer-links li { margin-bottom: .55rem; }
.d5f-footer-links a {
  font-size: .92rem; color: #F0E5C8; text-decoration: underline;
  text-underline-offset: 3px; text-decoration-thickness: 1px;
}
.d5f-footer-social { display: flex; gap: .8rem; margin-top: 1rem; }
.d5f-footer-social a {
  width: 36px; height: 36px; display: inline-flex;
  align-items: center; justify-content: center;
  border: 1px solid #5A4530; border-radius: 50%;
  text-decoration: none;
}
.d5f-footer-social a:hover { background: #C2853A; border-color: #C2853A; }
.d5f-footer-bottom {
  max-width: var(--d5f-container); margin: 2.5rem auto 0; padding: 1.5rem;
  border-top: 1px solid #5A4530;
  display: flex; justify-content: space-between; align-items: center;
  gap: 1.5rem; flex-wrap: wrap;
  font-size: .85rem; color: #D5C095;
}
.d5f-footer-bottom-links { display: flex; gap: 1.5rem; flex-wrap: wrap; }

@media (max-width: 980px) {
  .d5f-footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
}
@media (max-width: 580px) {
  .d5f-footer-grid { grid-template-columns: 1fr; }
  .d5f-footer-bottom { flex-direction: column; text-align: center; }
}

/* === PERSONA PHOTO (page à propos) ======================================= */
.d5f-persona-photo {
  display: block; max-width: 320px; width: 100%;
  border-radius: 12px; margin: 2rem auto;
  box-shadow: var(--d5f-shadow-lg);
}

/* === PAGE CATÉGORIE ====================================================== */
.d5f-cat-hero {
  position: relative; height: 320px; max-height: 350px; overflow: hidden;
  background: var(--d5f-primary);
}
.d5f-cat-hero-bg {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; z-index: 1;
}
.d5f-cat-hero-inner {
  position: relative; z-index: 2; height: 100%;
  display: flex; flex-direction: column; justify-content: flex-end;
  max-width: var(--d5f-container); margin: 0 auto; padding: 2rem 1.5rem;
  background: linear-gradient(180deg, transparent 30%, rgba(0,0,0,0.75) 100%);
  color: #fff;
}
.d5f-cat-hero-title {
  color: #fff; text-shadow: 0 2px 14px rgba(0,0,0,0.7); margin: 0;
}
.d5f-cat-content {
  max-width: 880px; margin: 0 auto; padding: 3rem 1.5rem;
}
.d5f-cat-content p { font-size: 1.05rem; line-height: 1.75; }

/* === PAGE OUTILS ========================================================= */
.d5f-tool-page-header {
  background: var(--d5f-surface); padding: 3rem 0 2rem;
  border-bottom: 1px solid var(--d5f-line);
}
.d5f-tool-page-header-inner {
  max-width: 880px; margin: 0 auto; padding: 0 1.5rem; text-align: center;
}
.d5f-tool-page-body {
  max-width: 880px; margin: 3rem auto; padding: 0 1.5rem;
}
.d5f-tool-faq { margin-top: 3rem; }
.d5f-tool-faq details {
  background: var(--d5f-surface); border: 1px solid var(--d5f-line);
  border-radius: var(--d5f-radius); padding: 1rem 1.25rem; margin-bottom: .65rem;
}
.d5f-tool-faq summary {
  cursor: pointer; font-weight: 600; color: var(--d5f-primary);
  font-family: var(--d5f-font-headings); font-size: 1.1rem;
}
.d5f-tool-faq details[open] summary { margin-bottom: .8rem; }
.d5f-tool-faq details p { margin: 0; color: var(--d5f-text); }

/* === FORMULAIRE CONTACT ================================================== */
.d5f-contact-form {
  margin-top: 2.5rem;
  background: var(--d5f-surface); border: 1px solid var(--d5f-line);
  border-radius: var(--d5f-radius); padding: 1.5rem;
}

/* === ANIMATIONS ========================================================== */
@keyframes d5f-ripple {
  0%   { transform: translate(-50%, -50%) scale(0); opacity: 0.6; }
  100% { transform: translate(-50%, -50%) scale(2.5); opacity: 0; }
}
.d5f-btn--cta { position: relative; overflow: hidden; }
.d5f-btn--cta::after {
  content: ""; position: absolute; left: 50%; top: 50%;
  width: 14px; height: 14px; border-radius: 50%;
  background: rgba(255,255,255,0.65); pointer-events: none;
  transform: translate(-50%, -50%) scale(0); opacity: 0;
}
.d5f-btn--cta:active::after { animation: d5f-ripple 620ms ease-out; }

@keyframes d5f-card-slide-in {
  0%   { opacity: 0; transform: translateY(28px); }
  100% { opacity: 1; transform: translateY(0); }
}
.d5f-card { animation: d5f-card-slide-in 520ms cubic-bezier(.22,1,.36,1) both; }
.d5f-card:nth-child(2) { animation-delay: 60ms; }
.d5f-card:nth-child(3) { animation-delay: 120ms; }
.d5f-card:nth-child(4) { animation-delay: 180ms; }
.d5f-card:nth-child(5) { animation-delay: 240ms; }
.d5f-card:nth-child(6) { animation-delay: 300ms; }
.d5f-card:nth-child(7) { animation-delay: 360ms; }
.d5f-card:nth-child(8) { animation-delay: 420ms; }
.d5f-card:nth-child(9) { animation-delay: 480ms; }

@keyframes d5f-badge-pulse {
  0%, 100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(194, 133, 58, 0.55); }
  50%      { transform: scale(1.05); box-shadow: 0 0 0 7px rgba(194, 133, 58, 0); }
}
.d5f-badge-stock {
  display: inline-block; padding: .3rem .65rem;
  background: var(--d5f-accent); color: #fff;
  border-radius: 999px; font-size: .8rem; font-weight: 700;
  animation: d5f-badge-pulse 2.2s ease-in-out infinite;
}

/* === UTILS =============================================================== */
.d5f-skip-link { position: absolute; left: -9999px; }
.d5f-skip-link:focus { left: 1rem; top: 1rem; z-index: 9999; background: var(--d5f-primary); color: #fff; padding: .5rem 1rem; border-radius: 4px; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-delay: 0 !important; }
}
/* RANKO RSM-FOOTER-BLACK 2026-07-10 */

body .d5f-footer, body .d5f-footer *,
body .d5f-footer h1, body .d5f-footer h2, body .d5f-footer h3, body .d5f-footer h4, body .d5f-footer h5, body .d5f-footer h6,
body .d5f-footer p, body .d5f-footer span, body .d5f-footer li, body .d5f-footer a { color: #000000 !important; }
body .d5f-footer a:hover { color: #333333 !important; }

