/********************************************************
			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;
}
/* Fallback grid if Owl Carousel has NOT initialized after page load */
.tm-carousel.cp-grid-fallback,
.cp-carousel.cp-grid-fallback {
  display: flex !important;
  flex-wrap: wrap;
}
.cp-grid-fallback > article {
  width: 25%;
  padding: 0 10px;
  margin-bottom: 20px;
}
@media (max-width: 991px) {
  .cp-grid-fallback > article { width: 33.33%; }
}
@media (max-width: 767px) {
  .cp-grid-fallback > article { width: 50%; }
}
.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: 0;
}
.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: 48%; }
.cpcategorylist .products .customNavigation { top: 37%; }
.cpcategorylist .customNavigation i.prev{ left: -25px; }
.cpcategorylist .customNavigation i.next{ right: -25px; }
.testimonial-block-part .customNavigation { top: 40%; }

.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, 
#tminstagramblock .btn.prev.instagram_prev,
.special-products .customNavigation i.prev,
.btn.prev.accessories_prev {
	left: -20px;
}
.testimonial-block-part .customNavigation i.prev{
  left: 12px;
}
.tmcategorylist .customNavigation i.next, 
#tminstagramblock .btn.next.instagram_next,
.special-products .customNavigation i.next,
.btn.next.accessories_next  {
  right: -20px;
}
.testimonial-block-part .customNavigation i.next{
  right: 12px;
}
.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,
  .btn.prev.accessories_prev {
    left: -15px;
  }
  .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: -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;
  }
}
@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: 30%;
  }
  .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) {
}

/* ====== Fix Phone Number direction in RTL (Arabic) ====== */
body.lang-rtl #block-contact_list li.phone-ltr,
body.lang-rtl #block-contact_list li.phone-ltr a {
  direction: ltr !important;
  unicode-bidi: plaintext !important;
  text-align: left !important;
}

/* ====== Remove white space before footer on product page ====== */
body#product main,
body#product #main,
body#product #content-wrapper,
body#product .page-content,
body#product .page-content--product,
body#product .product-container,
body#product .wrapper {
  margin-bottom: 0 !important;
  padding-bottom: 0 !important;
}
#wrapper,
section#wrapper,
body#product #wrapper,
body#product section#wrapper {
  min-height: 0 !important;
  padding-bottom: 0 !important;
  margin-bottom: 0 !important;
}
body#product .page-footer,
body#product footer.page-footer {
  margin: 0 !important;
  padding: 0 !important;
}
body#product .footer-container {
  margin-top: 0 !important;
  padding-top: 0 !important;
}
body#product .footer-before,
body#product .footer-before .container {
  padding: 0 !important;
  margin: 0 !important;
}
body#product .footer-before:empty {
  display: none !important;
}
/* Hidden hooks container must not reserve space */
body#product .footer-hidden-hooks {
  display: none !important;
  height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
}

@media (max-width: 767px) {
  body#product .ps-landing-related,
  body#product .ps-landing-trust,
  body#product .ps-landing-reviews,
  body#product .ps-landing-features {
    margin-bottom: 0 !important;
  }
  body#product .footer-middle {
    padding-top: 10px !important;
  }
}

/* footer-middle and footer-before removed from template */

/* ====== cp_footercms1: horizontal legal links ====== */
#cpfootercms1 {
  width: 100% !important;
  text-align: center !important;
}
#cpfootercms1 .cp-footer-links {
  display: block !important;
  text-align: center !important;
  padding: 8px 15px !important;
  margin: 0 !important;
}
#cpfootercms1 nav.cp-footer-links a,
.footer-after #cpfootercms1 nav.cp-footer-links a,
#cpfootercms1 .cp-footer-links > a {
  display: inline-block !important;
  color: #666 !important;
  text-decoration: none !important;
  font-size: 13px !important;
  font-weight: 500 !important;
  padding: 4px 14px !important;
  line-height: 1.2 !important;
  border-right: 2px solid #e67e22 !important;
  transition: color .2s !important;
}
#cpfootercms1 nav.cp-footer-links a:last-of-type,
.footer-after #cpfootercms1 nav.cp-footer-links a:last-of-type,
#cpfootercms1 .cp-footer-links > a:last-of-type {
  border-right: none !important;
}
#cpfootercms1 nav.cp-footer-links a:hover,
#cpfootercms1 nav.cp-footer-links a:focus,
.footer-after #cpfootercms1 nav.cp-footer-links a:hover,
.footer-after #cpfootercms1 nav.cp-footer-links a:focus,
#cpfootercms1 .cp-footer-links > a:hover {
  color: #e67e22 !important;
  text-decoration: none !important;
}

body.lang-rtl #cpfootercms1 nav.cp-footer-links a {
  border-right: none !important;
  border-left: 2px solid #e67e22 !important;
}
body.lang-rtl #cpfootercms1 nav.cp-footer-links a:last-of-type {
  border-left: none !important;
}

@media (max-width: 767px) {
  #cpfootercms1 nav.cp-footer-links a,
  #cpfootercms1 .cp-footer-links > a {
    font-size: 12px !important;
    padding: 3px 10px !important;
  }
}

/* ====== Footer layout fix ====== */
.footer-right {
  display: flex !important;
  flex-wrap: wrap !important;
}

/* Desktop: 3 columns */
.footer-right .links.block {
  width: 33.333% !important;
  flex: 0 0 33.333% !important;
  max-width: 33.333% !important;
  float: none !important;
}

/* Mobile: full width stacked blocks */
@media (max-width: 767px) {
  .footer-right {
    flex-direction: column !important;
  }
  .footer-right .links.block {
    width: 100% !important;
    flex: 0 0 100% !important;
    max-width: 100% !important;
    padding: 0 !important;
    margin-bottom: 0 !important;
  }
  .footer-right .links.block .h3,
  .footer-right .links.block .title {
    padding: 12px 15px !important;
    margin: 0 !important;
    font-size: 15px !important;
    border-bottom: 1px solid rgba(0,0,0,0.08) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
  }
  .footer-right .links.block .block_content {
    padding: 0 15px !important;
  }
  .footer-right .links.block .block_content li {
    padding: 8px 0 !important;
    border-bottom: 1px solid rgba(0,0,0,0.04) !important;
  }
  .footer-right .links.block .block_content li a {
    font-size: 14px !important;
    color: #555 !important;
  }

  /* Footer-after: stack properly */
  .footer-after .container {
    text-align: center !important;
  }
  .footer-after .copyright {
    margin-bottom: 10px !important;
  }

  /* Footer CMS blocks (Service Client, Produits, Informations Légales) */
  #cpfootercms1 {
    display: flex !important;
    flex-direction: column !important;
    gap: 0 !important;
  }
  #cpfootercms1 > div,
  #cpfootercms1 > table,
  #cpfootercms1 .footer-block,
  #cpfootercms1 .col-md-4,
  #cpfootercms1 .col-sm-4,
  #cpfootercms1 .col-lg-4,
  #cpfootercms1 [class*="col-"] {
    width: 100% !important;
    flex: 0 0 100% !important;
    max-width: 100% !important;
    float: none !important;
    display: block !important;
    padding: 0 !important;
  }
  #cpfootercms1 h4,
  #cpfootercms1 h3,
  #cpfootercms1 .h4,
  #cpfootercms1 .h3 {
    padding: 12px 0 !important;
    margin: 0 !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    border-bottom: 1px solid rgba(0,0,0,0.08) !important;
  }
  #cpfootercms1 ul {
    padding: 0 !important;
    margin: 0 0 10px !important;
    list-style: none !important;
  }
  #cpfootercms1 ul li {
    padding: 8px 0 !important;
    border-bottom: 1px solid rgba(0,0,0,0.04) !important;
  }
  #cpfootercms1 ul li a {
    font-size: 14px !important;
    color: #555 !important;
    text-decoration: none !important;
  }
  #cpfootercms1 table {
    display: block !important;
    width: 100% !important;
  }
  #cpfootercms1 table tr {
    display: flex !important;
    flex-direction: column !important;
  }
  #cpfootercms1 table td {
    display: block !important;
    width: 100% !important;
    padding: 0 !important;
  }
}

/* ====== Hide Wishlist Header Icon ====== */
.head-wishlist {
  display: none !important;
}

/* ====== Hide Wishlist & Quick-View Icons ====== */
.wishlist-button-add,
.wishlist-button,
.wishlist-button-product,
.st-wishlist-button,
.wish-comp .wishlist-button-add,
div[class*="wishlist"] a,
.product-miniature .wishlist-button-add {
  display: none !important;
}
.quick-view,
a.quick-view,
a[data-link-action="quickview"] {
  display: none !important;
}
