/* =========================================================
   CUSTOM.CSS
   Preset : Galerie d'art / Maleka Salhi
   Base : PrestaShop 9 / Hummingbird
   Version corrigée / nettoyée - doublons supprimés
========================================================= */
/* ── Google Fonts ── */
/* @import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,600;1,400&display=swap');*/
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@300;400;500;600;700&display=swap');

@import url('https://fonts.googleapis.com/css2?family=Marck+Script&display=swap');

@layer utilities {
  :root,
  [data-bs-theme="light"] {
    /* =====================================================
       1. BRAND / BACKGROUNDS / SURFACES COLORS
    ===================================================== */
    --brand-primary: #003a70; /* #0055a4 */
    --brand-primary-rgb: 0, 58, 112;

    --brand-secondary: #C9A86A;
    --brand-secondary-rgb: 201, 168, 106;
    
    --brand-tertiary: #f8f8fa;
    --brand-tertiary-rgb: 248, 248, 250;

    --brand-accent: #003a70;

    --brand-text-primary-color: #000000;
    --brand-text-primary-color-rgb: 0, 0, 0;

    --brand-text-secondary-color: #6a6b6d;
    --brand-text-secondary-color-rgb: 106, 107, 109;

    --brand-text-tertiary-color: #6b6b6b; /* #0A0A0A */
    --brand-text-tertiary-color-rgb: 107, 107, 107;

    --brand-text-muted: #6f6f6f;

    --brand-bg: #f6f6f6;
    --brand-bg-rgb: 246, 246, 246;

    --brand-bg-soft: #fafaf8;
    --brand-bg-soft-rgb: 250, 250, 248;

    --brand-bg-dark: var(--brand-bg-soft); /*couleur de fond du footer*/
    --brand-bg-dark-rgb: 248, 245, 239;

    --brand-surface: var(--brand-bg);
    /*--brand-surface-soft: #f5e2c3;*/
    --brand-surface-soft: #fafaf8;

    --brand-wrapper-bg:#FFFFFF;


    --brand-bg-muted: #f3efe7;
    --brand-bg-muted-rgb: 243, 239, 231;

       /* Alias pour compatibilité avec tes anciens blocs */
    --white: #FFFFFF;
    --blue: var(--brand-primary);
    --blue-dark: #003a70;
    --gold: #C9A86A;
    --gold-rgb: 201, 168, 106;
    /* --text: var(--brand-text-primary-color); */
    /* --muted: var(--brand-text-muted); */
    /* --font-body: var(--brand-text-font-body); */
    

    --brand-heading: var(--brand-text-primary-color);
    --brand-text-hover-color: var(--brand-text-secondary-color);
    --brand-primary-bg: var(--brand-primary);
    --brand-primary-bg-rgb: 0, 58, 112;

    --brand-secondary-bg: var(--brand-secondary);
    --brand-secondary-bg-rgb:var(--brand-secondary-rgb);

    --brand-tertiary-bg: var(--brand-tertiary);
    --brand-tertiary-bg-rgb: var(--brand-tertiary-rgb);

    --brand-hover-bg: var(--brand-secondary-bg);
    --brand-hover-bg-rgb: var(--brand-secondary-bg-rgb);

   /*
    --brand-border-hover-color: var(--brand-primary);
    --brand-border-hover-color-rgb: var(--brand-primary-bg-rgb);
*/
   

    /* =====================================================
       3. TEXTES / TYPOGRAPHIES
    ===================================================== */

    --brand-text-font-body: Arial, sans-serif;
    --brand-text-font-h1: "Marck Script", cursive;
    --brand-text-font-h2: "Marck Script", cursive;
    --brand-text-font-h3: "Cormorant Garamond", Georgia, serif;

    /* =====================================================
       4. LIENS
    ===================================================== */

    --brand-link: var(--brand-primary);
    --brand-link-hover: var(--brand-secondary);

    --brand-link-color: var(--brand-primary);
    --brand-link-color-rgb: var(--brand-primary-bg-rgb);

    /*
    --brand-link-hover-color: var(--brand-text-hover-color);
    --brand-link-hover-color-rgb: var(--brand-secondary-bg-rgb);
    */
    --brand-link-hover-color: var(--brand-secondary);
    --brand-link-hover-color-rgb: var(--brand-secondary-rgb);


    /* =====================================================
       5. BORDURES
    ===================================================== */

    --brand-border-color: var(--brand-secondary);
    --brand-border-color-rgb: var(--brand-secondary-bg-rgb);
  

    /* =====================================================
       6. BOUTONS
    ===================================================== */

    --brand-btn-primary-bg: var(--brand-primary-bg);
    --brand-btn-primary-text: var(--brand-secondary);
    --brand-btn-primary-border: var(--brand-secondary);

    --brand-btn-primary-hover-bg: var(--brand-secondary-bg);
    --brand-btn-primary-hover-text: var(--brand-primary);
    --brand-btn-primary-hover-border: var(--brand-primary);

    --brand-btn-secondary-bg: var(--brand-secondary-bg);
    --brand-btn-secondary-text: var(--brand-primary);
    --brand-btn-secondary-border: var(--brand-primary);

    --brand-btn-secondary-hover-bg: var(--brand-secondary-bg);
    --brand-btn-secondary-hover-text: var(--brand-secondary);
    --brand-btn-secondary-hover-border: var(--brand-border-color);

    
    --brand-btn-outline-bg: var(--brand-bg-soft);
    --brand-btn-outline-text: var(--brand-primary-bg);
    --brand-btn-outline-border: var(--brand-secondary);

    --brand-btn-outline-hover-bg: var(--brand-bg);
    --brand-btn-outline-hover-text: var(--brand-secondary-bg);
    --brand-btn-outline-hover-border: var(--brand-secondary);

    /* =====================================================
       7. FEEDBACK / STATUS
    ===================================================== */

    --brand-success: #188251;
    --brand-warning: #d9a441;
    --brand-danger: #c53b3b;

    /* =====================================================
       8. SHADOWS
    ===================================================== */

    --brand-shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.06);
    --brand-shadow-md: 0 10px 30px rgba(0, 0, 0, 0.10);

    --shadow-soft: 0 8px 24px rgba(0, 0, 0, 0.08);
    --shadow-card: 0 14px 36px rgba(0, 0, 0, 0.12);
    --shadow-modal: 0 24px 80px rgba(0, 0, 0, 0.22);

    /* =====================================================
       9. RADIUS / ESPACEMENTS
    ===================================================== */

    --radius-sm: 0rem;
    --radius-md: 0rem;
    --radius-lg: 0rem;
    --radius-pill: 999rem;
   
    --space-xs: 6px;
    --space-sm: 12px;
    --space-md: 24px;
    --space-lg: 48px;
  }
}

/* =========================================================
   CONNEXION BOOTSTRAP / HUMMINGBIRD
========================================================= */

:root,
[data-bs-theme="light"] {
  --bs-primary: var(--brand-primary-bg);
  --bs-primary-rgb: var(--brand-primary-bg-rgb);

  --bs-secondary: var(--brand-secondary-bg);
  --bs-secondary-rgb: var(--brand-secondary-bg-rgb);

  --bs-tertiary: var(--brand-tertiary-bg);
  --bs-tertiary-rgb: var(--brand-tertiary-bg-rgb);

  --bs-body-bg: var(--brand-bg);
  --bs-body-bg-rgb: var(--brand-bg-rgb);

  --bs-tertiary-bg: var(--brand-bg);
  --bs-tertiary-bg-rgb: var(--brand-bg-rgb);

  --bs-secondary-bg: var(--brand-bg-soft);
  --bs-secondary-bg-rgb: var(--brand-bg-soft-rgb);

  --bs-light: var(--brand-bg);
  --bs-light-rgb: var(--brand-bg-rgb);

  --bs-dark: var(--brand-bg-dark);
  --bs-dark-rgb: var(--brand-bg-dark-rgb);

  --bs-body-color: var(--brand-text-primary-color);
  --bs-body-color-rgb: var(--brand-text-primary-color-rgb);

  --bs-heading-color: var(--brand-heading);

  --bs-link-color: var(--brand-link-color);
  --bs-link-color-rgb: var(--brand-link-color-rgb);

  --bs-link-hover-color: var(--brand-link-hover-color);
  --bs-link-hover-color-rgb: var(--brand-link-hover-color-rgb);

  --bs-border-color: var(--brand-border-color);

  --bs-border-radius: var(--radius-md);
  --bs-border-radius-sm: var(--radius-sm);
  --bs-border-radius-lg: var(--radius-lg);

  --bs-box-shadow: var(--shadow-card);
  --bs-box-shadow-sm: var(--shadow-soft);

  --bs-focus-ring-color: rgba(var(--brand-primary-bg-rgb), 0.16);

  --bs-font-sans-serif: var(--brand-text-font-body);
  --bs-body-font-family: var(--brand-text-font-body);
}

/* =========================================================
   BASE GLOBALE
========================================================= */

body {
  background: var(--brand-bg);
  color: var(--brand-text-primary-color) !important;
  font-family: var(--brand-text-font-body);
}

h1,
.h1 {
  color: var(--brand-text-primary-color);
  font-family: var(--brand-text-font-h1);
  font-weight: 500;
  letter-spacing: 0.04em;
}

h2,
.h2 {
  color: var(--brand-text-primary-color);
  font-family: var(--brand-text-font-h2);
  font-weight: 500;
  letter-spacing: 0.03em;
}

h3,
.h3 {
  color: var(--brand-text-primary-color);
  font-family: var(--brand-text-font-h3);
  font-weight: 500;
  letter-spacing: 0.02em;
}

h4,
h5,
h6,
.h4,
.h5,
.h6 {
  color: var(--brand-text-primary-color) !important;
  font-family: var(--brand-text-font-h1);
  font-weight: 500;
  letter-spacing: 0.02em;
}

/*
hr {
    border-bottom: 1px solid rgba(var(--brand-border-color-rgb), 0.1);
    opacity: 1;
}
*/

a:not(.btn) {
  color: var(--brand-link-color);
  text-decoration: none;
}

a:hover {
  color: var(--brand-link-hover-color);
}

img {
  max-width: 100%;
  height: auto;
}
 .form-select
 {
  border-radius: var(--radius-sm) !important;
} 


/* =====================================================
   WRAPPER GLOBAL
===================================================== */

#wrapper {
  width: 100% !important;
  max-width: 90% !important;
  margin: 0 auto !important;
  /*padding: 52px 56px !important;*/
  position: relative !important;
  background: var(--brand-wrapper-bg) !important;
  border: 1px solid rgba(0, 85, 164, 0.1) !important;
  box-shadow: 0 12px 48px rgba(0, 30, 80, 0.08) !important;
}

@media (max-width: 767.98px) {
  #wrapper {
    width: 100vw !important;
    max-width: 100vw !important;
    margin-left: calc(50% - 50vw) !important;
    margin-right: calc(50% - 50vw) !important;
    /*padding: 24px 16px !important;*/
    border-left: none !important;
    border-right: none !important;
    border-radius: 0 !important;
  }
}

/* =====================================================
   STYLE TRI, SELECT, DROPDOWN MENU
===================================================== */

#js-product-list-top .products__sort-dropdown {
  margin-left: auto !important;
  width: 100%;
  max-width: 500px;
}

#js-product-list-top .products__sort-dropdown-button,
#js-product-list-top .products__sort-dropdown .dropdown-toggle,
#js-product-list-top .products__sort-dropdown .dropdown-menu {
  width: 100%;
  border-radius: var(--radius-sm) !important;
  max-width: 500px;
}

#js-product-list-top .products__sort-dropdown .dropdown-item {
  border-radius: 0 !important;
}

/* =========================================================
   BOUTONS
========================================================= */

.btn-primary,
.btn-basic,
a.btn-basic {
  --bs-btn-color: var(--brand-btn-primary-text);
  --bs-btn-bg: var(--brand-btn-primary-bg);
  --bs-btn-border-color: var(--brand-btn-primary-border);

  --bs-btn-disabled-color: var(--brand-btn-primary-text);
  --bs-btn-disabled-bg: transparent;
  --bs-btn-disabled-border-color: var(--brand-btn-primary-border);

    border-radius: var(--radius-sm);
}

.btn-primary:hover,
.btn-basic:hover,
a.btn-basic:hover {
  --bs-btn-hover-color: var( --brand-btn-primary-hover-text) !important;
  --bs-btn-hover-bg: var( --brand-btn-primary-hover-bg) !important;
  --bs-btn-hover-border-color: var(--brand-btn-primary-hover-border) !important;
    background-color: var(--brand-btn-primary-hover-bg) !important;
  color: var(--brand-btn-primary-hover-text) !important;
}


.btn-primary:focus,
.btn-primary:focus-visible,
.btn-primary:active,
.btn-basic:focus,
.btn-basic:focus-visible,
.btn-basic:active,
a.btn-basic:focus,
a.btn-basic:focus-visible,
a.btn-basic:active {
  /*
  color: var(--brand-btn-primary-text) !important;
  background-color: var(--brand-bg) !important;
  border-color: var(--brand-btn-primary-border);
 */
  background-color: var(--brand-btn-primary-hover-bg) !important;
  color: var(--brand-btn-primary-hover-text) !important;
  /*
  box-shadow: none !important;
  outline: none !important;
  box-shadow: none !important;
*/
  }

.btn-basic {
  padding-left: var(--space-md);
  padding-right: var(--space-md);
}

.btn-secondary {
  color: var(--brand-btn-primary-text) !important;
  background-color: var(--brand-bg) !important;
  border-color: var(--brand-btn-primary-border);
}

.btn-outline-primary {
  color: var(--brand-btn-outline-text) !important;
  background-color: var(--brand-btn-outline-bg) !important;
  border-color: var(--brand-btn-outline-border);

  border-radius: var(--radius-sm);
}

.btn-outline-primary:hover,
.btn-outline-primary:focus,
.btn-outline-primary:active {
    color: var(--brand-btn-outline-hover-text) !important;
    background-color: var(--brand-btn-outline-hover-bg) !important;
    border-color: var(--brand-btn-outline-hover-border);
}

.product-actions .btn,
.form-footer .btn,
.cart-summary .btn,
.checkout-step .btn {
  margin-top: 6px;
}

/* =====================================================
   MENU PRINCIPAL STYLE BOUTONS - HUMMINGBIRD PS9
===================================================== */

/* Cache les flèches et le méga menu */
/*AZZ
.ps-mainmenu__tree-dropdown-toggle,
.js-sub-menu,
.submenu {
*/
.ps-mainmenu__tree-dropdown-toggle,
.ps-mainmenu--desktop .js-sub-menu,
.ps-mainmenu--desktop .submenu {
  display: none !important;
}

.header-bottom .row {
  align-items: center;
}

.ps-mainmenu.ps-mainmenu--desktop {
  display: flex;
  align-items: center;
  justify-content: center;
}

.ps-mainmenu.ps-mainmenu--desktop .ps-mainmenu__tree,
.ps-mainmenu__tree {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 0;
  margin-bottom: 0;
}

.ps-mainmenu__tree-item-wrapper {
  display: flex;
  align-items: center;
}

/* Bouton normal */
.ps-mainmenu__tree-link {
  position: relative !important;
  overflow: hidden !important;

  display: inline-flex !important;
  align-items: center;
  justify-content: center;

  padding: 10px 18px !important;

  color: var(--brand-primary) !important;
  background: var(--brand-bg) !important;

  border: 1px solid var(--brand-border-color) !important;
  border-radius: var(--radius-sm);

  text-decoration: none !important;
  text-transform: uppercase !important;

  outline: none !important;
  box-shadow: none !important;

  transition:
    background-color 0.25s ease,
    border-color 0.25s ease,
    color 0.25s ease,
    transform 0.2s ease;
}

/* Hover bouton normal */
.ps-mainmenu__tree-link:hover {
  color: var(--brand-primary) !important;
  background: rgba(var(--brand-primary-bg-rgb), 0.06) !important;
  border-color: var(--gold) !important;
  transform: translateY(-1px);
}

/* Suppression des effets navigateur / Bootstrap */
.ps-mainmenu__tree-link:focus,
.ps-mainmenu__tree-link:focus-visible,
.ps-mainmenu__tree-link:active,
.ps-mainmenu__tree-item,
.ps-mainmenu__tree-item-wrapper,
.ps-mainmenu__tree-item-wrapper:hover,
.ps-mainmenu__tree-item-wrapper:focus,
.ps-mainmenu__tree-item-wrapper:focus-visible,
.ps-mainmenu a,
.ps-mainmenu a:hover,
.ps-mainmenu a:focus,
.ps-mainmenu a:focus-visible {
  outline: none !important;
  box-shadow: none !important;
}

/* Bouton actif */
.ps-mainmenu__tree-item.current .ps-mainmenu__tree-link,
.ps-mainmenu__tree-link.active,
.ps-mainmenu__tree-link[aria-current="page"] {
  color: var(--white) !important;
  background: var(--brand-primary) !important;
  border-color: var(--brand-primary) !important;
  box-shadow: none !important;
}

/* Liseré doré intérieur à 2px du bord */
.ps-mainmenu__tree-item.current .ps-mainmenu__tree-link::before,
.ps-mainmenu__tree-link.active::before,
.ps-mainmenu__tree-link[aria-current="page"]::before {
  content: "" !important;
  position: absolute !important;
  inset: 2px !important;
  border: 1px solid var(--gold) !important;
  border-radius: var(--radius-sm);
  pointer-events: none !important;
  z-index: 1;
}

/* Hover sur bouton actif */
.ps-mainmenu__tree-item.current .ps-mainmenu__tree-link:hover,
.ps-mainmenu__tree-link.active:hover,
.ps-mainmenu__tree-link[aria-current="page"]:hover {
  color: var(--white) !important;
  background: var(--brand-primary) !important;
  border-color: var(--brand-primary) !important;
}

@media (max-width: 991.98px) {
  .ps-mainmenu.ps-mainmenu--desktop .ps-mainmenu__tree,
  .ps-mainmenu__tree {
    width: 100% !important;
    align-items: stretch !important;
    gap: 0;
  }

  .ps-mainmenu__tree-item,
  .ps-mainmenu__tree-item-wrapper,
  .ps-mainmenu__tree-link {
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .ps-mainmenu__tree-link {
    border-radius: var(--radius-sm);
    padding: 14px 18px !important;
  }
}

/* =====================================================
   INPUT GROUPS
===================================================== */

.form-control
{
    border-radius: var(--radius-sm) !important;
}

.input-group {
 /* gap: 8px;*/
  /*azz*/
   gap: 0px;
}

.input-group > .form-control,
.input-group > .btn,
.input-group > .input-group-text {
  border-radius: var(--radius-sm) !important;
}

.input-group > .form-control:not(:last-child),
.input-group > .btn:not(:last-child),
.input-group > .input-group-text:not(:last-child) {
  border-right: 1px solid var(--brand-border-color);
}

.input-group > .form-control:not(:first-child),
.input-group > .btn:not(:first-child),
.input-group > .input-group-text:not(:first-child) {
  border-left: 1px solid var(--brand-border-color);
}

@media (max-width: 575.98px) {
  .product-actions,
  .product-add-to-cart,
  .form-footer,
  .cart-summary,
  .cart-detailed-actions,
  .checkout-step,
  .address-footer,
  .page-footer,
  .modal-footer,
  .quickview .modal-footer {
    gap: 8px;
  }
}

/* =========================================================
   FORMULAIRES GLOBAUX
========================================================= */

.form-control,
/*.form-select,*/
.input-group-text {
  border: none !important;
  border-bottom: 1px solid transparent !important;

  background-image: linear-gradient(
    90deg,
    transparent 0%,
    var(--brand-primary) 25%,
    var(--brand-secondary) 50%,
    var(--brand-primary) 75%,
    transparent 100%
  );

  background-repeat: no-repeat;
  background-position: bottom left;
  background-size: 100% 1px;

  box-shadow: none !important;
}

.form-control:focus
/*.form-select:focus*/ {
  border-color: transparent !important;
  box-shadow: none !important;
  outline: none !important;
}

.form-check-input:focus,
.form-check-input:focus-visible,
.form-check-input:active {
  outline: none !important;
  box-shadow: none !important;
}

.form-check-input[type="radio"] {
  appearance: none !important;
  -webkit-appearance: none !important;
  width: 1em !important;
  height: 1em !important;
  border: 1px solid var(--brand-primary) !important;
  border-radius: 50% !important;
  background-color: var(--white) !important;
  background-image: none !important;
  box-shadow: none !important;
}

.form-check-input[type="radio"]:checked {
  border-color: var(--brand-primary) !important;
  background-color: var(--brand-primary) !important;
  background-image: radial-gradient(circle, var(--gold) 0 38%, transparent 42%) !important;
}

.form-check-input[type="checkbox"]:checked {
  background-color: var(--brand-secondary) !important;
  border-color: var(--brand-secondary) !important;
}

label,
.form-label {
  color: var(--brand-text-primary-color);
}

.form-control[type="file"] {
  background: var(--brand-wrapper-bg) !important;
  border: 1px solid var(--brand-btn-primary-border) !important;
  border-radius: var(--radius-sm) !important;
  padding: 8px !important;
}


/* =========================================================
   FORMULAIRES COMPTE - LOGIN / INSCRIPTION / MOT DE PASSE
========================================================= */

#authentication .login__form-wrapper,
#registration .register-form,
#registration section.register-form,
#password .forgotten-password {
  background: var(--brand-wrapper-bg) !important;
  border: 1px solid rgba(0, 85, 164, 0.2) !important;  /*opacité de la bordure*/
  box-shadow: 0 12px 48px rgba(0, 30, 80, 0.08) !important;
  padding: 52px 56px !important;
  width: 100% !important;
  max-width: 900px !important;
  position: relative !important;
  margin: 0 auto !important;
}

#authentication .form-control,
#authentication .form-select,
#registration .form-control,
#registration .form-select,
#password .form-control,
#password .form-select,
#contact .form-control,
#contact .form-select {
  max-width: 500px !important;
}

/* =========================================================
   HEADER / MENU
========================================================= */

#header {
  background: var(--brand-bg-soft);
  border-bottom: none;
}

#header a {
  color: var(--brand-text-primary-color);
}

#header a:hover,
#header .current a,
#header .top-menu a[data-depth="0"]:hover {
  color: var(--brand-primary);
}

#header .top-menu a[data-depth="0"] {
  font-family: var(--brand-text-font-h1);
  letter-spacing: 0.04em;
}

#header .top-menu .current > a {
  color: var(--brand-primary);
  /*border-bottom: 2px solid var(--brand-secondary);*/
}

.header-top {
  border-bottom: 1px solid var(--brand-bg);
}

/* =====================================================
   LISERÉ DÉGRADÉ SOUS LE HEADER-BOTTOM
===================================================== */

.header-bottom {
   position: relative;
   border-bottom: 1px solid var(--brand-bg);
   padding-bottom: 12px !important;
}

.header-bottom::after {
  content: "";
  position: absolute;

  left: 0;
  right: 0;
  bottom: 0;

  height: 3px;

  background: linear-gradient(
    90deg,
    transparent 0%,
    var(--brand-primary) 25%,
    var(--brand-secondary) 50%,
    var(--brand-primary) 75%,
    transparent 100%
  );

  pointer-events: none;
}

/* =====================================================
   FIN LISERÉ DÉGRADÉ SOUS LE HEADER-BOTTOM
===================================================== */
.header-top__left,
.header-top__center,
.header-top__right {
  display: flex !important;
  align-items: center !important;
}

.header-top__left {
  justify-content: flex-start !important;
  text-align: left !important;
}

.header-top__center {
  justify-content: center !important;
  text-align: center !important;
}

.header-top__right {
  justify-content: flex-end !important;
  text-align: right !important;
  gap: 16px;
}

.header-top__left #_desktop_ps_searchbar {
  margin-left: 0 !important;
  margin-right: auto !important;
  padding-left: 0 !important;
  width: 100% !important;
  max-width: 100% !important;
  display: flex !important;
  justify-content: flex-start !important;
}

.header-top__left #ps_searchbar {
  margin-left: 0 !important;
  margin-right: auto !important;
  width: 100% !important;
  max-width: 320px !important;
}

.header-top__left .ps-searchbar__form {
  width: 100% !important;
}

.header-top__logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.header-top__logo .logo {
  max-height: 42px;
  width: auto;
}

/* =====================================================
   FORMULAIRES MOBILE
===================================================== */
@media (max-width: 767.98px) {

  #authentication .login__form-wrapper,
  #registration .register-form,
  #registration section.register-form,
  #password .forgotten-password {
    padding: 20px 16px !important;
  }

}




/* =========================================================
   FIL D'ARIANE
========================================================= */

.breadcrumb,
.breadcrumb a {
  color: var(--brand-text-muted);
}

.breadcrumb a:hover {
  color: var(--brand-primary);
}

/* =========================================================
   PAGE PRODUIT
========================================================= */

.product-information,
.product-actions,
.product-prices {
  color: var(--brand-text-primary-color);
}

.product-cover img {
  border-radius: var(--radius-md);
}

.product-images > li.thumb-container > .thumb {
  border: 1px solid var(--brand-border-color);
  border-radius: var(--radius-sm);
}

.product-images > li.thumb-container > .thumb.selected,
.product-images > li.thumb-container > .thumb:hover {
  border-color: var(--brand-secondary);
}

.tabs .nav-tabs {
  border-bottom: 1px solid rgba(var(--brand-border-color-rgb), 0.2);  /* opacité de la bordure */
}

.tabs .nav-tabs .nav-link {
  color: var(--brand-text-muted);
}

.tabs .nav-tabs .nav-link.active,
.tabs .nav-tabs .nav-link:hover {
  color: var(--brand-primary);
  border-bottom: 2px solid rgba(var(--brand-border-color-rgb), 0.2); /* opacité de la bordure */
}

/* =========================================================
   QUICKVIEW / MODALES
========================================================= */

.modal-content,
.quickview .modal-content {
  border: 1px solid rgba(var(--brand-border-color-rgb), 0.2);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-modal);
}

.modal-header {
  border-bottom: 1px solid rgba(var(--brand-border-color-rgb), 0.2); /* opacité de la bordure */
}

.modal-footer {
  border-top: 1px solid rgba(var(--brand-border-color-rgb), 0.2); /* opacité de la bordure */
}

.modal-title {
  color: var(--brand-text-primary-color);
  font-family: var(--brand-text-font-h1);
}

/* =========================================================
   PANIER / CHECKOUT
========================================================= */

.cart-grid,
.cart-summary,
.checkout-step {
  border-color: rgba(var(--brand-border-color-rgb), 0.3); /* opacité de la bordure */
}

.cart-summary-line .value,
.cart-total .value {
  color: var(--brand-primary);
  font-weight: 600;
}

.checkout-step .step-title {
  color: var(--brand-text-primary-color);
  font-family: var(--brand-text-font-h1);
}

.cart__item {
    
   border-color: rgba(var(--brand-border-color-rgb), 0.3); /* opacité de la bordure */
}

/* =========================================================
   ALERTES / MESSAGES
========================================================= */

.alert-primary {
  --bs-alert-color: var(--brand-primary);
  --bs-alert-bg: #e6eef6;
  --bs-alert-border-color: #b3c9dc;
}

.alert-success {
  --bs-alert-color: var(--brand-success);
}

.alert-danger {
  --bs-alert-color: var(--brand-danger);
}

/* =========================================================
   PAGINATION
========================================================= */

.pagination .page-list li a {
  color: var(--brand-text-primary-color);
}

.pagination .page-list li.current a,
.pagination .page-list li a:hover {
  color: var(--brand-primary);
}

.page-item.active .page-link {
  /*background-color: var(--brand-primary);*/
  border-color: var(--brand-primary);
}

.page-link {
  color: var(--brand-primary);
  border-color: var(--brand-border-color);
}

.page-link:hover {
  color: #00264a;
  background-color: var(--brand-bg-soft);
  border-color: var(--brand-border-color);
}

/* =========================================================
   BLOCS / SECTIONS
========================================================= */

.block-category,
.featured-products,
.products-section-title {
  background: transparent;
}

.block-category {
  border: 1px solid var(--brand-border-color);
  border-radius: var(--radius-md);
  /*background: var(--brand-bg-soft);*/
}

.section-title::after,
.products-section-title::after {
  content: "";
  display: block;
  width: 64px;
  height: 2px;
  margin-top: 12px;
  background: var(--brand-secondary-bg);
}

/* =========================================================
   FOOTER
========================================================= */

.footer,
.footer__main,
.footer__before,
.footer__before .ps-emailsubscription,
.footer__before .bg-body-tertiary {
  color: var(--brand-text-primary-color) !important;
}

.footer .footer-block__title,
.footer .footer-block__title a,
.footer #footer_customeraccount_title,
.footer #footer_customeraccount_title a,
.footer #footer_contactinfo_title,
.footer #footer_contactinfo_title a {
  color: var(--brand-text-primary-color) !important;
  /*font-family: var(--brand-text-font-h1) !important;*/
  font-weight: 600 !important;
  text-decoration: none !important;
}

.footer a,
.footer .footer-block__list a,
.footer .ps-contactinfo a {
  color: var(--brand-text-primary-color) !important;
  text-decoration: none !important;
}

.footer a:hover,
.footer .footer-block__list a:hover,
.footer .ps-contactinfo a:hover,
.footer .footer-block__title a:hover {
  color: var(--brand-primary) !important;
}

.footer address,
.footer .ps-contactinfo__infos,
.footer .ps-contactinfo__email {
  color: var(--brand-text-primary-color) !important;
}

.footer .material-icons {
  color: var(--brand-text-primary-color) !important;
}

.footer .footer-block__title button,
.footer .footer-block__title .material-icons {
  color: var(--brand-text-primary-color) !important;
}

.footer .copyright,
.footer .copyright a {
  color: var(--brand-text-primary-color) !important;
  opacity: 0.85;
}

.footer .copyright a:hover {
  color: var(--brand-primary) !important;
  opacity: 1;
}

/* =========================================================
   CONTACT / HEADER ACTIONS
========================================================= */

.ps-contactinfo__email {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 16px;
  border: 1px solid var(--brand-border-color);
  border-radius: var(--radius-sm);
  background: var(--brand-surface);
  color: var(--brand-primary) !important;
  text-decoration: none !important;
  font-family: var(--brand-text-font-body);
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: 0.4px;
  transition: background 0.25s ease, border-color 0.25s ease, transform 0.2s ease, box-shadow 0.25s ease;
}

.ps-contactinfo__email:hover {
  background: var(--brand-bg-soft);
  border-color: var(--brand-secondary);
  color: var(--brand-primary) !important;
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(0, 58, 112, 0.08);
}

.header-block__action-btn {
  display: inline-flex !important;
  align-items: center;
  gap: 8px;
  padding: 8px 16px !important;
  border: 1px solid var(--brand-border-color);
  border-radius: var(--radius-sm);
  background: var(--brand-surface);
  color: var(--brand-primary) !important;
  text-decoration: none !important;
   font-family: var(--brand-text-font-body);
  font-size: 1rem;
  font-weight: 500;
  transition: background 0.25s ease, border-color 0.25s ease, transform 0.2s ease, box-shadow 0.25s ease;
}

.header-block__action-btn:hover {
  background: var(--brand-bg-soft);
  border-color: var(--brand-secondary);
  color: var(--brand-primary) !important;
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(0, 58, 112, 0.08);
}

.header-block__icon {
  font-size: 20px;
  color: inherit;
}

.header-block__badge {
  min-width: 22px;
  height: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--brand-secondary);
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 600;
}

@media (max-width: 991.98px) {
  .header-block__action-btn,
  .ps-contactinfo__email {
    padding: 8px 14px !important;
  }
}

/* =========================================================
   HERO MALÉKA SALHI
========================================================= */

.ps-customtext {
  padding: 40px 20px;
}

.ps-customtext .hero-eyebrow {
  margin: 0 0 24px !important;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 4px;
  color: var(--gold) !important;
  font-family: var(--brand-text-font-body);
  font-size: 0.95rem !important;
  font-weight: 500;
  line-height: 1.8;
}

.ps-customtext .hero-name {
  margin: 0 0 12px !important;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 4px;
  color: var(--brand-primary) !important;
  font-family: var(--brand-text-font-h3);
  font-size: clamp(2.8rem, 5vw, 5rem) !important;
  font-weight: 800;
  line-height: 1.05;
  font-style: normal;
}

.ps-customtext .hero-name span {
  color: var(--brand-primary) !important;
}

.ps-customtext .hero-divider {
  width: 180px;
  height: 2px;
  border: none;
  margin: 0 auto 40px !important;
  background: linear-gradient(
    90deg,
    transparent 0%,
    var(--brand-primary) 25%,
    var(--brand-secondary) 50%,
    var(--brand-primary) 75%,
    transparent 100%
  );

}

.ps-customtext .hero-tagline {
  
  margin: 0 0 40px !important;
  text-align: center;
  font-style: italic;
  color: var(--brand-text-tertiary-color) !important;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1rem, 2vw, 1.35rem) !important;
  line-height: 1.8;
  
}

@media (max-width: 767.98px) {
  .ps-customtext {
    padding: 24px 16px;
  }

  .ps-customtext .hero-eyebrow,
  .ps-customtext .hero-name {
    letter-spacing: 2px;
  }
}

/* =====================================================
   PAGE CONNEXION - BOUTON CREER UN COMPTE
===================================================== */

.login__register-prompt .d-grid {
  display: flex !important;
  justify-content: center !important;
}

.login__register-prompt .btn {
  width: 280px !important;
  margin: 0 auto !important;

  display: inline-flex !important;
  justify-content: center !important;
  align-items: center !important;
}

.login__register-prompt .h4,
.login__register-prompt h4,
.login__register-prompt [class*="h4"] {
    font-size: calc(var(--bs-body-font-size) * 2) !important;
}

/* =========================================================
   UTILITAIRES PERSO
========================================================= */

.bg-brand-soft {
  background: var(--brand-bg-soft);
}

.text-brand-primary {
  color: var(--brand-primary);
}

.text-brand-secondary {
  color: var(--brand-secondary);
}

.border-brand {
  border-color: var(--brand-border-color);
}

.shadow-brand-soft {
  box-shadow: var(--shadow-soft);
}

/* =========================================================
   RESPONSIVE GLOBAL
========================================================= */

@media (max-width: 767.98px) {
  :root {
    --space-md: 18px;
    --space-lg: 32px;
  }

  h1,
  .h1 {
    font-size: 2rem;
  }

  h2,
  .h2 {
    font-size: 1.6rem;
  }

  .product-miniature:hover,
  .card:hover {
    transform: none;
  }

  #header .top-menu .current > a {
    border-bottom: none;
    color: var(--brand-primary);
  }
}


/* =====================================================
   DESCRIPTION PRODUIT - STYLE GALERIE D'ART PREMIUM
===================================================== */

/* =====================================================
   ACCORDÉON PRODUIT - GALERIE D'ART
===================================================== */

.product__accordion {
  margin-top: 24px;
}

.product__accordion .accordion-item {
  background: var(--brand-wrapper-bg);
  border: 1px solid rgba(var(--brand-border-color-rgb), 0.25) !important;
  border-radius: var(--radius-sm) !important;
  overflow: hidden;
  margin-bottom: 12px;
  box-shadow: none;
}

/* Bouton accordéon */

.product__accordion .accordion-button {
  position: relative;

  padding: 18px 48px 18px 24px !important;

  background: var(--brand-bg-soft) !important;
  color: var(--brand-primary) !important;

  font-family: var(--brand-text-font-h3) !important;
  font-size: 1.25rem !important;
  font-weight: 600 !important;

  box-shadow: none !important;
  border: none !important;
}

/* Flèche */

.product__accordion .accordion-button::after {
  margin-left: auto !important;
  margin-right: 8px !important;
  opacity: 0.8;
}

/* Ouvert */

.product__accordion .accordion-button:not(.collapsed) {
 background: var(--brand-bg-soft) !important;
  color: var(--brand-primary) !important;
}

/* Focus */

.product__accordion .accordion-button:focus,
.product__accordion .accordion-button:focus-visible {
  box-shadow: none !important;
  outline: none !important;
}

/* Corps */

.product__accordion .accordion-body {
  background: var(--brand-wrapper-bg);
  color: var(--brand-text-primary-color);

  padding: 24px !important;

  border-top: 1px solid rgba(var(--brand-border-color-rgb), 0.15);
}

/* Liste détails produit */

.product__accordion .details__list {
  margin: 0;
  padding: 0;
  list-style: none;
  background-color: var(--brand-wrapper-bg);
}

.product__accordion .details__item {
  display: flex;
  justify-content: space-between;
  align-items: center;

  padding: 12px 0;

  border-bottom: 1px solid rgba(var(--brand-border-color-rgb), 0.1);
}

.product__accordion .details__item:last-child {
  border-bottom: none;
}

.product__accordion .details__title {
  color: var(--brand-primary);
  font-weight: 600;
}

/* Mobile */

@media (max-width: 767.98px) {

  .product__accordion .accordion-button {
    padding: 16px 42px 16px 18px !important;
    font-size: 1.1rem !important;
  }

  .product__accordion .accordion-body {
    padding: 18px !important;
  }

  .product__accordion .details__item {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }
}




/* Bouton icône seule */
.product-miniature button[data-button-action="add-to-cart"],
.product-miniature .add-to-cart,
.product-miniature .product-add-to-cart .btn {
  width: 44px !important;
  min-width: 44px !important;
  max-width: 44px !important;
  height: 44px !important;
  padding: 0 !important;
  margin-left: auto !important;

  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;

  overflow: hidden !important;
  white-space: nowrap !important;
}

/* Masquer tout le texte du bouton */
.product-miniature button[data-button-action="add-to-cart"] span,
.product-miniature .add-to-cart span,
.product-miniature .product-add-to-cart .btn span,
.product-miniature button[data-button-action="add-to-cart"] .btn-text,
.product-miniature .add-to-cart .btn-text {
  display: none !important;
}

/* Si le texte est directement dans le bouton */
.product-miniature button[data-button-action="add-to-cart"],
.product-miniature .add-to-cart {
  font-size: 0 !important;
}

/* Réafficher uniquement l'icône */
.product-miniature button[data-button-action="add-to-cart"] .material-icons,
.product-miniature .add-to-cart .material-icons,
.product-miniature .product-add-to-cart .btn .material-icons {
  font-size: 20px !important;
  line-height: 1 !important;
  margin: 0 !important;
  display: block !important;
}

/* =====================================================
   QUICKVIEW GALERIE D'ART
===================================================== */

/* =====================================================
   QUICKVIEW - MASQUER QUANTITÉ MAIS GARDER PANIER
===================================================== */

/* Ne PAS cacher .product-quantity, car il contient aussi le bouton */
.quickview .quantity-button,
.quickview .bootstrap-touchspin,
.quickview .input-group.bootstrap-touchspin,
.quickview input[name="qty"],
.quickview #quantity_wanted {
  display: none !important;
}

/* Conteneur action */
.quickview .product-quantity,
.quickview .product-add-to-cart,
.quickview .add-to-cart-or-refresh {
  display: flex !important;
  align-items: center !important;
  justify-content: flex-end !important;
  width: 100% !important;
  gap: 20px !important;
}

/* Bouton ajouter au panier à droite */
.quickview button[data-button-action="add-to-cart"],
.quickview .add-to-cart {
  margin-left: auto !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 10px 20px !important;
  text-transform: uppercase !important;
  letter-spacing: 1px !important;

  box-shadow: none !important;
}


/* =====================================================
   LARGEUR GLOBALE DU SITE - DESKTOP
===================================================== */

@media (min-width: 992px) {

  .container,
  .container-md,
  .container-lg,
  .container-xl,
  .container-xxl {
    width: 90% !important;
    max-width: 1800px !important;

    margin-left: auto !important;
    margin-right: auto !important;
  }

}


/* =====================================================
   TITRE PAGE CATÉGORIE
===================================================== */

.block-category h1,
.block-category .h1,
.category-top-menu h1,
#js-product-list-header h1 {
  text-align: center !important;
  font-size: clamp(2.2rem, 5vw, 3.8rem) !important;
  font-weight: 400 !important;
  font-style: italic !important;
  color: var(--blue-dark) !important;
  letter-spacing: 3px !important;
  text-transform: none !important;
  margin-bottom: 56px !important;
}

.block-category h1::after,
.block-category .h1::after,
.category-top-menu h1::after,
#js-product-list-header h1::after {
  content: "";
  display: block;
  width: 150px;
  height: 3px;
  margin: 18px auto 0;
  background: linear-gradient(
    90deg,
    transparent 0%,
    var(--brand-primary) 25%,
    var(--gold) 50%,
    var(--brand-primary) 75%,
    transparent 100%
  );
}


/* =====================================================
   SOUS-CATÉGORIES - STYLE GALERIE D'ART
===================================================== */

/* Cache les images */
.subcategory__thumbnail,
.subcategory picture {
  display: none !important;
}

/* Conteneur */
.subcategory__list {
  display: flex !important;
  flex-wrap: wrap !important;
  justify-content: center !important;

  gap: 12px !important;

  margin: 24px 0 !important;
  padding: 0 !important;
}

/* Boutons catégories */
.subcategory__link,
.subcategory__link--with-image {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;

  width: auto !important;
  min-height: 44px !important;

  padding: 10px 22px !important;

  text-decoration: none !important;

  background: var(--white) !important;

  border: 1px solid rgba(var(--brand-border-color-rgb), 0.35) !important;
  border-radius: var(--radius-sm) !important;

  transition:
    transform .2s ease,
    border-color .25s ease,
    background-color .25s ease,
    box-shadow .25s ease !important;
}

/* Nom catégorie */
.subcategory__name {
  display: block !important;

  color: var(--brand-primary) !important;

  font-family: var(--brand-text-font-h3) !important;
  font-size: 1rem !important;
  font-weight: 600 !important;

  text-align: center !important;
}

/* Hover */
.subcategory__link:hover,
.subcategory__link--with-image:hover {
  transform: translateY(-2px);

  background: var(--brand-bg-soft) !important;

  border-color: var(--brand-secondary) !important;

  box-shadow: 0 8px 20px rgba(0,0,0,.06) !important;
}

.subcategory__link:hover .subcategory__name,
.subcategory__link--with-image:hover .subcategory__name {
  color: var(--brand-primary) !important;
}

/* Catégorie active */
.subcategory__link.active,
.subcategory__link[aria-current="page"] {
  background: var(--brand-primary) !important;
  border-color: var(--brand-primary) !important;
}

.subcategory__link.active .subcategory__name,
.subcategory__link[aria-current="page"] .subcategory__name {
  color: var(--white) !important;
}

/* Mobile */
@media (max-width: 767.98px) {

  .subcategory__list {
    gap: 8px !important;
  }

  .subcategory__link,
  .subcategory__link--with-image {
    padding: 8px 16px !important;
  }

  .subcategory__name {
    font-size: .95rem !important;
  }
}

/* =====================================================
   LISERÉ DÉGRADÉ AU-DESSUS DU FOOTER
===================================================== */

.footer__main {
  position: relative;
}

.footer__main::before {
  content: "";
  position: absolute;

  top: 0;
  left: 0;
  right: 0;

  height: 3px;

  background: linear-gradient(
    90deg,
    transparent 0%,
    var(--brand-primary) 25%,
    var(--brand-secondary) 50%,
    var(--brand-primary) 75%,
    transparent 100%
  );

  pointer-events: none;
}


/* =====================================================
   A PROPOS DE L'ARTISTE
===================================================== */

.artist-presentation {
  display: flex;
  align-items: flex-start;
  gap: 50px;
  max-width: 1100px;
  margin: 0 auto;
}

.artist-presentation__image {
  flex: 0 0 300px;
}

.artist-presentation__image img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--radius-sm);
}

.artist-presentation__content {
  flex: 1;
}

.artist-title {
  margin: 0;
  color: var(--brand-primary);
  font-family: var(--brand-text-font-h3);
  font-size: 3rem;
  font-weight: 500;
}

.artist-title-divider {
  width: 120px;
  height: 2px;
  margin: 18px 0 30px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    var(--brand-primary) 25%,
    var(--brand-secondary) 50%,
    var(--brand-primary) 75%,
    transparent 100%
  );
}

.artist-presentation__content p {
  margin-bottom: 1.5rem;
  font-size: 1.05rem;
  line-height: 1.9;
}

@media (max-width: 767.98px) {
  .artist-presentation {
    flex-direction: column;
    gap: 30px;
  }

  .artist-presentation__image {
    flex: none;
    max-width: 260px;
    margin: 0 auto;
  }

  .artist-presentation__content {
    text-align: center;
  }

  .artist-title {
    font-size: 2.4rem;
  }

  .artist-title-divider {
    margin-right: auto;
    margin-left: auto;
  }
}

/* =====================================================
   LOGO MOBILE
===================================================== */

@media (max-width: 991.98px) {
  #_mobile_logo,
  #_mobile_logo a {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
  }

  #_mobile_logo img {
    max-height: 30px !important;
    width: auto !important;
  }
}

/* ==================================================
   CHAMP DE RECHERCHE SUR LA PAGE - DESKTOP
   ================================================== */
/**page de recherche en desktop */
.search-page-form
{
  margin-bottom: 32px;
}

/* ==================================================
   CHAMP DE RECHERCHE MOBILE
   ================================================== */

@media (max-width: 767.98px) {
  .mobile-search-custom {
    width: 100%;
    padding: 8px 12px 0;
     margin-bottom: 10px;
  }

  .mobile-search-custom__form {
    display: flex;
    align-items: center;
    width: 100%;
    background: #fff;
  }

  .mobile-search-custom__input {
    flex: 1;
    min-height: 46px;
    padding: 0 14px;
    border: 1px solid rgba(var(--brand-border-color-rgb), 0.35);
    border-right: none;
    font-size: 0.8em;
  }

  .mobile-search-custom__button {
    width: 48px;
    min-height: 46px;
    border: 1px solid rgba(var(--brand-border-color-rgb), 0.35);
    background: var(--brand-primary);
    color: #fff;
  }
}

/* ==================================================
   MENU HAMBURGER MOBILE - GALERIE D'ART
   ================================================== */

.ps-mainmenu__mobile {
  background: var(--brand-bg);
  padding: 1rem 0;
}

/* Titre du menu */

.ps-mainmenu__mobile::before {
  content: "Navigation";
  display: block;
  text-align: center;
  margin-bottom: 1.5rem;

  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 2rem;
  font-style: italic;
  font-weight: 400;
  color: var(--brand-primary);

  letter-spacing: 1px;
}

/* Liste */

.ps-mainmenu__mobile .menu__list {
  list-style: none;
  margin: 0;
  padding: 0;
}

/* Ligne */

.ps-mainmenu__mobile .menu__list > li {
  position: relative;
  border-bottom: 1px solid rgba(var(--brand-border-color-rgb), 0.12);
}

/* Liseré vertical */

.ps-mainmenu__mobile .menu__list > li::before {
  content: "";
  position: absolute;

  left: 18px;
  top: 50%;
  transform: translateY(-50%);

  width: 2px;
  height: 30px;

  background: var(--brand-primary);

  transition: all 0.3s ease;
}

/* Lien */

.ps-mainmenu__mobile .menu__link {
  display: block;

  padding: 1.2rem 1.5rem 1.2rem 3rem;

  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.35rem;
  font-weight: 500;

  color: var(--brand-text-primary-color);
  text-decoration: none;

  transition: all 0.3s ease;
}

/* Hover */

.ps-mainmenu__mobile .menu__list > li:hover::before,
.ps-mainmenu__mobile .menu__list > li:focus-within::before {
  height: 44px;
}

.ps-mainmenu__mobile .menu__link:hover,
.ps-mainmenu__mobile .menu__link:focus {
  color: var(--brand-primary);

  background: rgba(var(--brand-primary-rgb), 0.04);

  padding-left: 3.6rem;
}

/* Élément actif */

.ps-mainmenu__mobile .menu__item--active > .menu__link,
.ps-mainmenu__mobile .current > .menu__link,
.ps-mainmenu__mobile .active > .menu__link {
  color: var(--brand-primary);
  font-weight: 600;
}

/* Dernière ligne */

.ps-mainmenu__mobile .menu__list > li:last-child {
  border-bottom: none;
}

/* Mobile */

@media (max-width: 767.98px) {
  .ps-mainmenu__mobile .menu__link {
    font-size: 1.25rem;
    padding: 1rem 1.25rem 1rem 2.8rem;
  }

  .ps-mainmenu__mobile::before {
    font-size: 1.75rem;
  }
}



/* =====================================================
   CARTES PRODUITS - STYLE GALERIE D'ART PREMIUM
===================================================== */

.product-miniature {
  height: 100%;
}

.product-miniature__inner {
  height: 100%;
  background: var(--brand-bg);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: none;
  border: 1px solid rgba(var(--brand-border-color-rgb), 0.25);
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    border-color 0.25s ease;
}

.product-miniature:hover .product-miniature__inner {
  transform: translateY(-5px);
  border-color: rgba(var(--brand-primary-rgb), 0.25);
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.08);
}

/* Image */
.product-miniature__top {
  position: relative;
  background: transparent;
  overflow: hidden;
}

.product-miniature__image-container {
  width: 100%;
  aspect-ratio: 1 / 1.18;
  overflow: hidden;
  background: rgba(var(--brand-border-color-rgb), 0.08);
}

.product-miniature__image-link {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 0 !important;
}

.product-miniature__image {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover;
  display: block;
  transition: transform 0.45s ease;
}

.product-miniature:hover .product-miniature__image {
  transform: scale(1.035);
}

/* Badge */
.product-flags {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 3;
  margin: 0;
  padding: 0;
}

.product-flags .badge {
  background: rgba(255, 255, 255, 0.92);
  color: var(--brand-primary);
  border: 1px solid rgba(var(--brand-primary-rgb), 0.25);
  border-radius: var(--radius-pill);
  padding: 0.45rem 0.75rem;
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* Désactive aperçu rapide */
.product-miniature__quickview-button,
.product-miniature__quickview-touch {
  display: none !important;
}

/* Contenu */
.product-miniature__bottom {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 1.35rem;
}

/* Infos */
.product-miniature__infos {
  text-align: center;
}

/* Titre centré et en gras */
.product-miniature__title {
  display: block;
  color: var(--brand-text-primary-color);
  font-family: var(--brand-text-font-h1);
  font-size: 1.4rem;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
}

.product-miniature__title:hover {
  color: var(--brand-primary);
}

/* Prix à gauche */
.product-miniature__prices {
  margin-top: 1rem;
  margin-bottom: 0;
  text-align: left;
}

.product-miniature__price {
  display: block;
  color: var(--brand-primary);
  font-size: 1rem;
  font-weight: 600;
  text-align: left;
}

/* Avis */
.product-list-review {
  display: none !important;
}

/* Actions */
.product-miniature__actions {
  margin-top: auto;
  margin-left: auto;
  margin-right: auto;
}

/* Supprimer quantité */
.product-miniature__form .quantity-button,
.product-miniature__form input[name="qty"] {
  display: none !important;
}

.product-miniature__form {
  display: flex;
  width: 100%;
}

/* Bouton */
.product-miniature__add {
  width: 100%;
  min-height: 44px;
  border-radius: var(--radius-pill);
  background: transparent;
  border: 1px solid rgba(var(--brand-primary-rgb), 0.45);
  color: var(--brand-primary);
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition:
    background 0.25s ease,
    color 0.25s ease,
    border-color 0.25s ease;
}

.product-miniature__add i {
  display: none;
}

.product-miniature__add-text {
  display: inline !important;
}

.product-miniature__add:hover {
  background: var(--brand-primary);
  border-color: var(--brand-primary);
  color: #fff;
}

/* Responsive */
@media (max-width: 991.98px) {
  .product-miniature__image-container {
    aspect-ratio: 1 / 1.1;
  }

  .product-miniature__bottom {
    padding: 1rem;
  }

  .product-miniature__title {
    font-size: 1.25rem;
  }

  .product-miniature__add {
    min-height: 42px;
    font-size: 0.7rem;
  }
}



/* =====================================================
   PAGE DÉTAIL ŒUVRE - STYLE GALERIE
===================================================== */
/* =====================================================
   PAGE DÉTAIL ŒUVRE - CORRECTION LAYOUT
===================================================== */
/* =====================================================
   PAGE PRODUIT / DETAIL OEUVRE - MALEKA SALHI
===================================================== */

#product .artwork-page {
 
  margin: 0 auto;
  padding: clamp(2rem, 4vw, 4rem) 1.5rem clamp(4rem, 7vw, 7rem);
  display: flex;
  flex-direction: column;
  gap: clamp(1.5rem, 3vw, 2.5rem);
  font-family: var(--brand-text-font-body);
}

/* HERO + GRILLE */
#product .artwork-detail,
#product .artwork-info__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(1.5rem, 3vw, 2.5rem);
  align-items: stretch;
}

/* CARTES */
#product .artwork-detail__media,
#product .artwork-detail__content,
#product .artwork-info__card,
#product .artwork-info__section {
  background: var(--brand-bg-soft);
  border-radius: var(--radius-md);
  box-shadow: var(--brand-shadow-sm);
}

/* IMAGE */
#product .artwork-detail__media {
  min-height: 540px;
  padding: clamp(1.5rem, 4vw, 3rem);
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--brand-bg-muted);
}

#product .artwork-detail__media .product-cover img,
#product .artwork-detail__media .product-cover-thumbnails img,
#product .artwork-detail__media .product-images img {
  max-width: 100%;
  max-height: 430px;
  width: auto;
  height: auto;
  object-fit: contain;
  box-shadow: var(--shadow-card);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

#product .artwork-detail__media .product-cover img:hover {
  transform: scale(1.015);
  box-shadow: var(--shadow-modal);
}

/* CARTE DROITE */
#product .artwork-detail__content {
  min-height: 540px;
  padding: clamp(2rem, 4vw, 3rem);
  display: flex;
  flex-direction: column;
  background: var(--brand-bg-soft);
}

/* HAUT */
#product .artwork-detail__top {
  flex: 0 0 auto;
}

#product .artwork-detail__eyebrow,
#product .artwork-info__eyebrow {
  margin: 0 0 var(--space-sm);
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--brand-text-secondary-color);
}

#product .artwork-detail__title {
  margin: 0 0 1.5rem;
  font-family: var(--brand-text-font-h1);
  font-size: clamp(2.1rem, 4vw, 3.2rem);
  font-weight: 500;
  line-height: 1;
  color: var(--brand-heading);
}

#product .artwork-info__title {
  margin: 0 0 1.5rem;
  font-family: var(--brand-text-font-h2);
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 400;
  line-height: 1.1;
  color: var(--brand-heading);
}

/* PRIX */
#product .artwork-detail__price {
  margin-bottom: 1.5rem;
}

#product .artwork-detail__price .current-price,
#product .artwork-detail__price .product-price {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--brand-primary);
}

/* MILIEU DESCRIPTION */
#product .artwork-detail__middle {
  flex: 1 1 auto;
  padding: clamp(2rem, 5vw, 4rem) 0;
  display: flex;
  align-items: center;
}

#product .artwork-detail__intro {
  text-align: left;
  color: var(--brand-text-tertiary-color);
  line-height: 1.8;
}

#product .artwork-detail__intro p {
  margin-bottom: 1rem;
}

/* BAS ACTIONS */
#product .artwork-detail__bottom {
  flex: 0 0 auto;
  padding-top: clamp(1.5rem, 3vw, 2rem);
  border-top: 1px solid rgba(var(--brand-border-color-rgb), 0.55);
}

#product .artwork-detail__actions,
#product .artwork-detail__actions form {
  width: 100%;
}

#product .artwork-detail__actions .product-add-to-cart,
#product .artwork-detail__actions .product-quantity {
  width: 100%;
}

#product .artwork-detail__actions .qty {
  margin-bottom: 1rem;
}

/* BOUTON AJOUT PANIER */
#product .artwork-detail__actions .add-to-cart {
  width: 100%;
  justify-content: center;
  border-radius: var(--radius-sm);
  padding: 0.95rem 1.5rem;
  background: var(--brand-btn-primary-bg);
  border: 1px solid var(--brand-btn-primary-border);
  color: var(--brand-btn-primary-text);
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

#product .artwork-detail__actions .add-to-cart:hover {
  background: var(--brand-btn-primary-hover-bg);
  border-color: var(--brand-btn-primary-hover-border);
  color: var(--brand-btn-primary-hover-text);
}

/* BOUTON LISTE D’ENVIES */
#product .artwork-detail__actions .wishlist-button-add {
  width: 100%;
  min-height: 44px;
  margin-top: 1rem;
  justify-content: center;
  border-radius: var(--radius-sm);
  background: var(--brand-btn-outline-bg);
  border: 1px solid var(--brand-btn-outline-border);
  color: var(--brand-btn-outline-text);
}

#product .artwork-detail__actions .wishlist-button-add:hover {
  background: var(--brand-btn-outline-hover-bg);
  border-color: var(--brand-btn-outline-hover-border);
  color: var(--brand-btn-outline-hover-text);
}

/* INFOS ADDITIONNELLES / RÉSEAUX */
#product .artwork-detail__actions .product-additional-info,
#product .artwork-detail__actions .social-sharing {
  margin-top: 1rem;
}

#product .artwork-detail__actions .social-sharing {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--brand-text-muted);
}

#product .artwork-detail__actions .social-sharing ul {
  margin: 0;
}

/* SECTIONS BASSES */
#product .artwork-info__card,
#product .artwork-info__section {
  padding: clamp(2rem, 4vw, 3rem);
}

#product .artwork-info__section {
  background: var(--brand-bg-soft);
}

#product .artwork-info__card {
  background: var(--brand-bg-soft);
}

/* TEXTES */
#product .artwork-info__text,
#product .artwork-info__details {
  text-align: left;
  color: var(--brand-text-tertiary-color);
  line-height: 1.8;
}

#product .artwork-info__text p {
  margin-bottom: 1rem;
}

/* CARACTÉRISTIQUES */
#product .artwork-info__details .product-features,
#product .artwork-info__details .product-reference {
  margin: 0;
}

#product .artwork-info__details dl {
  margin: 0;
}

#product .artwork-info__details dt,
#product .artwork-info__details dd {
  padding: 0.85rem 0;
  border-bottom: 1px solid rgba(var(--brand-border-color-rgb), 0.4);
}

#product .artwork-info__details dt {
  font-family: var(--brand-text-font-h3);
  font-size: 1.15rem;
  color: var(--brand-primary);
}

#product .artwork-info__details dd {
  color: var(--brand-text-secondary-color);
}

/* RÉASSURANCE */
#product .artwork-info__reassurance {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(var(--brand-border-color-rgb), 0.4);
}

/* ACCESSOIRES */
#product .product-accessories {
  max-width: 1320px;
  margin: clamp(3rem, 6vw, 5rem) auto 0;
}

/* ANCIEN BLOC */
#product .product__bottom {
  display: none;
}

/* RESPONSIVE */
@media (max-width: 991px) {
  #product .artwork-detail,
  #product .artwork-info__grid {
    grid-template-columns: 1fr;
  }

  #product .artwork-detail__media,
  #product .artwork-detail__content {
    min-height: auto;
  }

  #product .artwork-detail__middle {
    padding: 2rem 0;
  }
}

@media (max-width: 575px) {
  #product .artwork-page {
    padding: 1.25rem 1rem 3rem;
  }

  #product .artwork-detail__media,
  #product .artwork-detail__content,
  #product .artwork-info__card,
  #product .artwork-info__section {
    padding: 1.5rem;
  }

  #product .artwork-detail__title {
    font-size: 2rem;
  }

  #product .artwork-info__title {
    font-size: 1.9rem;
  }

  #product .artwork-detail__media img {
    max-height: 320px;
  }
}



/*PRODUCT DETAILS - CARACTERISTIQUE */

.details__list {
padding: 1em;
}

.details__left {

    width: 30% !important;
}
.details__item  {
 border-bottom: 1px solid rgba(var(--brand-border-color-rgb), 0.3); /* opacité de la bordure */
}

#product .artwork-feature {
  display: flex;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 0.85rem 0;
  box-shadow: inset 0 -1px 0 rgba(0,0,0,.06);
}

#product .artwork-feature span {
  font-family: var(--brand-text-font-h3);
  font-size: 1.1rem;
  /*color: var(--brand-primary);*/
}

#product .artwork-feature strong {
  font-weight: 400;
  text-align: right;
  color: var(--brand-text-secondary-color);
}



/* =====================================================
   CORRECTION MODALE IMAGE PRODUIT
===================================================== */

#product .product-images-modal .modal-dialog {
  max-width: min(1100px, 95vw);
  width: 95vw;
}

#product .product-images-modal .modal-content {
  background: #fff;
}

#product .product-images-modal__body {
  padding: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

#product .product-images-modal__carousel {
  width: 100%;
}

#product .product-images-modal .carousel-inner,
#product .product-images-modal .carousel-item {
  width: 100%;
}

#product .product-images-modal .carousel-item picture {
  display: flex;
  align-items: center;
  justify-content: center;
}

#product .product-images-modal .carousel-item img {
  width: auto;
  max-width: 100%;
  max-height: 80vh;
  height: auto;
  object-fit: contain;
}

/* on annule la limite appliquée aux images de la fiche produit */
#product .product-images-modal img.img-fluid {
  max-height: 80vh;
}