/* ----------------- Helix Template custom layout ----------------- */

.col-center{
    display:flex;
    flex-direction:column;
    justify-content:center;
    height:100%;
}

.col-center .sp-module{
    height:100%;
    display:flex;
    flex-direction:column;
    justify-content:center;
}

.btn-primary {
  background-color: #6B7D5C !important;
  border-color: #6B7D5C !important;
  color: #FFFFFF;
}

.btn-primary:hover {
  background-color: #3F4A3C !important;
  border-color: #3F4A3C !important;
}

/* ----------------- Home Page ----------------- */
/* ----------------- Section 1 ----------------- */
/* Conteneur principal */
.s1-split {
  display: flex;
  align-items: stretch; /* clé pour même hauteur */
}

/* Colonnes */
.s1-text,
.s1-map {
  flex: 1;
}

/* Bloc texte */
.s1-text {
  background: #dad1c1; /* couleur nature */
  height:100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  margin-right: -15px;
  padding-left: 10px;
}

/* Bloc carte */
.s1-map {
  height:100%;
  display:flex;
  flex-direction:column;
  justify-content:center;
  margin-left: -15px;
}

/* ----------------- Section Logos ----------------- */
.col-logo {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 150px;      
}

/* ----------------- Section Haut-Mongeat ----------------- */
.hm-text {
  flex: 1;
  text-align: center;
  background: #DAD1C1;
  padding: 40px 20px;
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* ----------------- Section Clos Systey ----------------- */
/* 🧱 CONTENEUR */
.clos-systey-section {
  max-width: 1200px;
  margin: 80px auto;
  padding: 0 20px;
}

/* 📸 IMAGE */
.clos-systey-image img {
  width: 100%;
  border-radius: 12px;
  margin-bottom: 40px;
  margin-top: 20px;
}

/* 🧾 2 COLONNES */
.clos-systey-columns {
  display: flex;
  gap: 30px;
  margin-bottom: 40px;
}

.clos-systey-columns .column {
  flex: 1;
  background: #DAD1C1;
  padding: 25px;
  border-radius: 10px;
}

/* titres colonnes */
.clos-systey-columns .column h2 {
  margin-bottom: 10px;
  color: #1A1A1A;
}

/* texte colonnes */
.clos-systey-columns .column p {
  color: #333;
  line-height: 1.6;
}

/* 🧾 TEXTE FULL */
.clos-systey-full-text h2 {
  margin-bottom: 10px;
  color: #1A1A1A;
}

.clos-systey-full-text {
  text-align: center;
  max-width: 800px;
  margin: auto;
  font-size: 16px;
  color: #555;
  line-height: 1.7;
  flex: 1;
  background: #DAD1C1;
  padding: 25px;
  border-radius: 10px;
}
/* --------------------------------- */

.custom-block{
    max-width:1200px;
    margin:auto;
    padding:30px 20px;
}

/* Aligne menu + panier */
#sp-header .row {
    display: flex;
    align-items: center;
}

/* Menu prend toute la place */
#sp-header .sp-megamenu-parent {
    flex: 1;
}

/* Panier collé au menu */
#sp-header .hikashop_cart_module {
    margin-left: 15px;
    display: flex;
    align-items: center;
}

/* bandeau supérieur */
.top-header{
    display:grid;
    grid-template-columns:auto 1fr auto;
    align-items:center;
    margin-bottom:40px;
}

.logo-left img, .logo-right img{
    width:80px;
}

.header-text{
    text-align:center;
    font-size:28px;
    font-weight:600;
}

/* grille des sections */

.sections-grid{
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:30px;
}

.section-item{
    text-align:center;
    padding:15px;
    border-radius:10px;
    transition:all 0.3s ease;
}

.section-item:hover{
    transform:translateY(-6px);
    box-shadow:0 8px 20px rgba(0,0,0,0.1);
}

.section-item img{
    width:100%;
    max-width:150px;
    margin-bottom:15px;
}

.section-text{
    font-size:16px;
}

/* tablette */
@media (max-width:900px){
    .sections-grid{
        grid-template-columns:repeat(2,1fr);
    }
}

/* mobile */
@media (max-width:600px){

    .header-text{
        font-size:22px;
    }

    .logo-left img, .logo-right img{
        width:60px;
    }

    .sections-grid{
        grid-template-columns:1fr;
    }
}

/* ----------------- Phoca Gallery ----------------- */

.align-top {
  display: flex;
  align-items: flex-start !important;
  height: 100%;
}

.phoca-gallery-small img {
  max-width: 300px;
}

/* ----------------- HIKASHOP ----------------- */

.header .hikashop_cart_module {
    font-size: 18px;
}

.header .hikashop_cart_module a {
    display: flex;
    align-items: center;
    gap: 5px;
}

.header .login {
    font-size: 14px;
}


/* Effacer category description et image */
.hikashop_category_description {
    display: none !important;
}

/* Conteneur du module cart */
.hikashop_cart_module {
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Conteneur du lien panier */
.hikashop_small_cart_checkout_link {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

/* Logo */
.hikashop_small_cart_checkout_link img {
    height: 25px;
    width: auto;
    display: inline-block;
    vertical-align: middle;
}

.hikashop_cart_module_product_icon_title{
    height: 25px;
    display: block;
}

/* Badge notification */
.cart-badge {
    position: absolute;
    top: -6px;
    right: -6px;
    background: #ffffff;
    color: #2f3a2f;
    border-radius: 50%;
    padding: 3px 6px;
    font-size: 11px;
    font-weight: 600;
    min-width: 18px;
    text-align: center;
    line-height: 1;
    pointer-events: none;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

/* Masquer le texte original si encore présent */
.hikashop_small_cart_total_title {
    font-size: 0; /* alternative propre à display:none */
}

/* Responsive */
@media (max-width:768px){
    .hikashop_small_cart_checkout_link img { height: 30px; }
    .cart-badge {
        top: -4px;
        right: -4px;
        font-size: 10px;
        padding: 1px 4px;
        min-width: 14px;
    }
}

/* ----------------- SHOP PRODUCTS ----------------- */

/* 🧱 GRID PRODUITS */
/* .hikashop_products_listing {
  display: grid !important;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
} */

/* 📱 Responsive */
@media (max-width: 992px) {
  .hikashop_products_listing {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .hikashop_products_listing {
    grid-template-columns: 1fr;
  }
}

/* 🧩 CARTE PRODUIT */
.hikashop_product {
  background: #FFFFFF;
  border-radius: 12px;
  padding: 20px;
  text-align: center;
  transition: all 0.3s ease;
}

/* ✨ Hover */
.hikashop_product:hover {
  transform: translateY(-5px);
}

/* 🖼️ IMAGE */
/* .hikashop_product_image img {
  max-height: 250px;
  object-fit: contain;
  margin-bottom: 15px;
  transition: 0.3s;
} */

.hikashop_product:hover img {
  transform: scale(1.05);
}

/* 🏷️ NOM PRODUIT */
.hikashop_product_name a {
  font-size: 18px;
  color: #1A1A1A;
  text-decoration: none;
  display: block;
  margin-bottom: 10px;
}

/* 💰 PRIX */
.hikashop_product_price_full {
  color: #6B7D5C;
  font-weight: bold;
  font-size: 18px;
  margin-top: 10px;
}

/* 🔘 BOUTON */
.hikashop_product_right_part .hikabtn.hikacart,
.hikashop_product .hikabtn.hikacart {
  background: #6B7D5C;
  color: #FFFFFF !important;
  padding: 10px 20px;
  border-radius: 6px;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
}

.hikashop_product_right_part .hikabtn.hikacart,
.hikashop_product .hikabtn.hikacart:hover {
  background: #3F4A3C;
  transform: translateY(-2px);
}

/* 🧼 SUPPRESSION STYLES PAR DÉFAUT */
.hikashop_product {
  border: none !important;
  box-shadow: none !important;
}

/* ------- PAGINATION --------- */

/* 🔘 Boutons */
.pagination .page-link {
  border: 1px solid #DAD1C1;
  color: #1A1A1A;
  padding: 8px 14px;
  border-radius: 6px;
  text-decoration: none;
  background: #FFFFFF;
  transition: all 0.3s ease;
}

/* ✨ Hover */
.pagination .page-link:hover {
  background: #6B7D5C;
  color: #FFFFFF;
  border-color: #6B7D5C;
}

/* 🟢 Page active */
.pagination .active .page-link {
  background: #6B7D5C;
  color: #FFFFFF;
  border-color: #6B7D5C;
}

/* ⛔ Désactivé */
.pagination .disabled .page-link {
  opacity: 0.4;
  pointer-events: none;
}

/* 🧱 CONTENEUR GLOBAL */
.hikashop_products_pagination {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
}

/* 📦 LIGNE PRINCIPALE (boutons) */
.hikashop_products_pagination .list-footer {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
}

/* 🔘 BOUTONS */
.hikashop_products_pagination a,
.hikashop_products_pagination span {
  padding: 10px 18px;
  border-radius: 10px;
  border: 1px solid #DAD1C1;
  text-decoration: none;
  color: #1A1A1A;
  background: #FFFFFF;
  transition: all 0.3s ease;
  font-size: 14px;
}

/* ✨ HOVER */
.hikashop_products_pagination a:hover {
  background: #6B7D5C;
  color: #FFFFFF;
  border-color: #6B7D5C;
}

/* 🟢 PAGE ACTIVE */
.hikashop_products_pagination .pagenav.active,
.hikashop_products_pagination span.pagenav {
  background: #6B7D5C;
  color: #FFFFFF;
  border-color: #6B7D5C;
}

/* ⛔ DISABLED */
.hikashop_products_pagination .pagenav.disabled {
  opacity: 0.4;
  pointer-events: none;
}

/* 📝 TEXTE (résultats + page) */
.hikashop_products_pagination .counter,
.hikashop_products_pagination .limit {
  color: #6F6F6F;
  font-size: 14px;
  text-align: center;
}

/* ----------------- Information message ----------------- */
.empty-cart,
.registration-confirmation {
  text-align: center;
  padding: 80px 20px;
  background: #F7F7F7;
  border-radius: 12px;
}

.empty-cart h2,
.registration-confirmation  h2 {
  font-size: 32px;
  color: #1A1A1A;
  margin-bottom: 20px;
  font-family: 'Playfair Display', serif;
}

.empty-cart p,
.registration-confirmation p {
  color: #6F6F6F;
  max-width: 500px;
  margin: 0 auto 30px;
  line-height: 1.6;
}

.empty-cart-btn,
.registration-confirmation-btn {
  display: inline-block;
  background: #6B7D5C;
  color: #FFFFFF;
  padding: 12px 24px;
  border-radius: 6px;
  text-decoration: none;
  transition: 0.3s;
}

.empty-cart-btn:hover,
.registration-confirmation-btn:hover {
  background: #3F4A3C;
  color: #FFFFFF;
}

/* ----------------- Sidebar Cart ----------------- */

/* 🧱 CONTENEUR GLOBAL */
.cart-sidebar {
  position: sticky;
  top: 100px;
  background: #FFFFFF;
  border: 1px solid #EAEAEA;
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.03);
}

/* 🛒 TITRE */
.cart-sidebar .sp-module-title {
  font-size: 18px;
  margin-bottom: 15px;
  color: #6F6F6F;
}

/* 📦 PRODUITS */
.cart-sidebar .hikashop_cart_product {
  display: flex;
  gap: 10px;
  margin-bottom: 15px;
  align-items: center;
}

/* 🖼️ IMAGE */
.cart-sidebar .hikashop_cart_product_image img {
  width: 50px;
  border-radius: 6px;
}

/* 📝 INFOS */
.cart-sidebar .hikashop_cart_module_product_name_value {
  font-size: 14px;
  color: #1A1A1A;
}

.cart-sidebar .hikashop_cart_module_product_price_value {
  font-size: 13px;
  color: #6F6F6F;
}

/* 💰 TOTAL */
.cart-sidebar .hikashop_cart_module_product_total_title {
  border-top: 1px solid #EAEAEA;
  padding-top: 15px;
  margin-top: 15px;
  font-weight: bold;
  color: #6B7D5C;
  display: flex;
  justify-content: space-between;
}

/* 🔘 BOUTONS */
.cart-sidebar .hikabtn {
  display: block;
  text-align: center;
  padding: 10px;
  border-radius: 6px;
  margin-top: 10px;
  text-decoration: none;
  transition: 0.3s;
}

/* bouton principal */
.cart-sidebar .hikabtn.hikacart {
  background: #6B7D5C;
  color: #FFFFFF !important;
}

/* bouton secondaire */
.cart-sidebar .hikabtn:not(.hikacart) {
  border: 1px solid #DAD1C1;
  color: #1A1A1A;
}

/* hover */
.cart-sidebar .hikabtn.hikacart:hover {
  background: #3F4A3C;
}

.cart-sidebar .hikabtn:not(.hikacart):hover {
  background: #DAD1C1;
}

@media (max-width: 992px) {
  .cart-sidebar {
    position: static;
    margin-top: 40px;
  }
}

/* ----------------- Filters ----------------- */

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 40px;
}

.filter-btn {
  padding: 8px 18px;
  border: 1px solid #DAD1C1;
  border-radius: 30px;
  text-decoration: none;
  color: #1A1A1A;
  font-size: 14px;
  transition: all 0.3s ease;
  background: #FFFFFF;
}

/* Hover */
.filter-btn:hover {
  background: #6B7D5C;
  color: #FFFFFF;
  border-color: #6B7D5C;
}

/* Actif */
.filter-btn.active {
  background: #6B7D5C;
  color: #FFFFFF;
  border-color: #6B7D5C;
}

.filters-group {
  margin-bottom: 20px;
}

.filters-group span {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
  color: #6F6F6F;
}

/* cache les filtres sur checkout */
body[class*="checkout"] .filters {
  display: none;
}
body[class*="checkout"] .filters-group {
  display: none;
}

/* --------- Joomla Alerts ---------- */

.joomla-alert {
  position: static;
  top: 100px;
  left: 50%;
  transform: translateX(-50%);
  max-width: 500px;
  z-index: 9999;
  box-shadow: none;
  margin-bottom: 20px;
}