/********************************************************
			Coderplace Custom Styles
********************************************************/
.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: 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;
}
.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%;
}
.testimonial-block-part .customNavigation {
  top: 58%;
}
.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;
}
.special-products .customNavigation {
	top: 52%;
}
.special-products:hover .customNavigation, 
.products:hover .customNavigation,
.testimonial-block-part: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;
}
.testimonial-block-part .customNavigation i.prev, 
.special-products .customNavigation i.prev,
.btn.prev.accessories_prev {
	left: -20px;
}
.testimonial-block-part .customNavigation i.next, 
.special-products .customNavigation i.next,
.btn.next.accessories_next  {
  right: -20px;
}
.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;
}
.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;
}
#cpleftbanner1 li a,
#cpleftbanner2 li a {
  display: inline-block;
  position: relative;
  overflow: hidden;
  vertical-align: top;
}

@media (max-width: 1449px) {
  .testimonial-block-part .customNavigation i.prev, 
  .special-products .customNavigation i.prev,
  .btn.prev.accessories_prev {
    left: -15px;
  }
  .testimonial-block-part .customNavigation i.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) {
}

@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;
  }
  
  .testimonial-block-part .customNavigation i.prev, 
  .special-products .customNavigation i.prev,
  .btn.prev.accessories_prev {
    left: 0;
  }
  .testimonial-block-part .customNavigation i.next,
   .special-products .customNavigation i.next,
   .btn.next.accessories_next {
    right: 0;
  }
  #main .images-container .js-qv-mask .customNavigation {
    top: 13px;
  }
  .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) {
}

/* Jimmy-Mail CSS */
/* Added by Jimmy */
#header .header-top-main.bg_main #cpheadercms2 .jimmy-mail {
  position: relative;
  background-color: #ffd800;
  color: #000000;
  padding: 8px 25px;
  border-radius: 5px;
  margin: 10px 15px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

/* Jimmy-Mail Text Styles */
#header .header-top-main.bg_main #cpheadercms2 .jimmy-mail a {
  font-size: 16px;
  font-weight: 600;
  padding-inline-start: 30px;
  display: inline-block; 
  position: relative;
  text-decoration: none;
  transition: color 0.3s ease;
}

/* Jimmy-Mail Telephone Icon Styles */
#header .header-top-main.bg_main #cpheadercms2 .jimmy-mail a::before {
  content: "";
  position: absolute;
  left: 0px;
  top: 0px;
  -webkit-mask-image: url(../img/megnor/telephone.svg);
  -webkit-mask-position: center;
  -webkit-mask-repeat: no-repeat;
  mask-image: url(../img/megnor/telephone.svg);
  mask-position: center;
  mask-repeat: no-repeat;
  background-color: #000000;
  mask-size: 20px;
  height: 24px;
  width: 20px;
  display: inline-block;
  vertical-align: top;
}

/* Hover Effects */
#header .header-top-main.bg_main #cpheadercms2 .jimmy-mail:hover {
  background-color: #f0cd00;
}

#header .header-top-main.bg_main #cpheadercms2 .jimmy-mail a:hover {
  color: #333333;
}

/* Responsive Adjustments */
@media (max-width: 992px) {
  #header .header-top-main.bg_main #cpheadercms2 .jimmy-mail,
  .menu-container {
    padding: 8px 15px;
    margin: 8px 10px;
  }
  
  #header .header-top-main.bg_main #cpheadercms2 .jimmy-mail a {
    font-size: 14px;
  }
}

/* Additional Related Styles */
#cpcmsbanner4_block1 .left-side.main-content .cms_content .cms-block {
  top: 30px;
}

.image-block_slider {
  width: 20%;
}

#cpcmsbanner1 .cms-block .offer-text2 {
  font-size: 18px;
  line-height: 20px;
}

.service_content::after {
  top: -25px;
}

#products .product_list.list .row {
  grid-gap: 20px;
}

.service_content {
  padding: 0;
}

.footer-container .col-md-4.links::before {
  left: -38px;
}

.cmsbanner .sub-btn {
  bottom: 35px;
}

#footer .footer-container .footer-left::after {
  right: -10px;
  left: auto;
}

/* Added by Jimmy */
.jimmy-mail{
  position: relative;
  background-color: #ffd800;
  color: #000000;
  padding: 8px 25px;
  border-radius: 5px;
}
.jimmy-mail a{
  font-size: 16px;
  font-weight: 600;
  padding-inline-start: 30px;
  display: inline-block; 
  position: relative; 
}
.jimmy-mail a::before{
  content: "";
  position: absolute;
  left: 0px;
  top: 0px;
  -webkit-mask-image: url(../img/megnor/telephone.svg);
  -webkit-mask-position: center;
  -webkit-mask-repeat: no-repeat;
  mask-image: url(../img/megnor/telephone.svg);
  mask-position: center;
  mask-repeat: no-repeat;
  background-color: #000000;
  mask-size: 20px;
  height: 24px;
  width: 20px;
  display: inline-block;
  vertical-align: top;
}

/* Cat Title Alignment */
.cat-title {
  display: inline-block;
  vertical-align: middle;
  margin: 0;
  line-height: 1.2;
  position: relative;
  padding: 12px 0;
  font-size: 18px; /* Increased font size */
  font-weight: 600; /* Added font weight */
}

:root {
  --primary-color: #111111 !important;
  --price-color: #C12F17 !important
}

.btn-primary {
  background-color: #111111;
  color: white;
}

.btn-primary:hover {
  background-color: #C12F17;
}

input.btn.btn-primary.hidden-xs-down:hover {
  background: #FFD700;
  color: #C12F17;
}

#_desktop_logo img {
  height: 140px !important;
}

/* ====================== */
/* JIMMY MAIL BADGE - MOBILE CHROME FIX */
/* DESKTOP STYLES REMAIN UNCHANGED */
/* ====================== */

/* ----- DESKTOP STYLES (DO NOT MODIFY) ----- */
.jimmy-mail {
  position: relative;
  background-color: #ffd800;
  color: #000000;
  padding: 8px 25px;
  border-radius: 5px;
  display: inline-block;
}

.jimmy-mail a {
  font-size: 16px;
  font-weight: 600;
  padding-inline-start: 30px;
  display: inline-block;
  position: relative;
}

.jimmy-mail a::before {
  content: "";
  position: absolute;
  left: 0px;
  top: 0px;
  -webkit-mask: url(../img/megnor/telephone.svg) no-repeat center;
  mask: url(../img/megnor/telephone.svg) no-repeat center;
  background-color: #000000;
  mask-size: 20px;
  -webkit-mask-size: 20px;
  height: 24px;
  width: 20px;
}

/* ====================== */
/* MOBILE NUCLEAR OPTION (Chrome + All Browsers) */
/* Desktop styles remain untouched */
/* ====================== */

@media (max-width: 767px) {
  .jimmy-mail {
    /* Ensure mobile layout */
    display: block !important;
    width: 100% !important;
    text-align: center !important;
    padding: 15px 15px !important;
  }

  .jimmy-mail a {
    /* Reset all styles */
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding-inline-start: 0 !important;
    font-size: 14px !important;
    gap: 8px !important;
  }

  .jimmy-mail a::before {
    /* Replace with embedded SVG */
    content: "" !important;
    display: block !important;
    width: 18px !important;
    height: 18px !important;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23000'%3E%3Cpath d='M20.01 15.38c-1.23 0-2.42-.2-3.53-.56-.35-.12-.74-.03-1.01.24l-1.57 1.97c-2.83-1.35-5.48-3.9-6.89-6.83l1.95-1.66c.27-.28.35-.67.24-1.02-.37-1.11-.56-2.3-.56-3.53 0-.54-.45-.99-.99-.99H4.19C3.65 3 3 3.24 3 3.99 3 13.28 10.73 21 20.01 21c.71 0 .99-.63.99-1.18v-3.45c0-.54-.45-.99-.99-.99z'/%3E%3C/svg%3E") no-repeat center/contain !important;
    
    /* Remove all masking */
    -webkit-mask: none !important;
    mask: none !important;
    background-color: transparent !important;
    
    /* Positioning */
    position: relative !important;
    top: auto !important;
    left: auto !important;
    transform: none !important;
  }
}

/* ====================== */
/* END NUCLEAR OPTION */
/* ====================== */

/* ====================== */
/* END JIMMY MAIL BADGE STYLES */
/* ====================== */
