﻿@charset "utf-8";
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    list-style: none;
    box-sizing: border-box;
    font-family: Verdana, "Microsoft JhengHei", "微軟正黑體", "新細明體", "蘋果儷黑體", Arial, Helvetica, sans-serif;
}

body {
    background: #f7f7f7;
    font-family: Microsoft JhengHei, "微軟正黑體";
    letter-spacing: .05rem;
    font-size: 16px;
}

img {
    border: none;
    width: 100%;
    height: auto;
    vertical-align: middle;
}

a,
a:hover,
a:focus {
    text-decoration: none;
    color: #323232;
}

.title h1 {
    color: #1e67a2;
    letter-spacing: .15rem;
    font-size: 1.6rem;
    text-align: center;
}

h1,
h2,
h3,
h4 {
    margin: 0;
    padding: 0;
}

#wrapper {
    margin: 0 auto;
    width: 100%;
}

.container {
    width: 90%;
    max-width: 1350px;
    margin: 0 auto;
    padding: 0;
    color: #505050;
}


/*清除浮動*/

.clean {
    clear: both;
    visibility: hidden;
}


/*文字超過設定範圍變...*/

.ellipsis {
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}


/*==================== page =====================*/

.product-tool {
    margin-top: 50px;
    padding: 0 75px;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.product-pic {
    position: relative;
}

.product-pic .owl-dots {
    position: absolute;
    top: 58%;
    left: 50%;
    transform: translateX(-50%);
}

.product-pic,
.product-description {
    width: calc(50% - 20px);
}

.product-pic img {
    max-width: 570px;
}


/*現貨*/

.itemTag-Y {
    border: 1px solid #d80000;
    color: #d80000;
    padding: 3px 15px;
    display: inline-block;
    margin-bottom: 20px;
}


/*預購*/

.itemTag-N {
    border: 1px solid #1e67a2;
    color: #1e67a2;
    padding: 3px 15px;
    display: inline-block;
    margin-bottom: 20px;
}

.product-description h2 {
    font-size: 1.5rem;
    color: #232323;
    margin-bottom: 20px;
}

.product-description .productPrice {
    font-size: 1.5rem;
    color: #d80000;
    margin-bottom: 30px;
    display: inline-block;
}

.productPrice:before {
    content: "優惠價";
    font-size: 1rem;
}

.product-description .productPrice span {
    font-size: 1rem;
    color: #505050;
    margin-left: 10px;
}


/*.product-description button{
    font-size: 1.3rem;
    background-color: #1e67a2;
    color: #FFF;
    float: right;
    padding: 6px 20px;
    border: none;
    border-radius: 10px;
    letter-spacing: .1rem;
    transition: .3s;
    cursor: pointer;
}

.product-description button:hover{
    background-color: #fa7808;
    box-shadow: 2px 3px 5px rgba(0, 0, 0, 0.2);
}*/

.product-description hr {
    background-color: #1e67a2;
    height: 1px;
    border: none;
}

.product-txt {
    padding: 20px 0;
}

.product-info table {
    width: 100%;
    margin-top: 30px;
    /*border: 1px solid #b4b4b4;*/
}

.product-info tbody tr {
    height: 35px;
}

.product-info td:nth-of-type(odd) {
    background: #e6e6e6;
    color: #505050;
    width: 30%;
    text-align: center;
}

.product-info td:nth-of-type(even) {
    background: #FFF;
}

.product-info td {
    padding: 5px 10px;
    margin: 5px 10px;
}

.feature-tool {
    margin-top: 80px;
}

.title h1 span {
    color: #646464;
    display: block;
    font-size: 1.1rem;
    font-weight: lighter;
    margin-top: 6px;
}

.feature-tool .feature-imgbox {
    background-color: #FFF;
    text-align: center;
    margin-top: 30px;
    margin-bottom: 60px;
}

.feature-tool .feature-imgbox img {
    /* max-width: 1200px; */
    width: 100%;
    /* height: 100%; */
    /* max-height: 500px; */
    /* object-fit: cover; */
    margin-bottom: 30px;
}

.feature-tool .feature-imgbox p:first-of-type {
    margin: 0;
}

.feature-tool .feature-imgbox p {
    text-align: left;
    margin: 0 20px;
    line-height: 1.5rem;
}

.product-variation,
.product-amount {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    margin-top: 30px;
}

.product-ship {
    display: flex;
    flex-wrap: wrap;
    margin-top: 30px;
}

.variation-choice,
.product-ship-p {
    width: calc(100% - 100px);
}

.product-variation h3,
.product-ship h3 {
    display: inline-block;
    width: 90px;
}

.product-amount h3 {
    display: inline-block;
    width: 90px;
}


/*.product-variation button {
    background-color: #FFF;
    border: 1px solid #232323;
    vertical-align: middle;
    padding: 5px 15px;
    cursor: pointer;
    transition: .3s;
}

.product-variation button:hover {
    border: 1px solid #1e67a2;
    color: #1e67a2;
    background-color: #FFF;
    font-weight: 600;
}*/

/* Panel2 */

#Panel2 .product-amount h3 span {
    display: block;
}

#Panel2 #FreightList p {
    margin-bottom: .6rem;
    line-height: 1.5rem;
}

/*.product-variation button:hover {
    color: #ee4d2d;
    border-color: #ee4d2d;
}*/

.product-variation--size {
    cursor: pointer;
    min-width: 5rem;
    min-height: 2.125rem;
    box-sizing: border-box;
    padding: .25rem .75rem;
    margin: 0 8px 8px 0;
    color: rgba(0, 0, 0, .8);
    text-align: left;
    border-radius: 2px;
    border: 1px solid rgba(0, 0, 0, .09);
    position: relative;
    background: #fff;
    outline: 0;
    word-break: break-word;
}

.product-variation--size:hover {
    color: #ee4d2d;
    border-color: #ee4d2d;
}

.product-variation--selected {
    color: #ee4d2d;
    border-color: #ee4d2d;
}

.product-variation__tick {
    width: .9375rem;
    height: .9375rem;
    position: absolute;
    overflow: hidden;
    right: 0;
    bottom: 0;
}

.product-variation__tick:before {
    border: .9375rem solid transparent;
    border-bottom-color: #ee4d2d;
    content: "";
    position: absolute;
    right: -.9375rem;
    bottom: 0;
}

.product-variation__tick>.icon-tick-bold {
    position: absolute;
    right: 0;
    bottom: 0;
    color: #fff;
    font-size: 8px;
}

.product-svg-icon {
    display: inline-block;
    width: 1em;
    height: 1em;
    fill: currentColor;
    position: relative;
}

.product-ship p {
    border-bottom: 1px solid #c8c8c8;
    padding: 15px 0;
}

.product-ship p:first-child {
    padding-top: 0;
}

.product-ship p:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.product-ship p span {
    color: #1e67a2;
    font-weight: bold;
}

.product-ship-choice input {
    margin: 0 5px;
}

.input-group {
    display: table;
    width: 35%;
    margin: 0 15px 0 0px;
}

.input-group .form-control,
.input-group-addon,
.input-group-btn {
    display: table-cell;
}

.btn-default {
    width: 30px;
    color: #333;
    background-color: #fff;
}

.form-control {
    display: block;
    width: 100%;
    height: 35px;
    padding: 6px 12px;
    color: #555;
    background-color: #fff;
    background-image: none;
    border: 1px solid #c8c8c8;
    text-align: center;
}

.btn {
    display: inline-block;
    padding: 6px 12px;
    margin-bottom: 0;
    font-weight: 400;
    text-align: center;
    white-space: nowrap;
    -ms-touch-action: manipulation;
    touch-action: manipulation;
    cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    background-image: none;
    border: 1px solid transparent;
    border: 1px solid #c8c8c8;
}

div.btn-cart {
    font-size: 1.1rem;
    background-color: #fa7808;
    padding: 6px 0;
    border: none;
    border-radius: 20px;
    letter-spacing: .1rem;
    transition: .3s;
    cursor: pointer;
    width: 30%;
    margin: 0 10px 0 0;
    text-align: center;
}

div.btn-cart:hover {
    background-color: #da6500;
    box-shadow: 2px 3px 5px rgba(0, 0, 0, 0.2);
}

div.btn-buy {
    font-size: 1.2rem;
    background-color: #a10000;
    padding: 6px 20px;
    border: none;
    border-radius: 20px;
    letter-spacing: .1rem;
    transition: .3s;
    cursor: pointer;
    transition: .3s;
    margin-right: 1rem;
}

div.btn-buy:hover {
    background-color: #790000;
    box-shadow: 2px 3px 5px rgba(0, 0, 0, 0.2);
}

div.btn-buy a,
div.btn-cart a {
    color: #FFF;
}

.product-amount-btn {
    width: calc(100% - 90px);
    display: flex;
    flex-wrap: wrap;
}


/*購物說明*/

.gide-tool {
    display: flex;
    justify-content: space-between;
    margin-bottom: 60px;
    flex-wrap: wrap;
}

.gide-section {
    text-align: center;
    width: calc((100% - 60px)/3);
    background-color: #FFF;
    box-shadow: 4px 4px 8px rgba(0, 0, 0, 0.2);
    padding: 30px;
    margin-top: 30px;
    border-radius: 30px;
    max-height: 320px;
    overflow: auto;
}

.gide-section h4 {
    color: #232323;
    font-size: 1.3rem;
}

.gide-section img {
    max-width: 100px;
    margin: 20px 0;
}

.gide-section p {
    text-align: left;
    line-height: 24px;
    font-weight: 500;
}


/*推薦商品 + 餐飲美食*/

.recommend_tool {
    margin-top: 60px;
}

.recommend_tool .title {
    margin-bottom: 30px;
}

.recommend_list {
    position: relative;
}

.recommend_list .remark {
    position: absolute;
    top: 10px;
    right: 10px;
    color: #fa7808;
    background-color: rgba(255, 255, 255, 0.9);
    border-radius: 15px;
    border: 1px solid #fa7808;
    padding: 5px 10px;
    z-index: 50;
}

.recommend_list .imgBox {
    overflow: hidden;
}

.recommend_list .imgBox img {
    transition: .5s
}

.recommend_list .imgBox:hover img {
    transform: scale(1.1, 1.1);
}

.recommend_txt h4 {
    margin: 15px 0;
    font-size: 1.2rem;
}

.recommend_txt .txt_content {
    line-height: 20px;
    height: 60px;
    display: -webkit-box;
    overflow: hidden;
    text-overflow: ellipsis;
    -webkit-line-clamp: 3;
    /*限制三行*/
    -webkit-box-orient: vertical;
}

.recommend_txt hr {
    background-color: #1e67a2;
    height: 1px;
    border: none;
    margin-top: 20px;
}

.price {
    color: #d80000;
    font-size: 1.5rem;
    float: right;
    margin-top: 20px;
}

.price:before {
    content: "優惠價";
    font-size: 1rem;
}

.price:after {
    content: "元";
    font-size: 1rem;
}

.owl-theme .owl-nav .disabled {
    position: absolute;
    opacity: 1;
}

.owl-theme .owl-nav [class*='owl-'] {
    color: #1e67a2;
    font-size: 2rem;
    background: none;
}

.owl-theme .owl-nav [class*='owl-']:hover {
    background: rgba(0, 0, 0, 0.1);
    color: #1e67a2;
}

.owl-carousel .owl-nav .owl-prev {
    position: absolute;
    top: 17%;
    left: -60px;
}

.owl-carousel .owl-nav .owl-next {
    position: absolute;
    top: 17%;
    right: -60px;
}


/*==================== footer =====================*/

footer {
    background-color: #434343;
    padding: 10px 0;
    line-height: 30px;
    letter-spacing: .1rem;
    margin-top: 100px;
}

footer p {
    color: #FFF;
}

.footer-left {
    float: left;
    margin: 20px 0px 30px 0px;
}

.footer-right {
    float: right;
    margin: 20px 0px 30px 0px;
}

.footer-right img {
    max-width: 100px;
}

footer .footer-title {
    font-size: 1.1rem;
    font-weight: bold;
}

.copyright {
    text-align: center;
    font-size: .9rem;
    margin-top: 10px;
}


/*==================== RWD =====================*/

@media (max-width: 1440px) {
    /*page*/
    .product-amount {
        align-items: flex-start;
    }
    .input-group {
        display: inline-flex;
        width: 100%;
    }
    button.btn-cart,
    button.btn-buy {
        margin-top: 15px;
        width: 47.5%;
        padding: 10px 20px;
    }
    div.btn-buy {
        margin-top: 15px;
    }
}

@media (max-width: 1024px) {
    /*page*/
    .product-description h2 {
        margin-top: 0;
    }
    .product-tool {
        padding: 0;
    }
    .gide-section {
        overflow-y: scroll;
    }
    .feature-tool .feature-imgbox table {
        width: 100% !important;
    }
}

@media (max-width: 768px) {
    /*page*/
    .product-tool {
        margin-top: 120px;
    }
    .product-pic {
        width: calc(45% - 10px);
    }
    .product-description {
        width: calc(55% - 10px);
    }
    .product-description .productPrice {
        margin-bottom: 20px;
        display: block;
    }
    /*.product-description button{
    float: none;
    margin-bottom: 20px;
    }*/
    .product-variation,
    .product-amount {
        align-items: flex-start;
    }
    .variation-choice button {
        margin-bottom: 10px;
    }
    button.btn-cart,
    button.btn-buy {
        width: 100%;
        padding: 10px 0px;
        margin-right: 0;
    }
    .gide-tool {
        justify-content: center;
    }
    .gide-section {
        width: 70%;
        max-height: 320px;
    }
    .input-group {
        margin: 0;
    }
}

@media (max-width: 600px) {
    /*page*/
    .product-tool {
        justify-content: center;
    }
    .product-pic,
    .product-description {
        width: 90%;
    }
    .product-description h2 {
        margin-top: 30px;
    }
    .gide-section {
        width: 90%;
    }
    .gide-section {
        max-height: 380px;
    }
    /*推薦商品輪播*/
    .recommend_tool .container {
        width: 100%;
    }
    .recommend_tool .owl-nav {
        display: none;
    }
    .recommend_txt span {
        height: 40px;
        -webkit-line-clamp: 2;
        /*限制三行*/
    }
    /*footer*/
    .footer-left,
    .footer-right {
        float: none;
    }
}

@media (max-width: 320px) {
    /*page*/
    .variation-choice,
    .product-ship-p,
    .product-amount-btn {
        width: 100%;
    }
    .product-variation h3,
    .product-ship h3,
    .product-amount h3 {
        margin-bottom: 10px;
    }
    .product-ship {
        margin-top: 20px;
    }
}