/* N-Digital Services - Boutique (CSS commun à toutes les pages) */
body.bodywebsite { margin: 0; font-family: 'Open Sans', sans-serif; color: #1c2430; background: #f5f7fa; line-height: 1.6; }
.bodywebsite * { box-sizing: border-box; }
.bodywebsite a { color: #0a6cff; text-decoration: none; }
.bodywebsite h1, .bodywebsite h2, .bodywebsite h3 { margin: 0 0 12px; padding: 0; line-height: 1.25; color: #0e1726; }
.bodywebsite .nds-wrap { max-width: 1140px; margin: 0 auto; padding: 0 20px; }

/* En-tête */
.bodywebsite .nds-header { background: #0e1726; position: sticky; top: 0; z-index: 50; box-shadow: 0 2px 10px rgba(0,0,0,.25); }
.bodywebsite .nds-nav { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px; flex-wrap: wrap; }
.bodywebsite .nds-logo { color: #fff; font-weight: 700; font-size: 20px; letter-spacing: .5px; }
.bodywebsite .nds-logo span { color: #3d8bff; }
.bodywebsite .nds-menu { display: flex; gap: 22px; flex-wrap: wrap; }
.bodywebsite .nds-menu a { color: #cfd8e6; font-weight: 600; font-size: 15px; }
.bodywebsite .nds-menu a:hover { color: #fff; }

/* Boutons */
.bodywebsite .nds-btn { display: inline-block; padding: 11px 20px; border-radius: 8px; font-weight: 700; font-size: 15px; border: 0; cursor: pointer; background: #0a6cff; color: #fff; transition: transform .15s, box-shadow .15s; }
.bodywebsite .nds-btn:hover { transform: translateY(-1px); box-shadow: 0 6px 16px rgba(10,108,255,.3); }
.bodywebsite .nds-btn-wa { background: #1fa855; color: #fff; }
.bodywebsite .nds-btn-wa:hover { box-shadow: 0 6px 16px rgba(31,168,85,.35); }
.bodywebsite .nds-btn-ghost { background: transparent; color: #fff; border: 2px solid rgba(255,255,255,.6); }
.bodywebsite .nds-btn-light { background: #e8f0ff; color: #0a6cff; }
.bodywebsite .nds-btn-sm { padding: 8px 14px; font-size: 14px; }

/* Bandeau d'accueil */
.bodywebsite .nds-hero { background: linear-gradient(135deg, #0e1726 0%, #0a3d91 60%, #0a6cff 100%); color: #fff; padding: 72px 0; }
.bodywebsite .nds-hero h1 { color: #fff; font-size: 40px; max-width: 720px; }
.bodywebsite .nds-hero p { font-size: 18px; max-width: 640px; color: #d6e2f5; margin: 0 0 26px; }
.bodywebsite .nds-hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* Sections */
.bodywebsite .nds-section { padding: 56px 0; }
.bodywebsite .nds-section-alt { background: #fff; }
.bodywebsite .nds-title { font-size: 28px; text-align: center; }
.bodywebsite .nds-sub { text-align: center; color: #5b6778; margin: 0 auto 32px; max-width: 640px; }
.bodywebsite .nds-pagehead { background: #0e1726; color: #fff; padding: 36px 0; }
.bodywebsite .nds-pagehead h1 { color: #fff; font-size: 30px; margin: 0; }
.bodywebsite .nds-pagehead p { color: #b9c6da; margin: 6px 0 0; }

/* Grilles et cartes */
.bodywebsite .nds-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 22px; }
.bodywebsite .nds-card { background: #fff; border: 1px solid #e3e8ef; border-radius: 12px; overflow: hidden; display: flex; flex-direction: column; transition: transform .15s, box-shadow .15s; }
.bodywebsite .nds-card:hover { transform: translateY(-3px); box-shadow: 0 10px 24px rgba(14,23,38,.1); }
.bodywebsite .nds-thumb { height: 150px; display: flex; align-items: center; justify-content: center; font-size: 54px; font-weight: 700; color: #fff; background: linear-gradient(135deg, #0a3d91, #0a6cff); }
.bodywebsite .nds-thumb-service { background: linear-gradient(135deg, #0e1726, #35507a); }
.bodywebsite .nds-card-body { padding: 16px; display: flex; flex-direction: column; flex: 1; }
.bodywebsite .nds-card-body h3 { font-size: 17px; margin-bottom: 6px; }
.bodywebsite .nds-card-body h3 a { color: #0e1726; }
.bodywebsite .nds-desc { color: #5b6778; font-size: 14px; margin: 0 0 12px; flex: 1; }
.bodywebsite .nds-tag { display: inline-block; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .5px; color: #0a6cff; background: #e8f0ff; padding: 2px 8px; border-radius: 20px; margin-bottom: 8px; align-self: flex-start; }
.bodywebsite .nds-price { font-size: 18px; font-weight: 700; color: #0e1726; margin-bottom: 12px; }
.bodywebsite .nds-price-quote { color: #b05c00; }
.bodywebsite .nds-card-actions { display: flex; gap: 8px; flex-wrap: wrap; }

/* Atouts */
.bodywebsite .nds-feature { background: #fff; border: 1px solid #e3e8ef; border-radius: 12px; padding: 22px; text-align: center; }
.bodywebsite .nds-feature i { font-size: 30px; color: #0a6cff; margin-bottom: 10px; }
.bodywebsite .nds-feature h3 { font-size: 17px; }
.bodywebsite .nds-feature p { color: #5b6778; font-size: 14px; margin: 0; }

/* Filtres boutique */
.bodywebsite .nds-filters { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; margin-bottom: 26px; }
.bodywebsite .nds-filters input[type=text] { flex: 1; min-width: 200px; padding: 10px 14px; border: 1px solid #cdd5e0; border-radius: 8px; font-size: 15px; }
.bodywebsite .nds-chip { padding: 8px 16px; border-radius: 20px; background: #fff; border: 1px solid #cdd5e0; color: #1c2430; font-weight: 600; font-size: 14px; }
.bodywebsite .nds-chip-on { background: #0a6cff; border-color: #0a6cff; color: #fff; }
.bodywebsite .nds-empty { text-align: center; color: #5b6778; padding: 40px 0; }

/* Fiche produit */
.bodywebsite .nds-product { display: grid; grid-template-columns: 1fr 1fr; gap: 36px; background: #fff; border: 1px solid #e3e8ef; border-radius: 12px; padding: 28px; }
.bodywebsite .nds-product .nds-thumb { height: 320px; border-radius: 10px; font-size: 110px; }
.bodywebsite .nds-product h1 { font-size: 28px; }
.bodywebsite .nds-ref { color: #8492a6; font-size: 13px; margin-bottom: 14px; }
.bodywebsite .nds-qty { display: flex; align-items: center; gap: 10px; margin: 18px 0; font-weight: 600; }
.bodywebsite .nds-qty input { width: 90px; padding: 9px 10px; border: 1px solid #cdd5e0; border-radius: 8px; font-size: 16px; }

/* Contact */
.bodywebsite .nds-contact { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 22px; }

/* Appel à l'action et pied de page */
.bodywebsite .nds-cta { background: #0a6cff; color: #fff; text-align: center; padding: 48px 0; }
.bodywebsite .nds-cta h2 { color: #fff; font-size: 26px; }
.bodywebsite .nds-cta p { margin: 0 0 20px; color: #e3edff; }
.bodywebsite .nds-footer { background: #0e1726; color: #b9c6da; padding: 36px 0 20px; font-size: 14px; }
.bodywebsite .nds-footer h3 { color: #fff; font-size: 16px; }
.bodywebsite .nds-footer a { color: #b9c6da; }
.bodywebsite .nds-footer a:hover { color: #fff; }
.bodywebsite .nds-footer-cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 26px; }
.bodywebsite .nds-footer p { margin: 0 0 6px; }
.bodywebsite .nds-copy { border-top: 1px solid #243249; margin-top: 24px; padding-top: 16px; text-align: center; font-size: 13px; }

@media (max-width: 760px) {
  .bodywebsite .nds-hero { padding: 48px 0; }
  .bodywebsite .nds-hero h1 { font-size: 30px; }
  .bodywebsite .nds-product { grid-template-columns: 1fr; padding: 18px; }
  .bodywebsite .nds-product .nds-thumb { height: 200px; font-size: 80px; }
  .bodywebsite .nds-nav { padding-top: 10px; padding-bottom: 10px; }
}

/* Catalogue NPrint */
.bodywebsite .nds-thumb { overflow: hidden; }
.bodywebsite .nds-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.bodywebsite .nds-price small { font-size: 12px; font-weight: 600; color: #5b6778; }
.bodywebsite .nds-table { width: 100%; border-collapse: collapse; margin: 18px 0; background: #fff; font-size: 15px; }
.bodywebsite .nds-table th { text-align: left; background: #f0f3f8; color: #0e1726; padding: 10px 12px; font-size: 13px; text-transform: uppercase; letter-spacing: .4px; }
.bodywebsite .nds-table td { padding: 10px 12px; border-top: 1px solid #e3e8ef; vertical-align: top; }
.bodywebsite .nds-nowrap { white-space: nowrap; font-weight: 700; }
.bodywebsite .nds-right { text-align: right; }
.bodywebsite .nds-order { border-top: 1px solid #e3e8ef; margin-top: 8px; }
.bodywebsite .nds-qty { flex-wrap: wrap; }
.bodywebsite .nds-qty label { min-width: 80px; }
.bodywebsite .nds-qty select { flex: 1; min-width: 180px; padding: 9px 10px; border: 1px solid #cdd5e0; border-radius: 8px; font-size: 15px; background: #fff; }

/* Logo */
.bodywebsite .nds-logo { display: flex; align-items: center; }
.bodywebsite .nds-logo img { height: 44px; width: auto; max-width: 100%; display: block; }

/* Images produits adaptatives : la vignette garde ses proportions et l'image entière reste visible */
.bodywebsite .nds-thumb { height: auto; aspect-ratio: 4 / 3; }
.bodywebsite .nds-thumb img { object-fit: contain; background: #fff; max-width: 100%; }
.bodywebsite .nds-product { align-items: start; }
.bodywebsite .nds-product .nds-thumb { height: auto; aspect-ratio: 1 / 1; width: 100%; max-width: 520px; margin: 0 auto; }
.bodywebsite .nds-thumb { font-size: clamp(40px, 9vw, 64px); }
.bodywebsite .nds-product .nds-thumb { font-size: clamp(70px, 16vw, 120px); }
@media (max-width: 760px) {
  .bodywebsite .nds-product .nds-thumb { height: auto; }
  .bodywebsite .nds-logo img { height: 36px; }
}
@media (max-width: 480px) {
  .bodywebsite .nds-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .bodywebsite .nds-card-body { padding: 12px; }
  .bodywebsite .nds-card-body h3 { font-size: 15px; }
  .bodywebsite .nds-price { font-size: 15px; }
  .bodywebsite .nds-card-actions .nds-btn { width: 100%; text-align: center; padding: 8px 6px; font-size: 13px; }
}
