/********************************************************
			Coderplace Custom Styles
********************************************************/
.tm-carousel {
  display: none;
  position: relative;
  float: left;
  width: 100%;
  margin: 0;
}
.cp-carousel {
  display: none;
  position: relative;
  float: left;
  width: 100%;
  margin: 0;
}
.owl-carousel .owl-wrapper {
  display: none;
  position: relative;
  -webkit-transform: translate3d(0px, 0px, 0px);
  -ms-transform: translate3d(0px, 0px, 0px);
  -o-transform: translate3d(0px, 0px, 0px);
  -moz-transform: translate3d(0px, 0px, 0px);
  display: flex!important;
  flex-wrap: wrap;
}
.owl-carousel .owl-wrapper:after {
  content: ".";
  display: block;
  clear: both;
  visibility: hidden;
  line-height: 0;
  height: 0;
}
.owl-carousel .owl-wrapper-outer {
  overflow-x: clip;
  position: relative;
  float: left;
  width: 100%;
  padding: 0px;
}
.owl-carousel .owl-wrapper-outer.autoHeight {
  -webkit-transition: height 500ms ease-in-out;
  -moz-transition: height 500ms ease-in-out;
  -ms-transition: height 500ms ease-in-out;
  -o-transition: height 500ms ease-in-out;
  transition: height 500ms ease-in-out;
}
.owl-carousel .owl-item {
  float: left;
  display: flex;
  height: auto;
}
#cptestimonial .owl-wrapper-outer .owl-item {
  display: block;
}
.owl-carousel .owl-item .manu_image a {
  display: inline-block;
}
.owl-carousel .owl-item .manu_image a img {
  max-width: 100%;
}

.owl-carousel .owl-wrapper,
.owl-carousel .owl-item {
  /* fix */
  -webkit-backface-visibility: hidden;
  -moz-backface-visibility: hidden;
  -ms-backface-visibility: hidden;
  -webkit-transform: translate3d(0, 0, 0);
  -moz-transform: translate3d(0, 0, 0);
  -ms-transform: translate3d(0, 0, 0);
  text-align: center;
}

/* mouse grab icon */
.customNavigation {
	position: absolute;
	z-index: 9;
	width: 100%;
	top: 50%;
	direction: ltr !important;
	right: 0;
	left: auto;
  opacity: 0;
  -khtml-opacity: 0;
-webkit-opacity: 0;
-moz-opacity: 0;
}
.products .customNavigation {
	top: 40%;
}
.tmcategorylist .customNavigation, .testimonial-block-part .customNavigation {
	top: 54%;
}
.tmcategorylist:hover .customNavigation {
	opacity: 1;
	-khtml-opacity: 1;
	-webkit-opacity: 1;
	-moz-opacity: 1;
}
.customNavigation a.prev::before {
	content: "\E314";
	font-family: "Material Icons";
	position: absolute;
	font-size: 20px;
	right: 5px;
	top: -1px;
	color: #808080;
}
.customNavigation a.next::before {
	content: "\E315";
	font-family: "Material Icons";
	position: absolute;
	font-size: 20px;
	position: absolute;
	right: 3px;
	top: -1px;
	color: #808080;
}
#tmtestimonialcmsblock .customNavigation {
  top: -24px;
  z-index: 5;
  right: 15px;
}
#index #tmtestimonialcmsblock .customNavigation {
  top: -40px;
  right: 0;
}
.special-products .customNavigation {
	top: 52%;
}
.special-products:hover .customNavigation, 
.products:hover .customNavigation,
.testimonial-block-part:hover .customNavigation,
.tmblog-latest:hover .customNavigation, 
#tminstagramblock:hover .customNavigation,
.product-accessories:hover .customNavigation,
.productscategory-products:hover .customNavigation{
  opacity: 1;
  -khtml-opacity: 1;
  -webkit-opacity: 1;
  -moz-opacity: 1;
}
.lastest_block .customNavigation {
	top: 44%;
}
.customNavigation i {
	color: #222 !important;
	cursor: pointer;
	font-size: 0;
	font-weight: 500;
	height: 38px;
	line-height: 32px;
	overflow: hidden;
	padding: 0;
	position: absolute;
	text-align: center;
	width: 38px;
	background: transparent;
	border-radius: 0;
	font-style: unset;
	box-shadow: 0px 0px 16px 0px rgba(0,0,0,0.11);
}

.customNavigation i.prev {
	background: transparent;
	right: auto;
	background: #fff;
	border-radius: 50%;
	left: -5px;
}
.customNavigation i.next {
	background: transparent;
	right: 0px;
	background: #fff;
	border-radius: 50%;
	right: -5px;
}
.tmcategorylist .customNavigation i.prev, 
.testimonial-block-part .customNavigation i.prev, 
#tminstagramblock .btn.prev.instagram_prev,
.special-products .customNavigation i.prev{
	left: -20px;
}
.tmcategorylist .customNavigation i.next, 
.testimonial-block-part .customNavigation i.next, 
#tminstagramblock .btn.next.instagram_next,
.special-products .customNavigation i.next  {
  right: -20px;
}
.testimonial-block-part .customNavigation i.prev, .testimonial-block-part .customNavigation i.next {
  display: none;
}
.customNavigation i.prev::before {
	content: '';
	-webkit-mask-image: url(../img/megnor/pro-left.svg);
	-webkit-mask-position: center;
	-webkit-mask-repeat: no-repeat;
	mask-image: url(../img/megnor/pro-left.svg);
	mask-position: center;
	mask-repeat: no-repeat;
	background-color: #000;
	mask-size: 14px;
	font-size: 14px;
	width: 38px;
	height: 38px;
	display: block;
  -webkit-mask-size: 14px;
}
#tmtestimonialcmsblock .customNavigation i.prev::before {
  right: 1px;
  font-weight: 500;
}
#tmtestimonialcmsblock .customNavigation i.next::before {
  right: 0;
  font-weight: 500;
}
.customNavigation i.next::before {
	content: '';
	-webkit-mask-image: url(../img/megnor/pro-right.svg);
	-webkit-mask-position: center;
	-webkit-mask-repeat: no-repeat;
	mask-image: url(../img/megnor/pro-right.svg);
	mask-position: center;
	mask-repeat: no-repeat;
	background-color: #000;
	mask-size: 14px;
	font-size: 14px;
	width: 38px;
	height: 38px;
	display: block;
  -webkit-mask-size: 14px;
}
.customNavigation i.next:hover::before,.customNavigation i.prev:hover::before  {
  color: #fff;
}
#cpleftbanner1 img,
#cpleftbanner2 img {
  max-width: 100%;
}
#cpleftbanner1 li,
#cpleftbanner2 li {
  overflow: hidden;
  position: relative;
  float: left;
  border-radius: 5px;
}
#cpleftbanner1 li a,
#cpleftbanner2 li a {
  display: inline-block;
  position: relative;
  overflow: hidden;
  vertical-align: top;
}
.footer-container .links.lastest_block .customNavigation i.prev:hover {
  color: #9bbab1 !important;
}
.footer-container .links.lastest_block .customNavigation i.next:hover {
  color: #9bbab1 !important;
}

@media (max-width: 1449px) {
  .tmcategorylist .customNavigation i.prev, 
  .testimonial-block-part .customNavigation i.prev, 
  #tminstagramblock .btn.prev.instagram_prev,
  .special-products .customNavigation i.prev{
    left: -15px;
  }
  .tmcategorylist .customNavigation i.next, 
  .testimonial-block-part .customNavigation i.next,
   #tminstagramblock .btn.next.instagram_next,
   .special-products .customNavigation i.next {
    right: -15px;
  }
  .customNavigation i.next {
    right: 0;
  }
  .customNavigation i.prev {
    left: 0;
  }
}
@media (max-width: 1199px) {
  #tmtestimonialcmsblock .customNavigation {
    top: -36px;
    z-index: 5;
    right: -18px;
  }
}

@media (max-width: 991px) {
  #cpleftbanner1 li img,
  #cpleftbanner2 li a {
    width: auto;
  }
  #tmtestimonialcmsblock .customNavigation {
    top: 0;
    right: 0;
  }
}
@media (max-width: 767px) {
  .customNavigation {
    opacity: 1;
    -khtml-opacity: 1;
    -webkit-opacity: 1;
    -moz-opacity: 1;
  }
  
  .tmcategorylist .customNavigation i.prev, 
  .testimonial-block-part .customNavigation i.prev, 
  #tminstagramblock .btn.prev.instagram_prev, 
  .special-products .customNavigation i.prev,
  .btn.prev.accessories_prev {
    left: 0;
  }
  .tmcategorylist .customNavigation i.next, 
  .testimonial-block-part .customNavigation i.next,
   #tminstagramblock .btn.next.instagram_next, 
   .special-products .customNavigation i.next,
   .btn.next.accessories_next {
    right: 0;
  }
  #main .images-container .js-qv-mask .customNavigation {
    top: 40%;
  }
  .quickview .mask.additional_slider .customNavigation i.prev {
    left: -10px !important;
  }
  .quickview .mask.additional_slider .customNavigation i.next {
    right: -10px !important;
  }
  .btn.next.brand_next {
    left: auto;
    right: 0;
    position: absolute;
  }
  .btn.prev.brand_prev {
    left: 0;
    right: auto;
  }
  .customNavigation i.next {
    left: auto;
    right: 0;
  }
}
@media (max-width: 480px) {
}
#header .header_logo img {
    max-height: 15px;
    width: auto;
}

@media (max-width: 768px) {
  .product_item {
    width: 100% !important;
    flex: 0 0 100% !important;
    max-width: 100% !important;
  }
}

/* Cacher bouton Connexion */
#checkout-personal-information-step .nav-item:nth-child(2) {
  display: none !important;
}

/* SÃ©curitÃ© (au cas oÃ¹) */
.checkout-step.-current .nav .nav-item:last-child {
  display: none !important;
}
/* Cacher bouton "Commander en tant qu'invitÃ©" */
#checkout-personal-information-step .nav {
  display: none !important;
}

/* ðŸ”´ Cacher bouton invitÃ© + connexion */
#checkout-personal-information-step .nav {
  display: none !important;
}

/* ðŸ”´ Cacher bloc crÃ©ation compte */
#customer-form p {
  display: none !important;
}

/* ðŸ”´ Cacher mot de passe */
#customer-form input[name="password"],
#customer-form input[name="password"] + button,
#customer-form .form-group:has(input[name="password"]) {
  display: none !important;
}

#blockcart-modal {
  display: none !important;
}
.checkout-urgency {
  clear: both;
  display: block;
  margin-top: 10px;
  text-align: right;
  color: #e74c3c;
  font-weight: 700;
  font-size: 14px;
}
.checkout-urgency {
  animation: blink 1.5s infinite;
}

@keyframes blink {
  0% { opacity: 1; }
  50% { opacity: 0.6; }
  100% { opacity: 1; }
}
.whatsapp-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #25D366;
  color: #fff;
  padding: 12px 18px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 700;
  transition: 0.3s;
}

.whatsapp-btn:hover {
  opacity: 0.92;
  transform: translateY(-1px);
}
.page-header,
.page-content-top,
.wrapper.breadcrumb-wrapper {
    margin-top: 0 !important;
    padding-top: 0 !important;
    height: auto !important;
    min-height: 0 !important;
}

body#product #wrapper {
    padding-top: 25px !important;
}

#main .page-header {
    padding-top: 25px !important;
}
.whatsapp-btn-product {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: #25D366;
    color: #fff !important;
    padding: 14px;
    font-weight: 600;
    margin-top: 12px;
    border-radius: 4px;
    width: 100%;
    text-decoration: none;
}

.whatsapp-btn-product:hover {
    background: #1ebe5d;
}

/* cacher totalement sur desktop */
.mobile-buy-bar {
  display: none;
}

@media (max-width: 767px) {
  .mobile-buy-bar {
    display: flex;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 9999;
    background: #fff;
    box-shadow: 0 -4px 14px rgba(0,0,0,0.12);
    padding: 10px 12px;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
  }

  .mobile-buy-price {
    font-size: 20px;
    font-weight: 700;
    color: #000;
    white-space: nowrap;
  }

  .mobile-buy-btn {
    border: 0;
    background: #000;
    color: #fff;
    border-radius: 999px;
    padding: 12px 22px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
  }
}

@media (max-width: 767px) {
  .sm-shake.bottom-right {
    bottom: 100px !important; /* 🔥 monte le bouton */
    right: 15px !important;
  }
}
@media (max-width: 767px) {

  .mobile-buy-bar {
    position: fixed;
    left: 10px;
    right: 10px;
    bottom: 10px;
    z-index: 9999;

    /* 🔥 effet verre */
    background: rgba(255, 255, 255, 0.35);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);

    /* 🔥 design */
    border-radius: 16px;
    padding: 10px 12px;

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;

    /* 🔥 ombre élégante */
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
  }

  .mobile-buy-price {
    font-size: 18px;
    font-weight: 700;
    color: #000;
  }

  .mobile-buy-btn {
    border: 0;
    background: #000;
    color: #fff;
    border-radius: 999px;
    padding: 10px 18px;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;

    /* 🔥 petite ombre bouton */
    box-shadow: 0 4px 10px rgba(0,0,0,0.25);
  }

}
.mobile-buy-bar.hide-after-click {
  display: none !important;
}
.whatsapp-btn {
  display: flex !important;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

/* icône parfaitement proportionnée */
.whatsapp-btn svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}
.whatsapp-btn svg {
  width: 1.2em;
  height: 1.2em;
}
.whatsapp-btn {
  font-weight: 600 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.5px;
}
/* réduire taille bouton WhatsApp */
.sm-shake a {
  transform: scale(0.85);
}

/* réduire aussi le cercle (si présent) */
.sm-shake svg {
  width: 40px !important;
  height: 40px !important;
}
.whatsapp-btn {
  display: inline-block; /* ❗ au lieu de block */
  width: auto;           /* ❗ enlève le 100% */
  background: #000 !important;
  color: #fff !important;
  padding: 12px 22px;
  text-transform: uppercase;
  font-weight: 600;
  text-decoration: none;
  border: none;
  margin-top: 10px;
}

@media (max-width: 768px) {

  /* espace entre les boutons */
  .checkout-step .btn {
    display: block;
    width: 100%;
    margin-bottom: 12px;
  }

  /* bouton retour */
  .checkout-step a.btn-secondary {
    margin-top: 8px;
  }

}
@media (max-width: 768px) {

  /* SUPPRIMER espace du breadcrumb */
  #breadcrumb_wrapper {
    display: none !important;
  }

  /* réduire espace au-dessus du contenu */
  #wrapper {
    margin-top: 0 !important;
    padding-top: 0 !important;
  }

  /* réduire espace du header */
  #header {
    margin-bottom: 0 !important;
  }

  /* supprimer espace avant checkout */
  #content {
    margin-top: 0 !important;
    padding-top: 0 !important;
  }

}
@media (max-width: 768px) {

  #header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 9999;
    background: #fff;
    width: 100%;
  }

  body {
    padding-top: 110px;
  }
}

@media (max-width: 768px) {

  /* cacher header seulement sur checkout */
  body#checkout #header {
    display: none !important;
  }

  /* supprimer espace en haut */
  body#checkout {
    padding-top: 0 !important;
  }

  body#checkout #wrapper,
  body#checkout #content {
    margin-top: 0 !important;
    padding-top: 0 !important;
  }

}
/* Cacher UNIQUEMENT la bulle WhatsApp flottante */
@media (max-width: 767px) {

  body#product .sm-fixed,
  body#checkout .sm-fixed,
  body#order-confirmation .sm-fixed {
    display: none !important;
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
  }

}
@media (max-width: 767px) {

  body#checkout .form-group.id_country,
  body#checkout .form-group.country {
    display: none !important;
  }

  body#checkout label[for*="country"] {
    display: none !important;
  }

}
/* Masquer uniquement le champ Pays dans le checkout mobile */
@media (max-width: 767px) {
  body#checkout select[name="id_country"],
  body#checkout input[name="id_country"],
  body#checkout #field-id_country,
  body#checkout .js-address-form select[name="id_country"],
  body#checkout .address-form select[name="id_country"] {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    height: 0 !important;
    min-height: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
    border: 0 !important;
  }

  body#checkout .form-control[name="id_country"] {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    height: 0 !important;
    min-height: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
    border: 0 !important;
  }
}

/* RESSERRER FORMULAIRE MOBILE */
@media (max-width: 767px) {

  body#checkout .form-group {
    margin-bottom: 12px !important;
  }

  body#checkout label {
    margin-bottom: 4px !important;
    font-size: 15px !important;
  }

  body#checkout input {
    min-height: 44px !important;
    padding: 8px 12px !important;
  }

}
@media (max-width: 767px) {
  body#checkout .form-group {
    margin-bottom: 10px !important;
  }

  body#checkout label.form-control-label {
    margin-bottom: 4px !important;
    font-size: 14px !important;
  }

  body#checkout input.form-control {
    min-height: 44px !important;
    padding: 8px 12px !important;
  }
}

@media (max-width: 767px) {
  body#checkout .js-address-form label.form-control-label {
    display: none !important;
  }

  body#checkout .js-address-form .form-group {
    margin-bottom: 10px !important;
  }

  body#checkout .js-address-form input::placeholder {
    color: #777 !important;
    opacity: 1 !important;
    font-size: 15px !important;
  }
}
@media (max-width: 767px) {

  /* supprimer complètement le bloc Pays */
  body#checkout #field-id_country,
  body#checkout select[name="id_country"] {
    display: none !important;
  }

  /* supprimer le conteneur parent */
  body#checkout #field-id_country.closest,
  body#checkout select[name="id_country"] {
    height: 0 !important;
  }

  /* vrai fix : supprimer le bloc parent */
  body#checkout .form-group:has(select[name="id_country"]),
  body#checkout .form-group:has(#field-id_country) {
    display: none !important;
  }

}

@media (max-width: 767px) {
  body#checkout textarea#field-address1 {
    min-height: 70px !important;
    resize: none !important;
  }
}

@media (max-width: 767px) {
  #js-product-list-header .block-category-inner,
  #js-product-list-header .category-description,
  .block-category .block-category-inner,
  .block-category .category-description {
    display: none !important;
    height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
  }
}
@media (max-width: 767px) {
  .block-category {
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
  }
}

.total-box{
  margin-top:10px;
  padding:12px;
  background:#000;
  color:#fff;
  border-radius:10px;
  font-weight:bold;
}
.total-box div{margin:4px 0;}
.grand-total{font-size:16px;color:#28a745;}

.btn.black {
  font-size: 13px;
  display: flex;
  justify-content: center;
  gap: 5px;
}
.star_content .star:nth-child(-n+3):before {
    color: #d4af37;
}

.star_content .star:nth-child(4):before {
    background: linear-gradient(
        to right,
        #d4af37 75%,
        #ddd 75%
    );
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.star_content .star:nth-child(5):before {
    color: #ddd;
}