.title-product {
    font-size: 30px;
    font-weight: 400;
    margin: 0px 0px 15px;
    line-height: 36px
}

.product-image-detail {
    position: relative
}

@media (max-width: 767px) {
    .product-image-detail {
        margin-bottom: 15px
    }
}

.product-image-detail .gallery-top {
    position: relative;
    display: block;
    border: 1px solid #F2F2F2;
    border-radius: 3px;
    height: 565px;
    margin-bottom: 15px
}

@media (max-width: 1024px) {
    .product-image-detail .gallery-top {
        height: 304px
    }
}

@media (max-width: 991px) {
    .product-image-detail .gallery-top {
        height: 272px
    }
}

@media (max-width: 767px) {
    .product-image-detail .gallery-top {
        height: 350px
    }
}

@media (max-width: 668px) {
    .product-image-detail .gallery-top {
        height: 350px
    }
}

@media (max-width: 569px) {
    .product-image-detail .gallery-top {
        height: 350px
    }
}

@media (max-width: 480px) {
    .product-image-detail .gallery-top {
        height: 415px
    }
}

@media (max-width: 376px) {
    .product-image-detail .gallery-top {
        height: 350px
    }
}

@media (max-width: 321px) {
    .product-image-detail .gallery-top {
        height: 280px
    }
}

.product-image-detail .gallery-top img {
    border-radius: 5px;
    width: auto !important;
    max-height: 100%;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    margin: auto
}

.product-image-detail .gallery-top .frame {
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: 3
}

.product-image-detail .gallery-thumbs {
    padding: 0 40px
}

@media (max-width: 991px) {
    .product-image-detail .gallery-thumbs {
        margin-bottom: 20px
    }
}

.product-image-detail .gallery-thumbs .swiper-slide {
    position: relative;
    display: block;
    border: solid thin #E5E5E5;
    height: 81px;
    cursor: pointer;
    padding: 0px
}

@media (max-width: 1024px) {
    .product-image-detail .gallery-thumbs .swiper-slide {
        height: 60px
    }
}

@media (max-width: 991px) {
    .product-image-detail .gallery-thumbs .swiper-slide {
        height: 80px
    }
}

@media (max-width: 767px) {
    .product-image-detail .gallery-thumbs .swiper-slide {
        height: 128px
    }
}

@media (max-width: 668px) {
    .product-image-detail .gallery-thumbs .swiper-slide {
        height: 128px
    }
}

@media (max-width: 569px) {
    .product-image-detail .gallery-thumbs .swiper-slide {
        height: 173px
    }
}

@media (max-width: 480px) {
    .product-image-detail .gallery-thumbs .swiper-slide {
        height: 80px
    }
}

@media (max-width: 376px) {
    .product-image-detail .gallery-thumbs .swiper-slide {
        height: 80px
    }
}

@media (max-width: 321px) {
    .product-image-detail .gallery-thumbs .swiper-slide {
        height: 65px
    }
}

.product-image-detail .gallery-thumbs .swiper-slide img {
    border-radius: 5px;
    width: auto !important;
    max-height: 100%;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    margin: auto
}

.product-image-detail .gallery-thumbs .swiper-slide.swiper-slide-thumb-active {
    border-color: var(--main-color)
}

.product-image-detail .swiper-button-next, .product-image-detail .swiper-button-prev {
    width: 30px;
    height: 100%;
    text-align: center;
    background: #fff;
    margin-top: 0;
    top: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border: initial
}

.product-image-detail .swiper-button-next svg, .product-image-detail .swiper-button-prev svg {
    width: 15px;
    height: 15px
}

.product-image-detail .swiper-button-next {
    right: 0px !important;
    visibility: visible;
    opacity: 1;
    -webkit-transform: translateY(0px);
    transform: translateY(0px);
    background-image: none
}

@media (max-width: 767px) {
    .product-image-detail .swiper-button-next {
        right: 0
    }
}

.product-image-detail .swiper-button-prev {
    left: 0px !important;
    visibility: visible;
    opacity: 1;
    -webkit-transform: translateY(0);
    transform: translateY(0);
    background-image: none
}

.product-image-detail .swiper-button-prev svg {
    transform: rotateY(180deg)
}

@media (max-width: 767px) {
    .product-image-detail .swiper-button-prev {
        left: 0
    }
}

.flex-vd {
    display: block;
    margin-bottom: 15px;
    margin-top: 10px;
    font-size: 14px
}

@media (max-width: 375px) {
    .flex-vd {
        flex-flow: column
    }
}

.flex-vd .vendor {
    display: inline-block;
    line-height: 1.3;
    margin-right: 20px;
    font-weight: bold;
    float: left
}

@media (min-width: 992px) and (max-width: 1199px) {
    .flex-vd .vendor {
        margin-right: 5px
    }
}

.flex-vd .vendor span {
    font-weight: 400;
    margin-right: 5px
}

.flex-vd .skuuu {
    line-height: 1.3
}

.details-pro {
    z-index: 2
}

.details-pro h1 {
    font-size: 21px;
    color: var(--text-color);
    font-weight: 400;
    margin-bottom: 0px;
    padding-right: 60px
}

.details-pro .sapo-product-reviews-badge {
    margin: 15px 0 5px
}

.details-pro .sapo-product-reviews-badge .sapo-product-reviews-star i {
    font-size: 14px
}

.details-pro form {
    margin-bottom: 0
}

.details-pro .price-box .special-price {
    font-size: 26px;
    font-weight: bold;
    color: var(--price);
    display: inline-block
}

@media (max-width: 767px) {
    .details-pro .price-box .special-price {
        margin-bottom: 0
    }
}

.details-pro .price-box .old-price {
    margin-right: 15px
}

.details-pro .price-box .old-price .product-price-old {
    font-size: 16px;
    font-weight: 400;
    text-decoration: line-through;
    color: #8C8C8C;
    display: inline-block
}

.details-pro .price-box .save-price {
    display: block;
    color: var(--text-color);
    font-size: 14px
}

.details-pro .price-box .save-price .product-price-save {
    font-weight: bold;
    color: var(--price);
    display: inline-block !important
}

.details-pro .price-box .save-price .product-price-save span {
    font-weight: normal;
    color: var(--text-color)
}

.details-pro .form-product {
    margin-top: 25px
}

.details-pro .form-product #add-to-cart-form {
    margin-bottom: 10px
}

.details-pro .form-product .view-store-instock {
    display: inline-block;
    color: #4F4F4F;
    font-size: 14px;
    margin-left: 10px;
    border-bottom: 1px solid #4F4F4F;
    cursor: pointer
}

.details-pro .form-product .inventory_quantity {
    padding-top: 5px;
    color: var(--button-color);
    font-weight: 700;
    font-size: 14px;
    display: inline-block
}

.details-pro .form-product .custom-btn-number {
    width: 110px;
    float: left;
    height: 50px;
    margin-right: 10px
}

@media (max-width: 767px) {
    .details-pro .form-product .custom-btn-number {
        margin-bottom: 15px
    }
}

.details-pro .form-product .custom-btn-number .custom-btn-numbers {
    position: relative
}

.details-pro .form-product .custom-btn-number .custom-btn-numbers button {
    width: 30px;
    height: 50px;
    border: inherit;
    background-color: initial;
    font-size: 18px;
    color: #333;
    padding: 0;
    font-weight: 400;
    float: left;
    border-radius: 0;
    line-height: 22px;
    position: absolute;
    z-index: 1;
    right: 0;
    top: 0
}

.details-pro .form-product .custom-btn-number .custom-btn-numbers button.btn-minus {
    bottom: 0;
    top: auto;
    right: calc(100% - 30px);
}

.details-pro .form-product .custom-btn-number .custom-btn-numbers button:hover, .details-pro .form-product .custom-btn-number .custom-btn-numbers button:focus {
    border-color: var(--main-color);
    color: #fff;
    background-color: var(--main-color);
    box-shadow: none;
    outline: none
}

.details-pro .form-product .custom-btn-number .custom-btn-numbers input {
    float: left;
    width: 100%;
    height: 50px;
    border: solid 1px #E0E0E0;
    border-radius: 3px;
    color: #333;
    padding: 0;
    text-align: center;
    font-size: 14px;
    font-weight: 600;
    min-height: unset;
    margin: 0
}

.details-pro .form-product .box-variant .selector-wrapper {
    margin-bottom: 15px
}

.details-pro .form-product .box-variant .selector-wrapper select {
    border-color: #E0E0E0;
    width: 308px;
    height: 40px;
    color: #333333;
    font-size: 14px;
    padding-left: 5px;
    outline: none;
    border-radius: 3px
}

@media (max-width: 767px) {
    .details-pro .form-product .box-variant .selector-wrapper select {
        width: 100%
    }
}

.details-pro .form-product .box-variant .selector-wrapper label {
    display: none
}

.details-pro .form-product .service_product {
    display: inline-block;
    padding: 10px 0 0 0;
    border-bottom: 1px solid #E5E5E5
}

.details-pro .form-product .service_product .info_servicea {
    width: 50%;
    float: left;
    display: inline-block;
    margin-bottom: 20px
}

@media (max-width: 767px) {
    .details-pro .form-product .service_product .info_servicea {
        width: 100%
    }
}

.details-pro .form-product .service_product .info_servicea .image {
    width: 24px;
    margin-right: 10px;
    float: left;
    height: 24px
}

.details-pro .form-product .service_product .info_servicea p {
    font-weight: 400;
    font-size: 14px;
    line-height: 24px;
    color: #4F4F4F;
    margin: 0;
    width: calc(100% - 35px);
    float: left
}

.details-pro .btn-mua {
    margin-top: 15px
}

.details-pro .btn-mua button {
    background: #fff;
    border: solid 1px #8C8C8C;
    color: #333;
    padding: 0 20px 0;
    height: 50px;
    line-height: 48px;
    width: 200px;
    border-radius: 3px;
    text-align: center;
    cursor: pointer;
    font-size: 17px;
    font-weight: bold;
    margin-right: 0;
    align-items: center;
    justify-content: center;
    position: relative
}

.details-pro .btn-mua button.btn-buy-now {
    box-shadow: none;
    outline: none;
    border-color: var(--button-hover);
    color: #fff;
    width: 175px;
    height: 50px;
    margin-left: 6px;
    background: var(--button-hover);
    color: var(--button-color)
}

.details-pro .btn-mua button.btn-buy-now:hover {
    background: var(--button-background)
}

@media (max-width: 1199px) and (min-width: 991px) {
    .details-pro .btn-mua button.btn-buy-now {
        width: 125px
    }
}

@media (max-width: 767px) {
    .details-pro .btn-mua button.btn-buy-now {
        width: 100%;
        margin-top: 15px;
        margin-left: 0
    }
}

.details-pro .btn-mua button:disabled {
    padding: 0 20px;
    cursor: default
}

.details-pro .btn-mua button:disabled:hover {
    background: var(--main-color);
    border-color: var(--main-color);
    color: #fff
}

@media (min-width: 768px) {
    .details-pro .btn-mua button:hover, .details-pro .btn-mua button:focus {
        box-shadow: none;
        outline: none;
        background: var(--button-hover);
        color: var(--button-color);
        border-color: var(--button-hover)
    }
}

.details-pro .btn-mua span {
    display: inline-block;
    width: 50px;
    height: 50px;
    background: #ffffff;
    margin: -1px 15px -1px -1px;
    border: solid 1px var(--main-color);
    border-radius: 6px 0 0 6px;
    position: absolute;
    left: 0
}

.details-pro .btn-mua span svg {
    width: 30px;
    height: 30px;
    fill: var(--main-color);
    margin: 6px 0 0 0
}

@media (max-width: 767px) {
    .details-pro .btn-mua {
        width: 100%
    }

    .details-pro .btn-mua button {
        width: 100%
    }
}

.details-pro .select-swatch {
    width: 100%;
    display: inline-block
}

.details-pro .setWishlist {
    height: 40px;
    line-height: 40px;
    border: none;
    border-radius: 6px;
    padding: 0;
    width: 40px;
    box-shadow: none;
    font-family: var(--font-base);
    font-size: 14px;
    color: #fff;
    display: inline-flex;
    align-items: center;
    font-weight: 400;
    text-decoration: none;
    margin: 0 3px;
    position: absolute;
    top: 0;
    right: 0;
    z-index: 10
}

.details-pro .setWishlist:hover {
    opacity: .6
}

.details-pro .setWishlist svg {
    width: 30px;
    height: 30px
}

.details-pro .setWishlist svg path {
    fill: var(--main-color)
}

.details-pro .setWishlist.active svg path {
    fill: red
}

.product-tab {
    margin-top: 50px
}

.product-tab .tabs-title {
    padding: 0;
    margin: 0;
    list-style: none;
    display: flex
}

.product-tab .tab-link {
    padding: 10px 20px;
    cursor: pointer
}

.product-tab .tab-link h3 {
    color: #4D4D4D;
    padding: 0;
    margin: 0;
    font-size: 16px
}

.product-tab .tab-link.active, .product-tab .tab-link:hover {
    background: var(--button-background);
    border-color: var(--button-background)
}

.product-tab .tab-link.active h3, .product-tab .tab-link:hover h3 {
    color: var(--button-color)
}

.product-tab .tab-content {
    opacity: 0;
    visibility: hidden;
    height: 0;
    overflow: hidden
}

.product-tab .tab-content.active {
    opacity: 1;
    visibility: visible;
    height: auto;
    padding: 25px 0 0;
    border-top: 1px solid #E5E5E5
}

.product-tab .tab-content .product_getcontent {
    font-size: 14px
}

@media (max-width: 991px) {
    .product-tab .tabs-title {
        overflow-x: auto;
        overflow-y: hidden
    }

    .product-tab .tabs-title .tab-link {
        flex-shrink: 0
    }
}

.productRelate {
    margin-top: 30px
}

.productRelate .block-title {
    margin-bottom: 35px;
    position: relative;
    text-align: center
}

.productRelate .block-title h2 {
    font-weight: 700;
    letter-spacing: 0;
    position: relative;
    display: inline-block;
    margin: 0;
    font-size: 24px;
    text-transform: uppercase
}

.productRelate .block-title h2 a {
    color: #343434
}

.productRelate .block-title h2 a:hover {
    color: var(--main-color)
}

.productRelate .swiper-button-next:after, .productRelate .swiper-button-prev:after {
    font-size: 14px;
    color: #333
}

.productRelate .swiper-button .swiper-button-next {
    right: -15px
}

.productRelate .swiper-button .swiper-button-prev {
    left: -15px
}

@media (max-width: 767px) {
    .productRelate .swiper-button .swiper-button-next {
        right: 10px
    }

    .productRelate .swiper-button .swiper-button-prev {
        left: 10px
    }
}

@media (max-width: 767px) {
    .product-tab .tabs-title {
        display: block
    }

    .product-tab .tab-link {
        padding: 10px 15px
    }

    .product-tab .tab-content.active {
        padding: 15px
    }

    .productRelate .block-title h2 {
        font-size: 24px
    }

    .title-product {
        margin-top: 15px
    }

    .layout-product .flex-quantity {
        display: block
    }

    .layout-product .input_number_product {
        width: 100%
    }

    .layout-product .button_actions .add_to_cart {
        margin-top: 15px;
        width: 100%
    }

    .layout-product .inventory_quantity .line {
        display: none
    }

    .layout-product .inventory_quantity .mb-break {
        display: block
    }
}
