/********************************************************
			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: 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%;
}
.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;
}
.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: 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) {
}


/* 隐藏面包屑导航中除了前两个(首页、手机)和最后一个(商品名)以外的所有中间项 */
.breadcrumb ol li:nth-child(n+3):not(:last-child) {
    display: none !important;
}

/* 移除隐藏项自带的斜杠或图标分隔符 */
.breadcrumb ol li:nth-child(n+3):not(:last-child)::before,
.breadcrumb ol li:nth-child(n+3):not(:last-child)::after {
    display: none !important;
}


/* --------------------------------------------------- */
/* 强制取消全站标题的首字母大写转换，以支持 iPhone 这种特殊格式 */
/* --------------------------------------------------- */

/* 1. 针对商品详情页的商品标题 */
.product-detail-name, .product-name, h1.page-title {
    text-transform: none !important;
}

/* 2. 针对商品列表页（分类页）的商品名称 */
.product-title a, .product-description a {
    text-transform: none !important;
}

/* 3. 针对面包屑导航路径 */
.breadcrumb ol li {
    text-transform: none !important;
}

/* 4. 针对左侧或顶部的分类名称 */
.category-name, .block-categories .category-subcategories a {
    text-transform: none !important;
}

/* 极致覆盖：针对详情页、列表页、面包屑的强制原样显示 */
h1.page-header__title, 
.product-detail-name, 
.product-title a, 
.breadcrumb ol li,
#main h1 {
    text-transform: none !important;
}
/* --------------------------------------------------- */
/* 强制取消全站标题的首字母大写转换，以支持 iPhone 这种特殊格式 */
/* --------------------------------------------------- */



/* 属性跳转按钮样式 */
/* 强制覆盖模板默认样式 */
.btn-variant {
    display: block;
    padding: 10px 14px !important;
    border: 1px solid #ced4da !important;
    background: #ffffff !important;
    color: #495057 !important;
    font-size: 12px !important;
    text-transform: none !important;
    border-radius: 4px;
    text-decoration: none !important;
    min-width: 80px;
    text-align: center;
}

.btn-variant:hover {
    border-color: #000 !important;
    background-color: #f8f9fa !important;
}











/* ---                                              --- */
/* --- 彻底移除类目页左侧列的物理空间 -开始-- */
#left-column {
    display: none !important;
}

/* 让主内容区占据 100% 宽度，不再受制于侧边栏 */
#content-wrapper {
    width: 100% !important;
    margin-left: 0 !important;
    padding-left: 0 !important;
    border: none !important; /* 有些模板会在左侧加一条分割线，这里一并去掉 */
}

/* 确保内部容器也自适应铺满 */
#content {
    width: 100% !important;
}
/* --- 彻底移除类目页左侧列的物理空间 --结束---- */
/* ---                                              --- */



/* ---                                              --- */
/* ---开始 --- 搜索下拉框两栏布局样式 --- */
/* 1. 整体容器：强制变成左右并排 */
.ui-autocomplete {
    display: flex !important;
    flex-wrap: wrap;
    width: 650px !important; /* 宽度加大以容纳两栏 */
    background: #fff !important;
    border: 1px solid #e5e5e5 !important;
    padding: 0 !important;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1) !important;
}

/* 2. 左侧建议栏 (Suggestions) */
.search-col-suggestions {
    width: 35%; 
    border-right: 1px solid #eee;
    padding: 15px;
    background-color: #f9f9f9;
}

/* 3. 右侧产品栏 (Produits) */
.search-col-products {
    width: 65%;
    padding: 15px;
}

/* 4. 标题样式 (Suggestions / Produits) */
.search-col-suggestions h3, 
.search-col-products h3 {
    font-size: 13px;
    font-weight: bold;
    color: #333;
    text-transform: uppercase;
    margin-bottom: 15px;
    border-bottom: 2px solid #ffdb00; /* AlloAllo 风格的黄色底线 */
    display: inline-block;
}

/* 5. 产品项样式：图片+文字并排 */
.search-product-item {
    display: flex;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid #f5f5f5;
}

.search-product-item img {
    width: 50px;
    height: auto;
    margin-right: 15px;
}

.search-product-item .product-name {
    font-size: 14px;
    color: #333;
}
/* ---结束-----搜索下拉框两栏布局样式 --- */
/* ---                                              --- */






/* ---                                          --------------------    --- */
/* --- 开始-ALLO-STYLE HERO FINAL细节打磨 (1:1 复刻最终版) --- */
/* =========================================================
   TOKOPHONE - ALLOALLO-like global width and yellow nav fix
   Add this at the END of custom.css
========================================================= */

:root {
  --aa-site-width: 1240px;
  --aa-page-gutter: 20px;
  --aa-category-trigger-width: 235px;
}

/* Global framework width */
@media (min-width: 1200px) {
  .container,
  .container-home,
  .columns.container,
  #wrapper .container,
  #wrapper-top .container,
  #header .container,
  #footer .container,
  .footer-container .container,
  .breadcrumb .container {
    box-sizing: border-box !important;
    max-width: var(--aa-site-width) !important;
    width: 100% !important;
  }
}

/* Keep safe side padding on desktop/tablet/mobile */
.container,
.container-home,
.columns.container,
#header .container,
#wrapper .container,
#wrapper-top .container,
#footer .container,
.footer-container .container {
  padding-left: var(--aa-page-gutter) !important;
  padding-right: var(--aa-page-gutter) !important;
}

/* Avoid nested header module container adding extra width/padding */
#header .header-top-main.bg_main .container > .container.text-xs-center.mobile {
  padding-left: 0 !important;
  padding-right: 0 !important;
}

/* Yellow navigation parent */
#header .header-top-main.bg_main {
  min-height: 44px !important;
  overflow: visible !important;
}

#header .header-top-main.bg_main > .container {
  align-items: center !important;
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  min-height: 44px !important;
  position: relative !important;
}

/* Left Browse Categories block */
#header .header-top-main.bg_main > .container > .container.text-xs-center.mobile {
  align-items: center !important;
  display: inline-flex !important;
  flex: 0 0 var(--aa-category-trigger-width) !important;
  float: none !important;
  height: 44px !important;
  margin: 0 !important;
  max-width: var(--aa-category-trigger-width) !important;
  min-width: var(--aa-category-trigger-width) !important;
  padding: 0 !important;
  width: var(--aa-category-trigger-width) !important;
}

#header .header-top-main.bg_main .menu-container {
  align-items: center !important;
  border-inline-end: 1px solid rgba(0, 0, 0, 0.12) !important;
  display: flex !important;
  height: 44px !important;
  margin: 0 !important;
  padding: 0 18px !important;
  width: 100% !important;
}

#header .header-top-main.bg_main .menu-icon,
#header .header-top-main.bg_main .mobile .cat-title {
  align-items: center !important;
  display: flex !important;
  height: 44px !important;
  line-height: 44px !important;
  margin: 0 !important;
  padding: 0 !important;
  white-space: nowrap !important;
}

/* Side vertical menu panel: remove it from layout flow */
#header .header-top-main.bg_main #cp_sidevertical_menu_top {
  float: none !important;
  left: 0 !important;
  margin: 0 !important;
  max-width: 320px !important;
  padding: 0 !important;
  position: absolute !important;
  top: 44px !important;
  width: 320px !important;
  z-index: 9999 !important;
}

/* Do not let the side menu panel occupy a full row */
#header .header-top-main.bg_main #cp_sidevertical_menu_top.col-lg-12 {
  flex: 0 0 auto !important;
}

/* Main category navigation occupies remaining row */
#header .header-top-main.bg_main #_top_main_menu {
  display: block !important;
  flex: 1 1 auto !important;
  float: none !important;
  margin: 0 !important;
  max-width: none !important;
  min-width: 0 !important;
  padding: 0 !important;
  position: relative !important;
  width: auto !important;
}

/* Main menu list layout */
#header .header-top-main.bg_main #_top_main_menu > ul#top-menu {
  align-items: center !important;
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  justify-content: space-between !important;
  list-style: none !important;
  margin: 0 !important;
  min-height: 44px !important;
  overflow: hidden !important;
  padding: 0 !important;
  width: 100% !important;
}

/* Top-level menu items */
#header .header-top-main.bg_main #_top_main_menu > ul#top-menu > li {
  align-items: center !important;
  display: inline-flex !important;
  flex: 0 0 auto !important;
  float: none !important;
  height: 44px !important;
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
  white-space: nowrap !important;
}

/* Top-level menu links */
#header .header-top-main.bg_main #_top_main_menu > ul#top-menu > li > a {
  align-items: center !important;
  color: #111 !important;
  display: inline-flex !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  height: 44px !important;
  line-height: 44px !important;
  margin: 0 !important;
  padding: 0 8px !important;
  text-decoration: none !important;
  white-space: nowrap !important;
}

/* Hide leftover right-side CMS / wishlist / compare placeholders in yellow nav */
#header .header-top-main.bg_main #cpheadercms2,
#header .header-top-main.bg_main .ap-btn-wishlist,
#header .header-top-main.bg_main .ap-btn-compare,
#header .header-top-main.bg_main .ap-total-wishlist,
#header .header-top-main.bg_main .ap-total-compare,
#header .header-top-main.bg_main .wishlist,
#header .header-top-main.bg_main .compare {
  display: none !important;
}

/* If the old More item is still generated by cached JS, hide it */
#header .header-top-main.bg_main #more_menu,
#header .header-top-main.bg_main .more_menu {
  display: none !important;
}

/* Dropdown submenu should still appear over the page */
#header .header-top-main.bg_main #_top_main_menu .sub-menu {
  z-index: 10000 !important;
}

/* Medium desktop adjustment */
@media (min-width: 992px) and (max-width: 1199px) {
  :root {
    --aa-category-trigger-width: 210px;
    --aa-page-gutter: 16px;
  }

  #header .header-top-main.bg_main #_top_main_menu > ul#top-menu {
    justify-content: flex-start !important;
    gap: 22px !important;
    overflow-x: auto !important;
  }

  #header .header-top-main.bg_main #_top_main_menu > ul#top-menu::-webkit-scrollbar {
    display: none !important;
  }
}

/* Mobile/tablet: allow horizontal scroll instead of breaking layout */
@media (max-width: 991px) {
  :root {
    --aa-category-trigger-width: 190px;
    --aa-page-gutter: 14px;
  }

  #header .header-top-main.bg_main > .container {
    overflow-x: auto !important;
    scrollbar-width: none !important;
  }

  #header .header-top-main.bg_main > .container::-webkit-scrollbar {
    display: none !important;
  }

  #header .header-top-main.bg_main #_top_main_menu > ul#top-menu {
    justify-content: flex-start !important;
    gap: 20px !important;
    overflow-x: visible !important;
    width: max-content !important;
  }

  #header .header-top-main.bg_main #_top_main_menu {
    flex: 0 0 auto !important;
    width: auto !important;
  }
}

/* --- 开始-ALLO-STYLE HERO FINAL细节打磨 (1:1 复刻最终版) --- */
/* ---                                          --------------------    --- */



