/* ── Palette de couleurs ── */
:root {
  --color-primary:   #0F1A2E;
  --color-secondary: #162035;
  --color-accent:    #E8A020;
  --color-accent-dk: #C8881A;
  --color-page-bg:   #F5F6F8;
  --color-card-bg:   #FFFFFF;
  --color-badge:     #1A7F5A;
  --color-border:    #E0E2E8;
}

/* ── Base ── */
html { overflow-x: hidden; }
body {
  background-color: var(--color-page-bg);
  overflow-x: hidden;
  -webkit-text-size-adjust: 100%;
  color: #1f2937;
  padding-top: var(--site-header-height, 0px);
}
*, *::before, *::after { box-sizing: border-box; }
img, svg, video, canvas { max-width: 100%; display: block; }
main { min-width: 0; }

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: #fff;
  isolation: isolate;
}

.site-announcement {
  flex-shrink: 0;
}

.payment-logo {
  width: 54px;
  height: 20px;
  object-fit: contain;
  border-radius: 4px;
  background: #fff;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.18);
  flex: 0 0 auto;
}
.payment-logo--twint {
  background: transparent;
  box-shadow: none;
  object-fit: contain;
}

.assurance-badges {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.6rem;
}

.hth-main-nav {
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.hth-main-nav::-webkit-scrollbar {
  display: none;
}

.assurance-badge {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  min-height: 3.25rem;
  padding: 0.75rem 0.85rem;
  border: 1px solid #E6EAF0;
  border-radius: 0.9rem;
  background: #fff;
  color: #0F1A2E;
  font-size: 0.82rem;
  font-weight: 800;
  line-height: 1.2;
  box-shadow: 0 6px 18px rgba(15, 26, 46, 0.06);
}

.hero-assurance .assurance-badge {
  border-color: rgba(255,255,255,0.16);
  background: rgba(255,255,255,0.1);
  color: #fff;
  box-shadow: none;
  backdrop-filter: blur(8px);
}

.cart-assurance,
.checkout-assurance {
  grid-template-columns: 1fr;
}

.cart-assurance .assurance-badge,
.checkout-assurance .assurance-badge {
  min-height: 2.8rem;
  padding: 0.65rem 0.75rem;
  font-size: 0.78rem;
  background: #F8FAFC;
}

.reviews-track {
  scroll-behavior: smooth;
}

.reviews-track::-webkit-scrollbar {
  display: none;
}

.review-card {
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

@media (min-width: 640px) {
  .review-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 26px rgba(15, 26, 46, 0.08);
  }
}

.home-confidence {
  padding-top: 1.15rem;
  padding-bottom: 0.75rem;
}

.home-confidence-inner {
  max-width: 46rem;
  margin: 0 auto;
  text-align: center;
}

.home-confidence-inner h2 {
  color: #0F1A2E;
  font-size: 1.72rem;
  line-height: 1.15;
  font-weight: 900;
  margin-bottom: 0.55rem;
}

.home-confidence-inner > p:not(:first-child) {
  color: #667085;
  font-size: 1rem;
  line-height: 1.65;
}

.home-confidence-points {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  margin-top: 0.85rem;
}

.home-confidence-points span {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  border: 1px solid #E8EDF3;
  border-radius: 999px;
  background: #fff;
  color: #344054;
  padding: 0.5rem 0.85rem;
  font-size: 0.82rem;
  font-weight: 800;
  box-shadow: 0 6px 16px rgba(15,26,46,0.05);
}

.home-confidence-points span::before {
  content: "";
  width: 0.38rem;
  height: 0.38rem;
  border-radius: 999px;
  background: #E8A020;
}

.footer-address-card {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  border: 1px solid rgba(232,160,32,0.2);
  border-radius: 0.72rem;
  background: rgba(255,255,255,0.045);
  padding: 0.65rem 0.7rem;
  color: #fff;
}

.footer-address-card strong,
.footer-address-card span span {
  display: block;
}

.footer-address-card strong {
  margin-bottom: 0.2rem;
  color: #E8A020;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.footer-address-card span span {
  color: rgba(255,255,255,0.9);
  font-size: 0.83rem;
  line-height: 1.35;
}

.footer-bottom-cgv {
  border-radius: 999px;
  background: rgba(232,160,32,0.14);
  color: #fff;
  padding: 0.25rem 0.65rem;
  font-weight: 800;
  transition: background 0.2s ease, color 0.2s ease;
}

.footer-bottom-cgv:hover {
  background: rgba(232,160,32,0.25);
  color: #E8A020;
}

.legal-highlight {
  display: flex;
  flex-direction: column;
  gap: 0;
  border: none;
  border-left: 4px solid #E8A020;
  border-radius: 0.75rem;
  background: #F8F9FC;
  padding: 1.25rem 1.5rem;
  box-shadow: 0 1px 4px rgba(15,26,46,0.07);
}

.legal-highlight-label {
  display: block;
  margin-bottom: 0.6rem;
  color: #E8A020;
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.legal-highlight strong {
  display: block;
  color: #0F1A2E;
  font-weight: 800;
  font-size: 1rem;
  margin-bottom: 0.5rem;
}

.legal-highlight p {
  margin: 0.2rem 0;
  color: #4B5563;
  font-size: 0.88rem;
  line-height: 1.5;
}

.legal-highlight a {
  align-self: flex-start;
  margin-top: 1rem;
  border-radius: 0.5rem;
  background: transparent;
  color: #E8A020;
  border: 1.5px solid #E8A020;
  padding: 0.45rem 1rem;
  font-size: 0.82rem;
  font-weight: 700;
  text-decoration: none;
  transition: background 0.2s ease, color 0.2s ease;
}

.legal-highlight a:hover {
  background: #E8A020;
  color: #fff;
}

/* Scrollbar */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-thumb { background: var(--color-accent); border-radius: 3px; }

/* ── Animations ── */
@keyframes fadeIn    { from { opacity:0; transform:translateY(10px); } to { opacity:1; transform:translateY(0); } }
@keyframes spin      { to { transform:rotate(360deg); } }
@keyframes pulse     { 0%,100% { opacity:1; } 50% { opacity:.4; } }
@keyframes heroFadeUp{ from { opacity:0; transform:translateY(22px); } to { opacity:1; transform:translateY(0); } }
@keyframes btnGlow   { 0%,100% { box-shadow:0 8px 28px rgba(232,160,32,.35); } 50% { box-shadow:0 12px 44px rgba(232,160,32,.65); } }
@keyframes chipSlide { from { opacity:0; transform:translateY(10px) scale(.96); } to { opacity:1; transform:translateY(0) scale(1); } }
@keyframes slideDown { from { opacity:0; transform:translateY(-8px); } to { opacity:1; transform:translateY(0); } }

.fade-in   { animation: fadeIn 0.3s ease-out; }
.hero-anim { opacity:0; animation:heroFadeUp .7s cubic-bezier(.22,.68,0,1.2) forwards; }
.hero-chip { opacity:0; animation:chipSlide .55s ease forwards; }
.hero-btn  { animation:btnGlow 2.8s ease-in-out infinite; }

.hero-trust-panel {
  width: min(780px, 100%);
  margin-top: 1.75rem;
}

.hero-trust-strip {
  display: flex;
  align-items: stretch;
  background: rgba(255,255,255,0.055);
  border: 1px solid rgba(255,255,255,0.13);
  border-radius: 1rem;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 2px 20px rgba(0,0,0,0.16), inset 0 1px 0 rgba(255,255,255,0.07);
  overflow: hidden;
}

.hero-trust-item {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1.05rem 1.3rem;
}

.hero-trust-divider {
  width: 1px;
  background: rgba(255,255,255,0.1);
  margin: 0.8rem 0;
  flex-shrink: 0;
}

.hero-trust-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.2rem;
  height: 2.2rem;
  border-radius: 0.65rem;
  flex: 0 0 auto;
}

.hero-trust-icon svg {
  width: 1.1rem;
  height: 1.1rem;
}

.hero-trust-green { color: #34D399; background: rgba(52,211,153,0.14); }
.hero-trust-gold  { color: #E8A020; background: rgba(232,160,32,0.16); }
.hero-trust-blue  { color: #60A5FA; background: rgba(96,165,250,0.14); }

.hero-trust-item strong,
.hero-trust-item small {
  display: block;
}

.hero-trust-item strong {
  color: #fff;
  font-size: 0.875rem;
  font-weight: 700;
  line-height: 1.2;
  white-space: nowrap;
}

.hero-trust-item small {
  margin-top: 0.2rem;
  color: rgba(255,255,255,0.5);
  font-size: 0.71rem;
  font-weight: 500;
  white-space: nowrap;
}

/* ── Trust strip ── */
.trust-strip {
  background: #f8f9fb;
  border-top: 2px solid #E8A020;
  border-bottom: 1px solid #e5e9f0;
}

.trust-strip .trust-grid {
  display: flex !important;
  flex-wrap: nowrap !important;
  align-items: stretch !important;
  gap: 0 !important;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
  justify-content: unset !important;
}

.trust-strip .trust-item {
  flex: 1;
  display: flex !important;
  align-items: center;
  gap: 0.85rem;
  padding: 1.15rem 1.5rem;
  border-right: 1px solid #e5e9f0;
}

.trust-strip .trust-item:last-child {
  border-right: none;
}

.trust-icon-wrap {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 0.65rem;
  background: #FFF4E0;
  flex-shrink: 0;
}

.trust-icon {
  width: 1.2rem;
  height: 1.2rem;
  color: #E8A020;
}

.trust-title {
  font-size: 0.875rem;
  font-weight: 700;
  color: #0F1A2E;
  line-height: 1.25;
}

.trust-desc {
  font-size: 0.72rem;
  color: #6b7280;
  margin-top: 0.1rem;
  line-height: 1.3;
}

@media (min-width: 1024px) {
  .trust-title { white-space: nowrap; }
  .trust-desc  { white-space: nowrap; }
}

.spinner {
  width:40px; height:40px;
  border:4px solid #e5e7eb;
  border-top-color: var(--color-accent);
  border-radius:50%;
  animation:spin 0.8s linear infinite;
  margin:3rem auto;
}

/* ── Hero overlay (gradient contrôlé par CSS) ── */
.hero-overlay {
  background: linear-gradient(105deg, rgba(15,26,46,0.96) 0%, rgba(15,26,46,0.82) 55%, rgba(15,26,46,0.50) 100%);
}

/* Badge hero */
.hero-badge {
  font-size: 0.72rem;
  letter-spacing: 0.10em;
  padding: 0.45rem 1rem;
}
.hero-badge-short { display: none; }

/* CTA hero */
.hero-cta { min-width: 0; }

/* ── Cartes produits ── */
.product-card {
  transition: transform 0.2s, box-shadow 0.2s;
  border: 1px solid var(--color-border);
  background: var(--color-card-bg);
  border-radius: 0.75rem;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.product-card:hover { transform: translateY(-2px); box-shadow: 0 8px 25px rgba(15,26,46,0.12); }
.product-card h3, .product-title { overflow-wrap: anywhere; }
.product-card-media { position:relative; overflow:hidden; background:#fff; }
.product-card-media img { width:100%; height:100%; object-fit:contain; }

/* ── Toast notification ── */
#toast {
  position:fixed; bottom:1.5rem; right:1.5rem; z-index:9999;
  background: var(--color-primary); color:#fff;
  padding:0.75rem 1.25rem; border-radius:0.75rem; font-size:0.875rem;
  transform:translateY(100px); opacity:0; transition:all 0.3s;
  display:flex; align-items:center; gap:0.5rem; max-width:320px;
}
#toast.show  { transform:translateY(0); opacity:1; }
#toast.success { border-left:4px solid #22c55e; }
#toast.error   { border-left:4px solid #ef4444; }

/* ── Input focus ── */
input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--color-accent) !important;
  box-shadow: 0 0 0 3px rgba(232,160,32,0.15);
}
/* iOS : pas de zoom sur les inputs */
@supports (-webkit-overflow-scrolling: touch) {
  input, select, textarea { font-size: 16px; }
}

/* ── Line clamp ── */
.line-clamp-2 { display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden; }

/* ── Table responsive ── */
.table-responsive { overflow-x: auto; -webkit-overflow-scrolling: touch; border-radius: 0.75rem; }

/* ═══════════════════════════════════════════
   MOBILE — ≤ 767px
═══════════════════════════════════════════ */
@media (max-width: 767px) {

  /* ── Page background ── */
  body { background: #f0f2f5; }

  /* ── Header ── */
  .site-header {
    box-shadow: 0 8px 28px rgba(0,0,0,0.24);
  }

  .site-header > .bg-white {
    background: #101010 !important;
    border-color: rgba(255,255,255,0.16) !important;
  }

  .site-header > .bg-white > div {
    padding-top: 0.72rem;
    padding-bottom: 0.72rem;
  }

  .mobile-brand svg rect {
    fill: #ffffff;
  }

  .mobile-brand svg path,
  .mobile-brand svg rect:not(:first-child),
  .mobile-brand svg circle:first-of-type {
    stroke: #E8A020;
  }

  .mobile-brand > span span:first-child {
    color: #fff !important;
  }

  .mobile-brand > span span:first-child span {
    color: #E8A020 !important;
  }

  .mobile-brand > span span:last-child {
    color: rgba(255,255,255,0.45) !important;
  }

  .header-actions > a,
  .header-actions > button,
  #header-user-area > a {
    background: rgba(255,255,255,0.09) !important;
    border-color: rgba(255,255,255,0.08) !important;
    color: #fff !important;
    box-shadow: none !important;
  }

  .header-actions > a[href*="panier"] {
    background: #1f1f1f !important;
  }

  #mobile-menu-toggle {
    border-radius: 0.85rem;
  }

  .mobile-nav-panel {
    background:
      linear-gradient(180deg, #101010 0%, #141414 58%, rgba(16,16,16,0.97) 100%);
    border-top: 1px solid rgba(255,255,255,0.16);
    box-shadow: 0 22px 42px rgba(0,0,0,0.35);
    animation: slideDown 0.22s ease;
  }

  .mobile-menu-inner {
    padding: 0.85rem 0.8rem 1rem;
  }

  .mobile-menu-links {
    display: grid;
    gap: 0.45rem;
    padding-bottom: 0.8rem;
    border-bottom: 1px solid rgba(255,255,255,0.13);
  }

  .mobile-menu-link {
    display: flex;
    align-items: center;
    min-height: 44px;
    padding: 0.72rem 0.85rem;
    border-radius: 0.8rem;
    color: rgba(255,255,255,0.72);
    font-weight: 700;
    font-size: 0.95rem;
    transition: background 0.18s ease, color 0.18s ease;
  }

  .mobile-menu-link.is-active {
    background: rgba(255,255,255,0.12);
    color: #fff;
  }

  .mobile-menu-link:hover {
    background: rgba(255,255,255,0.08);
    color: #fff;
  }

  .mobile-menu-search {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 3.25rem;
    gap: 0.55rem;
    margin-top: 0.9rem;
  }

  .mobile-menu-search input {
    width: 100%;
    height: 3.25rem;
    border: 1px solid rgba(255,255,255,0.72);
    border-radius: 0.6rem;
    background: rgba(255,255,255,0.08);
    color: #fff;
    padding: 0 1rem;
    font-size: 16px;
    box-shadow: none !important;
  }

  .mobile-menu-search input::placeholder {
    color: rgba(255,255,255,0.46);
  }

  .mobile-menu-search button {
    height: 3.25rem;
    border: 1px solid rgba(255,255,255,0.72);
    border-radius: 0.6rem;
    background: rgba(255,255,255,0.08);
    color: #fff;
    display: grid;
    place-items: center;
  }

  .mobile-menu-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    min-height: 3.55rem;
    margin-top: 1rem;
    border-radius: 1rem;
    background: #fff;
    color: #101010;
    font-weight: 800;
    font-size: 1rem;
    box-shadow: 0 16px 30px rgba(0,0,0,0.22);
  }

  .mobile-menu-account {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.55rem;
    margin-top: 0.85rem;
  }

  .mobile-menu-account a {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 2.75rem;
    border-radius: 0.85rem;
    color: rgba(255,255,255,0.86);
    background: rgba(255,255,255,0.08);
    font-size: 0.86rem;
    font-weight: 700;
  }

  .assurance-badges {
    grid-template-columns: 1fr;
    gap: 0.5rem;
  }

  .hero-assurance {
    width: 100%;
    max-width: 24rem;
  }

  .hero-trust-panel {
    width: 100%;
    margin-top: 1.1rem;
  }

  /* Badges trust : 3 colonnes horizontales sur mobile */
  .hero-trust-strip {
    flex-direction: row;
    border-radius: 0.85rem;
  }

  .hero-trust-divider {
    width: 1px;
    height: auto;
    margin: 0.65rem 0;
  }

  .hero-trust-item {
    flex: 1;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0.75rem 0.25rem;
    gap: 0.35rem;
  }

  .hero-trust-icon {
    width: 1.9rem;
    height: 1.9rem;
    border-radius: 0.5rem;
  }

  .hero-trust-item strong {
    font-size: 0.7rem;
    white-space: normal;
    line-height: 1.2;
  }

  .hero-trust-item small {
    font-size: 0.6rem;
    margin-top: 0.05rem;
    white-space: normal;
    line-height: 1.25;
  }

  .home-hero {
    min-width: 0 !important;
    overflow: hidden !important;
  }

  .home-hero .relative.z-10 {
    width: 100% !important;
    max-width: 100% !important;
    padding-left: 1rem !important;
    padding-right: 1rem !important;
  }

  .home-hero h1 span {
    overflow-wrap: anywhere !important;
  }

  .home-hero .hero-chip {
    font-size: 0.78rem !important;
    padding-left: 0.7rem !important;
    padding-right: 0.7rem !important;
  }


  .trust-strip .trust-grid {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 0 !important;
    padding: 0 !important;
  }

  .trust-strip .trust-item {
    flex: unset !important;
    width: auto !important;
    padding: 0.85rem 0.9rem !important;
    gap: 0.6rem !important;
    border-right: 1px solid #e5e9f0 !important;
    border-bottom: 1px solid #e5e9f0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    min-height: unset;
    align-items: flex-start !important;
    justify-content: flex-start !important;
  }

  .trust-strip .trust-item:nth-child(even) {
    border-right: none !important;
  }

  .trust-strip .trust-item:last-child,
  .trust-strip .trust-item:nth-last-child(2):nth-child(odd) {
    border-bottom: none !important;
  }

  .trust-strip .trust-icon-wrap {
    width: 2rem !important;
    height: 2rem !important;
    border-radius: 0.5rem !important;
    margin-top: 0.1rem;
  }

  .trust-strip .trust-icon {
    width: 1rem !important;
    height: 1rem !important;
  }

  .assurance-badge {
    min-height: 3rem;
    justify-content: flex-start;
    font-size: 0.8rem;
    border-radius: 0.85rem;
  }

  .reviews-track {
    grid-template-columns: none !important;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  .reviews-track::-webkit-scrollbar {
    display: none;
  }

  .home-confidence {
    padding-top: 0.9rem;
    padding-bottom: 0.65rem;
  }

  .home-confidence-inner h2 {
    font-size: 1.45rem;
  }

  .home-confidence-inner > p:not(:first-child) {
    font-size: 0.9rem;
    line-height: 1.55;
  }

  .home-confidence-points {
    gap: 0.45rem;
  }

  .home-confidence-points span {
    padding: 0.42rem 0.68rem;
    font-size: 0.76rem;
  }

  .legal-highlight {
    padding: 1rem 1.1rem;
  }

  .legal-highlight a {
    align-self: stretch;
    text-align: center;
  }

  .review-card {
    min-height: 14rem;
  }

  /* ── Cartes produits — grille 2 colonnes ── */
  .product-card {
    border-radius: 0.875rem;
    border-color: #e8ebf0;
    box-shadow: 0 2px 12px rgba(15,26,46,0.07);
  }
  .product-card-media {
    aspect-ratio: 1 / 1;
  }
  .product-card-media img {
    padding: 0.5rem;
  }
  .product-card-body {
    padding: 0.6rem 0.65rem 0.65rem;
    flex: 1;
    display: flex;
    flex-direction: column;
  }
  .product-category {
    font-size: 0.65rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-bottom: 0.25rem;
  }
  .product-title {
    font-size: 0.78rem;
    line-height: 1.18rem;
    min-height: 2.36rem;
    margin-bottom: 0.3rem;
    flex: 1;
  }
  .product-rating {
    margin-bottom: 0.4rem;
    transform: scale(0.82);
    transform-origin: left center;
  }
  .product-buy-row {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 0.25rem;
    margin-top: auto;
  }
  .current-price {
    display: block;
    font-size: 0.95rem;
    font-weight: 800;
    line-height: 1;
    color: var(--color-primary);
  }
  .old-price {
    display: block;
    font-size: 0.68rem;
    margin-top: 0.1rem;
    color: #9ca3af;
  }
  .product-discount {
    font-size: 0.62rem;
    padding: 0.1rem 0.4rem;
  }
  .add-cart-btn {
    width: 2rem !important;
    height: 2rem !important;
    min-height: 2rem !important;
    border-radius: 0.6rem !important;
    flex-shrink: 0;
  }
  .add-cart-btn svg { width: 0.85rem; height: 0.85rem; }

  /* ── Chips hero ── */
  .hero-chip { font-size: 0.78rem; padding: 0.35rem 0.75rem; }

  /* ── Toast ── */
  #toast { left:0.75rem; right:0.75rem; bottom:0.75rem; max-width:none; border-radius:0.875rem; }

  /* ── Formulaires ── */
  input[type="text"],
  input[type="email"],
  input[type="tel"],
  input[type="number"],
  input[type="password"],
  select,
  textarea {
    font-size: 16px; /* empêche le zoom iOS */
    border-radius: 0.75rem !important;
  }

  /* ── Panier — items ── */
  .cart-item {
    padding: 0.75rem !important;
    gap: 0.75rem !important;
  }
  .cart-item-img {
    width: 68px !important;
    height: 68px !important;
    border-radius: 0.6rem !important;
    flex-shrink: 0;
  }
  .cart-item-actions {
    border-top: 1px solid #f3f4f6;
    margin-top: 0.5rem;
    padding-top: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
  }
  .qty-btn { min-height: 44px; min-width: 44px; }

  /* ── Checkout stepper labels cachés ── */
  .step-label-text { display: none; }

  /* ── Footer ── */
  footer .grid { gap: 1.25rem; }
  footer h3 { font-size: 0.8rem; margin-bottom: 0.5rem; }
  footer a, footer p, footer li { font-size: 0.78rem; }
  footer .border-t > div { flex-direction: column; align-items: center; gap: 0.75rem; text-align: center; }
  footer .border-t > div > div:first-child { justify-content: center; }

  /* ── Pages légales / CGV / Contact ── */
  .max-w-4xl.mx-auto { padding-left: 0.75rem; padding-right: 0.75rem; }
  .max-w-4xl h1 { font-size: 1.5rem; }

  /* ── Générique ── */
  h1 { letter-spacing: -0.01em; }
}

/* ═══════════════════════════════════════════
   TRÈS PETITS ÉCRANS — ≤ 374px
═══════════════════════════════════════════ */
@media (max-width: 374px) {
  .product-title { font-size: 0.73rem; }
  .current-price { font-size: 0.85rem; }
  .add-cart-btn  { width: 2.2rem !important; height: 2.2rem !important; min-height: 2.2rem !important; }
  .hero-chip     { font-size: 0.7rem; padding: 0.3rem 0.55rem; }
}

/* ═══════════════════════════════════════════
   FICHE PRODUIT DESKTOP — galerie fixe, infos défilables
═══════════════════════════════════════════ */
@media (min-width: 1024px) {
  .product-layout {
    align-items: start;
  }

  .product-gallery {
    position: sticky;
    top: 6.75rem;
    align-self: start;
  }

  .product-info-panel {
    max-height: calc(100vh - 7.5rem);
    overflow-y: auto;
    padding-right: 0.85rem;
    scrollbar-width: thin;
    scrollbar-color: var(--color-accent) #edf0f4;
  }

  .product-info-panel::-webkit-scrollbar {
    width: 8px;
  }

  .product-info-panel::-webkit-scrollbar-track {
    background: #edf0f4;
    border-radius: 999px;
  }

  .product-info-panel::-webkit-scrollbar-thumb {
    background: var(--color-accent);
    border-radius: 999px;
  }
}

/* ═══════════════════════════════════════════
   MOBILE PRO POLISH — layout global
═══════════════════════════════════════════ */
@media (max-width: 767px) {
  body {
    background: #f4f6f9;
    color: #253044;
  }

  main > .max-w-7xl,
  main > .max-w-5xl,
  main > .max-w-4xl,
  main > .max-w-3xl {
    padding-left: 0.875rem;
    padding-right: 0.875rem;
  }

  .ticker-track {
    gap: 2rem !important;
  }

  .site-header > .bg-white > div {
    row-gap: 0.55rem;
  }

  .mobile-brand {
    min-width: 0;
  }

  .mobile-brand span {
    max-width: 9.2rem;
  }

  .mobile-search {
    margin-top: 0.1rem;
    padding-top: 0.55rem;
    border-top: 1px solid #edf0f4;
  }

  .mobile-search > div {
    border-radius: 0.95rem;
    box-shadow: 0 8px 22px rgba(15, 26, 46, 0.08);
  }

  .mobile-search input {
    font-size: 16px;
    min-width: 0;
  }

  .mobile-search button {
    border-radius: 0;
  }

  .mobile-nav-panel {
    box-shadow: 0 18px 34px rgba(15, 26, 46, 0.28);
  }

  .mobile-nav-panel a {
    min-height: 44px;
  }

  /* ── Hero mobile — image portrait dédiée ── */
  .home-hero {
    background-image: url('../../tm7-mobile.webp') !important;
    background-position: center top !important;
    background-size: cover !important;
    background-attachment: scroll !important;
    transform: translateZ(0);
    -webkit-transform: translateZ(0);
  }

  .home-hero .hero-overlay {
    background: linear-gradient(
      175deg,
      rgba(10, 17, 32, 0.92) 0%,
      rgba(10, 17, 32, 0.80) 55%,
      rgba(10, 17, 32, 0.65) 100%
    ) !important;
  }

  .home-hero > .relative.z-10 {
    padding-top: 1.5rem !important;
    padding-bottom: 1.75rem !important;
  }

  /* Badge promo compact */
  .hero-badge {
    font-size: 0.6rem !important;
    letter-spacing: 0.06em !important;
    padding: 0.35rem 0.75rem !important;
    max-width: calc(100vw - 2rem) !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    margin-bottom: 0.6rem !important;
  }
  .hero-badge-full  { display: none !important; }
  .hero-badge-short { display: inline !important; }

  /* Titre */
  .home-hero h1 {
    font-size: 1.75rem !important;
    line-height: 1.15 !important;
    margin-bottom: 0.65rem !important;
    max-width: calc(100vw - 2rem) !important;
  }

  /* Sous-titre */
  .home-hero p.hero-anim {
    font-size: 0.875rem !important;
    line-height: 1.5 !important;
    margin-bottom: 0.85rem !important;
    max-width: calc(100vw - 2rem) !important;
  }

  /* Conditions promo : masquées sur mobile */
  .hero-promo-info {
    display: none !important;
  }

  /* CTA button */
  .hero-cta {
    width: min(100%, 22rem) !important;
    justify-content: center !important;
    padding: 0.9rem 1.2rem !important;
    border-radius: 1rem !important;
    font-size: 0.975rem !important;
    margin-bottom: 0 !important;
  }

  .trust-strip {
    background: #f8f9fb;
    border-top: 2px solid #E8A020;
    border-bottom: 1px solid #e5e9f0;
  }

  .home-products {
    padding-top: 1.5rem;
    padding-bottom: 1.1rem;
  }

  .home-products > h2 {
    margin-bottom: 1.5rem;
    font-size: 1.45rem;
  }

  .home-category {
    margin-bottom: 1.35rem;
  }

  .section-heading {
    align-items: flex-end;
    margin-bottom: 0.9rem;
  }

  .section-heading h3 {
    font-size: 1.08rem;
    line-height: 1.1;
  }

  .products-grid {
    gap: 0.75rem !important;
  }

  .product-card {
    border-radius: 1rem;
    box-shadow: 0 10px 24px rgba(15,26,46,0.075);
  }

  .product-card-media img {
    padding: 0.55rem;
  }

  .product-card-body {
    padding: 0.72rem;
  }

  .product-title {
    min-height: 2.35rem;
  }

  .catalogue-page {
    padding-top: 1.2rem;
  }

  .catalogue-toolbar {
    gap: 0.8rem;
    margin-bottom: 1rem;
  }

  .catalogue-toolbar h1 {
    font-size: 1.55rem;
    line-height: 1.12;
  }

  .catalogue-actions select,
  .catalogue-actions button {
    border-radius: 0.9rem;
  }

  .filters-panel {
    width: 100%;
  }

  .filters-panel > div {
    position: static;
    border: 1px solid #e7ebf1;
    box-shadow: 0 10px 24px rgba(15,26,46,0.06);
  }

  .product-page {
    padding-top: 1rem;
  }

  .product-layout {
    gap: 0.9rem;
  }

  .product-info-panel {
    padding: 0.95rem;
    border: 1px solid #e7ebf1;
    border-radius: 1.15rem;
    background: #fff;
    box-shadow: 0 10px 24px rgba(15,26,46,0.06);
  }

  .product-info-panel h1 {
    font-size: 1.42rem;
    line-height: 1.15;
  }

  .product-info-panel #btn-panier {
    min-width: 0;
  }

  .contact-page {
    padding-top: 1.4rem;
    padding-bottom: 2rem;
  }

  .contact-page h1 {
    font-size: 1.65rem;
  }

  .contact-page > p {
    margin-bottom: 1.35rem;
    font-size: 0.94rem;
    line-height: 1.55;
  }

  .contact-layout {
    gap: 1rem;
  }

  .contact-info-card,
  .contact-security-card,
  .contact-form-card {
    border: 1px solid #e7ebf1;
    border-radius: 1.1rem;
    box-shadow: 0 10px 24px rgba(15,26,46,0.06);
  }

  .promo-band {
    margin-top: 0.5rem;
    padding-top: 2rem;
    padding-bottom: 2rem;
    text-align: center;
  }

  .promo-band h2 {
    font-size: 1.55rem;
    line-height: 1.15;
  }

  .promo-band a {
    width: 100%;
    justify-content: center;
    text-align: center;
  }

  .site-footer {
    margin-top: 2.5rem;
  }

  .footer-main {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.85rem;
    padding-top: 2rem;
    padding-bottom: 1.25rem;
  }

  .footer-brand,
  .footer-section,
  .footer-contact {
    padding: 1rem;
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 1rem;
    background: rgba(255,255,255,0.035);
  }

  .footer-brand svg {
    width: min(170px, 100%);
    height: auto;
  }

  .footer-section h3,
  .footer-contact h3 {
    margin-bottom: 0.75rem;
    font-size: 0.95rem;
  }

  .footer-section ul,
  .footer-contact ul {
    display: grid;
    gap: 0.45rem;
  }

  .footer-section li a,
  .footer-contact li {
    font-size: 0.86rem;
  }

  .footer-delivery {
    border-radius: 0.9rem;
    background: rgba(255,255,255,0.08);
  }

  .footer-bottom {
    align-items: center;
    padding-top: 1rem;
    padding-bottom: 1.2rem;
  }

  .footer-legal-links {
    flex: 1 1 auto;
    min-width: 0;
    gap: 0.55rem 0.75rem;
    justify-content: flex-start;
    line-height: 1.6;
  }

  .payment-badges {
    flex: 0 0 auto;
    flex-wrap: nowrap;
    white-space: nowrap;
    padding: 0;
    border-radius: 0;
    background: transparent;
    gap: 0.5rem;
  }

  .payment-badges > span:first-of-type {
    flex: 0 0 auto;
    text-align: left;
    margin: 0 0.25rem 0 0;
  }

  .payment-logo {
    width: 54px;
    height: 20px;
    flex: 0 0 auto;
  }

  #cookie-banner {
    padding: 0.85rem;
  }

  #cookie-banner p {
    align-items: flex-start;
    font-size: 0.8rem;
    line-height: 1.45;
  }

  #cookie-banner .max-w-7xl {
    gap: 0.8rem;
  }

  #cookie-banner button {
    flex: 1;
    border-radius: 0.85rem;
  }
}

@media (max-width: 767px) {
  .footer-bottom {
    align-items: center;
  }

  .footer-legal-links {
    justify-content: center;
  }

  /* logos paiement — wrap au lieu de scroll */
  .payment-badges {
    flex-wrap: wrap;
    justify-content: center;
    max-width: 100%;
    overflow-x: visible;
  }
}

/* ═══════════════════════════════════════════
   IMPRESSION
═══════════════════════════════════════════ */
@media print {
  header, footer, #cookie-banner, #section-compte-invite,
  .no-print, button, [role="button"] { display: none !important; }
  body { background:#fff; color:#000; font-size:12pt; }
  a { color:#000; text-decoration:none; }
  .rounded-2xl, .rounded-3xl, .rounded-xl { border-radius:4px; border:1px solid #ddd; }
  .shadow-sm, .shadow-xl { box-shadow:none; }
  .grid { display:block; }
}
