/* ============================================================
   MORE LORE CONTENT — TEBEX STORE
   All rights reserved, SirMansory (Founder & Creator)
   ============================================================ */

@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600;700;800;900&display=swap");

/* ══════════════════════════════════════════════
   VARIABLES
══════════════════════════════════════════════ */
:root {
  --color-primary:     #001323;
  --color-primary-l:   #1a4a7a;
  --color-primary-glow: rgba(0, 19, 35, 0.35);
  --color-primary-muted: rgba(0, 19, 35, 0.12);
  --color-primary-edge:  rgba(26, 74, 122, 0.35);

  --bg-image: none;

  --color-bg:            #07090f;
  --color-brighter-bg:   #111827;
  --color-text:          #F1F5F9;
  --color-text-secondary:#64748B;
  --color-border:        #1A2540;
}

*, *::before, *::after { box-sizing: border-box; }

/* ══ PERFORMANCE OPTIMIZATIONS ══ */

/* GPU acceleration sur les éléments animés */
.mlc-nav,
.mlc-slide,
.mlc-slide-img,
.mlc-slide-content,
.mlc-carousel-track,
.mlc-feat-card,
.mlc-pkg-card,
.store-product,
.mlc-theme-toggle,
.mlc-nav-logo,
.mlc-tag,
.mlc-btn {
  
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}

/* Réduire le coût des animations */
img {
  content-visibility: auto;
}

/* Optimiser le rendu texte */
body {
  text-rendering: optimizeSpeed;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Lazy paint sur les éléments hors viewport */
.mlc-featured-section,
.mlc-video-section,
.mlc-footer,
footer {
  content-visibility: auto;
  contain-intrinsic-size: 0 500px;
}

/* Limiter les repaints sur transitions */
.store-product:hover,
.mlc-feat-card:hover,
.mlc-pkg-card:hover {
  will-change: transform, box-shadow;
}

/* Désactiver les animations pour les utilisateurs qui préfèrent pas */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
  }
}

body {
  font-family: 'Poppins', sans-serif;
  background-color: var(--color-bg);
  color: var(--color-text);
  -webkit-font-smoothing: antialiased;
}

body::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  width: 100%; height: 100%; max-height: 500px;
  z-index: -1;
  background:
    radial-gradient(ellipse 90% 60% at 50% 0%, rgba(0, 19, 35, 0.6) 0%, transparent 65%),
    radial-gradient(ellipse 60% 40% at 80% 80%, rgba(0, 10, 20, 0.4) 0%, transparent 60%);
  pointer-events: none;
}

body::after { display: none; }

a { color: var(--color-primary-l); transition: color 0.2s ease; }
a:hover { color: #fff; }
h1,h2,h3,h4,h5,h6 { font-family:'Poppins',sans-serif; font-weight:800; letter-spacing:-0.02em; color:var(--color-text); }

::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: var(--color-bg); }
::-webkit-scrollbar-thumb { background: var(--color-border); border-radius: 999px; }
::-webkit-scrollbar-thumb:hover { background: var(--color-primary); }
::selection { background: rgba(0,19,35,0.3); color: #fff; }

.site-header, .site-header-inner {
  background: rgba(7,9,15,0.85) !important;
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--color-border) !important;
}

@media (width > 960px) {
  .navigation-horizontal > ul {
    border-radius: 8px; background: rgba(17,24,39,0.8);
    border: 1px solid var(--color-border); backdrop-filter: blur(12px);
  }
}
.navigation-horizontal > ul > li > a,
.navigation-horizontal > ul > li > button {
  font-family:'Poppins',sans-serif; font-size:0.78rem; font-weight:500;
  letter-spacing:0.04em; text-transform:uppercase;
  color: var(--color-text-secondary) !important; border-radius:6px;
  transition: color 0.2s, background 0.2s;
}
.navigation-horizontal > ul > li > a:hover,
.navigation-horizontal > ul > li > button:hover,
.navigation-horizontal > ul > li.active > a {
  color: #fff !important; background: var(--color-primary-muted) !important;
}
.navigation-horizontal .has-children > ul {
  border-radius:8px; background:#0D1117 !important;
  border:1px solid var(--color-border); box-shadow:0 16px 40px rgba(0,0,0,0.6);
}

.site-sale-banner {
  border-radius:8px; background:var(--color-primary-muted) !important;
  border:1px solid var(--color-primary-edge) !important;
  color:var(--color-primary-l) !important; font-weight:600; font-size:0.8rem;
}

.btn-primary,.btn-secondary,.btn-tertiary {
  font-family:'Poppins',sans-serif; font-weight:600; font-size:0.8rem;
  letter-spacing:0.04em; text-transform:uppercase;
  border-radius:7px !important; transition:all 0.25s cubic-bezier(0.4,0,0.2,1); cursor:pointer;
}
.btn-primary { background:var(--color-primary) !important; border-color:var(--color-primary) !important; color:#fff !important; }
.btn-primary:hover,.btn-primary:focus {
  background:var(--color-primary-l) !important; border-color:var(--color-primary-l) !important;
  box-shadow:0 0 24px var(--color-primary-glow) !important; transform:translateY(-1px);
}
.btn-primary:active { transform:translateY(0); box-shadow:none !important; }
.btn-secondary { background:transparent !important; border:1px solid var(--color-border) !important; color:var(--color-text-secondary) !important; }
.btn-secondary:hover,.btn-secondary:focus {
  border-color:var(--color-primary-edge) !important; color:var(--color-text) !important;
  background:var(--color-primary-muted) !important; box-shadow:none !important;
}
.btn-tertiary { background:transparent !important; color:var(--color-primary-l) !important; border:none !important; }
.btn-tertiary:hover { color:#fff !important; }

.site-home-categories .category {
  border-radius:12px !important; padding:20px var(--widget-padding);
  background:var(--color-brighter-bg) !important; border:1px solid var(--color-border) !important;
  transition:all 0.25s ease; position:relative; overflow:hidden;
}
.site-home-categories .category::before {
  content:''; position:absolute; top:0; left:0; right:0; height:2px;
  background:linear-gradient(90deg,transparent,var(--color-primary),transparent);
  opacity:0; transition:opacity 0.25s;
}
.site-home-categories .category:hover {
  color:var(--color-primary-l) !important; border-color:var(--color-primary-edge) !important;
  transform:translateY(-4px); box-shadow:0 16px 40px rgba(0,0,0,0.4),0 0 24px var(--color-primary-glow);
}
.site-home-categories .category:hover::before { opacity:1; }
.site-home-categories .category .name { font-family:'Poppins',sans-serif; font-weight:700; font-size:0.95rem; }

.category-description { border-radius:12px !important; background:var(--color-brighter-bg) !important; border:1px solid var(--color-border) !important; padding:1.5rem !important; }
.store-text { border-radius:12px !important; background:var(--color-brighter-bg) !important; border:1px solid var(--color-border) !important; padding:2rem !important; }
.store-text h1,.store-text h2,.store-text h3,.store-text h4,.store-text h5,.store-text h6 { text-align:center; color:var(--color-text); }

.store-products-list .store-product,
.store-products-images .store-product {
  border-radius:12px !important; background:var(--color-brighter-bg) !important;
  border:1px solid var(--color-border) !important;
  transition:all 0.25s cubic-bezier(0.4,0,0.2,1); position:relative; overflow:hidden;
}
.store-products-list .store-product::before,
.store-products-images .store-product::before {
  content:''; position:absolute; top:0; left:0; right:0; height:2px;
  background:linear-gradient(90deg,transparent,var(--color-primary),transparent);
  opacity:0; transition:opacity 0.25s;
}
.store-products-list .store-product:hover,
.store-products-images .store-product:hover {
  border-color:var(--color-primary-edge) !important; transform:translateY(-4px);
  box-shadow:0 20px 50px rgba(0,0,0,0.5),0 0 28px var(--color-primary-glow);
}
.store-products-list .store-product:hover::before,
.store-products-images .store-product:hover::before { opacity:1; }
.store-products-images .store-product { text-align:center; }

.store-product .name,.store-product-name { font-family:'Poppins',sans-serif; font-weight:700; font-size:0.95rem; color:var(--color-text) !important; }
.store-product .price,.store-product-price,.package-price { font-family:'Poppins',sans-serif; font-weight:800; font-size:1.15rem; color:var(--color-primary-l) !important; }
.store-product .original-price,.price-original,del { color:var(--color-text-secondary) !important; font-size:0.85rem; font-weight:400; text-decoration:line-through; }
.sale-badge,.badge-sale,.store-product .sale {
  background:var(--color-primary-muted) !important; color:var(--color-primary-l) !important;
  border:1px solid var(--color-primary-edge) !important; font-size:0.65rem; font-weight:700;
  padding:2px 8px; border-radius:999px; text-transform:uppercase; letter-spacing:0.06em;
}

.store-product-full { border-radius:12px !important; background:var(--color-brighter-bg) !important; border:1px solid var(--color-border) !important; padding:2rem !important; }
.store-product .quantity-field { border-radius:8px !important; background:var(--color-bg) !important; border:1px solid var(--color-border) !important; }
.store-product .quantity-field input[type=number] { border:none; background:transparent; color:var(--color-text); font-family:'Poppins',sans-serif; font-weight:500; }
.quantity-field { border-radius:8px; }

.widget { border-radius:12px !important; background:var(--color-brighter-bg) !important; border:1px solid var(--color-border) !important; }
@media (width <= 960px) { .widget.site-navigation { border-radius:0 !important; background:transparent !important; border:none !important; } }
.widget-title { text-align:center; font-family:'Poppins',sans-serif; font-weight:700; font-size:0.7rem; letter-spacing:0.12em; text-transform:uppercase; color:var(--color-text-secondary) !important; padding-bottom:0.75rem; border-bottom:1px solid var(--color-border); margin-bottom:1rem; }
.widget .store-product { text-align:center; }
.widget-gift-card .gift-card-input { border-radius:6px; background:var(--color-bg) !important; border:1px solid var(--color-border) !important; color:var(--color-text) !important; }
.widget-top-donator .avatar { border-radius:50%; border:2px solid var(--color-primary-edge); }
.widget-community-goal .progress,.widget-goal .progress { border-radius:999px; background:var(--color-bg) !important; height:6px !important; }
.widget-community-goal .progress-bar,.widget-goal .progress-bar { border-radius:999px; background:var(--color-primary) !important; box-shadow:0 0 10px var(--color-primary-glow); }

.no-products { color:var(--color-text-secondary); background:var(--color-brighter-bg) !important; border-radius:12px !important; border:1px solid var(--color-border) !important; padding:3rem; text-align:center; font-size:0.875rem; }

input[type="text"],input[type="email"],input[type="password"],input[type="number"],input[type="search"],textarea,select {
  font-family:'Poppins',sans-serif !important; font-size:0.875rem !important;
  background:var(--color-brighter-bg) !important; border:1px solid var(--color-border) !important;
  border-radius:7px !important; color:var(--color-text) !important; transition:border-color 0.2s,box-shadow 0.2s;
}
input:focus,textarea:focus,select:focus { border-color:var(--color-primary) !important; box-shadow:0 0 0 3px rgba(0,19,35,0.15) !important; outline:none; }
input::placeholder,textarea::placeholder { color:var(--color-text-secondary) !important; }
label { font-family:'Poppins',sans-serif; font-size:0.75rem; font-weight:500; letter-spacing:0.06em; text-transform:uppercase; color:var(--color-text-secondary) !important; }

.basket-items { padding:var(--widget-padding) calc(var(--content-padding) - var(--widget-padding)); }
.basket-item { border-radius:10px !important; background:var(--color-bg) !important; border:1px solid var(--color-border) !important; transition:border-color 0.2s; }
.basket-item:hover { border-color:var(--color-primary-edge) !important; }
.basket-item .quantity { border-radius:6px; background:var(--color-brighter-bg) !important; border:1px solid var(--color-border) !important; }
.basket-item .name { font-weight:600; font-size:0.9rem; }
.basket-item .price { font-weight:800; color:var(--color-primary-l) !important; }
.basket-popup-content,.basket-popup-content .popup-close { border-radius:0; background:#0D1117 !important; border-left:1px solid var(--color-border) !important; }
.basket-total,.order-total { font-family:'Poppins',sans-serif; font-size:1.3rem; font-weight:800; color:var(--color-primary-l) !important; }

.popup-content { border-radius:14px !important; background:#0D1117 !important; border:1px solid var(--color-border) !important; box-shadow:0 40px 80px rgba(0,0,0,0.7) !important; }
.popup-close { border-radius:0 14px 0 8px; background:var(--color-primary-muted) !important; color:var(--color-primary-l) !important; transition:background 0.2s; }
.popup-close:hover { background:var(--color-primary) !important; color:#fff !important; }

/* Light mode popup fix */
body.mlc-light .popup-content { background:#ffffff !important; border-color:#e2e8f0 !important; color:#001323 !important; }
body.mlc-light .popup-content h1,body.mlc-light .popup-content h2,body.mlc-light .popup-content h3,
body.mlc-light .popup-content p,body.mlc-light .popup-content span { color:#001323 !important; }
.popup-close,body.mlc-light .popup-close { background:rgba(220,38,38,.15) !important; color:#ef4444 !important; border-color:rgba(220,38,38,.3) !important; }
.popup-close:hover,body.mlc-light .popup-close:hover { background:#ef4444 !important; color:#ffffff !important; }

.toast { border-radius:10px !important; background:#0D1117 !important; border:1px solid var(--color-border) !important; box-shadow:0 8px 32px rgba(0,0,0,0.5); font-family:'Poppins',sans-serif; font-size:0.85rem; }
.toast-close { border-radius:4px; background:var(--color-primary-muted) !important; color:var(--color-primary-l) !important; }
.toast-close:hover { background:var(--color-primary) !important; color:#fff !important; }

.store-category-tiered { border-radius:12px !important; background:var(--color-brighter-bg) !important; border:1px solid var(--color-border) !important; }
.store-category-tiered-header h1,.store-category-tiered-header h2,.store-category-tiered-header h3,.store-category-tiered-header h4,.store-category-tiered-header h5,.store-category-tiered-header h6 { text-align:center; color:var(--color-text) !important; }
.store-product-tiered { border-radius:10px !important; background:rgba(7,9,15,0.5) !important; border:1px solid var(--color-border) !important; transition:all 0.25s; }
.store-product-tiered:hover { border-color:var(--color-primary-edge) !important; background:var(--color-primary-muted) !important; }

.media-slider .slider,.media-slider .thumb { border-radius:10px !important; border:1px solid var(--color-border) !important; }
.media-slider .open-lightbox { border-radius:6px; background:var(--color-primary-muted) !important; color:var(--color-primary-l) !important; transition:all 0.2s; }
.media-slider .open-lightbox:hover { background:var(--color-primary) !important; color:#fff !important; }
.popup.popup-media-slider .thumb { border-radius:8px; border:1px solid var(--color-border); }
.popup.popup-media-slider .popup-close { border-radius:8px; }

hr { border-color:var(--color-border) !important; opacity:1; }

.site-footer,footer { background:#0C101A !important; border-top:1px solid var(--color-border) !important; font-family:'Poppins',sans-serif; font-size:0.8rem; color:var(--color-text-secondary) !important; }
.site-footer a,footer a { color:var(--color-text-secondary) !important; transition:color 0.2s; }
.site-footer a:hover,footer a:hover { color:var(--color-primary-l) !important; }

@keyframes fadeInUp { from{opacity:0;transform:translateY(12px);} to{opacity:1;transform:translateY(0);} }
.store-products-list .store-product,.store-products-images .store-product,.site-home-categories .category { animation:fadeInUp 0.4s ease both; }
.store-products-list .store-product:nth-child(1),.store-products-images .store-product:nth-child(1),.site-home-categories .category:nth-child(1){animation-delay:0.05s;}
.store-products-list .store-product:nth-child(2),.store-products-images .store-product:nth-child(2),.site-home-categories .category:nth-child(2){animation-delay:0.10s;}
.store-products-list .store-product:nth-child(3),.store-products-images .store-product:nth-child(3),.site-home-categories .category:nth-child(3){animation-delay:0.15s;}
.store-products-list .store-product:nth-child(4),.store-products-images .store-product:nth-child(4),.site-home-categories .category:nth-child(4){animation-delay:0.20s;}
.store-products-list .store-product:nth-child(5),.store-products-images .store-product:nth-child(5),.site-home-categories .category:nth-child(5){animation-delay:0.25s;}
.store-products-list .store-product:nth-child(6),.store-products-images .store-product:nth-child(6),.site-home-categories .category:nth-child(6){animation-delay:0.30s;}

@media (max-width:960px) { .site-header-inner { padding:0 1rem; } }


/* ══════════════════════════════════════════════
   PAGE PRODUIT — fixes complets
══════════════════════════════════════════════ */

/* Textes page produit */
.store-product-full p,
.store-product-full li { color: #94a3b8 !important; }
.store-product-full h1,.store-product-full h2,
.store-product-full h3,.store-product-full h4 { color: #ffffff !important; }
.store-product-full a { color: #1a4a7a !important; }
.store-product-full strong,.store-product-full b { color: #ffffff !important; }
.store-product-full em,.store-product-full i { color: #f1f5f9 !important; }
.store-product-full img,.media-slider img { border-radius:10px; border:1px solid #1a2540; }

/* Barre bas prix + basket — UNIQUEMENT sur page produit individuelle */
.store-product-full div.actions.product-actions {
  background: #001323 !important;
  border-top: 2px solid #1a4a7a !important;
}
.store-product-full div.actions.product-actions * { color: #ffffff !important; }
.store-product-full div.actions.product-actions .btn-primary {
  background: #1a4a7a !important;
  border-color: #1a4a7a !important;
  color: #ffffff !important;
}

/* Bouton cadeau — reset complet puis couleur blanche */
button.btn-secondary.btn-glyph.gift {
  background: rgba(26,74,122,.3) !important;
  border: 1px solid #1a4a7a !important;
  filter: none !important;
}
button.btn-secondary.btn-glyph.gift * {
  filter: none !important;
  background-color: transparent !important;
}
button.btn-secondary.btn-glyph.gift::before {
  filter: none !important;
  background-color: #ffffff !important;
}

/* Light mode — même barre */
body.mlc-light .store-product-full div.actions.product-actions {
  background: #001323 !important;
  border-top: 2px solid #1a4a7a !important;
}
body.mlc-light .store-product-full div.actions.product-actions * { color: #ffffff !important; }
body.mlc-light .store-product-full div.actions.product-actions .btn-primary {
  background: #1a4a7a !important; color: #ffffff !important;
}
body.mlc-light button.btn-secondary.btn-glyph.gift {
  background: rgba(26,74,122,.3) !important;
  border: 1px solid #1a4a7a !important;
  filter: none !important;
}
body.mlc-light button.btn-secondary.btn-glyph.gift::before {
  filter: none !important;
  background-color: #ffffff !important;
}

/* Light mode — page produit */
body.mlc-light .store-product-full { background: #ffffff !important; border-color: #e2e8f0 !important; }
body.mlc-light .store-product-full p,
body.mlc-light .store-product-full li { color: #001323 !important; }
body.mlc-light .store-product-full h1,body.mlc-light .store-product-full h2,
body.mlc-light .store-product-full h3,body.mlc-light .store-product-full h4 { color: #001323 !important; }
body.mlc-light .store-product-full strong,body.mlc-light .store-product-full b { color: #001323 !important; }
body.mlc-light .store-product-full em,
body.mlc-light .store-product-full i { color: #001323 !important; }

/* Italiques page About — bleu foncé */
body.mlc-light .mlc-about-content em,
body.mlc-light .mlc-about-content i,
body.mlc-light .text-content em,
body.mlc-light .text-content i { color: #001323 !important; }
body.mlc-light .store-product-full img,.media-slider img { border-color: #e2e8f0 !important; }
body.mlc-light .site-content,body.mlc-light main { background: #f1f5f9 !important; }
body.mlc-light .text-content,
body.mlc-light .text-content p,
body.mlc-light .text-content li { color: #001323 !important; }

body.mlc-light .text-content span:not(.mlc-founder-badge-icon):not(.mlc-team-tag):not(.mlc-about-label):not(.mlc-about-divider):not(.mlc-about-num):not(.mlc-founder-badge-text) { color: #001323 !important; }

/* Éléments about toujours avec leurs couleurs */
body.mlc-light .mlc-founder-badge-icon { color: #ffffff !important; background: #1a4a7a !important; }
body.mlc-light .mlc-founder-badge-text { color: #94a3b8 !important; }
body.mlc-light .mlc-about-label { color: #1a4a7a !important; }
body.mlc-light .mlc-about-num { color: rgba(0,19,35,.12) !important; }
body.mlc-light .mlc-team-tag { color: #7a9bb5 !important; }


/* ══ PAGE PACKAGES — bouton Add to Basket discret + prix en bleu ══ */

/* Masquer le bouton Add to Basket dans la liste */
.store-products-list .store-product .btn-primary,
.store-products-list .store-product .btn-glyph-text,
.store-products-images .store-product .btn-primary,
.store-products-images .store-product .btn-glyph-text {
  background: transparent !important;
  border: 1px solid rgba(26,74,122,.4) !important;
  color: #1a4a7a !important;
  box-shadow: none !important;
}

.store-products-list .store-product .btn-primary:hover,
.store-products-images .store-product .btn-primary:hover {
  background: rgba(26,74,122,.15) !important;
  border-color: #1a4a7a !important;
  color: #ffffff !important;
}

/* Prix en bleu dans la liste */
.store-products-list .store-product .price,
.store-products-images .store-product .price,
.store-products-list .store-product [class*="price"],
.store-products-images .store-product [class*="price"] {
  color: #1a4a7a !important;
  font-weight: 800 !important;
  font-size: 1.1rem !important;
}

/* Light mode */
body.mlc-light .store-products-list .store-product .btn-primary,
body.mlc-light .store-products-images .store-product .btn-primary {
  background: transparent !important;
  border: 1px solid rgba(0,19,35,.3) !important;
  color: #001323 !important;
}
body.mlc-light .store-products-list .store-product .btn-primary:hover,
body.mlc-light .store-products-images .store-product .btn-primary:hover {
  background: rgba(0,19,35,.08) !important;
  color: #001323 !important;
}
body.mlc-light .store-products-list .store-product .price,
body.mlc-light .store-products-images .store-product .price {
  color: #001323 !important;
}


/* ══ FIX PRIX — supprimer le carré bleu sur le strong ══ */
.store-products-list .store-product p.price strong,
.store-products-images .store-product p.price strong,
.store-products-list .store-product .price strong,
.store-products-images .store-product .price strong,
.store-product p.price strong,
.store-product .price strong,
p.price strong {
  background: transparent !important;
  background-color: transparent !important;
  color: #1a4a7a !important;
  padding: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  border: none !important;
}

body.mlc-light p.price strong,
body.mlc-light .store-product .price strong {
  color: #001323 !important;
  background: transparent !important;
}


/* ══ FIX div.actions.product-actions dans la LISTE ══
   Sur la page packages, cette div ne doit pas avoir de fond bleu
   (le fond bleu est réservé à la page produit uniquement)
*/
.store-products-list div.actions.product-actions,
.store-products-images div.actions.product-actions {
  background: transparent !important;
  border-top: none !important;
  box-shadow: none !important;
}

.store-products-list div.actions.product-actions *,
.store-products-images div.actions.product-actions * {
  color: var(--color-text, #f1f5f9) !important;
}

.store-products-list div.actions.product-actions .btn-primary,
.store-products-images div.actions.product-actions .btn-primary {
  background: #001323 !important;
  color: #ffffff !important;
  border: none !important;
}

/* Prix dans la liste — bleu sans fond */
.store-products-list p.price,
.store-products-images p.price {
  background: transparent !important;
}
.store-products-list p.price,
.store-products-images p.price,
.store-products-list p.price strong,
.store-products-images p.price strong {
  background: transparent !important;
  background-color: transparent !important;
  color: #1a4a7a !important;
}

body.mlc-light .store-products-list p.price strong,
body.mlc-light .store-products-images p.price strong {
  color: #001323 !important;
}


/* ══════════════════════════════════════════════
   PAGE ABOUT US
══════════════════════════════════════════════ */

/* Bannière pleine largeur */
.mlc-about-banner {
  width: 100vw !important;
  position: relative !important;
  left: 50% !important;
  right: 50% !important;
  margin-left: -50vw !important;
  margin-right: -50vw !important;
  height: 320px !important;
  overflow: hidden !important;
  margin-bottom: 4rem !important;
  border-radius: 0 !important;
}

.mlc-about-banner img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  object-position: center !important;
  filter: brightness(.7) !important;
  border-radius: 0 !important;
  border: none !important;
  display: block !important;
}

.mlc-about-banner-overlay {
  position: absolute !important;
  inset: 0 !important;
  background: linear-gradient(to bottom, rgba(0,19,35,.3), rgba(7,9,15,.8)) !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  text-align: center !important;
  padding: 2rem !important;
}

.mlc-about-banner-overlay h1 {
  font-family: 'Poppins', sans-serif !important;
  font-size: clamp(2rem, 5vw, 3.2rem) !important;
  font-weight: 900 !important;
  color: #ffffff !important;
  margin: 0 0 .75rem !important;
  letter-spacing: -.03em !important;
  text-align: center !important;
}

.mlc-about-banner-overlay h1 span { color: #1a4a7a !important; }

.mlc-about-banner-overlay p {
  font-size: .95rem !important;
  font-weight: 300 !important;
  color: #ffffff !important;
  max-width: 520px !important;
  line-height: 1.7 !important;
  margin: 0 !important;
  text-align: center !important;
}

/* Sections */
.mlc-about-sections {
  max-width: 1200px !important;
  margin: 0 auto !important;
  padding: 0 2rem 5rem !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 4rem !important;
}

.mlc-about-section {
  display: grid !important;
  grid-template-columns: 80px 1fr !important;
  gap: 2rem !important;
  align-items: start !important;
}

.mlc-about-num {
  font-family: 'Poppins', sans-serif !important;
  font-size: 3.5rem !important;
  font-weight: 900 !important;
  color: rgba(26,74,122,.2) !important;
  line-height: 1 !important;
  text-align: right !important;
  padding-top: .5rem !important;
  user-select: none !important;
}

.mlc-about-label {
  font-family: 'Poppins', sans-serif !important;
  font-size: .62rem !important;
  font-weight: 700 !important;
  letter-spacing: .16em !important;
  text-transform: uppercase !important;
  color: #1a4a7a !important;
  margin-bottom: .6rem !important;
  display: block !important;
}

.mlc-about-divider {
  width: 48px !important;
  height: 3px !important;
  background: linear-gradient(90deg, #001323, #1a4a7a) !important;
  border-radius: 999px !important;
  margin-bottom: 1.5rem !important;
  display: block !important;
}

.mlc-about-content h2 {
  font-family: 'Poppins', sans-serif !important;
  font-size: clamp(1.4rem, 2.5vw, 2rem) !important;
  font-weight: 800 !important;
  color: #ffffff !important;
  margin: 0 0 1.25rem !important;
  letter-spacing: -.02em !important;
  line-height: 1.1 !important;
}

.mlc-about-content h2 span { color: #1a4a7a !important; }

.mlc-about-content p {
  font-family: 'Poppins', sans-serif !important;
  font-size: .9rem !important;
  font-weight: 300 !important;
  color: #94a3b8 !important;
  line-height: 1.8 !important;
  margin: 0 0 1rem !important;
}

.mlc-about-content strong { color: #e2e8f0 !important; font-weight: 600 !important; }
.mlc-about-content em { color: #e2e8f0 !important; }

.mlc-founder-badge {
  display: inline-flex !important;
  align-items: center !important;
  gap: .5rem !important;
  background: rgba(0,19,35,.5) !important;
  border: 1px solid rgba(26,74,122,.4) !important;
  border-radius: 999px !important;
  padding: .35rem 1rem .35rem .5rem !important;
  margin-bottom: 1.25rem !important;
}

.mlc-founder-badge-icon {
  width: 28px !important;
  height: 28px !important;
  border-radius: 50% !important;
  background: #1a4a7a !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-size: .75rem !important;
  font-weight: 800 !important;
  color: #ffffff !important;
  flex-shrink: 0 !important;
}

body.mlc-light .mlc-founder-badge-icon { color: #ffffff !important; }

.mlc-founder-badge-text {
  font-size: .72rem !important;
  font-weight: 500 !important;
  color: #94a3b8 !important;
  letter-spacing: .02em !important;
}

.mlc-founder-badge-text strong { color: #e2e8f0 !important; font-weight: 700 !important; }

.mlc-team-tags {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: .5rem !important;
  margin-top: 1.25rem !important;
}

.mlc-team-tag {
  background: rgba(26,74,122,.15) !important;
  border: 1px solid rgba(26,74,122,.3) !important;
  border-radius: 999px !important;
  padding: .25rem .85rem !important;
  font-size: .72rem !important;
  font-weight: 600 !important;
  color: #7a9bb5 !important;
  font-family: 'Poppins', sans-serif !important;
  display: inline-block !important;
}

.mlc-vision-quote {
  border-left: 3px solid #1a4a7a !important;
  padding-left: 1.25rem !important;
  margin: 1.5rem 0 !important;
}

.mlc-vision-quote p {
  font-size: 1rem !important;
  font-style: italic !important;
  color: #e2e8f0 !important;
  font-weight: 400 !important;
}

/* Light mode */
body.mlc-light .mlc-about-content h2 { color: #001323 !important; }
body.mlc-light .mlc-about-content p { color: #475569 !important; }
body.mlc-light .mlc-about-content strong { color: #001323 !important; }
body.mlc-light .mlc-about-num { color: rgba(0,19,35,.1) !important; }
body.mlc-light .mlc-about-label { color: #001323 !important; }
body.mlc-light .mlc-vision-quote p { color: #001323 !important; }
body.mlc-light .mlc-team-tag { color: #001323 !important; }
body.mlc-light .mlc-founder-badge { background: rgba(0,19,35,.06) !important; }

@media (max-width: 640px) {
  .mlc-about-section { grid-template-columns: 1fr !important; }
  .mlc-about-num { text-align: left !important; font-size: 2.5rem !important; }
  .mlc-about-banner { height: 240px !important; }
}


/* ══ ABOUT BANNER — blanc forcé sur span inline Tebex ══ */
.mlc-about-banner-overlay h1 span[style],
.mlc-about-banner-overlay p span[style],
.mlc-about-banner-overlay h1,
.mlc-about-banner-overlay p,
body.mlc-light .mlc-about-banner-overlay h1 span[style],
body.mlc-light .mlc-about-banner-overlay p span[style],
body.mlc-light .mlc-about-banner-overlay h1,
body.mlc-light .mlc-about-banner-overlay p,
body.mlc-light .text-content .mlc-about-banner-overlay h1,
body.mlc-light .text-content .mlc-about-banner-overlay p,
body.mlc-light .text-content .mlc-about-banner-overlay span {
  color: #ffffff !important;
}

/* Team tags cliquables */
a.mlc-team-tag-link {
  text-decoration: none !important;
  cursor: pointer !important;
  transition: all .2s !important;
}
a.mlc-team-tag-link:hover {
  background: rgba(26,74,122,.35) !important;
  border-color: #1a4a7a !important;
  color: #ffffff !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 4px 12px rgba(0,19,35,.3) !important;
}


/* ══ ABOUT PAGE — h2 natif Tebex dans la bannière ══ */
.mlc-about-banner h2,
.mlc-about-banner h2 *,
.mlc-about-banner h1,
.mlc-about-banner h1 *,
.mlc-about-banner-overlay h1,
.mlc-about-banner-overlay h2,
.mlc-about-banner-overlay h1 *,
.mlc-about-banner-overlay h2 *,
body.mlc-light .mlc-about-banner h2,
body.mlc-light .mlc-about-banner h2 *,
body.mlc-light .mlc-about-banner h1,
body.mlc-light .mlc-about-banner h1 *,
body.mlc-light .mlc-about-banner-overlay h1,
body.mlc-light .mlc-about-banner-overlay h2,
body.mlc-light .mlc-about-banner-overlay h1 *,
body.mlc-light .mlc-about-banner-overlay h2 * {
  color: #ffffff !important;
  background: transparent !important;
  -webkit-text-fill-color: #ffffff !important;
}


/* ══ BASKET POPUP — header gris → bleu site ══ */

/* Header du panier (zone grise avec pseudo + items + prix) */
.basket-popup-content .basket-header,
.basket-popup-content > div:first-child,
.basket-popup-content header,
[class*="basket"] [class*="header"],
[class*="basket-header"],
.basket-popup .basket-header {
  background: #001323 !important;
  border-bottom: 1px solid #1a4a7a !important;
}

/* Pseudo utilisateur */
.basket-popup-content .basket-header *,
.basket-popup-content > div:first-child *,
[class*="basket-header"] *,
.basket-popup-content .user,
.basket-popup-content .username,
.basket-popup-content .ign {
  color: #ffffff !important;
}

/* Nombre d'items + prix total dans le header */
.basket-popup-content .basket-count,
.basket-popup-content .basket-total,
.basket-popup-content .item-count,
.basket-popup-content .subtotal,
[class*="basket-header"] span,
[class*="basket-header"] p {
  color: #ffffff !important;
}

/* Barre "1 Items — €60.00" */
.basket-popup-content .basket-summary,
.basket-popup-content .summary,
[class*="basket-summary"] {
  background: #0a1f35 !important;
  color: #ffffff !important;
}
[class*="basket-summary"] * { color: #ffffff !important; }

/* Light mode — même rendu */
body.mlc-light .basket-popup-content .basket-header,
body.mlc-light .basket-popup-content > div:first-child,
body.mlc-light [class*="basket-header"] {
  background: #001323 !important;
}
body.mlc-light .basket-popup-content .basket-header *,
body.mlc-light .basket-popup-content > div:first-child *,
body.mlc-light [class*="basket-header"] * {
  color: #ffffff !important;
}


/* ══ BASKET — classes exactes Tebex ══ */

/* Barre "1 Items — €60.00" */
.basket-second-header,
.basket .basket-second-header {
  background: #001323 !important;
  border-top: 1px solid #1a4a7a !important;
  border-bottom: 1px solid #1a4a7a !important;
}

.basket-second-header .count,
.basket-second-header .total,
.basket-second-header .total strong,
.basket-second-header * {
  color: #ffffff !important;
}

/* Nom du produit dans le panier — blanc en dark mode */
.basket-item .title a,
.basket-item h4.title a,
.basket-content .basket-item .info .title a {
  color: #ffffff !important;
}
.basket-item .title a:hover {
  color: #7a9bb5 !important;
}

/* Light mode */
body.mlc-light .basket-second-header {
  background: #001323 !important;
}
body.mlc-light .basket-second-header * {
  color: #ffffff !important;
}
/* Light mode — nom produit bleu foncé */
body.mlc-light .basket-item .title a {
  color: #001323 !important;
}

/* Dark mode — nom produit blanc */
.basket-item .title a {
  color: #ffffff !important;
}


/* ══ BASKET — prix en blanc dark mode ══ */
.basket-item .price,
.basket-item .price *,
.basket-item .price strong,
.basket-content .price,
.basket-content .price * {
  color: #ffffff !important;
}

body.mlc-light .basket-item .price,
body.mlc-light .basket-item .price * {
  color: #001323 !important;
}


/* ══ BASKET CHECKOUT — total price white ══ */
.basket-checkout .total strong,
.basket-checkout .total,
.basket-checkout h3,
.basket-checkout h3 *,
.basket .basket-checkout .total strong {
  color: #ffffff !important;
}

body.mlc-light .basket-checkout .total strong,
body.mlc-light .basket-checkout h3 {
  color: #001323 !important;
}


/* ══ BASKET — icône poubelle blanche ══ */
.basket-item .btn-glyph.remove,
.basket-item a.btn-secondary.btn-glyph.remove {
  background: transparent !important;
  border: 1px solid rgba(255,255,255,.2) !important;
  filter: brightness(0) invert(1) !important;
}
.basket-item .btn-glyph.remove:hover,
.basket-item a.btn-secondary.btn-glyph.remove:hover {
  border-color: #f87171 !important;
  filter: brightness(0) invert(1) sepia(1) saturate(5) hue-rotate(300deg) !important;
}

body.mlc-light .basket-item .btn-glyph.remove {
  filter: brightness(0) saturate(100%) invert(27%) sepia(90%) saturate(600%) hue-rotate(330deg) !important;
  border-color: rgba(239,68,68,.3) !important;
}
body.mlc-light .basket-item .btn-glyph.remove:hover {
  filter: brightness(0) saturate(100%) invert(20%) sepia(90%) saturate(800%) hue-rotate(330deg) !important;
  border-color: #ef4444 !important;
  background: rgba(239,68,68,.1) !important;
}


/* ══ PAGE PACKAGES — liste centrée ══ */
.store-products-list,
.store-products-images {
  max-width: 1200px !important;
  margin: 0 auto !important;
  padding: 2rem !important;
}

.store-products-list .store-product,
.store-products-images .store-product {
  margin-bottom: .75rem !important;
}


/* ══ CONTAIN — limiter les reflows ══ */
.store-product,
.mlc-feat-card,
.mlc-pkg-card,
.basket-item { contain: content; }

/* Réduire les repaints shadow → opacity sur pseudo */
.mlc-feat-card,
.mlc-pkg-card,
.store-product { transform: translateZ(0); }


/* ══════════════════════════════════════════════
   PAGE SUBSCRIPTION
══════════════════════════════════════════════ */

/* Layout centré */
.store-category-tiered .site-content,
.store-category-tiered main {
  max-width: 500px !important;
  margin: 0 auto !important;
  padding: 2rem !important;
}

/* Titre */
.store-category-tiered .store-category-tiered-header h1,
.store-category-tiered .store-category-tiered-header h2,
.store-category-tiered .category-title,
.store-category-tiered h1,
.store-category-tiered h2.category-name {
  font-family: 'Poppins', sans-serif !important;
  font-weight: 800 !important;
  font-size: 1.8rem !important;
  color: #ffffff !important;
  text-align: left !important;
  margin-bottom: 1.5rem !important;
}

body.mlc-light .store-category-tiered h1,
body.mlc-light .store-category-tiered h2.category-name,
body.mlc-light .store-category-tiered .category-title {
  color: #001323 !important;
}

/* Image du produit */
.store-category-tiered .store-product img,
.store-category-tiered .media-slider img,
.store-category-tiered .store-product-tiered img {
  border-radius: 12px !important;
  border: 2px solid rgba(26,74,122,.3) !important;
  max-width: 100% !important;
}

/* Nom du produit */
.store-category-tiered .store-product .name,
.store-category-tiered .store-product-name,
.store-category-tiered .store-product h3,
.store-category-tiered .store-product h4 {
  font-family: 'Poppins', sans-serif !important;
  font-weight: 700 !important;
  font-size: 1.2rem !important;
  color: #ffffff !important;
  margin: 1rem 0 !important;
}

body.mlc-light .store-category-tiered .store-product .name,
body.mlc-light .store-category-tiered .store-product h3,
body.mlc-light .store-category-tiered .store-product h4 {
  color: #001323 !important;
}

/* Description */
.store-category-tiered .store-product p,
.store-category-tiered .store-product li,
.store-category-tiered .text-content p,
.store-category-tiered .description p {
  font-family: 'Poppins', sans-serif !important;
  font-size: .88rem !important;
  color: #94a3b8 !important;
  line-height: 1.7 !important;
}

body.mlc-light .store-category-tiered .store-product p,
body.mlc-light .store-category-tiered .text-content p {
  color: #475569 !important;
}

.store-category-tiered .store-product strong,
.store-category-tiered .text-content strong {
  color: #ffffff !important;
  font-weight: 700 !important;
}

body.mlc-light .store-category-tiered .store-product strong {
  color: #001323 !important;
}

/* Séparateur */
.store-category-tiered hr {
  border-color: rgba(26,74,122,.2) !important;
  margin: 1.5rem 0 !important;
}

/* Prix */
.store-category-tiered .price,
.store-category-tiered .price strong,
.store-category-tiered [class*="price"] {
  font-family: 'Poppins', sans-serif !important;
  font-weight: 800 !important;
  font-size: 1.4rem !important;
  color: #ffffff !important;
  text-align: center !important;
  display: block !important;
  margin: 1.5rem 0 1rem !important;
}

body.mlc-light .store-category-tiered .price,
body.mlc-light .store-category-tiered .price strong {
  color: #001323 !important;
}

/* Bouton Subscribe */
.store-category-tiered .btn-primary,
.store-category-tiered button[type="submit"],
.store-category-tiered a.btn-primary {
  display: block !important;
  width: 100% !important;
  background: #1a4a7a !important;
  color: #ffffff !important;
  font-family: 'Poppins', sans-serif !important;
  font-weight: 700 !important;
  font-size: .95rem !important;
  text-align: center !important;
  padding: .9rem 2rem !important;
  border-radius: 10px !important;
  border: none !important;
  transition: background .2s, box-shadow .2s, transform .2s !important;
  text-transform: none !important;
  letter-spacing: 0 !important;
}

.store-category-tiered .btn-primary:hover {
  background: #2a6ab0 !important;
  box-shadow: 0 0 24px rgba(26,74,122,.5) !important;
  transform: translateY(-2px) !important;
}

/* Cacher la sidebar sur subscription */
.store-category-tiered .store-sidebar {
  display: none !important;
}

/* Cacher le tiered header si besoin */
.store-category-tiered .store-category-tiered {
  background: transparent !important;
  border: none !important;
  padding: 0 !important;
}

/* Card produit */
.store-category-tiered .store-product-tiered,
.store-category-tiered .store-product {
  background: transparent !important;
  border: none !important;
  padding: 0 !important;
}


/* ══ FIX SUBSCRIPTION — ciblage direct ══ */
main.store-category-tiered {
  max-width: 1200px !important;
  margin: 0 auto !important;
  padding: 2rem !important;
  background: transparent !important;
  border: none !important;
}

.store-category-tiered .store-category-tiered-header {
  background: transparent !important;
  border: none !important;
  padding: 0 !important;
}

.store-category-tiered .store-category-tiered-header h2 {
  font-family: 'Poppins', sans-serif !important;
  font-weight: 800 !important;
  font-size: 1.8rem !important;
  color: #ffffff !important;
  text-align: left !important;
}
body.mlc-light .store-category-tiered .store-category-tiered-header h2 {
  color: #001323 !important;
}

.store-products-tiered {
  display: grid !important;
  grid-template-columns: repeat(3, 1fr) !important;
  gap: 1.5rem !important;
}

@media (max-width: 900px) {
  .store-products-tiered {
    grid-template-columns: repeat(2, 1fr) !important;
  }
}
@media (max-width: 540px) {
  .store-products-tiered {
    grid-template-columns: 1fr !important;
  }
}

article.store-product.store-product-tiered {
  background: transparent !important;
  border: none !important;
  padding: 0 !important;
  max-width: 100% !important;
}

article.store-product-tiered img.image {
  border-radius: 12px !important;
  border: 2px solid rgba(26,74,122,.3) !important;
  width: 100% !important;
  max-width: 100% !important;
}

article.store-product-tiered h3.product-title {
  font-family: 'Poppins', sans-serif !important;
  font-weight: 700 !important;
  font-size: 1.2rem !important;
  color: #ffffff !important;
  margin: 1rem 0 !important;
}
body.mlc-light article.store-product-tiered h3.product-title {
  color: #001323 !important;
}

article.store-product-tiered .descr p {
  font-family: 'Poppins', sans-serif !important;
  font-size: .88rem !important;
  color: #94a3b8 !important;
  line-height: 1.7 !important;
}
body.mlc-light article.store-product-tiered .descr p {
  color: #475569 !important;
}

article.store-product-tiered .descr strong {
  color: #ffffff !important;
}
body.mlc-light article.store-product-tiered .descr strong {
  color: #001323 !important;
}

/* Actions bar subscription */
article.store-product-tiered div.actions.product-actions {
  background: transparent !important;
  border: none !important;
  flex-direction: column !important;
  align-items: stretch !important;
  gap: 1rem !important;
  padding: 1rem 0 !important;
}

article.store-product-tiered div.actions.product-actions .price,
article.store-product-tiered div.actions.product-actions .price strong {
  font-family: 'Poppins', sans-serif !important;
  font-weight: 800 !important;
  font-size: 1.4rem !important;
  color: #ffffff !important;
  text-align: center !important;
  display: block !important;
}
body.mlc-light article.store-product-tiered div.actions.product-actions .price,
body.mlc-light article.store-product-tiered div.actions.product-actions .price strong {
  color: #001323 !important;
}

article.store-product-tiered div.actions.product-actions .btn-primary {
  display: block !important;
  width: 100% !important;
  background: #1a4a7a !important;
  color: #ffffff !important;
  font-family: 'Poppins', sans-serif !important;
  font-weight: 700 !important;
  font-size: .95rem !important;
  text-align: center !important;
  padding: .9rem 2rem !important;
  border-radius: 10px !important;
  border: none !important;
}
article.store-product-tiered div.actions.product-actions .btn-primary:hover {
  background: #2a6ab0 !important;
  box-shadow: 0 0 24px rgba(26,74,122,.5) !important;
}


/* ══ FIX SUBSCRIPTION — prix + bouton visibles ══ */
.store-category-tiered article.store-product-tiered div.actions.product-actions {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  gap: 1rem !important;
  padding: 1.5rem 0 !important;
  background: transparent !important;
  border-top: 1px solid rgba(26,74,122,.15) !important;
  margin-top: 1.5rem !important;
}

.store-category-tiered article.store-product-tiered div.actions.product-actions p.price {
  background: transparent !important;
  margin: 0 !important;
  text-align: center !important;
}

.store-category-tiered article.store-product-tiered div.actions.product-actions p.price strong {
  font-family: 'Poppins', sans-serif !important;
  font-weight: 800 !important;
  font-size: 1.5rem !important;
  color: #ffffff !important;
  background: transparent !important;
}
body.mlc-light .store-category-tiered article.store-product-tiered div.actions.product-actions p.price strong {
  color: #001323 !important;
}

.store-category-tiered article.store-product-tiered div.actions.product-actions .btn-primary {
  display: block !important;
  width: 100% !important;
  max-width: 350px !important;
  background: #1a4a7a !important;
  color: #ffffff !important;
  font-family: 'Poppins', sans-serif !important;
  font-weight: 700 !important;
  font-size: .95rem !important;
  text-align: center !important;
  padding: .9rem 2rem !important;
  border-radius: 10px !important;
  border: none !important;
}


/* ══ FIX SUBSCRIPTION — textes noirs light mode + prix + bouton ══ */

/* TOUS les textes en noir en light mode */
body.mlc-light .store-category-tiered p,
body.mlc-light .store-category-tiered li,
body.mlc-light .store-category-tiered span,
body.mlc-light .store-category-tiered div,
body.mlc-light .store-category-tiered a,
body.mlc-light .store-category-tiered h1,
body.mlc-light .store-category-tiered h2,
body.mlc-light .store-category-tiered h3,
body.mlc-light .store-category-tiered h4,
body.mlc-light .store-category-tiered label,
body.mlc-light article.store-product-tiered .descr p,
body.mlc-light article.store-product-tiered .descr li,
body.mlc-light article.store-product-tiered .descr span,
body.mlc-light article.store-product-tiered h3.product-title {
  color: #001323 !important;
}

body.mlc-light article.store-product-tiered .descr strong {
  color: #001323 !important;
}

body.mlc-light article.store-product-tiered .descr em,
body.mlc-light article.store-product-tiered .descr i {
  color: #001323 !important;
}

/* Liens en bleu */
body.mlc-light article.store-product-tiered .descr a {
  color: #1a4a7a !important;
}

/* Prix visible et noir */
body.mlc-light .store-category-tiered div.actions.product-actions p.price,
body.mlc-light .store-category-tiered div.actions.product-actions p.price strong,
body.mlc-light .store-category-tiered div.actions.product-actions .price,
body.mlc-light .store-category-tiered div.actions.product-actions .price strong {
  color: #001323 !important;
  background: transparent !important;
  font-size: 1.5rem !important;
  font-weight: 800 !important;
  display: block !important;
  text-align: center !important;
}

/* Bouton Subscribe visible */
body.mlc-light .store-category-tiered div.actions.product-actions .btn-primary {
  background: #1a4a7a !important;
  color: #ffffff !important;
  display: block !important;
  width: 100% !important;
  max-width: 350px !important;
  padding: .9rem 2rem !important;
  border-radius: 10px !important;
  font-weight: 700 !important;
  text-align: center !important;
}

/* S'assurer que la barre actions est visible */
body.mlc-light .store-category-tiered div.actions.product-actions {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  background: transparent !important;
  border-top: 1px solid #e2e8f0 !important;
  padding: 1.5rem 0 !important;
  margin-top: 1.5rem !important;
}


/* ══ SUBSCRIPTION — layout 1 colonne + sidebar cachée + prix/bouton ══ */

/* Cacher la sidebar sur la page subscription */
.store-category-tiered ~ .store-sidebar,
main.store-category-tiered ~ aside.store-sidebar {
  display: none !important;
}

/* Forcer le layout 1 colonne quand c'est subscription */
.site-content:has(main.store-category-tiered) {
  display: block !important;
}

/* Cibler spécifiquement data-package-type="subscription" */
div.actions.product-actions[data-package-type="subscription"] {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  gap: 1rem !important;
  padding: 1.5rem 0 !important;
  background: transparent !important;
  border-top: 1px solid #e2e8f0 !important;
  margin-top: 1rem !important;
  visibility: visible !important;
  opacity: 1 !important;
}

div.actions.product-actions[data-package-type="subscription"] p.price,
div.actions.product-actions[data-package-type="subscription"] .price {
  display: block !important;
  background: transparent !important;
  text-align: center !important;
  visibility: visible !important;
}

div.actions.product-actions[data-package-type="subscription"] p.price strong,
div.actions.product-actions[data-package-type="subscription"] .price strong {
  font-family: 'Poppins', sans-serif !important;
  font-weight: 800 !important;
  font-size: 1.5rem !important;
  color: #001323 !important;
  background: transparent !important;
}

div.actions.product-actions[data-package-type="subscription"] .btn-primary {
  display: block !important;
  width: 100% !important;
  max-width: 350px !important;
  background: #1a4a7a !important;
  color: #ffffff !important;
  font-family: 'Poppins', sans-serif !important;
  font-weight: 700 !important;
  font-size: .95rem !important;
  text-align: center !important;
  padding: .9rem 2rem !important;
  border-radius: 10px !important;
  border: none !important;
  visibility: visible !important;
  opacity: 1 !important;
}

div.actions.product-actions[data-package-type="subscription"] .btn-primary:hover {
  background: #2a6ab0 !important;
  box-shadow: 0 0 24px rgba(26,74,122,.5) !important;
}

/* Dark mode prix */
div.actions.product-actions[data-package-type="subscription"] p.price strong {
  color: #001323 !important;
}
body:not(.mlc-light) div.actions.product-actions[data-package-type="subscription"] p.price strong {
  color: #ffffff !important;
}


/* ══ SUBSCRIPTION CARDS en grille ══ */
article.store-product.store-product-tiered {
  background: #111827 !important;
  border: 1px solid #1a2540 !important;
  border-radius: 16px !important;
  padding: 1.25rem !important;
  display: flex !important;
  flex-direction: column !important;
  transition: transform .3s, border-color .3s, box-shadow .3s !important;
}

article.store-product.store-product-tiered:hover {
  transform: translateY(-6px) !important;
  border-color: rgba(26,74,122,.5) !important;
  box-shadow: 0 20px 50px rgba(0,0,0,.4) !important;
}

body.mlc-light article.store-product.store-product-tiered {
  background: #ffffff !important;
  border-color: #e2e8f0 !important;
}

body.mlc-light article.store-product.store-product-tiered:hover {
  border-color: rgba(26,74,122,.4) !important;
  box-shadow: 0 12px 40px rgba(0,19,35,.12) !important;
}

article.store-product-tiered img.image {
  width: 100% !important;
  border-radius: 10px !important;
  border: none !important;
}

article.store-product-tiered .descr {
  flex: 1 !important;
}

article.store-product-tiered div.actions.product-actions {
  margin-top: auto !important;
}


/* ══ SUBSCRIPTION — image et titre cliquables ══ */
article.store-product-tiered img.image,
article.store-product-tiered h3.product-title {
  cursor: pointer !important;
}

article.store-product-tiered img.image:hover {
  filter: brightness(1.05) !important;
}

article.store-product-tiered h3.product-title:hover {
  color: #1a4a7a !important;
}