.htslider-slider-area {
	--theme-container-max-width: initial;
}

/* main icon boxes */
.ct-iconbox .elementor-icon,
.ct-iconbox .elementor-icon-box-title,
.ct-iconbox .elementor-icon-box-description {
	transition: all 0.3s ease;
}
.ct-iconbox:hover .elementor-icon,
.ct-iconbox:hover .elementor-icon-box-title,
.ct-iconbox:hover .elementor-icon-box-description { 
	fill: var(--theme-palette-color-8) !important;
	color: var(--theme-palette-color-8) !important 
}

.elementor-shortcode [data-products] figure {
	margin-bottom: var(--product-element-spacing, 10px) !important;
}
.home .elementor-element-14bdf8e .woocommerce ul.products li.product img {
  display: block !important;
  width: 100% !important;
  max-width: 100% !important;
  height: 280px !important;
  object-fit: contain !important;
  object-position: center !important;
  margin: 0 auto !important;
  transform: none !important;
}

/* Jia-Yi: dropdown background matches the header */
#header .sub-menu {
  background-color: #eeeeee !important;
  --theme-link-initial-color: #0e0d12;
  --theme-link-hover-color: var(--theme-palette-color-1);
}
#header .sub-menu > li > .ct-menu-link {
  color: #0e0d12 !important;
}
#header .sub-menu > li:hover > .ct-menu-link,
#header .sub-menu > li > .ct-menu-link:focus-visible,
#header .sub-menu > li.current-menu-item > .ct-menu-link {
  color: var(--theme-palette-color-1) !important;
}
#header .sub-menu > li {
  border-color: rgba(14, 13, 18, 0.08) !important;
}

/* Jia-Yi Products banner - 2026-10-23 */
body.post-type-archive-product #main > .hero-section {background-image:linear-gradient(rgba(3,15,35,.18),rgba(3,15,35,.18)),url(https://jia-yi.com/wp-content/uploads/2026/10/jiayi-products-banner-20261023.png)!important;background-size:cover!important;background-position:center 64%!important;min-height:380px;display:flex;align-items:center}
body.post-type-archive-product #main > .hero-section .page-title {color:#fff!important;text-shadow:0 2px 16px rgba(0,0,0,.5)}
@media(max-width:689px){body.post-type-archive-product #main > .hero-section{min-height:230px;background-position:center 60%!important}body.post-type-archive-product #main > .hero-section .page-title{font-size:42px!important}}
.home .elementor-element-14bdf8e ul.products {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  width: 100% !important;
  max-width: none !important;
  padding: 0 !important;
  margin: 0 !important;
  gap: 30px !important;
}

.home .elementor-element-14bdf8e ul.products > li.product {
  width: 100% !important;
  max-width: none !important;
  min-width: 0 !important;
  float: none !important;
  margin: 0 !important;
  text-align: center !important;
}

.home .elementor-element-14bdf8e ul.products::before,
.home .elementor-element-14bdf8e ul.products::after {
  display: none !important;
}

@media (max-width: 767px) {
  .home .elementor-element-14bdf8e ul.products {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 20px !important;
  }
}

/* Home product shortcode: fill full widget and center category labels */
.home .elementor-element-14bdf8e,.home .elementor-element-14bdf8e .elementor-shortcode,.home .elementor-element-14bdf8e .woocommerce{width:100%!important;max-width:none!important}
.home .elementor-element-14bdf8e ul.products>li.product .entry-meta{display:flex!important;justify-content:center!important;text-align:center!important}
.home .elementor-element-14bdf8e ul.products>li.product figure .ct-media-container{height:280px!important;aspect-ratio:auto!important}
.home .elementor-element-14bdf8e ul.products>li.product figure img{width:100%!important;height:100%!important;object-fit:contain!important}
