html{
	/*
	font:400 15px/22px 'gothic',"Helvetica Neue",Helvetica,Arial,sans-serif;
	font:400 15px/22px 'calibri',"Helvetica Neue",Helvetica,Arial,sans-serif;
	font:400 15px/22px 'Poppins','calibri',"Helvetica Neue",Helvetica,Arial,sans-serif;
	*/
	background-color:#ffffff;
}

.entry-header{
	margin-bottom:20px;
	width:100% !important;
}

.entry-header h1.entry-title{
	font-size:0.8em !important;
}

.uk-grid-category div{
	margin-bottom:60px;
}

.uk-text-center{
	text-align:center;
}

.uk-text-right{
	text-align:right;
}

.product_category_cover, .product_cover{
	max-width:350px;
	width:100%;
	margin-bottom:10px;
}

.category_name, .product_name{
	font-weight:bold;
}

.product_price_label{
	font-size:0.9em;
}

.product_detail .product_name{
	margin-bottom:10px;
}

.product_detail .product_price_label{
	margin-bottom:10px;
}

.product_image_slider{
	padding-right:15px;
}

.product_detail{
	padding-left:0px;
	background-color:;
}


@media (max-width: 960px) {
	.product_image_slider{
		padding-right:0px;
	}

	.product_detail{
		padding:20px;
	}
}


.add_cart_btn{
	width:100%;
	background-color:#000000 !important;
	color:#fbea8d !important;
	padding-top:10px;
	padding-bottom:10px;
	font-weight:bold;
	margin-bottom:10px;
}

.buy_now_btn{
	width:100%;
	background-color:#000000 !important;
	color:#ffd800  !important;
	padding-top:10px;
	padding-bottom:10px;
	font-weight:bold;
	margin-bottom:10px;
}

.overseas_block{
	margin-top:20px;
	margin-bottom:20px;
	color:#000000;
}

.overseas_link:hover{
	cursor:pointer;
}

.overseas_form_block label{
	font-weight:normal !important;
	margin-bottom: 0.2em;
}

.overseas_form_block .short_text_box{
	max-width:250px;
}

.reg_required2{
	color:red;
}

.overseas_form_block table{
    margin: 0px !important;
}

.overseas_form_block tr {
    border-bottom: 0px solid #eee;
}

.overseas_form_block tr td{
    padding-top:0px  !important;
	padding-bottom:0px  !important;
}

.captcha_btn{
	background-color:#ffffff !important;
	color:#78706A !important;
	border: 1px solid #eee !important;
	padding: 12px 18px !important;
}

.uk-captcha{
	padding: 5px 10px !important;
}

.reg_required, .required{
	color:red;
}

.product_detail_block{
	
}

.product_detail_items{
	padding-top:15px;
	margin-bottom:15px;
}

.product_detail_items_subheader{
	font-weight:bold;
}

.product_detail_items_content{
	font-size:0.9em;
}

.product_detail_items:nth-child(n + 2) {
  border-top:1px #000000 solid;
}

.top-cart {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  color: #333;
  text-decoration: none;
}

.top-cart-icon {
  width: 30px;
  height: 28px;
  /* 讓袋子不要被壓扁，維持原始比例 */
  preserveAspectRatio: xMidYMid meet;
}

.top-cart-badge {
  position: absolute;
  top: 13px;
  right: -14px;
  min-width: 16px;
  height: 16px;
  padding: 0 4px;
  border-radius: 50%;
  background: #111;
  color: #fff;
  font-size: 10px;
  font-weight: 600;
  line-height: 16px;
  text-align: center;
}

/* 數量為 0 時把徽章藏起來 */
.top-cart-badge.is-empty {
  display: none;
}

/* 飛行中的小圖 */
.fly-item {
  position: fixed;
  width: 56px;
  height: 56px;
  border-radius: 8px;
  background-size: cover;
  background-position: center;
  z-index: 9999;
  pointer-events: none;
  box-shadow: 0 4px 12px rgba(0, 0, 0, .25);
  transition: transform .7s cubic-bezier(.5, -0.2, .3, 1), opacity .7s;
}

/* 沒有圖時用黑底方塊代替 */
.fly-item.no-img { background: #111; }

/* 購物車徽章彈跳 */
.cart-badge-pop { animation: cart-pop .3s ease; }

@keyframes cart-pop {
  0%   { transform: scale(1); }
  40%  { transform: scale(1.35); }
  100% { transform: scale(1); }
}

.uk-text-danger-smail{
	padding:8px 15px !important;
	font-size:0.9em;
}

.qty-input{
	max-width:100px;
}

.uk-h4{
	font-weight:bold;
}

.uk-form-label{
	font-weight:normal;
}

.captcha_table tr{
	border:0px !important;
}

.captcha_table{
	border-bottom:solid #eeeeee 1px;
}

.product_stock_block{
	color:blue;
	font-weight:bold;
}

.product_sold_out{
	color:red;
	font-weight:bold;
}

/* loading遮罩 */
.form-loading-mask {
    position: fixed;
    inset: 0;
    background: rgba(255,255,255,0.75);
    display: none;
    flex-direction: column; /* 垂直排，自動換行 */
    align-items: center;
    justify-content: center;
    z-index: 9999;
}
.form-loading-mask.active {
    display: flex;
}
.form-loading-spinner {
    width: 60px;
    height: 60px;
    border: 4px solid #eee;
    border-top-color: #333;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}
.form-loading-text {
    margin-top: 12px;
    font-size: 15px;
    color: #333;
}
@keyframes spin {
    to { transform: rotate(360deg); }
}

.ql_sold_item {
  display: block;
  position: absolute;
  z-index: 11;
  width: 15px;
  bottom: 15px;
  right: 15px;
}


.img-wrap {
  position: relative;      /* 定位基準 */
  display: inline-block;   /* 跟著圖片大小收合，不會撐滿整行 */
  line-height: 0;          /* 去掉 inline img 底部的空隙 */
  margin:0px;
}

.img-wrap img {
  display: block;
  width: 100%;
  height: auto;
}

.img-icon {
  position: absolute;
  right: 8px;              /* 距右邊 */
  bottom: 18px;             /* 距下邊 */
  z-index: 1;              /* 確保蓋在圖片上 */
  width: 15px;
  height: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  border-radius: 50%;
  font-size: 14px;
  line-height: 1;
  pointer-events: none;    /* 若 icon 只是裝飾、不需點擊，加這行避免擋住圖片事件 */
}