
    /*====== Product detail =====*//*====== Product detail =====*//*====== Product detail =====*/
    /* Product Image */
    #amasty-main-container {
        border: 1px solid #e7e7e7;
    }

    /* Amasty product label */
    .catalog-product-view .product.media .amlabel-position-wrapper {
        width: auto !important;
        height: auto !important;
        background-color: #000;
        top: 100px !important;
        right: -250px !important;
        z-index: 1;
        padding: 2px 25px;
        border-radius: 30px;
    }

    .product-info-main .amlabel-position-wrapper {
        /* position: relative !important; */
        margin-bottom: 20px;
        z-index: -1;
    }
    .product-info-main .box-tocart {
        border-top: 1px solid #e7e7e7;
        border-bottom: 1px solid #e7e7e7;
    }
    .product-info-main .box-tocart .fieldset {
        margin: 10px 0;
        display: flex;
        gap: 10px;
    }

    .product-info-main .sizeChart-wrapper {
        display: none;
    }

    .sizeChart-wrapper .content-wrap {
        display: flex; align-items: center; justify-content: space-between;
    }

    .product-info-main .box-tocart .actions, .product-options-bottom .box-tocart .actions {
        padding-top: 0;
    }
    .product-info-main .product-social-links .action.towishlist:before {
        display: none;
    }

    .product-info-main .field.qty .label {
        display: none;
    }

    .product-info-main .swatch-attribute.color .swatch-attribute-label {
        display: none;
    }
    
    .catalog-product-view .amasty-label-container:not(.-preview),
    .checkout-cart-index .amasty-label-container:not(.-preview) {
        width: auto !important;
        height: auto !important;
        text-align: center;
    }

    .catalog-product-view .amlabel-text,
    .checkout-cart-index .amlabel-text{
        position: relative !important;
        width: 160px !important;
        overflow: hidden;
    }

    .item.product.product-item .amlabel-position-wrapper {
        display: flex !important;
        justify-content: center;
        width: 100% !important;
        padding: 2px 0;
        background-color: hsla(0,0%,97.6%,.8);
    }
    #bssOpenPopup #titleSizeChart {
        font-weight: 500 !important;
    }
    @media (max-width: 1400px) {
        .catalog-product-view .product.media .amlabel-position-wrapper {
            right: -240px !important;
        }
    }

    @media (max-width: 1140px) {
        .catalog-product-view .product.media .amlabel-position-wrapper {
            right: -230px !important;
        }
    }

    @media (max-width: 768px) {
        .sizeChart-wrapper .table-wrap {
        overflow-x: scroll;
    }
        .sizeChart-wrapper .content-wrap {
            flex-wrap: wrap;
        }
        .catalog-product-view .product.media .amlabel-position-wrapper {
            top: auto !important;
            right: auto !important;
            bottom: -40px;
            left: 0;

        }
    }

    /* Gallery */
    .fotorama__thumb {
        background-color: transparent;
    }
    .fotorama__thumb-border {
        border: 1px solid #000;
        border-radius: 0 !important;
    }

    .fotorama__arr .fotorama__arr__arr {
        background: none;
        position: relative;
    }
    
    .fotorama__arr .fotorama__arr__arr::before {
        font-family: "Font Awesome 5 Free";
        font-size: 20px;
        color: #000;
        font-weight: 700;
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
    }
    .fotorama__arr.fotorama__arr--next .fotorama__arr__arr::before {
        content: "\f054";
    }
    .fotorama__arr.fotorama__arr--prev .fotorama__arr__arr::before {
        content: "\f053";
    }

    /* Amasty Gallery */
    #amasty-main-container {
        width: 100% !important;
    }
    /* #amasty-gallery-images {
        display: flex;
    } */
    #amasty-gallery-images .slick-dots {
        display: none !important;
    }
    .amasty-gallery-thumb-link.slick-active {
        aspect-ratio: 1 / 1;
    }
    #amasty-gallery-container {
        margin-top: 10px;
    }
    #amasty-gallery-container .slick-slide {
        aspect-ratio: 1/ 1;
    }
    #amasty-gallery-images:not(.slick-slider) {
        display: flex;
        height: 100%;
    }
    #amasty-gallery-images:not(.slick-slider) .amasty-gallery-image {
        height: 100%;
        width: auto !important;
    } 
    #amasty-gallery-images:not(.slick-slider) .amasty-gallery-thumb-link.cursor-pointer {
        height: 100%;
    }
    #amasty-gallery-container .amasty-gallery-thumb-link.cursor-pointer {
    /* #amasty-gallery-container .slick-track .amasty-gallery-thumb-link.cursor-pointer { */
        aspect-ratio: 1/ 1;
        display: flex !important;
        /* align-items: center; */
        align-items: flex-end;

        justify-content: center;
        height: fit-content;
    }
    #amasty-gallery-images:not(.slick-slider) .amasty-gallery-thumb-link.cursor-pointer {
        height: 100%;
    }
    #amasty-gallery-container .slick-track {
        min-height: 130px;
    }
    #amasty-gallery-container .amasty-gallery-thumb-link.cursor-pointer.active {
        border: 2px solid #000;
    }
    #amasty-gallery-container .slick-slide {
        border: 2px solid transparent;
    }
    #amasty-gallery-container .slick-slide.active {
        border: 2px solid black;
        overflow: hidden;
    }
    .slick-initialized .slick-slide {
        display: flex !important;
        justify-content: center;
        align-items: center;
    }
    #amasty-gallery-container .slick-track {
        display: flex;
    }
    .zoomLens {
        border-radius: 0 !important;
    }


    @media (max-width: 768px) { 
        #amasty-gallery-container .slick-track {
            min-height: auto;
        }
    }

    /* Product Info */
    .product-info-main .price-container  .price-label {
        display: none !important;
    }

    .product-info-main .old-price {
        text-decoration: none;
    }
    
    .product-info-main .price-box.price-final_price {
        display: flex;
        align-items: center;
        margin-top: 0;
        padding-bottom: 0;
    }

    .product-info-main .old-price {
        text-decoration-color: #707070;
    }

    .product-info-main .old-price .price 
     {
        color: #707070 !important;
        font-size: 16px !important;
        text-decoration: line-through;
    }

    .product-info-main .product-info-price .old-price .price-wrapper .price {
        color: #707070 !important;
        font-size: 16px !important;
    }

    .product-info-main .price-box.price-final_price .special-price {
        order: 1;
        margin: 0;
        margin-left: 10px;
    }

    .product-info-main .price-box .price-wrapper .price{
        font-size: 20px !important;
    }

    .product-info-main .action.tocart {
        padding: 10px 25px !important;
    }

    .product-info-main .action.tocart i {
        margin-right: 10px;
    }

    .product-info-main .product-addto-links a, 
    .product-info-main .product-addto-links a:visited,
    .product-info-main .product-addto-links a:active,
    .product-info-main .product-addto-links a:hover {
        background: none !important;
        border: none !important;
        line-height: initial;
    }

    .product-info-main .box-tocart, .product-options-bottom .box-tocart {
        margin: 10px 0;
        padding: 10px 0;
        width: 100%;
    }

    .product-info-main .product-info-stock-sku {
        color: #ff0000;
        float: left;
        padding-left: 0;
    }
    .product-info-main .product-add-form {
        padding-top: 0 !important;
    }

    .product-info-main .social-media-icons i,.product-info-main .product-addto-links i {
        border: 2px solid #e7e7e7;
        border-radius: 50%;
        position: relative;
        width: 30px;
        height: 30px;
    }

    .product-info-main .gender-label h2{
        font-size: 26px;
        font-weight: 700;
    }

    .product-info-main .social-media-icons a:hover {
        text-decoration: none;
    }

    .product-info-main .social-media-icons i:before,.product-info-main .product-addto-links i:before {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
    }

    .product-info-main .product-social-links {
        display: flex;
        align-items: center;
        gap: 5px;
    }

    .product-info-main .product-social-links .product-addto-links {
        order: 1;
    }

    .product-info-main .page-title .base {
        font-size: 26px;
        font-weight: 700;
    }

    .product-info-main .product-info-price {
        font-size: 20px;
        border-bottom: none;
        margin-bottom: 0;
    }

    .product-info-main .swatch-attribute {
        margin-bottom: 20px;
    }

    .product-info-main .swatch-attribute-label {
        float: left;
        margin-right: 20px;
        font-weight: 500;
    }

    /* .product-info-main .product-options-bottom {
        border-top: 1px solid #e7e7e7;
        border-bottom: 1px solid #e7e7e7;
    } */

    .product-info-main .swatch-attribute-options {
        display: inline;
        margin: 5px 0;
    }

    .page-layout-1column .product-info-main {
        /* margin-top: 10%; */
        margin-top: 125px;
    }

    .product-info-main  .action.mailto.friend.amconf-share-link {
        display: none;
    }

    .product-info-main .field.qty, .product-info-main .box-tocart .actions {
        display: inline-block;
        margin: 0;
        margin-right: 10px;
    }

    .product-info-main .box-tocart .actions .tocart {
        width: 100%;
        margin-bottom: 0
    }

    .product-info-main .field.qty .input-text.qty {
        font-weight: 700;
        font-size: 16px;
        height: 43px;
        width: 45px;
    }

    .product-info-main .field.qty .control {
        display: flex;
        align-items: center;
    }

    .product-info-main .field.qty .control .button {
        border: 1px solid #c2c2c2;
        height: 43x;
        width: 30px;
        line-height: 41px;
        text-align: center;
        cursor: pointer;
        font-size: 20px;
    }

    .product-info-main .field.qty .control .button::selection {
        background-color: transparent;
    }

    .product-info-main .field.qty .control .button.minus {
        border-right: none;
    }

    .product-info-main .field.qty .control .button.plus {
        border-left: none;
    }

    .product-info-main .swatch-option {
        color: #000;
        font-size: 14px;
        margin: 2.5px;
        border: 1px solid rgba(0,0,0,.3);
        list-style: none;
        display: inline-flex;
        flex-direction: column;
        justify-content: space-around;
        height: 20px;
        padding-left: 5px;
        padding-right: 5px;
        min-width: 25px;
        background: transparent;
    }
    .product-info-main .swatch-option.selected {
        outline: none;
        color: #ffffff;
        background: #000000
    }
    .product-info-main .swatch-option.disabled {
        color: #ffffff;
        background: #ccc
    }
    .swatch-attribute .swatch-option.disabled:after {
        content: "";
        position: absolute;
        width: 100%;
        height: 100%;
        background: linear-gradient(45deg,transparent 49%,rgba(0, 0, 0 , 0.5) 50%,transparent 51%);
        top: 0;
        left: 0;
    }

    .product-info-main .swatch-attribute {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        margin-bottom: 0;
    }

    .product-info-main .swatch-attribute.Size .swatch-attribute-selected-option {
        display: none;
    }

    .swatch-attribute-selected-option {
        padding-left: 0;
        width: 100%;
        display: block;
        color: #000000;
        font-size: 12px;
    }

    .product-info-main .product-options-wrapper .swatch-opt {
        display: flex;
        flex-direction: column;
        margin-top: 0;
    }

    .product-info-main .swatch-attribute.color {
        order: 1;
    }

    #bssOpenPopup #titleSizeChart {
        order: 1;
    }

    #bssOpenPopup img#iconPopup {
        width: 14px;
        height: 14px;
        transform: translateY(2px);
    }

    #bssOpenPopup {
        display: flex;
        gap: 10px;
    }

    @media (max-width: 768px) {

        .page-layout-1column .product-info-main {
            margin-top: 45px;
        }

        .product-info-main .box-tocart .fieldset {
            display: flex;
        }
    }

    /* Recently Viewed */
    .product-item .old-price .price {
        text-decoration: line-through;
    }
    
    .block.block-viewed-products-grid {
        border-top: 1px solid #ccc;
        padding-top: 30px;
    }
    
    .block.block-viewed-products-grid .block-title strong {
        font-weight: 700;
    }

    .catalog-product-view [data-content-type='row'][data-appearance='contained'] {
        width: 100%;
        max-width: none;
    }

    .block.block-viewed-products-grid .product-item-name {
        margin-bottom: 15px;
    }

    .block.block-viewed-products-grid .old-price .price{
        text-decoration: line-through;
    }

    .block.block-viewed-products-grid .owl-stage {
        display: flex;
    } 

    .owl-nav.disabled {
        display: none;
    }

    .catalog-product-view .products-list .product-item-details {
        width: 100%;
        display: block;

    }

    /* .block.block-viewed-products-grid .product-image-wrapper {
        padding-bottom: 100% !important;
    } */

    .product-image-wrapper {
        height: 0;
        display: block;
        position: relative;
        z-index: 1;
        overflow: hidden;
    }

    .products-grid .product-item-info:hover, .products-grid .product-item-info.active {
        box-shadow: none;
        border: none;
    }

    .abs-reset-image-wrapper, .products-list .product-image-wrapper, .block-giftregistry-shared-items .product-image-wrapper {
        padding-bottom: 125% !important;

    }

    .block.block-viewed-products-grid .product-image-photo {
        /* width: auto;
        margin: 0; */

        width: 100% !important;
        height: auto;
        position: absolute;
        top: auto;
        bottom: 0;
        left: 0;
        margin: auto;
    }

    #relateditem_carousel .product-item-info {
        width: 100%;
    }

    .block.related .related-available .product-item-name {
        margin-left: 0;
    }

    .block.block-viewed-products-grid .product-item, #relateditem_carousel .product-item{
        width: 100% !important;

        /* don't know why owl carousel auto add display none */
        display: block !important;
    }

    .block.block-viewed-products-grid .owl-stage-outer, #relateditem_carousel .owl-stage-outer{
        overflow: hidden;
    }

    .block.block-viewed-products-grid .owl-stage-outer .product-image-container, #relateditem_carousel .owl-stage-outer .product-image-container{
        width: 100% !important;
    }

    .block.block-viewed-products-grid .owl-stage-outer .product-item-actions, #relateditem_carousel .owl-stage-outer .product-item-actions{
        display: none;
    }

    .block.block-viewed-products-grid .owl-dots, #relateditem_carousel .owl-dots{
        display: flex;
        justify-content: center;
        gap: 15px;
    }

    /* #relateditem_carousel .price-box {
        display: inline-block;
    } */

    /* .block.block-viewed-products-grid .price-box {
        display: inline
    } */

    .block.block-viewed-products-grid .product-item .price-including-tax {
        display: inline-block;
        width: fit-content;
    }

    .owl-stage-outer .price-label, #relateditem_carousel .price-label {
        display: none;
    }

    .owl-stage-outer .product-item .special-price, #relateditem_carousel .product-item .special-price {
        display: inline;
        float: left;
        margin-right: 10px;
    }

    #relateditem_carousel .gender-label, .block.block-viewed-products-grid .gender-label {
        font-weight: 500;
        font-style: italic;
        font-size: 16px;
    }

    #relateditem_carousel .product-item-link, .block.block-viewed-products-grid .product-item-name {
        font-weight: bold;
        font-size: 16px;
    }

     #relateditem_carousel .color-count, .block.block-viewed-products-grid .color-count {
        font-style: italic;
    }

    .block.block-viewed-products-grid .owl-dots button, #relateditem_carousel .owl-dots button {
        background: #fff;
        border: 1px solid #e7e7e7;
        border-radius: 10px;
        box-shadow: none;
        cursor: pointer;
        display: block;
        height: 14px;
        padding: 0;
        text-indent: -99999px;
        transition: .3s;
        width: 14px;
    }
    
    .block.block-viewed-products-grid .owl-dots button.active, #relateditem_carousel .owl-dots button.active{
        background: #1c1918;
    }

    .block.block-viewed-products-grid .product-item-info {
        display: flex;
        flex-wrap: wrap;
    }

    .block.block-viewed-products-grid .product-item-photo {
        width: 100%;
    }

    /* Related Product */
    .block.related {
        border-top: 1px solid #ccc;
        padding-top: 30px;
    }

    .block.related .block-actions {
        display: none;
    }

    .page-layout-1column .products-grid .product-item {
        width: 100%;
    }

    .products.products-grid.products-related .product-item-info {
        width: 100%
    }

    .products.products-grid.products-related span.product-image-wrapper {
        /* padding-top: 125%;
        padding-bottom: 0 !important; */
    }   

    .products.products-grid.products-related .field.choice.related {
        display: none;
    }

    /* Description */
    .product.info.detailed {
        margin-bottom: 0;
        padding-top: 30px;
    }

    .product.info.detailed .data.item.content {
        transform: translateY(-11px);
        border-left: none; 
        border-right: none; 
        border-bottom: none; 
    }

    .product.data.items>.item.title.active {
        color: #222529;
        border-bottom: 2px solid #222529;
        padding-bottom: 12px;
        position: relative;
    }

    .product.data.items>.item.title.active .data.switch {
        font-weight: 700;
    }

    .product.data.items>.item.title>.switch {
        font-size: 13px;
        display: inline-block;
        border: none;
        height: auto;
        padding: 0 !important;
        color: inherit;
        font-weight: inherit;
        line-height: inherit;
        background: none !important;
        display: block;
    }

    .swatch-option:focus {
        box-shadow: none;
    }

    @media only screen and (max-width: 768px) {
        .product.data.items {
            border-bottom: none;
        }

        .product.data.items>.item.content {
            border: none
        }
        .product.data.items>.item.title.active .data.switch {
            padding: 10px 20px !important;
            border-bottom: 2px solid #000;
        }
        .product.data.items .item.title a:after {
            right: 20px;
            top: 10px;
        }
        
    }
/* 【UGG/TEVA】商品分類頁產品區塊調整 >> */
.products-grid .product-item .product-item-info .product-item-details {
    position: relative;
}
.products-grid .product-item .product-item-info .product-item-details .product-item-inner {
    box-shadow: none;
}
/* 【UGG/TEVA】商品分類頁產品區塊調整 << */