html {
    overflow-x: hidden;
    margin-top: 0 !important;
}

html,
html a,
body {
    -webkit-font-smoothing: antialiased;
}

body {
    position: relative;
    font-family: 'Noto Sans TC';
    margin-bottom: 0;
}

p {
    font-family: 'Noto Sans TC';
    font-style: normal;
    font-weight: 400;
    font-size: 14px;
    line-height: 22px;
    margin: 0;
    /* identical to box height, or 157% */

    letter-spacing: 1px;
}

img {
    width: 100%;
}

ul {
    padding-left: 0;
    margin: 0;
}

em,
li,
li a {
    list-style: none;
}

a {
    color: #000000;
    outline: 0;
}

a:focus,
a:hover,
a:active,
a:visited {
    outline: 0;
    color: #000000;
    text-decoration: none !important;
}

button {
    background: none;
    border: 0;
    padding: 0;
    margin: 0;
}

span {
    font-size: 14px;
    font-weight: 400;
    font-family: 'Noto Sans TC';
    color: #bfc1c7;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 700;
    font-family: 'Noto Sans TC';
    color: #000000;
    line-height: 1.4;
    margin: 0;
}

h1>a,
h2>a,
h3>a,
h4>a,
h5>a,
h6>a {
    color: #000000;
}

h1>a:hover,
h2>a:hover,
h3>a:hover,
h4>a:hover,
h5>a:hover,
h6>a:hover {
    text-decoration: none;
}

h1>a:focus,
h2>a:focus,
h3>a:focus,
h4>a:focus,
h5>a:focus,
h6>a:focus {
    text-decoration: none;
}

h1 {
    font-size: 40px;
}

h2 {
    font-size: 30px;
}

h3 {
    font-size: 22px;
}

h4 {
    font-size: 22px;
}

::selection {
    color: #fff;
    background: #17bed2;
    text-shadow: none;
}

::-webkit-selection {
    color: #fff;
    background: #17bed2;
    text-shadow: none;
}

::-moz-selection {
    color: #fff;
    background: #17bed2;
    text-shadow: none;
}

:active,
:focus {
    outline: none;
}

.page404 {
    width: 100%;
    height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.page404 .page-title {
    font-size: 100px;
}

.list-unstyled:after {
    content: '';
    display: block;
    clear: both;
}

.next-page,
.pre-page {
    cursor: pointer;
}

.paginationDiv {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 2em;
}

.pagination li {
    margin: 0 1em;
}

.pagination__link {
    border-radius: 0;
}

.pagination__link--active {
    background: #333333 !important;
    color: #fff !important;
}

.pagination>li>a,
.pagination>li>span {
    color: #333333;
    background: initial;
    border: 0;
}

.pagination>li>a:hover {
    color: #333333;
    background: initial;
}

.pagination>li:first-child>a,
.pagination>li:first-child>span,
.pagination>li:last-child>a,
.pagination>li:last-child>span {
    border: 0;
    border-radius: 0;
}

.fa-chevron-down {
    transform: rotate(0deg);
    transition: all 0.6s;
}

.fa-chevron-down.active {
    transform: rotate(180deg);
}

.hdlistmenu .menu-dropdown-icon > a > p > .fa-chevron-down {
    margin-inline-start: 8px;
}

.list-hori__link:hover p {
    color: #0157BE;
}

.list-hori__link--active p {
    color: #0157BE;
}

.accordion__subcategory-link:hover {
    background: #E0E0E0;
}

.accordion__subcategory-link.active p {
    color: #0157BE;
}

/*------------------------------------------------------------------
        [Promo Banner]
  ------------------------------------------------------------------*/
.ctprds {
    margin-bottom: 80px;
}

.promo-banner:before {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: rgba(81, 87, 105, 0.4);
    content: " ";
}

.promo-banner .promo-banner-title {
    font-size: 50px;
    color: #fff;
    margin-bottom: 15px;
}

.promo-banner .promo-banner-text {
    font-size: 20px;
    color: #eee;
    font-weight: 600;
}

body {
    background: #e9e9e9;
}

.product_breadcrumb {
    width: 85%;
    margin: auto;
    margin-top: 60px;
}

#breadcrumbs a,
#breadcrumbs span {
    color: #fff;
}

.product_breadcrumb #breadcrumbs a,
.product_breadcrumb #breadcrumbs span {
    color: #000;
}
.breadcrumb_last{
    opacity: .8;
}
.breadcrumbct span{
    color:#fff;
    opacity: .8;
}
/* inpgbndiv */
.inbnr1 {
    background: url(../images/bnr03.jpg) no-repeat;
}

.inbnr2 {
    background: url(../images/bnr04.jpg) no-repeat;
}

.inbnr3 {
    background: url(../images/bnr02.jpg) no-repeat;
}

.inbnr4 {
    background: url(../images/bnr01.jpg) no-repeat;
}

.inpgbndiv {
    position: relative;
    background-size: cover;
    background-position: left center;
    height: 360px;
}

.inpgbndiv .shade {
    opacity: .3;
}

.inpgbndiv .inpgbntxt {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: #FFFFFF;
    letter-spacing: 1px;
}

.inpgbndiv .inpgbntxt h2 {
    font-weight: 500;
    font-size: 32px;
    line-height: 38px;
    color: #FFFFFF;
    margin-bottom: 20px;
}

.inpgbndiv .inpgbntxt p {
    font-weight: 400;
    font-size: 14px;
    line-height: 22px;
}

/*header*/
.headerboxbg {
    background: #fff;
}

.headerbox {
    width: 85%;
    padding: 22px 0;
    margin: auto;
    display: flex;
    flex-direction: row;
}

.hdlogo {
    flex: 1;
}

.hdlogo .logo {
    width: 225px;
    display: block;
}

.searchpage:after,
.searchctn:after {
    content: '';
    display: table;
    clear: both;
}

.searchctn {
    width: 85%;
    margin: auto;
    padding: 5em 0;
}

.searchctn .cmdflex {
    margin-bottom: 0;
}

.entry-header {
    height: 40px;
}

.entry-title {
    font-size: 18px;
}

.hdsearch {
    flex: 2;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hdsearch input {
    background: #F5F5F5;
    border: 0;
    width: 100%;
    height: 46px;
    padding-left: 20px;
}

.hdsearch label {
    margin-bottom: 0;
    width: 85%;
}

.searchnone h5 {
    margin: 3em 20px;
    color: #5f5f5f;
    font-size: 30px;
}

.searchbtn {
    position: relative;
    width: 46px;
    height: 46px;
    background: #333333;
    display: flex;
    align-items: center;
    justify-content: center;
}

.searchbtn input {
    position: absolute;
    width: 100%;
    height: 100%;
    border: 0;
    padding: 0;
    background: none;
}

.hdrefer {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: end;
}

.hdrefer svg {
    margin-right: 15px;
}

.hdlist .menu-mobile {
    display: none;
}

.hdlist {
    background: linear-gradient(270deg, #0157BE 0%, #1799E2 76.88%);
}

/* 當前點選及hover項目 */
.hdlist .hdlistmenu>ul>li>ul>li>ul>li.current-menu-item a {
    color: #0157BE;
}

.hdlist .hdlistmenu>ul>li>ul>li>ul>li:hover a {
    color: #0157BE;
}

/* 第一層 - 列表 */
.hdlist .hdlistmenu>ul {
    position: relative;
    display: flex;
    flex-direction: row;
    width: 85%;
    margin: auto;
}

/* 第一層 - 個別項目  */
.hdlist .hdlistmenu>ul>li {
    flex: 1;
    text-align: center;
}

/* 第一層 - 個別項目連結  */
.hdlist .hdlistmenu>ul>li a {
    margin: 0;
    color: #fff;
    display: inherit;
    padding: 1em 0;
}

.hdlist .hdlistmenu>ul>li>a>p {
    font-weight: 500;
    font-size: 16px;
    line-height: 24px;
    border-left: 1px solid #fff;
}

.hdlist .hdlistmenu>ul>li:last-child p {
    border-right: 1px solid #fff;
}

/* 第二層 - 列表 */
.hdlist .hdlistmenu>ul>li>ul {
    display: none;
    width: 100%;
    background: #f0f0f0;
    padding: 40px 100px;
    position: absolute;
    z-index: 99;
    left: 0;
    margin: 0;
}

/* 第二層 - 個別項目  */
.hdlist .hdlistmenu>ul>li>ul>li {
    width: 28%;
    float: left;
    margin-right: 60px;
}

.hdlist .hdlistmenu>ul>li>ul>li:last-child {
    margin-right: 0;
}

/* 第二層 - 個別項目連結  */

.hdlist .hdlistmenu>ul>li>ul>li a {
    padding: 0.2em 0;
    width: 95%;
    display: block;
    text-align: left;
    font-size: 14px;
    line-height: 22px;
    letter-spacing: 1px;
    color: #333333;
}

.hdlist .hdlistmenu>ul>li>ul>li>a {
    display: none;
}

/* 第三層 - 列表 */
.hdlist .hdlistmenu>ul>li>ul>li>ul {
    display: block;
    padding: 0;
    margin: 10px 0 0;
    list-style: none;
    box-sizing: border-box;
}

/* 第三層 - 個別項目  */
.hdlist .hdlistmenu>ul>li>ul>li>ul>li {
    float: left;
    width: 100%;
    padding: 10px 0;
    margin: 0;
    font-size: 0.8em;
    border-bottom: 1px solid #E0E0E0;
}

/* 第三層 - 個別項目連結  */
.hdlist .hdlistmenu>ul>li>ul>li>ul>li a {
    border: 0;
}

.hdlist .hdlistmenu>ul>li>ul.normal-sub {
    width: 300px;
    left: auto;
    padding: 10px 20px;
}

.hdlist .hdlistmenu>ul>li>ul.normal-sub>li {
    width: 100%;
}

.hdlist .hdlistmenu>ul>li>ul.normal-sub>li a {
    border: 0;
    padding: 1em 0;
}


.swbanner {
    position: relative;
    margin: 60px 0;
}

.swbanner .carousel-prev,
.swbanner [dir="rtl"] .carousel-next {
    background-image: url(../images/arrowleft.png) !important;
    background-size: 20px 80px !important;
    height: 80px !important;
    left: -55px !important;
    top: 45% !important;
    opacity: .5;
}

.swbanner .carousel-prev:hover,
.swbanner [dir="rtl"] .carousel-next:hover {
    opacity: 1;
}

.swbanner .carousel-next,
.swbanner [dir="rtl"] .carousel-prev {
    background-image: url(../images/arrowright.png) !important;
    background-size: 20px 80px !important;
    height: 80px !important;
    right: -55px !important;
    top: 45% !important;
    opacity: .5;
}

.swbanner .carousel-next:hover,
.swbanner [dir="rtl"] .carousel-prev:hover {
    opacity: 1;
}

.comdtyctain {
    display: flex;
    flex-direction: row;
    margin-bottom: 60px;
}

.cmdct-l {
    flex: 1;
}

.cmdct-r {
    flex: 3;
    padding-left: 3em;
}

.cmdct-l li a {
    display: block;
    padding: 0 30px;
    background: #EEEEEE;
}

.cmdct-l li p {
    padding: 20px 0px;
    border-bottom: 1px solid #E0E0E0
}

.cmdctltit {
    position: relative;
    display: flex;
    align-items: center;
    padding: 20px 30px;
    background: #333333;
    color: #fff;
}

.cmdctltit button {
    display: none;
    position: absolute;
    top: 0;
    bottom: 0;
    right: 20px;
    margin: auto;
}

.menu-dropdown-icon>a button>img {
    width: 16px;
    height: 16px;
}

.dropdown-icon {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    border-left: 1px solid #fff;
}

.dropdown-icon p {
    border: 0 !important;
}

.exhibit {
    margin-top: 5em;
}

.cmdctrctn {
    min-height: 400px;
}

.cmdctrctn:after,
.posts-list:after {
    content: "";
    display: block;
    clear: both;
}

.cmdct-r .cmdctrhd {
    position: relative;
    margin-bottom: 30px;
}

.cmdct-r .cmdctrhd .prds_all {
    position: absolute;
    right: 0;
    bottom: 0;
}


.cmdflex {
    display: block;
    float: left;
    width: 23.7%;
    margin-right: 1em;
    margin-bottom: 1em;
}

.cmdflex::after {
    content: '';
    display: block;
    clear: both;
}

.cmdflex:nth-of-type(4n) {
    margin: 0;
}

.cmdflex .cmdimg {
    display: block;
    height: 280px;
    overflow: hidden;
}

.cmdflex img {
    width: 100%;
    height: auto;
}

.cmdflex .cmdtxt {
    margin-top: 1em;
    height: 60px;
}

.cmdflex .cmdtxt p {
    font-weight: 500;
    color: #333333;
}

.cmdflex .cmdtxt p.cmdtag {
    color: #7D7D7D;
    font-weight: 400;
    margin-bottom: 4px;
}

.cmdshade {
    position: relative;
    display: block;
    transform: scale(1, 1);
    transition: all .5s ease-out;
}

.cmdshade:hover {
    transform: scale(1.2, 1.2);
}

.cmd_act_pos {
    position: relative;
}

.cmd_activity {
    position: absolute;
    display: flex;
    align-items: center;
    top: 15px;
    left: 0;
    z-index: 9;
}

.actxt {
    background: #E10000;
    color: #fff;
    padding: 0 12px;
    height: 24px;
    font-size: 12px;
    display: flex;
    align-items: center;
}

.cmdflex .shadeimg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #000;
    opacity: 0;
    z-index: 1;
    transition-duration: .5s;
    -webkit-transition-property: opacity;
    /* Safari */
    -webkit-transition-duration: .5s;
    /* Safari */
}

.cmdflex .shadeimg:hover {
    opacity: .1;
}

/*contan*/
.contan {
    width: 85%;
    margin: auto;
}

.certified {
    width: 85%;
    margin: 5em auto;
    display: flex;
    flex-direction: rox;
    align-items: center;
    justify-content: center;
}

.certified .certifiedL {
    flex: 2;
    display: flex;
    align-items: center;
    justify-content: center;
}

.certified .certifiedL .certifiedLimg {
    margin-right: 30px;
}

.certified .certifiedL .certifiedLimg:last-child {
    margin-right: 0px;
}

.certified .certifiedR {
    flex: 1;
    padding: 0 4em;
}

.certified .certifiedRtitle {
    margin-bottom: 30px;
}

.certifiedRtitle h3 {
    font-family: 'Noto Sans TC';
    font-style: normal;
    font-weight: 500;
    font-size: 24px;
    line-height: 36px;
    letter-spacing: 1px;
    color: #333333;
}

.certified .certifiedCtain p {
    font-family: 'Noto Sans TC';
    font-style: normal;
    font-weight: 400;
    font-size: 16px;
    line-height: 26px;
    text-align: left;
    letter-spacing: 1px;
    color: #333333;
}

/*promo-banner*/
.promo-banner {
    position: relative;
    z-index: 1;
    text-align: center;
    background: url(../images/bnr01.jpg) no-repeat;
    background-size: cover;
    background-position: center center;
    height: 340px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.promotxtDiv {
    width: 70%;
}

.promotxtDiv h5 {
    color: #fff;
    font-family: 'Noto Sans TC';
    font-style: normal;
    font-weight: 500;
    font-size: 24px;
    line-height: 36px;
    letter-spacing: 1px;
    margin-bottom: 30px;
}

.promotxtDiv p {
    font-family: 'Noto Sans TC';
    font-style: normal;
    font-weight: 400;
    font-size: 16px;
    line-height: 26px;
    letter-spacing: 1px;
    color: #FFFFFF;
    text-align: left;
}

/*OptDiv*/
.OptDiv {
    background: #FAFAFA;
    padding: 5em 0;
}

/*swiper*/
.swiperShade {
    position: absolute;
    top: 0;
    z-index: 2;
    width: 100%;
    height: 100%;
    display: flex;
}

.swiperBg {
    width: 400px;
    height: 785px;
}

.Shade1 {
    width: 100%;
    height: 100%;
    opacity: .5;
    background: #ffffff;
}

.Shade2 {
    width: 100%;
    height: 100%;
    opacity: .5;
    background: #ffffff;
}

.home-banner__caption {
    position: absolute;
    top: 65px;
    left: 92px;
}

.home-banner__caption p {
    display: initial;
    background: #333333;
    padding: 5px 8px;
    color: #fff;
    font-family: 'Noto Sans TC';
    font-style: normal;
    font-weight: 400;
    font-size: 12px;
    text-align: justify;
    letter-spacing: 1px;
}

.home-banner__caption h3 {
    font-family: 'Noto Sans TC';
    font-style: normal;
    font-weight: 500;
    font-size: 40px;
    text-align: center;
    letter-spacing: 2px;
    color: #333333;
    margin-top: 22px;
}

.home-banner__image {
    margin: auto;
}

.home-banner__image img {
    width: 100%;
    height: 100%;
}

.home-banner__dot.is-active {
    background: #ffffff !important;
}

/*Mfeature*/
.Mfeaturebox {
    width: 85%;
    margin: auto;
}

.Mfeature {
    position: relative;
    text-align: center;
    background: url(../images/bnr02.jpg) no-repeat;
    background-size: cover;
    background-position: center center;
    height: 220px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 60px;
}

.MftCtain {
    width: 327.4px;
    margin: auto;
}

.MftCtain img {
    width: 100%;
    height: 100px;
    margin: auto;
    margin-top: 3em;
    margin-bottom: 3em;
}

.MftCtain p {
    color: #fff;
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 1.5em;
}

.MftBtn {
    padding: 15px 0;
    width: 220px;
    margin: auto;
    color: #fff;
    font-weight: 900;
    font-size: 16px;
    border: 1px solid #fff;
}

.MftTxt {
    color: white;
    margin-top: 30px;
    letter-spacing: 1px;
    font-size: 14px;
}

/*footerlist*/
.footerlist {
    background: #D7E7F3;
}

.footerlist ul {
    display: flex;
    flex-direction: row;
    padding: 1em 0;
    width: 85%;
    margin: auto;
}

.footerlist li {
    flex: 1;
    text-align: center;
}

.footerlist li p {
    border-left: 1px solid #bebebe;
    margin: 0;
    font-family: 'Noto Sans TC';
font-style: normal;
font-weight: 500;
font-size: 16px;
line-height: 24px;
color: #333333;
}

.footerlist li:last-child p {
    border-right: 1px solid #bebebe;
}

.footerinforbg {
    background: #fff;
    padding: 60px 0;
}

.footerinfor {
    width: 85%;
    margin: auto;
    display: flex;
    flex-direction: row;
}

.footerinfor .logo {
    width: 75%;
}

.infor1,
.infor2,
.infor3 {
    flex: 1;
}

.infor1 li {
    font-size: 12px;
    font-weight: 400;
}

.infor1 .logo {
    width: 250px;
    display: block;
    margin-bottom: 30px;
}

.infor2 li,
.infor3 li,
.infor2 li a .infor3 li a {
    font-family: 'Noto Sans TC';
    font-style: normal;
    font-weight: 400;
    font-size: 14px;
    line-height: 22px;
    letter-spacing: 1px;
    color: #333333;
    margin-bottom: 4px;
}


/* -------------------------------- about style*/

/* introdiv */
.introdiv {
    background: url(../images/intro.jpg) no-repeat;
    background-size: cover;
    background-position: left center;
    height: 264px;
}

.introdiv .contan {
    display: flex;
    flex-direction: row;
    padding: 80px 0;
}

.introdiv .contan .intro-l {
    flex: 1;
    border-right: 2px solid #333333;
}

.introdiv .contan .intro-r {
    flex: 3;
    padding-left: 30px;
}

/* manufacturingproject */
.manufacturingproject {
    width: 70%;
    margin: auto;
    padding: 80px 0;
}

.mftpj {
    display: flex;
    flex-direction: row;
    margin-bottom: 40px;
}

.mftpj:last-child {
    margin-bottom: 0;
}

.mftpj-l {
    flex: 2;
    display: flex;
    align-items: start;
}

.mftpjnb {
    font-family: 'Roboto';
    font-weight: 500;
    font-size: 48px;
    line-height: 60px;
    letter-spacing: 1px;
    color: #0158BE;
    margin-right: 30px;
}

.mftpjtxt span {
    border-bottom: 1px solid #E0E0E0;
    margin: 20px 0;
    display: block;
}

.mftpjtxt h6 {
    font-weight: 500;
    font-size: 18px;
    line-height: 28px;
}

.mftpjtxt p {
    font-weight: 400;
    font-size: 16px;
    line-height: 26px;
}

.mftpj-r {
    flex: 1;
    margin-left: 60px;
}

.mftpj-r img {
    width: 100%;
    height: auto;
}

.shade {
    position: absolute;
    width: 100%;
    height: 100%;
    background: #000;
    opacity: .5;
}

.banr3 {
    position: relative;
    background: url(../images/bnr03.jpg) no-repeat;
    background-size: cover;
    background-position: left center;
    height: 156px;
}

.banr3 .banrCtn {
    position: absolute;
    width: 443px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.banr3 .banrCtn p {
    font-weight: 500;
    font-size: 18px;
    line-height: 28px;
    text-align: center;
    letter-spacing: 1px;
    color: #FFFFFF;
}

/* isouldiv */
.isouldiv {
    width: 60%;
    margin: auto;
    padding: 80px 0;
}

.isouldiv .iultxt {
    margin-bottom: 40px;
}

.isouldiv .iultxt h5 {
    font-weight: 500;
    font-size: 24px;
    line-height: 36px;
    text-align: center;
    letter-spacing: 1px;
    color: #333333;
    margin-bottom: 20px;
}

.isouldiv .iultxt p {
    font-weight: 400;
    font-size: 16px;
    line-height: 26px;
    text-align: center;
    letter-spacing: 1px;
    color: #333333;
}

.isouldiv .iulimg {
    display: flex;
    flex-direction: row;
}

.isouldiv .iulimg .cerimg {
    flex: 1;
    margin-right: 30px;
}

.isouldiv .iulimg .cerimg:last-child {
    margin-right: 0;
}

.isouldiv .iulimg img {
    width: 100%;
}

.isouldiv .iulimg img:last-child {
    margin-right: 0;
}

/* -------------------------------- process style*/
.process {
    width: 90%;
    margin: 80px auto;
    background: #fff;
    box-shadow: 5px 10px 30px rgba(0, 0, 0, 0.05);
    padding: 60px 140px;
}

.process img {
    width: 100%;
    height: auto;
}

/* -------------------------------- product style*/
/* 商品 */
.product-gallery {
    display: flex;
    align-items: center;
    height: 500px;
    overflow: hidden;
}

/* 商品大圖 */
.product-image {
    display: none;
}

.product-image {
    display: block;
    width: 500px;
    height: 500px;
    overflow: hidden;
}

/* 商品列圖示 */
.product-thumbnails__viewport {
    position: relative;
    overflow: hidden;
    z-index: 1;
    height: 414px;
    margin: auto;
}

.product-thumbnails .carousel-prev,
.product-thumbnails [dir="rtl"] .carousel-next {
    background-image: url(../images/arrowup.png) !important;
    background-size: 30px 30px !important;
    background-position: center center;
    width: 100% !important;
    top: -30px !important;
    left: auto !important;
}

.product-thumbnails .carousel-next,
.product-thumbnails [dir="rtl"] .carousel-prev {
    background-image: url(../images/arrowdm.png) !important;
    background-size: 30px 30px !important;
    background-position: center center;
    width: 100% !important;
    right: auto !important;
    bottom: -45px;
    top: auto !important;
}

.product-thumbnails {
    position: relative;
}

.image-list .image-item {
    width: 70px;
    height: 70px;
    background: #000;
}

.product-image img.active {
    display: block;
}

.image-list li:nth-child(3) {
    margin: 0;
}

.image-list img {
    width: 100%;
    height: 100%;
    transition: opacity 0.3s ease;
    cursor: pointer;
}

.image-list img.listshade {
    opacity: 0.7;
}

/* productscetion-1 */


.productscetion {
    display: flex;
    flex-direction: row;
    margin-top: 40px;
    margin-bottom: 80px;
}


.productimg {
    flex: 1;
}

.productintro {
    position: relative;
    flex: 1;
    min-width: 0;
}

.productimg {
    margin-right: 60px;
}

.product-image-empty {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 240px;
    padding: 24px;
    background: #eee;
    color: #777;
}

.product-thumbnails {
    margin-right: 30px;
}

.productintro span {
    display: block;
    width: 100%;
    border-bottom: 1px solid #E0E0E0;
    margin: 30px 0;
}

.introtxt h1 {
    font-weight: 500;
    font-size: 24px;
    line-height: 36px;
    letter-spacing: 1px;
    color: #333333;
    margin-bottom: 8px;
}

.introtxt p {
    font-weight: 400;
    font-size: 16px;
    line-height: 26px;
    letter-spacing: 1px;
    color: #333333;
}

.introlist li {
    list-style: disc;
    font-weight: 400;
    font-size: 16px;
    line-height: 26px;
    letter-spacing: 1px;
    color: #333333;
    margin-left: 18px;
}

.productshare {
    position: static;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 32px;
    color: #333333;
}

.productshare-label {
    flex: 0 0 auto;
    margin: 0;
    white-space: nowrap;
}

.productshare-links {
    display: flex;
    flex: 0 1 auto;
    flex-wrap: wrap;
    gap: 8px;
    min-width: 0;
    margin: 0;
    padding: 0;
    list-style: none;
}

.productshare-links > li {
    flex: 0 0 auto;
    margin: 0;
    padding: 0;
    list-style: none;
}

.productshare-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border: 1px solid transparent;
    border-radius: 50%;
    color: #fff;
    font-size: 20px;
    line-height: 1;
    letter-spacing: 0;
    text-decoration: none;
    transition: filter 0.15s ease;
}

.productshare-link--facebook { background: #1877f2; }
.productshare-link--line { background: #06a044; }
.productshare-link--linkedin { background: #0a66c2; }
.productshare-link--pinterest { background: #bd081c; }
.productshare-link--whatsapp { background: #128c7e; }
.productshare-link--x { background: #111; }

.productshare-link:hover,
.productshare-link:focus,
.productshare-link:visited {
    color: #fff;
    text-decoration: none;
}

.productshare-link:hover {
    filter: brightness(0.88);
}

.productshare-link:focus-visible {
    outline: 3px solid #0158be;
    outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
    .productshare-link { transition: none; }
}

.productdetailintro {
    margin-bottom: 80px;
}

.productdetailintro .contan {
    background: #EEEEEE;
}

.productdetailintro .nav-tabs {
    padding: 0px 80px;
}

.productdetailintro .nav-tabs>li>a {
    margin-right: 0;
    padding: 16px 20px;
}

.productdetailintro .tab-content {
    padding: 40px 80px;
    min-height: 314px;
}
.productdetailintro .tab-content li{
    list-style: initial;
}
.nav-tabs>li.active>a,
.nav-tabs>li.active>a:focus,
.nav-tabs>li.active>a:hover {
    color: #000;
    cursor: default;
    background: none;
    border: 0;
    border-bottom: 2px solid #0158BE;
}

/* -------------------------------- catalog style*/
.catalog {
    margin: 80px 0;
}

.catalog .nav-tabs {
    border-bottom: 0;
}

.catalog .contan {
    display: flex;
    flex-direction: row;
}

.catalog-l {
    flex: 1;
}

.catalog-r {
    flex: 3;
}

.cataloglist {
    cursor: pointer !important;
}

.cataloglist a {
    display: flex !important;
    align-items: center;
}

.cataloglist .clgnb {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Roboto';
    font-weight: 400;
    font-size: 18px;
    line-height: 24px;
    letter-spacing: 1px;
    color: #333333;
    border: 1px solid #E0E0E0;
    border-radius: 100%;
}

.cataloglist p {
    font-family: 'Noto Sans TC';
    font-style: normal;
    font-weight: 500;
    font-size: 16px;
    line-height: 24px;
    letter-spacing: 2px;
    color: #333333;
    margin-left: 14px;
    margin-bottom: 0;
}

.catalog .nav-tabs>li {
    float: none;
    border: 0 !important;
}

.catalog li,
.catalog li:focus,
.catalog li:hover .catalog li:active,
.catalog li:visited {
    background: none;
    border: 0 !important;
}

.catalog .nav-tabs>li>a,
.catalog .nav-tabs>li>a:focus,
.catalog .nav-tabs>li>a:hover,
.catalog .nav-tabs>li>a:active,
.catalog .nav-tabs>li>a:visited {
    background: none;
    border: 0 !important;
    border-bottom-color: initial;
    cursor: pointer;
}

.cataloglist.active .clgnb {
    background: #0158BE !important;
    color: #fff !important;
}

.cataloglist.active p {
    color: #0158BE !important;
}

.cataloglist:hover .clgnb {
    background: #0159bebe;
    color: #fff;
}

.cataloglist:hover p {
    color: #0159bebe;
}

.catalogimg {
    width: 90%;
    margin: auto;
}

.catalogimg img {
    width: 100%;
    height: auto;
    margin-bottom: 40px;
}

/* -------------------------------- connection style*/
.connection {
    margin: 80px 0;
}

.connection .contan {
    display: flex;
    flex-direction: row;
}

.connection-l {
    flex: 1;
}

.connection-r {
    flex: 3;
    margin-left: 80px;
}

.connectiontxt {
    padding-left: 20px;
    border-left: 2px solid #333333;
    margin-bottom: 40px;
}

.connectiontxt h5 {
    font-family: 'Noto Sans TC';
    font-style: normal;
    font-weight: 500;
    font-size: 18px;
    line-height: 28px;
    letter-spacing: 1px;
    color: #333333;
    margin-bottom: 20px;
}

.connectiontxt a {
    display: block;
    font-family: 'Noto Sans TC';
    font-style: normal;
    font-weight: 400;
    font-size: 14px;
    line-height: 22px;
    margin: 0;
    letter-spacing: 1px;
}

.connectionmap iframe {
    width: 100%;
    height: 250px;
    margin-bottom: 10px;
}

.connection-col1 {
    margin-bottom: 16px;
}

.connection-col2 {
    display: flex;
    flex-direction: row;
    margin-bottom: 16px;
}

.connection-col2 .cntinput {
    flex: 1;
}

.connection-col2 .cntinput:first-child {
    margin-right: 16px;
}

.cntinput {
    position: relative;
}

.cntinput input {
    width: 100%;
    height: 50px;
    border: 0;
    background: #EEEEEE;
    padding-left: 15px;
    border-radius: 0;
}

.cntinput input:focus {
    border: 1px solid #000;
}

.wpcf7-not-valid {
    border: 1px solid #E10000 !important;
}

.connection-col1.ctn .cntinput textarea {
    height: 150px;
    width: 100%;
    border: 0;
    background: #EEEEEE;
    padding-top: 10px;
    padding-left: 15px;
    resize: none
}

.connection-col1.ctn .cntinput .wpcf7-not-valid-tip {
    top: 15px;
    bottom: auto;
}

.cntinput .wpcf7-not-valid-tip {
    display: table;
    position: absolute;
    top: 0;
    right: 15px;
    bottom: 0;
    margin: auto;
    color: #0158BE;
}

.cntinput .wpcf7-form-control-wrap {
    display: block;
}

.wpcf7-form-control-wrap .wpcf7-not-valid-tip {
    background: #EEEEEE;
    z-index: 9;
}

.connection-btn {
    float: right;
}

.connection-btn .wpcf7-submit {
    float: right;
    width: 194px;
    height: 48px;
    background: #333333;
    color: #fff;
    text-align: center;
    margin-top: 14px;
    font-weight: 500;
    font-size: 16px;
    line-height: 24px;
    letter-spacing: 2px;
}

.connection-btn:after {
    display: block;
    clear: both;
}

.wpcf7-response-output {
    float: left;
}

@media screen and (min-width: 1800px) {
    .cmdflex .cmdimg {
        height: 310px;
    }
}

@media screen and (min-width: 1640px) {
    .cmdflex .cmdimg {
        height: 250px;
    }
}

@media screen and (max-width: 1550px) {
    .cmdflex .cmdimg {
        height: 220px;
    }

    .searchctn .cmdflex .cmdimg {
        height: 328px;
    }
}

@media screen and (max-width: 1400px) {
    .cmdflex .cmdimg {
        height: 210px;
    }

    .cmdflex {
        width: 23.2%;
    }
}

@media screen and (max-width: 1240px) {
    .cmdflex .cmdimg {
        height: 190px;
    }

    .searchctn .cmdflex .cmdimg {
        height: 270px;
    }
}

@media screen and (max-width: 1025px) {
    .cmdflex .cmdimg {
        height: 150px;
    }
}

@media screen and (max-width: 991px) {
    .contan {
        width: 95%;
    }

    .searchctn .cmdflex .cmdimg {
        height: 220px;
    }

    .home-banner__caption h3 {
        font-size: 25px;
    }

    .product-image {
        width: 400px;
        height: 400px;
    }

    .image-list .image-item {
        width: 50px;
        height: 50px;
    }

    .product-thumbnails {
        margin-right: 20px;
    }

    .productimg {
        margin-right: 30px;
    }

    .introtxt h1 {
        font-size: 18px;
    }

    .introtxt p {
        font-size: 14px;
    }

    .introlist li {
        font-size: 14px;
    }

    .process {
        padding: 50px;
    }
}

@media screen and (max-width: 900px) {
    .product-gallery {
        justify-content: center;
    }

    .productscetion {
        display: block;
    }

    .product-gallery {
        height: 400px;
    }

    .productimg {
        margin-right: 0;
    }

    .product-thumbnails__viewport {
        height: 320px;
    }

    .entry-title {
        font-size: 14px;
    }

    .productintro {
        width: min(350px, 100%);
        min-height: 0;
        margin: auto;
        margin-top: 3em;
    }

    .product-thumbnails .carousel-next,
    .product-thumbnails [dir="rtl"] .carousel-prev {
        bottom: -50px;
    }

    .manufacturingproject {
        width: 85%;
    }

}

@media screen and (max-width: 768px) {
    .promo-banner {
        height: 300px;
    }

    .searchctn .cmdflex .cmdimg {
        height: 190px;
    }

    .home-banner__caption {
        top: 35px;
        left: 45px;
    }

    .hdsearch input {
        height: 40px;
    }

    .searchbtn {
        width: 40px;
        height: 40px;
    }

    .connection-l {
        width: 85%;
        margin: auto;
        margin-bottom: 3em;
    }

    .connection-r {
        width: 85%;
        margin: auto;
        overflow: hidden;
    }

    .promotxtDiv h5 {
        font-size: 20px;
        margin-bottom: 20px;
    }

    .promotxtDiv p {
        font-size: 12px;
    }

    .certifiedRtitle h3 {
        font-size: 20px;
    }

    .certified .certifiedCtain p {
        font-size: 14px;
    }

    .certified .certifiedRtitle {
        margin-bottom: 16px;
    }

    .cataloglist {
        float: left;
        margin-right: 3em;
    }

    .infor1 .logo {
        width: 200px;
        margin-bottom: 8px;
    }

    .infor1,
    .infor2,
    .infor3 {
        margin-bottom: 25px;
    }

    .MftCtain p {
        font-size: 16px;
    }

    .MftBtn {
        padding: 13px 0;
        font-size: 12px;
        width: 175px;
    }

    .mftpj {
        display: block;
    }

    .mftpj-l {
        margin-bottom: 3em;
    }

    .mftpj-r {
        margin-left: 0;
    }

    .introdiv {
        height: auto;
    }

    .introdiv .contan {
        display: block;
        width: 85%;
    }

    .introdiv .contan .intro-l {
        border-right: 0;
        margin-bottom: 1em;
    }

    .introdiv .contan .intro-r {
        padding-left: 0;
    }

    .banr3 .banrCtn {
        width: 80%;
    }

    .banr3 .banrCtn p {
        font-size: 14px;
    }

    .isouldiv {
        width: 80%;
    }

    .infor2 li,
    .infor3 li {
        font-size: 12px;
    }

    .footerlist li p {
        font-size: 12px;
    }

    .comdtyctain,
    .certified,
    .headerbox,
    .footerinfor,
    .catalog .contan,
    .connection .contan {
        display: block;
    }

    .headerbox {
        margin: initial;
    }

    .headerboxbg {
        position: relative;
        display: flex;
        align-items: center;
        justify-content: center;
        flex-direction: row;
    }

    .hdlogo {
        display: flex;
        justify-content: center;
        margin-left: 3em;
    }

    .hdlogo .logo {
        width: 200px;
    }

    .hdrefer {
        display: none;
    }

    .hdsearch {
        margin: 1em 0;
    }


    .hdlistmenu {
        font-size: 32px;
        text-align: center;
    }

    .hdlist {
        width: 80px;
        background: none;
        margin-top: 3em;
    }

    .hdlist .hdlistmenu>ul {
        position: absolute;
        top: 150px;
        left: 0;
        width: 100%;
        background: linear-gradient(270deg, #0157BE 0%, #1799E2 76.88%);
        z-index: 99;
    }

    .hdlist .hdlistmenu>ul>li:last-child p {
        border-right: 0;
    }

    .hdlist .menu-mobile {
        display: block;
    }

    .hdlist .menu-dropdown-icon:before {
        display: block;
    }

    .hdlist .hdlistmenu>ul {
        display: none;
    }

    .hdlist .hdlistmenu>ul>li {
        width: 100%;
        float: none;
        display: block;
    }

    .hdlist .hdlistmenu>ul>li a {
        padding: 1.5em;
        width: 100%;
        display: block;
    }

    .hdlist .hdlistmenu>ul>li>ul {
        position: relative;
    }

    .hdlist .hdlistmenu>ul>li>ul.normal-sub {
        width: 100%;
    }

    .hdlist .hdlistmenu>ul>li>ul>li {
        float: none;
        width: 100%;
        margin-top: 20px;
    }

    .hdlist .hdlistmenu>ul>li>ul>li:first-child {
        margin: 0;
    }

    .hdlist .hdlistmenu>ul>li>ul>li>ul {
        position: relative;
    }

    .hdlist .hdlistmenu>ul>li>ul>li>ul>li {
        float: none;
    }

    .hdlist .hdlistmenu .show-on-mobile {
        display: block;
    }

    .swbanner {
        margin: 0;
        margin-bottom: 2em;
    }

    .swbanner .carousel-prev,
    .swbanner [dir="rtl"] .carousel-next {
        background-image: url(../images/arrowleft.png) !important;
        background-size: 10px 30px !important;
        height: 80px !important;
        left: 0 !important;
        top: 45% !important;
        opacity: .5;
    }

    .swbanner .carousel-prev:hover,
    .swbanner [dir="rtl"] .carousel-next:hover {
        opacity: 1;
    }

    .swbanner .carousel-next,
    .swbanner [dir="rtl"] .carousel-prev {
        background-image: url(../images/arrowright.png) !important;
        background-size: 10px 30px !important;
        height: 80px !important;
        right: 0px !important;
        top: 45% !important;
        opacity: .5;
    }

    .cmdct-l>ul {
        display: none;
    }

    .cmdct-r {
        margin-top: 3em;
        padding-left: 0;
    }

    .cmdctrhd h4 {
        font-size: 18px;
    }

    .cmdct-r .cmdctrhd button {
        font-size: 14px;
    }

    .cmdctltit {
        cursor: pointer;
    }

    .cmdctltit button {
        display: block;
    }

    .certified .certifiedL {
        margin-bottom: 3em;
    }

    .cmdflex .cmdimg {
        height: 180px;
    }

    .catalog .nav-tabs {
        margin-bottom: 3em;
    }
}

@media screen and (max-width: 640px) {
    .promo-banner {
        height: 500px;
    }

    .searchctn .cmdflex .cmdimg {
        height: 280px;
    }

    .cmdflex .cmdimg {
        height: 310px;
    }

    .cmdtxt p {
        font-size: 12px;
    }

    .cmdflex {
        width: 47%;
    }

    .cmdflex:nth-of-type(2n) {
        margin-right: 0;
    }

    .home-banner__caption p {
        padding: 2px 4px;
    }

    .home-banner__caption h3 {
        font-size: 15px;
        margin-top: 10px;
    }

    .home-banner__caption {
        top: 25px;
        left: 35px;
    }

    .footerlist ul {
        width: 100%;
    }

    .product-image {
        width: auto;
        height: auto;
    }

    .productdetailintro .nav-tabs {
        display: flex;
        justify-content: center;
        padding: 0;
    }

    .process {
        padding: 10px;
    }

}

@media screen and (max-width: 525px) {
    .cmdflex {
        width: 48%;
    }

    .cmdflex .cmdimg {
        height: 250px;
    }

    .searchctn .cmdflex .cmdimg {
        height: 220px;
    }
}

@media screen and (max-width: 480px) {
    .hdsearch {
        margin-left: 2em;
    }

    .cmdflex .cmdimg {
        height: 200px;
    }

    .page404 .page-title {
        font-size: 50px;
    }

    .product-thumbnails__viewport {
        height: 250px;
    }

    .productscetion {
        margin-top: 0px;
    }

    .product-image {
        width: 250px;
        height: 250px;
    }

    .searchctn .cmdflex .cmdimg {
        height: 180px;
    }

    .entry-summary {
        margin: 0;
    }

    .entry-header {
        height: auto;
    }

    .searchctn .cmdflex {
        margin-bottom: 1em;
    }

    .productdetailintro {
        margin-bottom: 0px;
    }

    .hdlist .hdlistmenu>ul>li>ul {
        padding: 40px 50px;
    }

    .hdlist .hdlistmenu>ul>li>ul>li {
        margin-top: 0px;
    }

    .hdlist .hdlistmenu>ul>li>ul>li>ul {
        margin: 0;
    }

    .cmdctltit {
        padding: 10px 20px;
        font-size: 14px;
    }

    .promo-banner {
        height: auto;
        padding: 3em 0;
    }
}

@media screen and (max-width: 400px) {
    .cmdflex .cmdimg {
        height: 180px;
    }
}

/* Product grids: keep mixed image ratios intact and replace legacy floats. */
.comdtyctain {
    align-items: flex-start;
    gap: clamp(16px, 3vw, 42px);
}

.comdtyctain > .cmdct-l,
.comdtyctain > .cmdct-r {
    min-width: 0;
}

.comdtyctain > .cmdct-r {
    padding-left: 0;
}

.comdtyctain .cmdctrctn {
    min-height: 0;
}

.productsList {
    --product-gap: clamp(12px, 2vw, 24px);
    display: grid;
    /* Fit the available width, with at most four columns. */
    grid-template-columns: repeat(auto-fill, minmax(min(100%, max(160px, calc((100% - 3 * var(--product-gap)) / 4))), 1fr));
    column-gap: var(--product-gap);
    row-gap: 28px;
    margin: 0;
    padding: 0;
}

.productsList > .cmdflex {
    float: none;
    width: auto;
    min-width: 0;
    margin: 0;
}

.productsList > .cmdflex::after {
    content: none;
}

.productsList > .cmdflex > a,
.productsList > .product-skeleton {
    display: flex;
    flex-direction: column;
    gap: 12px;
    height: 100%;
}

.productsList .cmdflex .cmdimg,
.product-skeleton__loader {
    width: 100%;
    height: auto;
    aspect-ratio: 1 / 1;
    background: #eee;
}

.productsList .cmd_act_pos,
.productsList .cmdshade {
    width: 100%;
    height: 100%;
}

.productsList .cmdshade,
.productsList .cmdshade:hover {
    transform: none;
}

.productsList .cmdflex img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    margin: 0;
}

.productsList .cmdflex .cmdtxt {
    height: auto;
    margin: 0;
    overflow-wrap: anywhere;
}

.productsList .cmdflex .cmdtxt p,
.product-skeleton__text {
    font-size: 14px;
    line-height: 1.6;
    margin: 0;
}

.productsList .cmdflex .cmdtxt .cmdtag {
    margin-bottom: 4px;
}

.productsList > .cmdflex > a:focus-visible {
    outline: 2px solid #333;
    outline-offset: 4px;
}

.comdtyctain .paginationDiv {
    gap: 8px;
    margin-top: 28px;
}

.comdtyctain .pagination {
    flex-wrap: wrap;
    gap: 4px;
    margin: 0;
    min-width: 0;
}

.comdtyctain .pagination li {
    margin: 0;
}

.comdtyctain .pagination > li > a {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 32px;
    min-height: 36px;
    margin: 0;
}

.comdtyctain .pre-page,
.comdtyctain .next-page {
    flex: 0 0 24px;
    text-align: center;
}

@media screen and (max-width: 767px) {
    .comdtyctain > .cmdct-r {
        margin-top: 24px;
    }
}

@media screen and (max-width: 640px) {
    .productsList {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        row-gap: 24px;
    }
}

@media screen and (max-width: 340px) {
    .productsList {
        grid-template-columns: minmax(0, 1fr);
    }
}

/* Custom contact form. Field labels and feedback remain visible at all sizes. */
.connection .contan {
    gap: clamp(24px, 5vw, 80px);
    align-items: flex-start;
}

.connection-l,
.connection-r {
    min-width: 0;
}

.connection-r {
    margin-left: 0;
    overflow: visible;
}

.connectiontxt a {
    overflow-wrap: anywhere;
}

.connectiontxt a[href^="mailto:"] {
    letter-spacing: 0;
}

.ruey-contact-form {
    margin: 0;
    scroll-margin-top: 60px;
}

/* Skeleton 05 adapted from https://cssloaders.github.io/#skeleton.
   Copyright (c) 2021 CSS Loaders; MIT license in licenses/css-loaders.txt. */
.product-skeleton {
    min-width: 0;
    background: transparent;
}

.product-skeleton__loader {
    display: block;
    background-color: #ddd;
    background-image: linear-gradient(90deg, transparent, rgba(255, 255, 255, .5) 50%, transparent);
    background-repeat: no-repeat;
    background-size: 40% 100%;
    background-position: -170% center;
    animation: ruey-product-skeleton 1s linear infinite;
}

.product-skeleton__line {
    display: block;
    height: 1.6em;
    background-image:
        linear-gradient(90deg, transparent, rgba(255, 255, 255, .5) 50%, transparent),
        linear-gradient(#ddd, #ddd);
    background-repeat: no-repeat;
    background-size: 40% 1em, 100% 1em;
    background-position: -170% center, left center;
    animation: ruey-product-skeleton 1s linear infinite;
}

.product-skeleton__line--category {
    width: 65%;
    margin-bottom: 4px;
}

.product-skeleton__line--title {
    width: 90%;
}

@keyframes ruey-product-skeleton {
    to { background-position: 170% center, left center; }
}

@media (prefers-reduced-motion: reduce) {
    .product-skeleton__loader,
    .product-skeleton__line { animation: none; }
}

.productsList .cmdimg { position: relative; }

.product-image-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    padding: 16px;
    color: #777;
    text-align: center;
    font-size: 14px;
}

.products-message {
    grid-column: 1 / -1;
    padding: 32px 16px;
    background: #f5f5f5;
    line-height: 1.8;
    overflow-wrap: anywhere;
}

.products-message a { color: #0158be; }
.products-retry { padding: 8px 16px; background: #333; color: #fff; cursor: pointer; }
.products-browse { margin-inline-start: 16px; }
.home-products [hidden] { display: none; }
.home-products .productsTitle { scroll-margin-top: 60px; }
.home-products .cmdctrhd { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.home-products .cmdctrhd .productsTitle { margin: 0; min-width: 0; overflow-wrap: anywhere; }
.home-products .cmdctrhd .prds_all { position: static; flex-shrink: 0; }
.product-pagination .page-numbers {
    display: flex;
    justify-content: center;
    align-items: center;
    min-width: 32px;
    min-height: 36px;
    margin: 0;
    border-radius: 0;
}
.product-pagination .page-numbers.current { background: #333; color: #fff; }
.product-pagination .prev, .product-pagination .next { font-size: 26px; }
.product-pagination a:focus-visible, .products-retry:focus-visible { outline: 2px solid #0158be; outline-offset: 2px; }

/* Native interactive components; visibility is controlled with hidden/classes. */
.hdlistmenu [hidden], .cmdct-l [hidden], [data-tabs] [hidden],
[data-home-carousel] [hidden], [data-product-gallery] [hidden] { display: none !important; }

.hdlist .menu-mobile { color: #333; cursor: pointer; font-size: 32px; line-height: 1; }
.hdlist .hdlistmenu > ul > li > ul.is-open { display: block; }
.hdlistmenu a:focus-visible, .hdlistmenu button:focus-visible,
.cmdctltit button:focus-visible, [data-tabs] [role="tab"]:focus-visible,
[data-home-carousel] button:focus-visible, .image-item:focus-visible {
    outline: 2px solid #0158be;
    outline-offset: 3px;
}

.carousel-prev, .carousel-next {
    position: absolute;
    top: 50%;
    width: 27px;
    height: 44px;
    margin-top: -22px;
    background-repeat: no-repeat;
    background-position: center;
    z-index: 10;
    cursor: pointer;
}
.carousel-prev:disabled, .carousel-next:disabled { opacity: .25; cursor: default; }

.home-banner__viewport {
    position: relative;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    overscroll-behavior-x: contain;
}
.home-banner__viewport::-webkit-scrollbar, .product-thumbnails__viewport::-webkit-scrollbar { display: none; }
.home-banner__track { display: flex; }
.home-banner__slide { position: relative; flex: 0 0 100%; min-width: 0; scroll-snap-align: start; }
.home-banner__image img { display: block; }
.home-banner__pagination { position: absolute; bottom: 10px; left: 50%; transform: translateX(-50%); display: flex; gap: 8px; z-index: 10; }
.home-banner__dot { width: 8px; height: 8px; border-radius: 50%; background: #000; opacity: .25; cursor: pointer; }
.home-banner__dot.is-active { opacity: 1; }
.home-banner__pause { position: absolute; bottom: 8px; right: 8px; padding: 4px 8px; background: rgba(0, 0, 0, .55); color: #fff; font-size: 12px; cursor: pointer; }
.product-thumbnails__viewport { overflow-y: auto; scrollbar-width: none; scroll-snap-type: y proximity; overscroll-behavior-y: contain; }
.image-list { display: flex; flex-direction: column; gap: 12px; padding: 0; }
.image-list li { flex-shrink: 0; scroll-snap-align: start; }
.image-list .image-item { display: block; cursor: pointer; }
.image-list img { display: block; object-fit: contain; }
.product-thumbnails .carousel-prev, .product-thumbnails .carousel-next { height: 30px; margin: 0; }

@media (max-width: 768px) {
    .hdlist .hdlistmenu.is-open > ul { display: block; }
    .cmdct-l > ul.is-open { display: block; }
}

.ruey-contact-intro {
    margin-bottom: 20px;
}

.ruey-contact-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px 16px;
}

.ruey-contact-field {
    min-width: 0;
}

.ruey-contact-field--full {
    grid-column: 1 / -1;
}

.ruey-contact-field label {
    display: block;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 8px;
}

.ruey-required {
    color: #b62424;
    margin-left: 4px;
}

.ruey-contact-field input,
.ruey-contact-field textarea {
    display: block;
    width: 100%;
    min-width: 0;
    padding: 12px 14px;
    border: 1px solid #d4d4d4;
    border-radius: 0;
    background: #eee;
    color: #333;
    font: inherit;
    line-height: 1.6;
}

.ruey-contact-field input {
    min-height: 48px;
}

.ruey-contact-field textarea {
    min-height: 160px;
    resize: vertical;
}

.ruey-contact-field input:focus,
.ruey-contact-field textarea:focus {
    outline: 2px solid #0158be;
    outline-offset: 2px;
}

.ruey-contact-field [aria-invalid="true"] {
    border-color: #b62424;
}

.ruey-field-error {
    color: #b62424;
    margin-top: 6px;
    font-size: 13px;
}

.ruey-contact-honeypot {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
}

.ruey-contact-actions {
    display: flex;
    justify-content: flex-end;
    margin-top: 20px;
}

.ruey-contact-submit {
    min-width: 194px;
    min-height: 48px;
    padding: 12px 24px;
    background: #333;
    color: #fff;
    font-size: 16px;
    letter-spacing: 2px;
    cursor: pointer;
}

.ruey-contact-submit:focus-visible {
    outline: 2px solid #0158be;
    outline-offset: 3px;
}

.ruey-contact-submit:disabled {
    opacity: .65;
    cursor: wait;
}

.ruey-contact-result {
    margin-top: 20px;
    padding: 14px 16px;
    border-left: 3px solid;
    overflow-wrap: anywhere;
    scroll-margin-top: 60px;
}

.ruey-contact-result.is-success {
    background: #edf6ee;
    color: #24552d;
}

.ruey-contact-result.is-error {
    background: #fff0ee;
    color: #942424;
}

.ruey-contact-form [hidden] {
    display: none;
}

@media screen and (max-width: 767px) {
    .connection-l,
    .connection-r {
        width: 100%;
        margin: 0;
    }

    .connection-r {
        margin-top: 32px;
    }
}

@media screen and (max-width: 480px) {
    .ruey-contact-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .ruey-contact-submit {
        width: 100%;
    }
}
