/*
Theme Name: Astra Child - MotoLife
Template: astra
Version: 2.0.0
Description: Theme enfant MotoLife - Boutique accessoires moto
*/

/* =====================================================
   DESIGN SYSTEM
   ===================================================== */
:root {
  --navy:     #0F2A44;
  --orange:   #FFAA00;
  --orange-d: #e69900;
  --gray:     #6E6E73;
  --gray-lt:  #86868B;
  --border:   #E8E8ED;
  --bg-gray:  #F5F5F7;
  --white:    #ffffff;
  --text:     #1D1D1F;
  --shadow:   0 4px 24px rgba(15,42,68,0.10);
  --radius:   12px;
  --trans:    0.2s ease;
}

/* =====================================================
   BASE
   ===================================================== */
*, *::before, *::after { box-sizing: border-box; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  margin: 0;
}

body a { text-decoration: none; }

h1, h2, h3, h4, h5, h6 {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: -0.02em;
  margin-top: 0;
}

img { max-width: 100%; height: auto; display: block; }

/* =====================================================
   STYLE ASTRA HEADER — On applique notre design sur le
   header HFB existant (pas de display:none)
   ===================================================== */

/* Fond blanc + blur sur le header Astra */
#masthead,
.site-header,
.main-header-bar,
.ast-primary-header-bar {
  background: rgba(255, 255, 255, 0.94) !important;
  backdrop-filter: blur(20px) !important;
  -webkit-backdrop-filter: blur(20px) !important;
  border-bottom: 1px solid var(--border) !important;
  box-shadow: none !important;
}

/* Liens nav gris */
.main-header-menu .menu-item > a,
.ast-builder-menu .menu-item > a {
  color: var(--gray) !important;
  font-size: 14px !important;
  font-family: 'Inter', sans-serif !important;
  font-weight: 400 !important;
  transition: color var(--trans) !important;
}
.main-header-menu .menu-item > a:hover,
.main-header-menu .current-menu-item > a,
.ast-builder-menu .menu-item > a:hover {
  color: var(--navy) !important;
}

/* Logo texte Astra */
.ast-site-title a,
.site-title a {
  font-family: 'Poppins', sans-serif !important;
  font-size: 22px !important;
  font-weight: 800 !important;
  color: var(--navy) !important;
  letter-spacing: -0.03em !important;
}

/* Bouton CTA dans Astra HFB (si configuré via Button widget) */
.ast-header-button .ast-button,
.ast-builder-button-wrap .ast-custom-button {
  background: var(--orange) !important;
  color: var(--navy) !important;
  border-radius: 980px !important;
  font-family: 'Poppins', sans-serif !important;
  font-weight: 700 !important;
  border: none !important;
  transition: background var(--trans) !important;
}
.ast-header-button .ast-button:hover,
.ast-builder-button-wrap .ast-custom-button:hover {
  background: var(--orange-d) !important;
}

/* Icône panier Astra */
.ast-cart-menu-wrap .count,
.ast-header-woo-cart .count {
  background: var(--orange) !important;
  color: var(--navy) !important;
  font-family: 'Poppins', sans-serif !important;
  font-weight: 700 !important;
}

/* Footer Astra — couleurs harmonisées */
.site-footer,
#colophon {
  background: var(--white) !important;
  border-top: 1px solid var(--border) !important;
}
.site-footer a,
#colophon a {
  color: var(--gray) !important;
  transition: color var(--trans) !important;
}
.site-footer a:hover,
#colophon a:hover {
  color: var(--navy) !important;
}
.ast-small-footer-wrap {
  color: var(--gray-lt) !important;
  font-size: 13px !important;
}

/* Retirer padding haut sur page builder */
.ast-separate-container .ast-article-post,
.ast-page-builder-template #primary,
.ast-page-builder-template .site-content {
  padding-top: 0 !important;
}

/* =====================================================
   NOTRE HEADER CUSTOM
   ===================================================== */
.ml-site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}

/* Admin bar offset */
.admin-bar .ml-site-header { top: 32px; }
@media screen and (max-width: 782px) {
  .admin-bar .ml-site-header { top: 46px; }
}

.ml-nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

/* Logo */
.ml-logo {
  font-family: 'Poppins', sans-serif;
  font-size: 22px;
  font-weight: 800;
  color: var(--navy);
  letter-spacing: -0.03em;
  line-height: 1;
}
.ml-logo span { color: var(--orange); }
.ml-logo:hover { color: var(--navy); }

/* Nav links */
.ml-nav-links {
  list-style: none;
  display: flex;
  gap: 28px;
  align-items: center;
  margin: 0;
  padding: 0;
}
.ml-nav-links a {
  font-size: 14px;
  color: var(--gray);
  font-weight: 400;
  transition: color var(--trans);
}
.ml-nav-links a:hover,
.ml-nav-links .current-menu-item a { color: var(--navy); }

/* Nav right */
.ml-nav-right {
  display: flex;
  align-items: center;
  gap: 16px;
}

/* Cart */
.ml-nav-cart {
  position: relative;
  display: flex;
  align-items: center;
  color: var(--navy);
  transition: opacity var(--trans);
}
.ml-nav-cart:hover { opacity: 0.7; }
.ml-cart-badge {
  position: absolute;
  top: -6px;
  right: -8px;
  width: 16px;
  height: 16px;
  background: var(--orange);
  color: var(--navy);
  font-size: 10px;
  font-weight: 700;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Poppins', sans-serif;
}

/* CTA header */
.ml-nav-cta {
  display: inline-block;
  background: var(--orange);
  color: var(--navy);
  padding: 10px 22px;
  border-radius: 980px;
  font-size: 14px;
  font-weight: 700;
  font-family: 'Poppins', sans-serif;
  letter-spacing: -0.01em;
  white-space: nowrap;
  transition: background var(--trans);
}
.ml-nav-cta:hover { background: var(--orange-d); color: var(--navy); }

/* Hamburger */
.ml-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.ml-hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--navy);
  border-radius: 2px;
  transition: var(--trans);
}
.ml-hamburger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.ml-hamburger.is-open span:nth-child(2) { opacity: 0; }
.ml-hamburger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile menu */
.ml-mobile-menu {
  display: none;
  flex-direction: column;
  background: var(--white);
  border-top: 1px solid var(--border);
  padding: 16px 24px 24px;
}
.ml-mobile-menu.is-open { display: flex; }
.ml-mobile-menu ul {
  list-style: none;
  margin: 0 0 16px;
  padding: 0;
}
.ml-mobile-menu ul li { border-bottom: 1px solid var(--border); }
.ml-mobile-menu ul li a {
  display: block;
  padding: 14px 0;
  font-size: 16px;
  color: var(--navy);
  font-weight: 500;
}
.ml-mobile-cart {
  color: var(--gray) !important;
  font-weight: 400 !important;
}
.ml-mobile-cta {
  display: inline-block;
  background: var(--orange);
  color: var(--navy);
  padding: 14px 28px;
  border-radius: 980px;
  font-size: 15px;
  font-weight: 700;
  font-family: 'Poppins', sans-serif;
  text-align: center;
  align-self: flex-start;
}

/* =====================================================
   HOMEPAGE — HERO
   ===================================================== */
.ml-hero {
  padding: 0 24px;
  background: var(--white);
  overflow: hidden;
}

.ml-hero-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 64px;
  padding: 80px 0;
  min-height: 560px;
}

.ml-hero-text {
  flex: 1;
  max-width: 520px;
}

.ml-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #FFF4D6;
  color: #8A5E00;
  padding: 6px 16px;
  border-radius: 980px;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 28px;
  letter-spacing: 0.01em;
}
.ml-badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--orange);
  flex-shrink: 0;
}

.ml-hero h1 {
  font-size: 54px;
  font-weight: 800;
  line-height: 1.06;
  letter-spacing: -0.03em;
  color: var(--navy);
  margin-bottom: 22px;
}

.ml-lead {
  font-size: 19px;
  line-height: 1.65;
  color: var(--gray);
  margin-bottom: 40px;
}

.ml-hero-ctas {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 44px;
}

/* Boutons */
.ml-btn-lg {
  display: inline-block;
  background: var(--orange);
  color: var(--navy);
  padding: 16px 38px;
  border-radius: 980px;
  font-size: 16px;
  font-weight: 700;
  font-family: 'Poppins', sans-serif;
  letter-spacing: -0.01em;
  transition: background var(--trans), transform var(--trans);
}
.ml-btn-lg:hover { background: var(--orange-d); transform: translateY(-1px); color: var(--navy); }

.ml-btn-outline {
  display: inline-block;
  background: transparent;
  color: var(--navy);
  padding: 16px 38px;
  border-radius: 980px;
  font-size: 16px;
  font-weight: 500;
  border: 1.5px solid var(--border);
  transition: border-color var(--trans);
}
.ml-btn-outline:hover { border-color: var(--navy); color: var(--navy); }

.ml-btn-sm {
  display: inline-block;
  background: var(--orange);
  color: var(--navy);
  padding: 14px 32px;
  border-radius: 980px;
  font-size: 15px;
  font-weight: 700;
  font-family: 'Poppins', sans-serif;
  transition: background var(--trans);
}
.ml-btn-sm:hover { background: var(--orange-d); color: var(--navy); }

.ml-btn-cta {
  display: inline-block;
  background: var(--orange);
  color: var(--navy);
  padding: 18px 48px;
  border-radius: 980px;
  font-size: 18px;
  font-weight: 700;
  font-family: 'Poppins', sans-serif;
  letter-spacing: -0.01em;
  transition: background var(--trans), transform var(--trans);
}
.ml-btn-cta:hover { background: var(--orange-d); transform: translateY(-1px); color: var(--navy); }

/* Stats */
.ml-stats {
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
  align-items: center;
}
.ml-stat strong {
  display: block;
  font-size: 22px;
  font-weight: 800;
  color: var(--navy);
  letter-spacing: -0.02em;
  font-family: 'Poppins', sans-serif;
}
.ml-stat span {
  display: block;
  font-size: 13px;
  color: var(--gray-lt);
  margin-top: 2px;
}
.ml-stat-sep {
  width: 1px;
  height: 36px;
  background: var(--border);
}

/* Hero image */
.ml-hero-img {
  flex: 1;
  position: relative;
  height: 520px;
  border-radius: 20px;
  overflow: hidden;
}
.ml-hero-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.ml-hero-img-badge {
  position: absolute;
  bottom: 24px;
  left: 24px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  padding: 12px 18px;
  border-radius: 12px;
}
.ml-hero-img-badge p:first-child {
  font-size: 13px;
  font-weight: 700;
  color: var(--navy);
  margin: 0 0 2px;
}
.ml-hero-img-badge p:last-child {
  font-size: 12px;
  color: var(--gray-lt);
  margin: 0;
}

/* =====================================================
   BANDEAUX IMAGE
   ===================================================== */
.ml-banner {
  position: relative;
  height: 420px;
  overflow: hidden;
}
.ml-banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.ml-banner-overlay { position: absolute; inset: 0; }
.ml-banner-overlay-left {
  background: linear-gradient(to right, rgba(15,42,68,0.78) 0%, rgba(15,42,68,0.15) 65%);
}

.ml-banner-content {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
}
.ml-banner-content-left {
  padding: 0 24px;
}
.ml-banner-content-left > div,
.ml-banner-content-left {
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
}
.ml-banner-content-left h2 {
  font-size: 42px;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.025em;
  line-height: 1.1;
  max-width: 520px;
  margin-bottom: 20px;
}

.ml-banner-content-center {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 24px;
}

/* =====================================================
   SECTIONS & CONTAINERS
   ===================================================== */
.ml-section { padding: 88px 24px; }
.ml-section-gray { background: var(--bg-gray); }
.ml-section-white { background: var(--white); }

.ml-container {
  max-width: 1100px;
  margin: 0 auto;
}

.ml-section-title {
  font-size: 38px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--navy);
  text-align: center;
  margin-bottom: 12px;
}
.ml-section-sub {
  font-size: 18px;
  color: var(--gray);
  text-align: center;
  margin-bottom: 48px;
  line-height: 1.5;
  margin-top: 0;
}

.ml-eyebrow {
  font-size: 13px;
  font-weight: 700;
  color: var(--orange);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 14px;
}

/* =====================================================
   CATÉGORIES GRID
   ===================================================== */
.ml-cat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 18px;
}

.ml-cat-card {
  display: block;
  background: var(--white);
  border-radius: 14px;
  padding: 32px 28px;
  border: 1px solid var(--border);
  transition: border-color var(--trans), transform var(--trans);
  color: var(--text);
}
.ml-cat-card:hover { border-color: var(--orange); transform: translateY(-2px); color: var(--text); }
.ml-cat-icon { font-size: 30px; margin-bottom: 14px; line-height: 1; display: block; }
.ml-cat-card h3 {
  font-size: 19px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 8px;
}
.ml-cat-card p {
  font-size: 15px;
  color: var(--gray);
  line-height: 1.65;
  margin-bottom: 18px;
}
.ml-cat-arrow {
  font-size: 14px;
  font-weight: 700;
  color: var(--orange);
  letter-spacing: 0.01em;
}

/* =====================================================
   SECTION ÉQUIPEMENT (Image + Avantages)
   ===================================================== */
.ml-gear-wrap {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 72px;
}
.ml-gear-img {
  flex: 1;
  border-radius: 18px;
  overflow: hidden;
  height: 520px;
  flex-shrink: 0;
  min-width: 320px;
}
.ml-gear-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}
.ml-gear-content { flex: 1; }
.ml-gear-title {
  font-size: 40px;
  font-weight: 700;
  letter-spacing: -0.025em;
  color: var(--navy);
  margin-bottom: 48px;
  line-height: 1.1;
}

.ml-advantages {
  display: flex;
  flex-direction: column;
  gap: 32px;
}
.ml-adv {
  display: flex;
  gap: 18px;
  align-items: flex-start;
}
.ml-adv-icon {
  width: 44px;
  height: 44px;
  background: #FFF4D6;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 20px;
}
.ml-adv h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 6px;
}
.ml-adv p {
  font-size: 15px;
  line-height: 1.7;
  color: var(--gray);
  margin: 0;
}

/* =====================================================
   CTA FINAL
   ===================================================== */
.ml-cta-final {
  padding: 120px 24px;
  text-align: center;
  background: var(--navy);
}
.ml-cta-final h2 {
  font-size: 46px;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #fff;
  margin-bottom: 18px;
  line-height: 1.08;
}
.ml-cta-final p {
  font-size: 20px;
  color: rgba(255,255,255,0.6);
  margin-bottom: 44px;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.55;
}

/* =====================================================
   NOTRE FOOTER CUSTOM
   ===================================================== */
.ml-site-footer {
  background: var(--white);
  border-top: 1px solid var(--border);
}

.ml-footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 60px 24px 40px;
}

.ml-footer-grid {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 48px;
  margin-bottom: 44px;
}

.ml-footer-logo {
  font-family: 'Poppins', sans-serif;
  font-size: 20px;
  font-weight: 800;
  color: var(--navy);
  letter-spacing: -0.02em;
  display: inline-block;
  margin-bottom: 14px;
}
.ml-footer-logo span { color: var(--orange); }
.ml-footer-brand p {
  font-size: 14px;
  color: var(--gray-lt);
  line-height: 1.65;
  max-width: 240px;
  margin: 0;
}

.ml-footer-col h4 {
  font-size: 12px;
  font-weight: 700;
  color: var(--gray-lt);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 18px;
}
.ml-footer-col a {
  display: block;
  font-size: 14px;
  color: var(--gray);
  margin-bottom: 10px;
  transition: color var(--trans);
}
.ml-footer-col a:hover { color: var(--navy); }

.ml-footer-bottom {
  padding-top: 24px;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}
.ml-footer-bottom p {
  font-size: 13px;
  color: var(--gray-lt);
  margin: 0;
}
.ml-footer-bottom a { color: var(--gray); }
.ml-footer-bottom a:hover { color: var(--navy); }

/* =====================================================
   WOOCOMMERCE — Cartes produits
   ===================================================== */
.woocommerce ul.products li.product,
.woocommerce-page ul.products li.product {
  border-radius: var(--radius) !important;
  box-shadow: var(--shadow) !important;
  transition: transform var(--trans), box-shadow var(--trans) !important;
  background: var(--white) !important;
  border: 1px solid var(--border) !important;
  overflow: hidden;
}
.woocommerce ul.products li.product:hover {
  transform: translateY(-4px) !important;
  box-shadow: 0 12px 36px rgba(15,42,68,0.16) !important;
}
.woocommerce ul.products li.product .woocommerce-loop-product__title {
  font-family: 'Poppins', sans-serif !important;
  font-weight: 600 !important;
  font-size: 0.95rem !important;
  color: var(--navy) !important;
}
.woocommerce ul.products li.product .price {
  color: var(--orange) !important;
  font-weight: 700 !important;
  font-size: 1.1rem !important;
  font-family: 'Poppins', sans-serif !important;
}
.woocommerce ul.products li.product .button {
  background: var(--navy) !important;
  color: var(--white) !important;
  border-radius: 8px !important;
  font-size: 0.85rem !important;
  padding: 8px 16px !important;
  font-family: 'Poppins', sans-serif !important;
  transition: background var(--trans) !important;
}
.woocommerce ul.products li.product .button:hover {
  background: var(--orange) !important;
  color: var(--navy) !important;
}
.woocommerce span.onsale {
  background: var(--orange) !important;
  color: var(--navy) !important;
  font-weight: 700 !important;
  border-radius: 6px !important;
}

/* =====================================================
   WOOCOMMERCE — Page produit unique
   ===================================================== */
.woocommerce div.product .product_title {
  font-family: 'Poppins', sans-serif !important;
  font-weight: 800 !important;
  color: var(--navy) !important;
  font-size: 2rem !important;
  letter-spacing: -0.03em !important;
}
.woocommerce div.product p.price,
.woocommerce div.product span.price {
  color: var(--orange) !important;
  font-size: 1.8rem !important;
  font-weight: 700 !important;
  font-family: 'Poppins', sans-serif !important;
}
.woocommerce div.product .single_add_to_cart_button,
.woocommerce #respond input#submit,
.woocommerce a.button,
.woocommerce button.button {
  background: var(--orange) !important;
  color: var(--navy) !important;
  font-family: 'Poppins', sans-serif !important;
  font-weight: 700 !important;
  border-radius: 980px !important;
  border: none !important;
  text-transform: none !important;
  letter-spacing: -0.01em !important;
}
.woocommerce div.product .single_add_to_cart_button:hover {
  background: var(--orange-d) !important;
  box-shadow: 0 6px 20px rgba(255,170,0,0.35) !important;
}

/* Breadcrumbs */
.woocommerce-breadcrumb a { color: var(--gray) !important; }
.woocommerce-breadcrumb a:hover { color: var(--orange) !important; }

/* Titres pages catégories */
.woocommerce-products-header__title,
.page-title {
  font-family: 'Poppins', sans-serif !important;
  font-weight: 800 !important;
  color: var(--navy) !important;
  letter-spacing: -0.03em !important;
}

/* =====================================================
   BLOG
   ===================================================== */
.entry-title a {
  color: var(--navy) !important;
  font-family: 'Poppins', sans-serif !important;
  letter-spacing: -0.02em !important;
  transition: color var(--trans) !important;
}
.entry-title a:hover { color: var(--orange) !important; }

/* =====================================================
   PAGE 404
   ===================================================== */
.ml-404-wrap {
  max-width: 680px;
  margin: 0 auto;
  padding: 96px 24px 120px;
  text-align: center;
}
.ml-404-wrap h1 {
  font-size: 52px;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--navy);
  margin-bottom: 16px;
}
.ml-404-wrap .ml-lead {
  margin-bottom: 40px;
}
.ml-404-links {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 64px;
}
.ml-404-cats > p {
  font-size: 13px;
  font-weight: 700;
  color: var(--gray-lt);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 0;
}

/* =====================================================
   BLOG — Grille articles
   ===================================================== */
.ml-blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 28px;
}
.ml-blog-card {
  background: var(--white);
  border-radius: 14px;
  border: 1px solid var(--border);
  overflow: hidden;
  transition: transform var(--trans), box-shadow var(--trans);
}
.ml-blog-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}
.ml-blog-card-img {
  display: block;
  height: 220px;
  overflow: hidden;
}
.ml-blog-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.ml-blog-card:hover .ml-blog-card-img img {
  transform: scale(1.04);
}
.ml-blog-card-body {
  padding: 24px;
}
.ml-blog-card-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--navy);
  margin: 8px 0 10px;
  line-height: 1.3;
  letter-spacing: -0.01em;
}
.ml-blog-card-title a { color: inherit; }
.ml-blog-card-title a:hover { color: var(--orange); }
.ml-blog-card-excerpt {
  font-size: 14px;
  color: var(--gray);
  line-height: 1.65;
  margin-bottom: 18px;
}
.ml-blog-card-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: var(--gray-lt);
}
.ml-blog-card-link {
  font-size: 13px;
  font-weight: 700;
  color: var(--orange);
}
.ml-blog-card-link:hover { color: var(--orange-d); }
.ml-blog-pagination {
  margin-top: 48px;
  text-align: center;
}
.ml-blog-pagination .page-numbers {
  display: inline-block;
  padding: 8px 14px;
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--navy);
  margin: 0 3px;
  font-size: 14px;
  transition: all var(--trans);
}
.ml-blog-pagination .page-numbers.current,
.ml-blog-pagination .page-numbers:hover {
  background: var(--orange);
  border-color: var(--orange);
  color: var(--navy);
}

/* =====================================================
   BLOG — Article single
   ===================================================== */
.ml-single-wrap {
  padding: 48px 24px 96px;
}
.ml-single-inner {
  max-width: 760px;
  margin: 0 auto;
}
.ml-breadcrumb {
  font-size: 13px;
  color: var(--gray-lt);
  margin-bottom: 32px;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.ml-breadcrumb a { color: var(--gray); }
.ml-breadcrumb a:hover { color: var(--orange); }
.ml-article-header {
  margin-bottom: 36px;
}
.ml-article-title {
  font-size: 42px;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--navy);
  line-height: 1.1;
  margin: 12px 0 20px;
}
.ml-article-meta {
  font-size: 14px;
  color: var(--gray-lt);
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  align-items: center;
}
.ml-meta-sep { color: var(--border); }
.ml-article-thumb {
  border-radius: 16px;
  overflow: hidden;
  margin-bottom: 48px;
  height: 420px;
}
.ml-article-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.ml-article-content {
  font-size: 17px;
  line-height: 1.8;
  color: var(--text);
}
.ml-article-content h2 {
  font-size: 28px;
  margin-top: 56px;
  margin-bottom: 18px;
}
.ml-article-content h3 {
  font-size: 22px;
  margin-top: 40px;
  margin-bottom: 14px;
}
.ml-article-content p { margin-bottom: 22px; }
.ml-article-content ul, .ml-article-content ol {
  padding-left: 28px;
  margin-bottom: 22px;
}
.ml-article-content li { margin-bottom: 8px; }
.ml-article-content a { color: var(--orange); }
.ml-article-content a:hover { color: var(--orange-d); }
.ml-article-content strong { color: var(--navy); }
.ml-article-content blockquote {
  border-left: 3px solid var(--orange);
  padding: 16px 24px;
  background: var(--bg-gray);
  border-radius: 0 8px 8px 0;
  margin: 32px 0;
  font-style: italic;
  color: var(--gray);
}
.ml-article-nav {
  display: flex;
  gap: 16px;
  margin-top: 64px;
  padding-top: 32px;
  border-top: 1px solid var(--border);
}
.ml-article-nav-link {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 20px;
  border: 1px solid var(--border);
  border-radius: 12px;
  transition: border-color var(--trans);
  color: var(--text);
}
.ml-article-nav-link:hover { border-color: var(--orange); }
.ml-article-nav-link span { font-size: 13px; color: var(--gray-lt); }
.ml-article-nav-link strong { font-size: 15px; color: var(--navy); font-weight: 600; }
.ml-article-nav-next { text-align: right; }

@media (max-width: 768px) {
  .ml-article-title { font-size: 28px; }
  .ml-article-thumb { height: 240px; }
  .ml-article-nav { flex-direction: column; }
  .ml-404-wrap h1 { font-size: 36px; }
}

/* =====================================================
   SCROLLBAR
   ===================================================== */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: #f1f1f1; }
::-webkit-scrollbar-thumb { background: var(--navy); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--orange); }

/* =====================================================
   RESPONSIVE
   ===================================================== */
@media (max-width: 960px) {
  .ml-hero-inner { flex-direction: column; padding: 64px 0; gap: 40px; }
  .ml-hero-text { max-width: 100%; }
  .ml-hero h1 { font-size: 38px; }
  .ml-hero-img { width: 100%; height: 320px; flex: none; }
  .ml-gear-wrap { flex-direction: column; gap: 40px; }
  .ml-gear-img { width: 100%; height: 320px; min-width: unset; flex: none; }
  .ml-gear-title { font-size: 32px; margin-bottom: 32px; }
  .ml-cta-final h2 { font-size: 32px; }
  .ml-banner-content-left h2 { font-size: 30px; }
}

@media (max-width: 768px) {
  .ml-nav-links { display: none; }
  .ml-hamburger { display: flex; }
  .ml-section { padding: 60px 20px; }
  .ml-section-title { font-size: 28px; }
  .ml-footer-grid { flex-direction: column; gap: 32px; }
  .ml-footer-bottom { flex-direction: column; gap: 8px; }
  .ml-banner { height: 280px; }
}

@media (max-width: 480px) {
  .ml-hero-ctas { flex-direction: column; }
  .ml-btn-lg, .ml-btn-outline { width: 100%; text-align: center; }
  .ml-stats { gap: 16px; }
  .ml-stat-sep { display: none; }
}

/* =====================================================
   PAGES STATIQUES (page.php)
   ===================================================== */
.ml-page-wrap {
  max-width: 820px;
  margin: 0 auto;
  padding: 64px 24px 96px;
}
.ml-page-header {
  margin-bottom: 40px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--border);
}
.ml-page-title {
  font-size: 42px;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--navy);
  margin: 0;
  line-height: 1.1;
}
.ml-page-content {
  font-size: 16px;
  line-height: 1.75;
  color: var(--text);
}
.ml-page-content h2 {
  font-size: 26px;
  margin-top: 48px;
  margin-bottom: 16px;
}
.ml-page-content h3 {
  font-size: 20px;
  margin-top: 36px;
  margin-bottom: 12px;
}
.ml-page-content p { margin-bottom: 18px; }
.ml-page-content ul, .ml-page-content ol {
  padding-left: 24px;
  margin-bottom: 18px;
}
.ml-page-content a { color: var(--orange); }
.ml-page-content a:hover { color: var(--orange-d); }

/* =====================================================
   WOOCOMMERCE — Archive (shop/catégories)
   ===================================================== */
.ml-archive-header {
  background: var(--bg-gray);
  padding: 48px 24px 40px;
}
.ml-archive-header .woocommerce-breadcrumb {
  font-size: 13px;
  color: var(--gray-lt);
  margin-bottom: 16px;
}
.ml-archive-title {
  font-size: 38px;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--navy);
  margin: 0 0 12px;
}
.ml-archive-header .term-description {
  font-size: 16px;
  color: var(--gray);
  line-height: 1.65;
  max-width: 680px;
  margin: 0;
}

/* Breadcrumb WooCommerce */
.woocommerce-breadcrumb {
  font-size: 13px !important;
  color: var(--gray-lt) !important;
  margin-bottom: 20px !important;
}

/* =====================================================
   WOOCOMMERCE — Page produit
   ===================================================== */
.ml-product-wrap {
  padding: 48px 24px 96px;
}
.ml-product-wrap .woocommerce-breadcrumb {
  margin-bottom: 32px;
}

/* Tabs produit */
.woocommerce-tabs .tabs li a {
  font-family: 'Inter', sans-serif !important;
  font-size: 15px !important;
  color: var(--gray) !important;
}
.woocommerce-tabs .tabs li.active a {
  color: var(--navy) !important;
}

/* =====================================================
   WOOCOMMERCE — Panier & Checkout
   ===================================================== */
.woocommerce-cart-form,
.woocommerce-checkout {
  max-width: 900px;
  margin: 0 auto;
  padding: 48px 24px;
}
.woocommerce-checkout h3 {
  color: var(--navy) !important;
  font-family: 'Poppins', sans-serif !important;
}

/* =====================================================
   WOOCOMMERCE — Pagination
   ===================================================== */
.woocommerce-pagination .page-numbers li .page-numbers {
  color: var(--navy) !important;
  border: 1px solid var(--border) !important;
  border-radius: 8px !important;
}
.woocommerce-pagination .page-numbers li .page-numbers.current,
.woocommerce-pagination .page-numbers li .page-numbers:hover {
  background: var(--orange) !important;
  color: var(--navy) !important;
  border-color: var(--orange) !important;
}

/* =====================================================
   HEADER — Icône Mon Compte
   ===================================================== */
.ml-nav-account {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--navy);
  transition: opacity var(--trans);
}
.ml-nav-account:hover { opacity: 0.7; }
.ml-account-name {
  font-size: 13px;
  font-weight: 500;
  color: var(--gray);
  font-family: 'Inter', sans-serif;
  max-width: 80px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* =====================================================
   MY ACCOUNT — Layout + navigation
   ===================================================== */
.ml-myaccount-wrap {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 48px;
  padding: 64px 24px;
  align-items: start;
}
@media (max-width: 768px) {
  .ml-myaccount-wrap {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 32px 16px;
  }
}
.ml-account-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  background: var(--bg-gray);
  border-radius: var(--radius);
  overflow: hidden;
}
.ml-account-nav ul li a {
  display: block;
  padding: 12px 20px;
  font-size: 14px;
  font-weight: 500;
  color: var(--gray);
  border-bottom: 1px solid var(--border);
  transition: all var(--trans);
}
.ml-account-nav ul li:last-child a { border-bottom: none; }
.ml-account-nav ul li a:hover,
.ml-account-nav ul li.is-active a,
.ml-account-nav ul li.woocommerce-MyAccount-navigation-link--is-active a {
  color: var(--navy);
  background: var(--orange);
  font-weight: 600;
}
.ml-account-content {
  min-height: 300px;
}
.woocommerce-MyAccount-content h2 {
  font-size: 22px;
  margin-bottom: 24px;
}

/* Formulaires login / register */
.woocommerce-form-login,
.woocommerce-form-register {
  background: var(--bg-gray);
  border-radius: var(--radius);
  padding: 32px;
  max-width: 440px;
}
.woocommerce-form-login .form-row,
.woocommerce-form-register .form-row {
  margin-bottom: 16px;
}
.woocommerce-form-login label,
.woocommerce-form-register label {
  font-size: 13px;
  font-weight: 600;
  color: var(--navy);
  display: block;
  margin-bottom: 6px;
}
.woocommerce-form-login input,
.woocommerce-form-register input {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-size: 14px;
  font-family: 'Inter', sans-serif;
  transition: border-color var(--trans);
}
.woocommerce-form-login input:focus,
.woocommerce-form-register input:focus {
  border-color: var(--navy);
  outline: none;
}

/* =====================================================
   PANIER — Table + totaux + CTA
   ===================================================== */
.ml-cart-wrap {
  padding: 48px 24px 96px;
}
.ml-cart-back {
  display: inline-block;
  font-size: 13px;
  color: var(--gray);
  margin-bottom: 24px;
  transition: color var(--trans);
}
.ml-cart-back:hover { color: var(--navy); }
.ml-cart-title {
  font-size: 32px;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 32px;
}

table.shop_table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}
table.shop_table th {
  background: var(--bg-gray);
  padding: 12px 16px;
  text-align: left;
  font-size: 12px;
  font-weight: 600;
  color: var(--gray);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-bottom: 1px solid var(--border);
}
table.shop_table td {
  padding: 16px;
  border-bottom: 1px solid var(--border);
  vertical-align: middle;
}
table.shop_table .product-thumbnail img {
  width: 72px;
  height: 72px;
  object-fit: cover;
  border-radius: 8px;
}
table.shop_table .product-name a {
  color: var(--navy);
  font-weight: 600;
}
table.shop_table .product-name a:hover { color: var(--orange); }
table.shop_table .product-remove a {
  color: var(--gray-lt) !important;
  font-size: 18px;
  text-decoration: none;
  transition: color var(--trans);
}
table.shop_table .product-remove a:hover { color: #e53e3e !important; }

.ml-btn-update {
  background: transparent !important;
  color: var(--gray) !important;
  border: 1px solid var(--border) !important;
  padding: 8px 18px !important;
  font-size: 13px !important;
  border-radius: 8px !important;
}
.ml-btn-update:hover {
  border-color: var(--navy) !important;
  color: var(--navy) !important;
  transform: none !important;
  box-shadow: none !important;
}

/* Cart totals */
.cart_totals {
  max-width: 380px;
  margin-left: auto;
  background: var(--bg-gray);
  border-radius: var(--radius);
  padding: 28px;
}
.cart_totals h2 {
  font-size: 18px;
  margin-bottom: 20px;
}
.cart_totals table { width: 100%; border-collapse: collapse; }
.cart_totals table th,
.cart_totals table td {
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
  font-size: 14px;
}
.cart_totals table .order-total th,
.cart_totals table .order-total td {
  font-weight: 700;
  font-size: 16px;
  color: var(--navy);
  border-bottom: none;
}

.wc-proceed-to-checkout { margin-top: 20px; }
.wc-proceed-to-checkout .checkout-button,
a.checkout-button {
  display: block !important;
  width: 100% !important;
  text-align: center !important;
  background: var(--orange) !important;
  color: var(--navy) !important;
  padding: 14px 24px !important;
  border-radius: 980px !important;
  font-family: 'Poppins', sans-serif !important;
  font-weight: 700 !important;
  font-size: 16px !important;
  transition: background var(--trans) !important;
}
.wc-proceed-to-checkout .checkout-button:hover,
a.checkout-button:hover {
  background: var(--orange-d) !important;
  transform: none !important;
}

.ml-cart-footer {
  margin-top: 48px;
  display: flex;
  justify-content: flex-end;
}

/* =====================================================
   CHECKOUT — Layout 2 colonnes + champs
   ===================================================== */
.ml-checkout-wrap {
  padding: 48px 24px 96px;
}
.ml-checkout-title {
  font-size: 32px;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 40px;
}
.ml-checkout-grid {
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: 48px;
  align-items: start;
}
@media (max-width: 900px) {
  .ml-checkout-grid { grid-template-columns: 1fr; }
  .ml-checkout-summary { order: -1; }
}

/* Billing fields */
.woocommerce-billing-fields h3,
.woocommerce-shipping-fields h3 {
  font-size: 18px;
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
}
.woocommerce-billing-fields .form-row,
.woocommerce-shipping-fields .form-row {
  margin-bottom: 14px;
}
.woocommerce-billing-fields label,
.woocommerce-shipping-fields label {
  font-size: 13px;
  font-weight: 600;
  color: var(--navy);
  display: block;
  margin-bottom: 6px;
}
.woocommerce-billing-fields input,
.woocommerce-billing-fields select,
.woocommerce-shipping-fields input,
.woocommerce-shipping-fields select {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-size: 14px;
  font-family: 'Inter', sans-serif;
  background: var(--white);
  transition: border-color var(--trans);
}
.woocommerce-billing-fields input:focus,
.woocommerce-billing-fields select:focus,
.woocommerce-shipping-fields input:focus,
.woocommerce-shipping-fields select:focus {
  border-color: var(--navy);
  outline: none;
}
.form-row-first, .form-row-last {
  display: inline-block;
  width: 47%;
}
.form-row-first { margin-right: 6%; }

/* Notes commande */
.ml-checkout-notes h3 {
  font-size: 18px;
  margin: 32px 0 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
}
.ml-checkout-notes textarea {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  resize: vertical;
}

/* Résumé commande (droite) */
.ml-checkout-order-box {
  background: var(--bg-gray);
  border-radius: var(--radius);
  padding: 28px;
  position: sticky;
  top: 100px;
}
.ml-checkout-order-box h3 {
  font-size: 18px;
  margin-bottom: 20px;
}
#order_review table.shop_table { font-size: 13px; }
#order_review table.shop_table th { background: none; padding: 8px 0; }
#order_review table.shop_table td { padding: 8px 0; }
#order_review .order-total td { font-size: 18px; font-weight: 700; color: var(--orange); }

/* Payment */
#payment {
  background: var(--white);
  border-radius: var(--radius);
  padding: 20px;
  margin-top: 20px;
  border: 1px solid var(--border);
}
#payment .payment_methods { list-style: none; padding: 0; margin: 0 0 20px; }
#payment .payment_methods li { padding: 10px 0; border-bottom: 1px solid var(--border); }
#payment .payment_methods li:last-child { border-bottom: none; }
#payment #place_order {
  width: 100%;
  background: var(--orange) !important;
  color: var(--navy) !important;
  padding: 16px !important;
  font-size: 16px !important;
  font-weight: 700 !important;
  font-family: 'Poppins', sans-serif !important;
  border-radius: 980px !important;
  border: none !important;
  cursor: pointer;
  transition: background var(--trans) !important;
}
#payment #place_order:hover {
  background: var(--orange-d) !important;
  transform: none !important;
}

/* =====================================================
   SINGLE PRODUCT — Layout galerie + infos
   ===================================================== */
.ml-single-product {
  margin-bottom: 64px;
}
.ml-product-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  margin-bottom: 48px;
}
@media (max-width: 768px) {
  .ml-product-layout { grid-template-columns: 1fr; gap: 32px; }
}
.ml-product-gallery .woocommerce-product-gallery {
  border-radius: var(--radius);
  overflow: hidden;
}
.ml-product-summary .product_title {
  font-size: 28px !important;
  font-weight: 800 !important;
  margin-bottom: 12px !important;
}
.ml-product-summary .price {
  font-size: 28px !important;
  font-weight: 700 !important;
  color: var(--orange) !important;
  margin-bottom: 20px !important;
}
.ml-product-summary .woocommerce-product-details__short-description {
  color: var(--gray);
  line-height: 1.7;
  margin-bottom: 24px;
}
.ml-product-summary .stock {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 16px;
}
.ml-product-summary .in-stock { background: #d1fae5; color: #065f46; }
.ml-product-summary .out-of-stock { background: #fee2e2; color: #991b1b; }
.ml-product-summary .cart { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.ml-product-summary .qty {
  width: 70px;
  padding: 10px 12px;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-size: 15px;
  text-align: center;
}
.ml-product-tabs .woocommerce-tabs {
  margin-top: 48px;
  border-top: 1px solid var(--border);
  padding-top: 32px;
}
.ml-product-tabs .woocommerce-tabs .tabs {
  display: flex;
  gap: 0;
  list-style: none;
  padding: 0;
  margin: 0 0 32px;
  border-bottom: 2px solid var(--border);
}
.ml-product-tabs .woocommerce-tabs .tabs li {
  margin-bottom: -2px;
}
.ml-product-tabs .woocommerce-tabs .tabs li a {
  display: block;
  padding: 12px 24px;
  font-size: 14px;
  font-weight: 600;
  color: var(--gray);
  border-bottom: 2px solid transparent;
  transition: all var(--trans);
}
.ml-product-tabs .woocommerce-tabs .tabs li.active a {
  color: var(--navy);
  border-bottom-color: var(--orange);
}

/* =====================================================
   TRUST BADGES — Page produit
   ===================================================== */
.ml-trust-badges {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 28px;
  padding: 20px;
  background: var(--bg-gray);
  border-radius: var(--radius);
}
.ml-trust-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 500;
  color: var(--navy);
}
.ml-trust-badge svg {
  flex-shrink: 0;
  color: var(--orange);
}
@media (max-width: 480px) {
  .ml-trust-badges { grid-template-columns: 1fr; }
}

/* =====================================================
   TRUST STRIP — Homepage
   ===================================================== */
.ml-trust-strip {
  background: var(--navy);
  padding: 18px 24px;
}
.ml-trust-strip-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.ml-ts-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 500;
  color: #fff;
}
.ml-ts-item svg { color: var(--orange); flex-shrink: 0; }
.ml-ts-sep {
  width: 1px;
  height: 20px;
  background: rgba(255,255,255,0.2);
}
@media (max-width: 640px) {
  .ml-ts-sep { display: none; }
  .ml-trust-strip-inner { gap: 16px; }
}

/* =====================================================
   FEATURED PRODUCTS — Homepage
   ===================================================== */
.ml-featured-products { padding-bottom: 80px; }
.ml-fp-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
@media (max-width: 768px) {
  .ml-fp-grid { grid-template-columns: 1fr; gap: 20px; }
}
.ml-fp-card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
  transition: transform var(--trans), box-shadow var(--trans);
  color: var(--text);
}
.ml-fp-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 36px rgba(15,42,68,0.12);
}
.ml-fp-img {
  height: 220px;
  overflow: hidden;
  background: var(--bg-gray);
}
.ml-fp-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.ml-fp-card:hover .ml-fp-img img { transform: scale(1.04); }
.ml-fp-body {
  padding: 20px 24px 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.ml-fp-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--navy);
  margin: 0 0 10px;
  line-height: 1.3;
  letter-spacing: -0.01em;
}
.ml-fp-price {
  font-size: 20px;
  font-weight: 700;
  color: var(--orange);
  font-family: 'Poppins', sans-serif;
  margin-bottom: 16px;
}
.ml-fp-cta {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  color: var(--navy);
  margin-top: auto;
  transition: color var(--trans);
}
.ml-fp-card:hover .ml-fp-cta { color: var(--orange); }

/* =====================================================
   BLOG PREVIEW — Homepage
   ===================================================== */
.ml-blog-preview .ml-blog-grid {
  grid-template-columns: repeat(3, 1fr);
}
@media (max-width: 900px) {
  .ml-blog-preview .ml-blog-grid { grid-template-columns: 1fr; }
}

/* =====================================================
   RESPONSIVE — Mobile cart/checkout
   ===================================================== */
@media (max-width: 768px) {
  table.shop_table thead { display: none; }
  table.shop_table td {
    display: block;
    text-align: right;
    padding: 8px 16px;
  }
  table.shop_table td::before {
    content: attr(data-title);
    float: left;
    font-weight: 600;
    color: var(--gray);
  }
  .form-row-first, .form-row-last {
    display: block;
    width: 100%;
    margin-right: 0;
  }
  .ml-cart-footer { justify-content: stretch; }
  .cart_totals { max-width: 100%; }
}
