@charset "utf-8";
/*字體大小*/
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  font-size: clamp(0.9375rem, 1.8vw, 1.0625rem); /* 15px–17px */
  line-height: 1.6;
  color: #444444;
}
h1, .cart-price strong {
  font-size: clamp(1.75rem, 4vw, 2.5rem); /* 28px–40px */
  line-height: 1.25;
  font-weight: 700;
}
h2 {
  font-size: clamp(1.5rem, 3.5vw, 2.125rem); /* 24px–34px */
  line-height: 1.3;
  font-weight: 600;
}
h3, .dlab-bnr-inr-entry .top_title, .cart h1 {
  font-size: clamp(1.25rem, 3vw, 1.75rem); /* 20px–28px */
  line-height: 1.35;
  font-weight: 600;
}
h4, .checkout h2, .icon-bx-wraper h2 {
  font-size: clamp(1.125rem, 2.5vw, 1.5rem); /* 18px–24px */
  line-height: 1.4;
  font-weight: 500;
}
h5, .widget-title.style-1, .prenext p, .faq_box h2, .cart h2, .cart-price, .cart-price del {
  font-size: clamp(1rem, 2vw, 1.25rem); /* 16px–20px */
  line-height: 1.45;
  font-weight: 500;
}
h6, .cart h3, .product-item-size .btn {
  font-size: clamp(0.9375rem, 1.8vw, 1.125rem); /* 15px–18px */
  line-height: 1.5;
  font-weight: 500;
}
p, .media-body .title {
  font-size: clamp(0.9375rem, 1.8vw, 1.0625rem); /* 15px–17px */
  line-height: 1.6;
  font-weight: 400;
}

/*跑馬燈*/
.marquee {
	width: 100%;
	overflow: hidden;
	box-sizing: border-box;
	padding: 15px 0;
	position: relative;
	white-space: nowrap;
}
.marquee-inner {
	display: flex;
	width: fit-content;
	animation: marquee-animation 20s linear infinite;
}
.marquee-text {
	display: flex;
}
.marquee-text a {
	display: inline-block;
	margin-right: 50px;
	text-decoration: none;
	color: #494949;
}
.marquee-text a:hover {
	color: var(--color-primary);
}
.marquee:hover .marquee-inner {
	animation-play-state: paused;
}
@keyframes marquee-animation {
	0% {
		transform: translateX(0);
	}
	100% {
		transform: translateX(-50%);
	}
}

/*購物車視窗*/
.text-pri {
	color: var(--color-primary);
}
.media-body .title {
	display: -webkit-box;
	white-space: normal;
	overflow: hidden;
	text-overflow: ellipsis;
	-webkit-line-clamp: 2; /*行數*/
	-webkit-box-orient: vertical;
}
.dropdown-menu > li.cart-item > a{
	padding: 0px;
}

/*即時通訊*/
.chat-wrapper {
	display: flex;
	position: fixed;
	right: 15px;
	bottom: 0px;
	z-index: 999;
	flex-direction: column;
	align-items: flex-end;
    pointer-events: none;
}
.chat-toggle {
	width: 50px;
	height: 50px;
	display: flex;
	position: relative;
	right: 0px;
	bottom: 80px;
	color: #FFF;
	font-size: 24px;
	border: none;
	border-radius: 50%;
	background-color: var(--color-primary);
	cursor: pointer;
	align-items: center;
	justify-content: center;
	transition: transform 0.3s ease;
    pointer-events: auto;
}
.chat-toggle:after{
	position: absolute;
    width: 100%;
    height: 100%;
    border-radius: inherit;
    content: '';
	top: 0;
	left: 0;
	padding: 0;
	z-index: -1;
	background: inherit;
	-webkit-transition: -webkit-transform 0.2s, opacity 0.3s;
	-moz-transition: -moz-transform 0.2s, opacity 0.3s;
	transition: transform 0.2s, opacity 0.3s;
}
.chat-toggle:hover:after {
	-webkit-transform: scale(1.3);
	-moz-transform: scale(1.3);
	-ms-transform: scale(1.3);
	transform: scale(1.3);
	opacity: 0;
}
.chat-toggle i {
	transition: transform 0.3s ease;
}
.rotate {
	transform: rotate(180deg);
}
.chat-menu {
	display: flex;
	margin-bottom: 10px;
	position: relative;
	right: 0px;
	bottom: 80px;
	opacity: 0;
	flex-direction: column;
	align-items: flex-end;
	transform: translateY(20px);
	transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
	pointer-events: none;
	gap: 12px;
}
.chat-menu.active {
	opacity: 1;
	transform: translateY(0);
	pointer-events: auto;
}
.SR-chat-btn {
	display: flex;
	color: #FFF;
	border-radius: 50px;
	align-items: center;
	justify-content: center;
	gap: 8px;
}
.SR-chat-btn i {
	width: 45px;
	height: 45px;
	display: flex;
	padding-left: 8px;
	color: #FFF;
	font-size: 30px;
	align-items: center;
	justify-content: center;
}
.SR-chat-btn .fa-solid.fa-phone-volume {
	font-size: 25px;
}
.SR-chat-btn .fa-line, 
.SR-chat-btn .fa-facebook-messenger {
	font-size: 28px;
}
.SR-chat-btn:hover {
	color: #fff;
	padding: 0 20px;
}
.SR-chat-btn span {
	display: table-cell;
	vertical-align: middle;
	font-size: 16px;
	letter-spacing: -20px;
	opacity: 0;
	line-height: 50px;
	-webkit-transition: all .5s;
	-ms-transition: all .5s;
	transition: all .5s;
	text-transform: uppercase;
	overflow: hidden;
}
.SR-chat-btn:hover span {
	opacity: 1;
	letter-spacing: 1px;
}
.c-gold {
	background-image: -webkit-linear-gradient(270deg, rgba(221,179,0,1.00) 0%, rgba(140,112,0,1.00) 100%);
	background-image: -moz-linear-gradient(270deg, rgba(221,179,0,1.00) 0%, rgba(140,112,0,1.00) 100%);
	background-image: -o-linear-gradient(270deg, rgba(221,179,0,1.00) 0%, rgba(140,112,0,1.00) 100%);
	background-image: linear-gradient(180deg, rgba(221,179,0,1.00) 0%, rgba(140,112,0,1.00) 100%);
}
.c-green {
	background-image: -webkit-linear-gradient(270deg, rgba(0,208,49,1.00) 0%, rgba(0,142,34,1.00) 100%);
	background-image: -moz-linear-gradient(270deg, rgba(0,208,49,1.00) 0%, rgba(0,142,34,1.00) 100%);
	background-image: -o-linear-gradient(270deg, rgba(0,208,49,1.00) 0%, rgba(0,142,34,1.00) 100%);
	background-image: linear-gradient(180deg, rgba(0,208,49,1.00) 0%, rgba(0,142,34,1.00) 100%);
}
.c-blue {
	background-image: -webkit-linear-gradient(270deg, rgba(0,140,255,1.00) 0%, rgba(0,104,190,1.00) 100%);
	background-image: -moz-linear-gradient(270deg, rgba(0,140,255,1.00) 0%, rgba(0,104,190,1.00) 100%);
	background-image: -o-linear-gradient(270deg, rgba(0,140,255,1.00) 0%, rgba(0,104,190,1.00) 100%);
	background-image: linear-gradient(180deg, rgba(0,140,255,1.00) 0%, rgba(0,104,190,1.00) 100%);
}
.c-purple {
	background-image: -webkit-linear-gradient(270deg,rgba(148,99,255,1.00) 0%,rgba(127,67,255,1.00) 100%);
	background-image: -moz-linear-gradient(270deg,rgba(148,99,255,1.00) 0%,rgba(127,67,255,1.00) 100%);
	background-image: -o-linear-gradient(270deg,rgba(148,99,255,1.00) 0%,rgba(127,67,255,1.00) 100%);
	background-image: linear-gradient(180deg,rgba(148,99,255,1.00) 0%,rgba(127,67,255,1.00) 100%);
}

/*版權公司資訊*/
.widget h2 {
	color: var(--color-primary);
	font-size: 22px;
}
.widget_getintuch ul li i, .icon-cell i, .widget_getintuch ul li {
	color: #b0b0b0;
	transition: transform 0.3s ease;
}
.widget_getintuch ul li:hover i, .icon-cell:hover i {
	color: var(--color-primary);
	transform: rotate(360deg);
}
.widget_getintuch ul li:hover {
	color: var(--color-primary);
}
.widget_services ul li, .post-title, .dlab-post-text p {
	text-overflow: ellipsis;
	white-space: nowrap;
	overflow: hidden;
}

/*友站連結*/
.item .client-text {
	margin-top: 10px;
	color:#6f6f6f;
    transition: all 0.8s;
    -moz-transition: all 0.8s;
    -webkit-transition: all 0.8s;
    -o-transition: all 0.8s;
}
.item:hover .client-text {
	color: var(--color-primary);
}
.item .client-logo {
    position: relative;
    overflow: hidden;
    display: block;
}
.item .client-logo img {
    transition: all 0.8s;
    -moz-transition: all 0.8s;
    -webkit-transition: all 0.8s;
    -o-transition: all 0.8s;
}
.item:hover .client-logo img {
    -moz-transform: scale(1.2);
    -webkit-transform: scale(1.2);
    -o-transform: scale(1.2);
    -ms-transform: scale(1.2);
    transform: scale(1.2);
}

/*服務項目*/
.dlab-box .dlab-info {
	position: absolute;
    bottom: -25px;
    width: calc(100% - 40px);
    left: 20px;
	z-index:1;
	overflow: hidden;
}
.service-media-bx .dlab-info {
	position: relative;
	bottom: 0px;
	width: calc(100% - 40px);
	left: 0px;
	z-index: 1;
	overflow: hidden;
}
.dlab-box .dlab-info::before, .dlab-box .dlab-info::after{
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: 1;
	-webkit-transition: all 0.3s;
	-moz-transition: all 0.3s;
	-o-transition: all 0.3s;
	transition: all 0.3s;
	opacity: 1;
	-webkit-transform: translate(0,-105%);
	transform: translate(0,-105%);
	border-bottom-width: 2px;
	border-bottom-style: solid;
	border-bottom-color: rgba(255,255,255,1);
	background-color: rgba(255,255,255,0.5);
}
.dlab-box .dlab-info::after{
	-webkit-transition-delay: 0.2s; /* Safari */
    transition-delay: 0.2s;
}
.dlab-box:hover .dlab-info::before, .dlab-box:hover .dlab-info::after{
	opacity: 0;
	-webkit-transform: translate(0,0);
	transform: translate(0,0);	
}
.dlab-info2 .dlab-title {
	color: var(--color-primary);
}

/*關於我們*/
.service-box p {
	display: -webkit-box;
	white-space: normal;
	overflow: hidden;
	text-overflow: ellipsis;
	-webkit-line-clamp: 6; /*行數*/
	-webkit-box-orient: vertical;
}

/*購物車*/
.image-container {
	/*width: 100%;*/
	position: relative;
	aspect-ratio: 3 / 4; /*比例*/
}
.image-container2 {
	position: relative;
	aspect-ratio: 4 / 3; /*比例*/
}
.image-container3 {
	position: relative;
	aspect-ratio: 4 / 2; /*比例*/
}
.image-container img, .image-container2 img, .image-container3 img, .cart-img img {
	width: 100%;
	height: 100%;
	position: absolute;
	top: 0;
	left: 0;
	transition: opacity 0.3s ease;
	object-fit: cover; /*填滿容器並裁剪圖片*/
    transition: all 0.8s;
    -moz-transition: all 0.8s;
    -webkit-transition: all 0.8s;
    -o-transition: all 0.8s;
}
.image-b {
	opacity: 0;
}
.item-img:hover .image-b {
	opacity: 1;
}
.item-img:hover .image-a {
	opacity: 0;
}
.item-info p {
	margin: 0;
}
.special {
	color: var(--color-primary);
	text-overflow: ellipsis;
	white-space: nowrap;
	overflow: hidden;
}
.sale {
	color:#6f6f6f;
	font-size: 14px;
}
.item-img a .item-title {
	margin: 0;
	color: #494949;
    font-size: 18px;
	transition:all 0.5s;
	-moz-transition:all 0.5s;
	-webkit-transition:all 0.5s;
	text-overflow: ellipsis;
	white-space: nowrap;
	overflow: hidden;
}
.item-img a:hover .item-title {
	color: var(--color-primary);
}
.text-primary strong {
	font-size: 24px;
}
@media only screen and (max-width: 575px) {
.shoptwo {
	flex: 0 0 50%;
	max-width: 50%;
}
}

/*商品內頁*/
.cart h2, .cart-price {
	color: var(--color-primary);
}
.cart-price del {
	color: #999999;
}
.cart input[type=radio] {
    display: none;
}

/*最新消息*/
.widget-title.style-1, .ck_box h1, .ck_box h2, .ck_box h3, .ck_box h4, .ck_box h5, .ck_box h6 {
	color: var(--color-primary);
}
.ck_box h1, .ck_box h2, .ck_box h3, .ck_box h4, .ck_box h5, .ck_box h6 {
	margin-top: 50px;
}
.prenext p {
	margin: 0;
	display: -webkit-box;
	white-space: normal;
	overflow: hidden;
	text-overflow: ellipsis;
	-webkit-line-clamp: 1; /*行數*/
	-webkit-box-orient: vertical;
}
.prenext .site-button {
	margin: 10px 0 0 0;
}
@media only screen and (max-width: 991px) {
.prenext .site-button {
	margin: 10px 0 50px 0;
}
.prenext .justify-content-lg-end .site-button {
	margin: 10px 0 0 0;
}
}

/*登入*/
.login_box h2 {
	margin: 0 20px;
	color: var(--color-primary);
}
.line-text-wrapper {
	width: 100%;
	display: flex;
	margin: 20px 0;
	align-items: center;
	justify-content: center;
}
.line {
	height: 1px;
	background-color: var(--color-primary);
	flex: 1;
}
.form-group strong {
	display: inline-block;
	margin: 0 0 0 10px;
	color: var(--color-primary);
	font-size: 15px;
}
input[type=radio] {
	margin: 0 7px 0 0;
	position: relative;
	zoom: 150%;
}
.gender_box label {
	width: calc(100%/2 - 10px);
}

/*購物車清單*/
.cart-box {
	padding: 0 10px 20px 10px;
	border-bottom: thin solid #ccc;
}
.wish_box .cart-box:nth-last-child(1) {
	padding: 0 10px;
	border-bottom: none;
}
.cart-img {
	position: relative;
	aspect-ratio: 4 / 2;
}
.cart-title {
	font-size: 1.125rem;
	line-height: 1.5;
	font-weight: 500;
	display: -webkit-box;
	white-space: normal;
	overflow: hidden;
	text-overflow: ellipsis;
	-webkit-line-clamp: 1; /*行數*/
	-webkit-box-orient: vertical;
}
.cart-title a {
	display: block;
	color: var(--color-primary);
}
.cart-title a:hover {
	color: #444444;
}
.cart-total span {
	color: var(--color-primary);
}
.cart-total strong {
	font-size: 1.3rem;
	line-height: 1;
	font-weight: 500;
}
.cart-remove {
	text-align: right;
}
.cart-remove a {
	color: #666666;
}
.cart-remove a:hover {
	color: var(--color-primary);
}
/* 桌機版：Grid 均分欄寬 */
@media (min-width: 1441px) {
.cart-box {
	display: grid;
	grid-template-columns: 1fr 3fr 1fr 1fr 1fr 1fr 0.5fr;
	align-items: center;
	text-align: center;
	gap: 20px;
}
.checkout .cart-box {
	display: grid;
	grid-template-columns: 1fr 3fr 1fr 1fr 1fr 1fr;
	align-items: center;
	text-align: center;
	gap: 20px;
}
.cart-info,
.cart-info-extra {
	display: contents;
}
}
/* 手機版：圖片左＋資訊右側垂直排 */
@media (max-width: 1440px) {
.cart-box {
	display: flex;
	flex-direction: row;
	gap: 20px;
	align-items: flex-start;
}
.cart-img {
	aspect-ratio: 3 / 4;
	flex: 0 0 120px;
}
.checkout .cart-img {
	aspect-ratio: 3 / 4;
	flex: 0 0 100px;
}
.cart-info {
	flex: 1;
	display: flex;
	flex-direction: column;
	gap: 10px;
}
.cart-info-extra {
	display: flex;
	justify-content: space-between;
	align-items: center;
}
}

/*購物車總計*/
.total-all {
	margin: 10px 0;
	align-items: center;
}
.total-all p {
	display: inline-block;
	font-size: 1.125rem;
	line-height: 1;
	font-weight: 500;
	letter-spacing: 1px;
}
.total-all p:before {
	content: "|";
	margin: 0 20px;
	color: #CCCCCC;
}
.total-all p:nth-child(1):before {
	content: "";
}
.total-all span {
	color: var(--color-primary);
}
.total-all strong {
	color: var(--color-primary);
	font-size: 1.3rem;
}
@media only screen and (max-width: 991px) {
.cart_all .text-left, .cart_all .text-right {
	text-align: center !important;
	justify-content: center !important;
}
}
@media only screen and (max-width: 767px) {
.total-all p {
	display: block;
}
.total-all p:before {
	content: "";
	margin: 0;
}
}

/*購物車填資料*/
.checkout h2 {
	color: var(--color-primary);
}
.form-check-input:checked {
	background-color: var(--color-primary);
	border-color: var(--color-primary);
}
.form-check-input:focus {
	border-color: var(--color-primary);
	outline: 0;
	box-shadow: 0 0 0 .25rem rgba(204,159,90,0.25);
	-webkit-box-shadow: 0 0 0 .25rem rgba(204,159,90,0.25);
}
.title_hr {
	padding: 5px 10px;
	color: #FFFFFF !important;
	border-top: 2px dotted #FFFFFF;
	border-bottom: 2px dotted #FFFFFF;
	background-color: var(--color-primary);
}
.choice_pay p {
	margin-left: 40px;
}

/*會員中心*/
.member a {
	width: 100%;
	margin: 10px 0;
	font-size: large;
}
.member i {
	padding-right: 10px;
}

/*訂單查詢*/
.cart_tab {
	text-align: center;
	border: thin solid #CCCCCC;
}
.cart_tab tr th {
	padding: 10px 5px;
	background-color: #CCCCCC;
}
.cart_tab tr td {
	padding: 15px 5px;
}
.cart_tab a {
	display: block;
	color: var(--color-primary);
}
.cart_tab a:hover {
	color: #444444;
}
@media (max-width: 767px) {
.cart_tab tr th {
	display: none;
}
.cart_tab tr {
	border-top: thick solid #CCCCCC;
	border-bottom: thick solid #CCCCCC;
}
.cart_tab td {
	display: block;
	position: relative;
	border-top-style: none;
	border-left-style: none;
	overflow: hidden;
}
.cart_tab td:before {
	width: 80px;
	min-height: 200px;
	position: absolute;
	top: 0px;
	left: 0px;
	color: #444444;
	line-height: 50px;
	border-top: thin solid #FFFFFF;
	background-color: #CCCCCC;
	content: attr(data-title);
}
.tab_td {
	width: calc(100% - 110px);
	margin-left: 100px;
	text-align: left;
}
}

/*訂單明細*/
.cart_form {
    margin: 10px 0;
    color: var(--color-primary);
}
.cart_form span {
    margin: 10px 0;
	padding: 0 0 0 10px;
    display: inline-block;
	color: #444444;
}
.cart_form a {
	color: var(--color-primary);
}
.cart_form a:hover {
	color: #444444;
}

/*完成訂購*/
.cart_ok a {
	padding: 0 5px;
	color: var(--color-primary);
	font-weight: 500;
}
.cart_ok a:hover {
	color: #444444;
}
.cart_ok hr {
	border-top: 2px solid var(--color-primary);
	border-bottom: 2px solid var(--color-primary);
	opacity: 1;
}
.cart_ok .cart-box:nth-last-child(1) {
	padding: 0 10px;
	border-bottom: none;
}

/*沒有商品*/
.cart_no i {
	font-size: 80px;
}

/*首頁大橫幅*/
.banner_box img {
	width: 100%;
}
@media (min-width: 991px) {
.banner_box img {
	max-width: 1200px;
}
}

/*跳動數字*/
.tw-facts {
	background-color: #f7f9f8;
	z-index: 2;
	padding: 80px 0;
	position: relative;
}

.facts-bg-pattern img {
  position: absolute;
  left: 17px;
  bottom: 47px;
  background-position: left center;
  background-repeat: no-repeat;
  z-index: -1;
}

.facts-bg-pattern img:nth-child(2) {
  left: auto;
  right: 0;
  bottom: 36px;
}

.facts-title {
  margin: 25px 0;
}

.facts-content {
  color: #2A9ED0;
}

.facts-content h4 {
  font-size: 25px;
}

.facts-content span {
  font-size: 48px;
  font-weight: 700;
}

.facts-content sup {
	top: -17px;
	left: -4px;
	color: #BBBBBB;
	font-size: 18px;
	font-weight: 600;
}