/*
 * Shop-Marine
 * Thème enfant de Classic
 * Version 1.1
 */

/* =========================================================
   Variables générales Shop-Marine
   ========================================================= */

:root {
/* Couleurs principales */
    --sm-color-primary: #123b5d;
    --sm-color-primary-dark: #0b2a43;
    --sm-color-primary-light: #eaf1f6;

    /* Couleurs d’accent */
    --sm-color-accent: #e67e22;
    --sm-color-accent-dark: #c96510;

    /* Couleurs de texte */
    --sm-color-text: #232323;
    --sm-color-text-light: #666666;
    --sm-color-heading: #123b5d;

    /* Couleurs de fond */
    --sm-color-background: #ffffff;
    --sm-color-background-light: #f6f8fa;

    /* Bordures */
    --sm-color-border: #d8dee3;

    /* États */
    --sm-color-success: #2e7d32;
    --sm-color-warning: #e67e22;
    --sm-color-danger: #c62828;

/* =====================================================
   Typographie
   ===================================================== */
    --sm-font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
    --sm-font-size-base: 16px;
    --sm-line-height-base: 1.5;

/* =====================================================
   Espacements
   ===================================================== */
    --sm-space-xs: 0.25rem;
    --sm-space-sm: 0.5rem;
    --sm-space-md: 1rem;
    --sm-space-lg: 1.5rem;
    --sm-space-xl: 2rem;
    --sm-space-2xl: 3rem;

/* =====================================================
   Dimensions
   ===================================================== */
    --sm-container-width: 1320px;
    --sm-container-padding: 15px;

    /* Rayons */
    --sm-radius-sm: 3px;
    --sm-radius-md: 4px;
    --sm-radius-lg: 8px;

/* =====================================================
   Ombres
   ===================================================== */
    --sm-shadow-sm: 0 1px 4px rgba(0, 0, 0, 0.08);
    --sm-shadow-md: 0 3px 12px rgba(0, 0, 0, 0.10);

/* =====================================================
   Bordures
   ===================================================== */
    --sm-border-width: 1px;
    --sm-border-default: var(--sm-border-width) solid var(--sm-color-border);

/* =====================================================
   Animations
   ===================================================== */
    --sm-transition-fast: 0.15s ease;
    --sm-transition-normal: 0.25s ease;
}
/* =========================================================
   Styles de base
   ========================================================= */

/* =========================================================
   Typographie générale
   ========================================================= */

html {
    font-size: var(--sm-font-size-base);
}

body {
    font-family: var(--sm-font-family);
    font-size: 1rem;
    line-height: var(--sm-line-height-base);
    color: var(--sm-color-text);
    background-color: var(--sm-color-background);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    margin-top: 0;
    color: var(--sm-color-heading);
    font-family: var(--sm-font-family);
    font-weight: 700;
    line-height: 1.25;
}

p {
    line-height: var(--sm-line-height-base);
}

a {
    color: var(--sm-color-primary);
}

a:hover,
a:focus {
    color: var(--sm-color-primary-dark);
}

.btn-primary {
    color: #ffffff;
    background-color: var(--sm-color-primary);
    border-color: var(--sm-color-primary);
}

.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active {
    color: #ffffff;
    background-color: var(--sm-color-primary-dark);
    border-color: var(--sm-color-primary-dark);
}

/* =========================================================
   Structure générale
   ========================================================= */

/* Conteneur principal */
.container {
    width: 100%;
    max-width: var(--sm-container-width);
    padding-right: var(--sm-container-padding);
    padding-left: var(--sm-container-padding);
}

/* =========================================================
   V1.8.3 — Header principal
   Logo | Recherche | Actions
   ========================================================= */

.sm-header-main {
    background-color: var(--sm-color-background);
}

.sm-header-main .row {
    align-items: center;
}

.sm-header-logo,
.sm-header-search,
.sm-header-actions {
    min-width: 0;
}

/* Recherche */

.sm-header-search #search_widget {
    width: 100%;
    max-width: none;
    margin: 0;
}

.sm-header-search #search_widget form {
    width: 100%;
}

/* Actions : connexion et panier */

.sm-header-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

/* =========================================================
   V1.8.4 — Bandeau supérieur Shop-Marine
   ========================================================= */

.header-nav #_desktop_contact_link {
  width: 100%;
}

.header-nav #contact-link.sm-topbar-info {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  width: 100%;
  padding: 0.45rem 0;
  font-size: 0.875rem;
  line-height: 1.35;
}

.header-nav .sm-topbar-contact {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  white-space: nowrap;
}

.header-nav .sm-topbar-phone {
  color: inherit;
  font-weight: 600;
  text-decoration: none;
}

.header-nav .sm-topbar-phone:hover {
  text-decoration: underline;
}

.header-nav .sm-topbar-shipping {
  font-weight: 600;
  white-space: nowrap;
  text-align: right;
}

/* =========================================================
   V1.8.5 — Bandeau supérieur : identité Shop-Marine
   ========================================================= */

@media (min-width: 768px) {

  .header-nav {
    background: #123b5d;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
  }

  .header-nav #_desktop_contact_link {
    width: 100%;
  }

  .header-nav #contact-link.sm-topbar-info {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    width: 100%;
    padding: 0.45rem 0;
    color: #fff;
    font-size: 0.875rem;
    font-weight: 500;
    line-height: 1.35;
  }

  .header-nav .sm-topbar-contact {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    white-space: nowrap;
  }

.header-nav #contact-link .sm-topbar-phone,
.header-nav #contact-link .sm-topbar-phone:visited {
  color: #9fefff;
  font-weight: 700;
  text-decoration: none;
}

.header-nav #contact-link .sm-topbar-phone:hover,
.header-nav #contact-link .sm-topbar-phone:focus {
  color: #9fefff;
  text-decoration: underline;
}

  .header-nav .sm-topbar-shipping {
    color: #ffd2ad;
    font-weight: 700;
    white-space: nowrap;
    text-align: right;
  }

  .header-nav .sm-topbar-separator {
    opacity: 0.45;
    font-weight: 400;
  }
}

@media (max-width: 767px) {

  .header-nav {
    background: #fff;
    border-bottom: 1px solid #e5e5e5;
  }
}

/* =========================================================
   V1.8.6 — Petit écran : header minimaliste
   ========================================================= */

@media (max-width: 767px) {

  .header-nav .hidden-sm-down {
    display: none !important;
  }

  .header-nav {
    background: #fff;
    border-bottom: 1px solid #e5e5e5;
  }

  .header-nav .mobile {
    min-height: auto;
  }
}

/* =========================================================
   Menu principal — displayNavFullWidth
   ========================================================= */

.sm-header-menu {
    width: 100%;
    background-color: var(--sm-color-background);
    border-top: var(--sm-border-default);
    border-bottom: var(--sm-border-default);
}

.sm-header-menu-inner {
    width: 100%;
    max-width: var(--sm-container-width);
    margin-right: auto;
    margin-left: auto;
    padding-right: var(--sm-container-padding);
    padding-left: var(--sm-container-padding);
}

.sm-header-menu #_desktop_top_menu {
    position: static;
    float: none;
    width: 100%;
    margin: 0;
}

.sm-header-menu .top-menu {
    margin: 0;
}

.sm-header-menu .top-menu[data-depth="0"] {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
}

/* =========================================================
   Responsive mobile
   Classic conserve la gestion du header mobile
   ========================================================= */

@media (max-width: 767.98px) {
    .sm-header-main {
        display: none;
    }

    .sm-header-menu {
        border-top: 0;
        border-bottom: 0;
    }

    .sm-header-menu-inner {
        padding-right: 0;
        padding-left: 0;
    }
}

/* =========================================================
   V1.9.1 — Finition du menu principal
   ========================================================= */

/* Conteneur du module Menu principal */
.sm-header-menu #_desktop_top_menu {
    padding: 0;
}

/* Première profondeur du menu */
.sm-header-menu #_desktop_top_menu > .top-menu {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    min-height: 48px;
    margin: 0;
}

/* Rubriques principales */
.sm-header-menu #_desktop_top_menu > .top-menu > li {
    float: none;
    margin: 0;
}

/* Liens principaux */
.sm-header-menu #_desktop_top_menu > .top-menu > li > a {
    display: flex;
    align-items: center;
    min-height: 48px;
    padding: 0 18px;
    color: var(--sm-color-primary);
    font-size: 0.9375rem;
    font-weight: 600;
    line-height: 1.2;
    text-transform: none;
    transition:
        color var(--sm-transition-fast),
        background-color var(--sm-transition-fast);
}

/* Survol et navigation clavier */
.sm-header-menu #_desktop_top_menu > .top-menu > li > a:hover,
.sm-header-menu #_desktop_top_menu > .top-menu > li > a:focus {
    color: var(--sm-color-primary-dark);
    background-color: var(--sm-color-primary-light);
    text-decoration: none;
}

/* Rubrique active */
.sm-header-menu #_desktop_top_menu > .top-menu > li.current > a {
    color: var(--sm-color-primary-dark);
    background-color: var(--sm-color-primary-light);
}

/* Aucun impact sur le menu mobile Classic */
@media (max-width: 767.98px) {
    .sm-header-menu #_desktop_top_menu {
        padding: 0;
    }
}

/* =========================================================
   V1.9.2 — Ligne principale du header
   Logo | Recherche | Actions
   ========================================================= */

/* Hauteur et respiration générale */

.sm-header-main {
    min-height: 94px;
    padding-top: var(--sm-space-md);
    padding-bottom: var(--sm-space-md);
}

/* =========================================================
   Logo
   ========================================================= */

.sm-header-logo {
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.sm-header-logo h1 {
    margin: 0;
}

.sm-header-logo img {
    display: block;
    width: auto;
    max-width: 100%;
    max-height: 64px;
}

/* =========================================================
   Recherche
   ========================================================= */

.sm-header-search {
    display: flex;
    align-items: center;
    padding-right: var(--sm-space-lg);
    padding-left: var(--sm-space-lg);
}

.sm-header-search #search_widget {
    width: 100%;
}

.sm-header-search #search_widget form {
    position: relative;
    width: 100%;
}

.sm-header-search #search_widget input[type="text"] {
    width: 100%;
    height: 46px;
    padding: 0 52px 0 18px;
    color: var(--sm-color-text);
    background-color: var(--sm-color-background);
    border: var(--sm-border-default);
    border-radius: var(--sm-radius-md);
    box-shadow: none;
    transition:
        border-color var(--sm-transition-fast),
        box-shadow var(--sm-transition-fast);
}

.sm-header-search #search_widget input[type="text"]:focus {
    border-color: var(--sm-color-primary);
    box-shadow: 0 0 0 3px rgba(18, 59, 93, 0.10);
    outline: none;
}

.sm-header-search #search_widget button {
    position: absolute;
    top: 0;
    right: 0;
    width: 48px;
    height: 46px;
    padding: 0;
    color: var(--sm-color-primary);
    background: transparent;
    border: 0;
}

.sm-header-search #search_widget button:hover,
.sm-header-search #search_widget button:focus {
    color: var(--sm-color-primary-dark);
    background-color: var(--sm-color-primary-light);
}

/* =========================================================
   Connexion et panier
   ========================================================= */

.sm-header-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: var(--sm-space-md);
    white-space: nowrap;
}

.sm-header-actions .user-info,
.sm-header-actions .blockcart {
    margin: 0;
}

.sm-header-actions a {
    color: var(--sm-color-primary);
    font-size: 0.875rem;
    font-weight: 600;
    text-decoration: none;
}

.sm-header-actions a:hover,
.sm-header-actions a:focus {
    color: var(--sm-color-primary-dark);
    text-decoration: none;
}

.sm-header-actions .material-icons {
    color: var(--sm-color-primary);
    vertical-align: middle;
}

/* =========================================================
   Tablettes
   ========================================================= */

@media (min-width: 768px) and (max-width: 991.98px) {
    .sm-header-main {
        min-height: 82px;
    }

    .sm-header-search {
        padding-right: var(--sm-space-sm);
        padding-left: var(--sm-space-sm);
    }

    .sm-header-actions {
        gap: var(--sm-space-sm);
    }
}

/* =========================================================
   V2.1.2 — Footer Shop-Marine
   ========================================================= */

.footer-container {
  margin-top: 0;
  padding: 3rem 0;
  background: var(--sm-color-primary);
  color: #dce6ed;
}

.footer-container > .container {
  width: 100%;
  max-width: 1320px;
}

/* Espacement entre les différentes zones de hooks */
.footer-container > .container > .row + .row {
  margin-top: 1.5rem;
}

/* Titres des colonnes */
.footer-container h3,
.footer-container h4,
.footer-container .h3,
.footer-container .h4,
.footer-container .title,
.footer-container .block-title,
.footer-container .block-contact-title,
.footer-container .block-contact .h4,
.footer-container .links .h3 {
  margin-bottom: 1.25rem;
  color: #ffffff;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.3;
  text-transform: uppercase;
}

/* Textes et liens */
.footer-container,
.footer-container p,
.footer-container li,
.footer-container .block-contact {
  color: #dce6ed;
}

.footer-container a {
  color: #dce6ed;
  text-decoration: none;
  transition:
    color 0.2s ease,
    opacity 0.2s ease;
}

.footer-container a:hover,
.footer-container a:focus {
  color: #ffffff;
  text-decoration: none;
}

/* Listes */
.footer-container ul {
  margin-bottom: 0;
}

.footer-container li {
  margin-bottom: 0.65rem;
  line-height: 1.45;
}

.footer-container li:last-child {
  margin-bottom: 0;
}

/* Bloc coordonnées */
.footer-container .block-contact {
  line-height: 1.55;
}

.footer-container .block-contact a {
  color: #ffffff;
}

/* Réseaux sociaux */
.footer-container .block-social {
  width: 100%;
  margin-bottom: 0;
  text-align: center;
}

.footer-container .block-social ul {
  margin-bottom: 0;
}

/* =========================================================
   Tablette
   ========================================================= */

@media (max-width: 991.98px) {
  .footer-container {
    padding: 2.5rem 0;
  }

  .footer-container .links,
  .footer-container .block-contact {
    margin-bottom: 2rem;
  }
}

/* =========================================================
   Mobile
   ========================================================= */

@media (max-width: 767.98px) {
  .footer-container {
    padding: 2rem 0;
  }

  .footer-container > .container > .row + .row {
    margin-top: 1rem;
  }

  .footer-container .links,
  .footer-container .block-contact {
    margin-bottom: 1.5rem;
  }

  .footer-container h3,
  .footer-container h4,
  .footer-container .h3,
  .footer-container .h4,
  .footer-container .title,
  .footer-container .block-title,
  .footer-container .block-contact-title,
  .footer-container .block-contact .h4,
  .footer-container .links .h3 {
  margin-bottom: 1rem;
  }
}

/* Titre du bloc Mon compte */
.footer-container #block_myaccount_infos .myaccount-title a {
  color: #ffffff;
}

.footer-container #block_myaccount_infos .myaccount-title a:hover {
  color: #ffffff;
}

/* =========================================================
   V2.1.3 — Signature et copyright
   ========================================================= */

.sm-footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.875rem;
  line-height: 1.5;
}

.sm-footer-signature {
  display: flex;
  align-items: baseline;
  gap: 0.75rem;
}

.sm-footer-signature strong {
  color: #ffffff;
  font-size: 1rem;
  font-weight: 700;
}

.sm-footer-signature span {
  color: rgba(255, 255, 255, 0.72);
}

.sm-footer-copyright {
  flex-shrink: 0;
  text-align: right;
}

/* Mobile */
@media (max-width: 767.98px) {
  .sm-footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
    margin-top: 1.5rem;
    padding-top: 1.25rem;
  }

  .sm-footer-signature {
    flex-direction: column;
    gap: 0.15rem;
  }

  .sm-footer-copyright {
    text-align: left;
  }
}

/* =========================================================
   Footer — Identité Shop-Marine
   ========================================================= */

.sm-footer-main {
  align-items: flex-start;
}

.sm-footer-brand {
  padding-right: 2rem;
}

.sm-footer-brand-title {
  margin-bottom: 1rem;
  color: #ffffff;
  font-weight: 700;
  line-height: 1.3;
}

.sm-footer-brand-description {
  margin-bottom: 1.25rem;
  color: #d7e1e8;
  line-height: 1.6;
}

.sm-footer-address {
  margin-bottom: 1rem;
  color: #d7e1e8;
  font-style: normal;
  line-height: 1.6;
}

.sm-footer-address span,
.sm-footer-contact a {
  display: block;
}

.sm-footer-contact a {
  color: #ffffff;
  line-height: 1.8;
  text-decoration: none;
}

.sm-footer-contact a:hover {
  color: #ffffff;
  text-decoration: underline;
}

@media (max-width: 991px) {
  .sm-footer-brand {
    margin-bottom: 2rem;
    padding-right: 15px;
  }
}

@media (max-width: 767px) {
  .sm-footer-brand {
    text-align: center;
  }
}

/* =========================================================
   V1.4.1 — Prix produit sur une seule ligne
   ========================================================= */

#product .product-prices {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  column-gap: 0.65rem;
  row-gap: 0.25rem;
}

#product .product-prices .product-price,
#product .product-prices .regular-price,
#product .product-prices .tax-shipping-delivery-label {
  margin-top: 0;
  margin-bottom: 0;
}

#product .product-prices .tax-shipping-delivery-label {
  padding: 0;
  font-size: 0.75rem;
  line-height: 1;
}
/* =========================================================
   V1.4.1.1 — Espace entre Prix produit et catégorie
   ========================================================= */
.sm-product-category{
    margin-bottom: 1rem;
}

/* =========================================================
   V1.4.2 — Disponibilité native en haut de fiche
   ========================================================= */

#product .sm-product-availability {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  margin: 0.35rem 0 0.65rem;
  font-weight: 500;
}

#product .sm-product-availability .material-icons {
  font-size: 1.25rem;
  line-height: 1;
}

#product .sm-product-availability--available {
  color: #2e9b52;
}

#product .sm-product-availability--last_remaining_items {
  color: #e67e22;
}

#product .sm-product-availability--unavailable {
  color: #b44444;
}

/* =========================================================
   V1.4.3 — Aérations complémentaires sur smartphone
   ========================================================= */

@media (max-width: 767px) {
  #product .sm-product-category {
    margin-bottom: 1.25rem;
  }

  #product .sm-product-availability {
    margin-bottom: 1rem;
  }
}

/* =========================================================
   V1.4.3 — Mise en valeur de la référence produit
   ========================================================= */

#product .sm-product-reference {
  display: inline-flex;
  align-items: baseline;
  gap: 0.45rem;
  margin: 0.15rem 0 0.45rem;
  padding: 0.38rem 0.65rem;
  background: #f4f6f8;
  border-left: 3px solid var(--sm-color-primary);
  border-radius: 2px;
  line-height: 1.2;
}

#product .sm-product-reference-label {
  color: #4f565c;
  font-weight: 600;
}

#product .sm-product-reference-value {
  color: var(--sm-color-primary-dark);
  font-weight: 700;
  letter-spacing: 0.025em;
}

/* =========================================================
   V1.4.4 — Onglets de la fiche produit
   ========================================================= */

#product .product-tabs {
  margin-top: 2rem;
  margin-bottom: 2rem;
  background: #fff;
  border: 1px solid var(--sm-color-border);
  border-radius: 4px;
}

/* Barre des onglets */
#product .product-tabs .nav-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  margin: 0;
  padding: 0 1.25rem;
  border-bottom: 1px solid var(--sm-color-border);
  background: #fff;
}

/* Chaque onglet */
#product .product-tabs .nav-tabs .nav-item {
  margin: 0;
}

/* Lien d’onglet */
#product .product-tabs .nav-tabs .nav-link {
  position: relative;
  display: block;
  padding: 1rem 1.1rem 0.9rem;
  border: 0;
  background: transparent;
  color: #6a7178;
  font-weight: 600;
  line-height: 1.2;
  transition: color 0.15s ease;
}

/* Survol discret */
#product .product-tabs .nav-tabs .nav-link:hover,
#product .product-tabs .nav-tabs .nav-link:focus {
  color: var(--sm-color-primary);
  background: transparent;
}

/* Onglet actif */
#product .product-tabs .nav-tabs .nav-link.active {
  color: var(--sm-color-primary);
  background: transparent;
}

/* Trait actif */
#product .product-tabs .nav-tabs .nav-link.active::after {
  content: "";
  position: absolute;
  right: 1.1rem;
  bottom: -1px;
  left: 1.1rem;
  height: 3px;
  background: var(--sm-color-primary);
}

/* Contenu des onglets */
#product .product-tabs .tab-content {
  padding: 1.5rem 1.75rem 1.75rem;
}

/* Premier et dernier élément : éviter les marges inutiles */
#product .product-tabs .tab-content > .tab-pane > :first-child {
  margin-top: 0;
}

#product .product-tabs .tab-content > .tab-pane > :last-child {
  margin-bottom: 0;
}

/* Lecture du contenu */
#product .product-tabs .product-description,
#product .product-tabs .product-features,
#product .product-tabs .product-attachments {
  line-height: 1.6;
}

/* Mobile */
@media (max-width: 767.98px) {
  #product .product-tabs {
    margin-top: 1.5rem;
    border-right: 0;
    border-left: 0;
    border-radius: 0;
  }

  #product .product-tabs .nav-tabs {
    flex-wrap: nowrap;
    overflow-x: auto;
    padding: 0 0.75rem;
    scrollbar-width: thin;
  }

  #product .product-tabs .nav-tabs .nav-item {
    flex: 0 0 auto;
  }

  #product .product-tabs .nav-tabs .nav-link {
    padding: 0.9rem 0.8rem 0.8rem;
    white-space: nowrap;
  }

  #product .product-tabs .nav-tabs .nav-link.active::after {
    right: 0.8rem;
    left: 0.8rem;
  }

  #product .product-tabs .tab-content {
    padding: 1.25rem 1rem 1.5rem;
  }
}
 
/* =========================================================
   V2.0.3 — Catégorie du produit (miniatures catalogue)
   ========================================================= */

.product-category {
  margin-bottom: .25rem;
  font-size: .875rem;
  font-weight: 600;
  line-height: 1.2;
  text-transform: none;
}

.product-category a {
  color: var(--sm-color-primary);
  text-decoration: none;
}

.product-category a:hover {
  color: var(--sm-color-primary-dark);
  text-decoration: underline;
}

.product-title {
    margin: .10rem 0 .5rem;
    font-weight: 600;
    line-height: 1.35;
}

.product-title a {
    color: inherit;
    text-decoration: none;
}

.product-title a:hover {
    color: var(--sm-color-primary);
}

/* =========================================================
   V2.0.4 — Disponibilité (miniatures catalogue)
   ========================================================= */

.product-availability {
    margin: .35rem 0;
    font-size: .875rem;
    font-weight: 600;
    color: #28a745; /* ou ta variable CSS du thème */
}

.product-availability .material-icons {
    font-size: 1rem;
    vertical-align: middle;
    margin-right: .15rem;
}

@media (min-width: 1200px) {
  #js-product-list .products.row > .sm-product-col-5 {
    flex: 0 0 20%;
    width: 20%;
    max-width: 20%;
  }
}

/* =========================================================
   Home — Guides d’aide à la recherche
   ========================================================= */

.sm-home-guides {
  padding: 2.75rem 0 3rem;
  background: #fff;
}

.sm-home-guides__header {
  max-width: 760px;
  margin: 0 auto 2rem;
  text-align: center;
}

.sm-home-guides__header h2 {
  margin: 0 0 0.65rem;
  color: #123b5d;
  font-size: 2rem;
  line-height: 1.2;
  font-weight: 700;
}

.sm-home-guides__header p {
  margin: 0;
  color: #5f6770;
  font-size: 1rem;
  line-height: 1.6;
}

.sm-home-guides__grid {
  row-gap: 1.5rem;
}

.sm-home-guide-card {
  display: flex;
  width: 100%;
  height: 100%;
  min-height: 235px;
  padding: 1.5rem;
  border: 1px solid #dfe5ea;
  background: #fff;
  color: #2f3241;
  text-decoration: none;
  transition:
    border-color 0.2s ease,
    transform 0.2s ease;
}

.sm-home-guide-card:hover,
.sm-home-guide-card:focus {
  border-color: #123b5d;
  color: #2f3241;
  text-decoration: none;
  transform: translateY(-2px);
}

.sm-home-guide-card__icon {
  flex: 0 0 auto;
  margin-right: 1rem;
  color: #123b5d;
  font-size: 2.75rem;
  line-height: 1;
}

.sm-home-guide-card__content {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.sm-home-guide-card__title {
  display: block;
  margin-bottom: 0.75rem;
  color: #123b5d;
  font-size: 1.1rem;
  line-height: 1.3;
  font-weight: 700;
}

.sm-home-guide-card__text {
  display: block;
  margin-bottom: 1rem;
  color: #555f69;
  font-size: 0.94rem;
  line-height: 1.55;
}

.sm-home-guide-card__link {
  display: block;
  margin-top: auto;
  color: #123b5d;
  font-size: 0.92rem;
  font-weight: 600;
}

@media (max-width: 767.98px) {
  .sm-home-guides {
    padding: 2rem 0;
  }

  .sm-home-guides__header {
    margin-bottom: 1.5rem;
  }

  .sm-home-guides__header h2 {
    font-size: 1.6rem;
  }

  .sm-home-guide-card {
    min-height: auto;
    padding: 1.25rem;
  }

  .sm-home-guide-card__icon {
    font-size: 2.35rem;
  }
}

/* =========================================================
   HOME — Guides d’orientation Shop Marine
   Module : smhomeguides
   Version : V1.0
   ========================================================= */

.sm-home-guides {
  margin: 1.5rem 0 2rem;
  background: #fff;
}

.sm-home-guides__container {
  width: 100%;
}

.sm-home-guides__header {
  padding: 2.2rem 1.5rem 2rem;
  text-align: center;
  border-bottom: 1px solid #e3e7ea;
}

.sm-home-guides__title {
  margin: 0 0 0.65rem;
  color: #123b5d;
  font-size: 2rem;
  line-height: 1.2;
  font-weight: 700;
}

.sm-home-guides__intro {
  max-width: 760px;
  margin: 0 auto;
  color: #5e6770;
  font-size: 1rem;
  line-height: 1.6;
}

/* Grille principale */

.sm-home-guides__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: #dfe5e9;
  border-bottom: 1px solid #dfe5e9;
}

/* Carte */

.sm-home-guide-card {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  min-height: 180px;
  padding: 1.6rem 1.35rem;
  background: #fff;
  color: #123b5d;
  text-decoration: none;
  transition:
    background-color 0.2s ease,
    box-shadow 0.2s ease,
    transform 0.2s ease;
}

.sm-home-guide-card:hover,
.sm-home-guide-card:focus {
  background: #f7fafc;
  color: #123b5d;
  text-decoration: none;
  box-shadow: inset 0 0 0 2px #d5e3ec;
}

.sm-home-guide-card:focus-visible {
  outline: 3px solid #e67e22;
  outline-offset: -3px;
}

/* Icône */

.sm-home-guide-card__icon {
  display: flex;
  flex: 0 0 58px;
  align-items: flex-start;
  justify-content: center;
  width: 58px;
  height: 58px;
  color: #123b5d;
  transition: color 0.18s ease;
}

.sm-home-guide-card__icon svg {
  display: block;
  width: 38px;
  height: 38px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.sm-home-guide-card:hover .sm-home-guide-card__icon,
.sm-home-guide-card:focus-within .sm-home-guide-card__icon {
  color: #e67e22;
}

/* Contenu texte */

.sm-home-guide-card__title,
.sm-home-guide-card__text {
  display: block;
}

.sm-home-guide-card__title {
  margin: 0 0 0.5rem;
  color: #123b5d;
  font-size: 1.05rem;
  line-height: 1.35;
  font-weight: 700;
}

.sm-home-guide-card__text {
  color: #66717a;
  font-size: 0.94rem;
  line-height: 1.55;
}

/* Tablette */

@media (max-width: 991px) {
  .sm-home-guides__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .sm-home-guide-card {
    min-height: 155px;
  }

  .sm-home-guides__title {
    font-size: 1.75rem;
  }
}

/* Smartphone */

@media (max-width: 575px) {
  .sm-home-guides {
    margin-top: 1rem;
  }

  .sm-home-guides__header {
    padding: 1.6rem 1rem 1.4rem;
  }

  .sm-home-guides__title {
    font-size: 1.45rem;
    line-height: 1.3;
  }

  .sm-home-guides__intro {
    font-size: 0.95rem;
  }

  .sm-home-guides__grid {
    grid-template-columns: 1fr;
  }

  .sm-home-guide-card {
    min-height: 0;
    padding: 1.25rem 1rem;
  }

@media (max-width: 575px) {
  .sm-home-guide-card__icon {
    flex-basis: 48px;
    width: 48px;
    height: 48px;
  }

  .sm-home-guide-card__icon svg {
    width: 32px;
    height: 32px;
  }
}

  .sm-home-guide-card__title {
    font-size: 1rem;
  }

  .sm-home-guide-card__text {
    font-size: 0.92rem;
  }
  .sm-home-guide-card__content {
  display: block;
  min-width: 0;
}
}

/* =========================================================
   HOME GUIDES — Liens rapides V2
   ========================================================= */

.sm-home-guide-card {
  align-items: flex-start;
  min-height: 275px;
}

.sm-home-guide-card__content {
  display: flex;
  flex: 1;
  flex-direction: column;
  min-width: 0;
}

.sm-home-guide-card__title {
  margin: 0 0 0.75rem;
}

/* Liens rapides */

.sm-home-guide-card__links {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.35rem;
  margin: 0;
}

.sm-home-guide-card__links a {
  display: inline-block;
  color: #36566f;
  font-size: 0.94rem;
  font-weight: 400;   /* ou 500 */
  line-height: 1.35;
  text-decoration: none;
  transition: color .18s ease;
}

.sm-home-guide-card__links a:hover,
.sm-home-guide-card__links a:focus {
  color: #e67e22;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.sm-home-guide-card__links a:focus-visible {
  outline: 2px solid #e67e22;
  outline-offset: 3px;
}

/* Séparation avant l’accès général */

.sm-home-guide-card__separator {
  width: 100%;
  margin: 1rem 0 0.8rem;
  border-top: 1px solid #dce3e8;
}

/* Lien général */

.sm-home-guide-card__all {
  display: inline-flex;
  align-items: flex-start;
  gap: 0.35rem;
  margin-top: auto;
  color: #123b5d;
  font-size: 0.92rem;
  line-height: 1.4;
  font-weight: 700;
  text-decoration: none;
}

.sm-home-guide-card__all:hover,
.sm-home-guide-card__all:focus {
  color: #e67e22;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.sm-home-guide-card__all:focus-visible {
  outline: 2px solid #e67e22;
  outline-offset: 3px;
}

/* Tablette */

@media (max-width: 991px) {
  .sm-home-guide-card {
    min-height: 260px;
  }
}

/* Smartphone */

@media (max-width: 575px) {
  .sm-home-guide-card {
    min-height: 0;
  }

  .sm-home-guide-card__links {
    gap: 0.45rem;
  }

  .sm-home-guide-card__links a {
    font-size: 0.95rem;
  }

  .sm-home-guide-card__separator {
    margin-top: 1.1rem;
  }

  .sm-home-guide-card__all {
    margin-top: 0;
    font-size: 0.94rem;
  }
}

/* =========================================================
   HOME — BLOC SAISONNIER
   ========================================================= */

.sm-home-season {
  margin-top: 3.25rem;
  padding: 2.4rem 2.6rem;
  background: #f7f9fb;
  border-top: 3px solid #123b5d;
  border-radius: 0 0 8px 8px;
}


/* En-tête général
   --------------------------------------------------------- */

.sm-home-season__header {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  max-width: 920px;
  margin-bottom: 2rem;
}

.sm-home-season__main-icon {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  color: #123b5d;
}

.sm-home-season__main-icon svg {
  width: 100%;
  height: 100%;
}

.sm-home-season__heading h2 {
  margin: 0 0 0.55rem;
  color: #123b5d;
  font-size: clamp(1.45rem, 2vw, 1.85rem);
  font-weight: 700;
  line-height: 1.2;
}

.sm-home-season__heading p {
  max-width: 780px;
  margin: 0;
  color: #566b7c;
  font-size: 1rem;
  line-height: 1.6;
}


/* Contenu saisonnier
   --------------------------------------------------------- */

.sm-home-season__content {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 1fr);
  gap: 2.75rem;
  padding-top: 1.8rem;
  border-top: 1px solid #dce4ea;
}


/* Présentation de la saison
   --------------------------------------------------------- */

.sm-home-season__intro {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.sm-home-season__season-icon {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  color: #5f8f5f;
  transition: color 0.18s ease;
}

.sm-home-season:hover .sm-home-season__season-icon,
.sm-home-season:focus-within .sm-home-season__season-icon {
  color: #e67e22;
}

.sm-home-season__season-icon svg {
  width: 100%;
  height: 100%;
}

.sm-home-season__eyebrow {
  margin: 0 0 0.25rem;
  color: #5f8f5f;
  font-size: 0.78rem;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.sm-home-season__intro h3 {
  margin: 0 0 0.65rem;
  color: #123b5d;
  font-size: 1.3rem;
  font-weight: 700;
  line-height: 1.25;
}

.sm-home-season__description {
  max-width: 520px;
  margin: 0;
  color: #566b7c;
  font-size: 0.96rem;
  line-height: 1.6;
}


/* Liens
   --------------------------------------------------------- */

.sm-home-season__links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 1.6rem;
  row-gap: 0.8rem;
  align-content: start;
}

.sm-home-season__links a {
  position: relative;
  display: inline-block;
  padding-left: 1rem;
  color: #36566f;
  font-size: 0.94rem;
  font-weight: 400;
  line-height: 1.4;
  text-decoration: none;
  transition: color 0.18s ease;
}

.sm-home-season__links a::before {
  position: absolute;
  top: 0;
  left: 0;
  color: #91a3b1;
  content: "›";
  transition: color 0.18s ease;
}

.sm-home-season__links a:hover,
.sm-home-season__links a:focus-visible {
  color: #e67e22;
}

.sm-home-season__links a:hover::before,
.sm-home-season__links a:focus-visible::before {
  color: #e67e22;
}


/* Lien final
   --------------------------------------------------------- */

.sm-home-season__links .sm-home-season__all {
  grid-column: 1 / -1;
  margin-top: 0.5rem;
  padding: 1rem 0 0;
  border-top: 1px solid #dce4ea;
  color: #123b5d;
  font-weight: 700;
}

.sm-home-season__links .sm-home-season__all::before {
  display: none;
}

.sm-home-season__all span {
  display: inline-block;
  margin-left: 0.3rem;
  transition: transform 0.18s ease;
}

.sm-home-season__all:hover span,
.sm-home-season__all:focus-visible span {
  transform: translateX(4px);
}


/* Tablette et mobile
   --------------------------------------------------------- */

@media (max-width: 991px) {

  .sm-home-season {
    padding: 2rem;
  }

  .sm-home-season__content {
    grid-template-columns: 1fr;
    gap: 1.8rem;
  }

}


@media (max-width: 575px) {

  .sm-home-season {
    margin-top: 2.4rem;
    padding: 1.5rem 1.25rem;
  }

  .sm-home-season__header {
    gap: 0.75rem;
    margin-bottom: 1.5rem;
  }

  .sm-home-season__main-icon {
    width: 34px;
    height: 34px;
  }

  .sm-home-season__heading h2 {
    font-size: 1.35rem;
  }

  .sm-home-season__heading p {
    font-size: 0.93rem;
    line-height: 1.55;
  }

  .sm-home-season__content {
    padding-top: 1.4rem;
  }

  .sm-home-season__season-icon {
    width: 40px;
    height: 40px;
  }

  .sm-home-season__intro h3 {
    font-size: 1.18rem;
  }

  .sm-home-season__links {
    grid-template-columns: 1fr;
    row-gap: 0.72rem;
  }

  .sm-home-season__links .sm-home-season__all {
    grid-column: auto;
  }

}

/* =========================================================
   HOME — LIGNE DE RÉASSURANCE
   ========================================================= */

.sm-home-reassurance {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 2.4rem;
  background: #fff;
  border-top: 1px solid #dce4ea;
  border-bottom: 1px solid #dce4ea;
}

.sm-home-reassurance__item {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  min-height: 92px;
  padding: 1.2rem 1.5rem;
}

.sm-home-reassurance__item:not(:last-child)::after {
  position: absolute;
  top: 22%;
  right: 0;
  width: 1px;
  height: 56%;
  background: #dce4ea;
  content: "";
}

.sm-home-reassurance__icon {
  flex: 0 0 auto;
  display: flex;
  width: 36px;
  height: 36px;
  color: #123b5d;
  transition: color 0.18s ease;
}

.sm-home-reassurance__icon svg {
  width: 100%;
  height: 100%;
}

.sm-home-reassurance__item:hover .sm-home-reassurance__icon,
.sm-home-reassurance__item:focus-within .sm-home-reassurance__icon {
  color: #e67e22;
}

.sm-home-reassurance__text {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.sm-home-reassurance__text strong {
  margin-bottom: 0.18rem;
  color: #123b5d;
  font-size: 0.94rem;
  font-weight: 700;
  line-height: 1.25;
  text-transform: uppercase;
}

.sm-home-reassurance__text span {
  color: #566b7c;
  font-size: 0.88rem;
  font-weight: 400;
  line-height: 1.35;
}


/* Tablette
   --------------------------------------------------------- */

@media (max-width: 991px) {

  .sm-home-reassurance {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .sm-home-reassurance__item:nth-child(2)::after {
    display: none;
  }

  .sm-home-reassurance__item:nth-child(-n + 2) {
    border-bottom: 1px solid #dce4ea;
  }

}


/* Mobile
   --------------------------------------------------------- */

@media (max-width: 575px) {

  .sm-home-reassurance {
    grid-template-columns: 1fr;
    margin-top: 2rem;
  }

  .sm-home-reassurance__item {
    justify-content: flex-start;
    min-height: 78px;
    padding: 1rem 1.25rem;
  }

  .sm-home-reassurance__item:not(:last-child) {
    border-bottom: 1px solid #dce4ea;
  }

  .sm-home-reassurance__item::after {
    display: none;
  }

  .sm-home-reassurance__icon {
    width: 32px;
    height: 32px;
  }

}

/* ============================
   + / - des catégories
   ============================ */

#left-column .navbar-toggler.collapse-icons {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  margin-left: auto;
  cursor: pointer;
}

#left-column .navbar-toggler.collapse-icons i.material-icons {
  color: #123b5d;
  font-size: 28px;
  font-weight: 700;
  line-height: 1;
  transition: color 0.2s ease;
}

#left-column .navbar-toggler.collapse-icons:hover i.material-icons {
  color: #e67e22;
}


/* ============================
   Flèches des sous-catégories
   ============================ */

#left-column .category-sub-menu li {
  position: relative;
}

#left-column .category-sub-menu li > a {
  display: block;
  padding-right: 42px;
}

#left-column .category-sub-menu li > .arrows {
  position: absolute;
  top: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  margin: 0;
  cursor: pointer;
}

#left-column .category-sub-menu li > .arrows i.material-icons {
  color: #123b5d;
  font-size: 24px;
  line-height: 1;
  transition: color 0.2s ease;
}

#left-column .category-sub-menu li > .arrows:hover i.material-icons {
  color: #e67e22;
}


/* ============================
   Liens du menu
   ============================ */

#left-column .category-top-menu li > a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

#left-column .category-top-menu li > a:hover,
#left-column .category-sub-menu li > a:hover {
  color: #e67e22;
}

/* Liens éditoriaux dans les descriptions de catégories */
#category-description a,
.category-description a,
.block-category a,
.category-additional-description a {
  color: #2f7fb8;
  font-weight: 600;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
  transition:
    color 0.2s ease,
    text-decoration-color 0.2s ease;
}

#category-description a:hover,
.category-description a:hover,
.block-category a:hover,
.category-additional-description a:hover {
  color: #e67e22;
  text-decoration-color: #e67e22;
}

#category-description a,
.sm-category-bottom a {
    color: #2f7fb8;
    font-weight: 500;
    text-decoration: underline;
    text-decoration-thickness: 2px;
    text-underline-offset: 3px;
}

#category-description a:hover,
.sm-category-bottom a:hover {
    color: #e67e22;
}