/* =========================================================================
   THÈME « VSX » — reproduction du design vsx-shop.fr (thème Shopify Enterprise)
   Entièrement préfixé .theme-vsx : n'affecte JAMAIS les autres thèmes.
   Police DM Sans · textes #2a2b2a · boutons #0348ad (bicolores) · rayon 26px ·
   cartes blanches bordure #f2f2f2 · promo #ff0303 · nouveau #7fb800.
   ========================================================================= */

.theme-vsx {
  --vsx-primary: #0348ad;
  --vsx-primary-light: #2c6ac6;
  --vsx-primary-light: color-mix(in srgb, var(--vsx-primary) 78%, #ffffff);
  --vsx-text: #2a2b2a;
  --vsx-title: #1c2a36;
  --vsx-muted: rgba(42, 43, 42, 0.62);
  --vsx-line: #e7e8ea;
  --vsx-card-border: #f2f2f2;
  --vsx-field: #eaeaea;
  --vsx-sale: #ff0303;
  --vsx-new: #7fb800;
  --vsx-orange: #ff580d;
  --vsx-navy: #3f5788;
  --vsx-navy-dark: #314368;
  --vsx-radius: 26px;
  --vsx-radius-card: 20px;
  --vsx-radius-drawer: 16px;
  --vsx-shadow: 0 18px 45px rgba(30, 50, 70, 0.10);
  --vsx-shadow-sm: 0 6px 20px rgba(30, 50, 70, 0.07);
  --vsx-maxw: 1290px;

  /* Jetons du thème par défaut redirigés vers la palette VSX */
  --dprs-text: #2a2b2a;
  --dprs-gray: rgba(42, 43, 42, 0.62);
  --dprs-border: #e7e8ea;
  --dprs-border-soft: #f2f2f2;
  --dprs-primary-soft: rgba(3, 72, 173, 0.07);
  --dprs-radius: 16px;
  --dprs-radius-sm: 12px;
  --glass-bg: #ffffff;
  --glass-bg-strong: #ffffff;
  --glass-border: #f2f2f2;
  --glass-shadow: 0 6px 20px rgba(30, 50, 70, 0.07);
  --glass-shadow-hover: 0 18px 45px rgba(30, 50, 70, 0.12);

  font-family: "DM Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  color: var(--vsx-text);
  background: #ffffff;
  background-attachment: initial;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

.theme-vsx { --vsx-gutter: 32px; }
.theme-vsx .container { max-width: var(--vsx-maxw); padding: 0 var(--vsx-gutter); }
.theme-vsx h1, .theme-vsx h2, .theme-vsx h3, .theme-vsx h4 { font-family: inherit; color: var(--vsx-title); font-weight: 700; letter-spacing: -0.01em; }
.theme-vsx a { color: var(--vsx-primary); }
.theme-vsx a:hover { color: var(--vsx-primary); }
.theme-vsx .vsx-sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.theme-vsx :focus-visible { outline: 2px solid var(--vsx-primary); outline-offset: 2px; }

/* ---------------------------------------------------------------- BOUTONS */
.theme-vsx .btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 26px; min-height: 45px;
  border-radius: var(--vsx-radius); border: 2px solid var(--vsx-primary);
  font-family: inherit; font-size: 14.5px; font-weight: 700; line-height: 1.2;
  text-decoration: none; cursor: pointer; box-shadow: none; transform: none;
  transition: background-position .35s ease, filter .2s, color .2s, box-shadow .2s;
}
.theme-vsx .btn-primary,
.theme-vsx button.btn:not(.btn-alt):not(.btn-outline):not(.btn-ghost):not(.btn-secondary) {
  color: #fff;
  background-color: var(--vsx-primary);
  /* Bouton bicolore façon VSX (biseau à 60 %) */
  background-image: linear-gradient(104deg, var(--vsx-primary-light) 60%, var(--vsx-primary) 60%, var(--vsx-primary) 100%);
  background-size: 200% 100%;
  background-position: 0 0;
}
.theme-vsx .btn-primary:hover,
.theme-vsx button.btn:not(.btn-alt):not(.btn-outline):not(.btn-ghost):not(.btn-secondary):hover {
  color: #fff; text-decoration: none; transform: none;
  background-position: 100% 0;
  box-shadow: 0 8px 22px rgba(3, 72, 173, 0.25);
}
.theme-vsx .btn[disabled], .theme-vsx .btn:disabled { opacity: .55; cursor: not-allowed; box-shadow: none; }
.theme-vsx .btn-alt,
.theme-vsx .btn-ghost,
.theme-vsx .btn-outline {
  color: var(--vsx-primary);
  background: #fff linear-gradient(104deg, rgba(3, 72, 173, 0.07) 60%, #fff 60%) 0 0 / 200% 100%;
  border-color: var(--vsx-primary);
  -webkit-backdrop-filter: none; backdrop-filter: none;
}
.theme-vsx .btn-alt:hover,
.theme-vsx .btn-ghost:hover,
.theme-vsx .btn-outline:hover { color: var(--vsx-primary); background-position: 100% 0; text-decoration: none; border-color: var(--vsx-primary); }
.theme-vsx .btn-secondary { background: var(--vsx-title); border-color: var(--vsx-title); color: #fff; box-shadow: none; }
.theme-vsx .btn-secondary:hover { background: #000; border-color: #000; color: #fff; transform: none; }
.theme-vsx .btn-sm { padding: 7px 16px; min-height: 36px; font-size: 13px; }
.theme-vsx .btn-block { display: flex; width: 100%; }

/* ---------------------------------------------------------------- CHAMPS */
.theme-vsx input[type="text"], .theme-vsx input[type="email"], .theme-vsx input[type="tel"],
.theme-vsx input[type="password"], .theme-vsx input[type="number"], .theme-vsx input[type="search"],
.theme-vsx input[type="date"], .theme-vsx input[type="url"], .theme-vsx input:not([type]),
.theme-vsx select, .theme-vsx textarea {
  font-family: inherit;
}
.theme-vsx .form-group input:not([type="checkbox"]):not([type="radio"]):not([type="file"]):not([type="hidden"]), .theme-vsx .form-group select,
.theme-vsx .product-detail input[type="number"],
.theme-vsx .panel input:not([type="checkbox"]):not([type="radio"]):not([type="file"]):not([type="hidden"]), .theme-vsx .panel select {
  border: 2px solid var(--vsx-line) !important; border-radius: var(--vsx-radius) !important;
  padding: 10px 18px !important; min-height: 45px; background: #fff; color: var(--vsx-text); font-size: 15px;
}
.theme-vsx .form-group textarea, .theme-vsx .panel textarea {
  border: 2px solid var(--vsx-line); border-radius: var(--vsx-radius-drawer); padding: 12px 18px; background: #fff; font-size: 15px;
}
.theme-vsx .form-group input:not([type="checkbox"]):not([type="radio"]):focus, .theme-vsx .form-group select:focus, .theme-vsx .form-group textarea:focus,
.theme-vsx .product-detail input[type="number"]:focus {
  outline: none; border-color: var(--vsx-primary) !important; box-shadow: 0 0 0 3px rgba(3, 72, 173, .12);
}
.theme-vsx .form-group label { color: var(--vsx-title); font-weight: 700; }

/* ---------------------------------------------------------------- BANDEAU D'ANNONCE */
.theme-vsx .vsx-announce {
  background: var(--vsx-primary); color: #fff; font-size: 13px; font-weight: 500;
}
.theme-vsx .vsx-announce .container { display: flex; align-items: center; justify-content: center; gap: 8px; padding-top: 7px; padding-bottom: 7px; }

/* ---------------------------------------------------------------- BARRE SUPÉRIEURE */
.theme-vsx .vsx-topbar {
  position: relative; z-index: 70;
  background: linear-gradient(135deg, var(--vsx-navy) 0%, var(--vsx-navy-dark) 100%);
  border-bottom: 1px solid rgba(255, 255, 255, .08);
  color: #fff; font-size: 12.5px; line-height: 1; height: 36px; padding: 0 24px;
  display: flex; align-items: center;
}
.theme-vsx .vsx-topbar-inner { width: 100%; height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.theme-vsx .vsx-topbar-left, .theme-vsx .vsx-topbar-center, .theme-vsx .vsx-topbar-right { display: inline-flex; align-items: center; gap: 18px; height: 100%; min-width: 0; }
.theme-vsx .vsx-topbar-center { flex: 1; justify-content: center; overflow: hidden; }
.theme-vsx .vsx-tb-item { display: inline-flex; align-items: center; gap: 6px; color: #fff; font-weight: 500; white-space: nowrap; text-decoration: none; }
.theme-vsx a.vsx-tb-item:hover { color: #fff; opacity: .85; text-decoration: none; }
.theme-vsx .vsx-tb-phone { font-weight: 600; }
.theme-vsx .vsx-tb-phone:hover { color: #ffd93d !important; opacity: 1 !important; }
.theme-vsx .vsx-tb-hours { color: rgba(255, 255, 255, .7); font-weight: 400; }
.theme-vsx .vsx-tb-rating-num { font-weight: 600; }
.theme-vsx .vsx-tb-stars { display: inline-flex; gap: 1px; }
.theme-vsx .vsx-tb-stars svg { fill: rgba(255, 255, 255, .35); }
.theme-vsx .vsx-tb-stars svg.is-full, .theme-vsx .vsx-tb-stars .vsx-star-half { fill: #ffd93d; }
.theme-vsx .vsx-tb-sep { width: 1px; height: 14px; background: rgba(255, 255, 255, .18); flex-shrink: 0; }
.theme-vsx .vsx-tb-badge { font-weight: 600; }
.theme-vsx .vsx-tb-badge svg { color: #ffd93d; }
.theme-vsx .vsx-tb-country { margin: 0; }
.theme-vsx .vsx-tb-country select {
  appearance: none; -webkit-appearance: none; cursor: pointer;
  background: rgba(255, 255, 255, .12) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' width='10' height='10' fill='none' stroke='%23fff' stroke-width='2.5'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 10px center;
  border: 1px solid rgba(255, 255, 255, .18); border-radius: 100px;
  color: #fff; font-family: inherit; font-size: 12px; font-weight: 500; line-height: 1; padding: 5px 28px 5px 12px; height: 24px;
}
.theme-vsx .vsx-tb-country select option { color: var(--vsx-text); }

/* ---------------------------------------------------------------- EN-TÊTE */
.theme-vsx .vsx-header {
  position: sticky; top: 0; z-index: 60;
  background: #fff; transition: box-shadow .2s ease;
}
.theme-vsx .vsx-header.is-stuck { box-shadow: 0 1px 0 rgba(42, 43, 42, .12), 0 6px 18px rgba(30, 50, 70, .06); }
.theme-vsx .vsx-header-row { display: flex; align-items: center; gap: 0; padding-top: 16px; padding-bottom: 16px; max-width: none; padding-left: 64px; padding-right: 64px; }
.theme-vsx .vsx-logo { display: flex; align-items: center; flex: 0 0 auto; padding-right: 24px; min-width: 238px; text-decoration: none; }
.theme-vsx .vsx-logo .site-logo { max-height: var(--logo-h, 80px); max-width: 200px; width: auto; height: auto; }
.theme-vsx .vsx-header.is-stuck .vsx-logo .site-logo { max-height: min(var(--logo-h, 80px), 64px); }
.theme-vsx .vsx-logo-text { font-size: 28px; font-weight: 700; color: var(--vsx-title); letter-spacing: -.02em; }

.theme-vsx .vsx-search { flex: 1 1 auto; max-width: 820px; min-width: 0; margin: 0 auto 0 0; position: relative; display: flex; }
.theme-vsx .vsx-search input[type="search"] {
  width: 100%; height: 46px; padding: 12px 60px 12px 24px;
  border: 0; border-radius: 34px; background: var(--vsx-field);
  font-family: inherit; font-size: 15px; color: var(--vsx-text);
  -webkit-appearance: none; appearance: none; backdrop-filter: none; -webkit-backdrop-filter: none;
}
.theme-vsx .vsx-search input[type="search"]::placeholder { color: rgba(42, 43, 42, .55); }
.theme-vsx .vsx-search input[type="search"]:focus { outline: none; background: #fff; box-shadow: 0 0 0 2px var(--vsx-primary); }
.theme-vsx .vsx-search button[type="submit"] {
  position: absolute; right: 6px; top: 50%; transform: translateY(-50%);
  width: 38px; height: 38px; padding: 0; border: 0; border-radius: 50%;
  display: grid; place-items: center; background: transparent; color: var(--vsx-text); cursor: pointer;
}
.theme-vsx .vsx-search button[type="submit"]:hover { background: rgba(42, 43, 42, .08); }
.theme-vsx .search-suggest { border-radius: 18px; border: 1px solid var(--vsx-card-border); box-shadow: 0 18px 44px rgba(30, 50, 70, .18); }
.theme-vsx .ss-name { color: var(--vsx-title); }
.theme-vsx .ss-price { color: var(--vsx-text); font-weight: 700; }

.theme-vsx .vsx-header-icons { display: flex; align-items: center; gap: 8px; margin-left: 24px; flex: 0 0 auto; }
.theme-vsx .vsx-icon-btn {
  position: relative; width: 44px; height: 44px; padding: 0; border: 0; border-radius: 50%;
  display: inline-grid; place-items: center; background: transparent; color: var(--vsx-text); cursor: pointer; text-decoration: none;
}
.theme-vsx .vsx-icon-btn:hover { background: rgba(42, 43, 42, .06); color: var(--vsx-text); text-decoration: none; }
.theme-vsx .vsx-search-toggle, .theme-vsx .vsx-burger { display: none; }
.theme-vsx .vsx-cart-count {
  position: absolute; top: 3px; right: 1px; min-width: 19px; height: 19px; padding: 0 5px;
  border-radius: 10px; background: var(--vsx-primary); color: #fff;
  font-size: 11px; font-weight: 700; line-height: 19px; text-align: center;
}
.theme-vsx .vsx-cart-count.is-empty { display: none; }

/* ---------------------------------------------------------------- NAVIGATION (ordinateur) */
.theme-vsx .vsx-nav {
  position: relative; z-index: 55; background: #fff;
  border-bottom: 1px solid rgba(42, 43, 42, .15);
}
.theme-vsx .vsx-drawer-head, .theme-vsx .vsx-nav-overlay, .theme-vsx .vsx-nav-mobile-only { display: none; }
.theme-vsx .vsx-nav-row { display: flex; align-items: flex-start; justify-content: space-between; gap: 24px; max-width: none; padding: 0 64px 8px; }
.theme-vsx .vsx-nav-list, .theme-vsx .vsx-nav-secondary { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; align-items: center; }
.theme-vsx .vsx-nav-list { column-gap: 22px; flex: 1 1 auto; min-width: 0; }
.theme-vsx .vsx-nav-item { position: relative; display: flex; align-items: center; }
.theme-vsx .vsx-nav-link {
  display: inline-block; padding: 10px 0; color: var(--vsx-text); font-size: 16px; font-weight: 700;
  text-decoration: none; border-bottom: 2px solid transparent; line-height: 1.25;
}
.theme-vsx .vsx-nav-link:hover, .theme-vsx .vsx-nav-item.is-open > .vsx-nav-link,
.theme-vsx .vsx-nav-item.is-active > .vsx-nav-link { color: var(--vsx-text); text-decoration: none; border-bottom-color: var(--vsx-text); }
.theme-vsx .vsx-nav-toggle {
  width: 24px; height: 24px; margin-left: 2px; padding: 0; border: 0; background: transparent;
  color: var(--vsx-text); cursor: pointer; display: inline-grid; place-items: center; border-radius: 50%;
}
.theme-vsx .vsx-nav-toggle svg { transition: transform .2s ease; }
.theme-vsx .vsx-nav-item.is-open > .vsx-nav-toggle svg { transform: rotate(180deg); }

.theme-vsx .vsx-dropdown {
  position: absolute; top: 100%; left: -18px; z-index: 80;
  min-width: 300px; max-width: 420px; padding: 14px 0;
  background: #fff; border-radius: 0 0 12px 12px;
  box-shadow: 0 14px 34px rgba(30, 50, 70, .16), 0 0 0 1px rgba(42, 43, 42, .05);
  opacity: 0; visibility: hidden; transform: translateY(6px);
  transition: opacity .18s ease, transform .18s ease, visibility 0s linear .18s;
}
.theme-vsx .vsx-dropdown.is-wide { max-width: 640px; min-width: 560px; }
.theme-vsx .vsx-dropdown.is-wide ul { columns: 2; column-gap: 0; }
.theme-vsx .vsx-nav-item.is-open > .vsx-dropdown { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.theme-vsx .vsx-dropdown ul { list-style: none; margin: 0; padding: 0; }
.theme-vsx .vsx-dropdown li { break-inside: avoid; }
.theme-vsx .vsx-dropdown a {
  display: block; padding: 9px 30px; color: var(--vsx-text); font-size: 15px; font-weight: 700; line-height: 1.35; text-decoration: none;
}
.theme-vsx .vsx-dropdown a:hover, .theme-vsx .vsx-dropdown a[aria-current="page"] { color: var(--vsx-primary); background: rgba(3, 72, 173, .05); text-decoration: none; }
.theme-vsx .vsx-dropdown-all a { color: var(--vsx-primary); }

.theme-vsx .vsx-nav-secondary { gap: 18px; flex: 0 0 auto; padding-top: 4px; }
.theme-vsx .vsx-nav-secondary a { color: rgba(42, 43, 42, .7); font-size: 16px; font-weight: 500; text-decoration: none; }
.theme-vsx .vsx-nav-secondary a:hover { color: var(--vsx-text); }
.theme-vsx .vsx-call-btn {
  display: inline-flex !important; align-items: center; gap: 7px;
  padding: 4px 16px; border-radius: 28px; border: 2px solid #1a66d2;
  color: #fff !important; font-weight: 700 !important;
  background: linear-gradient(104deg, #4c8edc 60%, #1d71d2 60%) 0 0 / 200% 100%;
  transition: background-position .35s ease;
}
.theme-vsx .vsx-call-btn:hover { background-position: 100% 0; }

/* ---------------------------------------------------------------- MESSAGES */
.theme-vsx .vsx-flash { margin-top: 16px; }
.theme-vsx .alert { border-radius: 14px; -webkit-backdrop-filter: none; backdrop-filter: none; }

/* ---------------------------------------------------------------- ACCUEIL : BANNIÈRE */
.theme-vsx .vsx-hero-wrap { padding: 14px 0 0; }
.theme-vsx .vsx-hero-wrap .container { max-width: none; padding: 0 0; }
.theme-vsx .vsx-hero {
  position: relative; overflow: hidden; min-height: 360px;
  display: flex; align-items: center;
  padding: 56px clamp(24px, 8vw, 140px) 64px;
  border-radius: 24px;
  background:
    radial-gradient(circle at 85% 20%, rgba(3, 72, 173, .10) 0, transparent 40%),
    radial-gradient(circle at 10% 90%, rgba(255, 88, 13, .08) 0, transparent 35%),
    linear-gradient(120deg, #f4f6fa 0%, #ffffff 55%, #eef1f6 100%);
  background-size: cover; background-position: center;
  box-shadow: 0 12px 36px rgba(30, 50, 70, .12);
}
.theme-vsx .vsx-hero-content { position: relative; z-index: 1; max-width: 620px; }
.theme-vsx .vsx-hero h1 { margin: 0 0 14px; font-size: clamp(30px, 3.6vw, 46px); line-height: 1.1; color: var(--vsx-title); }
.theme-vsx .vsx-hero p { margin: 0; font-size: 17.5px; line-height: 1.6; color: var(--vsx-text); max-width: 560px; }
.theme-vsx .vsx-hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.theme-vsx .vsx-hero-stripe { position: absolute; left: 0; right: 0; bottom: 0; height: 5px; display: flex; }
.theme-vsx .vsx-hero-stripe i { flex: 1; }
.theme-vsx .vsx-hero-stripe i:nth-child(1) { background: #1c3fa8; }
.theme-vsx .vsx-hero-stripe i:nth-child(2) { background: #fff; }
.theme-vsx .vsx-hero-stripe i:nth-child(3) { background: #d9392f; }

/* ---------------------------------------------------------------- RÉASSURANCE */
.theme-vsx .vsx-reassure { padding: 26px 0 6px; }
.theme-vsx .vsx-reassure-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.theme-vsx .vsx-reassure-list li {
  display: flex; align-items: center; gap: 14px; padding: 16px 18px;
  background: #fff; border: 1px solid var(--vsx-card-border); border-radius: 16px;
}
.theme-vsx .vsx-reassure-ico { flex: none; width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: rgba(3, 72, 173, .08); color: var(--vsx-primary); }
.theme-vsx .vsx-reassure-list strong { display: block; font-size: 13.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--vsx-title); }
.theme-vsx .vsx-reassure-list small { display: block; margin-top: 3px; font-size: 13.5px; color: var(--vsx-muted); }

/* ---------------------------------------------------------------- SECTIONS */
.theme-vsx .vsx-section { padding: 56px 0; }
.theme-vsx .vsx-section--soft {
  background:
    radial-gradient(circle at 6% 22%, rgba(255, 255, 255, .95) 0, rgba(255, 255, 255, .95) 90px, transparent 91px),
    radial-gradient(circle at 96% 82%, rgba(255, 255, 255, .9) 0, rgba(255, 255, 255, .9) 120px, transparent 121px),
    linear-gradient(180deg, #f6f7fa 0%, #eef1f5 100%);
}
.theme-vsx .vsx-section-head { text-align: center; margin: 0 0 32px; }
.theme-vsx .vsx-section-head h2 { margin: 0 0 8px; font-size: clamp(24px, 2.6vw, 34px); }
.theme-vsx .vsx-section-head p { margin: 0; color: var(--vsx-muted); font-size: 16px; }
.theme-vsx .vsx-section-foot { text-align: center; margin-top: 34px; }
.theme-vsx .vsx-empty { text-align: center; padding: 40px; background: #f7f8fa; border-radius: 20px; }
.theme-vsx .vsx-empty p { color: var(--vsx-muted); }

/* Catégories : tuiles carrées façon « collection list » */
.theme-vsx .vsx-collections { display: grid; grid-template-columns: repeat(auto-fill, minmax(168px, 1fr)); gap: 22px 18px; }
.theme-vsx .vsx-collection { display: flex; flex-direction: column; align-items: center; text-decoration: none; color: var(--vsx-text); }
.theme-vsx .vsx-collection-media {
  width: 100%; aspect-ratio: 1; border-radius: 16px; overflow: hidden;
  background: linear-gradient(160deg, #ffffff 0%, #f1f2f4 100%);
  box-shadow: var(--vsx-shadow-sm); display: grid; place-items: center;
}
.theme-vsx .vsx-collection-media img { width: 100%; height: 100%; object-fit: contain; padding: 10px; transition: transform .35s ease; }
.theme-vsx .vsx-collection:hover .vsx-collection-media img { transform: scale(1.05); }
.theme-vsx .vsx-collection-ph { font-size: 42px; font-weight: 700; color: rgba(42, 43, 42, .2); }
.theme-vsx .vsx-collection-title { margin-top: 12px; font-size: 14px; font-weight: 700; line-height: 1.3; text-align: center; color: var(--vsx-title); }
.theme-vsx .vsx-collection:hover { text-decoration: none; }
.theme-vsx .vsx-collection:hover .vsx-collection-title { color: var(--vsx-primary); }

/* Cartes produits (accueil) */
.theme-vsx .vsx-products { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 24px; }
@media (min-width: 1100px) { .theme-vsx .vsx-products { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.theme-vsx .vsx-pcard {
  position: relative; display: flex; flex-direction: column; overflow: hidden;
  background: rgba(255, 255, 255, .78); border: 1px solid rgba(255, 255, 255, .7);
  border-radius: 24px; box-shadow: var(--vsx-shadow);
  color: var(--vsx-text); text-decoration: none; transition: transform .25s ease, box-shadow .25s ease;
}
.theme-vsx .vsx-pcard:hover { transform: translateY(-3px); box-shadow: 0 22px 50px rgba(30, 50, 70, .15); text-decoration: none; color: var(--vsx-text); }
.theme-vsx .vsx-pcard-media { position: relative; aspect-ratio: 1; background: #fff; display: grid; place-items: center; overflow: hidden; }
.theme-vsx .vsx-pcard-media img { width: 100%; height: 100%; object-fit: contain; transition: transform .35s ease; }
.theme-vsx .vsx-pcard:hover .vsx-pcard-media img { transform: scale(1.04); }
.theme-vsx .vsx-pcard-ph { color: var(--vsx-muted); font-weight: 700; }
.theme-vsx .vsx-pcard-info { display: flex; flex-direction: column; padding: 16px 18px 0; }
.theme-vsx .vsx-pcard-vendor { font-size: 14px; color: var(--vsx-muted); margin-bottom: 4px; }
.theme-vsx .vsx-pcard-title {
  font-size: 16px; font-weight: 700; line-height: 1.5; color: var(--vsx-title);
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.theme-vsx .vsx-pcard-price { margin-top: 10px; padding-top: 10px; border-top: 1px solid var(--vsx-line); font-size: 14px; }
.theme-vsx .vsx-pcard-price strong { font-size: 19px; font-weight: 700; color: var(--vsx-text); }
.theme-vsx .vsx-pcard-price .ttc { font-size: 12px; font-weight: 600; color: var(--vsx-muted); }
.theme-vsx .vsx-pcard-price small { display: block; color: var(--vsx-muted); font-size: 12px; }
.theme-vsx .vsx-pcard-cta { margin-top: auto; padding: 16px 18px 18px; }
.theme-vsx .vsx-label {
  position: absolute; top: 12px; left: 12px; z-index: 1;
  padding: 3px 11px; border-radius: var(--vsx-radius); font-size: 12px; font-weight: 700; color: #fff;
}
.theme-vsx .vsx-label--sale { background: var(--vsx-sale); }
.theme-vsx .vsx-label--new { background: var(--vsx-new); }

/* Prix barrés / remises (partial price-compare) */
.theme-vsx .price-compare { color: var(--vsx-muted); font-weight: 400; }
.theme-vsx .price-discount { background: var(--vsx-sale); border-radius: var(--vsx-radius); }

/* ---------------------------------------------------------------- PAGES CATALOGUE (vues par défaut restylées) */
.theme-vsx .page-header {
  background: transparent; -webkit-backdrop-filter: none; backdrop-filter: none;
  border: 0; box-shadow: none; padding: 16px 0 6px;
}
.theme-vsx .page-header h1 { font-size: clamp(26px, 2.8vw, 36px); color: var(--vsx-title); margin: 10px 0 0; }
.theme-vsx .page-header .container { display: flex; flex-direction: column-reverse; }
.theme-vsx .breadcrumb { font-size: 12.5px; color: var(--vsx-text); margin-top: 0; }
.theme-vsx .breadcrumb a { color: var(--vsx-text); }
.theme-vsx .breadcrumb a:hover { color: var(--vsx-primary); }

.theme-vsx section.block { padding: 56px 0; }
.theme-vsx section.block.alt { background: linear-gradient(180deg, #f6f7fa 0%, #eef1f5 100%); -webkit-backdrop-filter: none; backdrop-filter: none; }
.theme-vsx .section-title h2 { color: var(--vsx-title); }
.theme-vsx .section-title p { color: var(--vsx-muted); }
.theme-vsx .container > h2 { font-size: 24px; margin: 26px 0 16px; }
/* Conteneurs à marges en ligne des vues par défaut : alignés sur la grille du thème */
.theme-vsx main > .container[style*="padding"] { padding-left: var(--vsx-gutter) !important; padding-right: var(--vsx-gutter) !important; }

/* Grilles de cartes (catégorie, produits similaires, recherche) : cartes VSX */
.theme-vsx .grid-4 { grid-template-columns: repeat(auto-fill, minmax(min(100%, 220px), 1fr)); gap: 24px; }
.theme-vsx .card {
  background: #fff; border: 1px solid var(--vsx-card-border); border-radius: var(--vsx-radius-card);
  box-shadow: var(--vsx-shadow-sm); -webkit-backdrop-filter: none; backdrop-filter: none;
}
.theme-vsx .card:hover { transform: translateY(-3px); box-shadow: var(--vsx-shadow); background: #fff; border-color: var(--vsx-card-border); }
.theme-vsx .grid > a.card { padding: 0 0 18px; overflow: hidden; color: var(--vsx-text); }
.theme-vsx .grid > a.card > *:not(.image) { margin-left: 18px; margin-right: 18px; }
.theme-vsx .grid > a.card .image {
  aspect-ratio: 1; margin: 0 0 14px; border: 0; border-radius: 0;
  background-color: #fff !important; background-size: contain !important; background-repeat: no-repeat !important;
  background-origin: content-box; padding: 6px;
}
.theme-vsx .grid > a.card .image:not([style*="url"]) { background: linear-gradient(160deg, #fff, #f1f2f4) !important; }
.theme-vsx .grid > a.card h3 {
  font-size: 16px; line-height: 1.45; margin-bottom: 6px; color: var(--vsx-title);
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.theme-vsx .grid > a.card p {
  font-size: 13.5px; color: var(--vsx-muted); margin-bottom: 12px;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.theme-vsx .grid > a.card .price {
  margin-top: auto; padding-top: 10px; border-top: 1px solid var(--vsx-line);
  color: var(--vsx-text); font-size: 19px; font-weight: 700;
}
.theme-vsx .grid > a.card .price .ttc { color: var(--vsx-muted); }
/* Bouton « Voir le produit » sous chaque carte produit (libellé traduit, défini dans le layout) */
.theme-vsx .grid > a.card[href*="/produit/"]::after {
  content: var(--vsx-card-cta, "→");
  display: flex; align-items: center; justify-content: center; min-height: 45px;
  margin: 16px 18px 0; padding: 10px 18px; border-radius: var(--vsx-radius); border: 2px solid var(--vsx-primary);
  color: #fff; font-size: 14px; font-weight: 700;
  background: var(--vsx-primary) linear-gradient(104deg, var(--vsx-primary-light) 60%, var(--vsx-primary) 60%) 0 0 / 200% 100%;
  transition: background-position .35s ease;
}
.theme-vsx .grid > a.card[href*="/produit/"]:hover::after { background-position: 100% 0; }

/* Texte SEO / FAQ de catégorie */
.theme-vsx .seo-card, .theme-vsx .product-description-card {
  background: #fff; border: 1px solid var(--vsx-card-border); border-radius: var(--vsx-radius-card);
  box-shadow: var(--vsx-shadow-sm);
}
.theme-vsx .seo-card .seo-card-title::after,
.theme-vsx .seo-card .seo-card-body > h2:first-child::after,
.theme-vsx .product-description-card > h2::after { background: var(--vsx-primary); }
.theme-vsx .seo-readmore { border-radius: var(--vsx-radius); }
.theme-vsx details { border-radius: 14px !important; border-color: var(--vsx-line) !important; }
.theme-vsx details > summary { color: var(--vsx-title) !important; }

/* Pagination */
.theme-vsx .pagination a, .theme-vsx .pagination span { border-radius: 50px; }
.theme-vsx .pagination .active { background: var(--vsx-title); border-color: var(--vsx-title); color: #fff; }

/* ---------------------------------------------------------------- FICHE PRODUIT (vue par défaut restylée) */
.theme-vsx .product-detail {
  grid-template-columns: minmax(0, 1.22fr) minmax(0, 1fr); gap: 0; padding: 18px var(--vsx-gutter) 50px; position: relative;
}
.theme-vsx .product-detail > div:first-child { padding-right: 48px; }
.theme-vsx .product-detail > div:last-child { padding-left: 48px; border-left: 1px solid rgba(42, 43, 42, .12); padding-top: 12px; }
.theme-vsx .product-detail .image-wrap {
  background: #fff; border: 1px solid var(--vsx-line); border-radius: 16px;
  box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none;
}
.theme-vsx .product-detail .image-wrap img { border-radius: 16px; }
.theme-vsx .product-thumb { border: 2px solid var(--vsx-line); border-radius: 12px; width: 76px; height: 76px; }
.theme-vsx .product-thumb.is-active { border-color: var(--vsx-text); }
.theme-vsx .product-detail h1 { font-size: clamp(22px, 2vw, 26px); line-height: 1.3; color: var(--vsx-text); margin: 0 0 10px; }
.theme-vsx .product-detail h3 { font-size: 17px; }
.theme-vsx .product-detail .price-block {
  margin: 22px 0 0; padding: 20px 0; border-top: 1px solid rgba(42, 43, 42, .12);
}
.theme-vsx .product-detail .price { font-size: 28px; font-weight: 700; color: var(--vsx-text); display: block; }
.theme-vsx .product-detail .price .ttc { font-size: 14px; color: var(--vsx-muted); }
.theme-vsx .product-detail .price small { font-size: 13.5px; color: var(--vsx-muted); }
.theme-vsx .product-detail .price-block form .btn-primary { flex: 1 1 auto; min-width: 200px; }
.theme-vsx .product-detail .price-block form input[type="number"] { width: 96px !important; text-align: center; }
.theme-vsx .product-detail .vv-pill { border-radius: var(--vsx-radius); border: 2px solid var(--vsx-line); color: var(--vsx-text); }
.theme-vsx .product-detail .vv-pill.sel { border-color: var(--vsx-text); box-shadow: none; }
.theme-vsx .product-detail .vv-title { color: var(--vsx-text); }
.theme-vsx .spec-table { border-radius: 12px; overflow: hidden; }
.theme-vsx table.simple th { background: #f7f8fa; color: var(--vsx-title); }
.theme-vsx .product-docs { border-radius: 16px; background: #f7f8fa; }
.theme-vsx .doc-item { border-radius: 12px; }

/* ---------------------------------------------------------------- PANIER / COMPTE / PAGES */
.theme-vsx .panel { background: #fff; border: 1px solid var(--vsx-card-border); border-radius: var(--vsx-radius-card); box-shadow: var(--vsx-shadow-sm); -webkit-backdrop-filter: none; backdrop-filter: none; }
.theme-vsx .panel h2 { color: var(--vsx-title); }
.theme-vsx .cart-totals { background: #fff; border: 1px solid var(--vsx-card-border); border-radius: var(--vsx-radius-card); box-shadow: var(--vsx-shadow-sm); -webkit-backdrop-filter: none; backdrop-filter: none; }
.theme-vsx .cart-table th { color: var(--vsx-title); }
.theme-vsx .btn-checkout { border-radius: var(--vsx-radius); background: var(--vsx-primary); box-shadow: 0 10px 24px rgba(3, 72, 173, .25); }
.theme-vsx .qty-stepper { border-radius: var(--vsx-radius); }
.theme-vsx .pay-opt { border-radius: 16px; }
.theme-vsx .rich-content a { color: var(--vsx-primary); }

/* ---------------------------------------------------------------- PIED DE PAGE */
.theme-vsx .vsx-footer {
  margin-top: 70px; padding: 64px 0 22px; color: #fff; border-top: 0;
  background: repeating-linear-gradient(45deg, #3f5788 0, #3f5788 2px, #394e7b 2px, #394e7b 4px);
  -webkit-backdrop-filter: none; backdrop-filter: none;
}
.theme-vsx .vsx-footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.1fr; gap: 40px; max-width: var(--vsx-maxw); }
.theme-vsx .vsx-footer h4 { color: #fff; font-size: 16px; font-weight: 700; margin: 0 0 16px; }
.theme-vsx .vsx-footer ul { list-style: none; margin: 0; padding: 0; }
.theme-vsx .vsx-footer li { padding: 4px 0; font-size: 14.5px; color: rgba(255, 255, 255, .85); }
.theme-vsx .vsx-footer a { color: rgba(255, 255, 255, .88); text-decoration: none; }
.theme-vsx .vsx-footer a:hover { color: #fff; text-decoration: underline; }
.theme-vsx .vsx-footer-logo { display: inline-block; margin-bottom: 18px; }
.theme-vsx .vsx-footer-logo img { max-height: 80px; max-width: 190px; width: auto; }
.theme-vsx .vsx-footer-logo span { font-size: 26px; font-weight: 700; color: #fff; }
.theme-vsx .vsx-footer-tagline { margin: 0 0 10px; font-weight: 700; font-size: 15px; color: #fff; }
.theme-vsx .vsx-footer-text { margin: 0; font-size: 14px; line-height: 1.65; color: rgba(255, 255, 255, .85); max-width: 400px; }
.theme-vsx .vsx-footer-muted { color: rgba(255, 255, 255, .6); }
.theme-vsx .vsx-footer-secure {
  display: inline-flex; align-items: center; gap: 8px; margin-top: 16px;
  padding: 8px 16px; border-radius: 30px; background: #fff; color: var(--vsx-title); font-size: 13px; font-weight: 700;
}
.theme-vsx .vsx-footer-bottom {
  display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap;
  margin-top: 40px; padding-top: 22px; border-top: 0; position: relative;
  font-size: 12.5px; color: rgba(255, 255, 255, .85); opacity: 1; text-align: left; max-width: var(--vsx-maxw);
}
.theme-vsx .vsx-footer-bottom::before { content: ""; position: absolute; top: 0; left: var(--vsx-gutter); right: var(--vsx-gutter); height: 1px; background: rgba(255, 255, 255, .18); }

/* ---------------------------------------------------------------- RESPONSIVE */
@media (max-width: 1300px) {
  .theme-vsx .vsx-tb-hours { display: none; }
  .theme-vsx .vsx-header-row, .theme-vsx .vsx-nav-row { padding-left: 32px; padding-right: 32px; }
}
@media (max-width: 1100px) {
  .theme-vsx .vsx-tb-hide-md { display: none; }
  .theme-vsx .vsx-footer-grid { grid-template-columns: 1fr 1fr; }
  .theme-vsx .vsx-reassure-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* Tiroir mobile (même seuil que public/js/theme-vsx.js) */
@media (max-width: 989.98px) {
  .theme-vsx { --vsx-gutter: 20px; }
  .theme-vsx .vsx-header-row { flex-wrap: wrap; padding: 10px 16px; }
  .theme-vsx .vsx-logo { padding-right: 12px; min-width: 0; }
  .theme-vsx .vsx-logo .site-logo { max-height: var(--logo-h-m, 56px); max-width: 160px; }
  .theme-vsx .vsx-header.is-stuck .vsx-logo .site-logo { max-height: min(var(--logo-h-m, 56px), 48px); }
  .theme-vsx .vsx-header-icons { margin-left: auto; gap: 2px; }
  .theme-vsx .vsx-search-toggle, .theme-vsx .vsx-burger { display: inline-grid; }
  .theme-vsx .vsx-search { display: none; order: 5; flex: 1 0 100%; max-width: none; margin: 10px 0 2px; }
  .theme-vsx.vsx-search-open .vsx-search { display: flex; }

  .theme-vsx .vsx-nav-overlay {
    display: block; position: fixed; inset: 0; z-index: 90; background: rgba(28, 42, 54, .45);
    opacity: 0; visibility: hidden; transition: opacity .25s ease, visibility 0s linear .25s;
  }
  .theme-vsx.nav-open .vsx-nav-overlay { opacity: 1; visibility: visible; transition-delay: 0s; }
  .theme-vsx.nav-open { overflow: hidden; }
  .theme-vsx .vsx-nav {
    position: fixed; top: 0; left: 0; bottom: 0; z-index: 100;
    width: min(88vw, 390px); overflow-y: auto; -webkit-overflow-scrolling: touch;
    border: 0; border-radius: 0 var(--vsx-radius-drawer) var(--vsx-radius-drawer) 0;
    box-shadow: 0 0 40px rgba(0, 0, 0, .2);
    transform: translateX(-105%); transition: transform .3s ease; visibility: hidden;
  }
  .theme-vsx.nav-open .vsx-nav { transform: none; visibility: visible; }
  .theme-vsx .vsx-drawer-head {
    display: flex; align-items: center; justify-content: space-between;
    padding: 14px 14px 14px 22px; border-bottom: 1px solid var(--vsx-line);
    font-size: 18px; font-weight: 700; color: var(--vsx-title);
  }
  .theme-vsx .vsx-drawer-close { width: 40px; height: 40px; border: 0; border-radius: 50%; background: #f2f3f5; color: var(--vsx-text); display: grid; place-items: center; cursor: pointer; }
  .theme-vsx .vsx-nav-row { display: block; padding: 0 0 24px; }
  .theme-vsx .vsx-nav-list { display: block; }
  .theme-vsx .vsx-nav-item { flex-wrap: wrap; border-bottom: 1px solid var(--vsx-line); margin: 0 20px; }
  .theme-vsx .vsx-nav-link { flex: 1; padding: 16px 0; font-size: 16px; border: 0 !important; }
  .theme-vsx .vsx-nav-toggle { width: 40px; height: 40px; }
  .theme-vsx .vsx-nav-toggle svg { transform: rotate(-90deg); }
  .theme-vsx .vsx-nav-item.is-open > .vsx-nav-toggle svg { transform: rotate(0deg); }
  .theme-vsx .vsx-dropdown {
    position: static; flex: 1 0 100%; display: none; min-width: 0; max-width: none; padding: 0 0 10px;
    border-radius: 0; box-shadow: none; opacity: 1; visibility: visible; transform: none; transition: none;
  }
  .theme-vsx .vsx-dropdown.is-wide { min-width: 0; }
  .theme-vsx .vsx-dropdown.is-wide ul { columns: 1; }
  .theme-vsx .vsx-nav-item.is-open > .vsx-dropdown { display: block; }
  .theme-vsx .vsx-dropdown a { padding: 9px 0 9px 14px; font-size: 15px; font-weight: 500; border-left: 2px solid var(--vsx-line); }
  .theme-vsx .vsx-nav-secondary { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; padding: 24px 20px 0; }
  .theme-vsx .vsx-nav-mobile-only { display: list-item; }
  .theme-vsx .vsx-call-btn { padding: 8px 18px; }

  .theme-vsx .vsx-hero-wrap .container { padding: 0; }
  .theme-vsx .vsx-hero { border-radius: 16px; min-height: 280px; padding: 40px 28px 46px; }
  .theme-vsx .product-detail { grid-template-columns: 1fr; }
  .theme-vsx .product-detail > div:first-child { padding-right: 0; }
  .theme-vsx .product-detail > div:last-child { padding-left: 0; border-left: 0; padding-top: 20px; }
}

@media (max-width: 700px) {
  .theme-vsx .vsx-topbar { padding: 0 12px; height: 34px; font-size: 12px; }
  .theme-vsx .vsx-topbar-left, .theme-vsx .vsx-topbar-center, .theme-vsx .vsx-topbar-right { gap: 10px; }
  .theme-vsx .vsx-tb-badge span { display: none; }
  .theme-vsx .vsx-tb-country select { padding: 4px 24px 4px 8px; max-width: 96px; }
  .theme-vsx { --vsx-gutter: 16px; }
  .theme-vsx .vsx-hero h1 { font-size: 27px; }
  .theme-vsx .vsx-hero p { font-size: 15.5px; }
  .theme-vsx .vsx-reassure-list { grid-template-columns: 1fr 1fr; gap: 10px; }
  .theme-vsx .vsx-reassure-list li { flex-direction: column; align-items: flex-start; gap: 8px; padding: 14px; }
  .theme-vsx .vsx-reassure-ico { width: 38px; height: 38px; }
  .theme-vsx .vsx-reassure-ico svg { width: 20px; height: 20px; }
  .theme-vsx .vsx-hero.has-image::before { content: ""; position: absolute; inset: 0; background: rgba(255, 255, 255, .55); }
  .theme-vsx .vsx-hero-actions .btn { flex: 1 1 auto; }
  .theme-vsx .vsx-reassure-list strong { font-size: 12px; }
  .theme-vsx .vsx-reassure-list small { font-size: 12.5px; }
  .theme-vsx .vsx-section { padding: 40px 0; }
  .theme-vsx .vsx-collections { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 12px; }
  .theme-vsx .vsx-products, .theme-vsx .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .theme-vsx .vsx-pcard { border-radius: 18px; }
  .theme-vsx .vsx-pcard-info { padding: 12px 12px 0; }
  .theme-vsx .vsx-pcard-title, .theme-vsx .grid > a.card h3 { font-size: 14.5px; }
  .theme-vsx .vsx-pcard-price strong, .theme-vsx .grid > a.card .price { font-size: 16.5px; }
  .theme-vsx .vsx-pcard-cta { padding: 12px; }
  .theme-vsx .vsx-pcard-cta .btn { padding: 10px 12px; font-size: 13px; }
  .theme-vsx .grid > a.card { padding: 0 0 12px; }
  .theme-vsx .grid > a.card > *:not(.image) { margin-left: 12px; margin-right: 12px; }
  .theme-vsx .grid > a.card[href*="/produit/"]::after { margin: 12px 12px 0; font-size: 13px; padding: 8px 10px; min-height: 40px; }
  .theme-vsx .vsx-footer { padding-top: 44px; }
  .theme-vsx .vsx-footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .theme-vsx .vsx-footer-bottom { flex-direction: column; text-align: center; }
}
@media (max-width: 420px) {
  .theme-vsx .vsx-tb-rating-num { display: none; }
  .theme-vsx .vsx-icon-btn { width: 40px; height: 40px; }
}
@media (max-width: 360px) {
  .theme-vsx .vsx-tb-phone-text { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .theme-vsx *, .theme-vsx *::before, .theme-vsx *::after { transition: none !important; }
}

/* Sélecteur de langue (site jumeau) */
.theme-vsx .vsx-topbar-right { display: flex; align-items: center; gap: 10px; }
.theme-vsx .vsx-lang { display: inline-flex; align-items: center; gap: 2px; background: rgba(255,255,255,.12); border-radius: 999px; padding: 2px; font-size: 12px; font-weight: 700; }
.theme-vsx .vsx-lang-current, .theme-vsx .vsx-lang-alt { padding: 3px 9px; border-radius: 999px; color: #fff; text-decoration: none; white-space: nowrap; }
.theme-vsx .vsx-lang-current { background: #fff; color: #314368; }
.theme-vsx .vsx-lang-alt:hover { background: rgba(255,255,255,.22); }
